CN112261228A - Method for bidirectional communication in code scanning process - Google Patents

Method for bidirectional communication in code scanning process Download PDF

Info

Publication number
CN112261228A
CN112261228A CN202011119298.XA CN202011119298A CN112261228A CN 112261228 A CN112261228 A CN 112261228A CN 202011119298 A CN202011119298 A CN 202011119298A CN 112261228 A CN112261228 A CN 112261228A
Authority
CN
China
Prior art keywords
code scanning
mobile phone
scanning device
code
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011119298.XA
Other languages
Chinese (zh)
Inventor
张飞
严永峰
郑志华
路龙飞
胡文杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tianyi Electronic Commerce Co Ltd
Original Assignee
Tianyi Electronic Commerce Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tianyi Electronic Commerce Co Ltd filed Critical Tianyi Electronic Commerce Co Ltd
Priority to CN202011119298.XA priority Critical patent/CN112261228A/en
Publication of CN112261228A publication Critical patent/CN112261228A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • G06K17/0022Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisions for transferring data to distant stations, e.g. from a sensing device

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a method for bidirectional communication in a code scanning process, which comprises the following steps: s1, emitting visible light or invisible light by a code scanning device through adding an optical signal module or using an existing optical signal module to manufacture stroboflash; s2, the code scanning device transmits signals to the mobile phone by controlling the on and off of a light source of the code scanning device; the mobile phone captures light ray stroboscopic change through a light ray sensor or a front-facing camera, and then the light ray stroboscopic change is converted into digital information to be processed. The invention adds the method that the code scanning device transmits information to the mobile phone on the basis that the scanned mobile phone transmits information to the code scanning device, so that the mobile phone and the code scanning device can be in two-way communication, and more use scenes are supported.

Description

Method for bidirectional communication in code scanning process
Technical Field
The invention relates to the field of information communication, in particular to a bidirectional communication method in a code scanning process.
Background
People are increasingly using two-dimensional codes or bar codes on mobile phones to transfer information. Such as completing payment using a bar code or two-dimensional code on a cell phone; and displaying the two-dimension code to the gate to acquire the passing authority and the like.
However, in the current code scanning process, information transmission is generally unidirectional, and only can be transmitted to the scanning device through the mobile phone, but not can be transmitted to the mobile phone through the scanning device. The one-way transmission of information brings inconvenience in some scenarios, for example, when mobile payment is performed in a place with poor signal, the merchant device may not know the payment result under the weak network condition, and further disputes may be caused. If the mobile phone and the code scanning device can communicate with each other, some means such as information encryption, authentication and the like can be combined to mutually transmit payment results, so that single-off-line or double-off-line transaction is realized.
For another example, in a scene where the two-dimensional code contains more contents, the two-dimensional code contents are denser. Under the present one-way communication condition, the code scanning device is required to identify the whole complex two-dimensional code at one time, so that the identification difficulty is increased, and the identification rate of the two-dimensional code is reduced. If two-way communication is available, more contents can be put into a plurality of two-dimensional codes, so that one complex (dense pattern) two-dimensional code is converted into a plurality of simple (sparse pattern) two-dimensional codes, information of the mobile phone is fed back after the code scanning equipment identifies one code, and the mobile phone displays the next code. And the recognition of more contents is realized in a mode of breaking up the whole into parts.
In the prior art, two parties are connected through an additionally-arranged online server, but under the condition that one party is not in a network, the code scanning equipment cannot transmit information to a mobile phone.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provides a method for two-way communication in a code scanning process.
In order to solve the technical problems, the invention provides the following technical scheme:
the invention provides a method for bidirectional communication in a code scanning process, which comprises the following steps:
s1, emitting visible light or invisible light by a code scanning device through adding an optical signal module or using an existing optical signal module, and controlling the module to be turned on and off to manufacture stroboflash;
s2, capturing the stroboscopic change by the mobile phone through a light sensor or a front camera, converting the stroboscopic change into digital information and processing the digital information, and transmitting information from the code scanning equipment to the mobile phone in such a way;
s3, the scanned mobile phone displays the two-dimensional code or the bar code to the code scanning equipment, when the codes are identified by the code scanning equipment, the code scanning equipment can encode the feedback information according to a certain encoding mode, then a light source switch on the code scanning equipment is controlled to perform corresponding on-off operation, and a converted optical signal is sent out;
and S4, after the light ray change is captured by the sweeping mobile phone, the light ray change information is decoded, and then the transmitted information is restored for processing.
Compared with the prior art, the invention has the following beneficial effects:
the invention adds the method that the code scanning device transmits information to the mobile phone on the basis that the scanned mobile phone transmits information to the code scanning device, so that the mobile phone and the code scanning device can be in two-way communication, and more use scenes are supported.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention. In the drawings:
FIG. 1 is an activity diagram of one-time two-way communication of the present invention;
FIG. 2 is a schematic view of a scanner hand-held scanner according to the present invention;
fig. 3 is a schematic diagram of a mobile phone scanner of the present invention.
Detailed Description
The preferred embodiments of the present invention will be described in conjunction with the accompanying drawings, and it will be understood that they are described herein for the purpose of illustration and explanation and not limitation.
Example 1
As shown in fig. 1-3, the present invention provides a method for bidirectional communication during code scanning, comprising the following steps:
s1, emitting visible light or invisible light (invisible to naked eyes, but visible to a front camera or a light sensor of a mobile phone) by a code scanning device through adding an optical signal module or using an existing optical signal module, and controlling the module to be turned on and off to manufacture stroboflash;
s2, capturing the stroboscopic change by the mobile phone through a light sensor or a front camera, converting the stroboscopic change into digital information and processing the digital information, and transmitting information from the code scanning equipment to the mobile phone in such a way;
s3, the scanned mobile phone displays the two-dimensional code or the bar code to the code scanning equipment, when the codes are identified by the code scanning equipment, the code scanning equipment can encode the feedback information according to a certain encoding mode (such as Morse code and the like), then a light source switch on the code scanning equipment is controlled to perform corresponding on-off operation, and a converted optical signal is sent out;
and S4, after the light ray change is captured by the sweeping mobile phone, the light ray change information is decoded, and then the transmitted information is restored for processing.
Specifically, the scanned mobile phone displays the two-dimensional code or the bar code to the code scanning device, when the codes are identified by the code scanning device, the code scanning device can encode the feedback information according to a certain encoding mode (such as morse code and the like), and then controls a light source switch on the code scanning device to perform corresponding on-off operation, so as to send out a converted optical signal. After the light change is captured by the sweeping mobile phone, the light change information is decoded, and then the transmitted information is restored for processing.
Compared with the prior art, the invention has the following beneficial effects:
the invention adds the method of transmitting information to the mobile phone by the code scanning device on the basis of transmitting information to the code scanning device by the current scanned mobile phone, so that the mobile phone and the code scanning device can be in two-way communication, and more use scenes are supported.
Finally, it should be noted that: although the present invention has been described in detail with reference to the foregoing embodiments, it will be apparent to those skilled in the art that changes may be made in the embodiments and/or equivalents thereof without departing from the spirit and scope of the invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (1)

1. A method for bidirectional communication in a code scanning process is characterized by comprising the following steps:
s1, emitting visible light or invisible light by a code scanning device through adding an optical signal module or using an existing optical signal module, and controlling the module to be turned on and off to manufacture stroboflash;
s2, capturing the stroboscopic change by the mobile phone through a light sensor or a front camera, converting the stroboscopic change into digital information and processing the digital information, and transmitting information from the code scanning equipment to the mobile phone in such a way;
s3, the scanned mobile phone displays the two-dimensional code or the bar code to the code scanning equipment, when the codes are identified by the code scanning equipment, the code scanning equipment can encode the feedback information according to a certain encoding mode, then a light source switch on the code scanning equipment is controlled to perform corresponding on-off operation, and a converted optical signal is sent out;
and S4, after the light ray change is captured by the sweeping mobile phone, the light ray change information is decoded, and then the transmitted information is restored for processing.
CN202011119298.XA 2020-10-19 2020-10-19 Method for bidirectional communication in code scanning process Pending CN112261228A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011119298.XA CN112261228A (en) 2020-10-19 2020-10-19 Method for bidirectional communication in code scanning process

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011119298.XA CN112261228A (en) 2020-10-19 2020-10-19 Method for bidirectional communication in code scanning process

