CN108390744B - Data transmission method, data transmission device, electronic device, program product, and storage medium - Google Patents

Data transmission method, data transmission device, electronic device, program product, and storage medium Download PDF

Info

Publication number
CN108390744B
CN108390744B CN201810139842.3A CN201810139842A CN108390744B CN 108390744 B CN108390744 B CN 108390744B CN 201810139842 A CN201810139842 A CN 201810139842A CN 108390744 B CN108390744 B CN 108390744B
Authority
CN
China
Prior art keywords
communication module
data
control unit
receiving
resource
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.)
Active
Application number
CN201810139842.3A
Other languages
Chinese (zh)
Other versions
CN108390744A (en
Inventor
周技锋
孙涛
马建良
徐超
王飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Midea Group Co Ltd
Guangdong Midea Kitchen Appliances Manufacturing Co Ltd
Original Assignee
Midea Group Co Ltd
Guangdong Midea Kitchen Appliances Manufacturing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Midea Group Co Ltd, Guangdong Midea Kitchen Appliances Manufacturing Co Ltd filed Critical Midea Group Co Ltd
Priority to CN201810139842.3A priority Critical patent/CN108390744B/en
Publication of CN108390744A publication Critical patent/CN108390744A/en
Application granted granted Critical
Publication of CN108390744B publication Critical patent/CN108390744B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0006Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission format

Abstract

The invention provides a data transmission method, a data transmission device, electronic equipment, a program product and a storage medium, wherein the method comprises the following steps: receiving a first message sent by a communication module, wherein the first message carries resource occupation information used for representing the resource quantity required by first effective data to be transmitted; pre-allocating a first resource matched with the resource occupation information for the first effective data; and receiving the first effective data sent by the communication module by utilizing the first resource. Therefore, before the communication module sends the effective data, the communication module sends the resource occupation information of the effective data, and then the receiving party prepares the corresponding resource amount according to the resource occupation information and receives the effective data by using the prepared resource amount, thereby ensuring the reliability of data transmission.

Description

Data transmission method, data transmission device, electronic device, program product, and storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a data transmission method, an apparatus, an electronic device, a program product, and a storage medium.
Background
With the development of computer, network and communication technologies, communication systems based on control units and communication modules are widely used. Taking serial communication as an example, when sending data, a group of serial data is generally encapsulated and combined into one frame of data, and a frame of data instruction is set to restrict available information such as a frame header, a data length, valid data, check information, a frame tail, and the like, and further, when receiving data, the information such as the frame header, the valid data, the frame tail, and the like needs to be parsed from a data stream.
When the control unit communicates with the communication module in the related art, because the control unit generally has a small memory and a weak processing capability, when the data sent by the communication module is large, the data may be lost, which affects the normal transmission of the data.
Disclosure of Invention
The present invention is directed to solving, at least to some extent, one of the technical problems in the related art.
Therefore, a first objective of the present invention is to provide a data transmission method, so as to implement that before a communication module sends valid data to a control unit, resource occupation information of the valid data is sent first, and then the control unit is notified to prepare a corresponding resource amount for the communication module according to the resource occupation information, and receive the valid data using the prepared resource amount, thereby avoiding the problem that the control unit finally causes data loss due to untimely processing caused by insufficient resource preparation, and ensuring reliability of data transmission.
A second object of the present invention is to provide another data transmission method.
A third object of the present invention is to provide a data transmission apparatus.
A fourth object of the present invention is to provide another data transmission apparatus.
A fifth object of the invention is to propose an electronic device.
A sixth object of the invention is to propose a computer program product.
A seventh object of the invention is to propose a non-transitory computer-readable storage medium.
To achieve the above object, an embodiment of a first aspect of the present invention provides a data transmission method, including:
receiving a first message sent by a communication module, wherein the first message carries resource occupation information used for representing the resource quantity required by first effective data to be transmitted;
pre-allocating a first resource matched with the resource occupation information for the first effective data;
and receiving the first effective data sent by the communication module by utilizing the first resource.
According to the data transmission method, the first message sent by the communication module is received, wherein the first message carries resource occupation information used for representing the resource quantity needed by the first effective data to be transmitted, first resources matched with the resource occupation information are pre-allocated to the first effective data, and then the first effective data sent by the communication module are received by utilizing the first resources. In this embodiment, before sending the first valid data to the control unit, the communication module first informs the control unit of the resource occupation information of the first valid data, and then the control unit allocates the first resource according to the resource occupation information, because the control unit has already allocated the first resource in advance to receive the first valid data before receiving the first valid data, when the control unit receives the first valid data, the problem that the control unit finally causes data loss due to insufficient resource preparation is avoided, and the reliability of data transmission is ensured.
In addition, the data transmission method according to the above embodiment of the present invention may further have the following additional technical features:
optionally, the method further includes: the resource occupation information is the data length of the first effective data or the quantity of resources occupied by the first effective data.
Optionally, the receiving the first message sent by the communication module further includes: sending a first request for requesting a response header to the communication module; receiving response information returned by the communication module according to the first request; receiving the first message returned by the communication module; wherein the first message carries acknowledgement header information.
Optionally, before the sending the first request for requesting the response header to the communication module, the method further includes: and receiving a wake-up instruction sent by the communication module, and waking up from a dormant state, wherein the wake-up instruction is sent when the communication module detects that new valid data arrives.
Optionally, the receiving a wake-up instruction sent by the communication module and waking up from a sleep state includes: detecting a level value of an interrupt pin; and when the level value is switched from a first value to a second value, waking from the sleep state.
Optionally, before the receiving, by using the first resource, the first valid data sent by the communication module, the method further includes: sending a second request for requesting the first valid data to the communication module; and receiving response information returned by the communication module according to the second request.
Optionally, if the first valid data is encoded data, after receiving the first valid data returned by the communication module, the method further includes: and decoding the first effective data to obtain decoded first effective data.
Optionally, the decoding the first valid data to obtain decoded first valid data includes: according to the data length, carrying out integrity check on the received first valid data; and when the integrity check is passed, decoding the first effective data to obtain the decoded first effective data.
Optionally, the method further includes: and sending second valid data to the communication module.
Optionally, before sending the second valid data to the communication module, the method further includes: and coding the second effective data to obtain coded second effective data.
Optionally, the sending the second valid data to the communication module includes: sending a second message to the communication module; the second message carries resource occupation information used for representing the resource quantity required by the second effective data; receiving a response message fed back by the communication module; transmitting the encoded second payload data to the communication module; and receiving a response message fed back by the communication module.
In order to achieve the above object, a second embodiment of the present invention provides another data transmission method, including:
sending a first message to a control unit, wherein the first message carries resource occupation information used for representing the resource quantity required by first effective data to be transmitted;
and sending the first valid data to the control unit.
In the data transmission method of the embodiment of the invention, before the communication module sends the first effective data to the control unit, the first message carrying the resource occupation information of the resource amount required by the first effective data is sent to the control unit, and then the first effective data is sent to the control unit, so that the control unit prepares the corresponding resource amount in advance to process the data before receiving the first effective data, thereby avoiding data loss caused by untimely processing and ensuring the stability and reliability of data transmission.
In addition, the data transmission method according to the above embodiment of the present invention may further have the following additional technical features:
optionally, the method further includes: the resource occupation information is the data length of the first effective data or the quantity of resources occupied by the first effective data.
Optionally, the sending the first message to the control unit includes: receiving a first request sent by the control unit for requesting a response head; returning response information to the control unit; sending the first message to the control unit; wherein the first message carries acknowledgement header information.
Optionally, before the receiving the first request for requesting the response header sent by the control unit, the method further includes: and when detecting that the new first valid data arrives, sending a wake-up instruction to the control unit.
Optionally, the sending a wake-up instruction to the control unit includes: the level value of the interrupt pin is controlled to switch from a first value to said second value.
Optionally, before sending the first valid data to the control unit, the method further includes: receiving a second request for requesting the first valid data sent by the control unit; and response information returned to the control unit.
Optionally, the sending the first valid data to the control unit includes: coding the first effective data to obtain coded first effective data; transmitting the encoded first valid data to the control unit.
Optionally, the method further includes: and receiving second effective data sent by the control unit.
Optionally, the second valid data is encoded data, and after receiving the second valid data sent by the control unit, the method further includes: and decoding the second effective data to obtain the decoded second effective data.
Optionally, the receiving the second valid data sent by the control unit includes: receiving a second message sent by the control unit; the second message carries resource occupation information used for representing the resource quantity required by the second effective data; a response message fed back to the control unit; receiving the second valid data sent by the control unit; and the response message is fed back to the control unit.
Optionally, the decoding the second valid data to obtain decoded second valid data includes: when the resource occupation information is the data length of the second effective data, carrying out integrity check on the received second effective data according to the data length; and when the integrity check is passed, decoding the second valid data to obtain the decoded second valid data.
To achieve the above object, a third embodiment of the present invention provides a data transmission apparatus, including:
the first receiving module is used for receiving a first message sent by the communication module, wherein the first message carries resource occupation information used for representing the resource amount required by the first effective data to be transmitted;
the allocation module is used for allocating first resources matched with the resource occupation information to the first effective data in advance;
and the second receiving module is used for receiving the first effective data sent by the communication module by using the first resource.
The data transmission device of the embodiment of the invention receives a first message sent by a communication module, wherein the first message carries resource occupation information used for representing the resource quantity required by first effective data to be transmitted, and allocates a first resource matched with the resource occupation information in advance for the first effective data, so that the first effective data sent by the communication module is received by using the first resource. In this embodiment, before sending the first valid data to the control unit, the communication module first informs the control unit of the resource occupation information of the first valid data, and then the control unit allocates the first resource according to the resource occupation information, because the control unit has already allocated the first resource in advance to receive the first valid data before receiving the first valid data, when the control unit receives the first valid data, the problem that the control unit finally causes data loss due to insufficient resource preparation is avoided, and the reliability of data transmission is ensured.
To achieve the above object, a fourth aspect of the present invention provides another data transmission apparatus, including:
the first sending module is used for sending a first message to the control unit, wherein the first message carries resource occupation information used for representing the resource quantity required by the first effective data to be transmitted;
and the second sending module is used for sending the first effective data to the control unit.
According to the data transmission device, before the communication module sends the first effective data to the control unit, the first message carrying the resource occupation information of the resource quantity required by the first effective data is sent to the control unit, and then the first effective data is sent to the control unit, so that the control unit prepares the corresponding resource quantity in advance to process the data before receiving the first effective data, data loss caused by untimely processing is avoided, and stability and reliability of data transmission are guaranteed.
To achieve the above object, a fifth embodiment of the present invention provides a computer device, including a processor and a memory; the processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to implement the data transmission method according to the embodiment of the first aspect or implement the data transmission method according to the embodiment of the second aspect.
To achieve the above object, a sixth aspect of the present invention provides a computer program product, wherein when being executed by an instruction processor, the computer program product implements the data transmission method according to the first aspect or implements the data transmission method according to the second aspect.
To achieve the above object, a seventh embodiment of the present invention proposes a non-transitory computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the data transmission method according to the first embodiment or implements the data transmission method according to the second embodiment.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The foregoing and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a schematic flowchart of a data transmission method according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of another data transmission method according to an embodiment of the present invention;
fig. 3 is a schematic flowchart illustrating a process of sending data to a control unit by a communication module according to an embodiment of the present invention;
fig. 4 is a schematic diagram illustrating data transmission between a control unit and a communication module according to an embodiment of the present invention;
fig. 5 is a schematic flow chart illustrating a process of sending data from a communication module to a control unit in a sleep state according to an embodiment of the present invention;
fig. 6 is a flowchart illustrating another data transmission method according to an embodiment of the present invention;
fig. 7 is a schematic flowchart illustrating a process of sending data to a communication module by a control unit according to an embodiment of the present invention;
fig. 8 is a flowchart illustrating another data transmission method according to an embodiment of the present invention;
fig. 9 is a flowchart illustrating another data transmission method according to an embodiment of the present invention;
fig. 10 is a flowchart illustrating another data transmission method according to an embodiment of the present invention;
fig. 11 is a schematic structural diagram of a data transmission apparatus according to an embodiment of the present invention;
fig. 12 is a schematic structural diagram of another data transmission apparatus according to an embodiment of the present invention;
fig. 13 is a schematic structural diagram of another data transmission apparatus according to an embodiment of the present invention;
fig. 14 is a schematic structural diagram of another data transmission apparatus according to an embodiment of the present invention;
FIG. 15 illustrates a block diagram of an exemplary computer device suitable for use in implementing embodiments of the present application.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative and intended to be illustrative of the invention and are not to be construed as limiting the invention.
A data transmission method, an apparatus, and an electronic device, a program product, and a storage medium according to embodiments of the present invention are described below with reference to the accompanying drawings.
Fig. 1 is a schematic flow chart of a data transmission method according to an embodiment of the present invention, as shown in fig. 1, the data transmission method includes:
step 101, receiving a first message sent by a communication module, wherein the first message carries resource occupation information for representing a resource amount required by first effective data to be transmitted.
In the embodiment of the invention, the execution main body is a control unit. The control unit and the communication module may perform data transmission via a Universal Asynchronous Receiver/Transmitter (UART). In an embodiment of the present invention, the communication module may be a wireless fidelity (wifi) module, and the control Unit may be a Micro Controller Unit (MCU).
In one embodiment of the present invention, the control unit and the communication module communicate with each other through a serial protocol. In another embodiment of the present invention, the communication may also be performed by a two-wire Serial bus (I2C) protocol or a Serial Peripheral Interface (SPI) protocol. The type of the communication protocol used between the control unit and the communication module may be determined according to the type of the bus connecting the control unit and the communication module.
The resource occupation information may be in various forms. For example, the resource occupation information may be a data length (e.g., a coding length) of the first valid data, or may be an amount of resources that the first valid data needs to occupy.
Specifically, before the communication module sends the first valid data to the control unit, the communication module sends a first message carrying the resource occupation information to the control unit, so that the control unit prepares the required resource amount for the first valid data in advance according to the resource occupation information after receiving the first message.
And 102, pre-allocating a first resource matched with the resource occupation information for the first effective data.
As an example, when the resource occupation information is the data length of the first valid data, after receiving the first message, the control unit calculates, according to the data length, the number of resources that need to be occupied by the first valid data through a correlation algorithm, and then pre-allocates the first resource to the first valid data.
As another example, when the resource occupation information is the amount of resources that the first valid data needs to occupy, the control unit may extract the amount of resources from the first message after receiving the first message, and then the control unit may directly allocate the amount of resources to the first valid data in advance, where the amount of resources is the corresponding amount of first resources.
The resource quantity of the first resource may be equal to the resource quantity that needs to be occupied by the first valid data, or may be greater than the resource quantity that needs to be occupied by the first valid data, which is not limited here. The control unit allocates corresponding first resources to the first effective data in advance before receiving the first effective data, so that the control unit can ensure sufficient resource reception and timely data processing when subsequently receiving the first effective data, and data loss is avoided.
And 103, receiving the first effective data sent by the communication module by using the first resource.
It can be understood that when the control unit and the communication module perform data transmission, generally, the control unit has a small memory and a weak processing capability, and when the effective data sent by the communication module is large, the control unit may lose the data due to reasons such as insufficient resource preparation, untimely processing, and the like, and affect the stability of data transmission.
In this embodiment, before sending the first valid data, the communication module first sends a first message to the control unit, and after receiving the first message, the control unit allocates a corresponding first resource to the first valid data in advance according to the resource occupation information carried in the first message, and further, when the communication module sends the first valid data, the control unit receives the first valid data by using the first resource prepared in advance. Because the control unit prepares corresponding resource amount in advance to process data before receiving the first effective data, the problem that the control unit finally causes data loss due to untimely processing caused by insufficient resource preparation is avoided, and the reliability of data transmission is ensured.
In summary, in the data transmission method according to the embodiment of the present invention, the first message sent by the communication module is received, where the first message carries resource occupation information for representing a resource amount required by the first valid data to be transmitted, and the first resource matched with the resource occupation information is pre-allocated to the first valid data, so as to receive the first valid data sent by the communication module by using the first resource, thereby avoiding a problem that a control unit is not timely processed due to insufficient resource preparation, and finally causes data loss, and ensuring reliability of data transmission.
Based on the above embodiment, before the control unit receives the first message sent by the communication module, the control unit further needs to detect whether the communication module has the response information, and can perform data transmission only when the response information exists. Fig. 2 is a schematic flow chart of another data transmission method according to an embodiment of the present invention, and as shown in fig. 2, the data transmission method includes:
step 201, a first request for requesting a response header is sent to a communication module.
Wherein the first request may be an electrical signal.
In practical applications, there may be a case where the communication module cannot transmit valid data. Therefore, before the data transmission is performed, the control unit may also send a first request to the communication module to confirm whether to start the data transmission. Therefore, the data reading process is initiated by the control unit, and the processing pressure of the control unit with low power consumption is reduced.
And 202, receiving response information returned by the communication module according to the first request.
In one embodiment of the present invention, the Acknowledgement information may be Acknowledgement Character (ACK) information.
Specifically, after the control unit sends the first request, if the control unit receives response information returned by the communication module according to the first request, it indicates that data transmission is possible; and if the control unit does not receive the response information returned by the communication module according to the first request, indicating that the data transmission is not carried out.
Step 203, receiving a first message returned by the communication module; wherein the first message carries acknowledgement header information.
In one embodiment of the invention, the response header information contains the data length of the first valid data.
And 204, pre-allocating a first resource matched with the resource occupation information for the first effective data.
Step 205, a second request for requesting the first valid data is sent to the communication module.
Specifically, after the control unit has pre-allocated the first resource, a second request is sent to the communication module to request reading of the first valid data in the communication module.
And step 206, receiving response information returned by the communication module according to the second request.
After receiving the second request sent by the control unit, the communication module sends a response message to the control unit to indicate that the second request is received.
Step 207, receiving the first valid data sent by the communication module by using the first resource.
It should be noted that the foregoing explanations on steps 101, 102, and 103 are also applicable to steps 203, 204, and 207 of this embodiment, and are not repeated here.
Further, when data is transmitted, the data can be encoded to improve the processing speed and enhance the safety of data transmission. Therefore, the control unit needs to decode the encoded data after receiving the encoded data. That is to say, when the first valid data is encoded data, the control unit needs to decode the first valid data after receiving the first valid data sent by the communication module, so as to obtain the decoded first valid data.
Specifically, the control unit performs integrity check on the received first valid data according to the data length, and when the data length of the received first valid data is consistent with the received data length, the first valid data can be proved to be complete. Because only after the first valid data is complete, the decoding result can be obtained, if the incomplete decoding result is wrong or the incomplete decoding result reminds that the decoding cannot be performed, then after the integrity check passes, the first valid data is decoded, and the decoded first valid data is obtained.
In one embodiment of the present invention, the encoding and decoding of the first valid data may be implemented by a correlation encoding algorithm, such as manchester encoding, and further such as differential manchester encoding, and the like.
The following description will be given by taking as an example a process in which the control unit reads encoded data from the communication module:
as shown in fig. 3, first, the control unit sends response header request information to the communication module, the communication module sends ACK information to the control unit after receiving the response header request information, and then the communication module sends response header information including the coded data length to the control unit, further the control unit prepares resources according to the obtained coded data length, after the resources are prepared, the control unit sends response request information to the communication module, further the communication module sends ACK information to the control unit again after receiving the response request information, further the communication module sends coded data to the control unit, and the control unit receives and decodes the coded data.
In summary, the data transmission method according to the embodiment of the present invention may further perform response detection on the communication module, and perform data transmission when a response is detected in the communication module, so as to ensure stability and reliability of data transmission.
Based on the above embodiment, when starting data transmission, the control unit may be in a sleep state, and if the control unit is not awakened in time, the data sent by the communication module may be lost. Therefore, the control unit also needs to be woken up before data transmission.
Specifically, when detecting that new valid data arrives, the communication module sends a wake-up instruction to the control unit, and the control unit receives the wake-up instruction and wakes up from a sleep state.
The wake-up command may be an electrical pulse signal or the like.
As an example, as shown in fig. 4, the communication module sends a wake-up instruction to the interrupt pin of the control unit, and the control unit may detect a level value of the interrupt pin and wake up from a sleep state when the level value is switched from a first value to a second value. For example, when the level value of the interrupt pin changes from high level to low level, the control unit wakes up from the sleep state; or when the level value of the interrupt pin is changed from low level to high level, the control unit is awakened from the sleep state; for another example, when the level value of the interrupt pin changes from a to B, the control unit wakes up from the sleep state.
In order to more clearly illustrate the data transmission method of the present embodiment, the following description is made with reference to specific application scenarios:
as shown in fig. 5, when the communication module detects that new valid data arrives, the control unit is awakened through the interrupt pin, the control unit sends response header request information to the communication module after awakening from the sleep state, the communication module sends ACK information to the control unit after receiving the response header request information, the communication module sends response header information containing coded data length to the control unit, the control unit further prepares resources according to the obtained coded data length, the control unit sends response request information to the communication module after preparation, the communication module sends the ACK information to the control unit again after receiving the response request information, further, the communication module sends coded data to the control unit, the control unit receives and decodes the coded data, and then the control unit enters the sleep state.
In summary, in the data transmission method according to the embodiment of the present invention, before the communication module and the control unit perform data transmission, the control unit may be further awakened from the sleep state, so as to avoid data loss caused by the control unit not being awakened in time, and further increase reliability of data transmission.
Based on the above embodiment, the second valid data may also be transmitted to the communication module by the control unit.
Fig. 6 is a schematic flow chart of another data transmission method according to an embodiment of the present invention, and as shown in fig. 6, the data transmission method includes:
step 301, encoding the second valid data to obtain encoded second valid data.
Specifically, the control unit encodes the second valid data before sending the second valid data to the communication module, so as to facilitate data analysis and improve the security of data transmission.
Step 302, a second message is sent to the communication module, where the second message carries resource occupation information for characterizing a resource amount required by the second valid data.
The resource occupation information carried in the second message may be a data length of the second valid data, or may also be a quantity of resources that the second valid data needs to occupy, and the like, which is not limited herein.
Step 303, receiving a response message fed back by the communication module.
Step 304, sending the encoded second valid data to the communication module.
In an embodiment of the present invention, after receiving the second message, the communication module pre-allocates the amount of the resource matching the resource occupancy information to the second valid data, and sends a response message to the control unit, for example, sends an ACK message to the control unit to inform the control unit that data transmission is possible.
Furthermore, the control unit transmits the encoded second payload data to the communication module after receiving the response message.
And step 305, receiving a response message fed back by the communication module.
Specifically, after receiving the encoded second valid data, the communication module decodes the encoded second valid data and sends response information to the control unit, and the control unit confirms that the data transmission is completed after receiving the response information. Therefore, the control unit sends the second effective data to the communication module, and informs the communication module of the resource occupation information in advance before sending the second effective data, so that the reliability of data transmission is ensured.
In order to more clearly illustrate the data transmission method of the present embodiment, a specific application scenario in which the control unit writes data to the communication module is described below:
as shown in fig. 7, the control unit encodes data that needs to be sent to the communication module, and obtains the length of the encoded data, and then the control unit sends command request information carrying the length of the encoded data to the communication module, after receiving the command request information, the communication module sends an ACK message to the control unit, and further the control unit sends the encoded data to the communication module, and the communication module receives and decodes the encoded data, and then the communication module sends an ACK message again to the control unit after decoding is completed.
In summary, the data transmission method according to the embodiment of the present invention realizes that the control unit sends the second valid data to the communication module, and informs the communication module of the resource occupation information in advance before sending the second valid data, thereby ensuring the reliability of data transmission.
Fig. 8 is a schematic flow chart of another data transmission method according to an embodiment of the present invention, and as shown in fig. 8, the data transmission method includes:
step 401, sending a first message to a control unit, where the first message carries resource occupation information for representing a resource amount required by first valid data to be transmitted.
In this embodiment, the execution main body is a communication module, and the control unit and the communication module may perform data transmission through the UART.
In one embodiment of the invention, the communication module may be a wireless fidelity (wifi) module.
The resource occupation information may be in various forms. For example, the resource occupation information may be a data length (e.g., a coding length) of the first valid data, or may be an amount of resources that the first valid data needs to occupy.
Specifically, before the communication module sends the first valid data to the control unit, the communication module sends a first message carrying the resource occupation information to the control unit, so that the control unit prepares the required resource amount for the first valid data in advance according to the resource occupation information after receiving the first message.
Step 402, sending the first valid data to the control unit.
It can be understood that when the control unit and the communication module perform data transmission, generally, the control unit has a small memory and a weak processing capability, and when the effective data sent by the communication module is large, the control unit may lose the data due to reasons such as insufficient resource preparation, untimely processing, and the like, and affect the stability of data transmission.
In this embodiment, before sending the first valid data, the communication module first sends a first message to the control unit, and after receiving the first message, the control unit allocates a corresponding first resource to the first valid data in advance according to the resource occupation information carried in the first message, and then the communication module sends the first valid data to the control unit. Because the control unit has prepared the corresponding resource amount in advance to process the data before receiving the first effective data, the data can not be lost due to untimely processing, thereby ensuring the stability and reliability of data transmission.
In summary, in the data transmission method according to the embodiment of the present invention, before the communication module sends the first valid data to the control unit, the first message carrying the resource occupation information of the resource amount required by the first valid data is sent to the control unit, and then the first valid data is sent to the control unit, so that the control unit prepares the corresponding resource amount in advance to process the data before receiving the first valid data, thereby avoiding data loss due to untimely processing, and ensuring stability and reliability of data transmission.
Based on the above embodiment, before the communication module sends valid data to the control unit, it is also necessary to perform response detection. Fig. 9 is a schematic flow chart of another data transmission method according to an embodiment of the present invention, and as shown in fig. 9, the data transmission method includes:
step 501, receiving a first request for requesting a response header sent by a control unit.
Step 502, response information is returned to the control unit.
Step 503, sending a first message to the control unit, where the first message carries the response header information.
Step 504, a second request for requesting the first valid data sent by the control unit is received.
Step 505, response information is returned to the control unit.
Step 506, the first valid data is encoded to obtain encoded first valid data.
Step 507, sending the encoded first valid data to the control unit.
Specifically, after receiving a first request for requesting a response header sent by the control unit, the communication module returns response information to the control unit, and then the communication module sends a first message carrying response header information to the control unit. And then, the communication module receives a second request which is sent by the control unit and used for requesting the first effective data, and returns corresponding response information to the control unit.
Further, the communication module encodes the first valid data to obtain encoded first valid data, and sends the encoded first valid data to the control unit.
In practical applications, the control unit may be in a sleep state, and therefore, the communication module needs to wake up the control unit from the sleep state before performing data transmission with the control unit.
Specifically, when the communication module detects that new valid data is received, before sending the first request to the control unit, the communication module sends a wake-up instruction to the control unit to control the level value of the interrupt pin to be switched from the first value to the second value, so as to wake up the control unit from the sleep state.
It should be noted that the explanation of the data transmission method in the foregoing embodiment is also applicable to the data transmission method in this embodiment, and is not repeated here.
In summary, the data transmission method according to the embodiment of the present invention may further perform response detection on the communication module, and perform data transmission when the communication module has a response, so as to further improve stability and reliability of data transmission. In addition, before the communication module and the control unit carry out data transmission, the control unit can be awakened from a dormant state, so that the reliability of data transmission is further improved.
Based on the above embodiment, the second valid data transmitted by the control unit may also be received by the communication module. Fig. 10 is a schematic flow chart of another data transmission method according to an embodiment of the present invention, and as shown in fig. 10, the data transmission method includes:
step 601, receiving a second message sent by the control unit, where the second message carries resource occupation information for representing a resource amount required by the second valid data.
Step 602, a response message is fed back to the control unit.
Step 603, the receiving control unit sends the second valid data.
Step 604, a response message is fed back to the control unit.
Specifically, the communication module receives a second message which is sent by the control unit and carries resource occupation information used for representing the resource amount required by the second effective data, and feeds back a response message to the control unit, so that the control unit sends the second effective data to the communication module after receiving the response message, and the communication module receives the second effective data sent by the control unit and feeds back the response message to the control unit again.
When the second valid data is encoded data, the communication module needs to decode the second valid data after receiving the second valid data, so as to obtain the decoded second valid data. Specifically, when the resource occupation information is the data length of the second valid data, the communication module performs integrity check on the received second valid data according to the data length, and then decodes the second valid data after the integrity check is passed, so as to obtain the decoded second valid data.
It should be noted that the explanation of the data transmission method in the foregoing embodiment is also applicable to the data transmission method in this embodiment, and is not repeated here.
In summary, in the data transmission method according to the embodiment of the present invention, when the communication module receives the second valid data sent by the control unit, the control unit sends the second message carrying the resource occupation information to the communication module first, so as to ensure reliability of data transmission.
In order to implement the above embodiments, the present invention further provides a data transmission device.
Fig. 11 is a schematic structural diagram of a data transmission device according to an embodiment of the present invention, and as shown in fig. 11, the data transmission device includes: a first receiving module 71, a distribution module 72, and a second receiving module 73.
The first receiving module 71 is configured to receive a first message sent by the communication module, where the first message carries resource occupation information used to represent a resource amount required by the first valid data to be transmitted.
The allocating module 72 is configured to pre-allocate a first resource matched with the resource occupation information for the first valid data.
The second receiving module 73 is configured to receive the first valid data sent by the communication module by using the first resource.
On the basis of fig. 11, the data transmission device provided in fig. 12 further includes: a third sending module 74.
The first receiving module 71 is specifically configured to:
sending a first request for requesting a response header to a communication module;
receiving response information returned by the communication module according to the first request;
and receiving a first message returned by the communication module, wherein the first message carries response header information.
Further, the first receiving module 71 is further configured to receive a wake-up instruction sent by the communication module, and wake up from the sleep state, where the wake-up instruction is sent when the communication module detects that new valid data arrives.
Further, the second receiving module 73 is specifically configured to:
sending a second request for requesting the first valid data to the communication module;
and receiving response information returned by the communication module according to the second request.
Further, the second receiving module 73 is further configured to decode the first valid data to obtain decoded first valid data.
A third sending module 74, configured to send the second valid data to the communication module.
Further, the third sending module 74 is specifically configured to:
coding the second effective data to obtain coded second effective data;
sending a second message to the communication module, wherein the second message carries resource occupation information used for representing the resource quantity required by the second effective data;
receiving a response message fed back by the communication module;
transmitting the encoded second valid data to the communication module;
and receiving a response message fed back by the communication module.
It should be noted that the foregoing explanation on the embodiment of the data transmission method is also applicable to the data transmission apparatus of this embodiment, and is not repeated here.
In summary, in the data transmission apparatus according to the embodiment of the present invention, a first message sent by a communication module is received, where the first message carries resource occupation information for characterizing a resource amount required by first valid data to be transmitted, and first resources matched with the resource occupation information are pre-allocated to the first valid data, so that the first valid data sent by the communication module is received by using the first resources. In this embodiment, before sending the first valid data to the control unit, the communication module first informs the control unit of the resource occupation information of the first valid data, and then the control unit allocates the first resource according to the resource occupation information.
Fig. 13 is a schematic structural diagram of another data transmission device according to an embodiment of the present invention, and as shown in fig. 13, the data transmission device includes: a first sending module 81 and a second sending module 82.
The first sending module 81 is configured to send a first message to the control unit, where the first message carries resource occupation information used to represent a resource amount required by the first valid data to be transmitted.
A second sending module 82, configured to send the first valid data to the control unit.
On the basis of fig. 13, the data transmission device provided in fig. 14 further includes: and a third receiving module 83.
The first sending module 81 is specifically configured to:
a receiving control unit sends a first request for requesting a response head;
returning response information to the control unit;
and sending a first message to the control unit, wherein the first message carries response header information.
Further, the first sending module 81 is further configured to send a wake-up instruction to the control unit when it is detected that new first valid data arrives.
Further, the second sending module 82 is specifically configured to:
receiving a second request which is sent by the control unit and used for requesting the first valid data;
and returning response information to the control unit.
Further, the second sending module 82 is further configured to:
coding the first effective data to obtain coded first effective data;
the encoded first valid data is sent to a control unit.
And a third receiving module 83, configured to receive the second valid data sent by the control unit.
Further, the third receiving module 83 is specifically configured to:
the receiving control unit sends a second message, and the second message carries resource occupation information used for representing the resource quantity required by the second effective data;
feeding back a response message to the control unit;
receiving second effective data sent by the control unit;
and feeding back a response message to the control unit.
And decoding the second effective data to obtain the decoded second effective data.
It should be noted that the foregoing explanation on the embodiment of the data transmission method is also applicable to the data transmission apparatus of this embodiment, and is not repeated here.
In summary, in the data transmission device according to the embodiment of the present invention, before the communication module sends the first valid data to the control unit, the first message carrying the resource occupation information of the resource amount required by the first valid data is sent to the control unit, and then the first valid data is sent to the control unit, so that the control unit prepares the corresponding resource amount in advance to process the data before receiving the first valid data, thereby avoiding data loss due to untimely processing, and ensuring stability and reliability of data transmission.
In order to implement the above embodiments, the present invention further provides an electronic device, including a processor and a memory; wherein, the processor executes the program corresponding to the executable program code by reading the executable program code stored in the memory, so as to implement the data transmission method according to any one of the foregoing embodiments.
In order to implement the above embodiments, the present invention further provides a computer program product, which when executed by an instruction processor in the computer program product implements the data transmission method according to any of the foregoing embodiments.
In order to implement the above embodiments, the present invention also proposes a non-transitory computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the data transmission method according to any of the preceding embodiments.
FIG. 15 illustrates a block diagram of an exemplary computer device suitable for use in implementing embodiments of the present application. The computer device 12 shown in fig. 15 is only an example, and should not bring any limitation to the function and the scope of use of the embodiments of the present application.
As shown in FIG. 15, computer device 12 is in the form of a general purpose computing device. The components of computer device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that couples various system components including the system memory 28 and the processing unit 16.
Bus 18 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. These architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus, to name a few.
Computer device 12 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by computer device 12 and includes both volatile and nonvolatile media, removable and non-removable media.
Memory 28 may include computer system readable media in the form of volatile Memory, such as Random Access Memory (RAM) 30 and/or cache Memory 32. Computer device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 15, commonly referred to as a "hard drive"). Although not shown in FIG. 15, a disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a Compact disk Read Only Memory (CD-ROM), a Digital versatile disk Read Only Memory (DVD-ROM), or other optical media) may be provided. In these cases, each drive may be connected to bus 18 by one or more data media interfaces. Memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the application.
A program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 42 generally perform the functions and/or methodologies of the embodiments described herein.
The computer device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), with one or more devices that enable a user to interact with the computer system/server 12, and/or with any devices (e.g., network card, modem, etc.) that enable the computer system/server 12 to communicate with one or more other computing devices. Such communication may be through an input/output (I/O) interface 22. Moreover, computer device 12 may also communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public Network such as the Internet) via Network adapter 20. As shown, network adapter 20 communicates with the other modules of computer device 12 via bus 18. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with computer device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processing unit 16 executes various functional applications and data processing, for example, implementing the methods mentioned in the foregoing embodiments, by executing programs stored in the system memory 28.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing steps of a custom logic function or process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. If implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.

