CN112667123A - Health detection project customization method and device, wearable device and storage medium - Google Patents

Health detection project customization method and device, wearable device and storage medium Download PDF

Info

Publication number
CN112667123A
CN112667123A CN202011482211.5A CN202011482211A CN112667123A CN 112667123 A CN112667123 A CN 112667123A CN 202011482211 A CN202011482211 A CN 202011482211A CN 112667123 A CN112667123 A CN 112667123A
Authority
CN
China
Prior art keywords
item
health detection
health
target
menu
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011482211.5A
Other languages
Chinese (zh)
Other versions
CN112667123B (en
Inventor
张洪治
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Goertek Techology Co Ltd
Original Assignee
Goertek Optical Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Goertek Optical Technology Co Ltd filed Critical Goertek Optical Technology Co Ltd
Priority to CN202011482211.5A priority Critical patent/CN112667123B/en
Publication of CN112667123A publication Critical patent/CN112667123A/en
Application granted granted Critical
Publication of CN112667123B publication Critical patent/CN112667123B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Medical Treatment And Welfare Office Work (AREA)

Abstract

The invention discloses a health detection project customization method, which comprises the following steps: presetting a primary menu and a secondary menu, adding a preset health detection item in the secondary menu, and setting an item adding button in the primary menu; when an item adding instruction generated by a triggering item adding button is received, acquiring a target health detection item corresponding to the item adding instruction, wherein the target health detection item belongs to a preset health detection item; adding a target health detection item in a first-level menu, and acquiring resource storage information of the target health detection item; and allocating storage resources for the target health detection project according to the resource storage information so as to store the detection data generated by the target health detection project. The invention also discloses a health detection item customization device, wearable equipment and a storage medium. According to the invention, through setting the first-level menu and the second-level menu, a user can set the health detection items by himself and the storage space of the detection items is distributed reasonably.

Description

Health detection project customization method and device, wearable device and storage medium
Technical Field
The invention relates to the field of health monitoring, in particular to a health detection project customization method and device, wearable equipment and a storage medium.
Background
The existing intelligent watch has a plurality of functional modules such as sports, health, conversation and intelligent linkage, wherein the health functional module has the functions of disease early warning and body health state analysis to a certain extent due to the fact that the health functional module relates to detection of human physiological indexes, and is more and more valued by people. The health function generally has a plurality of health detection items such as heart rate, electrocardiogram, blood oxygen, respiration, pressure, atrial fibrillation and sleep, and compared with other general functional modules, the health detection items are required differently due to the differences of the physical state, age, sex and personal preference of each user. For example, people with cardiovascular diseases may be more concerned about heart detection related items, and people prone to insomnia are more concerned about self-sleep data, so some measurement items are frequently used, and some measurement items are rarely used.
The conventional smart watch manufacturers usually preset all health detection items on the watches, and in terms of interactive experience, as the screens of the smart watches are generally small, the manufacturers preset too many detection items, so that the user operation becomes complicated, and the elderly users are more inconvenient; in the practicality, a plurality of detection projects account for smart watch storage resources, for the user, those measurement projects that do not use often actually waste limited storage resources, and the measurement projects that use often are not enough to satisfy the user demand of recording historical data for a long time due to resource restriction.
Disclosure of Invention
The invention mainly aims to provide a health detection project customization method, a health detection project customization device, wearable equipment and a storage medium, and aims to solve the technical problem that the existing health detection project occupies too many limited storage resources.
In addition, in order to achieve the above object, the present invention further provides a health care examination item customizing method, including the steps of:
presetting a primary menu and a secondary menu, adding a preset health detection item in the secondary menu, and setting an item adding button in the primary menu;
when an item adding instruction which triggers the item adding button to generate is received, acquiring a target health detection item corresponding to the item adding instruction, wherein the target health detection item belongs to the preset health detection item;
adding the target health detection item in the primary menu, and acquiring resource storage information of the target health detection item;
and allocating storage resources for the target health detection project according to the resource storage information so as to store detection data generated by the target health detection project.
Optionally, when an item addition instruction generated by triggering the item addition button is received, the step of acquiring a target health detection item corresponding to the item addition instruction includes:
when the item adding button is detected to be triggered, jumping to the secondary menu, and displaying all preset health detection items;
when detecting that a first health detection item in all the preset health detection items is triggered, generating an item adding instruction, and taking the first health detection item as a target health detection item corresponding to the item adding instruction.
Optionally, after the step of adding the target health detection item to the one-level menu and acquiring the resource storage information of the target health detection item, the method includes:
judging whether a second health detection item is contained in the primary menu, wherein the second health detection item is a health detection item except the target health detection item;
if the first-level menu contains the second health detection item, acquiring resource storage information of the second health detection item;
the step of allocating storage resources to the target health detection project according to the resource storage information to store data generated by the target health detection project in the operation process comprises:
and allocating storage resources for the target health detection project and the second health detection project according to the resource storage information of the target health detection project and the resource storage information of the second health detection project so as to store data generated in the running process of the target health detection project and the second health detection project.
Optionally, after the step of allocating a storage resource to the target health detection item according to the resource storage information to store the detection data generated by the target health detection item, the method includes:
when an item deleting instruction generated based on the primary menu is received, acquiring a third health detection item corresponding to the item deleting instruction;
removing the third health detection item from the primary menu, deleting the stored data corresponding to the third health detection item, and adding the third health detection item to the secondary menu;
and allocating the storage resources released by deleting the storage data to the health detection items except the third health detection item in the primary menu.
Optionally, after the step of removing the third health detection item from the primary menu, deleting the stored data corresponding to the third health detection item, and adding the third health detection item to the secondary menu, the method includes:
acquiring storage resources occupied by health detection items except the third health detection item in the primary menu;
calculating the occupation proportion of the storage resources according to the occupied storage resources;
the step of allocating the storage resource released by deleting the storage data to the health detection items except the third health detection item in the primary menu comprises the following steps:
and allocating the storage resources released by deleting the storage data to the health detection items except the third health detection item in the primary menu according to the occupation proportion of the storage resources.
Optionally, after the step of allocating a storage resource to the target health detection item according to the resource storage information to store the detection data generated by the target health detection item, the method includes:
acquiring target storage resources allocated to the target health detection project;
when the data volume of the detection data is larger than the target storage resource, acquiring new detection data currently generated by the target health detection item and target detection data with the longest storage time in the stored detection data;
and rolling the new detection data to cover the target detection data.
Optionally, the step of adding the target health detection item in the one-level menu and acquiring resource storage information of the target health detection item includes:
adding the target health detection item in the primary menu, and acquiring the detection data volume generated by single start of the target health detection item;
and acquiring the starting frequency of the target health detection project, and determining the resource storage information of the target health detection project according to the detection data volume and the starting frequency.
In addition, to achieve the above object, the present invention provides a health care examination item customization apparatus, including:
the menu setting module is used for presetting a primary menu and a secondary menu, adding preset health detection items in the secondary menu, and setting an item adding button in the primary menu;
the item adding module is used for acquiring a target health detection item corresponding to the item adding instruction when the item adding instruction generated by triggering the item adding button is received, wherein the target health detection item belongs to the preset health detection item;
the resource storage information acquisition module is used for adding the target health detection item in the primary menu and acquiring the resource storage information of the target health detection item;
and the storage resource allocation module is used for allocating storage resources to the target health detection project according to the resource storage information so as to store data generated in the running process of the target health detection project.
In addition, to achieve the above object, the present invention also provides a wearable device, including: the health detection system comprises a memory, a processor and a health detection item customizing program which is stored on the memory and can run on the processor, wherein the health detection item customizing program realizes the steps of the health detection item customizing method when being executed by the processor.
In addition, in order to achieve the above object, the present invention further provides a storage medium having a health detection item customization program stored thereon, wherein the health detection item customization program, when executed by a processor, implements the steps of the health detection item customization method as described above.
The embodiment of the invention provides a health detection item customization method and device, wearable equipment and a storage medium. In the embodiment of the invention, a primary menu and a secondary menu are preset on wearable equipment, common health detection items in the market at present are added in the secondary menu, and an item addition button is arranged in the primary menu, wherein when the item addition button is clicked, a display interface of the wearable equipment jumps from the primary menu to the secondary menu, when a health detection item customization program receives an item addition instruction generated by triggering the item addition button, a target health detection item corresponding to the item addition instruction is obtained, wherein the target health detection item belongs to the preset health detection item, after the target health detection item is obtained, the target health detection item is added in the primary menu, resource storage information of the target health detection item is obtained, and finally, storage resources are distributed for the target health detection item according to the resource storage information of the target health detection item, according to the scheme, the health detection items which need to be used and can occupy the memory are determined by the user, so that the customization of the health detection items and the reasonable distribution of storage resources are realized.
Drawings
Fig. 1 is a schematic hardware structure diagram of an implementation manner of a wearable device according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a method for customizing a health check item according to a first embodiment of the present invention;
FIG. 3 is a flowchart illustrating a method for customizing health detection items according to a second embodiment of the present invention;
FIG. 4 is a functional block diagram of a health check item customization apparatus according to an embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
The wearable device (also called a terminal, a device or a terminal device) in the embodiment of the invention can be a mobile terminal device with a human health detection function, such as a smart phone, a tablet computer, an intelligent wearable device and the like.
As shown in fig. 1, the terminal may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Optionally, the terminal may further include a camera, a Radio Frequency (RF) circuit, a sensor, an audio circuit, a WiFi module, and the like. Such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display screen according to the brightness of ambient light, and a proximity sensor that may turn off the display screen and/or the backlight when the mobile terminal is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), detect the magnitude and direction of gravity when the mobile terminal is stationary, and can be used for applications (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer and tapping) and the like for recognizing the attitude of the mobile terminal; of course, the mobile terminal may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which are not described herein again.
Those skilled in the art will appreciate that the terminal structure shown in fig. 1 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, the memory 1005, which is a storage medium, may include therein an operating system, a network communication module, a user interface module, and a health check item customization program.
In the terminal shown in fig. 1, the network interface 1004 is mainly used for connecting to a backend server and performing data communication with the backend server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and the processor 1001 may be configured to call a health check item customization program stored in the memory 1005, and when executed by the processor, implement the operations of the health check item customization method provided by the embodiments described below.
Based on the hardware structure of the equipment, the embodiment of the health detection project customization method is provided.
Referring to fig. 2, in a first embodiment of the health examination item customization method of the present invention, the health examination item customization method includes:
step S10, presetting a primary menu and a secondary menu, adding preset health detection items in the secondary menu, and setting item adding buttons in the primary menu.
The method for customizing health detection items in this embodiment is applied to wearable devices, where the wearable devices may be mobile terminal devices such as a smart watch and a smart bracelet having a human health detection function, and hereinafter, as exemplified by the smart watch, a primary menu and a secondary menu are set in a display interface of the smart watch, where all health detection items commonly found in the market at present are added to the secondary menu, such as heart rate detection, blood pressure detection, sleep detection, and the like, and the primary menu is used to place the health detection items frequently used by a user The memory is allowed to be used for storing data generated in the running process, and the secondary menu in the embodiment can be displayed on the smart watch only by triggering (for example, clicking) an item adding button arranged in the primary menu.
Step S20, when an item addition instruction generated by triggering the item addition button is received, acquiring a target health detection item corresponding to the item addition instruction, where the target health detection item belongs to the preset health detection item.
Therefore, when the health detection item customization program receives an item adding instruction generated by triggering an item adding button by a user, a target health detection item corresponding to the item adding instruction is obtained, where the target health detection item belongs to one or more health detection items in all preset health detection items in the secondary menu, for example, the user clicks the item adding button in the primary menu to jump to the secondary menu, and then the user selects the heart rate detection item, where the heart rate detection is the target health detection item in the embodiment.
Step S30, adding the target health detection item in the primary menu, and acquiring resource storage information of the target health detection item.
After the target health detection item is acquired, the health detection item customization program adds the target health detection item to the primary menu, the target health detection item is in a running state at the moment, a memory of the smart watch can be used, after the target health detection item is added to the primary menu, the health detection item customization program acquires resource storage information of the target health detection item, wherein the resource storage information comprises information such as the size of a storage resource required by the target health detection item and the size of data generated by the target health detection item each time or each unit time, and it can be understood that the target health detection item has a preset data generation frequency in a default state, which is related to the target health detection item itself, for example, the heart rate detection item is set to detect once in 10 minutes by default, that is, the test data is generated once in 10 minutes, and the average size of the test data generated each time is 500 bytes, the size of the data generated by the heart rate test item every day is 70.3125 kbytes.
Step S40, allocating storage resources to the target health detection item according to the resource storage information, so as to store detection data generated by the target health detection item.
Therefore, if only one health detection item, namely the target health detection item, exists in the first-level menu after the target health detection item is added, that is, before the target health detection item is added, the health detection item does not exist in the first-level menu, in this case, the storage resources of the smart watch are not used, and in this case, the health detection item customization program allocates all available storage resources in the smart watch to the target health detection item; if there are other health check items in the first-level menu after the target health check item is added, that is, there are other health check items in the first-level menu before the target health check item is added, in this case, the health check item customizing program will acquire the amount of the currently remaining available storage resources in the smart watch, acquire the resource storage information of the other health check items in the first-level menu, and finally allocate storage resources for the target health check item to store the check data generated by the target health check item according to the amount of the currently remaining available storage resources in the smart watch, the resource storage information of the other health check items in the first-level menu, and the resource storage information of the target health check item, for example, if the amount of the currently remaining available storage resources in the smart watch is 50MB (megabytes), and the data size generated by the other health-testing items existing before in the first-level menu is 300KB (kilobyte) each day, and the data size generated by the target health-testing item is 200KB each day, the storage resource allocated by the health-testing item customization program for the target health-testing item is 20 MB.
Specifically, the step S20 is a step of refining, including:
and a step a1, when detecting that the item adding button is triggered, jumping to the secondary menu and displaying all preset health detection items.
Step a2, when detecting that a first health detection item in all the preset health detection items is triggered, generating an item addition instruction, and taking the first health detection item as a target health detection item corresponding to the item addition instruction.
Therefore, when the health detection item customizing program detects that the item adding button is triggered, the display interface of the intelligent watch is jumped to the secondary menu, and preset health detection items are displayed in the secondary menu, when the health detection items do not exist in the primary menu, all the preset health detection items are displayed in the secondary menu, when the health detection items exist in the primary menu, all the preset health detection items except the health detection items existing in the primary menu are displayed in the secondary menu, when the health detection item customizing program further detects that the first health detection item in all the preset health detection items is triggered, an item adding instruction is generated, and the first health detection item is used as a target health detection item corresponding to the item adding instruction, so that the user is prevented from mistakenly touching the item adding button, the resulting items add to the problem of instruction misproduction.
Specifically, steps subsequent to step S30 include:
step b1, determining whether the primary menu includes a second health detection item, wherein the second health detection item is a health detection item other than the target health detection item.
Step b2, if the first-level menu includes the second health detection item, acquiring resource storage information of the second health detection item.
The step of step S40 refinement includes:
step b3, allocating storage resources for the target health detection project and the second health detection project according to the resource storage information of the target health detection project and the resource storage information of the second health detection project, so as to store data generated during the operation process of the target health detection project and the second health detection project.
It is noted that, if a health detection item other than the target health detection item (i.e. the second health detection item in the embodiment) exists after the target health detection item is added in the first-level menu, in this case, the health detection item customization program will acquire the amount of the available storage resource currently remaining in the smart watch and acquire the resource storage information of the second health detection item, it is understood that whether the first health detection item, the second health detection item or the target health detection item belongs to the preset health detection item, the health detection item customization program may acquire the resource storage information of each health detection item in advance, and finally, according to the storage resource of the smart watch, the resource storage information of the second health detection item, and the resource storage information of the target health detection item, the storage resource is allocated to the target health detection item and the second health detection item, for example, if the total amount of storage resources of the smart watch is 50MB, the data size generated by the second health detection project is 300KB each day, and the data size generated by the target health detection project is 200KB each day, and the storage resources of the smart watch have been used by the second health detection project 5MB before the target health detection project is added to the one-level menu, that is, the storage resources of the smart watch are 45MB left, then the storage resources allocated by the health detection project customization program for the target health detection project are 20MB and the storage resources allocated for the second health detection project are 25MB in the 45MB left storage resources; if the storage resource of the smart watch has been used by 32MB for the second health detection item before the target health detection item is added to the one-level menu, i.e., the storage resource of the smart watch remains 18MB, the history generation data of the second health detection item is deleted by 2MB (the storage data with the longest history), and the history storage data is replaced by the newly generated data in a rolling manner, while the storage resource allocated by the health detection item customization program for the target health detection item is still 20 MB.
Specifically, steps subsequent to step S40 include:
and c1, acquiring the target storage resource allocated by the target health detection item.
And c2, when the data volume of the detection data is larger than the target storage resource, acquiring new detection data currently generated by the target health detection item and the target detection data with the longest storage time in the stored detection data.
Step c3, rolling the new detection data over the target detection data.
As can be seen, after acquiring the storage resource (i.e., the target storage resource in this embodiment) allocated by the health detection item customization program for the target health detection item, in the daily operation process of the target health detection item, if the detection data generated by the target health detection item is greater than the target storage resource, the health detection item customization program will acquire the new detection data currently generated by the target health detection item and the target detection data with the longest storage time in the stored detection data, and then roll the new detection data over the target detection data, that is, when the target storage resource is used up, delete the oldest stored detection data, and then vacate the storage space to store the new detection data generated by the target health detection item.
Specifically, the step of step S30 refinement includes:
and d1, adding the target health detection item in the primary menu, and acquiring the detection data volume generated by single start of the target health detection item.
And d2, acquiring the starting frequency of the target health detection item, and determining the resource storage information of the target health detection item according to the detection data volume and the starting frequency.
It is understood that the resource storage information in this embodiment includes the data amount of the detection data generated by the target health test item at a single start, and the data amount generated by the target health test item in a unit time (e.g. one day), because each health check item is activated at a different frequency, and each activation generates a different amount of data, therefore, when acquiring the data amount generated in the unit time of the target health check item, it is necessary to acquire the start frequency of the target health check item first, under the condition that the user does not set, each health detection item has a preset starting frequency, for example, the heart rate detection item is started every 10 minutes, the data volume generated by single starting of the target health detection item is multiplied by the starting frequency of the target health detection item, and the data volume generated in the unit time of the target health detection item can be obtained, so that the resource storage information of the target health detection item is determined.
In the embodiment, a primary menu and a secondary menu are preset on an intelligent watch, common health detection items in the market at present are added in the secondary menu, and an item addition button is arranged in the primary menu, wherein when the item addition button is clicked, a display interface of the intelligent watch jumps from the primary menu to the secondary menu, when a health detection item customization program receives an item addition instruction generated by triggering the item addition button, a target health detection item corresponding to the item addition instruction is obtained, wherein the target health detection item belongs to the preset health detection item, after the target health detection item is obtained, the target health detection item is added in the primary menu, resource storage information of the target health detection item is obtained, and finally, storage resources are allocated for the target health detection item according to the resource storage information of the target health detection item, according to the scheme, the health detection items which need to be used and can occupy the memory are determined by the user, so that the customization of the health detection items and the reasonable distribution of storage resources are realized.
Further, referring to fig. 3, a second embodiment of the health detection item customization method of the present invention is provided on the basis of the above-mentioned embodiment of the present invention.
This embodiment is a step after step S40 in the first embodiment, and the present embodiment is different from the above-described embodiments of the present invention in that:
step S50, when an item deletion instruction generated based on the one-level menu is received, a third health detection item corresponding to the item deletion instruction is acquired.
Step S60, removing the third health detection item from the primary menu, deleting the stored data corresponding to the third health detection item, and adding the third health detection item to the secondary menu.
Step S70, allocating the storage resource released by deleting the storage data to the health detection items in the primary menu except the third health detection item.
It is to be noted that the health detection items in the first menu may also be deleted, and when the health detection item customizing program receives an item deletion instruction generated based on the primary menu, a third health detection item corresponding to the item deletion instruction is obtained, where the third health detection item is in the first menu, in this case, the health detection item customizing program will remove the third health detection item from the primary menu and delete the storage resource previously allocated to the third health detection item (i.e. the storage data corresponding to the third health detection item in this embodiment), then the deleted third health detection item will be added to the second menu, and after all the detection data previously stored in the third health detection item is deleted, a part of the storage resource will be vacated, and this part of the storage resource will be allocated to the health detection items other than the third health detection item in the primary menu, the specific distribution method can be uniform distribution, proportional distribution and the like.
Specifically, steps subsequent to step S60 include:
and e1, acquiring the storage resources occupied by the health detection items except the third health detection item in the primary menu.
And e2, calculating the occupation proportion of the storage resources according to the occupied storage resources.
The step of step S70 refinement includes:
and e3, allocating the storage resources released by deleting the storage data to the health detection items except the third health detection item in the primary menu according to the occupation proportion of the storage resources.
This embodiment provides a specific application scenario, where the first menu includes three health detection items, a, B, and C, the total amount of storage resources of the smart watch is 50MB, the available storage resources allocated to the health detection item a, the health detection item B, and the health detection item C are 25MB, 15MB, and 10MB, respectively, and when the health detection item C is deleted, the allocated 10MB of available storage resources will be released, and it is known that the proportion of the allocated available resources of the health detection item a and the health detection item B is 5 to 3, the storage resources allocated to the health detection item a by the 10MB free from the health detection item C deleted are 10 × (5 ÷ 8), and the storage resources allocated to the health detection item B by the 10MB free from the health detection item C deleted are 10 × (3 ÷ 8).
In this embodiment, the storage resource is released by deleting the health detection item in the first menu, so that the storage resource is more reasonably allocated while the health detection item is customized.
In addition, referring to fig. 4, an embodiment of the present invention further provides a health detection item customization apparatus, where the health detection item customization apparatus includes:
the menu setting module 10 is used for presetting a primary menu and a secondary menu, adding preset health detection items in the secondary menu, and setting an item adding button in the primary menu;
the item adding module 20 is configured to, when an item adding instruction which triggers the item adding button to generate is received, obtain a target health detection item corresponding to the item adding instruction, where the target health detection item belongs to the preset health detection item;
a resource storage information obtaining module 30, configured to add the target health detection item to the primary menu, and obtain resource storage information of the target health detection item;
and the storage resource allocation module 40 is configured to allocate a storage resource to the target health detection project according to the resource storage information, so as to store data generated in the running process of the target health detection project.
Optionally, the item populating module 20 includes:
the menu skipping unit is used for skipping to the secondary menu and displaying all preset health detection items when the item adding button is triggered;
and the adding instruction generating unit is used for generating an item adding instruction when detecting that a first health detection item in all the preset health detection items is triggered, and taking the first health detection item as a target health detection item corresponding to the item adding instruction.
Optionally, the health detection item customization device further includes:
the judging module is used for judging whether a second health detection item is contained in the primary menu, wherein the second health detection item is a health detection item except the target health detection item;
the resource storage information acquisition module is used for acquiring the resource storage information of the second health detection item if the first-level menu contains the second health detection item;
the storage resource allocation module 40 includes:
and the resource allocation unit is used for allocating storage resources for the target health detection project and the second health detection project according to the resource storage information of the target health detection project and the resource storage information of the second health detection project so as to store data generated in the running process of the target health detection project and the second health detection project.
Optionally, the health detection item customization device further includes:
the item deleting instruction receiving module is used for acquiring a third health detection item corresponding to the item deleting instruction when the item deleting instruction generated based on the primary menu is received;
a clearing module, configured to clear the third health detection item from the primary menu, delete stored data corresponding to the third health detection item, and add the third health detection item to the secondary menu;
and the storage resource allocation module is used for allocating the storage resources released by deleting the storage data to the health detection items except the third health detection item in the primary menu.
Optionally, the health detection item customization device further includes:
a storage resource acquisition module, configured to acquire storage resources occupied by the health detection items in the primary menu except for the third health detection item;
the calculation module is used for calculating the occupation proportion of the storage resources according to the occupied storage resources;
the storage resource allocation module comprises:
and the storage resource allocation unit is used for allocating the storage resources released by deleting the storage data to the health detection items except the third health detection item in the primary menu according to the occupation proportion of the storage resources.
Optionally, the health detection item customization device further includes:
the resource acquisition module is used for acquiring the target storage resources allocated to the target health detection items;
the target detection data acquisition module is used for acquiring new detection data currently generated by the target health detection item and target detection data with the longest storage time in the stored detection data when the data volume of the detection data is larger than the target storage resource;
and the rolling covering module is used for rolling and covering the new detection data on the target detection data.
Optionally, the resource storage information obtaining module 30 includes:
the detection data volume acquisition unit is used for adding the target health detection item in the primary menu and acquiring the detection data volume generated by single start of the target health detection item;
and the starting frequency acquisition unit is used for acquiring the starting frequency of the target health detection item and determining the resource storage information of the target health detection item according to the detection data volume and the starting frequency.
In addition, an embodiment of the present invention further provides a storage medium, where a health detection item customization program is stored on the storage medium, and when being executed by a processor, the health detection item customization program implements operations in the health detection item customization method provided in the above embodiment.
The method executed by each program module can refer to each embodiment of the method of the present invention, and is not described herein again.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity/action/object from another entity/action/object without necessarily requiring or implying any actual such relationship or order between such entities/actions/objects; the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
For the apparatus embodiment, since it is substantially similar to the method embodiment, it is described relatively simply, and reference may be made to some descriptions of the method embodiment for relevant points. The above-described apparatus embodiments are merely illustrative, in that elements described as separate components may or may not be physically separate. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of the invention. One of ordinary skill in the art can understand and implement it without inventive effort.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be substantially or partially embodied in the form of a software product, where the computer software product is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above, and includes several instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the health detection item customization method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A health detection project customizing method is characterized by comprising the following steps:
presetting a primary menu and a secondary menu, adding a preset health detection item in the secondary menu, and setting an item adding button in the primary menu;
when an item adding instruction which triggers the item adding button to generate is received, acquiring a target health detection item corresponding to the item adding instruction, wherein the target health detection item belongs to the preset health detection item;
adding the target health detection item in the primary menu, and acquiring resource storage information of the target health detection item;
and allocating storage resources for the target health detection project according to the resource storage information so as to store detection data generated by the target health detection project.
2. The health detection item customization method of claim 1, wherein the step of acquiring, when an item addition instruction generated by triggering the item addition button is received, a target health detection item corresponding to the item addition instruction comprises:
when the item adding button is detected to be triggered, jumping to the secondary menu, and displaying all preset health detection items;
when detecting that a first health detection item in all the preset health detection items is triggered, generating an item adding instruction, and taking the first health detection item as a target health detection item corresponding to the item adding instruction.
3. The method for customizing health-testing items according to claim 1, wherein the step of adding the target health-testing item to the level-one menu and obtaining resource storage information of the target health-testing item is followed by the steps of:
judging whether a second health detection item is contained in the primary menu, wherein the second health detection item is a health detection item except the target health detection item;
if the first-level menu contains the second health detection item, acquiring resource storage information of the second health detection item;
the step of allocating storage resources to the target health detection project according to the resource storage information to store data generated by the target health detection project in the operation process comprises:
and allocating storage resources for the target health detection project and the second health detection project according to the resource storage information of the target health detection project and the resource storage information of the second health detection project so as to store data generated in the running process of the target health detection project and the second health detection project.
4. The method for customizing health-testing items according to claim 1, wherein the step of allocating storage resources for the target health-testing item according to the resource storage information to store the testing data generated by the target health-testing item is followed by:
when an item deleting instruction generated based on the primary menu is received, acquiring a third health detection item corresponding to the item deleting instruction;
removing the third health detection item from the primary menu, deleting the stored data corresponding to the third health detection item, and adding the third health detection item to the secondary menu;
and allocating the storage resources released by deleting the storage data to the health detection items except the third health detection item in the primary menu.
5. The method of customizing a health-testing item of claim 4, wherein said step of removing said third health-testing item from said primary menu and deleting stored data corresponding to said third health-testing item while adding said third health-testing item to said secondary menu comprises, after said step of removing said third health-testing item from said primary menu and deleting stored data corresponding to said third health-testing item from said secondary menu:
acquiring storage resources occupied by health detection items except the third health detection item in the primary menu;
calculating the occupation proportion of the storage resources according to the occupied storage resources;
the step of allocating the storage resource released by deleting the storage data to the health detection items except the third health detection item in the primary menu comprises the following steps:
and allocating the storage resources released by deleting the storage data to the health detection items except the third health detection item in the primary menu according to the occupation proportion of the storage resources.
6. The method for customizing health-testing items according to claim 1, wherein the step of allocating storage resources for the target health-testing item according to the resource storage information to store the testing data generated by the target health-testing item is followed by:
acquiring target storage resources allocated to the target health detection project;
when the data volume of the detection data is larger than the target storage resource, acquiring new detection data currently generated by the target health detection item and target detection data with the longest storage time in the stored detection data;
and rolling the new detection data to cover the target detection data.
7. The method for customizing health-testing items according to claim 1, wherein the step of adding the target health-testing item to the level-one menu and obtaining resource storage information of the target health-testing item comprises:
adding the target health detection item in the primary menu, and acquiring the detection data volume generated by single start of the target health detection item;
and acquiring the starting frequency of the target health detection project, and determining the resource storage information of the target health detection project according to the detection data volume and the starting frequency.
8. A health check item customizing apparatus, comprising:
the menu setting module is used for presetting a primary menu and a secondary menu, adding preset health detection items in the secondary menu, and setting an item adding button in the primary menu;
the item adding module is used for acquiring a target health detection item corresponding to the item adding instruction when the item adding instruction generated by triggering the item adding button is received, wherein the target health detection item belongs to the preset health detection item;
the resource storage information acquisition module is used for adding the target health detection item in the primary menu and acquiring the resource storage information of the target health detection item;
and the storage resource allocation module is used for allocating storage resources to the target health detection project according to the resource storage information so as to store data generated in the running process of the target health detection project.
9. A wearable device, characterized in that the wearable device comprises: a memory, a processor and a health-testing item customization program stored on the memory and executable on the processor, the health-testing item customization program when executed by the processor implementing the steps of the health-testing item customization method according to any one of claims 1 to 7.
10. A storage medium having a health-testing item customization program stored thereon, wherein the health-testing item customization program, when executed by a processor, implements the steps of the health-testing item customization method according to any one of claims 1 to 7.
CN202011482211.5A 2020-12-15 2020-12-15 Health detection project customization method and device, wearable device and storage medium Active CN112667123B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011482211.5A CN112667123B (en) 2020-12-15 2020-12-15 Health detection project customization method and device, wearable device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011482211.5A CN112667123B (en) 2020-12-15 2020-12-15 Health detection project customization method and device, wearable device and storage medium

Publications (2)

Publication Number Publication Date
CN112667123A true CN112667123A (en) 2021-04-16
CN112667123B CN112667123B (en) 2023-01-20

Family

ID=75406084

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011482211.5A Active CN112667123B (en) 2020-12-15 2020-12-15 Health detection project customization method and device, wearable device and storage medium

Country Status (1)

Country Link
CN (1) CN112667123B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114898877A (en) * 2022-05-06 2022-08-12 上海铂桐医疗科技有限公司 Processing method and system suitable for multi-dimensional health data

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103649897A (en) * 2011-07-14 2014-03-19 微软公司 Submenus for context based menu system
CN107153715A (en) * 2017-06-01 2017-09-12 青岛海信移动通信技术股份有限公司 The method and device of add file on the page
CN108459829A (en) * 2018-04-12 2018-08-28 厦门集微科技有限公司 A kind of date storage method, device and computer storage media
CN109800038A (en) * 2017-11-16 2019-05-24 北京握奇智能科技有限公司 A kind of implementation method of STK menu, device
CN109947327A (en) * 2019-03-15 2019-06-28 努比亚技术有限公司 A kind of interface inspection method, wearable device and computer readable storage medium
CN110209339A (en) * 2018-02-28 2019-09-06 华为终端有限公司 A kind of management method of memory space, safety element and terminal
CN110880070A (en) * 2019-11-15 2020-03-13 腾讯科技(深圳)有限公司 Resource allocation method and device, computer readable medium and electronic equipment
CN111104331A (en) * 2019-12-20 2020-05-05 广州唯品会信息科技有限公司 Software management method, terminal device and computer-readable storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103649897A (en) * 2011-07-14 2014-03-19 微软公司 Submenus for context based menu system
CN107153715A (en) * 2017-06-01 2017-09-12 青岛海信移动通信技术股份有限公司 The method and device of add file on the page
CN109800038A (en) * 2017-11-16 2019-05-24 北京握奇智能科技有限公司 A kind of implementation method of STK menu, device
CN110209339A (en) * 2018-02-28 2019-09-06 华为终端有限公司 A kind of management method of memory space, safety element and terminal
CN108459829A (en) * 2018-04-12 2018-08-28 厦门集微科技有限公司 A kind of date storage method, device and computer storage media
CN109947327A (en) * 2019-03-15 2019-06-28 努比亚技术有限公司 A kind of interface inspection method, wearable device and computer readable storage medium
CN110880070A (en) * 2019-11-15 2020-03-13 腾讯科技(深圳)有限公司 Resource allocation method and device, computer readable medium and electronic equipment
CN111104331A (en) * 2019-12-20 2020-05-05 广州唯品会信息科技有限公司 Software management method, terminal device and computer-readable storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114898877A (en) * 2022-05-06 2022-08-12 上海铂桐医疗科技有限公司 Processing method and system suitable for multi-dimensional health data
CN114898877B (en) * 2022-05-06 2023-07-04 上海铂桐医疗科技有限公司 Processing method and system suitable for multi-dimensional health data

Also Published As

Publication number Publication date
CN112667123B (en) 2023-01-20

Similar Documents

Publication Publication Date Title
EP3211552B1 (en) Exercise information providing method and electronic device supporting the same
US10275200B2 (en) Activity information processing method and electronic device supporting the same
US10575785B2 (en) Method and apparatus for obtaining biometric information
KR102430941B1 (en) Method for providing physiological state information and electronic device for supporting the same
US10236081B2 (en) Device for providing health management service and method thereof
US11217343B2 (en) Method for providing action guide information and electronic device supporting method
KR101166502B1 (en) Apparatus and method for extimating of life expectancy in mobile communication terminal
US10835782B2 (en) Electronic device, system, and method for determining suitable workout in consideration of context
EP3067818A1 (en) User information processing method and electronic device supporting the same
TWI760304B (en) Terminal device and health managing method
CN112667123B (en) Health detection project customization method and device, wearable device and storage medium
CN115380269A (en) Mirror image pulling method and related product
US20190313312A1 (en) Electronic device for selecting network
CN108124054A (en) The equipment that sensing signal based on grip sensor shows user interface
US11191439B2 (en) Electronic device and method for capturing contents
US10702185B2 (en) Electronic device and body composition analyzing method
CN109151203B (en) Information prompting method and mobile terminal
KR20170083411A (en) Method for Providing Medical Service and Electronic Device supporting the same
CN113703641A (en) Message preview method and device, wearable device and computer readable storage medium
JP7147317B2 (en) Terminal device, information processing method, and program
KR20180013304A (en) Method for managing notifications of applications and an electronic device thereof
CN113037756B (en) Method, device and equipment for generating unique data identifier and readable storage medium
KR20200105576A (en) Web server based elderly friendly diabetes data management system
CN112528256B (en) Terminal device, control method thereof, and computer-readable storage medium
CN113535299B (en) Server, display device and health management method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20221123

Address after: 266104 No. 500, Songling Road, Laoshan District, Qingdao, Shandong

Applicant after: GOERTEK TECHNOLOGY Co.,Ltd.

Address before: 261031 east of Dongming Road, north of Yuqing East Street, high tech Zone, Weifang City, Shandong Province (Room 502, Geer electronics office building)

Applicant before: GoerTek Optical Technology Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant