A method and device for reporting and querying health data

Through the mobile terminal using the short-range communication protocol to generate and send health query identifiers in public places, the problem of users needing to manually scan the code to view health data is solved, and unsensed health data reporting and query are realized, reducing management costs.

CN114842981BActive Publication Date: 2025-03-21ALIPAY (HANGZHOU) INFORMATION TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202210454913.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-24
Publication Date
2025-03-21
Estimated Expiration
2042-04-24

AI Technical Summary

Technical Problem

In the prior art, users need to manually scan the code to view health data, which has poor user experience and high operating and maintenance costs for public places managers.

Method used

The mobile terminal monitors the signal of the near-distance communication protocol, generates and sends a health query identifier, and the query device queries the user's health data from the server after receiving it, realizing unsensed health data reporting and query.

Benefits of technology

It realizes the reporting and query of health data without users' perception, reduces the difficulty of user operations, and reduces the operation and maintenance costs of public places managers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114842981B_ABST
    Figure CN114842981B_ABST
Patent Text Reader

Abstract

The embodiments of this specification provide a method and device for reporting and querying health data, which is executed through a mobile terminal, including: monitoring a first signal using a short-range communication protocol in the environment; after monitoring the first signal and determining that the first signal has a target service signal identifier, sending a locally pre-stored health query identifier to a query device that sends the first signal through a short-range communication protocol, so that the query device obtains the health data of the user of the mobile terminal from a server based on the health query identifier, wherein the health query identifier is generated based on the terminal information of the mobile terminal and the user information of its user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing technology, and in particular to a method and device for reporting and querying health data. Background Art

[0002] In order to control the spread of the COVID-19 pandemic, applications such as health codes and health treasures have been developed to query and manage user health data. At present, the process of checking a user's health code (i.e. health data) is generally that the user uses his terminal to scan the code at the door of the target public place to report the user information to the server. The server determines the user's health data based on the user information and sends it to the user's terminal, which displays the user's health data in the form of a QR code for viewing.

[0003] In the above process, every time the user's health data is checked, the user needs to use the user's terminal to scan the code at the entrance of the target public place, which provides a poor user experience. In addition, in the above process, the target public place needs a dedicated manager to confirm the user's health data and maintain order at the entrance of the target public place, which has high operating and maintenance costs for the public place management party. Summary of the invention

[0004] One or more embodiments of the present specification provide a health data reporting and health data query method and device to achieve reporting of a user's health data without the user's awareness.

[0005] According to a first aspect, a health data reporting method is provided, which is executed by a mobile terminal and includes:

[0006] Monitoring a first signal using a short-range communication protocol in the environment;

[0007] After monitoring the first signal and determining that the first signal has a target service signal identifier, the locally pre-stored health query identifier is sent to the query device that sends the first signal through the short-range communication protocol, so that the query device obtains the health data of the user of the mobile terminal from the server based on the health query identifier, wherein the health query identifier is generated based on the terminal information of the mobile terminal and the user information of its user.

[0008] In one possible implementation, the short-range communication protocol is one of the following protocols: near field communication protocol, Bluetooth transmission protocol.

[0009] In one possible implementation, the sending of the locally pre-stored health query identifier to the query device that sends the first signal includes:

[0010] Establishing a connection with the query device through the short-range communication protocol;

[0011] The health query identifier is sent to the query device through the established connection.

[0012] In one possible implementation, establishing a connection with the query device includes:

[0013] Sending a connection request to the query device;

[0014] In response to a connection reply sent by the querying device in response to the connection request, a connection is established with the querying device, wherein the connection reply is sent by the querying device after the mobile terminal is successfully authenticated.

[0015] In one possible implementation, it also includes:

[0016] Calling the data upload interface of the server, and sending the terminal information and the user information to the server through the data upload interface, so that the server generates the health query identifier based on the terminal information and the user information using a preset identifier generation algorithm;

[0017] The health query identifier is received from the server and stored.

[0018] In one possible implementation, the health query identifier is an identifier encrypted using a target key pre-agreed with the query device.

[0019] According to a second aspect, a health data query method is provided, which is performed by a query device, wherein the query device is arranged at a designated location of a target place, and the method comprises:

[0020] Broadcasting a first signal using a short-range communication protocol, the first signal having a target service signal identifier;

[0021] receiving a health query identifier from a mobile terminal through the short-range communication protocol, wherein the health query identifier is sent by the mobile terminal in response to monitoring the first signal, and the health query identifier is generated based on terminal information of the mobile terminal and user information of its user;

[0022] Based on the health query identifier, health data of the user of the mobile terminal is queried from a server.

[0023] In one possible implementation, the short-range communication protocol is one of the following protocols: near field communication protocol, Bluetooth transmission protocol.

[0024] In one possible implementation, the receiving a health query identifier from a mobile terminal through the short-range communication protocol includes:

[0025] Establishing a connection with the mobile terminal via the short-range communication protocol;

[0026] The health query identifier is received from the mobile terminal through the established connection.

[0027] In one possible implementation manner, establishing a connection with the mobile terminal includes:

[0028] receiving a connection request from the mobile terminal;

[0029] In response to the connection request, verifying the mobile terminal using a preset authentication method;

[0030] If the verification is successful, a connection reply is sent to the mobile terminal to establish a connection with the mobile terminal.

[0031] In one possible implementation, the health query identifier is an identifier encrypted using a target key pre-agreed with the query device;

[0032] The querying the health data of the user of the mobile terminal from the server includes:

[0033] Decrypting the health query identifier using the decryption key corresponding to the target key;

[0034] If the decryption is successful, the health data of the user is queried from the server based on the decrypted health query identifier.

[0035] In one possible implementation, querying the health data of the user of the mobile terminal from the server includes:

[0036] Sending the health query identifier and the device identifier of the query device to the server, so that the server determines the designated location of the target place based on the device identifier and records it as the current location information of the user; and determining the health data of the user based on the health query identifier;

[0037] The health data is received from the server.

[0038] In one possible implementation, it also includes:

[0039] Based on the health data, corresponding prompt information is output.

[0040] In one possible implementation, outputting corresponding prompt information based on the health data includes:

[0041] If the health data indicates that the user is healthy, output health reminder information indicating the health of the user;

[0042] If the health data indicates that the user's health is abnormal, an abnormal alarm message is output.

[0043] In one possible implementation, outputting corresponding prompt information based on the health data includes:

[0044] Determine whether the user's health is abnormal based on the health data, and output a preset prompt message only when an abnormality occurs.

[0045] In one possible implementation, the query device is a door access control device of the target location.

[0046] According to a third aspect, a health data reporting device is provided, which is deployed in a mobile terminal and includes:

[0047] A monitoring module configured to monitor a first signal using a short-range communication protocol in an environment;

[0048] The sending module is configured to, after monitoring the first signal and determining that the first signal has a target service signal identifier, send a locally pre-stored health query identifier to a query device that sends the first signal through the short-range communication protocol, so that the query device obtains the health data of the user of the mobile terminal from the server based on the health query identifier, wherein the health query identifier is generated based on the terminal information of the mobile terminal and the user information of its user.

[0049] According to a fourth aspect, a health data query device is provided, which is deployed in a query device, and the query device is set at a designated location of a target place, and the device includes:

[0050] A broadcast module, configured to broadcast a first signal using a short-range communication protocol, the first signal having a target service signal identifier;

[0051] a receiving module, configured to receive a health query identifier from a mobile terminal through the short-range communication protocol, wherein the health query identifier is sent by the mobile terminal in response to monitoring the first signal, and the health query identifier is generated based on terminal information of the mobile terminal and user information of its user;

[0052] The query module is configured to query the health data of the user of the mobile terminal from the server based on the health query identifier.

[0053] According to a fifth aspect, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed in a computer, the computer is caused to execute the method described in the first aspect.

[0054] According to a sixth aspect, a computing device is provided, comprising a memory and a processor, wherein the memory stores executable code, and when the processor executes the executable code, the method described in the first aspect is implemented.

[0055] According to a seventh aspect, there is provided a computer-readable storage medium having a computer program stored thereon, which, when executed in a computer, causes the computer to execute the method described in the second aspect.

[0056] According to an eighth aspect, a computing device is provided, comprising a memory and a processor, wherein the memory stores executable code, and when the processor executes the executable code, the method described in the second aspect is implemented.

[0057] According to the method and device provided in the embodiments of this specification, the mobile terminal can monitor the first signal using the short-range communication protocol in its environment. After monitoring the first signal and determining that it has the target service signal representation, the health query identifier pre-stored locally and generated based on the terminal information of the mobile terminal and the user information of its user is sent to the query device that sends the first signal through the short-range communication protocol, so that the query device obtains the health data of the user of the mobile terminal from the server based on the health query identifier. The entire process is performed by signal and data interaction between the mobile terminal, the query device and the server, without the need for manual operation by the user, and the user is unaware of the entire process, thereby achieving the reporting of the user's health data without the user of the mobile terminal being aware of it, and further achieving the query of the user's health data without the user being aware of it. BRIEF DESCRIPTION OF THE DRAWINGS

[0058] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0059] Figure 1 A schematic diagram of an implementation framework of an embodiment disclosed in this specification;

[0060] Figure 2 A flowchart of the health data reporting and query process provided by the embodiment;

[0061] Figure 3 A flowchart of a health data reporting method provided in an embodiment;

[0062] Figure 4 A schematic diagram of a flow chart of a health data query method provided in an embodiment;

[0063] Figure 5 A schematic block diagram of a health data reporting device provided in an embodiment;

[0064] Figure 6 A schematic block diagram of a health data query device provided in an embodiment. DETAILED DESCRIPTION

[0065] The technical solutions of the embodiments of this specification will be described in detail below with reference to the accompanying drawings.

[0066] The embodiments of this specification disclose a method and device for reporting and querying health data. The application scenarios and technical concepts of the method are first introduced as follows:

[0067] As mentioned above, in the current process of checking the user's health data, before each time the user enters the target place, the user's terminal needs to scan the code at the door of the target place to check the user's health data. This process is a poor user experience for the user, and during this process, a dedicated manager is required at the door of the target place to confirm the user's health data and maintain order at the door of the target place, which is costly for the target place manager to operate and maintain.

[0068] In view of this, the inventor proposes a method for reporting and querying health data. Figure 1 A schematic diagram of an implementation scenario according to an embodiment disclosed in this specification is shown. In this implementation scenario, the participants who implement the health data reporting and query process are schematically shown, and the participants include mobile terminal A, query device B and server C. Among them, terminal device A can first activate the health data reporting function, that is, activate the senseless entry function. Specifically, terminal device A can first obtain the user information of its holder (ie, user), as well as the terminal information of terminal device A itself, and send the user information and terminal information to server C. Server C uses a preset identifier generation algorithm to generate a health query identifier based on the terminal information and the user information. The health query identifier corresponds to the user and mobile terminal A, and is used to query the terminal information of mobile terminal A and the user information of its user, and then query the health data of the user. Then, server C sends the health query identifier to mobile terminal A. Mobile terminal A obtains and stores the health query identifier.

[0069] In one case, terminal device A can install a designated application and enable the above-mentioned health data reporting function based on the designated application.

[0070] After the mobile terminal device activates the above-mentioned health data reporting function, that is, activates the contactless entry function, it can monitor the first signal using the short-range communication protocol in its environment.

[0071] The query device B may be set at a designated location of the target place, which may include but is not limited to the door of the target place, the indoors of the target place, etc. The query device B may broadcast a first signal using a short-distance communication protocol in real time or periodically, that is, other devices using a short-distance communication protocol may monitor the first signal when they enter a certain range centered on the location of the query device B, and the first signal has a server signal identifier.

[0072] Mobile terminal A can be carried by its user to any location, and it can monitor signals using a short-range communication protocol in its environment. Specifically, when mobile terminal A monitors the first signal, it can first determine whether the first signal carries a target service signal identifier. After determining that the first signal has a target service signal identifier, mobile terminal A can consider that it has monitored the first signal broadcast by the query device. Then, mobile terminal A sends the locally pre-stored health query identifier to query device B that sent the first signal through the short-range communication protocol. Query device B receives the health query identifier, and based on the health query identifier, queries server C to obtain the health data of the user of mobile terminal A. In this way, mobile terminal A reports the health data of its user, and query device B queries the user's health data.

[0073] In the above process, during the reporting and querying of health data, signals and data are interacted between mobile terminal A, query device B and server C. No manual participation of the user of mobile terminal A is required, thus completing the reporting and querying of the user's health data without the user of the mobile terminal being aware of it.

[0074] The following is a detailed description of the health data reporting and health data query methods provided in this specification in conjunction with specific embodiments.

[0075] Figure 2 The flowchart of the health data reporting and query process in one embodiment of the present specification is shown. The method is executed by a mobile terminal A, a query device B and a server C. The mobile terminal A, the query device B and the server C can be implemented by any device, equipment, platform, device cluster, etc. with computing and processing capabilities. In one case, the mobile terminal A can be a mobile phone. Figure 2 As shown, the method includes the following steps S210-S250:

[0076] In step S210, the query device B broadcasts a first signal using a short-range communication protocol, and the first signal has a target service signal identifier. It is understandable that the query device B can be set at a specified location of the target place, such as at the door or indoors of the target place, and the target place can be any public place, including but not limited to office buildings, shopping malls, schools, hospitals, and shops. The query device can be used to query the health data of any user (holder of mobile terminal A) entering the target place to monitor the user's health status. In one implementation, the query device B belongs to the access control device of the target place.

[0077] The query device B can broadcast a first signal using a short-range communication protocol in real time or periodically, that is, when a device using a short-range communication protocol enters a certain range centered on the location of the query device B, the first signal can be monitored, wherein the first information number has a target service signal identifier. In one implementation, the short-range communication protocol can be one of the following protocols: near field communication protocol, Bluetooth transmission protocol. In the case where the short-range communication protocol is a Bluetooth transmission protocol, considering that the concepts of service and characteristic are referenced in the Bluetooth transmission protocol, each service and characteristic value has its own unique identifier UUID (Universally Unique Identifier), and a Bluetooth device (i.e., a device with Bluetooth transmission function enabled, such as the query device B) includes one or more services, wherein the unique identifier UUID can be used to distinguish the type and function of the broadcasted signal. In view of this, the target service signal identifier can be a target service UUID.

[0078] Accordingly, in step S220, mobile terminal A monitors the first signal using the short-distance communication protocol in the environment. It can be understood that the mobile terminal A has pre-activated the senseless entry function, and accordingly, the mobile terminal A can monitor the first signal using the short-distance communication protocol in the environment.

[0079] Next, in step S230, after the mobile terminal A monitors the first signal and determines that the first signal has the target service signal identifier, it sends the locally pre-stored health query identifier to the query device B that sends the first signal through the short-distance communication protocol. In this step, after the mobile terminal A monitors the first signal, it can continue to determine whether the first signal carries the target service signal identifier, that is, whether it carries the target service UUID. After determining that the first signal has the target service signal identifier, it is considered that it has entered the monitoring range of the query device B. Accordingly, the mobile terminal A can send the locally pre-stored health query identifier to the query device B that sends the first signal through the short-distance communication protocol.

[0080] It is understandable that the health query identifier pre-stored in the mobile terminal A is generated based on the terminal information of the mobile terminal A and the user information of the user of the mobile terminal A, and the health query identifier is generated during the process of activating the touchless entry function of the mobile terminal A. Accordingly, before step S220, the method may further include the following steps:

[0081] In step 11, mobile terminal A calls the data upload interface of the server and sends terminal information and user information to server C through the data upload interface. The terminal information may include but is not limited to device ID, device model and device type, etc., and the user information may include but is not limited to user ID, user name and other information.

[0082] In step 12, server C generates a health query identifier based on the terminal information and user information using a preset identifier generation algorithm, and feeds it back to mobile terminal A.

[0083] In step 13, mobile terminal A receives the health query identifier from server C and stores the health query identifier.

[0084] In the process of activating the contactless entry function of mobile terminal A, mobile terminal A can first call the data upload interface of the server, and send the terminal information and user information to server C through the data upload interface. Server C uses a preset identifier generation algorithm to generate a health query identifier, i.e., a token, based on the terminal information and user information. The health query identifier is unique, i.e., one health query identifier corresponds to one user information and one terminal information. In other words, when the user information / or terminal information changes, a new health query identifier needs to be regenerated. The above-mentioned preset identifier generation algorithm can be any algorithm that can currently generate an identifier, which will not be elaborated here.

[0085] After server C generates a health query identifier, i.e., a token, it feeds the health query identifier back to mobile terminal A. Mobile terminal A receives and stores the health query identifier. After mobile terminal A receives the health query identifier, it can start monitoring the signals using the short-range communication protocol in its environment. For example, when the short-range communication protocol is the Bluetooth transmission protocol, mobile terminal A can turn on Bluetooth after receiving the health query identifier.

[0086] In one implementation, mobile terminal A may be installed with a designated application, and the designated application is used to enable the contactless entry function and report health data.

[0087] In one embodiment, the step S230 can be specifically configured as follows: in step 21, mobile device A establishes a connection with query device B through the short-range communication protocol. In step 22, mobile device A sends the health query identifier to query device B through the established connection. In this implementation, mobile device A establishes a connection with query device B through the short-range communication protocol to send the health query identifier to query device B through the established connection, thereby ensuring the security of the transmission of the health query identifier.

[0088] In one implementation, in consideration of device security, to prevent the query device B from being maliciously attacked and causing interference with its health data query function, step 21 is specifically configured as follows: in step 211, mobile device A sends a connection request to query device B.

[0089] In step 212, the query device B responds to the connection request and verifies the mobile terminal A using a preset authentication method, and if the authentication is successful, sends a connection reply to the mobile terminal A. The preset authentication method can be any method currently available for verifying the identity of a device.

[0090] In step 213, mobile device A establishes a connection with querying device B in response to a connection reply sent by querying device B in response to the connection request.

[0091] In one implementation, if the query device B fails to verify the mobile terminal A, the query device B may not reply to the mobile terminal A. Accordingly, the query device B and the mobile terminal A cannot establish a connection.

[0092] Next, after the mobile terminal A sends the health query identifier to the query device B, in step S240, the query device B obtains the health data of the user of the mobile terminal A from the server C based on the health query identifier. In one implementation, the query device B may send the health query identifier to the server C, and the server C determines the corresponding user information and terminal information based on the health query identifier, and then determines the health data of the user of the mobile terminal A based on the user information and terminal information, and feeds the obtained health data back to the query device B, so that the query device B obtains the health data of the user of the mobile terminal A through the query.

[0093] In one embodiment, in order to ensure data security, the health query identifier is an identifier encrypted using a target key agreed upon in advance between mobile terminal A and query device B; accordingly, step S240 is specifically configured as follows: in step 31, query device B uses a decryption key corresponding to the target key to decrypt the health query identifier. In step 32, if the decryption is successful, query device B queries the user's health data from server C based on the decrypted health query identifier.

[0094] In one case, the target key may be a key generated based on a symmetric key generation algorithm, and accordingly, the query device B uses the decryption key corresponding to the target key, that is, the target key to decrypt the health query identifier. In another case, the target key may be a key generated based on an asymmetric key generation algorithm, and accordingly, the target key may be a public key in a public-private key pair, and accordingly, the query device B holds the private key corresponding to the public key, and after receiving the health query identifier, uses the private key it holds to decrypt the health query identifier. Afterwards, if the decryption is successful, the user's health data is queried from server C based on the decrypted health query identifier.

[0095] In yet another embodiment, the step S240 may also be specifically configured as follows: in step 41, the query device B sends the health query identifier and the device identifier of the query device B to the server C.

[0096] In step 42, server C determines the designated location of the target place based on the device identification and records it as the user's current location information.

[0097] In step 43, server C determines the user's health data based on the health query identifier and sends the health data to query device B.

[0098] At step 44, query device B receives the health data.

[0099] In this implementation, in order to better query the user's health data, it is also necessary to determine the user's travel trajectory. Accordingly, after obtaining the health query identifier sent by mobile terminal A, query device B can determine that mobile terminal device A (its user) is near the location of query device B. Then query device B can send the health query identifier and the device identifier of query device B to server C. Server C determines the specified location of the target place based on the device identifier, and records it as the user's current positioning information to determine the location of the user of mobile terminal A. In addition, server C determines the user's health data based on the health query identifier, and sends the health data to query device B, and query device B receives the health data.

[0100] In this embodiment, during the reporting and querying of health data, signals and data are exchanged between the mobile terminal A, the query device B and the server C throughout the process, without the manual participation of the user of the mobile terminal A, so that the reporting and querying of the user's health data can be completed without the user of the mobile terminal being aware of it, thereby improving the user experience. In this process, the user's health data can be obtained from the server C side in real time, which can avoid the gathering of people in the target place, and to a certain extent, it can avoid the situation where people miss and mix into the target place, and to a certain extent, it can reduce the cost of management personnel at the door of the target place. And by encrypting the health query identifier and authenticating the identity of the mobile terminal A, the security of data and equipment can be achieved.

[0101] In one embodiment, after receiving the health data, the query device B may also output corresponding prompt information based on the health data in step S250. In this step, the query device B may output corresponding prompt information based on whether the health data indicates whether the user's health is abnormal.

[0102] In one embodiment, the step S250 can be specifically configured as follows: in step 51, if the health data indicates that the user is healthy and normal, output health prompt information indicating the user's health. In one case, the query device B can be provided with a display screen. If the health data indicates that the user is healthy and normal, the query device B can output the health prompt information in text form, that is, display the health prompt information on the display screen. For example, if the health data of the user "Zhang San" indicates that his health is normal, correspondingly, the query device B can display "Zhang* health code is normal" on the display screen. In another case, the query device B can be provided with a microphone. If the health data indicates that the user is healthy and normal, the query device B can output the health prompt information indicating the user's health in audio form, for example, broadcasting "Zhang* health code is normal", etc. The query device B can output the health prompt information indicating the user's health in any form.

[0103] In step 52, if the health data indicates that the user's health is abnormal, an abnormal alarm message is output. In this step, if the health data indicates that the user's health is abnormal, an abnormal alarm message can be output in the form of audio or light changes to prompt the target site manager that the user's health is abnormal. The subsequent target site manager can take corresponding measures to reconfirm the user's health data.

[0104] In another embodiment, the step S250 can be specifically configured to determine whether the user's health is abnormal based on the health data, and output a preset prompt message only when an abnormality occurs. In this step, the preset prompt message is output only when the health data determines that the user's health is abnormal, for example, the preset prompt message is output in the form of audio or light changes to remind the target site manager that the user's health is abnormal. The subsequent target site manager can take corresponding measures to reconfirm the user's health data. To a certain extent, the operation and maintenance costs of the target site can be reduced, and the labor cost can be reduced.

[0105] Corresponding to the above method embodiment, the embodiment of this specification also provides a health data reporting method, which is executed by a mobile terminal, such as Figure 3 As shown, the method includes the following steps S310-S320:

[0106] S310: monitoring a first signal using a short distance communication protocol in the environment;

[0107] S320: After monitoring the first signal and determining that the first signal has a target service signal identifier, the locally pre-stored health query identifier is sent to the query device that sends the first signal through the short-range communication protocol, so that the query device obtains the health data of the user of the mobile terminal from the server based on the health query identifier, wherein the health query identifier is generated based on the terminal information of the mobile terminal and the user information of its user.

[0108] In one possible implementation, the short-range communication protocol is one of the following protocols: near field communication protocol, Bluetooth transmission protocol.

[0109] In one possible implementation, the sending of the locally pre-stored health query identifier to the query device that sends the first signal includes:

[0110] Establishing a connection with the query device through the short-range communication protocol;

[0111] The health query identifier is sent to the query device through the established connection.

[0112] In one possible implementation, establishing a connection with the query device includes:

[0113] Sending a connection request to the query device;

[0114] In response to a connection reply sent by the querying device in response to the connection request, a connection is established with the querying device, wherein the connection reply is sent by the querying device after the mobile terminal is successfully authenticated.

[0115] In one possible implementation, it also includes:

[0116] Calling the data upload interface of the server, and sending the terminal information and the user information to the server through the data upload interface, so that the server generates the health query identifier based on the terminal information and the user information using a preset identifier generation algorithm;

[0117] The health query identifier is received from the server and stored.

[0118] In one possible implementation, the health query identifier is an identifier encrypted using a target key pre-agreed with the query device.

[0119] Corresponding to the above method embodiment, the embodiment of this specification also provides a health data query method, which is executed by a query device, such as Figure 4 As shown, the method includes the following steps S410-S430:

[0120] S410: broadcasting a first signal using a short distance communication protocol, where the first signal has a target service signal identifier;

[0121] S420: receiving a health query identifier from a mobile terminal through the short-range communication protocol, wherein the health query identifier is sent by the mobile terminal in response to monitoring the first signal, and the health query identifier is generated based on terminal information of the mobile terminal and user information of its user;

[0122] S430: Based on the health query identifier, query the health data of the user of the mobile terminal from the server.

[0123] In one possible implementation, the short-range communication protocol is one of the following protocols: near field communication protocol, Bluetooth transmission protocol.

[0124] In one possible implementation, the receiving a health query identifier from a mobile terminal through the short-range communication protocol includes:

[0125] Establishing a connection with the mobile terminal through the short-range communication protocol;

[0126] The health query identifier is received from the mobile terminal through the established connection.

[0127] In one possible implementation manner, establishing a connection with the mobile terminal includes:

[0128] receiving a connection request from the mobile terminal;

[0129] In response to the connection request, verifying the mobile terminal using a preset authentication method;

[0130] If the verification is successful, a connection reply is sent to the mobile terminal to establish a connection with the mobile terminal.

[0131] In one possible implementation, the health query identifier is an identifier encrypted using a target key pre-agreed with the query device;

[0132] The querying the health data of the user of the mobile terminal from the server includes:

[0133] Decrypting the health query identifier using the decryption key corresponding to the target key;

[0134] If the decryption is successful, the health data of the user is queried from the server based on the decrypted health query identifier.

[0135] In one possible implementation, querying the health data of the user of the mobile terminal from the server includes:

[0136] Sending the health query identifier and the device identifier of the query device to the server, so that the server determines the designated location of the target place based on the device identifier and records it as the current location information of the user; and determining the health data of the user based on the health query identifier;

[0137] The health data is received from the server.

[0138] In one possible implementation, it also includes:

[0139] Based on the health data, corresponding prompt information is output.

[0140] In one possible implementation, outputting corresponding prompt information based on the health data includes:

[0141] If the health data indicates that the user is healthy, output health reminder information indicating the health of the user;

[0142] If the health data indicates that the user's health is abnormal, an abnormal alarm message is output.

[0143] In one possible implementation, outputting corresponding prompt information based on the health data includes:

[0144] Determine whether the user's health is abnormal based on the health data, and output a preset prompt message only when an abnormality occurs.

[0145] In one possible implementation, the query device is a door access control device of the target location.

[0146] The foregoing describes certain embodiments of the present specification, and other embodiments are within the scope of the appended claims. In some cases, the actions or steps described in the claims may be performed in an order different from that in the embodiments, and the desired results may still be achieved. In addition, the processes depicted in the accompanying drawings do not necessarily have to be performed in the specific order or sequential order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0147] Corresponding to the above method embodiment, the present specification embodiment provides a health data reporting device 500, which is deployed in a mobile terminal, and its schematic block diagram is as follows: Figure 5 As shown, including:

[0148] A monitoring module 510, configured to monitor a first signal using a short distance communication protocol in the environment;

[0149] The sending module 520 is configured to, after monitoring the first signal and determining that the first signal has a target service signal identifier, send a locally pre-stored health query identifier to the query device that sends the first signal through the short-range communication protocol, so that the query device obtains the health data of the user of the mobile terminal from the server based on the health query identifier, wherein the health query identifier is generated based on the terminal information of the mobile terminal and the user information of its user.

[0150] In one possible implementation, the short-range communication protocol is one of the following protocols: near field communication protocol, Bluetooth transmission protocol.

[0151] In one possible implementation, the sending module 520 includes: a first connection establishing unit (not shown in the figure), configured to establish a connection with the query device through the short-range communication protocol; a first sending unit (not shown in the figure), configured to send the health query identifier to the query device through the established connection.

[0152] In one possible implementation, the connection establishing unit is specifically configured to send a connection request to the query device;

[0153] In response to a connection reply sent by the querying device in response to the connection request, a connection is established with the querying device, wherein the connection reply is sent by the querying device after the mobile terminal is successfully authenticated.

[0154] In one possible implementation, it also includes:

[0155] A calling and sending module (not shown in the figure) is configured to call the data upload interface of the server, and send the terminal information and the user information to the server through the data upload interface, so that the server generates the health query identifier based on the terminal information and the user information using a preset identifier generation algorithm;

[0156] A receiving and storing module (not shown in the figure) is configured to receive the health query identifier from the server and store the health query identifier.

[0157] In one possible implementation, the health query identifier is an identifier encrypted using a target key pre-agreed with the query device.

[0158] Corresponding to the above method embodiment, the present specification embodiment provides a health data query device 600, which is deployed in a query device, and the query device is set at a specified location of a target place, and its schematic block diagram is as follows: Figure 6 As shown, including:

[0159] A broadcast module 610, configured to broadcast a first signal using a short-range communication protocol, the first signal having a target service signal identifier;

[0160] The receiving module 620 is configured to receive a health query identifier from a mobile terminal through the short-range communication protocol, wherein the health query identifier is sent by the mobile terminal in response to monitoring the first signal, and the health query identifier is generated based on the terminal information of the mobile terminal and the user information of its user;

[0161] The query module 630 is configured to query the health data of the user of the mobile terminal from the server based on the health query identifier.

[0162] In one possible implementation, the short-range communication protocol is one of the following protocols: near field communication protocol, Bluetooth transmission protocol.

[0163] In one possible implementation, the receiving module 620 includes:

[0164] A second connection establishing unit (not shown in the figure), configured to establish a connection with the mobile terminal through the short-range communication protocol;

[0165] The receiving unit (not shown in the figure) is configured to receive the health query identifier from the mobile terminal through the established connection.

[0166] In one possible implementation, the second connection establishing unit is specifically configured to receive a connection request from the mobile terminal;

[0167] In response to the connection request, verifying the mobile terminal using a preset authentication method;

[0168] If the verification is successful, a connection reply is sent to the mobile terminal to establish a connection with the mobile terminal.

[0169] In one possible implementation, the health query identifier is an identifier encrypted using a target key pre-agreed with the query device;

[0170] The query module 630 is specifically configured to decrypt the health query identifier using the decryption key corresponding to the target key;

[0171] If the decryption is successful, the health data of the user is queried from the server based on the decrypted health query identifier.

[0172] In one possible implementation, the query module 630 is specifically configured to send the health query identifier and the device identifier of the query device to the server, so that the server determines the specified location of the target place based on the device identifier and records it as the current location information of the user; and determines the health data of the user based on the health query identifier; and receives the health data from the server.

[0173] In one possible implementation, it also includes:

[0174] The output module (not shown in the figure) is configured to output corresponding prompt information based on the health data.

[0175] In one possible implementation, the output module is specifically configured to output health prompt information representing the health of the user if the health data represents that the user is healthy and normal;

[0176] If the health data indicates that the user's health is abnormal, an abnormal alarm message is output.

[0177] In one possible implementation, the output module is specifically configured to determine whether the user's health is abnormal based on the health data, and output a preset prompt message only when an abnormality occurs.

[0178] In one possible implementation, the query device is a door access control device of the target location.

[0179] The above device embodiments correspond to the method embodiments. For specific descriptions, please refer to the description of the method embodiments, which will not be repeated here. The device embodiments are obtained based on the corresponding method embodiments and have the same technical effects as the corresponding method embodiments. For specific descriptions, please refer to the corresponding method embodiments.

[0180] The embodiments of the present specification also provide a computer-readable storage medium on which a computer program is stored. When the computer program is executed in a computer, the computer executes the health data reporting method provided in the present specification.

[0181] An embodiment of the present specification also provides a computing device, including a memory and a processor, wherein the memory stores executable code, and when the processor executes the executable code, the health data reporting method provided in the present specification is implemented.

[0182] The embodiments of the present specification also provide a computer-readable storage medium on which a computer program is stored. When the computer program is executed in a computer, the computer is caused to execute the health data query method provided in the present specification.

[0183] An embodiment of the present specification also provides a computing device, including a memory and a processor, wherein the memory stores executable code, and when the processor executes the executable code, the health data query method provided in the present specification is implemented.

[0184] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the storage medium and computing device embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments.

[0185] Those skilled in the art should be aware that in one or more of the above examples, the functions described in the embodiments of the present invention can be implemented by hardware, software, firmware, or any combination thereof. When implemented by software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or codes on a computer-readable medium.

[0186] The specific implementation methods described above further describe the purpose, technical solutions and beneficial effects of the embodiments of the present invention in detail. It should be understood that the above description is only a specific implementation method of the embodiments of the present invention and is not intended to limit the scope of protection of the present invention. Any modification, equivalent replacement, improvement, etc. made on the basis of the technical solution of the present invention shall be included in the scope of protection of the present invention.

Claims

1. A health data reporting method, executed by a mobile terminal, comprising: Monitoring a first signal using a short-range communication protocol in the environment; After monitoring the first signal and determining that the first signal has a target service signal identifier, the locally pre-stored health query identifier is sent to the query device that sends the first signal through the short-range communication protocol, so that the query device obtains the health data of the user of the mobile terminal from the server based on the health query identifier, wherein the health query identifier is generated based on the terminal information of the mobile terminal and the user information of its user.

2. The method of claim 1, wherein: The short distance communication protocol is one of the following protocols: near field communication protocol, Bluetooth transmission protocol.

3. The method of claim 1, wherein: The step of sending the locally pre-stored health query identifier to the query device that sends the first signal includes: Establishing a connection with the query device through the short-range communication protocol; The health query identifier is sent to the query device through the established connection.

4. The method of claim 3, wherein: The establishing a connection with the query device includes: Sending a connection request to the query device; In response to a connection reply sent by the querying device in response to the connection request, a connection is established with the querying device, wherein the connection reply is sent by the querying device after the mobile terminal is successfully authenticated.

5. The method according to any one of claims 1 to 4, further comprising: Calling the data upload interface of the server, and sending the terminal information and the user information to the server through the data upload interface, so that the server generates the health query identifier based on the terminal information and the user information using a preset identifier generation algorithm; The health query identifier is received from the server and stored.

6. The method according to any one of claims 1 to 4, wherein: The health query identifier is an identifier encrypted using a target key agreed upon in advance with the query device.

7. A health data query method, performed by a query device, wherein the query device is set at a designated location of a target location, the method comprising: Broadcasting a first signal using a short-range communication protocol, the first signal having a target service signal identifier; receiving a health query identifier from a mobile terminal through the short-range communication protocol, wherein the health query identifier is sent by the mobile terminal in response to monitoring the first signal, and the health query identifier is generated based on terminal information of the mobile terminal and user information of its user; Based on the health query identifier, health data of the user of the mobile terminal is queried from a server.

8. The method of claim 7, wherein: The short distance communication protocol is one of the following protocols: near field communication protocol, Bluetooth transmission protocol.

9. The method of claim 7, wherein: The receiving a health query identifier from a mobile terminal through the short-range communication protocol includes: Establishing a connection with the mobile terminal via the short-range communication protocol; The health query identifier is received from the mobile terminal through the established connection.

10. The method of claim 9, wherein: The establishing a connection with the mobile terminal comprises: receiving a connection request from the mobile terminal; In response to the connection request, verifying the mobile terminal using a preset authentication method; If the verification is successful, a connection reply is sent to the mobile terminal to establish a connection with the mobile terminal.

11. The method of claim 7, wherein: The health query identifier is an identifier encrypted using a target key agreed upon in advance with the query device; The querying the health data of the user of the mobile terminal from the server includes: Decrypting the health query identifier using the decryption key corresponding to the target key; If the decryption is successful, the health data of the user is queried from the server based on the decrypted health query identifier.

12. The method of claim 7, wherein: The querying the health data of the user of the mobile terminal from the server includes: Sending the health query identifier and the device identifier of the query device to the server, so that the server determines the designated location of the target place based on the device identifier and records it as the current location information of the user; and determining the health data of the user based on the health query identifier; The health data is received from the server.

13. The method according to any one of claims 7 to 12, further comprising: Based on the health data, corresponding prompt information is output.

14. The method of claim 13, wherein: The outputting corresponding prompt information based on the health data includes: If the health data indicates that the user is healthy, output health reminder information indicating the health of the user; If the health data indicates that the user's health is abnormal, an abnormal alarm message is output.

15. The method of claim 13, wherein: The outputting corresponding prompt information based on the health data includes: Determine whether the user's health is abnormal based on the health data, and output a preset prompt message only when an abnormality occurs.

16. The method of claim 7, wherein: The query device is a door access device of the target location.

17. A health data reporting device, deployed in a mobile terminal, comprising: A monitoring module configured to monitor a first signal using a short-range communication protocol in an environment; The sending module is configured to, after monitoring the first signal and determining that the first signal has a target service signal identifier, send a locally pre-stored health query identifier to a query device that sends the first signal through the short-range communication protocol, so that the query device obtains the health data of the user of the mobile terminal from the server based on the health query identifier, wherein the health query identifier is generated based on the terminal information of the mobile terminal and the user information of its user.

18. A health data query device, deployed on a query device, the query device is set at a designated location of a target location, the device comprising: A broadcast module, configured to broadcast a first signal using a short-range communication protocol, the first signal having a target service signal identifier; a receiving module, configured to receive a health query identifier from a mobile terminal through the short-range communication protocol, wherein the health query identifier is sent by the mobile terminal in response to monitoring the first signal, and the health query identifier is generated based on terminal information of the mobile terminal and user information of its user; The query module is configured to query the health data of the user of the mobile terminal from the server based on the health query identifier.

19. A computing device comprising a memory and a processor, wherein: The memory stores executable code, and when the processor executes the executable code, the method described in any one of claims 1-6 or 7-16 is implemented.

Citation Information

Patent Citations

  • Medical information notice acquiring system and method based on NFC

    CN104462851A

  • Medical guidance method and device based on Bluetooth signals

    CN104680461A

  • Access control method and device, electronic equipment and storage medium

    CN112489275A