CN108390744A - Data transmission method, device, electronic equipment, program product and storage medium - Google Patents
Data transmission method, device, electronic equipment, program product and storage medium Download PDFInfo
- Publication number
- CN108390744A CN108390744A CN201810139842.3A CN201810139842A CN108390744A CN 108390744 A CN108390744 A CN 108390744A CN 201810139842 A CN201810139842 A CN 201810139842A CN 108390744 A CN108390744 A CN 108390744A
- Authority
- CN
- China
- Prior art keywords
- valid data
- communication module
- data
- control unit
- sent
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/0001—Systems modifying transmission characteristics according to link quality, e.g. power backoff
- H04L1/0006—Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission format
Abstract
The present invention proposes a kind of data transmission method, device, electronic equipment, program product and storage medium, wherein method includes:Receive the first message that communication module is sent, wherein the resource occupation information for characterizing stock number needed for the first valid data to be transmitted is carried in first message;The first resource with the resource occupation information matches is allocated in advance for the first valid data;Using first resource, the first valid data that communication module is sent are received.Communication module first sends the resource occupation information of valid data, and then recipient prepares corresponding stock number according to resource occupation information, and receive valid data using the stock number prepared, ensure that the reliability of data transmission before sending valid data as a result,.
Description
Technical field
The present invention relates to field of communication technology more particularly to a kind of data transmission method, device, electronic equipment, program productions
Product and storage medium.
Background technology
With the development of the technologies such as computer, Networks and Communications, the communication system based on control unit and communication module has
Wider application.By taking serial communication as an example, when sending data, one group of serial data encapsulation is usually combined as a frame number
According to, and a frame data are set and instruct the available informations such as constraint frame head, data length, valid data, check information, postamble, into
And when receiving data, it needs to be resolved to the information such as frame head, valid data, postamble from data flow.
When control unit is communicated with communication module in the related technology, since control unit general memory is smaller, processing
Ability is weaker, when the data that communication module is sent are larger, may result in loss of data, influences the normal transmission of data.
Invention content
The present invention is directed to solve at least some of the technical problems in related technologies.
For this purpose, first purpose of the present invention is to propose a kind of data transmission method, to realize in communication module to control
Before unit processed sends valid data, the resource occupation information of valid data is first sent, and then control unit is notified to be accounted for according to resource
With information, prepares corresponding stock number for communication module, and valid data are received using the stock number prepared, it is single to avoid control
Member the problem of leading to processing not in time, eventually lead to loss of data, ensure that the reliable of data transmission because resource is out of trim
Property.
Second object of the present invention is to propose another data transmission method.
Third object of the present invention is to propose a kind of data transmission device.
Fourth object of the present invention is to propose another data transmission device.
The 5th purpose of the present invention is to propose a kind of electronic equipment.
The 6th purpose of the present invention is to propose a kind of computer program product.
The 7th purpose of the present invention is to propose a kind of non-transitorycomputer readable storage medium.
In order to achieve the above object, first aspect present invention embodiment proposes a kind of data transmission method, including:
Receive the first message that communication module is sent, wherein carried in the first message for characterizing to be transmitted the
The resource occupation information of stock number needed for one valid data;
The first resource with the resource occupation information matches is allocated in advance for first valid data;
Using the first resource, first valid data that the communication module is sent are received.
The data transmission method of the embodiment of the present invention, the first message sent by receiving communication module, wherein first disappears
The resource occupation information for characterizing stock number needed for the first valid data to be transmitted is carried in breath, and is the first valid data
It allocates the first resource with the resource occupation information matches in advance, and then utilizes first resource, receive what communication module was sent
First valid data.In the present embodiment, communication module first informs control unit before sending the first valid data to control unit
The resource occupation information of first valid data, and then control unit distributes first resource according to resource occupation information, due to control
Unit has allocated first resource in advance to receive the first valid data before receiving the first valid data, therefore single in control
When member receives the first valid data, control unit is avoided because resource is out of trim, is led to processing not in time, is eventually led to number
The problem of according to losing, it ensure that the reliability of data transmission.
In addition, data transmission method according to the above embodiment of the present invention can also have following additional technical feature:
Optionally, the method further includes:The resource occupation information is the data length of first valid data
Or first valid data need the resource quantity occupied.
Optionally, it is described receive communication module send first message, further include:It is sent to the communication module for asking
The first of response header is asked to ask;Receive the response message that the communication module is returned according to first request;It receives described logical
Believe the first message that module returns;The wherein described first message carries response header.
Optionally, it is described to the communication module send for request-reply head first request before, further include:It receives
The wake-up instruction that the communication module is sent, and waken up from dormant state, wherein the wake-up instruction is by the communication module
It detects and sends when new valid data reach.
Optionally, the wake-up instruction for receiving the communication module and sending, and waken up from dormant state, including:Detection
The level value of interrupt pin;When the level value is switched to second value from the first numerical value, then waken up from the dormant state.
Optionally, described to utilize the first resource, receive first valid data that the communication module is sent it
Before, further include:It is sent to the communication module for asking the second of first valid data to ask;Receive the communication mould
The response message that root tuber is returned according to second request.
Optionally, first valid data are coded data, then receive that the communication module returns described the
After one valid data, further include:First valid data are decoded, decoded first valid data are obtained.
Optionally, described that first valid data are decoded, decoded first valid data are obtained, including:
According to the data length, completeness check is carried out to receiving first valid data;It is right after completeness check passes through
First valid data are decoded, and obtain decoded first valid data.
Optionally, the method further includes:The second valid data are sent to the communication module.
Optionally, before second valid data of transmission to the communication module, further include:To second significant figure
According to being encoded, the second valid data of coding are obtained.
Optionally, described to send the second valid data to the communication module, including:Second is sent to the communication module
Message;The resource occupation information for characterizing stock number needed for second valid data is carried in the second message;It receives
The response message of the communication module feedback;The second valid data of the coding are sent to the communication module;It receives described logical
Believe the response message of module feedback.
In order to achieve the above object, second aspect of the present invention embodiment proposes another data transmission method, including:
First message is sent to control unit, wherein wherein, is carried in the first message for characterizing to be transmitted the
The resource occupation information of stock number needed for one valid data;
First valid data are sent to described control unit.
The data transmission method of the embodiment of the present invention, by communication module to control unit send the first valid data it
Before, the first message for carrying the resource occupation information of stock number needed for the first valid data is first sent to control unit, then to control
Unit processed sends the first valid data so that control unit is prepared in advance corresponding stock number before receiving the first valid data
To handle data, avoid because processing leads to loss of data not in time, to ensure that the stability and reliability of data transmission.
In addition, data transmission method according to the above embodiment of the present invention can also have following additional technical feature:
Optionally, the method further includes:The resource occupation information is the data length of first valid data
Or first valid data need the resource quantity occupied.
Optionally, described to send first message to control unit, including:Described control unit is received to send for asking to answer
Answer the first request of head;Response message is returned to described control unit;The first message is sent to described control unit;Wherein
The first message carries response header.
Optionally, before the reception described control unit sends the first request for request-reply head, further include:
When detecting that new first valid data reach, is sent to described control unit and wake up instruction.
Optionally, described sent to described control unit wakes up instruction, including:The level value of interrupt pin is controlled from first
Numerical value is switched to the second value.
Optionally, before first valid data to described control unit transmission, further include:Receive the control
What unit was sent is used to ask the second of first valid data to ask;The response message returned to described control unit.
Optionally, described to send first valid data to described control unit, including:To first valid data
It is encoded, obtains the first valid data of coding;The first valid data of the coding are sent to described control unit.
Optionally, the method further includes:Receive the second valid data that described control unit is sent.
Optionally, second valid data are coded data, described to receive described control unit is sent second effectively
After data, further include:Second valid data are decoded, decoded second valid data are obtained.
Optionally, second valid data for receiving described control unit and sending, including:Receive described control unit hair
Send second message;The resource occupation for characterizing stock number needed for second valid data is carried in the second message to believe
Breath;The response message fed back to described control unit;It receives described control unit and sends second valid data;To the control
The response message of unit feedback processed.
Optionally, described that second valid data are decoded, decoded second valid data are obtained, including:
When the resource occupation information is the data length of second valid data, according to the data length, to receiving
It states the 2nd 1 valid data and carries out completeness check;After completeness check passes through, second valid data are decoded,
Obtain decoded second valid data.
In order to achieve the above object, third aspect present invention embodiment proposes a kind of data transmission device, including:
First receiving module, the first message for receiving communication module transmission, wherein carry and use in the first message
In the resource occupation information for characterizing stock number needed for the first valid data to be transmitted;
Distribution module, for allocating the first money with the resource occupation information matches in advance for first valid data
Source;
Second receiving module receives the communication module is sent described first effectively for utilizing the first resource
Data.
The data transmission device of the embodiment of the present invention, the first message sent by receiving communication module, wherein first disappears
The resource occupation information for characterizing stock number needed for the first valid data to be transmitted is carried in breath, and is the first valid data
It allocates the first resource with the resource occupation information matches in advance, and then utilizes first resource, receive what communication module was sent
First valid data.In the present embodiment, communication module first informs control unit before sending the first valid data to control unit
The resource occupation information of first valid data, and then control unit distributes first resource according to resource occupation information, due to control
Unit has allocated first resource in advance to receive the first valid data before receiving the first valid data, therefore single in control
When member receives the first valid data, control unit is avoided because resource is out of trim, is led to processing not in time, is eventually led to number
The problem of according to losing, it ensure that the reliability of data transmission.
In order to achieve the above object, fourth aspect present invention embodiment proposes another data transmission device, including:
First sending module, for sending first message to control unit, wherein carried in the first message and be used for table
Levy the resource occupation information of stock number needed for the first valid data to be transmitted;
Second sending module, for sending first valid data to described control unit.
The data transmission device of the embodiment of the present invention, by communication module to control unit send the first valid data it
Before, the first message for carrying the resource occupation information of stock number needed for the first valid data is first sent to control unit, then to control
Unit processed sends the first valid data so that control unit is prepared in advance corresponding stock number before receiving the first valid data
To handle data, avoid because processing leads to loss of data not in time, to ensure that the stability and reliability of data transmission.
In order to achieve the above object, fifth aspect present invention embodiment proposes a kind of computer equipment, including processor and deposit
Reservoir;Wherein, the processor is held to run with described by reading the executable program code stored in the memory
The corresponding program of line program code, for realizing data transmission method as described in first aspect embodiment or realizing such as the
Data transmission method described in two aspect embodiments.
In order to achieve the above object, sixth aspect present invention embodiment proposes a kind of computer program product, when the calculating
Instruction processing unit in machine program product realizes data transmission method or the realization as described in first aspect embodiment when executing
Data transmission method as described in second aspect embodiment.
In order to achieve the above object, seventh aspect present invention embodiment proposes a kind of non-transitory computer-readable storage medium
Matter is stored thereon with computer program, realizes that the data as described in first aspect embodiment pass when which is executed by processor
The data transmission method of transmission method or realization as described in second aspect embodiment.
The additional aspect of the present invention and advantage will be set forth in part in the description, and will partly become from the following description
Obviously, or practice through the invention is recognized.
Description of the drawings
Above-mentioned and/or additional aspect and advantage of the invention will become from the following description of the accompanying drawings of embodiments
Obviously and it is readily appreciated that, wherein:
A kind of flow diagram for data transmission method that Fig. 1 is provided by the embodiment of the present invention;
The flow diagram for another data transmission method that Fig. 2 is provided by the embodiment of the present invention;
A kind of flow diagram of the communication module that Fig. 3 is provided by the embodiment of the present invention to control unit transmission data;
The schematic diagram that a kind of control unit that Fig. 4 is provided by the embodiment of the present invention carries out data transmission with communication module;
Stream of the communication module to control unit transmission data under a kind of dormant state that Fig. 5 is provided by the embodiment of the present invention
Journey schematic diagram;
The flow diagram for another data transmission method that Fig. 6 is provided by the embodiment of the present invention;
A kind of flow diagram of the control unit that Fig. 7 is provided by the embodiment of the present invention to communication module transmission data;
The flow diagram for another data transmission method that Fig. 8 is provided by the embodiment of the present invention;
The flow diagram for another data transmission method that Fig. 9 is provided by the embodiment of the present invention;
The flow diagram for another data transmission method that Figure 10 is provided by the embodiment of the present invention;
A kind of structural schematic diagram for data transmission device that Figure 11 is provided by the embodiment of the present invention;
The structural schematic diagram for another data transmission device that Figure 12 is provided by the embodiment of the present invention;
The structural schematic diagram for another data transmission device that Figure 13 is provided by the embodiment of the present invention;
The structural schematic diagram for another data transmission device that Figure 14 is provided by the embodiment of the present invention;
Figure 15 shows the block diagram of the exemplary computer device suitable for being used for realizing the application embodiment.
Specific implementation mode
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end
Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached
The embodiment of figure description is exemplary, it is intended to for explaining the present invention, and is not considered as limiting the invention.
Below with reference to the accompanying drawings describe data transmission method, device and the electronic equipment of the embodiment of the present invention, program product and
Storage medium.
The flow diagram for a kind of data transmission method that Fig. 1 is provided by the embodiment of the present invention, as shown in Figure 1, the number
Include according to transmission method:
Step 101, the first message that communication module is sent is received, wherein carried in first message to be transmitted for characterizing
The first valid data needed for stock number resource occupation information.
In the embodiment of the present invention, executive agent unit in order to control.Wherein, control unit can be by general with communication module
Asynchronous receiving-transmitting transmitter (Universal Asynchronous Receiver/Transmitter, abbreviation UART) carries out data
Transmission.In one embodiment of the invention, communication module can be Wireless Fidelity (wifi) module, and control unit can be micro-
Control unit (Microcontroller Unit, abbreviation MCU).
In one embodiment of the invention, it is to be communicated by serial port protocol between control unit and communication module
's.In another embodiment of the present invention, twin wire universal serial bus (Inter-Integrated can also be passed through
Circuit, abbreviation I2C) agreement or Serial Peripheral Interface (SPI) (Serial Peripheral Interface, abbreviation SPI) agreement
It is communicated.Used communication protocol type between control unit and communication module according to connection control unit and can lead to
Believe that the type of the bus of module determines.
Wherein, the form of resource occupation information can there are many.For example, resource occupation information can be the first valid data
Data length (such as code length), or the first valid data need the resource quantity that occupies.
Specifically, it before communication module sends the first valid data to control unit, is first sent to control unit and carries money
The first message of source occupied information after receiving first message in order to control unit, is in advance according to resource occupation information
First valid data prepare required stock number.
Step 102, it is that the first valid data allocate the first resource with the resource occupation information matches in advance.
As an example, when resource occupation information is the data length of the first valid data, control unit is receiving
To after first message, the number of resources for obtaining the first valid data needs and occupying is calculated by related algorithm according to data length
Amount, and then allocate first resource in advance for the first valid data.
As another example, when resource occupation information is that the first valid data need the resource quantity occupied, control
Unit can extract the resource quantity, and then control unit can be straight after receiving first message from first message
The resource quantity is connect, allocates the first resource of corresponding amount in advance for the first valid data.
Wherein, the resource quantity of first resource can be equal to the resource quantity that the first valid data needs occupy, can also
More than the resource quantity that the first valid data need to occupy, it is not limited herein.Control unit receive the first valid data it
Before, it is the corresponding first resource of the first efficient data distribution in advance so that control unit is in the first valid data of receipt of subsequent
It can ensure sufficient resource reception and timely processing data, avoid loss of data.
Step 103, using first resource, the first valid data that communication module is sent are received.
It is appreciated that when control unit and communication module carry out data transmission, in general the memory of control unit compared with
Small, processing capacity is weaker, and when the valid data that communication module is sent are larger, control unit may prepare not because of resource
Foot, leading to processing, reasons make loss of data not in time etc., influence the stability of data transmission.
In the present embodiment, communication module sends first message to control unit first before sending the first valid data,
For control unit after receiving first message, the resource occupation information carried according to first message is the first valid data in advance
Corresponding first resource is distributed, in turn, when communication module sends the first valid data, control unit utilizes preprepared
First resource receives the first valid data.Since control unit has been prepared in advance phase before receiving the first valid data
The stock number answered avoids control unit because resource is out of trim to handle data, leads to processing not in time, eventually leads to number
The problem of according to losing, it ensure that the reliability of data transmission.
In conclusion the data transmission method of the embodiment of the present invention, the first message sent by receiving communication module,
In, carry resource occupation information for characterizing stock number needed for the first valid data to be transmitted in first message, and be the
One valid data allocate the first resource with the resource occupation information matches in advance, and then utilize first resource, receive communication
The first valid data that module is sent, avoid control unit because resource is out of trim, lead to processing not in time, eventually lead to
The problem of loss of data, ensure that the reliability of data transmission.
Based on above-described embodiment, before the first message that control unit receives that communication module is sent, control unit also needs
It detects whether communication module has response message, in the case where there is response message, can just carry out data transmission.Fig. 2 is this hair
The flow diagram for another data transmission method that bright embodiment is provided, as shown in Fig. 2, the data transmission method includes:
Step 201, the first request for request-reply head is sent to communication module.
Wherein, the first request can be electric signal.
In practical applications, it is understood that there may be communication module can not send the case where valid data.Therefore, data biography is being carried out
Before defeated, control unit can also send the first request to communication module, to be confirmed whether to start data transmission.It is also real as a result,
Show and data read process is initiated by control unit, has reduced the processing pressure of the control unit of low-power consumption.
Step 202, the response message that communication module is returned according to the first request is received.
In one embodiment of the invention, response message can be to confirm character (Acknowledgement, abbreviation
ACK) information.
Specifically, after control unit sends the first request, if control unit receives communication module and is asked according to first
The response message of return is sought, then shows to carry out data transmission;If control unit is not received by communication module according to
The response message that one request returns, then show without data transmission.
Step 203, the first message that communication module returns is received;Wherein first message carries response header.
In one embodiment of the invention, response header information contains the data length of the first valid data.
Step 204, it is that the first valid data allocate the first resource with resource occupation information matches in advance.
Step 205, it is sent to communication module for asking the second of the first valid data to ask.
Specifically, after control unit has allocated first resource in advance, the second request is sent to communication module, with request
Read the first valid data in communication module.
Step 206, the response message that communication module is returned according to the second request is received.
Wherein, after communication module receives the second request that control unit is sent, response message is sent to control unit,
To show to acknowledge receipt of the second request.
Step 207, using first resource, the first valid data that communication module is sent are received.
It should be noted that being equally applicable to the step of the present embodiment previously for the explanation of step 101,102,103
Rapid 203,204,207, details are not described herein again.
Further, in data transmission, data can also be encoded, to improve processing speed, and enhances data
The safety of transmission.Therefore, control unit needs to be decoded coded data after receiving coded data.That is,
When the first valid data are coded data, control unit also needs after receiving the first valid data that communication module is sent
First valid data are decoded, to obtain decoded first valid data.
Specifically, control unit carries out completeness check according to data length to the first valid data received, when connecing
When the data length of the first valid data received is with receiving consistent to data length, it can prove that the first valid data have been
Whole.Due to only have the first valid data it is complete after, can just obtain decoding result, if imperfect decoding result be mistake or
Person reminds and can not decode, and then after completeness check passes through, is decoded to the first valid data, obtains decoded first
Valid data.
It in one embodiment of the invention, can be poor for another example by correlative coding algorithm, such as Manchester's code
Divide Manchester's code etc., to realize the coding and decoding of the first valid data.
It is illustrated for the process for reading coded data in communication module by control unit below:
As shown in figure 3, first, control unit sends response header solicited message to communication module, and communication module, which receives, answers
Answer and send ACK information to control unit after a solicited message, so communication module sent to control unit it is long comprising coded data
The response header of degree, further control unit prepare resource according to the coded data length of acquisition, are controlled after being ready to
Unit sends response solicited message to communication module, and then is sent out again to control unit after communication module reception response solicited message
ACK information, further communication module is sent to send coded data to control unit, control unit receives coded data and solved
Code.
In conclusion the data transmission method of the embodiment of the present invention, can also carry out response detection to communication module, examine
Carry out data transmission again in the case of measuring communication module and having response, ensure that the stability and reliability of data transmission, and
It first sends and asks from control unit to communication module, realize and data read process is initiated by control unit, reduce low-power consumption
The processing pressure of control unit is more suitable for the control unit of low-power consumption.
Based on above-described embodiment, when starting data transmission, control unit is likely to be at dormant state, if control unit
It is not waken up in time, data the case where just will appear loss of data that communication module is sent.Therefore carrying out data transmission it
Before, it is also necessary to control unit is waken up.
Specifically, it when communication module detects that new valid data reach, is sent to control unit and wakes up instruction, in turn
Control unit receives wake-up instruction, and is waken up from dormant state.
Wherein, it can be electric impulse signal etc. to wake up instruction.
As an example, it as shown in figure 4, communication module is sent to control unit interrupt pin wakes up instruction, and then controls
Unit processed can detect the level value of interrupt pin, when level value is switched to second value from the first numerical value, from dormant state
It wakes up.For example, when the level value of interrupt pin becomes low level from high level, control unit wakes up from dormant state;In alternatively,
When the level value of disconnected pin becomes high level from low level, control unit wakes up from dormant state;For another example, the electricity of interrupt pin
When level values become B from A, control unit wakes up from dormant state.
In order to more clearly illustrate the data transmission method of the present embodiment, said with reference to concrete application scene
It is bright:
As shown in figure 5, when communication module detects that new valid data reach, it is single that control is waken up by interrupt pin
Member, control unit send response header solicited message after dormant state wake-up, to communication module, and communication module receives response header
ACK information is sent to control unit after solicited message, and then communication module is sent to control unit comprising coded data length
Response header, further control unit prepare resource, the control unit after being ready to according to the coded data length of acquisition
Response solicited message is sent to communication module, and then is sent again to control unit after communication module reception response solicited message
ACK information, further, communication module send coded data to control unit, and control unit receives coded data and is decoded,
Control unit enters dormant state later.
In conclusion the data transmission method of the embodiment of the present invention, carries out data transmission in communication module and control unit
Before, control unit can also be waken up from dormant state, avoids the data caused by control unit is not waken up in time
It loses, further increases the reliability of data transmission.
Based on above-described embodiment, the second valid data can also be sent from control unit to communication module.
The flow diagram for another data transmission method that Fig. 6 is provided by the embodiment of the present invention, as shown in fig. 6, should
Data transmission method includes:
Step 301, the second valid data are encoded, obtains the second valid data of coding.
Specifically, control unit compiles the second valid data before sending the second valid data to communication module
Code, to facilitate the parsing of data, and improves the safety of data transmission.
Step 302, second message is sent to communication module, is carried in second message for characterizing needed for the second valid data
The resource occupation information of stock number.
Wherein, the resource occupation information carried in second message can be the data length of the second valid data, can also
For the resource quantity etc. that the second valid data need to occupy, it is not limited herein.
Step 303, the response message of communication module feedback is received.
Step 304, the second valid data of coding are sent to communication module.
In one embodiment of the invention, communication module is that the second valid data are advance after receiving second message
The resource quantity of distribution and resource occupation information matches, and response message is sent to control unit, such as sent to control unit
One ACK information, to inform that control unit can carry out data transmission.
In turn, control unit sends the second valid data of coding after receiving response message to communication module.
Step 305, the response message of communication module feedback is received.
Specifically, after communication module receives the second valid data of coding, the second valid data of coding are decoded, and
Response message is sent to control unit, control unit confirms that data transmission is completed after receiving response message.Hereby it is achieved that control
Unit sends the second valid data to communication module, and informs that communication module resource accounts in advance before sending the second valid data
With information, the reliability of data transmission ensure that.
In order to more clearly illustrate the data transmission method of the present embodiment, write to communication module with reference to control unit
The concrete application scene of data illustrates:
As shown in fig. 7, control unit will need the data for being sent to communication module to encode, and obtain coded data
Length, and then control unit sends the command request information for carrying coded data length to communication module, communication module receives
Rear to command request information sends an ACK information to control unit, further sends and compiles from control unit to communication module
Code data, communication module receive coded data simultaneously be decoded, and then communication module decoding complete after to control unit again
Send an ACK information.
In conclusion the data transmission method of the embodiment of the present invention, realizes control unit and sends second to communication module
Valid data, and communication module resource occupation information is informed in advance before sending the second valid data, it ensure that data transmission
Reliability.
The flow diagram for another data transmission method that Fig. 8 is provided by the embodiment of the present invention, as shown in figure 8, should
Data transmission method includes:
Step 401, first message is sent to control unit, wherein carried in first message for characterizing to be transmitted the
The resource occupation information of stock number needed for one valid data.
In the present embodiment, executive agent is communication module, and control unit can carry out data with communication module by UART
Transmission.
In one embodiment of the invention, communication module can be Wireless Fidelity (wifi) module.
Wherein, the form of resource occupation information can there are many.For example, resource occupation information can be the first valid data
Data length (such as code length), or the first valid data need the resource quantity that occupies.
Specifically, it before communication module sends the first valid data to control unit, is first sent to control unit and carries money
The first message of source occupied information after receiving first message in order to control unit, is in advance according to resource occupation information
First valid data prepare required stock number.
Step 402, the first valid data are sent to control unit.
It is appreciated that when control unit and communication module carry out data transmission, in general the memory of control unit compared with
Small, processing capacity is weaker, and when the valid data that communication module is sent are larger, control unit may prepare not because of resource
Foot, leading to processing, reasons make loss of data not in time etc., influence the stability of data transmission.
In the present embodiment, communication module sends first message to control unit first before sending the first valid data,
For control unit after receiving first message, the resource occupation information carried according to first message is the first valid data in advance
Corresponding first resource is distributed, and then communication module sends the first valid data to control unit.Since control unit is receiving
It has been prepared in advance corresponding stock number before first valid data to handle data, therefore will not in time cause because of processing
Loss of data, to ensure that the stability and reliability of data transmission.
In conclusion the data transmission method of the embodiment of the present invention, sending first to control unit by communication module has
Before imitating data, first first of the resource occupation information of stock number needed for the first valid data is carried to control unit transmission and disappeared
Breath, then send the first valid data to control unit so that control unit is prepared in advance phase before receiving the first valid data
The stock number answered is avoided with handling data because processing leads to loss of data not in time, to ensure that the stabilization of data transmission
Property and reliability.
Based on above-described embodiment, before communication module sends valid data to control unit, it is also necessary to carry out response inspection
It surveys.The flow diagram for another data transmission method that Fig. 9 is provided by the embodiment of the present invention, as shown in figure 9, the data pass
Transmission method includes:
Step 501, the first request for request-reply head that reception control unit is sent.
Step 502, response message is returned to control unit.
Step 503, first message is sent to control unit, wherein first message carries response header.
Step 504, what reception control unit was sent is used to ask the second of the first valid data to ask.
Step 505, response message is returned to control unit.
Step 506, the first valid data are encoded, obtains the first valid data of coding.
Step 507, the first valid data of coding are sent to control unit.
Specifically, after the first request for request-reply head that communication module reception control unit is sent, to control
Unit returns to response message, and then communication module sends the first message for carrying response header to control unit.In turn, it communicates
What module reception control unit was sent answers accordingly for asking the second of the first valid data to ask, and to control unit return
Answer information.
Further, the first valid data of communication module pair encode, and obtain the first valid data of coding, and single to control
Member sends the first valid data of coding.
In practical applications, the case where having control unit in a dormant state, therefore, communication module is single with control
Before member carries out data transmission, it is also necessary to wake up control unit from dormant state.
Specifically, when communication module detects that new valid data reach, the first request is being sent to control unit
Before, it first being sent to control unit and wakes up instruction, the level value to control interrupt pin is switched to second value from the first numerical value, from
And control unit is waken up from dormant state.
It should be noted that previous embodiment is equally applicable to the explanation of data transmission method the number of the present embodiment
According to transmission method, details are not described herein again.
In conclusion the data transmission method of the embodiment of the present invention, can also carry out response detection to communication module, logical
Letter module carries out data transmission again in the case of having response, further improves the stability and reliability of data transmission.Also,
Before communication module and control unit carry out data transmission, control unit can also be waken up from dormant state, further increased
The reliability of data transmission is added.
Based on above-described embodiment, the second valid data that can also be sent by communication module reception control unit.Figure 10 is
The flow diagram for another data transmission method that the embodiment of the present invention is provided, as shown in Figure 10, the data transmission method
Including:
Step 601, the second message that reception control unit is sent is carried for characterizing the second valid data in second message
The resource occupation information of required stock number.
Step 602, to control unit feeding back response information.
Step 603, reception control unit sends the second valid data.
Step 604, to control unit feeding back response information.
Specifically, the carrying that communication module reception control unit is sent is for characterizing resource needed for second valid data
The second message of the resource occupation information of amount, and to control unit feeding back response information, and then control unit receives response and disappears
To communication module the second valid data of transmission after breath, the second valid data that communication module reception control unit is sent, and again
To control unit feeding back response information.
Wherein, when the second valid data are coded data, communication module also needs after receiving the second valid data
Second valid data are decoded, to obtain decoded second valid data.Specifically, when resource occupation information is the
When the data length of two valid data, communication module carries out integrality according to data length, to the second valid data received
Verification, and then after completeness check passes through, the second valid data are decoded, to obtain decoded second significant figure
According to.
It should be noted that previous embodiment is equally applicable to the explanation of data transmission method the number of the present embodiment
According to transmission method, details are not described herein again.
In conclusion the data transmission method of the embodiment of the present invention, second sent in communication module reception control unit
When valid data, the second message for carrying resource occupation information is first sent from control unit to communication module, ensure that data pass
Defeated reliability.
In order to realize that above-described embodiment, the present invention also propose a kind of data transmission device.
Figure 11 is a kind of structural schematic diagram of data transmission device provided in an embodiment of the present invention, as shown in figure 11, the number
Include according to transmitting device:First receiving module 71, distribution module 72, the second receiving module 73.
Wherein, the first receiving module 71, the first message for receiving communication module transmission, wherein taken in first message
Resource occupation information of the band for characterizing stock number needed for the first valid data to be transmitted.
Distribution module 72, for allocating the first resource with resource occupation information matches in advance for the first valid data.
Second receiving module 73 receives the first valid data that communication module is sent for utilizing first resource.
On the basis of Figure 11, the data transmission device that Figure 12 is provided further includes:Third sending module 74.
Wherein, the first receiving module 71, is specifically used for:
The first request for request-reply head is sent to communication module;
Receive the response message that communication module is returned according to the first request;
The first message that communication module returns is received, wherein first message carries response header.
Further, the first receiving module 71 is additionally operable to receive the wake-up instruction that communication module is sent, and from dormant state
It wakes up, wherein waking up instruction is sent when detecting that new valid data reach by communication module.
Further, the second receiving module 73, is specifically used for:
It is sent to communication module for asking the second of the first valid data to ask;
Receive the response message that communication module is returned according to the second request.
Further, the second receiving module 73 is additionally operable to be decoded the first valid data, obtains decoded first
Valid data.
Third sending module 74, for sending the second valid data to communication module.
Further, third sending module 74, is specifically used for:
Second valid data are encoded, the second valid data of coding are obtained;
Second message is sent to communication module, is carried in second message for characterizing stock number needed for the second valid data
Resource occupation information;
Receive the response message of communication module feedback;
The second valid data of coding are sent to communication module;
Receive the response message of communication module feedback.
It should be noted that the aforementioned data for being also applied for the embodiment to the explanation of data transmission method embodiment
Transmitting device, details are not described herein again.
In conclusion the data transmission device of the embodiment of the present invention, the first message sent by receiving communication module,
In, carry resource occupation information for characterizing stock number needed for the first valid data to be transmitted in first message, and be the
One valid data allocate the first resource with the resource occupation information matches in advance, and then utilize first resource, receive communication
The first valid data that module is sent.In the present embodiment, communication module is first accused before sending the first valid data to control unit
Know the resource occupation information of the first valid data of control unit, and then control unit is according to the first money of resource occupation information distribution
Source, since control unit has allocated first resource in advance to receive the first valid data before receiving the first valid data,
Therefore when control unit receives the first valid data, loss of data will not be led to not in time because of processing, to ensure that data
The stability and reliability of transmission.
The structural schematic diagram for another data transmission device that Figure 13 is provided by the embodiment of the present invention, as shown in figure 13,
The data transmission device includes:First sending module 81, the second sending module 82.
Wherein, the first sending module 81, for sending first message to control unit, wherein carry and use in first message
In the resource occupation information for characterizing stock number needed for the first valid data to be transmitted.
Second sending module 82, for sending the first valid data to control unit.
On the basis of Figure 13, the data transmission device that Figure 14 is provided further includes:Third receiving module 83.
Wherein, the first sending module 81, is specifically used for:
Reception control unit sends the first request for request-reply head;
Response message is returned to control unit;
First message is sent to control unit, wherein first message carries response header.
Further, the first sending module 81 is additionally operable to when detecting that the first new valid data reach, single to control
Member, which is sent, wakes up instruction.
Further, the second sending module 82, is specifically used for:
What reception control unit was sent is used to ask the second of the first valid data to ask;
Response message is returned to control unit.
Further, the second sending module 82, is additionally operable to:
First valid data are encoded, the first valid data of coding are obtained;
The first valid data of coding are sent to control unit.
Third receiving module 83, the second valid data sent for reception control unit.
Further, third receiving module 83, is specifically used for:
Reception control unit sends second message, is carried in second message for characterizing stock number needed for the second valid data
Resource occupation information;
To control unit feeding back response information;
The second valid data that reception control unit is sent;
To control unit feeding back response information.
Second valid data are decoded, decoded second valid data are obtained.
It should be noted that the aforementioned data for being also applied for the embodiment to the explanation of data transmission method embodiment
Transmitting device, details are not described herein again.
In conclusion the data transmission device of the embodiment of the present invention, sending first to control unit by communication module has
Before imitating data, first first of the resource occupation information of stock number needed for the first valid data is carried to control unit transmission and disappeared
Breath, then send the first valid data to control unit so that control unit is prepared in advance phase before receiving the first valid data
The stock number answered is avoided with handling data because processing leads to loss of data not in time, to ensure that the stabilization of data transmission
Property and reliability.
In order to realize that above-described embodiment, the present invention also propose a kind of electronic equipment, including processor and memory;Wherein,
Processor runs program corresponding with executable program code by reading the executable program code stored in memory, with
For realizing the data transmission method as described in aforementioned any embodiment.
In order to realize above-described embodiment, the present invention also proposes a kind of computer program product, when in computer program product
Instruction processing unit realize data transmission method as described in aforementioned any embodiment when executing.
In order to realize that above-described embodiment, the present invention also propose a kind of non-transitorycomputer readable storage medium, deposit thereon
Computer program is contained, the data transmission method as described in aforementioned any embodiment is realized when which is executed by processor.
Figure 15 shows the block diagram of the exemplary computer device suitable for being used for realizing the application embodiment.Figure 15 is shown
Computer equipment 12 be only an example, any restrictions should not be brought to the function and use scope of the embodiment of the present application.
As shown in figure 15, computer equipment 12 is showed in the form of universal computing device.The component of computer equipment 12 can
To include but not limited to:One or more processor or processing unit 16, system storage 28 connect different system component
The bus 18 of (including system storage 28 and processing unit 16).
Bus 18 indicates one or more in a few class bus structures, including memory bus or Memory Controller,
Peripheral bus, graphics acceleration port, processor or the local bus using the arbitrary bus structures in a variety of bus structures.It lifts
For example, these architectures include but not limited to industry standard architecture (Industry Standard
Architecture;Hereinafter referred to as:ISA) bus, microchannel architecture (Micro Channel Architecture;Below
Referred to as:MAC) bus, enhanced isa bus, Video Electronics Standards Association (Video Electronics Standards
Association;Hereinafter referred to as:VESA) local bus and peripheral component interconnection (Peripheral Component
Interconnection;Hereinafter referred to as:PCI) bus.
Computer equipment 12 typically comprises a variety of computer system readable media.These media can be it is any can be by
The usable medium that computer equipment 12 accesses, including volatile and non-volatile media, moveable and immovable medium.
Memory 28 may include the computer system readable media of form of volatile memory, such as random access memory
Device (Random Access Memory;Hereinafter referred to as:RAM) 30 and/or cache memory 32.Computer equipment 12 can be with
Further comprise other removable/nonremovable, volatile/non-volatile computer system storage mediums.Only as an example,
Storage system 34 can be used for reading and writing immovable, non-volatile magnetic media, and (Figure 15 do not show, commonly referred to as " hard drive
Device ").Although being not shown in Figure 15, can provide for the disk to moving non-volatile magnetic disk (such as " floppy disk ") read-write
Driver, and to removable anonvolatile optical disk (such as:Compact disc read-only memory (Compact Disc Read Only
Memory;Hereinafter referred to as:CD-ROM), digital multi CD-ROM (Digital Video Disc Read Only
Memory;Hereinafter referred to as:DVD-ROM) or other optical mediums) read-write CD drive.In these cases, each driving
Device can be connected by one or more data media interfaces with bus 18.Memory 28 may include at least one program production
Product, the program product have one group of (for example, at least one) program module, and it is each that these program modules are configured to perform the application
The function of embodiment.
Program/utility 40 with one group of (at least one) program module 42 can be stored in such as memory 28
In, such program module 42 include but not limited to operating system, one or more application program, other program modules and
Program data may include the realization of network environment in each or certain combination in these examples.Program module 42 is usual
Execute the function and/or method in embodiments described herein.
Computer equipment 12 can also be with one or more external equipments 14 (such as keyboard, sensing equipment, display 24
Deng) communication, the equipment interacted with the computer system/server 12 can be also enabled a user to one or more to be communicated, and/
Or with any equipment (example that the computer system/server 12 is communicated with one or more of the other computing device
Such as network interface card, modem etc.) communication.This communication can be carried out by input/output (I/O) interface 22.Also, it calculates
Machine equipment 12 can also pass through network adapter 20 and one or more network (such as LAN (Local Area
Network;Hereinafter referred to as:LAN), wide area network (Wide Area Network;Hereinafter referred to as:WAN) and/or public network, example
Such as internet) communication.As shown, network adapter 20 is communicated by bus 18 with other modules of computer equipment 12.It answers
When understanding, although not shown in the drawings, other hardware and/or software module can not used in conjunction with computer equipment 12, including but not
It is limited to:Microcode, device driver, redundant processing unit, external disk drive array, RAID system, tape drive and
Data backup storage system etc..
Processing unit 16 is stored in program in system storage 28 by operation, to perform various functions application and
Data processing, such as realize the method referred in previous embodiment.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example
Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not
It must be directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be in office
It can be combined in any suitable manner in one or more embodiments or example.In addition, without conflicting with each other, the skill of this field
Art personnel can tie the feature of different embodiments or examples described in this specification and different embodiments or examples
It closes and combines.
In addition, term " first ", " second " are used for description purposes only, it is not understood to indicate or imply relative importance
Or implicitly indicate the quantity of indicated technical characteristic.Define " first " as a result, the feature of " second " can be expressed or
Implicitly include at least one this feature.In the description of the present invention, the meaning of " plurality " is at least two, such as two, three
It is a etc., unless otherwise specifically defined.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes
It is one or more for realizing custom logic function or process the step of executable instruction code module, segment or portion
Point, and the range of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discuss suitable
Sequence, include according to involved function by it is basic simultaneously in the way of or in the opposite order, to execute function, this should be of the invention
Embodiment person of ordinary skill in the field understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use
In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for
Instruction execution system, device or equipment (system of such as computer based system including processor or other can be held from instruction
The instruction fetch of row system, device or equipment and the system executed instruction) it uses, or combine these instruction execution systems, device or set
It is standby and use.For the purpose of this specification, " computer-readable medium " can any can be included, store, communicating, propagating or passing
Defeated program is for instruction execution system, device or equipment or the dress used in conjunction with these instruction execution systems, device or equipment
It sets.The more specific example (non-exhaustive list) of computer-readable medium includes following:Electricity with one or more wiring
Interconnecting piece (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory
(ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk is read-only deposits
Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other are suitable
Medium, because can be for example by carrying out optical scanner to paper or other media, then into edlin, interpretation or when necessary with it
His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each section of the present invention can be realized with hardware, software, firmware or combination thereof.Above-mentioned
In embodiment, software that multiple steps or method can in memory and by suitable instruction execution system be executed with storage
Or firmware is realized.Such as, if realized in another embodiment with hardware, following skill well known in the art can be used
Any one of art or their combination are realized:With for data-signal realize logic function logic gates from
Logic circuit is dissipated, the application-specific integrated circuit with suitable combinational logic gate circuit, programmable gate array (PGA), scene can compile
Journey gate array (FPGA) etc..
Those skilled in the art are appreciated that realize all or part of step that above-described embodiment method carries
Suddenly it is that relevant hardware can be instructed to complete by program, the program can be stored in a kind of computer-readable storage medium
In matter, which includes the steps that one or a combination set of embodiment of the method when being executed.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing module, it can also
That each unit physically exists alone, can also two or more units be integrated in a module.Above-mentioned integrated mould
The form that hardware had both may be used in block is realized, can also be realized in the form of software function module.The integrated module is such as
Fruit is realized in the form of software function module and when sold or used as an independent product, can also be stored in a computer
In read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..Although having been shown and retouching above
The embodiment of the present invention is stated, it is to be understood that above-described embodiment is exemplary, and should not be understood as the limit to the present invention
System, those skilled in the art can be changed above-described embodiment, change, replace and become within the scope of the invention
Type.
Claims (15)
1. a kind of data transmission method, which is characterized in that including:
Receive the first message that communication module is sent, wherein being carried in the first message has for characterizing to be transmitted first
Imitate the resource occupation information of stock number needed for data;
The first resource with the resource occupation information matches is allocated in advance for first valid data;
Using the first resource, first valid data that the communication module is sent are received.
2. according to the method described in claim 1, it is characterized in that, the resource occupation information is first valid data
Data length or first valid data need the resource quantity occupied.
3. according to the method described in claim 1, it is characterized in that, the first message for receiving communication module and sending, is also wrapped
It includes:
The first request for request-reply head is sent to the communication module;
Receive the response message that the communication module is returned according to first request;
Receive the first message that the communication module returns;The wherein described first message carries response header.
4. according to the method described in claim 3, it is characterized in that, described sent to the communication module is used for request-reply head
First request before, further include:
The wake-up instruction that the communication module is sent is received, and is waken up from dormant state, wherein the wake-up instruction is by described
Communication module, which detects, to be sent when new valid data reach.
5. according to the method described in claim 4, it is characterized in that, the wake-up instruction for receiving the communication module and sending,
And waken up from dormant state, including:
Detect the level value of interrupt pin;
When the level value is switched to second value from the first numerical value, then waken up from the dormant state.
6. according to the method described in claim 3, it is characterized in that, the utilization first resource, receives the communication mould
Before first valid data that block is sent, further include:
It is sent to the communication module for asking the second of first valid data to ask;
Receive the response message that the communication module is returned according to second request.
7. according to the method described in claim 6, it is characterized in that, first valid data are coded data, then described to connect
After receiving first valid data that the communication module returns, further include:
First valid data are decoded, decoded first valid data are obtained.
8. the method according to the description of claim 7 is characterized in that described be decoded first valid data, obtain
Decoded first valid data, including:
According to the data length, completeness check is carried out to receiving first valid data;
After completeness check passes through, first valid data are decoded, obtain decoded first valid data.
9. according to the method described in claim 1, it is characterized in that, further including:
The second valid data are sent to the communication module.
10. according to the method described in claim 9, it is characterized in that, described send the second valid data to the communication module
Before, further include:
Second valid data are encoded, the second valid data of coding are obtained.
11. according to the method described in claim 10, it is characterized in that, described send the second significant figure to the communication module
According to, including:
Second message is sent to the communication module;It is carried in the second message for characterizing needed for second valid data
The resource occupation information of stock number;
Receive the response message of the communication module feedback;
The second valid data of the coding are sent to the communication module;
Receive the response message of the communication module feedback.
12. a kind of data transmission device, which is characterized in that including:
First receiving module, the first message for receiving communication module transmission, wherein carried in the first message and be used for table
Levy the resource occupation information of stock number needed for the first valid data to be transmitted;
Distribution module, for allocating the first resource with the resource occupation information matches in advance for first valid data;
Second receiving module receives first valid data that the communication module is sent for utilizing the first resource.
13. a kind of electronic equipment, which is characterized in that including processor and memory;
Wherein, the processor can perform to run with described by reading the executable program code stored in the memory
The corresponding program of program code, for realizing the data transmission method as described in any in claim 1-11.
14. a kind of computer program product, which is characterized in that when the instruction processing unit in the computer program product executes
Realize the data transmission method as described in any in claim 1-11.
15. a kind of non-transitorycomputer readable storage medium, is stored thereon with computer program, which is characterized in that the program
The data transmission method as described in any in claim 1-11 is realized when being executed by processor.
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 true CN108390744A (en) | 2018-08-10 |
CN108390744B 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) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109783576A (en) * | 2019-01-02 | 2019-05-21 | 佛山市顺德区美的洗涤电器制造有限公司 | Household appliance and its date storage method, device |
Citations (5)
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 |
-
2018
- 2018-02-11 CN CN201810139842.3A patent/CN108390744B/en active Active
Patent Citations (5)
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 |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109783576A (en) * | 2019-01-02 | 2019-05-21 | 佛山市顺德区美的洗涤电器制造有限公司 | Household appliance and its date storage method, device |
Also Published As
Publication number | Publication date |
---|---|
CN108390744B (en) | 2021-08-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TW384428B (en) | Method and apparatus for dynamically managing communications buffers used with packet communication data for a printer | |
CN101681325B (en) | The amendment equipment of PCI Express packet digest, system and method | |
JP3340738B2 (en) | Method and apparatus for a parallel packet bus | |
CN108376077A (en) | The upgrade method and device of control unit | |
US20140068134A1 (en) | Data transmission apparatus, system, and method | |
CN107741915B (en) | FPGA (field programmable Gate array) board-level communication device and communication method based on SDIO (Serial digital input output) interface | |
CN108897703A (en) | A kind of high speed data transmission system and method based on PCIE | |
CN109194736A (en) | Message De-weight method, device, electronic equipment, medium and unmanned vehicle | |
CN110297722B (en) | Thread task communication method and related product | |
KR101679333B1 (en) | Method, apparatus and system for single-ended communication of transaction layer packets | |
CN102073611A (en) | I2C bus control system and method | |
CN114138700B (en) | Flow control method, device, equipment and storage medium for serial port data transmission | |
CN108390744A (en) | Data transmission method, device, electronic equipment, program product and storage medium | |
CN114879551A (en) | Intelligent cabin domain controller based on CPU hard isolation system design method | |
CN115967656A (en) | Load rate determining method and device and computer readable storage medium | |
CN111371799B (en) | Method, device and equipment for controlling data receiving and transmitting of MCTP (Multi-channel media Port) controller | |
CN115357535A (en) | Virtual serial port design method and device | |
CN109918325B (en) | Interface conversion bridge based on Avalon bus, interface conversion method and system | |
CN107220154A (en) | The system for managing multiple address identical two-wire serial interface optical modules | |
CN103095510A (en) | Multifunction vehicle bus analytical equipment | |
CN111490919A (en) | Master-slave machine system, equipment terminal and communication verification method thereof | |
CN115250257B (en) | Ethernet message processing method and device applied to DPU | |
CN110187685A (en) | A kind of data transmission method, device, electronic equipment and storage medium | |
CN107426308A (en) | Asynchronous network communication means, device, terminal and server | |
JP3799741B2 (en) | Bus controller |
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 |