# US 2019/0377621 A1 · Method of running network application based on pos payment terminal, terminal and non-volatile readable storage medium

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2019/0377621 A1
- Document ID: US20190377621A1
- Status: Published application
- Kind: A1
- Application number: 16/471,195
- Filed: 2017-09-13
- Published: 2019-12-12
- Earliest claimed: 2017-02-24
- Assignees: Pax Computer Technology (Shenzhen) Co., Ltd.
- Applicants: Pax Computer Technology (Shenzhen) Co., Ltd
- Inventors: Lei Huang; Sining Ye; Lihong Xie
- Web page: https://patentgrep.com/patent/US20190377621A1

## CPC

- G06F 9/548: {Object oriented; Remote method invocation [RMI] (non-remote method invocation G06F9/449)}
- G06Q 20/202: {Interconnection or interaction of plural electronic cash registers [ECR] or to host computer, e.g. network details, transfer of information from host to ECR or from ECR to ECR}
- G06F 3/0484: for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F 9/44526: {Plug-ins; Add-ons}
- G06F 9/45508: {Runtime interpretation or emulation, e g. emulator loops, bytecode interpretation}
- G07G 1/0009: {Details of the software in the checkout register, electronic cash register [ECR] or point of sale terminal [POS]}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G07G: REGISTERING THE RECEIPT OF CASH, VALUABLES, OR TOKENS

## Abstract

A method of running network application based on POS terminal, including: receiving an operation on a network application; calling a first interface of a JS layer according to the operation; parsing the first interface and acquiring an object corresponding to the first interface; transmitting a corresponding signal through the object and executing a slot function associated with the signal; and calling a second interface of a plug-in layer through the slot function, and calling a hardware module corresponding to the second interface to perform the operation.

## Claims

### Claim 1

A method of running network application based on a POS payment terminal, comprising steps of:
receiving an operation on a network application;
calling a first interface of a JS layer according to the operation;
parsing the first interface and acquiring an object corresponding to the first interface;
transmitting a corresponding signal through the object and executing a slot function associated with the signal; and
calling a second interface of a plug-in layer through the slot function, and calling a hardware module corresponding to the second interface to perform the operation.

### Claim 2 (depends on 1)

The method according to claim 1, wherein before the step of receiving the operation on the network application, the method further comprises:
encapsulating a system interface of the hardware module according to a preset mode;
creating a plug-in using the encapsulated system interface, and defining the second interface provided by the plug-in;
encapsulating the second interface according to a module definition standard to obtain the first interface of the JS layer; and
registering the plug-in and establishing a correspondence relationship between the second interface and the first interface.

### Claim 3 (depends on 2)

The method according to claim 2, wherein the step of registering the plug-in and establishing a correspondence relationship between the second interface and the first interface comprises:
creating a corresponding object according to the first interface and creating a signal in the object; and
creating and defining a slot function associated with the signal according to the second interface.

### Claim 4 (depends on 1)

The method according to claim 1, before the step of receiving the operation on the network application, the method further comprises:
loading and rendering a web application page through an embedded graphical user interface system.

### Claim 5 (depends on 4)

The method according to claim 4, wherein the step of loading and rendering a web application page through an embedded graphical user interface system comprises:
loading a locally stored resource file of a network application page;
parsing the resource file to obtain various page tag elements contained in the network application page;
respectively creating tag objects corresponding to the various page tag elements;
creating an object tree according to the created tag objects; and
traversing and accessing the object tree through the embedded graphical user interface system, and rendering the tag objects contained in the object tree.

### Claim 6

A terminal, comprising a memory and a processor, the memory stores a computer executable instruction, wherein when the computer executable instruction is executed by the processor, the processor is caused to perform following steps of:
receiving an operation on a network application;
calling a first interface of a JS layer according to the operation;
parsing the first interface and acquiring an object corresponding to the first interface;
transmitting a corresponding signal through the object and executing a slot function associated with the signal; and
calling a second interface of a plug-in layer through the slot function and calling a hardware module corresponding to the second interface to perform the operation.

