CN113095802A - Bridging system based on face brushing equipment and use method thereof - Google Patents

Bridging system based on face brushing equipment and use method thereof Download PDF

Info

Publication number
CN113095802A
CN113095802A CN202110396852.7A CN202110396852A CN113095802A CN 113095802 A CN113095802 A CN 113095802A CN 202110396852 A CN202110396852 A CN 202110396852A CN 113095802 A CN113095802 A CN 113095802A
Authority
CN
China
Prior art keywords
transaction
module
data
cash register
bridging system
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110396852.7A
Other languages
Chinese (zh)
Inventor
周小摸
董晶
金博
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Add Subtract Information Technology Shenzhen Co ltd
Original Assignee
Add Subtract Information Technology Shenzhen Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Add Subtract Information Technology Shenzhen Co ltd filed Critical Add Subtract Information Technology Shenzhen Co ltd
Priority to CN202110396852.7A priority Critical patent/CN113095802A/en
Publication of CN113095802A publication Critical patent/CN113095802A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/02Payment architectures, schemes or protocols involving a neutral party, e.g. certification authority, notary or trusted third party [TTP]
    • G06Q20/027Payment architectures, schemes or protocols involving a neutral party, e.g. certification authority, notary or trusted third party [TTP] involving a payment switch or gateway
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4004Coupling between buses
    • G06F13/4027Coupling between buses using bus bridges
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/543User-generated data transfer, e.g. clipboards, dynamic data exchange [DDE], object linking and embedding [OLE]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/389Keeping log of transactions for guaranteeing non-repudiation of a transaction
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/401Transaction verification
    • G06Q20/4014Identity check for transactions
    • G06Q20/40145Biometric identity checks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0002Serial port, e.g. RS232C

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • General Engineering & Computer Science (AREA)
  • Finance (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Computer Hardware Design (AREA)
  • Cash Registers Or Receiving Machines (AREA)

Abstract

The application provides a bridging system based on a face brushing device and a use method thereof, which are used for a third-party cash register and a digital keyboard to directly call a face brushing application on the face brushing device, wherein the bridging system comprises an initialization configuration module, a data communication transceiving module, a transaction processing pool module, a cross-process communication module, a transaction data processing module, a transaction result display module, an advertisement carousel module, a log module and a background management module; different numeric keyboards can be adapted, so that a cashier can input money through the numeric keyboards and initiate a transaction request conveniently; the system can communicate with other third-party cash register equipment through communication modes such as a Bluetooth serial port and the like, and the third-party cash register equipment initiates transactions, so that the existing cash register system can be quickly accessed, and the modification workload of a merchant system is reduced; different propaganda pictures of different merchants can be pushed, and customized management of each merchant is facilitated; and voice broadcast can be carried out, so that a cashier can conveniently master the transaction flow and state at any time.

Description

Bridging system based on face brushing equipment and use method thereof
Technical Field
The application relates to the field of financial payment, in particular to a bridging system based on face brushing equipment and a using method thereof.
Background
The face-brushing payment is a novel payment mode realized based on technologies such as artificial intelligence, machine vision, 3D sensing and big data, has the advantages of being more convenient, safer, good in experience and the like, is developed and popularized in face-brushing payment, and has important value in promoting user mobile payment experience, improving merchant operation efficiency and driving the intelligent development of the economy and the society.
At present, Payment treasures, WeChat payments and Unionpay are formally in the field of face brushing payment, wherein the Paobao dragonfly is paid, the frog paid by WeChat is early in the market, and the face brushing product of Unionpay occupies most of the market at present, is based on the technical specification of face recognition line lower payment safety application in the central department, adopts the mode of face recognition and payment password, and has great development potential.
But the experience of the face brushing application product on the existing face brushing equipment is still not friendly enough: firstly, the transaction initiating request mode is single, the external numeric keyboard is not supported to initiate the transaction, the transaction initiating request mode cannot be directly communicated with other cash register equipment, and the transaction initiating request mode is initiated by other equipment, so that the transaction initiating request mode cannot be directly adapted to the existing cash register; secondly, UI display cannot be customized, different merchants have respective unique styles and respective promotion and publicity pictures for UIs of various products, and the conventional face brushing application cannot achieve customized adaptation of the UIs; and thirdly, interaction with a user, the existing face brushing application and the interaction of the user are not intelligent enough and are not friendly enough, and the voice broadcasting function is not perfect enough.
In summary, the popularization of face-brushing payment still has many problems at the present stage, and the acceptance of users is not high. Therefore, the invention provides a bridging system based on face brushing equipment and a use method thereof, which can solve part of problems of the existing face brushing equipment and can also be customized to develop and support the functional requirements of merchants.
Disclosure of Invention
In view of the problems described, the present application is directed to providing a bridge system based on a face brushing device and a method of using the same that overcomes or at least partially solves the problems described above, comprising:
a bridging system based on a face brushing device is used for a third-party cash register and a digital keyboard to directly call a face brushing application on the face brushing device, and comprises an initialization configuration module, a data communication receiving and transmitting module, a transaction processing pool module, a cross-process communication module, a transaction data processing module, a transaction result display module, an advertisement carousel module, a log module and a background management module;
the initialization configuration module is used for the bridging system to select to trade and communicate with the third-party cash register device or the numeric keyboard according to a specific mode and configure parameter information in the specific mode;
the data communication transceiver module is used for receiving transaction requests from the third-party cash register device and the numeric keyboard, converting the transaction requests into transaction data, and then sending the transaction data to the transaction processing pool module, and/or receiving a processing result of the transaction data processing module and returning the processing result to the third-party cash register device;
the transaction processing pool module is used for monitoring and managing the transaction data;
the cross-process communication module is used for carrying out data communication on the transaction data of the transaction processing pool module and the face brushing application and carrying out data communication on a callback result processed by the face brushing application and the transaction data processing module;
the transaction data processing module is used for carrying out data processing on the callback result to obtain a processing result;
the transaction result display module is used for displaying a corresponding transaction result and key data corresponding to the transaction result according to the processing result;
the advertisement carousel module is used for circularly playing advertisement pictures propagated by merchants when the bridging system is in an idle state;
the log module is used for generating a log file for recording key nodes in the transaction process;
the background management module is used for carrying out unified management on the log files and pushing the advertisement pictures.
Further, the specific modes of the initialization configuration module include a self-service cashier mode and a non-self-service cashier mode;
when the specific mode is the self-service cash register mode, the bridging system carries out transaction and communication with the numeric keyboard,
or the like, or, alternatively,
when the specific mode is the non-self-service cash register mode, the bridging system and the third-party cash register device conduct transaction and communication.
Furthermore, the data communication transceiver module comprises a bluetooth communication unit and a serial communication unit;
when the transaction initiating request is the third-party cash register of the Windows system, the data communication transceiver module is the serial port communication unit;
and/or the presence of a gas in the gas,
when the transaction initiating request is the third-party cash register equipment of the Android system, the data communication transceiver module is the Bluetooth communication unit;
and/or the presence of a gas in the gas,
when the transaction initiating request is a numeric keyboard, the data communication transceiving module is one of the serial port communication unit and the Bluetooth communication unit.
Further, the face-brushing application comprises a Unionpay face-brushing payment application and a WeChat payment application.
Further, the transaction processing pool module comprises a format conversion unit and a state monitoring unit;
the format conversion unit is used for storing the transaction data in a transaction processing pool according to a preset format;
the state monitoring unit is used for monitoring the transaction state of the transaction data, wherein the transaction state comprises an unscranslated state and a transacting state.
Further, the transaction data processing module comprises a transaction result analysis unit, a packaging display data unit and a packaging return data unit;
the transaction result analysis unit is used for analyzing according to the callback result to obtain a transaction result;
the packaging display data unit is used for performing visual data processing and packaging processing according to the transaction result;
and the packaging return data unit is used for adjusting the data suitable for the third-party cash register device according to the transaction result and packaging the data suitable for the third-party cash register device.
Further, the advertisement carousel module comprises a picture acquisition unit, a network monitoring unit and a picture play setting unit;
the picture acquisition unit is used for acquiring the advertisement picture in the background management module;
the network monitoring unit is used for dynamically updating the advertisement picture according to the network connection state;
the picture playing setting unit is used for selecting to play the advertisement picture according to the priority degree.
Further, the log module comprises a recording unit, a storage unit, an uploading unit and an automatic clearing unit;
the recording unit is used for recording key nodes in the transaction process and generating log files, wherein the log files are named according to time;
the storage unit is used for storing the generated log file;
the uploading unit is used for uploading the log file to the background management module;
the automatic clearing unit is used for clearing the corresponding log files according to preset days.
Further, still include the voice broadcast module, the voice broadcast module is used for the voice broadcast the transaction request with the transaction result.
The invention also provides a use method of the bridging system based on the face brushing device, which comprises the following steps:
step S1: when the bridging system is in an idle state, the bridging system circularly plays commercial advertisement pictures of merchants according to the advertisement carousel module, or the bridging system selects a specific mode and configures parameter information of the specific mode according to the initialization configuration module;
step S2: when the bridging system receives data, the bridging system carries out data communication according to the self-service cash register mode or the non-self-service cash register mode;
when the bridging system is in the self-service cash register mode, the bridging system receives the transaction amount input by the numeric keyboard and the sent transaction request through the data communication transceiver module;
or the like, or, alternatively,
when the bridging system is in the non-self-service cash register mode, the bridging system receives the transaction amount input by the third-party cash register device and the sent transaction request through the data communication transceiver module, and specifically, when the third-party cash register device is a Windows system, a serial port communication unit can be adopted for data communication; when the third-party cash register equipment is an Android system, a Bluetooth communication unit can be adopted for data communication;
step S3: when the bridging system is in a transaction processing pool, the bridging system performs format conversion on the transaction data through the format conversion unit, and performs transaction state monitoring on the transaction data through the state monitoring unit after the format conversion;
step S4: when the transaction processing pool module is judged to have the transaction data, and when the transaction processing pool module does not have the transaction data, the bridging system returns to the step S1; when the transaction processing pool module has the transaction data, the bridging system judges whether the transaction data is in transaction or not according to the transaction data;
step S5: when the transaction data in the transaction processing pool module is in a transaction state, the bridging system monitors the transaction state of the transaction data through the state monitoring unit, and when the transaction state is in a non-transaction state, a transaction request which enters preferentially is taken out from the transaction processing pool module, the transaction request is started to be initiated, and meanwhile, the transaction state of the transaction request is set to be in a transaction state; when the transaction is completed, modifying the transaction state of the transaction request to be an unsransactionated state, and returning to the step S4 to judge whether the transaction processing pool module has transaction data;
step S6: when the bridging system carries out transaction processing, the bridging system can communicate with the face brushing application through the cross-process communication module, call back the bridging system after the face brushing application processes a transaction, process a transaction result by the bridging system, return the transaction result to the third-party cash register device, and display the transaction result through the transaction result display module;
step S7: when the bridging system finishes the transaction and the transaction processing is finished, returning to the step S4, judging whether the transaction processing pool module has transaction data, returning to the idle state of the step S1 when no transaction data exists, and starting to process the next transaction request when transaction data exists.
The application has the following advantages:
in the embodiment of the application, the bridging system comprises an initialization configuration module, a data communication transceiver module, a transaction processing pool module, a cross-process communication module, a transaction data processing module, a transaction result display module, an advertisement carousel module, a log module and a background management module; the initialization configuration module is used for the bridging system to select to trade and communicate with the third-party cash register device or the numeric keyboard according to a specific mode and configure parameter information in the specific mode; the data communication transceiver module is used for receiving transaction requests from the third-party cash register device and the numeric keyboard, converting the transaction requests into transaction data, and then sending the transaction data to the transaction processing pool module, and/or receiving a processing result of the transaction data processing module and returning the processing result to the third-party cash register device; the transaction processing pool module is used for monitoring and managing the transaction data; the cross-process communication module is used for carrying out data communication on the transaction data of the transaction processing pool module and the face brushing application and carrying out data communication on a callback result processed by the face brushing application and the transaction data processing module; the transaction data processing module is used for carrying out data processing on the callback result to obtain a processing result; the transaction result display module is used for displaying a corresponding transaction result and key data corresponding to the transaction result according to the processing result; the advertisement carousel module is used for circularly playing advertisement pictures propagated by merchants when the bridging system is in an idle state; the log module is used for generating a log file for recording key nodes in the transaction process; the background management module is used for carrying out unified management on the log files and pushing the advertisement pictures.
Different numeric keyboards can be adapted, so that a cashier can input money through the numeric keyboards and initiate a transaction request conveniently; the system can communicate with other third-party cash register equipment through communication modes such as a Bluetooth serial port and the like, and the third-party cash register equipment initiates transactions, so that the existing cash register system can be quickly accessed, and the modification workload of a merchant system is reduced; different propaganda pictures of different merchants can be pushed, and customized management of each merchant is facilitated; and voice broadcast can be carried out, so that a cashier can conveniently master the transaction flow and state at any time.
Drawings
In order to more clearly illustrate the technical solutions of the present application, the drawings needed to be used in the description of the present application will be briefly introduced below, and it is apparent that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive labor.
FIG. 1 is a block diagram of a bridge system for a face brushing device according to an embodiment of the present disclosure;
fig. 2 is a flowchart illustrating steps of a method for using a bridge system based on a face brushing device according to an embodiment of the present application.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, the present application is described in further detail with reference to the accompanying drawings and the detailed description. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The invention mainly aims to provide convenience and rapidness when a merchant accesses face brushing equipment to call face brushing payment, and a cashier can initiate transactions in other modes such as a numeric keyboard and the like when initiating payment; the serial communication and the Bluetooth communication in a main communication mode are mainly adopted, and a digital keyboard is also adapted; the invention additionally defines a corresponding data protocol, and mainly adopts a JSON data format. The invention also has good user experience, such as voice broadcast and the like.
Referring to fig. 1, a module framework diagram of a bridging system based on a face brushing device according to an embodiment of the present application is shown, where the bridging system is used for a third-party cash register and a digital keyboard to directly invoke a face brushing application on the face brushing device;
the bridging system comprises an initialization configuration module, a data communication transceiving module, a transaction processing pool module, a cross-process communication module, a transaction data processing module, a transaction result display module, an advertisement carousel module, a log module and a background management module;
the initialization configuration module is used for the bridging system to select to trade and communicate with the third-party cash register device or the numeric keyboard according to a specific mode and configure parameter information in the specific mode;
the data communication transceiver module is used for receiving transaction requests from the third-party cash register device and the numeric keyboard, converting the transaction requests into transaction data, and then sending the transaction data to the transaction processing pool module, and/or receiving a processing result of the transaction data processing module and returning the processing result to the third-party cash register device;
the transaction processing pool module is used for monitoring and managing the transaction data;
the cross-process communication module is used for carrying out data communication on the transaction data of the transaction processing pool module and the face brushing application and carrying out data communication on a callback result processed by the face brushing application and the transaction data processing module;
the transaction data processing module is used for carrying out data processing on the callback result to obtain a processing result;
the transaction result display module is used for displaying a corresponding transaction result and key data corresponding to the transaction result according to the processing result;
the advertisement carousel module is used for circularly playing advertisement pictures propagated by merchants when the bridging system is in an idle state;
the log module is used for generating a log file for recording key nodes in the transaction process;
the background management module is used for carrying out unified management on the log files and pushing the advertisement pictures.
In the embodiment of the application, the bridging system comprises an initialization configuration module, a data communication transceiver module, a transaction processing pool module, a cross-process communication module, a transaction data processing module, a transaction result display module, an advertisement carousel module, a log module and a background management module; the initialization configuration module is used for the bridging system to select to trade and communicate with the third-party cash register device or the numeric keyboard according to a specific mode and configure parameter information in the specific mode; the data communication transceiver module is used for receiving transaction requests from the third-party cash register device and the numeric keyboard, converting the transaction requests into transaction data, and then sending the transaction data to the transaction processing pool module, and/or receiving a processing result of the transaction data processing module and returning the processing result to the third-party cash register device; the transaction processing pool module is used for monitoring and managing the transaction data; the cross-process communication module is used for carrying out data communication on the transaction data of the transaction processing pool module and the face brushing application and carrying out data communication on a callback result processed by the face brushing application and the transaction data processing module; the transaction data processing module is used for carrying out data processing on the callback result to obtain a processing result; the transaction result display module is used for displaying a corresponding transaction result and key data corresponding to the transaction result according to the processing result; the advertisement carousel module is used for circularly playing advertisement pictures propagated by merchants when the bridging system is in an idle state; the log module is used for generating a log file for recording key nodes in the transaction process; the background management module is used for carrying out unified management on the log files and pushing the advertisement pictures.
Different numeric keyboards can be adapted, so that a cashier can input money through the numeric keyboards and initiate a transaction request conveniently; the system can communicate with other third-party cash register equipment through communication modes such as a Bluetooth serial port and the like, and the third-party cash register equipment initiates transactions, so that the existing cash register system can be quickly accessed, and the modification workload of a merchant system is reduced; different propaganda pictures of different merchants can be pushed, and customized management of each merchant is facilitated; and voice broadcast can be carried out, so that a cashier can conveniently master the transaction flow and state at any time.
A further description of a bridge system based on a face brushing device in the present exemplary embodiment will be provided below.
In an embodiment of the present invention, the specific modes of the initialization configuration module include a self-service cash register mode and a non-self-service cash register mode; when the specific mode is the self-service cash register mode, the bridging system and the numeric keyboard perform transaction and communication, or when the specific mode is the non-self-service cash register mode, the bridging system and the third-party cash register device perform transaction and communication.
It should be noted that the bridging system of the present invention can divide the specific mode into a self-service cash register mode and a non-self-service cash register mode according to the diversification of the use modes and scenes and whether the system is used in combination with a cash register; the self-service cash register mode is that the bridge system is used independently and is matched with a digital keyboard to initiate transaction; in the self-service cash register mode, the bridge system cannot communicate with external equipment, can independently initiate a transaction request and can be regarded as an independent cash register system; the non-self-service cash register mode is that the bridging system is matched with a third-party cash register device, the bridging system is communicated with the third-party cash register device through the data communication transceiving module, and the third-party cash register device initiates a transaction; in the non-self-service cash register mode, after calling the face brushing application to complete the transaction, the bridging system needs to inform a third-party cash register device; meanwhile, the use of a numeric keyboard is forbidden under the non-self-service cash registering mode.
When the initialization configuration module is used for initialization configuration, the bridging system determines which specific mode is used so as to configure the parameter information in the specific mode; if the user uses the voice broadcasting module matched with the bridging system to realize the voice broadcasting function, the input overtime is started by the numeric keyboard in the self-service cash register mode, when the face-brushing application is called, whether the face-brushing application shows a transaction result when the transaction is finished, whether a transaction receipt is printed, parameter information setting under some special scenes and the like are carried out.
In addition, when the bridging system is in an idle state, the related configuration of the bridging system can be modified by entering a configuration page through the initialization configuration module, and the modified bridging system takes effect immediately without restarting the bridging system; when the bridging system is in an idle state, the bridging system can circularly play the merchant propaganda advertisement picture, and enters the idle state after the initialization of the merchant propaganda advertisement picture is completed.
As an example, after the initialization is completed, the bridging system of the present invention enters an idle state, and the idle state calls an advertisement module to perform carousel of advertisements; meanwhile, the thread maintained by the transaction processing pool module can also initiate transaction request processing when detecting that the transaction processing pool module has a request; in the idle state, a numeric keyboard or a user can manually click and call out a configuration page of the bridging system, and the related configuration of the bridging system is changed or switched; and after the relevant configuration is switched, the system can be effective without restarting the bridging system.
In an embodiment of the present invention, the data communication transceiver module includes a bluetooth communication unit and a serial communication unit; when the transaction initiating request is the third-party cash register of the Windows system, the data communication transceiver module is the serial port communication unit; and/or when the transaction initiating request is the third-party cash register equipment of the Android system, the data communication transceiver module is the Bluetooth communication unit; and/or when the transaction initiation request is a numeric keyboard, the data communication transceiver module is one of the serial port communication unit and the Bluetooth communication unit.
It should be noted that the transaction data refers to the transaction request and the transaction amount obtained by converting a preset format; when the transaction data of the numeric keyboard is received, the bridging system is required to perform format conversion on the transaction data according to a format conversion unit of the transaction processing pool module; when transaction data of third-party cash register equipment are received, the bridging system is required to perform format conversion on the transaction data according to a format conversion unit of the transaction processing pool module; when transaction data defined by a non-bridging system is received, if the third-party cashier equipment does not agree with the bridging system in a data format, processing illegal data; if the third-party cashier device and the bridging system agree on a data format, the bridging system acquires transaction elements required by the transaction processing pool according to the agreed data format, and the bridging system performs format conversion on transaction data according to a format conversion unit of a transaction processing pool module; meanwhile, whether the original data sent by the third-party cash register device is stored is determined according to needs.
It should be noted that, in the communication mode with the third-party cash register device, considering different operating systems possibly existing in the third-party cash register device, the bluetooth communication unit of the bridge system supports bluetooth communication and the serial communication unit supports serial communication:
as an example, when the bluetooth communication is implemented by the bluetooth communication unit, the bridging system uses itself as a bluetooth server, starts a thread to monitor the bluetooth state in real time by using a fixed UUID (universal Unique Identifier), and starts the thread to receive transaction data transmitted by bluetooth in real time when the bluetooth communication unit is connected by a third-party cashier device; after receiving the transaction data, firstly checking whether the transaction data is complete or not and whether the data format of the transaction data is correct or not according to the communication protocol, and directly returning a result to a third-party cashier device when the transaction data is wrong, so that the next state cannot be entered; in a specific embodiment, when the bridge system realizes bluetooth communication through the bluetooth communication unit, the device opens the bluetooth with a fixed UUID during initialization, and uses itself as a server to wait for connection of the third party cash register device; the Bluetooth connection adopts a long connection, and when the bridge system is abnormally disconnected for some reasons, the Bluetooth service can be automatically turned on again to wait for the reconnection of the cash register device.
As an example, when serial port communication is realized through a serial port communication unit, a bridging system opens a device node "/dev/ttyS 1" through an RS232 interface corresponding to a device, starts a thread to monitor the serial port in real time to receive transaction data, delays 50 milliseconds after the transaction data is received, and circularly receives the transaction data again, so that the transaction data is prevented from being received mistakenly due to too short time; after receiving the transaction data, checking the integrity of the transaction data and the format problem of the transaction data according to a communication protocol, assembling a new instruction according to the requirement to start the transaction and entering the next state after no error exists; in a specific embodiment, when the bridge system realizes serial communication through the serial communication unit, the device is connected with a third party cash register device through an RS232 interface, and performs data communication through a data protocol defined by the bridge system; the bridge system opens the RS232 node during initialization, sets node information such as baud rate, check type, data bit, stop bit and the like, then starts a receiving thread, and circularly reads transaction data of the node; for receiving the integrity of the transaction data, the loop is delayed by 50ms each time; in order to ensure the stability of transaction data transmission during serial port communication, a long connection mode is adopted, and when the bridge system is abnormally disconnected for some reasons, the bridge system automatically tries to open the nodes again and receives the nodes again.
It should be noted that, when communicating with the third-party cash register device of the Windows system, serial port communication may be adopted; when the system is communicated with the third-party cash register equipment of the Android system, Bluetooth communication can be adopted; meanwhile, communication data all need to meet a data protocol defined by a bridging system; the system can provide various modes to communicate with other third-party cash register equipment, and can be quickly accessed to the existing cash register system; the third-party cash register device may be, but is not limited to, cash registers of different operating systems such as a Windows system and an Android system.
It should be noted that the data communication transceiver module also receives transaction data from the numeric keypad, and mainly includes transaction data such as a transaction request and an opening setting request.
It should be noted that the data communication transceiver module is also responsible for analyzing and recombining the received transaction data; the communication protocol of the third-party cashier device and the bridging system generally uses a data protocol defined by the bridging system, and if the third-party cashier device has a data format, the bridging system can be quickly reconstructed according to the data format; the data format generally adopts a JSON (JavaScript Object Notation) format; after receiving transaction data, extracting key elements for recombination according to a request data format required by face brushing application, and adding the key elements to a transaction processing pool module after the recombination is completed; after the transaction is completed, when transaction result data is received, key elements are extracted according to a used protocol to be recombined, and a result is returned to the third-party cash register device; of course, a transaction request initiated with a numeric keypad does not require a return result.
In an embodiment of the invention, the face-brushing application includes a union pay face-brushing application and a WeChat payment application.
It should be noted that the face brushing application supported by the invention can be unionpay face brushing payment and can also support WeChat face brushing payment in a compatible manner. The call of the unionpay face-brushing payment is an AIDL (Android Interface Definition Language) file provided by the unionpay face-brushing payment, and the WeChat face-brushing payment is an AAR (Android Archive, binary Archive file of Android library item) file for calling a WeChat SDK (Software Development Kit) provided by WeChat, which is still Android cross-process communication essentially.
In an embodiment of the present invention, the transaction processing pool module includes a format conversion unit and a status monitoring unit; the format conversion unit is used for storing the transaction data in a transaction processing pool according to a preset format; the state monitoring unit is used for monitoring the transaction state of the transaction data, wherein the transaction state comprises an unscranslated state and a transacting state.
It should be noted that the transaction processing pool module maintains a single thread and a transaction state, the single thread is used for controlling the transaction sequence, and the transaction entering the transaction processing pool module first is preferentially carried out according to the first-in first-out principle; the transaction state has two states, namely an unsransaction state and a transaction state, which respectively represent whether a transaction is carried out or not; the transaction data entering the transaction processing pool module needs to be subjected to format unification through a format conversion unit; when the transaction processing pool module has no transaction data, the bridging system enters an idle state; when the transaction processing pool module has transaction data, the bridging system can determine to start transaction or wait for the completion of the previous transaction according to the transaction state; when no transaction is currently carried out, namely the transaction state is an unscheduled state, taking out the transaction which is entered preferentially from the transaction processing pool module, starting to initiate the transaction, and simultaneously setting the transaction state as a transaction state; and when the transaction is completed, modifying the transaction state into an unsransactionated state, and returning to the transaction processing pool module to check whether transaction data exists or not.
As an example, when the transaction state is an unsransactionated state, the transaction data in the transaction processing pool module is acquired to perform a transaction; and when the transaction state is the transaction-in state, waiting for the transaction processing to be finished.
As an example, after receiving a transaction request, the data communication transceiver module of the bridging system of the present invention will add the request to the transaction processing pool module, and a thread maintained by the transaction processing pool module circularly processes all transactions, with the processing principle being first-in first-out; meanwhile, the transaction processing pool module also maintains a variable of a transaction state, the transaction state is a transaction-in state when the bridging system processes a transaction request, and the transaction state is an non-transaction state when the bridging system processes a transaction request; when the thread of the transaction processing pool module acquires that the transaction state is the non-transaction state, acquiring a next transaction request from the transaction processing pool module, putting the transaction request into the next step for transaction processing, changing the transaction state into the transaction state, waiting for the completion of the transaction processing, and sequentially circulating. Transaction processing is performed in a separate thread that invokes the cross-process communication module to process the transaction, while also changing the UI display of the bridge system itself.
It should be noted that, the main transaction elements carried by one transaction request include: and identifying the unique transaction order number and transaction amount of the transaction, controlling whether the face brushing application displays the control parameters of the transaction result or not when the transaction is completed, and controlling whether the printing parameters of the receipt are printed or not after the transaction is completed.
It should be noted that, the transaction processing pool module can set the maximum transaction request number and also includes an exception handling mechanism; the transaction processing pool module can sequentially process a plurality of transaction requests when receiving the transaction requests at the same time, and the problems of transaction flow confusion and the like can be avoided.
In an embodiment of the present invention, the cross-process communication module refers to aid communication in Android.
It should be noted that the cross-process communication module is responsible for communication between the bridge system and the face brushing application, and aid communication in an Android cross-process communication mechanism is mainly adopted. The bridging system and the face brushing application have a common AIDL file, the bridging system binds the Service of the face brushing application (the Service is one of four major components in the Android system, has a long life cycle, has no visual interface and runs in a background Service program) according to the ACTION (the ACTION class is a bridge between a user request and Service logic, and each ACTION serves as a Service agent of a client) provided by the face brushing application, acquires a corresponding interface instance, and calls the corresponding interface of the face brushing application through the instance to initiate a transaction. And when the transaction is completed, the face brushing application can call back the AIDL interface in the bridging system, so that the corresponding transaction result is obtained through the bridging system.
As an example, after receiving a callback result of the face-brushing application, the cross-process communication module transmits data to the transaction data processing module, and the transaction data processing module analyzes the transaction result, acquires key elements of the transaction, reassembles the data, controls and displays the transaction elements, and the like.
In an embodiment of the present invention, the transaction data processing module includes a transaction result analyzing unit, a packaging display data unit and a packaging return data unit; the transaction result analysis unit is used for analyzing according to the callback result to obtain a transaction result; the packaging display data unit is used for performing visual data processing and packaging processing according to the transaction result; and the packaging return data unit is used for adjusting the data suitable for the third-party cash register device according to the transaction result and packaging the data suitable for the third-party cash register device.
It should be noted that the transaction data processing module refers to callback result processing of the face brushing application received by the cross-process communication module; the bridging system can communicate with the face brushing application through the cross-process communication module, call back the bridging system after the face brushing application processes the transaction, process the transaction result through the transaction result analysis unit, return the transaction result to the third-party cash register device through the packaging return data unit, and display the transaction result through the packaging display data unit.
As an example, in a transaction processing process, firstly, a face-brushing application is called to start a transaction through an Android cross-process communication mechanism aid l of a cross-process communication module; when the transaction processing of the face brushing application is finished, the user can call back to the bridging system; after receiving the callback data, the bridging system judges whether the transaction is successful according to the difference of callback interfaces, meanwhile, the transaction key data in the callback result are taken, on one hand, the transaction result is packaged and displayed through the packaging display data unit, and on the other hand, the transaction result is packaged and displayed through the packaging return data unit according to the protocol, and the packaged data is returned to the third-party cash register device.
Specifically, after a transaction result of the cross-process communication module is received, the transaction result needs to be determined firstly, when the transaction is successful, transaction elements such as transaction amount and transaction time are obtained, data required by a transaction result display page is packaged through a packaging display data unit and transmitted to the transaction result display page for informing a user of the transaction condition; meanwhile, a data format required by the third-party cash register equipment is packaged through a packaging return data unit and used for informing the cash register equipment of the transaction result condition; similarly, when the transaction fails, the transaction failure description needs to be acquired, displayed to the user, and simultaneously notified to the cash register device; and according to the configuration of the bridging system, whether to broadcast the corresponding transaction result by voice is determined.
In an embodiment of the present invention, the transaction result display module is configured to display the corresponding transaction result and the key data corresponding to the transaction result according to the processing result.
It should be noted that the transaction result display module is used for displaying the transaction result and the key data of the transaction, and the key data at least includes transaction time, transaction amount and the like.
As an example, after receiving the key data, the transaction result display module of the present invention first determines the transaction result, displays the transaction result in a conspicuous picture, and simultaneously displays all received transaction result elements in a list; for example, when the transaction is successful, the transaction amount, the transaction time and the like are displayed, and when the transaction is failed, the transaction failure description and the like are displayed.
In an embodiment of the present invention, the background management module is configured to perform unified management on the log file and push the advertisement picture.
It should be noted that communication can be established with the management background through the background management module, the management background can customize different promotional pictures according to different merchants and push the pictures to the bridging system, and the bridging system circularly displays the promotional advertising pictures when in an idle state; and transaction logs obtained by real-time recording can be uploaded to a management background for unified management, expired logs can be automatically cleared regularly, and storage space occupied by applications is reduced.
In an embodiment of the present invention, the advertisement carousel module includes a picture acquisition unit, a network monitoring unit and a picture play setting unit; the picture acquisition unit is used for acquiring the advertisement picture in the background management module; the network monitoring unit is used for dynamically updating the advertisement picture according to the network connection state; the picture playing setting unit is used for selecting to play the advertisement picture according to the priority degree.
It should be noted that, the advertisement carousel module circularly plays advertising pictures of merchants in an idle state; the advertisement pictures displayed in the idle state are acquired in a management background of a background management module when being started each time, if corresponding advertisement picture resources are acquired, the advertisement pictures are displayed, and if the corresponding advertisement picture resources are not acquired, local default advertisement pictures are displayed; the management background can adopt directional pushing according to different propaganda advertisement pictures of different merchants to achieve a mode of channel-by-channel management; in addition, the bridging system can also request the management background to acquire the advertisement data at fixed intervals, so that the problem that the advertisement of the bridging system is not displayed timely after the advertisement data of the management background is updated is solved.
As an example, when the bridging system of the present invention is started, the serial number of the device is used as a key element, and advertising pictures are requested from the management background of the background management module; the management background adds different equipment serial numbers to different merchant channels in a channel division mode, so that different advertising pictures can be set by equipment of different merchants when the equipment requests by taking the equipment serial numbers as elements; the number of advertisement pictures is not limited, and the resolution is 1280 x 800.
Meanwhile, in order to prevent the situation that when the equipment is started, the advertisement picture is requested to be acquired when the network is not connected yet, the acquisition is not successful, and the acquisition is overtime after the subsequent network is connected, the bridging system registers and monitors the broadcast of the network change during initialization; when the network is in a network disconnection state or a network connection state, the advertisement picture is requested again after the broadcast is received, and the advertisement picture is dynamically updated after the request is successful; in addition, the bridging system can also request the background for advertisement pictures at fixed intervals, so that the problem that the bridging system cannot display in time after the background advertisement pictures are updated is solved.
It should be noted that the setting of the advertisement picture of the invention adopts a three-level mode, and the advertisement picture is obtained from the management background with the highest priority; if the advertisement picture acquisition fails, the bridging system acquires the advertisement picture which is successfully acquired last time from the local cache; and if the advertisement picture cached locally does not exist, the bridging system uses the advertisement picture which is defaulted by the application.
In an embodiment of the present invention, the log module includes a recording unit, a storage unit, an uploading unit and an automatic clearing unit; the recording unit is used for recording key nodes in the transaction process and generating log files, wherein the log files are named according to time; the storage unit is used for storing the generated log file; the uploading unit is used for uploading the log file to the background management module; the automatic clearing unit is used for clearing the corresponding log files according to preset days.
It should be noted that the log module records logs of key nodes in the whole transaction process, and can upload the logs to the background, so that developers can remotely investigate reasons when the application is abnormal, and can delete expired logs regularly; the recording unit can record a key log in the transaction process in real time; the storage unit can store a key log in the transaction process; the uploading unit can send the key logs to a management background of the background management module and store the key logs in a local file, so that help is provided for follow-up troubleshooting; the automatic clearing unit can regularly clear the application log files and reduce the storage space occupied by the application.
As an example, the logging module generates a log file in each day, the log file is named by taking the device serial number and the time as elements, and the specific format is "SN _ yyyy-MM-dd.log", wherein "SN" represents the device serial number, "yyyy" represents the year, "MM" represents the month, and "dd" represents the date; therefore, the log file of each device every day can be unique, and the problem of related coverage of log files of different devices after the log files are uploaded to a management background is avoided; the log file contains the generation time of the log, is accurate to millisecond, simultaneously comprises the information of the level of the log, TAG and the like, and can be convenient for developers to quickly locate the problem when the program is abnormal; the transaction logs are generated every day, and the excessive storage space of the equipment is occupied after the equipment is put for a long time, so that the bridging system realizes the automatic clearing function through the automatic clearing unit logs; when the bridge system is opened, the logs of three days or more can be automatically cleared, so that the storage space of the bridge system is reduced.
In an embodiment of the present invention, the system further includes a voice broadcast module, and the voice broadcast module is configured to broadcast the transaction request and the transaction result by voice.
In addition, the embodiment of the invention also comprises a function of automatically restarting the bridge system after the bridge system is abnormally crashed, specifically, the bridge system of the invention belongs to an Android application, and in the running process, the crash of a program can be caused by some abnormal reasons. But in order to have better user experience, the method captures all the exceptions globally, stores the exceptions into a file through a log module after capturing the crash exceptions, simultaneously automatically exits from the bridging system, and automatically restarts after 1 s.
The embodiment of the invention also comprises a transaction record storage function, in particular, the invention also supports the function of storing the transaction record in the database; the key transaction elements can be stored in the database no matter the transaction is initiated through the digital keyboard or the transaction is initiated through the third-party cash register equipment received by the data communication transceiving module, and the transaction result in the database can be automatically updated after the transaction is completed; the bridging system also provides a UI interface for displaying all transaction records and provides a corresponding conditional search function. In addition, the bridging system also provides entry functions of printing and transaction cancellation when the details of a certain transaction record are displayed. The user may print a successful transaction via the transaction details page and execute an undo command for a successful transaction.
The embodiment of the invention also comprises a third-party code scanning payment function, and particularly, the invention has the main function of calling the face brushing application to carry out face brushing transaction; but the invention can also support the interfaces of other third parties, such as calling the code scanning function of the equipment, and then transmitting the code scanning parameters to the third party interface to complete the transaction; the bridging system can realize the compatibility of the Unionpay bar code payment comprehensive preposed platform, the scanned payment function of the platform is aggregated payment, and the payment of the Unionpay two-dimensional code, the WeChat two-dimensional code and the Paibao two-dimensional code is supported.
The invention also provides a use method of the bridging system based on the face brushing device, which comprises the following steps with reference to fig. 2:
step S1: when the bridging system is in an idle state, the bridging system circularly plays commercial advertisement pictures of merchants according to the advertisement carousel module, or the bridging system selects a specific mode and configures parameter information of the specific mode according to the initialization configuration module;
step S2: when the bridging system receives data, the bridging system carries out data communication according to the self-service cash register mode or the non-self-service cash register mode;
when the bridging system is in the self-service cash register mode, the bridging system receives the transaction amount input by the numeric keyboard and the sent transaction request through the data communication transceiver module;
or the like, or, alternatively,
when the bridging system is in the non-self-service cash register mode, the bridging system receives the transaction amount input by the third-party cash register device and the sent transaction request through the data communication transceiver module, and specifically, when the third-party cash register device is a Windows system, a serial port communication unit can be adopted for data communication; when the third-party cash register equipment is an Android system, a Bluetooth communication unit can be adopted for data communication;
step S3: when the bridging system is in a transaction processing pool, the bridging system performs format conversion on the transaction data through the format conversion unit, and performs transaction state monitoring on the transaction data through the state monitoring unit after the format conversion;
step S4: when the transaction processing pool module is judged to have the transaction data, and when the transaction processing pool module does not have the transaction data, the bridging system returns to the step S1; when the transaction processing pool module has the transaction data, the bridging system judges whether the transaction data is in transaction or not according to the transaction data;
step S5: when the transaction data in the transaction processing pool module is in a transaction state, the bridging system monitors the transaction state of the transaction data through the state monitoring unit, and when the transaction state is in a non-transaction state, a transaction request which enters preferentially is taken out from the transaction processing pool module, the transaction request is started to be initiated, and meanwhile, the transaction state of the transaction request is set to be in a transaction state; when the transaction is completed, modifying the transaction state of the transaction request to be an unsransactionated state, and returning to the step S4 to judge whether the transaction processing pool module has transaction data;
step S6: when the bridging system carries out transaction processing, the bridging system can communicate with the face brushing application through the cross-process communication module, call back the bridging system after the face brushing application processes a transaction, process a transaction result by the bridging system, return the transaction result to the third-party cash register device, and display the transaction result through the transaction result display module;
step S7: when the bridging system finishes the transaction and the transaction processing is finished, returning to the step S4, judging whether the transaction processing pool module has transaction data, returning to the idle state of the step S1 when no transaction data exists, and starting to process the next transaction request when transaction data exists.
It should be noted that step S1 corresponds to the idle state shown in fig. 2, in the idle state, the bridging system may circularly play the advertisement pictures of the merchants, and at the same time, the state can jump to the configuration page of the bridging system to perform the relevant configuration on the bridging system.
It should be noted that step S2 corresponds to the data reception in fig. 2, and the data reception may have a plurality of different forms; when the bridging system is used independently, the transaction amount input by the numeric keyboard and the transmitted transaction request are received through the data communication transceiving module; when the bridging system is used in cooperation with other third-party cash register systems, the bridging system can receive data sent by the third-party cash register equipment through different communication modes in the data communication transceiver module, and serial port communication can be adopted when the bridging system is communicated with a cash register of a Windows system; when the system is communicated with a cash register of an Android system, Bluetooth communication can be adopted; meanwhile, the communication data all need to satisfy the data protocol defined by the bridging system.
It should be noted that, step S3 corresponds to the transaction processing pool of fig. 2, the transaction processing pool module maintains a single thread and a transaction state variable, the single thread is used to control the transaction sequence, and the transaction that enters the processing pool first is preferentially performed according to the first-in first-out principle; the transaction state has two states, namely an unsransaction state and a transaction state, which indicate whether a transaction is in progress or not; the transaction data entering the transaction processing pool module needs to be uniform in format.
It should be noted that, step S4 corresponds to whether the transaction pool of fig. 2 has data, and when the transaction processing pool module has no transaction data, the bridging system enters the idle state of step S1; when the transaction processing pool module has transaction data, the bridging system can decide to start the transaction according to the transaction state or circularly wait for the completion of the previous transaction.
It should be noted that, in step S5, corresponding to whether the transaction is being performed in fig. 2, when the current transaction processing pool module does not have a transaction being performed, that is, the transaction state is an unscheduled state, the transaction that is entered preferentially is taken out from the transaction processing pool module, the transaction is started, and meanwhile, the transaction state is set to be the transaction state; when the transaction is completed, the transaction status is modified to be the non-transaction status, and the process returns to step S4 to check whether the transaction processing pool module has data.
It should be noted that step S6 corresponds to the transaction processing shown in fig. 2, and the transaction processing in the present invention mainly refers to a process of taking a transaction request from the transaction processing pool module and starting processing; a thread is maintained independently during transaction processing, and meanwhile, in order to change the UI display of the bridging system at any time, the transaction processing thread can also communicate with the UI thread; when the transaction is processed, firstly, the equipment networking condition is checked, when the equipment is not networked, the transaction is stopped, the user network abnormity is prompted according to the configuration, and when the equipment network is normal, whether the payment amount to be paid is prompted by voice or not is selected according to the configuration of a bridging system; the transaction processing thread calls a cross-process communication module to communicate with the face brushing application and complete the transaction; it should be noted that the bridging system itself cannot process complete transactions, and only plays a role in bridging the application of the merchant cash register device and the face brushing device; and the bridging system can communicate with the face brushing application through the cross-process communication module, call back the bridging system after the face brushing application finishes processing the transaction, process the transaction result by the bridging system, return the transaction result to the third-party cash register device, and simultaneously display the transaction result.
It should be noted that step S7 corresponds to the end of the transaction in fig. 2, until the transaction is ended after all transaction requests are completed.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
While preferred embodiments of the present application have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including the preferred embodiment and all such alterations and modifications as fall within the true scope of the embodiments of the application.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The bridging system based on the face brushing device and the use method thereof provided by the application are introduced in detail, specific examples are applied in the description to explain the principle and the implementation manner of the application, and the description of the above embodiments is only used for helping to understand the method and the core idea of the application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. A bridging system based on a face brushing device is used for a third-party cash register and a digital keyboard to directly call a face brushing application on the face brushing device, and is characterized in that the bridging system comprises an initialization configuration module, a data communication transceiving module, a transaction processing pool module, a cross-process communication module, a transaction data processing module, a transaction result display module, an advertisement carousel module, a log module and a background management module;
the initialization configuration module is used for the bridging system to select to trade and communicate with the third-party cash register device or the numeric keyboard according to a specific mode and configure parameter information in the specific mode;
the data communication transceiver module is used for receiving transaction requests from the third-party cash register device and the numeric keyboard, converting the transaction requests into transaction data, and then sending the transaction data to the transaction processing pool module, and/or receiving a processing result of the transaction data processing module and returning the processing result to the third-party cash register device;
the transaction processing pool module is used for monitoring and managing the transaction data;
the cross-process communication module is used for carrying out data communication on the transaction data of the transaction processing pool module and the face brushing application and carrying out data communication on a callback result processed by the face brushing application and the transaction data processing module;
the transaction data processing module is used for carrying out data processing on the callback result to obtain a processing result;
the transaction result display module is used for displaying a corresponding transaction result and key data corresponding to the transaction result according to the processing result;
the advertisement carousel module is used for circularly playing advertisement pictures propagated by merchants when the bridging system is in an idle state;
the log module is used for generating a log file for recording key nodes in the transaction process;
the background management module is used for carrying out unified management on the log files and pushing the advertisement pictures.
2. The facebrushing device-based bridging system of claim 1, wherein the particular mode of the initialization configuration module comprises a self-service checkout mode and a non-self-service checkout mode;
when the specific mode is the self-service cash register mode, the bridging system carries out transaction and communication with the numeric keyboard,
or the like, or, alternatively,
when the specific mode is the non-self-service cash register mode, the bridging system and the third-party cash register device conduct transaction and communication.
3. The bridge system based on the face brushing device according to claim 1, wherein the data communication transceiver module comprises a bluetooth communication unit and a serial communication unit;
when the transaction initiating request is the third-party cash register of the Windows system, the data communication transceiver module is the serial port communication unit;
and/or the presence of a gas in the gas,
when the transaction initiating request is the third-party cash register equipment of the Android system, the data communication transceiver module is the Bluetooth communication unit;
and/or the presence of a gas in the gas,
when the transaction initiating request is a numeric keyboard, the data communication transceiving module is one of the serial port communication unit and the Bluetooth communication unit.
4. The facebrushing device-based bridging system of claim 1, wherein the facebrushing application comprises a unionpay facebrushing application and a WeChat payment application.
5. The facer apparatus-based bridge system of claim 1, wherein the transaction processing pool module comprises a format conversion unit and a status monitoring unit;
the format conversion unit is used for storing the transaction data in a transaction processing pool according to a preset format;
the state monitoring unit is used for monitoring the transaction state of the transaction data, wherein the transaction state comprises an unscranslated state and a transacting state.
6. The bridge system based on the face brushing device according to claim 1, wherein the transaction data processing module comprises a transaction result analysis unit, a packaging display data unit and a packaging return data unit;
the transaction result analysis unit is used for analyzing according to the callback result to obtain a transaction result;
the packaging display data unit is used for performing visual data processing and packaging processing according to the transaction result;
and the packaging return data unit is used for adjusting the data suitable for the third-party cash register device according to the transaction result and packaging the data suitable for the third-party cash register device.
7. The bridge system based on the face brushing device according to claim 1, wherein the advertisement carousel module comprises a picture acquisition unit, a network monitoring unit and a picture play setting unit;
the picture acquisition unit is used for acquiring the advertisement picture in the background management module;
the network monitoring unit is used for dynamically updating the advertisement picture according to the network connection state;
the picture playing setting unit is used for selecting to play the advertisement picture according to the priority degree.
8. The bridge system based on the face brushing device according to claim 1, wherein the log module comprises a recording unit, a storage unit, an uploading unit and an automatic clearing unit;
the recording unit is used for recording key nodes in the transaction process and generating log files, wherein the log files are named according to time;
the storage unit is used for storing the generated log file;
the uploading unit is used for uploading the log file to the background management module;
the automatic clearing unit is used for clearing the corresponding log files according to preset days.
9. The bridge system based on the face brushing device according to claim 1, further comprising a voice broadcast module, wherein the voice broadcast module is used for voice broadcasting the transaction request and the transaction result.
10. Use of a bridge system based on a facial brushing device according to any of claims 1-9, comprising the steps of:
step S1: when the bridging system is in an idle state, the bridging system circularly plays commercial advertisement pictures of merchants according to the advertisement carousel module, or the bridging system selects a specific mode and configures parameter information of the specific mode according to the initialization configuration module;
step S2: when the bridging system receives data, the bridging system carries out data communication according to the self-service cash register mode or the non-self-service cash register mode;
when the bridging system is in the self-service cash register mode, the bridging system receives the transaction amount input by the numeric keyboard and the sent transaction request through the data communication transceiver module;
or the like, or, alternatively,
when the bridging system is in the non-self-service cash register mode, the bridging system receives the transaction amount input by the third-party cash register device and the sent transaction request through the data communication transceiver module, and specifically, when the third-party cash register device is a Windows system, a serial port communication unit can be adopted for data communication; when the third-party cash register equipment is an Android system, a Bluetooth communication unit can be adopted for data communication;
step S3: when the bridging system is in a transaction processing pool, the bridging system performs format conversion on the transaction data through the format conversion unit, and performs transaction state monitoring on the transaction data through the state monitoring unit after the format conversion;
step S4: when the transaction processing pool module is judged to have the transaction data, and when the transaction processing pool module does not have the transaction data, the bridging system returns to the step S1; when the transaction processing pool module has the transaction data, the bridging system judges whether the transaction data is in transaction or not according to the transaction data;
step S5: when the transaction data in the transaction processing pool module is in a transaction state, the bridging system monitors the transaction state of the transaction data through the state monitoring unit, and when the transaction state is in a non-transaction state, a transaction request which enters preferentially is taken out from the transaction processing pool module, the transaction request is started to be initiated, and meanwhile, the transaction state of the transaction request is set to be in a transaction state; when the transaction is completed, modifying the transaction state of the transaction request to be an unsransactionated state, and returning to the step S4 to judge whether the transaction processing pool module has transaction data;
step S6: when the bridging system carries out transaction processing, the bridging system can communicate with the face brushing application through the cross-process communication module, call back the bridging system after the face brushing application processes a transaction, process a transaction result by the bridging system, return the transaction result to the third-party cash register device, and display the transaction result through the transaction result display module;
step S7: when the bridging system finishes the transaction and the transaction processing is finished, returning to the step S4, judging whether the transaction processing pool module has transaction data, returning to the idle state of the step S1 when no transaction data exists, and starting to process the next transaction request when transaction data exists.
CN202110396852.7A 2021-04-13 2021-04-13 Bridging system based on face brushing equipment and use method thereof Pending CN113095802A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110396852.7A CN113095802A (en) 2021-04-13 2021-04-13 Bridging system based on face brushing equipment and use method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110396852.7A CN113095802A (en) 2021-04-13 2021-04-13 Bridging system based on face brushing equipment and use method thereof

Publications (1)

Publication Number Publication Date
CN113095802A true CN113095802A (en) 2021-07-09

Family

ID=76676978

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110396852.7A Pending CN113095802A (en) 2021-04-13 2021-04-13 Bridging system based on face brushing equipment and use method thereof

Country Status (1)

Country Link
CN (1) CN113095802A (en)

Similar Documents

Publication Publication Date Title
US9794334B2 (en) Systems and methods to process a request received at an application program interface
US8346868B2 (en) Real-time web sharing system
EP1191758B1 (en) Terminal for computer network and recording method of control history
US9904945B2 (en) Business channel synchronization
JP2001525574A (en) Processing long-term transactions in client-server systems
CN111381981A (en) Method, device and equipment for pushing applet messages and storage medium
CN114973549A (en) Data processing method and device, teller machine and data processing system
CN112288577B (en) Transaction processing method, device, electronic equipment and medium for distributed service
US20070162540A1 (en) Inter-agent communication
CN109672718A (en) File delivery method, server, storage medium and device between system
CN113095802A (en) Bridging system based on face brushing equipment and use method thereof
US6396511B1 (en) Network communication system not requiring modifications or additions to manager and agent software
CN111444003A (en) Multi-system daily-cutting preparation method and device based on credit bill and financial settlement
JP2002197078A (en) Screen sharing system
CA2543887A1 (en) System and method for exposing synchronous web services as notification style web services
CN114328353B (en) WEB interactive serial port communication architecture
CN105761069A (en) POS terminal communication method and system thereof
US20180063242A1 (en) Method and apparatus for operating infrastructure layer in cloud computing architecture
US11947446B2 (en) Systems and methods for customer journey orchestration
CN112583933B (en) Parameter operation method, device, equipment and storage medium
US20090171809A1 (en) Efficient purchase order creation
CN113037839B (en) Distributed batch framework communication system and method
US11972477B2 (en) Systems and methods for customer journey optimization
CN113672371B (en) Task engine execution method and device, equipment and medium thereof
CN115082216A (en) Interactive method, device, electronic equipment and medium between systems

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination