CN112667123B - 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
CN112667123B
CN112667123B CN202011482211.5A CN202011482211A CN112667123B CN 112667123 B CN112667123 B CN 112667123B CN 202011482211 A CN202011482211 A CN 202011482211A CN 112667123 B CN112667123 B CN 112667123B
Authority
CN
China
Prior art keywords
item
health detection
target
health
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.)
Active
Application number
CN202011482211.5A
Other languages
Chinese (zh)
Other versions
CN112667123A (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 Techology 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 Techology Co Ltd filed Critical Goertek Techology 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 triggering an 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 item 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 an 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 preset health detection items 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 or not, 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 for 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 distributing the storage resources released by deleting the storage data to the health detection items in the primary menu except the third health detection item 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 an 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 item customization system comprises a memory, a processor and a health detection item customization program which is stored on the memory and can run on the processor, wherein the health detection item customization program realizes the steps of the health detection item customization 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. The embodiment of the invention is characterized in that 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, finally, storage resources are distributed for the target health detection item according to the resource storage information of the target health detection item, so as to store detection data generated in the running process of the target health detection item, the scheme determines the health detection item required to be used by a user, can occupy internal memory, and realizes customization of the health detection item and reasonable distribution of the storage resources.
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 present invention will be further described 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 do not 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 terminal, device or terminal device) provided by 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 and an intelligent wearable device.
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 such as a disk memory. The memory 1005 may alternatively be a storage device separate from the processor 1001 described previously.
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, among others. 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 having a human health detection function, such as a smart watch and a smart bracelet, and hereinafter, as illustrated 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, the primary menu is used to place the health detection items frequently used by a user.
Step S20, when an item adding instruction which triggers the item adding button to generate is received, a target health detection item corresponding to the item adding instruction is obtained, wherein 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.
And 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 time, a memory of the smart watch can be used, and 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 includes the size of a storage resource required by the target health detection item and information such as the size of data volume generated by the target health detection item each time or each unit time.
And S40, 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.
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, the health detection item does not exist in the first-level menu before the target health detection item is added, 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 another health detection item exists in the first-level menu after the target health detection item is added, that is, another health detection item exists in the first-level menu before the target health detection item is added, in this case, the health detection item customizing program will acquire the amount of the currently remaining available storage resource in the smart watch and acquire the resource storage information of the other health detection item existing in the first-level menu, and finally allocate a storage resource for the target health detection item to store the detection data generated by the target health detection item according to the amount of the currently remaining available storage resource in the smart watch, the resource storage information of the other health detection item existing in the first-level menu, and the resource storage information of the target health detection item, for example, if the amount of the currently remaining available storage resource in the smart watch is 50MB (megabytes), the amount of the data generated by the other health detection item existing before in the first-level menu is 300 kilobytes, and the amount of the data generated by the target health detection item is 200KB, the health detection item customizing program allocates the storage resource for the target health detection item.
Specifically, the step of step S20 refinement includes:
and a1, jumping to the secondary menu and displaying all preset health detection items when detecting that the item adding button is triggered.
Step a2, 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.
Therefore, when the health detection item customizing program detects that the item adding button is triggered, the display interface of the smart 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 problem that the item adding instruction is generated mistakenly due to the fact that a user may mistakenly touch the item adding button is avoided.
Specifically, steps subsequent to step S30 include:
step b1, 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.
And b2, if the first-level menu contains the second health detection item, acquiring resource storage information of the second health detection item.
The step of step S40 refinement includes:
and b3, allocating storage resources to 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.
It is noted that, if there are health detection items (i.e. the second health detection item in the embodiment) other than the target health detection item after the target health detection item is added in the one-level menu, in this case, the health detection item customization program will acquire the amount of the currently remaining available storage resource of 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, allocating storage resources for the target health detection project and the second health detection project to store detection data generated by the target health detection project, for example, if the total amount of storage resources of the smart watch is 50MB, the size of data volume generated by the second health detection project every day is 300KB, and the size of data volume generated by the target health detection project every day is 200KB, and before adding the target health detection project into the one-level menu, the storage resources of the smart watch are used by the second health detection project by 5MB, that is, the storage resources of the smart watch remain 45MB, in the remaining 45MB storage resources, the storage resources allocated for the target health detection project by the health detection project customization program are 20MB, and the storage resources allocated for the second health detection project are 25MB; if the storage resource of the smart watch has been used by the second health detection item for 32MB before the target health detection item is added to the first-level menu, that is, 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 to the target health detection item by the health detection item customization program is still 20MB.
Specifically, the steps after step S40 include:
step c1, acquiring target storage resources distributed to the target health detection items.
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.
And c3, rolling the new detection data to cover 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 project, and determining the resource storage information of the target health detection project according to the detection data volume and the starting frequency.
It should be noted that the resource storage information in this embodiment includes a data amount of detection data generated by a single start of the target health detection item and a data amount generated by the target health detection item in a unit time (for example, one day), and since the start frequency of each health detection item is different and the data amount generated by each start is different, when acquiring the data amount generated by the target health detection item in the unit time, it is necessary to first acquire the start frequency of the target health detection item, and in a case that the user does not set the frequency, each health detection item has its preset start frequency, for example, the heart rate detection item is started every 10 minutes, and the data amount generated by the single start of the target health detection item is multiplied by the start frequency of the target health detection item, so as to obtain the data amount generated by the single start of the target health detection item in the unit time, thereby determining the resource storage information of the target health detection item.
In the embodiment, a first-level menu and a second-level menu are preset on an intelligent watch, common health detection items in the market at present are added in the second-level menu, and an item addition button is arranged in the first-level menu, wherein when the item addition button is clicked, a display interface of the intelligent watch jumps from the first-level menu to the second-level 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 first-level 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 to store detection data generated in the running process of the target health detection item.
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:
and S50, 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.
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.
And step S70, 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.
It should 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 first-level 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 first-level 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 stored before 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 first-level menu, and a specific allocation method may be uniform allocation, proportional allocation, and the like.
Specifically, the steps subsequent to step S60 include:
step e1, acquiring 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, distributing 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 ratio of the storage resources.
This embodiment provides a specific application scenario, 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, when the health detection item C is deleted, the allocated 10MB available storage resources will be released, and it is known that if the ratio of the available resources allocated to the health detection item a and the health detection item B is 5: 3, the storage resources allocated to the health detection item a by the 10MB released by deleting the health detection item C will be 10 × (5 ÷ 8), and the storage resources allocated to the health detection item B by the 10MB released by deleting the health detection item C will be 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 operation process of the target health detection project.
Optionally, the item populating module 20 includes:
the menu jumping unit is used for jumping 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;
the clearing module is used for clearing 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 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 phrases "comprising a," "8230," "8230," or "comprising" does not exclude the presence of other like elements in a process, method, article, or system comprising 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 description 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 (9)

1. A health detection item customization method is applied to wearable equipment, and comprises the following steps:
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;
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, acquiring resource storage information of the target health detection item, wherein the target health detection item is in an operating state after being added to the primary menu, and storing data generated in an operating process by using a memory of the wearable device;
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;
after the step of adding the target health detection item to the primary 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.
2. The health detection item customization method of claim 1, wherein, when receiving an item addition instruction generated by triggering the item addition button, the step of acquiring a target health detection item corresponding to the item addition instruction comprises:
when the item adding button is 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 the health-testing project as claimed in claim 1, wherein the step of allocating storage resources for the target health-testing project according to the resource storage information to store the testing data generated by the target health-testing project is followed by the steps of:
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 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 for the third health detection item in the primary menu.
4. The method of customizing the health-testing item of claim 3, wherein the step of removing the third health-testing item from the primary menu and deleting the stored data corresponding to the third health-testing item while adding the third health-testing item to the secondary menu comprises, after:
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.
5. The method for customizing the health-testing project as claimed in claim 1, wherein the step of allocating storage resources for the target health-testing project according to the resource storage information to store the testing data generated by the target health-testing project is followed by the steps of:
acquiring target storage resources allocated to the target health detection items;
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.
6. The method for customizing the health-detection project as claimed in claim 1, wherein the step of adding the target health-detection project to the level-one menu and acquiring the resource storage information of the target health-detection project 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.
7. A health detection item customization device, which is applied to wearable equipment, and comprises:
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 an 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;
a resource storage information acquisition module, configured to add the target health detection item to the primary menu, and acquire resource storage information of the target health detection item, where the target health detection item is in an operating state after being added to the primary menu, and a memory of the wearable device is used to store data generated in an operating process;
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;
the health detection item customization device is further used for:
judging whether a second health detection item is contained in the primary menu or not, 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 storage resource allocation module 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.
8. 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 of any of claims 1-6.
9. 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-6.
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 CN112667123A (en) 2021-04-16
CN112667123B true 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)

Families Citing this family (1)

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

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
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

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130019175A1 (en) * 2011-07-14 2013-01-17 Microsoft Corporation Submenus for context based menu system
CN109800038B (en) * 2017-11-16 2024-03-29 北京握奇智能科技有限公司 STK menu implementation method and device
CN110209339B (en) * 2018-02-28 2022-04-29 华为终端有限公司 Management method of storage space, secure element and terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
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

Also Published As

Publication number Publication date
CN112667123A (en) 2021-04-16

Similar Documents

Publication Publication Date Title
US10275200B2 (en) Activity information processing method and electronic device supporting the same
EP3211552B1 (en) Exercise information providing method and electronic device supporting the same
US10236081B2 (en) Device for providing health management service and method thereof
KR102430941B1 (en) Method for providing physiological state information and electronic device for supporting the same
US10575785B2 (en) Method and apparatus for obtaining biometric information
US20170147752A1 (en) Health data management device and health data management system
US11217343B2 (en) Method for providing action guide information and electronic device supporting method
US20210022662A1 (en) Electronic device and method for providing content according to skin type of user
KR20170136317A (en) Electronic apparatus and operating method thereof
EP1226784A1 (en) Vital signs detection system
CN106055138A (en) Touch input processing method and electronic device for supporting the same
KR101166502B1 (en) Apparatus and method for extimating of life expectancy in mobile communication terminal
EP3067818A1 (en) User information processing method and electronic device supporting the same
US10835782B2 (en) Electronic device, system, and method for determining suitable workout in consideration of context
CN112667123B (en) Health detection project customization method and device, wearable device and storage medium
US20180218637A1 (en) Method and electronic device for providing health content
CN115380269A (en) Mirror image pulling method and related product
US10635204B2 (en) Device for displaying user interface based on grip sensor and stop displaying user interface absent gripping
CN109935289B (en) Medical record display method, medical record display device, electronic equipment and computer readable storage medium
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
KR20180013304A (en) Method for managing notifications of applications and an electronic device thereof
KR20170083411A (en) Method for Providing Medical Service and Electronic Device supporting the same
KR20220058863A (en) device for measuring the color of fabric

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