WO2013166865A1 - Transmission method, processing system and transmission and receiving device for transaction information - Google Patents

Transmission method, processing system and transmission and receiving device for transaction information Download PDF

Info

Publication number
WO2013166865A1
WO2013166865A1 PCT/CN2013/070834 CN2013070834W WO2013166865A1 WO 2013166865 A1 WO2013166865 A1 WO 2013166865A1 CN 2013070834 W CN2013070834 W CN 2013070834W WO 2013166865 A1 WO2013166865 A1 WO 2013166865A1
Authority
WO
WIPO (PCT)
Prior art keywords
handheld terminal
wireless
transaction
electronic document
transaction information
Prior art date
Application number
PCT/CN2013/070834
Other languages
French (fr)
Chinese (zh)
Inventor
郑鲲
孙光民
范青武
常鹏
王卓峥
郑全英
石秀丽
孙俊灵
Original Assignee
北京工业大学
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 北京工业大学 filed Critical 北京工业大学
Publication of WO2013166865A1 publication Critical patent/WO2013166865A1/en

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07GREGISTERING THE RECEIPT OF CASH, VALUABLES, OR TOKENS
    • G07G1/00Cash registers
    • G07G1/0036Checkout procedures
    • G07G1/0045Checkout procedures with a code reader for reading of an identifying code of the article to be registered, e.g. barcode reader or radio-frequency identity [RFID] reader
    • G07G1/0081Checkout procedures with a code reader for reading of an identifying code of the article to be registered, e.g. barcode reader or radio-frequency identity [RFID] reader the reader being a portable scanner or data reader
    • 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
    • G06Q30/00Commerce
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F7/00Mechanisms actuated by objects other than coins to free or to actuate vending, hiring, coin or paper currency dispensing or refunding apparatus
    • G07F7/08Mechanisms actuated by objects other than coins to free or to actuate vending, hiring, coin or paper currency dispensing or refunding apparatus by coded identity card or credit card or other personal identification means
    • G07F7/0873Details of the card reader
    • G07F7/088Details of the card reader the card reader being part of the point of sale [POS] terminal or electronic cash register [ECR] itself
    • G07F7/0886Details of the card reader the card reader being part of the point of sale [POS] terminal or electronic cash register [ECR] itself the card reader being portable for interacting with a POS or ECR in realizing a payment transaction
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07GREGISTERING THE RECEIPT OF CASH, VALUABLES, OR TOKENS
    • G07G1/00Cash registers
    • G07G1/0036Checkout procedures
    • G07G1/0045Checkout procedures with a code reader for reading of an identifying code of the article to be registered, e.g. barcode reader or radio-frequency identity [RFID] reader
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07GREGISTERING THE RECEIPT OF CASH, VALUABLES, OR TOKENS
    • G07G1/00Cash registers
    • G07G1/12Cash registers electronically operated
    • G07G1/14Systems including one or more distant stations co-operating with a central processing unit

