CN115942391A - Symmetric link data transmission method and device, electronic equipment and readable storage medium - Google Patents

Symmetric link data transmission method and device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN115942391A
CN115942391A CN202211715451.4A CN202211715451A CN115942391A CN 115942391 A CN115942391 A CN 115942391A CN 202211715451 A CN202211715451 A CN 202211715451A CN 115942391 A CN115942391 A CN 115942391A
Authority
CN
China
Prior art keywords
communication
link
target
communication device
data
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.)
Pending
Application number
CN202211715451.4A
Other languages
Chinese (zh)
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.)
Shenzhen Skyworth Digital Technology Co Ltd
Original Assignee
Shenzhen Skyworth Digital 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 Shenzhen Skyworth Digital Technology Co Ltd filed Critical Shenzhen Skyworth Digital Technology Co Ltd
Priority to CN202211715451.4A priority Critical patent/CN115942391A/en
Publication of CN115942391A publication Critical patent/CN115942391A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The application discloses a symmetric link data transmission method, a device, electronic equipment and a readable storage medium, which are applied to target communication equipment of a wireless ad hoc network, wherein the symmetric link data transmission method comprises the following steps: acquiring data to be transmitted, which is transmitted by first communication equipment through a first communication link, wherein the first communication link is a communication link between the target communication equipment and the first communication equipment; according to the link identification of the first communication link, matching a second communication link for the data to be transmitted, wherein the second communication link is a communication link between the target communication equipment and second communication equipment; and transmitting the data to be transmitted to the second communication equipment through the second communication link. The method and the device solve the technical problem of poor data transmission accuracy in the link communication process.

Description

