WO2024060655A1 - Bar code information processing method, electronic device, and computer readable medium - Google Patents

Bar code information processing method, electronic device, and computer readable medium Download PDF

Info

Publication number
WO2024060655A1
WO2024060655A1 PCT/CN2023/095845 CN2023095845W WO2024060655A1 WO 2024060655 A1 WO2024060655 A1 WO 2024060655A1 CN 2023095845 W CN2023095845 W CN 2023095845W WO 2024060655 A1 WO2024060655 A1 WO 2024060655A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
barcode
information
identifier
processing method
Prior art date
Application number
PCT/CN2023/095845
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 WO2024060655A1 publication Critical patent/WO2024060655A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/04Payment circuits
    • G06Q20/06Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/10Payment architectures specially adapted for electronic funds transfer [EFT] systems; specially adapted for home banking systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/32Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof

Definitions

  • Embodiments of the present disclosure relate to the field of barcode technology, and in particular to barcode virtual scanning methods, electronic devices, and computer-readable media.
  • QR code scanning has become one of the most common operations in daily life.
  • QR code scanning applications for QR code scanning became popular during the COVID-19 epidemic.
  • the current QR code scanning There are several technical problems with code scanning: it is not friendly to the elderly and visually impaired. There are too many steps to scan the QR code, and sometimes a large amount of information needs to be filled in. For the elderly, there is a certain learning cost and the operation is cumbersome. , it is even more inoperable for the visually impaired; the same barcode needs to be scanned multiple times or multiple QR codes need to be scanned in sequence, resulting in repeated operations.
  • Embodiments of the present disclosure provide a barcode information processing method, electronic equipment, and computer-readable media.
  • embodiments of the present disclosure provide a barcode information processing method, applied to a first terminal.
  • the method includes: broadcasting a barcode identifier; wherein the barcode identifier is generated based on first user information parsed from a barcode image. get.
  • embodiments of the present disclosure provide a barcode information processing method, applied to a second terminal.
  • the method includes: receiving a barcode identifier broadcast by the first terminal; wherein the barcode identifier is obtained by parsing from a barcode image.
  • the first user information is generated; the second auxiliary information of the second terminal is obtained; the barcode identifier and the second auxiliary information are uploaded to the central server for verification; the verification pass message returned by the central server is received, and the application corresponding to the barcode identifier is called , and jump to the display interface of the application feature information of the second terminal corresponding to the barcode identifier.
  • an embodiment of the present disclosure provides a barcode information processing method, which is applied to a central server, and the method includes: receiving a barcode identifier uploaded by a second terminal and second supplementary information of the second terminal; wherein the barcode identifier is generated based on first user information parsed from a barcode image; verifying the second terminal based on the barcode identifier and the second supplementary information; and returning a verification pass message to the second terminal if the verification passes.
  • embodiments of the present disclosure provide an electronic device, including: at least one processor; and a memory. At least one program is stored on the memory. When at least one program is executed by at least one processor, any of the above barcode information is realized. Approach.
  • embodiments of the present disclosure provide a computer-readable medium.
  • a computer program is stored on the computer-readable medium.
  • the computer program is executed by a processor, any one of the above barcode information processing methods is implemented.
  • Figure 1 is a flow chart of a barcode information processing method applied to a first terminal provided by an embodiment of the present disclosure
  • Figure 2 is a flow chart of a barcode information processing method applied to a second terminal provided by another embodiment of the present disclosure
  • Figure 3 is a flow chart of a barcode information processing method applied to a central server provided by another embodiment of the present disclosure
  • Figure 4 is a flow chart of the barcode registration process in the barcode information processing method provided in Example 1 of the embodiment of the present disclosure
  • Figure 5 is a flow chart of the barcode information processing process in the barcode information processing method provided in Example 2 of the embodiment of the present disclosure
  • Figure 6 is a flow chart of the application feature information push process in the barcode information processing method provided in Example 3 of the embodiment of the present disclosure.
  • Figure 7 is a block diagram of a barcode information processing system provided by another embodiment of the present disclosure.
  • Figure 1 is a flow chart of a barcode information processing method applied to a first terminal provided by an embodiment of the present disclosure.
  • one embodiment of the present disclosure provides a barcode information processing method, applied to a first terminal.
  • the method includes: step 100, broadcasting a barcode identifier; wherein the barcode identifier is obtained from a barcode image.
  • the first user information obtained by parsing is generated.
  • broadcasting the barcode identifier includes broadcasting the barcode identifier using short-range wireless communication.
  • short-range wireless communication methods such as Bluetooth, Wireless Fidelity (WIFI), Wireless Carrier Communication Technology (UWB, Ultra Wide Band), Near Field Communication (NFC), etc. any kind.
  • WIFI Wireless Fidelity
  • UWB Wireless Carrier Communication Technology
  • NFC Near Field Communication
  • the disclosed embodiment uses short-distance wireless communication to broadcast barcode identifiers, omitting the pairing process and connection process, greatly saving time; and limiting its use environment to ensure that the distance between the information emission point and the actual barcode will not be too far. situation occurs.
  • the barcode may be a one-dimensional barcode or a two-dimensional barcode.
  • a two-dimensional barcode is a two-dimensional code.
  • the first user information may include information about the issuer of the barcode, such as the name of a certain building (such as a hospital, office building, shopping mall, etc.), the name of a certain area inside the building (such as A certain department in a hospital, a certain company in an office building, a certain brand in a shopping mall, etc.), the name of a certain area (such as a certain community, an office area, etc.), etc.
  • a certain building such as a hospital, office building, shopping mall, etc.
  • the name of a certain area inside the building such as A certain department in a hospital, a certain company in an office building, a certain brand in a shopping mall, etc.
  • the name of a certain area such as a certain community, an office area, etc.
  • the first user information may also include usage information of the barcode, such as for querying key Kangma is still used for patient treatment or examination, etc.
  • the first user information may also include other related information that can determine the corresponding application. Such as application name, etc.
  • the method further includes: receiving application feature information of the second terminal sent by at least one second terminal; and outputting part or all of the received application feature information of the second terminal.
  • the application feature information includes: second user information of the second terminal.
  • the second user information may refer to some relevant information of the user of the second terminal.
  • the second user information may include at least one of the name, age, contact information, home address, etc. corresponding to the user of the second terminal. If you are going to see a doctor in a certain department of the hospital, the second user information may also include: at least one of the hospital you visited, the department you visited, symptoms, etc. If you are going to a certain company in an office building, the second user information may also include at least one of the visiting company name, office building name, floor information, etc.
  • outputting the received application feature information of part or all of the second terminal includes: displaying the received part or all of the application feature information of the second terminal.
  • part or all of the received application feature information of the second terminal may be displayed according to preset rules. For example, the distance between the second terminal and a preset location within the location range corresponding to the first user information may be determined based on the location information of the second terminal, and displayed in order from nearest to far. For another example, the distance between the second terminal and the first terminal may be determined based on the location information of the second terminal and the location information of the first terminal, and displayed in order of distance from near to far.
  • the method before broadcasting the barcode identifier, further includes: initiating an authentication request to the central server; wherein the authentication request includes the barcode image and the first attachment information of the first terminal; and receiving an authentication success message returned by the central server. message; wherein the authentication success message includes a barcode identifier.
  • the method before initiating the authentication request to the central server, the method further includes: initiating a login request to the central server; wherein the login request includes a login username and password; and receiving a login response returned by the central server.
  • the first auxiliary information includes: location information of the first terminal and third user information of the first terminal.
  • the location information of the first terminal can be obtained using Global Positioning System (GPS), satellite positioning technology such as Beidou satellite, or indoor positioning technology.
  • GPS Global Positioning System
  • satellite positioning technology such as Beidou satellite
  • indoor positioning technology indoor positioning technology
  • the location information of the first terminal may refer to the current real-time location information of the first terminal.
  • the third user information may be the identity information of the first terminal, such as user name, etc.
  • the method further includes: receiving an authentication failure message returned by the central server, and ending this process.
  • the barcode virtual scanning method provided by the embodiment of the present disclosure is that the first terminal publishes the barcode identifier, and the second terminal receives the barcode identifier to realize the virtual scanning of the barcode, without the need for the second terminal to open the camera to scan the barcode, and without the need for the user of the second terminal to perform any operation on the interface.
  • the scanning result is directly displayed on the second terminal, which simplifies the operation process and can be applied to any group of people, especially the elderly and the visually impaired, and also avoids repeated operations caused by multiple scanning. In short, it improves the user experience.
  • FIG. 2 is a flow chart of a barcode information processing method applied to a second terminal provided by another embodiment of the present disclosure.
  • another embodiment of the present disclosure provides a barcode information processing method, which is applied to a second terminal.
  • the method may include: step 200, receiving a barcode identifier broadcast by the first terminal.
  • the barcode identifier is generated based on the first user information parsed from the barcode image.
  • receiving the barcode identifier broadcasted by the first terminal includes: receiving the barcode identifier broadcasted by the first terminal using a short-range wireless communication method.
  • the short-range wireless communication method is any one of Bluetooth, WIFI, UWB, NFC, etc.
  • the disclosed embodiment uses short-distance wireless communication to broadcast barcode identifiers, omitting the pairing process and connection process, greatly saving time; and limiting its use environment to ensure that the distance between the information emission point and the actual barcode will not be too far. situation occurs.
  • the barcode may be a one-dimensional barcode or a two-dimensional barcode.
  • a two-dimensional barcode is a two-dimensional code.
  • the first user information may include information about the issuer of the barcode, such as the name of a certain building (such as a hospital, office building, shopping mall, etc.), the name of a certain area inside the building (such as A certain department in a hospital, a certain company in an office building, a certain brand in a shopping mall, etc.), the name of a certain area (such as a certain community, an office area, etc.), etc.
  • a certain building such as a hospital, office building, shopping mall, etc.
  • the name of a certain area inside the building such as A certain department in a hospital, a certain company in an office building, a certain brand in a shopping mall, etc.
  • the name of a certain area such as a certain community, an office area, etc.
  • the first user information may also include usage information of the barcode, such as whether it is used to query health codes, or used for patient treatment or examination, etc.
  • the first user information may also include other related information that can determine the corresponding application. Such as application name, etc.
  • Step 201 Obtain second attachment information of the second terminal.
  • the second auxiliary information includes: location information of the second terminal.
  • the location information of the second terminal refers to the current real-time location information of the first terminal.
  • the location information of the second terminal can be obtained using GPS, satellite positioning technology such as Beidou satellite, or indoor positioning technology.
  • Step 202 Upload the barcode identifier and the second auxiliary information to the central server for verification.
  • Step 203 Receive the verification pass message returned by the central server, call the application program corresponding to the barcode identifier, and jump to the display interface of the application feature information of the second terminal corresponding to the barcode identifier.
  • the application feature information includes: second user information of the second terminal.
  • the second user information may refer to some relevant information of the user of the second terminal.
  • the second user information may include at least one of the name, age, contact information, home address, etc. corresponding to the user of the second terminal. If you are going to see a doctor in a certain department of the hospital, the second user information may also include: at least one of the hospital you visited, the department you visited, symptoms, etc. If you are going to a certain company in an office building, the second user information may also include at least one of the visiting company name, office building name, floor information, etc.
  • the application program may be any form of application program, such as APP, applet, etc.
  • the first user information may be parsed from the barcode identifier, and the application program corresponding to the barcode identifier may be determined based on the first user information.
  • the method further includes: sending the application feature information to the first terminal.
  • the method further includes: receiving a verification failure message returned by the central server, and ending the process.
  • the first terminal issues a barcode identifier and the second terminal receives the barcode identifier to realize virtual scanning of the barcode without the need for the second terminal to turn on the camera to scan the barcode.
  • the second terminal does not require the user of the second terminal to perform any interface operations, and the scan results are directly displayed on the second terminal, which simplifies the operation process and can be applied to any group of people, especially the elderly and visually impaired, and avoids the need for multiple scans.
  • the duplication of operations caused by the code in short, improves the user experience.
  • FIG3 is a flowchart of a barcode information processing method applied to a central server provided in another embodiment of the present disclosure.
  • FIG. 3 another embodiment of the present disclosure provides a barcode information processing method, which is applied to the center Server, this method includes:
  • Step 300 Receive the barcode identifier uploaded by the second terminal and the second additional information of the second terminal.
  • the barcode identifier is generated based on the first user information parsed from the barcode image.
  • the second ancillary information includes location information of the second terminal.
  • the location information of the second terminal refers to the current real-time location information of the first terminal.
  • the barcode may be a one-dimensional barcode or a two-dimensional barcode.
  • a two-dimensional barcode is a two-dimensional code.
  • the first user information may be the information of the issuer of the barcode, such as the name of a certain building (such as a hospital, office building, shopping mall, etc.), the name of a certain area inside the building (such as A certain department in a hospital, a certain company in an office building, a certain brand in a shopping mall, etc.), the name of a certain area (such as a certain community, an office area, etc.), etc.
  • a certain building such as a hospital, office building, shopping mall, etc.
  • the name of a certain area inside the building such as A certain department in a hospital, a certain company in an office building, a certain brand in a shopping mall, etc.
  • the name of a certain area such as a certain community, an office area, etc.
  • the first user information may also include usage information of the barcode, such as whether it is used to query health codes, or used for patient treatment or examination, etc.
  • the first user information may also include other related information that can determine the corresponding application. Such as application name, etc.
  • Step 301 Verify the second terminal according to the barcode identifier and the second auxiliary information.
  • verifying the second terminal according to the barcode identifier and the second auxiliary information includes: determining whether the location information of the second terminal is within the location range corresponding to the first user information corresponding to the barcode identifier.
  • the verification when it is determined that the location information of the second terminal is within the location range corresponding to the first user information corresponding to the barcode identifier, the verification is passed; when it is determined that the location information of the second terminal is within the location range corresponding to the barcode identifier If the location range corresponding to the first user information corresponding to the identifier is outside the location range, the verification fails.
  • the first user information may be parsed from the barcode identifier according to how the barcode identifier is generated.
  • the first user information may also be obtained by searching a pre-stored first mapping relationship between the barcode identifier and the first user information.
  • the first mapping relationship may further include first auxiliary information.
  • the location range corresponding to the first user information can be obtained from a map, or a second mapping relationship between the first user information and the location range can be preset and obtained according to the second mapping relationship.
  • Step 302 If the verification passes, return a verification pass message to the second terminal.
  • a verification failure message is returned to the second terminal.
  • the method before receiving the barcode identifier uploaded by the second terminal and the second attachment information of the second terminal, the method further includes: receiving an authentication request sent by the first terminal; wherein the authentication request includes a barcode image and First auxiliary information of the first terminal; when it is confirmed based on the barcode image and the first auxiliary information that the first terminal has the authority to issue the barcode, generate a barcode identifier based on the barcode image and the first auxiliary information; return authentication success to the first terminal message; wherein the authentication success message includes a barcode identifier.
  • an authentication failure message is returned to the first terminal.
  • the first auxiliary information includes: location information of the first terminal and third user information of the first terminal.
  • the location information of the first terminal can be obtained using GPS, satellite positioning technology such as Beidou satellite, or indoor positioning technology.
  • the location information of the first terminal refers to the current real-time location information of the first terminal.
  • the third user information may be the identity information of the first terminal, such as user name, etc.
  • confirming that the first terminal has the authority to publish the barcode based on the barcode image and the first auxiliary information includes: parsing the barcode image to obtain the first user information; and confirming that the first terminal has the authority to publish the barcode based on the first user information and the first auxiliary information.
  • confirming that the first terminal does not have the authority to issue the barcode based on the barcode image and the first auxiliary information includes: parsing the barcode image to obtain the first user information; confirming that the first terminal does not have the authority to issue the barcode based on the first user information and the first auxiliary information. Permission to publish barcodes.
  • generating the barcode identifier based on the barcode image and the first auxiliary information includes: generating the barcode identifier based on the first user information and the first auxiliary information.
  • the method further includes: storing a first mapping relationship between the first user information and the barcode identifier.
  • confirming that the first terminal has the authority to issue barcodes based on the first user information and the first auxiliary information includes: determining that the preset user information that has the authority to issue barcodes includes third user information, and the first The location information of the terminal is within the location range corresponding to the first user information.
  • confirming that the first terminal does not have the authority to issue barcodes based on the first user information and the first auxiliary information includes: determining that the preset user information that has the authority to issue barcodes does not include third user information, or the third user information does not include third user information.
  • the location information of a terminal is outside the location range corresponding to the first user information.
  • confirming that the first terminal has the authority to issue barcodes based on the first user information and the first auxiliary information includes: determining that the preset user information that does not have the authority to issue barcodes does not include third user information, and the third user information does not include the third user information.
  • the location information of a terminal is within the location range corresponding to the first user information.
  • confirming that the first terminal does not have the authority to issue barcodes based on the first user information and the first auxiliary information includes: determining that the preset user information that does not have the authority to issue barcodes includes third user information, or the first The location information of the terminal is outside the location range corresponding to the first user information.
  • the barcode registration process may include the following steps.
  • Step 400 The first terminal initiates an authentication request to the central server.
  • the authentication request includes a QR code image and first auxiliary information of the first terminal.
  • the first accessory information of the first terminal includes: location information of the first terminal and third user information of the first terminal.
  • Step 401 The central server parses the barcode image to obtain the first user information, determines whether the preset user information with the authority to publish the QR code includes third user information, and determines whether the location information of the first terminal is in the location corresponding to the first user information. Within the location range, when it is determined that the preset user information with the authority to publish QR codes includes third user information, and the location information of the first terminal is within the location range corresponding to the first user information, step 402 is executed.
  • step 403 and continue with the barcode virtual scanning process of Example 2 and the application feature information push process of Example 3; after it is determined that the preset user information with permission to publish QR codes does not include third user information, or the first If the location information of the terminal is outside the location range corresponding to the first user information, step 404 is executed, and the barcode virtual scanning process in Example 2 and the application feature information push process in Example 3 are not performed.
  • Step 402 The central server generates a QR code identifier according to the first user information and the first supplementary information.
  • Step 403 The central server returns an authentication success message to the first terminal.
  • the authentication success message includes the QR code identifier.
  • Step 404 The central server returns an authentication failure message to the first terminal.
  • the barcode information processing process includes the following steps.
  • Step 500 The first terminal broadcasts the QR code identifier using short-range wireless communication.
  • Step 501 The second terminal uses short-range wireless communication to receive the QR code identifier broadcast by the first terminal.
  • Step 502 The second terminal obtains the second attachment information of the second terminal.
  • the second auxiliary information includes: location information of the second terminal.
  • Step 503 The second terminal uploads the QR code identifier and the second supplementary information to the central server for verification.
  • Step 504 The central server determines whether the location information of the second terminal is within the location range corresponding to the first user information corresponding to the QR code identifier. After determining that the location information of the second terminal is within the first location range corresponding to the QR code identifier, If it is within the location range corresponding to the user information, execute step 505 and continue to step 507; if it is determined that the location information of the second terminal is outside the location range corresponding to the first user information corresponding to the QR code identifier , continue to execute step 506, and end this process.
  • Step 505 The central server returns a verification pass message to the second terminal.
  • Step 506 The central server returns a verification failure message to the second terminal.
  • Step 507 The second terminal calls the third-party applet corresponding to the QR code identifier and jumps to the display interface of the application feature information of the second terminal corresponding to the QR code identifier.
  • the application feature information push process includes the following steps.
  • Step 600 The second terminal sends the application feature information of the second terminal to the first terminal.
  • Step 601 The first terminal displays application feature information of the second terminal.
  • another embodiment of the present disclosure provides an electronic device, including: at least one processor; and a memory. At least one program is stored on the memory. When at least one program is executed by at least one processor, any one of the above is implemented. Barcode information processing methods.
  • the processor is a device with data processing capabilities, including but not limited to a central processing unit (CPU), etc.
  • the memory is a device with data storage capabilities, including but not limited to random access memory (RAM, more specifically such as SDRAM). , DDR, etc.), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory (FLASH).
  • RAM random access memory
  • ROM read-only memory
  • EEPROM electrically erasable programmable read-only memory
  • FLASH flash memory
  • the processor and memory are connected to each other through a bus, and then to other components of the computing device.
  • another embodiment of the present disclosure provides a computer-readable medium.
  • a computer program is stored on the computer-readable medium.
  • the computer program is executed by a processor, any one of the above barcode information processing methods is implemented.
  • Figure 7 is a block diagram of a barcode information processing system provided by another embodiment of the present disclosure.
  • another embodiment of the present disclosure provides a barcode information processing system, including: a first terminal 701 configured to broadcast a barcode identifier; wherein the barcode identifier is obtained by parsing from a barcode image.
  • the first user information is generated; the second terminal 702 is configured to receive the barcode identifier broadcast by the first terminal; obtain the second auxiliary information of the second terminal; upload the barcode identifier and the second auxiliary information to the central server for verification; Receive the verification pass message returned by the central server, call the application program corresponding to the barcode identifier, and jump to the display interface of the application feature information of the second terminal corresponding to the barcode identifier; the central server 703 is configured to receive the application feature information uploaded by the second terminal.
  • the barcode identifier and the second auxiliary information of the second terminal verify the second terminal according to the barcode identifier and the second auxiliary information; if the verification passes, return a verification pass message to the second terminal.
  • the second terminal 702 is further used to send application feature information to the first terminal; the first terminal 701 is further used to receive application feature information of the second terminal sent by at least one second terminal; and output the received application feature information of some or all second terminals.
  • the first terminal 701 is also used to initiate an authentication request to the central server; wherein the authentication request includes a barcode image and the first attachment information of the first terminal; and receives an authentication success message returned by the central server; wherein, The authentication success message includes a barcode identifier; the central server 703 is also configured to receive an authentication request sent by the first terminal; wherein the authentication request includes a barcode image and first attachment information of the first terminal; after confirming the first terminal according to the first attachment information If there is authority to issue a barcode, a barcode identifier is generated based on the barcode image and the first auxiliary information; an authentication success message is returned to the first terminal; wherein the authentication success message includes the barcode identifier.
  • the first terminal issues a barcode identifier and the second terminal receives the barcode identifier to realize virtual scanning of the barcode without the need for the second terminal to turn on the camera to scan the barcode.
  • the second terminal does not require the user of the second terminal to perform any interface operations, and the scan results are directly displayed on the second terminal, which simplifies the operation process and can be applied to any group of people, especially the elderly and visually impaired, and avoids the need for multiple scans.
  • the duplication of operations caused by the code in short, improves the user experience.
  • the functional modules/units may be implemented as software, firmware, hardware and appropriate combinations thereof.
  • the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may consist of several physical components. Components execute cooperatively.
  • Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit .
  • Such software may be distributed on computer-readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media).
  • computer storage media includes volatile and nonvolatile media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. removable, removable and non-removable media.
  • Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disk (DVD) or other optical disk storage, magnetic cassettes, tapes, disk storage or other magnetic storage, or may be used Any other medium that stores the desired information and can be accessed by a computer.
  • communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media .
  • Example embodiments have been disclosed herein, and although specific terms are employed, they are used and should be interpreted in a general illustrative sense only and not for purpose of limitation. In some instances, it will be apparent to those skilled in the art that features, characteristics and/or elements described in connection with a particular embodiment may be used alone, or may be used in conjunction with other embodiments, unless expressly stated otherwise. Features and/or components used in combination. Accordingly, it will be understood by those skilled in the art that various changes in form and details may be made without departing from the scope of the present disclosure as set forth in the appended claims.

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Finance (AREA)
  • Economics (AREA)
  • Development Economics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Information Transfer Between Computers (AREA)
  • Telephone Function (AREA)

Abstract

The present disclosure provides a bar code information processing method, an electronic device, and a computer readable medium. The bar code information processing method comprises: a first terminal broadcasting a bar code identifier, wherein the bar code identifier is generated according to first user information obtained by parsing a bar code image; a second terminal receiving the bar code identifier broadcasted by the first terminal; acquiring second attachment information of the second terminal; uploading the bar code identifier and the second attachment information to a central server for verification; receiving a successful verification message returned by the central server, calling an application program corresponding to the bar code identifier, and jumping to a display interface of application feature information of the second terminal corresponding to the bar code identifier; the central server receiving the bar code identifier and the second attachment information of the second terminal which are uploaded by the second terminal; verifying the second terminal according to the bar code identifier and the second attachment information; and when the verification passes, returning a successful verification message to the second terminal.

Description

条形码信息处理方法、电子设备、计算机可读介质Barcode information processing method, electronic device, computer-readable medium
相关申请的交叉引用Cross-references to related applications
本公开要求享有2022年09月19日提交的名称为“条形码信息处理方法、电子设备、计算机可读介质”的中国专利申请CN202211141479.1的优先权,其全部内容通过引用并入本公开中。The present disclosure claims the priority of Chinese patent application CN202211141479.1, filed on September 19, 2022, entitled “Barcode Information Processing Method, Electronic Device, and Computer-Readable Medium,” the entire contents of which are incorporated by reference into the present disclosure.
技术领域Technical field
本公开实施例涉及条形码技术领域,特别涉及条形码虚拟扫描方法、电子设备、计算机可读介质。Embodiments of the present disclosure relate to the field of barcode technology, and in particular to barcode virtual scanning methods, electronic devices, and computer-readable media.
背景技术Background technique
随着微信和支付宝的移动支付的普及,条形码的扫描成为了日常生活中最常见的一种操作,如新冠疫情期间开始流行的采用二维码扫描应用进行二维码扫描等,目前的二维码扫描存在以下几个技术问题:对于老人和视障人士不友好,二维码的扫描操作步骤过多,有时候还需要填写大量的信息,对于老人来说有一定的学习成本,操作比较繁琐,对于视障人士来说更是无法操作;同一个条形码需要多次扫描或多个二维码需要依次扫描,操作重复。With the popularity of mobile payments on WeChat and Alipay, barcode scanning has become one of the most common operations in daily life. For example, the use of QR code scanning applications for QR code scanning became popular during the COVID-19 epidemic. The current QR code scanning There are several technical problems with code scanning: it is not friendly to the elderly and visually impaired. There are too many steps to scan the QR code, and sometimes a large amount of information needs to be filled in. For the elderly, there is a certain learning cost and the operation is cumbersome. , it is even more inoperable for the visually impaired; the same barcode needs to be scanned multiple times or multiple QR codes need to be scanned in sequence, resulting in repeated operations.
发明内容Contents of the invention
本公开实施例提供一种条形码信息处理方法、电子设备、计算机可读介质。Embodiments of the present disclosure provide a barcode information processing method, electronic equipment, and computer-readable media.
第一方面,本公开实施例提供一种条形码信息处理方法,应用于第一终端,该方法包括:广播条形码标识符;其中,条形码标识符为根据从条形码图像中解析得到的第一用户信息生成得到。In a first aspect, embodiments of the present disclosure provide a barcode information processing method, applied to a first terminal. The method includes: broadcasting a barcode identifier; wherein the barcode identifier is generated based on first user information parsed from a barcode image. get.
第二方面,本公开实施例提供一种条形码信息处理方法,应用于第二终端,该方法包括:接收第一终端广播的条形码标识符;其中,条形码标识符为根据从条形码图像中解析得到的第一用户信息生成得到;获取第二终端的第二附属信息;将条形码标识符和第二附属信息上传到中心服务器进行验证;接收中心服务器返回的验证通过消息,调用条形码标识符对应的应用程序,并跳转到条形码标识符对应的第二终端的应用特征信息的显示界面。 In a second aspect, embodiments of the present disclosure provide a barcode information processing method, applied to a second terminal. The method includes: receiving a barcode identifier broadcast by the first terminal; wherein the barcode identifier is obtained by parsing from a barcode image. The first user information is generated; the second auxiliary information of the second terminal is obtained; the barcode identifier and the second auxiliary information are uploaded to the central server for verification; the verification pass message returned by the central server is received, and the application corresponding to the barcode identifier is called , and jump to the display interface of the application feature information of the second terminal corresponding to the barcode identifier.
第三方面,本公开实施例提供一种条形码信息处理方法,应用于中心服务器,该方法包括:接收第二终端上传的条形码标识符和第二终端的第二附属信息;其中,条形码标识符为根据从条形码图像中解析得到的第一用户信息生成得到;根据条形码标识符和第二附属信息对第二终端进行验证;在验证通过的情况下,向第二终端返回验证通过消息。In a third aspect, an embodiment of the present disclosure provides a barcode information processing method, which is applied to a central server, and the method includes: receiving a barcode identifier uploaded by a second terminal and second supplementary information of the second terminal; wherein the barcode identifier is generated based on first user information parsed from a barcode image; verifying the second terminal based on the barcode identifier and the second supplementary information; and returning a verification pass message to the second terminal if the verification passes.
第四方面,本公开实施例提供一种电子设备,包括:至少一个处理器;存储器,存储器上存储有至少一个程序,当至少一个程序被至少一个处理器执行时,实现上述任意一种条形码信息处理方法。In a fourth aspect, embodiments of the present disclosure provide an electronic device, including: at least one processor; and a memory. At least one program is stored on the memory. When at least one program is executed by at least one processor, any of the above barcode information is realized. Approach.
第五方面,本公开实施例提供一种计算机可读介质,计算机可读介质上存储有计算机程序,计算机程序被处理器执行时实现上述任意一种条形码信息处理方法。In a fifth aspect, embodiments of the present disclosure provide a computer-readable medium. A computer program is stored on the computer-readable medium. When the computer program is executed by a processor, any one of the above barcode information processing methods is implemented.
附图说明Description of drawings
图1为本公开一个实施例提供的应用于第一终端的条形码信息处理方法的流程图;Figure 1 is a flow chart of a barcode information processing method applied to a first terminal provided by an embodiment of the present disclosure;
图2为本公开另一个实施例提供的应用于第二终端的条形码信息处理方法的流程图;Figure 2 is a flow chart of a barcode information processing method applied to a second terminal provided by another embodiment of the present disclosure;
图3为本公开另一个实施例提供的应用于中心服务器的条形码信息处理方法的流程图;Figure 3 is a flow chart of a barcode information processing method applied to a central server provided by another embodiment of the present disclosure;
图4为本公开实施例的示例1提供的条形码信息处理方法中的条形码注册过程的流程图;Figure 4 is a flow chart of the barcode registration process in the barcode information processing method provided in Example 1 of the embodiment of the present disclosure;
图5为本公开实施例的示例2提供的条形码信息处理方法中的条形码信息处理过程的流程图;Figure 5 is a flow chart of the barcode information processing process in the barcode information processing method provided in Example 2 of the embodiment of the present disclosure;
图6为本公开实施例的示例3提供的条形码信息处理方法中的应用特征信息推送过程的流程图;以及Figure 6 is a flow chart of the application feature information push process in the barcode information processing method provided in Example 3 of the embodiment of the present disclosure; and
图7为本公开另一个实施例提供的条形码信息处理系统的组成框图。Figure 7 is a block diagram of a barcode information processing system provided by another embodiment of the present disclosure.
具体实施方式Detailed ways
为使本领域的技术人员更好地理解本公开的技术方案,下面结合附图对本公开提供的条形码虚拟扫描方法和系统、电子设备、计算机可读介质进行详细描述。In order to enable those skilled in the art to better understand the technical solutions of the present disclosure, the barcode virtual scanning method and system, electronic equipment, and computer-readable media provided by the present disclosure will be described in detail below in conjunction with the accompanying drawings.
在下文中将参考附图更充分地描述示例实施例,但是所述示例实施例可以以不同形式来体现且不应当被解释为限于本文阐述的实施例。反之,提供这些实施例的目的在于使本公开透彻和完整,并将使本领域技术人员充分理解本公开的范围。Example embodiments will be described more fully below with reference to the accompanying drawings, which may, however, be embodied in different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully understand the scope of the disclosure to those skilled in the art.
在不冲突的情况下,本公开各实施例及实施例中的各特征可相互组合。 The embodiments of the present disclosure and the features in the embodiments may be combined with each other without conflict.
如本文所使用的,术语“和/或”包括至少一个相关列举条目的任何和所有组合。As used herein, the term "and/or" includes any and all combinations of at least one associated listed item.
本文所使用的术语仅用于描述特定实施例,且不意欲限制本公开。如本文所使用的,单数形式“一个”和“该”也意欲包括复数形式,除非上下文另外清楚指出。还将理解的是,当本公开中使用术语“包括”和/或“由……制成”时,指定存在所述特征、整体、步骤、操作、元件和/或组件,但不排除存在或添加至少一个其它特征、整体、步骤、操作、元件、组件和/或其群组。The terminology used herein is used to describe particular embodiments only and is not intended to limit the disclosure. As used herein, the singular forms "a," "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will also be understood that when the terms "comprising" and/or "made of" are used in this disclosure, the presence of said features, integers, steps, operations, elements and/or components is specified but does not exclude the presence or Add at least one other feature, integer, step, operation, element, component and/or group thereof.
除非另外限定,否则本文所用的所有术语(包括技术和科学术语)的含义与本领域普通技术人员通常理解的含义相同。还将理解,诸如那些在常用字典中限定的那些术语应当被解释为具有与其在相关技术以及本公开的背景下的含义一致的含义,且将不解释为具有理想化或过度形式上的含义,除非本文明确如此限定。Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art. It will also be understood that terms such as those defined in commonly used dictionaries should be construed to have meanings consistent with their meanings in the context of the relevant art and the present disclosure, and will not be construed as having idealized or excessive formal meanings, Unless expressly so limited herein.
图1为本公开一个实施例提供的应用于第一终端的条形码信息处理方法的流程图。Figure 1 is a flow chart of a barcode information processing method applied to a first terminal provided by an embodiment of the present disclosure.
第一方面,参照图1,本公开一个实施例提供一种条形码信息处理方法,应用于第一终端,该方法包括:步骤100,广播条形码标识符;其中,条形码标识符为根据从条形码图像中解析得到的第一用户信息生成得到。In the first aspect, referring to Figure 1, one embodiment of the present disclosure provides a barcode information processing method, applied to a first terminal. The method includes: step 100, broadcasting a barcode identifier; wherein the barcode identifier is obtained from a barcode image. The first user information obtained by parsing is generated.
在一些示例性实施例中,广播条形码标识符包括:采用短距离无线通信方式广播条形码标识符。In some exemplary embodiments, broadcasting the barcode identifier includes broadcasting the barcode identifier using short-range wireless communication.
在一些示例性实施例中,短距离无线通信方式例如蓝牙、无线保真(WIFI,Wireless Fidelity)、无线载波通信技术(UWB,Ultra Wide Band)、近场通信(NFC,Near Field Communication)等中的任意一种。In some exemplary embodiments, short-range wireless communication methods such as Bluetooth, Wireless Fidelity (WIFI), Wireless Carrier Communication Technology (UWB, Ultra Wide Band), Near Field Communication (NFC), etc. any kind.
本公开实施例采用短距离无线通信方式广播条形码标识符,省略了配对过程和连接过程,极大的节省了时间;并且限制了其使用环境,确保不会出现信息发射点与实际条形码距离太远的情况发生。The disclosed embodiment uses short-distance wireless communication to broadcast barcode identifiers, omitting the pairing process and connection process, greatly saving time; and limiting its use environment to ensure that the distance between the information emission point and the actual barcode will not be too far. situation occurs.
在一些示例性实施例中,条形码可以是一维条形码或二维条形码。二维条形码即是二维码。In some exemplary embodiments, the barcode may be a one-dimensional barcode or a two-dimensional barcode. A two-dimensional barcode is a two-dimensional code.
在一些示例性实施例中,第一用户信息可以包括条形码的发布方的信息,如某一栋建筑物的名称(如医院、办公楼、商场等)、建筑物内部某一区域的名称(如医院的某一个科室、办公楼的某一个公司、商场的某一个品牌等)、某一个区域的名称(如某一个小区、某一个办公区等)等。In some exemplary embodiments, the first user information may include information about the issuer of the barcode, such as the name of a certain building (such as a hospital, office building, shopping mall, etc.), the name of a certain area inside the building (such as A certain department in a hospital, a certain company in an office building, a certain brand in a shopping mall, etc.), the name of a certain area (such as a certain community, an office area, etc.), etc.
在一些示例性实施例中,第一用户信息还可以包括条形码的用途信息,如是用于查询健 康码的,还是用于病人看病或检验用的等。In some exemplary embodiments, the first user information may also include usage information of the barcode, such as for querying key Kangma is still used for patient treatment or examination, etc.
在一些示例性实施例中,第一用户信息还可以包括其他可以确定对应的应用程序的相关信息。如应用程序名称等。In some exemplary embodiments, the first user information may also include other related information that can determine the corresponding application. Such as application name, etc.
在一些示例性实施例中,广播条形码标识符后,该方法还包括:接收至少一个第二终端发送的第二终端的应用特征信息;输出接收到的部分或全部第二终端的应用特征信息。In some exemplary embodiments, after broadcasting the barcode identifier, the method further includes: receiving application feature information of the second terminal sent by at least one second terminal; and outputting part or all of the received application feature information of the second terminal.
在一些示例性实施例中,应用特征信息包括:第二终端的第二用户信息。In some exemplary embodiments, the application feature information includes: second user information of the second terminal.
在一些示例性实施例中,第二用户信息可以是指第二终端的用户的一些相关信息。例如,第二用户信息可以包括第二终端的用户对应的姓名、年龄、联系方式、家庭住址等中的至少之一。如果是去医院的某一个科室看病,第二用户信息还可以包括:就诊医院、就诊科室、症状等中的至少之一。如果是去办公楼的某一个公司,第二用户信息还可以包括访问公司名称、办公楼名称、楼层信息等中的至少之一。In some exemplary embodiments, the second user information may refer to some relevant information of the user of the second terminal. For example, the second user information may include at least one of the name, age, contact information, home address, etc. corresponding to the user of the second terminal. If you are going to see a doctor in a certain department of the hospital, the second user information may also include: at least one of the hospital you visited, the department you visited, symptoms, etc. If you are going to a certain company in an office building, the second user information may also include at least one of the visiting company name, office building name, floor information, etc.
在一些示例性实施例中,输出接收到的部分或全部第二终端的应用特征信息包括:显示接收到的部分或全部第二终端的应用特征信息。In some exemplary embodiments, outputting the received application feature information of part or all of the second terminal includes: displaying the received part or all of the application feature information of the second terminal.
在一些示例性实施例中,接收到两个或两个以上第二终端的应用特征信息的情况下,可以按照预设规则显示接收到的部分或全部第二终端的应用特征信息。例如,可以根据第二终端的位置信息确定第二终端和第一用户信息对应的位置范围内的预设位置之间的距离,按照距离从近到远的顺序进行显示。又如,可以根据第二终端的位置信息和第一终端的位置信息确定第二终端和第一终端的距离,按照距离从近到远的顺序进行显示。In some exemplary embodiments, when application feature information of two or more second terminals is received, part or all of the received application feature information of the second terminal may be displayed according to preset rules. For example, the distance between the second terminal and a preset location within the location range corresponding to the first user information may be determined based on the location information of the second terminal, and displayed in order from nearest to far. For another example, the distance between the second terminal and the first terminal may be determined based on the location information of the second terminal and the location information of the first terminal, and displayed in order of distance from near to far.
在一些示例性实施例中,广播条形码标识符之前,该方法还包括:向中心服务器发起认证请求;其中,认证请求包括条形码图像和第一终端的第一附属信息;接收中心服务器返回的认证成功消息;其中,认证成功消息包括条形码标识符。In some exemplary embodiments, before broadcasting the barcode identifier, the method further includes: initiating an authentication request to the central server; wherein the authentication request includes the barcode image and the first attachment information of the first terminal; and receiving an authentication success message returned by the central server. message; wherein the authentication success message includes a barcode identifier.
在一些示例性实施例中,在向中心服务器发起认证请求之前,该方法还包括:向中心服务器发起登录请求;其中,登录请求包括登录用户名和密码;接收中心服务器返回的登录响应。In some exemplary embodiments, before initiating the authentication request to the central server, the method further includes: initiating a login request to the central server; wherein the login request includes a login username and password; and receiving a login response returned by the central server.
在一些示例性实施例中,第一附属信息包括:第一终端的位置信息和第一终端的第三用户信息。In some exemplary embodiments, the first auxiliary information includes: location information of the first terminal and third user information of the first terminal.
在一些示例性实施例中,第一终端的位置信息可以采用全球定位系统(GPS,Global Position System),或北斗卫星等卫星定位技术,或室内定位技术定位得到。In some exemplary embodiments, the location information of the first terminal can be obtained using Global Positioning System (GPS), satellite positioning technology such as Beidou satellite, or indoor positioning technology.
在一些示例性实施例中,第一终端的位置信息可以是指第一终端当前的实时位置信息。 In some exemplary embodiments, the location information of the first terminal may refer to the current real-time location information of the first terminal.
在一些示例性实施例中,第三用户信息可以是第一终端的身份信息,如用户名等。In some exemplary embodiments, the third user information may be the identity information of the first terminal, such as user name, etc.
在一些示例性实施例中,向中心服务器发起认证请求后,该方法还包括:接收中心服务器返回的认证失败的消息,并结束本流程。In some exemplary embodiments, after initiating an authentication request to the central server, the method further includes: receiving an authentication failure message returned by the central server, and ending this process.
本公开实施例提供的条形码虚拟扫描方法,由第一终端发布条形码标识符,由第二终端接收条形码标识符,以实现条形码的虚拟扫描,而不需要第二终端打开摄像头进行条形码扫描即可实现,也不需要第二终端的用户做任何界面上的操作,直接在第二终端显示扫描结果,简化了操作过程,可以适用于任何人群,尤其是老人和视障人士,也避免了多次扫码导致的操作重复,总而言之,提高了用户的体验度。The barcode virtual scanning method provided by the embodiment of the present disclosure is that the first terminal publishes the barcode identifier, and the second terminal receives the barcode identifier to realize the virtual scanning of the barcode, without the need for the second terminal to open the camera to scan the barcode, and without the need for the user of the second terminal to perform any operation on the interface. The scanning result is directly displayed on the second terminal, which simplifies the operation process and can be applied to any group of people, especially the elderly and the visually impaired, and also avoids repeated operations caused by multiple scanning. In short, it improves the user experience.
图2为本公开另一个实施例提供的应用于第二终端的条形码信息处理方法的流程图。FIG. 2 is a flow chart of a barcode information processing method applied to a second terminal provided by another embodiment of the present disclosure.
第二方面,参照图2,本公开另一个实施例提供一种条形码信息处理方法,应用于第二终端,该方法可以包括:步骤200,接收第一终端广播的条形码标识符。条形码标识符为根据从条形码图像中解析得到的第一用户信息生成得到。In the second aspect, referring to FIG. 2 , another embodiment of the present disclosure provides a barcode information processing method, which is applied to a second terminal. The method may include: step 200, receiving a barcode identifier broadcast by the first terminal. The barcode identifier is generated based on the first user information parsed from the barcode image.
在一些示例性实施例中,接收第一终端广播的条形码标识符包括:采用短距离无线通信方式接收第一终端广播的条形码标识符。In some exemplary embodiments, receiving the barcode identifier broadcasted by the first terminal includes: receiving the barcode identifier broadcasted by the first terminal using a short-range wireless communication method.
在一些示例性实施例中,短距离无线通信方式例如蓝牙、WIFI、UWB、NFC等中的任意一种。In some exemplary embodiments, the short-range wireless communication method is any one of Bluetooth, WIFI, UWB, NFC, etc.
本公开实施例采用短距离无线通信方式广播条形码标识符,省略了配对过程和连接过程,极大的节省了时间;并且限制了其使用环境,确保不会出现信息发射点与实际条形码距离太远的情况发生。The disclosed embodiment uses short-distance wireless communication to broadcast barcode identifiers, omitting the pairing process and connection process, greatly saving time; and limiting its use environment to ensure that the distance between the information emission point and the actual barcode will not be too far. situation occurs.
在一些示例性实施例中,条形码可以是一维条形码或二维条形码。二维条形码即是二维码。In some exemplary embodiments, the barcode may be a one-dimensional barcode or a two-dimensional barcode. A two-dimensional barcode is a two-dimensional code.
在一些示例性实施例中,第一用户信息可以包括条形码的发布方的信息,如某一栋建筑物的名称(如医院、办公楼、商场等)、建筑物内部某一区域的名称(如医院的某一个科室、办公楼的某一个公司、商场的某一个品牌等)、某一个区域的名称(如某一个小区、某一个办公区等)等。In some exemplary embodiments, the first user information may include information about the issuer of the barcode, such as the name of a certain building (such as a hospital, office building, shopping mall, etc.), the name of a certain area inside the building (such as A certain department in a hospital, a certain company in an office building, a certain brand in a shopping mall, etc.), the name of a certain area (such as a certain community, an office area, etc.), etc.
在一些示例性实施例中,第一用户信息还可以包括条形码的用途信息,如是用于查询健康码的,还是用于病人看病或检验用的等。In some exemplary embodiments, the first user information may also include usage information of the barcode, such as whether it is used to query health codes, or used for patient treatment or examination, etc.
在一些示例性实施例中,第一用户信息还可以包括其他可以确定对应的应用程序的相关信息。如应用程序名称等。 In some exemplary embodiments, the first user information may also include other related information that can determine the corresponding application. Such as application name, etc.
步骤201,获取第二终端的第二附属信息。Step 201: Obtain second attachment information of the second terminal.
在一些示例性实施例中,第二附属信息包括:第二终端的位置信息。In some exemplary embodiments, the second auxiliary information includes: location information of the second terminal.
在一些示例性实施例中,第二终端的位置信息是指第一终端当前的实时位置信息。In some exemplary embodiments, the location information of the second terminal refers to the current real-time location information of the first terminal.
在一些示例性实施例中,第二终端的位置信息可以采用GPS,或北斗卫星等卫星定位技术,或室内定位技术定位得到。In some exemplary embodiments, the location information of the second terminal can be obtained using GPS, satellite positioning technology such as Beidou satellite, or indoor positioning technology.
步骤202,将条形码标识符和第二附属信息上传到中心服务器进行验证。Step 202: Upload the barcode identifier and the second auxiliary information to the central server for verification.
步骤203,接收中心服务器返回的验证通过消息,调用条形码标识符对应的应用程序,并跳转到条形码标识符对应的第二终端的应用特征信息的显示界面。Step 203: Receive the verification pass message returned by the central server, call the application program corresponding to the barcode identifier, and jump to the display interface of the application feature information of the second terminal corresponding to the barcode identifier.
在一些示例性实施例中,应用特征信息包括:第二终端的第二用户信息。In some exemplary embodiments, the application feature information includes: second user information of the second terminal.
在一些示例性实施例中,第二用户信息可以是指第二终端的用户的一些相关信息。例如,第二用户信息可以包括第二终端的用户对应的姓名、年龄、联系方式、家庭住址等中的至少之一。如果是去医院的某一个科室看病,第二用户信息还可以包括:就诊医院、就诊科室、症状等中的至少之一。如果是去办公楼的某一个公司,第二用户信息还可以包括访问公司名称、办公楼名称、楼层信息等中的至少之一。In some exemplary embodiments, the second user information may refer to some relevant information of the user of the second terminal. For example, the second user information may include at least one of the name, age, contact information, home address, etc. corresponding to the user of the second terminal. If you are going to see a doctor in a certain department of the hospital, the second user information may also include: at least one of the hospital you visited, the department you visited, symptoms, etc. If you are going to a certain company in an office building, the second user information may also include at least one of the visiting company name, office building name, floor information, etc.
在一些示例性实施例中,应用程序可以是任何形式的应用程序,如APP、小程序等。In some exemplary embodiments, the application program may be any form of application program, such as APP, applet, etc.
在一些示例性实施例中,可以从条形码标识符中解析出第一用户信息,根据第一用户信息确定条形码标识符对应的应用程序。In some exemplary embodiments, the first user information may be parsed from the barcode identifier, and the application program corresponding to the barcode identifier may be determined based on the first user information.
在一些示例性实施例中,跳转到条形码标识符对应的第二终端的应用特征信息的显示界面后,该方法还包括:向第一终端发送应用特征信息。In some exemplary embodiments, after jumping to the display interface of the application feature information of the second terminal corresponding to the barcode identifier, the method further includes: sending the application feature information to the first terminal.
在一些示例性实施例中,将条形码标识符和第二附属信息上传到中心服务器后,该方法还包括:接收中心服务器返回的验证失败消息,并结束本流程。In some exemplary embodiments, after uploading the barcode identifier and the second auxiliary information to the central server, the method further includes: receiving a verification failure message returned by the central server, and ending the process.
本公开实施例提供的条形码虚拟扫描方法,由第一终端发布条形码标识符,由第二终端接收条形码标识符,以实现条形码的虚拟扫描,而不需要第二终端打开摄像头进行条形码扫描即可实现,也不需要第二终端的用户做任何界面上的操作,直接在第二终端显示扫描结果,简化了操作过程,可以适用于任何人群,尤其是老人和视障人士,也避免了多次扫码导致的操作重复,总而言之,提高了用户的体验度。In the barcode virtual scanning method provided by the embodiments of the present disclosure, the first terminal issues a barcode identifier and the second terminal receives the barcode identifier to realize virtual scanning of the barcode without the need for the second terminal to turn on the camera to scan the barcode. , it does not require the user of the second terminal to perform any interface operations, and the scan results are directly displayed on the second terminal, which simplifies the operation process and can be applied to any group of people, especially the elderly and visually impaired, and avoids the need for multiple scans. The duplication of operations caused by the code, in short, improves the user experience.
图3为本公开另一个实施例提供的应用于中心服务器的条形码信息处理方法的流程图。FIG3 is a flowchart of a barcode information processing method applied to a central server provided in another embodiment of the present disclosure.
第三方面,参照图3,本公开另一个实施例提供一种条形码信息处理方法,应用于中心 服务器,该方法包括:In the third aspect, referring to Figure 3, another embodiment of the present disclosure provides a barcode information processing method, which is applied to the center Server, this method includes:
步骤300,接收第二终端上传的条形码标识符和第二终端的第二附属信息。条形码标识符为根据从条形码图像中解析得到的第一用户信息生成得到。Step 300: Receive the barcode identifier uploaded by the second terminal and the second additional information of the second terminal. The barcode identifier is generated based on the first user information parsed from the barcode image.
在一些示例性实施例中,第二附属信息包括第二终端的位置信息。In some exemplary embodiments, the second ancillary information includes location information of the second terminal.
在一些示例性实施例中,第二终端的位置信息是指第一终端当前的实时位置信息。In some exemplary embodiments, the location information of the second terminal refers to the current real-time location information of the first terminal.
在一些示例性实施例中,条形码可以是一维条形码或二维条形码。二维条形码即是二维码。In some exemplary embodiments, the barcode may be a one-dimensional barcode or a two-dimensional barcode. A two-dimensional barcode is a two-dimensional code.
在一些示例性实施例中,第一用户信息可以是条形码的发布方的信息,如某一栋建筑物的名称(如医院、办公楼、商场等)、建筑物内部某一区域的名称(如医院的某一个科室、办公楼的某一个公司、商场的某一个品牌等)、某一个区域的名称(如某一个小区、某一个办公区等)等。In some exemplary embodiments, the first user information may be the information of the issuer of the barcode, such as the name of a certain building (such as a hospital, office building, shopping mall, etc.), the name of a certain area inside the building (such as A certain department in a hospital, a certain company in an office building, a certain brand in a shopping mall, etc.), the name of a certain area (such as a certain community, an office area, etc.), etc.
在一些示例性实施例中,第一用户信息还可以包括条形码的用途信息,如是用于查询健康码的,还是用于病人看病或检验用的等。In some exemplary embodiments, the first user information may also include usage information of the barcode, such as whether it is used to query health codes, or used for patient treatment or examination, etc.
在一些示例性实施例中,第一用户信息还可以包括其他可以确定对应的应用程序的相关信息。如应用程序名称等。In some exemplary embodiments, the first user information may also include other related information that can determine the corresponding application. Such as application name, etc.
步骤301,根据条形码标识符和第二附属信息对第二终端进行验证。Step 301: Verify the second terminal according to the barcode identifier and the second auxiliary information.
在一些示例性实施例中,根据条形码标识符和第二附属信息对第二终端进行验证包括:判断第二终端的位置信息是否在条形码标识符对应的第一用户信息对应的位置范围内。In some exemplary embodiments, verifying the second terminal according to the barcode identifier and the second auxiliary information includes: determining whether the location information of the second terminal is within the location range corresponding to the first user information corresponding to the barcode identifier.
在一些示例性实施例中,在判断出第二终端的位置信息在条形码标识符对应的第一用户信息对应的位置范围内的情况下,验证通过;在判断出第二终端的位置信息在条形码标识符对应的第一用户信息对应的位置范围外的情况下,验证不通过。In some exemplary embodiments, when it is determined that the location information of the second terminal is within the location range corresponding to the first user information corresponding to the barcode identifier, the verification is passed; when it is determined that the location information of the second terminal is within the location range corresponding to the barcode identifier If the location range corresponding to the first user information corresponding to the identifier is outside the location range, the verification fails.
在一些示例性实施例中,第一用户信息可以根据条形码标识符的生成方式从条形码标识符中解析得到。In some exemplary embodiments, the first user information may be parsed from the barcode identifier according to how the barcode identifier is generated.
在一些示例性实施例中,第一用户信息也可以从预先存储的条形码标识符和第一用户信息之间的第一映射关系中查找得到。In some exemplary embodiments, the first user information may also be obtained by searching a pre-stored first mapping relationship between the barcode identifier and the first user information.
在一些示例性实施例中,第一映射关系还可以包括第一附属信息。In some exemplary embodiments, the first mapping relationship may further include first auxiliary information.
在一些示例性实施例中,第一用户信息对应的位置范围可以从地图上获得,也可以预先设置第一用户信息和位置范围之间的第二映射关系,根据第二映射关系获得。 In some exemplary embodiments, the location range corresponding to the first user information can be obtained from a map, or a second mapping relationship between the first user information and the location range can be preset and obtained according to the second mapping relationship.
步骤302,在验证通过的情况下,向第二终端返回验证通过消息。Step 302: If the verification passes, return a verification pass message to the second terminal.
在一些示例性实施例中,在验证不通过的情况下,向第二终端返回验证失败消息。In some exemplary embodiments, if the verification fails, a verification failure message is returned to the second terminal.
在一些示例性实施例中,接收第二终端上传的条形码标识符和第二终端的第二附属信息之前,该方法还包括:接收第一终端发送的认证请求;其中,认证请求包括条形码图像和第一终端的第一附属信息;在根据条形码图像和第一附属信息确认第一终端有权限发布条形码的情况下,根据条形码图像和第一附属信息生成条形码标识符;向第一终端返回认证成功消息;其中,认证成功消息包括条形码标识符。In some exemplary embodiments, before receiving the barcode identifier uploaded by the second terminal and the second attachment information of the second terminal, the method further includes: receiving an authentication request sent by the first terminal; wherein the authentication request includes a barcode image and First auxiliary information of the first terminal; when it is confirmed based on the barcode image and the first auxiliary information that the first terminal has the authority to issue the barcode, generate a barcode identifier based on the barcode image and the first auxiliary information; return authentication success to the first terminal message; wherein the authentication success message includes a barcode identifier.
在一些示例性实施例中,在根据条形码图像和第一附属信息确认第一终端没有权限发布条形码的情况下,向第一终端返回认证失败的消息。In some exemplary embodiments, when it is confirmed that the first terminal does not have the authority to issue the barcode according to the barcode image and the first auxiliary information, an authentication failure message is returned to the first terminal.
在一些示例性实施例中,第一附属信息包括:第一终端的位置信息和第一终端的第三用户信息。In some exemplary embodiments, the first auxiliary information includes: location information of the first terminal and third user information of the first terminal.
在一些示例性实施例中,第一终端的位置信息可以采用GPS,或北斗卫星等卫星定位技术,或室内定位技术定位得到。In some exemplary embodiments, the location information of the first terminal can be obtained using GPS, satellite positioning technology such as Beidou satellite, or indoor positioning technology.
在一些示例性实施例中,第一终端的位置信息是指第一终端当前的实时位置信息。In some exemplary embodiments, the location information of the first terminal refers to the current real-time location information of the first terminal.
在一些示例性实施例中,第三用户信息可以是第一终端的身份信息,如用户名等。In some exemplary embodiments, the third user information may be the identity information of the first terminal, such as user name, etc.
在一些示例性实施例中,根据条形码图像和第一附属信息确认第一终端有权限发布条形码包括:解析条形码图像得到第一用户信息;根据第一用户信息和第一附属信息确认第一终端有权限发布条形码。In some exemplary embodiments, confirming that the first terminal has the authority to publish the barcode based on the barcode image and the first auxiliary information includes: parsing the barcode image to obtain the first user information; and confirming that the first terminal has the authority to publish the barcode based on the first user information and the first auxiliary information.
在一些示例性实施例中,根据条形码图像和第一附属信息确认第一终端没有权限发布条形码包括:解析条形码图像得到第一用户信息;根据第一用户信息和第一附属信息确认第一终端没有权限发布条形码。In some exemplary embodiments, confirming that the first terminal does not have the authority to issue the barcode based on the barcode image and the first auxiliary information includes: parsing the barcode image to obtain the first user information; confirming that the first terminal does not have the authority to issue the barcode based on the first user information and the first auxiliary information. Permission to publish barcodes.
在一些示例性实施例中,根据条形码图像和第一附属信息生成条形码标识符包括:根据第一用户信息和第一附属信息生成条形码标识符。In some exemplary embodiments, generating the barcode identifier based on the barcode image and the first auxiliary information includes: generating the barcode identifier based on the first user information and the first auxiliary information.
在一些示例性实施例中,根据第一用户信息和第一附属信息生成条形码标识符后,该方法还包括:存储第一用户信息和条形码标识符之间的第一映射关系。In some exemplary embodiments, after generating the barcode identifier according to the first user information and the first auxiliary information, the method further includes: storing a first mapping relationship between the first user information and the barcode identifier.
在一些示例性实施例中,根据第一用户信息和第一附属信息确认第一终端有权限发布条形码包括:判断出预先设置的有权限发布条形码的用户信息中包括第三用户信息,且第一终端的位置信息在第一用户信息对应的位置范围内。 In some exemplary embodiments, confirming that the first terminal has the authority to issue barcodes based on the first user information and the first auxiliary information includes: determining that the preset user information that has the authority to issue barcodes includes third user information, and the first The location information of the terminal is within the location range corresponding to the first user information.
在一些示例性实施例中,根据第一用户信息和第一附属信息确认第一终端没有权限发布条形码包括:判断出预先设置的有权限发布条形码的用户信息中不包括第三用户信息,或第一终端的位置信息在第一用户信息对应的位置范围外。In some exemplary embodiments, confirming that the first terminal does not have the authority to issue barcodes based on the first user information and the first auxiliary information includes: determining that the preset user information that has the authority to issue barcodes does not include third user information, or the third user information does not include third user information. The location information of a terminal is outside the location range corresponding to the first user information.
在一些示例性实施例中,根据第一用户信息和第一附属信息确认第一终端有权限发布条形码包括:判断出预先设置的没有权限发布条形码的用户信息中不包括第三用户信息,且第一终端的位置信息在第一用户信息对应的位置范围内。In some exemplary embodiments, confirming that the first terminal has the authority to issue barcodes based on the first user information and the first auxiliary information includes: determining that the preset user information that does not have the authority to issue barcodes does not include third user information, and the third user information does not include the third user information. The location information of a terminal is within the location range corresponding to the first user information.
在一些示例性实施例中,根据第一用户信息和第一附属信息确认第一终端没有权限发布条形码包括:判断出预先设置的没有权限发布条形码的用户信息中包括第三用户信息,或第一终端的位置信息在第一用户信息对应的位置范围外。In some exemplary embodiments, confirming that the first terminal does not have the authority to issue barcodes based on the first user information and the first auxiliary information includes: determining that the preset user information that does not have the authority to issue barcodes includes third user information, or the first The location information of the terminal is outside the location range corresponding to the first user information.
为了更完整的呈现本公开实施例的条形码虚拟扫描方法的具体实现过程,下面列举几个示例进行说明,所列举的示例不用于限定本公开实施例的条形码虚拟扫描方法的保护范围。In order to more completely present the specific implementation process of the barcode virtual scanning method according to the embodiment of the present disclosure, several examples are listed below for explanation. The examples listed are not used to limit the protection scope of the barcode virtual scanning method according to the embodiment of the present disclosure.
示例1Example 1
本示例以二维码为例描述条形码注册过程,如图4所示,条形码注册过程可以包括如下步骤。This example uses a QR code as an example to describe the barcode registration process. As shown in Figure 4, the barcode registration process may include the following steps.
步骤400,第一终端向中心服务器发起认证请求。认证请求包括二维码图像和第一终端的第一附属信息。Step 400: The first terminal initiates an authentication request to the central server. The authentication request includes a QR code image and first auxiliary information of the first terminal.
本示例中,第一终端的第一附属信息包括:第一终端的位置信息和第一终端的第三用户信息。In this example, the first accessory information of the first terminal includes: location information of the first terminal and third user information of the first terminal.
步骤401,中心服务器解析条形码图像得到第一用户信息,判断预先设置的有权限发布二维码的用户信息中是否包括第三用户信息,判断第一终端的位置信息是否在第一用户信息对应的位置范围内,在判断出预先设置的有权限发布二维码的用户信息中包括第三用户信息,且第一终端的位置信息在第一用户信息对应的位置范围内的情况下,执行步骤402和步骤403,并继续进行示例2的条形码虚拟扫描过程和示例3的应用特征信息推送过程;在判断出预先设置的有权限发布二维码的用户信息中不包括第三用户信息,或第一终端的位置信息在第一用户信息对应的位置范围外的情况下,执行步骤404,并且不进行示例2的条形码虚拟扫描过程和示例3的应用特征信息推送过程。Step 401: The central server parses the barcode image to obtain the first user information, determines whether the preset user information with the authority to publish the QR code includes third user information, and determines whether the location information of the first terminal is in the location corresponding to the first user information. Within the location range, when it is determined that the preset user information with the authority to publish QR codes includes third user information, and the location information of the first terminal is within the location range corresponding to the first user information, step 402 is executed. and step 403, and continue with the barcode virtual scanning process of Example 2 and the application feature information push process of Example 3; after it is determined that the preset user information with permission to publish QR codes does not include third user information, or the first If the location information of the terminal is outside the location range corresponding to the first user information, step 404 is executed, and the barcode virtual scanning process in Example 2 and the application feature information push process in Example 3 are not performed.
步骤402,中心服务器根据第一用户信息和第一附属信息生成二维码标识符。Step 402: The central server generates a QR code identifier according to the first user information and the first supplementary information.
步骤403,中心服务器向第一终端返回认证成功消息。认证成功消息包括二维码标识符。Step 403: The central server returns an authentication success message to the first terminal. The authentication success message includes the QR code identifier.
步骤404,中心服务器向第一终端返回认证失败消息。 Step 404: The central server returns an authentication failure message to the first terminal.
示例2Example 2
本示例以二维码为例描述条形码信息处理过程,如图5所示,条形码信息处理过程包括如下步骤。This example uses a QR code as an example to describe the barcode information processing process. As shown in Figure 5, the barcode information processing process includes the following steps.
步骤500,第一终端采用短距离无线通信方式广播二维码标识符。Step 500: The first terminal broadcasts the QR code identifier using short-range wireless communication.
步骤501,第二终端采用短距离无线通信方式接收第一终端广播的二维码标识符。Step 501: The second terminal uses short-range wireless communication to receive the QR code identifier broadcast by the first terminal.
步骤502,第二终端获取第二终端的第二附属信息。Step 502: The second terminal obtains the second attachment information of the second terminal.
本示例中,第二附属信息包括:第二终端的位置信息。In this example, the second auxiliary information includes: location information of the second terminal.
步骤503,第二终端将二维码标识符和第二附属信息上传到中心服务器进行验证。Step 503: The second terminal uploads the QR code identifier and the second supplementary information to the central server for verification.
步骤504,中心服务器判断第二终端的位置信息是否在二维码标识符对应的第一用户信息对应的位置范围内,在判断出第二终端的位置信息在二维码标识符对应的第一用户信息对应的位置范围内的情况下,执行步骤505,并继续执行步骤507;在判断出第二终端的位置信息在二维码标识符对应的第一用户信息对应的位置范围外的情况下,继续执行步骤506,并结束本流程。Step 504: The central server determines whether the location information of the second terminal is within the location range corresponding to the first user information corresponding to the QR code identifier. After determining that the location information of the second terminal is within the first location range corresponding to the QR code identifier, If it is within the location range corresponding to the user information, execute step 505 and continue to step 507; if it is determined that the location information of the second terminal is outside the location range corresponding to the first user information corresponding to the QR code identifier , continue to execute step 506, and end this process.
步骤505,中心服务器向第二终端返回验证通过消息。Step 505: The central server returns a verification pass message to the second terminal.
步骤506,中心服务器向第二终端返回验证失败消息。Step 506: The central server returns a verification failure message to the second terminal.
步骤507,第二终端调用二维码标识符对应的第三方小程序,并跳转到二维码标识符对应的第二终端的应用特征信息的显示界面。Step 507: The second terminal calls the third-party applet corresponding to the QR code identifier and jumps to the display interface of the application feature information of the second terminal corresponding to the QR code identifier.
示例3Example 3
本示例以二维码为例描述应用特征信息推送过程,如图6所示,应用特征信息推送过程包括如下步骤。This example uses a QR code as an example to describe the application feature information push process. As shown in Figure 6, the application feature information push process includes the following steps.
步骤600,第二终端向第一终端发送第二终端的应用特征信息。Step 600: The second terminal sends the application feature information of the second terminal to the first terminal.
步骤601,第一终端显示第二终端的应用特征信息。Step 601: The first terminal displays application feature information of the second terminal.
第四方面,本公开另一个实施例提供一种电子设备,包括:至少一个处理器;存储器,存储器上存储有至少一个程序,当至少一个程序被至少一个处理器执行时,实现上述任意一种条形码信息处理方法。In a fourth aspect, another embodiment of the present disclosure provides an electronic device, including: at least one processor; and a memory. At least one program is stored on the memory. When at least one program is executed by at least one processor, any one of the above is implemented. Barcode information processing methods.
其中,处理器为具有数据处理能力的器件,其包括但不限于中央处理器(CPU)等;存储器为具有数据存储能力的器件,其包括但不限于随机存取存储器(RAM,更具体如SDRAM、DDR等)、只读存储器(ROM)、带电可擦可编程只读存储器(EEPROM)、闪存(FLASH)。 Among them, the processor is a device with data processing capabilities, including but not limited to a central processing unit (CPU), etc.; the memory is a device with data storage capabilities, including but not limited to random access memory (RAM, more specifically such as SDRAM). , DDR, etc.), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory (FLASH).
在一些实施例中,处理器、存储器通过总线相互连接,进而与计算设备的其它组件连接。In some embodiments, the processor and memory are connected to each other through a bus, and then to other components of the computing device.
第五方面,本公开另一个实施例提供一种计算机可读介质,计算机可读介质上存储有计算机程序,计算机程序被处理器执行时实现上述任意一种条形码信息处理方法。In a fifth aspect, another embodiment of the present disclosure provides a computer-readable medium. A computer program is stored on the computer-readable medium. When the computer program is executed by a processor, any one of the above barcode information processing methods is implemented.
图7为本公开另一个实施例提供的条形码信息处理系统的组成框图。Figure 7 is a block diagram of a barcode information processing system provided by another embodiment of the present disclosure.
第六方面,参照图7,本公开另一个实施例提供一种条形码信息处理系统,包括:第一终端701,配置为广播条形码标识符;其中,条形码标识符为根据从条形码图像中解析得到的第一用户信息生成得到;第二终端702,配置为接收第一终端广播的条形码标识符;获取第二终端的第二附属信息;将条形码标识符和第二附属信息上传到中心服务器进行验证;接收中心服务器返回的验证通过消息,调用条形码标识符对应的应用程序,并跳转到条形码标识符对应的第二终端的应用特征信息的显示界面;中心服务器703,配置为接收第二终端上传的条形码标识符和第二终端的第二附属信息;根据条形码标识符和第二附属信息对第二终端进行验证;在验证通过的情况下,向第二终端返回验证通过消息。In the sixth aspect, referring to FIG. 7 , another embodiment of the present disclosure provides a barcode information processing system, including: a first terminal 701 configured to broadcast a barcode identifier; wherein the barcode identifier is obtained by parsing from a barcode image. The first user information is generated; the second terminal 702 is configured to receive the barcode identifier broadcast by the first terminal; obtain the second auxiliary information of the second terminal; upload the barcode identifier and the second auxiliary information to the central server for verification; Receive the verification pass message returned by the central server, call the application program corresponding to the barcode identifier, and jump to the display interface of the application feature information of the second terminal corresponding to the barcode identifier; the central server 703 is configured to receive the application feature information uploaded by the second terminal. The barcode identifier and the second auxiliary information of the second terminal; verify the second terminal according to the barcode identifier and the second auxiliary information; if the verification passes, return a verification pass message to the second terminal.
在一些示例性实施例中,第二终端702还用于向第一终端发送应用特征信息;第一终端701还用于接收至少一个第二终端发送的第二终端的应用特征信息;输出接收到的部分或所有第二终端的应用特征信息。In some exemplary embodiments, the second terminal 702 is further used to send application feature information to the first terminal; the first terminal 701 is further used to receive application feature information of the second terminal sent by at least one second terminal; and output the received application feature information of some or all second terminals.
在一些示例性实施例中,第一终端701还用于向中心服务器发起认证请求;其中,认证请求包括条形码图像和第一终端的第一附属信息;接收中心服务器返回的认证成功消息;其中,认证成功消息包括条形码标识符;中心服务器703还用于接收第一终端发送的认证请求;其中,认证请求包括条形码图像和第一终端的第一附属信息;在根据第一附属信息确认第一终端有权限发布条形码的情况下,根据条形码图像和第一附属信息生成条形码标识符;向第一终端返回认证成功消息;其中,认证成功消息包括条形码标识符。In some exemplary embodiments, the first terminal 701 is also used to initiate an authentication request to the central server; wherein the authentication request includes a barcode image and the first attachment information of the first terminal; and receives an authentication success message returned by the central server; wherein, The authentication success message includes a barcode identifier; the central server 703 is also configured to receive an authentication request sent by the first terminal; wherein the authentication request includes a barcode image and first attachment information of the first terminal; after confirming the first terminal according to the first attachment information If there is authority to issue a barcode, a barcode identifier is generated based on the barcode image and the first auxiliary information; an authentication success message is returned to the first terminal; wherein the authentication success message includes the barcode identifier.
上述条形码信息处理系统的具体实现过程与前述实施例条形码信息处理方法的具体实现过程相同,这里不再赘述。The specific implementation process of the above barcode information processing system is the same as the specific implementation process of the barcode information processing method in the previous embodiment, and will not be described again here.
本公开实施例提供的条形码信息处理方法,由第一终端发布条形码标识符,由第二终端接收条形码标识符,以实现条形码的虚拟扫描,而不需要第二终端打开摄像头进行条形码扫描即可实现,也不需要第二终端的用户做任何界面上的操作,直接在第二终端显示扫描结果,简化了操作过程,可以适用于任何人群,尤其是老人和视障人士,也避免了多次扫码导致的操作重复,总而言之,提高了用户的体验度。In the barcode information processing method provided by the embodiments of the present disclosure, the first terminal issues a barcode identifier and the second terminal receives the barcode identifier to realize virtual scanning of the barcode without the need for the second terminal to turn on the camera to scan the barcode. , it does not require the user of the second terminal to perform any interface operations, and the scan results are directly displayed on the second terminal, which simplifies the operation process and can be applied to any group of people, especially the elderly and visually impaired, and avoids the need for multiple scans. The duplication of operations caused by the code, in short, improves the user experience.
本领域普通技术人员可以理解,上文中所公开方法中的全部或某些步骤、系统、装置中 的功能模块/单元可以被实施为软件、固件、硬件及其适当的组合。在硬件实施方式中,在以上描述中提及的功能模块/单元之间的划分不一定对应于物理组件的划分;例如,一个物理组件可以具有多个功能,或者一个功能或步骤可以由若干物理组件合作执行。某些物理组件或所有物理组件可以被实施为由处理器,如中央处理器、数字信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读介质上,计算机可读介质可以包括计算机存储介质(或非暂时性介质)和通信介质(或暂时性介质)。如本领域普通技术人员公知的,术语计算机存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块或其它数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。计算机存储介质包括但不限于RAM、ROM、EEPROM、闪存或其它存储器技术、CD-ROM、数字多功能盘(DVD)或其它光盘存储、磁盒、磁带、磁盘存储或其它磁存储器、或者可以用于存储期望的信息并且可以被计算机访问的任何其它的介质。此外,本领域普通技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或其它传输机制之类的调制数据信号中的其它数据,并且可包括任何信息递送介质。Those of ordinary skill in the art can understand that all or some of the steps, systems, and devices in the methods disclosed above The functional modules/units may be implemented as software, firmware, hardware and appropriate combinations thereof. In hardware implementations, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may consist of several physical components. Components execute cooperatively. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit . Such software may be distributed on computer-readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). As is known to those of ordinary skill in the art, the term computer storage media includes volatile and nonvolatile media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. removable, removable and non-removable media. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disk (DVD) or other optical disk storage, magnetic cassettes, tapes, disk storage or other magnetic storage, or may be used Any other medium that stores the desired information and can be accessed by a computer. Additionally, it is known to those of ordinary skill in the art that communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media .
本文已经公开了示例实施例,并且虽然采用了具体术语,但它们仅用于并仅应当被解释为一般说明性含义,并且不用于限制的目的。在一些实例中,对本领域技术人员显而易见的是,除非另外明确指出,否则可单独使用与特定实施例相结合描述的特征、特性和/或元素,或可与其它实施例相结合描述的特征、特性和/或元件组合使用。因此,本领域技术人员将理解,在不脱离由所附的权利要求阐明的本公开的范围的情况下,可进行各种形式和细节上的改变。 Example embodiments have been disclosed herein, and although specific terms are employed, they are used and should be interpreted in a general illustrative sense only and not for purpose of limitation. In some instances, it will be apparent to those skilled in the art that features, characteristics and/or elements described in connection with a particular embodiment may be used alone, or may be used in conjunction with other embodiments, unless expressly stated otherwise. Features and/or components used in combination. Accordingly, it will be understood by those skilled in the art that various changes in form and details may be made without departing from the scope of the present disclosure as set forth in the appended claims.

