CN112349428A - Family health code query method and equipment - Google Patents

Family health code query method and equipment Download PDF

Info

Publication number
CN112349428A
CN112349428A CN202011229267.XA CN202011229267A CN112349428A CN 112349428 A CN112349428 A CN 112349428A CN 202011229267 A CN202011229267 A CN 202011229267A CN 112349428 A CN112349428 A CN 112349428A
Authority
CN
China
Prior art keywords
family
health code
user
health
code
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011229267.XA
Other languages
Chinese (zh)
Inventor
杨晖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Lianshang Network Technology Co Ltd
Original Assignee
Shanghai Lianshang Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Lianshang Network Technology Co Ltd filed Critical Shanghai Lianshang Network Technology Co Ltd
Priority to CN202011229267.XA priority Critical patent/CN112349428A/en
Publication of CN112349428A publication Critical patent/CN112349428A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H50/00ICT specially adapted for medical diagnosis, medical simulation or medical data mining; ICT specially adapted for detecting, monitoring or modelling epidemics or pandemics
    • G16H50/80ICT specially adapted for medical diagnosis, medical simulation or medical data mining; ICT specially adapted for detecting, monitoring or modelling epidemics or pandemics for detecting, monitoring or modelling epidemics or pandemics, e.g. flu

Abstract

The embodiment of the application discloses a family health code query method and equipment. One embodiment of the method comprises: receiving a family health code query request sent by a user, wherein the family health code query request comprises an identity of the user; based on the identity of the user, inquiring a family group where the user is located, and determining whether the user has inquiry authority in the family group; if the user has the inquiry authority in the family group, inquiring at least one family member health code of the family group; and sending inquiry response information to the user based on the at least one family member health code. According to the embodiment, the family health code can be obtained without sending the health code of the family member to the user, so that the query operation of the family health code is simplified.

Description

Family health code query method and equipment
Technical Field
The embodiment of the application relates to the technical field of computers, in particular to a family health code query method and equipment.
Background
One epidemic situation in the world changes the aspects of people's life. Also, some changes become long-term mechanisms based on the fact that epidemic situations can coexist with humans for a long period of time. For example, health code management mechanisms based on big data real-time tracking have become a normal state of life. The health codes need to be presented in and out of the crowded environment. Particularly, for the management of students, the daily tracking and statistics of the health condition of each student and family members are needed. Therefore, the parents need to collect the health code screenshots of all family members and send the screenshots to the teacher. Under the current situation, each family member needs to inquire the personal health code and then send the screenshot to one family member, and the family members are then sent to the teacher in a centralized mode. The process requires multiple persons to respectively operate and inquire the health code, the screenshot is sent, the collected screenshot is sent to a teacher, and the operation is tedious.
Disclosure of Invention
The embodiment of the application provides a family health code query method and equipment.
In a first aspect, an embodiment of the present application provides a method for querying a family health code, which is applied to a server and includes: receiving a family health code query request sent by a user, wherein the family health code query request comprises an identity of the user; based on the identity of the user, inquiring a family group where the user is located, and determining whether the user has inquiry authority in the family group; if the user has the inquiry authority in the family group, inquiring at least one family member health code of the family group; and sending inquiry response information to the user based on the at least one family member health code.
In some embodiments, sending the query response information to the user based on the at least one family member health code comprises: and sending the at least one family member health code to the user as query response information.
In some embodiments, sending the query response information to the user based on the at least one family member health code comprises: counting the health status of at least one family member health code; synthesizing a family health code based on the health status of at least one family member health code; and sending the family health code as query response information to the user.
In some embodiments, synthesizing the family health code based on the health status of the at least one family member health code comprises: determining a health status of a highest risk level of at least one family member health code; and taking the health state with the highest risk level as the health state of the family health code, and synthesizing the family health code.
In some embodiments, the method further comprises: acquiring family health code inquiry authorization information, wherein the health code inquiry authorization information comprises an identity of a user with inquiry authority and an identity of at least one bound user; generating a family group including a user having a query right and at least one bound user, and marking the query right of the user having the query right.
In a second aspect, an embodiment of the present application provides a family health code query method, which is applied to a client, and includes: sending a family health code query request to a server, wherein the family health code query request comprises an identity of a user; receiving query response information sent by a server based on at least one family member health code of a family group where a user is located, wherein the user has query authority in the family group; and displaying the family health code of the family group based on the inquiry response information.
In some embodiments, the query response information includes a family health code for the family group.
In some embodiments, the query response information includes at least one family member health code for the family group; and displaying the family health code of the family group based on the query response information, wherein the method comprises the following steps: counting the health status of at least one family member health code; synthesizing a family health code based on the health status of at least one family member health code; and displaying the family health code.
In some embodiments, synthesizing the family health code based on the health status of the at least one family member health code comprises: determining a health status of a highest risk level of at least one family member health code; and taking the health state with the highest risk level as the health state of the family health code, and synthesizing the family health code.
In some embodiments, the method further comprises: and sending the family health code inquiry authorization information to a server, wherein the health code inquiry authorization information comprises the identity of the user and the identity of at least one bound user.
In a third aspect, an embodiment of the present application provides a home health code query device, which is disposed at a server, and includes: the system comprises a receiving unit, a sending unit and a receiving unit, wherein the receiving unit is configured to receive a family health code query request sent by a user, and the family health code query request comprises an identity of the user; the first query unit is configured to query a family group where the user is located based on the identity of the user, and determine whether the user has query authority in the family group; the second query unit is configured to query at least one family member health code of the family group if the user has query authority in the family group; and the sending unit is configured to send the inquiry response information to the user based on the at least one family member health code.
In some embodiments, the sending unit is further configured to: and sending the at least one family member health code to the user as query response information.
In some embodiments, the transmitting unit comprises: a statistics subunit configured to count the health status of the at least one family member health code; a synthesizing subunit configured to synthesize a family health code based on a health status of the at least one family member health code; a transmitting subunit configured to transmit the home health code to the user as inquiry response information.
In some embodiments, the synthesizing subunit is further configured to: determining a health status of a highest risk level of at least one family member health code; and taking the health state with the highest risk level as the health state of the family health code, and synthesizing the family health code.
In some embodiments, the apparatus further comprises: the system comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is configured to acquire family health code inquiry authorization information, and the health code inquiry authorization information comprises an identity of a user with inquiry authority and an identity of at least one bound user; a generating unit configured to generate a family group including a user having a query right and at least one bound user, and mark the query right of the user having the query right.
In a fourth aspect, an embodiment of the present application provides a family health code query device, which is disposed at a client, and includes: the system comprises a first sending unit, a second sending unit and a third sending unit, wherein the first sending unit is configured to send a family health code query request to a server, and the family health code query request comprises an identity of a user; the receiving unit is configured to receive query response information sent by a server based on at least one family member health code of a family group where a user is located, wherein the user has query authority in the family group; a display unit configured to display the family health code of the family group based on the inquiry response information.
In some embodiments, the query response information includes a family health code for the family group.
In some embodiments, the query response information includes at least one family member health code for the family group; and the display unit includes: a statistics subunit configured to count the health status of the at least one family member health code; a synthesizing subunit configured to synthesize a family health code based on a health status of the at least one family member health code; a display subunit configured to display the home health code.
In some embodiments, the synthesizing subunit is further configured to: determining a health status of a highest risk level of at least one family member health code; and taking the health state with the highest risk level as the health state of the family health code, and synthesizing the family health code.
In some embodiments, the apparatus further comprises: and the second sending unit is configured to send the family health code inquiry authorization information to the server, wherein the health code inquiry authorization information comprises the identity of the user and the identity of at least one bound user.
In a fifth aspect, an embodiment of the present application provides a computer device, including: one or more processors; a storage device having one or more programs stored thereon; when executed by one or more processors, cause the one or more processors to implement a method as described in any of the implementations of the first aspect or to implement a method as described in any of the implementations of the second aspect.
In a sixth aspect, the present application provides a computer-readable medium, on which a computer program is stored, which when executed by a processor implements the method described in any of the implementation manners in the first aspect or implements the method described in any of the implementation manners in the second aspect.
According to the method and the device for querying the family health code, under the condition that a family health code query request sent by a user is received, a family group where the user is located is queried based on the identity of the user, and whether the user has query authority in the family group is determined; and under the condition that the user has the inquiry authority in the family group, inquiring at least one family member health code of the family group, and sending inquiry response information to the user based on the at least one family member health code. The family health code can be obtained without the need that family members respectively inquire the own health code and send the health code to the user, so that the inquiry operation of the family health code is simplified.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1 is an exemplary system architecture to which the present application may be applied;
FIG. 2 is a flow chart of a first embodiment of a family health code query method according to the present application;
FIG. 3 is a flow chart of a second embodiment of a family health code query method according to the present application;
FIG. 4 is a flow chart of a third embodiment of a family health code query method according to the present application;
FIG. 5 is a flow chart of a fourth embodiment of a family health code query method according to the present application;
FIG. 6 is a schematic block diagram of a computer system suitable for use in implementing the computer device of an embodiment of the present application.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention. It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
Fig. 1 illustrates an exemplary system architecture 100 to which embodiments of the family health code query method of the present application may be applied.
As shown in fig. 1, devices 101, 102 and network 103 may be included in system architecture 100. Network 103 is the medium used to provide communication links between devices 101, 102. Network 103 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The devices 101, 102 may be hardware devices or software that support network connectivity to provide various network services. When the device is hardware, it can be a variety of electronic devices including, but not limited to, smart phones, tablets, laptop portable computers, desktop computers, servers, and the like. In this case, the hardware device may be implemented as a distributed device group including a plurality of devices, or may be implemented as a single device. When the device is software, the software can be installed in the electronic devices listed above. At this time, as software, it may be implemented as a plurality of software or software modules for providing a distributed service, for example, or as a single software or software module. And is not particularly limited herein.
In practice, a device may provide a respective network service by installing a respective client application or server application. After the device has installed the client application, it may be embodied as a client in network communications. Accordingly, after the server application is installed, it may be embodied as a server in network communications.
As an example, in fig. 1, device 101 is embodied as a client and device 102 is embodied as a server. For example, device 101 may be a client of a target application and device 102 may be a server of the target application.
It should be noted that the family health code query method provided in the embodiment of the present application may be executed by the devices 101 and 102.
It should be understood that the number of networks and devices in fig. 1 is merely illustrative. There may be any number of networks and devices, as desired for implementation.
With continued reference to fig. 2, a flow 200 of a first embodiment of a family health code query method according to the present application is shown. The family health code query method is applied to a server and comprises the following steps:
step 201, receiving a family health code query request sent by a user.
In this embodiment, a target application may be installed on the client, and the user may find the health code query interface through the target application, and the health code query interface may display the family health code query options. And under the condition that the user clicks the family health code query option, sending a family health code query request to a server of the health code platform. Wherein, the family health code inquiry request can comprise the identity of the user. The user's identity may be used to uniquely identify the user, including but not limited to the user's identification number, an open identity assigned to the user when the user registers for the health code application, and so on.
In practice, the health code platform may be a government big data platform for generating health codes reflecting personal epidemic prevention health information. The health code is a two-dimensional code belonging to the individual based on the real data and generated based on the recent journey of the individual. The two-dimensional code can be used as an electronic certificate for the person to pass in and out locally. The health codes have different levels of health status. For example, the danger level is higher and higher by dividing into green code, yellow code and red code. A higher risk level indicates a higher risk of contracting an epidemic in the individual.
Typically, the client may provide the health code query function directly or indirectly through the target application. In some embodiments, the target application may be a health code application. The health code query function is a main function of the health code application, the health code query interface can be directly displayed under the condition that the health code application is opened, and a user can send a family health code query request by clicking a family health code query option on the health code query interface. In some embodiments, the target application may be, for example, a host application such as an instant messaging application, a payment application, or the like. The health code application is a hosted application of the hosted application. The health code query function is provided by the hosting application through the health code application hosted thereon. The user may open the host application to find the health code application hosted thereon. The user clicks the health code application to display a health code query interface, and the user clicks the family health code query option on the health code query interface to send a family health code query request.
Step 202, based on the identity of the user, querying the family group where the user is located, and determining whether the user has a querying right in the family group.
In this embodiment, the server may query the family group where the user is located based on the identity of the user, and determine whether the user has the query right in the family group. A family group, among others, typically consists of closely contacting family members. Such as family members who live together or work together.
In some embodiments, the server may store in advance the identities of a large number of users with query authority and corresponding family groups. In the case of receiving the home health code query request, the server may match the identities of the users in the home health code query request with the identities of a large number of users having query authority. And if the matching is successful, the user is proved to have the inquiry authority in the family group. And the successfully matched family group is the family group where the user is.
In some embodiments, the server may store a large number of family groups in advance, and the family members with the query authority mark the query authority. In the case of receiving the family health code query request, the server may match the user's identity in the family health code query request with identities of family members of a large number of family groups. If the matching is successful, the matched family members have the query authority if marked with the query authority, which indicates that the user has the query authority in the family group. And the successfully matched family group is the family group where the user is.
Generally, the server may generate the family group by binding the authorization authentication. The method comprises the steps of binding the identity of one user with the identity of at least one other user to generate a family group, binding the identity of the user with a group administrator of the family group, and obtaining the query authority by the user. The binding mode comprises an online binding mode and an offline binding mode. Whether the online binding or the offline binding is carried out, the client sends the family health code inquiry authorization information to the server, the server generates a family group comprising a user with inquiry authority and at least one bound user, and marks the inquiry authority of the user with the inquiry authority. The health code query authorization information may include an identity of a user having a query right and an identity of at least one bound user. Specifically, for the online binding mode, the user may register the health code application by using the own identity, and add the identity of at least one other user on the user binding interface of the health code application. And then, the user clicks the binding button, and then the family health code inquiry authorization information can be sent to the server. For the offline binding approach, it is required that this user signs up with at least one other user to a specified location. After the contract is successfully made, the staff can input the identity of the user and at least one other user, and click the binding button, and then the family health code inquiry authorization information can be sent to the server.
Step 203, if the user has the inquiry authority in the family group, inquiring at least one family member health code of the family group.
In this embodiment, if the user has the query right in the family group, the server may query at least one health code of the family member of the family group. In general, the server may query all family member health codes of the family group.
And step 204, sending inquiry response information to the user based on the at least one family member health code.
In this embodiment, the server may send the query response information to the user based on the at least one family member health code. Wherein the query response information sent to the user may be obtained based on the at least one family member health code.
In some embodiments, the server may send the at least one family member health code to the user as query response information, and the client of the user generates the family health code based on the at least one family member health code, so as to avoid a situation that a large number of users query the family health codes at the same time in the same time period, and the server needs to generate a large number of family health codes at the same time, which causes that the computing resources of the server occupy too high and the system crashes instantly. Wherein the family health code can be used to reflect overall epidemic prevention health information for the whole family.
According to the method for inquiring the family health code, under the condition that a family health code inquiry request sent by a user is received, a family group where the user is located is inquired based on the identity of the user, and whether the user has inquiry authority in the family group is determined; and under the condition that the user has the inquiry authority in the family group, inquiring at least one family member health code of the family group, and sending inquiry response information to the user based on the at least one family member health code. The family health code can be obtained without sending the health code of the family member to the user, so that the query operation of the family health code is simplified.
With further reference to fig. 3, a flow 300 is shown which is a second embodiment of a family health code query method according to the present application. The family health code query method is applied to a server and comprises the following steps:
step 301, receiving a family health code query request sent by a user.
Step 302, based on the identity of the user, querying the family group where the user is located, and determining whether the user has a querying right in the family group.
Step 303, if the user has the query right in the family group, querying at least one family member health code of the family group.
In the present embodiment, the specific operations of steps 301-.
And step 304, counting the health status of at least one family member health code.
In this embodiment, the server may count the health status of at least one family member health code. Wherein the health codes have different levels of health status. For example, the danger level is higher and higher by dividing into green code, yellow code and red code. A higher risk level indicates a higher risk of contracting an epidemic in the individual.
Step 305, synthesizing a family health code based on the health status of at least one family member health code.
In this embodiment, the server may synthesize the family health code based on the health status of at least one family member health code.
In view of the infectivity of the epidemic situation, the health state of the highest risk level of at least one family member health code is determined, and the health state of the highest risk level is taken as the health state of the family health code. Thus, the risk of epidemic infection can be reduced to the maximum extent. Specifically, for the case where all the family member health codes are green codes, the status of the family health code is green code. And for the condition that the health codes of any one or more family members are yellow codes and the health codes of the rest family members are green codes, the state of the family health code is the yellow code. And for the condition that the health code of any one or more family members is a red code and the health codes of the rest family members are green codes or yellow codes, the state of the family health code is the red code.
Step 306, the family health code is sent to the user as the query response information.
In this embodiment, the server may send the home health code to the user as the query response information. The home health code may be displayed on the user's client.
As can be seen from fig. 3, compared with the embodiment corresponding to fig. 2, the flow 300 of the home health code query method in this embodiment highlights the step of generating the home health code by the server. Therefore, in the scheme described in the embodiment, the server generates the family health code, and the client only needs to receive the family health code for displaying, so that the computing resources of the client are saved, and the client is ensured to run smoothly.
With continued reference to fig. 4, a flow 400 of a third embodiment of a family health code query method in accordance with the present application is shown. The family health code query method is applied to a client and comprises the following steps:
step 401, sending a family health code query request to a server.
In this embodiment, a target application may be installed on the client, and the user may find the health code query interface through the target application, and the health code query interface may display the family health code query options. And under the condition that the user clicks the family health code query option, sending a family health code query request to a server of the health code platform. Wherein, the family health code inquiry request can comprise the identity of the user. The user's identity may be used to uniquely identify the user, including but not limited to the user's identification number, an open identity assigned to the user when the user registers for the health code application, and so on.
In practice, the health code platform may be a government big data platform for generating health codes reflecting personal epidemic prevention health information. The health code is a two-dimensional code belonging to the individual based on the real data and generated based on the recent journey of the individual. The two-dimensional code can be used as an electronic certificate for the person to pass in and out locally. The health codes have different levels of health status. For example, the danger level is higher and higher by dividing into green code, yellow code and red code. A higher risk level indicates a higher risk of contracting an epidemic in the individual.
Typically, the client may provide the health code query function directly or indirectly through the target application. In some embodiments, the target application may be a health code application. The health code query function is a main function of the health code application, the health code query interface can be directly displayed under the condition that the health code application is opened, and a user can send a family health code query request by clicking a family health code query option on the health code query interface. In some embodiments, the target application may be, for example, a host application such as an instant messaging application, a payment application, or the like. The health code application is a hosted application of the hosted application. The health code query function is provided by the hosting application through the health code application hosted thereon. The user may open the host application to find the health code application hosted thereon. The user clicks the health code application to display a health code query interface, and the user clicks the family health code query option on the health code query interface to send a family health code query request.
Step 402, receiving query response information sent by the server based on at least one family member health code of the family group where the user is located.
In this embodiment, the server may query the family group where the user is located based on the identity of the user, and determine whether the user has the query right in the family group. If the user has the inquiry authority in the family group, the server side can inquire at least one family member health code of the family group and send inquiry response information to the user based on the at least one family member health code. A family group, among others, typically consists of closely contacting family members. Such as family members who live together or work together. The query response information sent to the user may be derived based on at least one family member health code.
In some embodiments, the server may store in advance the identities of a large number of users with query authority and corresponding family groups. In the case of receiving the home health code query request, the server may match the identities of the users in the home health code query request with the identities of a large number of users having query authority. And if the matching is successful, the user is proved to have the inquiry authority in the family group. And the successfully matched family group is the family group where the user is.
In some embodiments, the server may store a large number of family groups in advance, and the family members with the query authority mark the query authority. In the case of receiving the family health code query request, the server may match the user's identity in the family health code query request with identities of family members of a large number of family groups. If the matching is successful, the matched family members have the query authority if marked with the query authority, which indicates that the user has the query authority in the family group. And the successfully matched family group is the family group where the user is.
Generally, the server may generate the family group by binding the authorization authentication. The method comprises the steps of binding the identity of one user with the identity of at least one other user to generate a family group, binding the identity of the user with a group administrator of the family group, and obtaining the query authority by the user. The binding mode comprises an online binding mode and an offline binding mode. Whether the online binding or the offline binding is carried out, the client sends the family health code inquiry authorization information to the server, the server generates a family group comprising a user with inquiry authority and at least one bound user, and marks the inquiry authority of the user with the inquiry authority. The health code query authorization information may include an identity of a user having a query right and an identity of at least one bound user. Specifically, for the online binding mode, the user may register the health code application by using the own identity, and add the identity of at least one other user on the user binding interface of the health code application. And then, the user clicks the binding button, and then the family health code inquiry authorization information can be sent to the server. For the offline binding approach, it is required that this user signs up with at least one other user to a specified location. After the contract is successfully made, the staff can input the identity of the user and at least one other user, and click the binding button, and then the family health code inquiry authorization information can be sent to the server.
And step 403, displaying the family health code of the family group based on the inquiry response information.
In this embodiment, the server may display the family health code of the family group based on the query response information. Wherein the family health code can be used to reflect overall epidemic prevention health information for the whole family.
In some embodiments, the server may generate a family health code based on the at least one family member health code and send the family health code to the user. The family health code is generated by the server, and the client only needs to receive the family health code for displaying, so that the computing resource of the client is saved, and the smooth operation of the client is ensured.
The method for inquiring the family health code comprises the steps of firstly sending a family health code inquiry request to a server; then receiving query response information sent by the server based on at least one family member health code of the family group where the user is located; and finally, displaying the family health code of the family group based on the query response information. The family health code can be obtained without sending the health code of the family member to the user, so that the query operation of the family health code is simplified.
With further reference to fig. 5, a flow 500 is shown which is a fourth embodiment of a family health code query method according to the present application. The family health code query method is applied to a client and comprises the following steps:
step 501, sending a family health code query request to a server.
In this embodiment, the specific operation of step 501 has been described in detail in step 401 in the embodiment shown in fig. 4, and is not described herein again.
Step 502, at least one family member health code of the family group where the user is located, which is sent by the server, is received.
In this embodiment, the server may send at least one health code of a family member of the family group where the user is located to the user. Wherein, the user has the inquiry authority in the family group.
And step 503, counting the health status of at least one family member health code.
In this embodiment, the client may count the health status of at least one family member health code. Wherein the health codes have different levels of health status. For example, the danger level is higher and higher by dividing into green code, yellow code and red code. A higher risk level indicates a higher risk of contracting an epidemic in the individual.
And step 504, synthesizing the family health code based on the health state of the at least one family member health code.
In this embodiment, the client may synthesize the family health code based on the health status of at least one family member health code.
In view of the infectivity of the epidemic situation, the health state of the highest risk level of at least one family member health code is determined, and the health state of the highest risk level is taken as the health state of the family health code. Thus, the risk of epidemic infection can be reduced to the maximum extent. Specifically, for the case where all the family member health codes are green codes, the status of the family health code is green code. And for the condition that the health codes of any one or more family members are yellow codes and the health codes of the rest family members are green codes, the state of the family health code is the yellow code. And for the condition that the health code of any one or more family members is a red code and the health codes of the rest family members are green codes or yellow codes, the state of the family health code is the red code.
Step 505, displaying the family health code.
In this embodiment, the specific operation of step 505 has been described in detail in step 403 in the embodiment shown in fig. 4, and is not described herein again.
As can be seen from fig. 5, compared with the embodiment corresponding to fig. 4, the flow 500 of the family health code query method in this embodiment highlights the step of generating the family health code by the client. Therefore, in the scheme described in this embodiment, the client generates the home health code, so that the situation that a large number of users query the home health code at the same time in the same time period, and the server needs to generate a large number of home health codes at the same time, which causes that the computing resources of the server occupy too much and the system crashes instantly is avoided.
Referring now to FIG. 6, a block diagram of a computer system 600 suitable for use in implementing a computer device (e.g., devices 101, 102 shown in FIG. 1) of an embodiment of the present application is shown. The computer device shown in fig. 6 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present application.
As shown in fig. 6, the computer system 600 includes a Central Processing Unit (CPU)601 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)602 or a program loaded from a storage section 608 into a Random Access Memory (RAM) 603. In the RAM 603, various programs and data necessary for the operation of the system 600 are also stored. The CPU 601, ROM 602, and RAM 603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
The following components are connected to the I/O interface 605: an input portion 606 including a keyboard, a mouse, and the like; an output portion 607 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage section 608 including a hard disk and the like; and a communication section 609 including a network interface card such as a LAN card, a modem, or the like. The communication section 609 performs communication processing via a network such as the internet. The driver 610 is also connected to the I/O interface 605 as needed. A removable medium 611 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 610 as necessary, so that a computer program read out therefrom is mounted in the storage section 608 as necessary.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 609, and/or installed from the removable medium 611. The computer program performs the above-described functions defined in the method of the present application when executed by a Central Processing Unit (CPU) 601.
It should be noted that the computer readable medium of the present application can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present application, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In this application, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present application may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or electronic device. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present application may be implemented by software or hardware. The described units may also be provided in a processor, and may be described as: a processor includes a receiving unit, a first querying unit, a second querying unit, and a transmitting unit. Where the names of the units do not constitute a limitation on the units themselves in this case, for example, a receiving unit may also be described as a "unit that receives a home health code query request sent by a user". As another example, it can be described as: a processor includes a first transmitting unit, a receiving unit, and a display unit. The names of these units do not constitute a limitation on the units themselves in this case, for example, the first sending unit may also be described as "the unit sending the home health code query request to the server".
As another aspect, the present application also provides a computer-readable medium, which may be contained in the computer device described in the above embodiments; or may exist separately and not be incorporated into the computer device. The computer readable medium carries one or more programs which, when executed by the computing device, cause the computing device to: receiving a family health code query request sent by a user, wherein the family health code query request comprises an identity of the user; based on the identity of the user, inquiring a family group where the user is located, and determining whether the user has inquiry authority in the family group; if the user has the inquiry authority in the family group, inquiring at least one family member health code of the family group; and sending inquiry response information to the user based on the at least one family member health code. Or cause the computer device to: sending a family health code query request to a server, wherein the family health code query request comprises an identity of a user; receiving query response information sent by a server based on at least one family member health code of a family group where a user is located, wherein the user has query authority in the family group; and displaying the family health code of the family group based on the inquiry response information.
The above description is only a preferred embodiment of the application and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention herein disclosed is not limited to the particular combination of features described above, but also encompasses other arrangements formed by any combination of the above features or their equivalents without departing from the spirit of the invention. For example, the above features may be replaced with (but not limited to) features having similar functions disclosed in the present application.

Claims (12)

1. A family health code query method is applied to a server and comprises the following steps:
receiving a family health code query request sent by a user, wherein the family health code query request comprises an identity of the user;
inquiring a family group where the user is located based on the identity of the user, and determining whether the user has inquiry authority in the family group;
if the user has the inquiry authority in the family group, inquiring at least one family member health code of the family group;
and sending inquiry response information to the user based on the at least one family member health code.
2. The method of claim 1, wherein the sending query response information to the user based on the at least one family member health code comprises:
and sending the at least one family member health code as the query response information to the user.
3. The method of claim 1, wherein the sending query response information to the user based on the at least one family member health code comprises:
counting the health status of the at least one family member health code;
synthesizing a family health code based on the health status of the at least one family member health code;
and sending the family health code as the query response information to the user.
4. The method of claim 3, wherein synthesizing a family health code based on the health status of the at least one family member health code comprises:
determining a health status of a highest risk level of the at least one family member health code;
and taking the health state of the highest risk level as the health state of the family health code, and synthesizing the family health code.
5. The method according to one of claims 1-4, wherein the method further comprises:
acquiring family health code query authorization information, wherein the health code query authorization information comprises an identity of a user with query authority and an identity of at least one bound user;
generating a family group comprising the user with the query right and the at least one bound user, and marking the query right of the user with the query right.
6. A family health code query method is applied to a client and comprises the following steps:
sending a family health code query request to a server, wherein the family health code query request comprises the identity of the user;
receiving query response information sent by the server based on at least one family member health code of a family group where the user is located, wherein the user has query authority in the family group;
and displaying the family health code of the family group based on the inquiry response information.
7. The method of claim 6, wherein the query response information includes a family health code for the family group.
8. The method of claim 6, wherein the query response information includes at least one family member health code of the family group; and
the displaying the family health code of the family group based on the query response information comprises:
counting the health status of the at least one family member health code;
synthesizing a family health code based on the health status of the at least one family member health code;
and displaying the family health code.
9. The method of claim 8, wherein synthesizing a family health code based on the health status of the at least one family member health code comprises:
determining a health status of a highest risk level of the at least one family member health code;
and taking the health state of the highest risk level as the health state of the family health code, and synthesizing the family health code.
10. The method according to one of claims 6-9, wherein the method further comprises:
and sending family health code inquiry authorization information to the server, wherein the health code inquiry authorization information comprises the identity of the user and the identity of at least one bound user.
11. A computer device, comprising:
one or more processors;
a storage device on which one or more programs are stored;
when executed by one or more processors, cause the one or more processors to implement a method as in any one of claims 1-5 or to implement a method as in any one of claims 6-10.
12. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method of any one of claims 1 to 5 or carries out the method of any one of claims 6 to 10.
CN202011229267.XA 2020-11-06 2020-11-06 Family health code query method and equipment Pending CN112349428A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011229267.XA CN112349428A (en) 2020-11-06 2020-11-06 Family health code query method and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011229267.XA CN112349428A (en) 2020-11-06 2020-11-06 Family health code query method and equipment

Publications (1)

Publication Number Publication Date
CN112349428A true CN112349428A (en) 2021-02-09

Family

ID=74428356

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011229267.XA Pending CN112349428A (en) 2020-11-06 2020-11-06 Family health code query method and equipment

Country Status (1)

Country Link
CN (1) CN112349428A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113222079A (en) * 2021-03-31 2021-08-06 钉钉科技有限公司 Information processing method, device and equipment based on family code or group code
CN114662628A (en) * 2022-03-03 2022-06-24 支付宝(杭州)信息技术有限公司 Health code information display method, device, equipment and medium
CN115079880A (en) * 2022-06-07 2022-09-20 Oppo广东移动通信有限公司 Information code display method and device, terminal equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104915758A (en) * 2015-05-22 2015-09-16 甄昊元 Home intelligent terminal, health management server, health management system and health management method
CN105700909A (en) * 2015-12-31 2016-06-22 江苏睿博信息科技有限公司 Alipay service window based health examination data query method and system
CN110489632A (en) * 2019-07-23 2019-11-22 平安科技(深圳)有限公司 Related information querying method and device
CN111291043A (en) * 2020-01-09 2020-06-16 中国信息通信研究院 Identification value query method, identification resolution server and storage medium
CN111444444A (en) * 2020-03-24 2020-07-24 数字广东网络建设有限公司 Epidemic prevention health information acquisition method and device
CN111652776A (en) * 2020-05-14 2020-09-11 山东浪潮质量链科技有限公司 Method, device and medium for managing electronic health code based on block chain
CN111723133A (en) * 2020-06-16 2020-09-29 武汉光谷联合医学检验所股份有限公司 Nucleic acid detection result query method, device, storage medium and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104915758A (en) * 2015-05-22 2015-09-16 甄昊元 Home intelligent terminal, health management server, health management system and health management method
CN105700909A (en) * 2015-12-31 2016-06-22 江苏睿博信息科技有限公司 Alipay service window based health examination data query method and system
CN110489632A (en) * 2019-07-23 2019-11-22 平安科技(深圳)有限公司 Related information querying method and device
CN111291043A (en) * 2020-01-09 2020-06-16 中国信息通信研究院 Identification value query method, identification resolution server and storage medium
CN111444444A (en) * 2020-03-24 2020-07-24 数字广东网络建设有限公司 Epidemic prevention health information acquisition method and device
CN111652776A (en) * 2020-05-14 2020-09-11 山东浪潮质量链科技有限公司 Method, device and medium for managing electronic health code based on block chain
CN111723133A (en) * 2020-06-16 2020-09-29 武汉光谷联合医学检验所股份有限公司 Nucleic acid detection result query method, device, storage medium and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
掌上巴彦淖尔: "必看!"健康通行码"添加家庭成员操作指南", pages 1 - 11, Retrieved from the Internet <URL:https://mp.weixin.qq.com/s?__biz=MjM5ODc2NjUwNA==&mid=2651403358&idx=4&sn=9655c92fce97d7a46da3e34da350c9f5&chksm=bd3826998a4faf8f44267139c7b05328a5e40f780cc5186c35117153564961d851796e4f518a&scene=27> *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113222079A (en) * 2021-03-31 2021-08-06 钉钉科技有限公司 Information processing method, device and equipment based on family code or group code
CN114662628A (en) * 2022-03-03 2022-06-24 支付宝(杭州)信息技术有限公司 Health code information display method, device, equipment and medium
CN115079880A (en) * 2022-06-07 2022-09-20 Oppo广东移动通信有限公司 Information code display method and device, terminal equipment and storage medium

Similar Documents

Publication Publication Date Title
CN112349428A (en) Family health code query method and equipment
CN109460652B (en) Method, apparatus and computer readable medium for annotating image samples
CN113268336B (en) Service acquisition method, device, equipment and readable medium
CN111274490B (en) Method and device for processing consultation information
CN108933695B (en) Method and apparatus for processing information
CN110569057A (en) gray scale distribution method and device, electronic equipment and computer readable medium
CN110659206A (en) Simulation architecture establishing method, device, medium and electronic equipment based on microservice
WO2022152018A1 (en) Method and device for identifying multiple accounts belonging to the same person
US20090138510A1 (en) Method and apparatus for associating help desk ticket with affected data processing system
CN109885564B (en) Method and apparatus for transmitting information
US11470167B2 (en) Method and apparatus for generating information
CN111125503B (en) Method and apparatus for generating information
CN113763008A (en) Application promotion tracking method, device, server, equipment and medium
CN111626802A (en) Method and apparatus for processing information
US11563576B2 (en) Distributed anonymous scoring technique
CN108351346B (en) Command center
CN114840379A (en) Log generation method, device, server and storage medium
CN108804713B (en) Image output method, electronic device, and computer-readable medium
CN103501265B (en) Method and device for acquiring user information
CN111598544A (en) Method and apparatus for processing information
CN111339394A (en) Method and device for acquiring information
CN110896374B (en) Method and equipment for generating user information and sending request information
CN113824625B (en) Information interaction method and device
US20220099534A1 (en) Populating a test case set based on weather information
CN108494982A (en) Method and apparatus for generating information

Legal Events

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