Symmetric link data transmission method and device, electronic equipment and readable storage medium
Technical Field
The present application relates to the field of wireless communications technologies, and in particular, to a symmetric link data transmission method and apparatus, an electronic device, and a readable storage medium.
Background
With the continuous development of wireless communication technology, a wireless ad hoc network is widely applied in many fields by virtue of the characteristics of maintenance-free property, strong self-healing property, no center and the like, and as to any communication device of the wireless ad hoc network, the wireless ad hoc network can be used as a data sending end and a data receiving end, at present, when the communication device transmits communication data to a superior device or an under-hanging device, one communication link is usually selected for transmitting the communication data, but because a plurality of communication links exist between the communication device and the superior device of the communication device and between the communication device and the under-hanging device of the communication device, the communication device is easy to normally receive the communication data transmitted by the superior device of the communication device, and the communication data is lost when the communication data is transmitted to the under-hanging device of the communication device through one communication link between the communication device and the under-hanging device of the communication device, so that the data transmission accuracy in the current link communication process is low.
Disclosure of Invention
The present application mainly aims to provide a symmetric link data transmission method, an apparatus, an electronic device, and a readable storage medium, and aims to solve the technical problem in the prior art that data transmission accuracy is poor in a link communication process.
In order to achieve the above object, the present application provides a symmetric link data transmission method, which is applied to a target communication device of a wireless ad hoc network, and the symmetric link data transmission method includes:
acquiring data to be transmitted, which is transmitted by first communication equipment through a first communication link, wherein the first communication link is a communication link between the target communication equipment and the first communication equipment;
matching a target communication link corresponding to the first communication link for the data to be transmitted, wherein the link bandwidths between the target communication link and the first communication link are the same;
and transmitting the data to be transmitted to second communication equipment through the target communication link.
Optionally, the step of matching the target communication link corresponding to the first communication link for the data to be transmitted includes:
determining second communication equipment corresponding to the target communication equipment according to networking information of the wireless ad hoc network;
determining a second communication link between the target communication device and the second communication device;
and matching the first link identification of the first communication link with the second link identification of the second communication link to obtain the target communication link.
Optionally, the step of determining, according to the networking information of the wireless ad hoc network, a second communication device corresponding to the target communication device includes:
inquiring candidate communication equipment for transmitting the data to be transmitted together with the target communication equipment according to networking information of the wireless ad hoc network, wherein the candidate communication equipment comprises first candidate communication equipment and second candidate communication equipment;
if the candidate communication device is the first candidate communication device, taking the first candidate communication device as the second communication device;
and if the candidate communication equipment is the second candidate communication equipment, determining the second communication equipment according to the corresponding relation between the data to be transmitted and the second candidate communication equipment.
Optionally, the step of determining a second communication link between the target communication device and the second communication device includes:
taking an initial communication link between the target communication device and the second communication device as the second communication link; or the like, or, alternatively,
and taking an initial communication link between the target communication device and the second communication device and a standby communication link corresponding to the target communication device as the second communication link together.
Optionally, before the step of obtaining the data to be transmitted, which is transmitted by the first communication device through the first communication link, the symmetric link data transmission method further includes:
if receiving a standby networking request of the wireless ad hoc network, acquiring at least one networking communication device of a target communication device;
and establishing standby communication links between the target communication equipment and each networking communication equipment respectively.
Optionally, the backup communication link includes a backup wireless link and a backup wired link, and the step of establishing the backup communication link between the target communication device and each of the networking communication devices respectively includes:
establishing the standby wireless link for the target communication equipment and each networking communication equipment respectively; and/or
And establishing the standby wired link for the target communication equipment and each networking communication equipment respectively.
Optionally, the target communication link includes a target wireless link and a target wired link, and the step of transmitting the data to be transmitted to the second communication device through the target communication link includes:
transmitting the data to be transmitted to the second communication device through the target wireless link; or the like, or, alternatively,
and transmitting the data to be transmitted to the second communication device through the target wired link.
In order to achieve the above object, the present application further provides a symmetric link data transmission apparatus applied to a target communication device of a wireless ad hoc network, the symmetric link data transmission apparatus including:
the device comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring data to be transmitted, which is transmitted by first communication equipment through a first communication link, and the first communication link is a communication link between the target communication equipment and the first communication equipment;
the matching module is used for matching a target communication link corresponding to the first communication link for the data to be transmitted, wherein the link bandwidths between the target communication link and the first communication link are the same;
and the transmission module is used for transmitting the data to be transmitted to second communication equipment through the target communication link.
Optionally, the matching module is further configured to:
determining second communication equipment corresponding to the target communication equipment according to networking information of the wireless ad hoc network;
determining a second communication link between the target communication device and the second communication device;
and matching the first link identification of the first communication link with the second link identification of the second communication link to obtain the target communication link.
Optionally, the matching module is further configured to:
inquiring candidate communication equipment for transmitting the data to be transmitted together with the target communication equipment according to networking information of the wireless ad hoc network, wherein the candidate communication equipment comprises first candidate communication equipment and second candidate communication equipment;
if the candidate communication device is the first candidate communication device, taking the first candidate communication device as the second communication device;
and if the candidate communication equipment is the second candidate communication equipment, determining the second communication equipment according to the corresponding relation between the data to be transmitted and the second candidate communication equipment.
Optionally, the matching module is further configured to:
taking an initial communication link between the target communication device and the second communication device as the second communication link; or the like, or a combination thereof,
and taking an initial communication link between the target communication device and the second communication device and a standby communication link corresponding to the target communication device as the second communication link together.
Optionally, the symmetric link data transmission apparatus is further configured to:
if receiving a standby networking request of the wireless ad hoc network, acquiring at least one networking communication device of a target communication device;
and establishing standby communication links between the target communication equipment and each networking communication equipment respectively.
Optionally, the backup communication link includes a backup wireless link and a backup wired link, and the symmetric link data transmission apparatus is further configured to:
establishing the standby wireless link for the target communication equipment and each networking communication equipment respectively; and/or
And establishing the standby wired link for the target communication equipment and each networking communication equipment respectively.
Optionally, the target communication link includes a target wireless link and a target wired link, and the transmission module is further configured to:
transmitting the data to be transmitted to the second communication device through the target wireless link; or the like, or a combination thereof,
and transmitting the data to be transmitted to the second communication device through the target wired link.
The present application further provides an electronic device, the electronic device including: a memory, a processor and a program of the symmetric link data transmission method stored on the memory and executable on the processor, the program of the symmetric link data transmission method when executed by the processor implementing the steps of the symmetric link data transmission method as described above.
The present application also provides a computer-readable storage medium having stored thereon a program for implementing a symmetric link data transmission method, which when executed by a processor implements the steps of the symmetric link data transmission method as described above.
The present application also provides a computer program product comprising a computer program which, when executed by a processor, performs the steps of the symmetric link data transmission method as described above.
The application provides a symmetric link data transmission method, a symmetric link data transmission device, electronic equipment and a readable storage medium, which are applied to target communication equipment of a wireless ad hoc network, namely, data to be transmitted by first communication equipment through a first communication link is acquired, wherein the first communication link is a communication link between the target communication equipment and the first communication equipment; matching a target communication link corresponding to the first communication link for the data to be transmitted, wherein the link bandwidths between the target communication link and the first communication link are the same; and transmitting the data to be transmitted to second communication equipment through the target communication link. Due to the fact that the link bandwidths between the target communication link and the first communication link are the same, when the target communication device obtains the data to be transmitted from the first communication device through the first communication link, the purpose of transmitting the data to be transmitted to the second communication link through the target communication link can be achieved. That is, the purpose of transmitting communication data from the upper level device of the communication device to the lower level device of the communication device through the communication link with the same link bandwidth is achieved. And when the communication device transmits the communication data, a communication link is arbitrarily selected to transmit the communication data from the upper-level device of the communication device to the lower-level device of the communication device through the communication device. Therefore, the technical defect that communication data are lost when the communication equipment normally receives communication data transmitted by the superior equipment of the communication equipment and transmits the communication data to the lower hanging equipment of the communication equipment through a certain communication link between the communication equipment and the lower hanging equipment of the communication equipment due to the fact that a plurality of communication links exist among the communication equipment, the superior equipment of the communication equipment and the lower hanging equipment of the communication equipment is overcome. Therefore, the data transmission accuracy in the link communication process is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and, together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art to obtain other drawings without inventive labor.
Fig. 1 is a schematic diagram of a multilink communication of a symmetric link data transmission method according to an embodiment of the present application;
fig. 2 is a schematic diagram of communication data transmission in a symmetric link data transmission method according to an embodiment of the present application;
fig. 3 is a schematic flowchart of a symmetric link data transmission method according to an embodiment of the present application;
fig. 4 is a schematic networking diagram of a wireless ad hoc network according to a symmetric link data transmission method in an embodiment of the present application;
fig. 5 is a schematic link diagram of a symmetric multilink of a wireless ad hoc network according to a symmetric link data transmission method in an embodiment of the present application;
fig. 6 is a schematic diagram of symmetric multilinks before and after a topology structure of a wireless ad hoc network changes according to a symmetric link data transmission method in an embodiment of the present application;
fig. 7 is a schematic flowchart of a symmetric link data transmission method according to a second embodiment of the present application;
fig. 8 is a schematic structural diagram of a symmetric link data transmission apparatus according to a third embodiment of the present application;
fig. 9 is a schematic structural diagram of an electronic device according to a fourth embodiment of the present application.
The objectives, features, and advantages of the present application will be further described with reference to the accompanying drawings.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in detail below. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be obtained by a person skilled in the art without inventive step based on the embodiments of the present invention, are within the scope of protection of the present invention.
Example one
First, it should be understood that, in the current wireless ad hoc network scheme, communication links between different communication devices usually transmit communication data by wire, or wirelessly transmit communication data by Wi-Fi 2.4G or Wi-Fi 5G/6G, but communication data cannot be transmitted by two communication links at the same time, and in this context, other application patents filed on the same day of this application have already elaborated networking methods of multi-link communication, specifically using techniques such as VLAN aggregation, super-VLAN, and Sub-VLAN, etc., to avoid technical defects such as communication loop generation or communication disturbance when implementing multi-link communication, so as to improve flexibility between different communication devices of the wireless ad hoc network, for example, referring to fig. 1, fig. 1 is a schematic diagram showing multi-link communication, and a subordinate slave device connects 2.4G and 5G of its superior device at the same time, at this time, if the subordinate slave device still maintains the wired connection and the bandwidth meets the requirement, the WiFi connection may be broken, and the wired connection may also be maintained, at present, during the multilink communication, the subordinate slave device usually transmits the communication data through one or more communication links between the superior device directly connected to the subordinate slave device and the subordinate device directly connected to the subordinate slave device, that is, during the transmission of the communication data, there are various options, for example, referring to fig. 2, fig. 2 is a schematic diagram showing the transmission of the communication data, where communication device a is the superior device of communication device B, communication device C is the subordinate device of communication device B, both communication device a and communication device B, and both communication device B and communication device C have a 2.4GHz band communication link and a 5GHz band communication link, assuming that communication device a needs to transmit the communication data to communication device C via communication device B, and the communication device B acquires the communication data through the 2.4GHz band communication link, then the communication data has a possibility of being transmitted to the communication device C through the 5GHz band communication link, and since the link bandwidths of the 2.4GHz band communication link and the 5GHz band communication link are different, loss of the communication data is likely to occur in the transmission process of the communication data, and further the received communication data is not complete communication data, so a method for improving data transmission accuracy in the link communication process is urgently needed at present.
In a first embodiment of the symmetric link data transmission method according to the present application, referring to fig. 3, the symmetric link data transmission method includes:
step S10, acquiring data to be transmitted, which is transmitted by first communication equipment through a first communication link, wherein the first communication link is a communication link between the target communication equipment and the first communication equipment;
step S20, matching a target communication link corresponding to the first communication link for the data to be transmitted, wherein the link bandwidths between the target communication link and the first communication link are the same;
and step S30, transmitting the data to be transmitted to second communication equipment through the target communication link.
In this embodiment, it should be noted that the communication link is used to characterize a physical channel between communication devices of the wireless ad hoc network, and may specifically be a unidirectional communication link or a bidirectional communication link, and after the wireless ad hoc network is successfully organized, a communication link exists between the communication devices of the wireless ad hoc network to implement transmission of communication data, where the wireless ad hoc network manages the communication devices of the entire network of the wireless ad hoc network through the master communication device, and specifically may be one communication device, and the other communication devices of the wireless ad hoc network except the master communication device are slave communication devices, that is, the slave communication devices are used to characterize the communication devices managed by the master communication device, and specifically may be one or more communication devices.
Additionally, it should be noted that after the wireless ad hoc network is successfully configured, the communication device may serve as a data sending end to send communication data to other communication devices of the wireless ad hoc network, and may also serve as a data receiving end to receive the communication device sent by other communication devices of the wireless ad hoc network, and may also serve as an intermediate transmission node to implement transmission of the communication data, where the first communication device is configured to represent a data sending end of data to be transmitted, specifically, an uplink communication device or a downlink communication device of the target communication device, and the second communication device is configured to represent a data receiving end of data to be transmitted, specifically, a downlink communication device or an uplink communication device of the target communication device, for example, referring to fig. 4, and fig. 4 are schematic diagrams illustrating a wireless ad hoc network, where the wireless ad hoc network is a two-hop ad hoc network, and it is assumed that the communication device 1 transmits communication data to the communication device 6 and the communication device 3 is the target communication device, an uplink communication device (the communication device 1) of the communication device 3 is the first communication device, and a downlink communication device (the communication device 6) of the communication device 3 is the second communication device.
Additionally, it should be noted that the first communication link is a communication link between the target communication device and the first communication device, where the first communication link specifically includes a wireless communication link and a wired communication link of different communication bands, and the communication band may specifically be 2.4GHz, 5GHz, and 6GHz, and in a networking process of a wireless ad hoc network, one or more communication links may be established between the communication devices of the wireless ad hoc network, and synchronization of communication data is guaranteed based on a configuration synchronization flow and a protocol specification of a wireless ad hoc network protocol, and after networking is completed, information is synchronously configured on a slave communication device by a master communication device of the wireless ad hoc network, where the configuration information may be a username and a password of the wireless ad hoc network, a selection of a communication channel, a maintenance parameter of network stability, and backhaul link information of different communication bands, and the backhaul link information specifically includes a password ssid (Service Set Identifier), a Service Set Identifier, an encryption manner of the backhaul link, and the like.
Additionally, it should be noted that after the wireless ad hoc networking is successful, the target communication device may serve as a communication medium for data transmission between the first communication device and the second communication device, so as to implement data interaction between the first communication device and the second communication device. For example, after the first communication device transmits the communication data to be transmitted back to the target communication device in a primary or multi-level manner, the target communication device transmits the communication data to the second communication device through the target communication link. Referring to fig. 5, fig. 5 is a schematic link diagram illustrating a symmetric multilink of a wireless ad hoc Network, where a communication device D is a first communication device, a communication device E is a target communication device, a communication device F is a second communication device, and a wireless communication link a, a wireless communication link b, and a wired communication link c are present between the communication device E and the communication device F, where the wireless communication link a and the wireless communication link b have different communication frequency bands, the wireless communication link a is configured as a sub-vlan2.1 (Virtual Local Area Network 2.1) by a master communication device of the wireless ad hoc Network, the wireless communication link b is configured as a sub-vlan2.2 by a master communication device of the wireless ad hoc Network, the wired communication link c is configured as a sub-vlan2.3 by a master communication device of the wireless ad hoc Network, link bandwidths of the same Virtual lan are the same, and sub-vlan2.1 between the communication device D and the communication device E and sub-vlan2.1 between the communication device E and the sub-vlan 2.2.1.
As an example, steps S10 to S30 include: the method comprises the steps of periodically receiving data to be transmitted, transmitted by first communication equipment through a first communication link, wherein the data to be transmitted is communication data waiting to be transmitted to second communication equipment; matching a target communication link with the same link bandwidth as the first communication link for the data to be transmitted; and transmitting the data to be transmitted to second communication equipment through the target communication link.
The step of matching the target communication link corresponding to the first communication link for the data to be transmitted includes:
step A10, determining a second communication device corresponding to the target communication device according to the networking information of the wireless ad hoc network;
step a20, determining a second communication link between the target communication device and the second communication device;
step a30, matching the first link identifier of the first communication link with the second link identifier of the second communication link to obtain the target communication link.
In this embodiment, it should be noted that, because the topology structure of the wireless ad hoc network is complex, there are multiple communication links between communication devices, and further, in the data transmission process, in order to ensure accuracy and efficiency of data transmission, targeted matching of a target communication link may be implemented based on existing information of the wireless ad hoc network.
Additionally, it should be noted that the networking information is used to characterize a networking situation between each communication device of the wireless ad hoc network, and may specifically be a periodically broadcasted networking message. The second communication device corresponding to the target communication device can be obtained through inquiry of the networking information, a communication link (second communication link) between the second communication device and the target communication device can be obtained, and finally the target communication link for transmitting the data to be transmitted can be obtained through the consistency pairing of the first communication link and the second communication link. The first link identifier and the second link identifier are used to represent link identifiers of different communication links, and the link identifiers are used to identify communication links between communication devices of the wireless ad hoc network, specifically, a local area network name or a local area network address.
As an example, steps a10 to a30 include: periodically receiving networking information of the wireless ad hoc network, and analyzing the networking information to obtain second communication equipment corresponding to the target communication equipment, wherein the second communication equipment is one or more specifically; taking at least one initial communication link between the target communication device and the second communication device as each second communication link, wherein the initial communication link is used for representing a communication link between the target communication device and the second communication device after the wireless ad hoc network is established and stabilized; and comparing the first link identification of the first communication link with the second link identification of each second communication link one by one, and taking the second communication link corresponding to the second link identification which is the same as the first link identification as the target communication link.
Wherein the step of determining a second communication link between the target communication device and the second communication device comprises:
step B10, regarding an initial communication link between the target communication device and the second communication device as the second communication link; or the like, or, alternatively,
and step B20, taking the initial communication link between the target communication device and the second communication device and the standby communication link corresponding to the target communication device as the second communication link.
In this embodiment, it should be noted that, in the symmetric multilink communication process, the topology of the wireless ad hoc network is in dynamic change. In order to ensure that each second communication link between the communication device and the second communication device can still be matched to the target communication link with the same link bandwidth as the first communication link after the dynamic change, the initial communication link and the candidate communication link can be used as the second communication link to increase the matching amount. For example, referring to fig. 6, fig. 6 is a schematic diagram illustrating a symmetrical multilink before and after a topology structure of the wireless ad hoc network changes, where the slave communication device 12 is a target communication device, the master communication device 11 is a higher-level device of the slave communication device 12, and the slave communication device 13 and the slave communication device 14 are drop-in devices of the slave communication device 12, where the communication link d, the communication link e, the communication link f, the communication link g, the communication link h, and the communication link i are initial communication links, and the communication link j, the communication link k, and the communication link l are standby communication links.
As an example, steps B10 to B20 include: taking an initial communication link between the target communication device and the second communication device as the second communication link; or the like, or, alternatively,
and acquiring alternative communication links between the target communication device and the first communication device in different networking modes of the target communication device and the second communication device, and taking an initial communication link and the alternative communication link between the target communication device and the second communication device as the second communication link together.
Before the step of obtaining the data to be transmitted, which is transmitted by the first communication device through the first communication link, the symmetric link data transmission method further includes:
step C10, if receiving the standby networking request of the wireless ad hoc network, acquiring at least one networking communication device of the target communication device;
and step C20, establishing standby communication links between the target communication equipment and each networking communication equipment respectively.
In this embodiment, it should be noted that a primary communication device of the wireless ad hoc network initiates a backup networking request, where the networking communication device is configured to characterize a communication device performing backup networking with the target communication device. In order to cope with the same-bandwidth data transmission requirements of the wireless ad hoc network under different topologies, standby communication links can be established for the target communication device and the networking communication device in a targeted manner.
As an example, steps C10 to C20 include: after the wireless ad hoc network is established and stabilized, if a standby networking request sent by the main communication equipment is received, at least one networking communication equipment of the target communication equipment is obtained; and establishing standby communication links between the target communication equipment and each networking communication equipment respectively.
Wherein the backup communication link includes a backup wireless link and a backup wired link, and the step of establishing the backup communication link between the target communication device and each of the networking communication devices respectively includes:
step D10, the standby wireless links are respectively established for the target communication equipment and each networking communication equipment; and/or
Step D20, establishing the standby wired link for the target communication device and each networking communication device, respectively.
In this embodiment, it should be noted that the backup communication link includes a backup wireless link and a backup wired link, and in order to ensure normal transmission of the multilink after the topology structure of the wireless ad hoc network is changed, the backup communication link may be established by establishing the wired communication link and the wireless communication link in different communication frequency bands, respectively.
As an example, steps D10 to D20 include: respectively establishing a 2.4GHz frequency band standby communication link for the target communication device and each networking communication device, and respectively establishing a 5GHz frequency band standby communication link for the target communication device and each networking communication device; and/or
And establishing the standby wired link for the target communication equipment and each networking communication equipment respectively.
Wherein the target communication link comprises a target wireless link and a target wired link, and the step of transmitting the data to be transmitted to the second communication device through the target communication link comprises:
step E10, transmitting the data to be transmitted to the second communication device through the target wireless link; or the like, or a combination thereof,
and E20, transmitting the data to be transmitted to the second communication equipment through the target wired link.
In this embodiment, it should be noted that when the target communication device transmits data to be transmitted to the second communication device, a target wireless link (target wireless communication link) or a target wired link (target wired communication link) may be adopted for targeted transmission according to an actual data transmission requirement, where the target wireless link may be a 2.4GHz band communication link or a 5GHz band communication link, and the like.
As an example, steps E10 to E20 include: transmitting the data to be transmitted to the second communication device through a 2.4GHz frequency band communication link; or the like, or, alternatively,
and transmitting the data to be transmitted to the second communication device through the target wired link.
The embodiment of the application provides a symmetric link data transmission method, which is applied to target communication equipment of a wireless ad hoc network, namely, data to be transmitted, which is transmitted by first communication equipment through a first communication link, is acquired, wherein the first communication link is a communication link between the target communication equipment and the first communication equipment; matching a target communication link corresponding to the first communication link for the data to be transmitted, wherein the link bandwidths between the target communication link and the first communication link are the same; and transmitting the data to be transmitted to second communication equipment through the target communication link. Due to the fact that the link bandwidths between the target communication link and the first communication link are the same, when the target communication device obtains the data to be transmitted from the first communication device through the first communication link, the purpose of transmitting the data to be transmitted to the second communication link through the target communication link can be achieved. That is, the purpose of transmitting communication data from the upper level device of the communication device to the lower level device of the communication device through the communication link with the same link bandwidth is achieved. Instead of when the communication device transmits communication data, one communication link is arbitrarily selected to transmit the communication data from the upper level device of the communication device to the lower level device of the communication device via the communication device. Therefore, the technical defect that communication data are lost when the communication equipment normally receives communication data transmitted by the superior equipment of the communication equipment and transmits the communication data to the lower hanging equipment of the communication equipment through a certain communication link between the communication equipment and the lower hanging equipment of the communication equipment due to the fact that a plurality of communication links exist among the communication equipment, the superior equipment of the communication equipment and the lower hanging equipment of the communication equipment is overcome. Therefore, the data transmission accuracy in the link communication process is improved.
Example two
Further, referring to fig. 7, in another embodiment of the present application, the same or similar contents as those in the first embodiment may refer to the above description, and are not repeated herein. On this basis, the step of determining the second communication device corresponding to the target communication device according to the networking information of the wireless ad hoc network includes:
step F10, inquiring candidate communication equipment which transmits the data to be transmitted together with the target communication equipment according to networking information of the wireless ad hoc network, wherein the candidate communication equipment comprises first candidate communication equipment and second candidate communication equipment;
step F20, if the candidate communication device is the first candidate communication device, taking the first candidate communication device as the second communication device;
step F30, if the candidate communication device is the second candidate communication device, determining the second communication device according to the corresponding relation between the data to be transmitted and the second candidate communication device.
In this embodiment, it should be noted that the candidate communication device is configured to represent a communication device that has an initial communication link with the target communication device and waits to receive data to be transmitted, that is, a communication device that is directly connected to the target communication device in a currently stable wireless ad hoc network and can perform data transmission through the communication link to receive data to be transmitted. The candidate communication devices are one or more than one, and the second communication device is a device for receiving the determined data to be transmitted, so that when a plurality of candidate communication devices of the target communication device in the wireless ad hoc network are provided, the second communication device is determined in the candidate communication devices according to a data identifier carried by the data to be transmitted, wherein the data identifier specifically can be a data receiving local area network address or a data receiving local area network name and the like.
As an example, steps F10 to F30 include: using networking information of the wireless ad hoc network as an index, and inquiring candidate communication equipment for transmitting the data to be transmitted together with the target communication equipment, wherein the candidate communication equipment comprises first candidate communication equipment and second candidate communication equipment, the first candidate communication equipment is used for representing one candidate communication equipment, and the second candidate communication equipment is used for representing a plurality of candidate communication equipment; if the candidate communication device is a candidate communication device, taking the candidate communication device as the second communication device; and if the candidate communication equipment is a plurality of candidate communication equipment, taking the candidate communication equipment consistent with the data identification carried by the data to be transmitted as the second communication equipment.
The embodiment of the application provides a second communication device determining method. That is, according to networking information of the wireless ad hoc network, candidate communication devices which transmit the data to be transmitted together with the target communication device are inquired, wherein the candidate communication devices comprise a first candidate communication device and a second candidate communication device; if the candidate communication device is the first candidate communication device, taking the first candidate communication device as the second communication device; and if the candidate communication equipment is the second candidate communication equipment, determining the second communication equipment according to the corresponding relation between the data to be transmitted and the second candidate communication equipment. Compared with a mode that the hanging-down device of the target communication device is directly used as the second communication device, the data to be transmitted is transmitted to the second communication device. According to the embodiment of the application, the second communication equipment for receiving the data to be transmitted is screened out in the candidate communication equipment in a targeted mode, and then the data to be transmitted is transmitted to the second communication data through the target communication link between the second communication equipment and the target communication equipment, so that the purpose that the data to be transmitted is accurately transmitted to the second communication equipment can be achieved, and therefore the situation that the communication data is lost when the data to be transmitted is transmitted to the lower hanging equipment of the communication equipment through the target communication link between the communication equipment and the lower hanging equipment of the communication equipment is avoided, and therefore a foundation is laid for improving the accuracy of data transmission in the link communication process.
EXAMPLE III
An embodiment of the present application further provides a symmetric link data transmission apparatus, which is applied to a target communication device of a wireless ad hoc network, and with reference to fig. 8, the symmetric link data transmission apparatus includes:
an obtaining module 101, configured to obtain data to be transmitted, which is transmitted by a first communication device through a first communication link, where the first communication link is a communication link between the target communication device and the first communication device;
a matching module 102, configured to match a target communication link corresponding to the first communication link for the data to be transmitted, where link bandwidths of the target communication link and the first communication link are the same;
a transmission module 103, configured to transmit the data to be transmitted to a second communication device through the target communication link.
Optionally, the matching module 102 is further configured to:
determining second communication equipment corresponding to the target communication equipment according to networking information of the wireless ad hoc network;
determining a second communication link between the target communication device and the second communication device;
and matching the first link identification of the first communication link with the second link identification of the second communication link to obtain the target communication link.
Optionally, the matching module 102 is further configured to:
inquiring candidate communication equipment for transmitting the data to be transmitted together with the target communication equipment according to networking information of the wireless ad hoc network, wherein the candidate communication equipment comprises first candidate communication equipment and second candidate communication equipment;
if the candidate communication device is the first candidate communication device, taking the first candidate communication device as the second communication device;
and if the candidate communication equipment is the second candidate communication equipment, determining the second communication equipment according to the corresponding relation between the data to be transmitted and the second candidate communication equipment.
Optionally, the matching module 102 is further configured to:
taking an initial communication link between the target communication device and the second communication device as the second communication link; or the like, or a combination thereof,
and taking an initial communication link between the target communication device and the second communication device and a standby communication link corresponding to the target communication device as the second communication link together.
Optionally, the symmetric link data transmission apparatus is further configured to:
if receiving a standby networking request of the wireless ad hoc network, acquiring at least one networking communication device of a target communication device;
and establishing standby communication links between the target communication equipment and each networking communication equipment respectively.
Optionally, the backup communication link includes a backup wireless link and a backup wired link, and the symmetric link data transmission apparatus is further configured to:
establishing the standby wireless link for the target communication equipment and each networking communication equipment respectively; and/or
And establishing the standby wired link for the target communication equipment and each networking communication equipment respectively.
Optionally, the target communication link includes a target wireless link and a target wired link, and the transmission module 103 is further configured to:
transmitting the data to be transmitted to the second communication device through the target wireless link; or the like, or, alternatively,
and transmitting the data to be transmitted to the second communication device through the target wired link.
The symmetrical link data transmission device provided by the invention adopts the symmetrical link data transmission method in the embodiment, and solves the technical problem of poor data transmission accuracy in the link communication process. Compared with the prior art, the beneficial effects of the symmetric link data transmission device provided by the embodiment of the invention are the same as the beneficial effects of the symmetric link data transmission method provided by the embodiment, and other technical features in the symmetric link data transmission device are the same as those disclosed by the embodiment method, which are not repeated herein.
Example four
An embodiment of the present invention provides an electronic device, including: at least one processor; and a memory communicatively coupled to the at least one processor; the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the symmetric link data transmission method of the first embodiment.
Referring now to FIG. 9, shown is a schematic diagram of an electronic device suitable for use in implementing embodiments of the present disclosure. The electronic devices in the embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., car navigation terminals), and the like, and fixed terminals such as digital TVs, desktop computers, and the like. The electronic device shown in fig. 9 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 9, the electronic device may include a processing means 1001 (e.g., a central processing unit, a graphic processor, etc.) which can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 1002 or a program loaded from a storage means 1003 into a Random Access Memory (RAM) 1004. In the RAM1004, various programs and data necessary for the operation of the electronic apparatus are also stored. The processing device 1001, the ROM1002, and the RAM1004 are connected to each other via a bus 1005. An input/output (I/O) interface 1006 is also connected to the bus.
Generally, the following systems may be connected to the I/O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, or the like; output devices 1008 including, for example, liquid Crystal Displays (LCDs), speakers, vibrators, and the like; a storage device 1003 including, for example, a magnetic tape, a hard disk, or the like; and a communication device 1009. The communication means may allow the electronic device to communicate wirelessly or by wire with other devices to exchange data. While the figures illustrate an electronic device with various systems, it is to be understood that not all illustrated systems are required to be implemented or provided. More or fewer systems may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication means 1009, or installed from the storage means 1003, or installed from the ROM 1002. The computer program, when executed by the processing device 1001, performs the above-described functions defined in the methods of embodiments of the present disclosure.
The electronic equipment provided by the invention adopts the symmetrical link data transmission method in the embodiment, and solves the technical problem of poor data transmission accuracy in the link communication process. Compared with the prior art, the beneficial effects of the electronic device provided by the embodiment of the present invention are the same as the beneficial effects of the symmetric link data transmission method provided by the above embodiment, and other technical features in the electronic device are the same as those disclosed in the above embodiment method, which are not described herein again.
It should be understood that portions of the present disclosure may be implemented in hardware, software, firmware, or a combination thereof. In the foregoing description of embodiments, the particular features, structures, materials, or characteristics may be combined in any suitable manner in any one or more embodiments or examples.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
EXAMPLE five
The present embodiment provides a computer-readable storage medium having computer-readable 5 program instructions stored thereon for performing the symmetric link data transmission method in the above-described embodiments.
The computer readable storage medium provided by the embodiments of the invention may be, for example, a USB flash drive, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, or device, or any combination thereof
And (6) mixing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more 0 wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In this embodiment, the computer-readable storage medium may be any package
A tangible medium containing or storing a program for use by or in connection with an instruction execution system, or device 5. Program code embodied on a computer readable storage medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
The computer-readable storage medium may be embodied in an electronic device; or may be present alone without being incorporated into the electronic device.
0 the computer readable storage medium carrying one or more programs which, when executed by an electronic device, cause the electronic device to: acquiring data to be transmitted, which is transmitted by first communication equipment through a first communication link, wherein the first communication link is a communication link between the target communication equipment and the first communication equipment; matching the first communication link for the data to be transmitted
A corresponding target communication link, wherein 5 link bandwidths between the target communication link and the first communication link are the same; and transmitting the data to be transmitted to second communication equipment through the target communication link.
Computer program code for carrying out operations for aspects of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C + +, or the like, and conventional procedural programming languages, such as the "C" language
Or a similar programming language. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules described in the embodiments of the present disclosure may be implemented by software or hardware. Wherein the names of the modules do not in some cases constitute a limitation of the unit itself.
The computer readable storage medium provided by the invention stores the computer readable program instruction for executing the symmetric link data transmission method, and solves the technical problem of poor data transmission accuracy in the link communication process. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the embodiment of the present invention are the same as the beneficial effects of the symmetric link data transmission method provided by the above embodiment, and are not described herein again.
EXAMPLE six
The present application also provides a computer program product comprising a computer program which, when executed by a processor, performs the steps of the symmetric link data transmission method as described above.
The computer program product provided by the application solves the technical problem of poor data transmission accuracy in the link communication process. Compared with the prior art, the beneficial effects of the computer program product provided by the embodiment of the present invention are the same as the beneficial effects of the symmetric link data transmission method provided by the above embodiment, and are not described herein again.
The above description is only a preferred embodiment of the present application, and not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings, or which are directly or indirectly applied to other related technical fields, are included in the scope of the present application.

