CN113057641A - Method for quickly reading data - Google Patents
Method for quickly reading data Download PDFInfo
- Publication number
- CN113057641A CN113057641A CN201911288438.3A CN201911288438A CN113057641A CN 113057641 A CN113057641 A CN 113057641A CN 201911288438 A CN201911288438 A CN 201911288438A CN 113057641 A CN113057641 A CN 113057641A
- Authority
- CN
- China
- Prior art keywords
- data
- protocol
- communication interface
- main control
- data communication
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/0002—Remote monitoring of patients using telemetry, e.g. transmission of vital signals via a communication network
- A61B5/0004—Remote monitoring of patients using telemetry, e.g. transmission of vital signals via a communication network characterised by the type of physiological signal transmitted
- A61B5/0006—ECG or EEG signals
Landscapes
- Health & Medical Sciences (AREA)
- Life Sciences & Earth Sciences (AREA)
- Engineering & Computer Science (AREA)
- Biomedical Technology (AREA)
- Medical Informatics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Biophysics (AREA)
- Pathology (AREA)
- Physiology (AREA)
- Heart & Thoracic Surgery (AREA)
- Physics & Mathematics (AREA)
- Molecular Biology (AREA)
- Surgery (AREA)
- Animal Behavior & Ethology (AREA)
- General Health & Medical Sciences (AREA)
- Public Health (AREA)
- Veterinary Medicine (AREA)
- Measurement And Recording Of Electrical Phenomena And Electrical Characteristics Of The Living Body (AREA)
Abstract
The embodiment of the invention relates to a method for rapidly reading data, which comprises the following steps: after the resetting is successful, setting the first connection equipment state as an equipment-free state identifier; performing internal data bus connection processing on the data communication interface, the main control module and the digital memory card; acquiring a first input voltage of an external device; setting a first interface state as a connection success identifier when the first input voltage is within a predetermined voltage threshold range; determining whether the current main control module is executing read-write operation on the digital memory card; if the operation is being read and written, setting the state of the first connecting equipment as the state identifier of the upper equipment after the reading and writing are finished; if the read-write operation is not carried out, setting the state of the first connecting equipment as an upper equipment state identifier; performing external data fast reading bus connection processing on the data communication interface, the transmission protocol conversion module and the digital memory card; the external equipment reads data from the digital memory card through the data communication interface and the transmission protocol conversion module.
Description
Technical Field
The invention relates to the technical field of electrocardio detection, in particular to a method for rapidly reading data.
Background
The electrocardiograph is used to record the physiological electric signal generated by heart activity, and the dynamic electrocardiograph is used to monitor dynamic electrocardiogram for a long time. Compared with the common electrocardiograph which can only complete short-time monitoring, the dynamic electrocardiograph can observe occasional arrhythmia after the prolonged recording time (24 hours or more) of the dynamic electrocardiograph. Currently, a dynamic electrocardiograph processes long-time electrocardiographic data monitored by the dynamic electrocardiograph, and the long-time electrocardiographic data is generally recorded on a digital storage card through a main control module of the dynamic electrocardiograph. When analyzing recorded long-time electrocardiogram data, there are two reading modes for the data: 1. taking out the digital storage card, and analyzing the data on the digital storage card by the electrocardio analysis equipment after the data is led out by the card reading equipment; 2. the electrocardio analysis equipment reads the stored data from the digital storage card by the main control module of the dynamic electrocardio recorder through the data communication interface of the dynamic electrocardio recorder and sends the data to the electrocardio analysis equipment through the data communication interface.
In the actual use process, we find that: 1, because the digital storage card needs to be pulled out of the dynamic electrocardiograph recorder and inserted into the card reading device for each analysis, the digital storage card is easy to deform mechanically in the process of inserting and pulling the card for multiple operations, and once the digital storage card deforms, the digital storage card cannot be used continuously, and data stored on the digital storage card can be lost; and 2, the software running resources occupying the main control module of the dynamic electrocardiograph recorder read and transmit data of the digital memory card in a software protocol analysis mode, and the data transmission efficiency cannot be optimized along with the increase of data volume, and the capability of the main control module for processing other tasks in parallel is reduced.
Disclosure of Invention
The invention aims to provide a method for rapidly reading data, which aims at overcoming the defects of the prior art, and is characterized in that an access switching mechanism for a digital memory card is arranged in an electrocardiogram machine.
In order to achieve the above object, the present invention provides a method for quickly reading data, which is characterized in that the method comprises:
the method comprises the steps that an electrocardiograph receives a reset signal to reset, and after the reset is successful, a main control module of the electrocardiograph sets a first connection device state of a transmission switching module of the electrocardiograph to be a device-free state identifier;
the transmission switching module is used for carrying out internal data bus connection processing on a data communication interface of the electrocardiograph, the main control module and the digital storage card through a first data bus of the electrocardiograph;
the electrocardiograph monitors connection between external equipment and the data communication interface, and when the fact that the external equipment inputs connection voltage to the data communication interface is monitored, the data communication interface obtains first input voltage of the external equipment;
when the first input voltage is within a preset voltage threshold range, the data communication interface sets a first interface state as a connection success identifier;
determining whether the main control module is executing read-write operation on the digital storage card currently;
if the main control module is executing the read-write operation on the digital storage card, the main control module sets the first connection equipment state as an upper equipment state identifier after completing the read-write operation on the digital storage card;
if the main control module does not perform the read-write operation on the digital storage card, the main control module sets the first connection equipment state as the upper equipment state identifier;
when the first connection equipment state is the upper equipment state identifier, the transmission switching module performs external data fast reading bus connection processing on the data communication interface, the transmission protocol conversion module and the digital storage card of the electrocardiograph through a second data bus of the electrocardiograph;
and the external equipment uses the transmission protocol conversion module to read data of the digital memory card through the data communication interface.
Further, the method further comprises:
when the external equipment is disconnected from the data communication interface, the data communication interface sets the first interface state as a connection failure identifier;
the main control module sets the first connection equipment state as the equipment-free state identifier;
and the transmission switching module performs internal data bus connection processing on the data communication interface, the main control module and the digital memory card through the first data bus.
Further, the method further comprises:
the electrocardiograph monitors the connection between the external equipment and the data communication interface, and when the external equipment is monitored to input connection voltage to the data communication interface, the data communication interface acquires second input voltage of the external equipment;
when the second input voltage is not within the preset voltage threshold range, the data communication interface sets the first interface state as the connection failure identifier;
the main control module sets the first connection equipment state as the equipment-free state identifier;
and the transmission switching module performs internal data bus connection processing on the data communication interface, the main control module and the digital memory card through the first data bus.
Further, in the above-mentioned case,
the data communication interface comprises an internal data input end and an internal data output end;
the main control module comprises a first data input end, a first data output end, a second data input end and a second data output end;
the transmission protocol conversion module comprises a first protocol data input end, a first protocol data output end, a second protocol data input end and a second protocol data output end;
the digital storage card comprises a digital card data input end and a digital card data output end.
Further, the transmission switching module performs internal data bus connection processing on the data communication interface of the electrocardiograph, the main control module and the digital storage card through a first data bus of the electrocardiograph, and specifically includes:
the transmission switching module connects the internal data output end of the data communication interface with the first data input end of the main control module through the first data bus, connects the internal data input end of the data communication interface with the first data output end of the main control module, connects the digital card data output end of the digital memory card with the second data input end of the main control module, and connects the digital card data input end of the digital memory card with the second data output end of the main control module.
Further, the transmission switching module performs a bus connection process for fast reading external data on the data communication interface, the transmission protocol conversion module and the digital storage card of the electrocardiograph through a second data bus of the electrocardiograph, and specifically includes:
the transmission switching module connects the internal data output end of the data communication interface with the first protocol data input end of the transmission protocol conversion module through the second data bus, connects the internal data input end of the data communication interface with the first protocol data output end of the transmission protocol conversion module, connects the digital card data output end of the digital memory card with the second protocol data input end of the transmission protocol conversion module, and connects the digital card data input end of the digital memory card with the second protocol data output end of the transmission protocol conversion module.
Further, the transmission protocol conversion module further includes: the device comprises a first protocol data analysis module and a second protocol data analysis module.
Further, the external device uses the transport protocol conversion module to perform data reading operation on the digital memory card through the data communication interface, and specifically includes:
the external equipment sends a first protocol format reading instruction to the data communication interface;
after the data communication interface acquires the first protocol format reading instruction, the data communication interface sends the first protocol format reading instruction to the transmission protocol conversion module through the internal data output end;
after the transmission protocol conversion module acquires the first protocol format reading instruction from the first protocol data input end, calling the first protocol data analysis module to perform first protocol data analysis processing on the first protocol format reading instruction to generate first reading instruction data, calling the second protocol data analysis module to perform second protocol data packaging processing on the first reading instruction data to generate a second protocol format reading instruction, and sending the second protocol format reading instruction to the digital memory card through the second protocol data output end;
after the digital storage card obtains the second protocol format reading instruction through the digital card data input end, performing second protocol data analysis processing on the second protocol format reading instruction to generate first reading instruction data, performing data reading operation according to the first reading instruction data to generate first reading data, performing second protocol data packaging processing on the first reading data to generate second protocol format reading data, and sending the second protocol format reading data to the transmission protocol conversion module through the digital card data output end;
after the transmission protocol conversion module acquires the second protocol format read data from the second protocol data input end, the second protocol data analysis module is called to perform second protocol data analysis processing on the second protocol format read data to generate the first read data, the first protocol data analysis module is called to perform first protocol data packaging processing on the first read data to generate first protocol format read data, and the first protocol format read data is sent to the data communication interface through the first protocol data output end;
and the data communication interface sends the first protocol format read data received by the internal data input end to the external equipment.
Further, the data communication interface at least comprises: a Universal Serial Bus (USB) communication interface.
The invention provides a method for rapidly reading data, which is characterized in that the input voltage of external equipment is obtained through a data communication interface, and whether the connected equipment is matched upper equipment or not is identified through the threshold judgment of the input voltage. When the upper device is not the matching device, the transmission switching module realizes direct connection between the data communication interface and the main control module and realizes direct connection between the main control module and the digital memory card, and the calling requirement of the main control module on the digital memory card in the service process of the electrocardiograph is ensured; when the upper equipment is matched equipment, the transmission switching module realizes direct connection between the data communication interface and the transmission protocol conversion module of the digital storage card, realizes direct connection between the transmission protocol conversion module and the digital storage card, and meets the operation requirement that the upper equipment needs to call data of the digital storage card.
Drawings
Fig. 1 is a schematic diagram illustrating a method for fast reading data according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a fast read data processing module of an electrocardiograph according to an embodiment of the present invention;
fig. 3 is a schematic diagram illustrating a method for fast reading data according to a second embodiment of the present invention;
fig. 4 is a schematic diagram of a method for fast reading data according to a third embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As shown in fig. 1, which is a schematic diagram of a method for quickly reading data according to an embodiment of the present invention, the method mainly includes the following steps:
step 1, the electrocardiograph receives the reset signal to reset, and after the reset is successful, the main control module of the electrocardiograph sets the first connection equipment state of the transmission switching module of the electrocardiograph to be the equipment-free state identifier.
Here, as shown in fig. 2, which is a schematic diagram of a processing module for fast reading data of an electrocardiograph according to an embodiment of the present invention, the processing module of the electrocardiograph includes at least the following modules: data communication interface, transmission switching module, main control module, transmission protocol conversion module and digital memory card. Wherein, the data communication module includes at least to the port of inside data transmission: an internal data input terminal and an internal data output terminal; the main control module at least comprises the following data transmission ports for processing data switching: the first data input end and the first data output end are used for processing data transmission with the data communication interface, and the second data input end and the second data output end are used for processing data transmission with the digital memory card; the data transmission port of the transmission protocol conversion module at least comprises: the transmission protocol conversion module is used for analyzing and transmitting at least two different transmission protocol data, so that the transmission protocol conversion module needs to be provided with data input and output ports of at least two protocols.
Here, the device reset includes two reset mechanisms, a power-on-cold reset and a power-on-hot reset, and by default, the first connected device state is first set to the no-device state identifier after the device completes the reset.
Here, the value of the first connection device state includes two states, namely a device-less state identifier and an upper device state identifier; when the value of the first connection equipment state is the equipment-free state identifier, it indicates that no external equipment needs to access the internal digital memory card, that is, the upper control module of the digital memory card is a main control module in the electrocardiograph; when the value of the first connection device state is the upper device state identifier, it indicates that the external device is to perform direct data access on the internal digital storage card, and in order to increase the data reading speed of the external device on the digital storage card, the upper control module of the digital storage card needs to be switched from the internal main control module to the external device, and after the switching, the speed of the external device accessing the digital storage card through the customized transmission protocol conversion module is faster than the speed of the external device accessing the digital storage card through the main control module.
Step 2, the transmission switching module performs internal data bus connection processing on a data communication interface, a main control module and a digital memory card of the electrocardiograph through a first data bus of the electrocardiograph;
the method specifically comprises the following steps: the transmission switching module connects the internal data output end of the data communication interface with the first data input end of the main control module through a first data bus, connects the internal data input end of the data communication interface with the first data output end of the main control module, connects the digital card data output end of the digital memory card with the second data input end of the main control module, and connects the digital card data input end of the digital memory card with the second data output end of the main control module.
Here, it is the default after the device reset mentioned above that the first connection device status is set to the no device status identifier, that is, there is no external device by default. The electrocardiograph defaults that the only main control device for the digital storage card is the main control module of the electrocardiograph, so the transmission switching module directly connects the digital storage card with the main control module, and the data communication module is used as the interior of the electrocardiograph and is also directly connected with the main control module.
And 3, monitoring the connection between the external equipment and the data communication interface by the electrocardiograph, and acquiring a first input voltage of the external equipment by the data communication interface when the connection voltage of the external equipment to the data communication interface is monitored to be input.
And 4, when the first input voltage is within the preset voltage threshold range, setting the first interface state as a connection success identifier by the data communication interface.
Here, it should be noted that, according to the specific communication interface protocol of the data communication interface, the predetermined voltage threshold corresponding thereto is also different, for example: common Universal Serial Bus (USB) hardware interface voltages of versions below 3.1 are all 5v, whereas USB3.1 is 20 v. A threshold range is set here because in practical applications the voltage may fluctuate, and in order to ensure better compatibility of the device, a tolerable fluctuation range, for example the usual fluctuation range of plus or minus 10%, is set. Here, assuming that the interface is a USB2.0 interface, when the input voltage is in the range of 4.5v to 5.5v, the data communication interface sets the first interface state as the connection success identifier.
And 5, determining whether the current main control module is executing read-write operation on the digital storage card, if the main control module is executing read-write operation on the digital storage card, turning to the step 7, and if the main control module is not executing read-write operation on the digital storage card, turning to the step 6.
After the upper computer is found to be accessed into the data communication interface, the use state of the digital storage card is judged once, and if the digital storage card is not occupied by other equipment for data reading and writing, the main control equipment of the digital storage card is switched immediately; if the digital memory card is occupied by other devices for data reading and writing, in order to ensure that the reading and writing process is not damaged, the switching task of the main control device needs to be delayed until the current data reading and writing task of the digital memory card is completed.
And 6, the main control module sets the first connection equipment state as an upper equipment state identifier, and the step 8 is carried out.
And 7, setting the state of the first connecting device as the state identifier of the upper device by the main control module after the main control module finishes the read-write operation of the digital storage card.
The method needs to switch the only main control equipment of the digital storage card from the main control module of the electrocardiograph to the upper equipment, so that the state of the first connecting equipment is set as the state identifier of the upper equipment, and the module connection switching operation is completed through the subsequent steps.
Step 8, when the first connection equipment state is the upper equipment state identifier, the transmission switching module carries out external data fast reading bus connection processing on the data communication interface, the transmission protocol conversion module and the digital storage card through a second data bus of the electrocardiograph;
the method specifically comprises the following steps: the transmission switching module connects the internal data output end of the data communication interface with the first protocol data input end of the transmission protocol conversion module through a second data bus, connects the internal data input end of the data communication interface with the first protocol data output end of the transmission protocol conversion module, connects the digital card data output end of the digital memory card with the second protocol data input end of the transmission protocol conversion module, and connects the digital card data input end of the digital memory card with the second protocol data output end of the transmission protocol conversion module.
The digital memory card is directly connected with the transmission protocol conversion module through the external data fast reading bus connection processing, and the transmission protocol conversion module is connected with the external equipment through the data communication interface.
the method specifically comprises the following steps: step 91, the external device sends a first protocol format reading instruction to the data communication interface;
step 92, after acquiring the first protocol format reading instruction, the data communication interface sends the first protocol format reading instruction to the transmission protocol conversion module through the internal data output end;
here, the transport protocol conversion module needs to convert at least two transport protocols, and therefore includes at least two protocol parsing modules: the device comprises a first protocol data analysis module and a second protocol data analysis module.
Step 93, after the transmission protocol conversion module obtains a first protocol format reading instruction from a first protocol data input end, calling a first protocol data analysis module to perform first protocol data analysis processing on the first protocol format reading instruction to generate first reading instruction data, calling a second protocol data analysis module to perform second protocol data packaging processing on the first reading instruction data to generate a second protocol format reading instruction, and sending the second protocol format reading instruction to the digital memory card through a second protocol data output end;
step 94, after the digital memory card obtains a second protocol format reading instruction through the digital card data input end, performing second protocol data analysis processing on the second protocol format reading instruction to generate first reading instruction data, performing data reading operation according to the first reading instruction data to generate first reading data, performing second protocol data packaging processing on the first reading data to generate second protocol format reading data, and sending the second protocol format reading data to the transmission protocol conversion module through the digital card data output end;
step 95, after the transport protocol conversion module acquires the read data in the second protocol format from the second protocol data input end, the second protocol data analysis module is called to perform second protocol data analysis processing on the read data in the second protocol format to generate first read data, the first protocol data analysis module is called to perform first protocol data packing processing on the first read data to generate first protocol format read data, and the first protocol format read data is sent to the data communication interface through the first protocol data output end.
Here, compared to the design of the main control module for multitasking, the design of the tcp conversion module is often more biased toward directional customization, specifically, a customized communication module dedicated to specific data format transmission. In order to improve the transmission efficiency and speed, the module not only realizes most of data analysis, packaging and transmission operations through programmable hardware logic, but also provides a high-speed special memory for processing cache data in the transmission process. Therefore, after the main control device of the digital memory card is switched from the main control module to the external device, the transmission between the main control device and the external device is processed by the transport protocol conversion module, and the efficiency is greatly improved.
As shown in fig. 3, which is a schematic diagram of a method for quickly reading data according to a second embodiment of the present invention, the method mainly includes the following steps:
Here, after the external device is disconnected from the data communication interface, the upper control module of the digital memory card needs to be switched from the external device to the internal main control module, so that the first connection device state is set as the device-less state identifier, and the module connection switching operation is completed through the subsequent steps.
103, the transmission switching module performs internal data bus connection processing on the data communication interface, the main control module and the digital memory card through a first data bus;
the method specifically comprises the following steps: the transmission switching module connects the internal data output end of the data communication interface with the first data input end of the main control module through a first data bus, connects the internal data input end of the data communication interface with the first data output end of the main control module, connects the digital card data output end of the digital memory card with the second data input end of the main control module, and connects the digital card data input end of the digital memory card with the second data output end of the main control module.
Here, the data communication interface and the digital memory card are connected to the main control module through an internal data bus connection process.
As shown in fig. 4, which is a schematic diagram of a method for quickly reading data according to a third embodiment of the present invention, the method mainly includes the following steps:
step 201, the electrocardiograph monitors the connection between the external device and the data communication interface, and when it is monitored that the connection voltage of the external device to the data communication interface is input, the data communication interface obtains a second input voltage of the external device.
In step 202, when the second input voltage is not within the predetermined voltage threshold range, the data communication interface sets the first interface state as a connection failure identifier.
Here, when the interface input voltage exceeds the predetermined voltage threshold range, the electrocardiograph should consider the connection of the peripheral as abnormal connection or no connection, and the electrocardiograph considers that the only main control device of the digital storage card should be the main control module instead of the external device. Further, the transmission switching module switches the external data fast reading bus connection mode back to the internal data bus connection mode: and directly connecting the digital memory card with the main control module, and directly connecting the data communication module with the main control module. Common causes for such problems are: the external connection interface is aged and loosened, the interface is in poor contact and the like.
Here, the first connection device state is set to the device-less state identifier, and the module connection switching operation is completed through the subsequent steps.
Step 204, the transmission switching module performs internal data bus connection processing on the data communication interface, the main control module and the digital memory card through a first data bus;
the method specifically comprises the following steps: the transmission switching module connects the internal data output end of the data communication interface with the first data input end of the main control module through a first data bus, connects the internal data input end of the data communication interface with the first data output end of the main control module, connects the digital card data output end of the digital memory card with the second data input end of the main control module, and connects the digital card data input end of the digital memory card with the second data output end of the main control module.
Here, the data communication interface and the digital memory card are connected to the main control module through an internal data bus connection process.
The invention provides a method for rapidly reading data, which is characterized in that the input voltage of external equipment is obtained through a data communication interface, and whether the connected equipment is matched upper equipment or not is identified through the threshold judgment of the input voltage. When the upper device is not the matching device, the transmission switching module realizes direct connection between the data communication interface and the main control module and realizes direct connection between the main control module and the digital memory card, and the calling requirement of the main control module on the digital memory card in the service process of the electrocardiograph is ensured; when the upper equipment is matched equipment, the transmission switching module realizes direct connection between the data communication interface and the transmission protocol conversion module of the digital storage card, realizes direct connection between the transmission protocol conversion module and the digital storage card, and meets the operation requirement that the upper equipment needs to call data of the digital storage card. By using the method of the invention, the digital memory card can be prevented from being plugged back and forth, the resources of the electrocardiogram main control module are not wasted while the access requirements of the electrocardiograph and the upper computer to the digital memory card are considered, the working efficiency of the main control module is reduced to carry out data analysis operation, and the transmission speed between the memory card and the upper device can be further improved by using the hardware transmission protocol switching module on the premise of not upgrading the main control module.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied in hardware, a software module executed by a processor, or a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are merely exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.
Claims (9)
1. A method for fast reading of data, the method comprising:
the method comprises the steps that an electrocardiograph receives a reset signal to reset, and after the reset is successful, a main control module of the electrocardiograph sets a first connection device state of a transmission switching module of the electrocardiograph to be a device-free state identifier;
the transmission switching module is used for carrying out internal data bus connection processing on a data communication interface of the electrocardiograph, the main control module and the digital storage card through a first data bus of the electrocardiograph;
the electrocardiograph monitors connection between external equipment and the data communication interface, and when the fact that the external equipment inputs connection voltage to the data communication interface is monitored, the data communication interface obtains first input voltage of the external equipment;
when the first input voltage is within a preset voltage threshold range, the data communication interface sets a first interface state as a connection success identifier;
determining whether the main control module is executing read-write operation on the digital storage card currently;
if the main control module is executing the read-write operation on the digital storage card, the main control module sets the first connection equipment state as an upper equipment state identifier after completing the read-write operation on the digital storage card;
if the main control module does not perform the read-write operation on the digital storage card, the main control module sets the first connection equipment state as the upper equipment state identifier;
when the first connection equipment state is the upper equipment state identifier, the transmission switching module performs external data fast reading bus connection processing on the data communication interface, the transmission protocol conversion module and the digital storage card of the electrocardiograph through a second data bus of the electrocardiograph;
and the external equipment uses the transmission protocol conversion module to read data of the digital memory card through the data communication interface.
2. The method for fast reading of data according to claim 1, further comprising:
when the external equipment is disconnected from the data communication interface, the data communication interface sets the first interface state as a connection failure identifier;
the main control module sets the first connection equipment state as the equipment-free state identifier;
and the transmission switching module performs internal data bus connection processing on the data communication interface, the main control module and the digital memory card through the first data bus.
3. The method for fast reading of data according to claim 2, further comprising:
the electrocardiograph monitors the connection between the external equipment and the data communication interface, and when the external equipment is monitored to input connection voltage to the data communication interface, the data communication interface acquires second input voltage of the external equipment;
when the second input voltage is not within the preset voltage threshold range, the data communication interface sets the first interface state as the connection failure identifier;
the main control module sets the first connection equipment state as the equipment-free state identifier;
and the transmission switching module performs internal data bus connection processing on the data communication interface, the main control module and the digital memory card through the first data bus.
4. The method for fast reading data according to claim 1,
the data communication interface comprises an internal data input end and an internal data output end;
the main control module comprises a first data input end, a first data output end, a second data input end and a second data output end;
the transmission protocol conversion module comprises a first protocol data input end, a first protocol data output end, a second protocol data input end and a second protocol data output end;
the digital storage card comprises a digital card data input end and a digital card data output end.
5. The method for rapidly reading data according to claim 4, wherein the transmission switching module performs internal data bus connection processing on the data communication interface of the electrocardiograph, the main control module and the digital memory card through a first data bus of the electrocardiograph, and specifically comprises:
the transmission switching module connects the internal data output end of the data communication interface with the first data input end of the main control module through the first data bus, connects the internal data input end of the data communication interface with the first data output end of the main control module, connects the digital card data output end of the digital memory card with the second data input end of the main control module, and connects the digital card data input end of the digital memory card with the second data output end of the main control module.
6. The method for rapidly reading data according to claim 4, wherein the transmission switching module performs the external data rapid reading bus connection processing on the data communication interface, the transmission protocol conversion module and the digital memory card of the electrocardiograph through a second data bus of the electrocardiograph, and specifically comprises:
the transmission switching module connects the internal data output end of the data communication interface with the first protocol data input end of the transmission protocol conversion module through the second data bus, connects the internal data input end of the data communication interface with the first protocol data output end of the transmission protocol conversion module, connects the digital card data output end of the digital memory card with the second protocol data input end of the transmission protocol conversion module, and connects the digital card data input end of the digital memory card with the second protocol data output end of the transmission protocol conversion module.
7. The method for fast reading data according to claim 4,
the transmission protocol conversion module further includes: the device comprises a first protocol data analysis module and a second protocol data analysis module.
8. The method for rapidly reading data according to claim 7, wherein the external device performs a data reading operation on the digital memory card through the data communication interface by using the transport protocol conversion module, specifically comprising:
the external equipment sends a first protocol format reading instruction to the data communication interface;
after the data communication interface acquires the first protocol format reading instruction, the data communication interface sends the first protocol format reading instruction to the transmission protocol conversion module through the internal data output end;
after the transmission protocol conversion module acquires the first protocol format reading instruction from the first protocol data input end, calling the first protocol data analysis module to perform first protocol data analysis processing on the first protocol format reading instruction to generate first reading instruction data, calling the second protocol data analysis module to perform second protocol data packaging processing on the first reading instruction data to generate a second protocol format reading instruction, and sending the second protocol format reading instruction to the digital memory card through the second protocol data output end;
after the digital storage card obtains the second protocol format reading instruction through the digital card data input end, performing second protocol data analysis processing on the second protocol format reading instruction to generate first reading instruction data, performing data reading operation according to the first reading instruction data to generate first reading data, performing second protocol data packaging processing on the first reading data to generate second protocol format reading data, and sending the second protocol format reading data to the transmission protocol conversion module through the digital card data output end;
after the transmission protocol conversion module acquires the second protocol format read data from the second protocol data input end, the second protocol data analysis module is called to perform second protocol data analysis processing on the second protocol format read data to generate the first read data, the first protocol data analysis module is called to perform first protocol data packaging processing on the first read data to generate first protocol format read data, and the first protocol format read data is sent to the data communication interface through the first protocol data output end;
and the data communication interface sends the first protocol format read data received by the internal data input end to the external equipment.
9. The method for fast reading data according to claim 1, wherein:
the data communication interface at least comprises: a Universal Serial Bus (USB) communication interface.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911288438.3A CN113057641B (en) | 2019-12-13 | 2019-12-13 | Method for quickly reading data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911288438.3A CN113057641B (en) | 2019-12-13 | 2019-12-13 | Method for quickly reading data |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113057641A true CN113057641A (en) | 2021-07-02 |
CN113057641B CN113057641B (en) | 2022-09-27 |
Family
ID=76558019
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911288438.3A Active CN113057641B (en) | 2019-12-13 | 2019-12-13 | Method for quickly reading data |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113057641B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080288698A1 (en) * | 2007-05-16 | 2008-11-20 | Genesys Logic, Inc. | Card reader controlling apparatus based on secure digital protocol |
CN101964074A (en) * | 2010-09-29 | 2011-02-02 | 上海中科国嘉技术转移有限公司 | Radio-frequency electronic identifier and radio-frequency identification system and realization method thereof |
US20120260010A1 (en) * | 2010-10-27 | 2012-10-11 | Ipgoal Microelectronics (Sichuan) Co., Ltd. | Storage control system and storage control method |
US20150003155A1 (en) * | 2013-07-01 | 2015-01-01 | Incredible Technologies, Inc. | System and Method for Employing Secure Non-Volatile Storage Devices in Gaming Machines |
CN105245349A (en) * | 2015-11-17 | 2016-01-13 | 王家城 | User wearing equipment provided with embedded UICC card |
WO2016165430A1 (en) * | 2015-09-29 | 2016-10-20 | 中兴通讯股份有限公司 | Data transfer method and apparatus, communication system, and computer storage medium |
-
2019
- 2019-12-13 CN CN201911288438.3A patent/CN113057641B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080288698A1 (en) * | 2007-05-16 | 2008-11-20 | Genesys Logic, Inc. | Card reader controlling apparatus based on secure digital protocol |
CN101964074A (en) * | 2010-09-29 | 2011-02-02 | 上海中科国嘉技术转移有限公司 | Radio-frequency electronic identifier and radio-frequency identification system and realization method thereof |
US20120260010A1 (en) * | 2010-10-27 | 2012-10-11 | Ipgoal Microelectronics (Sichuan) Co., Ltd. | Storage control system and storage control method |
US20150003155A1 (en) * | 2013-07-01 | 2015-01-01 | Incredible Technologies, Inc. | System and Method for Employing Secure Non-Volatile Storage Devices in Gaming Machines |
WO2016165430A1 (en) * | 2015-09-29 | 2016-10-20 | 中兴通讯股份有限公司 | Data transfer method and apparatus, communication system, and computer storage medium |
CN105245349A (en) * | 2015-11-17 | 2016-01-13 | 王家城 | User wearing equipment provided with embedded UICC card |
Also Published As
Publication number | Publication date |
---|---|
CN113057641B (en) | 2022-09-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20220366159A1 (en) | Electronic device | |
US20220269326A1 (en) | Electronic device, interface control method of electronic device, and system | |
US20230123326A1 (en) | Cleaning robot control method and device, storage medium and cleaning robot | |
CN111817097A (en) | Charging control method and data line | |
US20060041611A1 (en) | Data transfer control system, electronic apparatus, and program | |
CN110881224B (en) | Network long connection method, device, equipment and storage medium | |
CN113852564A (en) | Server control method, device and medium | |
CN113057641B (en) | Method for quickly reading data | |
CN108491343B (en) | Terminal device, data transmission system and method | |
CN112433973B (en) | Link negotiation method, device, equipment and storage medium for JBOF (Java virtual machine) of solid state disk cluster | |
CN113868182A (en) | Data compression method, device, equipment and medium | |
CN107948692A (en) | A kind of control method, system, set-top box and storage medium for cascading set-top box | |
CN111078164B (en) | Thermal printing module | |
CN116208574A (en) | Message processing method, device, electronic equipment and computer readable storage medium | |
US7730343B2 (en) | Optimization of port link recovery | |
CN110704288A (en) | Information processing method and electronic equipment | |
US8972621B1 (en) | Methods, systems, and physical computer-readable media for multiplexing a single end-point memory structure between USB interfaces | |
US11334506B2 (en) | Interface connection device, system and method thereof | |
CN113342592B (en) | Disconnection detection method, device and medium of hot plug equipment | |
EP2645202B1 (en) | Method for supplying power to wireless network terminal and wireless network terminal | |
CN109697144B (en) | Hard disk detection method of electronic equipment and electronic equipment | |
CN111641633A (en) | Information processing method for memory and electronic equipment | |
CN113360326B (en) | Debugging log obtaining method and device | |
US11493983B2 (en) | Head mounted display device and power management method thereof | |
CN109871281B (en) | Data interaction method and device based on InSE security chip |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |