Disclosure of Invention
The invention provides a method and equipment for storing health data, which are used for solving the problems that in the prior art, when the health data is stored, the operation is frequent, and the probability of storing the data into the health data of other users is high.
In a first aspect, a health data storage apparatus comprises a processor and a memory, wherein the memory stores program code that, when executed by the processor, causes the processor to be configured to:
in the health data measuring process, matching the received user characteristic information of the current measuring user with the stored user characteristic information, and determining the alternative identity information of the current measuring user according to a first matching result; matching the received real-time health data of the current measurement user with historical health data corresponding to the alternative identity information, and determining target identity information according to a second matching result; and storing the real-time health data into a storage area corresponding to the target identity information in the memory.
Optionally, the treatment appliance is configured to:
according to the first matching result, determining stored user characteristic information with a matching value higher than a first threshold value, and taking user identity information corresponding to the determined user characteristic information as the alternative identity information;
and determining historical health data with a matching value higher than a second threshold value, and taking alternative identity information corresponding to the determined historical health data as the target identity information.
Optionally, the processor is further configured to:
and matching the real-time health data of the current measurement user with the stored historical health data corresponding to each user identity information, and taking the identity information corresponding to the historical health data with the matching value higher than a third threshold value as the target identity information.
Optionally, the treatment appliance is configured to:
if the target identity information comprises a plurality of target identity information, matching the received voiceprint information of the current measurement user with the voiceprint information corresponding to each target identity information, and taking the target identity information corresponding to the voiceprint information of which the matching value is higher than a fourth threshold value as the target identity information of the current measurement user;
and if the target identity information is not included, storing the basic information and the real-time health data of the current measuring user into a storage area corresponding to the newly-built measuring user.
Optionally, before storing the real-time health data in the storage area corresponding to the target identity information, the processor is further configured to:
determining that the target identity information is consistent with the identity information of the currently logged-in user;
if the target identity information is inconsistent with the identity information of the currently logged-in user, the processor is further configured to:
and responding to the confirmation operation of the user.
In a second aspect, an embodiment of the present invention provides a method for storing health data, where the method includes:
in the health data measuring process, matching the received user characteristic information of the current measuring user with the stored user characteristic information, and determining the alternative identity information of the current measuring user according to a first matching result;
matching the received real-time health data of the current measurement user with historical health data corresponding to the alternative identity information, and determining target identity information according to a second matching result;
and storing the real-time health data into a storage area corresponding to the target identity information.
Optionally, the determining, according to the first matching result, the alternative identity information of the current measurement user includes:
according to the first matching result, determining stored user characteristic information with a matching value higher than a first threshold value;
taking the user identity information corresponding to the determined user characteristic information as the alternative identity information;
the determining the target identity information according to the second matching result includes:
determining historical health data with a matching value higher than a second threshold according to the second matching result;
and taking the alternative identity information corresponding to the determined historical health data as the target identity information.
Optionally, the method further includes:
and matching the real-time health data of the current measurement user with the stored historical health data corresponding to each user identity information, and taking the user identity information corresponding to the historical health data with the matching value higher than a third threshold value as the target identity information.
Optionally, if the target identity information includes multiple pieces of target identity information, matching the received voiceprint information of the current measurement user with the voiceprint information corresponding to each piece of target identity information, and using the identity information corresponding to the voiceprint information of which the matching value is higher than a fourth threshold value as the target identity information of the current measurement user;
and if the target identity information is not included, storing the identity information and the real-time health data of the current measuring user into a storage area corresponding to the newly-built measuring user.
Optionally, before storing the real-time health data in the storage area corresponding to the target identity information, the method further includes:
determining that the target identity information is consistent with the identity information of the currently logged-in user;
if the target identity information is inconsistent with the identity information of the currently logged-in user, the method further comprises the following steps: and responding to the confirmation operation of the user.
In a third aspect, an embodiment of the present invention provides an apparatus for storing health data, where the apparatus includes a first matching module, a second matching module, and a storage module;
the first matching module is used for matching the received user characteristic information of the current measuring user with the stored user characteristic information in the health data measuring process and determining the alternative identity information of the current measuring user according to a first matching result;
the second matching module is used for matching the received real-time health data of the current measurement user with historical health data corresponding to the alternative identity information and determining target identity information according to a second matching result;
and the storage module is used for storing the real-time health data into a storage area corresponding to the target identity information.
Optionally, the first matching module is specifically configured to:
the determining the alternative identity information of the current measurement user according to the first matching result includes:
according to the first matching result, determining stored user characteristic information with a matching value higher than a first threshold value;
taking the user identity information corresponding to the determined user characteristic information as the alternative identity information;
the second matching module is specifically configured to:
determining historical health data with a matching value higher than a second threshold according to the second matching result;
and taking the alternative identity information corresponding to the determined historical health data as the target identity information.
Optionally, the apparatus further includes a third matching module:
and the third matching module is used for matching the real-time health data of the current measurement user with the stored historical health data corresponding to each piece of user identity information, and taking the user identity information corresponding to the historical health data with the matching value higher than a third threshold value as the target identity information.
Optionally, if the target identity information includes multiple pieces of target identity information, matching the received voiceprint information of the current measurement user with the voiceprint information corresponding to each piece of target identity information, and using the identity information corresponding to the voiceprint information of which the matching value is higher than a fourth threshold value as the target identity information of the current measurement user;
and if the target identity information is not included, storing the identity information and the real-time health data of the current measuring user into a storage area corresponding to the newly-built measuring user.
Optionally, the apparatus further includes a determining module and a responding module:
the determining module is used for determining that the target identity information is consistent with the identity information of the currently logged-in user;
if the target identity information is inconsistent with the identity information of the currently logged-in user, the response module is used for: and responding to the confirmation operation of the user.
In a fourth aspect, the present invention also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method of the second aspect.
The invention has the following beneficial effects:
the health data storage device and the method provided by the embodiment of the invention firstly match the received user characteristic information of the current measurement user with the stored user characteristic information, determine the alternative identity information according to the first matching result, then matching the received real-time health data of the current measurement user with historical health data corresponding to the alternative identity information, according to the second matching result, the target identity information is stored in the storage area corresponding to the target identity information, since the target identity information is obtained from the received user characteristic information of the current measurement user and the real-time health data of the current measurement user, therefore, manual operation of a user can be avoided, the effectiveness of personal health data storage is improved, the probability of error storage is reduced, and the accuracy of health assessment can be improved.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
At present, more and more families can purchase different types of health equipment according to the needs of family members, and the family members can conveniently measure and know the change of own physical sign data. Along with the improvement of the intelligent level of the equipment, people can directly upload the measured result to the cloud end by using the intelligent health equipment, and check the current health data, the historical health data curve of the people and the data such as the health assessment report generated based on the data through terminals such as a mobile phone, so that the intelligent health equipment is very convenient and fast.
Generally, except some special types of health devices, common health devices in a family, such as a thermometer, a body fat scale, a sphygmomanometer, a blood glucose meter, an electrocardiograph, and the like, can be shared among family members, that is, all the members in a family use a set of health devices for detection. In the measurement process, a user usually pays more attention to the current measurement result, that is, only wants to see the current measured health data or the health assessment report corresponding to the current measured health data, and therefore, the step of correctly selecting the storage area for storing the current measured health data is omitted, so that the current measured health data is finally stored in an incorrect storage area, and incorrect historical health data is generated. When periodic health assessment or prediction is carried out subsequently, the data set doped with error data is used for analysis, the accuracy of the output assessment or prediction result is low, the referential performance of the user is not high, and the reliability of the user on the current health data management service is further reduced.
Therefore, the user manually selects the current measuring user, the operation is frequent, and the probability of data error saving in the health data of other users is high.
Based on the above problem, the embodiment of the present invention provides a method for storing health data, which is applied to a health management system. As shown in fig. 1, for a health management system provided in an embodiment of the present invention, the health management system may include a terminal 10, a health device 20, and a server 30.
The terminal 10 in the embodiment of the present invention may be a smart television, a mobile phone, a medical terminal, etc., and the following description will use the terminal 10 as a smart television.
In the health data measuring process, user characteristic information of a user is obtained through a camera of a television host, then the user characteristic information is sent to a server, after the server receives the user characteristic information, the received user characteristic information is compared with stored user characteristic information, alternative user identity information is determined according to a comparison result, current health data of the current user are collected by health equipment and sent to the server, the received current health data are compared with historical health data corresponding to the alternative identity information by the server, target identity information is determined according to the comparison result, and finally the current health data are stored in a storage area corresponding to the target identity information by the server.
The system is described in detail below.
1. The smart television 10 can be provided with a program, is provided with a camera and has a voice interaction function.
2. The health device 20, including but not limited to a thermometer, a body fat scale, a sphygmomanometer, a blood glucose meter, and an electrocardiograph, is used for measuring body characteristics data of a user, such as body temperature, body weight, blood pressure, blood glucose, and electrocardiogram.
3. The server 30 may include a family profile management unit 301, a health data management unit 302, and a multi-modal identification unit 303.
The family archive management unit 301 is configured to store archive information of each member in the family, and can classify and store the archive information, where the archive information includes, but is not limited to, identity information, face information, and voiceprint information. Wherein, the identity information at least comprises name, gender, age, birth year and month, height and the like; the face information mainly comprises images and extracted face feature data, wherein the images can be used for identifying the identity of each family member, such as head portraits and photos of each family member; voiceprint information is mainly audio collected when the voiceprint information is subjected to voice interaction with a television through equipment such as a remote controller under scenes such as file creation and intelligent inquiry of each family member and extracted voiceprint characteristic data.
The home archive management unit 301 and the corresponding database may be deployed in an edge server located in a home lan, or may be deployed in a cloud remote server.
The health data management unit 302 is configured to store health data of each member in the family, and is capable of performing classification processing and storage on the health data, where the health data includes, but is not limited to, physical sign data, physical examination reports, and medical records of the user, and supports query of the health data according to screening conditions of family members, data categories, time periods, and the like.
The health data management unit 302 and the corresponding database may be deployed in an edge server located in a home lan or in a cloud remote server.
The multi-modal identity recognition unit 303 is configured to analyze and process data stored in the family archive management unit 301 and the health data management unit 302, process the face, voiceprint, and various types of physical sign data in the family archive management unit 301 and the health data management unit 302, establish a corresponding training sample set, generate a face recognition model, a voiceprint recognition model, and a similarity matching model for various types of physical sign data of each family member by using Machine learning algorithms such as a Support Vector Machine (SVM) and a convolutional neural network, update various models when data in the family archive management unit 301 and the health data management unit 302 changes, and process and identify a picture or a video acquired by a camera of the smart television 10 and a voice interaction audio acquired by the smart television 10 in response to an identity recognition request sent by the health data management unit, and feeding back the identified family member result.
The multi-modal identity recognition unit 303 and the corresponding database may be deployed in an edge server located in a home lan, or may be deployed in a cloud remote server.
The method for storing health data provided by the embodiment of the invention is explained in detail below. As shown in fig. 2, the method for storing health data provided by the embodiment of the present invention specifically includes the following steps:
step 201, in the health data measurement process, matching the received user characteristic information of the current measurement user with the stored user characteristic information, and determining the alternative identity information of the current measurement user according to a first matching result;
step 202, matching the received real-time health data of the current measurement user with historical health data corresponding to the alternative identity information, and determining target identity information according to a second matching result;
step 203, storing the real-time health data into a storage area corresponding to the target identity information.
In the embodiment of the invention, the received user characteristic information of the current measurement user is matched with the stored user characteristic information, the alternative identity information is determined according to the first matching result, the received real-time health data of the current measurement user is matched with the historical health data corresponding to the alternative identity information, and the real-time health data is stored in the storage area corresponding to the target identity information according to the second matching result, and the target identity information is obtained by the received user characteristic information of the current measurement user and the real-time health data of the current measurement user, so that the manual operation of the user can be avoided, the storage effectiveness of the personal health data is improved, the probability of error storage is reduced, and the accuracy of health evaluation can be improved.
In specific implementation, the terminal for collecting the user characteristic information may be a smart television, a computer, a mobile phone, and the like, and the user characteristic information may be user image information, video information, voiceprint information, and the like.
In implementation, after receiving the user characteristic information, the server matches the user characteristic information with stored user characteristic information, selects the user characteristic information with a matching value higher than a first threshold value from the stored user characteristic information, uses the user identity information corresponding to the selected user characteristic information as alternative identity information, obtains historical health data corresponding to the alternative identity information, matches the real-time health data of the currently measured user with the historical health data corresponding to the alternative identity information, selects the historical health data with a matching value higher than a second threshold value from the historical health data, and uses the identity information corresponding to the historical health data with a matching value higher than the second threshold value as target identity information.
When the user feature information is matched with the stored user feature information, the user feature information with the matching value higher than the first threshold value is selected from the stored user feature information, and the user identity information corresponding to the selected user feature information is used as the alternative identity information, a face recognition model or a voiceprint recognition model can be used, the face recognition model or the voiceprint recognition model is trained in advance, the identity information and the face information stored in the family archive management unit 301 can be trained to obtain the face recognition model, and/or the identity information and the voiceprint information stored in the family archive management unit 301 can be trained to obtain the voiceprint recognition model. And the server inputs the received user characteristic information into a face recognition model or a voiceprint recognition model to obtain alternative identity information.
If the user characteristic information is face information, inputting the face information into a face recognition model; and if the user characteristic information is voiceprint information, inputting the voiceprint information into the voiceprint recognition model.
When the real-time health data of the current measurement user is matched with the historical health data corresponding to the alternative identity information, the historical health data with the matching value higher than the second threshold value is selected from the historical health data, and the identity information corresponding to the historical health data with the matching value higher than the second threshold value is used as the target identity information, a similarity matching model of each category of physical sign data of each family member can be used, the similarity matching model of each category of physical sign data of each family member is trained in advance, the identity information and the historical health data stored in the family file management unit 301 and the health data management unit 302 can be trained, and a similarity matching model of each category of physical sign data of each family member is obtained. And the server inputs the received real-time health data of the current measurement user into the similarity matching model of the physical sign data of each family member, so as to obtain target identity information.
In the embodiment of the present invention, data needs to be stored before model training, and the following describes the stored data in the embodiment of the present invention in detail.
As shown in fig. 3, which is a schematic diagram of a system for storing home archive data according to an embodiment of the present invention, a family member in fig. 3 may edit home archive data displayed on a smart television 10 through a remote controller, edit an operation function, perform voice interaction, edit identity information displayed on a display interface of the smart television through the remote controller, the smart television sends the edited identity information to a server, a home archive management unit in the server stores the received edited identity information in an identity information database, when performing voice interaction through the remote controller, the remote controller collects voice information of the family member and then sends the voice information to the smart television, the smart television sends the voice information to the server, a home archive management unit in the server parses the received voice information to obtain voiceprint information, storing the voiceprint information into a voiceprint information database; the smart television 10 may collect face information of a family member through a camera, and send the collected face information to a server, and a family archive management unit in the server stores the received face information in a face information database.
And after receiving the face information, the voice information and the edited identity information, the family file management unit in the server sends an updating message to the multi-mode identity recognition unit, and the multi-mode identity recognition unit acquires the updated face information, the voice print information and the edited identity information from the family file database and then retrains the model according to the acquired information.
As shown in fig. 4, an interaction flow diagram for storing family archive data provided in an embodiment of the present invention includes the following steps:
s401, the smart television receives voice information, obtains face image information, obtains video information of a user, and obtains identity information edited by the user;
the voice information can be sent to the smart television by the user through the remote controller, the face image information can be collected through a camera of the smart television, the video information of the user can also be obtained through the camera of the smart television, and the identity information edited by the user can be the information edited by the user through the remote controller on the display interface of the smart television.
S402, the smart television sends voice information, face image information, video information and edited identity information to a server;
s403, analyzing the received voice information, the face image information and the video information by a home archive management unit in the server to obtain voiceprint information and face information;
s404, a family file management unit in the server stores the voiceprint information into a voiceprint information database, stores the face information into a face information database, and stores the identity information into an identity information database;
s404, the family archive management unit in the server sends an update message to the multi-mode identity recognition unit in the server;
s405, a multi-mode identity recognition unit in the server acquires updated voiceprint information, updated face information and updated identity information from a family file management unit;
s406, the multi-mode identity recognition unit in the server retrains the model according to the updated voiceprint information, the updated face information and the updated identity information.
The model comprises a voiceprint recognition model and a face recognition model, the voiceprint recognition model is trained according to updated voiceprint information and updated identity information, and the face recognition model is trained according to the updated face information and the updated identity information.
In the embodiment of the present invention, when editing identity information, a health record management page may be operated, as shown in fig. 5, which is a schematic diagram of a family member management interface provided in the embodiment of the present invention, and is used to edit a family member management interface displayed on an intelligent television terminal through a remote controller, for example, a name: a, sex: female, age: age 34, identification: the intelligent television carries out editing and sends the edited identity information to the server.
As shown in fig. 6, which is a schematic diagram of an editing interface provided in an embodiment of the present invention, a user may create identity information of a family member through the interface, and may also modify identity information of an existing family member through the interface.
The face image and the video information of the embodiment of the invention can be acquired through a camera of a terminal, and the voiceprint information can guide a user to read a section of specified characters, and can be acquired through other ways besides the above way, for example, as shown in fig. 7, in the process of video inquiry, the face information and the voiceprint information of a family member are acquired through the conversation between the family member and a doctor, as shown in fig. 8, and also when the family member uses an intelligent inquiry function, in the process of multiple rounds of conversation, the voiceprint information of the family member is acquired by the camera of an intelligent television and stored.
The above is the collection and storage of face information and voiceprint information, and the following is a description of the collection and storage of health data provided by the embodiment of the present invention.
As shown in fig. 9, which is a schematic diagram of a system for storing health data according to an embodiment of the present invention, a family member in fig. 9 may operate a smart tv and may also operate a health device, so as to control the smart tv and the health device to be connected, the smart tv may obtain health data and acquire face information of a user, a health data management unit in a server may receive a recognition instruction sent by the smart tv, receive health data and a face image sent by the smart tv, store the health data and the face image, notify a multi-modal identity recognition unit to perform identity recognition, the multi-modal identity recognition unit obtains health data from the health data, obtains the face image, video, or audio information from the smart tv, performs identity recognition, sends a recognition result to the health data management unit, and the health data management unit may measure voice interaction between the smart tv and the user, and further determining whether the identity recognition is correct, and if so, storing the measured health data in a storage area corresponding to the recognized identity information.
As shown in fig. 10, an interaction flow diagram for health data management provided in an embodiment of the present invention includes the following steps:
s1001, connection is established between the health equipment and the intelligent television;
s1002, health equipment measures health data of a current measurement user;
s1003, the health equipment sends the measured health data to the smart television;
s1004, displaying the health data by the smart television;
s1005, the intelligent television image health data management unit sends a measurement starting message;
s1006, the health data management unit sends an identity recognition message to the multi-mode identity recognition unit;
s1007, the multi-mode identity recognition unit acquires face information of a measurement user, video information of the measurement user or voiceprint information of the measurement user from the smart television;
s1008, the multi-mode identity recognition unit inputs the acquired information into a face recognition model or a voiceprint recognition model to obtain identity information of the measuring user;
s1009, the multi-mode identity recognition unit receives the health data sent by the smart television;
s1010, comparing historical health data corresponding to the alternative identity information with the measured health data by the multi-mode identity recognition unit to obtain target identity information;
s1011, the health data management unit sends the target identity information to the health data management unit;
s1012, the health data management unit stores the received health data in a storage area corresponding to the target identity information.
As shown in fig. 11, which is a schematic diagram of a display interface provided in an embodiment of the present invention, after a connection is established between a health device and a smart television, a display area of the smart television displays the display interface corresponding to the health device. In fig. 11, the health device connected to the smart tv is a body fat scale, and the user currently measuring may click "start measurement" on the display interface, and the body fat scale starts to measure the health data of the user currently measuring.
Fig. 12 is a schematic diagram of a display interface according to an embodiment of the present invention. In fig. 12, the health data of the current measurement user is displayed, when the user clicks "upload data", the smart television sends a message for identifying the identity information of the current measurement user to the server, and after receiving the message, the server identifies the identity information of the current measurement user to determine the target identity information.
In a specific implementation, after determining the alternative identity information or the target identity information, the identity information of the currently measured user may be further determined through voice interaction, for example, as shown in fig. 11, the multi-modal recognition unit sends the determined alternative identity information or the target identity information to the smart television, displays the identity information on the smart television, and confirms the user through voice or manually.
It should be noted that, in fig. 13, the smart tv displays one identity information, there may be a plurality of alternative identity information and target identity information, and when there are a plurality of alternative identity information and target identity information, the plurality of identity information is displayed on the display interface of the smart tv, and may be determined by the user through a voice interaction manner or a manual operation manner.
In an embodiment, if the target identity information includes a plurality of target identity information, the server matches the received voiceprint information of the current measurement user with the voiceprint information corresponding to each target identity information, and takes the identity information corresponding to the voiceprint information of which the matching value is higher than the fourth threshold value as the target identity information of the current measurement user.
Fig. 14 is a schematic view of a display interface for determining identity information of a currently measured user according to an embodiment of the present invention. As can be seen from fig. 14, there are 3 target identity information determined by the server, A, B and C, the user confirms the identity information of the current measuring user through voice, the smart television collects the voice information of the user, sends the collected voice information to the server, the server analyzes the voice information to obtain semantic information, and finally determines the identity information of the current measuring user according to the analyzed semantic information.
In another embodiment, if the server does not determine the target identity information, it indicates that the identity information of the user is not stored in the server, a new database storing the identity information, face information, and voiceprint information of the user needs to be created, and the server stores the identity information, face information, and voiceprint information of the user in the new database.
Fig. 15 is a schematic diagram of confirming identity information of a currently measured user according to an embodiment of the present invention. If the server does not recognize the target identity information, displaying that the current measuring user is a non-family member and asks for perfecting the identity information on a display interface of the smart television, and determining whether to perfect the identity information by voice by the current measuring user.
In the embodiment of the invention, if the smart television cannot collect the characteristic information of the user, the server can match the received real-time health data of the current measurement user with the stored historical health data corresponding to each user identity information, and the identity information corresponding to the historical health data with the matching value higher than the third threshold value is used as the target identity information.
Specifically, the pre-trained similarity matching model for each category of physical sign data of each family member may be used to input the received real-time health data into the similarity matching model for each category of physical sign data of each family member, so as to obtain the target identity information.
In the embodiment of the invention, before the real-time health data is stored in the storage area corresponding to the target identity information, whether the target identity information is consistent with the identity information of the currently logged-in user can be determined, if so, the real-time health data is directly stored in the storage area corresponding to the target identity information, and if not, the operation of the user can be responded, and whether the currently confirmed target identity information is the identity information of the currently measured user is determined through voice interaction.
Fig. 16 is a schematic diagram of a display interface according to an embodiment of the present invention. In fig. 14, the currently logged-in user is a, the identity information of the currently measured user identified by the server is C, and the smart television displays on the display interface that "the currently measured user is C, and whether to store the user data", and determines whether to store the user data by using that the currently measured user is voice information. And after the data of the user is determined to be stored, storing the data into a storage area corresponding to the identity information C.
The health data in the embodiment of the invention includes but is not limited to physical sign data, physical examination reports, treatment records and the like of the user; the first threshold, the second threshold, the third threshold, and the fourth threshold may be any values to which the embodiments of the present invention are applicable, and are not limited herein.
As shown in fig. 17, a schematic flow chart of a complete method for storing health data according to an embodiment of the present invention specifically includes the following steps:
step 1701, judging whether the user characteristic information of the current measurement user can be received, if so, executing 1702, otherwise, executing 1709;
1702, matching the user characteristic information of the current measurement user with the stored user characteristic information, and taking the user identity information corresponding to the stored user characteristic information with a matching value higher than a first threshold value as alternative identity information;
step 1703, matching the real-time health data of the current measurement user with historical health data corresponding to each alternative identity information, and using the alternative user identity information corresponding to the historical health data with the matching value higher than the second threshold value as target identity information;
step 1704, judging whether target identity information exists, if so, executing step 1705, otherwise, executing step 1710;
step 1705, determining whether only one target identity information exists, if yes, executing step 1706, otherwise executing step 1711;
step 1706, judging whether the target identity information of the current measurement user is consistent with the identity information of the current login user, if so, executing step 1707, otherwise, executing steps 17 and 12;
step 1707, requesting the current measurement user to confirm the target identity information by voice;
step 1708, storing the real-time health data into a storage area corresponding to the target identity information, and ending the process;
step 1709, matching the real-time health data of the current measurement user with historical health data corresponding to each alternative identity information, taking the alternative user identity information corresponding to the real-time health data with the matching value higher than the fourth threshold value as target identity information, and executing step 1704;
step 1710, determining that the current measurement user is a new measurement user, storing the real-time health data into a storage area corresponding to the new measurement user, and ending the process;
step 1711, matching the voice information of the current measurement user with the voice information corresponding to each target identity information, determining that the target identity information with the matching value higher than the third threshold value is the target identity information of the current measurement user, and executing step 1708;
step 1712, determining the target identity information as the target identity information of the current measuring user.
As shown in fig. 18, which is a schematic structural diagram of a smart television when a terminal is a smart television in the embodiment of the present invention, the smart television 1800 may include a tuner 210, a communicator 220, a detector 230, an external device interface 240, a controller 250, a memory 260, a user interface 265, a video processor 270, a display 275, an audio processor 280, an audio output interface 285, and a power supply 290.
The tuner demodulator 210 receives the broadcast television signal in a wired or wireless manner, may perform modulation and demodulation processing such as amplification, mixing, and resonance, and is configured to demodulate, from a plurality of wireless or wired broadcast television signals, an audio/video signal carried in a frequency of a television channel selected by a user, and additional information (e.g., EPG data).
The tuner demodulator 210 is responsive to the user selected frequency of the television channel and the television signal carried by the frequency, as selected by the user and controlled by the controller 250.
The tuner demodulator 210 can receive a television signal in various ways according to the broadcasting system of the television signal, such as: terrestrial broadcasting, cable broadcasting, satellite broadcasting, internet broadcasting, or the like; and according to different modulation types, a digital modulation mode or an analog modulation mode can be adopted; and can demodulate the analog signal and the digital signal according to the different kinds of the received television signals.
In other exemplary embodiments, the tuning demodulator 210 may also be in an external device, such as an external set-top box. In this way, the set-top box outputs a television signal after modulation and demodulation, and inputs the television signal into the display apparatus 200 through the external device interface 240.
The communicator 220 is a component for communicating with an external device or an external server according to various communication protocol types. For example, the display apparatus 200 may transmit content data to an external apparatus connected via the communicator 220, or browse and download content data from an external apparatus connected via the communicator 220. The communicator 220 may include a network communication protocol module or a near field communication protocol module such as a wifi module 221, a bluetooth module 222, a wired ethernet communication protocol module 223, etc., so that the communicator 220 may receive a control signal of the control apparatus 100 according to the control of the controller 250 and implement the control signal as a wifi signal, a bluetooth signal, a radio frequency signal, etc.
The detector 230 is a component of the smart tv 1800 for collecting signals of the external environment or interacting with the outside. The detector 230 may include a microphone 231, which may be used to receive user's voice, such as voice signals of control instructions for the user to control the smart tv 1800; or, environmental sounds for identifying the type of the environmental scene may be collected, so that the smart television 1800 may adapt to the environmental noise.
In some other exemplary embodiments, the detector 230, which may further include an image collector 232, such as a camera, a video camera, etc., may be configured to collect external environment scenes to adaptively change the display parameters of the smart tv 1800; and the function of acquiring the attribute of the user or interacting gestures with the user so as to realize the interaction between the display equipment and the user.
In some other exemplary embodiments, the detector 230 may further include a light receiver for collecting the ambient light intensity to adapt to the display parameter variation of the smart tv 1800.
In some other exemplary embodiments, the detector 230 may further include a temperature sensor, such as by sensing the ambient temperature, and the smart tv 1800 may adaptively adjust the display color temperature of the image. For example, when the temperature is higher, the color temperature of the image displayed by the smart tv 1800 can be adjusted to be a cold tone; when the temperature is low, the color temperature of the image displayed by the smart television 1800 can be adjusted to be warm.
The external device interface 240 is a component for providing the controller 250 to control data transmission between the smart tv 1800 and an external device. The external device interface 240 may be connected to an external apparatus such as a set-top box, a game device, a notebook computer, etc. in a wired/wireless manner, and may receive data such as a video signal (e.g., moving image), an audio signal (e.g., music), additional information (e.g., EPG), etc. of the external apparatus.
The external device interface 240 may include: a High Definition Multimedia Interface (HDMI) terminal 241, a Composite Video Blanking Sync (CVBS) terminal 242, an analog or digital Component terminal 243, a Universal Serial Bus (USB) terminal 244, a Component terminal (not shown), a red, green, blue (RGB) terminal (not shown), and the like.
The controller 250 controls the operation of the smart tv 1800 and responds to the user's operation by running various software control programs (such as an operating system and various application programs) stored in the memory 260.
As shown in fig. 18, the controller 250 includes a Random Access Memory (RAM)251, a Read Only Memory (ROM)252, a graphics processor 253, a CPU processor 254, a communication interface 255, and a communication bus 256. The RAM251, the ROM252, the graphic processor 253, and the CPU processor 254 are connected to each other through a communication bus 256 through a communication interface 255.
The ROM252 stores various system boot instructions. If the power of the smart tv 1400 starts to be started when the power-on signal is received, the CPU processor 254 executes the system start instruction in the ROM252, and copies the operating system stored in the memory 260 to the RAM251 to start running the start operating system. After the start of the operating system is completed, the CPU processor 254 copies the various application programs in the memory 260 to the RAM251 and then starts running and starting the various application programs.
And a graphic processor 253 for generating various graphic objects such as icons, operation menus, and user input instruction display graphics, etc. The graphic processor 253 may include an operator for performing an operation by receiving various interactive instructions input by a user, and further displaying various objects according to display attributes; and a renderer for generating various objects based on the operator and displaying the rendered result on the display 275.
A CPU processor 254 for executing operating system and application program instructions stored in memory 260. And according to the received user input instruction, processing of various application programs, data and contents is executed so as to finally display and play various audio-video contents.
In some example embodiments, the CPU processor 254 may comprise a plurality of processors. The plurality of processors may include one main processor and a plurality of or one sub-processor. A main processor for performing some initialization operations of the smart tv 1400 in the display device preloading mode and/or operations of displaying a picture in the normal mode. A plurality of or one sub-processor for performing an operation in a state of a standby mode or the like of the display apparatus.
The communication interface 255 may include a first interface to an nth interface. These interfaces may be network interfaces that are connected to external devices via a network.
The controller 250 may control the overall operation of the smart tv 1800. For example: in response to receiving a user input command for selecting a GUI object displayed on the display 275, the controller 250 may perform an operation related to the object selected by the user input command.
Where the object may be any one of the selectable objects, such as a hyperlink or an icon. The operation related to the selected object is, for example, an operation of displaying a link to a hyperlink page, document, image, or the like, or an operation of executing a program corresponding to the object. The user input command for selecting the GUI object may be a command input through various input devices (e.g., a mouse, a keyboard, a touch panel, etc.) connected to the smart tv 1800 or a voice command corresponding to a voice spoken by the user.
The memory 260 is used for storing various types of data, software programs, or applications that drive and control the operation of the smart tv 1400. The memory 260 may include volatile and/or nonvolatile memory. And the term "memory" includes the memory 260, the RAM251 and the ROM252 of the controller 250, or a memory card in the smart tv 1800.
In some embodiments, the memory 260 is specifically used for storing an operating program for driving the controller 250 in the smart tv 1800; various application programs built in the smart television 1800 and downloaded by a user from an external device are stored; data such as visual effect images for configuring various GUIs provided by the display 275, various objects related to the GUIs, and selectors for selecting GUI objects are stored.
In some embodiments, memory 260 is specifically configured to store drivers for tuner demodulator 210, communicator 220, detector 230, external device interface 240, video processor 270, display 275, audio processor 280, etc., and related data, such as external data (e.g., audio-visual data) received from the external device interface or user data (e.g., key information, voice information, touch information, etc.) received by the user interface.
In some embodiments, memory 260 specifically stores software and/or programs representing an Operating System (OS), which may include, for example: a kernel, middleware, an Application Programming Interface (API), and/or an application program. Illustratively, the kernel may control or manage system resources, as well as functions implemented by other programs (e.g., the middleware, APIs, or applications); at the same time, the kernel may provide an interface to allow middleware, APIs, or applications to access the controller to enable control or management of system resources.
As shown in fig. 19, which is a schematic structural diagram of a mobile phone 1500 when the terminal is a mobile phone in the embodiment of the present invention, the mobile phone 1500 includes: radio Frequency (RF) circuitry 1510, memory 1520, display unit 1530, camera 1540, sensor 1550, audio circuitry 1560, Wireless Fidelity (Wi-Fi) module 1570, processor 1580, bluetooth module 1581, and power supply 1590.
The RF circuit 1510 may be configured to receive and transmit signals during information transmission and reception or during a call, and may receive downlink data of a base station and then send the downlink data to the processor 1580 for processing; the uplink data may be transmitted to the base station. Typically, the RF circuitry includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
The memory 1520 may be used to store software programs and data. The processor 1580 performs various functions of the mobile phone 1500 and data processing by executing software programs or data stored in the memory 1520. The memory 1520 may include high-speed random access memory and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device. The memory 1520 stores an operating system that enables the handset 1500 to operate. The memory 1520 of the present invention may store an operating system and various application programs, and may also store codes for performing the methods according to the embodiments of the present invention.
The display unit 1530 may be used to receive input numeric or character information and generate signal inputs related to user settings and function control of the cell phone 1500, and particularly, the display unit 1530 may include a touch screen 1531 disposed on the front of the cell phone 1500 and may collect touch operations of the user thereon or nearby, such as clicking a button, dragging a scroll box, and the like.
The display unit 1530 may also be used to display information input by the user or information provided to the user, and a Graphical User Interface (GUI) of various menus of the mobile phone 1500. In particular, the display unit 1530 may include a display screen 1532 disposed on the front side of the cell phone 1500. The display screen 1532 may be configured in the form of a liquid crystal display, a light emitting diode, or the like. The display unit 1530 may be used to display various graphical user interfaces described in the present invention.
The touch screen 1531 may cover the display screen 1532, or the touch screen 1531 and the display screen 1532 may be integrated to implement the input and output functions of the mobile phone 1500, and the integrated touch screen may be referred to as a touch display screen for short. The display unit 1530 may display the application program and the corresponding operation steps in the present invention.
Camera 1540 can be used to capture still images or video. The object generates an optical image through the lens and projects the optical image to the photosensitive element. The photosensitive element may be a Charge Coupled Device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The light sensing elements convert the light signals into electrical signals, which are then passed to a processor 1580 for conversion into digital image signals.
The cell phone 1500 may also include at least one sensor 1550, such as an acceleration sensor 1551, a distance sensor 1552, a fingerprint sensor 1553, and a temperature sensor 1554. The cell phone 1500 may also be configured with other sensors such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, light sensors, motion sensors, etc.
Audio circuitry 1560, speaker 1561, microphone 1562 may provide an audio interface between a user and cell phone 1500. The audio circuit 1560 may transmit the electrical signal converted from the received audio data to the speaker 1561, and convert the electrical signal into an audio signal by the speaker 1561 and output the audio signal. The handset 1500 may also be configured with a volume button for adjusting the volume of the sound signal. On the other hand, the microphone 1562 converts collected sound signals into electrical signals, converts the electrical signals into audio data after being received by the audio circuit 1560, and outputs the audio data to the RF circuit 1510 for transmission to, for example, another terminal or outputs the audio data to the memory 1520 for further processing. The microphone 1562 can capture the user's voice in the present invention.
The processor 1580 is a control center of the mobile phone 1500, connects various parts of the entire terminal using various interfaces and lines, and performs various functions of the mobile phone 1500 and processes data by operating or executing software programs stored in the memory 1520 and calling data stored in the memory 1520. In some embodiments, the processor 1580 may include one or more processing units; the processor 1580 may also integrate an application processor, which primarily handles operating systems, user interfaces, application programs, and the like, and a baseband processor, which primarily handles wireless communications. It is to be appreciated that the baseband processor may not be integrated into the processor 1580. The processor 1580 of the invention can run an operating system, an application program, user interface display and touch response, and the control method of the electronic home equipment at the mobile terminal side in the embodiment of the invention. Further, the processor 1580 is coupled with the display unit 1530.
The bluetooth module 1581 is configured to perform information interaction with other bluetooth devices having a bluetooth module through a bluetooth protocol.
Wi-Fi belongs to short-distance wireless transmission technology, and the mobile phone 1500 can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the Wi-Fi module 1570, and provides wireless broadband Internet access for the user.
The handset 1500 also includes a power supply 1590 (e.g., a battery) to power the various components. The power supply may be logically connected to the processor 1580 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption through the power management system. The mobile phone 1500 may also be configured with a power button for powering on and off the terminal, and locking the screen.
Based on the same inventive concept, an embodiment of the present invention further provides a device for storing health data, as shown in fig. 20, including: a processor 2000 and a memory 2001, wherein the memory 2001 has stored program code which, when executed by the processor 2000, causes the processor 2000 to perform the following process:
in the health data measuring process, matching the received user characteristic information of the current measuring user with the stored user characteristic information, and determining the alternative identity information of the current measuring user according to a first matching result; matching the received real-time health data of the current measurement user with historical health data corresponding to the alternative identity information, and determining target identity information according to a second matching result; the real-time health data is stored in a storage area in the memory 2001 corresponding to the target identity information.
Optionally, the processor 2000 is specifically configured to:
according to the first matching result, determining stored user characteristic information with a matching value higher than a first threshold value, and taking user identity information corresponding to the determined user characteristic information as the alternative identity information;
and determining historical health data with a matching value higher than a second threshold value, and taking alternative identity information corresponding to the determined historical health data as the target identity information.
Optionally, the processor 2000 is specifically configured to:
and matching the real-time health data of the current measurement user with the stored historical health data corresponding to each user identity information, and taking the identity information corresponding to the historical health data with the matching value higher than a third threshold value as the target identity information.
Optionally, the processor 2000 is specifically configured to:
if the target identity information comprises a plurality of target identity information, matching the received voiceprint information of the current measurement user with the voiceprint information corresponding to each target identity information, and taking the target identity information corresponding to the voiceprint information of which the matching value is higher than a fourth threshold value as the target identity information of the current measurement user;
and if the target identity information is not included, storing the identity information and the real-time health data of the current measuring user into a storage area corresponding to the newly-built measuring user.
Optionally, before storing the real-time health data in the storage area corresponding to the target identity information, the processor 2000 is further configured to:
and responding to the confirmation operation of the user.
Based on the same inventive concept, an embodiment of the present invention further provides a health data storage apparatus, as shown in fig. 21, which includes a first matching module 2101, a second matching module 2102, and a storage module 2103;
a first matching module 2101, configured to match the received user characteristic information of the current measurement user with stored user characteristic information in a health data measurement process, and determine alternative identity information of the current measurement user according to a first matching result;
a second matching module 2102, configured to match the received real-time health data of the current measurement user with historical health data corresponding to the alternative identity information, and determine target identity information according to a second matching result;
a storage module 2103, configured to store the real-time health data in a storage area corresponding to the target identity information.
Optionally, the first matching module 2101 is specifically configured to:
the determining the alternative identity information of the current measurement user according to the first matching result includes:
according to the first matching result, determining stored user characteristic information with a matching value higher than a first threshold value;
taking the user identity information corresponding to the determined user characteristic information as the alternative identity information;
the second matching module 2102 is specifically configured to:
determining historical health data with a matching value higher than a second threshold according to the second matching result;
and taking the alternative identity information corresponding to the determined historical health data as the target identity information.
Optionally, the apparatus further includes a third matching module:
and the third matching module is used for matching the real-time health data of the current measurement user with the stored historical health data corresponding to each piece of user identity information, and taking the user identity information corresponding to the historical health data with the matching value higher than a third threshold value as the target identity information.
Optionally, if the target identity information includes multiple pieces of target identity information, matching the received voiceprint information of the current measurement user with the voiceprint information corresponding to each piece of target identity information, and using the identity information corresponding to the voiceprint information of which the matching value is higher than a fourth threshold value as the target identity information of the current measurement user;
and if the target identity information is not included, storing the identity information and the real-time health data of the current measuring user into a storage area corresponding to the newly-built measuring user.
Optionally, the apparatus further includes a determining module and a responding module:
the determining module is used for determining that the target identity information is consistent with the identity information of the currently logged-in user;
if the target identity information is inconsistent with the identity information of the currently logged-in user, the response module is used for: and responding to the confirmation operation of the user.
Further, an embodiment of the present invention also provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the steps of any one of the above-mentioned methods for storing health data.
The health data storage device and the method provided by the embodiment of the invention firstly match the received user characteristic information of the current measurement user with the stored user characteristic information, determine the alternative identity information according to the first matching result, then matching the received real-time health data of the current measurement user with historical health data corresponding to the alternative identity information, according to the second matching result, the target identity information is stored in the storage area corresponding to the target identity information, since the target identity information is obtained from the received user characteristic information of the current measurement user and the real-time health data of the current measurement user, therefore, manual operation of a user can be avoided, the effectiveness of personal health data storage is improved, the probability of error storage is reduced, and the accuracy of health assessment can be improved.
The present application is described above with reference to block diagrams and/or flowchart illustrations of methods, apparatus (systems) and/or computer program products according to embodiments of the application. It will be understood that one block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, and/or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer and/or other programmable data processing apparatus, create means for implementing the functions/acts specified in the block diagrams and/or flowchart block or blocks.
Accordingly, the subject application may also be embodied in hardware and/or in software (including firmware, resident software, micro-code, etc.). Furthermore, the present application may take the form of a computer program product on a computer-usable or computer-readable storage medium having computer-usable or computer-readable program code embodied in the medium for use by or in connection with an instruction execution system. In the context of this application, a computer-usable or computer-readable medium may be any medium that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.