Method, device, equipment and storage medium for binding health code
Through a method of binding health codes, the server-side database searches and sends health codes, the problem of difficulty in obtaining real-time information among the elderly and children is solved, and the convenience of infectious disease prevention and control is achieved and privacy protection is achieved.
Patent Information
- Application Number
- CN202111028153.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-02
- Publication Date
- 2025-04-25
- Estimated Expiration
- 2041-09-02
AI Technical Summary
Because the elderly and children are not strongly dependent on mobile phones, they are difficult to obtain real-time information, which affects the progress of infectious disease prevention and control work.
Through a method of binding a health code, the server receives the client's request, sends authorization instructions to the target personnel, and searches and sends the health code in the database based on the authorization instructions. This method includes dual guarantees of identity information and interpersonal relationships, ensuring the correctness of data interaction and privacy protection.
It has achieved timely access to health codes for the elderly and children, facilitated the prevention and control of infectious diseases, improved user experience, and ensured the privacy and security of target personnel.
Smart Images

Figure CN113948218B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of infectious disease prevention and control, and in particular, relates to a method, device, equipment and storage medium for binding a health code. Background Art
[0002] Currently, health codes will be checked when entering and leaving public places. Some places, such as hospitals, will conduct additional epidemiological investigations and will consider checking the code when passing. Considering that it is inconvenient for the elderly and children to use mobile phones, verification is generally carried out by binding their information.
[0003] However, when conducting epidemiological investigations, the elderly and children are not very dependent on mobile phones, and are unable to obtain real-time information in a timely manner, such as news to find out where they have been, what flights or trains they have taken, etc., which is not conducive to the prevention and control work. Summary of the invention
[0004] The present invention aims to solve one of the technical problems in the related art at least to a certain extent. To this end, one object of the present invention is to propose a method, device, equipment and storage medium for binding a health code.
[0005] In order to solve the above technical problems, the embodiments of the present invention provide the following technical solutions:
[0006] A method for binding a health code, applied to a server, includes:
[0007] Receive the request sent by the client to bind the target person's health code;
[0008] Sending the request to the target person and obtaining the authorization instruction of the target person;
[0009] Based on the authorization instruction, searching in a database;
[0010] If the health code of the target person is found, the health code of the target person is sent to the client.
[0011] Optionally, the request for binding the target person's health code includes:
[0012] The identity information of the target person;
[0013] The identity information includes at least one of the identity card information or mobile phone number information of the target person.
[0014] Optionally, sending the request to the target person and obtaining an authorization instruction from the target person includes:
[0015] Sending the request to the target person based on the identity information of the target person, and obtaining an authorization instruction from the target person;
[0016] Store the identity information of the user requesting binding.
[0017] Optionally, searching in a database based on the authorization instruction includes:
[0018] Based on the authorization instruction, calling a database;
[0019] Based on the identity information, data in the database is searched.
[0020] Optionally, searching for data in the database based on the identity information includes:
[0021] Based on the identity information of the target person, search and obtain the health code of the target person;
[0022] A search is performed based on the identity information of the target person, and when the health code of the target person is not obtained, a health code of the target person is generated.
[0023] Optionally, if the health code of the target person is found, the health code of the target person is sent to the client, including:
[0024] Call the request to bind the user's identity information;
[0025] Determine the receiving address based on the identity information of the user who requested to be bound;
[0026] Based on the receiving address, sending the health code of the target user to the receiving address;
[0027] The binding relationship between the requesting binding person and the target user is recorded.
[0028] An embodiment of the present invention further provides a method for binding a health code, which is applied to a client and includes:
[0029] Send a request to the server to obtain the health code of the target person;
[0030] Obtain the health code of the target person.
[0031] Optionally, before sending a request to the server to obtain the health code of the target person, the process includes:
[0032] Go to the application page;
[0033] Obtain the identity information of the target person and generate a request to obtain the health code of the target person.
[0034] Optionally, after obtaining the health code of the target person, the following steps are included:
[0035] Obtain the updated health code of the target person.
[0036] An embodiment of the present invention further provides a device for binding a health code, which is applied to a server, and includes:
[0037] The receiving module is used to receive the request sent by the client to bind the health code of the target person;
[0038] An acquisition module, used to send the request to the target person and obtain the authorization instruction of the target person;
[0039] A search module, used for searching in a database based on the authorization instruction;
[0040] The sending module is used to send the health code of the target person to the client if the health code of the target person is found.
[0041] An embodiment of the present invention further provides a device for binding a health code, which is applied to a client and includes:
[0042] The request module is used to send a request to the server to obtain the health code of the target person;
[0043] The result module is used to obtain the health code of the target person.
[0044] An embodiment of the present invention further provides an electronic device, comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor implements the method described above when executing the computer program.
[0045] An embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium includes a stored computer program, wherein when the computer program is executed, the device where the computer-readable storage medium is located is controlled to execute the method described above.
[0046] The embodiments of the present invention have the following technical effects:
[0047] The above technical solution of the present invention, 1) in order to ensure accurate acquisition of the health code of the target person, the received information of the health code of the target person is identified, including dual protection of identity information and interpersonal relationship.
[0048] 2) The server conducts targeted searches in the database based on the target person’s identity information, ensuring the accuracy of the search results and improving operational efficiency.
[0049] 3) After the identity information of the target person is verified and consistent with the identity information in the database, the authorization information will be obtained to the target person, ensuring the correctness of data interaction and avoiding sending the wrong health code of the target person. At the same time, it helps users who are inconvenient to use mobile phones to display their health codes in time, facilitates the prevention and control of infectious diseases, and improves the user experience.
[0050] 4) The server identifies the relationship between the target person and the user requesting binding, and based on this determines whether it is necessary to desensitize the health code of the target person, fully ensuring the privacy of the target person; in addition, there are various ways to send and obtain authorization information, which reduces the restrictions on data interaction by the sending method.
[0051] 5) By setting the time threshold for target personnel to provide feedback, the real-time and effectiveness of authorization is ensured.
[0052] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] Figure 1 It is a flow chart of a service side of a method for binding a health code provided by an embodiment of the present invention;
[0054] Figure 2 It is a schematic diagram of a client-side flow chart of a method for binding a health code provided by an embodiment of the present invention;
[0055] Figure 3 It is a block diagram of a method for binding a health code provided by an embodiment of the present invention;
[0056] Figure 4 It is a structural diagram of a server side of a device for binding a health code provided by an embodiment of the present invention;
[0057] Figure 5 It is a structural diagram of the client side of a method for binding a health code provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0058] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present invention, and should not be construed as limiting the present invention.
[0059] like Figure 1 As shown, an embodiment of the present invention provides a method for binding a health code, which is applied to a server, including:
[0060] Step S11: receiving a request sent by the client to bind the health code of the target person;
[0061] Specifically, the request to bind the health code of the target person includes: the identity information of the target person; the identity information includes at least any one of the ID card information or mobile phone number information of the target person.
[0062] Among them, the target person and the user requesting binding have registered and obtained the health code on the client. The server has a database. The server stores the received user's registration information in the database and updates the information stored in the database in real time;
[0063] The latter server can generate a health code according to the target person's instructions for easy binding.
[0064] The server receives in real time the information sent by the client based on the user requesting to bind. When the user requesting to bind needs to bind the health code of the target person, it triggers a request to obtain the health code of the target person.
[0065] In actual application scenarios, the request to obtain the health code of the target person may also include a request to bind the relationship between the user and the target person; for example: mother-daughter relationship, father-son relationship, card-playing friend relationship, etc.
[0066] In this embodiment of the present invention, in order to ensure accurate acquisition of the health code of the target person, the received information of the health code of the target person is identified, including dual protection of identity information and interpersonal relationship.
[0067] Step S12: sending the request to the target person and obtaining the authorization instruction of the target person;
[0068] Specifically, sending the request to the target person and obtaining the authorization instruction of the target person includes: sending the request to the target person based on the identity information of the target person and obtaining the authorization instruction of the target person; and storing the identity information of the user requesting to be bound.
[0069] For example, the target user can reply to the server with a text message of consent or fill in the verification code on the authorization page. The server can set a threshold for the time to receive feedback from the target person. If the threshold is exceeded and the target person's authorization is not received, the server directly informs the user requesting binding that the service has timed out. At this time, the user requesting binding can re-initiate the binding request.
[0070] This embodiment of the present invention ensures the real-time and effectiveness of authorization by setting a time threshold for the target person to feedback information.
[0071] Step S13: searching in a database based on the authorization instruction;
[0072] Specifically, searching in a database based on the authorization instruction includes: calling a database based on the authorization instruction; and searching for data in the database based on the identity information.
[0073] Based on the identity information, the data in the database is searched, including: based on the identity information of the target person, searching to obtain the health code of the target person; based on the identity information of the target person, searching, if the health code of the target person is not obtained, generating the health code of the target person.
[0074] Among them, the identity information of all users bound to the health code is stored in the server's database. Therefore, after the server receives a request to obtain the target person's health code, it will identify key information such as the target person's identity information contained in the request to obtain the target person's health code; or temporarily generate the target user's health code based on the target person's authorization instruction.
[0075] For example, when the server recognizes the mobile phone number of the target person, it compares the mobile phone number with the mobile phone number of the user stored in the database. If the same mobile phone number is found, the next step is executed; if the same mobile phone number is not found, the server directly sends a search failure to the client to inform the user requesting binding, which can be used to prompt the user requesting binding to notify the target person to register first and then bind; or the server temporarily generates a health code for the target person based on the mobile phone number of the target person.
[0076] When the search result is the same mobile phone number or ID card number, take the mobile phone number as the first-level verification information as an example:
[0077] When the server finds the same mobile phone number from the database, it generates an instruction to obtain the target person's authorization information and confirms the method of sending the instruction, such as: through text message, phone call or client notification, etc.; after confirming the sending method, the receiving address of the target person is obtained, and the authorization information is sent to the receiving address; the server can generate a verification code and send the verification code to the target person's mobile phone.
[0078] Take the relationship between the requesting user and the target person as the secondary verification information as an example:
[0079] The server identifies the instruction to obtain the authorization information of the target person, and obtains the relationship between the request-bound user and the target person. For example, if they are mother and daughter, the server directly sends the health code of the target person to the receiving address after obtaining the authorization of the target person, without desensitizing the health code.
[0080] This embodiment of the present invention triggers the acquisition of authorization information to the target person only after the identity information of the acquired target person is checked and consistent with the identity information in the database, thereby ensuring the correctness of data interaction and avoiding sending it to the wrong target person. At the same time, it helps users who are inconvenient to use mobile phones to display their health codes in time, facilitating the prevention and control of infectious diseases; improving user experience; moreover, the server identifies the relationship between the target person and the user requesting binding, and based on this determines whether it is necessary to desensitize the health code of the target person, thereby fully ensuring the privacy of the target person; in addition, there are various ways to send authorization information, which reduces the restrictions on data interaction by the sending method.
[0081] In this embodiment of the present invention, the server performs a targeted search in the database based on the identity information of the target person, thereby ensuring the accuracy of the search result and improving the operation efficiency.
[0082] Step S14: If the health code of the target person is found, the health code of the target person is sent to the client.
[0083] Specifically, if the health code of the target person is found, the health code of the target person is sent to the client, including: calling the identity information of the user requesting binding; determining the receiving address based on the identity information of the user requesting binding; based on the receiving address, sending the health code of the target user to the receiving address; recording the binding relationship between the person requesting binding and the target user.
[0084] Among them, after receiving the feedback information from the target person, the server can verify the feedback information; for example, verify the verification code sent by the target person. If it is consistent with the verification code generated by the server, the target person is authorized successfully; if it is inconsistent with the verification code generated by the server, the target person fails to authorize; when the authorization fails, the target person is prompted that the verification failed; at this time, the target person can re-enter the consent or send the verification code until the verification is successful.
[0085] When the target person is authorized successfully, the server retrieves the target person's health code from the database based on the target person's identity information, and sends the target person's health code to the client so that the requesting bound user can view or display it.
[0086] In this embodiment of the present invention, the server verifies the target person's authorized reply by identifying the target person's feedback information, thereby further ensuring the security of data transmission.
[0087] In an optional embodiment of the present invention, the server monitors the itinerary of the bound user in real time. When the user enters a medium- or high-risk area, the status of the health code will change accordingly, from a normal state to an abnormal state. After receiving the change in the status of the target person's health code, the server first updates and stores the status of the target person's health code; then, the updated health code of the target person is sent to all users who have a binding relationship with the target person, so as to facilitate the smooth progress of prevention and control work.
[0088] Specifically, when the target person carries a mobile phone at all times, when the target person enters a medium- or high-risk area, the server will automatically update the display status of the target person's health code according to the target person's itinerary, and send the updated health code to users who have a binding relationship with the target person.
[0089] When the target personnel are unable to carry a mobile phone at all times, such as the elderly or children, then when these target personnel enter the medium- and high-risk areas, the staff will register the identity information of these target personnel and update it to the server. After receiving the identity information of these target personnel, the server searches the data in the database based on the received identity information and updates the status of the found health code; then searches the database for all users who have a binding relationship with the target personnel, and sends the updated health code of the target personnel to the client. The client updates the health code of the target personnel bound by the requesting binding user in real time, so that the requesting binding user can timely understand the health status or itinerary of the target personnel and display it.
[0090] In an optional embodiment of the present invention, when the server recognizes the card-playing friend relationship from the instruction to obtain the target person and the authorization is successful, the health code of the bound user will be desensitized and only the health code of the target person's health status will be sent to the client, such as normal or abnormal, without displaying information such as the target person's ID card, so as to protect the privacy of the target person.
[0091] like Figure 2 As shown, an embodiment of the present invention also provides a method for binding a health code, which is applied to a client and includes:
[0092] Step S21: Send a request to the server to obtain the health code of the target person;
[0093] Specifically, before sending a request to the server to obtain the health code of the target person, the process includes:
[0094] Go to the application page;
[0095] Obtain the identity information of the target person and generate a request to obtain the health code of the target person.
[0096] Generally, the server confirms the user's health code based on the mobile phone number or ID number. Therefore, there are columns for filling in the ID number and the mobile phone number on the application page; therefore, the user requesting binding can fill in the ID number or mobile phone number of the target person according to his or her needs.
[0097] In addition, a name column, a gender column and a relationship column may be set, wherein the relationship column may be set as a required column; the relationship column may be set with multiple options, such as: poker partner, roommate, mother and son, father and daughter, etc. If the user requesting binding does not fill in the column, the user requesting binding cannot submit the application page;
[0098] When the user requesting binding successfully submits the application page, the client obtains the identity information and other key information of the target person based on the information on the application page, and generates a request for obtaining the health code of the target person based on the identity information and other key information of the target person, and then sends the request to the server.
[0099] Step S22: Obtain the health code of the target person.
[0100] Specifically, after obtaining the health code of the target person, it includes: obtaining the updated health code of the target person.
[0101] Specifically, after successfully obtaining the health code of the target person, the client will generate a prompt to remind the user who requested the binding to check the received health code; for example, the client can prompt in the form of sound or message.
[0102] Generally, when the user requesting binding displays the health code, his or her own health code information will be displayed; after the user requesting binding successfully binds the health code of the target person, he or she can search for his or her own bound user on the client, and then select the bound user to display the health code information of the target person.
[0103] In this embodiment of the present invention, when the user requesting binding needs to bind the health code of other people, the user requesting binding can fill out the application page on the client and submit it. The operation is simple and fast.
[0104] In an optional embodiment of the present invention, a target person can be allowed to be applied for and bound by multiple users who request binding at the same time. For example, when multiple health code users are poker friends, multiple poker friends need to understand each other's health status in order to promptly detect threatening persons to ensure their own safety, while also facilitating the prevention and control of infectious diseases.
[0105] Specifically, each poker player can check each other's health codes based on the client. Each poker player can log in to the application page of the client, fill in the application information, fill in the mobile phone number column and select the poker player relationship.
[0106] The client generates an instruction to obtain the target person based on the mobile phone number on the application page and the relationship with the poker friends, and sends the instruction to the server.
[0107] like Figure 3 Specifically, the above embodiment can be implemented in the following manner:
[0108] 1) The target person registers the health code on the client and obtains his / her own health code;
[0109] 2) The user requesting binding logs in to the client, opens the application page for obtaining the health code of the target person, fills in the relevant information and submits it; the client generates a request for obtaining the health code of the target person based on the information on the application page submitted by the user requesting binding;
[0110] 3) The client sends the instruction to obtain the health code of the bound user to the server. The server identifies the received instruction to obtain the health code of the target person and obtains the identity information (ID number, mobile phone number, etc.) of the target person and the relationship between the target person and the user requesting binding and other key information;
[0111] 4) The server searches the database based on the identified identity information. If the same ID number or mobile phone number can be found, the next step is executed; if the same ID number or mobile phone number cannot be found, the feedback information of the search failure is sent to the user who requested the binding; or the server temporarily generates a health code for the target user;
[0112] 5) When the server successfully finds the identity information of the target person, it generates authorization information and sends the authorization information to the target person. If the target person agrees to be bound, the server replies with consent or a verification code. If the target person disagrees to be bound, the server refuses to reply or disagrees.
[0113] 6) After receiving the authorization from the target person, the server retrieves the health code of the target person from the database, and based on the relationship between the target person and the user requesting binding, sends the health code or health status of the target person to the client, and prompts the user requesting binding to view or display it.
[0114] like Figure 4 As shown, an embodiment of the present invention further provides a device 400 for binding a health code, which is applied to a server and includes:
[0115] The receiving module 401 is used to receive a request for binding a target person's health code sent by a client;
[0116] The acquisition module 402 is used to send the request to the target person and obtain the authorization instruction of the target person;
[0117] A search module 403, used to search in a database based on the authorization instruction;
[0118] The sending module 404 is used to send the health code of the target person to the client if the health code of the target person is found.
[0119] In an optional embodiment of the present invention, the above-mentioned device may also include: an identification module, the server sends the received request for obtaining the health code of the target person to the identification module, the identification module identifies the health code of the target person, obtains the identity information and other key information of the target person, and sends it to the server.
[0120] In an optional embodiment of the present invention, the above-mentioned device may also include: a verification module, the server sends the generated verification code to the verification module, and also sends the verification code subsequently received from the target person to the verification module, and the comparison module verifies the two verifications and sends the verification result to the server.
[0121] In an optional embodiment of the present invention, the above-mentioned device may also include: a desensitizing processing module. When the server identifies unimportant relationships such as card-playing friend relationships, the acquired health code of the target person is sent to the desensitizing processing module, and the desensitizing processing module hides the identity information of the health code, and then sends the desensitizing processing result to the server.
[0122] like Figure 5 As shown, an embodiment of the present invention further provides a device 500 for binding a health code, which is applied to a client and includes:
[0123] Request module 501, used to send a request to the server to obtain the health code of the target person;
[0124] The result module 502 is used to obtain the health code of the target person.
[0125] An embodiment of the present invention further provides an electronic device, comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor implements the method described above when executing the computer program.
[0126] An embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium includes a stored computer program, wherein when the computer program is executed, the device where the computer-readable storage medium is located is controlled to execute the method described above.
[0127] In addition, other structures and functions of the device in the embodiment of the present invention are known to those skilled in the art and will not be described herein in detail to reduce redundancy.
[0128] It should be noted that the logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be specifically implemented in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection portion with one or more wirings (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.
[0129] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0130] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0131] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.
Claims
1. A method for binding a health code, characterized in that: Applied to the server, including: Receive a request for binding a target person's health code sent by a client, the request including the identity information of the target person and the interpersonal relationship between the user requesting binding and the target person, the interpersonal relationship being one of a non-relative relationship and a relative relationship, the identity information including at least one of the ID card information or the mobile phone number information of the target person, the request being generated by receiving information filled in on an application page on the client by the user requesting binding, the application page being provided with an ID card number filling column, a mobile phone number filling column, a name column, a gender column, and a relationship column; wherein one target person is allowed to be applied for and bound by multiple users requesting binding at the same time; Send the request to the target person, and obtain the authorization instruction of the target person within a preset time threshold; or, if the authorization instruction of the target person is not obtained within the time threshold, send a service timeout notification to the client, so that the user requesting binding re-initiates the binding request; Based on the authorization instruction, searching in a database; If the health code of the target person is found, determine whether the health code of the target person needs to be desensitized according to the interpersonal relationship between the request binding user and the target person, and send the health code of the target person after or without desensitization to the client based on the determination result of the desensitization, wherein if the interpersonal relationship is a non-relative relationship, desensitization is performed, and if the interpersonal relationship is a relative relationship, desensitization is not performed; Monitor the itinerary of the target person in real time. When the target person enters a medium-risk or high-risk area, update the status of the health code of the target person, and send the updated health code of the target person to the clients corresponding to all users who have a binding relationship with the target person, so that the client can update and display the health code of the target person bound by the requesting binding user in real time, so that the requesting binding user can timely understand the health status or itinerary of the target person through the updated health code; Wherein, after finding the health code of the target person and before sending the health code of the target person to the client, it also includes: Generate an acquisition instruction for acquiring authorization information of a target person; Obtaining the receiving address of the target person, and sending the verification code generated based on the acquisition instruction to the receiving address through at least one communication method of SMS, phone call and client notification; According to the obtained authorization information of the target person's reply based on the verification code, the health code of the target person is retrieved from the database.
2. The method according to claim 1, characterized in that Sending the request to the target person and obtaining the authorization instruction of the target person includes: Sending the request to the target person based on the identity information of the target person, and obtaining an authorization instruction from the target person; Store the identity information of the user requesting binding.
3. The method according to claim 1, characterized in that The searching in the database based on the authorization instruction comprises: Based on the authorization instruction, calling a database; Based on the identity information, data in the database is searched.
4. The method according to claim 1, characterized in that: Searching the data in the database based on the identity information includes: Based on the identity information of the target person, search and obtain the health code of the target person; A search is performed based on the identity information of the target person, and when the health code of the target person is not obtained, a health code of the target person is generated.
5. The method according to claim 1, characterized in that: If the health code of the target person is found, the health code of the target person is sent to the client, including: Call the request to bind the user's identity information; Determine the receiving address based on the identity information of the user who requested to be bound; Based on the receiving address, sending the health code of the target user to the receiving address; The binding relationship between the requesting binding person and the target user is recorded.
6. A method for binding a health code, characterized in that: Applied to the client, including: Send a request to the server to obtain the health code of the target person; Obtain the health code of the target person sent by the server, wherein the health code of the target person is obtained by the server through the following steps: Receive a request for binding a target person's health code sent by a client, the request including the identity information of the target person and the interpersonal relationship between the user requesting binding and the target person, the interpersonal relationship being one of a non-relative relationship and a relative relationship, the identity information including at least one of the ID card information or the mobile phone number information of the target person, the request being generated by receiving information filled in on an application page on the client by the user requesting binding, the application page being provided with an ID card number filling column, a mobile phone number filling column, a name column, a gender column, and a relationship column; wherein one target person is allowed to be applied for and bound by multiple users requesting binding at the same time; Send the request to the target person, and obtain the authorization instruction of the target person within a preset time threshold; or, if the authorization instruction of the target person is not obtained within the time threshold, send a service timeout notification to the client, so that the user requesting binding re-initiates the binding request; Based on the authorization instruction, searching in a database; If the health code of the target person is found, determine whether the health code of the target person needs to be desensitized according to the interpersonal relationship between the request binding user and the target person, and send the health code of the target person after or without desensitization to the client based on the determination result of the desensitization, wherein if the interpersonal relationship is a non-relative relationship, desensitization is performed, and if the interpersonal relationship is a relative relationship, desensitization is not performed; Monitor the itinerary of the target person in real time. When the target person enters a medium-risk or high-risk area, update the status of the health code of the target person, and send the updated health code of the target person to the clients corresponding to all users who have a binding relationship with the target person, so that the client can update and display the health code of the target person bound by the requesting binding user in real time, so that the requesting binding user can timely understand the health status or itinerary of the target person through the updated health code; Among them, after finding the health code of the target person and before sending the health code of the target person to the client, it also includes: generating an acquisition instruction for obtaining the authorization information of the target person; obtaining the receiving address of the target person, and sending the verification code generated based on the acquisition instruction to the receiving address through at least one communication method including SMS, phone call and client notification; and retrieving the health code of the target person from the database according to the authorization information replied by the target person based on the verification code.
7. The method according to claim 6, characterized in that Before sending a request to the server to obtain the health code of the target person, the following steps are included: Go to the application page; Obtain the identity information of the target person and generate a request to obtain the health code of the target person.
8. The method according to claim 6, characterized in that After obtaining the health code of the target person, including: Obtain the updated health code of the target person.
9. A device for binding a health code, characterized in that: Applied to the server, including: A receiving module is used to receive a request for binding a health code of a target person sent by a client, wherein the request includes the identity information of the target person and the interpersonal relationship between the user requesting binding and the target person, wherein the interpersonal relationship is one of a non-relative relationship and a relative relationship, and the identity information includes at least one of the ID card information or the mobile phone number information of the target person, and the request is generated by receiving the information filled in on the application page of the client by the user requesting binding, and the application page is provided with an ID card number filling column, a mobile phone number filling column, a name column, a gender column and a relationship column; wherein one target person is allowed to be applied and bound by multiple users requesting binding at the same time; The acquisition module is used to: send the request to the target person and obtain the authorization instruction of the target person within a preset time threshold; or, if the authorization instruction of the target person is not obtained within the time threshold, send a service timeout notification to the client, so that the user requesting binding can re-initiate the binding request; A search module, used for searching in a database based on the authorization instruction; A sending module, for determining whether it is necessary to perform desensitization processing on the health code of the target person according to the interpersonal relationship between the request binding user and the target person if the health code of the target person is found, and sending the health code of the target person after desensitization processing or not to the client based on the determination result of the desensitization processing, wherein if the interpersonal relationship is a non-relative relationship, desensitization processing is performed, and if the interpersonal relationship is a relative relationship, desensitization processing is not performed; The sending module is also used to monitor the itinerary of the target person in real time. When the target person enters a medium-risk or high-risk area, the status of the health code of the target person is updated, and the updated health code of the target person is sent to the clients corresponding to all users who have a binding relationship with the target person, so that the client can update and display the health code of the target person bound by the requesting binding user in real time, so that the requesting binding user can timely understand the health status or itinerary of the target person through the updated health code; Wherein, after the sending module finds the health code of the target person and before sending the health code of the target person to the client, the device is further used for: Generate an acquisition instruction for acquiring authorization information of a target person; Obtaining the receiving address of the target person, and sending the verification code generated based on the acquisition instruction to the receiving address through at least one communication method of SMS, phone call and client notification; According to the obtained authorization information of the target person's reply based on the verification code, the health code of the target person is retrieved from the database.
10. A device for binding a health code, characterized in that: Applied to the client, including: The request module is used to send a request to the server to obtain the health code of the target person; The result module is used to obtain the health code of the target person sent by the server, wherein the health code of the target person is obtained by the server through the following steps: Receive a request for binding a target person's health code sent by a client, the request including the identity information of the target person and the interpersonal relationship between the user requesting binding and the target person, the interpersonal relationship being one of a non-relative relationship and a relative relationship, the identity information including at least one of the ID card information or the mobile phone number information of the target person, the request being generated by receiving information filled in on an application page on the client by the user requesting binding, the application page being provided with an ID card number filling column, a mobile phone number filling column, a name column, a gender column, and a relationship column; wherein one target person is allowed to be applied for and bound by multiple users requesting binding at the same time; Send the request to the target person, and obtain the authorization instruction of the target person within a preset time threshold; or, if the authorization instruction of the target person is not obtained within the time threshold, send a service timeout notification to the client, so that the user requesting binding re-initiates the binding request; Based on the authorization instruction, searching in a database; If the health code of the target person is found, determine whether the health code of the target person needs to be desensitized according to the interpersonal relationship between the request binding user and the target person, and send the health code of the target person after or without desensitization to the client based on the determination result of the desensitization, wherein if the interpersonal relationship is a non-relative relationship, desensitization is performed, and if the interpersonal relationship is a relative relationship, desensitization is not performed; Monitor the itinerary of the target person in real time. When the target person enters a medium-risk or high-risk area, update the status of the health code of the target person, and send the updated health code of the target person to the clients corresponding to all users who have a binding relationship with the target person, so that the client can update and display the health code of the target person bound by the requesting binding user in real time, so that the requesting binding user can timely understand the health status or itinerary of the target person through the updated health code; Among them, after finding the health code of the target person and before sending the health code of the target person to the client, it also includes: generating an acquisition instruction for obtaining the authorization information of the target person; obtaining the receiving address of the target person, and sending the verification code generated based on the acquisition instruction to the receiving address through at least one communication method including SMS, phone call and client notification; and retrieving the health code of the target person from the database according to the authorization information replied by the target person based on the verification code.
11. An electronic device, characterized in that: The method comprises a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor implements the method according to any one of claims 1 to 5 or 6 to 8 when executing the computer program.
12. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored computer program, wherein when the computer program is executed, the device where the computer-readable storage medium is located is controlled to execute the method according to any one of claims 1 to 5 or 6 to 8.
Citation Information
Patent Citations
Information providing method and device, information obtaining method and device, server and storage medium
CN111368221A
Method and system for generating health code based on mobile banking
CN113160471A