Intelligent ring scene prediction method and device based on user physiological data
By training the prediction model, the historical and real-time physiological data of the smart ring are used to predict usage scenarios and determine the appropriate working mode, which solves the problem of low intelligence of existing smart rings and improves user experience and mode adaptability.
Patent Information
- Application Number
- CN202410667576.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-28
- Publication Date
- 2024-08-23
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing smart rings cannot effectively utilize users' physiological data and usage habits, resulting in low intelligence, poor user experience, and prone to errors or incompatibility of working modes.
By obtaining the historical physiological data and usage scenarios of the target ring, the prediction model is trained to predict the usage scenarios of real-time physiological data, and determine the appropriate working mode according to the scenario, including component strategies for exercise, rest, work, commuting and other modes.
It improves the intelligence of the ring, reduces errors or mismatches in working modes, and gives users a better experience.
Smart Images

Figure CN118536665A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and in particular to a smart ring scene prediction method and device based on user physiological data. Background Art
[0002] Smart rings are wearable electronic devices that are generally equipped with mobile components such as sensors and NFC chips. They can be used in various applications, mainly for tracking daily activities and as peripheral tools to support mobile devices. Most of the existing smart rings can only achieve single physiological feature extraction or positioning, and do not consider the relationship between the wearer's usage habits and physiological data. Therefore, their intelligence level is low and the user experience is poor. It can be seen that the existing technology has defects that need to be solved urgently. Summary of the invention
[0003] The technical problem to be solved by the present invention is to provide a scene prediction method and device for an intelligent ring based on user physiological data, which can improve the intelligence of the ring, provide users with a better user experience, and reduce errors or incompatibility in working modes.
[0004] In order to solve the above technical problems, the first aspect of the present invention discloses a smart ring scene prediction method based on user physiological data, the method comprising: Obtain multiple historical physiological data of the target ring and usage scenarios of the corresponding time period; According to the plurality of historical physiological data and the usage scenarios of the corresponding time periods, a prediction model of the target ring is obtained by training; Acquiring real-time physiological data of the target ring, and inputting the real-time physiological data into the prediction model to obtain a predicted usage scenario of the target ring; According to the predicted usage scenario, an operating mode of the target ring is determined.
[0005] As an optional embodiment, in the first aspect of the present invention, the historical physiological data or the real-time physiological data includes at least one of blood pressure, pulse, electrocardiogram, blood sugar, blood oxygen and body temperature.
[0006] As an optional implementation, in the first aspect of the present invention, the usage scenario is a sports scenario, a rest scenario, a work scenario, a commuting scenario, a washing scenario or a not-wearing scenario.
[0007] As an optional embodiment, in the first aspect of the present invention, the working mode is the component strategy corresponding to the target ring in exercise mode, rest mode, work mode, commuting mode, washing mode or not worn mode; the component strategy is a sleep strategy, a working strategy or a preset power consumption strategy.
[0008] As an optional implementation, in the first aspect of the present invention, the training of the prediction model of the target ring according to the plurality of historical physiological data and the usage scenarios of the corresponding time periods includes: Taking each of the historical physiological data and the usage scenario corresponding to the time period as a training data pair to obtain a training data set; 30% of the training data set is used as a test set, and 70% is used as a training set; Each training data pair in the training set is input into a pre-set CNN neural network model for iterative training, and the model parameters of the CNN neural network model are optimized using a gradient descent algorithm and an L1 loss function. The CNN neural network model is tested using the test set until the training is completed, thereby obtaining a prediction model for the target ring.
[0009] As an optional implementation, in the first aspect of the present invention, the step of inputting the real-time physiological data into the prediction model to obtain a predicted usage scenario of the target ring includes: Verifying the authenticity of the real-time physiological data based on the historical physiological data; If the verification is successful, the real-time physiological data is input into the prediction model to obtain a predicted usage scenario of the target ring.
[0010] As an optional implementation, in the first aspect of the present invention, verifying the authenticity of the real-time physiological data according to the historical physiological data includes: Calculating an average value and a change curve of a plurality of the historical physiological data; calculating a first difference between the real-time physiological data and the average value; Inputting the change curve into a trained physiological value prediction neural network to obtain a predicted value; Calculating a second difference between the real-time physiological value and the predicted value; Determining whether the first difference is less than a first difference threshold and whether the second difference is less than a second difference threshold; If so, it is determined that the authenticity verification of the real-time physiological data has passed.
[0011] As an optional implementation, in the first aspect of the present invention, determining the working mode of the target ring according to the predicted usage scenario includes: Determining a plurality of candidate working modes corresponding to the predicted usage scenario according to a pre-established correspondence relationship between the usage scenario and the working mode; Acquire the historical physiological data during the most recent use time period of each candidate working mode to obtain corresponding mode physiological data; Calculating data similarity between the real-time physiological data and any of the pattern physiological data; The candidate working mode corresponding to the pattern physiological data with the highest data similarity is determined as the working mode of the target ring.
[0012] A second aspect of an embodiment of the present invention discloses a smart ring scene prediction device based on user physiological data, the device comprising: An acquisition module, used to acquire multiple historical physiological data of the target ring and usage scenarios of corresponding time periods; A training module, used for training a prediction model of the target ring according to the plurality of historical physiological data and usage scenarios of corresponding time periods; A prediction module, used for acquiring real-time physiological data of the target ring, and inputting the real-time physiological data into the prediction model to obtain a predicted usage scenario of the target ring; A determination module is used to determine the working mode of the target ring according to the predicted usage scenario.
[0013] As an optional embodiment, in the second aspect of the present invention, the historical physiological data or the real-time physiological data includes at least one of blood pressure, pulse, electrocardiogram, blood sugar, blood oxygen and body temperature.
[0014] As an optional implementation, in the second aspect of the present invention, the usage scenario is a sports scenario, a rest scenario, a work scenario, a commuting scenario, a washing scenario or a not-wearing scenario.
[0015] As an optional implementation, in the second aspect of the present invention, the working mode is the component strategy corresponding to the target ring in exercise mode, rest mode, work mode, commuting mode, washing mode or not worn mode; the component strategy is a sleep strategy, a working strategy or a preset power consumption strategy.
[0016] As an optional implementation, in the second aspect of the present invention, the specific manner in which the training module trains the prediction model of the target ring according to the plurality of historical physiological data and the usage scenarios of the corresponding time periods includes: Taking each of the historical physiological data and the usage scenario corresponding to the time period as a training data pair to obtain a training data set; 30% of the training data set is used as a test set, and 70% is used as a training set; Each training data pair in the training set is input into a pre-set CNN neural network model for iterative training, and the model parameters of the CNN neural network model are optimized using a gradient descent algorithm and an L1 loss function. The CNN neural network model is tested using the test set until the training is completed, thereby obtaining a prediction model for the target ring.
[0017] As an optional implementation, in the second aspect of the present invention, the prediction module inputs the real-time physiological data into the prediction model to obtain a specific method of predicting the usage scenario of the target ring, including: Verifying the authenticity of the real-time physiological data based on the historical physiological data; If the verification is successful, the real-time physiological data is input into the prediction model to obtain a predicted usage scenario of the target ring.
[0018] As an optional implementation, in the second aspect of the present invention, the specific manner in which the prediction module verifies the authenticity of the real-time physiological data according to the historical physiological data includes: Calculating an average value and a change curve of a plurality of the historical physiological data; calculating a first difference between the real-time physiological data and the average value; Inputting the change curve into a trained physiological value prediction neural network to obtain a predicted value; Calculating a second difference between the real-time physiological value and the predicted value; Determining whether the first difference is less than a first difference threshold and whether the second difference is less than a second difference threshold; If so, it is determined that the authenticity verification of the real-time physiological data has passed.
[0019] As an optional implementation, in the second aspect of the present invention, the specific manner in which the determination module determines the working mode of the target ring according to the predicted usage scenario includes: Determining a plurality of candidate working modes corresponding to the predicted usage scenario according to a pre-established correspondence relationship between the usage scenario and the working mode; Acquire the historical physiological data during the most recent use time period of each candidate working mode to obtain corresponding mode physiological data; Calculating data similarity between the real-time physiological data and any of the pattern physiological data; The candidate working mode corresponding to the pattern physiological data with the highest data similarity is determined as the working mode of the target ring.
[0020] The third aspect of the present invention discloses another smart ring scene prediction device based on user physiological data, the device comprising: A memory storing executable program code; a processor coupled to the memory; The processor calls the executable program code stored in the memory to execute part or all of the steps in the smart ring scene prediction method based on user physiological data disclosed in the first aspect of the present invention.
[0021] The fourth aspect of the present invention discloses a computer storage medium, which stores computer instructions. When the computer instructions are called, they are used to execute some or all of the steps in the smart ring scene prediction method based on user physiological data disclosed in the first aspect of the present invention.
[0022] Compared with the prior art, the embodiments of the present invention have the following beneficial effects: The present invention can obtain a prediction model based on historical physiological data and usage scenario training, and then use it to predict real-time usage scenarios to determine a more appropriate working mode according to the usage scenarios, thereby improving the intelligence of the ring, providing users with a better usage experience, and reducing errors or incompatibility in the working mode. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0024] Figure 1 It is a flow chart of a smart ring scene prediction method based on user physiological data disclosed in an embodiment of the present invention.
[0025] Figure 2 It is a structural schematic diagram of a smart ring scene prediction device based on user physiological data disclosed in an embodiment of the present invention.
[0026] Figure 3 It is a structural schematic diagram of another smart ring scene prediction device based on user physiological data disclosed in an embodiment of the present invention. DETAILED DESCRIPTION
[0027] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in 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. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0028] The terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, device, product or equipment that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or equipment.
[0029] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present invention. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0030] The present invention discloses a scene prediction method and device for a smart ring based on user physiological data, which can obtain a prediction model based on historical physiological data and usage scene training, and then be used to predict real-time usage scenes, so as to determine a more suitable working mode according to the usage scene, thereby improving the intelligence of the ring, providing users with a better usage experience, and reducing errors or incompatibility of the working mode. The following are detailed descriptions.
[0031] Embodiment 1 See also Figure 1 , Figure 1 : is a flow chart of a method for predicting a scene of a smart ring based on user physiological data disclosed in an embodiment of the present invention. Figure 1 The described smart ring scene prediction method based on user physiological data can be applied to a data processing device / data processing equipment / data processing server (wherein the server includes a local processing server or a cloud processing server). Figure 1 As shown, the smart ring scene prediction method based on user physiological data may include the following operations: 101. Obtain multiple historical physiological data of the target ring and usage scenarios in corresponding time periods.
[0032] 102. Based on multiple historical physiological data and usage scenarios in corresponding time periods, a prediction model of the target ring is trained. 103. Acquire real-time physiological data of the target ring, and input the real-time physiological data into a prediction model to obtain a predicted usage scenario of the target ring. 104. Determine the working mode of the target ring based on the predicted usage scenario.
[0033] It can be seen that the above-mentioned embodiments of the invention can obtain a prediction model based on historical physiological data and usage scenario training, and then use it to predict real-time usage scenarios to determine a more suitable working mode according to the usage scenarios, thereby improving the intelligence of the ring, providing users with a better user experience, and reducing errors or incompatibility in the working mode.
[0034] As an optional embodiment, in the above steps, the historical physiological data or real-time physiological data includes at least one of blood pressure, pulse, electrocardiogram, blood sugar, blood oxygen and body temperature.
[0035] It can be seen that through the above optional embodiments, the types or combinations of physiological data are clarified, thereby helping to improve the intelligence level of the ring, providing users with a better usage experience, and reducing errors or incompatibility in working modes.
[0036] As an optional embodiment, in the above steps, the usage scenario is a sports scenario, a rest scenario, a work scenario, a commuting scenario, a washing scenario or a not-wearing scenario.
[0037] It can be seen that through the above optional embodiments, the types of usage scenarios are clarified, thereby helping to improve the intelligence level of the ring, providing users with a better usage experience, and reducing errors or incompatibility in working modes.
[0038] As an optional embodiment, in the above steps, the working mode is the component strategy corresponding to the target ring in exercise mode, rest mode, work mode, commuting mode, washing mode or not worn mode; the component strategy is a sleep strategy, a work strategy or a preset power consumption strategy.
[0039] It can be seen that through the above optional embodiments, the types of working modes are clarified, thereby helping to improve the intelligence of the ring, providing users with a better user experience, and reducing errors or incompatibility of working modes.
[0040] As an optional embodiment, in the above steps, training a prediction model of the target ring according to a plurality of historical physiological data and usage scenarios in corresponding time periods includes: Each historical physiological data and the usage scenario corresponding to the time period are taken as a training data pair to obtain a training data set; Use 30% of the training data set as the test set and 70% as the training set; Each training data pair in the training set is input into the pre-set CNN neural network model for iterative training, and the model parameters of the CNN neural network model are optimized using the gradient descent algorithm and L1 loss function. The CNN neural network model is tested using the test set until the training is completed and the prediction model of the target ring is obtained.
[0041] It can be seen that through the above optional embodiments, the CNN neural network model can be trained through the composition of the training data set to obtain a prediction model with better prediction effect, thereby assisting in improving the intelligence of the ring, giving users a better user experience, and reducing errors or incompatibility in the working mode.
[0042] As an optional embodiment, in the above step, inputting the real-time physiological data into the prediction model to obtain the predicted usage scenario of the target ring includes: Verify the authenticity of real-time physiological data based on historical physiological data; If the verification is successful, the real-time physiological data is input into the prediction model to obtain the predicted usage scenario of the target ring.
[0043] It can be seen that through the above optional embodiments, the authenticity of real-time physiological data can be verified based on historical physiological data to reduce the interference of false or misidentified physiological data on subsequent steps, thereby helping to improve the intelligence of the ring, giving users a better user experience and reducing errors or incompatibility in working modes.
[0044] As an optional embodiment, in the above steps, verifying the authenticity of the real-time physiological data according to the historical physiological data includes: Calculate the average value and change curve of multiple historical physiological data; calculating a first difference between the real-time physiological data and the average value; Input the change curve into the trained physiological value prediction neural network to obtain the predicted value; Calculating a second difference between the real-time physiological value and the predicted value; Determining whether the first difference is less than a first difference threshold and whether the second difference is less than a second difference threshold; If so, it is determined that the authenticity verification of the real-time physiological data has passed.
[0045] It can be seen that through the above optional embodiments, the authenticity of real-time physiological data can be verified based on the average value and change curve of historical physiological data, as well as the neural network algorithm and difference calculation, so as to reduce the interference of false or misidentified physiological data on subsequent steps, thereby helping to improve the intelligence of the ring, providing users with a better user experience, and reducing errors or incompatibility in working modes.
[0046] As an optional embodiment, in the above step, determining the working mode of the target ring according to the predicted usage scenario includes: Determine multiple candidate working modes corresponding to the predicted usage scenarios according to the pre-established correspondence between usage scenarios and working modes; Obtain historical physiological data of each candidate working mode during the most recent use period to obtain corresponding mode physiological data; Calculating data similarity between real-time physiological data and physiological data of any mode; The candidate working mode corresponding to the pattern physiological data with the highest data similarity is determined as the working mode of the target ring.
[0047] It can be seen that through the above optional embodiments, multiple candidate working modes can be determined according to the correspondence between the usage scenarios and the working modes, and the working mode of the target ring can be determined based on historical physiological data and similarity calculations, thereby improving the intelligence of the ring, providing users with a better user experience, and reducing errors or incompatibility of the working mode.
[0048] Embodiment 2 See also Figure 2 , Figure 2 : is a schematic diagram of the structure of a smart ring scene prediction device based on user physiological data disclosed in an embodiment of the present invention. Figure 2 The described smart ring scene prediction device based on user physiological data can be applied to a data processing device / data processing equipment / data processing server (wherein the server includes a local processing server or a cloud processing server). Figure 2 As shown, the smart ring scene prediction device based on user physiological data may include: The acquisition module 201 is used to acquire a plurality of historical physiological data of the target ring and the usage scenarios of the corresponding time periods.
[0049] The training module 202 is used to train a prediction model of a target ring according to a plurality of historical physiological data and usage scenarios in corresponding time periods. The prediction module 203 is used to obtain the real-time physiological data of the target ring and input the real-time physiological data into the prediction model to obtain the predicted usage scenario of the target ring. The determination module 204 is used to determine the working mode of the target ring according to the predicted usage scenario.
[0050] It can be seen that the above-mentioned embodiments of the invention can obtain a prediction model based on historical physiological data and usage scenario training, and then use it to predict real-time usage scenarios to determine a more suitable working mode according to the usage scenarios, thereby improving the intelligence of the ring, providing users with a better user experience, and reducing errors or incompatibility in the working mode.
[0051] As an optional embodiment, the historical physiological data or the real-time physiological data includes at least one of blood pressure, pulse, electrocardiogram, blood sugar, blood oxygen and body temperature.
[0052] It can be seen that through the above optional embodiments, the types or combinations of physiological data are clarified, thereby helping to improve the intelligence level of the ring, providing users with a better usage experience, and reducing errors or incompatibility in working modes.
[0053] As an optional embodiment, the usage scenario is a sports scenario, a rest scenario, a work scenario, a commuting scenario, a washing scenario, or a scenario where the wearer is not wearing the wearable device.
[0054] It can be seen that through the above optional embodiments, the types of usage scenarios are clarified, thereby helping to improve the intelligence level of the ring, providing users with a better usage experience, and reducing errors or incompatibility in working modes.
[0055] As an optional embodiment, the working mode is a component strategy corresponding to the target ring in exercise mode, rest mode, work mode, commuting mode, washing mode or not worn mode; the component strategy is a sleep strategy, a working strategy or a preset power consumption strategy.
[0056] It can be seen that through the above optional embodiments, the types of working modes are clarified, thereby helping to improve the intelligence of the ring, providing users with a better user experience, and reducing errors or incompatibility of working modes.
[0057] As an optional embodiment, the training module trains the prediction model of the target ring according to the multiple historical physiological data and the usage scenarios of the corresponding time period, including: Each historical physiological data and the usage scenario corresponding to the time period are taken as a training data pair to obtain a training data set; Use 30% of the training data set as the test set and 70% as the training set; Each training data pair in the training set is input into the pre-set CNN neural network model for iterative training, and the model parameters of the CNN neural network model are optimized using the gradient descent algorithm and L1 loss function. The CNN neural network model is tested using the test set until the training is completed and the prediction model of the target ring is obtained.
[0058] It can be seen that through the above optional embodiments, the CNN neural network model can be trained through the composition of the training data set to obtain a prediction model with better prediction effect, thereby assisting in improving the intelligence of the ring, giving users a better user experience, and reducing errors or incompatibility in the working mode.
[0059] As an optional embodiment, the prediction module inputs the real-time physiological data into the prediction model to obtain a specific method of predicting the usage scenario of the target ring, including: Verify the authenticity of real-time physiological data based on historical physiological data; If the verification is successful, the real-time physiological data is input into the prediction model to obtain the predicted usage scenario of the target ring.
[0060] It can be seen that through the above optional embodiments, the authenticity of real-time physiological data can be verified based on historical physiological data to reduce the interference of false or misidentified physiological data on subsequent steps, thereby helping to improve the intelligence of the ring, giving users a better user experience and reducing errors or incompatibility in working modes.
[0061] As an optional embodiment, the specific manner in which the prediction module verifies the authenticity of the real-time physiological data based on the historical physiological data includes: Calculate the average value and change curve of multiple historical physiological data; calculating a first difference between the real-time physiological data and the average value; Input the change curve into the trained physiological value prediction neural network to obtain the predicted value; Calculating a second difference between the real-time physiological value and the predicted value; Determining whether the first difference is less than a first difference threshold and whether the second difference is less than a second difference threshold; If so, it is determined that the authenticity verification of the real-time physiological data has passed.
[0062] It can be seen that through the above optional embodiments, the authenticity of real-time physiological data can be verified based on the average value and change curve of historical physiological data, as well as the neural network algorithm and difference calculation, so as to reduce the interference of false or misidentified physiological data on subsequent steps, thereby helping to improve the intelligence of the ring, providing users with a better user experience, and reducing errors or incompatibility in working modes.
[0063] As an optional embodiment, the specific manner in which the determination module determines the working mode of the target ring according to the predicted usage scenario includes: Determine multiple candidate working modes corresponding to the predicted usage scenarios according to the pre-established correspondence between usage scenarios and working modes; Obtain historical physiological data of each candidate working mode during the most recent use period to obtain corresponding mode physiological data; Calculating data similarity between real-time physiological data and physiological data of any mode; The candidate working mode corresponding to the pattern physiological data with the highest data similarity is determined as the working mode of the target ring.
[0064] It can be seen that through the above optional embodiments, multiple candidate working modes can be determined according to the correspondence between the usage scenarios and the working modes, and the working mode of the target ring can be determined based on historical physiological data and similarity calculations, thereby improving the intelligence of the ring, providing users with a better user experience, and reducing errors or incompatibility of the working mode.
[0065] Embodiment 3 See also Figure 3 , Figure 3 It is another smart ring scene prediction device based on user physiological data disclosed in an embodiment of the present invention. Figure 3 The described smart ring scene prediction device based on user physiological data is applied to a data processing device / data processing equipment / data processing server (wherein the server includes a local processing server or a cloud processing server). Figure 3 As shown, the smart ring scene prediction device based on user physiological data may include: A memory 301 storing executable program codes; a processor 302 coupled to the memory 301; The processor 302 calls the executable program code stored in the memory 301 to execute the steps of the smart ring scene prediction method based on user physiological data described in the first embodiment.
[0066] Embodiment 4 An embodiment of the present invention discloses a computer-readable storage medium storing a computer program for electronic data exchange, wherein the computer program enables a computer to execute the steps of the smart ring scene prediction method based on user physiological data described in the first embodiment.
[0067] Embodiment 5 An embodiment of the present invention discloses a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to enable a computer to execute the steps of the smart ring scene prediction method based on user physiological data described in embodiment 1.
[0068] The above describes specific embodiments of the present specification, and other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily have to be performed in the specific order or sequential order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0069] The devices, means, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products having certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
[0070] For the convenience of description, the above device is described in various units according to their functions. Of course, when implementing this specification, the functions of each unit can be implemented in the same or multiple software and / or hardware.
[0071] Those skilled in the art will appreciate that the embodiments of this specification may be provided as methods, devices, or computer program products. Therefore, the embodiments of this specification may take the form of complete hardware embodiments, complete software embodiments, or embodiments combining software and hardware. Moreover, the embodiments of this specification may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0072] This specification is described with reference to the flowcharts and / or block diagrams of the methods, devices (apparatus), and computer program products according to the embodiments of this specification. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0073] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0074] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0075] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0076] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0077] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0078] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0079] This specification may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. This specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.
[0080] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0081] Finally, it should be noted that the smart ring scene prediction method and device based on user physiological data disclosed in the embodiment of the present invention discloses only the preferred embodiments of the present invention, which are only used to illustrate the technical solution of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, ordinary technicians in the field should understand that it is still possible to modify the technical solutions recorded in the aforementioned embodiments, or to replace some of the technical features therein by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present invention.
Claims
1. A smart ring scene prediction method based on user physiological data, It is characterized in that The method comprises: Obtain multiple historical physiological data of the target ring and usage scenarios of the corresponding time period; According to the plurality of historical physiological data and the usage scenarios of the corresponding time periods, a prediction model of the target ring is obtained by training; Acquiring real-time physiological data of the target ring, and inputting the real-time physiological data into the prediction model to obtain a predicted usage scenario of the target ring; According to the predicted usage scenario, an operating mode of the target ring is determined.
2. The smart ring scene prediction method based on user physiological data according to claim 1, It is characterized in that The historical physiological data or the real-time physiological data includes at least one of blood pressure, pulse, electrocardiogram, blood sugar, blood oxygen and body temperature.
3. The smart ring scene prediction method based on user physiological data according to claim 1, It is characterized in that The usage scenarios are sports scenarios, rest scenarios, work scenarios, commuting scenarios, washing scenarios, or not wearing scenarios.
4. The smart ring scene prediction method based on user physiological data according to claim 1, It is characterized in that The working mode is a component strategy corresponding to the target ring in a sports mode, a rest mode, a working mode, a commuting mode, a washing mode or a not-worn mode; the component strategy is a sleep strategy, a working strategy or a preset power consumption strategy.
5. The smart ring scene prediction method based on user physiological data according to claim 1, It is characterized in that The training of the prediction model of the target ring according to the plurality of historical physiological data and the usage scenarios of the corresponding time periods includes: Taking each of the historical physiological data and the usage scenario corresponding to the time period as a training data pair to obtain a training data set; 30% of the training data set is used as a test set, and 70% is used as a training set; Each training data pair in the training set is input into a pre-set CNN neural network model for iterative training, and the model parameters of the CNN neural network model are optimized using a gradient descent algorithm and an L1 loss function. The CNN neural network model is tested using the test set until the training is completed, thereby obtaining a prediction model for the target ring.
6. The smart ring scene prediction method based on user physiological data according to claim 1, It is characterized in that The step of inputting the real-time physiological data into the prediction model to obtain a predicted usage scenario of the target ring includes: Verifying the authenticity of the real-time physiological data based on the historical physiological data; If the verification is successful, the real-time physiological data is input into the prediction model to obtain a predicted usage scenario of the target ring.
7. The smart ring scene prediction method based on user physiological data according to claim 6, It is characterized in that The verifying the authenticity of the real-time physiological data according to the historical physiological data includes: Calculating an average value and a change curve of a plurality of the historical physiological data; calculating a first difference between the real-time physiological data and the average value; Inputting the change curve into a trained physiological value prediction neural network to obtain a predicted value; Calculating a second difference between the real-time physiological value and the predicted value; Determining whether the first difference is less than a first difference threshold and whether the second difference is less than a second difference threshold; If so, it is determined that the authenticity verification of the real-time physiological data has passed.
8. The smart ring scene prediction method based on user physiological data according to claim 1, It is characterized in that The determining the working mode of the target ring according to the predicted usage scenario includes: Determining a plurality of candidate working modes corresponding to the predicted usage scenario according to a pre-established correspondence relationship between the usage scenario and the working mode; Acquire the historical physiological data during the most recent use time period of each candidate working mode to obtain corresponding mode physiological data; Calculating data similarity between the real-time physiological data and any of the pattern physiological data; The candidate working mode corresponding to the pattern physiological data with the highest data similarity is determined as the working mode of the target ring.
9. A smart ring scene prediction device based on user physiological data, It is characterized in that The device comprises: An acquisition module, used to acquire multiple historical physiological data of the target ring and usage scenarios of corresponding time periods; A training module, used for training a prediction model of the target ring according to the plurality of historical physiological data and usage scenarios of corresponding time periods; A prediction module, used for acquiring real-time physiological data of the target ring, and inputting the real-time physiological data into the prediction model to obtain a predicted usage scenario of the target ring; A determination module is used to determine the working mode of the target ring according to the predicted usage scenario.
10. A smart ring scene prediction device based on user physiological data, It is characterized in that The device comprises: A memory storing executable program code; a processor coupled to the memory; The processor calls the executable program code stored in the memory to execute the smart ring scene prediction method based on user physiological data as described in any one of claims 1-8.
Citation Information
Patent Citations
Method and control device for automatic mobile phone profile switching and mobile phone with automatic mobile phone profile switching function
CN103533171A
Equipment early warning method and device based on wearable biosensor and medium
CN116434511A
Equipment control method and device, electronic equipment and storage medium
CN117896199A
Linkage Prediction Through Similarity Analysis
US20180053096A1
Interface switching method and apparatus, wearable electronic device and storage medium
WO2021081768A1
Cited By
Model synchronization processing method and system for slice data management
CN119622345A
