Data transmission system and method

The data transmission system managed by the central controller uses the power-off signal to trigger the scanning and retransmission of historical data, stops the power supply to unnecessary modules, and introduces a screen-off mode and timing control. This solves the data transmission problem of portable in vitro diagnostic instruments and achieves low-power, automated data retransmission and extended standby time.

CN118819276BActive Publication Date: 2025-10-24VIVACHEK BIOTECH HANGZHOU
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310435145.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-04-21
Publication Date
2025-10-24
Estimated Expiration
2043-04-21

AI Technical Summary

Technical Problem

Existing portable in vitro diagnostic instruments suffer from problems such as difficulty in network connection, data transmission failure, and high power consumption, resulting in shortened standby time, requiring users to charge frequently, and lacking an automated data retransmission mechanism.

Method used

The data transmission system, managed by a central controller, uses a switch module to collect power-off signals to trigger historical data scanning and retransmission, stops power supply to unnecessary modules, introduces a screen-off mode and a timing module to control the data retransmission time, and achieves automatic data retransmission through a communication module.

Benefits of technology

It effectively reduces device power consumption, extends standby time, improves user experience, ensures data integrity and automated retransmission, reduces user intervention, and supports testing needs anytime, anywhere.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118819276B_ABST
    Figure CN118819276B_ABST
Patent Text Reader

Abstract

The present application relates to a kind of data transmission system and method, especially in vitro diagnosis monitoring data transmission.The purpose of the present application is to reduce power consumption.A kind of data transmission system and method of the present application uses the power-off signal collected by switch module as the trigger condition of starting historical data scanning action, directly uses the action in client test program to start historical data scanning, and does not need to start through additional operation, not only convenient to use, ingenious design, but also can guarantee the integrity of test data when starting historical data scanning;In addition, stop supplying power to test module and analysis module after receiving the power-off signal feedback by switch module, which can effectively reduce the power consumption of the device, prolong the time available after each charge or battery replacement of the client, and improve user experience.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to a data transmission system and method, in particular to the transmission of in-vitro diagnosis monitoring data. BACKGROUND

[0002] In the in-vitro diagnosis industry, diabetes diagnosis is a very representative diagnosis direction. At present, the number of diabetes patients in China has reached about 120 million, and the number of people in the pre-diabetes stage is nearly 150 million. The undiagnosed rate of diabetes is as high as 70%, and the diabetes management compliance is less than 50%. The situation of diabetes prevention and treatment in China is very severe. The classic diabetes management "five chariots", health education and psychological improvement, medicine, diet, exercise and blood glucose monitoring. Medicine, diet and exercise all need daily monitoring to evaluate the management effect, so the importance of daily monitoring can be seen.

[0003] The indicators of daily monitoring can include, but are not limited to, blood glucose, blood ketones, uric acid, glycosylated hemoglobin, blood lipids, triglycerides, cholesterol, etc. according to the type of diabetes and complications. At present, the data of various indicators monitoring can be realized system management. After the patient tests the required monitoring indicators with the tester, the patient and his family, doctors can timely understand the test situation of the patient's monitoring indicators to effectively evaluate the patient's management effect and physical condition.

[0004] At present, in order to facilitate user use, most testers are portable, with test paper consumables, and are powered by battery. In order to achieve the purpose of portability, the battery capacity is small, and the corresponding monitoring data transmission is transmitted by 2G / 3G network, which will cause network connection difficult problem, and will also encounter data transmission failure problem, resulting in data loss. For the missing data, the user needs to actively check and screen manually, and then retransmit the data, and also needs to constantly pay attention to whether the retransmission is successful, and the tester is powered on throughout the transmission process, the power consumption is huge, the standby time of the tester is greatly shortened, and frequent charging is needed. Moreover, in order to achieve the purpose of easy to use, the existing tester generally adopts the design of large screen and touch screen, which has high power consumption and will further shorten the standby time. SUMMARY

[0005] The purpose of the present application is to solve the above problems, and provide a data transmission system and method which can effectively reduce power consumption.

[0006] In order to achieve the above purpose, the present application realizes the following technical scheme:

[0007] In one aspect of the present application, a data transmission system comprises a client and a server connected in communication to realize data interaction, the client comprises a central controller, a switch module, a test module, an analysis module, a storage module, a communication module and a power module, wherein:

[0008] a switch module configured to collect a switch-off signal of the client and feed back the switch-off signal to the central controller;

[0009] a test module configured to collect a current signal generated after a sample to be tested is added and transmit the current signal to the analysis module;

[0010] an analysis module configured to analyze the current signal to obtain a test result and transmit the test result to the storage module;

[0011] a storage module configured to store a test result data packet, in response to a historical data scanning instruction from the central controller, determine whether there is a test result data packet that fails to be transmitted, and feed back a scanning result to the central controller;

[0012] a communication module configured to, in response to a data uploading instruction from the central controller, upload the test result data packet stored in the storage module to a server;

[0013] the central controller is configured to, on receiving the switch-off signal fed back by the switch module, control the power module to stop supplying power to the test module and the analysis module, and send a historical data scanning instruction to the storage module; and on receiving a signal fed back by the storage module that there is no test result data packet that fails to be transmitted, send a complete shutdown instruction;

[0014] the power module is configured to, in response to an instruction from the central controller, stop supplying power to the test module and the analysis module; and in response to the complete shutdown instruction from the central controller, stop supplying power to at least the central controller, the test module, the analysis module, the storage module and the communication module.

[0015] The switch module collects the switch-off signal as a trigger condition for starting the historical data scanning action, and directly starts the historical data scanning using the action in the client test program, without the need for additional operations, which is convenient to use, ingenious in design, and can ensure the completeness of the test data when the historical data scanning is started. In addition, the power supply to the test module and the analysis module is stopped after receiving the switch-off signal fed back by the switch module, which can effectively reduce the power consumption of the device, prolong the length of time available after each charging or battery replacement of the client, and improve the user experience.

[0016] Preferably,

[0017] the central controller is configured to, on receiving a signal of a test result data packet that fails to be transmitted determined by the storage module, send a data retransmission instruction to the communication module; and on receiving a data retransmission success signal from the communication module, send an update instruction to the storage module;

[0018] The communication module transmits the test result data packet to the server in response to the data retransmission instruction of the central controller, and receives the data retransmission success signal from the server and feeds back to the central controller.

[0019] The storage module updates the transmission mark of the test result data packet corresponding to the data retransmission success signal in response to the update instruction of the central controller.

[0020] During the data retransmission process, the test module and the analysis module, which do not participate in the work, are not powered to reduce the power consumption of the equipment.

[0021] Preferably, the data transmission system further comprises:

[0022] The display module is used to display the test result to the user during the test process; and the central controller controls the power supply module to stop supplying power to the display module after receiving the shutdown signal fed back by the switch module, so that the client enters the screen-off state.

[0023] Since the display module (such as a display screen or a touch display screen) has a high power consumption, in the case that the client is equipped with the display module, the client is controlled to enter the screen-off state during the historical data retransmission process, and a mechanism for transmission in the screen-off mode is provided for the user, so that the power consumption of the client can be further reduced.

[0024] Preferably, the data transmission system further comprises:

[0025] The timing module is used to count down in response to the countdown instruction of the central controller and feed back to the central controller after the countdown is completed.

[0026] The central controller sends the countdown instruction to the timing module at the same time or after sending the historical data scanning instruction to the storage module, and sends the complete shutdown instruction after receiving the signal that the countdown is completed.

[0027] If the timing module completes the countdown, the central controller sends the complete shutdown instruction to control the power supply module to stop supplying power to at least the test module, the analysis module, the storage module, the communication module, the display module and the timing module, so that the time for historical data retransmission is strictly controlled, the client is prevented from continuously retransmitting the data which may have been damaged, and the power consumption of the client is reduced.

[0028] Preferably,

[0029] The communication module feeds back to the central controller if no data transmission success signal is received from the server or a data transmission failure signal is received during the transmission of the test result data packet to the server within a set time period.

[0030] The central controller sends a transmission mark determination instruction to the storage module according to the signal fed back by the communication module.

[0031] The storage module marks the test result data packet as a transmission failure mark in response to the transmission mark determination instruction of the central controller.

[0032] Preferably,

[0033] The communication module feeds back the data transmission success signal to the central controller if the data transmission success signal from the server is received within a set time period during the transmission of the test result data packet to the server.

[0034] The central controller sends a transmission mark determination instruction to the storage module according to the data transmission success signal fed back by the communication module.

[0035] The storage module marks the test result data packet as a transmission success mark in response to the instruction of the central controller.

[0036] During the test, the transmission mark determination is performed for all test result data packets, so that the storage module can quickly determine whether there is a test result data packet with transmission failure when executing the historical data scanning instruction.

[0037] Preferably,

[0038] The central controller is further configured to control the storage module to increase the transmission count value in the test result data packet corresponding to the data retransmission instruction by 1 after the communication module retransmits the test result data packet with transmission failure to the server according to the data retransmission instruction.

[0039] If the data retransmission fails, for example, the central controller receives the signal fed back by the communication module indicating the data retransmission failure or does not receive the data transmission success signal within a certain time, the central controller determines whether the transmission count value reaches a threshold value, and if the threshold value is reached, the test result data packet is considered as error data and no longer retransmitted. By controlling the retransmission times through the transmission count value, the power consumption of the client is reduced.

[0040] Preferably,

[0041] The central controller sends a complete shutdown instruction after the transmission count value in all retransmitted test result data packets reaches a set threshold value.

[0042] Preferably,

[0043] The storage module is further configured to clear the transmission count value of all the test result data packets in response to the power-on signal or after the countdown of the timing module ends or after the transmission count value of all the test result data packets reaches the set threshold value, so that the transmission count value can start from 0 when the next data retransmission is performed, thereby ensuring the number of times of the next data retransmission.

[0044] In another aspect of the present application, a data transmission method comprises:

[0045] 101. The switch module feeds back the power-off signal to the central controller after collecting the power-off signal from the client;

[0046] 103. The central controller controls the power supply module to stop supplying power to the test module and the analysis module and sends a historical data scanning instruction to the storage module after receiving the power-off signal fed back by the switch module;

[0047] 105. The storage module scans each test result data packet stored therein in response to the historical data scanning instruction from the central controller, determines the test result data packet that fails to be transmitted and feeds back to the central controller;

[0048] 107. The central controller sends a data retransmission instruction to the communication module, requiring the communication module to retransmit the test result data packet that fails to be transmitted determined by the storage module;

[0049] 109. The communication module retransmits the test result data packet that fails to be transmitted to the server in response to the data retransmission instruction from the central controller;

[0050] 111. The central controller sends an update instruction to the storage module if the data retransmission is successful;

[0051] 113. The storage module updates the transmission mark of the test result data packet corresponding to the data retransmission success signal in response to the update instruction from the central controller.

[0052] The power-off signal collected by the switch module is used as a trigger condition for starting the historical data scanning action, and the historical data scanning is directly started by using the action in the client test program, without the need for additional operations to start, which is convenient to use, ingenious in design and can ensure the completeness of the test data when the historical data scanning is started. In addition, the power supply to the test module and the analysis module is stopped after receiving the power-off signal fed back by the switch module, which can effectively reduce the power consumption of the equipment, prolong the length of time that the client can use after each charging or battery replacement and improve the user experience.

[0053] Preferably, the step 103 further comprises: the central controller controls the power supply module to stop supplying power to the display module, further reducing the power consumption.

[0054] Preferably, the data transmission method further comprises:

[0055] The central controller sends a countdown instruction to the timing module at the same time or after sending the historical data scanning instruction to the storage module, and sends a complete shutdown instruction after receiving a signal of completion of the countdown feedback from the timing module, so as to control the power module to stop power supply to the test module, the analysis module, the storage module, the communication module, the display module and the timing module.

[0056] Preferably,

[0057] The step 109 specifically comprises: the communication module responds to the data retransmission instruction of the central controller to retransmit the test result data packet with failed transmission to the server, and the storage module responds to the instruction of the central controller to increase the transmission count value in the test result data packet corresponding to the data retransmission instruction by 1.

[0058] The step 111 specifically comprises: if the data retransmission succeeds, the central controller sends an update instruction to the storage module to execute the step 113; if the data retransmission fails and the transmission count value does not reach the set threshold, the step 109 is executed; if the data retransmission fails and the transmission count value in all retransmitted test result data packets reaches the set threshold, a complete shutdown instruction is sent.

