[go: up one dir, main page]

WO2023061413A1 - Sensor data processing method and apparatus, wearable electronic device, and storage medium - Google Patents

Sensor data processing method and apparatus, wearable electronic device, and storage medium Download PDF

Info

Publication number
WO2023061413A1
WO2023061413A1 PCT/CN2022/124923 CN2022124923W WO2023061413A1 WO 2023061413 A1 WO2023061413 A1 WO 2023061413A1 CN 2022124923 W CN2022124923 W CN 2022124923W WO 2023061413 A1 WO2023061413 A1 WO 2023061413A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
data table
sensor
piece
behavior event
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2022/124923
Other languages
French (fr)
Chinese (zh)
Inventor
任军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Publication of WO2023061413A1 publication Critical patent/WO2023061413A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/41Flow control; Congestion control by acting on aggregated flows or links
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q9/00Arrangements in telecontrol or telemetry systems for selectively calling a substation from a main station, in which substation desired apparatus is selected for applying a control signal thereto or for obtaining measured values therefrom

Definitions

  • the application belongs to the technical field of electronic equipment, and in particular relates to a sensor data processing method, device, wearable electronic equipment and storage medium.
  • various sensors such as heart rate sensors, acceleration sensors, Ambient temperature sensors and ECG sensors enable wearable electronic devices to measure human body signals such as heart rate and blood oxygen and count sports data.
  • the purpose of the embodiments of the present application is to provide a sensor data processing method, device, wearable electronic device, and storage medium, which can solve the problems in the prior art that sensor data takes up a lot of storage space and takes a long time to transmit.
  • the embodiment of the present application provides a sensor data processing method, the method comprising:
  • the first data table includes multiple pieces of first data recorded by the sensor, and each piece of first data includes: a behavior event identifier of a sensor, a measurement value corresponding to the behavior event identifier, and a measurement value Corresponding timestamps, the behavior event identifiers contained in any two first data are different;
  • the merging process includes: retaining the behavior event identifiers in the multiple pieces of second data and the measurement values corresponding to the behavior event identifiers, and retaining a time stamp.
  • the embodiment of the present application provides a sensor data processing device, the device includes:
  • An acquisition module configured to acquire a first data table, wherein the first data table includes a plurality of pieces of first data recorded by the sensor, and each piece of first data includes: a behavior event identifier of a sensor, a behavior event identifier corresponding to The measured value and the timestamp corresponding to the measured value, the behavior event identifiers contained in any two first data are different;
  • a merging module configured to combine the multiple pieces of second data in the first data table into one piece of data when there are multiple pieces of second data with the same timestamp in the multiple pieces of first data, to obtain The second data table; wherein, the merging process includes: retaining the behavior event identifiers in the multiple pieces of second data and the measurement values corresponding to the behavior event identifiers, and retaining a time stamp.
  • an embodiment of the present application provides an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored in the memory and operable on the processor, and the program or instruction is The processor implements the steps of the method described in the first aspect when executed.
  • an embodiment of the present application provides a readable storage medium, on which a program or an instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented .
  • the embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions, so as to implement the first aspect The steps of the method.
  • the raw data that occurred at the same time point can be combined, and only one timestamp is retained, while the redundant timestamp is removed, so that the sensor data can be guaranteed Under the premise that the integrity can be restored, the space occupation of sensor data is reduced, and the transmission time is shortened.
  • FIG. 1 is a flow chart of a sensor data processing method provided by an embodiment of the present application
  • Fig. 2 is a flow chart of another sensor data processing method provided by the embodiment of the present application.
  • Fig. 3 is a flowchart of another sensor data processing method provided by the embodiment of the present application.
  • Fig. 4 is a flowchart of another sensor data processing method provided by the embodiment of the present application.
  • Fig. 5 is a structural block diagram of a sensor data processing device provided by an embodiment of the present application.
  • FIG. 6 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • FIG. 7 is a schematic diagram of a hardware structure of an electronic device implementing various embodiments of the present application.
  • embodiments of the present application provide a sensor data processing method, device, wearable electronic device, and storage medium.
  • a PPG sensor also known as an “optical heart rate sensor” is a sensor for heart rate detection that uses electro-optic plethysmography (PPG) to measure heart rate and other biometric indicators;
  • PPG electro-optic plethysmography
  • ACC sensor also known as “acceleration sensor” is a sensor capable of measuring acceleration
  • AMB sensor also known as “ambient light sensor” is a sensor that can sense the surrounding light conditions
  • ECG sensor also known as “cardiac sensor” is a sensor that can sense the action potential waveform of cells in different regions of the heart and convert it into a usable output signal.
  • the sensor data processing method provided by the embodiment of the present application is suitable for wearable electronic devices.
  • the wearable electronic devices may include: smart watches, smart bracelets, etc., which are not discussed in the embodiments of the present application. limited.
  • Fig. 1 is a flowchart of a sensor data processing method provided by an embodiment of the present application. As shown in Fig. 1, the method may include the following steps: step 101 and step 102, wherein,
  • the first data table is obtained, wherein the first data table includes multiple pieces of first data recorded by the sensor, and each piece of first data includes: a behavior event identifier of a sensor, and a measurement value corresponding to the behavior event identifier
  • the time stamps corresponding to the measured values, the behavior event identifiers contained in any two pieces of first data are different.
  • the raw data generated by each sensor in the wearable electronic device is stored in the form of a first data table, and each piece of first data in the first data table is a piece of raw data.
  • Table 1 shows the storage format of the data in the first data table. It can be seen from Table 1 that each piece of raw data generated by the sensor is recorded as a row, and each row contains a sensor's behavior event identifier, behavior event
  • the measured value and the timestamp used to represent the occurrence time of the behavioral event belong to three columns respectively.
  • the 32-bit length is used when recording the behavioral event identifier
  • the 32-bit length is used when recording the measured value
  • the 64-bit length is used when recording the timestamp.
  • the unit is ms.
  • a wearable electronic device measures the user's blood oxygen and heart rate as an example, and describe the first data table as an example.
  • various indicator lights including green light, red light and Infrared lamp
  • each indicator light emits light according to the set time point.
  • the relevant sensors in the wearable electronic device will execute the action of collecting the light value reflected by the skin of the user's arm, as well as the action of collecting the light value of the user's current environment. After that, the collected light value, the collection time Points and identifications of collection behavior events are stored in the first data table.
  • Table 2 is the first data table in the scenario of measuring the user's blood oxygen and heart rate.
  • each row is used to store a piece of raw data from the sensor.
  • the third row from left to right is: behavior event identifier "PPG-G", measured value "PPG green light value” and Timestamp (specific value not shown), wherein, PPG-G indicates that the PPG sensor performs the action of collecting the green light value reflected by the arm skin, the PPG green light value indicates the green light value collected by the PPG sensor, and the time stamp indicates the green light value collected by the PPG sensor. point in time.
  • PPG-G indicates that the PPG sensor performs the action of collecting the green light value reflected by the arm skin
  • the PPG green light value indicates the green light value collected by the PPG sensor
  • the time stamp indicates the green light value collected by the PPG sensor. point in time.
  • step 102 in the case where there are multiple pieces of second data with the same time stamp in the multiple pieces of first data, the multiple pieces of second data in the first data table are combined into one piece of data to obtain a second data table; wherein , the merging process includes: retaining the behavior event identifiers in the multiple pieces of second data and the measurement values corresponding to the behavior event identifiers, and retaining a time stamp.
  • the behavior event identifiers "PPG-G” and "AMB-G” are reserved (in a row with a length of 32 bits to represent PPG-G&AMB- G), keep the measured values "PPG green light value” and “green light ambient light”, but only keep one timestamp, so that the data that needs to be stored in two lines before can be stored in only one line.
  • the behavior event identifiers "PPG-IR” and "AMB-IR” are reserved (indicates PPG-IR&AMB-IR in a row with a length of 32 bits),
  • the measured values "PPG infrared value” and “infrared ambient light” are kept, but only one timestamp is kept, so that the data that used to be stored in two lines can now be stored in only one line.
  • table 3 can be further optimized into table 4 below.
  • the raw data generated by each sensor in the wearable electronic device can be combined, only one timestamp is retained, and the redundant timestamp is removed, so that On the premise of ensuring the integrity and recovery of sensor data, reduce the space occupation of sensor data and shorten the transmission time.
  • FIG. 2 is a flow chart of another sensor data processing method provided by the embodiment of the present application. As shown in FIG. 2 , the method may include the following steps: step 201, step 202 and step 203, wherein,
  • the first data table is obtained, wherein the first data table includes multiple pieces of first data recorded by the sensor, and each piece of first data includes: a behavior event identifier of a sensor, and a measurement value corresponding to the behavior event identifier
  • the time stamps corresponding to the measured values, the behavior event identifiers contained in any two pieces of first data are different.
  • step 202 in the case that there are multiple pieces of second data with the same time stamp in the multiple pieces of first data, the multiple pieces of second data in the first data table are combined into one piece of data to obtain a second data table; wherein , the merging process includes: retaining the behavior event identifiers in the multiple pieces of second data and the measurement values corresponding to the behavior event identifiers, and retaining a time stamp.
  • Step 201 and step 202 in the embodiment of the present application are similar to steps 101 and 102 in the embodiment shown in FIG. 1 , and will not be repeated here.
  • step 203 for each pair of adjacent two data in the second data table, calculate the difference between the time stamps in the two data, and replace the time stamp in the next piece of data in the two data with the time Poke the difference to get the third data table.
  • the 64-bit timestamp of each row in the data table can be optimized into a differential time mechanism.
  • the default timestamp is differential time, and a reference time type is added, as shown in Table 5 below.
  • sensor data type data value timestamp 3 64bit complete time T1 - 2ACC 32bitX, 32bitY, 32bitZ timestamp (differential)
  • the differential time can be expressed in the following form: Byte0+Byte1 ⁇ Byte 7, Byte0 is used to indicate the number of bytes used by the differential time, and Byte1 ⁇ Byte7 is used to indicate the specific byte in 1 ⁇ 7 occupied by the differential time.
  • the mechanism shown in Table 5 may be used to process Table 4 to obtain the third data table shown in Table 6.
  • the differential time of each row is the time of the new data minus the time of the same type of data in the previous row.
  • the differential mechanism is used to optimize the time stamp in the sensor data, which can further reduce the space occupation of the sensor data and shorten the transmission time on the premise of ensuring the integrity and recovery of the sensor data.
  • FIG. 3 is a flow chart of another sensor data processing method provided by the embodiment of the present application. As shown in FIG. 3 , the method may include the following steps: step 301, step 302, step 303 and step 304, wherein,
  • the first data table is obtained, wherein the first data table includes multiple pieces of first data recorded by the sensor, and each piece of first data includes: a behavior event identifier of a sensor, and a measurement value corresponding to the behavior event identifier
  • the time stamps corresponding to the measured values, the behavior event identifiers contained in any two pieces of first data are different.
  • step 302 in the case that there are multiple pieces of second data with the same time stamp in the multiple pieces of first data, the multiple pieces of second data in the first data table are combined into one piece of data to obtain a second data table; wherein , the merging process includes: retaining the behavior event identifiers in the multiple pieces of second data and the measurement values corresponding to the behavior event identifiers, and retaining a time stamp.
  • step 303 for each pair of adjacent two data in the second data table, calculate the difference of the time stamps in the two data, and replace the time stamp in the next piece of data in the two data with the time Poke the difference to get the third data table.
  • Steps 301 to 303 in the embodiment of the present application are similar to steps 201 to 203 in the embodiment shown in FIG. 2 , and will not be repeated here.
  • step 304 for each piece of data corresponding to the target sensor in the sensor in the third data table, the difference between the measured values collected at two adjacent sampling time points is calculated, and the sequenced value of the two sampling time points is The measurement value in a piece of data is replaced by the difference value of the measurement value to obtain the fourth data table.
  • the target sensor may include: a heart rate sensor, an acceleration sensor, an ambient light sensor, and an electrocardiogram sensor.
  • the fourth data table shown in Table 7 can be obtained by performing measurement value optimization on the third data table shown in Table 6.
  • the differential mechanism is used to optimize the measurement value of a specific sensor in the sensor data, which can further reduce the space occupation of the sensor data and shorten the transmission time under the premise of ensuring the integrity and recovery of the sensor data .
  • FIG. 4 is a flowchart of another sensor data processing method provided by the embodiment of the present application. As shown in FIG. 4 , the method may include the following steps: step 401, step 402, step 403, step 404 and step 405 ,in,
  • the first data table is obtained, wherein the first data table includes multiple pieces of first data recorded by the sensor, and each piece of first data includes: a behavior event identifier of a sensor, and a measurement value corresponding to the behavior event identifier
  • the time stamps corresponding to the measured values, the behavior event identifiers contained in any two pieces of first data are different.
  • step 402 in the case that there are multiple pieces of second data with the same time stamp in the multiple pieces of first data, the multiple pieces of second data in the first data table are combined into one piece of data to obtain a second data table; wherein , the merging process includes: retaining the behavior event identifiers in the multiple pieces of second data and the measurement values corresponding to the behavior event identifiers, and retaining a time stamp.
  • step 403 for each pair of adjacent two data in the second data table, calculate the difference of the time stamps in the two data, and replace the time stamp in the next piece of data in the two data with the time Poke the difference to get the third data table.
  • step 404 for each piece of data corresponding to the target sensor in the sensor in the third data table, calculate the difference between the measured values collected at two adjacent sampling time points, and sort the difference between the two sampling time points The measurement value in a piece of data is replaced by the difference value of the measurement value to obtain the fourth data table.
  • Steps 401 to 404 in the embodiment of the present application are similar to steps 301 to 304 in the embodiment shown in FIG. 3 , and will not be repeated here.
  • step 405 for each piece of data corresponding to the target sensor in the fourth data table, a batch type label is added to each piece of data to obtain the fifth data table, and each piece of data in the fifth data table and the corresponding batch type label , stored in batches in first-in first-out memory.
  • the fifth data table shown in Table 8 can be obtained by adding tags to the fourth data table shown in Table 7.
  • the number of time stamps used can be reduced through batch storage, and the sensor data can be further reduced under the premise of ensuring that the integrity of the sensor data is recoverable. The amount of space occupied by the data, and shorten the transmission time.
  • the sensor data processing method provided in the embodiment of the present application may be executed by a sensor data processing device, or a control module in the sensor data processing device for executing the loading sensor data processing method.
  • the sensor data processing device provided in the embodiment of the present application is described by taking the sensor data processing device executing the loading sensor data processing method as an example.
  • Fig. 5 is a structural block diagram of a sensor data processing device provided by an embodiment of the present application.
  • the sensor data processing device 500 may include: an acquisition module 501 and a combination module 502, wherein,
  • the acquisition module 501 is configured to acquire a first data table, wherein the first data table includes a plurality of pieces of first data recorded by the sensor, and each piece of first data includes: a behavior event identifier of a sensor, a corresponding behavior event identifier The measured value and the timestamp corresponding to the measured value, the behavior event identifiers contained in any two first data are different;
  • a merging module 502 configured to merge the multiple pieces of second data in the first data table into one piece of data when there are multiple pieces of second data with the same timestamp in the multiple pieces of first data, A second data table is obtained; wherein, the merging process includes: retaining the behavior event identifiers in the multiple pieces of second data and the measurement values corresponding to the behavior event identifiers, and retaining a time stamp.
  • the raw data generated by each sensor in the wearable electronic device can be combined, only one timestamp is retained, and the redundant timestamp is removed, so that On the premise of ensuring the integrity and recovery of sensor data, reduce the space occupation of sensor data and shorten the transmission time.
  • the sensor data processing device 500 may further include:
  • the first calculation module is used to calculate the difference between the time stamps in the two pieces of data for each pair of adjacent two pieces of data in the second data table;
  • the first replacement module is configured to replace the time stamp in the last piece of data among the two pieces of data with the difference between the time stamps to obtain a third data table.
  • the sensor data processing device 500 may further include:
  • the second calculation module is used to calculate the difference between the measured values collected at two adjacent sampling time points for each piece of data corresponding to the target sensor in the sensor in the third data table;
  • the second replacement module is configured to replace the measurement value in the last piece of data at the two sampling time points with the difference between the measurement values to obtain a fourth data table.
  • the sensor data processing device 500 may further include:
  • the storage module is configured to store each piece of data in the fifth data table and the corresponding batch type label in batches into the FIFO memory.
  • the sensor data processing device in the embodiment of the present application may be a device, or a component, an integrated circuit, or a chip in a terminal.
  • the device may be a mobile electronic device or a non-mobile electronic device.
  • the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle electronic device, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant).
  • non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (television, TV), teller machine or self-service machine, etc., this application Examples are not specifically limited.
  • Network Attached Storage NAS
  • personal computer personal computer, PC
  • television television
  • teller machine or self-service machine etc.
  • the sensor data processing device in the embodiment of the present application may be a device with an operating system.
  • the operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in this embodiment of the present application.
  • the sensor data processing device provided in the embodiment of the present application can implement various processes implemented in the method embodiment in FIG. 1 , and details are not repeated here to avoid repetition.
  • the embodiment of the present application further provides an electronic device 600, including a processor 601, a memory 602, and programs or instructions stored in the memory 602 and operable on the processor 601,
  • an electronic device 600 including a processor 601, a memory 602, and programs or instructions stored in the memory 602 and operable on the processor 601
  • the program or instruction is executed by the processor 601
  • each process of the above-mentioned embodiment of the sensor data processing method can be achieved, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
  • the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
  • FIG. 7 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
  • the electronic device 700 includes, but is not limited to: a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, a display unit 706, a user input unit 707, an interface unit 708, a memory 709, and a processor 710, etc. part.
  • the electronic device 700 can also include a power supply (such as a battery) for supplying power to various components, and the power supply can be logically connected to the processor 710 through the power management system, so that the management of charging, discharging, and function can be realized through the power management system. Consumption management and other functions.
  • a power supply such as a battery
  • the structure of the electronic device shown in FIG. 7 does not constitute a limitation to the electronic device.
  • the electronic device may include more or fewer components than shown in the figure, or combine some components, or arrange different components, and details will not be repeated here. .
  • the processor 710 is configured to acquire a first data table, wherein the first data table includes multiple pieces of first data recorded by the sensor, and each piece of first data includes: a behavior event identifier of a sensor, a behavior event identifier corresponding to The measured value and the timestamp corresponding to the measured value, the behavior event identifier contained in any two pieces of first data are different; in the case that there are multiple pieces of second data with the same time stamp in the multiple pieces of first data, the The multiple pieces of second data in the first data table are merged into one piece of data to obtain a second data table; wherein the merging process includes: retaining the behavior event identifiers in the multiple pieces of second data and the corresponding behavior event identifiers measured value, and retain a timestamp.
  • the raw data generated by each sensor in the wearable electronic device can be combined, and only one timestamp is retained, and the redundant timestamp is removed, so that the sensor Under the premise that the data integrity can be restored, the space occupation of sensor data is reduced, and the transmission time is shortened.
  • the processor 710 is further configured to, for each pair of adjacent two pieces of data in the second data table, calculate the difference between the time stamps in the two pieces of data; The time stamp in the last piece of data among the pieces of data is replaced by the difference of the time stamps to obtain the third data table.
  • the processor 710 is further configured to, for each piece of data corresponding to the target sensor in the sensor in the third data table, calculate the sum of the measured values collected at two adjacent sampling time points difference: replacing the measured value in the last piece of data at the two sampling time points with the difference between the measured values to obtain a fourth data table.
  • the processor 710 is further configured to, for each piece of data corresponding to the target sensor in the fourth data table, add a batch type label to each piece of data to obtain a fifth data table; Each piece of data in the fifth data table and the corresponding batch type label are stored in batches in the FIFO memory.
  • the input unit 704 may include a graphics processor (Graphics Processing Unit, GPU) 7041 and a microphone 7042, and the graphics processor 7041 is used for the image capture device (such as the image data of the still picture or video obtained by the camera) for processing.
  • the display unit 706 may include a display panel 7061, and the display panel 7061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
  • the user input unit 707 includes a touch panel 7071 and other input devices 7072 .
  • the touch panel 7071 is also called a touch screen.
  • the touch panel 7071 may include two parts, a touch detection device and a touch controller.
  • Other input devices 7072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here.
  • Memory 709 may be used to store software programs as well as various data, including but not limited to application programs and operating systems.
  • the processor 710 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, user interface, application program, etc., and the modem processor mainly processes wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 710 .
  • the embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by the processor, each process of the above embodiment of the sensor data processing method is realized, and can achieve The same technical effects are not repeated here to avoid repetition.
  • the processor is the processor in the electronic device described in the above embodiments.
  • the readable storage medium includes computer readable storage medium, such as computer read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.
  • the embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the above embodiment of the sensor data processing method Each process, and can achieve the same technical effect, in order to avoid repetition, will not repeat them here.
  • chips mentioned in the embodiments of the present application may also be called system-on-chip, system-on-chip, system-on-a-chip, or system-on-a-chip.
  • the term “comprising”, “comprising” or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase “comprising a " does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element.
  • the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved. Functions are performed, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Testing Or Calibration Of Command Recording Devices (AREA)
  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

