Interaction method and system based on quick cash register of cash register system
By defining the functional component structure and shortcut key mapping in the POS system, pure keyboard operation is achieved, solving the problem of low POS efficiency and improving the efficiency of POS operations and user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-30
- Publication Date
- 2026-03-17
AI Technical Summary
In existing point-of-sale (POS) systems, frequent switching between keyboard and mouse leads to low POS efficiency and prevents efficient operation.
By defining the structure of page functional components, binding component attributes and generating a unified operation view, obtaining shortcut key identifiers and weights, listening to keyboard events and executing corresponding response events, pure keyboard shortcut operations can be achieved.
Simplify the checkout process, improve checkout efficiency, reduce keyboard and mouse switching, and enhance user experience.
Smart Images

Figure CN115686510B_ABST
Abstract
Claims
1. An interaction method for quick cashing based on a cash register system, characterized by, The method comprises the following steps: Step S1: defining a page function component structure, binding component attributes corresponding to the page function component structure, initializing an operation queue, and generating a unified operation view; Step S2: obtaining a shortcut key identifier and a corresponding weight of each function component, and updating an operation queue corresponding to each page function component in the unified operation view; Step S3: listening to a keyboard event, polling the updated operation queue, and executing a corresponding response event bound by each page function component; Step S1 comprises: Step S1.1: defining a page function component as an input component, a submission component, a selection component, and a composite component; The input component is used for text input; The submission component is used for requesting or submitting data; The selection component is used for selecting an element; The composite component integrates the input component, the submission component, and the selection component; Step S1.2: binding corresponding attibute and event attributes to the input component, the submission component, the selection component, and the composite component, respectively; Step S1.3: initializing when the page is loaded, adding attributes of each page function component to the operation queue according to a page loading order, and generating a unified operation view of all function components; Step S3 comprises: Step S3.1: grouping the operation queue according to the shortcut key identifier, and then splitting it into a two-level operation queue; Step S3.2: extracting all shortcut key identifiers in the two-level operation queue and performing deduplication to construct a full-text index of the shortcut key identifier; Step S3.3: setting a global listening event for the page, and binding the full-text index of the shortcut key identifier; Step S3.4: when a shortcut key operation matching the shortcut key identifier is listened to, polling a function code corresponding to the shortcut key identifier in the operation queue according to an order of the two-level operation queue; Step S3.5: responding to a corresponding event defined by the page function component according to the function code. 2.The interaction method of quick cashing based on cash register system of claim 1, wherein, Step S1.2 comprises: Step of defining an attibute attribute data structure: the data structure comprises a function code, a shortcut key identifier, a component type, an ID, and a backspace code; wherein the backspace code comprises a reverse shortcut key identifier; Step of defining an event attribute event template: each page function component corresponds to a corresponding event response type. 3.The method of claim 1, wherein, The shortcut key identifier and the corresponding weight of each function component are self-defined by a user in the unified operation view; The weight is a priority for operation.
4. An interaction system for quick cashing based on a cash register system, characterized by, The method comprises the following steps: Module M1: defining a page function component structure, binding component attributes corresponding to the page function component structure, initializing an operation queue, and generating a unified operation view; Module M2: obtaining a shortcut key identifier and a corresponding weight of each function component, and updating an operation queue corresponding to each page function component in the unified operation view; Module M3: listening to a keyboard event, polling the updated operation queue, and executing a corresponding response event bound by each page function component; Module M1 comprises: Module M1.1: defining a page function component as an input component, a submission component, a selection component, and a composite component; The input component is used for text input; The submission component is used for requesting or submitting data; The selection component is used for selecting an element; The composite component integrates the input component, the submission component and the selection component; Module M1.2: binding corresponding attribute and event properties to the input component, the submission component, the selection component and the composite component respectively; Module M1.3: initializing at page onload, adding the attribute of each page function component to the operation queue according to the page loading order, and generating a unified operation view of all function components; Module M3 includes: Module M3.1: grouping the operation queue according to the shortcut key identifier, and then splitting it into a two-level operation queue; Module M3.2: extracting all shortcut key identifiers in the two-level operation queue and removing duplicates to construct a shortcut key identifier full-text index; Module M3.3: setting a global listening event for the page and binding the shortcut key identifier full-text index; Module M3.4: when a shortcut key operation matching the shortcut key identifier is detected, polling the function code corresponding to the shortcut key identifier in the operation queue according to the order of the two-level operation queue; Module M3.5: responding to the corresponding event defined by the page function component according to the function code.
5. The interactive system for express checkout based on a cashier system of claim 4, wherein, Module M1.2 includes: Module for defining attribute property data structure: the data structure includes: function code, shortcut key identifier, component type, ID, and backspace code; wherein the backspace code includes: reverse shortcut key identifier; Module for defining event property event template: each page function component corresponds to a corresponding event response type.
6. The interactive system for express checkout based on a cashier system of claim 4, wherein, The shortcut key identifier and the corresponding weight of each function component are customized by the user in the unified operation view; The weight is the priority of the operation.
Citation Information
Patent Citations
Cash register system
CN110969785A
Online and offline integrated cashier system and cashier method thereof
CN107644495A
Method for implementing money collection by using shortcut keys in pharmacy based on BS architecture
CN108596593A