Claims (10)

1. A symmetric link data transmission method is applied to target communication equipment of a wireless ad hoc network, and the symmetric link data transmission method comprises the following steps:
acquiring data to be transmitted, which is transmitted by first communication equipment through a first communication link, wherein the first communication link is a communication link between the target communication equipment and the first communication equipment;
matching a target communication link corresponding to the first communication link for the data to be transmitted, wherein the link bandwidths between the target communication link and the first communication link are the same;
and transmitting the data to be transmitted to a second communication device through the target communication link.
2. The symmetric link data transmission method according to claim 1, wherein the step of matching the target communication link corresponding to the first communication link for the data to be transmitted comprises:
determining second communication equipment corresponding to the target communication equipment according to networking information of the wireless ad hoc network;
determining a second communication link between the target communication device and the second communication device;
and matching the first link identification of the first communication link with the second link identification of the second communication link to obtain the target communication link.
3. The symmetric link data transmission method according to claim 2, wherein the step of determining the second communication device corresponding to the target communication device according to the networking information of the wireless ad hoc network comprises:
inquiring candidate communication equipment for transmitting the data to be transmitted together with the target communication equipment according to networking information of the wireless ad hoc network, wherein the candidate communication equipment comprises first candidate communication equipment and second candidate communication equipment;
if the candidate communication device is the first candidate communication device, taking the first candidate communication device as the second communication device;
and if the candidate communication equipment is the second candidate communication equipment, determining the second communication equipment according to the corresponding relation between the data to be transmitted and the second candidate communication equipment.
4. The symmetric-link data transmission method of claim 2, wherein the step of determining the second communication link between the target communication device and the second communication device comprises:
taking an initial communication link between the target communication device and the second communication device as the second communication link; or the like, or, alternatively,
and taking an initial communication link between the target communication device and the second communication device and a standby communication link corresponding to the target communication device as the second communication link together.
5. The symmetric link data transmission method according to claim 1 or 4, wherein before the step of obtaining the data to be transmitted, which is transmitted by the first communication device through the first communication link, the symmetric link data transmission method further comprises:
if receiving a standby networking request of the wireless ad hoc network, acquiring at least one networking communication device of a target communication device;
and establishing standby communication links between the target communication equipment and each networking communication equipment respectively.
6. The symmetric link data transmission method of claim 5 wherein the alternate communication link comprises an alternate wireless link and an alternate wired link,
the step of establishing a backup communication link between the target communication device and each of the networking communication devices, respectively, includes:
establishing the standby wireless link for the target communication equipment and each networking communication equipment respectively; and/or
And establishing the standby wired link for the target communication equipment and each networking communication equipment respectively.
7. The symmetric-link data transmission method of claim 1 wherein the target communication link includes a target wireless link and a target wired link,
the step of transmitting the data to be transmitted to a second communication device through the target communication link comprises:
transmitting the data to be transmitted to the second communication device through the target wireless link; or the like, or, alternatively,
and transmitting the data to be transmitted to the second communication device through the target wired link.
8. A symmetric link data transmission apparatus, applied to a target communication device of a wireless ad hoc network, includes:
the device comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring data to be transmitted, which is transmitted by first communication equipment through a first communication link, and the first communication link is a communication link between the target communication equipment and the first communication equipment;
the matching module is used for matching a target communication link corresponding to the first communication link for the data to be transmitted, wherein the link bandwidths between the target communication link and the first communication link are the same;
and the transmission module is used for transmitting the data to be transmitted to the second communication equipment through the target communication link.
9. An electronic device, characterized in that the electronic device comprises:
at least one processor; and (c) a second step of,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the steps of the symmetric link data transmission method of any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a program for implementing a symmetric link data transmission method, the program being executed by a processor to implement the steps of the symmetric link data transmission method according to any one of claims 1 to 7.
CN202211715451.4A 2022-12-28 2022-12-28 Symmetric link data transmission method and device, electronic equipment and readable storage medium Pending CN115942391A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211715451.4A CN115942391A (en) 2022-12-28 2022-12-28 Symmetric link data transmission method and device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211715451.4A CN115942391A (en) 2022-12-28 2022-12-28 Symmetric link data transmission method and device, electronic equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN115942391A true CN115942391A (en) 2023-04-07