Definitions

  • the present invention relates to the field of electronic information technology, and in particular, to a transaction information transmission method, a processing system, and a transmitting and receiving device.
  • a shopping receipt also known as a shopping receipt, refers to sales credentials that are retained by the mall or other commercial establishment when the consumer is shopping. In addition to a small number of handwritten small tickets, most of them are now printed on cash registers.
  • the printed shopping receipt generally includes the following contents: sales unit name, contact information, cash register number, billing serial number, cashier number, sales date, product name, quantity, unit price, commodity amount, total amount, and payment method. , the amount received. Find zero amount, when the ticket is printed, etc.
  • Shopping receipts are a true record of consumer economic behavior, and can be analyzed for marketing, economic development strategies, and so on.
  • the electronic document transmission methods that have been implemented in the prior art are mainly divided into two categories.
  • the first category is that the merchant sends an electronic receipt such as an electronic receipt to the user's mailbox, and the user needs to input the email address at the time of checkout, and then the cashier puts the electronic The document is sent to the user's mailbox;
  • the second type is that the user logs in to a website provided by a third party for network inquiry.
  • the invention provides a transaction information transmission method, a processing system and a transmitting and receiving device, which solves the problem that the operation in the prior art is cumbersome.
  • a transaction information transmission method comprising the steps of:
  • the handheld terminal and the cash register system server establish a wireless connection by searching for a match
  • the cash register system server wirelessly transmits an electronic document corresponding to the handheld terminal to the handheld terminal;
  • the handheld terminal decapsulates the received electronic document.
  • the method further includes: pre-recording, in the handheld terminal, name and address information of a wireless device corresponding to one or more cash register system servers;
  • the step A includes the steps of:
  • a handheld terminal searches for a wireless device to obtain name and address information of the wireless device in the search range
  • the handheld terminal determines whether the name and address information of the searched wireless device matches the wireless device name and address information corresponding to one or more pre-recorded cash register system servers, and if yes, proceeds to step A3, otherwise, returns to the execution step A1 ;
  • the matched wireless devices are listed in order of signal strength from large to small;
  • Step A4 Determine whether the difference between the signal strength of the wireless device with the highest signal strength and the wireless device with the second signal strength exceeds a preset threshold. If yes, the wireless device with the highest signal strength is used as the connection object, and the process proceeds to step A6, otherwise, Step A5;
  • the handheld terminal pops up the user interface for wireless device manual confirmation, the user selected wireless device as the connection object, proceeds to step A6;
  • the handheld terminal sends a confirmation connection message to the wireless device that is the connection object to implement the connection.
  • the encapsulating the electronic document comprises: adding a fixed format header information to the electronic document, where the header information includes a version number, a unit name of the cash register system, a transaction time, and a wireless device name corresponding to the cash register system server. And an address, a wireless address corresponding to the handheld terminal, and an MD5 code.
  • the step A and the step B further include the following steps: after the information of one transaction commodity is scanned, the cash register system server wirelessly transmits the information of the currently scanned transaction commodity to the handheld terminal in real time.
  • the step D further includes the following steps: After monitoring the user to hold the electronic document for returning and Z or invoicing, the corresponding electronic document data saved in the cash register system database is written back and updated.
  • the present invention also provides a transaction information sending apparatus, including a server-side search and matching module, an electronic document encapsulating module, and a wireless transmitting device;
  • the server-side search and matching module is configured to cooperate with a user's handheld terminal to search and match, Establishing a wireless connection;
  • the electronic document encapsulating module is configured to: after completing the scanning of the transaction product, generate an electronic receipt of the transaction corresponding to the handheld terminal, The privilege is read-only;
  • the wireless transmitting device is configured to send the electronic document corresponding to the handheld terminal to the handheld terminal in a wireless manner in real time.
  • the wireless transmitting device is further configured to send information of the currently scanned transaction commodity to the handheld terminal in real time after each information of one transaction commodity is scanned.
  • the present invention also provides a transaction information receiving apparatus, including a handheld terminal search and match module, a wireless receiving device, and a decapsulation module; the handheld terminal search and matching module, configured to search and match the cash register system server to establish a wireless connection And storing the name and address information of the wireless device corresponding to the one or more cash register system servers; the wireless receiving device, configured to receive the electronic document sent by the cash register system server; the decapsulation module, configured to receive the
  • the invention further provides a transaction information processing system, comprising a cash register system server and a handheld terminal; the cash register system server comprises a commodity entry module, a database, a transaction information module and a transaction information sending device; and the commodity entry module , for inputting commodity information; the generating transaction information module, configured to generate a payment according to the transaction,
  • the database is configured to store transaction information;
  • the transaction information sending device is configured to cooperate with a user's handheld terminal to search and match, to establish a wireless connection, and confirm that after completing the scanning of the transaction product, the handheld is generated
  • the handheld terminal includes transaction information receiving
  • the device is configured to search and match the cash register system server to establish a wireless connection, store name and address information of the wireless device corresponding to one or more cash register system servers, and receive an electronic document sent by the cash register system server, and then receive The electronic document to be decapsulated.
  • the cash register system server further includes a database management module, configured to: after detecting that the user holds the electronic document for returning and/or invoicing, and then writes back and updates the corresponding electronic document data stored in the cash register system database.
  • a transaction information transmitting method, processing system, and transmitting and receiving device of the present invention by establishing a wireless connection between a user's handheld terminal and a merchant's cash register system, the cash register system server confirms completion of the scanning of the transaction product Afterwards, an electronic document of the transaction corresponding to the handheld terminal is generated, and the transaction electronic document is wirelessly transmitted to the user's handheld terminal, and the user does not need to perform complicated operations such as inputting a mailbox or logging into a third-party website, and reducing merchants and users. Time overhead, obviously more convenient and faster;
  • the cash register system server connects the electronic document corresponding to the handheld terminal Sending to the handheld terminal wirelessly, the transaction document is fed back to the user without relying on the paper ticket, thereby saving paper resources;
  • the cash register system server only needs to send the information corresponding to the user to the individual user, and does not need to give all the transaction information to the third party, thereby effectively protecting the transaction content of the merchant and preventing the leakage of the commercial information;
  • Figure i is a flow chart of a method for transmitting transaction information according to the present invention.
  • FIG. 2 is a flow chart of an embodiment of a method for transmitting transaction information according to the present invention
  • FIG. 3 is a schematic structural diagram of a transaction information transmitting apparatus according to the present invention
  • FIG. 4 is a schematic structural diagram of a transaction information receiving apparatus according to the present invention
  • FIG. 5 is a schematic structural diagram of a transaction information transmitting system according to the present invention. Concrete real way
  • the present invention proposes a transaction information transmission method.
  • the method mainly includes the following steps:
  • Step 101 The handheld terminal and the cash register system server establish a wireless connection by searching for a match.
  • the transaction information refers to information related to the transaction behavior of the user and the transaction, including electronic documents and real-time scanned product information, as well as other data information related to the current transaction. For example, when shopping in a supermarket, the transaction information includes product information and electronic coupons.
  • the commodity information is previously entered by the cash register system and stored in the database.
  • the electronic ticket is generated by the cash register system server after scanning all the products.
  • the user's handheld terminal is any portable handheld terminal with wireless transmitting and receiving functions, including 'mobile phones, ipads, MP3, MP4, M_P5, etc.
  • the wireless connection may be Bluetooth, wifi (wireless fidelity), 3G (3rd ⁇ generation, third generation mobile communication technology), WLAN (Wireless Local Area. Networks, zigbeei zigbee) , CDMA (Code Division Multiple Access (CDMA), GSM (global system for mobile communications), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, Time Division, Synchronous Code Division Multiple Access) ) ⁇ Multiple formats. According to the transmission distance, it can be divided into short-distance transmission mode and long-distance transmission mode.
  • the name and address information of the wireless device corresponding to one or more cash register system servers are pre-recorded in the handheld terminal.
  • the handheld terminal searches for the wireless device to obtain the name and address information of the wireless device within the search range.
  • For the short-distance transmission mode when the user prepares to settle the account, it should be ensured that the wireless device of the handheld terminal is in the open state.
  • the cash register system server should send the electronic document to the handheld terminal after the user handheld terminal is turned on. , or use offline delivery.
  • the handheld terminal determines whether the name and address information of the searched wireless device matches the wireless device name and address information corresponding to one or more pre-recorded cash register system servers, and then proceeds to the subsequent process, otherwise, continues to search for the wireless device until the search To the equipped wireless device.
  • the matched wireless devices are listed in order of signal strength from large to small.
  • the handheld terminal pops up the user
  • the interface performs manual confirmation of the wireless device, and the wireless device selected by the user is used as a connection object.
  • the handheld terminal transmits a confirmation connection message to the wireless device as the connection object to implement the connection.
  • the handheld terminal and the cash register system server perform search matching, and the purpose is to send transaction information such as electronic receipts currently settled by the cash register system to the corresponding user handheld terminal, and different wireless transmission modes, specific operations details of searching and matching are also different.
  • the technical personnel can understand the essence of the technical solution of the present invention, and specifically implement the specific steps of the search matching according to the transmission characteristics of different wireless communication modes, and details are not described herein.
  • Step 102 After the cash register system server confirms that the scan of the transaction product is completed, an electronic document of the transaction corresponding to the handheld terminal is generated, and the electronic document is encapsulated to limit the handheld terminal The permissions of the electronic document are read-only.
  • the server of the cash register system encapsulates the electronic document, which is essentially an encryption process.
  • the purpose is to make the user's permission on the electronic document read-only, and prevent malicious tampering and the like.
  • the encapsulating the electronic document includes: adding a fixed format header information to the electronic document, where the header information includes a version number, a unit name of the cash register system, Transaction time, wireless device name and address corresponding to the cash register system server, wireless location corresponding to the handheld terminal Address and MD5.
  • the encryption process of encapsulating the electronic document is not limited to the above-mentioned manner, and those skilled in the art can implement the encryption step of other solutions according to the technical idea of the present invention, which is not limited herein.
  • the technical solution of the present invention is to send data corresponding to the user to the individual user, and encrypt by encapsulation, and the user only has the reading right, thereby further protecting the business information of the merchant.
  • Step 103 The cash register system server wirelessly transmits the electronic document corresponding to the handheld terminal to the handheld terminal.
  • Step 04 The handheld terminal decapsulates the received electronic document.
  • the existing wireless communication base station may be used as a transit party, and the electronic document may be first sent to the cell server of the user's mobile terminal, and then The cell server sends the electronic document to the user's handheld terminal.
  • the transaction information such as the electronic document is first uploaded to the cell server to which the user's mobile phone belongs, and then the cell server uses the transaction information as a short message or a multimedia message. The form is sent to the user's mobile phone.
  • Transaction information can be transmitted by means of existing wireless communication networks such as mobile, telecommunications, and Unicom.
  • Fig. 2 is a flow chart showing an embodiment of a transaction information transmitting method of the present invention.
  • the technical solution of the present invention is specifically described by using Bluetooth as the wireless connection mode and using the shopping as the application scenario.
  • the present invention adopts a C/S (Client/Server, User Machine/Server) mode.
  • C/S Customer/Server, User Machine/Server
  • the product information is displayed in real time on the handheld terminal such as the user's mobile phone with Bluetooth function.
  • the Bluetooth device of the cash register system will package the electronic ticket, package it and send it to the user's handheld terminal.
  • the transaction information transmission method provided by the implementation includes the steps of:
  • Step 201 The handheld terminal starts the Bluetooth function.
  • Step 202 The handheld terminal searches for the Bluetooth device to obtain the name and address of the Bluetooth device in the search range.
  • Step 203 The handheld terminal determines the name and address information of the searched Bluetooth device and the Bluetooth device name and location corresponding to one or more pre-recorded cash register system servers. If the address information matches, if yes, go to step 204, otherwise, go back to step 202.
  • the Bluetooth device name address of each supermarket cash register is pre-recorded in the software of the user's handheld terminal. The Bluetooth device searched after the function is turned on is consistent with the pre-recorded information.
  • the search matching step mainly considers the uniqueness of the Bluetooth device connection. In order to avoid the risk of the Bluetooth device name and address information being spoofed or wrong, the judgment step of whether the Bluetooth device name matches the Bluetooth address is designed.
  • Step 204 List the matched basket devices according to the signal strength from large to small.
  • Step 205 determining whether the difference between the signal strength of the Bluetooth device with the highest signal strength and the Bluetooth device with the second signal strength exceeds a preset threshold. If yes, the Bluetooth device with the highest signal strength is used as the connection object, and the process proceeds to step 207, otherwise, Proceed to step 206.
  • the preset threshold is used to measure whether the signal strength difference between two adjacent Bluetooth devices is sufficiently large.
  • the RSSI Receiveived Signal Strength Indicator
  • Max( R si iii))-Max( RSSI (n 1)) >I 5 it is considered that it cannot be judged by itself.
  • the size of the preset threshold can be adjusted by the skilled person in the field according to the actual situation, and the invention is not limited.
  • Step 206 The handheld terminal pops up the user interface for manual confirmation of the Bluetooth device, and the Bluetooth device selected by the user is used as the connection object, and proceeds to step 207;
  • the server of the cash register system is composed of Bluetooth devices of various channels of the supermarket. In order to prevent the Bluetooth connection of the handheld terminal such as the user's mobile phone, the manual channel confirmation cannot be performed automatically.
  • Step 207 The handheld terminal sends a confirmation connection message to the Bluetooth device as the connection object to implement the connection.
  • Step 208 The cash register system server sends the commodity information corresponding to the handheld terminal scanned by the cashier to the handheld terminal in a wireless manner in real time.
  • Step 209 The handheld terminal displays the received product information.
  • the user's handheld terminal can display the details of the cashier's scanned merchandise in real time.
  • the handheld terminal is a portable terminal having a display function, and preferably, the mobile phone is optional, but other handheld terminals are not excluded.
  • the two technical solutions in the prior art can not perform real-time reconciliation for the user like viewing the traditional paper ticket.
  • the viewing of the transaction information has a lag with respect to the transaction behavior. If there is a problem in the transaction, it cannot be found on the spot. It is more troublesome for the user to find the merchant to communicate and negotiate again.
  • the cash register system server transmits the commodity information corresponding to the handheld terminal scanned by the cashier to the handheld terminal in a wireless manner, and then the handheld terminal displays the received commodity information. Shows that the user can receive the transaction information in real time, which is convenient for the user to reconcile in real time, find the problem, and question on the spot.
  • the encryption setting is implemented by encapsulating the electronic ticket.
  • the specific operation is to add a fixed format demo version header information to the electronic ticket, the header information including a version number, a unit name of the cash register system, a transaction time, a Bluetooth device name, a Bluetooth device address, and the handheld Terminal Bluetooth address and MD5 code.
  • the header information specifically includes: 1 byte version number + 20 bytes supermarket name ten 14 bytes transaction time + 6 bytes supermarket cash register channel Bluetooth name + 6 bytes supermarket cash register channel Bluetooth address + 16 Byte (empty, for writing other information) +6 bytes user mobile phone Bluetooth address ten 16 bytes MD5 code, the MD5 code is used to uniquely identify an electronic ticket, that is, an electronic ticket has a unique MD5 value.
  • the user's handheld terminal should not be designed with a UI (User Interface) that can perform the modification operation, but the user may forcibly modify the electronic ticket by other means, so the header information contains the MD5 code of the electronic ticket to prevent This happens, for example, in order to re-issue the invoice, etc., to modify the date and so on to forge a different electronic ticket.
  • the user's handheld terminal verifies the MD5 first when reading the electronic ticket, and will not pass the error. .
  • Step 21 The receiving system server wirelessly transmits the electronic document corresponding to the handheld terminal to the handheld terminal.
  • Step 212 The handheld terminal decapsulates and displays the received electronic document.
  • the handheld terminal can generate a secure personalized report for the user based on the electronic ticket.
  • the cash register system server detects that the user holds the electronic document for returning and/or invoicing, and then writes back and updates the corresponding electronic document data stored in the cash register system database.
  • the present invention also provides a transaction information transmitting apparatus, as shown in FIG. 3, including a server-side search and match module, an electronic document encapsulating module, and a wireless transmitting device.
  • the server-side search and match module is configured to match the user's handheld terminal to establish a wireless connection.
  • the wireless sending device is configured to send an electronic document corresponding to the handheld terminal to the handheld terminal in a wireless manner in real time.
  • the wireless transmitting device is further configured to send information of the currently scanned transaction commodity to the handheld terminal in a wireless manner after each information of the transaction commodity is scanned.
  • the present invention also provides a transaction information receiving apparatus, as shown in FIG. 4, including a handheld terminal search and match module, a wireless receiving device, and a decapsulation module.
  • the handheld terminal search and match module is configured to search and match the cash register system server to establish a wireless connection, and store the name and address information of the wireless device corresponding to more than one cash register system server.
  • the wireless receiving device is configured to receive an electronic document sent by the cash register system server.
  • the decapsulation module is configured to decapsulate the received electronic document.
  • the present invention also provides a transaction information processing system, see FIG. 5, including a cash register system server and a handheld terminal flick
  • the cash register system server includes a commodity entry module, a database, a generated transaction information module, and a transaction information transmitting device.
  • the commodity entry module is configured to input commodity information.
  • the generating transaction information module is configured to generate transaction information according to the transaction, where the transaction information includes the entered commodity information and/or an electronic document.
  • the database for storing transaction information
  • the transaction information sending device is configured to cooperate with the user's handheld terminal to perform a search and match to establish a wireless connection, and confirm that after completing the scanning of the transaction product, generate an electronic document of the transaction corresponding to the handheld terminal. Then, the electronic document is encapsulated, and the electronic document corresponding to the handheld terminal is wirelessly transmitted to the handheld terminal in real time.
  • the handheld terminal includes transaction information receiving means for searching and matching the cash register system server to establish a wireless connection, storing name and address information of the wireless device corresponding to one or more cash register system servers, and receiving the cash register system
  • the electronic document sent by the server, and then the electronic document received is decapsulated.
  • the transaction information receiving device is divided into a general-purpose type and a merchant-customized type of merchant customized type, which is tailored for a specific merchant in order to reduce the amount of data and improve the matching efficiency.
  • the system selects the information such as the name and address of the Bluetooth-enabled device such as the POS machine of the designated merchant to be pre-written into the merchant's customized reception.
  • the user does not need to generally find a device, input a password, etc. in the use of the Bluetooth connection, and the receiving device automatically and matches the merchant according to the Bluetooth device name address, the Bluetooth signal strength, the password and the like.
  • the platform device establishes a connection.
  • the cash register system server further includes a database management module, configured to: after detecting that the user holds the electronic document for returning and/or invoicing, and then writes back and updates the corresponding electronic document data saved in the cash register system database.
  • the transaction information processing system of the present invention substantially adds corresponding functional modules to the existing cash register system, has compatibility with the existing cash register system, does not require all the entire system to be upgraded, reduces the cost of system upgrade, and has strong abilities. Implementability.
  • the transmitting device of the transaction information processing system of the present invention adopts a Bluetooth device, preferably, a model is selected.
  • the invention provides a transaction information transmission method, a processing system and a transmitting and receiving device.
  • a transaction information transmission method Through wireless docking and user handheld terminal support, the user can receive the information of each scanned product in real time, which is convenient for reconciliation, and saves the merchant.
  • the cost of printing paper tickets is not controlled by third-party organizations, and it supports green environmental protection; at the same time, it does not reveal personal information such as users' email addresses.
  • the method includes the steps of the foregoing method embodiments; and the foregoing storage medium includes: a medium that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.

Abstract

The present invention provides a transmission method for transaction information, comprising the following steps: a hand-held terminal and a cash-register system server establishing a wireless connection through searching and matching; upon determining that scanning of goods under this transaction is completed, the cash-register system server generating an electronic bill of a transaction corresponding to the hand-held terminal, and encapsulating the electronic bill to restrict the right of the hand-held terminal on the electronic bill to be read-only; the cash-register system server sending, over the air, the electronic bill corresponding to the hand-held terminal to the hand-held terminal; and the hand-held terminal decapsulating the received electronic bill. The present invention further provides a transmission and receiving device for the transaction information and a transaction information processing system, comprising the cash-register system server and the hand-held terminal. The method, the processing system and the device of the present invention are convenient and fast, require no complicated operation, achieve higher security, and make it convenient to perform payment-check in real time.

Description

一种交易信息传送方法、 处理系统和发送、 接收装置 技术领域  Transaction information transmitting method, processing system and transmitting and receiving device
本发明涉及电子信息技术领域, 尤其是涉及一种交易信息传 送方法、 处理系统和发送、 接收装置。  The present invention relates to the field of electronic information technology, and in particular, to a transaction information transmission method, a processing system, and a transmitting and receiving device.
背景技术 Background technique
购物小票又称为购物收据, 是指在消費者购物时由商场或其 它商业机构给用户留存的销售凭据。 现在除了少数手写的小票之 外, 大多为收银机打印。 打印的购物小票上一般包含有如下内容: 销售单位名称、 联系方式、 收银机号、 账单流水号、 收银员编号、 销售日期、 商品名称、 数量、 单价、 商品金额、 合计金额、 行款 方式、 实收金额。 找零额、 票据打印时闾等。 购物小票是消费者 经济行为的一种真实记录, 可以通过对它的分析为市场营销、 经 济发展策略等服务。  A shopping receipt, also known as a shopping receipt, refers to sales credentials that are retained by the mall or other commercial establishment when the consumer is shopping. In addition to a small number of handwritten small tickets, most of them are now printed on cash registers. The printed shopping receipt generally includes the following contents: sales unit name, contact information, cash register number, billing serial number, cashier number, sales date, product name, quantity, unit price, commodity amount, total amount, and payment method. , the amount received. Find zero amount, when the ticket is printed, etc. Shopping receipts are a true record of consumer economic behavior, and can be analyzed for marketing, economic development strategies, and so on.
目前国内的购物小票大多为通过收银系统的打印机打印出的 纸质小票, 一次性使用, 每天不计其数的交易行为, 需要大量的 纸质小票, 无疑使用了大量的纸资源, 造成了资源的浪费。  At present, most of the domestic shopping receipts are paper tickets printed by the printer of the cash register system. One-time use, countless transactions every day, and a large number of paper tickets are required. Undoubtedly, a large amount of paper resources are used, resulting in A waste of resources.
除购物小票以外, 其他与交易行为相关的购物单据, 如售后 服务凭证等, 也是以纸质的实体形式发给用户, 同样造成了纸资 源的浪费。  In addition to the shopping receipts, other shopping documents related to the transaction behavior, such as after-sales service vouchers, are also sent to the user in the form of paper entities, which also causes waste of paper resources.
目前, 为解决纸质小票或售后服务凭证等单据消耗大量纸资 源的问题, 美国一些超市已经开始提供电子单据, 商家将交易有 关的单据通过电子邮件送达或上传到有密码保护的站点, 而后用 卢享有相关的访问权限, 可根据电子单据进行开具发票或退换货 等售后行为。  At present, in order to solve the problem that papers such as paper receipts or after-sales service vouchers consume a large amount of paper resources, some supermarkets in the United States have begun to provide electronic receipts, and the merchants will deliver or upload the documents related to the transaction to the password-protected site by email. Later, Lu enjoys relevant access rights, and can issue invoices or return and other after-sales behavior according to electronic documents.
上述现有技术中已经实现的电子单据传送方式主要分为两 类, 第一类是商家把电子小票等电子单据发到用户邮箱里, 用户 在结账时需要输入邮箱地址, 然后收银员把电子单据发到用户邮 箱; 第二类是用户登录由第三方提供的网站进行网络查询。  The electronic document transmission methods that have been implemented in the prior art are mainly divided into two categories. The first category is that the merchant sends an electronic receipt such as an electronic receipt to the user's mailbox, and the user needs to input the email address at the time of checkout, and then the cashier puts the electronic The document is sent to the user's mailbox; the second type is that the user logs in to a website provided by a third party for network inquiry.
对于第一类电子单据传送方案, 用户在每次购物结账时都需 要输入自己的邮箱地址, 较为繁瑣, 且同时增加了商家和用户的 时间开销; 对于第二类电子单据传送方案, 用户登录第三方网站 进行查询, 亦需要进行输入用户名和密码等操作才能实现查询, 也较为繁瑣。 因此现有技术的两种方案在实际操作过程中, 均存 在操作繁瑣的问题, 虽然节省了纸张, 但是较为麻烦。  For the first type of electronic document delivery scheme, the user needs to input his or her email address every time the shopping checkout is performed, which is cumbersome and increases the time cost of the merchant and the user; for the second type of electronic document transmission scheme, the user logs in For the three-party website to query, it is also necessary to input the user name and password to implement the query, which is also cumbersome. Therefore, in the prior art, both of the solutions have complicated problems in operation, and although paper is saved, it is troublesome.
发明内容 Summary of the invention
本发明提出了一种交易信息传送方法、 处理系统和发送、 接 收装置, 解决了现有技术中操作较为繁瑣的问题。  The invention provides a transaction information transmission method, a processing system and a transmitting and receiving device, which solves the problem that the operation in the prior art is cumbersome.
为了达到上述目的, 本发明的技术方案是这样实现的: 一种交易信息传送方法, 其特征在于, 包括步骤: In order to achieve the above object, the technical solution of the present invention is achieved as follows: A transaction information transmission method, comprising the steps of:
A、 手持终端和收银系统服务器通过搜索匹配以建立无线连 接;  A. The handheld terminal and the cash register system server establish a wireless connection by searching for a match;
B , 所述收银系统服务器确认完成本次交易商品的扫描后, 产 生与所述手持终端对应的本次交易的电子单据, 并对所述电子单 据进行封装, 以限制所述手持终端对所述电子单据的权限为只读; B. After the cash register system server confirms that the scan of the transaction product is completed, an electronic document of the transaction corresponding to the handheld terminal is generated, and the electronic document is encapsulated to limit the handheld terminal to the The permissions of the electronic document are read-only;
C ,所述收银系统服务器将与所述手持终端对应的电子单据通 过无线方式发送至所述手持终端; C. The cash register system server wirelessly transmits an electronic document corresponding to the handheld terminal to the handheld terminal;
D、 所述手持终端将接收到的电子单据解封装。  D. The handheld terminal decapsulates the received electronic document.
其中, 该方法进一步包括: 在所述手持终端中预先记录一个 以上收银系统服务器对应的无线设备的名称和地址信息;  The method further includes: pre-recording, in the handheld terminal, name and address information of a wireless device corresponding to one or more cash register system servers;
所述步骤 A包括步骤:  The step A includes the steps of:
A 所述手持终端搜索无线设备, 获取搜索范围内的无线设 备的名称和地址信息;  A handheld terminal searches for a wireless device to obtain name and address information of the wireless device in the search range;
A2 , 所述手持终端判断搜索到的无线设备的名称和地址信息 与预先记录的一个以上收银系统服务器对应的无线设备名称和地 址信息是否匹配, 是, 则进入步骤 A3, 否, 则返回执行步骤 A1 ;  A2, the handheld terminal determines whether the name and address information of the searched wireless device matches the wireless device name and address information corresponding to one or more pre-recorded cash register system servers, and if yes, proceeds to step A3, otherwise, returns to the execution step A1 ;
A3、 将匹配出的无线设备按照信号强度由大到小依次列出; A3. The matched wireless devices are listed in order of signal strength from large to small;
A4、 判断信号强度最大的无线设备与信号强度第二的无线设 备的信号强度差值是否超出预设阈值, 是, 则将信号强度最大的 无线设备作为连接对象, 进入步骤 A6, 否, 则进入步骤 A5; A4. Determine whether the difference between the signal strength of the wireless device with the highest signal strength and the wireless device with the second signal strength exceeds a preset threshold. If yes, the wireless device with the highest signal strength is used as the connection object, and the process proceeds to step A6, otherwise, Step A5;
A5、 所述手持终端弹出用户界面进行无线设备手工确认, 将 用户选择的无线设备作为连接对象, 进入步骤 A6;  A5, the handheld terminal pops up the user interface for wireless device manual confirmation, the user selected wireless device as the connection object, proceeds to step A6;
A6、 所述手持终端向作为连接对象的无线设备发送确认连接 消息, 以实现连接。  A6. The handheld terminal sends a confirmation connection message to the wireless device that is the connection object to implement the connection.
其中, 所述对电子单据进行封装包括: 对所述电子单据添加 固定格式的头部信息, 所述头部信息包括版本号、 收银系统所属 单位名称、 交易时间、 收银系统服务器对应的无线设备名称和地 址、 所述手持终端对应的无线地址和 MD5码。  The encapsulating the electronic document comprises: adding a fixed format header information to the electronic document, where the header information includes a version number, a unit name of the cash register system, a transaction time, and a wireless device name corresponding to the cash register system server. And an address, a wireless address corresponding to the handheld terminal, and an MD5 code.
其中, 所述步骤 A与步骤 B之间还包括步骤: 所述收银系统 服务器在每扫描一个交易商品的信息后, 均通过无线方式将当前 扫描的交易商品的信息实时发送至所述手持终端。  The step A and the step B further include the following steps: after the information of one transaction commodity is scanned, the cash register system server wirelessly transmits the information of the currently scanned transaction commodity to the handheld terminal in real time.
其中, 所述步骤 D之后还包括步骤: 监测到用户持电子单据 进行退换货和 Z或开具发票行为后, 对收银系统数据库中保存的对 应电子单据数据进行回写与更新。  The step D further includes the following steps: After monitoring the user to hold the electronic document for returning and Z or invoicing, the corresponding electronic document data saved in the cash register system database is written back and updated.
本发明还提供一种交易信息发送装置, 包括服务器端搜索与 匹配模块、 电子单据封装模块和无线发送设备; 所述服务器端搜 索与匹配模块, 用于配合用户的手持终端进行搜索和匹配, 以建 立无线连接; 所述电子单据封装模块, 用于确认完成本次交易商 品的扫描后, 产生与所述手持终端对应的本次交易的电子单据, 据的权限为只读; 所述无线发送设备, 用于将与所述手持终端对 应的电子单据通过无线方式实时发送至所述手持终端。 The present invention also provides a transaction information sending apparatus, including a server-side search and matching module, an electronic document encapsulating module, and a wireless transmitting device; the server-side search and matching module is configured to cooperate with a user's handheld terminal to search and match, Establishing a wireless connection; the electronic document encapsulating module is configured to: after completing the scanning of the transaction product, generate an electronic receipt of the transaction corresponding to the handheld terminal, The privilege is read-only; the wireless transmitting device is configured to send the electronic document corresponding to the handheld terminal to the handheld terminal in a wireless manner in real time.
其中, 所述无线发送设备, 还用于在每扫描一个交易商品的 信息后, 均通过无线方式将当前扫描的交易商品的信息实时发送 至所述手持终端。  The wireless transmitting device is further configured to send information of the currently scanned transaction commodity to the handheld terminal in real time after each information of one transaction commodity is scanned.
本发明还提供一种交易信息接收装置, 包括手持终端搜索与 匹配模块、 无线接收设备和解封装模块; 所述手持终端搜索与匹 配模块, 用于对收银系统服务器进行搜索和匹配, 以建立无线连 接, 并存储一个以上收银系统服务器对应的无线设备的名称和地 址信息; 所述无线接收设备, 用于接收由所述收银系统服务器发 送的电子单据; 所述解封装模块, 用于将接收到的电子单据解封 本发明还提供一种交易信息处理系统, 包括收银系统服务器 和手持终端; 所述收银系统服务器包括商品录入模块、 数据库、 生成交易信息模块和交易信息发送装置; 所述商品录入模块, 用 于录入商品信息; 所述生成交易信息模块, 用于根据交易生成交 3 息,  The present invention also provides a transaction information receiving apparatus, including a handheld terminal search and match module, a wireless receiving device, and a decapsulation module; the handheld terminal search and matching module, configured to search and match the cash register system server to establish a wireless connection And storing the name and address information of the wireless device corresponding to the one or more cash register system servers; the wireless receiving device, configured to receive the electronic document sent by the cash register system server; the decapsulation module, configured to receive the The invention further provides a transaction information processing system, comprising a cash register system server and a handheld terminal; the cash register system server comprises a commodity entry module, a database, a transaction information module and a transaction information sending device; and the commodity entry module , for inputting commodity information; the generating transaction information module, configured to generate a payment according to the transaction,
所述数据库, 用于存储交易信息; 所述交易信息发送装置, 用于配合用户的手持终端进行搜索和匹配, 以建立无线连接, 并 确认完成本次交易商品的扫描后, 产生与所述手持终端对应的本 次交易的电子单据, 然后对所述电子单据进行封装, 再将与所述 手持终端对应的电子单据通过无线方式实时发送至所述手持终 端; 所述手持终端, 包括交易信息接收装置, 用于对收银系统服 务器进行搜索和匹配, 以建立无线连接, 存储一个以上收银系统 服务器对应的无线设备的名称和地址信息, 并接收由所述收银系 统服务器发送的电子单据, 然后将接收到的电子单据解封装。  The database is configured to store transaction information; the transaction information sending device is configured to cooperate with a user's handheld terminal to search and match, to establish a wireless connection, and confirm that after completing the scanning of the transaction product, the handheld is generated The electronic receipt of the transaction corresponding to the terminal, and then encapsulating the electronic document, and then transmitting the electronic document corresponding to the handheld terminal to the handheld terminal in a wireless manner in real time; the handheld terminal includes transaction information receiving The device is configured to search and match the cash register system server to establish a wireless connection, store name and address information of the wireless device corresponding to one or more cash register system servers, and receive an electronic document sent by the cash register system server, and then receive The electronic document to be decapsulated.
其中, 所述收银系统服务器还包括数据库管理模块, 用于监 测到用户持电子单据进行退换货和 /或开具发票行为后, 对收银系 统数据库中保存的对应电子单据数据进行回写与更新。  The cash register system server further includes a database management module, configured to: after detecting that the user holds the electronic document for returning and/or invoicing, and then writes back and updates the corresponding electronic document data stored in the cash register system database.
可见, 本发明至少具有如下的有益效果:  It can be seen that the present invention has at least the following beneficial effects:
本发明的一种交易信息传送方法、 处理系统和发送、 接收 装置, 通过在用户的手持终端和商家的收银系统之间建立无线连 接, 由所述收银系统服务器在确认完成本次交易商品的扫描后, 产生与所述手持终端对应的本次交易的电子单据, 将交易电子单 据无线方式发送至用户的手持终端, 用户无需进行输入邮箱或登 录第三方网站等繁瑣操作, 同时减少了商家和用户的时间开销, 显然更为方便、 快捷;  A transaction information transmitting method, processing system, and transmitting and receiving device of the present invention, by establishing a wireless connection between a user's handheld terminal and a merchant's cash register system, the cash register system server confirms completion of the scanning of the transaction product Afterwards, an electronic document of the transaction corresponding to the handheld terminal is generated, and the transaction electronic document is wirelessly transmitted to the user's handheld terminal, and the user does not need to perform complicated operations such as inputting a mailbox or logging into a third-party website, and reducing merchants and users. Time overhead, obviously more convenient and faster;
2、 对所述电子单据进行封装, 以限制所述手持终端对所述电 子单据的权限为只读, 使得用户的手持终端对电子单据没有修改 权限, 防止了用户恶意篡改单据, 重复开具发票等行为;  2. Encapsulating the electronic document to limit the permission of the handheld terminal to the electronic document to be read-only, so that the user's handheld terminal does not modify the electronic document, thereby preventing the user from maliciously tampering with the document, repeating the invoicing, etc. Behavior
3、 所述收银系统服务器将与所述手持终端对应的电子单据通 过无线方式发送至所述手持终端, 不依赖于纸制票据将交易单据 反馈给用户, 节约了纸资源; 3. The cash register system server connects the electronic document corresponding to the handheld terminal Sending to the handheld terminal wirelessly, the transaction document is fed back to the user without relying on the paper ticket, thereby saving paper resources;
4 收银系统服务器只需将与用户对应的信息发送至个人用 户, 无需将全部交易信息交给第三方, 从而有效保护了商家的交 易内容, 防止了商业信息的泄漏;  4 The cash register system server only needs to send the information corresponding to the user to the individual user, and does not need to give all the transaction information to the third party, thereby effectively protecting the transaction content of the merchant and preventing the leakage of the commercial information;
5、 用户无需留下个人邮箱信息, 防止了个人信息的泄漏。 附图说明  5. Users do not need to leave personal mailbox information to prevent the leakage of personal information. DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对实施 或现有技术描述中所需要使用的附图作一简单地 介绍, 显而易见地, 下面描述中的附图是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动的前提下, 还可以根据这些酎图获得其他的酎图。  In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, a brief description of the drawings used in the implementation or the description of the prior art will be briefly made. Obviously, the drawings in the following description are Some embodiments of the present invention can also obtain other maps based on these maps without any creative labor for those skilled in the art.
图 i 为本发明的一种交易信息传送方法的流程图;  Figure i is a flow chart of a method for transmitting transaction information according to the present invention;
图 2 为本发明的一种交易信息传送方法的一个实施例的流程 图;  2 is a flow chart of an embodiment of a method for transmitting transaction information according to the present invention;
图 3为本发明的一种交易信息发送装置的结构示意图; 图 4为本发明的一种交易信息接收装置的结构示意图; 图 5为本发明的一种交易信息传送系统的结构示意图。 具体实族方式  3 is a schematic structural diagram of a transaction information transmitting apparatus according to the present invention; FIG. 4 is a schematic structural diagram of a transaction information receiving apparatus according to the present invention; and FIG. 5 is a schematic structural diagram of a transaction information transmitting system according to the present invention. Concrete real way
为使本发明实施例的目的、 技术方案和优点更加清楚, 下面 将结合本发明实施例中的附图, 对本发明实施例中的技术方案进 行清楚、 完整地描述, 显然, 所描述的实施例是本发明一部分实 施例, 而不是全部的实施例。 基于本发明中的实施例, 本领域普 通技术人员在没有做出创造性劳动前提下所获得的所有其他实施 例, 都属于本发明保护的范围。  The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is a partial embodiment of the invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本发明提出了一种交易信息传送方法, 参见图 1 , 该方法主要 包括以下步骤:  The present invention proposes a transaction information transmission method. Referring to FIG. 1, the method mainly includes the following steps:
步骤 101 :手持终端和收银系统服务器通过搜索匹配以建立无 线连接。  Step 101: The handheld terminal and the cash register system server establish a wireless connection by searching for a match.
所述交易信息指用户与商家发生的交易行为所有关的信息, 包括电子单据和实时扫描的商品信息, 以及其他与当前交易有关 的数据信息。 如在超市购物时, 交易信息包括商品信息和电子小 票, 商品信息由收银系统事先录入, 存储在数据库当中, 电子小 票由收银系统服务器在扫描完本次全部商品后产生。  The transaction information refers to information related to the transaction behavior of the user and the transaction, including electronic documents and real-time scanned product information, as well as other data information related to the current transaction. For example, when shopping in a supermarket, the transaction information includes product information and electronic coupons. The commodity information is previously entered by the cash register system and stored in the database. The electronic ticket is generated by the cash register system server after scanning all the products.
用户手持终端为一切具有无线发送和接收功能的便携式手持 终端, 包括'移动电话、 ipad . MP3、 MP4、 M_P5等。  The user's handheld terminal is any portable handheld terminal with wireless transmitting and receiving functions, including 'mobile phones, ipads, MP3, MP4, M_P5, etc.
所述无线连接, 可以为蓝牙、 wifi ( wireless fidelity, 无线保 真)、 3G ( 3rd~generation,第三代移动通信技术)、 WLAN ( Wireless Local Area. Networks,无线局域网络 )、 zigbeei紫蜂 )、 CDMA(Code Division Multiple Access,码分多址)、 GSM ( global system for mobile communications , 全 ί求移动 ¾ '信系乡充 ) 、 TD-SCDMA ( Time Division-Synchronous Code Division Multiple Access, 时分,同步码 分多址) ·多种格式。 按照传输距离, 可分为近距离传输方式和 远距离传输方式。 The wireless connection may be Bluetooth, wifi (wireless fidelity), 3G (3rd~generation, third generation mobile communication technology), WLAN (Wireless Local Area. Networks, zigbeei zigbee) , CDMA (Code Division Multiple Access (CDMA), GSM (global system for mobile communications), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, Time Division, Synchronous Code Division Multiple Access) ) · Multiple formats. According to the transmission distance, it can be divided into short-distance transmission mode and long-distance transmission mode.
建立无线连接具体过程为:  The specific process of establishing a wireless connection is:
在所述手持终端中预先记录一个以上收银系统服务器对应的 无线设备的名称和地址信息。  The name and address information of the wireless device corresponding to one or more cash register system servers are pre-recorded in the handheld terminal.
然后所述手持终端搜索无线设备, 获取搜索范围内的无线设 备的名称和地址信息。 对于近距离传输方式, 当用户准备结账时, 应确保手持终端的无线设备处于开启状态, 对于远距离传输方式, 则收银系统服务器应在用户手持终端开启后, 将电子单据发送至 所述手持终端, 或采用离线发送方式。  The handheld terminal then searches for the wireless device to obtain the name and address information of the wireless device within the search range. For the short-distance transmission mode, when the user prepares to settle the account, it should be ensured that the wireless device of the handheld terminal is in the open state. For the long-distance transmission mode, the cash register system server should send the electronic document to the handheld terminal after the user handheld terminal is turned on. , or use offline delivery.
手持终端判断搜索到的无线设备的名称和地址信息与预先记 录的一个以上收银系统服务器对应的无线设备名称和地址信息是 否匹配, 是, 则进入后续流程, 否, 则继续搜索无线设备, 直到 搜索到 配的无线设备。  The handheld terminal determines whether the name and address information of the searched wireless device matches the wireless device name and address information corresponding to one or more pre-recorded cash register system servers, and then proceeds to the subsequent process, otherwise, continues to search for the wireless device until the search To the equipped wireless device.
将匹配出的无线设备按照信号强度由大到小依次列出。  The matched wireless devices are listed in order of signal strength from large to small.
判断信号强度最大的无线设备与信号强度第二的无线设备的 信号强度差值是否超出预设阔值, 是, 则将信号强度最大的无线 设备作为连接对象; 否, 则所述手持终端弹出用户界面进行无线 设备手工确认, 将用户选择的无线设备作为连接对象。  Determining whether the difference between the signal strength of the wireless device with the highest signal strength and the wireless device with the second signal strength exceeds a preset threshold; if yes, the wireless device with the highest signal strength is used as the connection target; otherwise, the handheld terminal pops up the user The interface performs manual confirmation of the wireless device, and the wireless device selected by the user is used as a connection object.
所述手持终端向作为连接对象的无线设备发送确认连接消 息, 以实现连接。  The handheld terminal transmits a confirmation connection message to the wireless device as the connection object to implement the connection.
手持终端和收银系统服务器进行搜索匹配, 目的是使收银系 统当前结算的电子小票等交易信息发送至对应的用户手持终端, 不同的无线传输方式, 搜索和匹配的具体操作细节也不同, 本领 域技术人员可领会本发明的技术方案实质, 根据不同的无线通信 方式的传输特点, 具体实施搜索匹配的具体步骤, 在此不一一赘 述。  The handheld terminal and the cash register system server perform search matching, and the purpose is to send transaction information such as electronic receipts currently settled by the cash register system to the corresponding user handheld terminal, and different wireless transmission modes, specific operations details of searching and matching are also different. The technical personnel can understand the essence of the technical solution of the present invention, and specifically implement the specific steps of the search matching according to the transmission characteristics of different wireless communication modes, and details are not described herein.
步骤 102 :所述收银系统服务器确认完成本次交易商品的扫描 后, 产生与所述手持终端对应的本次交易的电子单据, 并对所述 电子单据进行封装, 以限制所述手持终端对所述电子单据的权限 为只读。  Step 102: After the cash register system server confirms that the scan of the transaction product is completed, an electronic document of the transaction corresponding to the handheld terminal is generated, and the electronic document is encapsulated to limit the handheld terminal The permissions of the electronic document are read-only.
收银系统服务器端对电子单据进行封装, 实质上为加密过程, 目的是使用户对电子单据的权限为只读, 防止恶意篡改等行为的 发生。  The server of the cash register system encapsulates the electronic document, which is essentially an encryption process. The purpose is to make the user's permission on the electronic document read-only, and prevent malicious tampering and the like.
作为一种可实施方式, 在本实施例中, 所述对电子单据进行 封装包括: 对所述电子单据添加固定格式的头部信息, 所述头部 信息包括版本号、 收银系统所属单位名称、 交易时间、 收银系统 服务器对应的无线设备名称和地址、 所述手持终端对应的无线地 址和 MD5 .码。 As an implementation manner, in the embodiment, the encapsulating the electronic document includes: adding a fixed format header information to the electronic document, where the header information includes a version number, a unit name of the cash register system, Transaction time, wireless device name and address corresponding to the cash register system server, wireless location corresponding to the handheld terminal Address and MD5.
对电子单据进行封装的加密过程, 并不仅限于上述方式, 本 领域技术人员可根据本发明的技术思想实施其他方案的加密步 骤, 在此不做限定。  The encryption process of encapsulating the electronic document is not limited to the above-mentioned manner, and those skilled in the art can implement the encryption step of other solutions according to the technical idea of the present invention, which is not limited herein.
现有技术的第二类方案, 商家需要将全部交易信息交给第三 方, 这无疑是对商家的商业信息的泄漏, 是很多商家不能接受的。 而本发明的技术方案是将与用户对应的数据发送至个人用户, 且 通过封装方式进行加密, 用户仅有阅读权限, 更进一步保护了商 家的商业信息。  In the second type of solution of the prior art, the merchant needs to hand over all the transaction information to the third party, which is undoubtedly a leakage of the business information of the merchant, which is unacceptable to many businesses. The technical solution of the present invention is to send data corresponding to the user to the individual user, and encrypt by encapsulation, and the user only has the reading right, thereby further protecting the business information of the merchant.
步骤 103 :收银系统服务器将与所述手持终端对应的电子单据 通过无线方式发送至所述手持终端。  Step 103: The cash register system server wirelessly transmits the electronic document corresponding to the handheld terminal to the handheld terminal.
步骤 04: 手持终端将接收到的电子单据解封装。  Step 04: The handheld terminal decapsulates the received electronic document.
需要说明的是, 当所述无线连接方式为远距离传输方式, 可 以借助于已有的无线通信基站来作为中转方, 可以将电子单据首 先发送至用户的移动终端所述的小区服务器, 然后再由小区服务 器将电子单据发送至用户的手持终端, 如果用户的手持终端为手 机, 则将电子单据等交易信息先上传到用户手机所属的小区服务 器, 再由小区服务器将交易信息以短信或彩信等形式, 发送至用 户的手机上。 即可借助于移动、 电信、 联通等现有无线通信网路, 来实现交易信息的传送。  It should be noted that, when the wireless connection mode is a long-distance transmission mode, the existing wireless communication base station may be used as a transit party, and the electronic document may be first sent to the cell server of the user's mobile terminal, and then The cell server sends the electronic document to the user's handheld terminal. If the user's handheld terminal is a mobile phone, the transaction information such as the electronic document is first uploaded to the cell server to which the user's mobile phone belongs, and then the cell server uses the transaction information as a short message or a multimedia message. The form is sent to the user's mobile phone. Transaction information can be transmitted by means of existing wireless communication networks such as mobile, telecommunications, and Unicom.
在现有技术中, 需要用户在每次购物时输入个人邮箱, 操作 繁瑣, 用户和商家都不愿意接受相应的时间成本, 且用户不愿意 留更多的个人信息; 而本发明的技术方案, 无需人工进行繁瑣搡 作, 主要由收银系统服务器和手持终端来完成, 节省了时间, 更 为方便快捷。 参见图 2,图 2为本发明的一种交易信息传送方法的一个实施 例的流程图。  In the prior art, the user is required to input a personal mailbox every time of shopping, the operation is cumbersome, the user and the merchant are unwilling to accept the corresponding time cost, and the user is unwilling to leave more personal information; and the technical solution of the present invention, No need for manual cumbersome work, mainly by the cash register system server and handheld terminal, saving time, more convenient and faster. Referring to Fig. 2, Fig. 2 is a flow chart showing an embodiment of a transaction information transmitting method of the present invention.
在本实施例中, 以蓝牙为无线连接方式、 以超巿购物为应用 场景对本发明的技术方案做具体阐述。  In the embodiment, the technical solution of the present invention is specifically described by using Bluetooth as the wireless connection mode and using the shopping as the application scenario.
本发明采用 C/S ( Client/Server, 用户机 /服务器)模式, 在本 实施例中, 通过蓝牙传输, 在收银员扫描商品的同时, 商品信息 实时在有蓝牙功能的用户手机等手持终端显示, 扫描结束后, 收 银系统的蓝牙设备会将电子小票进行封装, 封装后发送至用户的 手持终端。  The present invention adopts a C/S (Client/Server, User Machine/Server) mode. In this embodiment, through the Bluetooth transmission, while the cashier scans the product, the product information is displayed in real time on the handheld terminal such as the user's mobile phone with Bluetooth function. After the scanning is completed, the Bluetooth device of the cash register system will package the electronic ticket, package it and send it to the user's handheld terminal.
本实施 提供的交易信息传送方法包括步骤:  The transaction information transmission method provided by the implementation includes the steps of:
步骤 201 : 手持终端启动蓝牙功能。  Step 201: The handheld terminal starts the Bluetooth function.
步骤 202 : 手持终端搜索蓝牙设备, 获取搜索范围内的蓝牙设 备的名称和地址言息。  Step 202: The handheld terminal searches for the Bluetooth device to obtain the name and address of the Bluetooth device in the search range.
步骤 203 :手持终端判断搜索到的蓝牙设备的名称和地址信息 与预先记录的一个以上收银系统服务器对应的蓝牙设备名称和地 址信息是否匹配, 是, 则进入步骤 204, 否, 则返回执行步骤 202。 各超市收银台蓝牙设备名称地址预先记录在用户的手持终端 的软件中, 功能开启后搜索到的蓝牙设备与预先记录的信息一致 即实现 &配。 Step 203: The handheld terminal determines the name and address information of the searched Bluetooth device and the Bluetooth device name and location corresponding to one or more pre-recorded cash register system servers. If the address information matches, if yes, go to step 204, otherwise, go back to step 202. The Bluetooth device name address of each supermarket cash register is pre-recorded in the software of the user's handheld terminal. The Bluetooth device searched after the function is turned on is consistent with the pre-recorded information.
搜索匹配步骤主要是考虑到蓝牙设备连接的唯一性, 为了规 避蓝牙设备名称和地址信息被假冒或出错的风险, 而设计了蓝牙 设备名称与蓝牙地址是否匹配的判断环节。  The search matching step mainly considers the uniqueness of the Bluetooth device connection. In order to avoid the risk of the Bluetooth device name and address information being spoofed or wrong, the judgment step of whether the Bluetooth device name matches the Bluetooth address is designed.
步骤 204:将匹配出的篮牙设备按照信号强度由大到小依次列 出。  Step 204: List the matched basket devices according to the signal strength from large to small.
步骤 205 :判断信号强度最大的蓝牙设备与信号强度第二的蓝 牙设备的信号强度差值是否超出预设阈值, 是, 则将信号强度最 大的蓝牙设备作为连接对象, 进入步骤 207, 否, 则进入步骤 206。  Step 205: determining whether the difference between the signal strength of the Bluetooth device with the highest signal strength and the Bluetooth device with the second signal strength exceeds a preset threshold. If yes, the Bluetooth device with the highest signal strength is used as the connection object, and the process proceeds to step 207, otherwise, Proceed to step 206.
超巿的收银台大多距离较为接近, 很可能出现手持终端对附 近的两台收银台内的蓝牙设备所感应的信号强度大小相差无几的 情况, 在实际测量时出现过两个都显著大的蓝牙信号, 此时, 手 持终端无法自行判断哪一台设备为应建立连接的设备, 则需要借 助人工千预, 弹出用户界面, 由用户手动选择正确的收银通道。  Most of the cashiers in the supermarkets are close to each other. It is very likely that the signal intensity of the handheld devices in the nearby two cashiers is almost the same. In the actual measurement, there are two Bluetooths that are significantly larger. Signal, at this time, the handheld terminal cannot judge which device is the device that should establish the connection, then the manual interface is required to pop up the user interface, and the user manually selects the correct cash register channel.
所述预设阈值, 用于衡量两个相邻的蓝牙设备的信号强度差 值是否足够大, 在本实施例中, 用 RSSI ( Received Signal Strength Indicator,接收信号强度指示)来表征蓝牙信号强度, 当 Max( R si iii))-Max( RSSI (n 1)) >I 5时, 則认为无法自行判断。 本领域技.术 人员可根据实际情况自行调整预设阈值的大小, 本发明不做限定。  The preset threshold is used to measure whether the signal strength difference between two adjacent Bluetooth devices is sufficiently large. In this embodiment, the RSSI (Received Signal Strength Indicator) is used to represent the Bluetooth signal strength. When Max( R si iii))-Max( RSSI (n 1)) >I 5, it is considered that it cannot be judged by itself. The size of the preset threshold can be adjusted by the skilled person in the field according to the actual situation, and the invention is not limited.
步骤 206: 手持终端弹出用户界面进行蓝牙设备手工确认, 将 用户选择的蓝牙设备作为连接对象, 进入步骤 207;  Step 206: The handheld terminal pops up the user interface for manual confirmation of the Bluetooth device, and the Bluetooth device selected by the user is used as the connection object, and proceeds to step 207;
收银系统的服务器由超市的各个通道的蓝牙设备构成统一平 台, 为了防止用户的手机等手持终端蓝牙连接 "串台" , 无法自 动确 ik时进行手工通道确认。  The server of the cash register system is composed of Bluetooth devices of various channels of the supermarket. In order to prevent the Bluetooth connection of the handheld terminal such as the user's mobile phone, the manual channel confirmation cannot be performed automatically.
步骤 207:所述手持终端向作为连接对象的蓝牙设备发送确认 连接消息, 以实现连接。  Step 207: The handheld terminal sends a confirmation connection message to the Bluetooth device as the connection object to implement the connection.
步骤 208:收银系统服务器将收银员扫描到的与手持终端对应 的商品信息通过无线方式实时发送至手持终端。  Step 208: The cash register system server sends the commodity information corresponding to the handheld terminal scanned by the cashier to the handheld terminal in a wireless manner in real time.
步骤 209: 所述手持终端将接收到的商品信息显示。  Step 209: The handheld terminal displays the received product information.
这样, 用户手持终端能够实时显示收银员扫描商品的详细信 息。 在本实施例中, 手持终端为具有显示功能的便携终端, 优选 地, 可选用手机, 但不排除采用其他手持终端。  In this way, the user's handheld terminal can display the details of the cashier's scanned merchandise in real time. In this embodiment, the handheld terminal is a portable terminal having a display function, and preferably, the mobile phone is optional, but other handheld terminals are not excluded.
现有技术中的两种技术方案对用户来说都不能像查看传统纸 质小票那祥进行实时对帐, 对交易信息的查看相对交易行为有滞 后性, 若交易中出现问题, 不能当场发现, 需要用户再次找到商 家进行沟通协商, 较为麻烦。 而本发明的技术方案, 收银系统服 务器将收银员扫描到的与手持终端对应的商品信息通过无线方式 实时发送至手持终端, 而后所述手持终端将接收到的商品信息显 示, 使得用户能实时接收到交易信息, 便于用户实时对账, 发现 问题, 当场质疑。
Figure imgf000010_0001
The two technical solutions in the prior art can not perform real-time reconciliation for the user like viewing the traditional paper ticket. The viewing of the transaction information has a lag with respect to the transaction behavior. If there is a problem in the transaction, it cannot be found on the spot. It is more troublesome for the user to find the merchant to communicate and negotiate again. In the technical solution of the present invention, the cash register system server transmits the commodity information corresponding to the handheld terminal scanned by the cashier to the handheld terminal in a wireless manner, and then the handheld terminal displays the received commodity information. Shows that the user can receive the transaction information in real time, which is convenient for the user to reconcile in real time, find the problem, and question on the spot.
Figure imgf000010_0001
读。 read.
超市电子 票为对保密 但是为防止 有关人员利用相同电子
Figure imgf000010_0002
应 ^吏用户对接收到的电子
Supermarket e-tickets are confidential but prevent related personnel from using the same electronics
Figure imgf000010_0002
Should be the user's access to the received electronics
在本实施例中, 通过对电子 ' 票进行封装来实现加密设置。 具体操作为对所述电子小票添加 - 个固定格式的 demo 版头部信 息, 所述头部信息包括版本号、 收银系统所属单位名称、 交易时 间、蓝牙设备名称、蓝牙设备地址、所述手持终端蓝牙地址和 MD5 码。  In the present embodiment, the encryption setting is implemented by encapsulating the electronic ticket. The specific operation is to add a fixed format demo version header information to the electronic ticket, the header information including a version number, a unit name of the cash register system, a transaction time, a Bluetooth device name, a Bluetooth device address, and the handheld Terminal Bluetooth address and MD5 code.
作为一种可实施方式, 头部信息具体包括: 1 字节版本号 +20 字节超市名称十 14字节交易时间 + 6字节超市收银通道蓝牙名称 +6 字节超市收银通道蓝牙地址 +16字节(空, 以备写入其他信息) +6 字节用户手机蓝牙地址十 16字节 MD5码, 所述 MD5码用以唯一 标识一个电子小票, 即一张电子小票具有独一无二的 MD5值。  As an implementable method, the header information specifically includes: 1 byte version number + 20 bytes supermarket name ten 14 bytes transaction time + 6 bytes supermarket cash register channel Bluetooth name + 6 bytes supermarket cash register channel Bluetooth address + 16 Byte (empty, for writing other information) +6 bytes user mobile phone Bluetooth address ten 16 bytes MD5 code, the MD5 code is used to uniquely identify an electronic ticket, that is, an electronic ticket has a unique MD5 value.
用户的手持终端应不设计有能完成修改操作的 UI ( User Interface , 用户界面) , 但是用户有可能通过其他方式强行修改电 子小票, 因此头部信息中包含有电子小票的 MD5码以防止此情况 发生, 比如为了重复开具发票等情况而修改日期等以伪造为不同 的电子小票, 此时用户的手持终端对电子小票读取时先对 MD5进 行验证, 就会不通过而 艮错。  The user's handheld terminal should not be designed with a UI (User Interface) that can perform the modification operation, but the user may forcibly modify the electronic ticket by other means, so the header information contains the MD5 code of the electronic ticket to prevent This happens, for example, in order to re-issue the invoice, etc., to modify the date and so on to forge a different electronic ticket. At this time, the user's handheld terminal verifies the MD5 first when reading the electronic ticket, and will not pass the error. .
步骤 21 1 :所述收 4艮系统服务器将与所述手持终端对应的电子 单据通过无线方式发送至所述手持终端。  Step 21: The receiving system server wirelessly transmits the electronic document corresponding to the handheld terminal to the handheld terminal.
步骤 212: 手持终端将接收到的电子单据解封装并显示。  Step 212: The handheld terminal decapsulates and displays the received electronic document.
优选地, 手持终端可以根据电子小票给用户生成安全的个性 化报表。  Preferably, the handheld terminal can generate a secure personalized report for the user based on the electronic ticket.
俛选地, 所述收银系统服务器监测到用户持电子单据进行退 换货和 /或开具发票行为后, 对收银系统数据库中保存的对应电子 单据数据进行回写与更新。  Optionally, the cash register system server detects that the user holds the electronic document for returning and/or invoicing, and then writes back and updates the corresponding electronic document data stored in the cash register system database.
本发明还提供了一种交易信息发送装置, 参见图 3 , 包括服务 器端搜索与匹配模块、 电子单据封装模块和无线发送设备。  The present invention also provides a transaction information transmitting apparatus, as shown in FIG. 3, including a server-side search and match module, an electronic document encapsulating module, and a wireless transmitting device.
所述服务器端搜索与匹配模块, 用于配合用户的手持终端进 匹配, 以建立无线连接。  The server-side search and match module is configured to match the user's handheld terminal to establish a wireless connection.
确认完成本次交易商品的扫描后, 生与所述手持终端对应的本次交易的电子单据, 并对所述电子 单据进行封装, 以限制所述手持终端对所述电子单据的权限为 所述无线发送设备, 用于将与所述手持终端对应的电子单据 通过无线方式实时发送至所述手持终端。 After confirming the completion of the scanning of the transaction product, the electronic document of the transaction corresponding to the handheld terminal is generated, and the electronic document is encapsulated to limit the authority of the handheld terminal to the electronic document. The wireless sending device is configured to send an electronic document corresponding to the handheld terminal to the handheld terminal in a wireless manner in real time.
优选地, 所述无线发送设备, 还用于在每扫描一个交易商品 的信息后, 均通过无线方式将当前扫描的交易商品的信息实时发 送至所述手持终端。 本发明还提供了一种交易信息接收装置, 参见图 4 , 包括手持 终端搜索与匹配模块、 无线接收设备和解封装模块。  Preferably, the wireless transmitting device is further configured to send information of the currently scanned transaction commodity to the handheld terminal in a wireless manner after each information of the transaction commodity is scanned. The present invention also provides a transaction information receiving apparatus, as shown in FIG. 4, including a handheld terminal search and match module, a wireless receiving device, and a decapsulation module.
手持终端搜索与匹配模块, 用于对收银系统服务器进行搜索 和匹配, 以建立无线连接, 并存储一个以上收银系统服务器对应 的无线设备的名称和地址信息。  The handheld terminal search and match module is configured to search and match the cash register system server to establish a wireless connection, and store the name and address information of the wireless device corresponding to more than one cash register system server.
所述无线接收设备, 用于接收由所述收银系统服务器发送的 电子单据。  The wireless receiving device is configured to receive an electronic document sent by the cash register system server.
所述解封装模块, 用于将接收到的电子单据解封装。 本发明还提供了一种交易信息处理系统, 参见图 5, 包括收银 系统服务器和手持终端„  The decapsulation module is configured to decapsulate the received electronic document. The present invention also provides a transaction information processing system, see FIG. 5, including a cash register system server and a handheld terminal „
所述收银系统服务器包括商品录入模块、 数据库、 生成交易 信息模块和交易信息发送装置。  The cash register system server includes a commodity entry module, a database, a generated transaction information module, and a transaction information transmitting device.
所述商品录入模块, 用于录入商品信息。  The commodity entry module is configured to input commodity information.
所述生成交易信息模块, 用于根据交易生成交易信息, 所述 交易信息包括录入的商品信息和 /或电子单据。  The generating transaction information module is configured to generate transaction information according to the transaction, where the transaction information includes the entered commodity information and/or an electronic document.
所述数据库, 用于存储交易信息  The database for storing transaction information
所述交易信息发送装置, 用于配合用户的手持终端进行搜索 和匹配, 以建立无线连接, 并确认完成本次交易商品的扫描后, 产生与所述手持终端对应的本次交易的电子单据, 然后对所述电 子单据进行封装, 再将与所述手持终端对应的电子单据通过无线 方式实时发送至所述手持终端。  The transaction information sending device is configured to cooperate with the user's handheld terminal to perform a search and match to establish a wireless connection, and confirm that after completing the scanning of the transaction product, generate an electronic document of the transaction corresponding to the handheld terminal. Then, the electronic document is encapsulated, and the electronic document corresponding to the handheld terminal is wirelessly transmitted to the handheld terminal in real time.
所述手持终端, 包括交易信息接收装置, 用于对收银系统服 务器进行搜索和匹配, 以建立无线连接, 存储一个以上收银系统 服务器对应的无线设备的名称和地址信息, 并接收由所述收银系 统服务器发送的电子单据, 然后将接收到的电子单据解封装。  The handheld terminal includes transaction information receiving means for searching and matching the cash register system server to establish a wireless connection, storing name and address information of the wireless device corresponding to one or more cash register system servers, and receiving the cash register system The electronic document sent by the server, and then the electronic document received is decapsulated.
在具体实施时, 所述交易信息接收装置分为通用型和商家定 制型 商家定制型是为了减少数据量, 提高匹配效率而为指定商 家量身定制。 在蓝牙模式下, 为了提高系统的易用性, 保证完成 快速蓝牙用户识别与实时传输, 本系统选择把指定商家的 POS机 等具有蓝牙功能的设备名称与地址等信息预写入商家定制型接收 装置的软件部分, 用户在使用时不需要一般建立蓝牙连接那样需 要特别查找设备、 输入密码等操作, 所述接收装置根据蓝牙设备 名称地址、 蓝牙信号强弱、 密码等信息自动与匹配的商家收款台 设备建立连接。 优选地, 所述收银系统服务器还包括数据库管理模块, 用于 监测到用户持电子单据进行退换货和 /或开具发票行为后, 对收银 系统数据库中保存的对应电子单据数据进行回写与更新。 In a specific implementation, the transaction information receiving device is divided into a general-purpose type and a merchant-customized type of merchant customized type, which is tailored for a specific merchant in order to reduce the amount of data and improve the matching efficiency. In the Bluetooth mode, in order to improve the ease of use of the system and ensure the completion of fast Bluetooth user identification and real-time transmission, the system selects the information such as the name and address of the Bluetooth-enabled device such as the POS machine of the designated merchant to be pre-written into the merchant's customized reception. In the software part of the device, the user does not need to generally find a device, input a password, etc. in the use of the Bluetooth connection, and the receiving device automatically and matches the merchant according to the Bluetooth device name address, the Bluetooth signal strength, the password and the like. The platform device establishes a connection. Preferably, the cash register system server further includes a database management module, configured to: after detecting that the user holds the electronic document for returning and/or invoicing, and then writes back and updates the corresponding electronic document data saved in the cash register system database.
本发明的交易信息处理系统实质上在现有的收银系统上添加 相应的功能模块, 与现有的收银系统具有兼容性, 无需整个系统 全部升级, 降低了系统升级的成本, 具有较强的可实施性。  The transaction information processing system of the present invention substantially adds corresponding functional modules to the existing cash register system, has compatibility with the existing cash register system, does not require all the entire system to be upgraded, reduces the cost of system upgrade, and has strong abilities. Implementability.
应用了本发明提供的交易信息处理系统的收银系统, 在收银 时, 打印纸质小票和发送电子小票成为可选项, 可根据用户意图 和具体情况选择发送电子小票还是打印纸质小票。 在应用蓝牙情 景下, 除打印纸制小票的一种可选模式则是 "通过蓝牙传输到用 户手机 " 。  Applying the cash register system of the transaction information processing system provided by the present invention, when collecting cash, printing paper receipts and sending electronic receipts become optional, and it is possible to select whether to send electronic receipts or print paper receipts according to the user's intention and specific circumstances. . In the case of Bluetooth application, an optional mode for printing paper tickets is "Transfer to Bluetooth via Bluetooth".
此外, 当所述无线连接方式为蓝牙连接时, 则本发明的交易 信息处理系统的发送装置采用蓝牙设备, 优选地, 选用型号 In addition, when the wireless connection mode is a Bluetooth connection, the transmitting device of the transaction information processing system of the present invention adopts a Bluetooth device, preferably, a model is selected.
802.15.4 TG4 , 数据速率控制在 20 Kbps , 以降低功耗和成本, 不 采用蓝牙功率放大设备, 降低了对相关人员产生的辐射。 802.15.4 TG4, data rate control at 20 Kbps to reduce power consumption and cost, without the use of Bluetooth power amplifiers, reducing the radiation generated by the relevant personnel.
本发明提供的一种交易信息传送方法、 处理系统和发送、 接 收装置, 通过无线对接和用户手持终端的支持, 用户可以实时接 收到每次扫描商品的信息, 便于对账, 同时对于商家节省了打印 纸质小票产生的成本, 销售信息也没有被第三方机构所掌握, 支 持了绿色环保; 同时不会泄露用户的电子邮箱等个人信息。  The invention provides a transaction information transmission method, a processing system and a transmitting and receiving device. Through wireless docking and user handheld terminal support, the user can receive the information of each scanned product in real time, which is convenient for reconciliation, and saves the merchant. The cost of printing paper tickets is not controlled by third-party organizations, and it supports green environmental protection; at the same time, it does not reveal personal information such as users' email addresses.
本领域普通技术人员可以理解: 实现上述方法实施例的全部 或部分步骤可以通过程序指令相关的硬件来完成, 前述的程序可 以存储于一计算机可读取存储介质中, 该程序在执行时, 执行包 括上述方法实施例的步骤; 而前述的存储介质包括: ROM, RAM, 磁碟或者光盘等各种可以存储程序代码的介质。  A person skilled in the art can understand that all or part of the steps of implementing the above method embodiments may be completed by using hardware related to program instructions, and the foregoing program may be stored in a computer readable storage medium, and the program is executed when executed. The method includes the steps of the foregoing method embodiments; and the foregoing storage medium includes: a medium that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.
最后应说明的是: 以上实施 仅用以说明本发明的技术方案, 而非对其限制; 尽管参照前述实施例对本发明进行了详细的说明, 本领域的普通技术人员应当理解: 其依然可以对前述各实施例所 记载的技术方案进行修改, 或者对其中部分技术特征进行等同替 换; 而这些修改或者替换, 并不使相应技术方案的本质脱离本发 明各实施例技术方案的精神和范围。  Finally, it should be noted that the above embodiments are only for explaining the technical solutions of the present invention, and are not intended to be limiting thereof; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art will understand that The technical solutions described in the foregoing embodiments are modified, or some of the technical features are equivalently substituted; and the modifications and substitutions do not deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

权 利 要 求 书 一种交易信息传送方法, 其特征在于, 包括步骤:Claim: A method of transmitting transaction information, which is characterized by including the steps:
A、 手持终端和收银系统服务器通过搜索匹配以建立无线连 接; A. The handheld terminal and the cashier system server establish a wireless connection through search and matching;
B . 所述收银系统服务器确认完成本次交易商品的扫描后, 产 据进行封装, 以限制所述手持终端对所述电子单据的权限为只读; B. After the cashier system server confirms that the scanning of the goods for this transaction has been completed, the product receipt is encapsulated to limit the handheld terminal's permission to the electronic document to read-only;
C ,所述收银系统服务器将与所述手持终端对应的电子单据通 过无线方式发送至所述手持终端; C. The cashier system server sends the electronic document corresponding to the handheld terminal to the handheld terminal through wireless means;
D、 所述手持终端将接收到的电子单据解封装。 D. The handheld terminal decapsulates the received electronic document.
2、 根据权利要求〗所述的交易信息传送方法, 其特征在于, 该方法进一步包括: 在所述手持终端中预先记录一个以上收银系 统服务器对应的无线设备的名称和地址信息; 2. The transaction information transmission method according to claim 〗, characterized in that the method further includes: pre-recording in the handheld terminal the name and address information of more than one wireless device corresponding to the cashier system server;
所述步骤 A包括步骤: Described step A includes the steps:
Ai、 所述手持终端搜索无线设备, 获取搜索范围内的无线设 备的名称和地址信息; Ai. The handheld terminal searches for wireless devices and obtains the name and address information of wireless devices within the search range;
A2、 所述手持终端判断搜索到的无线设备的名称和地址信息 与预先记录的一个以上收银系统服务器对应的无线设备名称和地 址信息是否匹配, 是, 则进入步骤 A3 , 否, 则返回执行步骤 A1 ; A2. The handheld terminal determines whether the name and address information of the searched wireless device matches the pre-recorded name and address information of the wireless device corresponding to more than one cashier system server. If yes, proceed to step A3. If not, return to the execution step. A1;
A3、 将匹配出的无线设备按照信号强度由大到小依次列出; A3. List the matched wireless devices in ascending order of signal strength;
A4 , 判断信号强度最大的无线设备与信号强度第二的无线设 备的信号强度差值是否超出预设阈值, 是, 则将信号强度最大的 无线设备作为连接对象, 进入步骤 A6 , 否, 则进入步骤 A5; A4, determine whether the signal strength difference between the wireless device with the highest signal strength and the wireless device with the second signal strength exceeds the preset threshold. If yes, then use the wireless device with the highest signal strength as the connection object and enter step A6. If not, enter Step A5;
A5 , 所述手持终端弹出用户界面进行无线设备手工确认, 将 用户选择的无线设备作为连接对象, 进入步骤 A6; A5, the handheld terminal pops up the user interface for manual confirmation of the wireless device, uses the wireless device selected by the user as the connection object, and enters step A6;
A6、 所述手持终端向作为连接对象的无线设,备发送确认连接 消息, 以实现连接。 A6. The handheld terminal sends a connection confirmation message to the wireless device as the connection object to realize the connection.
3、 根据权利要求 1所述的交易信息传送方法, 其特征在于, 所述对电子单据进行封装包括: 对所述电子单据添加固定格式的头部信息, 所述头部信息包 括版本号、 收银系统所属单位名称、 交易时间、 收银系统服务器 对应的无线设备名称和地址、 所述手持终端对应的无线地址和 3. The transaction information transmission method according to claim 1, characterized in that said encapsulating the electronic document includes: Add fixed-format header information to the electronic document. The header information includes the version number, the name of the unit to which the cashier system belongs, the transaction time, the name and address of the wireless device corresponding to the cashier system server, and the wireless address corresponding to the handheld terminal. and
MD5码。 MD5 code.
4、 根据权利要求〗所述的交易信息传送方法, 其特征在于, 所述步骤 A与步骤 B之间还包括步骤: 4. The transaction information transmission method according to claim 〗, characterized in that the step A and step B further include the following steps:
所述收银系统服务器在每扫描一个交易商品的信息后, 均通 过无线方式将当前扫描的交易商品的信息实时发送至所述手持终 端。 Each time the cashier system server scans the information of a transaction commodity, it wirelessly sends the information of the currently scanned transaction commodity to the handheld terminal in real time.
5、根据权利要求 1至 4中任意一项所述的交易信息传送方法, 其特征在于, 所述步骤 D之后还包括步骤: 5. The transaction information transmission method according to any one of claims 1 to 4, characterized in that the step D further includes the following steps:
监测到用户持电子单据进行退换货和 /或开具发票行为后, 对 收银系统数据库中保存的对应电子单据数据进行回写与更新。 After monitoring the behavior of users holding electronic documents for returns, exchanges and/or issuing invoices, the corresponding electronic document data saved in the cashier system database will be written back and updated.
6、 一种交易信息发送装置, 其特征在于, 包括股务器端搜索 与匹配模块、 电子单据封装模块和无线发送设备; 6. A transaction information sending device, characterized in that it includes a stock server-side search and matching module, an electronic document encapsulation module and a wireless sending device;
所述服务器端搜索与匹配模块, 用于配合用户的手持终端进 行搜索和匹配, 以建立无线连接; The server-side search and matching module is used to search and match with the user's handheld terminal to establish a wireless connection;
所述电子单据封装模块, 用于确认完成本次交易商品的扫描 The electronic document packaging module is used to confirm the completion of scanning of the goods for this transaction.
为只读; is read-only;
所述无线发送设备, 用于将与所述手持终端对应的电子单据 通过无线方式实时发送至所述手持终端。 The wireless sending device is used to send the electronic document corresponding to the handheld terminal to the handheld terminal in real time through wireless means.
7、 根据权利要求 6所述的交易信息发送设备, 其特征在于, 所述无线发送设备, 还用于在每扫描一个交易商品的信息后, 均 通过无线方式将当前扫描的交易商品的信息实时发送至所述手持 终端。 7. The transaction information sending device according to claim 6, characterized in that the wireless sending device is also configured to wirelessly transmit the information of the currently scanned transaction commodity in real time after each transaction information is scanned. sent to the handheld terminal.
8、 一种交易信息接收装置, 其特征在于, 包括手持终端搜索 与匹配模块、 无线接收设备和解封装模块; 8. A transaction information receiving device, characterized by including a handheld terminal search and matching module, a wireless receiving device and a decapsulation module;
所述手持终端搜索与匹配模块, 用于对收银系统服务器进行 搜索和匹配, 以建立无线连接, 并存储一个以上收银系统服务器 对应的无线设备的名称和地址信息; The handheld terminal search and matching module is used to perform searches on the cashier system server. Search and match to establish a wireless connection and store the name and address information of wireless devices corresponding to more than one cashier system server;
所述无线接收设备, 用于接收由所述收银系统服务器发送的 所述解封装模块, 用于将接收到的电子单据解封装。 The wireless receiving device is used to receive the decapsulation module sent by the cashier system server, and is used to decapsulate the received electronic document.
9、 一种交易信息处理系统, 其特征在于, 包括收银系统服务 器和手持终端; 9. A transaction information processing system, characterized by including a cashier system server and a handheld terminal;
所述收银系统服务器包括商品录入模块、 数据库、 生成交易 信息模块和交易信息发送装置; The cash register system server includes a product entry module, a database, a transaction information generation module and a transaction information sending device;
所述商品录入模块, 用于录入商品信息; The product entry module is used to enter product information;
所述生成交易信息模块, 用于根据交易生成交易信息; 所述数据库, 用于存储交易信息; The transaction information generation module is used to generate transaction information based on transactions; the database is used to store transaction information;
所述交易信息发送装置, 用于配合用户的手持终端进行搜索 和匹配, 以建立无线连接, 并确认完成本次交易商品的扫描后, 产生与所述手持终端对应的本次交易的电子单据, 然后对所述电 子单据进行封装, 再将与所述手持终端对应的电子单据通过无线 方式实时发送至所述手持终端; The transaction information sending device is used to search and match with the user's handheld terminal to establish a wireless connection, and after confirming the completion of scanning of the transaction commodities, generate an electronic document of the transaction corresponding to the handheld terminal, Then, the electronic document is encapsulated, and then the electronic document corresponding to the handheld terminal is sent to the handheld terminal in real time through wireless means;
所述手持终端, 包括交易信息接收装置, 用于对收银系统服 务器进行搜索和匹配, 以建立无线连接, 存储一个以上收银系统 服务器对应的无线设备的名称和地址信息, 并接收由所述收银系 统服务器发送的电子单据, 然后将接收到的电子单据解封装。 The handheld terminal includes a transaction information receiving device, which is used to search and match a cashier system server to establish a wireless connection, store the name and address information of wireless devices corresponding to more than one cashier system server, and receive information from the cashier system. The electronic document sent by the server then decapsulates the received electronic document.
10 , 根据权利要求 8所述的交易信息处理系统, 其特征在于, 所述收银系统服务器还包括数据库管理模块, 用于监测到用户持 电子单据进行退换货和 /或开具发票行为后, 对收银系统数据库中 保存的对应电子单据数据进行回写与更新。 10. The transaction information processing system according to claim 8, characterized in that the cashier system server also includes a database management module for monitoring the return and exchange of goods and/or issuance of invoices by the user with electronic documents, and then monitors the cashier's behavior. The corresponding electronic document data saved in the system database is written back and updated.
PCT/CN2013/070834 2012-05-08 2013-01-22 Transmission method, processing system and transmission and receiving device for transaction information WO2013166865A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210141310.6 2012-05-08
CN201210141310.6A CN102693503B (en) 2012-05-08 2012-05-08 A kind of Transaction Information transfer approach, disposal system and transmission, receiving trap