### Claim 7 (depends on 6)

The terminal according to claim 6, wherein when the computer executable instruction is executed by the processor, before the processor is caused to perform the step of receiving an operation on a network application, the processor is further caused to perform steps of:
encapsulating a system interface of the hardware module according to a preset mode;
creating a plug-in using the encapsulated system interface, and defining the second interface provided by the plug-in;
encapsulating the second interface according to a module definition standard to obtain the first interface of the JS layer; and
registering the plug-in and establishing a correspondence relationship between the second interface and the first interface.

### Claim 8 (depends on 7)

The terminal according to claim 7, wherein the step of registering the plug-in and establishing a correspondence relationship between the second interface and the first interface comprises:
creating a corresponding object according to the first interface and creating a signal in the object; and
creating and defining a slot function associated with the signal according to the second interface.

### Claim 9 (depends on 6)

The terminal according to claim 6, wherein when the computer executable instruction is executed by the processor, before the processor is caused to perform the step of receiving an operation on a network application, the processor is further caused to perform steps of:
loading and rendering a web application page through an embedded graphical user interface system.

### Claim 10 (depends on 9)

The terminal according to claim 9, wherein the step of loading and rendering a web application page through an embedded graphical user interface system comprises:
loading a locally stored resource file of a network application page;
parsing the resource file to obtain various page tag elements contained in the network application page;
respectively creating tag objects corresponding to the various page tag elements;
creating an object tree according to the created tag objects; and
traversing and accessing the object tree through the embedded graphical user interface system, and rendering the tag objects contained in the object tree.

### Claim 11

One or a plurality of non-volatile readable storage medium storing a computer executable instruction, wherein when the computer executable instruction is executed by one or a plurality of processors, the one or plurality of processors are caused to perform following steps of:
receiving an operation on a network application;
calling a first interface of a JS layer according to the operation;
parsing the first interface and acquiring an object corresponding to the first interface;
transmitting a corresponding signal through the object and executing a slot function associated with the signal; and
calling a second interface of a plug-in layer through the slot function and calling a hardware module corresponding to the second interface to perform the operation.

### Claim 12 (depends on 11)

The non-volatile readable storage medium according to claim 11, wherein when the computer executable instruction is executed by one or a plurality of processors, before the one or plurality of processors are caused to perform the step of receiving an operation on the network application, the one or plurality of processors are further caused to perform steps of:
encapsulating a system interface of the hardware module according to a preset mode;
creating a plug-in using the encapsulated system interface, and defining the second interface provided by the plug-in;
encapsulating the second interface according to a module definition standard to obtain the first interface of the JS layer; and
registering the plug-in and establishing a correspondence relationship between the second interface and the first interface.

### Claim 13 (depends on 12)

The non-volatile readable storage medium according to claim 12, wherein the step of registering the plug-in and establishing a correspondence relationship between the second interface and the first interface comprises:
creating a corresponding object according to the first interface and creating a signal in the object; and
creating and defining a slot function associated with the signal according to the second interface.

### Claim 14 (depends on 11)

The non-volatile readable storage medium according to claim 11, wherein when the computer executable instruction is executed by the one or the plurality of processors, before the one or the plurality of processors are caused to perform the step of receiving an operation on a network application, the one or the plurality of processors are further caused to perform steps of:
loading and rendering a web application page through an embedded graphical user interface system.

### Claim 15 (depends on 14)

The non-volatile readable storage medium according to claim 14, wherein the step of loading and rendering a web application page through an embedded graphical user interface system comprises:
loading a locally stored resource file of a network application page;
parsing the resource file to obtain various page tag elements contained in the network application page;
respectively creating tag objects corresponding to the various page tag elements;
creating an object tree according to the created tag objects; and
traversing and accessing the object tree through the embedded graphical user interface system, and rendering the tag objects contained in the object tree.