Claims (13)

1. A method of data transmission, comprising:
sending a first request for requesting a response header to a communication module;
after response information returned by the communication module according to the first request is received, receiving a first message sent by the communication module, wherein the first message carries resource occupation information used for representing the resource amount required by the first effective data to be transmitted;
pre-allocating a first resource matched with the resource occupation information for the first effective data;
and receiving the first effective data sent by the communication module by utilizing the first resource.
2. The method according to claim 1, wherein the resource occupation information is a data length of the first valid data or a quantity of resources that the first valid data needs to occupy.
3. The method of claim 1, wherein prior to sending the first request for requesting a response header to the communication module, further comprising:
and receiving a wake-up instruction sent by the communication module, and waking up from a dormant state, wherein the wake-up instruction is sent when the communication module detects that new valid data arrives.
4. The method of claim 3, wherein the receiving the wake-up command sent by the communication module and waking up from a sleep state comprises:
detecting a level value of an interrupt pin;
and when the level value is switched from a first value to a second value, waking from the sleep state.
5. The method according to claim 2, wherein before receiving the first valid data sent by the communication module using the first resource, further comprising:
sending a second request for requesting the first valid data to the communication module;
and receiving response information returned by the communication module according to the second request.
6. The method according to claim 5, wherein the first valid data is encoded data, and after receiving the first valid data sent by the communication module, the method further comprises:
and decoding the first effective data to obtain decoded first effective data.
7. The method of claim 6, wherein the decoding the first valid data to obtain the decoded first valid data comprises:
according to the data length, carrying out integrity check on the received first valid data;
and when the integrity check is passed, decoding the first effective data to obtain the decoded first effective data.
8. The method of claim 1, further comprising:
and sending second valid data to the communication module.
9. The method of claim 8, wherein before sending the second valid data to the communication module, further comprising:
and coding the second effective data to obtain coded second effective data.
10. The method of claim 9, wherein the sending second valid data to the communication module comprises:
sending a second message to the communication module; the second message carries resource occupation information used for representing the resource quantity required by the second effective data;
receiving a response message fed back by the communication module;
transmitting the encoded second payload data to the communication module;
and receiving a response message fed back by the communication module.
11. A data transmission apparatus, comprising:
the first receiving module is used for sending a first request for requesting a response head to the communication module and receiving a first message sent by the communication module after receiving response information returned by the communication module according to the first request, wherein the first message carries resource occupation information used for representing the resource amount required by the first effective data to be transmitted;
the allocation module is used for allocating first resources matched with the resource occupation information to the first effective data in advance;
and the second receiving module is used for receiving the first effective data sent by the communication module by using the first resource.
12. An electronic device comprising a processor and a memory;
wherein the processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory, for implementing the data transmission method according to any one of claims 1 to 10.
13. A non-transitory computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the data transmission method according to any one of claims 1 to 10.
CN201810139842.3A 2018-02-11 2018-02-11 Data transmission method, data transmission device, electronic device, program product, and storage medium Active CN108390744B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810139842.3A CN108390744B (en) 2018-02-11 2018-02-11 Data transmission method, data transmission device, electronic device, program product, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810139842.3A CN108390744B (en) 2018-02-11 2018-02-11 Data transmission method, data transmission device, electronic device, program product, and storage medium

Publications (2)

Publication Number Publication Date
CN108390744A CN108390744A (en) 2018-08-10
CN108390744B true CN108390744B (en) 2021-08-20

Family

ID=63068606

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810139842.3A Active CN108390744B (en) 2018-02-11 2018-02-11 Data transmission method, data transmission device, electronic device, program product, and storage medium

Country Status (1)

Country Link
CN (1) CN108390744B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109783576B (en) * 2019-01-02 2022-05-31 佛山市顺德区美的洗涤电器制造有限公司 Household appliance and data storage method and device thereof

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1777146A (en) * 2005-11-28 2006-05-24 中国移动通信集团公司 Method for ensuring network servicequality
CN101808371A (en) * 2010-03-30 2010-08-18 重庆邮电大学 IEEE802.16 Mesh network resource pre-reservation method for supporting multi-hop resource pre-reservation
EP2276286A1 (en) * 2004-10-06 2011-01-19 Panasonic Corporation WLAN radio access network to UMTS radio access network handover with network requested packet data protocol context activation
CN102439921A (en) * 2011-09-22 2012-05-02 华为技术有限公司 Time slot resource configuration method and device
CN106131902A (en) * 2016-06-30 2016-11-16 中南大学 A kind of implementation method of the broadband mobile intelligent communication network being applicable to high speed passenger dedicated railway

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2276286A1 (en) * 2004-10-06 2011-01-19 Panasonic Corporation WLAN radio access network to UMTS radio access network handover with network requested packet data protocol context activation
CN1777146A (en) * 2005-11-28 2006-05-24 中国移动通信集团公司 Method for ensuring network servicequality
CN101808371A (en) * 2010-03-30 2010-08-18 重庆邮电大学 IEEE802.16 Mesh network resource pre-reservation method for supporting multi-hop resource pre-reservation
CN102439921A (en) * 2011-09-22 2012-05-02 华为技术有限公司 Time slot resource configuration method and device
CN106131902A (en) * 2016-06-30 2016-11-16 中南大学 A kind of implementation method of the broadband mobile intelligent communication network being applicable to high speed passenger dedicated railway