Publications (1)

Publication Number Publication Date
WO2013166865A1 true WO2013166865A1 (en) 2013-11-14

Family

ID=46858911

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/070834 WO2013166865A1 (en) 2012-05-08 2013-01-22 Transmission method, processing system and transmission and receiving device for transaction information

Country Status (2)

Country Link
CN (1) CN102693503B (en)
WO (1) WO2013166865A1 (en)

Families Citing this family (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102693503B (en) * 2012-05-08 2016-04-27 北京工业大学 A kind of Transaction Information transfer approach, disposal system and transmission, receiving trap
CN103150879A (en) * 2013-01-21 2013-06-12 万达信息股份有限公司 Method and system for automatch of data of wireless transmission electronic scale and equipment
CN107103456A (en) * 2013-08-02 2017-08-29 东芝泰格有限公司 Information processor and electronic billing system
CN104517210B (en) * 2013-09-30 2019-02-26 中国电信股份有限公司 A kind of method of payment, payment system and payment terminal
CN103491655A (en) * 2013-09-30 2014-01-01 深圳前海君浩银通科技发展有限公司 Multi-mode communication system and method between terminal devices
CN103646475B (en) * 2013-11-14 2016-04-20 成都博约创信科技有限责任公司 Integrate the POS of image recognition and tag recognition
CN103957037B (en) * 2014-04-09 2016-01-13 北京工业大学 Based on the method for bluetooth PC end with the automated communications of Android phone end
CN105022951A (en) * 2014-04-17 2015-11-04 中兴通讯股份有限公司 Information processing method and electronic equipment
CN103927655A (en) * 2014-05-04 2014-07-16 谢宇杰 Smart device payment method and system based on Bluetooth
CN105096127A (en) * 2014-05-06 2015-11-25 李策 Shopping receipt electronization and storage method
CN104935574B (en) * 2015-04-28 2018-07-17 北京创鑫旅程网络技术有限公司 A kind of application process and system of electronic ticket
JP2017069903A (en) * 2015-10-02 2017-04-06 キヤノン株式会社 Log-in processing execution method, program, and portable terminal
CN105427103A (en) * 2015-11-23 2016-03-23 上海银生宝电子支付服务有限公司 Method, apparatus and system for obtaining electronic sales slip
CN105913548A (en) * 2016-03-31 2016-08-31 王军 Transaction receipt electronization method and transaction receipt printing system
CN105915543A (en) * 2016-06-07 2016-08-31 徐任飞 Electronic receipt device and encryption method
CN106097028A (en) * 2016-06-24 2016-11-09 华南师范大学 A kind of virtual receipt generates method, generates system and acquisition methods thereof
CN106355795A (en) * 2016-08-25 2017-01-25 芯海科技(深圳)股份有限公司 Electronic price-computing instrument trading receipt generating method
CN107194234B (en) * 2017-06-20 2023-10-20 深圳市文鼎创数据科技有限公司 Method and system for accessing card key into computer
WO2019113777A1 (en) * 2017-12-12 2019-06-20 福建联迪商用设备有限公司 Commodity information display method, mobile terminal, and commodity information display system
CN109309722B (en) * 2018-10-18 2021-10-22 京东方科技集团股份有限公司 Automatic explanation implementation method, terminal, server, system and electronic equipment
CN109523259A (en) * 2018-11-13 2019-03-26 吴浩 A kind of E-consumer voucher management system, method and terminal
CN110992019A (en) * 2019-11-18 2020-04-10 远光软件股份有限公司 Automatic settlement system and method for electricity purchase fee

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1271449A (en) * 1997-09-25 2000-10-25 诺基亚网络有限公司 Electronic payment system
CN1784699A (en) * 2003-05-06 2006-06-07 国际商业机器公司 Point-of-sale electronic receipt generation
CN102378303A (en) * 2010-08-26 2012-03-14 中国移动通信有限公司 Method and device for selecting WIFI (Wireless Fidelity) access point to access to network
CN102402826A (en) * 2010-09-19 2012-04-04 胡华敏 System and method for transmitting shopping receipt through Bluetooth
CN102693503A (en) * 2012-05-08 2012-09-26 北京工业大学 Transmission method and processing system for transaction information and transceiver apparatus

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1349179A (en) * 2001-12-03 2002-05-15 上海电子商务安全证书管理中心有限公司 Electronic signature anti-fake method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1271449A (en) * 1997-09-25 2000-10-25 诺基亚网络有限公司 Electronic payment system
CN1784699A (en) * 2003-05-06 2006-06-07 国际商业机器公司 Point-of-sale electronic receipt generation
CN102378303A (en) * 2010-08-26 2012-03-14 中国移动通信有限公司 Method and device for selecting WIFI (Wireless Fidelity) access point to access to network
CN102402826A (en) * 2010-09-19 2012-04-04 胡华敏 System and method for transmitting shopping receipt through Bluetooth
CN102693503A (en) * 2012-05-08 2012-09-26 北京工业大学 Transmission method and processing system for transaction information and transceiver apparatus

Also Published As

Publication number Publication date
CN102693503A (en) 2012-09-26
CN102693503B (en) 2016-04-27

Similar Documents

Publication Publication Date Title
WO2013166865A1 (en) Transmission method, processing system and transmission and receiving device for transaction information
CN106572091B (en) Invoice information transmission generation method and system
US20120271725A1 (en) Electronic Transaction Record Distribution System
EP3381005A1 (en) System and method of providing supplemental information in a transaction
JP5309663B2 (en) Electronic receipt management system and cash register terminal
CN102737308A (en) Mobile terminal and method and system for inquiring information of intelligent card
CN102668491A (en) Method and apparatus for recovery during authentication
JP2007226810A (en) System and method for facilitating transaction over communication network
JP2010146548A (en) Retail checkout system and method
CN102982446A (en) Mobile payment system and method
US9544020B2 (en) NFC negotiated pairing
US8459545B1 (en) Image-based point-of-sale mobile settlement system
CN107615320A (en) A kind of system of selection of transaction application and terminal
US10108960B2 (en) Method of completing payment through clients, related devices and a payment system
JP2014513825A (en) Secure two-party verification transaction system
CN104123643A (en) Payment method and payment system on basis of NFC (near field communication)
CN100483392C (en) System and Method for Electronic Purchase
CN105205692A (en) Online-to-offline health service product share-out bonus processing system and method
CN104268744A (en) Mobile payment achieving method and system
EP3792860A1 (en) Resource transfer method and device, computer device and storage medium
Ali et al. Secure mobile communication in m-payment system using NFC technology
CN101576982A (en) Method, terminal and system for network payment
WO2014008061A1 (en) Electronic transaction record distribution system
TW202347207A (en) Payment method and apparatus, and device, medium and product
CN111582791A (en) Product delivery service system in electronic commerce using smart phone and method thereof

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13787971

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13787971

Country of ref document: EP

Kind code of ref document: A1