Family

ID=86655961

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211715451.4A Pending CN115942391A (en) 2022-12-28 2022-12-28 Symmetric link data transmission method and device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN115942391A (en)

Similar Documents

Publication Publication Date Title
CN110972233B (en) Distribution network state display method and device for intelligent equipment
CN114827982A (en) Method, device and system for configuring strategy of UE
CN105027601A (en) White space utilization
US10743331B2 (en) Method and apparatus for vehicle to cloud network traffic scheduling
US10841772B2 (en) Method and system for controlling communication between internet-of-things (IOT) devices
JP4490499B2 (en) Communication terminal, relay device, wireless communication system, wireless communication control method, and program
CN110650027A (en) Configuration method, negotiation method and device
CN115942354A (en) Multilink communication data transmission method and device, electronic equipment and storage medium
US20180212844A1 (en) Management of network connections and priorities based on device profiles
US9386411B2 (en) Radio access system, controlling apparatus, and terminal apparatus
CN105451367A (en) Wireless network connection method, device and system
CN115942391A (en) Symmetric link data transmission method and device, electronic equipment and readable storage medium
CN115119286B (en) Method and device for accessing equipment to network
CN114364042B (en) Communication resource scheduling method, device, electronic equipment and computer readable medium
WO2023011107A1 (en) Session policy control method, network element, storage medium, and electronic device
WO2019154214A1 (en) Synchronization signal configuration method and related device
CN115988671A (en) Wireless mesh network return link distribution method, device, electronic equipment and medium
CN115942265A (en) Asymmetric link data transmission method and device, electronic equipment and storage medium
CN108076469B (en) Method and router for wireless access point bridging
CN112988313B (en) Path determining method and device and electronic equipment
CN116017625A (en) Wireless ad hoc network device access method and device, electronic device and storage medium
CN116193473A (en) Backhaul link selection method, apparatus, device and medium
CN110856199A (en) Interference coordination method and device, and base station
CN114521025B (en) Time slot allocation method and device for wireless ad hoc network and electronic equipment
CN116367177A (en) Wireless grid network equipment configuration method, device, electronic equipment and medium

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