CN106330408B - Data transmission system and method - Google Patents

Data transmission system and method Download PDF

Info

Publication number
CN106330408B
CN106330408B CN201610728297.2A CN201610728297A CN106330408B CN 106330408 B CN106330408 B CN 106330408B CN 201610728297 A CN201610728297 A CN 201610728297A CN 106330408 B CN106330408 B CN 106330408B
Authority
CN
China
Prior art keywords
data
application data
frame
wireless
module
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
CN201610728297.2A
Other languages
Chinese (zh)
Other versions
CN106330408A (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.)
Anhui Xiaomu Culture Technology Co Ltd
Original Assignee
Anhui Xiaomu Culture Technology 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 Anhui Xiaomu Culture Technology Co Ltd filed Critical Anhui Xiaomu Culture Technology Co Ltd
Priority to CN201610728297.2A priority Critical patent/CN106330408B/en
Publication of CN106330408A publication Critical patent/CN106330408A/en
Application granted granted Critical
Publication of CN106330408B publication Critical patent/CN106330408B/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
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
    • H04L41/0836Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability to enhance reliability, e.g. reduce downtime
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/1607Details of the supervisory signal

Abstract

The invention provides a data transmission system and a data transmission method. The data transmission system comprises a host and a plurality of slaves, wherein the host is provided with a wireless transmitting module and a wired signal receiving module, each slave is provided with a wireless receiving module and a wired signal providing module, the wired signal receiving modules are respectively connected with the wired signal providing modules of the slaves through data lines, and the wireless transmitting modules are configured to: broadcasting and sending a frame of application data to a plurality of slave machines in a wireless mode; the wired signal receiving module is configured to: receiving response signals of the plurality of slave machines responding to the frame application data, and informing the wireless sending module to send the next frame application data after determining that the response signals returned by all the plurality of slave machines are correct; the wireless receiving module is configured to: receiving application data sent by a wireless sending module; the wired signal providing module is configured to: and feeding back a response signal to the host through the data line. Therefore, the communication reliability is improved, and the hardware cost is saved.

Description

Data transmission system and method
Technical Field
The present invention relates to communications technologies, and in particular, to a data transmission system and method.
Background
In the conventional wireless communication method, both communication parties need to handshake according to a predetermined communication protocol during communication, on one hand, a certain confirmation time is required, on the other hand, a series of operations such as analysis, processing, response and the like on handshake data by a processor are required during the handshake, and the computing capacity of the processor needs to be consumed.
Therefore, in the conventional wireless communication technology, a lot of time and resources are wasted on the acknowledgement of both communication parties in the process of data transmission by using a wireless method, and communication efficiency and stability are affected.
Disclosure of Invention
An object of the present invention is to provide a data transmission system and method with high transmission efficiency.
A further object of the invention is to save hardware costs.
It is a further object of the invention to improve the stability of data transmission.
According to an aspect of the present invention, there is provided a data transmission system including a master and a plurality of slaves, wherein the master is provided with a wireless transmission module and a wired signal receiving module, each of the slaves is provided with a wireless receiving module and a wired signal providing module, the wired signal receiving modules are respectively connected with the wired signal providing modules of the plurality of slaves through data lines, and the wireless transmission module is configured to: broadcasting and sending a frame of application data to a plurality of slave machines in a wireless mode; the wired signal receiving module is configured to: receiving response signals of the plurality of slave machines responding to the frame application data, and informing the wireless sending module to send the next frame application data after determining that the response signals returned by all the plurality of slave machines are correct; the wireless receiving module is configured to: receiving application data sent by a wireless sending module; the wired signal providing module is configured to: and feeding back a response signal to the host through the data line.
Optionally, the wireless transmission module is further configured to: acquiring a trigger signal for starting data communication, and reading corresponding application data according to the trigger signal for sending; and the wired signal receiving module is further configured to: clearing the response signal and the communication timeout identification in the buffer area to carry out initialization before communication.
Optionally, the wireless transmission module is further configured to: after determining that the response signals returned by all the slave machines are correct, judging whether the frame of application data is the last frame; if not, the wired signal receiving module clears the response signal and the communication overtime identification in the buffer area, and executes the step of sending the next frame of application data in a wireless mode; if yes, the data communication process is completed.
Optionally, the wired signal receiving module is further configured to: and if the correct response signals returned by all the multiple slave machines are not received within the preset response time, the wireless transmission module is enabled to retransmit the frame of application data until the host machine receives the correct response signals returned by all the multiple slave machines or the communication failure is determined.
Optionally, the communication failure is determined when the wired signal receiving module continuously does not receive the correct response signals returned by all the multiple slaves within a preset timeout period, or the number of times that the wireless transmitting module retransmits the frame of application data exceeds a set number of times.
Optionally, the wired signal providing module is further configured to: after the wireless receiving module receives a frame of application data, a corresponding response signal is sent to the host through the data line; each slave further comprises a data processing module configured to: judging whether the received application data is processed retransmission data or not, if not, processing the received application data and waiting for next frame data; if yes, directly waiting for the host to send the next frame of application data.
According to another aspect of the present invention, there is also provided a data transmission method for a master computer to transmit data to a plurality of slave computers, wherein the master computer and the plurality of slave computers are simultaneously and wirelessly connected by data lines, and the data transmission method includes: the host broadcasts and sends a frame of application data to a plurality of slave machines in a wireless mode; the master machine receives response signals of the plurality of slave machines responding to the frame application data by using the data line, and sends the next frame application data in a wireless mode after determining that the response signals returned by all the plurality of slave machines are correct.
Optionally, before the master starts to broadcast and transmit the first frame application data to the plurality of slaves, the method further includes: acquiring a trigger signal for starting data communication; and reading corresponding application data according to the trigger signal, and clearing the response signal and the communication timeout identifier in the buffer area to initialize before communication.
Optionally, after determining that the response signals returned by all of the plurality of slaves are correct, the method further includes: judging whether the frame of application data is the last frame; if not, clearing the response signal and the communication overtime mark in the buffer area, and executing the step of sending the next frame of application data in a wireless mode; if yes, the data communication process is completed.
Optionally, after the step of simultaneously broadcasting and transmitting a frame of application data to a plurality of slaves by the master in a wireless manner, the method further includes: if the host does not receive the correct response signals returned by all the multiple slaves within the preset response time, the frame of application data is retransmitted until the host receives the correct response signals returned by all the multiple slaves or the communication failure is determined, wherein the step of determining the communication failure comprises the following steps: the number of times that the host resends the frame of application data exceeds the set number of times; or the host continuously does not receive the correct response signals returned by all the slave machines within the preset timeout time, wherein the timeout time is longer than the response time; after each slave computer receives a frame of application data, corresponding response signals are sent to the master computer through the data lines; judging whether the received application data is processed retransmission data or not, if not, processing the received application data and waiting for next frame data; if yes, directly waiting for the host to send the next frame of application data.
According to the data transmission system, the host broadcasts and sends the application data to the multiple slave machines in a wireless mode, and the slave machines reply the response signals to the host machines in a data line mode after receiving the data sent by the host machines, so that communication handshake between the host machines and the multiple slave machines is avoided, and communication efficiency is improved. In addition, the host computer does not need to be provided with a wireless receiving module, and the slave computer also saves a wireless transmitting module, thereby saving the hardware cost.
Furthermore, the data transmission system of the invention can be applied to the occasion that the host computer sends data to the slave computers in one direction, and is particularly suitable for the situation that a plurality of slave computers are distributed and arranged, but the installation positions are relatively fixed, for example, the host computer is used as sound box equipment, the slave computers are used as a plurality of loudspeakers, and the host computer provides audio data for the loudspeakers; also for example, the master serves as a game device and provides game update data to the distributed modules as slaves.
Furthermore, the data transmission system and the data transmission method of the invention optimize the communication process by using the data connection mode of the host and the slave, and the host sends the next frame of data after sending each frame of data and waiting for the correct response of all the slaves. Because the response signal is transmitted in a wired mode, a host computer is not required to analyze and process data, and therefore communication reliability is improved under the condition that communication efficiency is guaranteed.
The above and other objects, advantages and features of the present invention will become more apparent to those skilled in the art from the following detailed description of specific embodiments thereof, taken in conjunction with the accompanying drawings.
Drawings
Some specific embodiments of the invention will be described in detail hereinafter, by way of illustration and not limitation, with reference to the accompanying drawings. The same reference numbers in the drawings identify the same or similar elements or components. Those skilled in the art will appreciate that the drawings are not necessarily drawn to scale. In the drawings:
FIG. 1 is a schematic architecture diagram of a data transmission system according to one embodiment of the present invention;
FIG. 2 is a schematic diagram of a data transmission method according to one embodiment of the invention;
FIG. 3 is a flow chart of the host executing in the data transfer method according to one embodiment of the present invention; and
fig. 4 is a flowchart illustrating an operation of a slave in a data transmission method according to an embodiment of the present invention.
Detailed Description
The present embodiment provides a data transmission system 10, which is directed to the situation where the master 100 and the plurality of slaves 200 perform unidirectional data transmission, and the slaves 200 and the master 100 are conveniently connected by cables. For example, the master 100 serves as a sound box device, the slave 200 serves as a plurality of speakers, and the master 100 provides audio data to the speakers; also for example, the master 100 serves as a game device and provides game update data to the distributed module serving as the slave 200. The master 100 transmits data to the slave 200 by wireless communication, and the slave 200 returns a response signal to the master 100 by the data line 300.
Fig. 1 is a schematic architecture diagram of a data transmission system 10 according to an embodiment of the present invention, the system 10 includes a master 100 and a plurality of slaves 200, the master 100 is provided with a wireless transmitting module 110 and a wired signal receiving module 120, and each slave 200 is provided with a wireless receiving module 210 and a wired signal providing module 220. The figure shows an example of data transmission between the master 100 and three slaves 200, and the number of slaves 200 can be configured according to the use requirement in actual use.
The wireless transmitting module 110 is configured to be in data connection with the wireless receiving modules 210 of the multiple slaves 200 in a wireless manner, and the data format, the communication rate, the channel, and the signal strength of communication of the wireless transmitting module 110 can be preset respectively, so that the data frame transmitted by the wireless transmitting module 110 can be successfully received by the wireless receiving modules 210, and a handshake process complicated in a wireless communication manner in the prior art is avoided. For example, the wireless transmitting module 110 and the wireless receiving module may perform unidirectional wireless transmission by using a 2.4G wireless transmission technology.
The wired signal receiving module 120 is connected to the wired signal providing modules 220 of the plurality of slaves 200 through the data lines 300, respectively, the data lines 300 may be analog signal lines or digital signal lines, for example, the wired signal receiving module 120 has a plurality of data line 300 interfaces, each data line 300 interface connects one data line 300 to one wired signal providing module of one slave 200. Since the data line 300 is used only for transmitting the reply signal in one direction, a simplified communication cable may be used. The data line 300 may preferably transmit the reply signal using digital signals, and each slave 200 is connected to the master 100 through a separate data line 300.
During data transmission, the wireless transmission module 110 may transmit data frame by frame, for example, after the wireless transmission module 110 broadcasts and transmits one frame of application data to a plurality of slaves 200 in a wireless manner; the wireless receiving module 210 of the slave 200 is configured to receive the application data sent by the wireless sending module 110, and the wired signal providing module 220 feeds back a response signal to the host 100 through the data line 300 after the wireless receiving module 210 receives the frame of application data; the wired signal receiving module 120 may receive response signals of the plurality of slaves 200 in response to the frame application data, and notify the wireless transmitting module 110 to transmit the next frame application data after determining that the response signals returned by all of the plurality of slaves 200 are correct.
In the communication process, the master 100 may set a buffer area for each slave 200 to record the response signal and the communication timeout flag of the slave 200, and scan the buffer areas after transmitting a frame of data to determine whether all the slaves 200 only feed back the response signal. After all slaves 200 are determined to reply with the correct reply signals, all recorded reply signals and communication timeout flags may be cleared for use with the next frame of data.
Before beginning data transmission, the wireless transmitting module 110 is further configured to: and acquiring a trigger signal for starting data communication, and reading corresponding application data according to the trigger signal for sending. The wired signal receiving module 120 may clear the response signal and the communication timeout flag in the buffer for initialization before communication. The trigger signal may be an operation signal of a user (for example, an operation on an interface or a button of the host 100), a timing signal (a set of data is transmitted at preset intervals), or the like.
After determining that the response signals returned by all the multiple slaves 200 are correct, the wireless transmission module 110 may further determine whether the frame of application data is the last frame; if the application data is not the last frame, the wired signal receiving module 120 clears the response signal and the communication timeout flag in the buffer, and performs the step of sending the application data of the next frame in a wireless manner; if the transmitted application data is the last frame, the data communication process is completed, and the wireless transmission module 110 may transmit an identification signal indicating that the data transmission is completed to the slave 200.
If the wired signal receiving module 120 does not receive the correct response signals returned by all the multiple slaves 200 within the preset response time, the wireless transmitting module 110 may retransmit the frame of application data until the master 100 receives the correct response signals returned by all the multiple slaves 200 or determines that the communication fails. For example, in the case that the wired signal receiving module 120 does not receive all the correct response signals returned from the plurality of slaves 200 within a preset timeout period, or the number of times that the wireless transmitting module 110 retransmits the frame of application data exceeds a set number of times, it may be determined that the communication has failed. The response time may be set according to the data processing capability of the slave 200, and may be determined according to a test. The timeout period may be set according to the communication state between the master 100 and the slave 200, and the master 100 may retransmit data several times within the timeout period.
After the wireless receiving module 210 receives a frame of application data, the wired signal providing module 220 may further send a corresponding response signal to the host 100 through the data line 300.
Each slave 200 may further comprise a data processing module (not shown in the figures), which may be configured to: judging whether the received application data is processed retransmission data or not, if not, processing the received application data and waiting for next frame data; if yes, the host 100 directly waits for sending the next frame of application data.
The data transmission system 10 of the present embodiment can simplify the conventional communication module, and for example, it is not necessary to perform wireless signal reception in the master 100 and it is not necessary to provide the wireless transmission module 110 in the slave 200. And the simple and reliable data line 300 is used for transmitting the response signal, so that the efficiency of data transmission in the use scene that the master 100 transmits the one-way transmission to the plurality of slaves 200 is improved, and the hardware cost is saved.
The embodiment of the present invention further provides a data transmission method, which can be executed by the data transmission system 10, optimize the communication process, and improve the communication reliability under the condition of ensuring the communication efficiency. Fig. 2 is a schematic diagram of a data transmission method according to an embodiment of the present invention, which may generally include:
step S202, the master 100 broadcasts and sends a frame of application data to a plurality of slaves 200 in a wireless mode;
step S204, the master 100 receives response signals from the plurality of slaves 200 in response to the frame application data by using the data line 300;
in step S206, after the response signals returned from all the plurality of slaves 200 are determined to be correct, the next frame of application data is wirelessly transmitted.
The data transmission method of the embodiment utilizes the wireless mode to transmit data, and utilizes the data line 300 to transmit the response signal, so that the efficiency and reliability of data transmission are improved, and the hardware cost is saved.
Before the master 100 starts broadcast transmission of the first frame application data to the plurality of slaves 200, the master 100 may further perform the following steps: acquiring a trigger signal for starting data communication; and reading corresponding application data according to the trigger signal, and clearing the response signal and the communication timeout identifier in the buffer area to initialize before communication.
After determining that the response signals returned by all the slaves 200 are correct in step S206, the master 100 may further determine whether the frame of application data is the last frame; if not, clearing the response signal and the communication overtime mark in the buffer area, and executing the step of sending the next frame of application data in a wireless mode; if yes, the data communication process is completed.
If the correct response signals returned by all the slaves 200 are not received within the preset response time after the master 100 finishes sending the frame of application data, resending the frame of application data until the master 100 receives the correct response signals returned by all the slaves 200 or determines that the communication fails, wherein the step of determining the communication failure comprises the following steps: the number of times that the host 100 retransmits the frame of application data exceeds a set number of times; or the master 100 does not receive the correct response signals returned by all the slaves 200 within a preset timeout period, and the timeout period is longer than the response period. The response time may be set according to the data processing capability of the slave 200, and may be determined according to a test. The timeout period may be set according to the communication state between the master 100 and the slave 200, and the master 100 may retransmit data several times within the timeout period.
After receiving a frame of application data, each slave 200 may send a corresponding response signal to the master 100 through the data line 300; and determines whether the received application data is the processed retransmission data, and if not, the slave 200 may process the received application data and wait for the next frame data. If the data is retransmitted, the slave 200 directly waits for the host 100 to transmit the next frame of application data.
According to the data transmission method, the host 100 broadcasts and sends the application data to the plurality of the slave machines 200 in a wireless mode, and the slave machines 200 reply the response signals to the host 100 in a data line 300 mode after receiving the data sent by the host 100, so that communication handshake between the host 100 and the plurality of the slave machines 200 is avoided, and communication efficiency is improved. In addition, after each frame of data is transmitted, the master 100 waits for all the slaves 200 to correctly respond and then transmits the next frame of data. Because the answer signal is transmitted in a wired mode, the host computer 100 does not need to analyze and process data, and therefore communication reliability is improved under the condition that communication efficiency is guaranteed. Moreover, the host 100 does not need to be provided with the wireless receiving module 210, and the slave 200 also saves a wireless transmitting module, thereby saving the hardware cost.
Fig. 3 is a flowchart of the host 100 in the data transmission method according to an embodiment of the present invention, in which the host 100 may perform the following steps:
step S302, wirelessly sending a transmission start signal;
step S304, clearing the response signals and the communication overtime marks of all the slave machines 200 so as to initialize before transmission;
step S306, sending the first frame application data in a wireless mode;
step S308, determining whether all the correct response signals returned from the slave 200 are received, if yes, performing step S310 and the subsequent steps, and if no, performing step S320 and the subsequent steps;
step S310, judging whether the data is sent completely, if so, finishing the communication successfully, and if not, executing step S312;
step S312, adding one to the frame count, and clearing the response signals and the communication timeout marks of all the slaves 200, wherein the frame count is used for recording the number of currently sent frames;
step S320, determining whether the transmitted data is a first frame;
step S322, judging whether the communication is overtime, if the transmission is failed, if not, executing step S330;
step S330, a frame of application data is transmitted, and the frame of application data determines whether to retransmit the current frame or to determine whether to retransmit the next frame according to the frame count. After step S330 is completed, the process returns to step S308 to detect the response signal for the data frame transmitted in step S330.
Fig. 4 is a flowchart of an execution of the slave 200 in the data transmission method according to an embodiment of the present invention, in which the slave 200 may execute the following steps:
step S402, receiving a transmission start signal;
step S404, preparing to receive data;
step S406, determining whether a frame of data is received within the set waiting time, if yes, performing step S410 and subsequent steps, and if not, directly performing step S418;
step S410, judging whether the received data is a new frame or the same as the previous frame, if not, returning to execute the step S406;
step S412, if the received data is a new frame or the same as the previous frame, the response signal is asserted, and the host 100 is successfully replied with the received data;
step S414, determining whether the received data is a new frame, if yes, performing step S416 and subsequent steps, otherwise, directly returning to perform step S406;
step S416, processing the frame data, where the processing may include data saving, parsing, and the like;
step S418, determining that the data transmission is completed, if the data transmission is completed, returning to step S402 for performing one communication, otherwise returning to step S406 for receiving the next frame data of the current communication.
By using the cooperation between the master 100 and the slaves 200, the master 100 waits for the correct responses of all the slaves 200 after sending each frame of data, and then sends the next frame of data. Because the answer signal is transmitted in a wired mode, the host computer 100 does not need to analyze and process data, and therefore communication reliability is improved under the condition that communication efficiency is guaranteed.
The data transmission system 10 of the present embodiment can be applied to product upgrade of an intelligent building block toy, and the building block system 10 includes a plurality of building blocks and a base. Intelligent parts are built in the building blocks to realize various game functions. The base serves as a receiving device for the building blocks for placing the building blocks on the one hand, and can also provide a charging power supply for the building blocks, charge a battery built in the building blocks and provide a data line 300 connection on the other hand. The base is internally provided with a base circuit board on which a charging circuit and a communication control circuit are arranged. The charging circuit is used for charging the building blocks; the communication control circuit is used for establishing with the building blocks to realize software upgrading and game content updating.
When the building blocks are subjected to software upgrading and game content updating, the building blocks are placed on the base to realize the connection of the data line 300; the base circuit board is used as a host 100 and the building blocks are used as slaves 200; the base circuit board sends the data that need to be updated for the building block with wireless mode, and the building block is in order to carry out signal response through data line 300, can carry out data upgrading simultaneously to a plurality of building blocks from the while, has avoided arranging the rising that complicated data processing circuit caused the cost at base and building block simultaneously.
The data transmission system 10 of the present embodiment may also be applied to a sound box device, where the host 100 provides audio data in a wireless manner, and the slave 200 is disposed in a speaker to play data transmitted by the host 100.
It can be seen that the data transmission system 10 of the present embodiment is suitable for the case where the master 100 transmits data to the slaves 200 in one direction, and is particularly suitable for the case where a plurality of slaves 200 are distributed, but the installation positions are relatively fixed.
Thus, it should be appreciated by those skilled in the art that while a number of exemplary embodiments of the invention have been illustrated and described in detail herein, many other variations or modifications consistent with the principles of the invention may be directly determined or derived from the disclosure of the present invention without departing from the spirit and scope of the invention. Accordingly, the scope of the invention should be understood and interpreted to cover all such other variations or modifications.

Claims (10)

1. A data transmission system comprises a host and a plurality of slaves, wherein the host is a base of a building block system, the slaves are building blocks of the building block system, when software upgrading and game content updating are carried out on the building blocks, the building blocks are placed on the base to realize connection of data lines, the base sends data to be updated to the building blocks in a wireless mode, the host is provided with a wireless sending module and a wired signal receiving module, each slave is provided with a wireless receiving module and a wired signal providing module, the wired signal receiving module is connected with wired signal providing modules of the slaves through the data lines respectively, and the wired signal receiving modules are connected with the wired signal providing modules of the slaves through the data lines respectively
The wireless transmission module is configured to: broadcasting and sending a frame of application data to the plurality of slave machines in a wireless mode;
the wired signal receiving module is configured to: receiving response signals of the plurality of slave machines responding to the frame application data, and informing the wireless sending module to send the next frame application data after determining that the response signals returned by all the plurality of slave machines are correct;
the wireless receiving module is configured to: receiving application data sent by the wireless sending module;
the wired signal providing module is configured to: and feeding back the response signal to the host through the data line.
2. The system of claim 1, wherein,
the wireless transmission module is further configured to: acquiring a trigger signal for starting data communication, and reading corresponding application data according to the trigger signal for sending; and is
The wired signal receiving module is further configured to: clearing the response signal and the communication timeout identification in the buffer area to carry out initialization before communication.
3. The system of claim 1, wherein the wireless transmission module is further configured to:
after determining that the response signals returned by all the slave machines are correct, judging whether the frame of application data is the last frame;
if not, the wired signal receiving module clears the response signal and the communication overtime mark in the buffer area and executes the step of sending the next frame of application data in the wireless mode;
if yes, the data communication process is completed.
4. The system of claim 1, wherein the wired signal receiving module is further configured to:
and if the correct response signals returned by all the slave machines are not received within the preset response time, the wireless transmission module is enabled to retransmit the frame of application data until the host receives the correct response signals returned by all the slave machines or the communication failure is determined.
5. The system of claim 4, wherein,
and determining that the communication fails under the condition that the wired signal receiving module does not continuously receive correct response signals returned by all the slave machines within a preset timeout time or the frequency of retransmitting the frame of application data by the wireless transmitting module exceeds a set frequency.
6. The system of claim 1, wherein,
the wired signal providing module is further configured to: after the wireless receiving module receives a frame of the application data, a corresponding response signal is sent to the host through the data line;
each slave further comprises a data processing module configured to: judging whether the received application data is processed retransmission data or not, if not, processing the received application data and waiting for next frame data; and if so, directly waiting for the host to send the next frame of application data.
7. A data transmission method is used for a master computer to transmit data to a plurality of slave computers, the master computer is a base of a building block system, the slave computers are building blocks of the building block system, when software upgrading and game content updating are carried out on the building blocks, the building blocks are placed on the base to realize connection of data lines, the base sends data to be updated to the building blocks in a wireless mode, wherein the master computer and the slave computers are in communication connection through the data lines and the wireless mode respectively and simultaneously, and the data transmission method comprises the following steps:
the master machine broadcasts and sends a frame of application data to the plurality of slave machines in a wireless mode;
and the host receives response signals of the plurality of slave machines responding to the frame application data by using the data line, and sends the next frame application data in a wireless mode after determining that the response signals returned by all the plurality of slave machines are correct.
8. The method of claim 7, wherein before the master starts broadcasting a frame of application data to the plurality of slaves, further comprising:
acquiring a trigger signal for starting data communication;
and reading corresponding application data according to the trigger signal, and clearing the response signal and the communication timeout identifier in the buffer area to initialize before communication.
9. The method of claim 7, wherein after determining that the response signals returned by all of the plurality of slaves are correct, the method further comprises:
judging whether the frame of application data is the last frame;
if not, clearing the response signal and the communication overtime mark in the buffer area, and executing the step of sending the next frame of application data in the wireless mode;
if yes, the data communication process is completed.
10. The method of claim 7, wherein,
after the step of broadcasting and transmitting a frame of application data to the plurality of slaves simultaneously by the master in the wireless manner, the method further comprises: if the host does not receive the correct response signals returned by all the multiple slaves within the preset response time, the frame of application data is retransmitted until the host receives the correct response signals returned by all the multiple slaves or the communication failure is determined, wherein the step of determining the communication failure comprises the following steps: the number of times that the host resends the frame of application data exceeds the set number of times; or the host continuously does not receive correct response signals returned by all the slave machines within a preset timeout time, wherein the timeout time is longer than the response time; and is
After receiving a frame of the application data, each slave sends a corresponding response signal to the master through the data line; judging whether the received application data is processed retransmission data or not, if not, processing the received application data and waiting for next frame data; and if so, directly waiting for the host to send the next frame of application data.
CN201610728297.2A 2016-08-25 2016-08-25 Data transmission system and method Active CN106330408B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610728297.2A CN106330408B (en) 2016-08-25 2016-08-25 Data transmission system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610728297.2A CN106330408B (en) 2016-08-25 2016-08-25 Data transmission system and method

Publications (2)

Publication Number Publication Date
CN106330408A CN106330408A (en) 2017-01-11
CN106330408B true CN106330408B (en) 2020-03-27

Family

ID=57791696

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610728297.2A Active CN106330408B (en) 2016-08-25 2016-08-25 Data transmission system and method

Country Status (1)

Country Link
CN (1) CN106330408B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108616292B (en) * 2018-08-01 2023-09-15 珠海格力电器股份有限公司 Communication circuit, communication method thereof, controller and electric equipment
CN109015656A (en) * 2018-09-07 2018-12-18 东南大学 Communication of Muti-robot System system based on 2.4G radio frequency chip
CN109905197A (en) * 2019-01-31 2019-06-18 江苏金智科技股份有限公司 A kind of wireless anti-interference method and fault detector retransmitted based on random number
CN109728606A (en) * 2019-03-07 2019-05-07 苏州科技大学 A kind of minitype gas dynamotor based on wireless communication and machine operation method
CN109951195B (en) * 2019-03-21 2023-11-03 深圳市橙子数字科技有限公司 Electronic equipment, signal modulation transmission device and signal modulation transmission circuit thereof
CN113746647B (en) * 2020-05-27 2023-12-19 中国联合网络通信集团有限公司 Data transmission method, node, electronic device and readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101026478A (en) * 2007-02-02 2007-08-29 华为技术有限公司 Network device internal node reliable multicast method, system and device
CN101141406A (en) * 2007-10-17 2008-03-12 杭州华三通信技术有限公司 Distributed flow control method, system and device
CN101282203A (en) * 2007-12-07 2008-10-08 华中科技大学 Switch type multicast transmission method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101820586B (en) * 2010-02-26 2012-10-10 清华大学 Method for reliable broadcasting in wireless local area network
CN102572716A (en) * 2012-02-15 2012-07-11 杭州华三通信技术有限公司 Method and device for discovering adjacent access point (AP)
CN103581139A (en) * 2012-08-03 2014-02-12 王当当 Encrypted wireless communication protocol
CN103685248A (en) * 2013-12-02 2014-03-26 许继电气股份有限公司 Process layer tri-play message transport real-time scheduling method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101026478A (en) * 2007-02-02 2007-08-29 华为技术有限公司 Network device internal node reliable multicast method, system and device
CN101141406A (en) * 2007-10-17 2008-03-12 杭州华三通信技术有限公司 Distributed flow control method, system and device
CN101282203A (en) * 2007-12-07 2008-10-08 华中科技大学 Switch type multicast transmission method

Also Published As

Publication number Publication date
CN106330408A (en) 2017-01-11

Similar Documents

Publication Publication Date Title
CN106330408B (en) Data transmission system and method
CN110381599B (en) Sidelink transmission method and terminal
CN110380828B (en) Sidelink operation method and terminal
US9860772B2 (en) Method and apparatus for determining connection relationship between an antenna feeding port of base station and an antenna port
CN111435844B (en) Method, device, equipment and system for correcting audio data in dual-wireless Bluetooth communication
CN110769516B (en) Random access method and related equipment
CN111435901A (en) Hybrid automatic repeat request acknowledgement feedback method, terminal and network equipment
US11374690B2 (en) Information processing apparatus, communication system, information processing method and program
US20220014343A1 (en) Indication method, terminal device, and network-side device
CN113114430B (en) Method for determining receiving state of data frame and communication device
CN111565089A (en) Electronic device, wireless communication method, and computer-readable medium
CN110167169B (en) Data transmission method and related device
JP2004015136A5 (en)
CN106851198A (en) Web camera operation method and web camera
US10986683B1 (en) Data communication method and system, electronic device, chip and storage medium
CN111436026A (en) Configuration method and terminal for multicast communication of secondary link
US20220360411A1 (en) Communication control device and method, wireless communication device and method, and wireless communication terminal
TW202029820A (en) Communication device and communication method
CN110769518B (en) Random access method, terminal equipment and network equipment
CN116679951A (en) Unreliable channel multi-device data synchronous upgrading method, device, equipment and medium
KR20180004714A (en) Transmission control apparatus, transmission control method, reception control apparatus, and reception control method
CN114071755A (en) Communication method, device and system
CN114501412B (en) Bluetooth protocol data packet loss compensation method based on double-ear connection
WO2022022349A1 (en) Communication method, apparatus and system
CN113556781A (en) Data receiving method, information configuration method, terminal and network equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant