CN112528179A - Two-dimensional code processing method and system, electronic device and storage medium - Google Patents

Two-dimensional code processing method and system, electronic device and storage medium Download PDF

Info

Publication number
CN112528179A
CN112528179A CN202011453258.9A CN202011453258A CN112528179A CN 112528179 A CN112528179 A CN 112528179A CN 202011453258 A CN202011453258 A CN 202011453258A CN 112528179 A CN112528179 A CN 112528179A
Authority
CN
China
Prior art keywords
dimensional code
identifier
target object
page content
current
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011453258.9A
Other languages
Chinese (zh)
Other versions
CN112528179B (en
Inventor
于磊
崔广宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ctrip Computer Technology Shanghai Co Ltd
Original Assignee
Ctrip Computer Technology Shanghai Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ctrip Computer Technology Shanghai Co Ltd filed Critical Ctrip Computer Technology Shanghai Co Ltd
Priority to CN202011453258.9A priority Critical patent/CN112528179B/en
Publication of CN112528179A publication Critical patent/CN112528179A/en
Application granted granted Critical
Publication of CN112528179B publication Critical patent/CN112528179B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • G06F16/9554Retrieval from the web using information identifiers, e.g. uniform resource locators [URL] by using bar codes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/06009Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking
    • G06K19/06037Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking multi-dimensional coding
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0641Shopping interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Databases & Information Systems (AREA)
  • Finance (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention relates to the technical field of internet, and provides a two-dimensional code processing method, a two-dimensional code processing system, electronic equipment and a storage medium. The two-dimensional code processing method comprises the following steps: generating a two-dimensional code group according to preset two-dimensional code generation information; responding to a two-dimensional code scanned and identified by a first identifier, establishing association between a current two-dimensional code group to which the two-dimensional code belongs and a target object according to the target object bound by the first identifier, and establishing association between the target object and page content according to the page content configured by a terminal of the first identifier; and responding to a current two-dimensional code scanned and identified by the second identifier, obtaining a corresponding target object and page content according to the established association, pushing the corresponding target object and page content to the terminal of the second identifier, and enabling the terminal of the second identifier to jump to the corresponding target object and display the corresponding page content. The invention can improve the use convenience of the two-dimension code, is convenient for the unified management of the two-dimension code and improves the utilization rate of the two-dimension code.

Description

Two-dimensional code processing method and system, electronic device and storage medium
Technical Field
The invention relates to the technical field of internet, in particular to a two-dimensional code processing method, a two-dimensional code processing system, electronic equipment and a storage medium.
Background
Along with the development of the internet, in production and operation activities, merchants can display commodities and collect money through the two-dimensional codes, the two-dimensional codes serve as electronic identifications of the merchants, and users can conveniently link the merchants through the two-dimensional codes.
At present, a specific two-dimensional code is generated for a specific merchant, and after the two-dimensional code is generated, the two-dimensional code fixedly jumps to a configured static page. When the page content corresponding to the two-dimension code needs to be updated, the two-dimension code needs to be regenerated, a large amount of two-dimension codes are wasted, the unified management of the two-dimension codes is not facilitated, and great inconvenience is brought to the use of the two-dimension code.
It is to be noted that the information disclosed in the above background section is only for enhancement of understanding of the background of the invention and therefore may include information that does not constitute prior art that is already known to a person of ordinary skill in the art.
Disclosure of Invention
In view of this, the invention provides a two-dimensional code processing method, a two-dimensional code processing system, an electronic device and a storage medium, which can improve the convenience of using a two-dimensional code, facilitate the unified management of the two-dimensional code, and improve the utilization rate of the two-dimensional code.
One aspect of the present invention provides a method for processing a two-dimensional code, including: generating a two-dimensional code group according to preset two-dimensional code generation information; responding to a two-dimensional code scanned and identified by a first identifier, establishing association between a current two-dimensional code group to which the two-dimensional code belongs and a target object bound by the first identifier, and establishing association between the target object and page content according to the page content configured by a terminal of the first identifier; and responding to a current two-dimensional code scanned and identified by a second identifier, obtaining a corresponding target object and corresponding page content according to the established association, pushing the corresponding target object and the corresponding page content to the terminal of the second identifier, and enabling the terminal of the second identifier to jump to the corresponding target object and display the corresponding page content.
In some embodiments, the terminal of the first recognizer is a merchant terminal of the target object, and the terminal of the second recognizer is a user terminal.
In some embodiments, after the generating the two-dimensional code group, the method further includes: establishing a first server and a second server in communication with each other; said causing a first identifier to establish communication with said first server and said second server in response to said first identifier scanning an identified two-dimensional code; when the current two-dimensional code group to which the two-dimensional code belongs is associated with the target object, adding the established association between the current two-dimensional code group and the target object into a first association relationship of the first server; when the target object is associated with the page content, adding the established association between the target object and the page content into a second association relationship of the second server; and when responding to a current two-dimensional code scanned and identified by a second identifier, respectively acquiring the first association relation and the second association relation from the first server and the second server.
In some embodiments, the second server further manages the first association relationship and the second association relationship, including: updating the first association relation in a delayed manner according to the logout information of a current target object and the verification result of the management end on the logout information, releasing the two-dimensional code group associated with the current target object after the delay is finished, updating the second association relation in real time, and emptying the page content associated with the current target object; and dynamically updating the second association relation according to the configuration information of the current page content and the verification result of the management terminal on the configuration information, and returning the updated current page content when the current page content is accessed next time.
In some embodiments, the scanning the identified two-dimensional code in response to the first identifier comprises: receiving a two-dimensional code scanned and identified by a first identifier, and judging whether the two-dimensional code belongs to a two-dimensional code group; if yes, continuously judging whether the current two-dimensional code group is in the first association relation; if so, continuously judging whether the target object bound by the first recognizer is matched with the target object associated with the current two-dimensional code group in the first association relation; when the first identifier is judged to be absent or matched with the second identifier, the first identifier is communicated with the first server and the second server; and when the judgment result shows that the two-dimensional code groups are not matched, sending out an early warning prompt based on the real-time positioning information of the terminal of the first identifier and the positioning information of the target object associated with the current two-dimensional code group in the first association relation.
In some embodiments, the target object is a hotel, the page content associated with the target object includes a plurality of target pages, and each target page carries a user classification identifier; and when the response to the scanning of the second recognizer is carried out on the identified current two-dimensional code, acquiring the user identification of the terminal of the second recognizer, and acquiring the corresponding target page according to the user classification identification corresponding to the user identification.
In some embodiments, each of the target pages further includes a plurality of sub-pages, and each of the sub-pages carries a time period identifier; when a current two-dimensional code identified by scanning of a second identifier is responded, the current time of a terminal of the second identifier is also obtained, and a corresponding sub-page is obtained according to a time period identifier corresponding to the current time; wherein the page content of the sub-page includes a meal menu item and an open facilities item.
Another aspect of the present invention provides a processing system for a two-dimensional code, configured to implement the processing method according to any of the above embodiments, where the processing system includes: the two-dimensional code generation module is used for generating a two-dimensional code group according to preset two-dimensional code generation information; the first scanning response module is used for responding to a two-dimensional code scanned and identified by a first identifier, establishing association between a current two-dimensional code group to which the two-dimensional code belongs and a target object according to the target object bound by the first identifier, and establishing association between the target object and page content according to the page content configured by a terminal of the first identifier; and the second code scanning response module is used for responding to a current two-dimensional code scanned and identified by the second identifier, obtaining a corresponding target object and corresponding page content according to the established association, pushing the corresponding target object and the corresponding page content to the terminal of the second identifier, and enabling the terminal of the second identifier to jump to the corresponding target object and display the corresponding page content.
Yet another aspect of the present invention provides an electronic device including: a processor; a memory having executable instructions stored therein; when executed by the processor, the executable instructions implement the two-dimensional code processing method according to any of the above embodiments.
Still another aspect of the present invention provides a computer-readable storage medium storing a program that, when executed, implements the two-dimensional code processing method according to any of the above embodiments.
Compared with the prior art, the invention has the beneficial effects that:
the two-dimensional codes can be generated in batch according to preset two-dimensional code generation information, and different two-dimensional code groups can be generated by replacing the two-dimensional code generation information; the first recognizer is adopted to scan and recognize the two-dimensional code, the association between the target object bound by the first recognizer and the two-dimensional code group to which the two-dimensional code scanned and recognized belongs can be established, and the flexible configuration of the target object associated with the two-dimensional code is realized; the page content of the target object associated with the two-dimensional code group can be configured through the terminal of the first identifier, so that flexible configuration of the display content corresponding to the two-dimensional code is realized; therefore, the use convenience of the two-dimension code can be improved, the unified management of the two-dimension code is facilitated, and the use rate of the two-dimension code is improved;
subsequently, the second recognizer is adopted to scan and recognize the two-dimensional code, so that the corresponding target object and the page content can be returned according to the established association, and the terminal of the second recognizer jumps to the corresponding target object and displays the corresponding page content.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention, as claimed.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention. It is obvious that the drawings described below are only some embodiments of the invention, and that for a person skilled in the art, other drawings can be derived from them without inventive effort.
Fig. 1 is a schematic diagram illustrating steps of a two-dimensional code processing method according to an embodiment of the present invention;
fig. 2 is an interaction scene diagram illustrating a two-dimensional code processing method according to an embodiment of the present invention;
FIG. 3 is a flow chart illustrating a response of the first recognizer to scanning recognized two-dimensional codes in an embodiment of the present invention;
FIG. 4 is a diagram illustrating a scenario in which a target object and page content are pushed to a user terminal according to an embodiment of the present invention;
FIG. 5 is a block diagram of a two-dimensional code processing system according to an embodiment of the present invention;
FIG. 6 is a schematic diagram showing a structure of an electronic apparatus according to an embodiment of the present invention; and
fig. 7 is a schematic structural diagram of a computer-readable storage medium according to an embodiment of the present invention.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many 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 convey the concept of example embodiments to those skilled in the art.
Furthermore, the drawings are merely schematic illustrations of the invention and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus their repetitive description will be omitted. Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor devices and/or microcontroller devices.
The step numbers in the following embodiments are merely used to indicate different execution contents, and the execution order between the steps is not strictly limited. The use of "first," "second," and similar terms in the detailed description is not intended to imply any order, quantity, or importance, but rather is used to distinguish one element from another. It should be noted that features of the embodiments of the invention and of the different embodiments may be combined with each other without conflict.
Fig. 1 shows main steps of a two-dimensional code processing method in an embodiment, and referring to fig. 1, the two-dimensional code processing method in the embodiment includes: in step S110, generating a two-dimensional code group according to preset two-dimensional code generation information; in step S120, in response to the two-dimensional code scanned and identified by the first identifier, associating the current two-dimensional code group to which the two-dimensional code belongs with the target object according to the target object bound by the first identifier, and associating the target object with the page content according to the page content configured by the terminal of the first identifier; and in step S130, in response to a current two-dimensional code scanned and identified by the second identifier, obtaining a corresponding target object and a corresponding page content according to the established association, pushing the corresponding target object and the corresponding page content to the terminal of the second identifier, so that the terminal of the second identifier jumps to the corresponding target object and displays the corresponding page content.
The terminal of the first recognizer is a merchant terminal of the target object and can be used for configuring the target object and the page content which are associated with the two-dimensional code. The target object is a specific merchant, such as a hotel merchant. And the terminal of the second recognizer is a user terminal, and page content of the target object associated with the two-dimensional code is obtained through code scanning.
According to the two-dimension code processing method, the two-dimension codes can be generated in batch according to the preset two-dimension code generation information, and different two-dimension code groups can be generated by replacing the two-dimension code generation information; the first recognizer is adopted to scan and recognize the two-dimensional code, the association between the target object bound by the first recognizer and the two-dimensional code group to which the two-dimensional code scanned and recognized belongs can be established, and the flexible configuration of the target object associated with the two-dimensional code is realized; the page content of the target object associated with the two-dimensional code group can be configured through the terminal of the first identifier, so that flexible configuration of the display content corresponding to the two-dimensional code is realized; therefore, the use convenience of the two-dimension code can be improved, the unified management of the two-dimension code is facilitated, and the use rate of the two-dimension code is improved; subsequently, the second recognizer is adopted to scan and recognize the two-dimensional code, so that the corresponding target object and the page content can be returned according to the established association, and the terminal of the second recognizer jumps to the corresponding target object and displays the corresponding page content.
Each step of the two-dimensional code processing method is described in detail below with reference to the interaction scenario shown in fig. 2.
In step S110, a two-dimensional code generation rule, such as https:// m.ctrip.com/w/{ code }. html, is predefined, where code is a replaceable part, and then the two-dimensional code is generated in batch. After the two-dimensional code is generated, the two-dimensional code can be arranged on a specific two-dimensional code medium to form a card, a door sticker and the like. When other two-dimensional codes need to be generated, the replaceable part code is replaced, and different two-dimensional codes can be generated.
In step S120, the association between the two-dimensional code and the target object and the association between the target object and the page content may be established through the first server and the second server. Specifically, after the generating the two-dimensional code group, the method further includes: a first server 210 and a second server 220 are established in communication with each other. The first server 210 is mainly used for interfacing with the terminal of the first recognizer 230 and the terminal of the second recognizer 240, and the second server 220 may be used for background management.
When the identified two-dimensional code is scanned in response to the first recognizer 230, the first recognizer 230 is caused to establish communication with the first server 210 and the second server 220, so that the terminal of the first recognizer 230 can configure the target object and the page content associated with the two-dimensional code. The first recognizer 230 is, for example, an EBooking background.
When the current two-dimensional code group to which the two-dimensional code belongs is associated with the target object, the association between the established current two-dimensional code group and the target object is added to the first association relationship of the first server 210, so that the target object associated with the two-dimensional code is configured. In the first association relationship of the first server 210, a plurality of corresponding sets of two-dimensional code groups and target objects are stored, and when a new two-dimensional code is identified by scanning by the first identifier 230, the two-dimensional code group to which the new two-dimensional code belongs and the target object bound by the first identifier 230 can be correspondingly added to the first association relationship.
When the target object is associated with the page content, the established association between the target object and the page content is added to the second association relationship of the second server 220, so that the display content corresponding to the two-dimensional code is configured. In the second association relationship of the second server 220, a plurality of sets of corresponding target objects and page contents are stored, and when a new page content is configured in the first identifier 230, the new page content and the target object bound by the first identifier 230 may be correspondingly added to the second association relationship. The first identifier 230 may also configure a stored page content, and the second server 220 correspondingly updates the configured page content to the second association relationship.
When responding to a current two-dimensional code scanned and identified by the second identifier 240, the first association relationship and the second association relationship are respectively obtained from the first server 210 and the second server 220, and the corresponding target object and the page content are returned to the terminal of the second identifier 240 according to the first association relationship and the second association relationship, so that the terminal of the second identifier 240 can display the page content of the corresponding target object. The second recognizer 240 is software such as WeChat/Payment treasure.
Further, the second server 220 also manages the first association relationship and the second association relationship, including: and updating the first association relation in a delayed manner according to the logout information of a current target object and the verification result of the management terminal 250 on the logout information, releasing the two-dimensional code group associated with the current target object after the delay is finished, updating the second association relation in real time, and emptying the content of the page associated with the current target object. By emptying the page content in time, the page content of the cancelled current target object is ensured not to be wrongly displayed to the user terminal; the two-dimension code group is released in a delayed mode, the subsequent processing time of the two-dimension code group is reserved, the usability of the released two-dimension code is guaranteed, and the released two-dimension code can be used as a new two-dimension code and is associated to other target objects; therefore, idle waste of the two-dimension code can be avoided, and the utilization rate of the two-dimension code is improved.
The second server 220 may further dynamically update the second association relationship according to the configuration information of a current page content and the verification result of the management terminal 250 on the configuration information, and return the updated current page content when the current page content is accessed next time, thereby ensuring that the page content displayed by the accessing user terminal is not affected and enabling the user terminal accessed subsequently to receive the latest page content.
The management end 250 is specifically a management platform for all target objects. The management end 250 may perform verification adjustment on the first association relationship and the second association relationship according to the two-dimensional code management requirement.
Further, in an embodiment, when the first identifier scans the identified two-dimensional code, whether the two-dimensional code belongs to a two-dimensional code group generated according to the two-dimensional code generation rule and the authenticity of the first identifier are also judged, so that it is ensured that the two-dimensional code belongs to the two-dimensional code group which can be uniformly managed, and malicious tampering of a target object and page content corresponding to the two-dimensional code is avoided.
Specifically, referring to fig. 3, a process of scanning an identified two-dimensional code in response to a first identifier includes: step S120-10, receiving a two-dimensional code scanned and identified by the first identifier, and judging whether the two-dimensional code belongs to a two-dimensional code group. Step S120-20, if yes, further judging whether the current two-dimensional code group is in the first association relation; if not, no response may be made. Step S120-30, if yes, namely the current two-dimensional code group is in the first association relationship, continuously judging whether the target object bound by the first recognizer is matched with the target object associated with the current two-dimensional code group in the first association relationship; if not, the process goes directly to step S120-40. In addition, when it is determined that the target object bound by the first identifier matches the target object associated with the current two-dimensional code group in the first association relationship, step S120-40 is also executed, so that the first identifier establishes communication with the first server and the second server, and the first identifier matched with the target object configures the page content of the target object. And S120-50, if the first recognizer is not matched with the target object, sending an early warning prompt based on the real-time positioning information of the terminal of the first recognizer and the positioning information of the target object associated with the current two-dimensional code group in the first association relation so as to prompt the management platform that the behavior of an illegal user for tampering the target object/page content possibly exists, and stopping in time.
In one embodiment, the warning prompt may also be pushed to the terminal of the first recognizer that the target object really matches, for example, to the terminal of the person in charge of the merchant, for timely response.
In step S130, the page content of the target object is displayed in response to the current two-dimensional code scanned and identified by the user terminal. In one embodiment, the target object is a hotel, and the displayed page content comprises hotel introduction and various services provided by the hotel, so that a user can conveniently know the hotel and select the required service, and the user experience is improved.
Specifically, the page content associated with the target object comprises a plurality of target pages, and each target page carries a user classification identifier; when the second recognizer scans and recognizes a current two-dimensional code, the user identification of the terminal of the second recognizer is obtained, and the corresponding target page is obtained according to the user classification identification corresponding to the user identification, so that the target pages skipped by code scanning of different users correspond to the user identification, and the accuracy of the page content received by the users is improved. The user classification identifiers include, for example: VIP member users, general member users, and non-member users.
Furthermore, each target page also comprises a plurality of sub-pages, and each sub-page carries a time period identifier; when responding to a current two-dimensional code scanned and identified by the second identifier, the current time of the terminal of the second identifier is also obtained, and the corresponding sub-page is obtained according to the time period identification corresponding to the current time; wherein the page content of the sub-page comprises a meal menu item and an open facilities item. Therefore, the user can quickly acquire the service provided by the hotel at the current time according to the sub-page skipped by scanning the code, so that the user can conveniently select the service.
Fig. 4 illustrates a scenario of pushing a target object and page content to a user terminal in an embodiment, and referring to fig. 4, in this embodiment, the target object 310 is a hotel W, and the page content 320 associated with the target object 310 includes three target pages corresponding to three types of users, namely, a VIP member user, a general member user, and a non-member user, which are a VIP member target page 330a, a general member target page 330b, and a non-member target page 330c, respectively. Further, each target page also includes three sub-pages corresponding to three time periods, namely a breakfast time period, a daytime time period and a dinner time period. Taking the general affiliate target page 330b as an example, it includes a breakfast time sub-page 340a, a daytime time sub-page 340b, and a dinner time sub-page 340 c. After a user terminal 350 scans the two-dimensional code of the W hotel, the corresponding target object 310 and the corresponding page content 320 are obtained according to the first association relationship and the second association relationship, and then the common member target page 330b matched with the user identifier is located in the page content 320 according to the user identifier of the user terminal 340, and further the daytime sub-page 340b matched with the current time is located in the common member target page 330b according to the current time of the user terminal 340. Therefore, the daytime sub-page 340b of the target object 310 is pushed to the user terminal 340, and the page content of the daytime sub-page 340b includes a plurality of service information such as lunch menu, pool information, entertainment information, etc., so that the user can conveniently select a desired hotel service according to the pushed page content.
In conclusion, the two-dimension code processing method can generate the two-dimension codes rapidly in batches, flexibly configure the target objects and the page contents associated with the two-dimension codes, improve the use convenience of the two-dimension codes, facilitate the unified management of the two-dimension codes and improve the utilization rate of the two-dimension codes; meanwhile, the target object and the page content corresponding to the two-dimension code can be prevented from being maliciously tampered, and the stable use of the two-dimension code is ensured; moreover, the user can conveniently acquire required information by scanning the code, and the user experience is improved.
The embodiment of the invention also provides a two-dimensional code processing system which can be used for realizing the two-dimensional code processing method described in any of the above embodiments. Fig. 5 shows main blocks of a two-dimensional code processing system in an embodiment, and referring to fig. 5, a two-dimensional code processing system 400 in this embodiment includes: a two-dimensional code generation module 410, configured to generate a two-dimensional code group according to preset two-dimensional code generation information; a first scanning response module 420, configured to respond to a two-dimensional code scanned and identified by the first identifier, associate, according to a target object bound by the first identifier, a current two-dimensional code group to which the two-dimensional code belongs with the target object, and associate, according to a page content configured by a terminal of the first identifier, the target object with the page content; and a second code scanning response module 420, configured to respond to a current two-dimensional code scanned and identified by the second identifier, obtain a corresponding target object and corresponding page content according to the established association, and push the corresponding target object and corresponding page content to the terminal of the second identifier, so that the terminal of the second identifier jumps to the corresponding target object and displays the corresponding page content.
Further, the two-dimensional code processing system 400 may further include modules for implementing other flow steps of the foregoing two-dimensional code processing method embodiments, and specific principles of each module may refer to the description of the foregoing two-dimensional code processing method embodiments, and will not be described again here.
As described above, the two-dimension code processing system of the invention can generate two-dimension codes rapidly in batch, flexibly configure target objects and page contents associated with the two-dimension codes, improve the convenience of use of the two-dimension codes, facilitate the unified management of the two-dimension codes, and improve the utilization rate of the two-dimension codes; meanwhile, the target object and the page content corresponding to the two-dimension code can be prevented from being maliciously tampered, and the stable use of the two-dimension code is ensured; moreover, the user can conveniently acquire required information by scanning the code, and the user experience is improved.
The embodiment of the present invention further provides an electronic device, which includes a processor and a memory, where the memory stores executable instructions, and when the executable instructions are executed by the processor, the two-dimensional code processing method described in any of the above embodiments is implemented.
As described above, the electronic device of the invention can generate the two-dimension codes rapidly in batches, flexibly configure the target objects and page contents associated with the two-dimension codes, improve the convenience of using the two-dimension codes, facilitate the unified management of the two-dimension codes, and improve the utilization rate of the two-dimension codes; meanwhile, the target object and the page content corresponding to the two-dimension code can be prevented from being maliciously tampered, and the stable use of the two-dimension code is ensured; moreover, the user can conveniently acquire required information by scanning the code, and the user experience is improved.
Fig. 6 is a schematic structural diagram of an electronic device in an embodiment of the present invention, and it should be understood that fig. 6 only schematically illustrates various modules, and these modules may be virtual software modules or actual hardware modules, and the combination, the splitting, and the addition of the remaining modules of these modules are within the scope of the present invention.
As shown in fig. 6, the electronic device 500 is embodied in the form of a general purpose computing device. The components of the electronic device 500 include, but are not limited to: at least one processing unit 510, at least one memory unit 520, a bus 530 connecting different platform components (including memory unit 520 and processing unit 510), a display unit 540, etc.
Wherein the storage unit stores a program code, which can be executed by the processing unit 510, so that the processing unit 510 performs the steps of the processing method of the two-dimensional code described in any of the above embodiments. For example, processing unit 510 may perform the steps shown in fig. 1 and 3.
The memory unit 520 may include a readable medium in the form of a volatile memory unit, such as a random access memory unit (RAM)5201 and/or a cache memory unit 5202, and may further include a read only memory unit (ROM) 5203.
Storage unit 520 may also include a program/utility 5204 having one or more program modules 5205, such program modules 5205 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
Bus 530 may be one or more of any of several types of bus structures including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
The electronic device 500 may also communicate with one or more external devices 600, and the external devices 600 may be one or more of a keyboard, a pointing device, a bluetooth device, etc. These external devices 600 enable a user to interactively communicate with the electronic device 500. The electronic device 500 can also communicate with one or more other computing devices, including routers, modems. Such communication may occur via input/output (I/O) interfaces 550. Also, the electronic device 500 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the internet) via the network adapter 560. The network adapter 560 may communicate with other modules of the electronic device 500 via the bus 530. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the electronic device 500, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage platforms, to name a few.
The embodiment of the present invention further provides a computer-readable storage medium for storing a program, and when the program is executed, the two-dimensional code processing method described in any of the above embodiments is implemented. In some possible embodiments, the aspects of the present invention may also be implemented in the form of a program product, which includes program code for causing a terminal device to execute the processing method of the two-dimensional code described in any of the above embodiments when the program product runs on the terminal device.
As described above, the computer-readable storage medium of the present invention can generate two-dimensional codes rapidly in batches, flexibly configure target objects and page contents associated with the two-dimensional codes, improve the convenience of using the two-dimensional codes, facilitate the unified management of the two-dimensional codes, and improve the utilization rate of the two-dimensional codes; meanwhile, the target object and the page content corresponding to the two-dimension code can be prevented from being maliciously tampered, and the stable use of the two-dimension code is ensured; moreover, the user can conveniently acquire required information by scanning the code, and the user experience is improved.
Fig. 7 is a schematic structural diagram of a computer-readable storage medium of the present invention. Referring to fig. 7, a program product 700 for implementing the above method according to an embodiment of the present invention is described, which may employ a portable compact disc read only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited in this regard and, in the present document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of readable storage media include, but are not limited to: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
A computer readable storage medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable storage medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a readable storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device, such as through the internet using an internet service provider.
The foregoing is a more detailed description of the invention in connection with specific preferred embodiments and it is not intended that the invention be limited to these specific details. For those skilled in the art to which the invention pertains, several simple deductions or substitutions can be made without departing from the spirit of the invention, and all shall be considered as belonging to the protection scope of the invention.

Claims (10)

1. A two-dimensional code processing method is characterized by comprising the following steps:
generating a two-dimensional code group according to preset two-dimensional code generation information;
responding to a two-dimensional code scanned and identified by a first identifier, establishing association between a current two-dimensional code group to which the two-dimensional code belongs and a target object bound by the first identifier, and establishing association between the target object and page content according to the page content configured by a terminal of the first identifier; and
responding to a current two-dimensional code scanned and identified by a second identifier, obtaining a corresponding target object and corresponding page content according to the established association, pushing the corresponding target object and the corresponding page content to a terminal of the second identifier, and enabling the terminal of the second identifier to jump to the corresponding target object and display the corresponding page content.
2. The process of claim 1, wherein the terminal of the first recognizer is a merchant terminal of the target object and the terminal of the second recognizer is a user terminal.
3. The processing method of claim 1, wherein after generating the two-dimensional code group, further comprising:
establishing a first server and a second server in communication with each other;
said causing a first identifier to establish communication with said first server and said second server in response to said first identifier scanning an identified two-dimensional code;
when the current two-dimensional code group to which the two-dimensional code belongs is associated with the target object, adding the established association between the current two-dimensional code group and the target object into a first association relationship of the first server;
when the target object is associated with the page content, adding the established association between the target object and the page content into a second association relationship of the second server; and
and when the response to the second identifier scans and identifies a current two-dimensional code, respectively acquiring the first incidence relation and the second incidence relation from the first server and the second server.
4. The processing method of claim 3, wherein the second server further manages the first association relationship and the second association relationship, comprising:
updating the first association relation in a delayed manner according to the logout information of a current target object and the verification result of the management end on the logout information, releasing the two-dimensional code group associated with the current target object after the delay is finished, updating the second association relation in real time, and emptying the page content associated with the current target object;
and dynamically updating the second association relation according to the configuration information of the current page content and the verification result of the management terminal on the configuration information, and returning the updated current page content when the current page content is accessed next time.
5. The process of claim 3, wherein said scanning the identified two-dimensional code in response to the first identifier comprises:
receiving a two-dimensional code scanned and identified by a first identifier, and judging whether the two-dimensional code belongs to a two-dimensional code group;
if yes, continuously judging whether the current two-dimensional code group is in the first association relation;
if so, continuously judging whether the target object bound by the first recognizer is matched with the target object associated with the current two-dimensional code group in the first association relation;
when the first identifier is judged to be absent or matched with the second identifier, the first identifier is communicated with the first server and the second server;
and when the judgment result shows that the two-dimensional code groups are not matched, sending out an early warning prompt based on the real-time positioning information of the terminal of the first identifier and the positioning information of the target object associated with the current two-dimensional code group in the first association relation.
6. The processing method of claim 1, wherein the target object is a hotel, the page content associated with the target object comprises a plurality of target pages, and each target page carries a user classification identifier;
and when the response to the scanning of the second recognizer is carried out on the identified current two-dimensional code, acquiring the user identification of the terminal of the second recognizer, and acquiring the corresponding target page according to the user classification identification corresponding to the user identification.
7. The processing method of claim 6, wherein each of said target pages further comprises a plurality of sub-pages, each of said sub-pages carrying a time period identifier;
when a current two-dimensional code identified by scanning of a second identifier is responded, the current time of a terminal of the second identifier is also obtained, and a corresponding sub-page is obtained according to a time period identifier corresponding to the current time;
wherein the page content of the sub-page includes a meal menu item and an open facilities item.
8. A processing system for two-dimensional codes, the processing system being configured to implement the processing method of any one of claims 1 to 7, the processing system comprising:
the two-dimensional code generation module is used for generating a two-dimensional code group according to preset two-dimensional code generation information;
the first scanning response module is used for responding to a two-dimensional code scanned and identified by a first identifier, establishing association between a current two-dimensional code group to which the two-dimensional code belongs and a target object according to the target object bound by the first identifier, and establishing association between the target object and page content according to the page content configured by a terminal of the first identifier; and
and the second code scanning response module is used for responding to a current two-dimensional code scanned and identified by the second identifier, obtaining a corresponding target object and corresponding page content according to the established association, pushing the corresponding target object and the corresponding page content to the terminal of the second identifier, and enabling the terminal of the second identifier to jump to the corresponding target object and display the corresponding page content.
9. An electronic device, comprising:
a processor;
a memory having executable instructions stored therein;
wherein the executable instructions, when executed by the processor, implement the processing method of the two-dimensional code according to any one of claims 1-7.
10. A computer-readable storage medium storing a program, wherein the program is executed to implement the processing method of a two-dimensional code according to any one of claims 1 to 7.
CN202011453258.9A 2020-12-11 2020-12-11 Two-dimensional code processing method, system, electronic equipment and storage medium Active CN112528179B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011453258.9A CN112528179B (en) 2020-12-11 2020-12-11 Two-dimensional code processing method, system, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011453258.9A CN112528179B (en) 2020-12-11 2020-12-11 Two-dimensional code processing method, system, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112528179A true CN112528179A (en) 2021-03-19
CN112528179B CN112528179B (en) 2023-11-14

Family

ID=74998826

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011453258.9A Active CN112528179B (en) 2020-12-11 2020-12-11 Two-dimensional code processing method, system, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112528179B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112732366A (en) * 2021-03-30 2021-04-30 浙江口碑网络技术有限公司 Small program starting system, method and device based on graphic code
CN113435554A (en) * 2021-07-06 2021-09-24 宇宙世代信息技术(深圳)有限公司 Method, device, equipment and medium for managing and displaying information triggered by code scanning
CN113434463A (en) * 2021-06-16 2021-09-24 广州中汇信息科技有限公司 Method for classifying files according to two-dimensional codes
CN113468446A (en) * 2021-07-14 2021-10-01 重庆允成互联网科技有限公司 Method, system and equipment for supporting identification of third-party two-dimensional code data
WO2023020619A1 (en) * 2021-08-20 2023-02-23 上海商汤智能科技有限公司 Content display method and apparatus, device, computer-readable storage medium, computer program and computer program product
CN117574348A (en) * 2024-01-15 2024-02-20 浙江口碑网络技术有限公司 Management method of graphic identification code

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106022399A (en) * 2016-05-06 2016-10-12 庞震伟 Two-dimensional code, two-dimensional code label, two-dimensional code application system formation method and two-dimensional code use method
CN111506809A (en) * 2020-02-23 2020-08-07 北京三快在线科技有限公司 Merchant data processing method, two-dimensional code display method, system and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106022399A (en) * 2016-05-06 2016-10-12 庞震伟 Two-dimensional code, two-dimensional code label, two-dimensional code application system formation method and two-dimensional code use method
CN111506809A (en) * 2020-02-23 2020-08-07 北京三快在线科技有限公司 Merchant data processing method, two-dimensional code display method, system and device

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112732366A (en) * 2021-03-30 2021-04-30 浙江口碑网络技术有限公司 Small program starting system, method and device based on graphic code
CN113434463A (en) * 2021-06-16 2021-09-24 广州中汇信息科技有限公司 Method for classifying files according to two-dimensional codes
CN113435554A (en) * 2021-07-06 2021-09-24 宇宙世代信息技术(深圳)有限公司 Method, device, equipment and medium for managing and displaying information triggered by code scanning
CN113435554B (en) * 2021-07-06 2023-08-18 宇宙世代信息技术(深圳)有限公司 Method, device, equipment and medium for managing and displaying information triggered by code scanning
CN113468446A (en) * 2021-07-14 2021-10-01 重庆允成互联网科技有限公司 Method, system and equipment for supporting identification of third-party two-dimensional code data
WO2023020619A1 (en) * 2021-08-20 2023-02-23 上海商汤智能科技有限公司 Content display method and apparatus, device, computer-readable storage medium, computer program and computer program product
CN117574348A (en) * 2024-01-15 2024-02-20 浙江口碑网络技术有限公司 Management method of graphic identification code
CN117574348B (en) * 2024-01-15 2024-05-10 浙江口碑网络技术有限公司 Management method of graphic identification code

Also Published As

Publication number Publication date
CN112528179B (en) 2023-11-14

Similar Documents

Publication Publication Date Title
CN112528179B (en) Two-dimensional code processing method, system, electronic equipment and storage medium
US20160034558A1 (en) Generating a clustering model and clustering based on the clustering model
US20210329079A1 (en) Methods, devices and computer-readable storage media for processing a hosted application
CN109118160B (en) Information sharing method, device, terminal equipment and medium
CN109936621B (en) Information security multi-page message pushing method, device, equipment and storage medium
CN110309006B (en) Function calling method and device, terminal equipment and storage medium
CN109947408B (en) Message pushing method and device, storage medium and electronic equipment
CN111866537A (en) Information display method and device in live broadcast room, storage medium and electronic equipment
US11888807B2 (en) Mail information display method and apparatus, electronic device, and storage medium
CN111242462B (en) Data processing method and device, computer storage medium and electronic equipment
CN112631910A (en) Front-end testing method and device, computer equipment and storage medium
CN113536185B (en) Application page loading method, storage medium and related equipment
CN114374602B (en) Master control equipment configuration method and device, cloud server and storage medium
CN112202744B (en) Multi-system data communication method and device
CN104301199A (en) Information processing method, device and system
CN114036439A (en) Website building method, device, medium and electronic equipment
CN111611514A (en) Page display method and device based on user login information and electronic equipment
CN111966779A (en) Robot knowledge base management method, system, electronic device and storage medium
CN111191200B (en) Three-party linkage authentication page display method and device and electronic equipment
EP4095686A2 (en) Method for switching skin of mini-program page, and electronic device
CN114724313A (en) Cargo access method, system and device
US20230108637A1 (en) Generating sorted lists of chat bot design nodes using escalation logs
CN109284452A (en) The online methods of exhibiting of electronic protocol, device, electronic equipment, storage medium
CN104636923A (en) Information transmission method, device and system
CN107888478B (en) Voice information forwarding method, device and storage medium in instant messaging process

Legal Events

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