[0059] Preferably, the transmission count value of all test result data packets is cleared after the countdown of the timing module ends or after the transmission count value in all retransmitted test result data packets reaches the set threshold. In this way, the transmission count value can start from 0 in the next data retransmission, so as to ensure the number of times of the next data retransmission.

[0060] Preferably,

[0061] During the data retransmission, the central controller receives the start-up signal feedback from the switch module to control the power module to start power supply to all modules, and the transmission count value of all test result data packets is cleared, so that the data retransmission and the client test are synchronized. During the data retransmission, the user can start the test at any time by clicking the start-up button or inserting the test paper, and the retransmission function does not affect the test requirement at any time and any place, so that the data retransmission and the new test can be synchronized.

[0062] The present application has the following advantages:

[0063] 1. Stop supplying power to the test module and analysis module after receiving the shutdown signal fed back by the switch module, which can effectively reduce the power consumption of the device, prolong the length of time that the client can be used after each charge or battery replacement, and improve the user experience. In the case of a client configured with a display module, the power supply to the display module will also be stopped, providing a mechanism for the user to work in the off-screen mode and further reducing power consumption.

[0064] 2. Use the shutdown signal collected by the switch module as the trigger condition for the action of scanning and supplementing the history data, directly use the action of starting the history data scanning and supplementing in the client test program, and do not need to start through additional manual operation by the user as in the prior art. Not only is it convenient to use, but it is also ingenious in design, and it can ensure the integrity of the test data when supplementing the history data.

[0065] 3. Add the off-screen supplement function, so that the user does not need to constantly monitor the data upload situation after completing the test, and the history data that fails to be transmitted will be supplemented through the supplement function, improving the fault tolerance of the client.

[0066] 4. In the off-screen state, the user can start the machine by clicking the key or inserting the test paper at any time, and the supplement function does not affect the testing demand at any time and anywhere, and the supplement and the start of a new test can be performed simultaneously. BRIEF DESCRIPTION OF DRAWINGS

[0067] Figure 1 The structure block diagram of the client in the data transmission system of the present application.

[0068] Figure 2 The flowchart of the data transmission method of the present application. DETAILED DESCRIPTION

[0069] In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described clearly and completely below. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without creative labor fall within the protection scope of the present application.

[0070] The following embodiments of the present application use the shutdown signal collected by the switch module as the trigger condition for starting the history data scanning and supplement transmission action, that is, the following examples directly use the action (shutdown or test paper removal) in the test program of the client (such as a blood glucose meter) to start the history data scanning and supplement transmission, and retransmit the test result data packet with transmission failure to the server, without the need for additional manual operation by the user to start as in the prior art. Not only is it convenient to use and ingenious in design, but it also ensures the completeness of the test data when starting the history data scanning and supplement transmission (the data before this time node has been stored in the storage module). In addition, stopping the power supply to the test module and the analysis module after receiving the shutdown signal feedback by the switch module can effectively reduce the power consumption of the device, prolong the time length available after each charge or battery replacement of the client, and improve the user experience.

[0071] In the example, the server can be a standalone server or a server cluster. The server cluster is a server cluster or distributed system composed of multiple physical servers, and can also be a cloud server that provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN, and basic cloud computing services such as big data and artificial intelligence platforms. The client is a smart terminal that can interact with data networks or other electronic devices, such as (only as an example and not limited to): portable blood glucose meters, portable blood ketone meters, etc.

[0072] As shown in Figure 1 A data transmission system, including a client and a server connected in communication to realize data interaction, the client includes a central controller, a switch module, a test module, an analysis module, a storage module, a communication module, and a power module. For ease of explanation, the functions of each module of the client during the test process and the data supplement transmission process are described below.

[0073] During the test process, the functions of each module are basically the same as the functions of the corresponding modules in the existing blood glucose meter and other devices. Specifically:

[0074] A switch module is used to control the switch-on and switch-off of the client. The switch module can be a switch-on and switch-off button (such as a physical button, a touch button, a physical switch controller, etc.), and the user clicks the switch-on and switch-off button. The switch module receives the switch-on and switch-off signal, the central controller informs each module to start working or stop working, and the client is switched on or off (at this time, the switch-off is not complete switch-off). The switch module can also be a micro-voltage circuit breaker located at the test paper insertion port. The voltage is very small and even negligible. When the test paper is inserted, the circuit breaker becomes a passage, the switch module receives the switch-on signal, the central controller controls each module to start working, the client is switched on, and the user is prompted to add blood sample. When the test paper is pulled out, the passage becomes a circuit breaker, the switch module receives the switch-off signal, and the central controller controls the corresponding module to stop working.

[0075] A test module is used to collect the current signal generated after the sample to be tested is added, and transmit the current signal to the analysis module.

[0076] An analysis module is used to analyze the current signal to obtain a test result, and transmit the test result to the storage module.

[0077] A storage module is used to store a test result data packet. Each test result data packet includes an SN number (a serial number representing the identity) of the client, a test time, a test result, a test paper type, a sample type, and a transmission marker. In some actual applications, in the initial state, the transmission marker in the test result data packet is empty. When the client test analysis is completed, the central controller controls the communication module to transmit the test result data packet to the server. If the communication module does not receive a transmission success signal or receives a transmission failure signal within a period of time and feeds back to the central controller, the central controller controls the storage module to record the transmission marker in the test result data packet as "1" and mark the test result data packet as transmission failure. If the communication module receives a transmission success signal within a period of time and feeds back to the central controller, the central controller controls the storage module to record the transmission marker in the test result data packet as "0" and mark the test result data packet as transmission success.

[0078] A communication module is used to upload the test result data packet stored in the storage module to the server in response to the data upload instruction of the central controller, and receive the signal returned by the server.

[0079] A power module is used to supply power to the central controller, the switch module, the test module, the analysis module, the storage module, and the communication module, so as to ensure the normal work of the client.

[0080] The central controller is connected with the switch module, the test module, the analysis module, the storage module, and the communication module, and controls the functions of sampling, testing, analyzing, storing, and uploading the server of the client.

[0081] Data retransmission process:

[0082] A switch module is configured to collect a shutdown signal of the client and feed back the shutdown signal to the central controller.