Claims (12)

  1. 一种条形码信息处理方法,应用于第一终端,该方法包括:A barcode information processing method, applied to the first terminal, the method includes:
    广播条形码标识符;其中,所述条形码标识符为根据从条形码图像中解析得到的第一用户信息生成得到。Broadcasting a barcode identifier; wherein the barcode identifier is generated based on the first user information parsed from the barcode image.
  2. 根据权利要求1所述的条形码信息处理方法,所述广播条形码标识符后,该方法还包括:The barcode information processing method according to claim 1, after broadcasting the barcode identifier, the method further includes:
    接收至少一个第二终端发送的所述第二终端的应用特征信息;Receive application feature information of the second terminal sent by at least one second terminal;
    输出接收到的部分或全部第二终端的应用特征信息。Output part or all of the received application feature information of the second terminal.
  3. 根据权利要求1所述的条形码信息处理方法,所述广播条形码标识符之前,该方法还包括:The barcode information processing method according to claim 1, before broadcasting the barcode identifier, the method further includes:
    向中心服务器发起认证请求;其中,所述认证请求包括所述条形码图像和所述第一终端的第一附属信息;Initiate an authentication request to the central server; wherein the authentication request includes the barcode image and the first attachment information of the first terminal;
    接收所述中心服务器返回的认证成功消息;其中,所述认证成功消息包括所述条形码标识符。Receive an authentication success message returned by the central server; wherein the authentication success message includes the barcode identifier.
  4. 一种条形码信息处理方法,应用于第二终端,该方法包括:A barcode information processing method, applied to a second terminal, the method includes:
    接收第一终端广播的条形码标识符;其中,所述条形码标识符为根据从条形码图像中解析得到的第一用户信息生成得到;Receive a barcode identifier broadcast by the first terminal; wherein the barcode identifier is generated based on the first user information parsed from the barcode image;
    获取所述第二终端的第二附属信息;Obtain second auxiliary information of the second terminal;
    将所述条形码标识符和所述第二附属信息上传到中心服务器进行验证;Upload the barcode identifier and the second ancillary information to a central server for verification;
    接收所述中心服务器返回的验证通过消息,调用所述条形码标识符对应的应用程序,并跳转到所述条形码标识符对应的所述第二终端的应用特征信息的显示界面。Receive the verification pass message returned by the central server, call the application program corresponding to the barcode identifier, and jump to the display interface of the application feature information of the second terminal corresponding to the barcode identifier.
  5. 根据权利要求4所述的条形码信息处理方法,所述跳转到所述条形码标识符对应的所述第二终端的应用特征信息的显示界面后,该方法还包括:The barcode information processing method according to claim 4, after jumping to the display interface of the application feature information of the second terminal corresponding to the barcode identifier, the method further includes:
    向所述第一终端发送所述应用特征信息。Send the application feature information to the first terminal.
  6. 一种条形码信息处理方法,应用于中心服务器,该方法包括:A barcode information processing method, applied to a central server, comprising:
    接收第二终端上传的条形码标识符和所述第二终端的第二附属信息;其中,所述条形码标识符为根据从条形码图像中解析得到的第一用户信息生成得到;Receive the barcode identifier uploaded by the second terminal and the second auxiliary information of the second terminal; wherein the barcode identifier is generated based on the first user information parsed from the barcode image;
    根据所述条形码标识符和所述第二附属信息对所述第二终端进行验证; authenticating the second terminal based on the barcode identifier and the second ancillary information;
    在验证通过的情况下,向所述第二终端返回验证通过消息。If the verification passes, a verification pass message is returned to the second terminal.
  7. 根据权利要求6所述的条形码信息处理方法,其中,所述第二附属信息包括所述第二终端的位置信息;The barcode information processing method according to claim 6, wherein the second supplementary information includes location information of the second terminal;
    所述根据所述条形码标识符和所述第二附属信息对所述第二终端进行验证包括:The verifying the second terminal according to the barcode identifier and the second auxiliary information includes:
    判断所述第二终端的位置信息是否在所述条形码标识符对应的第一用户信息对应的位置范围内。It is determined whether the location information of the second terminal is within a location range corresponding to the first user information corresponding to the barcode identifier.
  8. 根据权利要求6所述的条形码信息处理方法,所述接收第二终端上传的条形码标识符和所述第二终端的第二附属信息之前,该方法还包括:The barcode information processing method according to claim 6, before receiving the barcode identifier uploaded by the second terminal and the second auxiliary information of the second terminal, the method further includes:
    接收第一终端发送的认证请求;其中,所述认证请求包括所述条形码图像和所述第一终端的第一附属信息;receiving an authentication request sent by a first terminal; wherein the authentication request includes the barcode image and first supplementary information of the first terminal;
    在根据所述条形码图像和所述第一附属信息确认所述第一终端有权限发布条形码的情况下,根据所述条形码图像和所述第一附属信息生成所述条形码标识符;In the case where it is confirmed based on the barcode image and the first auxiliary information that the first terminal has the authority to issue barcodes, generate the barcode identifier based on the barcode image and the first auxiliary information;
    向所述第一终端返回认证成功消息;其中,所述认证成功消息包括所述条形码标识符。Return an authentication success message to the first terminal; wherein the authentication success message includes the barcode identifier.
  9. 根据权利要求8所述的条形码信息处理方法,其中,所述根据所述条形码图像和所述第一附属信息确认所述第一终端有权限发布条形码包括:解析所述条形码图像得到第一用户信息;根据所述第一用户信息和所述第一附属信息确认所述第一终端有权限发布条形码;The barcode information processing method according to claim 8, wherein confirming that the first terminal has the authority to issue barcodes based on the barcode image and the first auxiliary information includes: parsing the barcode image to obtain the first user information ; Confirm that the first terminal has the authority to issue barcodes based on the first user information and the first accessory information;
    所述根据所述条形码图像和所述第一附属信息生成所述条形码标识符包括:根据所述第一用户信息和所述第一附属信息生成所述条形码标识符。Generating the barcode identifier based on the barcode image and the first auxiliary information includes: generating the barcode identifier based on the first user information and the first auxiliary information.
  10. 根据权利要求9所述的条形码信息处理方法,其中,所述第一附属信息包括所述第一终端的位置信息和所述第一终端的第三用户信息;The barcode information processing method according to claim 9, wherein the first auxiliary information includes location information of the first terminal and third user information of the first terminal;
    所述根据所述第一用户信息和所述第一附属信息确认所述第一终端有权限发布条形码包括:Confirming that the first terminal has the authority to issue barcodes based on the first user information and the first auxiliary information includes:
    判断出预先设置的有权限发布条形码的用户信息中包括所述第三用户信息,且所述第一终端的位置信息在所述第一用户信息对应的位置范围内。It is determined that the preset user information with the authority to publish barcodes includes the third user information, and the location information of the first terminal is within the location range corresponding to the first user information.
  11. 一种电子设备,包括:An electronic device including:
    至少一个处理器;at least one processor;
    存储器,所述存储器上存储有至少一个程序,当所述至少一个程序被所述至少一个处理器执行时,实现权利要求1-10任意一项所述的条形码信息处理方法。 A memory, at least one program is stored on the memory, and when the at least one program is executed by the at least one processor, the barcode information processing method according to any one of claims 1-10 is implemented.
  12. 一种计算机可读介质,所述计算机可读介质上存储有计算机程序,所述计算机程序被处理器执行时实现权利要求1-10任意一项所述的条形码信息处理方法。 A computer-readable medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the barcode information processing method according to any one of claims 1 to 10.
PCT/CN2023/095845 2022-09-19 2023-05-23 Bar code information processing method, electronic device, and computer readable medium WO2024060655A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211141479.1 2022-09-19
CN202211141479.1A CN117764565A (en) 2022-09-19 2022-09-19 Bar code information processing method, electronic device, and computer-readable medium

Publications (1)

Publication Number Publication Date
WO2024060655A1 true WO2024060655A1 (en) 2024-03-28

Family

ID=90322492

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/095845 WO2024060655A1 (en) 2022-09-19 2023-05-23 Bar code information processing method, electronic device, and computer readable medium

Country Status (2)

Country Link
CN (1) CN117764565A (en)
WO (1) WO2024060655A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107392586A (en) * 2017-06-16 2017-11-24 南京维智感网络科技有限公司 Quick Response Code payment system and method based on proximity relation detection
GB2568859A (en) * 2017-09-29 2019-06-05 William Patrick Hennebery Thomas Authentication system
WO2021143280A1 (en) * 2020-01-19 2021-07-22 华为技术有限公司 Method, device, and system for login authentication
KR20220096830A (en) * 2020-12-31 2022-07-07 (주)이스톰 Service identifying and processing method using low distance wireless terminal message

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107392586A (en) * 2017-06-16 2017-11-24 南京维智感网络科技有限公司 Quick Response Code payment system and method based on proximity relation detection
GB2568859A (en) * 2017-09-29 2019-06-05 William Patrick Hennebery Thomas Authentication system
WO2021143280A1 (en) * 2020-01-19 2021-07-22 华为技术有限公司 Method, device, and system for login authentication
KR20220096830A (en) * 2020-12-31 2022-07-07 (주)이스톰 Service identifying and processing method using low distance wireless terminal message

Also Published As

Publication number Publication date
CN117764565A (en) 2024-03-26

Similar Documents

Publication Publication Date Title
US11617073B2 (en) Method enabling migration of a subscription
US11197137B2 (en) Electronic device and method for remotely providing profile to electronic device
JP6135963B2 (en) Method, terminal, server, and system for sharing a virtual SIM card among a plurality of terminals
CN113891302B (en) Method, device and network entity for ending subscription
US20190075117A1 (en) Method for serving location information access requests
JP6096979B2 (en) Identity delegation to devices
KR101938332B1 (en) Method, service server, mobile phone and computer readable recording medium for mobile phone authentication
WO2018072177A1 (en) Method and apparatus for managing embedded universal integrated circuit card euicc
KR20070039850A (en) System and method for location service
KR20160010415A (en) Methods, servers and systems for verifying reported locations of computing devices
US20070032249A1 (en) Location services for and about mobile nodes
US9112903B2 (en) Service discovery
US10904743B2 (en) Methods for automatic bootstrapping of a device
US11172520B2 (en) Connection method and device
CN108924833B (en) Method and equipment for authorizing user equipment to connect wireless access point
CN104365123A (en) Systems and methods for network centric WLAN location of a mobile device
CN113541925A (en) Communication system, method and device
KR20230096062A (en) Service authorization method, communication device and system
US10693912B2 (en) Methods and user equipment for exchanging service capabilities
JP2008242644A (en) User authentication system using position information
WO2013097809A1 (en) Mobile payment method, device and system for server end and client
KR20160084680A (en) Method for authenticating iot device, method for executing iot device authentication, user device and authentication server
WO2023015816A1 (en) Esim device configuration system, method and apparatus, and storage medium
WO2024060655A1 (en) Bar code information processing method, electronic device, and computer readable medium
KR101817114B1 (en) System and method for certifying image data

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: 23866952

Country of ref document: EP

Kind code of ref document: A1