CN116113071B - Data transmission method, main terminal equipment and storage medium - Google Patents

Data transmission method, main terminal equipment and storage medium Download PDF

Info

Publication number
CN116113071B
CN116113071B CN202310389403.9A CN202310389403A CN116113071B CN 116113071 B CN116113071 B CN 116113071B CN 202310389403 A CN202310389403 A CN 202310389403A CN 116113071 B CN116113071 B CN 116113071B
Authority
CN
China
Prior art keywords
terminal device
main terminal
wireless transmission
wireless
terminal equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202310389403.9A
Other languages
Chinese (zh)
Other versions
CN116113071A (en
Inventor
张广军
伍韶峰
晏冬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Kaihong Digital Industry Development Co Ltd
Original Assignee
Shenzhen Kaihong Digital Industry Development 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 Kaihong Digital Industry Development Co Ltd filed Critical Shenzhen Kaihong Digital Industry Development Co Ltd
Priority to CN202310389403.9A priority Critical patent/CN116113071B/en
Publication of CN116113071A publication Critical patent/CN116113071A/en
Application granted granted Critical
Publication of CN116113071B publication Critical patent/CN116113071B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/15Setup of multiple wireless link connections
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40169Flexible bus arrangements
    • H04L12/40176Flexible bus arrangements involving redundancy
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup

Abstract

The application discloses a data transmission method, a main terminal device and a storage medium, wherein the method is applied to a first main terminal device, and the first main terminal device belongs to a terminal device which can simultaneously establish connection with a plurality of first peripheral terminal devices through a soft bus in a first area, and the method comprises the following steps: transmitting first data to a second main terminal device based on a wireless transmission mode, wherein the second main terminal device belongs to a terminal device which can simultaneously establish connection with a plurality of second surrounding terminal devices through a soft bus in a second area; and receiving second data sent by the second main terminal equipment based on the wireless transmission mode. In this way, the present application is able to expand the effective transmission distance of the soft bus technology.

Description

Data transmission method, main terminal equipment and storage medium
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a data transmission method, a main terminal device, and a storage medium.
Background
Soft buses are a technique that utilizes software technology to implement bus capabilities based on commonly used physical link protocols. The existing soft bus technology is limited by a communication protocol, and the effective transmission distance is relatively short, for example, 100 meters, and is about 300 meters in an ideal environment. In practical applications, such a short transmission distance greatly limits the effective coverage of a local master terminal device (also called a superterminal device) based on a soft bus technology, and thus its application is generally limited to a small-scale scenario such as home, office, etc. In practical applications in other industries, such as highway traffic, tunnel construction, park management, railway dispatching, wharf ports, factories, agriculture cultivation, etc., the communication distance between terminal devices is often more than 500 meters, and some are even several kilometers. The existing soft bus technology is far from being satisfied.
Disclosure of Invention
Based on this, the application provides a data transmission method, a first main terminal device and a storage medium, which can enlarge the effective transmission distance of the soft bus technology.
In a first aspect, the present application provides a data transmission method applied to a first main terminal device, where the first main terminal device belongs to a terminal device capable of simultaneously establishing connection with a plurality of first peripheral terminal devices through a soft bus in a first area, and the method includes:
transmitting first data to a second main terminal device based on a wireless transmission mode, wherein the second main terminal device belongs to a terminal device which can simultaneously establish connection with a plurality of second surrounding terminal devices through a soft bus in a second area;
and receiving second data sent by the second main terminal equipment based on the wireless transmission mode.
The sending the first data to the second main terminal device based on the wireless transmission mode includes:
and transmitting the first data to a second wireless transmission part through a first wireless transmission part, wherein the first main terminal equipment is provided with the first wireless transmission part, and the second main terminal equipment is provided with the second wireless transmission part.
Wherein the transmitting, by the first wireless transmission unit, the first data to the second wireless transmission unit includes:
and transmitting the first data to the second wireless transmission component through the first wireless transmission component through at least one wireless communication device, wherein at least one wireless communication device is arranged between the first main terminal device and the second main terminal device.
The sending the first data to the second main terminal device based on the wireless transmission mode includes:
and transmitting the first data to the second main terminal equipment through at least one wireless communication device by a first wireless transmission component, wherein the first main terminal equipment is provided with the first wireless transmission component, the second main terminal equipment is not provided with a second wireless transmission component, and at least one wireless communication device is arranged between the first main terminal equipment and the second main terminal equipment.
The sending the first data to the second main terminal device based on the wireless transmission mode includes:
and transmitting the first data to a second wireless transmission component through at least one wireless communication device, wherein the first wireless transmission component is not arranged on the first main terminal device, the second wireless transmission component is arranged on the second main terminal device, and at least one wireless communication device is arranged between the first main terminal device and the second main terminal device.
The sending the first data to the second main terminal device based on the wireless transmission mode includes:
and transmitting the first data to the second main terminal equipment through at least two wireless communication equipment, wherein the first main terminal equipment is not provided with a first wireless transmission component, the second main terminal equipment is not provided with a second wireless transmission component, and at least two wireless communication equipment are arranged between the first main terminal equipment and the second main terminal equipment.
Wherein a first main terminal device without a first wireless transmission means is connected with a wireless communication device close to the first main terminal device in a wired manner, and/or a second main terminal device without a second wireless transmission means is connected with a wireless communication device close to the second main terminal device in a wired manner.
Wherein the wireless communication device comprises a wireless bridge.
The first main terminal device comprises a terminal device integrated with a first wireless bridge, and/or the second main terminal device comprises a terminal device integrated with a second wireless bridge.
Wherein both the first master terminal device and the second master terminal device are configured with a hong system.
Wherein the number of the second areas is more than two.
In a second aspect, the present application provides a first main terminal device, where the first main terminal device belongs to a terminal device capable of simultaneously establishing connection with a plurality of first peripheral terminal devices through a soft bus in a first area, and the first main terminal device includes a communication module, a memory, and a processor, where the communication module is used to communicate under control of the processor, and the memory is used to store a computer program; the processor is configured to execute the computer program and to implement the data transmission method as described above when the computer program is executed.
In a third aspect, the present application provides a computer readable storage medium storing a computer program which, when executed by a processor, causes the processor to implement a data transmission method as described above.
The embodiment of the application provides a data transmission method, a first main terminal device and a storage medium, wherein the first main terminal device belonging to a first area sends first data to a second main terminal device belonging to a second area based on a wireless transmission mode; and the first main terminal equipment belonging to the first area receives second data sent by the second main terminal equipment belonging to the second area based on the wireless transmission mode. Compared with the prior art that the main terminal equipment can only communicate with the surrounding terminal equipment in the area to which the soft bus belongs, in the embodiment of the application, as the main terminal equipment in two different areas can establish connection with the surrounding terminal equipment respectively for communication in the respective areas, the main terminal equipment in two different areas can also mutually perform data transmission based on a wireless transmission mode, so that the data transmission range is not limited in one area any more, but can extend to other areas outside the area, therefore, the effective transmission distance of the soft bus technology can be enlarged, and the practical application of the soft bus technology in other industries needing far effective data transmission can be enlarged; in addition, the effective transmission distance is enlarged based on a wireless transmission mode, so that the cable cost caused by the wire can be avoided.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
FIG. 1 is a schematic diagram of a distributed soft bus traffic model in the related art;
FIG. 2 is a flow chart of an embodiment of a data transmission method of the present application;
FIG. 3 is a flow chart of another embodiment of a data transmission method of the present application;
FIG. 4 is a flow chart of a further embodiment of the data transmission method of the present application;
FIG. 5 is a flow chart of a further embodiment of the data transmission method of the present application;
FIG. 6 is a flow chart of a further embodiment of a data transmission method of the present application;
FIG. 7 is a flow chart of a further embodiment of a data transmission method of the present application;
fig. 8 is a schematic structural diagram of an embodiment of a first master terminal device of the present application;
fig. 9 is a schematic diagram of an application scenario of an embodiment of a data transmission method of the present application;
fig. 10 is a schematic view of an application scenario of another embodiment of the data transmission method of the present application;
fig. 11 is a schematic application scenario diagram of a further embodiment of the data transmission method of the present application;
fig. 12 is an application scenario diagram of a further embodiment of the data transmission method of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
The flow diagrams depicted in the figures are merely illustrative and not necessarily all of the elements and operations/steps are included or performed in the order described. For example, some operations/steps may be further divided, combined, or partially combined, so that the order of actual execution may be changed according to actual situations.
Prior to the detailed description of the present application, related technical content will be described.
In a computer system, a common path for information to be transferred between components is called a bus, and a microcomputer connects the functional components in a bus structure. The bus is an internal structure, it is a public channel for CPU (Central Processing Unit ), internal memory and input/output equipment to transfer information, all the components of the host are connected by means of bus, and the external equipment is connected with bus by means of correspondent interface circuit so as to form the computer hardware system. Physically, the bus is a wire harness connected to a motherboard or copper foil conductors on a PCB (Printed Circuit Board ) board, the transmission medium of which is a metal cable.
Soft buses, as their name implies, are a technology that utilizes software technology, based on commonly used physical link protocols, to implement bus capabilities. In physical form, the soft bus can be divided into two types, one type is wireless transmission through electromagnetic waves, no actual physical wires exist, and the physical layer mainly takes WIFI and Bluetooth protocols as main materials; the other is to use the application transmission line of the equipment level for wired transmission, and the physical layer is mainly based on the Ethernet protocol.
The technical characteristics of open source hong-Mongolian OpenHarmony are mainly that hardware interaction and resource sharing can be realized among various devices; mainly depends on application technologies such as distributed soft buses, distributed device virtualization, distributed data management, distributed task scheduling and the like. Referring to fig. 1, fig. 1 is a distributed soft bus service model, and a distributed soft bus is a communication base of all distributed applications. The distributed soft bus logically abstracts distributed communications into a business model consisting of four parts: discovery, connection, networking, and transport. The four parts work separately in the whole soft bus business logic, and the goal of distributed soft bus communication is achieved by constructing a distributed communication framework.
The physical layer communication protocol adopted by the existing soft bus technology is mainly WIFI and Bluetooth technologies. Limited by the communication protocol, the effective transmission distance is only 100 meters, and the effective transmission distance is only about 300 meters under ideal environment. Such short distances, in practical applications, greatly limit the effective coverage of a local master terminal device (also called a superterminal device) based on soft bus technology. And thus its application is limited to small-scale scenes in homes, offices, etc.
In practical applications in other industries, the communication distance between terminal devices involved in the fields of highway traffic, tunnel construction, park management, railway dispatching, wharf ports, factories, agricultural cultivation and the like is often more than 500 meters, and some are even several kilometers. The existing soft bus technology is far from being satisfied.
In the embodiment of the application, a first main terminal device belonging to a first area sends first data to a second main terminal device belonging to a second area based on a wireless transmission mode; and the first main terminal equipment belonging to the first area receives second data sent by the second main terminal equipment belonging to the second area based on the wireless transmission mode. Compared with the prior art that the main terminal equipment can only communicate with the surrounding terminal equipment in the area to which the soft bus belongs, in the embodiment of the application, as the main terminal equipment in two different areas can establish connection with the surrounding terminal equipment respectively for communication in the respective areas, the main terminal equipment in two different areas can also mutually perform data transmission based on a wireless transmission mode, so that the data transmission range is not limited in one area any more, but can extend to other areas outside the area, therefore, the effective transmission distance of the soft bus technology can be enlarged, and the practical application of the soft bus technology in other industries needing far effective data transmission can be enlarged; in addition, the effective transmission distance is enlarged based on a wireless transmission mode, so that the cable cost caused by the wire can be avoided.
Some embodiments of the present application are described in detail below with reference to the accompanying drawings. The following embodiments and features of the embodiments may be combined with each other without conflict.
Referring to fig. 2, fig. 2 is a schematic flow chart of an embodiment of a data transmission method of the present application, where the method of the embodiment of the present application is applied to a first master terminal device, and the first master terminal device belongs to a terminal device in a first area capable of simultaneously establishing a connection with a plurality of first peripheral terminal devices through a soft bus.
The method comprises the following steps: step S101 and step S102.
Step S101: and sending the first data to a second main terminal device based on a wireless transmission mode, wherein the second main terminal device belongs to a terminal device which can simultaneously establish connection with a plurality of second surrounding terminal devices through a soft bus in a second area.
Step S102: and receiving second data sent by the second main terminal equipment based on the wireless transmission mode.
In this embodiment of the present invention, the first main terminal device is a main terminal device in a first area, and the first main terminal device may establish connection with a plurality of first peripheral terminal devices around in the first area through a soft bus, so that the first main terminal device may communicate with the plurality of first peripheral terminal devices in the first area, and an effective transmission distance of the communication of the first main terminal device is in the first area. The second main terminal device is a main terminal device of the second area, and the second main terminal device can establish connection with a plurality of second surrounding terminal devices around the second area through the soft bus at the same time, so that the second main terminal device can communicate with the plurality of second surrounding terminal devices in the second area, and the effective transmission distance of the communication of the second main terminal device is in the second area.
The wireless transmission scheme (Wireless transmission) is a scheme for transmitting data by using a wireless technology. The wireless transmission mode and the wired transmission mode are corresponding. In the embodiment of the present application, the conditions that the wireless transmission mode needs to satisfy are: the first main terminal device of the first area and the second main terminal device of the second area can communicate with each other. And thus a relatively long-range wireless transmission scheme can be employed. For example: LR-WiFi (Long range WiFi), wireless bridges, etc. may be used. A more common remote wireless transmission method at present uses a wireless bridge.
The first main terminal equipment of the first area can send first data to the second main terminal equipment of the second area based on a wireless transmission mode, and can also receive second data sent by the second main terminal equipment of the second area, so that the effective transmission distance of the first main terminal equipment communication is not limited in the first area but is expanded to the second area, and the effective transmission distance of the second main terminal equipment communication is not limited in the second area but is expanded to the first area.
In some embodiments, the first master terminal device and the second master terminal device are each configured with a hong system. In some embodiments, the first peripheral terminal device and the second peripheral terminal device are each configured with a hong system.
The open source hong Mongolian system (OpenHarmony) is an open source project hatched and operated by an open atom open source foundation (OpenAtom Foundation), and aims to build a framework and a platform of an intelligent terminal equipment operating system for a full-scene, full-connection and full-intelligent era so as to promote the prosperous development of the everything interconnection industry.
In some embodiments, the number of second regions is more than two. That is, the first master terminal device in the first area can communicate with the second master terminal devices in the two or more second areas, respectively, and the distances between the second areas and the first area are all approximately within the range that can be achieved by the transmission path based on the wireless transmission method.
It should be noted that, there is no obvious relationship between the steps S101 and S102.
In the embodiment of the application, a first main terminal device belonging to a first area sends first data to a second main terminal device belonging to a second area based on a wireless transmission mode; and the first main terminal equipment belonging to the first area receives second data sent by the second main terminal equipment belonging to the second area based on the wireless transmission mode. Compared with the prior art that the main terminal equipment can only communicate with the surrounding terminal equipment in the area to which the soft bus belongs, in the embodiment of the application, as the main terminal equipment in two different areas can establish connection with the surrounding terminal equipment respectively for communication in the respective areas, the main terminal equipment in two different areas can also mutually perform data transmission based on a wireless transmission mode, so that the data transmission range is not limited in one area any more, but can extend to other areas outside the area, therefore, the effective transmission distance of the soft bus technology can be enlarged, and the practical application of the soft bus technology in other industries needing far effective data transmission can be enlarged; in addition, the effective transmission distance is enlarged based on a wireless transmission mode, so that the cable cost caused by the wire can be avoided.
In some embodiments, step S101, the sending, based on the wireless transmission manner, the first data to the second master terminal device may include: step S101A; at this time, step S102, where the receiving, based on the wireless transmission manner, the second data sent by the second master terminal device may include: step S102A, as shown in FIG. 3.
Step S101A: and transmitting the first data to a second wireless transmission part through a first wireless transmission part, wherein the first main terminal equipment is provided with the first wireless transmission part, and the second main terminal equipment is provided with the second wireless transmission part.
Step S102A: the second data is received from the second wireless transmission means by the first wireless transmission means.
In this embodiment of the present application, the first main terminal device is provided with the first wireless transmission component, and the second main terminal device is provided with the second wireless transmission component. That is, the first main terminal device itself is integrated with the first wireless transmission part, the second main terminal device itself is integrated with the second wireless transmission part, and the first wireless transmission part and the second wireless transmission part can ensure that the first main terminal device and the second main terminal device communicate with each other, and at this time, the wireless transmission path based on the wireless transmission mode is: a first wireless transmission part of the first main terminal equipment and a second wireless transmission part of the second main terminal equipment. The wireless transmission component may be a component capable of implementing a relatively long-distance wireless transmission mode, including but not limited to LR-WiFi, a wireless network bridge, a long-distance wireless radio frequency module, and the like.
By the method, the wireless communication capacity of the main terminal equipment can be improved on the basis of the existing main terminal equipment, so that the main terminal equipment in two different areas can directly communicate, and the deployment of additional wireless communication equipment is avoided.
The method and the device are applicable to the application scenario that the first wireless transmission component and the second wireless transmission component can ensure that the first main terminal device and the second main terminal device are mutually communicated in the distance range between the two areas, and the wireless communication device does not need to be deployed additionally.
In some embodiments, within the master terminal device (first master terminal device, second master terminal device), the wireless transmission means (first wireless transmission means, second wireless transmission means) may employ WIFI universal communication protocol at the physical layer.
In some embodiments, the wireless transmission means may be a wireless bridge, i.e. the first master terminal device comprises a terminal device integrated with a first wireless bridge and the second master terminal device comprises a terminal device integrated with a second wireless bridge.
In some embodiments, step S101, the sending, by the first wireless transmission unit, the first data to the second wireless transmission unit may further include: step S101B; at this time, step S102, where the receiving, based on the wireless transmission manner, the second data sent by the second master terminal device may include: step S102B, as shown in FIG. 4.
Step S101B: and transmitting the first data to the second wireless transmission component through the first wireless transmission component through at least one wireless communication device, wherein at least one wireless communication device is arranged between the first main terminal device and the second main terminal device.
Step S102B: the second data is received by the first wireless transmission means from the second wireless transmission means via at least one wireless communication device.
In the embodiments of the present application, the wireless communication device may refer to a device that uses a relatively long-range wireless transmission mode, including but not limited to: LR-WiFi, wireless bridges, devices with long range wireless radio modules, etc.
If the distance between the first area and the second area is far enough, the first wireless transmission part of the first main terminal device and the second wireless transmission part of the second main terminal device have difficulty in ensuring that the first main terminal device and the second main terminal device of the two areas communicate with each other, at least one wireless communication device can be deployed between the first main terminal device and the second main terminal device, and the data is transmitted in relay between the first wireless transmission part of the first main terminal device and the second wireless transmission part of the second main terminal device by using the wireless communication device, and at the moment, the path of wireless transmission based on the wireless transmission mode is: a first wireless transmission means of a first master terminal device, at least one wireless communication device, and a second wireless transmission means of a second master terminal device. In this way, the effective transmission distance of the soft bus technology can be further extended.
In some embodiments, the wireless communication device comprises a wireless bridge.
A wireless bridge, as its name implies, is a bridge of a wireless network that uses wireless transmission to bridge communications between two or more networks. The protocols used by the wireless bridge are consistent with those of conventional WIFI. Depending on the protocol, wireless bridges can be classified into 802.11b, 802.11g, and 802.11n using the 2.4GHz band and 802.11a and 802.11n using the 5.8GHz band. The transmission distance of wireless signals can be increased up to tens of kilometers with wireless bridges. Firstly, the physical transmission distance of signals is improved by using means such as directional antennas, wave beams, received signal amplification and the like in a physical layer; secondly, the transmission distance is improved at the protocol side by adjusting default values of parameters such as SIFS (Short inter-frame Space) and transmission delay (Air Propagation Time) at the MAC layer.
In some embodiments, the wireless transmission means may be a wireless bridge, i.e. the first master terminal device comprises a terminal device integrated with a first wireless bridge and the second master terminal device comprises a terminal device integrated with a second wireless bridge.
In some embodiments, step S101, the sending, based on the wireless transmission manner, the first data to the second master terminal device may further include: step S101C; at this time, step S102, where the receiving, based on the wireless transmission manner, the second data sent by the second master terminal device may include: step S102C, as shown in FIG. 5.
Step S101C: and transmitting the first data to the second main terminal equipment through at least one wireless communication device by a first wireless transmission component, wherein the first main terminal equipment is provided with the first wireless transmission component, the second main terminal equipment is not provided with a second wireless transmission component, and at least one wireless communication device is arranged between the first main terminal equipment and the second main terminal equipment.
Step S102C: the second data is received from the second master terminal device via at least one wireless communication device by a first wireless transmission means.
In this embodiment of the present application, the first main terminal device is a main terminal device provided with a first wireless transmission component, and the second main terminal device is a main terminal device not provided with a second wireless transmission component, where the first wireless transmission component of the first main terminal device is insufficient to maintain communication between the first main terminal device and the second main terminal device, so at least one wireless communication device may be deployed between the first main terminal device and the second main terminal device. The path of wireless transmission by the wireless transmission scheme at this time is: a first wireless transmission means of a first master terminal device, at least one wireless communication device. In this way, it is possible to ensure mutual communication between the master terminal devices of the two areas.
In some embodiments, the second master terminal device, which is not provided with the second wireless transmission means, and the wireless communication device, which is close to the second master terminal device, may be connected by a wired manner.
In some embodiments, the wireless communication device comprises a wireless bridge.
A wireless bridge, as its name implies, is a bridge of a wireless network that uses wireless transmission to bridge communications between two or more networks. The protocols used by the wireless bridge are consistent with those of conventional WIFI. Depending on the protocol, wireless bridges can be classified into 802.11b, 802.11g, and 802.11n using the 2.4GHz band and 802.11a and 802.11n using the 5.8GHz band. The transmission distance of wireless signals can be increased up to tens of kilometers with wireless bridges. Firstly, the physical transmission distance of signals is improved by using means such as directional antennas, wave beams, received signal amplification and the like in a physical layer; secondly, the transmission distance is improved at the protocol side by adjusting default values of parameters such as SIFS (Short inter-frame Space) and transmission delay (Air Propagation Time) at the MAC layer.
In some embodiments, the wireless transmission means may be a wireless bridge, i.e. the first master terminal device comprises a terminal device integrated with the first wireless bridge.
In some embodiments, step S101, the sending, based on the wireless transmission manner, the first data to the second master terminal device may further include: step S101D; at this time, step S102, where the receiving, based on the wireless transmission manner, the second data sent by the second master terminal device may include: step S102D, as shown in FIG. 6.
Step S101D: and transmitting the first data to a second wireless transmission component through at least one wireless communication device, wherein the first wireless transmission component is not arranged on the first main terminal device, the second wireless transmission component is arranged on the second main terminal device, and at least one wireless communication device is arranged between the first main terminal device and the second main terminal device.
Step S102D: the second data is received from the second wireless transmission means via at least one wireless communication device.
In this embodiment of the present application, the first main terminal device is a main terminal device without a first wireless transmission component, and the second main terminal device is a main terminal device with a second wireless transmission component, where the second wireless transmission component of the second main terminal device is insufficient to maintain communication between the first main terminal device and the second main terminal device, so at least one wireless communication device may be deployed between the first main terminal device and the second main terminal device. The path of wireless transmission by the wireless transmission scheme at this time is: at least one wireless communication device, a second wireless transmission means of a second master terminal device. In this way, it is possible to ensure mutual communication between the master terminal devices of the two areas.
In some embodiments, the first master terminal device, which is not provided with the first wireless transmission means, and the wireless communication device, which is close to the first master terminal device, may be connected by a wired manner.
In some embodiments, the wireless communication device comprises a wireless bridge.
A wireless bridge, as its name implies, is a bridge of a wireless network that uses wireless transmission to bridge communications between two or more networks. The protocols used by the wireless bridge are consistent with those of conventional WIFI. Depending on the protocol, wireless bridges can be classified into 802.11b, 802.11g, and 802.11n using the 2.4GHz band and 802.11a and 802.11n using the 5.8GHz band. The transmission distance of wireless signals can be increased up to tens of kilometers with wireless bridges. Firstly, the physical transmission distance of signals is improved by using means such as directional antennas, wave beams, received signal amplification and the like in a physical layer; secondly, the transmission distance is improved at the protocol side by adjusting default values of parameters such as SIFS (Short inter-frame Space) and transmission delay (Air Propagation Time) at the MAC layer.
In some embodiments, the wireless transmission means may be a wireless bridge, i.e. the second master terminal device comprises a terminal device integrated with the second wireless bridge.
In some embodiments, step S101, the sending, based on the wireless transmission manner, the first data to the second master terminal device may further include: step S101E; at this time, step S102, where the receiving, based on the wireless transmission manner, the second data sent by the second master terminal device may include: step S102E, as shown in fig. 7.
Step S101E: and transmitting the first data to the second main terminal equipment through at least two wireless communication equipment, wherein the first main terminal equipment is not provided with a first wireless transmission component, the second main terminal equipment is not provided with a second wireless transmission component, and at least two wireless communication equipment are arranged between the first main terminal equipment and the second main terminal equipment.
Step S102E: the second data is received from the second master terminal device via at least two wireless communication devices.
In this embodiment of the present application, the first main terminal device is a main terminal device without a first wireless transmission component, and the second main terminal device is a main terminal device without a second wireless transmission component, and if one wireless communication device is insufficient to maintain communication between the first main terminal device and the second main terminal device, at least two wireless communication devices need to be deployed between the first main terminal device and the second main terminal device. The path of wireless transmission by the wireless transmission scheme at this time is: at least two wireless communication devices. In this way, it is possible to ensure mutual communication between the master terminal devices of the two areas.
In some embodiments, the first master terminal device without the first wireless transmission means may be connected to the wireless communication device near the first master terminal device by a wired manner, and the second master terminal device without the second wireless transmission means may be connected to the wireless communication device near the second master terminal device by a wired manner.
In some embodiments, the wireless communication device comprises a wireless bridge.
A wireless bridge, as its name implies, is a bridge of a wireless network that uses wireless transmission to bridge communications between two or more networks. The protocols used by the wireless bridge are consistent with those of conventional WIFI. Depending on the protocol, wireless bridges can be classified into 802.11b, 802.11g, and 802.11n using the 2.4GHz band and 802.11a and 802.11n using the 5.8GHz band. The transmission distance of wireless signals can be increased up to tens of kilometers with wireless bridges. Firstly, the physical transmission distance of signals is improved by using means such as directional antennas, wave beams, received signal amplification and the like in a physical layer; secondly, the transmission distance is improved at the protocol side by adjusting default values of parameters such as SIFS (Short inter-frame Space) and transmission delay (Air Propagation Time) at the MAC layer.
Referring to fig. 8, fig. 8 is a schematic structural diagram of an embodiment of a first master terminal device of the present application, and it should be noted that the first master terminal device of the embodiment of the present application can implement the above method, and for details of related content, please refer to the above method section, which is not described herein again.
The first main terminal device 100 belongs to a terminal device capable of simultaneously establishing connection with a plurality of first peripheral terminal devices through a soft bus in a first area, and the first main terminal device 100 comprises a communication module 3, a memory 1 and a processor 2, wherein the communication module 3 and the memory 1 are connected with the processor 2 through the bus. The processor 2 may be a micro control unit, a central processing unit or a digital signal processor, among others. The memory 1 may be a Flash chip, a read-only memory, a magnetic disk, an optical disk, a usb disk, a removable hard disk, or the like. The communication module 3 is configured to communicate under control of the processor 2, and the memory 1 is configured to store a computer program; the processor 2 is configured to execute the computer program and to implement a data transmission method as follows when executing the computer program:
transmitting first data to a second main terminal device based on a wireless transmission mode, wherein the second main terminal device belongs to a terminal device which can simultaneously establish connection with a plurality of second surrounding terminal devices through a soft bus in a second area;
And receiving second data sent by the second main terminal equipment based on the wireless transmission mode.
In some embodiments, the processor, when executing the computer program, implements the method of:
and transmitting the first data to a second wireless transmission part through a first wireless transmission part, wherein the first main terminal equipment is provided with the first wireless transmission part, and the second main terminal equipment is provided with the second wireless transmission part.
In some embodiments, the processor, when executing the computer program, implements the method of:
and transmitting the first data to the second wireless transmission component through the first wireless transmission component through at least one wireless communication device, wherein at least one wireless communication device is arranged between the first main terminal device and the second main terminal device.
In some embodiments, the processor, when executing the computer program, implements the method of:
and transmitting the first data to the second main terminal equipment through at least one wireless communication device by a first wireless transmission component, wherein the first main terminal equipment is provided with the first wireless transmission component, the second main terminal equipment is not provided with a second wireless transmission component, and at least one wireless communication device is arranged between the first main terminal equipment and the second main terminal equipment.
In some embodiments, the processor, when executing the computer program, implements the method of:
and transmitting the first data to a second wireless transmission component through at least one wireless communication device, wherein the first wireless transmission component is not arranged on the first main terminal device, the second wireless transmission component is arranged on the second main terminal device, and at least one wireless communication device is arranged between the first main terminal device and the second main terminal device.
In some embodiments, the processor, when executing the computer program, implements the method of:
and transmitting the first data to the second main terminal equipment through at least two wireless communication equipment, wherein the first main terminal equipment is not provided with a first wireless transmission component, the second main terminal equipment is not provided with a second wireless transmission component, and at least two wireless communication equipment are arranged between the first main terminal equipment and the second main terminal equipment.
In some embodiments, a first master terminal device without a first wireless transmission means is connected by wire to a wireless communication device near the first master terminal device and/or a second master terminal device without a second wireless transmission means is connected by wire to a wireless communication device near the second master terminal device.
In some embodiments, the wireless communication device comprises a wireless bridge.
In some embodiments, the first master terminal device comprises a terminal device integrated with a first wireless bridge and/or the second master terminal device comprises a terminal device integrated with a second wireless bridge.
In some embodiments, the first master terminal device and the second master terminal device are each configured with a hong system.
In some embodiments, the number of second regions is more than two.
The method according to the embodiment of the present application will be described in detail below by taking a wireless transmission unit as a wireless bridge and a wireless communication device as a wireless bridge as an example.
Referring to fig. 9 and 10, the first possible solution is: the terminal equipment configured with the hong system combines with the traditional wireless bridge, the soft bus core code runs on a first main terminal equipment A5 and a second main terminal equipment B5 configured with the hong system, the first main terminal equipment A5 and the second main terminal equipment B5 are not integrated with the wireless bridge and are common main terminal equipment, and the first main terminal equipment A5 and the second main terminal equipment B5 are connected with the wireless bridge in a wired mode, namely, ethernet communication is adopted in a physical layer; implementations can be categorized into a direct mode (as shown in fig. 9) and a relay mode (as shown in fig. 10).
In fig. 9, a wireless bridge a and a wireless bridge B are disposed between a first master terminal device A5 and a second master terminal device B5, the wireless bridge a being disposed in the area a, and the wireless bridge B being disposed in the area B. In fig. 10, a wireless bridge a, a wireless bridge B, and a wireless bridge C are disposed between a first master terminal device A5 and a second master terminal device B5, the wireless bridge a being disposed in a region a, the wireless bridge B being disposed in a region B, and the wireless bridge C being disposed in an intermediate region between the region a and the region B.
The implementation steps are as follows:
1. in the area a, the devices of the terminal devices A1, A2, A3, A4, A5 and the like are all terminal devices configured with a hong-and-Monte system, and the terminal devices are connected with each other through a soft bus, wherein the terminal device A5 is a first main terminal device, and the terminal device A5 is connected with the wireless bridge a through an ethernet.
2. In the area B, the devices of the terminal devices B1, B2, B3, B4, B5 and the like are all terminal devices configured with a hong-mo system, and the terminal devices are connected with each other through a soft bus, wherein the terminal device B5 is a second main terminal device, and the terminal device B5 is connected with the wireless bridge B through an ethernet.
3. In the area a, the terminal device A5 runs a soft bus core code, and the physical protocol between the terminal device A5 and the wireless network bridge a adopts an ethernet protocol.
4. In the area B, the terminal device B5 runs a soft bus core code, and the physical protocol between the terminal device B5 and the wireless bridge B adopts an ethernet protocol.
5. The wireless network bridge A and the wireless network bridge B are interconnected through a traditional wireless protocol, so that a simple bridging function is realized, and the longest distance can reach tens of kilometers.
6. By means of the bridging capability of wireless bridge a and wireless bridge B, an ethernet-based soft bus interconnection is realized between terminal device A5 of zone a and terminal device B5 of zone B.
7. Further, to increase the transmission distance or overcome the environmental obstacle, as shown in fig. 10, wireless bridge C may be used as a relay device for wireless bridge a and wireless bridge B, to achieve further enhancement in transmission distance and reliability.
Referring to fig. 11 and 12, a second possible solution is: all terminal devices are configured with a hong Mongolian system, a wireless network bridge is integrated on the main terminal device, a soft bus core code directly operates on the main terminal device, the wireless network bridge on the main terminal device adopts a WIFI universal communication protocol at a physical layer, and the implementation mode can be divided into a direct connection mode (shown in figure 11) and a relay mode (shown in figure 12).
In fig. 11, the master terminal device A5 (i.e., the first master terminal device) integrated with the wireless bridge a and the master terminal device B5 (i.e., the second master terminal device) integrated with the wireless bridge B may directly communicate with each other. In fig. 12, a wireless bridge C is disposed between a master terminal device A5 integrated with a wireless bridge a and a master terminal device B5 integrated with a wireless bridge B, and is disposed in an intermediate area between the areas a and B.
The implementation steps are as follows:
1. in the area a, the terminal devices A1, A2, A3, A4, the master terminal device A5 integrated with the wireless bridge a, and the like are all terminal devices configured with the hong system, and the terminal devices are connected with each other through a soft bus.
2. In the area B, the terminal devices B1, B2, B3, B4, the master terminal device B5 integrated with the wireless bridge B, and the like are all terminal devices configured with a hong system, and the terminal devices are connected to each other through a soft bus.
3. In the area a, the main terminal device A5 integrated with the wireless bridge a runs the soft bus core code, and the physical protocol of the wireless bridge a adopts the WIFI (802.11 series) protocol.
4. In the region B, the main terminal device B5 integrated with the wireless bridge B runs the soft bus core code, and the physical protocol of the wireless bridge B adopts the WIFI (802.11 series) protocol.
5. The main terminal equipment A5 integrated with the wireless network bridge A and the main terminal equipment B5 integrated with the wireless network bridge B are interconnected through WIFI, so that soft bus interconnection based on the WIFI is realized, and the distance is tens of kilometers to the farthest.
6. Further, in order to increase the transmission distance or overcome the environmental obstacle, as shown in fig. 12, the wireless bridge C may be used as a relay device for the master terminal device A5 integrated with the wireless bridge a and the master terminal device B5 integrated with the wireless bridge B, so that further enhancement of the transmission distance and reliability is achieved.
By the mode, the wireless coverage of the soft bus can be enlarged, and the transmission distance is extended from 100 meters to tens of kilometers.
The present application also provides a computer readable storage medium storing a computer program which, when executed by a processor, causes the processor to implement a data transmission method as described in any one of the above.
The computer readable storage medium may be an internal storage unit of the first main terminal device, such as a hard disk or a memory. The computer readable storage medium may also be an external storage device such as a equipped plug-in hard disk, smart memory card, secure digital card, flash memory card, etc.
It is to be understood that the terminology used in the description of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
While the invention has been described with reference to certain preferred embodiments, it will be understood by those skilled in the art that various changes and substitutions of equivalents may be made and equivalents will be apparent to those skilled in the art without departing from the scope of the invention. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (13)

1. The data transmission method is characterized by being applied to a first main terminal device, wherein the first main terminal device belongs to a terminal device capable of simultaneously establishing connection with a plurality of first peripheral terminal devices through a soft bus in a first area, and the method comprises the following steps:
transmitting first data to a second main terminal device based on a wireless transmission mode, wherein the second main terminal device belongs to a terminal device which can simultaneously establish connection with a plurality of second surrounding terminal devices through a soft bus in a second area;
receiving second data sent by the second main terminal equipment based on the wireless transmission mode;
the effective transmission distance of the first main terminal equipment for communicating with a plurality of first peripheral terminal equipment through a soft bus is in the first area, and the effective transmission distance of the second main terminal equipment for communicating with a plurality of second peripheral terminal equipment through the soft bus is in the second area.
2. The method according to claim 1, wherein the sending the first data to the second master terminal device based on the wireless transmission mode includes:
and transmitting the first data to a second wireless transmission part through a first wireless transmission part, wherein the first main terminal equipment is provided with the first wireless transmission part, and the second main terminal equipment is provided with the second wireless transmission part.
3. The method of claim 2, wherein the transmitting the first data to the second wireless transmission unit via the first wireless transmission unit comprises:
and transmitting the first data to the second wireless transmission component through the first wireless transmission component through at least one wireless communication device, wherein at least one wireless communication device is arranged between the first main terminal device and the second main terminal device.
4. The method according to claim 1, wherein the sending the first data to the second master terminal device based on the wireless transmission mode includes:
and transmitting the first data to the second main terminal equipment through at least one wireless communication device by a first wireless transmission component, wherein the first main terminal equipment is provided with the first wireless transmission component, the second main terminal equipment is not provided with a second wireless transmission component, and at least one wireless communication device is arranged between the first main terminal equipment and the second main terminal equipment.
5. The method according to claim 1, wherein the sending the first data to the second master terminal device based on the wireless transmission mode includes:
And transmitting the first data to a second wireless transmission component through at least one wireless communication device, wherein the first wireless transmission component is not arranged on the first main terminal device, the second wireless transmission component is arranged on the second main terminal device, and at least one wireless communication device is arranged between the first main terminal device and the second main terminal device.
6. The method according to claim 1, wherein the sending the first data to the second master terminal device based on the wireless transmission mode includes:
and transmitting the first data to the second main terminal equipment through at least two wireless communication equipment, wherein the first main terminal equipment is not provided with a first wireless transmission component, the second main terminal equipment is not provided with a second wireless transmission component, and at least two wireless communication equipment are arranged between the first main terminal equipment and the second main terminal equipment.
7. Method according to any of claims 4-6, characterized in that a first master terminal device without a first wireless transmission means is connected in a wired manner to a wireless communication device close to the first master terminal device and/or that a second master terminal device without a second wireless transmission means is connected in a wired manner to a wireless communication device close to the second master terminal device.
8. The method of any of claims 3-6, wherein the wireless communication device comprises a wireless bridge.
9. The method according to claim 8, wherein the first master terminal device comprises a terminal device integrated with a first wireless bridge and/or the second master terminal device comprises a terminal device integrated with a second wireless bridge.
10. The method of claim 1, wherein the first master terminal device and the second master terminal device are each configured with a hong system.
11. The method of claim 1, wherein the number of second regions is more than two.
12. The first main terminal equipment is characterized by belonging to terminal equipment capable of simultaneously establishing connection with a plurality of first peripheral terminal equipment through a soft bus in a first area, wherein the first main terminal equipment comprises a communication module, a memory and a processor, the communication module is used for communicating under the control of the processor, and the memory is used for storing a computer program; the processor is configured to execute the computer program and to implement the data transmission method according to any one of claims 1-11 when the computer program is executed.
13. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program which, when executed by a processor, causes the processor to implement the data transmission method according to any one of claims 1-11.
CN202310389403.9A 2023-04-13 2023-04-13 Data transmission method, main terminal equipment and storage medium Active CN116113071B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310389403.9A CN116113071B (en) 2023-04-13 2023-04-13 Data transmission method, main terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310389403.9A CN116113071B (en) 2023-04-13 2023-04-13 Data transmission method, main terminal equipment and storage medium

Publications (2)

Publication Number Publication Date
CN116113071A CN116113071A (en) 2023-05-12
CN116113071B true CN116113071B (en) 2023-06-27

Family

ID=86264136

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310389403.9A Active CN116113071B (en) 2023-04-13 2023-04-13 Data transmission method, main terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116113071B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110545539A (en) * 2019-08-31 2019-12-06 深圳市赛宇景观设计工程有限公司 Self-adaptive link establishment method and system based on big data
CN113625580A (en) * 2021-08-16 2021-11-09 珠海格力电器股份有限公司 Device control method, device, electronic device, control system and storage medium
WO2022156535A1 (en) * 2021-01-22 2022-07-28 华为技术有限公司 Distributed application processing method and apparatus

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8798121B2 (en) * 2007-05-10 2014-08-05 Broadcom Corporation High speed data bus for communicating between wireless interface devices of a host device
KR20120017821A (en) * 2010-08-20 2012-02-29 삼성전자주식회사 Apparatus and method for sharing data in portable terminal
WO2017196215A1 (en) * 2016-05-12 2017-11-16 Telefonaktiebolaget Lm Ericsson (Publ) Radio access network node, radio node and methods performed therein
CN114258037B (en) * 2020-09-22 2024-04-12 华为技术有限公司 Network control method and device and electronic equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110545539A (en) * 2019-08-31 2019-12-06 深圳市赛宇景观设计工程有限公司 Self-adaptive link establishment method and system based on big data
WO2022156535A1 (en) * 2021-01-22 2022-07-28 华为技术有限公司 Distributed application processing method and apparatus
CN113625580A (en) * 2021-08-16 2021-11-09 珠海格力电器股份有限公司 Device control method, device, electronic device, control system and storage medium

Also Published As

Publication number Publication date
CN116113071A (en) 2023-05-12

Similar Documents

Publication Publication Date Title
KR101076906B1 (en) Using directional antennas to enhance wireless mesh networks
US9031506B2 (en) System having co-located functional resources and applications thereof
CN102917374B (en) According to the cordless communication network of the sectorization of 802.11 standardized operations
US20120038513A1 (en) Centralized antenna interface for wireless networks
US20050094571A1 (en) Short range RF network
KR102256450B1 (en) Method, device, and system for adjusting packet length in near field communication (nfc)
US11206714B2 (en) Hybrid channel wireless devices and systems
CN116113071B (en) Data transmission method, main terminal equipment and storage medium
CN101785251B (en) Coexistance device communication
CN117157899A (en) System and method for implementing Intelligent Reflective Surface (IRS) in network
US9899735B2 (en) Signal transmission method, interface extension apparatus, and communications system
JP2007318540A (en) Radio communication system
CN114223230A (en) Beam capacity reporting method, device, equipment and storage medium
CN209787175U (en) System for switching and expanding multiple wireless transmission modes
CN102904782A (en) Personal network establishing method and interior gateway
US20060265479A1 (en) Communication network and a method for extending transmission range of the communication network
CN106921425A (en) A kind of data forwarding method, device and equipment
CN105656740A (en) RS422-CAN bus converter
US11570688B2 (en) Single channel deployment over wireless network topologies
CN107659975B (en) Method for controlling device mount of transit node and storage medium
WO2022222764A1 (en) Resource determination method and communication apparatus
CN218850770U (en) One-to-many UART communication device
CN114828023B (en) Method and device for improving energy efficiency of communication system
CN210431905U (en) Communication system, rail guided vehicle control system and intelligent warehousing system
WO2023116553A1 (en) Method and apparatus for determining clear channel assessment threshold

Legal Events

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