The present application relates to the technical field of electronic devices, and discloses a sensor data processing method and apparatus, a wearable electronic device, and a storage medium. The method comprises: obtaining a first data table, wherein the first data table comprises multiple pieces of first data recorded by a sensor, each piece of first data comprises: a behavior event identifier of one sensor, a measurement value corresponding to the behavior event identifier, and a timestamp corresponding to the measurement value, and any two pieces of first data comprise different behavior event identifiers; and under the condition that multiple pieces of second data having the same timestamp exist in the multiple pieces of first data, merging the multiple pieces of second data in the first data table into one piece of data, and obtaining a second data table, wherein the merging process comprises: reserving behavior event identifiers in the multiple pieces of second data and measurement values corresponding to the behavior event identifiers, and reserving a timestamp.

Description

传感器数据处理方法、装置、穿戴式电子设备及存储介质Sensor data processing method, device, wearable electronic device and storage medium

相关申请的交叉引用Cross References to Related Applications

本申请要求在2021年10月15日提交中国专利局、申请号为202111205494.3、名称为“传感器数据处理方法、装置、穿戴式电子设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number 202111205494.3 and the title "sensor data processing method, device, wearable electronic device and storage medium" submitted to the China Patent Office on October 15, 2021, the entire content of which is passed References are incorporated in this application.

技术领域technical field

本申请属于电子设备技术领域,具体涉及一种传感器数据处理方法、装置、穿戴式电子设备及存储介质。The application belongs to the technical field of electronic equipment, and in particular relates to a sensor data processing method, device, wearable electronic equipment and storage medium.

背景技术Background technique

随着移动互联网技术的发展和电子设备硬件配置的升级,智能手表、手环等穿戴式电子设备的功能越来越完善,例如穿戴式电子设备中可以安装多种传感器如心率传感器、加速度传感器、环境温度传感器以及心电传感器等使得穿戴式电子设备可以实现测量心率、血氧等人体信号以及统计运动数据的功能。With the development of mobile Internet technology and the upgrading of the hardware configuration of electronic devices, the functions of wearable electronic devices such as smart watches and bracelets are becoming more and more perfect. For example, various sensors such as heart rate sensors, acceleration sensors, Ambient temperature sensors and ECG sensors enable wearable electronic devices to measure human body signals such as heart rate and blood oxygen and count sports data.

现有技术中,为了实现穿戴式电子设备的各种功能,需要存储及上传穿戴式电子设备中各传感器产生的原始数据,会占用较多的存储空间,以及在上传用户设备(例如智能手机)时,传输耗时较长。In the prior art, in order to realize various functions of the wearable electronic device, it is necessary to store and upload the raw data generated by each sensor in the wearable electronic device, which will take up a lot of storage space, and when uploading user equipment (such as a smart phone) , the transfer takes a long time.

发明内容Contents of the invention

本申请实施例的目的是提供一种传感器数据处理方法、装置、穿戴式电子设备及存储介质,能够解决现有技术中存在的传感器数据占用较多存储空间,且传输耗时长的问题。The purpose of the embodiments of the present application is to provide a sensor data processing method, device, wearable electronic device, and storage medium, which can solve the problems in the prior art that sensor data takes up a lot of storage space and takes a long time to transmit.

第一方面,本申请实施例提供了一种传感器数据处理方法,所述方法包括:In the first aspect, the embodiment of the present application provides a sensor data processing method, the method comprising:

获取第一数据表,其中,所述第一数据表中包括传感器记录的多条第一 数据,每条第一数据中包含:一个传感器的行为事件标识、行为事件标识对应的测量值和测量值对应的时间戳,任意两条第一数据中包含的行为事件标识不同;Obtain a first data table, wherein the first data table includes multiple pieces of first data recorded by the sensor, and each piece of first data includes: a behavior event identifier of a sensor, a measurement value corresponding to the behavior event identifier, and a measurement value Corresponding timestamps, the behavior event identifiers contained in any two first data are different;

在所述多条第一数据中存在相同时间戳的多条第二数据的情况下,将所述第一数据表中的所述多条第二数据合并为一条数据,得到第二数据表;其中,合并过程包括:保留所述多条第二数据中的行为事件标识和行为事件标识对应的测量值,以及保留一个时间戳。In the case where there are multiple pieces of second data with the same timestamp in the multiple pieces of first data, combining the multiple pieces of second data in the first data table into one piece of data to obtain a second data table; Wherein, the merging process includes: retaining the behavior event identifiers in the multiple pieces of second data and the measurement values corresponding to the behavior event identifiers, and retaining a time stamp.

第二方面,本申请实施例提供了一种传感器数据处理装置,所述装置包括:In the second aspect, the embodiment of the present application provides a sensor data processing device, the device includes:

获取模块,用于获取第一数据表,其中,所述第一数据表中包括传感器记录的多条第一数据,每条第一数据中包含:一个传感器的行为事件标识、行为事件标识对应的测量值和测量值对应的时间戳,任意两条第一数据中包含的行为事件标识不同;An acquisition module, configured to acquire a first data table, wherein the first data table includes a plurality of pieces of first data recorded by the sensor, and each piece of first data includes: a behavior event identifier of a sensor, a behavior event identifier corresponding to The measured value and the timestamp corresponding to the measured value, the behavior event identifiers contained in any two first data are different;

合并模块,用于在所述多条第一数据中存在相同时间戳的多条第二数据的情况下,将所述第一数据表中的所述多条第二数据合并为一条数据,得到第二数据表;其中,合并过程包括:保留所述多条第二数据中的行为事件标识和行为事件标识对应的测量值,以及保留一个时间戳。A merging module, configured to combine the multiple pieces of second data in the first data table into one piece of data when there are multiple pieces of second data with the same timestamp in the multiple pieces of first data, to obtain The second data table; wherein, the merging process includes: retaining the behavior event identifiers in the multiple pieces of second data and the measurement values corresponding to the behavior event identifiers, and retaining a time stamp.

第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。In a third aspect, an embodiment of the present application provides an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored in the memory and operable on the processor, and the program or instruction is The processor implements the steps of the method described in the first aspect when executed.

第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or an instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented .

第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法的步骤。In the fifth aspect, the embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions, so as to implement the first aspect The steps of the method.

在本申请实施例中,对于穿戴式电子设备中各传感器产生的原始数据,可以将同一时间点发生的原始数据进行合并,只保留一个时间戳,而去掉多余的时间戳,使得在保证传感器数据完整性可恢复的前提下,降低传感器数据的空间占用量,以及缩短传输耗时。In this embodiment of the application, for the raw data generated by each sensor in the wearable electronic device, the raw data that occurred at the same time point can be combined, and only one timestamp is retained, while the redundant timestamp is removed, so that the sensor data can be guaranteed Under the premise that the integrity can be restored, the space occupation of sensor data is reduced, and the transmission time is shortened.

附图说明Description of drawings

图1是本申请实施例提供的一种传感器数据处理方法的流程图;FIG. 1 is a flow chart of a sensor data processing method provided by an embodiment of the present application;

图2是本申请实施例提供的另一种传感器数据处理方法的流程图;Fig. 2 is a flow chart of another sensor data processing method provided by the embodiment of the present application;

图3是本申请实施例提供的再一种传感器数据处理方法的流程图;Fig. 3 is a flowchart of another sensor data processing method provided by the embodiment of the present application;

图4是本申请实施例提供的再一种传感器数据处理方法的流程图;Fig. 4 is a flowchart of another sensor data processing method provided by the embodiment of the present application;

图5是本申请实施例提供的一种传感器数据处理装置的结构框图;Fig. 5 is a structural block diagram of a sensor data processing device provided by an embodiment of the present application;

图6是本申请实施例提供的一种电子设备的结构示意图;FIG. 6 is a schematic structural diagram of an electronic device provided by an embodiment of the present application;

图7是实现本申请各个实施例的一种电子设备的硬件结构示意图。FIG. 7 is a schematic diagram of a hardware structure of an electronic device implementing various embodiments of the present application.

具体实施例specific embodiment

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员获得的所有其他实施例,都属于本申请保护的范围。The following will clearly describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, but not all of them. All other embodiments obtained by persons of ordinary skill in the art based on the embodiments in this application belong to the protection scope of this application.

本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second" and the like in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific sequence or sequence. It should be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments of the application can be practiced in sequences other than those illustrated or described herein, and that references to "first," "second," etc. distinguish Objects are generally of one type, and the number of objects is not limited. For example, there may be one or more first objects. In addition, "and/or" in the specification and claims means at least one of the connected objects, and the character "/" generally means that the related objects are an "or" relationship.

以智能手表为例,在现在的智能手表中,普遍使用多种传感器用来测量人体信号(例如心率、血氧),以及统计运动数据(例如计步),从原始传感器数据到算法输出,再到界面显示,整个路径比较长,需要记录大量的传感器数据(也称为“sensorlog”)以保证问题分析和反馈。Take smart watches as an example. In today's smart watches, a variety of sensors are commonly used to measure human body signals (such as heart rate, blood oxygen), and statistical motion data (such as step counting), from raw sensor data to algorithm output, and then The interface shows that the entire path is relatively long, and a large amount of sensor data (also called "sensorlog") needs to be recorded to ensure problem analysis and feedback.

目前,智能手表主要是依赖蓝牙将sensorlog上传至用户设备(例如手机),sensorlog过大,一方面会占用智能手表较多的存储空间,另一方面,当前智能手表的sensorlog系统,24小时数据记录量是300MB左右,如果蓝牙传输 速度按照150KB/S来算,整个传输时间近似为300*1024/150=2048秒=34分钟,整个传输过程的耗时较长,影响用户使用体验。At present, smart watches mainly rely on Bluetooth to upload sensorlog to user devices (such as mobile phones). If the sensorlog is too large, it will take up more storage space for smart watches. On the other hand, the current sensorlog system of smart watches can record data for 24 hours The amount is about 300MB. If the Bluetooth transmission speed is calculated as 150KB/S, the entire transmission time is approximately 300*1024/150=2048 seconds=34 minutes. The entire transmission process takes a long time and affects the user experience.

为了解决上述技术问题,本申请实施例提供了一种传感器数据处理方法、装置、穿戴式电子设备及存储介质。In order to solve the above technical problems, embodiments of the present application provide a sensor data processing method, device, wearable electronic device, and storage medium.

下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的传感器数据处理方法进行详细地说明。The sensor data processing method provided by the embodiment of the present application will be described in detail below through specific embodiments and application scenarios with reference to the accompanying drawings.

为了便于理解,首先对本申请实施例中涉及到的一些概念进行介绍。For ease of understanding, some concepts involved in the embodiments of the present application are firstly introduced.

PPG传感器,也称为“光学心率传感器”,是一种用于心率检测的传感器,它采用电光溶剂脉搏波描记法(PPG)来测量心率及其他生物计量指标;A PPG sensor, also known as an "optical heart rate sensor", is a sensor for heart rate detection that uses electro-optic plethysmography (PPG) to measure heart rate and other biometric indicators;

ACC传感器,也称为“加速度传感器”,是一种能够测量加速度的传感器;ACC sensor, also known as "acceleration sensor", is a sensor capable of measuring acceleration;

AMB传感器,也称为“环境光传感器”,是一种能够感知周围光线情况的传感器;AMB sensor, also known as "ambient light sensor", is a sensor that can sense the surrounding light conditions;

ECG传感器,也称为“心电传感器”,是一种能够感受心脏不同区域细胞的动作电位波形并转换成可用输出信号的传感器。ECG sensor, also known as "cardiac sensor", is a sensor that can sense the action potential waveform of cells in different regions of the heart and convert it into a usable output signal.

接下来对本申请实施例提供的传感器数据处理方法进行介绍。Next, the sensor data processing method provided by the embodiment of the present application will be introduced.

需要说明的是,本申请实施例提供的传感器数据处理方法适用于穿戴式电子设备,在实际应用中,该穿戴式电子设备可以包括:智能手表、智能手环等,本申请实施例对此不作限定。It should be noted that the sensor data processing method provided by the embodiment of the present application is suitable for wearable electronic devices. In practical applications, the wearable electronic devices may include: smart watches, smart bracelets, etc., which are not discussed in the embodiments of the present application. limited.

图1是本申请实施例提供的一种传感器数据处理方法的流程图,如图1所示,该方法可以包括以下步骤:步骤101和步骤102,其中,Fig. 1 is a flowchart of a sensor data processing method provided by an embodiment of the present application. As shown in Fig. 1, the method may include the following steps: step 101 and step 102, wherein,

在步骤101中,获取第一数据表,其中,第一数据表中包括传感器记录的多条第一数据,每条第一数据中包含:一个传感器的行为事件标识、行为事件标识对应的测量值和测量值对应的时间戳,任意两条第一数据中包含的行为事件标识不同。In step 101, the first data table is obtained, wherein the first data table includes multiple pieces of first data recorded by the sensor, and each piece of first data includes: a behavior event identifier of a sensor, and a measurement value corresponding to the behavior event identifier The time stamps corresponding to the measured values, the behavior event identifiers contained in any two pieces of first data are different.

现有技术中,以第一数据表的形式,存储穿戴式电子设备中各传感器产生的原始数据,第一数据表中的每条第一数据为一条原始数据。In the prior art, the raw data generated by each sensor in the wearable electronic device is stored in the form of a first data table, and each piece of first data in the first data table is a piece of raw data.

sensor data typesensor data type data valuedata value timestamptimestamp 传感器的行为事件标识Behavioral event flags for sensors 测量值Measurements 时间戳timestamp

表1Table 1

表1示出了第一数据表中数据的存储格式,从表1中可以看出,将传感 器产生的每一条原始数据,记录为一行,每一行中包含一个传感器的行为事件标识、行为事件的测量值和用于表征行为事件发生时间的时间戳,分别属于三个列,其中,在记录行为事件标识时使用32bit长度,在记录测量值时使用32bit长度,在记录时间戳时使用64bit长度,单位为ms。Table 1 shows the storage format of the data in the first data table. It can be seen from Table 1 that each piece of raw data generated by the sensor is recorded as a row, and each row contains a sensor's behavior event identifier, behavior event The measured value and the timestamp used to represent the occurrence time of the behavioral event belong to three columns respectively. Among them, the 32-bit length is used when recording the behavioral event identifier, the 32-bit length is used when recording the measured value, and the 64-bit length is used when recording the timestamp. The unit is ms.

为了便于理解,以穿戴式电子设备测量用户血氧和心率的场景为例,对第一数据表进行举例描述,在测量用户血氧和心率时,会设置各指示灯(包括绿灯、红灯和红外灯)的发光时间点,各指示灯按照设置的时间点发光。与此同时,穿戴式电子设备中的相关传感器会执行采集用户手臂皮肤反射光线值的行为动作,以及执行采集用户当前所处环境光线值的行为动作,之后将采集到的光线值、采集的时间点和采集行为事件的标识存储在第一数据表中。For ease of understanding, take the scene where a wearable electronic device measures the user's blood oxygen and heart rate as an example, and describe the first data table as an example. When measuring the user's blood oxygen and heart rate, various indicator lights (including green light, red light and Infrared lamp) light-emitting time point, each indicator light emits light according to the set time point. At the same time, the relevant sensors in the wearable electronic device will execute the action of collecting the light value reflected by the skin of the user's arm, as well as the action of collecting the light value of the user's current environment. After that, the collected light value, the collection time Points and identifications of collection behavior events are stored in the first data table.

如下表2所示,表2为测量用户血氧和心率场景下的第一数据表。As shown in Table 2 below, Table 2 is the first data table in the scenario of measuring the user's blood oxygen and heart rate.

Figure PCTCN2022124923-appb-000001
Figure PCTCN2022124923-appb-000001

表2Table 2

从表2中的第三行开始,每一行用于存储传感器的一条原始数据,例如第三行中从左到右依次为:行为事件标识“PPG-G”,测量值“PPG绿灯值”和时间戳(未示出具体数值),其中,PPG-G表示PPG传感器执行采集手臂皮肤反射绿光值的行为动作,PPG绿灯值表示PPG传感器采集到的绿光值,时间戳表示PPG传感器采集的时间点。同理,可知后面其他行中传感器数据的含义。Starting from the third row in Table 2, each row is used to store a piece of raw data from the sensor. For example, the third row from left to right is: behavior event identifier "PPG-G", measured value "PPG green light value" and Timestamp (specific value not shown), wherein, PPG-G indicates that the PPG sensor performs the action of collecting the green light value reflected by the arm skin, the PPG green light value indicates the green light value collected by the PPG sensor, and the time stamp indicates the green light value collected by the PPG sensor. point in time. In the same way, we can know the meaning of the sensor data in the other rows below.

在步骤102中,在多条第一数据中存在相同时间戳的多条第二数据的情况下,将第一数据表中的多条第二数据合并为一条数据,得到第二数据表;其中,合并过程包括:保留多条第二数据中的行为事件标识和行为事件标识对应的测量值,以及保留一个时间戳。In step 102, in the case where there are multiple pieces of second data with the same time stamp in the multiple pieces of first data, the multiple pieces of second data in the first data table are combined into one piece of data to obtain a second data table; wherein , the merging process includes: retaining the behavior event identifiers in the multiple pieces of second data and the measurement values corresponding to the behavior event identifiers, and retaining a time stamp.

通过对上述表2进行分析发现:绿灯值/绿灯环境光,红外值/红外环境光,红灯值/红灯环境光,这几个数据可能在同一个时间点发生,所以时间戳是相同的,即时间戳有优化的空间。针对以上情况,本申请实施例中,可以对时间戳相同的多条数据进行合并,合并为一条数据,在数据表中用一行来记录,以减少数据表中的多余行。Through the analysis of the above table 2, it is found that: green light value/green light ambient light, infrared value/infrared ambient light, red light value/red light ambient light, these data may occur at the same time point, so the timestamp is the same , that is, the time stamp has room for optimization. In view of the above situation, in the embodiment of the present application, multiple pieces of data with the same time stamp can be combined into one piece of data, and recorded in one line in the data table, so as to reduce redundant lines in the data table.

在一个例子中,仍以表2为例,根据PPG传感器的特性,指示灯发光时,PD手表后面会同时接收环境光和手臂皮肤反射光值,因此可以将表2中的1PPG-G和3AMB-G所在行的数据进行合并,将4PPG-IR和7AMB-IR所在行的数据进行合并,以及将5PPG-R和6AMB-R所在行的数据进行合并,优化掉3AMB-G、6AMB-R和7AMB-IR所在行的时间戳,节省空间,得到下表3所示的第二数据表,其中,表中的删除线用于表示删除所在行的数据。In an example, still take Table 2 as an example, according to the characteristics of the PPG sensor, when the indicator light is on, the back of the PD watch will receive the ambient light and the reflected light value of the arm skin at the same time, so the 1PPG-G and 3AMB in Table 2 can be combined Merge the data of the row where -G is located, merge the data of the row where 4PPG-IR and 7AMB-IR are located, and merge the data of the row where 5PPG-R and 6AMB-R are located, and optimize 3AMB-G, 6AMB-R and 7 The time stamp of the row where the AMB-IR is located saves space, and the second data table shown in Table 3 below is obtained, wherein the strikethrough in the table is used to indicate that the data of the row is deleted.

Figure PCTCN2022124923-appb-000002
Figure PCTCN2022124923-appb-000002

表3table 3

如表3所示,在将1PPG-G和3AMB-G所在行的数据进行合并时,保留行为事件标识“PPG-G”和“AMB-G”(在一行中以32bit长度表示PPG-G&AMB-G),保留测量值“PPG绿灯值”和“绿灯环境光”,但只保留一个时间戳,使得之前需要使用两行来存储的数据,现在只用一行就可以存储。As shown in Table 3, when merging the data of the rows where 1PPG-G and 3AMB-G are located, the behavior event identifiers "PPG-G" and "AMB-G" are reserved (in a row with a length of 32 bits to represent PPG-G&AMB- G), keep the measured values "PPG green light value" and "green light ambient light", but only keep one timestamp, so that the data that needs to be stored in two lines before can be stored in only one line.

同理,在将4PPG-IR和7AMB-IR所在行的数据进行合并时,保留行为事件标识“PPG-IR”和“AMB-IR”(在一行中以32bit长度表示 PPG-IR&AMB-IR),保留测量值“PPG红外值”和“红外环境光”,但只保留一个时间戳,使得之前需要使用两行来存储的数据,现在只用一行就可以存储。Similarly, when merging the data of the rows where 4PPG-IR and 7AMB-IR are located, the behavior event identifiers "PPG-IR" and "AMB-IR" are reserved (indicates PPG-IR&AMB-IR in a row with a length of 32 bits), The measured values "PPG infrared value" and "infrared ambient light" are kept, but only one timestamp is kept, so that the data that used to be stored in two lines can now be stored in only one line.

在将5PPG-R和6AMB-R所在行的数据进行合并时,保留行为事件标识“PPG-R”和“AMB-R”(在一行中以32bit长度表示PPG-R&AMB-R),保留测量值“PPG红灯值”和“红灯环境光”,但只保留一个时间戳,使得之前需要使用两行来存储的数据,现在只用一行就可以存储。When merging the data in the row where 5PPG-R and 6AMB-R are located, keep the behavior event identifiers "PPG-R" and "AMB-R" (indicate PPG-R&AMB-R in a row with 32bit length), and keep the measured value "PPG red light value" and "red light ambient light", but only one timestamp is reserved, so that the data that needs to be stored in two lines before can be stored in only one line.

本申请实施例中,通过上述表3的方式,合并表2中的冗余行,可以节省8*3+4*3=36字节,其中,8为时间戳的字节长度,4为行为事件标识的字节长度。In the embodiment of the present application, by merging the redundant rows in Table 2 through the above-mentioned method of Table 3, 8*3+4*3=36 bytes can be saved, where 8 is the byte length of the timestamp, and 4 is the behavior The length in bytes of the event ID.

在另一个例子中,通过分析数据使用场景,发现测量血氧时,红外/红灯共存;测量心率时,绿灯/红外共存;因此红灯/绿灯/红外这三者可以在同一段时间内发生,共用相同时间戳,将表3可以进一步优化成下表4。具体地,将表3中1PPG-G&AMB-G、4PPG-IR&AMB-IR和5PPG-R&AMB-R所在行的数据进行合并,保留行为事件标识“PPG-G”、“AMB-G”、“PPG-R”、“AMB-R”、“PPG-IR”和“AMB-IR”(具体地,在一行中以32bit长度表示PPG-G&AMB-G&PPG-R&AMB-R&PPG-IR&AMB-IR),保留测量值“PPG绿灯值”、“绿灯环境光”、“PPG红灯值”、“红灯环境光”、“PPG红外值”和“红外环境光”,只保留一个时间戳,使得之前需要使用三行来存储的数据,现在只用一行就可以存储。此外,可以在测量值目录下增加数据类型标识字段,用于标识一行中不同类型的测量值,该标识字段的长度可以为8bit。In another example, by analyzing data usage scenarios, it is found that when measuring blood oxygen, infrared/red light coexist; when measuring heart rate, green light/infrared coexist; therefore red light/green light/infrared can occur at the same time , sharing the same time stamp, table 3 can be further optimized into table 4 below. Specifically, the data in the rows of 1PPG-G&AMB-G, 4PPG-IR&AMB-IR and 5PPG-R&AMB-R in Table 3 are merged, and the behavior event identifiers "PPG-G", "AMB-G", "PPG- R", "AMB-R", "PPG-IR" and "AMB-IR" (specifically, express PPG-G&AMB-G&PPG-R&AMB-R&PPG-IR&AMB-IR in a line with a length of 32 bits), keep the measured value" PPG Green Light Value", "Green Light Ambient Light", "PPG Red Light Value", "Red Light Ambient Light", "PPG Infrared Value" and "Infrared Ambient Light", only one timestamp is reserved, so it needs to use three lines to The stored data can now be stored in only one line. In addition, a data type identification field can be added under the measurement value directory to identify different types of measurement values in a row, and the length of the identification field can be 8 bits.

Figure PCTCN2022124923-appb-000003
Figure PCTCN2022124923-appb-000003

表4Table 4

本申请实施例中,通过上述表4的方式,合并表2中的冗余行,可以节 省8*5+4*5=60字节,其中,8为时间戳的字节长度,4为行为事件标识的字节长度。In the embodiment of the present application, by combining the redundant rows in Table 2 through the method of Table 4 above, 8*5+4*5=60 bytes can be saved, where 8 is the byte length of the timestamp, and 4 is the behavior The length in bytes of the event ID.

由上述实施例可见,该实施例中,对于穿戴式电子设备中各传感器产生的原始数据,可以将同一时间点发生的原始数据进行合并,只保留一个时间戳,而去掉多余的时间戳,使得在保证传感器数据完整性可恢复的前提下,降低传感器数据的空间占用量,以及缩短传输耗时。It can be seen from the above embodiment that in this embodiment, for the raw data generated by each sensor in the wearable electronic device, the raw data generated at the same time point can be combined, only one timestamp is retained, and the redundant timestamp is removed, so that On the premise of ensuring the integrity and recovery of sensor data, reduce the space occupation of sensor data and shorten the transmission time.

考虑到数据表中每一行的时间戳,是绝对时间戳,以ms为单位,都是64bit长度,但是穿戴式电子设备中,一般来说,传感器是按照固定的频率(25/50/100Hz)采样,两组数据的时间差值大概40ms左右,所以用64bit长度的绝对时间戳,会浪费很多空间,存在信息冗余的问题,针对这种情况,可以使用差分机制,对数据表中的时间戳进行优化。相应的,图2是本申请实施例提供的另一种传感器数据处理方法的流程图,如图2所示,该方法可以包括以下步骤:步骤201、步骤202和步骤203,其中,Considering that the timestamp of each row in the data table is an absolute timestamp, in ms, it is 64bit long, but in wearable electronic devices, generally speaking, the sensor is based on a fixed frequency (25/50/100Hz) For sampling, the time difference between the two sets of data is about 40ms, so using an absolute timestamp of 64bit length will waste a lot of space, and there is a problem of information redundancy. In this case, a differential mechanism can be used to correct the time in the data table Click to optimize. Correspondingly, FIG. 2 is a flow chart of another sensor data processing method provided by the embodiment of the present application. As shown in FIG. 2 , the method may include the following steps: step 201, step 202 and step 203, wherein,

在步骤201中,获取第一数据表,其中,第一数据表中包括传感器记录的多条第一数据,每条第一数据中包含:一个传感器的行为事件标识、行为事件标识对应的测量值和测量值对应的时间戳,任意两条第一数据中包含的行为事件标识不同。In step 201, the first data table is obtained, wherein the first data table includes multiple pieces of first data recorded by the sensor, and each piece of first data includes: a behavior event identifier of a sensor, and a measurement value corresponding to the behavior event identifier The time stamps corresponding to the measured values, the behavior event identifiers contained in any two pieces of first data are different.

在步骤202中,在多条第一数据中存在相同时间戳的多条第二数据的情况下,将第一数据表中的多条第二数据合并为一条数据,得到第二数据表;其中,合并过程包括:保留多条第二数据中的行为事件标识和行为事件标识对应的测量值,以及保留一个时间戳。In step 202, in the case that there are multiple pieces of second data with the same time stamp in the multiple pieces of first data, the multiple pieces of second data in the first data table are combined into one piece of data to obtain a second data table; wherein , the merging process includes: retaining the behavior event identifiers in the multiple pieces of second data and the measurement values corresponding to the behavior event identifiers, and retaining a time stamp.

本申请实施例中的步骤201和步骤202,与图1所示实施例中的步骤101和步骤102内容类似,在此不再赘述。Step 201 and step 202 in the embodiment of the present application are similar to steps 101 and 102 in the embodiment shown in FIG. 1 , and will not be repeated here.

在步骤203中,对于第二数据表中每对相邻的两条数据,计算两条数据中时间戳的差值,并将两条数据中排序在后的一条数据中的时间戳替换为时间戳的差值,得到第三数据表。In step 203, for each pair of adjacent two data in the second data table, calculate the difference between the time stamps in the two data, and replace the time stamp in the next piece of data in the two data with the time Poke the difference to get the third data table.

本申请实施例中,可以将数据表中每一行的64bit长度的时间戳,优化成差分时间机制,默认时间戳是差分时间,增加一个基准时间类型,如下表5所示。In the embodiment of this application, the 64-bit timestamp of each row in the data table can be optimized into a differential time mechanism. The default timestamp is differential time, and a reference time type is added, as shown in Table 5 below.

sensor data typesensor data type data valuedata value timestamptimestamp 33 64bit完整时间T164bit complete time T1 -- 2ACC2ACC 32bitX,32bit Y,32bitZ32bitX, 32bitY, 32bitZ 时间戳(差分)timestamp (differential)

表5table 5

其中,差分时间可以通过以下形式表示:Byte0+Byte1~Byte 7,Byte0用于表示差分时间使用的字节数,Byte1~Byte7用于表示差分时间占用的1~7中的具体哪个字节。在一个例子中,可以采用表5所示的机制,对表4进行处理,得到表6所示的第三数据表。Among them, the differential time can be expressed in the following form: Byte0+Byte1~Byte 7, Byte0 is used to indicate the number of bytes used by the differential time, and Byte1~Byte7 is used to indicate the specific byte in 1~7 occupied by the differential time. In an example, the mechanism shown in Table 5 may be used to process Table 4 to obtain the third data table shown in Table 6.

Figure PCTCN2022124923-appb-000004
Figure PCTCN2022124923-appb-000004

表6Table 6

其中,每一行的差分时间是本次新数据的时间减去上一行同类型数据的时间。每一行的绝对时间等于Tn=T1+T_diff_1+T_diff_2+...T_diff_n-1。Among them, the differential time of each row is the time of the new data minus the time of the same type of data in the previous row. The absolute time of each row is equal to Tn=T1+T_diff_1+T_diff_2+...T_diff_n-1.

可见,本申请实施例中,采用差分机制优化传感器数据中的时间戳,可以在保证传感器数据完整性可恢复的前提下,进一步地降低传感器数据的空间占用量,以及缩短传输耗时。It can be seen that in the embodiment of the present application, the differential mechanism is used to optimize the time stamp in the sensor data, which can further reduce the space occupation of the sensor data and shorten the transmission time on the premise of ensuring the integrity and recovery of the sensor data.

考虑到数据表中主要是PPG传感器、ECG传感器、AMB传感器和ACC传感器产生的数据,这些数据中的测量值都是完整的测量数据,而这些传感器在每个采样时间点,采集数据时不会出现剧烈变化。针对这种情况,可以使用差分机制,对数据表中的测量值进行优化,具体地,在数据表中保存这些传感器数据采样前后的测量值数据相对差值,以节省存储空间。相应的,图3是本申请实施例提供的再一种传感器数据处理方法的流程图,如图3所示,该方法可以包括以下步骤:步骤301、步骤302、步骤303和步骤304,其中,Considering that the data sheets mainly contain data generated by PPG sensors, ECG sensors, AMB sensors, and ACC sensors, the measured values in these data are complete measurement data, and these sensors do not collect data at each sampling time point. There are drastic changes. In view of this situation, the difference mechanism can be used to optimize the measured values in the data table, specifically, the relative difference of the measured value data before and after the sensor data is sampled is saved in the data table to save storage space. Correspondingly, FIG. 3 is a flow chart of another sensor data processing method provided by the embodiment of the present application. As shown in FIG. 3 , the method may include the following steps: step 301, step 302, step 303 and step 304, wherein,

在步骤301中,获取第一数据表,其中,第一数据表中包括传感器记录的多条第一数据,每条第一数据中包含:一个传感器的行为事件标识、行为事件标识对应的测量值和测量值对应的时间戳,任意两条第一数据中包含的行为事件标识不同。In step 301, the first data table is obtained, wherein the first data table includes multiple pieces of first data recorded by the sensor, and each piece of first data includes: a behavior event identifier of a sensor, and a measurement value corresponding to the behavior event identifier The time stamps corresponding to the measured values, the behavior event identifiers contained in any two pieces of first data are different.

在步骤302中,在多条第一数据中存在相同时间戳的多条第二数据的情况下,将第一数据表中的多条第二数据合并为一条数据,得到第二数据表;其中,合并过程包括:保留多条第二数据中的行为事件标识和行为事件标识对应的测量值,以及保留一个时间戳。In step 302, in the case that there are multiple pieces of second data with the same time stamp in the multiple pieces of first data, the multiple pieces of second data in the first data table are combined into one piece of data to obtain a second data table; wherein , the merging process includes: retaining the behavior event identifiers in the multiple pieces of second data and the measurement values corresponding to the behavior event identifiers, and retaining a time stamp.

在步骤303中,对于第二数据表中每对相邻的两条数据,计算两条数据中时间戳的差值,并将两条数据中排序在后的一条数据中的时间戳替换为时间戳的差值,得到第三数据表。In step 303, for each pair of adjacent two data in the second data table, calculate the difference of the time stamps in the two data, and replace the time stamp in the next piece of data in the two data with the time Poke the difference to get the third data table.

本申请实施例中的步骤301~步骤303,与图2所示实施例中的步骤201~步骤203内容类似,在此不再赘述。Steps 301 to 303 in the embodiment of the present application are similar to steps 201 to 203 in the embodiment shown in FIG. 2 , and will not be repeated here.

在步骤304中,对于第三数据表中传感器中的目标传感器对应的每条数据,计算相邻两个采样时间点采集的测量值的差值,并将两个采样时间点中排序在后的一条数据中的测量值替换为测量值的差值,得到第四数据表。In step 304, for each piece of data corresponding to the target sensor in the sensor in the third data table, the difference between the measured values collected at two adjacent sampling time points is calculated, and the sequenced value of the two sampling time points is The measurement value in a piece of data is replaced by the difference value of the measurement value to obtain the fourth data table.

本申请实施例中,目标传感器可以包括:心率传感器、加速度传感器、 环境光传感器和心电传感器。In the embodiment of the present application, the target sensor may include: a heart rate sensor, an acceleration sensor, an ambient light sensor, and an electrocardiogram sensor.

在一个例子中,对表6所示的第三数据表进行测量值优化,可以得到表7所示的第四数据表。In an example, the fourth data table shown in Table 7 can be obtained by performing measurement value optimization on the third data table shown in Table 6.

Figure PCTCN2022124923-appb-000005
Figure PCTCN2022124923-appb-000005

表7Table 7

可见,本申请实施例中,采用差分机制优化传感器数据中的特定传感器的测量值,可以在保证传感器数据完整性可恢复的前提下,进一步地降低传感器数据的空间占用量,以及缩短传输耗时。It can be seen that in the embodiment of the present application, the differential mechanism is used to optimize the measurement value of a specific sensor in the sensor data, which can further reduce the space occupation of the sensor data and shorten the transmission time under the premise of ensuring the integrity and recovery of the sensor data .

考虑到穿戴式电子设备中传感器是按照固定采样率采集数据,缓存到先 入先出(FIFO,First In First Out)存储器中,再由微控制单元(MCU,Micro Controller Unit)集中读取,如果按照第一数据表中的存储格式,就需要很多标签和时间戳。针对这种情况,可以采用批量FIFO机制,合并存储传感器数据。相应的,图4是本申请实施例提供的再一种传感器数据处理方法的流程图,如图4所示,该方法可以包括以下步骤:步骤401、步骤402、步骤403、步骤404和步骤405,其中,Considering that the sensor in the wearable electronic device collects data according to a fixed sampling rate, caches it in the first-in-first-out (FIFO, First In First Out) memory, and then reads it centrally by the micro control unit (MCU, Micro Controller Unit), if according to The storage format in the first data table requires many tags and timestamps. In view of this situation, a batch FIFO mechanism can be adopted to store sensor data in combination. Correspondingly, FIG. 4 is a flowchart of another sensor data processing method provided by the embodiment of the present application. As shown in FIG. 4 , the method may include the following steps: step 401, step 402, step 403, step 404 and step 405 ,in,

在步骤401中,获取第一数据表,其中,第一数据表中包括传感器记录的多条第一数据,每条第一数据中包含:一个传感器的行为事件标识、行为事件标识对应的测量值和测量值对应的时间戳,任意两条第一数据中包含的行为事件标识不同。In step 401, the first data table is obtained, wherein the first data table includes multiple pieces of first data recorded by the sensor, and each piece of first data includes: a behavior event identifier of a sensor, and a measurement value corresponding to the behavior event identifier The time stamps corresponding to the measured values, the behavior event identifiers contained in any two pieces of first data are different.

在步骤402中,在多条第一数据中存在相同时间戳的多条第二数据的情况下,将第一数据表中的多条第二数据合并为一条数据,得到第二数据表;其中,合并过程包括:保留多条第二数据中的行为事件标识和行为事件标识对应的测量值,以及保留一个时间戳。In step 402, in the case that there are multiple pieces of second data with the same time stamp in the multiple pieces of first data, the multiple pieces of second data in the first data table are combined into one piece of data to obtain a second data table; wherein , the merging process includes: retaining the behavior event identifiers in the multiple pieces of second data and the measurement values corresponding to the behavior event identifiers, and retaining a time stamp.

在步骤403中,对于第二数据表中每对相邻的两条数据,计算两条数据中时间戳的差值,并将两条数据中排序在后的一条数据中的时间戳替换为时间戳的差值,得到第三数据表。In step 403, for each pair of adjacent two data in the second data table, calculate the difference of the time stamps in the two data, and replace the time stamp in the next piece of data in the two data with the time Poke the difference to get the third data table.

在步骤404中,对于第三数据表中传感器中的目标传感器对应的每条数据,计算相邻两个采样时间点采集的测量值的差值,并将两个采样时间点中排序在后的一条数据中的测量值替换为测量值的差值,得到第四数据表。In step 404, for each piece of data corresponding to the target sensor in the sensor in the third data table, calculate the difference between the measured values collected at two adjacent sampling time points, and sort the difference between the two sampling time points The measurement value in a piece of data is replaced by the difference value of the measurement value to obtain the fourth data table.

本申请实施例中的步骤401~步骤404,与图3所示实施例中的步骤301~步骤304内容类似,在此不再赘述。Steps 401 to 404 in the embodiment of the present application are similar to steps 301 to 304 in the embodiment shown in FIG. 3 , and will not be repeated here.

在步骤405中,对于第四数据表中目标传感器对应的每条数据,为每条数据添加批量类型标签得到第五数据表,并将第五数据表中的每条数据及对应的批量类型标签,批量存储至先入先出存储器中。In step 405, for each piece of data corresponding to the target sensor in the fourth data table, a batch type label is added to each piece of data to obtain the fifth data table, and each piece of data in the fifth data table and the corresponding batch type label , stored in batches in first-in first-out memory.

在一个例子中,对表7所示的第四数据表进行标签添加,可以得到表8所示的第五数据表。In an example, the fifth data table shown in Table 8 can be obtained by adding tags to the fourth data table shown in Table 7.

Figure PCTCN2022124923-appb-000006
Figure PCTCN2022124923-appb-000006

表8Table 8

本申请实施例中,由于传感器的各采样时间点的时间间隔可获知,因此通过批量存储,可以减少使用时间戳的个数,可以在保证传感器数据完整性可恢复的前提下,进一步地降低传感器数据的空间占用量,以及缩短传输耗时。In the embodiment of this application, since the time interval of each sampling time point of the sensor can be known, the number of time stamps used can be reduced through batch storage, and the sensor data can be further reduced under the premise of ensuring that the integrity of the sensor data is recoverable. The amount of space occupied by the data, and shorten the transmission time.

使用图1至图4所示实施例中的方法,对原始传感器数据进行优化,可以在保证数据完整性,可供研发分析问题的前提下,降低磁盘占用的空间(从300MB压缩到100MB,压缩率33%),降低传输耗时(从30分钟减少为10分钟,缩短300%),提高用户的使用体验,降低硬件存储器的要求,节省成本。Use the method in the embodiment shown in Fig. 1 to Fig. 4 to optimize the original sensor data, and can reduce the space occupied by the disk (compressed from 300MB to 100MB, compressing rate of 33%), reduce transmission time (from 30 minutes to 10 minutes, shortened by 300%), improve user experience, reduce hardware memory requirements, and save costs.

需要说明的是,本申请实施例提供的传感器数据处理方法,执行主体可以为传感器数据处理装置,或者该传感器数据处理装置中的用于执行加载传感器数据处理方法的控制模块。本申请实施例中以传感器数据处理装置执行加载传感器数据处理方法为例,说明本申请实施例提供的传感器数据处理装置。It should be noted that, the sensor data processing method provided in the embodiment of the present application may be executed by a sensor data processing device, or a control module in the sensor data processing device for executing the loading sensor data processing method. In the embodiment of the present application, the sensor data processing device provided in the embodiment of the present application is described by taking the sensor data processing device executing the loading sensor data processing method as an example.

图5是本申请实施例提供的一种传感器数据处理装置的结构框图,如图5所示,传感器数据处理装置500,可以包括:获取模块501和合并模块502,其中,Fig. 5 is a structural block diagram of a sensor data processing device provided by an embodiment of the present application. As shown in Fig. 5, the sensor data processing device 500 may include: an acquisition module 501 and a combination module 502, wherein,

获取模块501,用于获取第一数据表,其中,所述第一数据表中包括传感器记录的多条第一数据,每条第一数据中包含:一个传感器的行为事件标识、行为事件标识对应的测量值和测量值对应的时间戳,任意两条第一数据中包含的行为事件标识不同;The acquisition module 501 is configured to acquire a first data table, wherein the first data table includes a plurality of pieces of first data recorded by the sensor, and each piece of first data includes: a behavior event identifier of a sensor, a corresponding behavior event identifier The measured value and the timestamp corresponding to the measured value, the behavior event identifiers contained in any two first data are different;

合并模块502,用于在所述多条第一数据中存在相同时间戳的多条第二数据的情况下,将所述第一数据表中的所述多条第二数据合并为一条数据,得到第二数据表;其中,合并过程包括:保留所述多条第二数据中的行为事件标识和行为事件标识对应的测量值,以及保留一个时间戳。a merging module 502, configured to merge the multiple pieces of second data in the first data table into one piece of data when there are multiple pieces of second data with the same timestamp in the multiple pieces of first data, A second data table is obtained; wherein, the merging process includes: retaining the behavior event identifiers in the multiple pieces of second data and the measurement values corresponding to the behavior event identifiers, and retaining a time stamp.

由上述实施例可见,该实施例中,对于穿戴式电子设备中各传感器产生的原始数据,可以将同一时间点发生的原始数据进行合并,只保留一个时间戳,而去掉多余的时间戳,使得在保证传感器数据完整性可恢复的前提下,降低传感器数据的空间占用量,以及缩短传输耗时。It can be seen from the above embodiment that in this embodiment, for the raw data generated by each sensor in the wearable electronic device, the raw data generated at the same time point can be combined, only one timestamp is retained, and the redundant timestamp is removed, so that On the premise of ensuring the integrity and recovery of sensor data, reduce the space occupation of sensor data and shorten the transmission time.

可选地,作为一个实施例,所述传感器数据处理装置500,还可以包括:Optionally, as an embodiment, the sensor data processing device 500 may further include:

第一计算模块,用于对于所述第二数据表中每对相邻的两条数据,计算所述两条数据中时间戳的差值;The first calculation module is used to calculate the difference between the time stamps in the two pieces of data for each pair of adjacent two pieces of data in the second data table;

第一替换模块,用于将所述两条数据中排序在后的一条数据中的时间戳替换为所述时间戳的差值,得到第三数据表。The first replacement module is configured to replace the time stamp in the last piece of data among the two pieces of data with the difference between the time stamps to obtain a third data table.

可选地,作为一个实施例,所述传感器数据处理装置500,还可以包括:Optionally, as an embodiment, the sensor data processing device 500 may further include:

第二计算模块,用于对于所述第三数据表中所述传感器中的目标传感器对应的每条数据,计算相邻两个采样时间点采集的测量值的差值;The second calculation module is used to calculate the difference between the measured values collected at two adjacent sampling time points for each piece of data corresponding to the target sensor in the sensor in the third data table;

第二替换模块,用于将所述两个采样时间点中排序在后的一条数据中的测量值替换为所述测量值的差值,得到第四数据表。The second replacement module is configured to replace the measurement value in the last piece of data at the two sampling time points with the difference between the measurement values to obtain a fourth data table.

可选地,作为一个实施例,所述传感器数据处理装置500,还可以包括:Optionally, as an embodiment, the sensor data processing device 500 may further include:

添加模块,用于对于所述第四数据表中所述目标传感器对应的每条数据,为每条数据添加批量类型标签,得到第五数据表;Adding a module, for each piece of data corresponding to the target sensor in the fourth data table, adding a batch type label to each piece of data to obtain a fifth data table;

存储模块,用于将所述第五数据表中的每条数据及对应的批量类型标签,批量存储至FIFO存储器中。The storage module is configured to store each piece of data in the fifth data table and the corresponding batch type label in batches into the FIFO memory.

本申请实施例中的传感器数据处理装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The sensor data processing device in the embodiment of the present application may be a device, or a component, an integrated circuit, or a chip in a terminal. The device may be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle electronic device, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant). assistant, PDA), etc., non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (television, TV), teller machine or self-service machine, etc., this application Examples are not specifically limited.

本申请实施例中的传感器数据处理装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为iOS操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The sensor data processing device in the embodiment of the present application may be a device with an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in this embodiment of the present application.

本申请实施例提供的传感器数据处理装置能够实现图1方法实施例实现的各个过程,为避免重复,这里不再赘述。The sensor data processing device provided in the embodiment of the present application can implement various processes implemented in the method embodiment in FIG. 1 , and details are not repeated here to avoid repetition.

可选地,如图6所示,本申请实施例还提供一种电子设备600,包括处理器601,存储器602,存储在存储器602上并可在所述处理器601上运行的程序或指令,该程序或指令被处理器601执行时实现上述传感器数据处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, as shown in FIG. 6 , the embodiment of the present application further provides an electronic device 600, including a processor 601, a memory 602, and programs or instructions stored in the memory 602 and operable on the processor 601, When the program or instruction is executed by the processor 601, each process of the above-mentioned embodiment of the sensor data processing method can be achieved, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.

需要说明的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.

图7为实现本申请实施例的一种电子设备的硬件结构示意图。FIG. 7 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.

该电子设备700包括但不限于:射频单元701、网络模块702、音频输出单元703、输入单元704、传感器705、显示单元706、用户输入单元707、接口单元708、存储器709、以及处理器710等部件。The electronic device 700 includes, but is not limited to: a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, a display unit 706, a user input unit 707, an interface unit 708, a memory 709, and a processor 710, etc. part.

本领域技术人员可以理解,电子设备700还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器710逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图7中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the electronic device 700 can also include a power supply (such as a battery) for supplying power to various components, and the power supply can be logically connected to the processor 710 through the power management system, so that the management of charging, discharging, and function can be realized through the power management system. Consumption management and other functions. The structure of the electronic device shown in FIG. 7 does not constitute a limitation to the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine some components, or arrange different components, and details will not be repeated here. .

处理器710,用于获取第一数据表,其中,所述第一数据表中包括传感器记录的多条第一数据,每条第一数据中包含:一个传感器的行为事件标识、行为事件标识对应的测量值和测量值对应的时间戳,任意两条第一数据中包含的行为事件标识不同;在所述多条第一数据中存在相同时间戳的多条第二数据的情况下,将所述第一数据表中的所述多条第二数据合并为一条数据,得到第二数据表;其中,合并过程包括:保留所述多条第二数据中的行为事件标识和行为事件标识对应的测量值,以及保留一个时间戳。The processor 710 is configured to acquire a first data table, wherein the first data table includes multiple pieces of first data recorded by the sensor, and each piece of first data includes: a behavior event identifier of a sensor, a behavior event identifier corresponding to The measured value and the timestamp corresponding to the measured value, the behavior event identifier contained in any two pieces of first data are different; in the case that there are multiple pieces of second data with the same time stamp in the multiple pieces of first data, the The multiple pieces of second data in the first data table are merged into one piece of data to obtain a second data table; wherein the merging process includes: retaining the behavior event identifiers in the multiple pieces of second data and the corresponding behavior event identifiers measured value, and retain a timestamp.

可见,本申请实施例中,对于穿戴式电子设备中各传感器产生的原始数据,可以将同一时间点发生的原始数据进行合并,只保留一个时间戳,而去掉多余的时间戳,使得在保证传感器数据完整性可恢复的前提下,降低传感器数据的空间占用量,以及缩短传输耗时。It can be seen that in the embodiment of the present application, for the raw data generated by each sensor in the wearable electronic device, the raw data generated at the same time point can be combined, and only one timestamp is retained, and the redundant timestamp is removed, so that the sensor Under the premise that the data integrity can be restored, the space occupation of sensor data is reduced, and the transmission time is shortened.

可选地,作为一个实施例,处理器710,还用于对于所述第二数据表中每对相邻的两条数据,计算所述两条数据中时间戳的差值;将所述两条数据中排序在后的一条数据中的时间戳替换为所述时间戳的差值,得到第三数据表。Optionally, as an embodiment, the processor 710 is further configured to, for each pair of adjacent two pieces of data in the second data table, calculate the difference between the time stamps in the two pieces of data; The time stamp in the last piece of data among the pieces of data is replaced by the difference of the time stamps to obtain the third data table.

可选地,作为一个实施例,处理器710,还用于对于所述第三数据表中所述传感器中的目标传感器对应的每条数据,计算相邻两个采样时间点采集的测量值的差值;将所述两个采样时间点中排序在后的一条数据中的测量值替换为所述测量值的差值,得到第四数据表。Optionally, as an embodiment, the processor 710 is further configured to, for each piece of data corresponding to the target sensor in the sensor in the third data table, calculate the sum of the measured values collected at two adjacent sampling time points difference: replacing the measured value in the last piece of data at the two sampling time points with the difference between the measured values to obtain a fourth data table.

可选地,作为一个实施例,处理器710,还用于对于所述第四数据表中所述目标传感器对应的每条数据,为每条数据添加批量类型标签,得到第五数据表;将所述第五数据表中的每条数据及对应的批量类型标签,批量存储至FIFO存储器中。Optionally, as an embodiment, the processor 710 is further configured to, for each piece of data corresponding to the target sensor in the fourth data table, add a batch type label to each piece of data to obtain a fifth data table; Each piece of data in the fifth data table and the corresponding batch type label are stored in batches in the FIFO memory.

应理解的是,本申请实施例中,输入单元704可以包括图形处理器(Graphics Processing Unit,GPU)7041和麦克风7042,图形处理器7041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元706可包括显示面板7061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板7061。用户输入单元707包括触控面板7071以及其他输入设备7072。触控面板7071,也称为触摸屏。触控面板7071可包括触摸检测装置和触摸控制器两个部分。其他输入设备7072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器709可用于存储软件程序以及各种数据,包括但不限于应用程序和操作系统。处理器710可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器710中。It should be understood that, in the embodiment of the present application, the input unit 704 may include a graphics processor (Graphics Processing Unit, GPU) 7041 and a microphone 7042, and the graphics processor 7041 is used for the image capture device ( Such as the image data of the still picture or video obtained by the camera) for processing. The display unit 706 may include a display panel 7061, and the display panel 7061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 707 includes a touch panel 7071 and other input devices 7072 . The touch panel 7071 is also called a touch screen. The touch panel 7071 may include two parts, a touch detection device and a touch controller. Other input devices 7072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here. Memory 709 may be used to store software programs as well as various data, including but not limited to application programs and operating systems. The processor 710 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, user interface, application program, etc., and the modem processor mainly processes wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 710 .

本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述传感器数据处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by the processor, each process of the above embodiment of the sensor data processing method is realized, and can achieve The same technical effects are not repeated here to avoid repetition.

其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。Wherein, the processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer readable storage medium, such as computer read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.

本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述传感器数据处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the above embodiment of the sensor data processing method Each process, and can achieve the same technical effect, in order to avoid repetition, will not repeat them here.

应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chips mentioned in the embodiments of the present application may also be called system-on-chip, system-on-chip, system-on-a-chip, or system-on-a-chip.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下, 由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved. Functions are performed, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on such an understanding, the technical solution of the present application can be embodied in the form of computer software products, which are stored in a storage medium (such as ROM/RAM, magnetic disk, etc.) , optical disc), including several instructions to enable a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in various embodiments of the present application.

上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementations. The above-mentioned specific implementations are only illustrative and not restrictive. Those of ordinary skill in the art will Under the inspiration of this application, without departing from the purpose of this application and the scope of protection of the claims, many forms can also be made, all of which belong to the protection of this application.

Claims (13)

一种传感器数据处理方法,所述方法包括:A sensor data processing method, the method comprising: 获取第一数据表,其中,所述第一数据表中包括传感器记录的多条第一数据,每条第一数据中包含:一个传感器的行为事件标识、行为事件标识对应的测量值和测量值对应的时间戳,任意两条第一数据中包含的行为事件标识不同;Obtain a first data table, wherein the first data table includes multiple pieces of first data recorded by the sensor, and each piece of first data includes: a behavior event identifier of a sensor, a measurement value corresponding to the behavior event identifier, and a measurement value Corresponding timestamps, the behavior event identifiers contained in any two first data are different; 在所述多条第一数据中存在相同时间戳的多条第二数据的情况下,将所述第一数据表中的所述多条第二数据合并为一条数据,得到第二数据表;其中,合并过程包括:保留所述多条第二数据中的行为事件标识和行为事件标识对应的测量值,以及保留一个时间戳。In the case where there are multiple pieces of second data with the same timestamp in the multiple pieces of first data, combining the multiple pieces of second data in the first data table into one piece of data to obtain a second data table; Wherein, the merging process includes: retaining the behavior event identifiers in the multiple pieces of second data and the measurement values corresponding to the behavior event identifiers, and retaining a time stamp. 根据权利要求1所述的方法,其中,在所述将所述第一数据表中的所述多条第二数据合并为一条数据,得到第二数据表的步骤之后,还包括:The method according to claim 1, wherein, after the step of merging the multiple pieces of second data in the first data table into one piece of data to obtain a second data table, further comprising: 对于所述第二数据表中每对相邻的两条数据,计算所述两条数据中时间戳的差值;For each pair of adjacent two pieces of data in the second data table, calculate the difference between the time stamps in the two pieces of data; 将所述两条数据中排序在后的一条数据中的时间戳替换为所述时间戳的差值,得到第三数据表。The timestamp in the last piece of data among the two pieces of data is replaced with the difference between the timestamps to obtain a third data table. 根据权利要求2所述的方法,其中,在所述将所述两条数据中排序在后的一条数据中的时间戳替换为所述时间戳的差值,得到第三数据表的步骤之后,还包括:The method according to claim 2, wherein, after the step of replacing the timestamp in the last piece of data in the two pieces of data with the difference between the timestamps to obtain the third data table, Also includes: 对于所述第三数据表中所述传感器中的目标传感器对应的每条数据,计算相邻两个采样时间点采集的测量值的差值;For each piece of data corresponding to the target sensor in the sensor in the third data table, calculate the difference between the measured values collected at two adjacent sampling time points; 将所述两个采样时间点中排序在后的一条数据中的测量值替换为所述测量值的差值,得到第四数据表。The measurement value in the last piece of data at the two sampling time points is replaced by the difference of the measurement values to obtain a fourth data table. 根据权利要求3所述的方法,其中,在所述将所述两个采样时间点中排序在后的一条数据中的测量值替换为所述测量值的差值,得到第四数据表的步骤之后,还包括:The method according to claim 3, wherein, in the step of replacing the measured value in the last piece of data in the two sampling time points with the difference between the measured values to obtain the fourth data table After that, also include: 对于所述第四数据表中所述目标传感器对应的每条数据,为每条数据添加批量类型标签,得到第五数据表;For each piece of data corresponding to the target sensor in the fourth data table, add a batch type label to each piece of data to obtain a fifth data table; 将所述第五数据表中的每条数据及对应的批量类型标签,批量存储至FIFO存储器中。Store each piece of data in the fifth data table and the corresponding batch type label in batches into the FIFO memory. 一种传感器数据处理装置,所述装置包括:A sensor data processing device, said device comprising: 获取模块,用于获取第一数据表,其中,所述第一数据表中包括传感器记录的多条第一数据,每条第一数据中包含:一个传感器的行为事件标识、行为事件标识对应的测量值和测量值对应的时间戳,任意两条第一数据中包含的行为事件标识不同;An acquisition module, configured to acquire a first data table, wherein the first data table includes a plurality of pieces of first data recorded by the sensor, and each piece of first data includes: a behavior event identifier of a sensor, a behavior event identifier corresponding to The measured value and the timestamp corresponding to the measured value, the behavior event identifiers contained in any two first data are different; 合并模块,用于在所述多条第一数据中存在相同时间戳的多条第二数据的情况下,将所述第一数据表中的所述多条第二数据合并为一条数据,得到第二数据表;其中,合并过程包括:保留所述多条第二数据中的行为事件标识和行为事件标识对应的测量值,以及保留一个时间戳。A merging module, configured to combine the multiple pieces of second data in the first data table into one piece of data when there are multiple pieces of second data with the same timestamp in the multiple pieces of first data, to obtain The second data table; wherein, the merging process includes: retaining the behavior event identifier and the measurement value corresponding to the behavior event identifier in the multiple pieces of second data, and retaining a time stamp. 根据权利要求5所述的装置,其中,所述装置还包括:The device according to claim 5, wherein the device further comprises: 第一计算模块,用于对于所述第二数据表中每对相邻的两条数据,计算所述两条数据中时间戳的差值;The first calculation module is used to calculate the difference between the time stamps in the two pieces of data for each pair of adjacent two pieces of data in the second data table; 第一替换模块,用于将所述两条数据中排序在后的一条数据中的时间戳替换为所述时间戳的差值,得到第三数据表。The first replacement module is configured to replace the time stamp in the last piece of data among the two pieces of data with the difference between the time stamps to obtain a third data table. 根据权利要求6所述的装置,其中,所述装置还包括:The device according to claim 6, wherein the device further comprises: 第二计算模块,用于对于所述第三数据表中所述传感器中的目标传感器对应的每条数据,计算相邻两个采样时间点采集的测量值的差值;The second calculation module is used to calculate the difference between the measured values collected at two adjacent sampling time points for each piece of data corresponding to the target sensor in the sensor in the third data table; 第二替换模块,用于将所述两个采样时间点中排序在后的一条数据中的测量值替换为所述测量值的差值,得到第四数据表。The second replacement module is configured to replace the measurement value in the last piece of data at the two sampling time points with the difference between the measurement values to obtain a fourth data table. 根据权利要求7所述的装置,其中,所述装置还包括:The device according to claim 7, wherein the device further comprises: 添加模块,用于对于所述第四数据表中所述目标传感器对应的每条数据,为每条数据添加批量类型标签,得到第五数据表;Adding a module, for each piece of data corresponding to the target sensor in the fourth data table, adding a batch type label to each piece of data to obtain a fifth data table; 存储模块,用于将所述第五数据表中的每条数据及对应的批量类型标签,批量存储至FIFO存储器中。The storage module is configured to store each piece of data in the fifth data table and the corresponding batch type label in batches into the FIFO memory. 一种电子设备,其中,该电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1至4任一项所述的方法的步骤。An electronic device, wherein the electronic device includes a processor, a memory, and a program or instruction stored on the memory and operable on the processor, when the program or instruction is executed by the processor, the following The step of the method described in any one of claims 1 to 4. 一种可读存储介质,其中,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1至4任一项所述的方法的步骤。A readable storage medium, wherein a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the steps of the method according to any one of claims 1 to 4 are realized. 一种芯片,其中,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1至4中任一项所述的方法。A chip, wherein the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run a program or an instruction, to achieve any one of claims 1 to 4 Methods. 一种计算机程序产品,其中,所述程序产品被存储在非易失的存储介质中,所述程序产品被至少一个处理器执行以实现如权利要求1至4中任一项所述的方法的步骤。A computer program product, wherein the program product is stored in a non-volatile storage medium, and the program product is executed by at least one processor to implement the method according to any one of claims 1 to 4 step. 一种电子设备,其中,所述电子设备被配置为实现如权利要求1至4中任一项所述的方法的步骤。An electronic device, wherein the electronic device is configured to implement the steps of the method according to any one of claims 1 to 4.
PCT/CN2022/124923 2021-10-15 2022-10-12 Sensor data processing method and apparatus, wearable electronic device, and storage medium Ceased WO2023061413A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111205494.3A CN113949673B (en) 2021-10-15 2021-10-15 Sensor data processing method, device, wearable electronic device and storage medium
CN202111205494.3 2021-10-15

Publications (1)

Publication Number Publication Date
WO2023061413A1 true WO2023061413A1 (en) 2023-04-20

Family

ID=79330880

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/124923 Ceased WO2023061413A1 (en) 2021-10-15 2022-10-12 Sensor data processing method and apparatus, wearable electronic device, and storage medium

Country Status (2)

Country Link
CN (1) CN113949673B (en)
WO (1) WO2023061413A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113949673B (en) * 2021-10-15 2024-06-18 维沃移动通信有限公司 Sensor data processing method, device, wearable electronic device and storage medium
CN115130062B (en) * 2022-06-30 2025-05-06 青岛海信移动通信技术有限公司 A light sensor data processing method, device, terminal equipment and medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102123413A (en) * 2011-03-29 2011-07-13 杭州电子科技大学 Network monitoring and protocol analysis system of wireless sensor network
US20150233743A1 (en) * 2014-02-20 2015-08-20 Google Inc. Methods and Systems for Acquiring Sensor Data on a Device Using Multiple Acquisition Modes
CN105989129A (en) * 2015-02-15 2016-10-05 腾讯科技(深圳)有限公司 Real-time data statistic method and device
CN110377025A (en) * 2018-04-12 2019-10-25 百度(美国)有限责任公司 Sensor aggregation framework for automatic driving vehicle
CN113949673A (en) * 2021-10-15 2022-01-18 维沃移动通信有限公司 Sensor data processing method and device, wearable electronic equipment and storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101560274B1 (en) * 2013-05-31 2015-10-14 삼성에스디에스 주식회사 Apparatus and Method for Analyzing Data
CN103645970B (en) * 2013-12-13 2017-04-19 华为技术有限公司 Realizing method and device for de-weighting increments among multiple snapshots for remote copy
CN106686523A (en) * 2015-11-06 2017-05-17 华为终端(东莞)有限公司 Data processing method and device
CN111181569B (en) * 2019-12-31 2021-06-15 山东信通电子股份有限公司 Compression method, device and equipment of time sequence data
CN112650751A (en) * 2020-04-30 2021-04-13 北京金风慧能技术有限公司 Data processing method and device, electronic equipment and data processing system
CN112835518B (en) * 2021-01-27 2023-04-25 歌尔科技有限公司 Data storage method and device, wearable device and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102123413A (en) * 2011-03-29 2011-07-13 杭州电子科技大学 Network monitoring and protocol analysis system of wireless sensor network
US20150233743A1 (en) * 2014-02-20 2015-08-20 Google Inc. Methods and Systems for Acquiring Sensor Data on a Device Using Multiple Acquisition Modes
CN105989129A (en) * 2015-02-15 2016-10-05 腾讯科技(深圳)有限公司 Real-time data statistic method and device
CN110377025A (en) * 2018-04-12 2019-10-25 百度(美国)有限责任公司 Sensor aggregation framework for automatic driving vehicle
CN113949673A (en) * 2021-10-15 2022-01-18 维沃移动通信有限公司 Sensor data processing method and device, wearable electronic equipment and storage medium

Also Published As

Publication number Publication date
CN113949673A (en) 2022-01-18
CN113949673B (en) 2024-06-18

Similar Documents

Publication Publication Date Title
EP3514739A1 (en) Activity information processing method and electronic device supporting the same
WO2023061413A1 (en) Sensor data processing method and apparatus, wearable electronic device, and storage medium
CN105117583B (en) Personal health analysis system based on population physiology data
CN115391161B (en) Log transmission method, device, system and storage medium
CN108877939A (en) It is a kind of with the health management system arranged of intelligent characteristic abstraction function
JP2019530914A (en) System and method for determining insulin sensitivity
CN111701216A (en) Method, system, wrist wearable device and storage medium for skipping rope counting
WO2017012526A1 (en) Step counting method, device and terminal
CN114168690A (en) Method, device, equipment and medium for managing number bins
KR20180007232A (en) Method and apparatus for providing service associated with health care
CN110223540A (en) Information interactive learning method and system for learning robot and storage medium
WO2021098488A1 (en) Atrial fibrillation signal classification method and device, and terminal and storage medium
CN113345560A (en) Medical financial operation system operation suggestion generation method and device
CN116049535B (en) Information recommendation method, device, terminal device and storage medium
CN113703641B (en) Message preview method, device, wearable device and computer-readable storage medium
US20250082216A1 (en) Wearable device-based physiological detection method and wearable device
CN115568834A (en) Data processing method and device
CN102829805A (en) U-disk sensor and detector
CN115982218A (en) A method and device for recording audit traces
CN119366879A (en) System and terminal equipment for disease detection based on physiological parameters
CN204971214U (en) Online real -time analysis appearance of cardiovascular and cerebrovascular disease
CN114428659A (en) Information display method and device, electronic equipment and computer readable storage medium
CN120371798B (en) Blood pressure data transmission method, system, computing device, storage medium and product
CN116999024B (en) Physiological parameter detection method, electronic device, storage medium, and program product
WO2018072349A1 (en) Sign data acquisition method and terminal

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22880349

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 05/09/2024)

122 Ep: pct application non-entry in european phase

Ref document number: 22880349

Country of ref document: EP

Kind code of ref document: A1