A two-dimensional code recognition method and device, electronic equipment and storage medium
By encrypting user account identifiers and recognizing QR code types through the MEC server, the problem of inaccurate QR code verification in existing technologies is solved, enabling accurate identification and location tracking of abnormal accounts, thereby improving the effectiveness of QR code recognition and the security of public places.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- CHINA UNITED NETWORK COMM GRP CO LTD
- Filing Date
- 2022-12-26
- Publication Date
- 2026-04-21
AI Technical Summary
Existing technologies based on personnel supervision may not be able to accurately verify users' QR codes.
The MEC server receives the user's account identifier, encrypts it to generate encrypted information, determines the QR code type based on the encrypted information, identifies abnormal accounts, and sends the account identifier and location information to the terminal.
It enables accurate recognition of user QR codes, improving the effectiveness of QR code recognition and the security of public places.
Smart Images

Figure CN116582285B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of communication technology, and in particular to a QR code recognition method, device, electronic device, and storage medium. Background Technology
[0002] Currently, relevant regulatory personnel can check a user's QR code to determine whether the user has permission to access a certain location.
[0003] However, the personnel-based approach mentioned above may not be able to accurately verify users' QR codes. Summary of the Invention
[0004] This invention provides a QR code recognition method, device, electronic device, and storage medium, which solves the technical problem that personnel-based methods may not be able to accurately verify users' QR codes in related technologies.
[0005] In a first aspect, the present invention provides a QR code recognition method applied to multi-access edge computing (MEC). The method includes: receiving key parameters of a first account, the key parameters of the first account including an account identifier of the first account; encrypting the account identifier of the first account to generate encrypted information; determining the QR code type of the first account based on the encrypted information; and if the QR code type of the first account is an abnormal QR code, determining that the first account is an abnormal account and sending the account identifier of the first account to the terminal.
[0006] Optionally, the key parameters of the first account also include the tracking area code (TAC) information of the first account, and the QR code recognition method further includes: determining the location information of the first account based on the TAC information of the first account; and sending the location information of the first account to the terminal.
[0007] Optionally, the QR code recognition method further includes: if the QR code type of the first account is a normal QR code, determining whether the location information of the first account exists in the risk location set; if the location information of the first account exists in the risk location set, determining that the first account is an abnormal account.
[0008] Optionally, the MEC server stores a preset correspondence, which includes multiple encrypted information and the QR code type corresponding to each of the multiple encrypted information. Specifically, determining the QR code type of the first account based on the encrypted information may include: determining the QR code type corresponding to the generated encrypted information in the preset correspondence as the QR code type of the first account.
[0009] Secondly, the present invention provides a QR code recognition method applied to a terminal. The method includes: receiving an account identifier of a first account sent by an MEC server, wherein the account identifier of the first account is sent to the terminal by the MEC server when the QR code type of the first account is an abnormal QR code, and the QR code type of the first account is determined by the MEC server after encrypting the account identifier of the first account to generate encrypted information; and displaying the account identifier of the first account.
[0010] Optionally, the QR code recognition method further includes: receiving the location information of the first account sent by the MEC server; and displaying the location information of the first account.
[0011] Thirdly, the present invention provides a QR code recognition device, comprising: a receiving module, a processing module, a determining module, and a sending module; the receiving module is used to receive key parameters of a first account, the key parameters of the first account including an account identifier of the first account; the processing module is used to encrypt the account identifier of the first account to generate encrypted information; the determining module is used to determine the QR code type of the first account based on the encrypted information; the determining module is further used to determine that the first account is an abnormal account if the QR code type of the first account is an abnormal QR code; the sending module is used to send the account identifier of the first account to a terminal.
[0012] Optionally, the key parameters of the first account also include the TAC information of the first account; the determining module is further configured to determine the location information of the first account based on the TAC information of the first account; the sending module is further configured to send the location information of the first account to the terminal.
[0013] Optionally, the determining module is further configured to determine whether the location information of the first account exists in the risk location set when the QR code type of the first account is a normal QR code; the determining module is further configured to determine that the first account is an abnormal account when the location information of the first account exists in the risk location set.
[0014] Optionally, the MEC server stores a preset correspondence, which includes multiple encrypted information and the QR code type corresponding to each of the multiple encrypted information; the determining module is specifically used to determine the QR code type corresponding to the generated encrypted information in the preset correspondence as the QR code type of the first account.
[0015] Fourthly, the present invention provides a QR code recognition device, comprising: a receiving module and a display module; the receiving module is configured to receive an account identifier of a first account sent by an MEC server, wherein the account identifier of the first account is sent to the terminal by the MEC server when the QR code type of the first account is an abnormal QR code, and the QR code type of the first account is determined by the MEC server after encrypting the account identifier of the first account to generate encrypted information; the display module is configured to display the account identifier of the first account.
[0016] Optionally, the receiving module is further configured to receive the location information of the first account sent by the MEC server; the display module is further configured to display the location information of the first account.
[0017] Fifthly, the present invention provides an electronic device, comprising: a processor and a memory configured to store processor-executable instructions; wherein the processor is configured to execute the instructions to implement any of the optional QR code recognition methods in the first aspect above, or to implement any of the optional QR code recognition methods in the second aspect above.
[0018] In a sixth aspect, the present invention provides a computer-readable storage medium storing instructions that, when executed by an electronic device, enable the electronic device to perform any of the optional QR code recognition methods in the first aspect or any of the optional QR code recognition methods in the second aspect.
[0019] The present invention provides a QR code recognition method, apparatus, electronic device, and storage medium. An MEC server can receive key parameters of a first account, including the account identifier of the first account. The MEC server can then encrypt the account identifier to generate encrypted information and determine the QR code type of the first account based on this encrypted information. If the QR code type of the first account is an abnormal QR code, it indicates that the first account is in an abnormal state. The MEC server can determine that the first account is an abnormal account and send the account identifier of the first account to the terminal. In practice, the MEC server can determine the account type of an account based on the encrypted information corresponding to the account identifier, and determine whether the account is an abnormal account based on the account type, thus accurately and effectively recognizing user QR codes and improving the effectiveness of QR code recognition. Attached Figure Description
[0020] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the accompanying drawings used in the description of the embodiments or the prior art will be briefly introduced below.
[0021] Figure 1 This is a schematic diagram of the network architecture of a 5G communication system provided in an embodiment of the present invention;
[0022] Figure 2 This is a schematic diagram of the network architecture of the QR code recognition system provided in an embodiment of the present invention;
[0023] Figure 3 A flowchart illustrating a QR code recognition method provided in an embodiment of the present invention;
[0024] Figure 4 A flowchart illustrating another QR code recognition method provided in an embodiment of the present invention;
[0025] Figure 5 A flowchart illustrating another QR code recognition method provided in an embodiment of the present invention;
[0026] Figure 6 A flowchart illustrating another QR code recognition method provided in an embodiment of the present invention;
[0027] Figure 7 This is a schematic diagram of the structure of a QR code recognition device provided in an embodiment of the present invention;
[0028] Figure 8 This is a schematic diagram of another QR code recognition device provided in an embodiment of the present invention;
[0029] Figure 9 This is a schematic diagram of another QR code recognition device provided in an embodiment of the present invention;
[0030] Figure 10 This is a schematic diagram of another QR code recognition device provided in an embodiment of the present invention. Detailed Implementation
[0031] The QR code recognition method, apparatus, electronic device, and storage medium provided in the embodiments of the present invention will now be described in detail with reference to the accompanying drawings.
[0032] The terms "first" and "second," etc., used in the specification and drawings of this application are used to distinguish different objects, rather than to describe a specific order of objects.
[0033] Furthermore, the terms “comprising” and “having”, and any variations thereof, used in the description of this application are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or apparatus that includes a series of steps or units is not limited to the steps or units listed, but may optionally include other steps or units not listed, or may optionally include other steps or units inherent to such processes, methods, products, or apparatus.
[0034] It should be noted that in the embodiments of the present invention, the words "exemplary" or "for example" are used to indicate that they are examples, illustrations, or descriptions. Any embodiment or design that is described as "exemplary" or "for example" in the embodiments of the present invention should not be construed as being more preferred or advantageous than other embodiments or design options. Specifically, the use of the words "exemplary" or "for example" is intended to present the relevant concepts in a specific manner.
[0035] The term "and / or" as used in this application includes using either one of two methods or using both methods simultaneously.
[0036] In the description of this application, unless otherwise stated, "a plurality of" means two or more.
[0037] As described in the background section, manual verification of user QR codes may not be accurate in related technologies. Therefore, this invention provides a QR code recognition method, apparatus, electronic device, and storage medium. The MEC server can determine the account type based on the encrypted information corresponding to the account identifier of an account, and determine whether the account is an abnormal account based on the account type. This enables accurate and effective QR code recognition, improving the effectiveness of QR code recognition.
[0038] The QR code recognition method, apparatus, electronic device, and storage medium provided in this invention can be applied to wireless communication systems. For example, a 5G communication system is used as an example. Figure 1This is a schematic diagram of the network architecture of a 5G communication system provided in an embodiment of the present invention. The 5G communication system may include user equipment (UE) 101, radio access network (RAN) equipment or access network (AN) equipment 102, user plane function (UPF) 103, access and mobility management function (AMF) 104, session management function (SMF) 105, policy control function (PCF) 106, authentication server function (AUSF) 107, network function repository function (NRF) 108, application function (AF) 109, network exposure function (NEF) 110, unified data management (UDM) 111, and network slice selection function (NSSF) 112, etc. UE 101 accesses the 5G network (i.e., UE 101 accesses a 5G system that provides 5G network access) and establishes a session with the network. Then, UE 101 can communicate with the functions that serve UE 101 (such as UPF 103, AMF 104, etc.) through (R)AN device 102. Typically, in practical applications, the connection between the above-mentioned devices or service functions can be a wireless connection or a wired connection. To conveniently and intuitively illustrate the connection relationship between the various devices, Figure 1 Solid lines are used to represent the meaning.
[0039] The (R)AN device 102 is used by UE 101 to access the network. The (R)AN device 102 may include base stations, evolved node base stations (eNB), next-generation node base stations (gNB), new radio eNBs, macro base stations, micro base stations, high-frequency base stations or transmission and reception points (TRP), non-3GPP access networks (such as WiFi), and / or non-3GPP interworking functions (N3IWF), etc.
[0040] UPF 103: Used to handle user plane related events, such as transmitting or routing data packets, detecting data packets, reporting traffic volume, handling quality of service (QoS), lawful interception, and storing downlink data packets. In this embodiment of the invention, UPF 103 can send key parameters of a first account to the MEC server (not shown in the figure), the key parameters of which include the account identifier of the first account.
[0041] AMF 104: Used for connection management, mobility relationships, registration management, access authentication and authorization, reachability management, and security context management. In this embodiment of the invention, AMF 104 can be the key parameters of the first account sent by UE 101 through (R)AN device 102.
[0042] SMF 105: Used for session management (e.g., session establishment, modification, and release), selection and control of UPF 103, selection of service and session continuity modes, and roaming services. In this embodiment of the invention, SMF 105 can receive key parameters of the first account sent by AMF 104 and send the key parameters of the first account to UPF 103.
[0043] PCF 106: Used for formulating strategies, providing strategy control services, and obtaining contractual information related to strategy decisions.
[0044] AUSF 107: Used to interact with UDM 111 to obtain user information and perform authentication-related functions, such as generating intermediate keys.
[0045] NRF 108: Network function text for service discovery, maintaining examples of available network functions, and the services supported by these network functions.
[0046] AF 109: Interacts with the 3GPP core network to provide services or servers; for example, it can interact with NEF 110.
[0047] NEF 110: Securely exposes various services and capabilities provided by 3GPP network functions (including content exposure or exposure to third parties), transforms or translates information interacting with AF 109 and information interacting with internal network functions, such as AF service identifiers and content 5G core network information (e.g., network slice selection assistance information). In this embodiment of the invention, NEF 110 can perform access authentication for MEC servers (not shown in the figure).
[0048] UDM 111: Handles authentication information in 3GPP authentication and key negotiation mechanisms, handles user identity information, access authorization, registration and mobility management, subscription management, and short message management.
[0049] NSSF 112: Used to select a set of network slices for UE 101, determine network slice selection protocol information, and determine the AMF set (AMF set refers to a collection of multiple AMFs that can serve UE 101) for UE 101.
[0050] Optionally, in the embodiments of the present invention, each of the above-mentioned functional modules (i.e., UPF 103, AMF 104, SMF 105, PCF 106, AUSF 107, NRF 108, AF 109, NEF 110, UDM 111, and NSSF 112) can be integrated on the server to realize their functions.
[0051] In combination with the above Figure 1 The 5G communication system shown in the figure, such as Figure 2 As shown, the QR code recognition method, apparatus, electronic device, and storage medium provided in this embodiment of the invention can be applied to a QR code recognition system. Figure 2 As shown, the QR code recognition system includes a UE 101, an (R)AN device 102, a server 201, and a terminal 202. Typically, in practical applications, the connection between these devices or service functions can be wireless. To conveniently and intuitively illustrate the connection relationships between the devices, Figure 2 The diagram uses solid lines. Specifically, server 201 can be a functional network element in the 5G core network (5GC).
[0052] Among them, UE 101 can send data to the AMF in 5GC (e.g., via (R)AN device 102) through (R)AN device 102. Figure 1 The AMF 104 in the 5GC sends the key parameters of the first account, and then the UPF in the 5GC (e.g., Figure 1 The UPF 103 in the first account can send the key parameters of the first account to the server 201. The key parameters of the first account include the account identifier of the first account.
[0053] After receiving the account identifier of the first account, server 201 can encrypt the account identifier to generate encrypted information and determine the QR code type of the first account based on the encrypted information. Additionally, server 201 can also send the account identifier of the first account to terminal 202 via (R)AN device 102.
[0054] After receiving the account identifier of the first account, the terminal 202 can display the account identifier of the first account.
[0055] For example, an electronic device that performs the QR code recognition method provided in the embodiments of the present invention (e.g., the one described above) Figure 2 The terminal 202 shown can be a mobile phone, tablet computer, desktop computer, laptop computer, handheld computer, notebook computer, ultra-mobile personal computer (UMPC), netbook, as well as cellular phone, personal digital assistant (PDA), augmented reality (AR) / virtual reality (VR) device. This embodiment of the invention does not impose special limitations on the specific form of the electronic device. It can interact with the user through one or more methods such as a keyboard, touchpad, touchscreen, remote control, voice interaction, or handwriting device.
[0056] Optionally, the above-mentioned electronic devices (e.g., the above-mentioned...) Figure 2 The server 201 shown can be an independent physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery network (CDN) services, and big data and artificial intelligence platforms.
[0057] In combination with the above Figure 2The QR code recognition system shown below will be described in its entirety from the perspective of the interaction between various devices in the QR code recognition system. This will illustrate the process by which the MEC server determines whether the first account is an abnormal account and the process by which the terminal displays the account identifier of the first account.
[0058] like Figure 3 As shown, the QR code recognition method provided in this embodiment of the invention may include S101-S106.
[0059] S101, the MEC server receives the key parameters of the first account.
[0060] The key parameters of the first account include the account identifier of the first account.
[0061] Based on the description of the above embodiments, it should be understood that the UE corresponding to (or using) the first account can send the key parameters of the first account to the AMF through the (R)AN device. After receiving the key parameters of the first account, the AMF can send the key parameters of the first account to the SMF. After receiving the key parameters of the first account, the SMF can send the key parameters of the first account to the UPF. After receiving the key parameters of the first account, the UPF can send the key parameters of the first account to the MEC server.
[0062] Specifically, when the first account carries the UE into the service area of the (R)AN device (such as a shopping mall or subway station), the UE will send a tracking area update (TAU) procedure. Furthermore, the UE can initiate a protocol data unit (PDU) session request to send the aforementioned key parameters to the network element devices in the 5GC.
[0063] For example, the account identifier of the first account can be the mobile directory number (MDN) of the first account or the identifier of the subscriber identity module (SIM) card of the first account.
[0064] Optionally, NEF can authenticate and identify the MEC server for access. If the authentication is successful, the MEC server can receive the key parameters of the first account.
[0065] S102, the MEC server encrypts the account identifier of the first account and generates encrypted information.
[0066] It should be understood that the MEC server encrypts the account identifier of the first account to protect account privacy and prevent the leakage of account information.
[0067] S103 and MEC servers determine the QR code type of the first account based on encrypted information.
[0068] In one implementation of this invention, the MEC server stores a preset correspondence, which includes multiple encrypted information items and a QR code type corresponding to each of the multiple encrypted information items. Combined with... Figure 3 ,like Figure 4 As shown, the MEC server determines the QR code type of the first account based on encrypted information, which may specifically include S1031.
[0069] S1031, The MEC server will determine the QR code type corresponding to the generated encrypted information in the preset correspondence as the QR code type of the first account.
[0070] Based on the description of the above embodiments, it should be understood that the generated encrypted information is encrypted information generated by the MEC server encrypting the account identifier of the first account.
[0071] For example, Table 1 below is an example of a preset correspondence provided in an embodiment of the present invention.
[0072] Table 1
[0073] Encrypted information QR code type Encrypted message 1 Abnormal QR code Encrypted message 2 Normal QR code Encrypted message 3 Abnormal QR code Encrypted message 4 Normal QR code
[0074] Assuming the generated encrypted information is encrypted information 4, the MEC server determines that the QR code type of the first account is a normal QR code.
[0075] In another implementation of this invention, the MEC server can also send the generated encrypted information to the QR code system. After receiving the encrypted information, the QR code system can decrypt it to obtain the account identifier of the first account. Then, the QR code system can determine the QR code type corresponding to the account identifier of the first account, which is the QR code type of the first account. The QR code system can then send the QR code type of the first account to the MEC server.
[0076] S104. If the QR code type of the first account is an abnormal QR code, the MEC server determines that the first account is an abnormal account and sends the account identifier of the first account to the terminal.
[0077] It should be understood that an account's QR code can be either an abnormal QR code or a normal QR code. If the QR code for the first account is an abnormal QR code, it indicates that the first account is in an abnormal situation, and the MEC server can identify the first account as an abnormal account.
[0078] In one alternative implementation, the color of a normal QR code can be a preset color (e.g., green), while the color of an abnormal QR code can be another color (e.g., red or yellow).
[0079] Understandably, the MEC server can send the account identifier of the abnormal account to the terminal so that the terminal can display the account identifier of the abnormal account.
[0080] Optionally, if the QR code type of the first account is a normal QR code, the MEC server can determine that the first account is a normal account.
[0081] S105, The terminal receives the first account information sent by the MEC server.
[0082] Based on the description of the above embodiments, it should be understood that the account identifier of the first account is sent to the terminal by the MEC server when the QR code type of the first account is an abnormal QR code. The QR code type of the first account is determined by the MEC server based on encrypted information, which is generated by the MEC server through encryption processing of the account identifier of the first account.
[0083] S106. The terminal displays the account identifier of the first account.
[0084] Understandably, the terminal displays the account identifier of the first account so that on-site supervisors in public places can accurately identify the account identifier of the abnormal account and thus monitor the abnormal account (i.e., the first account). For example, prohibiting entry into public places.
[0085] Optionally, the terminal can display the account identifier of the first account in an anonymized manner to avoid disclosing the privacy information of the first account. For example, when the account identifier of the first account is the MDN of the first account, the terminal can only display the last four digits of the MDN.
[0086] The technical solution provided by the above embodiments can bring at least the following beneficial effects: As shown in S101-S106, the MEC server can receive key parameters of the first account, including the account identifier of the first account; then the MEC server can encrypt the account identifier of the first account to generate encrypted information, and determine the QR code type of the first account based on the encrypted information. If the QR code type of the first account is an abnormal QR code, it indicates that the first account is in an abnormal state. The MEC server can determine that the first account is an abnormal account and send the account identifier of the first account to the terminal. In this embodiment of the invention, the MEC server can determine the account type of an account based on the encrypted information corresponding to the account identifier of an account, and determine whether the account is an abnormal account based on the account type, which can accurately and effectively identify the user's QR code and improve the effectiveness of QR code recognition.
[0087] In addition, after receiving the account identifier of the first account sent by the MEC server, the terminal can display that account identifier. This ability to accurately and effectively identify which accounts are abnormal improves the effectiveness of content display and further ensures the security of public places.
[0088] In one implementation of this invention, the key parameters of the first account further include the TAC information of the first account. (Combined with...) Figure 3 ,like Figure 5 As shown, the QR code recognition method provided in this embodiment of the invention may further include S107-S110.
[0089] S107. The MEC server determines the location information of the first account based on the TAC information of the first account.
[0090] In this embodiment of the invention, the TAC information of the first account can also be understood as a list of base stations corresponding to the first account. The list of base stations may include the identifiers of multiple base stations, which are base stations that provide services to the first account.
[0091] Optionally, the MEC server can determine the location information of the first account based on the multiple input multiple output (MIMO) multi-beam characteristics of the base station, and based on indoor positioning technologies such as round trip time (RTT), time difference of arrival (TDOA), angle of arrival (AOA), and departure angle of arrival (DOA) of the cell.
[0092] S108, the MEC server sends the location information of the first account to the terminal.
[0093] S109. The terminal receives the location information of the first account sent by the MEC server.
[0094] S110, The terminal displays the location information of the first account.
[0095] In this embodiment of the invention, the terminal displays the location information of the first account. On the one hand, supervisors in public places can determine the location information that the first account has previously passed through (or arrived at); on the other hand, supervisors can quickly determine the current location information of the first account in order to find the first account as soon as possible.
[0096] Combination Figure 3 ,like Figure 6 As shown, the QR code recognition method provided in this embodiment of the invention may further include S111-S112.
[0097] S111. If the QR code type of the first account is a normal QR code, the MEC server determines whether the location information of the first account exists in the risk location set.
[0098] It should be understood that this set of risky locations includes at least one location information. The location information included in this set of risky locations is used to characterize locations that are off-limits or have a high risk level.
[0099] Understandably, if the QR code type of the first account is a normal QR code, it means that the first account is in a normal state. At this time, the MEC server can determine whether the location information of the first account exists in the risk location set.
[0100] S112. If the location information of the first account exists in the risk location set, the MEC server determines that the first account is an abnormal account.
[0101] It should be understood that if the location information of the first account exists in the risk location set, it means that the location information of the first account is a location that is prohibited from access or has a high risk level. At this time, the MEC server can determine that the first account is an abnormal account.
[0102] Understandably, after the MEC server determines that the first account is an abnormal account, the MEC server can also send the account identifier of the first account to the terminal.
[0103] Optionally, if the location information of the first account exists in the risk location set, the MEC server determines that the first account is a normal account.
[0104] In this embodiment of the invention, the MEC server and terminal can be divided into functional modules according to the above method example. For example, each function can be divided into its own functional module, or two or more functions can be integrated into one processing module. The integrated module can be implemented in hardware or as a software functional module. It should be noted that the module division in this embodiment is illustrative and only represents one logical functional division; other division methods may be used in actual implementation.
[0105] When dividing each function into modules according to its corresponding function. Figure 7 A possible structural schematic diagram of the QR code recognition device involved in the above embodiments is shown, such as... Figure 7 As shown, the QR code recognition device 30 may include: a receiving module 301, a processing module 302, a determining module 303, and a sending module 304.
[0106] The receiving module 301 is used to receive key parameters of the first account, including the account identifier of the first account.
[0107] The processing module 302 is used to encrypt the account identifier of the first account and generate encrypted information.
[0108] The determination module 303 is used to determine the QR code type of the first account based on the encrypted information;
[0109] The determination module 303 is also used to determine that the first account is an abnormal account if the QR code type of the first account is an abnormal QR code.
[0110] The sending module 304 is used to send the account identifier of the first account to the terminal.
[0111] Optionally, the key parameters of the first account may also include the TAC information of the first account.
[0112] The determination module 303 is also used to determine the location information of the first account based on the TAC information of the first account.
[0113] The sending module 304 is also used to send the location information of the first account to the terminal.
[0114] Optionally, the determining module 303 is further configured to determine whether the location information of the first account exists in the risk location set if the QR code type of the first account is a normal QR code.
[0115] The determination module 303 is also used to determine that the first account is an abnormal account if the location information of the first account exists in the risk location set.
[0116] Optionally, the MEC server stores a preset mapping relationship, which includes multiple encrypted information and the QR code type corresponding to each of the multiple encrypted information.
[0117] The determination module 303 is specifically used to determine the QR code type corresponding to the generated encrypted information in the preset correspondence as the QR code type of the first account.
[0118] When using integrated units, Figure 8 A possible structural schematic diagram of the QR code recognition device involved in the above embodiments is shown. For example... Figure 8 As shown, the QR code recognition device 40 may include a processing module 401 and a communication module 402. The processing module 401 can be used to control and manage the operation of the QR code recognition device 40. The communication module 402 can be used to support communication between the QR code recognition device 40 and other entities. Optionally, as shown... Figure 8 As shown, the QR code recognition device 40 may also include a storage module 403 for storing the program code and data of the QR code recognition device 40.
[0119] The processing module 401 can be a processor or a controller. The communication module 402 can be a transceiver, transceiver circuit, or communication interface, etc. The storage module 403 can be a memory.
[0120] In this configuration, when the processing module 401 is a processor, the communication module 402 is a transceiver, and the storage module 403 is a memory, the processor, transceiver, and memory can be connected via a bus. The bus can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc.
[0121] When dividing each function into modules according to its corresponding function. Figure 9 A possible structural schematic diagram of the QR code recognition device involved in the above embodiments is shown, such as... Figure 9 As shown, the QR code recognition device 50 may include a receiving module 501 and a display module 502.
[0122] The receiving module 501 is used to receive the account identifier of the first account sent by the MEC server. The account identifier of the first account is sent to the terminal by the MEC server when the QR code type of the first account is an abnormal QR code. The QR code type of the first account is determined by the MEC server after encrypting the account identifier of the first account to generate encrypted information.
[0123] Display module 502 is used to display the account identifier of the first account.
[0124] Optionally, the receiving module 501 is also configured to receive the location information of the first account sent by the MEC server.
[0125] The display module 502 is also used to display the location information of the first account.
[0126] When using integrated units, Figure 10 A possible structural schematic diagram of the QR code recognition device involved in the above embodiments is shown. For example... Figure 10 As shown, the QR code recognition device 60 may include a processing module 601 and a communication module 602. The processing module 601 can be used to control and manage the operation of the QR code recognition device 60. The communication module 602 can be used to support communication between the QR code recognition device 60 and other entities. Optionally, as shown... Figure 10 As shown, the QR code recognition device 60 may also include a storage module 603 for storing the program code and data of the QR code recognition device 60.
[0127] The processing module 601 can be a processor or a controller. The communication module 602 can be a transceiver, transceiver circuit, or communication interface, etc. The storage module 603 can be a memory.
[0128] In this configuration, when the processing module 601 is a processor, the communication module 602 is a transceiver, and the storage module 603 is a memory, the processor, transceiver, and memory can be connected via a bus. The bus can be a PCI bus or an EISA bus, etc. The bus can be categorized as an address bus, data bus, control bus, etc.
[0129] It should be understood that, in various embodiments of the present invention, the sequence number of each process does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
[0130] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this invention.
[0131] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.
[0132] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0133] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented using software programs, implementation can be, in whole or in part, in the form of a computer program product. This computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present invention are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium accessible to a computer or a data storage device containing one or more servers, data centers, etc., that can be integrated with the medium. The available media can be magnetic media (e.g., floppy disks, hard disks, magnetic tapes), optical media (e.g., DVDs), or semiconductor media (e.g., solid-state drives (SSDs)).
[0134] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in the present invention should be included within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.
Claims
1. A QR code recognition method, characterized in that, The method, applied to multi-access edge computing (MEC) servers, includes: Receive key parameters of the first account, including the account identifier of the first account; The account identifier of the first account is encrypted to generate encrypted information; Based on the encrypted information, determining the QR code type of the first account includes: determining the QR code type corresponding to the generated encrypted information in the preset correspondence as the QR code type of the first account; the MEC server stores a preset correspondence, which includes multiple encrypted information and the QR code type corresponding to each of the multiple encrypted information. If the QR code type of the first account is an abnormal QR code, the first account is determined to be an abnormal account, and the account identifier of the first account is sent to the terminal. The key parameters of the first account also include the tracking area code (TAC) information of the first account, and the method further includes: Based on the TAC information of the first account, determine the location information of the first account; The location information of the first account is sent to the terminal.
2. The QR code recognition method according to claim 1, characterized in that, The method further includes: If the QR code type of the first account is a normal QR code, determine whether the location information of the first account exists in the risk location set; If the location information of the first account exists in the set of risk locations, the first account is determined to be an abnormal account.
3. A QR code recognition method, characterized in that, Applied to a terminal, the method includes: The system receives an account identifier for a first account sent by a Multi-Access Edge Computing (MEC) server. This account identifier is sent to the terminal by the MEC server when the QR code type of the first account is an abnormal QR code. The QR code type of the first account is determined by the MEC server after encrypting the account identifier to generate encrypted information. The MEC server is configured to: receive key parameters of the first account; determine the location information of the first account based on its Tracking Area Code (TAC) information; send the location information of the first account to the terminal; and determine the QR code type corresponding to the generated encrypted information in a preset correspondence as the QR code type of the first account. The key parameters of the first account also include the TAC information of the first account. The MEC server stores a preset correspondence, which includes multiple encrypted information items and the QR code type corresponding to each of the multiple encrypted information items. The system also displays the account identifier of the first account.
4. The QR code recognition method according to claim 3, characterized in that, The method further includes: Receive the location information of the first account sent by the MEC server; Display the location information of the first account.
5. A QR code recognition device, characterized in that, include: The module consists of a receiving module, a processing module, a determining module, and a sending module. The receiving module is used to receive key parameters of the first account, including the account identifier of the first account; The processing module is used to encrypt the account identifier of the first account and generate encrypted information; The determining module is used to determine the QR code type of the first account based on the encrypted information; The determining module is further configured to determine that the first account is an abnormal account if the QR code type of the first account is an abnormal QR code. The sending module is used to send the account identifier of the first account to the terminal; The key parameters of the first account also include the tracking area code (TAC) information of the first account; The determining module is further configured to determine the location information of the first account based on the TAC information of the first account; The sending module is also used to send the location information of the first account to the terminal; The multi-access edge computing (MEC) server stores a preset correspondence, which includes multiple encrypted information and the QR code type corresponding to each of the multiple encrypted information. The determining module is specifically used to determine the QR code type corresponding to the generated encrypted information in the preset correspondence as the QR code type of the first account.
6. The QR code recognition device according to claim 5, characterized in that, The determining module is further configured to determine whether the location information of the first account exists in the risk location set when the QR code type of the first account is a normal QR code; The determining module is further configured to determine that the first account is an abnormal account if the location information of the first account exists in the risk location set.
7. A QR code recognition device, characterized in that, include: Receive module and display module; The receiving module is used to receive the account identifier of a first account sent by the Multi-Access Edge Computing (MEC) server. The account identifier of the first account is sent by the MEC server to the terminal when the QR code type of the first account is an abnormal QR code. The QR code type of the first account is determined by the MEC server after encrypting the account identifier of the first account to generate encrypted information. The MEC server is used to: receive key parameters of the first account; determine the location information of the first account based on the tracking area code (TAC) information of the first account; send the location information of the first account to the terminal; and determine the QR code type corresponding to the generated encrypted information in the preset correspondence as the QR code type of the first account. The key parameters of the first account also include the TAC information of the first account. The MEC server stores a preset correspondence, which includes multiple encrypted information and the QR code type corresponding to each of the multiple encrypted information. The display module is used to display the account identifier of the first account.
8. The QR code recognition device according to claim 7, characterized in that, The receiving module is also used to receive the location information of the first account sent by the MEC server; The display module is also used to display the location information of the first account.
9. An electronic device, characterized in that, The electronic device includes: processor; A memory configured to store processor-executable instructions; The processor is configured to execute the instructions to implement the QR code recognition method as described in any one of claims 1-2, or to implement the QR code recognition method as described in claim 3 or 4.
10. A computer-readable storage medium storing instructions thereon, characterized in that, When the instructions in the computer-readable storage medium are executed by an electronic device, the electronic device is able to perform the QR code recognition method as described in any one of claims 1-2, or the QR code recognition method as described in claim 3 or 4.
Citation Information
Patent Citations
Health information detection method and system and mobile terminal
CN112261735A
Epidemic prevention information query method and system and electronic equipment
CN115442426A