Cervical vertebra health detection method and device
By analyzing the user's terminal usage records, the daily use records are the disease or non -pathogenic, the total number of pathogenic days and the total number of days of no pathogenic disease is predicted and the user is reminded to change the habit of using the usage. It is difficult to perform the problem of effective cervical spine health detection, and the effect of reducing the incidence of cervical spondylosis.
Patent Information
- Application Number
- CN202211013478.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-23
- Publication Date
- 2025-01-24
- Estimated Expiration
- 2042-08-23
AI Technical Summary
The prior art is difficult to effectively detect cervical spine health through information collected by sensors, which makes it difficult to reduce the incidence of cervical spondylosis.
By obtaining the user's terminal use record collection, the daily use records are the disease or non -pathogenic, and the total number of pathogenic days and the total number of diseases will be counted, thereby predicting the health of the cervical spine and reminding the user to change the usage habits.
It realizes the prediction and reminder of cervical spine health, helps users change terminal usage habits as early as possible, thereby reducing the incidence of cervical spondylosis, and provides clinical data support for the prevention and treatment of cervical spondylosis.
Smart Images

Figure CN115299933B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data analysis technology, and in particular to a method and device for detecting cervical vertebra health. Background Art
[0002] The incidence of cervical spondylosis is associated with the unhealthy use of mobile phones and other portable internet devices. Current cervical spondylosis detection relies on patients seeking medical attention on their own after experiencing symptoms such as dizziness and limb paralysis. After undergoing X-rays and CT scans, doctors then make a clinical diagnosis based on clinical findings. Current mobile devices typically support sensors such as gyroscopes, GPS, and barometers that can detect the tilt, direction, and height of the mobile device. Being able to monitor cervical spine health and provide user alerts could significantly reduce the incidence of this condition. However, there are currently few solutions for cervical spine health detection based on sensor-generated information. These solutions typically determine whether a user's posture is healthy based on data such as the screen tilt angle at a specific moment. This method cannot accurately measure cervical spine health. Summary of the Invention
[0003] The embodiments of the present application provide a cervical vertebra health detection method, device, electronic device and readable storage medium, which can predict the health of the cervical vertebra and collect clinical data to provide support for the prevention and treatment of cervical spondylosis. It can also remind users based on the prediction results so that users can change their terminal usage habits as soon as possible to reduce the incidence of cervical spondylosis.
[0004] The embodiments of the present application can be implemented as follows:
[0005] In a first aspect, an embodiment of the present application provides a method for detecting cervical vertebra health, the method comprising:
[0006] Obtaining a terminal usage record set of the user starting from the target starting time, wherein the terminal usage record set includes usage records for each day, and each usage record is used to indicate the cervical spine status of the user in a day;
[0007] Based on each usage record, each day is marked as pathogenic or non-pathogenic, and the total number of pathogenic days and non-pathogenic days are calculated;
[0008] According to the total number of sick days and the total number of non-sick days, a test result of the health of the cervical spine is obtained.
[0009] In a second aspect, an embodiment of the present application provides a cervical vertebra health detection device, the device comprising:
[0010] a collection module, configured to obtain a terminal usage record set of the user starting from a target starting time, wherein the terminal usage record set includes usage records for each day, and each usage record is used to indicate the cervical spine status of the user within a day;
[0011] An analysis module is used to mark each day as pathogenic or non-pathogenic based on each usage record, and to calculate the total number of pathogenic days and non-pathogenic days;
[0012] The detection module is used to obtain the detection result of the health of the cervical spine based on the total number of days causing illness and the total number of days not causing illness.
[0013] In a third aspect, an embodiment of the present application provides an electronic device comprising a processor and a memory, wherein the memory stores machine executable instructions that can be executed by the processor, and the processor can execute the machine executable instructions to implement the cervical vertebra health detection method described in the aforementioned embodiment.
[0014] In a fourth aspect, the present invention provides a readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the cervical vertebra health detection method as described in the aforementioned embodiment.
[0015] The cervical vertebra health detection method, device, electronic device and readable storage medium provided in the embodiments of the present application can obtain a terminal usage record set including the user's usage records for each day starting from the target starting time, and then mark the day of the usage record as pathogenic or non-pathogenic based on each usage record used to indicate the user's cervical vertebra status within a day, and then obtain the total number of pathogenic days and the total number of non-pathogenic days based on the total number of pathogenic days and the total number of non-pathogenic days, and finally obtain the cervical vertebra health detection results based on the total number of pathogenic days and the total number of non-pathogenic days. In this way, the cervical vertebra health can be predicted, and then reminders can be given based on the prediction results so that the user can change the terminal usage habits as early as possible to reduce the incidence of cervical spondylosis. Clinical data can also be collected to provide support for the prevention and treatment of cervical spondylosis. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments. It should be understood that the following drawings only illustrate certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other relevant drawings can be obtained based on these drawings without paying any creative work.
[0017] Figure 1 A block diagram of an electronic device provided in an embodiment of the present application;
[0018] Figure 2 This is a flow chart of a method for detecting cervical vertebra health provided in an embodiment of the present application;
[0019] Figure 3 for Figure 2 Schematic diagram of the flow of sub-steps included in step S120;
[0020] Figure 4 for Figure 3 A schematic flow chart of the sub-steps included in sub-step S121;
[0021] Figure 5 for Figure 2 Schematic diagram of the flow of sub-steps included in step S130;
[0022] Figure 6 This is a second flow chart of the cervical vertebra health detection method provided in an embodiment of the present application;
[0023] Figure 7 The third flowchart of the cervical vertebra health detection method provided in the embodiment of the present application;
[0024] Figure 8 This is a block diagram of a cervical vertebra health detection device provided in an embodiment of the present application;
[0025] Figure 9 This is the second block diagram of the cervical vertebra health detection device provided in an embodiment of the present application.
[0026] Icon: 100 - electronic device; 110 - memory; 120 - processor; 130 - communication unit; 200 - cervical vertebra health detection device; 201 - transmission module; 210 - acquisition module; 220 - analysis module; 230 - detection module. DETAILED DESCRIPTION
[0027] To make the objectives, technical solutions, and advantages of the embodiments of the present invention more clear, the technical solutions of the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings herein can be arranged and designed in various different configurations.
[0028] Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the present application for protection, but merely represents selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making any creative efforts shall fall within the scope of protection of the present application.
[0029] It should be noted that relational terms such as "first" and "second" are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or apparatus. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article, or apparatus comprising the element.
[0030] The following describes some embodiments of the present application in detail with reference to the accompanying drawings. In the absence of conflict, the following embodiments and features therein may be combined with each other.
[0031] Please refer to Figure 1 , Figure 1 The block diagram of the electronic device 100 provided in an embodiment of the present application. The electronic device 100 may be, but is not limited to, a smartphone, a tablet computer, a personal computer (PC), a server, etc. The electronic device 100 may include a memory 110, a processor 120, and a communication unit 130. The memory 110, the processor 120, and the communication unit 130 are electrically connected to each other directly or indirectly to achieve data transmission or interaction. For example, these components can be electrically connected to each other via one or more communication buses or signal lines.
[0032] The memory 110 is used to store programs or data. The memory 110 may be, but is not limited to, a random access memory (RAM), a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), etc.
[0033] The processor 120 is used to read / write data or programs stored in the memory 110 and execute corresponding functions. For example, the memory 110 stores a cervical vertebra health detection device 200, which includes at least one software function module that can be stored in the memory 110 in the form of software or firmware. The processor 120 executes various functional applications and data processing by running software programs and modules stored in the memory 110, such as the cervical vertebra health detection device 200 in the embodiment of the present application, thereby implementing the cervical vertebra health detection method in the embodiment of the present application.
[0034] The communication unit 130 is used to establish a communication connection between the electronic device 100 and other communication terminals through a network, and to send and receive data through the network.
[0035] It should be understood that Figure 1 The structure shown is only a schematic diagram of the structure of the electronic device 100. The electronic device 100 may also include Figure 1 More or fewer components than shown, or with Figure 1 Different configurations shown. Figure 1 Each component shown in the figure can be implemented by hardware, software or a combination thereof.
[0036] Please refer to Figure 2 , Figure 2 This is one of the flow charts of the cervical vertebra health detection method provided in an embodiment of the present application. The method can be applied to the above-mentioned electronic device 100. Below, the electronic device is an example of a terminal device used by a user, and the specific process of the cervical vertebra health detection method is described in detail. Among them, the terminal device can be a PC, tablet, smart phone, etc. In this embodiment, the method may include steps S110 to S130.
[0037] Step S110: obtaining a terminal usage record set of the user starting from the target starting time.
[0038] The target starting time is the starting time for starting to collect the usage records in the terminal usage record set. The target starting time can be determined based on actual needs. For example, the time when the user needs to perform the cervical spine health test can be determined.
[0039] The terminal usage record set includes the user's terminal usage records for each day starting from the target starting time, with one usage record corresponding to each day. Each usage record is used to indicate the user's cervical spine condition during the day. The specific type of information included in the usage record can be set based on actual needs, as long as it can reflect the user's cervical spine condition. For example, it may include the tilt angle of the terminal screen when the user is using the terminal.
[0040] It's immediately clear that data can be synchronized on a user-by-user basis. For example, a user's tablet and smartphone usage can be aggregated into their terminal usage records.
[0041] It is worth noting that since usage records are continuously collected, the usage records included in the corresponding terminal usage record set are not exactly the same each time the cervical spine health test is performed. For example, t0 is the target starting time. If the test result needs to be obtained at time t1, the terminal usage record set corresponding to the test result includes the usage records collected between t0 and t1, that is, the test result is determined based on the user's terminal usage between t0 and t1; if the test result needs to be obtained at time t2, the terminal usage record set used includes the usage records collected between t0 and t2, that is, the test result is determined based on the user's terminal usage between t0 and t2.
[0042] Step S120 , marking each day as pathogenic or non-pathogenic according to each usage record, and obtaining the total number of pathogenic days and the total number of non-pathogenic days by counting.
[0043] Optionally, after obtaining the terminal usage record set, each day can be marked as pathogenic or non-pathogenic for each usage record. Alternatively, after obtaining a portion of the usage records, the pathogenic or non-pathogenic marking can be performed, and then the marking can be performed again after obtaining new usage records. After completing the marking for each usage record in the terminal usage record set, the marking results can be counted to obtain the total number of pathogenic days and the total number of non-pathogenic days. Whether a day is pathogenic is determined based on the cervical spine status indicated by the usage record corresponding to that day. For example, if the usage record of a certain day indicates that the cervical spine posture on that day is poor for a long time, it can be determined that the day is pathogenic. The specific method of determining whether it is pathogenic can be determined in combination with actual needs and is not specifically limited here.
[0044] Step S130: obtaining a cervical vertebra health test result based on the total number of sick days and the total number of healthy days.
[0045] Alternatively, the specific method for obtaining test results based on the total number of days with and without illness can be tailored to actual needs. For example, if the total number of days with illness is significantly greater than the total number of days without illness, and the total number of days with illness is relatively high, the cervical spine health can be determined to be severe. It should be understood that the above method is for illustrative purposes only.
[0046] In this way, the health of the cervical spine can be predicted, and clinical data can be collected to provide support for the prevention and treatment of cervical spondylosis. Users can also be reminded based on the prediction results so that they can change their terminal usage habits as early as possible to reduce the incidence of cervical spondylosis.
[0047] Optionally, when it is necessary to mark a day corresponding to a usage record as pathogenic or non-pathogenic, Figure 3 Please refer to Figure 3 , Figure 3 for Figure 2 Schematic diagram of the flow of sub-steps included in step S120. In this embodiment, step S120 may include sub-steps S121 to S124.
[0048] Sub-step S121 , for each usage record, according to the preset weight calculation rule and the usage record, calculate the total disease-causing weight of the day corresponding to the usage record.
[0049] In this embodiment, each usage record may include the longest usage time T of a single use of the target type APP in one day. t , Daily duration of using the target type APP T d , the tilt angle θ of the terminal screen when using the target type APP u and the interaction frequency V with the terminal t At least one of .
[0050] The target type APP can be an APP that requires the user's attention, such as a social APP or a game APP. The duration of a user's single use of a social or game APP in a day can be counted, and the maximum value among them is taken as the maximum usage time T of the user's single use of the target type APP in that day. t The duration of using the target type APP in one day T d , represents the total time a user spends using the target type APP in one day. The tilt angle θ of the screen when using the target type APP in one day u , which can be the average tilt angle of the screen when the user uses the target type APP on that day, or the median value of all tilt angles of the screen when the user uses the target type APP on that day. The interaction frequency V with the endpoint when using the target type APP in one day t , which can be the ratio of the total number of screen clicks when the user uses the target type APP on that day to the total time the user uses the target type APP, or can be calculated by other methods.
[0051] The preset weight calculation rules can be set in combination with actual needs. For example, Figure 4 The total pathogenic weight of a day can be obtained by this method. Figure 4 , Figure 4 for Figure 3Flowchart of sub-steps included in sub-step S121. In this embodiment, sub-step S121 may include sub-steps S1211 to S1214.
[0052] Sub-step S1211 , obtaining a first weight corresponding to the tilt angle according to the first preset angle range and the corresponding first preset weight, the second preset angle range and the corresponding second preset weight, and the tilt angle.
[0053] The screen tilt angle range that affects the cervical spine can be pre-set to divide it into a preset angle range, and then set corresponding weights for each range. When determining the weight based on the screen tilt angle, the weight corresponding to the range in which the tilt angle falls can be used as the first weight corresponding to the tilt angle. If it is not within the set range, the first weight can be determined as 0. Among them, the larger the tilt angle corresponding to the range, the greater the weight corresponding to the range.
[0054] For example, a first preset angle range θ is divided U1 and the second preset angle range θ U1 , where, assuming that the first preset angle range θ U1 The corresponding first preset weight is 1, and the second preset angle range θ U2 The corresponding first preset weight is 1.5. The first preset angle range θ U1 The angle in is greater than the second preset angle range θ U2 If the user uses the target type APP within one day, the tilt angle of the terminal screen is θ u In the first preset angle range θ U1 Inside, at the tilt angle θ u The corresponding first weight W θ is the first preset weight 1; if the user uses the target type APP within one day, the tilt angle θ of the terminal screen u In the second preset angle range θ U2 Inside, at the tilt angle θ u The corresponding first weight W θ is the second preset weight 1.5. That is, if θ u ∈θ U1 , then W θ =1; if θ u ∈θ U2 , then W θ =1.5.
[0055] Sub-step S1212, calculating a second weight according to the preset duration weight calculation sub-rule, the maximum usage duration and the daily duration.
[0056] In this embodiment, the maximum usage time Tt Greater than the preset maximum usage time T T And the day length T d Greater than the preset daily duration T D When the ratio of the longest usage time to the preset longest usage time is used as the second weight W t On the contrary, the second weight W can be determined t is 0. That is, if T t >T T , and T d >T D ,but It is understandable that other rules may also be used as preset duration weight calculation sub-rules to obtain the second weight.
[0057] Sub-step S1213 , calculating a third weight based on the preset frequency weight calculation sub-rule and the interaction frequency.
[0058] In this embodiment, the interaction frequency V t Greater than the preset interaction frequency V T When the ratio of the interaction frequency to the preset interaction frequency is used as the third weight W v Otherwise, the third weight is determined to be 0. That is, if V t >V T , and V T >0, then It is understandable that other rules may also be used as preset frequency weight calculation sub-rules to obtain the third weight.
[0059] Sub-step S1213, adding up the calculated weights to obtain the total pathogenic weight for the day corresponding to the usage record.
[0060] Optionally, if each usage record includes the longest usage time T of a single use of the target type APP in a day t , Daily duration of using the target type APP T d , the tilt angle θ of the terminal screen when using the target type APP u , the first weight and the second weight can be calculated, and the first weight and the second weight are added together, and the sum is used as the total pathogenic weight of the day ∑ i W i Where i represents the i-th day, W i represents the weights calculated based on the usage records on day i.
[0061] Optionally, if each usage record includes the longest usage time T of a single use of the target type APP in a day, t , the daily duration of using the target type APP Td , the tilt angle θ of the terminal screen when using the target type APP u and the interaction frequency V with the terminal t , the first weight, the second weight and the third weight can be calculated by the above method, and the sum of the above three weights is taken as the total pathogenic weight of the day.
[0062] It is understandable that the daily usage record may include only one type of information or multiple types of information. The weights corresponding to the included information may be calculated as described above, and then the sum of the weights is used as the total pathogenic weight ∑ i W i .
[0063] Sub-step S122, determining whether the total pathogenic weight of the day is greater than or equal to the preset pathogenic weight.
[0064] When the total pathogenic weight of the day is greater than or equal to the preset pathogenic weight, sub-step S123 is executed: marking the day as pathogenic.
[0065] When the total pathogenicity weight of the day is less than the preset pathogenicity weight, sub-step S124 is executed: marking the day as not pathogenic.
[0066] The preset pathogenicity weight a can be a pre-set value. If on day i, ∑ i W i ≥a, then a pathogenic marker D can be added for that day nx ; If on day i, ∑ i W i <a, then a non-disease marker D can be added for that day ny .
[0067] After completing the analysis of each use record, the pathogenic marker D nx and non-pathogenic marker D ny The total number of sick days and the total number of non-sick days are obtained by statistics. It is worth noting that after the collection starts from the target starting time, if the user does not use the terminal device on a certain day, the usage record of that day will be all 0, and this usage record can be considered invalid data. Other usage records generated based on the normally collected data are valid data.
[0068] Please refer to Figure 5 , Figure 5 for Figure 2 Schematic diagram of the flow of sub-steps included in step S130. In this embodiment, step S130 may include sub-step S131 and step S132.
[0069] Sub-step S131, obtaining a target pathogenicity ratio.
[0070] The target pathogenicity ratio is the ratio of the total number of days causing disease to the total number of days not causing disease. Among them, ∑D nx represents the total number of days of illness, ∑D ny It represents the total number of disease-free days.
[0071] Sub-step S132, according to the preset ratio range and the preset total number of days of illness corresponding to each level, determines the level corresponding to the target pathogenicity ratio and the total number of days of illness, and takes the most serious level among the determined levels as the detection result.
[0072] In this embodiment, different levels and corresponding preset ratio ranges and preset total disease days ranges can be preset. The preset ratio ranges corresponding to different levels may overlap, and the preset total disease days ranges corresponding to different levels may overlap. The target disease ratio and total disease days can be compared with the preset ratio ranges and preset total disease days ranges corresponding to different levels to determine the level for the target disease ratio and total disease days, and the most severe level among them can be used as the user's cervical spine health level.
[0073] For example, suppose: D nx >100, corresponding to mild level: neck and back pain, upper limb weakness; D nx >500, corresponding to the standard level: numbness of fingers, weakness in lower limbs, difficulty walking, dizziness, nausea, and vomiting; D nx >1000, the corresponding level is severe: blurred vision, tachycardia and dysphagia; otherwise, there is no problem. is 2.2, D nx If the score is 500, two levels can be determined: mild and standard, and the user's cervical spine health can be determined to be standard.
[0074] Optionally, the preset maximum usage time T used in the above calculation process to obtain the total pathogenic weight is T 、Preset daily duration T D , the first preset angle range θ U1 , and the second preset angle range θ U1 , preset interaction frequency V T , can be manually pre-set, or can be set by other devices through mathematical analysis, or can be obtained by the user's terminal device through tuning and correction based on the collected data. It is understandable that the above method is only an example, and the above data can also be obtained through other methods.
[0075] Please refer to Figure 6 , Figure 6 This is a second flow chart of the cervical vertebra health detection method provided in an embodiment of the present application. In this embodiment, before step S110, the method may further include step S101.
[0076] Step S101: Obtain benchmark data from a server.
[0077] In this embodiment, the server may first determine the original benchmark data. The original benchmark data may be obtained based on literature related to cervical spondylosis. The original benchmark data may include: the original preset maximum usage time, the preset daily duration, the first preset angle range, the second preset angle range and the preset interaction frequency. Among them, the original preset maximum usage time may be greater than 3h, the original preset daily duration may be greater than 5h, the original first preset angle range may be (90,130], the original second preset angle range may be (130,170], and the original preset interaction frequency may be greater than 60 times / min.
[0078] As a possible implementation manner, the original reference data may be directly sent to the user's terminal device as the reference data for use in determining whether a day causes illness.
[0079] As another possible implementation, the server can also collect user usage records of multiple clients, form a user habit curve by performing data statistics on each client, and compare the user habit curve with the original pathogenic curve represented by the original benchmark data, that is, find out the users who are determined to have cervical spondylosis based on the original benchmark data, and then collect symptoms through the communication connection with the device where the client of this part of users is located, that is, obtain the user health status input by this part of users. In order to ensure the rationality of the benchmark data obtained after subsequent adjustment, the user health status input by users who are determined not to have cervical spondylosis can also be occasionally collected.
[0080] Optionally, the app can collect users' current health status by asking them questions. The user's health status can be categorized as: Normal; Mild (neck and back pain, upper limb weakness); Standard (finger numbness, lower limb weakness, difficulty walking, dizziness, nausea, and vomiting); and Severe (blurred vision, tachycardia, and dysphagia).
[0081] The original baseline data can be adjusted based on the collected user usage records and corresponding health status to generate baseline data. That is, based on the collected data and user feedback, the original baseline data is gradually revised to match the terminal usage of typical cervical spondylosis patients. In this way, the server performs model learning and optimization to obtain baseline data. This baseline data can be sent to any user terminal when it needs to monitor cervical spondylosis health.
[0082] Optionally, to ensure the accuracy of the test results relative to the user, the user's usage history and health status may be collected, and the baseline data and preset pathogenicity weights may be continuously modified. Modification of the baseline data and preset pathogenicity weights may be continuous, or may cease if the test results match the user's input health status multiple times. The specific modification can be determined based on actual circumstances.
[0083] Please refer to Figure 7 , Figure 7 This is the third flow chart of the cervical spine health detection method provided in the embodiment of the present application. In this embodiment, if it is necessary to adjust the preset data used in determining whether a day is pathogenic or non-pathogenic, the method may further include steps S140 to S150.
[0084] Step S140: obtaining the health status input by the user.
[0085] Optionally, the user may be prompted to input their health status each time a usage record is collected, or after collecting usage records for a fixed period of time (e.g., 30 days).
[0086] As a possible example, the user may be asked to enter his or her health status at intervals based on whether the condition of the user's cervical spine requires the user's attention. This can reduce the number of times the user enters information while obtaining the required information.
[0087] In this embodiment, the number of sick days and the number of non-sick days in the current stage can be obtained based on the marks of each day in the current stage. Optionally, the marks of each day in the current stage can be obtained based on the latest benchmark data (i.e., the latest preset maximum usage time T) after each usage record is obtained. T 、Preset daily duration T D , the first preset angle range θ U1 , and the second preset angle range θ U1 , preset interaction frequency V T ) and the latest preset pathogenic weight, or it can be determined based on the latest benchmark data and the latest preset pathogenic weight corresponding to the most recent day of the current stage, and can be determined in combination with actual needs.
[0088] Once each day in the current phase has been marked, the number of days causing illness and days not causing illness can be obtained through data statistics. The sum of the number of days causing illness and days not causing illness, obtained based on the usage records collected during the current phase, is the total number of days with valid data. The ratio of the number of days causing illness to the number of days not causing illness is the pathogenicity ratio, i.e., the number of days causing illness divided by the number of days not causing illness is the pathogenicity ratio.
[0089] If the pathogenicity ratio is greater than a preset pathogenicity ratio c (c can be initialized to 1), and the number of valid data days in the current phase is greater than a preset number of days b (b can be initialized to 50), the current phase is determined to be over, and the newly collected usage records are used as the usage records for the next phase. The user is prompted to enter their health status, and the health status after the user's input is accepted. In other words, the user is only asked to enter their health status once per phase, and the usage records collected in each phase can be included in the user's terminal usage record set starting from the target starting time.
[0090] Optionally, each time a user enters their health status, a test result can be obtained based on the terminal usage record set starting from the target starting time. Then, based on whether the health status matches the test result, the preset maximum usage time, preset daily duration, first preset angle range, second preset angle range, preset interaction frequency, and preset pathogenic weight can be adjusted. The timing of the test can also be randomly determined, and the preset maximum usage time, preset daily duration, first preset angle range, second preset angle range, preset interaction frequency, and preset pathogenic weight can be adjusted based on the test result obtained, that is, the health status closest to the test.
[0091] Among them, when obtaining the test results, the mark of each day can be obtained based on the latest preset maximum usage time, preset daily time, first preset angle range, second preset angle range, preset interaction frequency and preset pathogenic weight at the time of detection.
[0092] Optionally, in order to ensure the accuracy of the test results and reduce the number of times the user enters the health status, the method may further include step S160.
[0093] Step S160: adjusting the preset pathogenicity ratio and the preset number of days.
[0094] In this embodiment, the preset pathogenicity ratio and the preset number of days can be gradually increased to reduce the number of inputs. The specific adjustment timing and adjustment method can be set according to actual needs, and can be adjusted to a certain value and no longer adjusted.
[0095] Optionally, the collected usage records and the corresponding health status input by the user may be sent to the server, and the server may continue to adjust its own stored benchmark data according to the data of each user.
[0096] In order to execute the corresponding steps in the above embodiments and various possible methods, a method for implementing the cervical vertebra health detection device 200 is given below. Optionally, the cervical vertebra health detection device 200 can adopt the above Figure 1 The device structure of the electronic device 100 is shown in FIG. Figure 8 , Figure 8 This is a block diagram of a cervical vertebra health detection device 200 provided in an embodiment of the present application. It should be noted that the basic principles and technical effects of the cervical vertebra health detection device 200 provided in this embodiment are the same as those of the above-mentioned embodiments. For the sake of brevity, any details not mentioned in this embodiment can be referred to the corresponding content in the above-mentioned embodiments. The cervical vertebra health detection device 200 may include: an acquisition module 210, an analysis module 220, and a detection module 230.
[0097] The acquisition module 210 is configured to obtain a terminal usage record set of the user starting from the target starting time, wherein the terminal usage record set includes usage records of each day, and each usage record is used to indicate the cervical spine status of the user in a day.
[0098] The analysis module 220 is used to mark each day as pathogenic or non-pathogenic based on each usage record, and to obtain the total number of pathogenic days and the total number of non-pathogenic days.
[0099] The detection module 230 is used to obtain a detection result of cervical vertebra health according to the total number of disease-causing days and the total number of non-disease-causing days.
[0100] Optionally, in this embodiment, the detection module 230 can also be used to: obtain the health status input by the user; and adjust the preset maximum usage time, preset daily time, first preset angle range, second preset angle range, preset interaction frequency and preset pathogenic weight used in obtaining the detection results according to the health status and the detection results.
[0101] Optionally, in this embodiment, the detection module 230 may also be used to adjust the preset pathogenicity ratio and the preset number of days.
[0102] Please refer to Figure 9 , Figure 9 This is a second block diagram of the cervical vertebra health detection device 200 provided in an embodiment of the present application. The cervical vertebra health detection device 200 may further include: a transmission module 201 .
[0103] The transmission module 201 is used to obtain benchmark data from the server, wherein the benchmark data is data obtained by adjusting the original benchmark data by the server based on the collected user usage records and corresponding health status, and the benchmark data includes the initial preset maximum usage time, preset daily time, first preset angle range, second preset angle range and preset interaction frequency.
[0104] Optionally, the above modules can be stored in the form of software or firmware. Figure 1The memory 110 shown in FIG. 110 or the operating system (OS) of the electronic device 100 may be fixed and may be used by Figure 1 Meanwhile, the data, program codes, etc. required to execute the above modules may be stored in the memory 110.
[0105] An embodiment of the present application further provides a readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the cervical vertebra health detection method is implemented.
[0106] In summary, the embodiments of the present application provide a method, device, electronic device and readable storage medium for detecting the health of the cervical spine, which can obtain a terminal usage record set including the user's usage records for each day starting from the target starting time, and then mark the day of the usage record as pathogenic or non-pathogenic based on each usage record for indicating the user's cervical spine status within a day, and then obtain the total number of pathogenic days and the total number of non-pathogenic days based on the total number of pathogenic days and the total number of non-pathogenic days, and finally obtain the detection result of the cervical spine health based on the total number of pathogenic days and the total number of non-pathogenic days. In this way, the health of the cervical spine can be predicted, and then reminders can be given based on the prediction results so that the user can change the terminal usage habits as early as possible to reduce the incidence of cervical spondylosis. Clinical data can also be collected to provide support for the prevention and treatment of cervical spondylosis.
[0107] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely illustrative. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architectures, functions and operations of the devices, methods and computer program products according to the multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of the code, and the module, program segment or a part of the code contains one or more executable instructions for implementing the specified logical functions. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in an order different from that marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart, can be implemented using a dedicated hardware-based system that performs the specified function or action, or can be implemented using a combination of dedicated hardware and computer instructions.
[0108] In addition, the functional modules in each embodiment of the present application can be integrated together to form an independent part, or each module can exist independently, or two or more modules can be integrated to form an independent part.
[0109] If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0110] The above description is merely an optional embodiment of the present application and is not intended to limit the present application. Various modifications and variations are possible for those skilled in the art. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included within the scope of protection of the present application.
Claims
1. A method for detecting cervical vertebra health, characterized in that: The method comprises: Obtaining a terminal usage record set of the user starting from the target starting time, wherein the terminal usage record set includes usage records of each day, and each usage record is used to indicate the cervical vertebra status of the user in one day; According to each usage record, each day is marked as pathogenic or non-pathogenic, and the total number of pathogenic days and non-pathogenic days are counted; According to the total number of sick days and the total number of non-sick days, a test result of the health of the cervical spine is obtained; The step of marking each day as pathogenic or non-pathogenic based on each usage record includes: For each usage record, the total pathogenic weight of the day corresponding to the usage record is calculated according to the preset weight calculation rules and the usage record; When the total pathogenic weight of the day is greater than or equal to the preset pathogenic weight, the day is marked as pathogenic; When the total pathogenicity weight of the day is less than the preset pathogenicity weight, the day is marked as non-pathogenic; Each usage record includes the longest usage time of a single use of the target type APP in a day, the daily usage time of the target type APP, the tilt angle of the terminal screen when using the target type APP, and the interaction frequency with the terminal. The total pathogenic weight of the day corresponding to the usage record is calculated according to the preset weight calculation rule and the usage record, including: Obtaining a first weight corresponding to the tilt angle according to a first preset angle range and a corresponding first preset weight, a second preset angle range and a corresponding second preset weight, and the tilt angle; Calculate a second weight according to the preset duration weight calculation sub-rule, the maximum usage duration and the daily duration; Calculate a third weight according to the preset frequency weight calculation sub-rule and the interaction frequency; The calculated weights are added together to obtain the total pathogenic weight for the day corresponding to the usage record.
2. The method according to claim 1, characterized in that The second weight is calculated based on the preset duration weight calculation sub-rule, the maximum usage duration and the daily duration, including: When the maximum usage time is greater than the preset maximum usage time and the daily duration is greater than the preset daily duration, a ratio of the maximum usage time to the preset maximum usage time is used as the second weight; The calculating of the third weight according to the preset frequency weight calculation sub-rule and the interaction frequency includes: When the interaction frequency is greater than a preset interaction frequency, a ratio of the interaction frequency to the preset interaction frequency is used as the third weight.
3. The method according to any one of claims 1 to 2, characterized in that: The test result of the cervical vertebra health degree is obtained according to the total number of days causing illness and the total number of days not causing illness, including: Obtaining a target pathogenicity ratio, wherein the target pathogenicity ratio is the ratio of the total number of pathogenic days to the total number of non-pathogenic days; According to the preset ratio range and the preset total number of days of illness corresponding to each level, the level corresponding to the target pathogenicity ratio and the total number of days of illness is determined, and the most serious level among the determined levels is used as the test result.
4. The method according to any one of claims 1 to 2, characterized in that: In case adjustment is required, the method further comprises: Obtaining the health status input by the user; According to the health status and the test results, the preset maximum usage time, preset daily time, first preset angle range, second preset angle range, preset interaction frequency and preset pathogenic weight used in obtaining the test results are adjusted.
5. The method according to claim 4, characterized in that The obtaining the health status input by the user comprises: According to the marks of each day in the current stage, the number of days causing disease and the number of days not causing disease in the current stage are obtained; If the pathogenicity ratio is greater than the preset pathogenicity ratio, and the number of valid data days in the current stage is greater than the preset number of days, the current stage is determined to be over, and the usage records collected again are used as the usage records in the next stage, and the user is prompted to enter the health status, and the health status after the user input is accepted, wherein the pathogenicity ratio is the ratio of the pathogenic days to the non-pathogenic days, and the valid data days are the sum of the pathogenic days and the non-pathogenic days obtained based on the usage records collected in the current stage: If the pathogenicity ratio is not greater than the preset pathogenicity ratio, and the number of valid data days in the current stage is not greater than the preset number of days, the usage record collected again will be used as the usage record in the current stage.
6. The method according to claim 5, characterized in that The method further comprises: The preset pathogenicity ratio and the preset number of days are adjusted.
7. The method according to any one of claims 1 to 2, characterized in that: The method further comprises: Obtain benchmark data from a server, wherein the benchmark data is data obtained by adjusting the original benchmark data by the server according to the collected user usage records and the corresponding health status, and the benchmark data includes an initial preset maximum usage time, a preset daily time, a first preset angle range, a second preset angle range and a preset interaction frequency.
8. A cervical vertebra health detection device, characterized in that: The device comprises: A collection module, used to obtain a terminal usage record set of the user starting from the target starting time, wherein the terminal usage record set includes usage records of each day, and each usage record is used to indicate the cervical vertebra status of the user in one day; The analysis module is used to mark each day as pathogenic or non-pathogenic according to each usage record, and to obtain the total number of pathogenic days and the total number of non-pathogenic days by statistics; A detection module, used for obtaining a detection result of cervical vertebra health according to the total number of disease-causing days and the total number of non-disease-causing days; The analysis module is specifically used to: for each usage record, calculate the total pathogenic weight of the day corresponding to the usage record according to the preset weight calculation rule and the usage record; when the total pathogenic weight of the day is greater than or equal to the preset pathogenic weight, mark the day as pathogenic; when the total pathogenic weight of the day is less than the preset pathogenic weight, mark the day as non-pathogenic; Among them, each usage record includes the longest usage time of a single use of the target type APP in one day, the daily usage time of the target type APP, the tilt angle of the terminal screen when using the target type APP, and the interaction frequency with the terminal. The analysis module is specifically used to: obtain the first weight corresponding to the tilt angle according to the first preset angle range and the corresponding first preset weight, the second preset angle range and the corresponding second preset weight, and the tilt angle; calculate the second weight according to the preset time weight calculation sub-rule, the longest usage time and the daily time; calculate the third weight according to the preset frequency weight calculation sub-rule and the interaction frequency; add the calculated weights to obtain the total pathogenic weight of the day corresponding to the usage record.
Citation Information
Patent Citations
Terminal health statistic system
CN106302026A
Cervical vertebra fatigue degree-based intelligent judgment system and application thereof
CN106606351A