Single-device multi-physiological-parameter synchronization and fusion method and multi-device multi-physiological-parameter synchronization apparatus

By using synchronous clock unit and timestamp alignment technology in a single-device multi-physiological parameter acquisition system, the problem of data synchronization of sensor modules is solved, and the closed-loop wireless transmission system and synchronous information packet transmission technology are adopted in a multi-device system, which improves synchronization stability and efficiency.

WO2025067156A1PCT designated stage expired Publication Date: 2025-04-03NEURACLE TECHNOLOGY (SHANGHAI) CO LTD

Patent Information

Application Number
PCT/CN2024/120676
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-09-27
Filing Date
2024-09-24
Publication Date
2025-04-03

AI Technical Summary

Technical Problem

The existing single-device multi-physiological parameter acquisition system is difficult to realize data synchronization of multiple sensor modules, especially when the sensor clock source is independent, resulting in data loss of correlation in the time domain. At the same time, the synchronization stability of multi-device and multi-physiological parameter synchronization devices is difficult to ensure under wireless environment interference.

Method used

By building a one-to-one wireless transmission system and a one-to-many wired transmission system, the synchronization clock unit is used to send synchronization information to the sensor module, and the data packets of the sensor module are aligned through the timestamp information to realize the synchronization and fusion of data. For multi-device systems, a closed-loop wireless transmission system is used. The central processing system initiates synchronization instructions to the synchronous source subsystem. The synchronous source subsystem generates synchronization information packets and passes them to the acquisition subsystem. The central processing system matches information and adjusts the synchronization cycle.

Benefits of technology

Efficient synchronization between multiple sensor modules is achieved, ensuring data relevance in the time domain, and improving synchronization stability and efficiency in multi-device systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024120676_03042025_PF_FP_ABST
    Figure CN2024120676_03042025_PF_FP_ABST
Patent Text Reader

Abstract

The present invention relates to the technical field of biological information, and particularly relates to a single-device multi-physiological-parameter synchronization and fusion method and a multi-device multi-physiological-parameter synchronization apparatus. The single-device multi-physiological-parameter synchronization and fusion method comprises the following steps: constructing a one-to-one wireless transmission system; constructing a one-to-many wired transmission system; initiating a synchronization instruction; verifying information; and matching the information, so as to align first collection data packets of sensor modules. In the present invention, synchronization information is sent to several sensor modules at the same time by means of a collection main control module, and by means of a plurality of pieces of timestamp information, the collection main control module performs time mapping on collection data packets sent by a plurality of sensor modules without using the same clock source to connect the plurality of sensor modules in series, such that sensor selection is not limited, and a sampling rate can be adjusted in real time, thereby ensuring a relatively high efficiency of synchronization between the plurality of sensor modules.
Need to check novelty before this filing date? Find Prior Art

Description

Single-device multi-physiological parameter synchronization and fusion method and multi-device multi-physiological parameter synchronization device

[0001] This application is based upon and claims the benefit of priority from Chinese patent application No. 202311258830.X, filed on September 27, 2023, and Chinese patent application No. 202311258934.0, filed on September 27, 2023. The entire contents of the above applications are incorporated herein by reference. Technical Field

[0002] The present invention relates to the field of bioinformatics, and in particular to a method for synchronizing and fusing multiple physiological parameters of a single device and a device for synchronizing multiple physiological parameters of multiple devices. Background Art

[0003] Event-related evoked potentials (ERPs) are electroencephalograms (EEGs) induced by specific stimuli. They can reflect neurophysiological changes in the brain's cognitive processes under these stimuli. During EEG signal acquisition, events and data often have a strict time-locked relationship, such as in ERPs and phase-correlated steady-state visual evoked potentials. Therefore, when recording EEG data, the precise moment of the event must be recorded, with a time error of ±1ms between the event and the data.

[0004] A single device is an acquisition device that can independently collect multimodal physiological parameters of different types and sampling rates, such as EEG, EMG, ECG, electrodermal conduction, pulse, or blood oxygen. In a single-device multi-physiological parameter acquisition system, several sensors are used to acquire different physiological parameters. Because the sensor clock sources are independent of each other, it is difficult to maintain a consistent sampling rate for each sensor. Even the same sensor will experience phase differences due to different acquisition times. In the presence of both clock source deviation and phase difference, as the acquisition time increases, the sensor data sequences will lose their temporal correlation, and the data from multiple sensor modules will be inconsistent in the temporal domain, making all the collected physiological parameters of the subject lose their research value.

[0005] The existing synchronization method of a single-device multi-physiological parameter acquisition system uses the same clock source to connect multiple sensors in series in hardware, and generates different sampling rates through a clock divider to achieve data synchronization of multiple sensor modules. During use, a sensor can only set the corresponding initial sampling rate for the clock divider once according to its own configuration parameters, and cannot be adjusted in real time according to actual usage or environmental changes, resulting in low data synchronization efficiency for multiple sensor modules. In addition, the clock source of most digital sensors is internally integrated, and it is difficult to connect to another clock source. Therefore, the existing acquisition system cannot achieve data synchronization of digital sensors with internally integrated clock sources.

[0006] The operating mechanism of multimodal physiological parameter acquisition devices is that when the device's internal clock source accumulates a certain number of times, it triggers a signal measurement, completing the processing of the measurement data. However, when multiple multimodal physiological parameter acquisition devices, especially those using wireless transmission, operate under their own clock sources, these clock sources inherently exhibit clock skew. This can lead to discrepancies in the number of measurements triggered between devices within the same natural timeframe. When analyzing this data, these discrepancies can cause a loss of temporal correlation between the data collected by the acquisition devices.

[0007] In prior art multi-device, multi-parameter synchronization devices, when aligning and synchronizing data across multiple devices, the central processing system (CPU) must exchange information with the master clock and each slave clock during each synchronization. This interaction includes notifying the slave clocks that synchronization is about to initiate, controlling the master clock to initiate synchronization, and querying the slave clocks to determine whether they have received the master clock's synchronization command. Due to the numerous interaction steps, if a slave clock fails to receive the CPU's synchronization prompt due to wireless interference or times out, it will miss the master clock's synchronization signal, causing it to lose synchronization. If the master clock fails to receive the CPU's synchronization initiation command due to wireless interference or times out, it will be unable to generate a synchronization signal within the current synchronization cycle, causing all slave clocks to lose synchronization and losing synchronization stability. Furthermore, when there are a large number of slave clocks, the cumbersome information exchange can make the synchronization process time-consuming, making it impossible to synchronize all devices within a single synchronization initiation cycle. This further compromises the overall synchronization stability of the existing system.

[0008] Summary of the Invention

[0009] The purpose of the present invention is to provide a single-device multi-physiological parameter synchronization and fusion method and a multi-device multi-physiological parameter synchronization device.

[0010] The technical solution adopted by the present invention to solve the technical problem is: a single-device multi-physiological parameter synchronization and fusion method, comprising the following steps:

[0011] Build a one-to-one wireless transmission system, that is, the central processing system and the acquisition main control module form a one-to-one relationship;

[0012] Constructing a one-to-many wired transmission system, wherein the acquisition main control module is connected to the plurality of sensor modules by wires;

[0013] Initiate a synchronization instruction. The central processing system initiates a synchronization instruction to the acquisition main control module. After receiving the synchronization instruction, the acquisition main control module sends a first synchronization information packet to the sensor modules and records the timestamp T corresponding to the first synchronization information packet. S0 ;

[0014] Verification information, after receiving the first synchronization information packet, the plurality of sensor modules verify the information, generate a second synchronization information packet after verifying the verification result, and transmit the second synchronization information packet to the acquisition main control module;

[0015] Matching information, the acquisition main control module synchronizes the timestamps T corresponding to the second synchronization information packet and the first synchronization information packet with the synchronization initiation cycle S0 Information matching is performed to align the first acquisition data packets of the sensor modules.

[0016] In another aspect, the present invention further provides a single-device multi-physiological parameter synchronization and fusion method acquisition system, comprising:

[0017] Several sensor modules for collecting and transmitting multiple physiological parameters;

[0018] An acquisition main control module having a synchronous clock unit is connected to the plurality of sensor modules by wire, and is used to perform data synchronization alignment and fusion processing on the plurality of sensor modules, that is, the synchronous clock unit sends a first synchronization information packet to the plurality of sensor modules, and the acquisition main control module performs synchronization alignment and fusion processing on the first acquisition data packets acquired by the plurality of sensor modules to obtain a second acquisition data packet;

[0019] The central processing system is used to set parameters of the sensor modules and the acquisition main control module, send control instructions to the acquisition main control module and receive the second acquisition data packet.

[0020] In a third aspect, the present invention further provides a method for aligning data collected from data packets, comprising the acquisition system as described above, comprising the following steps:

[0021] Build a one-to-one wireless transmission system, that is, the central processing system and the acquisition main control module form a one-to-one relationship;

[0022] Construct a one-to-many wired transmission system, wherein the acquisition main control module and the plurality of sensor modules are connected by wires; wherein,

[0023] The acquisition main control module includes a slave master clock, and each of the sensor modules includes a slave clock; between the acquisition main control module and each of the sensor modules, there is at least one synchronization signal channel and one slave clock signal channel for information exchange between the slave clock and the slave master clock;

[0024] Alignment mode selection: the acquisition main control module determines and selects the synchronization mode according to the received data packet information transmitted by the sensor module;

[0025] Data alignment processing: the acquisition main control module performs data alignment processing on the acquisition data packets transmitted by the sensor module through the corresponding alignment mode according to the judgment result;

[0026] Receiving and storing the aligned acquisition data packets, the central processing system receives and stores the aligned acquisition data packets transmitted by the acquisition main control module.

[0027] In a fourth aspect, the present invention further provides a multi-device multi-physiological parameter synchronization apparatus, the apparatus comprising:

[0028] Central processing system, synchronization source subsystem and at least two acquisition subsystems;

[0029] The acquisition subsystem includes: an acquisition main control module and several sensor modules;

[0030] The central processing system issues at least one synchronization instruction to the synchronization source subsystem;

[0031] The synchronization source subsystem generates a third synchronization information packet and a first synchronization information packet based on the synchronization instruction, and sends the first synchronization information packet to the synchronization clock unit of the acquisition subsystem, and the synchronization clock unit sends the first synchronization information packet in a synchronization initiation cycle;

[0032] The sensor module of the acquisition subsystem acquires and verifies the first synchronization information packet and generates a second synchronization information packet according to the verification result;

[0033] The central processing system obtains the third synchronization information packet and the second synchronization information packet and performs information matching to align the acquisition data packets of the acquisition subsystem.

[0034] In a fifth aspect, the present invention further provides a multi-device multi-physiological parameter synchronization method, comprising:

[0035] A closed-loop wireless transmission system is constructed by the multi-device multi-physiological parameter synchronization device as described above, that is, a one-to-one relationship is formed between the central processing system and the synchronization source subsystem, a one-to-many relationship is formed between the synchronization source subsystem and the plurality of acquisition subsystems, and a many-to-one relationship is formed between the plurality of acquisition subsystems and the central processing system;

[0036] Initiating a synchronization instruction, the central processing system initiates a synchronization instruction to the synchronization source subsystem, and after receiving the synchronization instruction, the synchronization source subsystem simultaneously sends a third synchronization information packet to the central processing system and sends the first synchronization information packet to the plurality of acquisition subsystems;

[0037] Verify information, the plurality of acquisition subsystems verify information after receiving the first synchronization information packet, generate a second synchronization information packet after verifying the verification result, and transmit the second synchronization information packet to the central processing system;

[0038] Matching information, the central processing system matches the third synchronization information packet with the second synchronization information packet;

[0039] Adjust the synchronization initiation cycle and dynamically adjust the synchronization instruction initiation cycle based on the matching results.

[0040] In a sixth aspect, the present invention further provides an offline data collection device, comprising:

[0041] The multi-device multi-physiological parameter synchronization device as described above; wherein

[0042] The synchronization source subsystem further includes a second data storage module;

[0043] The acquisition subsystem also includes a third data storage module;

[0044] The central processing system issues a synchronization instruction to the synchronization source subsystem only once during initial setting, and stores the synchronization instruction in the second data storage module to be set as the synchronization instruction of the synchronization source subsystem;

[0045] The third data storage module is used to store the collected data packet and the second synchronization information packet.

[0046] In a seventh aspect, the present invention further provides an offline data collection method based on the aforementioned offline collection device, comprising:

[0047] Setting synchronization instructions, that is, setting synchronization instructions of the synchronization source subsystem through the central processing system during initial setting;

[0048] Constructing a synchronous transmission system, that is, forming a one-to-many relationship between the synchronization source subsystem and the plurality of acquisition subsystems;

[0049] Initiating a synchronization action, the synchronization source subsystem initiates the synchronization action to form a third synchronization information packet and a first synchronization information packet, the synchronization source subsystem locally stores the third synchronization information packet, and sends the first synchronization information packet to the synchronization clock units of the multiple acquisition subsystems, and the synchronization clock units then send the first synchronization information packet at a synchronization initiation cycle;

[0050] Verify information, the sensor modules of the multiple acquisition subsystems verify information after receiving the first synchronization information packet, generate a second synchronization information packet after verifying the verification result, and the multiple acquisition subsystems locally store the second synchronization information packet.

[0051] The beneficial effects of the present invention are as follows: the present invention sends synchronization information to several sensor modules at the same time through the acquisition main control module, and the acquisition main control module maps the acquisition data packet time sent by multiple sensor modules to its own slave clock through multiple timestamp information. There is no need for multiple sensor modules to use the same clock source for series connection, so that the sensor selection is not restricted, and the sampling rate can be adjusted in real time to ensure high synchronization efficiency between multiple sensor modules. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] The present invention will be further described below with reference to the accompanying drawings and examples.

[0053] FIG1 is a flow chart of a collection method according to a first embodiment of the present invention.

[0054] FIG2 is a synchronization flow chart of a single data synchronization according to the first embodiment of the present invention.

[0055] FIG3 is a signal sequence diagram of the first embodiment of the present invention.

[0056] FIG4 is a system framework diagram of the second embodiment of the present invention.

[0057] FIG5 is a schematic structural diagram of the acquisition main control module and the sensor module according to the second embodiment of the present invention.

[0058] FIG6 is a flow chart of a data alignment method according to a third embodiment of the present invention;

[0059] 7 is a flowchart of the difference mapping mode alignment acquisition data packet embodiment of the present invention three;

[0060] 8 is a flowchart of the third embodiment of the present invention, the alignment of the scaling mapping mode data packets;

[0061] 9 is a signal sequence diagram of the alignment acquisition data packet in the scaling mapping mode in the third embodiment of the present invention;

[0062] 10 is a time mapping diagram of the sub-clock sampling points of the data packets collected in the third embodiment of the present invention in the telescopic mapping mode;

[0063] FIG11 is a schematic structural diagram of a fourth embodiment of the present invention;

[0064] FIG12 is a schematic diagram of the internal structure of a fourth embodiment of the present invention;

[0065] FIG13 is a schematic diagram of a system framework of a fourth embodiment of the present invention;

[0066] FIG14 is a topological diagram of the connection between the master clock and the slave clock;

[0067] FIG15 is a schematic diagram of a flow chart of a fifth embodiment of the present invention;

[0068] FIG16 is a signal sequence diagram of the time synchronization process in the fifth embodiment of the present invention;

[0069] FIG17 is a flow chart of a seventh embodiment of the present invention;

[0070] FIG18 is a signal sequence diagram during the time synchronization process of the seventh embodiment of the present invention.

[0071] In the picture

[0072] 1. Central processing system; 11. Data processing module; 12. First communication module; 13. First data storage module;

[0073] 2. Synchronous source subsystem; 21. Second communication module; 22. Master clock; 23. First wireless transceiver module; 24. Second data storage module;

[0074] 3. Acquisition subsystem; 31. Acquisition main control module; 311. Synchronous clock unit; 312. First clock source unit; 313. First data processing unit; 314. First data transmission unit; 32. Sensor module; 321. Onboard sensor; 3211. Second clock source unit; 3212. Second data transmission unit; 3213. Second data processing unit; 322. External probe; 3221. Third clock source unit; 3222. Third data transmission unit; 3223. Third data processing unit; 33. Sub-clock; 34. Second wireless transceiver module; 35. Third data storage module; 36. Third communication module; 37. Data transmission module. DETAILED DESCRIPTION

[0075] The present invention will now be described in further detail with reference to the accompanying drawings, which are simplified schematic diagrams that illustrate the basic structure of the present invention in a schematic manner.

[0076] In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise", "axial", "radial", "circumferential" and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, features defined as "first" or "second" may explicitly or implicitly include one or more of such features. In the description of the present invention, unless otherwise specified, "multiple" means two or more.

[0077] In the description of the present invention, it should be noted that, unless otherwise expressly specified or limited, the terms "mounted," "connected," and "connected" should be understood in a broad sense. For example, they may refer to fixed, detachable, or integral connections; mechanical or electrical connections; direct or indirect connections through an intermediate medium; and internal communication between two components. Those skilled in the art will understand the specific meanings of the above terms in the present invention based on the specific circumstances.

[0078] The following embodiments of the present invention are described in detail with reference to the accompanying drawings. In the absence of conflict, the following embodiments and features therein may be combined with each other.

[0079] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, it does not need to be further defined or explained in subsequent drawings.

[0080] As shown in FIG1 , at least one embodiment provides a method for synchronizing and fusing multiple physiological parameters of a single device, including the following steps:

[0081] Step S11 , constructing a one-to-one wireless transmission system, that is, the central processing system 1 and the acquisition main control module 31 form a one-to-one relationship.

[0082] Step S12 , constructing a one-to-many wired transmission system, collecting wired connections between the main control module 31 and the plurality of sensor modules 32 .

[0083] Step S13: Initiate a synchronization instruction. The central processing system 1 initiates a synchronization instruction to the acquisition main control module 31. After receiving the synchronization instruction, the acquisition main control module 31 sends a first synchronization information packet to the plurality of sensor modules 32 and records the timestamp T corresponding to the first synchronization information packet. S0 .

[0084] The first two steps ensure that the connection interface and transmission protocol between the central processing system 1, the acquisition main control module 31, and the sensor module 32 are compatible. Before the central processing system 1 sends a synchronization instruction to the acquisition main control module 31, the identities of the three are first bound. That is, the central processing system 1 and the acquisition main control module 31 transmit data and commands through the second communication protocol, and the data and commands between the sensor modules 32 and the acquisition main control module 31 are transmitted through the third communication protocol. As shown in Figure 3, when a single synchronization starts, before the central processing system 1 sends a synchronization instruction to the acquisition main control module 31, the central processing system 1 sends a control instruction to the acquisition main control module 31. The instruction should include the parameter configuration information of each sensor module 32. The parameter configuration information includes the sampling rate, the packet rate (that is, how many sampling points trigger a packet), and the input range of the sensor. After receiving the parameter configuration information, the first data processing module of the acquisition sub-master module resets the frequency division coefficient of each sensor module 32 acquisition task under its own clock source with the greatest common divisor of the sampling period of each sensor module 32 parameter as the minimum time interval.

[0085] While starting each sensor module 32 to collect data, the central processing system 1 is also used to send a synchronization instruction to the acquisition main control module 31. The acquisition main control module 31 controls the synchronization clock unit 311 thereon to send the first synchronization information packet in a synchronization initiation cycle. If the synchronization initiation cycle is reached, the synchronization clock unit 311 sends the first synchronization information packet. If it is within a synchronization initiation cycle, the synchronization clock unit 311 does not send the first synchronization information packet.

[0086] Step S14 , verifying information. After receiving the first synchronization information packet, the sensor modules 32 verify the information, generate a second synchronization information packet after verifying the verification result, and transmit the second synchronization information packet to the acquisition main control module 31 .

[0087] Furthermore, in step S14, the plurality of sensor modules 32 verify information after receiving the first synchronization information packet, including: the plurality of sensor modules 32 verify information through their respective synchronization initiation periods t cn Check the timestamp T when the first synchronization information packet is received SX , if T SX The corresponding synchronization initiation period t cn The first synchronization packet is timestamped T SX Generate the second synchronization information packet; if T SX The corresponding synchronization initiation period t cn If the received first synchronization information packet is not consistent, the sensor module 32 does not process the received first synchronization information packet. That is, the sensor module 32 checks whether to perform a processing action.

[0088] The second synchronization information packet includes the timestamp T when the sensor module 32 receives the first synchronization information packet. SX The first data packet includes the physiological data collected by the sensor module 32 and the timestamp T when the data is collected. X .

[0089] When the central processing system 1 activates each sensor module for data acquisition, a first acquisition data packet is generated. The first data processing module of the acquisition main control module 31 begins to accumulate time based on its clock source. If the sensor module 32 is on the acquisition main board, i.e., onboard sensor 321, when the clock source of the acquisition main control module 31 reaches the sampling period of a particular sensor module 32, the first data processing module on the acquisition main control module 31 triggers a single data acquisition for the corresponding sensor module 32. If the sensor module 32 is an external probe 322, when the clock source of the external probe 322 reaches the sampling period of a particular sensor module 32, the data processing module of the external probe 322 triggers a data acquisition for the corresponding sensor module 32. The purpose of this step is to ensure that the data collected by the acquisition main control module 31 from the sensor module 32 is the most up-to-date data from that sensor module 32 at that moment.

[0090] When the number of sampling points accumulated by a sensor module 32 on the acquisition main control module 31 reaches the set value (packaging points) (according to the above method, the number of sampling points of all sensor modules 32 has reached the corresponding packaging points at this time), the first data processing module of the acquisition main control module 31 attaches the timestamp information T0 to the packaged data and sends it to the central processing system 1 using the second communication protocol. When the number of sampling points accumulated by the sensor module 32 of the external probe 322 reaches the set value (packaging points), the external probe 322 attaches the timestamp information T0 to the packaged data. x , and sends it to the acquisition main control module 31 using the first communication protocol. The acquisition main control module 31 processes the acquisition data packet and forwards it to the central processing system 1.

[0091] S15: Matching information, the acquisition control module 31 sends the timestamps T corresponding to the second synchronization information packet and the first synchronization information packet to the synchronization initiation cycle S0 Information matching is performed to align the first acquisition data packets of the sensor module 32 .

[0092] Specifically, the acquisition control module 31 collects the time information T in the first acquisition data packet. X , collect the timestamp T of the synchronization initiated by the main control module 31 S0 and the timestamp T in the second synchronization information packet SX , recalculate the time information T in the collected data packet through the mapping formula Z, to align the first acquisition data packet of the sensor module 32. Further, the mapping formula is:

[0093] T Z =T S0 +(T X -T SX ), S = 1, 2, 3, 4, ..., where S represents the number of synchronizations, which is accumulated as the synchronization information packets are sent.

[0094] After the single-device multi-physiological parameter acquisition system of the present invention is started for acquisition, the acquisition main control module 31 transmits a synchronization signal through the synchronization cable at intervals (synchronization initiation period). When the first data processing unit 312 of the acquisition main control module 31 sends the synchronization signal, it records the timestamp T at that time. s0 When the data processing unit of each sensor module 32 receives the synchronization signal, the timestamp information T of the sensor module 32 is displayed. sx The synchronous information packet is transmitted to the acquisition main control module 31 using the first communication protocol.

[0095] The first transmission processing unit 14 of the acquisition main control module 31 sends the acquisition data packet of the corresponding onboard sensor 321 to the central processing system 1 using the second transmission protocol; after the acquisition main control module 31 receives the synchronization information packet sent by the external probe 322, it obtains the timestamp information T in the synchronization information packet of the external probe 322. sx Afterwards, after receiving the acquisition data packet sent by the external probe 322, the acquisition control module 31 reads the timestamp Tx in the packet and calculates the offset time (T x -T sx ), and finally use the timestamp T of the last synchronization information packet sent by the acquisition main control module 31 s0 The timestamp (T s0 +T x -T sx ), and transmits it to the central processing system 1 using the second communication protocol.

[0096] The acquisition main control module 31 sends the second acquisition data packet formed after synchronization alignment to the central processing system 1. The central processing system 1 processes the data according to actual needs and stores it in the corresponding position in combination with the received acquisition data information. The synchronization process is completed once. Among them, the first communication protocol is a connectionless communication protocol. In this embodiment, it adopts but is not limited to a private protocol based on a wired connection. The second communication protocol is a connection-oriented communication protocol. In this embodiment, it adopts but is not limited to one or more of the TCP / IP protocol, Bluetooth, and Bluetooth BLE protocol. The third communication protocol is any form of level signal (such as inversion, or pulse, etc.).

[0097] The acquisition master control module 31 (the first clock source unit of the acquisition master control module 31 is the master clock) simultaneously sends a synchronization signal to all sensor modules 32 (with the second or third clock source unit of each sensor as the slave clock) and transmits a synchronization packet to the central processing system 1. Upon receiving the synchronization packet, each slave clock determines whether to synchronize. If so, it attaches a timestamp to the time and sends it to the acquisition master control module 31. When the acquisition master control module 31 receives the synchronization packets and acquisition data packets from the corresponding sensor modules 32, time synchronization is complete.

[0098] The idea of ​​using the same clock source for multiple sensors in the existing single-device acquisition method is too idealistic. On the one hand, most of the current sensors are digital sensors, and their clock sources are all internally integrated, making it difficult to access this unified clock source. Even if a unified clock source is accessed, the clock divider is implemented in hardware, and the acquisition system itself cannot flexibly adjust the sampling rate of each sensor during use, which brings inconvenience to use. On the other hand, since the clock source and clock divider of the existing acquisition system are fixed by hardware design, when the sensor model changes, the entire system can only be redesigned, and the scalability is poor. The present invention proposes a method for synchronization and fusion of multiple physiological parameters of a single device, which improves the method of using the same hardware clock source + clock divider, which can not only ensure the synchronization of data from multiple sensor modules, but also avoid the inconvenience caused by using the same clock source.

[0099] This embodiment sends synchronization information to several sensor modules 32 through the acquisition main control module 31. Multiple sensor modules 32 are mapped with the time information of the acquisition main control module 31, so that there is no restriction when selecting sensors, and the sampling rate can be adjusted, which is easy to use and has good scalability.

[0100] In some embodiments, the acquisition main control module 31 initiates a synchronization signal within a synchronization initiation period corresponding to each sensor. The synchronization initiation period t cn The settings include:

[0101] The initial synchronization period is set, that is, before the sensor module 32 starts collecting data, according to the crystal oscillator settings of the acquisition main control module 31 and the sensor module 32.

[0102] Specifically, using the example of a ±Xppm (X seconds per million seconds) crystal oscillator in the acquisition control module 31, the clock deviation between the acquisition control modules 31 is no greater than 2Xppm. In other words, the clocks of the acquisition control modules 31 will only deviate by 1 millisecond every 500,000 / X milliseconds. In this case, the synchronization accuracy of the acquisition control modules 31 can be controlled to within 1 millisecond by simply ensuring that the synchronization period is less than 50,000 / X milliseconds. Specifically, when X = 10, synchronization only needs to be completed within 50 seconds to achieve a synchronization accuracy of less than 1 millisecond. Conversely, if synchronization needs to be completed within Y seconds, the clock deviation of the acquisition control module 31 must be less than 1 millisecond within Y seconds. The crystal oscillator deviation of the acquisition control module 31 cannot exceed 1 / 1000Y, that is, it should be less than 1000 / Yppm, to ensure a synchronization accuracy of at least 1 millisecond. Therefore, using a higher-precision crystal oscillator can reduce the frequency of resampling or desampling points in the central processing system 1 during each synchronization of the acquisition control module 31 data.

[0103] Dynamic synchronization initiates period setting, that is, after the sensor module 32 starts collecting data, when the central processing system detects that the data of the sampling points or the sampling points are frequently supplemented or removed, the central processing unit sends a dynamic adjustment instruction to the collection main control module 31.

[0104] Specifically, when the environmental impact is relatively large (such as temperature or humidity, etc.), the stability of the crystal oscillator will be affected and fluctuate, which may not achieve the expected effect. At this time, the impact of the crystal oscillator fluctuation will directly affect the data collection of the sensor, resulting in the number of sampling points of the sensor becoming less or more during the synchronization period. Therefore, when the acquisition main control module 31 is processing the sensor data of the external probe 322, if the behavior of supplementing sampling points or removing sampling points frequently occurs, it can be considered that within the synchronization period, the number of sensor data points of the external probe 322 does not meet the design expectation (more or less than the expected value). The central processing system detects the data of the frequent supplementing sampling points or removing sampling points, and the central processing unit sends a dynamic adjustment instruction to the acquisition main control module 31, shortening the synchronization period of the acquisition main control module 31 and increasing the sending frequency of the synchronization signal.

[0105] Therefore, according to the above principles, improving the accuracy of the crystal oscillator in the clock source unit and shortening the synchronization period can achieve higher synchronization accuracy (<1ms).

[0106] Taking an acquisition main control module 31 as an example, two external probes 322 are connected, and a strategy of 1000Hz sampling rate T1=1ms, single sampling point packaging, and a synchronization clock unit 311 (i.e., slave master clock) generating data every 10s after running is explained, the acquisition main control module 31 can process and align data of more than two under the same sampling rate, packaging mechanism, and synchronization period by analogy.

[0107] After completing the pre-startup parameter settings, the central processing system 1 starts the acquisition main control module 31 and the two external probes 322 to start acquisition. Due to a certain delay in the transmission of control commands, the two external probes 322 do not start accumulating their respective timestamps at the same time.

[0108] The acquisition main control module 31 receives the acquisition data packets transmitted by the external probe 322, as well as the synchronization data packets at each synchronization trigger. The whole process is shown in Figures 2 and 3. In the preparation stage, due to communication delays, the clocks (i.e., sub-clocks) of the external probes 322 are not turned on at the same time. Since the first synchronization was not completed this time, the data packets of the external probes 322 in the preparation stage are all in an unsynchronized state, so the acquisition main control module 31 discards the first acquisition data packet. Since the third clock source units 3221 on the external probes 322 have individual differences, the clocks of the external probes 322 are bound to be fast or slow. In order to make the system synchronous, it is necessary to ensure that the number of sampling points of each external probe 322 is consistent within each synchronization cycle.

[0109] At the first synchronization time, the timestamps of the synchronization data packets uploaded by the acquisition main control module 31 and the two external probes 322 have accumulated to T 00 、T 01 and T 02 The second clock units 221 of the two external probes 322 correspond to the first sub-clock and the second sub-clock respectively. The specific process is shown in FIG3 . At this time, the first data processing unit 313 of the acquisition main control module 31 needs to record the above three values ​​and calculate the actual acquisition timestamps of the two external probes 322 respectively:

[0110] Processing system 1.

[0111] When the second synchronization time arrives after 10 seconds from the master clock, the timestamps of the synchronization data packets uploaded by the acquisition main control module 31 and the two external probes 322 have accumulated to T 10 、T 11 and T 12 The first data processing unit of the acquisition main control module 31

[0112] At each subsequent synchronization moment and synchronization cycle, the central processing system 1 continues to use the above-mentioned processing method for the acquisition main control module 31 until the acquisition process is stopped. The calculation formula for the actual acquisition timestamp of the two external probes 322 is: x1 =T s +T x1 -T s1

[0113] T′ x2 =Ts +T x2 -T s2 Since the synchronization signal interval generated from the master clock is strictly implemented according to the settings, the relative timestamp from the master clock will be accumulated to T each time synchronization is performed. 0R = 10000. Because the clock source of the slave clock of the external probe 322 is different from that of the master clock, the relative timestamps are accumulated to T 1R =9999 clock is slower than the master clock and T 2R = 10001, the clock is slightly faster than the master clock. According to the above formula, during the two synchronization intervals, one external probe 322 has 9999 sampling points, while the other has 10001. To ensure that each external probe 322 uploads 10000 sensor points during the synchronization interval, the data from points 10000 to 9999 must be added to one external probe 322, while the data from points 10001 to 10000 must be removed from the other external probe 322. This ensures that when timestamps are replaced, there will be no cumulative deviation or jitter in the timestamps.

[0114] The clock characteristics of the acquisition master control module 31 are provided for illustrative purposes only. Actual deviations are related to the performance of the selected crystal oscillator. If the crystal oscillator's accuracy is fixed and additional sampling points need to be added or removed during each synchronization initiation cycle, the impact of the accumulated clock error on signal quality can be reduced by shortening or lengthening the synchronization initiation cycle.

[0115] Based on the same inventive concept as the single-device multi-physiological parameter synchronization and fusion method of the aforementioned embodiment, as shown in Figures 2-5, at least one embodiment provides an acquisition system for the single-device multi-physiological parameter synchronization and fusion method, including: a plurality of sensor modules 32, for collecting and transmitting multiple physiological parameters; an acquisition main control module 31 with a synchronization clock unit 311, which is wiredly connected to the plurality of sensor modules 32, for performing data synchronization alignment and fusion processing on the plurality of sensor modules 32, that is, the synchronization clock unit 311 sends a first synchronization data packet to the plurality of sensor modules 32, and the acquisition main control module 31 performs synchronization alignment and fusion processing on the first acquisition data packet collected by the plurality of sensor modules 32 to obtain a second acquisition data packet; a central processing system 1, for setting parameters of the plurality of sensor modules 32 and the acquisition main control module 31, sending control instructions to the acquisition main control module 31 and receiving a second acquisition data packet.

[0116] In some embodiments, the first data packet includes the data information collected by the sensor module 32 and the timestamp T when the data is collected. X The second acquisition data packet includes the acquisition information and the timestamp T after synchronization / fusion processing Z .

[0117] In some embodiments, the acquisition control module 31 records the time stamp T of the synchronization signal. S0 , receive the synchronization signal packets sent by several sensors, according to the timestamp T S0 , the synchronization signal package synchronizes and fuses the first acquisition data packets acquired by the plurality of sensor modules 32 to obtain the second acquisition data packets.

[0118] In some embodiments, the central processing system 1 includes a data processing module 11 and a first communication module 12. The data processing module 11 is connected to the first communication module 12. The data processing module 11 is used to perform data alignment processing on the second collected data packet. The first communication module 12 is wirelessly connected to the acquisition main control module 31 via a second communication protocol to send control instructions and transmit the second collected data packet. The second communication protocol is a connection-oriented communication protocol, using but not limited to TCP / IP, Bluetooth, or Bluetooth BLE. The data processing module 11 is used, but not limited to, a PC, and the first communication module 12 is used, but not limited to, a switch.

[0119] In some embodiments, the communication protocol between the acquisition main control module 31 and the sensor module 32 uses a first communication protocol for data transmission and a third communication protocol for synchronization signal transmission. The first communication protocol is a private protocol based on a wired connection, and the third communication protocol is a level signal (the level signal is an inversion signal or a pulse signal).

[0120] In some embodiments, the acquisition control module 31 further includes: a first clock source unit 312 for generating a corresponding timestamp; a first data processing unit 313 for processing the first acquisition data packet according to the time information T X , collect the timestamp T of the synchronization initiated by the main control module 31 S0 and the timestamp T in the second packet SX , to align the first acquisition data packet to form a second acquisition data packet; multiple first data transmission units 314 are used to transmit and receive synchronization signal packets and acquisition data packets.

[0121] In some embodiments, the sensor module 32 includes: at least one onboard sensor 321, which is arranged on the acquisition main control module 31; multiple external probes 322; wherein the onboard sensor 321 and the external probe 322 are both wired to the first data transmission unit 314; a synchronization channel for transmitting the first synchronization information packet and / or the second synchronization information packet is provided between the onboard sensor 321 and the acquisition main control module 31, and between the external probe 322 and the acquisition main control module 31, and multiple synchronization channels are interconnected to ensure that multiple sensor modules receive the synchronization information packet at the same time.

[0122] Furthermore, the onboard sensor 321 includes a second clock source unit 3211 for generating corresponding timestamps; a second data transmission unit 3212 connected to the first data transmission unit 314; and a second data processing unit 3213 connected to both the second clock source unit 3211 and the second data transmission unit 3212 to control the second clock source unit 3211 in generating corresponding timestamps and the second data transmission unit 3212 in receiving and transmitting data. The external probe 322 includes a third clock source unit 3221 for generating corresponding timestamps; a third data transmission unit 3222 connected to the first data transmission unit 314; and a third data processing unit 3223 connected to both the third clock source unit 3221 and the third data transmission unit 3222 to control the third clock source unit 3221 in generating corresponding timestamps and the third data transmission unit 3222 in receiving and transmitting data.

[0123] Both the onboard sensor 321 and the external probe 322 are used to collect sensor signals, which are at least one of an external noise signal, an EEG signal, an EMG signal, or an ECG signal. Preferably, in some embodiments, the onboard sensor 321 includes an external noise signal collection sensor, and the external probe 322 includes at least one of an EEG collection sensor, an EMG collection sensor, and an ECG collection sensor.

[0124] In some embodiments, the acquisition main control module 31 further includes a first communication unit, which is connected to the first communication module 12 via a second communication protocol to establish a network connection and data interaction.

[0125] In summary, the single-device multi-physiological parameter acquisition system and acquisition method provided by this embodiment avoids the sensor's dependence on an external clock source through the acquisition main control module 31 having a synchronous clock unit 311, making sensor selection unrestricted and capable of adjusting the sampling rate, making it easy to use and highly scalable. It can achieve synchronization of multiple physiological parameters and provide accurate multi-parameter data synchronization and fusion over a long period of time. The data synchronization between the multiple sensor modules and the acquisition main control module 31 is highly accurate, facilitating data analysis by the central processing system 1. The acquisition main control module 31 only needs to record the timestamps of each sensor module 32 during synchronization, requiring less computational effort during data fusion and saving computing power. Furthermore, the multiple physiological parameters are aligned in the time domain. When a certain external stimulus occurs, the collected multi-parameter physiological signals of the subject are valid data, which is of research value.

[0126] A data alignment method for collected data packets based on the same inventive concept as the single-device multi-physiological parameter collection system in the aforementioned embodiment, as shown in FIG6 , includes the collection system in the aforementioned embodiment. The data alignment method includes the following steps:

[0127] Step B1, building a one-to-one wireless transmission system, that is, the central processing system 1 and the acquisition main control module 31 form a one-to-one relationship;

[0128] Step B2: construct a one-to-many wired transmission system, collecting wired connections between the main control module 31 and several sensor modules 32; wherein,

[0129] The acquisition master control module 31 includes a slave master clock, and each sensor module 32 includes a slave clock. There is at least one synchronization signal channel and one slave clock signal channel between the acquisition master control module 31 and each sensor module 32 for information exchange between the slave clock and the slave master clock.

[0130] Step B3, synchronization mode selection, the acquisition main control module 31 determines and selects the synchronization mode according to the data packet information received from the sensor module 32;

[0131] Step B4, data synchronization processing, the acquisition main control module 31 performs data synchronization processing on the acquisition data packet transmitted by the sensor module 32 through the corresponding synchronization mode according to the judgment result;

[0132] Step B5 , receiving and storing the synchronized collected data packets, the central processing system 1 receives and stores the collected data packets transmitted by the collection main control module 31 .

[0133] In this embodiment, the data collection data packet transmitted by the sensor module 32 includes the number of sampling points, the collected data, and the corresponding sub-clock timestamp T when the data is collected. X The acquisition control module 31 determines and selects the synchronization mode according to the number of sampling points in the data packet, including the following steps:

[0134] Step B41, setting the judgment threshold of the sensor module 32, and setting the judgment threshold of the number of collection points when the collection data packet corresponding to the sensor module 32 loses time correlation according to historical data;

[0135] Step B42, collection point verification, the collection control module 31 verifies the collection point information in the real-time collection data packet received with the judgment threshold; wherein,

[0136] If the number of sampling points is within the set judgment threshold, the acquisition main control module 31 adopts the difference mapping mode to synchronously collect data packets; if the number of sampling points exceeds the judgment threshold, the acquisition main control module 31 adopts the telescopic mapping mode to synchronously collect data packets.

[0137] When the number of acquisition points of the sensor module 32 is relatively stable within a synchronization cycle and is not significantly affected by external factors, the difference mapping mode is used to synchronize the acquisition data packets. This requires less computation, and the acquisition data packets can be adjusted by simply removing or adding points. When the number of acquisition points of the sensor module 32 is unstable within a synchronization cycle, the acquisition control module 31 needs to add or remove a large number of acquisition data packets, affecting the authenticity of the data and causing inaccurate data in the subsequent processing of the acquisition data packets by the central processing system 1. In this embodiment, when the number of acquisition points of the sensor module 32 is affected by external factors or other factors, resulting in a large number of points being removed or added, the expansion mapping mode is used to synchronize the acquisition data packets. The acquisition data packets are stretched or contracted over a fixed time period. Compared with the difference mapping mode for synchronously aligning the acquisition data packets, this mode requires more computation, but does not require point addition or removal, thus ensuring data accuracy.

[0138] The two modes of synchronous alignment of collected data packets are as follows.

[0139] (1) Difference mapping mode

[0140] As shown in FIG7 , the synchronous acquisition of data packets in the difference mapping mode includes the following steps:

[0141] Step C1: Send synchronization information packet. The acquisition main control module 31 sends the first synchronization information packet to each sensor module 32 through the corresponding synchronization signal channel according to the corresponding synchronization initiation cycle, and records the synchronization initiation time T s0 ;

[0142] Step C2: Transmission of the synchronization information packet. The sensor module 32 collects data and records the time information T at which the first synchronization information packet is received. sx , repackaging to generate a second synchronization information packet and sending it to the acquisition main control module 31;

[0143] Step C3, the time information of the data packet is synchronously calculated, and the acquisition control module 31 receives and reads the acquisition time information T in the acquisition data packet transmitted by the sensor module 32 x , calculate the slave clock time T corresponding to the collected data packet through the mapping formula X’ =T X -T SX +T S0 .

[0144] As shown in FIG3 and FIG7, at the first synchronization time, the timestamps of the synchronization data packets uploaded by the acquisition main control module 31 and each acquisition sensor module 32 have accumulated to T 00 、T 01 and T 02At this time, the first data processing unit 313 of the acquisition control module 31 needs to record the three timestamp values ​​and then receive the acquisition data packet (timestamp is T x1 and T x2 ) is replaced by the following formula: T x1' =T0+T x1 -T 01 T x2' =T0+T x2 -T 02

[0145] Until the next synchronization moment, the acquisition main control module 31 will replace the acquisition data packet uploaded by the sensor module 32 and then send it to the central processing system 1.

[0146] When the second synchronization moment (taken as an example, after the master clock runs for 10 seconds), the timestamps of the synchronization data packets uploaded by the main control module 31 and each sensor module 32 have accumulated to T 10 、T 11 and T 12 The first data processing unit 313 of the acquisition control module 31 needs to record the three timestamp values ​​and then receive the acquisition data packet (time stamp is T x1 and T x2 ) is replaced by the following formula: T x1' =T1+Tx1-T 11 T x2' =T1+T x2 -T 12

[0147] At each subsequent synchronization moment and synchronization cycle, the central processing system 1 continues to use the above-mentioned processing method for the acquisition main control module 31 and the sensor module 32 until the acquisition process is stopped. The timestamp replacement is performed according to the following formula: x1' =T s +T x1 -T S11 T x2' =T s +T x2 -T S12

[0148] Since the synchronization signal interval generated from the master clock is strictly implemented according to the settings, the relative timestamp from the master clock will be accumulated to T each time synchronization is performed. 0R = 10000. Due to the difference between the clock source of the slave clock of the sensor module 32 and the master clock, the relative timestamps are accumulated to T 1R =9999 (clock is slower than the master clock) and T2R =10001 (the clock is slightly faster than the master clock). According to the above formula, during the two synchronization intervals, the acquisition master control module 31 may only read 9999 sampling points for one sensor module 32, while the other sensor module 32 reads 10001 sampling points. To ensure that the number of sensor acquisition points uploaded by each sensor module 32 during the synchronization interval is 10000, the data of the first sensor module 32 must be supplemented by the data of the (10000-9999) point, and the data of the second sensor module 32 must be removed by the data of the (10001-10000) point. This ensures that when replacing timestamps, there will be no cumulative deviation or jitter in the timestamps.

[0149] When the number of sampling points that the acquisition main control module 31 needs to add (or remove) exceeds a certain number, that is, the judgment threshold corresponding to the sensor module 32 (for example, greater than or equal to 2 sampling points), it means that the number of sampling points added (or removed) is too large, and the data before and after the addition (or removal) of the sampling points has seriously lost temporal continuity. In order to solve the above problem, the acquisition main control module 31 of this embodiment adopts a telescopic mapping mode to synchronously acquire data packets. The clock characteristics of the above acquisition main control module 31 are all for example needs, and the actual deviation is related to the performance of the crystal oscillator selected. It should be further explained here that when there are more points to add or remove, if the crystal oscillator accuracy is fixed, more sampling points need to be added or removed for each synchronization initiation cycle. In order to ensure the authenticity of the data, the influence of the clock cumulative error on the signal authenticity can also be reduced by reducing the synchronization initiation cycle.

[0150] (2) Scalable mapping mode

[0151] In this embodiment, the acquisition control module uses the telescoping mapping mode to align the acquisition data packets, including the following steps:

[0152] Step C1', set the sub-clock signal interval length T of each sensor module 32 xP , according to the sampling rate F of each sensor module 32 X Set the corresponding sampling point setting value q, and complete the time period of the sampling point setting value corresponding to the sensor module 32 according to the historical data, that is, the sub-clock signal interval length T xP ;

[0153] Step C2', sending a secondary clock signal. When the number of sampling points accumulated by the sensor module 32 reaches the set value, the sensor module 32 sends a secondary clock signal to the acquisition main control module 31 through the secondary clock signal channel; the acquisition main control module 31 records the timestamp T corresponding to the master clock when receiving the secondary clock signal. xsn ;

[0154] Step C3', calculate the slave clock time T' corresponding to when the acquisition control module 31 receives the acquisition data packet x , used to replace the sub-clock time T of the collected data packet x , that is, the synchronization of the collected data packets is completed; where, T′ x =k X *T X , its k X is the clock speed from the master clock to the slave clock, k X =(Sensor sampling rate / actual sampling rate of slave clock corresponding to master clock). in, The time interval from the master clock to the slave clock, the time interval from the master clock Where n = 1, 2, 3, 4...

[0155] When the number of sampling points accumulated by a sensor module 32 on the acquisition main control module 31 reaches the set value q, the sensor module 32 sends a sub-clock signal through the sub-clock signal cable to prompt the acquisition main control module 31 that the corresponding sensor module 32 has completed a set cycle (i.e., a sub-clock signal interval length T xP ) acquisition task. Upon receiving a secondary clock signal from any sensor module 32, the acquisition control module 31 records the time since the last secondary clock signal was sent. The secondary clock signal is generated once a sensor module 32 has collected a certain number of points according to its own secondary clock and sampling rate. This signal is used by the acquisition control module 31 to calculate the actual sampling rate mapped from the sensor module 32 to the master clock.

[0156] As shown in FIG8 to FIG10, the sampling rate of the sensor module 32 is F X After a certain number of sampling points q are accumulated, for example, M times of the sampling rate, q = M = 10 seconds, the sensor module 32 sends a sub-clock signal to the acquisition main control module 31 through the sub-clock signal channel. In this embodiment, the sub-clock signal channel is an independent sub-clock signal cable. Each time a sub-clock signal is sent, the sub-clock timestamp will accumulate T more. xP The acquisition control module 31 records the timestamp T of the master clock when receiving the slave clock signal of each sensor module 32. xsn When the acquisition control module 31 collects two adjacent sub-clock signals from the same sensor module 32, the acquisition control module 31 can calculate the 10 seconds of execution of the sub-clock and the corresponding consumed time on the master clock. The formula is:

[0157] The acquisition main control module 31 is based on and T xP, calculate the actual sampling rate F′ of the slave clock on the master clock x The formula is:

[0158] Therefore, the actual time corresponding to each sampling period of the slave clock on the master clock is:

[0159] The clock elapsed speed from the master clock and the slave clock is:

[0160] Therefore, the acquisition control module 31 receives the data of each sampling point of the sensor module 32, which means that this sampling cycle has experienced T' on the master clock. x The time consumed by the sampling cycle on the sensor module 32 is T x , and there are

[0161] The main control module 31 needs to collect the data of each sampling point of the sensor module 32 according to K x Scale by the ratio (K x Greater than 1) or stretching (K x Less than 1), the timestamp of each sampling point originally on the slave clock is mapped to the timestamp of the master clock.

[0162] In particular, when compressing or stretching the sensor data of the sensor module 32, the timestamps of all sampling points on the sensor module 32 should be multiplied by K x To obtain the real time stamp of the point on the master clock, and map the sampling point to K on the master clock x Sampling period ΔT at sampling rate x The timestamp of each sampling point after conversion should be placed at the interval ΔT x The nearest integer multiple position. To ensure that the converted sensor data is sampled at the master clock at the same rate as F x , remove more and supplement less.

[0163] As shown in Figure 9, due to network latency, sensor modules 32-1 and 32-2 will start up at different times. The timestamps on the slave master clock for these times are T1s0 = 337 and T2s0 = 837, respectively. (When sensor module 32 starts up, the slave master clock will sequentially receive slave clock signals.) After sensor module 32 starts up, its sensors will uniformly acquire samples under the operation of the slave clock. After acquiring M times the sampling rate (i.e., the slave clock has run for M seconds), M is 10 in this example. Due to the speed difference between the slave clocks and the slave master clock, after the slave clocks of sensor modules 32-1 and 32-2 have each executed for 10,000 milliseconds, the timestamps when the slave master clock receives their slave clock signals are T1s0 = 10,338 (the slave clock runs slower than the slave master clock) and T2s0 = 10,836 (the slave clock runs faster than the slave master clock). Therefore, it can be calculated that K1 = (10338-337) / 10000 = 10001 / 10000 K2 = (10836-837) / 10000 = 9999 / 10000

[0164] Since the speed difference between the slave clock and the master clock is caused by the crystal oscillator deviation, theoretically, the K value between two adjacent slave clock signals of each sensor module 32 is x , are the same. But in fact, the crystal oscillator deviation will be affected by factors such as temperature, K x is always changing. Therefore, it is only necessary to update K each time the timestamp alignment operation is processed. x The value of .

[0165] After getting the latest K x After the value of K is obtained, the acquisition control module 31 will multiply the timestamp of the sampling point in the acquisition data packet by K each time it receives the acquisition data packet from the sensor module 32. x The value is converted into the timestamp of the slave master clock; these sampling points are then evenly distributed on the timestamp of the slave master clock according to the set sampling rate.

[0166] For example, after calculating K1=1.0001, the timestamp of each data point of the sensor module 32-1 on the slave master clock is:

[0167] However, since the first slave clock corresponding to the sensor module 32-1 runs slower than the slave master clock, the sampling rate of the sensor module 32-1 on the slave master clock is:

[0168] Therefore, on the slave master's timeline, sensor module 32-1's sensor sampling rate is insufficient. The acquisition master control module 31 must reassign timestamps to these sampling points according to the sampling rate set by sensor module 32-1. Insufficient sampling points must be added at the missing time points. It should be noted that when aligning synchronous acquisition data packets in differential mapping mode, the addition of points is always performed at the end of the synchronization initiation cycle. When aligning synchronous acquisition data packets in telescoping mapping mode, the addition of points is performed every time a missing sampling point within 1ms is detected.

[0169] After calculating K2=0.9999, the timestamp of each data point of the sensor module 32-2 on the slave master clock is:

[0170] However, since the second slave clock corresponding to sensor module 32-2 runs faster than the slave master clock, the sampling rate of the sensor of sensor module 32-2 on the slave master clock is:

[0171] Therefore, on the slave master clock's timeline, the sensor sampling rate of sensor module 32-2 exceeds expectations. The acquisition master control module 31 must reassign timestamps to these sampling points according to the sampling rate set by sensor module 32-2. Any sampling points that exceed the specified time must be removed at the point in time when the sample exceeds the specified time. It should be noted that when aligning synchronous acquisition data packets in differential mapping mode, the removal operation is always performed at the end of the synchronization initiation cycle. When aligning synchronous acquisition data packets in telescoping mapping mode, the removal operation is performed every time a duplicate sampling point is detected within 1ms.

[0172] Throughout the entire acquisition process, synchronization alignment operations are performed according to the aforementioned principles. Specifically, when using the telescopic mapping mode to align synchronous acquisition data packets, the true timestamp of each point in the sensor module 32 on the master clock must be restored, thus consuming a significant amount of computing power. In the specific application of this embodiment, the difference mapping mode is preferentially used to align synchronous acquisition data packets. When the cumulative deviation calculated by the difference mapping mode for aligning synchronous acquisition data packets exceeds a set judgment threshold, the telescopic mapping mode is conditionally used to align and process the data, reducing the impact of a large number of added or removed points on the true signal. This embodiment utilizes a judgment threshold to select between two synchronization alignment methods, thereby ensuring both low computing power and data authenticity.

[0173] As shown in Figures 11 and 12, at least one embodiment provides a multi-device multi-physiological parameter synchronization device, including: a central processing system 1, a synchronization source subsystem 2 and at least two acquisition subsystems 3; wherein the central processing system 1 sends at least one synchronization instruction to the synchronization source subsystem 2; the synchronization source subsystem 2 generates a third synchronization information packet and a first synchronization information packet based on the synchronization instruction; the acquisition subsystem 3 obtains and verifies the first synchronization information packet and generates a second synchronization information packet based on the verification result; the central processing system 1 obtains the third synchronization information packet and the second synchronization packet and performs information matching to align the acquisition data packets of the acquisition subsystem 3.

[0174] To achieve data synchronization for multiple independent acquisition subsystems 3, compared to existing synchronization schemes, the multi-device, multi-physiological parameter synchronization apparatus of this embodiment simultaneously transmits a synchronization packet to both the central processing system 1 and the acquisition subsystem 3 each time wireless data synchronization is performed. The central processing system only performs data alignment and fusion based on the time information contained in the synchronization packet and the acquisition data packet. In existing synchronization schemes, each time synchronization is initiated, the central processing system 1 generates a random synchronization number. This random synchronization number is randomly generated by the central processing system and then handshakes with each independent acquisition device subsystem (slave clock), notifying it to prepare to receive a synchronization signal containing the current random synchronization number. The central processing system 1 then communicates this random synchronization number to the master clock and controls the synchronization source to transmit the synchronization signal via wireless broadcast (a set of radio signals transmitted instantaneously, which theoretically can be received almost simultaneously by nearby radio receiving devices) via the master clock to the slave clock. If the slave clock determines that the random synchronization number in the received synchronization packet matches the latest random synchronization number received from the central processing system, it considers synchronization successful and resets its own timestamp to zero. At this point, the central processing system 1 shakes hands with the slave clock again and obtains its latest synchronization random number. If the slave clock's synchronization random number matches the latest synchronization random number of the central processing system 1, it indicates that the slave clock has successfully received the synchronization signal from the master clock, and the central processing system 1, the master clock, and the slave clock are successfully synchronized. Otherwise, the central processing system 1, the master clock, and the slave clock are considered to have failed to synchronize. In the prior art, the synchronization random number generated by the central processing system is used as the judgment basis, requiring frequent information exchange between the central processing system, the master clock, and the slave clocks. Embodiment 4 of the present application eliminates the need for the central processing system 1 to interact with the master clock 22 to transmit the synchronization random number and with the slave clocks 33 of each independent acquisition subsystem 3 each time synchronization is initiated. Furthermore, after the central processing system controls the master clock 22 to send a synchronization information packet, it interacts with each slave clock 33 to verify the synchronization random code and determine whether synchronization is successful. When there are a large number of independent acquisition subsystems 3 in the system, the synchronization process using the existing synchronization scheme is more complicated, the workload is large, and a central processing system 1 or / and acquisition subsystem 3 with higher processing capabilities is required, resulting in a higher cost for the entire synchronization device. The synchronization random number is issued by the central processing system 1. Due to the stability problem of the wireless network signal, the time when multiple acquisition subsystems 3 receive the synchronization code is uncertain. If the wireless network signal is unstable, it will take a considerable amount of time for multiple acquisition subsystems 3 to complete a synchronization process, resulting in the inability to complete the synchronization of all devices within a synchronization initiation cycle, and the overall synchronization stability of the system cannot be guaranteed.

[0175] In some embodiments, the synchronization source subsystem 2 generates the third synchronization information packet and the first synchronization information packet based on the synchronization instruction, which can avoid frequent information interaction between the central processing system 1 and each acquisition subsystem 3 during the synchronization period. When there are more acquisition subsystems 3, the acquisition steps are simple, and multiple acquisition subsystems are synchronized with the synchronization source subsystem, avoiding the situation where multiple acquisition subsystems cannot complete synchronization within a synchronization initiation cycle due to unstable wireless network signals between the central processing system and the sub-clock, thereby ensuring the stability of synchronization.

[0176] The synchronization clock unit 311 of each acquisition subsystem 3 serves as a slave master clock and is connected to the master master clock 22 in the synchronization source subsystem. The synchronization source subsystem 2 generates a third synchronization information packet and a first synchronization information packet based on the synchronization instruction issued by the central processing system 1, and sends the first synchronization information packet to the synchronization clock unit 311 of the acquisition subsystem 3. The synchronization clock unit 311 sends the first synchronization information packet with a synchronization initiation cycle; the sensor module 32 of the acquisition subsystem 3 obtains and verifies the first synchronization information packet and generates a second synchronization information packet based on the verification result. The synchronization method of the data collected by each sensor module 32 in each acquisition subsystem in the time domain refers to the aforementioned single-device multi-physiological parameter synchronization and fusion method, which will not be repeated here.

[0177] In some embodiments, the third synchronization information packet generated by the synchronization source subsystem 2 based on the synchronization instruction includes the time information when the synchronization source subsystem 2 initiates the synchronization, namely the third timestamp, the unique identification code, and the synchronization sequence number, and the first synchronization information packet, the first synchronization information packet including the unique identification code and the synchronization sequence number, wherein the acquisition subsystem 3 corresponds one-to-one with the unique identification code, and the acquisition subsystem 3 verifies the first synchronization information packet including the following steps:

[0178] The acquisition subsystem 3 verifies whether the first synchronization information packet contains the agreed unique identification code. If the agreed unique identification code is not present, the acquisition subsystem 3 does not respond to the synchronization instruction. If the agreed unique identification code is present, the acquisition subsystem 3 responds to the synchronization instruction, obtains the synchronization sequence code, and generates a second synchronization information packet based on the current time. The second synchronization information packet includes: the synchronization sequence code, the unique identification code, and the second timestamp.

[0179] It should be noted that in existing synchronization schemes, the synchronization random code is randomly generated by the central processing system, making it easy for synchronization packets from multiple acquisition systems within an environment to interfere with each other. When an environment contains multiple acquisition systems consisting of central processing systems 1, slave clocks, and master-slave master clocks (for example, two identical systems, A and B, exist in the environment), since the central processing system 1 determines the success of slave clock and master-slave master synchronization based on the synchronization random code generated by the central processing system 1, it is possible that the synchronization random codes of systems A and B are identical. Consequently, the slave clocks in system A will simultaneously receive wireless data synchronization packets from system B, and vice versa. In other words, a slave clock in system A will receive a synchronization packet it believes is valid at the wrong time and begin resetting its own timestamp. The same will happen to the slave clock in system B, disrupting the synchronization mechanisms of systems A and B. This embodiment utilizes a unique identification code corresponding to each acquisition subsystem 3 to determine whether to respond to a synchronization instruction, addressing the problem of synchronization random codes disrupting the synchronization mechanisms between multiple acquisition subsystems 3 in existing synchronization schemes.

[0180] In existing synchronization schemes, the synchronization random code used for each synchronization is randomly generated by the central processing system 1, and there is no logical relationship between the synchronization random codes of multiple synchronization processes. When performing non-real-time data processing, it is impossible to distinguish in which synchronization process a specific synchronization random code is effective during data analysis, and it is impossible to perform integration and synchronization operations on this data. The synchronization device in this embodiment uses a synchronization source subsystem to issue a synchronization information packet, which includes a unique identification code and a synchronization sequence number. The use of the unique identification code and synchronization sequence number enables the acquisition subsystem 3 to quickly and accurately determine whether to perform synchronization action and accurately locate the synchronization process after which the data occurred, thus solving the problem of existing synchronization schemes that cannot perform non-real-time data synchronization processing.

[0181] As shown in Figure 13, in some embodiments, the central processing system 1 includes a data processing module 11 and a first communication module 12; the data processing module 11 is connected to the first communication module 12, and the synchronization source subsystem 2 and the acquisition subsystem 3 are both signal-connected to the first communication module 12; the first communication module 12 establishes a wireless network connection through a second communication protocol to ensure effective and accurate transmission of data between the central processing system 1 and the synchronization source subsystem 2 and the acquisition subsystem 3.

[0182] Specifically, the third synchronization information packet includes a third timestamp, a unique identification code, and a synchronization sequence code; the data processing module 11 of the central processing system 1 determines the synchronization between the third synchronization information packet and the second synchronization information packet through time mapping. Time mapping includes: according to the third timestamp T in the third synchronization information packet S0 , the second timestamp T in the second synchronization information packet SX , calculate the acquisition timestamp T corresponding to the acquisition data packetZ , to obtain the synchronization time of the third synchronization information packet and the second synchronization information packet, and map the corresponding timestamp information to the acquisition data packet. The synchronization device of the present invention does not need to reset the sub-clock corresponding to each acquisition subsystem 3. Instead, it calculates the time information corresponding to the acquisition data packet of each acquisition subsystem 3 using the time information of the synchronization source subsystem 2 as a reference through time mapping. This ensures data synchronization of the acquisition data packets of multiple acquisition subsystems 3 without affecting the time information of the acquisition subsystem 3 itself.

[0183] In some embodiments, the central processing system 1 arranges and stores the data in the aligned collected data packets and the parameter configuration of the collection subsystem 3. The parameter configuration of the collection subsystem 3 includes at least one of the number of bits, length, sampling rate, and packet rate. The data in the aligned collected data packets includes stimulus events and / or environmental variables and / or related physiological parameters. In the present invention, the formats of the data packets sent to the central processing system 1 by each collection subsystem 3 may vary depending on actual needs, such as data length, sampling rate, and packet rate. For slowly changing environmental variables such as temperature and humidity, the sampling rate is low, the packet rate is high, and the data volume per packet is low. However, when collecting physiological EEG parameters, EEG data changes rapidly and requires high accuracy, so the packet rate is moderate and the data volume per packet is large. The central processing system is responsible for arranging, storing, or performing other operations on the data based on actual needs, taking into account information such as the length, sampling rate, and packet rate of the received data.

[0184] As shown in Figures 12 and 13, the synchronization source subsystem 2 in this embodiment includes a second communication module 21, which is communicatively connected to the first communication module 12 via a second communication protocol; a master clock 22, which initiates third and first synchronization packets at a predetermined synchronization initiation period. The synchronization source subsystem 2 also includes a first wireless transceiver module 23, which is configured to receive synchronization instructions and transmit the third and first synchronization packets. Each acquisition subsystem 3 includes a third communication module 36, which is signal-connected to the first communication module 12 via a second communication protocol; and a slave clock 33, which is configured to generate corresponding timestamps, i.e., the slave clock 33 is configured to generate the second and acquisition timestamps. Each acquisition subsystem 3 also includes a data transmission module 37, which is configured to transmit acquisition data packets, and a second wireless transceiver module 34, which is configured to receive synchronization instructions and the first synchronization packets. The acquisition subsystem 3 can be one or more of a stimulator, an environmental variable acquisition device, and a physiological acquisition device.

[0185] It should be noted that the second communication protocol is a connection-oriented communication protocol, preferably TCP / IP protocol, Bluetooth, Bluetooth BLE protocol. The communication protocol between the first wireless transceiver module 23 and the second wireless transceiver module 34 adopts a wireless connection protocol, preferably but not limited to UDP protocol or ICMP protocol.

[0186] In some embodiments, the synchronization initiation period is set as follows:

[0187] The initial synchronization initiation period is set before acquisition subsystem 3 begins acquisition, based on the crystal oscillator of each sensor module in acquisition subsystem 3. Furthermore, taking the example of acquisition subsystem 3 using a crystal oscillator with a ±Xppm (X seconds per million seconds) deviation, the clock deviation between acquisition subsystems 3 is no greater than 2Xppm. That is, the clock of acquisition subsystem 3 will only deviate by 1 millisecond every 500,000 / X milliseconds. In this case, the synchronization period only needs to be less than 50,000 / X milliseconds to maintain the synchronization accuracy of synchronization source subsystem 2 and acquisition subsystem 3 within 1 millisecond. Specifically, when X = 10, synchronization only needs to be completed within 50 seconds to achieve a synchronization accuracy of less than 1 millisecond. Conversely, if synchronization needs to be completed within Y seconds, the clock deviation of acquisition subsystem 3 and synchronization source subsystem 2 must be less than 1 millisecond within Y seconds. The crystal oscillator deviation of acquisition subsystem 3 and synchronization source subsystem 2 cannot exceed 1 / 1000Y, that is, it should be less than 1000 / Yppm to ensure a synchronization accuracy of at least 1 millisecond. Therefore, the use of a higher-precision crystal oscillator can reduce the frequency of the central processing system 1 operating on the sampling points or de-sampling points of the data of the acquisition subsystem 3 during each synchronization.

[0188] The dynamic synchronization initiation cycle is set. That is, after the acquisition subsystem 3 starts collecting, when the central processing system 1 detects that the sampling points are frequently supplemented or removed, the central processing system 1 sends a dynamic adjustment instruction to the acquisition subsystem 3. Furthermore, when the environmental impact is relatively large (such as temperature or humidity), the stability of the crystal oscillator will be affected and fluctuate, which may not achieve the expected effect. At this time, the impact of the crystal oscillator fluctuation will directly affect the data collection of the sensor, resulting in a decrease or increase in the number of sensor sampling points during the synchronization initiation cycle. Therefore, when the acquisition subsystem 3 is processing the sensor data of the external probe, if the behavior of supplementing or removing sampling points frequently occurs, it can be considered that the number of sensor data points of the external probe does not meet the design expectation (more or less than the expected value) during the synchronization initiation cycle. The central processing system 1 detects that the sampling points are frequently supplemented or removed, and the central processing system 1 sends a dynamic adjustment instruction to the acquisition subsystem 3 to control the shortening or lengthening of the synchronization initiation cycle of the acquisition subsystem 3, thereby increasing the transmission frequency of the synchronization signal. Therefore, according to the above principles, by improving the accuracy of the crystal oscillator in the clock source unit and shortening the synchronization response time to ensure the appropriateness of the synchronization initiation cycle, higher synchronization accuracy (<1ms) can be achieved.

[0189] At least one embodiment provides a method for synchronizing multiple physiological parameters of multiple devices, as shown in FIG15 , the method comprising the following steps:

[0190] Step S21: A closed-loop wireless transmission system is constructed by the multi-device multi-physiological parameter synchronization apparatus as described above, i.e., a one-to-one relationship is formed between the central processing system 1 and the synchronization source subsystem 2, a one-to-many relationship is formed between the synchronization source subsystem 2 and the multiple acquisition subsystems 3, and a many-to-one relationship is formed between the multiple acquisition subsystems 3 and the central processing system 1;

[0191] Step S22: Initiate a synchronization instruction. The central processing system 1 initiates a synchronization instruction to the synchronization source subsystem 2. After receiving the synchronization instruction, the synchronization source subsystem 2 simultaneously sends a third synchronization information packet to the central processing system 1 and sends the first synchronization information packet to the multiple acquisition subsystems 3.

[0192] In step S22, each time the synchronization source subsystem 2 sends the third and first synchronization packets, it requests that the synchronization sequence number of each synchronization packet be updated. This synchronization sequence number increments after each synchronization. This ensures that even during non-real-time data processing, the synchronization sequence number in each synchronization packet can be used to determine which synchronization process the data occurred after. This also enables the central processing system 1 to synchronize and analyze data stored locally by the acquisition subsystem 3, avoiding packet loss caused by wireless network instability and improving stability.

[0193] Step S223, verifying information. After receiving the first synchronization information packet, multiple acquisition subsystems 3 verify the information, generate a second synchronization information packet after verifying the verification result, and transmit the second synchronization information packet to the central processing system 1; further, the verification process includes the acquisition subsystem 3 verifying whether there is an agreed unique identification code in the first synchronization information packet; if there is no agreed unique identification code, the acquisition subsystem 3 does not respond to the synchronization instruction; if there is an agreed unique identification code, the acquisition subsystem 3 responds to the synchronization instruction, and the acquisition subsystem 3 obtains the current synchronization sequence number and generates the second synchronization information packet in combination with the current timestamp.

[0194] Step S224, matching information, the central processing system 1 matches the third synchronization information packet with the second synchronization information packet;

[0195] Furthermore, the data processing module 11 of the central processing system 1 determines the synchronization between the third synchronization information packet and the second synchronization information packet through time mapping to align the acquisition data packets. Based on the data information in the acquisition data packets, the central processing system 1 determines the processing method for executing the acquisition data packets and the storage location of each sampling point, thereby arranging and storing the aligned acquisition data packets. The acquisition data collected by each acquisition subsystem 3, after being time-stamped, is then arranged according to the order of their timestamps on the clock of the synchronization source subsystem 2. If the sampling rates are inconsistent, the sparseness of the sampling point arrangement will vary. The central processing system 1 stores these arranged sampling points for waveform drawing or other purposes.

[0196] Step S225: Adjust the synchronization initiation period, and dynamically adjust the synchronization instruction initiation period according to the matching result.

[0197] The central processing system 1 calculates the time stamp T according to the third time stamp T S0 and the second timestamp T SX , determine the moment when synchronization occurs, calculate the acquisition timestamp TZ corresponding to the acquisition data packet, and perform data processing and alignment on the received acquisition data packet. The data in the acquisition data packet is aligned data. When a certain external stimulus occurs, the multi-parameter physiological signals collected from the subject are valid data and have research value.

[0198] It should be further explained that the central processing system 1 uses the time information T in the acquisition data packet transmitted by the acquisition subsystem. X , the timestamp T when synchronization source subsystem 2 initiates synchronization S0 and the second timestamp T SX , recalculate the time information T in the collected data packet through the mapping formula Z The above mapping formula is:

[0199] T Z =T S0 +(T X-T SX ), S = 1, 2, 3, 4, ..., where S represents the number of synchronizations, which is accumulated as the synchronization information packets are sent.

[0200] Specifically, the two acquisition subsystems 3 are further illustrated by a strategy of generating data every 10 seconds after the clock of the synchronization source subsystem 2 is running at a sampling rate of 1000 Hz (T1 = 1 ms), a single sampling point package, and synchronization. The data processing and alignment methods of the sub-clock 33 under the sampling rate, package mechanism, and synchronization initiation period can be deduced similarly.

[0201] After completing step S21, the two acquisition subsystems 3 are started to start transmission and the wireless transceiver module of the synchronization source subsystem 2 is started. Since the synchronization command adopts a connection-oriented communication protocol, there is a certain delay in command transmission, so each acquisition subsystem 3 does not start accumulating its own timestamp at the same time.

[0202] The central processing system 1 obtains the data packets collected by the collection subsystem 3 and the third synchronization information packet each time the synchronization is triggered. The whole process is shown in FIG16 .

[0203] During the preparation phase, due to communication delays, the clocks of acquisition subsystems 3 are not started simultaneously. Since the initial synchronization was not completed, the data packets from the subsystems during the preparation phase are all in an unsynchronized state, so the central processing system 1 can discard these data. Due to individual differences in clock sources (crystal oscillators), the clocks of each subsystem will inevitably run at different speeds. To ensure synchronization between each acquisition subsystem 3, it is necessary to ensure that each acquisition subsystem 3 maintains a consistent number of sampling points within each synchronization initiation cycle.

[0204] At the first synchronization time (synchronization sequence number is 1), the timestamps of the synchronization information packets uploaded by each subsystem have accumulated to T 00 、T 01 and T 02 At this time, the central processing system 1 obtains each time stamp and subtracts T 00 、T 01 and T 02 To calculate the relative timestamp T of each collected data packet 0R 、T 1R and T 2R Therefore, after each synchronization moment, T 0R 、T 1R and T 2R It will start accumulating again from 0 until the next synchronization time.

[0205] When the second synchronization moment (issued after the clock of synchronization source subsystem 2 runs for 10 seconds, the synchronization sequence number is 2) arrives, the relative timestamp of synchronization source subsystem 2 accumulates to T 0R= 10000. Due to the difference between its own clock source and the master clock 22, the relative timestamps of the acquisition subsystem 3 are accumulated to T 1R =9999 (clock is slower than that of synchronization source subsystem 2) and T 2R =10001 (the clock is slightly faster than that of synchronization source subsystem 2). At this point, central processing system 1 will add the data of one point (10000-9999) to acquisition subsystem 3 and remove the data of the previous point (10001-10000) for acquisition subsystem 3, so that acquisition subsystem 3 and subsystem 2 upload the complete 10,000 sampling points of data during the synchronization period.

[0206] At each synchronization moment and synchronization initiation cycle, the central processing system 1 continues to use the above-mentioned processing method to process the acquisition subsystem 3 and the synchronization source subsystem 2 until the acquisition process is stopped.

[0207] The clock characteristics of acquisition subsystem 3 (e.g., always running faster or slower than the clock of synchronization source subsystem 2 within 10 seconds) are for illustrative purposes only. Actual deviations depend on the performance of the selected crystal oscillator. If the crystal oscillator's accuracy is fixed and additional sampling points need to be added or removed during each synchronization cycle, the impact of accumulated clock error on signal quality can be reduced by adjusting the synchronization initiation period.

[0208] While this embodiment solves the problem of multiple acquisition subsystems 3 losing temporal correlation as acquisition time increases, it also achieves precise wireless data synchronization over long periods of time, improving synchronization efficiency and ensuring data transmission stability. Especially when multiple acquisition subsystems 3 are present, the acquisition process is simplified, stability is improved, and non-real-time data synchronization processing can be achieved. Furthermore, since the acquisition subsystem 3 only needs to generate a synchronization packet to record the timestamp of the synchronization moment upon receiving a synchronization instruction, computing power of the acquisition subsystem 3 is conserved, simplifying the processing logic of the central processing system 1.

[0209] Because multiple independent signal acquisition devices, primarily using wireless transmission, operate under their own clock sources, each with inherent clock skew, the number of acquisitions triggered between devices can vary within the same natural timeframe. When analyzing this data, these skewed acquisition times can cause a loss of temporal correlation between the data collected by the devices.

[0210] Existing multi-device, multi-physiological parameter acquisition systems are used online. A central processing system 1, such as a PC, is used to receive, process, and plot sensor data from the acquisition subsystem 3 in real time. It also controls the synchronization module to initiate real-time synchronization tasks and complete online synchronization of all subsystems. When the network environment fluctuates, such as when the wireless network environment is poor, the real-time performance and packet loss rate of the acquired data packets are difficult to guarantee, making it difficult for the central processing system 1 to implement functions such as online analysis and preview. Furthermore, after the central processing system 1 activates each acquisition subsystem 3, if a particular acquisition subsystem 3 leaves the current network environment, such as when a user needs to carry a wireless acquisition device outside the laboratory, the central processing system 1, which relies on online real-time data processing, will be completely unable to obtain the sensor data at that time, and the data during this period will be lost. During the experiment, the user is forced to stay in the current network environment, which to a certain extent limits the user's freedom of movement.

[0211] At least one embodiment also provides an offline acquisition device, which can avoid the loss of sensor data of the acquisition subsystem 3 due to a poor wireless network environment or when the device is offline. As shown in Figures 13 to 15, the offline acquisition device also includes: the synchronization source subsystem 2 also includes a second data storage module 24; the acquisition subsystem 3 also includes a third data storage module 35; the central processing system 1 only sends a synchronization instruction to the synchronization source subsystem 2 once, and stores the synchronization instruction set as the synchronization source subsystem 2 in the second data storage module 24; the third data storage module 35 is used to store the acquisition data packet and the second synchronization information packet, and the second data storage module 24 is also used to store the third synchronization information packet.

[0212] It should be noted that before the central processing system 1 issues a synchronization instruction to the synchronization source subsystem 2, it communicates with the synchronization source subsystem 2 and each acquisition subsystem 3 via the second communication protocol. The central processing system 1 sends experimental information to the synchronization source subsystem 2 and each acquisition subsystem 3. The second data storage module 24 of the synchronization source subsystem 2 and the third data storage module 35 of each acquisition subsystem 3 respectively store the experimental information. This experimental information includes patient information, experimental site, experiment start time, experiment stop time, and the identity information of the synchronization source subsystem 2 and acquisition subsystem 3 used in the experiment.

[0213] In some embodiments, the central processing system 1 further includes a first data storage module 13 for locally storing experimental information.

[0214] The central processing system 1 obtains the locally stored data from the second data storage module 24 and the third data storage module 35 and performs data processing and alignment. Specifically, the central processing system 1 obtains the third synchronization information packet stored in the second data storage module 24 and the second synchronization information packet stored in the third data storage module 35. The central processing system 1 matches the third synchronization information packet with the second synchronization information packet based on the experimental information and aligns the collected data packets.

[0215] In some embodiments, the central processing system 1 sends a synchronization command to the synchronization source subsystem 2 only once during initial setup. The synchronization source subsystem 2 stores the command stream of the uplink synchronization command and the command stream of sending the downlink synchronization information packet. The uplink and downlink command streams between each acquisition subsystem 3 and the central processing system 1 are all stored in a local data storage module. When a problem occurs in the network connection between the central processing system 1 and the acquisition subsystem 3 (such as a network interruption), the synchronization source subsystem 2 and the acquisition subsystem 3 can still complete subsequent synchronization services. The data storage module enables offline use of the acquisition device (data is stored locally on the device rather than directly transmitted to the central processing system 1). The data storage module first stores data, experimental information, and command streams. The central processing system 1 then obtains the synchronization signal and acquisition data during the period when the wireless connection was lost for analysis and use, and synchronizes the offline data collected by each acquisition subsystem 3. It has the ability to collect and synchronize offline data, which greatly avoids the problems of increased packet loss rate and unreliable real-time data caused by unstable wireless network environment. It is suitable for multi-device application scenarios. In addition, the collected offline data is synchronized, and the stored data has high experimental value.

[0216] At least one embodiment further provides a multi-device multi-physiological parameter offline acquisition method, as shown in FIG17 , the offline acquisition method includes:

[0217] Step A1, setting synchronization instructions, that is, setting synchronization instructions of the synchronization source subsystem 2 through the central processing system 1;

[0218] Step A2, building a synchronous transmission system, that is, forming a one-to-many relationship between the synchronous source subsystem 2 and the multiple acquisition subsystems 3;

[0219] Step A3: Initiate a synchronization action. The synchronization source subsystem initiates the synchronization action, generating a third synchronization information packet and a first synchronization information packet. The synchronization source subsystem locally stores the third synchronization information packet and sends the first synchronization information packet to the synchronization clock units of the multiple acquisition subsystems. The synchronization clock units then send the first synchronization information packet at the synchronization initiation period.

[0220] A4, verification information, the sensor modules of the multiple acquisition subsystems verify the information after receiving the first synchronization information packet, and generate a second synchronization information packet after verifying the verification result, and the multiple acquisition subsystems locally store the second synchronization information packet;

[0221] The acquisition subsystem 3 verifies whether the first synchronization information packet contains the agreed unique identification code;

[0222] If there is no agreed unique identification code, the acquisition subsystem 3 does not respond to the synchronization instruction;

[0223] If there is an agreed unique identification code, the acquisition subsystem 3 responds to the synchronization instruction, obtains the current synchronization sequence number, and generates a second synchronization information packet in combination with the current timestamp.

[0224] In some embodiments, the method further includes: A5, data aggregation, wherein the central processing system 1 obtains the third synchronization information packet stored in the second data storage module 24 and the second synchronization information packet stored in the third data storage module 35. The central processing system 1 matches the third synchronization information packet with the second synchronization information packet based on the experimental information, thereby aligning the collected data packets. Furthermore, the central processing system 1 realigns the timestamps of the collected data packets based on the timestamp information of each synchronization information packet, and synchronizes, dumps, replays, and analyzes the offline data after the timestamp processing.

[0225] In some embodiments, before executing step A1, the central processing system 1 sends experimental information to the synchronization source subsystem 2 and each acquisition subsystem 3, and the second data storage module 24 of the synchronization source subsystem 2 and the third data storage module 35 of each acquisition subsystem 3 respectively save the experimental information.

[0226] Taking the strategy of two acquisition subsystems 3 running at a 1000 Hz sampling rate (T1 = 1 ms), single sampling point packaging, and synchronization with the clock of the synchronization source subsystem 2 and generating data every 10 seconds as an example, the data processing and alignment method of the sub-clock 33 under the sampling rate, packaging mechanism, and synchronization period can be deduced similarly.

[0227] After completing steps A1 and A2, the central processing system 1 activates the two acquisition subsystems 3 to initiate transmission and the wireless transceiver module of the synchronization source subsystem 2. Because control commands require a connection-oriented communication protocol, command transmission has a certain delay, so each acquisition subsystem 3 does not begin accumulating its own timestamps at the same time.

[0228] After the central processing system 1 starts the acquisition, the acquisition subsystem 3 locally stores the acquisition data packet and the second synchronization information packet when each synchronization is triggered. The synchronization source subsystem 2 locally stores all synchronization information packets, experimental information and command streams. The entire process is shown in Figure 18.

[0229] After stopping the acquisition, the central processing system 1 selects the offline data of the corresponding experiment from the subsystem according to the locally stored experimental information, and reads and processes the data according to the following principles:

[0230] (1) Data where no synchronization packets are read indicates that the experiment is in the preparation phase. Due to communication delays, the subsystem clocks are not started simultaneously. Since the first synchronization is not completed, the acquisition data packets of the acquisition subsystem 3 in the preparation phase are all in an unsynchronized state. Therefore, the central processing system 1 can discard this data.

[0231] (2) Due to individual differences in the clock source (crystal oscillator), the clocks of each subsystem will inevitably be faster or slower. In order to synchronize the system, it is necessary to ensure that each acquisition subsystem 3 maintains a consistent number of sampling points within each synchronization cycle. Assume that when the central processing system 1 reads the first synchronization information packet from the offline data of the synchronization source subsystem (the synchronization sequence number is 1), the timestamps of the synchronization information packets uploaded by each subsystem have accumulated to T 00 、T 01 and T 02 At this time, the central processing system 1 needs to deduct T from the timestamps of the collected data packets stored in each collection subsystem 3 that is subsequently read. 00 、T 01 and T 02 To calculate the relative timestamp T of each collected data packet 0R 、T 1R and T 2R Therefore, each time the central processing system 1 reads the synchronization information packet, T 0R 、T 1R and T 2R It will start accumulating again from 0 until the next synchronization packet is read.

[0232] When the central processing system 1 reads the next synchronization information packet (issued after the synchronization source subsystem 2 clock runs for 10 seconds, the synchronization sequence number is 2), the relative timestamp of the synchronization source subsystem 2 is accumulated to T 0R = 10000. Due to the difference between its own clock source and the master clock 22, the relative timestamps of the acquisition subsystem 3 are accumulated to T 1R =9999 (clock is slower than that of synchronization source subsystem 2) and T 2R =10001 (the clock is slightly faster than that of synchronization source subsystem 2). At this point, central processing system 1 will add the data of one point (10000-9999) to acquisition subsystem 3 and remove the data of the previous point (10001-10000) for acquisition subsystem 3, so that acquisition subsystem 3 and synchronization subsystem 2 upload a complete set of 10,000 sampling points of data during the synchronization period.

[0233] After the central processing system 1 reads each synchronization information packet, it continues to process the offline data of the acquisition subsystem 3 and the synchronization source subsystem 2 in the same manner as described above until a stop command is read or all data is read.

[0234] The clock characteristics of acquisition subsystem 3 (e.g., always slightly faster or slower than the clock of synchronization source subsystem 2 within 10 seconds) are for illustrative purposes only. Actual deviations depend on the performance of the selected crystal oscillator. If the crystal oscillator's accuracy is fixed and more sampling points need to be added or removed during each synchronization cycle, the impact of accumulated clock error on signal quality can be reduced by shortening the synchronization cycle.

[0235] In some embodiments, the synchronization source subsystem 2 is used to send synchronization instructions and send the first synchronization information packet through a wireless transmission frequency band (wireless transceiver module) that is not easily affected by environmental interference. Even if the central processing system 1 loses wireless connection with the synchronization source subsystem 2 or the acquisition subsystem 3, the synchronization source subsystem 2 and the acquisition subsystem 3 can still maintain the transmission and reception of synchronization signals based on the command stream in their own data storage modules. Due to the addition of data storage modules to the central processing system 1, the acquisition subsystem 3, and the synchronization source subsystem 2, the synchronization instructions, experimental information, command stream, synchronization information, and acquisition data are first stored. Then, the central processing system 1 obtains the synchronization information and acquisition data during the period when the wireless connection was lost, analyzes and uses them, and synchronizes the offline data collected by each acquisition subsystem 3. The ability to collect and synchronize offline data greatly avoids the problems of increased packet loss rate and unreliable real-time data caused by unstable wireless network environment; it is suitable for multi-device application scenarios. In addition, the collected offline data is synchronized, and the stored data has high experimental value.

[0236] While this patent document contains many specifics, they should not be construed as limitations on the scope of any invention or the claims, but rather as descriptions of features for particular embodiments of particular inventions. Certain features described in this patent document in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various functions described in the context of a single embodiment can also be implemented separately in multiple embodiments, or in any suitable subcombination. Furthermore, while the features described above may be described as functioning in certain combinations, or even initially claimed to be so, in some cases one or more features in a claim combination may be removed from the combination, and a claim combination may be directed to a subcombination or variations of a subcombination.

[0237] In the several embodiments provided herein, it should be understood that the disclosed devices and methods may also be implemented in other ways. The device embodiments described above are merely illustrative. For example, the flowcharts and block diagrams in the accompanying drawings illustrate the possible architectures, functions, and operations of the devices, methods, and computer program products according to various embodiments of the present invention. In this regard, each box in the flowchart or block diagram may represent a module, a program segment, or a portion of code, which contains one or more executable instructions for implementing the specified logical functions. It should also be noted that in some alternative implementations, the functions marked in the boxes may also occur in an order different from that marked in the accompanying drawings. For example, two consecutive boxes may actually be executed substantially in parallel, or they may sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart, may be implemented using a dedicated hardware-based system that performs the specified functions or actions, or may be implemented using a combination of dedicated hardware and computer instructions.

[0238] With the above-described preferred embodiments of the present invention as inspiration, and with reference to the above description, relevant personnel are fully capable of making various changes and modifications without departing from the technical scope of this invention. The technical scope of this invention is not limited to the contents of the specification and must be determined according to the scope of the claims.

Claims

1. A method for synchronizing and fusing multiple physiological parameters of a single device, characterized in that: include: A one-to-one wireless transmission system is constructed, that is, a one-to-one relationship is formed between the central processing system (1) and the acquisition main control module (31); A one-to-many wired transmission system is constructed, wherein the acquisition main control module (31) and the plurality of sensor modules (32) are connected by wires; Initiating a synchronization instruction, the central processing system initiates a synchronization instruction to the acquisition main control module (31), and after receiving the synchronization instruction, the acquisition main control module (31) sends a first synchronization information packet to the plurality of sensor modules (32) and records a timestamp T corresponding to the first synchronization information packet S0 ; Verify information, after receiving the first synchronization information packet, the plurality of sensor modules (32) verify the information, generate a second synchronization information packet after verifying the verification result, and transmit the second synchronization information packet to the acquisition main control module (31); The acquisition main control module (31) sends the timestamp T corresponding to the second synchronization information packet and the first synchronization information packet to the synchronization initiation cycle. S0 Information matching is performed to align the first acquisition data packet of the sensor module (32).

2. The method for synchronizing and fusing multiple physiological parameters of a single device as claimed in claim 1, characterized in that: The information verified by the plurality of sensor modules (32) after receiving the first synchronization information packet includes: The plurality of sensor modules (32) are synchronized through their respective initiation cycles t cn Check the timestamp T of the first synchronization packet received SX , if the timestamp of the first synchronization packet received is T SX The corresponding synchronization initiation period t cn In accordance with the first synchronization information packet, a timestamp T is attached. SX generating a second synchronization information packet; If the timestamp T when the first synchronization information packet is received SX The corresponding synchronization initiation period t cn If not consistent, the sensor module (32) does not process the received first synchronization information packet.

3. The method for synchronizing and fusing multiple physiological parameters of a single device as claimed in claim 2, characterized in that: The second synchronization information packet includes a timestamp T when the sensor module (32) receives the first synchronization information packet. SX ; The first collected data packet includes the physiological data collected by the sensor module (32) and a timestamp T of the time of collection. X .

4. The method for synchronizing and fusing multiple physiological parameters of a single device as claimed in claim 3, characterized in that: The timestamp T corresponding to the second synchronization information packet and the first synchronization information packet is set at the synchronization initiation cycle. S0 The information matching specifically includes: the acquisition main control module (31) matches the time information T in the first acquisition data packet X , collect the timestamp T of the synchronization initiated by the main control module (31) S0 and the timestamp T in the second synchronization information packet SX , recalculate the time information T in the collected data packet through the mapping formula Z .

5. The method for synchronizing and fusing multiple physiological parameters of a single device as claimed in claim 4, characterized in that: The mapping formula is: T Z =T S0 +(T X -T SX ), S = 1, 2, 3, 4..., where S represents the number of synchronizations, which is accumulated as the synchronization information packets are sent.

6. The method for synchronizing and fusing multiple physiological parameters of a single device as claimed in claim 2, characterized in that: The acquisition main control module (31) initiates a synchronization signal once within a synchronization initiation cycle corresponding to each of the sensor modules (32), wherein the synchronization initiation cycle t cn The settings include: Initial synchronization initiation cycle setting, that is, before the sensor module (32) starts collecting data, the crystal oscillator setting is performed according to the collecting main control module (31) and the sensor module (32); Dynamic synchronization initiates cycle setting, that is, after the sensor module (32) starts collecting data, when the central processing system (3) detects that data of supplementary sampling points or de-sampling points frequently occur, the central processing system (1) sends a dynamic adjustment instruction to the collection main control module (31).

7. A single-device multi-physiological parameter synchronization and fusion method acquisition system, characterized in that: include: A plurality of sensor modules (32) for collecting and transmitting multiple physiological parameters; A collection main control module (31) having a synchronous clock unit (11) is connected to the plurality of sensor modules (32) by wire, and is used to perform data synchronization alignment and fusion processing on the plurality of sensor modules, that is, the synchronous clock unit (11) sends a first synchronization information packet to the plurality of sensor modules (32), and the collection main control module (31) performs synchronization alignment and fusion processing on the first collection data packets collected by the plurality of sensor modules (32) to obtain a second collection data packet; The central processing system (1) is used to set parameters of a plurality of the sensor modules (32) and the acquisition main control module (31), send control instructions to the acquisition main control module (31) and receive the second acquisition data packet.

8. The acquisition system according to claim 7, characterized in that: The first collected data packet includes the data information collected by the sensor module (32) and the timestamp T when the data is collected. X The second acquisition data packet includes the acquisition information and the timestamp T after synchronization fusion processing Z .

9. The acquisition system according to claim 7, characterized in that: The acquisition main control module (31) records the time stamp T of the synchronization signal. S0 , receiving the synchronization signal packets sent by the plurality of sensor modules (32), and according to the timestamp T S0 , a synchronization signal package performs synchronization and fusion processing on the first acquisition data packets acquired by the plurality of sensor modules (32) to obtain a second acquisition data packet.

10. The acquisition system according to claim 7, characterized in that: The central processing system (1) comprises a data processing module (11) and a first communication module (12), wherein the data processing module (11) is connected to the first communication module (12), the data processing module (11) is used to perform data alignment processing on a second acquisition data packet, and the first communication module (12) is wirelessly connected to the acquisition main control module (31) via a second communication protocol, and is used to send the control instruction and transmit the second acquisition data packet.

11. The acquisition system according to claim 7, characterized in that: The acquisition main control module (31) also includes: A first clock source unit (313), used to generate a corresponding timestamp; The first data processing unit (312) processes the first data packet according to the time information T X , collect the timestamp T of the synchronization initiated by the main control module (31) S0 and the timestamp T in the second synchronization information packet SX , aligning and processing the first acquisition data packet to form a second acquisition data packet; A plurality of first data transmission units (314) are used for transmitting and receiving synchronization signal packets and acquisition data packets.

12. The acquisition system according to claim 10, characterized in that: The sensor module (32) comprises: At least one onboard sensor (321) is arranged on the acquisition main control module (31); A plurality of external probes (322); wherein The onboard sensor (321) and the external probe (322) are both connected to the first data transmission unit (314) by wire; a synchronization channel for transmitting a first synchronization information packet and / or a second synchronization information packet is provided between the onboard sensor (321) and the acquisition main control module (31), and between the external probe (322) and the acquisition main control module (31), and a plurality of the synchronization channels are interconnected.

13. The acquisition system according to claim 12, characterized in that: The onboard sensor (321) comprises: A second clock source unit (3211), for generating a corresponding timestamp; A second data transmission unit (3212), connected to the first data transmission unit (314); A second data processing unit (3213) is connected to the second clock source unit (3211) and the second data transmission unit (3212) to control the second clock source unit (3211) to generate a corresponding timestamp and the second data transmission unit (3212) to receive and transmit data; The external probe (322) comprises: A third clock source unit (3221), used to generate a corresponding timestamp; The third data transmission unit (3222) is connected to the first data transmission unit (314). The third data processing unit (3223) is connected to the third clock source unit (3221) and the third data transmission unit (3222) to control the third clock source unit (3221) to generate a corresponding timestamp and the third data transmission unit (3222) to receive and transmit data.

14. A data alignment method for collecting data packets, comprising: A one-to-one wireless transmission system is constructed, that is, a one-to-one relationship is formed between the central processing system (1) and the acquisition main control module (31); A one-to-many wired transmission system is constructed, wherein the acquisition main control module (31) and the plurality of sensor modules (32) are connected by wires; wherein: The acquisition main control module (31) includes a slave master clock, and each of the sensor modules (32) includes a slave clock; between the acquisition main control module (31) and each of the sensor modules (32), there is at least one synchronization signal channel and one slave clock signal channel for information exchange between the slave clock and the slave master clock; Alignment mode selection, the acquisition main control module (31) determines and selects a synchronization mode according to the received data packet information transmitted by the sensor module (32); Data alignment processing, the acquisition main control module (31) performs data alignment processing on the acquisition data packets transmitted by the sensor module (32) through a corresponding alignment mode according to the judgment result; Receiving and storing the aligned collected data packets, the central processing system (1) receives and stores the aligned collected data packets transmitted by the collected main control module (31).

15. The data alignment method according to claim 14, characterized in that: The data collection data packet transmitted by the sensor module (32) includes the number of sampling points, the collected data, and the sub-clock timestamp T corresponding to the time when the data is collected. X ; The acquisition main control module (31) determines and selects the alignment mode according to the number of sampling points in the data packet, including: Setting a judgment threshold of the sensor module (32), and setting a judgment threshold of the number of collection points corresponding to a collection data packet corresponding to the sensor module (32) when losing time relevance according to historical data; Collection point verification, the collection main control module (31) verifies the collection point information in the collection data packet received in real time with the judgment threshold; wherein, If the number of sampling points is within the set judgment threshold, the acquisition main control module (31) uses a difference mapping mode to align the acquisition data packets; if the number of sampling points exceeds the judgment threshold, the acquisition main control module (31) uses a telescopic mapping mode to align the acquisition data packets.

16. The data alignment method according to claim 15, characterized in that: The difference mapping mode aligns and collects data packets including: The alignment information packet is sent, the acquisition main control module (31) sends a first alignment information packet to each of the sensor modules (32) through the corresponding alignment signal channel according to the corresponding alignment initiation cycle, and records the alignment initiation time T s0 ; The sensor module (32) collects data and records the time information T of receiving the first alignment information packet. sx , repackaging to generate a second alignment information packet and sending it to the acquisition main control module (31); The time information of the collected data packet is aligned and calculated, and the collection main control module (31) receives and reads the collection time information T in the collection data packet transmitted by the sensor module (32). x , calculate the slave clock time T corresponding to the collected data packet through the mapping formula X’ =T X -T SX +T S0 .

17. The data alignment method according to claim 15, characterized in that: The acquisition main control module adopts the telescopic mapping mode to align the acquisition data packets, including: Setting the duration of the sub-clock signal interval of each sensor module (32) According to the sampling rate F of each sensor module (32) X The corresponding sampling point number setting value q is set, and the time period of the sampling point number setting value corresponding to the sensor module (32) is completed according to the historical data, that is, the duration of the sub-clock signal interval Sending a sub-clock signal, when the number of sampling points accumulated by the sensor module (32) reaches a set value, the sensor module (32) sends a sub-clock signal to the acquisition main control module (31) through the sub-clock signal channel; the acquisition main control module (31) records the timestamp T corresponding to the master clock when the sub-clock signal is received xsn ; Calculate the slave clock time corresponding to when the acquisition main control module (31) receives the acquisition data packet Sub-clock time T for replacing the collected data packet x , that is, to complete the synchronization of the collected data packets; among them, Said Its X is the clock elapsed speed from the master clock and the slave clock, k X =(the sampling rate of the sensor / the actual sampling rate of the slave clock corresponding to the master clock).

18. The data alignment method according to claim 17, characterized in that: The slave clock corresponds to the actual sampling rate of the master clock in, The time interval from the master clock to the slave clock is Where n=1, 2, 3, 4...

19. A multi-device multi-physiological parameter synchronization device, characterized in that: include: A central processing system (1), a synchronization source subsystem (2) and at least two acquisition subsystems (3); in The acquisition subsystem (3) comprises: an acquisition main control module (31) and a plurality of sensor modules (32); The central processing system (1) issues at least one synchronization instruction to the synchronization source subsystem (2); The synchronization source subsystem (2) generates a third synchronization information packet and a first synchronization information packet respectively based on the synchronization instruction, and sends the first synchronization information packet to the synchronization clock unit (311) of the acquisition subsystem (3), and the synchronization clock unit (311) sends the first synchronization information packet in a synchronization initiation cycle; The sensor module (32) of the acquisition subsystem (3) acquires and verifies the first synchronization information packet and generates a second synchronization information packet according to the verification result; The central processing system (1) acquires the third synchronization information packet and the second synchronization information packet and performs information matching to align the acquisition data packets of the acquisition subsystem (3).

20. The multi-device multi-physiological parameter synchronization device according to claim 19, characterized in that: The acquisition subsystem (3) verifies the first synchronization information packet including: The first synchronization information packet includes a unique identification code and a synchronization sequence code; The acquisition subsystem (3) verifies whether the first synchronization information packet contains the agreed unique identification code; If there is no agreed unique identification code, the acquisition subsystem (3) does not respond to the synchronization instruction; If there is an agreed unique identification code, the acquisition subsystem (3) responds to the synchronization instruction, the acquisition subsystem (3) obtains the synchronization sequence code, and generates a second synchronization information packet in combination with the current time, wherein the second synchronization information packet includes: a synchronization sequence code, a unique identification code and a second timestamp.

21. The multi-device multi-physiological parameter synchronization device according to claim 20, characterized in that: The central processing system (1) comprises a data processing module (11) and a first communication module (12); The data processing module (11) is connected to the first communication module (12), and the synchronization source subsystem (2) and the acquisition subsystem (3) are both signal-connected to the first communication module (12); wherein: The third synchronization information packet includes a third timestamp, a unique identification code and a synchronization sequence code; The central processing system (1) determines the synchronization between the third synchronization information packet and the second synchronization information packet through time mapping, so as to align the acquisition data packets of the acquisition subsystem (3).

22. The multi-device multi-physiological parameter synchronization device according to claim 21, characterized in that: The time mapping includes: according to the third time stamp T in the third synchronization information packet S0 , the second timestamp T in the second synchronization information packet SX , calculate the acquisition timestamp T corresponding to the acquisition data packet Z , to obtain the synchronization occurrence time of the third synchronization information packet and the second synchronization information packet, and map the corresponding timestamp information on the acquisition data packet.

23. The multi-device multi-physiological parameter synchronization device according to claim 22, characterized in that: The central processing system (1) arranges and stores the data information of the aligned collected data packets and the parameter configuration of the collection subsystem (3), wherein: The parameter configuration of the acquisition subsystem (3) includes at least one of the number of bits, length, sampling rate, and packet sending rate; The data information of the aligned acquisition data packets includes stimulation events and / or environmental variables and / or related physiological parameters.

24. The multi-device multi-physiological parameter synchronization device according to claim 19, characterized in that: The synchronization source subsystem (2) comprises: A second communication module (21); The master clock (22) initiates the third synchronization information packet and the first synchronization information packet at a set synchronization initiation cycle.

25. The multi-device multi-physiological parameter synchronization device according to claim 24, characterized in that: The method for setting the synchronization initiation period includes: Setting the initiation cycle of initial synchronization, that is, before the acquisition subsystem (3) starts acquisition, setting the crystal oscillator of each corresponding sensor module in the acquisition subsystem (3); The dynamic synchronization initiation cycle is set, that is, after the acquisition subsystem (3) starts acquisition, when the central processing system (1) detects data of frequent supplementary sampling points or de-sampling points, the central processing system (1) sends a dynamic adjustment instruction to the acquisition subsystem (3).

26. The multi-device multi-physiological parameter synchronization device according to claim 20, characterized in that: Each of the acquisition subsystems (3) comprises: A third communication module (36); The slave clock (33) is used to generate a corresponding timestamp.

27. The multi-device multi-physiological parameter synchronization device according to claim 22, characterized in that: The acquisition subsystem (3) is one or more of a stimulator, an environmental variable acquisition device, and a physiological acquisition device.

28. A method for synchronizing multiple physiological parameters of multiple devices, characterized in that: include: A closed-loop wireless transmission system is constructed by a multi-device multi-physiological parameter synchronization device, that is, a one-to-one relationship is formed between the central processing system (1) and the synchronization source subsystem (2), a one-to-many relationship is formed between the synchronization source subsystem (2) and the plurality of acquisition subsystems (3), and a many-to-one relationship is formed between the plurality of acquisition subsystems (3) and the central processing system (1); Initiating a synchronization instruction, the central processing system (1) initiates the synchronization instruction to the synchronization source subsystem (2), and after receiving the synchronization instruction, the synchronization source subsystem (2) simultaneously sends a third synchronization information packet to the central processing system (1), and the plurality of acquisition subsystems (3) send a first synchronization information packet; Verify information, the plurality of acquisition subsystems (3) verify information after receiving the first synchronization information packet, generate a second synchronization information packet after verifying the verification result, and transmit the second synchronization information packet to the central processing system (1); Matching information, the central processing system (1) matches the third synchronization information packet with the second synchronization information packet; Adjust the synchronization initiation cycle and dynamically adjust the synchronization instruction initiation cycle according to the matching results.

29. An offline data collection device, characterized in that: include: A multi-device multi-physiological parameter synchronization device; wherein The synchronization source subsystem (2) further comprises a second data storage module (24); The acquisition subsystem (3) further comprises a third data storage module (35); The central processing system (1) sends a synchronization instruction to the synchronization source subsystem (2) only once during initial setting, and stores the synchronization instruction in the second data storage module (24) to be set as the synchronization instruction of the synchronization source subsystem (2); The third data storage module (35) is used to store the collected data packet and the second synchronization information packet.

30. The off-line data collection device according to claim 29, characterized in that: The central processing system (1) acquires the local storage data of the second data storage module (24) and the third data storage module (35), and performs data processing and alignment.

31. An offline data collection method of an offline collection device, characterized in that: include: Setting synchronization instructions, that is, setting synchronization instructions of the synchronization source subsystem (2) through the central processing system (1) during initial setting; Constructing a synchronous transmission system, that is, forming a one-to-many relationship between the synchronous source subsystem (2) and the plurality of acquisition subsystems (3); Initiating a synchronization action, the synchronization source subsystem (2) initiates the synchronization action to form a third synchronization information packet and a first synchronization information packet, the synchronization source subsystem (2) locally stores the third synchronization information packet, and sends the first synchronization information packet to the synchronization clock units of the plurality of acquisition subsystems (3), and the synchronization clock units then send the first synchronization information packet at a synchronization initiation cycle; Verify information, the sensor modules of the plurality of acquisition subsystems (3) receive the first synchronization information packet and verify the information, and generate a second synchronization information packet after verifying the verification result, and the plurality of acquisition subsystems (3) locally store the second synchronization information packet.

Citation Information

Patent Citations

  • Multi-device multi-physiological parameter synchronization device and method and offline acquisition device and method

    CN116991200A

  • Single-device multi-physiological parameter synchronization method, acquisition system and data alignment method

    CN116991201B

  • Method for precisely synchronizing wireless data of electroencephalogram device

    CN106332268A

  • Data synchronization method of electroencephalogram device and electroencephalogram device

    CN113143290A

  • Single-device multi-physiological parameter synchronization method, acquisition system and data alignment method

    CN116991201A

Cited By

  • Production process traceability method of hub type transmission device

    CN120013702A

  • Multi-mode driving signal high-precision synchronous acquisition method and system

    CN121453127A

  • Multi-branch networking system and communication method thereof

    CN121594481A

  • A multi-branch networking system and a communication method thereof

    CN121594481B