Also Published As

Publication number Publication date
CN108390744A (en) 2018-08-10

Similar Documents

Publication Publication Date Title
US11163850B2 (en) System, method and computer program product for data transfer management
CN110488959B (en) Power saving mode for USB power transmission source device
RU2620989C2 (en) Method and apparatus for increasing throughput capacity in data transmission in serial bus system
RU2597467C2 (en) Method and device for adaptation of reliability of data transmission in serial bus system
CN107741915B (en) FPGA (field programmable Gate array) board-level communication device and communication method based on SDIO (Serial digital input output) interface
JP6878300B2 (en) Improved virtual GPIO with multi-mode modulation
CN101895549A (en) Conversion gateway and conversion method of vehicle communication network data
CN109194736B (en) Message duplicate removal method and device, electronic equipment, medium and unmanned vehicle
CN201717878U (en) Vehicle communication network data conversion gateway
CN102073611B (en) I2C bus control system and method
WO2019183791A1 (en) Method and device for transmitting synchronization signal block, and storage medium
CN115499505B (en) USB network card and communication method
CN108390744B (en) Data transmission method, data transmission device, electronic device, program product, and storage medium
CN113312284A (en) Data transmission method, device, system, storage medium and electronic device
CN117290128A (en) 485 bus-based data transmission method, device, equipment and medium
CN112463693A (en) Multi-board card communication system and method based on M-LVDS bus
CN109286689B (en) Information sending method and device and vehicle-mounted man-vehicle interaction terminal
CN109711519B (en) Financial chip-based peripheral expansion method and financial card
CN103095510A (en) Multifunction vehicle bus analytical equipment
CN109189746B (en) Method, device, equipment and storage medium for realizing universal stream type Shuffle engine
CN111490919A (en) Master-slave machine system, equipment terminal and communication verification method thereof
CN114780480B (en) Data transmission method, device and equipment
CN218183434U (en) Video coding and decoding card and video coding and decoding device
CN109947572B (en) Communication control method, device, electronic equipment and storage medium
US20090129355A1 (en) Apparatus of transmitting packets of wireless local network and method for using the same

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