Publications (1)

Publication Number Publication Date
CN112261228A true CN112261228A (en) 2021-01-22

Family

ID=74244781

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011119298.XA Pending CN112261228A (en) 2020-10-19 2020-10-19 Method for bidirectional communication in code scanning process

Country Status (1)

Country Link
CN (1) CN112261228A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI846122B (en) * 2022-11-01 2024-06-21 中華電信股份有限公司 Flexible conversational code scanning system, method and computer readable medium thererof

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106228219A (en) * 2016-09-27 2016-12-14 厦门壹码通科技有限责任公司 System and method based on mobile phone self external device offline secure identification Quick Response Code
CN109889267A (en) * 2018-09-28 2019-06-14 曹一宁 Sending method, optical label and the barcode scanning equipment of encoded information based on optic communication
CN110910118A (en) * 2018-09-17 2020-03-24 中国电信股份有限公司 Offline payment method and system, payer terminal, server and payment platform
CN111738736A (en) * 2020-07-24 2020-10-02 支付宝(杭州)信息技术有限公司 Method and system for data feedback

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106228219A (en) * 2016-09-27 2016-12-14 厦门壹码通科技有限责任公司 System and method based on mobile phone self external device offline secure identification Quick Response Code
CN110910118A (en) * 2018-09-17 2020-03-24 中国电信股份有限公司 Offline payment method and system, payer terminal, server and payment platform
CN109889267A (en) * 2018-09-28 2019-06-14 曹一宁 Sending method, optical label and the barcode scanning equipment of encoded information based on optic communication
CN111738736A (en) * 2020-07-24 2020-10-02 支付宝(杭州)信息技术有限公司 Method and system for data feedback

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI846122B (en) * 2022-11-01 2024-06-21 中華電信股份有限公司 Flexible conversational code scanning system, method and computer readable medium thererof

Similar Documents

Publication Publication Date Title
EP2898613B1 (en) Data exchange using streamed barcodes
EP1705595A2 (en) The authentication system and the authentication method which use a portable communication terminal
CN103248416B (en) A kind of method and apparatus of information transmission
CN104702437B (en) A kind of device for using Quick Response Code to carry out network configuration for equipment
WO2004023366A1 (en) System for electronically settling by using mobile phone and method thereof
EP3054611B1 (en) Visible light signal sending and reception processing method, transmission end, reception end, and system
US20180181778A1 (en) 2d barcode-based bi-directional wireless transmission system
KR100726231B1 (en) Method for connecting video telephony in mobile communication terminal
CN105281843A (en) Two-dimensional code transmission and reception methods and transmission and reception devices
CN106028260A (en) Real-time transmission device, system and method based on call and information
CN207995292U (en) The TV remote controller and remote control system of recognizable NFC terminal
CN107404478A (en) EID coded queries method, system and its corresponding server
CN112261228A (en) Method for bidirectional communication in code scanning process
CN111835416B (en) Communication system and method between electronic devices and electronic devices
CN101753487A (en) Mobile electronic device for transmitting and receiving Morse code
CN206147684U (en) System based on cell -phone self external device off -line safety discernment two -dimensional code
CN106599948B (en) Mobile phone two-dimension code based interaction security verification system and method
CN103888264A (en) Inter-mobile-phone data transferring method based on background data exchange, terminal and system
CN102882950A (en) Method for transmitting information between different sets of equipment based on double-tone multi-frequency technology
CN103366429B (en) The device of the device configuration of at least one equipment of building system technology OR gate communication
CN105205704A (en) Realization method and system for remote signing, and equipment
CN109618128A (en) Wireless video multi-hop transmission system under a kind of car networking environment
TW200849998A (en) Three-party video conference system
KR102458042B1 (en) Acoustic secure transmission
CN107425911B (en) Communication terminal visible light data transmission device and transmission method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20210122

RJ01 Rejection of invention patent application after publication