[0083] A test module is inoperative.

[0084] An analysis module is inoperative.

[0085] A storage module is configured to, on one hand, scan each piece of test result data packet stored in response to a historical data scanning instruction from the central controller, determine whether there is a test result data packet that fails to be transmitted, and feed back the scanning result to the central controller; on the other hand, update the test result data packet corresponding to the data retransmission success signal to a transmission success mark in response to an update instruction from the central controller.

[0086] A communication module is configured to, on one hand, retransmit the test result data packet that fails to be transmitted to the server in response to a data retransmission instruction from the central controller; on the other hand, receive a data retransmission success signal from the server and feed back the data retransmission success signal to the central controller.

[0087] The central controller is configured to, on one hand, control the power module to stop supplying power to the test module and the analysis module in response to the shutdown signal fed back by the switch module, and send a historical data scanning instruction to the storage module; on the other hand, send a data retransmission instruction to the communication module if the test result data packet that fails to be transmitted is determined by the storage module; send a complete shutdown instruction if the signal that there is no test result data packet that fails to be transmitted is fed back by the storage module; and on the other hand, send an update instruction to the storage module in response to the data retransmission success signal from the communication module.

[0088] The power module is configured to, on one hand, stop supplying power to the test module and the analysis module in response to an instruction from the central controller; on the other hand, stop supplying power to at least the central controller, the test module, the analysis module, the storage module and the communication module in response to a complete shutdown instruction from the central controller.

[0089] On one hand, the shutdown signal collected by the switch module is used as a trigger condition for starting the historical data retransmission action, and no additional manual operation is required to start the historical data retransmission action, which is convenient to use, ingenious in design, and can ensure the integrity of the test data when the historical data retransmission action is started; on the other hand, the power supply to the test module and the analysis module is stopped after the shutdown signal fed back by the switch module is received, which can effectively reduce the power consumption of the device, prolong the length of time that the client can be used after each charging or battery replacement, and improve the user experience.

[0090] As a preferred embodiment of the present embodiment, the data transmission system further comprises a display module for displaying corresponding dynamic and / or test results to the user during the test process, such as an interface prompting the user to insert test paper, an interface prompting the user to add a sample, an interface displaying a countdown of the ongoing test, an interface displaying the results of the completed test, an interface displaying a list of historical data, and the like. After receiving the shutdown signal fed back by the switch module, the central controller controls the power module to stop supplying power to the display module, and the client enters a screen-off state; that is, the display module does not work during the data retransmission process. Since the display module (display screen, touch display screen, etc.) has a high power consumption, in the case where the client is equipped with a display module, controlling the client to enter a screen-off state during the historical data retransmission process can further reduce the power consumption of the client.

[0091] As another preferred embodiment of the present embodiment, the data transmission system further comprises a timing module for counting down in response to a countdown instruction from the central controller (the central controller sends a countdown instruction to the timing module at the same time or after sending a historical data scanning instruction to the storage module), and feeding back to the central controller after the countdown is completed. After receiving the signal that the countdown is completed, the central controller issues a complete shutdown instruction to control the power module to stop supplying power to at least the central control module, the test module, the analysis module, the storage module, the communication module, the display module, and the timing module; by strictly controlling the time of historical data retransmission, the client is prevented from continuously retransmitting data that may have been damaged, thereby reducing the power consumption of the client. The length of the countdown of the timing module is pre-set, and the countdown length can be set differently according to the state of the power supply of different clients.

[0092] As still another preferred embodiment of the present embodiment, the test result data packet corresponding to the data retransmission instruction includes the SN number of the client (a serial number representing the identity of the client), the test time, the test result, the test paper type, the sample type, the transmission flag, and the transmission count value. The central controller controls the storage module to increase the transmission count value by 1 in the test result data packet corresponding to the data retransmission instruction on one hand after the communication module retransmits the test result data packet with the failed transmission to the server according to the data retransmission instruction, and controls the storage module to mark the test result data packet corresponding to the data retransmission instruction as error data on the other hand when the communication module feeds back a signal of the failed data retransmission and the transmission count value reaches a threshold value. That is, if the data retransmission fails, for example, the central controller receives the signal of the failed data retransmission from the communication module or does not receive the signal of the successful data transmission within a certain time, the central controller judges whether the transmission count value reaches the threshold value, and if the threshold value is reached, the test result data packet is considered as error data and is no longer retransmitted. The transmission count value is used to control the number of retransmissions, so that the client does not continuously retransmit the possibly erroneous data, thereby reducing the power consumption of the client. Further, after the transmission count value of all the retransmitted test result data packets reaches the set threshold value, the central controller sends a complete shutdown instruction to control the power module to stop supplying power to at least the central control module, the test module, the analysis module, the storage module, the communication module, the display module, and the timing module.

[0093] As still another preferred embodiment of the present embodiment, the storage module is further configured to clear the transmission count values of all the test result data packets in response to the power-on signal or after the timing module finishes the countdown or after the transmission count values of all the retransmitted test result data packets reach the set threshold value (the clearing only represents the current state; for the retransmitted test result data packets, the transmission count values are not zero, and for the test result data packets that do not need to be retransmitted, the transmission count values are always zero; the transmission count values of the retransmitted test result data packets can be cleared, or the transmission count values of all the test result data packets can be cleared, so that the transmission count values of all the test result data packets are zero, and the same applies hereafter). In this way, the transmission count value can start from zero when the data retransmission is performed next time, so as to ensure the number of data retransmissions next time.

[0094] Within the alternative range of those skilled in the art, the data transmission system can further include a voice module for increasing the way of prompting user information, and voice broadcast can be performed at the stages of inserting the test paper, adding the sample, and displaying the result.

[0095] As shown in Figure 2 , an example data transmission method includes:

[0096] 101、Switch module collects the shutdown signal of the client and feeds back to the central controller.

[0097] In some practical applications, the user turns off the switch by clicking the switch key or pulls out the test paper after the test is completed. The switch module collects the shutdown signal of the client and feeds back to the central controller.

[0098] 103、The central controller receives the shutdown signal fed back by the switch module, controls the power module to stop supplying power to the test module and the analysis module, and sends a historical data scanning instruction to the storage module.

[0099] In some practical applications, the central controller receives the shutdown signal fed back by the switch module, and enters the historical data supplement transmission program. At this time, the test module and the analysis module do not need to work in the historical data supplement transmission process, so the power module is controlled to stop supplying power to the test module and the analysis module to reduce power consumption, and a historical data scanning instruction is sent to the storage module.

[0100] 105、The storage module responds to the historical data scanning instruction of the central controller, scans each piece of test result data packet stored, determines the test result data packet with transmission failure, and feeds back to the central controller.

[0101] In some practical applications, the storage module responds to the historical data scanning instruction of the central controller, scans each piece of test result data packet stored, determines whether there is a test result data packet with transmission failure in the historical data: if there is a test result data packet with transmission mark “1” in the historical data, it is considered that the data packet is a test result data packet with transmission failure, which is fed back to the central controller. If all the test result data packets in the historical data are transmission mark “0”, it is considered that there is no test result data packet with transmission failure in the historical data.

[0102] 107、The central controller receives the signal of the test result data packet with transmission failure determined by the storage module, sends a data supplement transmission instruction to the communication module, and requires it to supplement the test result data packet with transmission failure determined by the storage module.

[0103] In some practical applications, the central controller controls the communication module to retransmit the test result data packet that needs to be retransmitted, and the transmitted data content includes the SN number of the client, the test time, the test result, the test paper type, the sample type, the transmission flag, and the transmission count value. The SN number is a device unique identification code composed of 11 hexadecimal numbers. The test time is the real-time test time of the device, identified by TIME. The test result is identified by RESULT. The test paper type is the test paper used at the moment, identified by SAMPLE. The sample type is the type of the sample added at the moment, identified by TARGET. The transmission flag is a flag indicating whether the test result data packet has been successfully transmitted, identified by FLAG. The transmission count value is used to record the number of transmission failures in the data transmission process, identified by COUNT. The transmission count value has a threshold, and the actual transmission count value cannot exceed the preset threshold.

[0104] 109. The communication module retransmits the test result data packet that fails to be transmitted to the server in response to the data retransmission instruction of the central controller.

[0105] In some practical applications, when the test result data packet that needs to be retransmitted contains the transmission count value, the communication module retransmits the test result data packet that fails to be transmitted to the server in response to the data retransmission instruction of the central controller, and the storage module increments the transmission count value in the test result data packet corresponding to the data retransmission instruction in response to the instruction of the central controller.

[0106] 111. If the data retransmission is successful, the central controller sends an update instruction to the storage module.

[0107] In some practical applications, when the test result data packet that needs to be retransmitted contains the transmission count value, if the data retransmission is successful, the central controller sends an update instruction to the storage module, and step 113 is performed; if the data retransmission fails and the transmission count value does not reach the set threshold, step 109 is performed; if the data retransmission fails and the transmission count value in all retransmitted test result data packets reaches the set threshold, a complete shutdown instruction is issued to control the power module to stop supplying power to at least the central controller, the test module, the analysis module, the storage module, the communication module, the display module, and the timing module.

[0108] 113. The storage module updates the test result data packet corresponding to the data retransmission success signal to a transmission success flag in response to the update instruction of the central controller.

[0109] In some practical applications, the storage module modifies the transmission flag of the test result data packet corresponding to the retransmission success signal from "1" to "0" in response to the update instruction of the central controller.

[0110] As a preferred embodiment of the present embodiment, in order to further reduce power consumption, the central controller will also control the power module to stop supplying power to the display module after receiving the shutdown signal fed back by the switch module, if the client has a display module.

[0111] As another preferred embodiment of the present embodiment, the data transmission method further comprises: the central controller sends a countdown instruction to the timing module at the same time or after sending the historical data scanning instruction to the storage module; and sends a complete shutdown instruction to control the power module to stop supplying power to at least the central control module, the test module, the analysis module, the storage module, the communication module, the display module and the timing module after receiving the signal fed back by the timing module that the countdown is completed. By strictly controlling the time of historical data retransmission, the client is prevented from continuously retransmitting data that may have been damaged, thereby reducing the power consumption of the client. The length of the countdown of the timing module is pre-set, and the countdown length can be set differently according to the state of the power supply of different clients.

[0112] In order to more clearly express the technical solutions of the present application, the following exemplary description is made for the historical data retransmission process in the foregoing data transmission method.

[0113] Firstly, after the user completes the test and the test result display is ended, the switch key is clicked to shut down or the test paper is pulled out. After the switch module collects the shutdown signal, the signal is fed back to the central controller. The central controller receives the shutdown signal and controls the power module to stop supplying power to the display module, the test module and the analysis module, so that the client enters the screen-off mode.

[0114] Secondly, the central controller controls the storage module to start scanning each piece of historical data stored in the storage module one by one, and the code is as follows:

[0115] if(Histroy_NB_Num<(Histroy_Number+1)

[0116] Thirdly, the central controller controls the timing module to start counting down.

[0117] Fourthly, the storage module determines whether there is a test result data packet with transmission failure in the historical data.

[0118] If there is a test result data packet with transmission mark "1" in the historical data, it is determined that the test result data packet is a test result data packet with transmission failure and needs to be retransmitted, and the code is as follows:

[0119] { for(uint16_t n = 0; n < sizeof(SYS_HISTROY_INFO); n++) { SendData_Memory.payload[n] = SystemSettings_ReadHistory((Catm_Histroy_Number) % FLASH_SYS_HISTROY_INFO_LOG_MAX)->payload[n];}

[0120] if(SendData_Memory.NB_FLAG == 1)

[0121] { NB_Send();}

[0122] If the transmission flag of the test result data packet in the history data is "0", it is considered that there is no test result data packet of transmission failure, and the central controller issues a complete shutdown instruction to control the power module to stop power supply to other modules except the switch module, and the client completely shuts down.

[0123] Specifically, in the initial state, the transmission flag in the test result data packet is empty, when the client test analysis is completed, the central controller controls the display module to display the test result, and controls the communication module to transmit the test result data packet to the server, the communication module does not receive the transmission success signal or receives the transmission failure signal within a period of time and feeds back to the central controller, the central controller controls the storage module to record the transmission flag in the test result data packet as "1", and marks the test result data packet as transmission failure; on the contrary, the communication module receives the transmission success signal within a period of time and feeds back to the central controller, the central controller controls the storage module to record the transmission flag in the test result data packet as "0", and marks the test result data packet as transmission success.

[0124] The fifth step is that the central controller controls the communication module to perform retransmission of the data to be retransmitted, and the transmission data content is the test result data packet, including the SN number of the client, the test time, the test result, the test paper type, the sample type, the transmission flag, and the transmission count value.

[0125] Specifically, the SN number is a 11-bit 16 hexadecimal composition of the device unique identification code. The test time is the real-time test time of the device, identified by TIME. The test result is identified by RESULT. The test paper type is the test paper used at the moment, identified by SAMPLE. The sample type is the kind of sample added at the moment, identified by TARGET. The transmission flag is a flag indicating whether the test result data packet has been successfully transmitted, identified by FLAG. The transmission count value is used to record the number of transmission failures in the data transmission process, identified by COUNT. The transmission count value has a threshold, and the actual generated transmission count value cannot exceed the preset threshold.

[0126] In the sixth step, the communication module receives the data retransmission instruction, responds to the data retransmission instruction, and retransmits the test result data packet with transmission failure to the server. The central controller controls the storage module to increase the transmission count value in the test result data packet corresponding to the data retransmission instruction by 1.

[0127] In the seventh step, if the data retransmission is successful, the communication module feeds back a data retransmission success signal to the central controller, and the central controller controls the storage module to modify the transmission flag of the test result data packet corresponding to the retransmission success signal from "1" to "0". The server receives the retransmission success data and pushes the data to the user end (which can include the patient end, the family end, the doctor end, and the nurse end).

[0128] If the data retransmission fails, for example, the central controller receives a data retransmission failure signal fed back by the communication module or does not receive a data retransmission success signal within a certain time, the central controller will first judge whether the transmission count value of the test result data packet with retransmission failure reaches the threshold. If not, repeat the fifth step, the sixth step, and the seventh step.

[0129] In the data retransmission process, if all the test result data packets that need to be retransmitted fail to be retransmitted, and the transmission count values of all the test result data packets that need to be retransmitted have reached the threshold, the transmission count values of all the test result data packets are cleared (this clearing only indicates the current state; for the test result data packets that have been retransmitted, their transmission count values must not be zero, and for the test result data packets that do not need to be retransmitted, their transmission count values are always zero; the transmission count values of only the test result data packets that have been retransmitted can be cleared, or the transmission count values of all the test result data packets can be cleared, so that the transmission count values of all the test result data packets are zero, and the same applies below), the central controller issues a complete shutdown instruction to control the power supply module to stop supplying power to other modules except the switch module, and the client is completely shut down. If the countdown of the timing module is completed, the central controller will receive a signal that the countdown is completed, regardless of whether the data retransmission is completed, the central controller immediately controls the storage module to clear the transmission count values of all the test result data packets, the central controller issues a complete shutdown instruction to control the power supply module to stop supplying power to other modules except the switch module, and the client is completely shut down. In actual application, if the countdown of the timing module is completed, not all the transmission count values of the test result data packets that need to be retransmitted have reached the threshold, then the transmission count values of all the test result data packets are still cleared, and the central controller issues a complete shutdown instruction.

[0130] In the data retransmission process, if the user clicks the switch key to turn on or inserts the test paper, the switch module transmits the turn-on signal or the test paper insertion signal to the central controller, regardless of whether the data retransmission is completed, the central controller immediately controls the power supply module to start supplying power to all the modules, and controls the storage module to clear the transmission count values of all the test result data packets, the ongoing data retransmission continues, the client is completely turned on and can start a new test, and the two sets of programs do not affect each other.

[0131] In a specific example, the SN number of the client (hereinafter referred to as the tester) is 1029504137A, the current time is 07:05:10, the user has added a blood sample to the tester, the tester displays the test result at 07:05:15 after calculation and analysis, and at the same time, the test result is stored in the storage module to form historical data, and the following is its format, in which the transmission flag is empty.

[0132] “SN”: “1029504137A”

[0133] “TIME”: “20230309T070510Z” / / The specific test time is 07:05:10 on March 9, 2023,

[0134] “RESULT”: “4.1mmol / L”

[0135] "SAMPLE": "GOD_STRIPE" / / The test strip type is glucose oxidase GOD

[0136] “TARGET”: “blood” / / Sample type is blood

[0137] “FLAG”: “”

[0138] At the same time, the central controller notifies the communication module to transmit the test result data packet to the cloud server. The communication module receives the received signal from the cloud server within 30 seconds and feeds it back to the central controller. The central controller notifies the storage module to record the transmission mark in the test result data packet as "0".

[0139] After the test results are displayed, the user pulls out the test strip to shut down the device. The switch module transmits the shutdown signal to the central controller. The central controller receives the shutdown signal and controls the power module to stop supplying power to the display module, test module, and analysis module. The tester enters the screen-off mode. At this time, the storage module contains the following historical data:

[0140] First one:

[0141] "SN": "1029504137A"

[0142] "TIME": "20230308T144509Z" / / The specific test time is 14:45:09 on March 8, 2023.

[0143] “RESULT”: “6.8mmol / L”

[0144] "SAMPLE": "GOD_STRIPE" / / The test strip type is glucose oxidase GOD

[0145] “TARGET”: “blood” / / Sample type is blood

[0146] “FLAG”: “1”

[0147] "COUNT": "0"

[0148] Second one:

[0149] "SN": "1029504137A"

[0150] "TIME": "20230308T183121Z" / / The specific test time is 18:31:21 on March 8, 2023, "RESULT": "10.6mmol / L"

[0151] "SAMPLE": "GOD_STRIPE" / / The test strip type is glucose oxidase GOD

[0152] “TARGET”: “blood” / / Sample type is blood

[0153] "FLAG": "0"

[0154] "COUNT": "0"

[0155] The third one:

[0156] "SN": "1029504137A"

[0157] "TIME": "20230308T183230Z" / / The specific test time is 18:32:30 on March 8, 2023, "RESULT": "10.0mmol / L"

[0158] "SAMPLE": "GDH_STRIPE" / / The test strip type is glucose dehydrogenase GDH

[0159] “TARGET”: “blood” / / Sample type is blood

[0160] “FLAG”: “1”

[0161] "COUNT": "0"

[0162] The fourth one:

[0163] "SN": "1029504137A"

[0164] "TIME": "20230308T183401Z" / / The specific test time is 18:34:01 on March 8, 2023, "RESULT": "0.8mmol / L"

[0165] "SAMPLE": "KET_STRIPE" / / The test strip type is blood ketone "TARGET": "blood" / / The sample type is blood

[0166] “FLAG”: “1”

[0167] "COUNT": "0"

[0168] Fifth:

[0169] "SN": "1029504137A"

[0170] "TIME": "20230309T070510Z" / / The specific test time is 07:05:10 on March 9, 2023.

[0171] "RESULT": "4.1mmol / L"

[0172] "SAMPLE": "GOD_STRIPE" / / test paper type is glucose oxidase GOD

[0173] "TARGET": "blood" / / sample type is blood

[0174] "FLAG": "0"

[0175] "COUNT": "0"

[0176] The central controller controls the storage module to start scanning each piece of historical data one by one, and controls the timing module to start counting down, and the countdown time is 5 minutes. The time at this time is 07:06:00.

[0177] The storage module responds to the historical data scanning instruction of the central controller, and determines that there are 3 test result data packets that fail to transmit in the historical data, that is, the first, third and fourth historical data need to be retransmitted.

[0178] The central controller controls the communication module to retransmit the first, third and fourth historical data.

[0179] The communication module responds to the data retransmission instruction of the central controller, retransmits the first, third and fourth historical data, and the central controller controls the storage module to increase the transmission count value of the first, third and fourth historical data by 1.

[0180] The communication module receives the first and third historical data transmission success signals from the cloud server within 60 seconds, and does not receive the fourth historical data transmission success signal.

[0181] The central controller controls the storage module to modify the transmission flag of the first and third historical data from "1" to "0". The central controller judges that the transmission count value of the fourth historical data is less than the threshold value 3, controls the communication module to continue retransmitting the fourth historical data, and controls the storage module to increase the transmission count value of the fourth historical data by 1.

[0182] At this time, the historical data in the storage module is as follows:

[0183] Historical data:

[0184] First:

[0185] "SN": "1029504137A"

[0186] "TIME": "20230308T144509Z" / / The specific test time is March 8, 2023, 14:45:09,

[0187] "RESULT": "6.8mmol / L"

[0188] "SAMPLE": "GOD_STRIPE" / / The test paper type is glucose oxidase GOD

[0189] "TARGET": "blood" / / The sample type is blood

[0190] "FLAG": "0"

[0191] "COUNT": "1"

[0192] Second:

[0193] "SN": "1029504137A"

[0194] "TIME": "20230308T183121Z" / / The specific test time is March 8, 2023, 18:31:21, "RESULT": "10.6mmol / L"

[0195] "SAMPLE": "GOD_STRIPE" / / The test paper type is glucose oxidase GOD

[0196] "TARGET": "blood" / / The sample type is blood

[0197] "FLAG": "0"

[0198] "COUNT": "0"

[0199] Third:

[0200] "SN": "1029504137A"

[0201] "TIME": "20230308T183230Z" / / The specific test time is March 8, 2023, 18:32:30, "RESULT": "10.0mmol / L"

[0202] "SAMPLE": "GDH_STRIPE" / / The test paper type is glucose dehydrogenase GDH

[0203] "TARGET": "blood" / / The sample type is blood

[0204] "FLAG": "0"

[0205] "COUNT": "1"

[0206] Fourth:

[0207] "SN": "1029504137A"

[0208] "TIME": "20230308T183401Z" / / The specific test time is 18:34:01 on March 8, 2023, "RESULT": "0.8mmol / L"

[0209] "SAMPLE": "KET_STRIPE" / / The test paper type is blood ketone "TARGET": "blood" / / The sample type is blood

[0210] "FLAG": "1"

[0211] "COUNT": "2"

[0212] Fifth:

[0213] "SN": "1029504137A"

[0214] "TIME": "20230309T070510Z" / / The specific test time is 07:05:10 on March 9, 2023,

[0215] "RESULT": "4.1mmol / L"

[0216] "SAMPLE": "GOD_STRIPE" / / The test paper type is glucose oxidase GOD

[0217] "TARGET": "blood" / / The sample type is blood

[0218] "FLAG": "0"

[0219] "COUNT": "0"

[0220] The communication module did not receive a signal indicating the successful transmission of the fourth historical data within 60 seconds. The central controller determined that the transmission count value of the fourth historical data was less than the threshold value of 3. The communication module was controlled to continue the retransmission of the fourth historical data, and the storage module was controlled to increment the transmission count value of the fourth historical data by 1.

[0221] At this time, the time is 07:11:00, the data retransmission has not ended, but the countdown of the timing module has ended. The central controller receives a signal indicating the completion of the countdown, and immediately controls the storage module to clear the transmission count values of all test result data packets, controls the power module to stop supplying power to all modules except the switch module, and the tester is completely shut down.

[0222] In another case, at the time of 07:10:30, the communication module has just started the third retransmission, the user inserts the test paper, the central controller controls the power module to start the power supply to all modules, the tester is fully powered on, and the user is prompted to add the sample. At the same time, the central controller controls the storage module to clear the transmission count value of all test result data packets, but the ongoing data retransmission continues. If at 07:10:50, the communication module receives the transmission success signal feedback from the cloud server, the central controller controls the storage module to modify the transmission mark of the fourth historical data from "1" to "0". If at 07:11:30, the communication module does not receive the transmission success signal feedback from the cloud server, the central controller judges that the current state is the power-on state, does not control the storage module to adjust the transmission count value, and the retransmission ends.

[0223] The above examples in each embodiment are for further helping to understand the schemes of the present application, and are not intended to limit the technical schemes of the present application. Although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those skilled in the art that the technical schemes recorded in the foregoing embodiments can still be modified, or some technical features can be replaced by equivalents; and these modifications or replacements do not make the essence of the corresponding technical schemes deviate from the scope of the technical schemes of the embodiments of the present application.

Claims

1. A data transmission system comprising a client and a server which are communicatively connected to enable data interaction, characterized in that The client comprises a central controller, a switch module, a test module, an analysis module, a storage module, a communication module and a power module, wherein: The switch module is configured to collect a switch signal of the client and feed back the switch signal to the central controller; The test module is configured to collect a current signal generated after a sample to be tested is added and transmit the current signal to the analysis module; The analysis module is configured to analyze the current signal to obtain a test result and transmit the test result to the storage module; The storage module is configured to store a test result data packet and, in response to a historical data scanning instruction of the central controller, determine whether there is a test result data packet that fails to be transmitted and feed back a scanning result to the central controller; The communication module is configured to, in response to a data uploading instruction of the central controller, upload the test result data packet stored in the storage module to a server; The central controller is configured to, on the one hand, control the power module to stop supplying power to the test module and the analysis module after receiving the switch-off signal fed back by the switch module and send a historical data scanning instruction to the storage module; and on the other hand, send a complete shutdown instruction after receiving a signal that there is no test result data packet that fails to be transmitted fed back by the storage module; The power module is configured to, on the one hand, stop supplying power to the test module and the analysis module in response to an instruction of the central controller; and on the other hand, stop supplying power to at least the central controller, the test module, the analysis module, the storage module and the communication module in response to a complete shutdown instruction of the central controller.

2. The data transmission system according to claim 1, wherein The central controller is configured to, on the one hand, send a data retransmission instruction to the communication module after receiving a signal of the test result data packet that fails to be transmitted determined by the storage module; and on the other hand, send an update instruction to the storage module after receiving a data retransmission success signal from the communication module; The communication module is configured to, on the one hand, retransmit the test result data packet that fails to be transmitted to the server in response to the data retransmission instruction of the central controller; and on the other hand, receive the data retransmission success signal from the server and feed back the data retransmission success signal to the central controller; The storage module is configured to update a transmission mark of the test result data packet corresponding to the data retransmission success signal in response to the update instruction of the central controller.

3. The data transmission system of claim 1, wherein, The data transmission system further comprises: A display module configured to display the test result to a user during a test process; and the central controller is configured to control the power module to stop supplying power to the display module after receiving the switch-off signal fed back by the switch module, so that the client enters an off-screen state.

4. The data transmission system of claim 1, wherein, The data transmission system further comprises: A timing module configured to perform countdown in response to a countdown instruction of the central controller and feed back a countdown completion signal to the central controller after the countdown is completed; The central controller is configured to, on the one hand, send the countdown instruction to the timing module at the same time or after sending the historical data scanning instruction to the storage module; and on the other hand, send a complete shutdown instruction after receiving the countdown completion signal.

5. The data transmission system according to claim 1, wherein The communication module feeds back to the central controller if no data transmission success signal is received from the server within a set time period or if a data transmission failure signal is received during transmission of the test result data packet to the server; The central controller sends a transmission mark determination instruction to the storage module according to the signal fed back by the communication module; The storage module marks the test result data packet as a transmission failure mark in response to the transmission mark determination instruction of the central controller.

6. The data transmission system according to claim 1, wherein The communication module feeds back to the central controller if a data transmission success signal is received from the server within a set time period during transmission of the test result data packet to the server; The central controller sends a transmission mark determination instruction to the storage module according to the data transmission success signal fed back by the communication module; The storage module marks the test result data packet as a transmission success mark in response to the instruction of the central controller.

7. The data transmission system according to claim 1, wherein The central controller controls the storage module to increase the transmission count value by 1 in the test result data packet corresponding to the data retransmission instruction after the communication module retransmits the test result data packet with transmission failure to the server according to the data retransmission instruction.

8. The data transmission system according to claim 7, wherein The central controller sends a complete shutdown instruction after the transmission count value in all retransmitted test result data packets reaches a set threshold.

9. The data transmission system according to claim 1 or 4 or 8, wherein The storage module clears the transmission count value of all test result data packets in response to a power-on signal or after the countdown of the timing module ends or after the transmission count value in all retransmitted test result data packets reaches a set threshold.

10. A data transmission method, characterized by Comprising:

101. The switch module feeds back to the central controller after collecting a power-off signal of the client; 103. The central controller controls the power supply module to stop supplying power to the test module and the analysis module and sends a historical data scanning instruction to the storage module after receiving the power-off signal fed back by the switch module; 105. The storage module scans each test result data packet stored therein and determines the test result data packet with transmission failure and feeds back to the central controller in response to the historical data scanning instruction of the central controller; 107. The central controller sends a data retransmission instruction to the communication module to require the communication module to retransmit the test result data packet with transmission failure determined by the storage module; 109. The communication module retransmits the test result data packet with transmission failure to the server in response to the data retransmission instruction of the central controller; 111. The central controller sends an update instruction to the storage module if the data retransmission is successful; 113. The storage module updates the transmission mark of the test result data packet corresponding to the data retransmission success signal in response to the update instruction of the central controller.

11. The data transmission method of claim 10, wherein, The step 103 further comprises that the central controller controls the power supply module to stop supplying power to the display module.

12. The data transmission method of claim 10, wherein, The data transmission method further comprises: The central controller sends a countdown instruction to the timing module at the same time or after sending the historical data scanning instruction to the storage module, and sends a complete shutdown instruction after receiving a countdown completion signal fed back by the timing module.

13. The data transmission method of claim 10, wherein, The step 109 is specifically: the communication module responds to the data retransmission instruction of the central controller to retransmit the test result data packet of the transmission failure to the server, and the storage module responds to the instruction of the central controller to increase the transmission count value in the test result data packet corresponding to the data retransmission instruction by 1; The step 111 is specifically: if the data retransmission is successful, the central controller sends an update instruction to the storage module to execute the step 113; if the data retransmission fails and the transmission count value does not reach the set threshold, the step 109 is executed; if the data retransmission fails and the transmission count value in all retransmitted test result data packets reaches the set threshold, a complete shutdown instruction is sent.

14. The data transmission method of claim 12 or 13, characterized in that, After the countdown of the timing module ends or after the transmission count value in all retransmitted test result data packets reaches the set threshold, the transmission count value of all test result data packets is cleared.

15. The data transmission method of claim 11, wherein, During the data retransmission process, after the central controller receives the power-on signal fed back by the switch module, the power supply module is controlled to start power supply to all modules, the transmission count value of all test result data packets is cleared, and the data retransmission and the client test are synchronized.

Citation Information

Patent Citations

  • Intelligent human body sign mobile phone monitoring system

    CN105534492A

  • Health monitor

    CN114587312A