Multi-communication equipment data sharing method and communication equipment
By using hierarchical networking and parallel synchronous transmission methods in data sharing of multi-communication equipment, the problem of network bandwidth overload is solved, and the smoothness of data transmission and user experience is improved.
Patent Information
- Application Number
- CN202510564845.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-30
- Publication Date
- 2025-07-22
AI Technical Summary
In the data sharing scenario of multi-communication equipment, if there are many shared communication devices, network bandwidth overload is likely to occur, resulting in data transmission delays and lags, affecting the user experience.
By establishing a first communication network between multiple communication devices (such as WIFI network), the transmission delay is calculated during data transmission, and a second communication network (such as Bluetooth, Zigbee or Lora network) is established when the preset delay is exceeded, the data packets are split into multiple split packets, and the parallel synchronization transmission is carried out through different networks.
Effectively avoid network transmission overload, prevent delays and lags, and improve user experience.
Smart Images

Figure CN120358544A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data sharing, and particularly to a method for data sharing among multiple communication devices and a communication device. Background Art
[0002] In the scenario of data sharing among multiple communication devices, if there are many communication devices joining the sharing, it is easy to cause network bandwidth overload, resulting in data transmission delays, lags and other situations, affecting the user experience. Therefore, there is an urgent need for a data sharing method that can avoid network transmission overload when multiple communication devices concurrently transmit data. Summary of the Invention
[0003] The purpose of the present invention is to provide a method for data sharing among multiple communication devices and a communication device, which can avoid network transmission overload when multiple communication devices concurrently transmit data, and further avoid causing bad usage experiences such as delays and lags.
[0004] The technical solution provided by the present invention is as follows:
[0005] In a first aspect, the present application provides a method for data sharing among multiple communication devices, including the steps of:
[0006] Establish a first communication network among multiple communication devices;
[0007] When a certain communication device initiates data sharing, perform data transmission through the first communication network, and receive first feedback signals sent by other communication devices when transmitting communication data packets of a preset data stream;
[0008] Calculate the transmission delay of the duration when the first feedback signal is received compared to the preset transmission duration, and when the transmission delay exceeds a first preset delay, establish at least one second communication network among multiple communication devices;
[0009] Split the communication data packet into at least two data split packets according to the degree that the transmission delay exceeds the first preset delay, and respectively correspond to the first communication network and at least one of the second communication networks;
[0010] Perform parallel synchronous transmission of data on the corresponding data split packets through the first communication network and at least one of the second communication networks.
[0011] When data is shared among multiple communication devices in this solution, data is first transmitted through the first communication network, and the transmission delay is calculated at all times when transmitting communication data packets of a preset data stream. When the transmission delay exceeds the first preset delay, at least one second communication network is established among the multiple communication devices. The communication data packets are split according to the degree to which the transmission delay exceeds the first preset delay, and the corresponding data split packets are synchronously transmitted in parallel through the first communication network and at least one second communication network, thus avoiding network transmission overload and preventing poor usage experiences such as delays and lags.
[0012] In some embodiments, after receiving the first feedback signal sent by other communication devices when transmitting communication data packets of a preset data stream, and before establishing at least one second communication network among the multiple communication devices, it further includes:
[0013] When the transmission delay exceeds the second preset delay, the communication device that initiates data sharing sends a second wireless communication request to other communication devices, and a second communication connection is established among all communication devices after the communication device that initiates data sharing receives the confirmation signal from other communication devices. The second preset delay is less than the first preset delay.
[0014] In some embodiments, before establishing the first communication network among the multiple communication devices, it further includes:
[0015] A first wireless communication request is sent from any communication device to other communication devices, and a first communication connection is established among all communication devices after this communication device receives the confirmation signal from other communication devices.
[0016] In some embodiments, after synchronously transmitting the corresponding data split packets in parallel through the first communication network and at least one of the second communication networks, it further includes:
[0017] The communication device that receives data sharing merges the data split packets and determines whether the merged data packet is complete;
[0018] If the determination is yes, a second feedback signal is sent to the communication device that initiates data sharing; if the determination is no, a re-sharing request signal is sent to the communication device that initiates data sharing until the verification is completed or the sharing ends.
[0019] In some embodiments, splitting the communication data packets into at least two data split packets according to the degree to which the transmission delay exceeds the first preset delay includes:
[0020] Determine the selected second communication network according to the degree to which the transmission delay exceeds the first preset delay and the data transmission capabilities of the first communication network and each of the second communication networks, and split the communication data packet into data split packets so that the first communication network and the second communication network can perform synchronous transmission of the data split packets.
[0021] In some embodiments, the first communication network is a WIFI network.
[0022] In some embodiments, the second communication network is any one or more of a Bluetooth network, a zigbee network, or a lora network.
[0023] In a second aspect, the present application provides a communication device, including:
[0024] A first communication module for establishing a first communication network between the communication device and other communication devices;
[0025] At least one second communication module for establishing at least one second communication network between the communication device and other communication devices;
[0026] A processor for, when the communication device initiates data sharing, performing data transmission through the first communication network, receiving a first feedback signal sent by other communication devices when transmitting communication data packets of a preset data stream, calculating the transmission delay of the first feedback signal compared to a preset transmission duration, and when the transmission delay exceeds the first preset delay, establishing the second communication network between the communication device and other communication devices, splitting the communication data packet into at least two data split packets according to the degree to which the transmission delay exceeds the first preset delay, and corresponding to the first communication network and at least one of the second communication networks respectively, and performing parallel synchronous transmission of the corresponding data split packets through the first communication network and at least one of the second communication networks;
[0027] The processor is further configured to, when receiving a data sharing request initiated by other communication devices, receive data through the first communication network, send a first feedback signal to the communication device that initiates data sharing when receiving communication data packets of a preset data stream, and when the communication device that initiates data sharing sends a request to establish the second communication network, establish at least one of the second communication networks with the communication device that initiates data sharing, and receive data through the first communication network and at least one of the second communication networks.
[0028] In some embodiments, the processor is further configured to, when the transmission delay exceeds a second preset delay, send a second wireless communication request to other communication devices, and establish a second communication connection with other communication devices after receiving an acknowledgment signal from other communication devices, so as to form the second communication network. The second preset delay is less than the first preset delay.
[0029] In some embodiments, the first communication network is a WIFI network; the second communication network is any one or more of a Bluetooth network, a zigbee network, or a lora network.
[0030] According to a method for data sharing among multiple communication devices and a communication device provided by the present invention, when data is shared among multiple communication devices, data is first transmitted through a first communication network, and the transmission delay when transmitting communication data packets for each preset data stream is calculated at all times. When the transmission delay exceeds the first preset delay, at least one second communication network is established among multiple communication devices. The communication data packets are split according to the degree to which the transmission delay exceeds the first preset delay, and the corresponding data split packets are synchronously transmitted in parallel through the first communication network and at least one second communication network, which can avoid the situation of network transmission overload, and further avoid causing poor usage experiences such as delay and lag. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] The following will further illustrate the above characteristics, technical features, advantages and their implementation manners of the present solution in a clear and understandable manner in conjunction with the drawings of the preferred embodiments.
[0032] Figure 1 It is a schematic diagram of the overall process of an embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0033] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the specific embodiments of the present invention will be described below with reference to the accompanying drawings. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on these drawings, and other embodiments can also be obtained.
[0034] For the sake of simplicity of the drawings, only the parts related to the present invention are schematically shown in each drawing, and they do not represent the actual structure of the product. In addition, for the sake of simplicity and easy understanding of the drawings, in some drawings, components with the same structure or function are only schematically shown as one of them, or only one of them is marked. In this article, "one" not only means "only this one", but also means "more than one" situation.
[0035] In the scenario of multi-communication device data sharing, if there are a large number of communication devices participating in the sharing, it is easy to cause network bandwidth overload, resulting in data transmission delays, lags, etc., which affect the user experience. Therefore, there is an urgent need for a data sharing method that can avoid network transmission overload when multi-communication device data is transmitted concurrently. This solution adopts hierarchical processing. During normal data sharing, a conventional communication networking method is selected, such as WIFI networking for data transmission, and the transmission delay of data transmission is calculated at all times. When the transmission delay exceeds the first preset delay, it is determined that the network transmission is overloaded. At this time, other communication networking methods can be added, such as Bluetooth networking for parallel synchronous transmission, so as to avoid delays, lags, etc., and affect the user experience. The following will describe this solution in detail with reference to the accompanying drawings:
[0036] In one embodiment, referring to the attached drawings of the specification Figure 1 , this application provides a multi-communication device data sharing method, including the steps of:
[0037] S100. Establish a first communication network among multiple communication devices.
[0038] The first communication network is a conventional and commonly used networking method, with fast and convenient data output. In a specific example, the first communication network is WIFI networking, and each communication device is provided with a WIFI module for forming a WIFI network. In other embodiments, other networking methods can also be selected as the first communication network, and this application does not make any restrictions.
[0039] S200. When a certain communication device initiates data sharing, perform data transmission using the first communication network, and receive a first feedback signal sent by other communication devices when transmitting communication data packets of a preset data stream.
[0040] This application does not limit the specific value of the preset data stream. For example, every 10 KB of data is used as a communication data packet. When sharing data, in order to calculate the transmission delay, when other communication devices receive the communication data packets of the preset data stream, they can send a first feedback signal to the communication device that initiates the data sharing. The communication device that initiates the data sharing receives the first feedback signal and can judge the delay time according to the duration when the first feedback signal is received. The feedback signal can be an ACK signal (Acknowledgment Signal), or a NACK signal. The ACK signal (Acknowledgment Signal) is a signal used to confirm the data reception status in a communication system. It is sent by the receiver to the sender to inform the sender that it has successfully received and processed the data sent by the sender. The ACK signal is one of the key mechanisms to ensure reliable data transmission and is widely used in various communication protocols and networks. And whether the received is the first feedback signal or the second feedback signal, the transmission delay can be calculated.
[0041] S300. Calculate the transmission delay of the duration when the first feedback signal is received compared with the preset transmission duration, and when the transmission delay exceeds the first preset delay, establish at least one second communication network among multiple communication devices.
[0042] This application does not limit the specific time of the first preset delay, which can be adjusted according to the accuracy requirements. For example, in a specific implementation, the first preset delay is 500 ms. By calculating the transmission delay of the duration when the first feedback signal is received compared with the preset transmission duration, the network congestion degree can be judged. When the transmission delay exceeds the first preset delay, it is judged that the network is congested, and at least one second communication network among multiple communication devices can be established. The second communication network can be any one or several of Bluetooth network, zigbee network or lora network, which is not limited in this application.
[0043] S400. Split the communication data packet into at least two data split packets according to the degree that the transmission delay exceeds the first preset delay, and correspond them to the first communication network and at least one second communication network respectively.
[0044] When using multiple communication networks for data transmission, in order to ensure the synchronization of data transmission, the communication data packet can be split into at least two data split packets according to the degree that the transmission delay exceeds the first preset delay, and correspond them to the first communication network and at least one second communication network respectively. For example, in a specific implementation, the Bluetooth network is used as the second communication network, and the 10 KB communication data packet is split into an 8 KB data split packet and a 2 KB data split packet, and the data is synchronously transmitted by the WIFI network and the Bluetooth network respectively.
[0045] S500 performs parallel synchronous transmission of data on the corresponding data split packets through the first communication network and at least one second communication network respectively.
[0046] When multiple communication devices share data, this solution first transmits data through the first communication network, and constantly calculates the transmission delay when transmitting communication data packets of a preset data stream. When the transmission delay exceeds the first preset delay, at least one second communication network is established between multiple communication devices. The communication data packets are split according to the degree that the transmission delay exceeds the first preset delay, and the corresponding data split packets are respectively subjected to parallel synchronous transmission of data through the first communication network and at least one second communication network, thereby avoiding the situation of network transmission overload and avoiding poor usage experiences such as delay and lag.
[0047] In one embodiment, based on the foregoing embodiment, after receiving the first feedback signal sent by other communication devices when transmitting communication data packets of a preset data stream and before establishing at least one second communication network between multiple communication devices, it further includes:
[0048] When the transmission delay exceeds the second preset delay, the communication device that initiates data sharing sends a second wireless communication request to other communication devices, and a second communication connection is established between each communication device after the communication device that initiates data sharing receives the confirmation signal from other communication devices. The second preset delay is less than the first preset delay.
[0049] For the power saving of communication devices, and usually a single first communication network can complete data sharing, so the first communication connections between each communication device can be established first. And to ensure the smoothness of data transmission and avoid spending extra time establishing a second communication network when the network is congested, this application can set another second preset delay. The second preset delay is less than the first preset delay. When the transmission delay exceeds the second preset delay, the communication device that initiates data sharing sends a second wireless communication request to other communication devices, and a second communication connection is established between each communication device after the communication device that initiates data sharing receives the confirmation signal from other communication devices, so that when the transmission delay exceeds the first preset delay, at least one second communication network can be quickly established between multiple communication devices.
[0050] In one embodiment, based on the foregoing embodiment, before establishing the first communication network between multiple communication devices, it further includes:
[0051] A first wireless communication request is sent from any communication device to other communication devices, and a first communication connection is established between each communication device after this communication device receives the confirmation signal from other communication devices.
[0052] When establishing a first communication network among multiple communication devices, any communication device can send a first wireless communication request to other communication devices, without restricting that it must be the communication device that initiates data sharing. This decentralizes the network, eliminating the need to distinguish between master and slave devices, and each communication device node can independently send and receive data.
[0053] In one embodiment, based on the foregoing embodiment, after parallel synchronous transmission of data for the corresponding data split packets through the first communication network and at least one second communication network respectively, the following is further included:
[0054] The communication device that receives data sharing merges the data split packets and determines whether the merged data packet is complete; if the determination is yes, a second feedback signal is sent to the communication device that initiates data sharing; if the determination is no, a re-sharing request signal is sent to the communication device that initiates data sharing until the verification is completed or the sharing ends.
[0055] Since data sharing is performed through multiple communication networks in parallel and concurrently under network congestion, after the communication device that receives data sharing receives each data split packet, it needs to first merge the data split packets and determine whether the merged data packet is complete. If it is complete, a second feedback signal is sent to the communication device that initiates data sharing to continue data transmission or complete data transmission. If it is determined that the merged data packet is incomplete, a re-sharing request signal needs to be sent to the communication device that initiates data sharing until the verification is completed or the sharing ends.
[0056] In one embodiment, based on the foregoing embodiment, splitting a communication data packet into at least two data split packets according to the degree to which the transmission delay exceeds a first preset delay includes:
[0057] Determining the selected second communication network according to the degree to which the transmission delay exceeds the first preset delay and the data transmission capabilities of the first communication network and each second communication network, and splitting the communication data packet into data split packets so that the first communication network and the second communication network can perform synchronous transmission of the data split packets.
[0058] In one embodiment, the present application provides a communication device, including: a first communication module, a processor, and at least one second communication module.
[0059] The first communication module is used to establish a first communication network between the communication device and other communication devices; at least one second communication module is used to establish at least one second communication network between the communication device and other communication devices.
[0060] When the communication device initiates data sharing, the processor is used to transmit data through the first communication network, and receive the first feedback signal sent by other communication devices when transmitting communication data packets of a preset data stream, calculate the transmission delay of the first feedback signal compared with the preset transmission duration, and when the transmission delay exceeds the first preset delay, establish a second communication network between the communication device and other communication devices, split the communication data packets into at least two data split packets according to the degree that the transmission delay exceeds the first preset delay, and respectively correspond to the first communication network and at least one second communication network, and perform parallel synchronous transmission of the corresponding data split packets through the first communication network and at least one second communication network.
[0061] The processor is further used to receive data through the first communication network when receiving a data sharing request initiated by other communication devices, send a first feedback signal to the communication device that initiates data sharing when receiving communication data packets of a preset data stream, establish at least one second communication network with the communication device that initiates data sharing when the communication device that initiates data sharing sends a request to establish a second communication network, and receive data through the first communication network and at least one second communication network.
[0062] The processor may be a central processing unit (CPU), or may also be other general-purpose processors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc., and the present application does not make any restrictions.
[0063] In one embodiment, on the basis of the foregoing embodiment, the processor is further used to send a second wireless communication request to other communication devices when the transmission delay exceeds the second preset delay, and establish a second communication connection with other communication devices after receiving the confirmation signal from other communication devices to form a second communication network, and the second preset delay is less than the first preset delay.
[0064] In one embodiment, on the basis of the foregoing embodiment, the first communication network is a WIFI network; the second communication network is any one or several of a Bluetooth network, a zigbee network, or a lora network.
[0065] It should be noted that the above embodiments can be freely combined as needed. The above are only the preferred embodiments of the present invention. It should be pointed out that for those of ordinary skill in the art, without departing from the principle of the present invention, several improvements and modifications can be made, and these improvements and modifications should also be regarded as the protection scope of the present invention.
Claims
1. A method for data sharing among multiple communication devices, characterized in that, Including the steps: Establish a first communication network among multiple communication devices; When a certain communication device initiates data sharing, perform data transmission through the first communication network, and receive a first feedback signal sent by other communication devices when transmitting communication data packets of a preset data stream each time; Calculate the transmission delay of the duration when the first feedback signal is received compared to the preset transmission duration, and when the transmission delay exceeds the first preset delay, establish at least one second communication network among multiple communication devices; Split the communication data packet into at least two data split packets according to the degree that the transmission delay exceeds the first preset delay, and correspond to the first communication network and at least one of the second communication networks respectively; Perform parallel synchronous transmission of data on the corresponding data split packets through the first communication network and at least one of the second communication networks respectively.
2. The data sharing method according to claim 1, wherein After receiving the first feedback signal sent by other communication devices when transmitting communication data packets of a preset data stream each time and before establishing at least one second communication network among multiple communication devices, it further includes: When the transmission delay exceeds the second preset delay, send a second wireless communication request from the communication device that initiates data sharing to other communication devices, and establish a second communication connection among each communication device after the communication device that initiates data sharing receives the confirmation signal from other communication devices, and the second preset delay is less than the first preset delay.
3. The data sharing method according to claim 1, wherein Before establishing the first communication network among multiple communication devices, it further includes: Send a first wireless communication request from any communication device to other communication devices, and establish a first communication connection among each communication device after this communication device receives the confirmation signal from other communication devices.
4. The data sharing method according to claim 1, wherein After performing parallel synchronous transmission of data on the corresponding data split packets through the first communication network and at least one of the second communication networks respectively, it further includes: Merge the data split packets through the communication device that accepts data sharing, and determine whether the merged data packet is complete; If the judgment is yes, send a second feedback signal to the communication device that initiates data sharing; if the judgment is no, send a re-sharing request signal to the communication device that initiates data sharing until the verification is completed or the sharing ends.
5. The data sharing method according to claim 1, characterized in that The splitting of the communication data packet into at least two data split packets according to the degree that the transmission delay exceeds the first preset delay includes: Determine the selected second communication network according to the degree that the transmission delay exceeds the first preset delay and the data transmission capabilities of the first communication network and each of the second communication networks, and split the communication data packet into the data split packets so that the first communication network and the second communication network can perform synchronous transmission of the data split packets.
6. The data sharing method according to claim 1, wherein The first communication network is a WIFI network.
7. The data sharing method according to claim 1, wherein The second communication network is any one or several of a Bluetooth network, a zigbee network, or a lora network.
8. A communication device, characterized in that, Including: A first communication module for establishing a first communication network between the communication device and other communication devices; At least one second communication module, configured to establish at least one second communication network between the communication device and other communication devices; A processor, configured to, when the communication device initiates data sharing, perform data transmission via the first communication network, and receive a first feedback signal sent by other communication devices when transmitting communication data packets of a preset data stream each time, calculate a transmission delay of the duration when the first feedback signal is received compared to a preset transmission duration, and when the transmission delay exceeds a first preset delay, establish the second communication network between the communication device and other communication devices, split the communication data packets into at least two data split packets according to the degree that the transmission delay exceeds the first preset delay, and respectively correspond to the first communication network and at least one of the second communication networks, and perform parallel synchronous transmission of the corresponding data split packets via the first communication network and at least one of the second communication networks; The processor is further configured to, when receiving a data sharing request initiated by other communication devices, perform data reception via the first communication network, and send a first feedback signal to the communication device that initiates data sharing when receiving communication data packets of a preset data stream each time, and when the communication device that initiates data sharing sends a request to establish the second communication network, establish at least one of the second communication networks with the communication device that initiates data sharing, and perform data reception via the first communication network and at least one of the second communication networks.
9. The communication device according to claim 8, characterized in that, The processor is further configured to, when the transmission delay exceeds a second preset delay, send a second wireless communication request to other communication devices, and establish a second communication connection with other communication devices after receiving an acknowledgment signal from other communication devices to form the second communication network, where the second preset delay is less than the first preset delay.
10. The communication device according to claim 8, characterized in that, The first communication network is a WIFI network; the second communication network is any one or several of a Bluetooth network, a zigbee network, or a lora network.