CN113824753A - Communication method, communication system, storage medium, and computing device - Google Patents

Communication method, communication system, storage medium, and computing device Download PDF

Info

Publication number
CN113824753A
CN113824753A CN202010567010.9A CN202010567010A CN113824753A CN 113824753 A CN113824753 A CN 113824753A CN 202010567010 A CN202010567010 A CN 202010567010A CN 113824753 A CN113824753 A CN 113824753A
Authority
CN
China
Prior art keywords
network
devices
equipment
communication
identification information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010567010.9A
Other languages
Chinese (zh)
Other versions
CN113824753B (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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN202010567010.9A priority Critical patent/CN113824753B/en
Publication of CN113824753A publication Critical patent/CN113824753A/en
Application granted granted Critical
Publication of CN113824753B publication Critical patent/CN113824753B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers

Abstract

The application discloses a communication method, a communication system, a storage medium and a computing device. Wherein, the method comprises the following steps: the first equipment generates network identification information; the method comprises the steps that a first device establishes a data transparent transmission channel with any one or more second devices in a network based on network identification information, wherein the second devices are devices which also generate the network identification information in the network; the first device communicates data with any one or more second devices in the network using the data transparent transmission channel. The method and the device solve the technical problem that in a system for completing the communication between devices by utilizing an access router (AP) in the prior art, the access router (AP) can have a state of incapability of communication due to the limitation of the number of the access devices, performance bottleneck, opening of an AP isolation function and the like, so that the communication between the devices of the access router (AP) is suspended or delayed.

Description

Communication method, communication system, storage medium, and computing device
Technical Field
The present application relates to the field of communications, and in particular, to a communication method, a communication system, a storage medium, and a computing device.
Background
Communication between equipment such as intelligent audio amplifier can only be realized after access router (AP), and the router can be because of reasons such as access equipment quantity restriction, performance bottleneck, AP isolation function open lead to unable communication between intelligent audio amplifier. The smart sound box is to control the internet of things equipment accessed to WiFi, and the problem that control cannot be conducted or control delay is large can be caused due to the above reasons.
Aiming at the technical problem that in a system for completing the communication between devices by utilizing an access router (AP) in the prior art, the router (AP) has a state of incapability of communication due to the limitation of the number of access devices, performance bottleneck, opening of an AP isolation function and the like, so that the communication between the devices of the access router (AP) is suspended or delayed, an effective solution is not provided at present.
Disclosure of Invention
The embodiment of the application provides a communication method, a communication system, a storage medium and computing equipment, which are used for solving the technical problem that in a system for completing inter-equipment communication by using an access router (AP) in the prior art, the access router (AP) can not be in communication due to the limitation of the number of access equipment, performance bottleneck, starting of an AP isolation function and the like, so that the inter-equipment communication of the access router (AP) is suspended or delayed.
According to an aspect of an embodiment of the present application, there is provided a communication method including: the first equipment generates network identification information; the method comprises the steps that a first device establishes a data transparent transmission channel with any one or more second devices in a network based on network identification information, wherein the second devices are devices which also generate the same network identification information in the network; the first device communicates data with any one or more second devices in the network using the data transparent transmission channel.
According to another aspect of the embodiments of the present application, there is provided another communication method, including: the method comprises the steps that a first device and any one or more second devices in a network establish a data transparent transmission channel, wherein the first device and the second devices have the same network identification information; the first device communicates data with any one or more second devices in the network using the data transparent transmission channel.
According to another aspect of the embodiments of the present application, there is also provided another communication method, including: a data transparent transmission channel is established between any two devices in the network; when the first device of any two devices cannot communicate with the router, the first device is switched to the data transparent transmission channel to carry out data communication, wherein the first device is any one device in the network, and each device in the network communicates with the router.
According to another aspect of the embodiments of the present application, there is also provided a communication system, including: a first device for generating network identification information; any one or more second devices in the network, configured to establish a data transparent transmission channel with the first device based on the network identification information, where the second devices are devices that generate the same network identification information in the network; the first device carries out data communication with any one or more second devices in the network by using the data transparent transmission channel.
According to another aspect of the embodiments of the present application, there is also provided another communication system, including: a router, a plurality of devices in a network; the method comprises the steps that a data transparent transmission channel is established between any two devices in the network, when the first device cannot communicate with a router, the first device is switched to the data transparent transmission channel to carry out data communication, wherein the first device is any one device in the network, and each device in the network communicates with the router.
According to still another aspect of the embodiments of the present application, there is also provided a storage medium including a stored program, wherein when the program is executed, a device on which the storage medium is located is controlled to perform the above communication method.
According to still another aspect of embodiments of the present application, there is also provided a computing device, including: a processor; and a memory coupled to the processor for providing instructions to the processor for processing the following processing steps: the first equipment generates network identification information; the method comprises the steps that a first device establishes a data transparent transmission channel with any one or more second devices in a network based on network identification information, wherein the second devices are devices generating the same network identification information in the network; the first device communicates data with any one or more second devices in the network using the data transparent transmission channel.
In the embodiment of the application, a first device is adopted to generate network identification information; the method comprises the steps that a first device establishes a data transparent transmission channel with any one or more second devices in a network based on network identification information, wherein the second devices are devices generating the same network identification information in the network; the first device utilizes the data transmission channel to perform data communication with any one or more second devices in the network, and constructs the direct communication capability between WiFi modules by adding a group of data communication channels established by BSSID filtering function under the condition of not increasing operation interface interfaces based on the WiFi module station mode, thereby achieving the purpose of communication without establishing connection of all WiFi modules with the same BSSID under the same channel, further realizing the technical effect of normal communication between devices accessed to the router under the condition that the router cannot communicate in the system for completing the communication between the devices by utilizing the access router (AP), and further solving the technical problem that the access router (AP) can maintain the performance bottleneck due to the limitation of the number of the accessed devices in the system for completing the communication between the devices by utilizing the access router (AP) in the prior art, the AP isolation function is started, and the like, the communication can not be carried out, so that the technical problem of communication interruption or delay among devices accessing to the router (AP) is caused.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 shows a hardware configuration block diagram of a computer terminal (or mobile device) for implementing a communication method;
FIG. 2 is a schematic diagram of a system for facilitating inter-device communication using an access router (AP) according to an embodiment of the present application;
FIG. 3 is a flow chart of a method of communication according to an embodiment of the present application;
FIG. 4 is a diagram illustrating a method for establishing peer-to-peer communication between a station and a station according to an embodiment of the present disclosure;
FIG. 5 is a flow chart of another method of communication according to an embodiment of the present application;
FIG. 6 is a flow chart of another method of communication according to an embodiment of the present application;
FIG. 7 is a block diagram of a communication system according to an embodiment of the present application;
fig. 8 is a block diagram of another communication system according to an embodiment of the present application;
fig. 9 is a block diagram of a computer terminal according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
First, some terms or terms appearing in the description of the embodiments of the present application are applicable to the following explanations:
BSSID refers to the MAC address of the router AP;
station refers to a workstation;
wlan0 operating interface program of station;
AP is the abbreviation of Access Point, which refers to a router;
point-to-point: the method refers to the corresponding relation between workstations;
adhoc is a peer-to-peer network structure built up with wireless intermediary devices AP omitted.
Example 1
Fig. 2 is a schematic diagram of a system for completing inter-device communication by using an access router (AP) according to an embodiment of the present application, where, as shown in fig. 2, BSSID1 is a BSS network of the router (AP), the BSSID of the router is BSSID1, all WiFi modules communicate based on BSSID1 after being connected to the router, and in order to discover and communicate data among the WiFi modules, the WiFi modules need to transit through the router (AP), but communication may not be possible through the router (AP) due to performance bottlenecks, AP isolation, distances, and the like of the router (AP). In order to solve the problem, a communication channel for point-to-point communication between the station and the station is established, and when the station and the AP cannot communicate, the communication channel can be switched to a point-to-point rapid communication channel between the station and the station. In addition, any two of the station and the station can directly communicate within the communication range, so that the delay is reduced. The BSSID2 network shown in fig. 2, WiFi modules may communicate directly with each other through BSSID2 network, and the above method of establishing peer-to-peer communication between the station and the station is described below with an embodiment.
In accordance with an embodiment of the present application, there is provided a method of communication, it being noted that the steps illustrated in the flowchart of the figure may be performed in a computer system such as a set of computer-executable instructions, and that while a logical order is illustrated in the flowchart, in some cases the steps illustrated or described may be performed in an order different than here.
The method provided by the embodiment 1 of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Fig. 1 shows a hardware configuration block diagram of a computer terminal (or mobile device) for implementing a communication method. As shown in fig. 1, the computer terminal 10 (or mobile device 10) may include one or more (shown as 102a, 102b, … …, 102 n) processors 102 (the processors 102 may include, but are not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA, etc.), a memory 104 for storing data, and a transmission module 106 for communication functions. Besides, the method can also comprise the following steps: a display, an input/output interface (I/O interface), a Universal Serial BUS (USB) port (which may be included as one of the ports of the BUS), a network interface, a power source, and/or a camera. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration and is not intended to limit the structure of the electronic device. For example, the computer terminal 10 may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
It should be noted that the one or more processors 102 and/or other data processing circuitry described above may be referred to generally herein as "data processing circuitry". The data processing circuitry may be embodied in whole or in part in software, hardware, firmware, or any combination thereof. Further, the data processing circuit may be a single stand-alone processing module, or incorporated in whole or in part into any of the other elements in the computer terminal 10 (or mobile device). As referred to in the embodiments of the application, the data processing circuit acts as a processor control (e.g. selection of a variable resistance termination path connected to the interface).
The memory 104 may be used to store software programs and modules of application software, such as program instructions/data storage devices corresponding to the communication method in the embodiment of the present application, and the processor 102 executes various functional applications and data processing by running the software programs and modules stored in the memory 104, that is, implementing the vulnerability detection method of the application program. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory located remotely from the processor 102, which may be connected to the computer terminal 10 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used for receiving or transmitting data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the computer terminal 10. In one example, the transmission device 106 includes a Network adapter (NIC) that can be connected to other Network devices through a base station to communicate with the internet. In one example, the transmission device 106 can be a Radio Frequency (RF) module, which is used to communicate with the internet in a wireless manner.
The display may be, for example, a touch screen type Liquid Crystal Display (LCD) that may enable a user to interact with a user interface of the computer terminal 10 (or mobile device).
In the above operating environment, the present application provides a communication method as shown in fig. 3. Fig. 3 is a flowchart of a communication method according to embodiment 1 of the present application, and as shown in fig. 3, the method includes the following steps:
in step S302, the first device generates network identification information.
Step S304, the first device establishes a data transparent transmission channel with any one or more second devices in the network based on the network identification information, wherein the second devices are devices generating the same network identification information in the network;
according to an alternative embodiment of the present application, the first device and the second device are both devices with WiFi modules (for convenience of description, the WiFi modules are used to replace the devices with WiFi modules). And the first device and the second device both access the same Access Point (AP) device. In an optional embodiment, the network identification information may be generated based on an identification (SSID) of a sub-network governed by the AP device, or may be generated based on an IDhash commonly owned by all WiFi modules accessing the AP device.
Fig. 4 is a schematic diagram of a method for establishing peer-to-peer communication between a station and a station according to an embodiment of the present application, and as shown in fig. 4, when the above steps S302 and S304 are performed, the first device (WiFi module 1) and the second device (WiFi module 2) generate the same BSSID network (i.e., BSSID2) through BSSID2 generation modules.
The network identification information in step S302 and step S304 is the same BSSID network as described above. The Station means a workstation, and in the embodiment of the present application, the device with the WiFi module may be regarded as a Station.
Step S306, the first device performs data communication with any one or more second devices in the network by using the data transparent transmission channel.
Taking a Wifi communication scenario as an example, after the Wifi module 1 in the first device and the Wifi module 2 in the second device generate the same BSSID, a data transparent transmission channel may be established. As shown in fig. 2, the WiFi modules 1 to 5 belong to the same BSSID2 network, and any two WiFi modules of the WiFi modules 1 to 5 can avoid the router (AP) to directly communicate.
The scheme in the embodiment of the application can be also applied to a mobile communication scene. For example:
the first equipment establishes connection with base station equipment and performs data access based on the base station equipment; and when the first equipment and the base station equipment cannot communicate, the first equipment determines to adopt the data transparent transmission channel to carry out data communication with the second equipment.
Taking a mobile communication scenario as an example, a mobile communication module of the first device and a mobile communication module of the second device communicate through the base station, and if the first device and the base station cannot communicate, for example, a link between the first device and the base station fails or is disconnected (for example, a link is disconnected due to insufficient remaining traffic of the first device), the first device and the second device perform data communication by using the data transparent transmission channel. At this time, the network identifier may be a network identifier negotiated when the first device and the second device perform communication using their respective mobile communication modules (for example, the network identifier may include, but is not limited to, an identifier determined jointly based on the first device identifier and the second device identifier, for example, a hash value generated based on the first device identifier and the second device identifier, or when the first device and the second device perform data interaction through their respective base stations, the network identifier assigned by a switching network device between the base stations, that is, a process in which the first device generates the network identifier is represented as a process of receiving the network identifier assigned by the switching network device), and the first device and the second device establish a data transparent transmission channel based on the network identifier to perform communication directly. Alternatively, the first and second electrodes may be,
when the first device cannot communicate with the base station device, the first device and the second device establish communication connection through respective Wifi modules, and when the first device cannot communicate with the router, the first device and the second device establish communication through respective Wifi modules, specifically, after the Wifi module 1 in the first device and the Wifi module 2 in the second device generate the same BSSID, a data transparent transmission channel can be established. Alternatively, the first and second electrodes may be,
when the first device and the base station device cannot communicate, the first device and the second device search for: the WiFi module 1 in the first device and the WiFi module 2 in the second device generate the same BSSID to establish the data transparent channel.
Taking a bluetooth communication scenario as an example, the network identifier includes: a device identification of the second device; at this time, the establishing, by the first device, a data transparent transmission channel with any one or more second devices in the network based on the network identification information includes: and the first equipment establishes Bluetooth communication connection based on the equipment identification of the second equipment so as to establish the data transparent transmission channel.
Through the steps, based on the WiFi module station mode, under the condition that an operation interface is not added, a group of data communication channels established by BSSID filtering functions are newly added, the direct communication capability among WiFi modules is established, the purpose that all WiFi modules with the same BSSID can communicate without establishing connection under the same channel is achieved, and therefore the technical effect that normal communication can be kept among equipment in a system for completing communication among equipment by utilizing an access router (AP) under the condition that the router cannot communicate is achieved.
According to an alternative embodiment of the present application, before performing step S306, the first device connects to a router, and performs data access based on the router; when the first device and the router cannot communicate, the first device determines to adopt the data transparent transmission channel to communicate data with the second device.
As shown in fig. 4, the WiFi module 1 establishes a network with BSSID1 by connecting to the router through the station, first communicates with another WiFi module through the network with BSSID1, and when communication through the network with BSSID1 is not possible, switches to the BSSID2 network, and communicates with another WiFi module through the BSSID2 network.
In an alternative embodiment of the present application, step S204 is implemented by the following method: the method comprises the steps that a first device sends a first device frame to other devices in a network, wherein the first device frame carries network identification information of the first device; the first equipment receives response information returned by any one or more second equipment in other equipment, wherein the response information comprises signal strength generated by analyzing a first equipment frame; if the signal intensity of the first equipment frame is in a preset range, determining that any one or more second equipment and the first equipment have the same network identification information; and the first equipment and the second equipment with the same network identification information establish a data transparent transmission channel.
In the step, a data transparent transmission channel is established by hardware filtering of BSSID of the WiFi chip, the drive change is small, and interaction can be realized as long as frames conforming to the same BSSID are met and the same channel is set; the device frame is sent to discover devices without establishing connection, and the device frame is analyzed and discovered that the signal strength is within a preset range, and then the devices can be communicated with each other.
In another optional embodiment of the present application, each device in the network includes a communication module, and each communication module generates the network identification information by setting identification information corresponding to the same router, or by using the same hash algorithm.
The communication module refers to a WiFi module on each device, and as mentioned above, each WiFi module generates the same BSSID by using the BSSID2 generation module, and specifically, the WiFi module generates the same BSSID by accessing the SSID under the same AP or an ID hash commonly owned by all WiFi modules.
According to an optional embodiment of the present application, the first device establishes a data transparent transmission channel with a local communication module and a communication module of any one or more second devices in the network.
The WiFi module 1 may establish the data transparent transmission channel with any WiFi module in the BSSID2 network, and directly communicate with the established data transparent transmission channel.
In some optional embodiments of the present application, each device in the network further comprises a filtering module, and the filtering module is configured to store the generated network identification information in a register associated with the communication module.
As shown in fig. 4, the BSSID2 filtering module refers to that, by setting BSSID2 in a register of the WiFi chip and establishing a data transceiving channel based on BSSID2, under the same channel, data transmitted by WiFi module 1 through BSSID2 is received by WiFi module 2 through filtered BSSID 2.
In another optional embodiment of the application, an ad hoc network can be established to achieve similar effects, and the coexistence of ad hoc and station requires developing an interface operation interface of the ad hoc0 in a driving manner and supporting ad hoc related protocols; adhoc performs networking through the same SSID under the same channel, and needs to establish connection.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
Through the above description of the embodiments, those skilled in the art can clearly understand that the communication method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
Example 2
Fig. 5 is a flow chart of another communication method according to an embodiment of the present application, as shown in fig. 5, the method including the steps of:
step S502, a first device and any one or more second devices in a network establish a data transparent transmission channel, wherein the first device and the second devices have the same network identification information;
according to an alternative embodiment of the present application, the first device and the second device in step S502 are both devices equipped with a WiFi module (for convenience of description, the WiFi module is used to replace the devices equipped with the WiFi module in the following). And the first device and the second device both access the same Access Point (AP) device. In an optional embodiment, the network identification information may be generated based on an identification (SSID) of a subnet governed by the AP device, or may be generated based on an ID hash commonly owned by all WiFi modules accessing the AP device.
Referring to fig. 4, when step S502 is executed, the first device (WiFi module 1) and the second device (WiFi module 2) generate the same BSSID network (i.e., BSSID2) through BSSID2 generation modules. The network identification information in step S502 is the same BSSID network as described above.
Step S504, the first device performs data communication with any one or more second devices in the network by using the data transparent transmission channel.
After the WiFi module 1 and the WiFi module 2 generate the same BSSID, a data transparent transmission channel may be established. As shown in fig. 2, the WiFi modules 1 to 5 belong to the same BSSID2 network, and any two WiFi modules of the WiFi modules 1 to 5 can avoid the router (AP) to directly communicate.
Through the steps, based on the WiFi module station mode, under the condition that an operation interface is not added, a group of data communication channels established by BSSID filtering functions are newly added, the direct communication capability among WiFi modules is established, the purpose that all WiFi modules with the same BSSID can communicate without establishing connection under the same channel is achieved, and therefore the technical effect that normal communication can be kept among equipment in a system for completing communication among equipment by utilizing an access router (AP) under the condition that the router cannot communicate is achieved.
According to an alternative embodiment of the present application, step S502 may be implemented by: the method comprises the steps that a first device sends a first device frame to other devices in a network, wherein the first device frame carries network identification information of the first device; the first equipment receives response information returned by any one or more second equipment in other equipment, wherein the response information comprises signal strength generated by analyzing a first equipment frame; if the signal intensity of the first equipment frame is in a preset range, determining that any one or more second equipment and the first equipment have the same network identification information; and the first equipment and the second equipment with the same network identification information establish a data transparent transmission channel.
In the step, a data transparent transmission channel is established by hardware filtering of BSSID of the WiFi chip, the drive change is small, and interaction can be realized as long as frames conforming to the same BSSID are met and the same channel is set; the device frame is sent to discover devices without establishing connection, and the device frame is analyzed and discovered that the signal strength is within a preset range, and then the devices can be communicated with each other.
It should be noted that, reference may be made to the description related to the embodiment shown in fig. 3 for a preferred implementation of the embodiment shown in fig. 5, and details are not described here again.
Example 3
Fig. 6 is a flow chart of another communication method according to an embodiment of the present application, as shown in fig. 6, the method including the steps of:
step S602, a data transparent transmission channel is established between any two devices in the network;
according to an alternative embodiment of the present application, any two devices in step S602 are WiFi module-equipped devices. And both devices access the same router (AP).
The data transparent transmission channel does not refer to a communication link for communication between two devices through a router (AP), but refers to a communication channel for direct point-to-point communication when the two devices cannot communicate through the router (AP).
Specifically, the method for establishing the data transparent transmission channel is shown in fig. 4, and the first device (WiFi module 1) and the second device (WiFi module 2) generate the same BSSID network (i.e., BSSID2) through BSSID2 generation modules.
After the WiFi module 1 and the WiFi module 2 generate the same BSSID, a data transparent transmission channel may be established. As shown in fig. 2, the WiFi modules 1 to 5 belong to the same BSSID2 network, and any two WiFi modules of the WiFi modules 1 to 5 can avoid the router (AP) to directly communicate.
Step S604, when a first device of the two devices cannot communicate with the router, the first device switches to the data transparent transmission channel to perform data communication, where the first device is any one device in a network, and each device in the network communicates with the router.
Referring to fig. 2, BSSID1 is a BSS network of a router (AP), BSSID of the router is BSSID1, all WiFi modules communicate with the router based on BSSID1 after connecting to the router, and in order to discover and communicate data among the WiFi modules, the WiFi modules need to transit through the router (AP), but communication through the router (AP) may not be possible due to performance bottleneck of the router (AP), AP isolation, distance, and the like.
In order to solve the technical problem, a communication channel for point-to-point communication between the station and the station is established, and when the station and the AP can not communicate, the communication channel can be switched to the station and the station point-to-point communication channel. In addition, any two of the station and the station can directly communicate within the communication range, so that the delay is reduced. Like the BSSID2 network shown in fig. 2, WiFi modules may communicate directly with each other over a BSSID2 network.
It should be noted that, reference may be made to the description related to the embodiment shown in fig. 3 for a preferred implementation of the embodiment shown in fig. 6, and details are not described here again.
Example 4
Fig. 7 is a block diagram of a communication system according to an embodiment of the present application, as shown in fig. 7, the system including:
a first device 70 for generating network identification information.
Any one or more second devices 72 in the network, configured to establish a data transparent transmission channel with the first device based on the network identification information, where the second devices 72 are devices that also generate the network identification information in the network; wherein the first device 70 communicates data with any one or more second devices 72 in the network using a data pass-through channel.
According to an alternative embodiment of the present application, the first device 70 and the second device 72 are both WiFi-enabled devices.
Referring to fig. 4, the first device (WiFi module 1) and the second device (WiFi module 2) generate the same BSSID network (i.e., BSSID2) through BSSID2 generation modules. After the WiFi module 1 and the WiFi module 2 generate the same BSSID, a data transparent transmission channel may be established. The first device communicates data with any one or more second devices in the network by using the data transparent transmission channel.
It should be noted that, reference may be made to the description related to the embodiment shown in fig. 3 for a preferred implementation of the embodiment shown in fig. 7, and details are not described here again.
Example 5
Fig. 8 is a block diagram of another communication system according to an embodiment of the present application, as shown in fig. 8, the system including:
a router 80;
a plurality of devices 82 in the network; a data transparent transmission channel is established between any two devices 82 in the network, and when the first device cannot communicate with the router, the first device is switched to the data transparent transmission channel to perform data communication, wherein the first device is any one device 82 in the network, and each device 82 in the network communicates with the router.
It should be noted that, reference may be made to the description related to the embodiment shown in fig. 3 for a preferred implementation of the embodiment shown in fig. 8, and details are not described here again.
Example 6
The embodiment of the application can provide a computer terminal, and the computer terminal can be any one computer terminal device in a computer terminal group. Optionally, in this embodiment, the computer terminal may also be replaced with a terminal device such as a mobile terminal.
Optionally, in this embodiment, the computer terminal may be located in at least one network device of a plurality of network devices of a computer network.
In this embodiment, the computer terminal may execute program codes of the following steps in the communication method of the application program: the first equipment generates network identification information; the method comprises the steps that a first device establishes a data transparent transmission channel with any one or more second devices in a network based on network identification information, wherein the second devices are devices which also generate the network identification information in the network; the first device communicates data with any one or more second devices in the network using the data transparent transmission channel.
Optionally, fig. 9 is a block diagram of a computer terminal according to an embodiment of the present application. As shown in fig. 9, the computer terminal 90 may include: one or more (only one shown) processors 902, memory 904, and radio frequency module, audio module, and display screen.
The memory 904 can be used for storing software programs and modules, such as program instructions/modules corresponding to the communication method and apparatus in the embodiment of the present application, and the processor 902 executes various functional applications and data processing by running the software programs and modules stored in the memory 904, so as to implement the communication method described above. The memory 804 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 904 may further include memory 904 located remotely from the processor 902, which may be connected to the terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The processor 902 may invoke the information and applications stored in the memory 804 via the transmission device to perform the following steps: the first equipment generates network identification information; the method comprises the steps that a first device establishes a data transparent transmission channel with any one or more second devices in a network based on network identification information, wherein the second devices are devices generating the same network identification information in the network; the first device communicates data with any one or more second devices in the network using the data transparent transmission channel.
Optionally, the processor may further execute the program code of the following steps: the first equipment is connected with the router and performs data access based on the router; when the first device and the router cannot communicate, the first device determines to adopt the data transparent transmission channel to communicate data with the second device.
Optionally, the processor may further execute the program code of the following steps: the method comprises the steps that a first device sends a first device frame to other devices in a network, wherein the first device frame carries network identification information of the first device; the first equipment receives response information returned by any one or more second equipment in other equipment, wherein the response information comprises signal strength generated by analyzing a first equipment frame; if the signal intensity of the first equipment frame is in a preset range, determining that any one or more second equipment and the first equipment have the same network identification information; and the first equipment and the second equipment with the same network identification information establish a data transparent transmission channel.
Optionally, the processor may further execute the program code of the following steps: the communication module included in each device in the control network generates network identification information by setting identification information corresponding to the same router or by adopting the same hash algorithm.
Optionally, the processor may further execute the program code of the following steps: the first device establishes a data transparent transmission channel with a local communication module and any one or more communication modules of second devices in the network.
Optionally, the processor may further execute the program code of the following steps: and the control filtering module stores the generated network identification information into a register associated with the communication module.
According to an alternative embodiment of the present application, the processor 902 may call the information and the application program stored in the memory 904 through a transmission device, and further configured to perform the following steps: the method comprises the steps that a first device and any one or more second devices in a network establish a data transparent transmission channel, wherein the first device and the second devices have the same network identification information; the first device communicates data with any one or more second devices in the network using the data transparent transmission channel.
Optionally, the processor may further execute the program code of the following steps: the method comprises the steps that a first device sends a first device frame to other devices in a network, wherein the first device frame carries network identification information of the first device; the first equipment receives response information returned by any one or more second equipment in other equipment, wherein the response information comprises signal strength generated by analyzing a first equipment frame; if the signal intensity of the first equipment frame is in a preset range, determining that any one or more second equipment and the first equipment have the same network identification information; and the first equipment and the second equipment with the same network identification information establish a data transparent transmission channel.
In another alternative embodiment of the present application, the processor 902 may invoke the information and applications stored in the memory 904 by a transmission device, and further be configured to perform the following steps: a data transparent transmission channel is established between any two devices in the network; when the first device of any two devices cannot communicate with the router, the first device is switched to the data transparent transmission channel to carry out data communication, wherein the first device is any one device in the network, and each device in the network communicates with the router.
By adopting the embodiment of the application, a communication method is provided. Under the WiFi module-based station mode and without increasing an operation interface, a new set of data communication channels established by BSSID filtering function is added to construct the direct communication capability between WiFi modules, it is achieved that all WiFi modules with the same BSSID on the same channel do not need to establish a connection, i.e., the purpose of communication, thereby realizing the communication between devices by using an access router (AP), under the condition that the router can not communicate, the technical effect of normal communication can be kept among the devices accessing the router, further solves the problem that in the prior art, in the system which utilizes the access router (AP) to complete the communication between the devices, the access router (AP) has a state of being unable to communicate due to the limitation of the number of access devices, performance bottleneck, the opening of an AP isolation function, and the like, resulting in technical problems of communication suspension or delay between devices of the access router (AP).
It can be understood by those skilled in the art that the structure shown in fig. 8 is only an illustration, and the computer terminal may also be a terminal device such as a smart phone (e.g., an Android phone, an iOS phone, etc.), a tablet computer, a palmtop computer, a Mobile Internet Device (MID), a PAD, and the like. Fig. 8 is a diagram illustrating a structure of the electronic device. For example, the computer terminal 80 may also include more or fewer components (e.g., network interfaces, display devices, etc.) than shown in FIG. 8, or have a different configuration than shown in FIG. 8.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by a program instructing hardware associated with the terminal device, where the program may be stored in a computer-readable storage medium, and the storage medium may include: flash disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
Embodiments of the present application also provide a storage medium. Alternatively, in this embodiment, the storage medium may be configured to store program codes executed by the communication method provided in embodiment 1.
Optionally, in this embodiment, the storage medium may be located in any one of computer terminals in a computer terminal group in a computer network, or in any one of mobile terminals in a mobile terminal group.
Optionally, in this embodiment, the storage medium is configured to store program code for performing the following steps: the first equipment generates network identification information; the method comprises the steps that a first device establishes a data transparent transmission channel with any one or more second devices in a network based on network identification information, wherein the second devices are devices generating the same network identification information in the network; the first device communicates data with any one or more second devices in the network using the data transparent transmission channel.
Optionally, the storage medium is configured to store program codes for performing the following steps: the first equipment is connected with the router and performs data access based on the router; when the first device and the router cannot communicate, the first device determines to adopt the data transparent transmission channel to communicate data with the second device.
Optionally, the storage medium is configured to store program codes for performing the following steps: the method comprises the steps that a first device sends a first device frame to other devices in a network, wherein the first device frame carries network identification information of the first device; the first equipment receives response information returned by any one or more second equipment in other equipment, wherein the response information comprises signal strength generated by analyzing a first equipment frame; if the signal intensity of the first equipment frame is in a preset range, determining that any one or more second equipment and the first equipment have the same network identification information; and the first equipment and the second equipment with the same network identification information establish a data transparent transmission channel.
Optionally, the storage medium is configured to store program codes for performing the following steps: the communication module included in each device in the control network generates network identification information by setting identification information corresponding to the same router or by adopting the same hash algorithm.
Optionally, the storage medium is configured to store program codes for performing the following steps: the first device establishes a data transparent transmission channel with a local communication module and any one or more communication modules of second devices in the network.
Optionally, the storage medium is configured to store program codes for performing the following steps: and the control filtering module stores the generated network identification information into a register associated with the communication module.
According to an alternative embodiment of the present application, the storage medium is further configured to store program code for performing the steps of: the method comprises the steps that a first device and any one or more second devices in a network establish a data transparent transmission channel, wherein the first device and the second devices have the same network identification information; the first device communicates data with any one or more second devices in the network using the data transparent transmission channel.
Optionally, the storage medium is configured to store program codes for performing the following steps: the method comprises the steps that a first device sends a first device frame to other devices in a network, wherein the first device frame carries network identification information of the first device; the first equipment receives response information returned by any one or more second equipment in other equipment, wherein the response information comprises signal strength generated by analyzing a first equipment frame; if the signal intensity of the first equipment frame is in a preset range, determining that any one or more second equipment and the first equipment have the same network identification information; and the first equipment and the second equipment with the same network identification information establish a data transparent transmission channel.
In another alternative embodiment of the present application, the storage medium is configured to store program code for performing the following steps: a data transparent transmission channel is established between any two devices in the network; when the first device of any two devices cannot communicate with the router, the first device is switched to the data transparent transmission channel to carry out data communication, wherein the first device is any one device in the network, and each device in the network communicates with the router.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present application, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present application and it should be noted that those skilled in the art can make several improvements and modifications without departing from the principle of the present application, and these improvements and modifications should also be considered as the protection scope of the present application.

Claims (15)

1. A method of communication, comprising:
the first equipment generates network identification information;
the first device establishes a data transparent transmission channel with any one or more second devices in the network based on the network identification information, wherein the second devices are devices generating the same network identification information in the network;
and the first equipment carries out data communication with any one or more second equipment in the network by using the data transparent transmission channel.
2. The method of claim 1, wherein before the first device communicates data with any one or more of the second devices in the network using the data-transparent channel, the method further comprises:
the first equipment is connected with a router and carries out data access based on the router;
and when the first equipment cannot communicate with the router, the first equipment determines to adopt the data transparent transmission channel to carry out data communication with the second equipment.
3. The method of claim 1, wherein before the first device communicates data with any one or more of the second devices in the network using the data-transparent channel, the method further comprises:
the first equipment establishes connection with base station equipment and performs data access based on the base station equipment; and when the first equipment and the base station equipment cannot communicate, the first equipment determines to adopt the data transparent transmission channel to carry out data communication with the second equipment.
4. The method of claim 1, wherein the first device establishes a data transparent channel with any one or more second devices in a network based on the network identification information, and the method comprises:
the first device sends a first device frame to other devices in the network, wherein the first device frame carries network identification information of the first device;
the first device receives response information returned by any one or more second devices in the other devices, wherein the response information comprises signal strength generated by analyzing the first device frame;
if the signal strength of the first device frame is within a preset range, determining that the any one or more second devices and the first device have the same network identification information;
and the first equipment and the second equipment with the same network identification information establish the data transparent transmission channel.
5. The method according to any one of claims 1 to 4, wherein each device in the network comprises a communication module, and each communication module generates the network identification information by setting identification information corresponding to the same router or by using the same hash algorithm.
6. The method of claim 5, wherein the first device establishes the data transparent channel with a local communication module and a communication module of any one or more of the second devices in the network.
7. The method of claim 5, wherein each device in the network further comprises a filter module configured to store the generated network identification information in a register associated with the communication module.
8. The method of claim 1, wherein the network identification comprises: a device identification of the second device;
the first device establishes a data transparent transmission channel with any one or more second devices in the network based on the network identification information, and the method comprises the following steps:
and the first equipment establishes Bluetooth communication connection based on the equipment identification of the second equipment so as to establish the data transparent transmission channel.
9. A method of communication, comprising:
a first device and any one or more second devices in a network establish a data transparent transmission channel, wherein the first device and the second devices have the same network identification information;
and the first equipment carries out data communication with any one or more second equipment in the network by using the data transparent transmission channel.
10. The method of claim 9, wherein the first device establishing a data transparent channel with any one or more second devices in the network comprises:
the first device sends a first device frame to other devices in the network, wherein the first device frame carries network identification information of the first device;
the first device receives response information returned by any one or more second devices in the other devices, wherein the response information comprises signal strength generated by analyzing the first device frame;
if the signal strength of the first device frame is within a preset range, determining that the any one or more second devices and the first device have the same network identification information;
and the first equipment and the second equipment with the same network identification information establish the data transparent transmission channel.
11. A method of communication, comprising:
a data transparent transmission channel is established between any two devices in the network;
when a first device of the two arbitrary devices cannot communicate with a router, the first device is switched to the data transparent transmission channel to perform data communication, wherein the first device is any one device in the network, and each device in the network communicates with the router.
12. A communication system, comprising:
a first device for generating network identification information;
any one or more second devices in the network, configured to establish a data transparent transmission channel with the first device based on the network identification information, where the second devices are devices in the network that generate the same network identification information;
and the first equipment carries out data communication with any one or more second equipment in the network by using the data transparent transmission channel.
13. A communication system, comprising: a router, a plurality of devices in a network; the method comprises the steps that a data transparent transmission channel is established between any two devices in the network, when a first device cannot communicate with the router, the first device is switched to the data transparent transmission channel to carry out data communication, wherein the first device is any one device in the network, and each device in the network is communicated with the router.
14. A storage medium, characterized in that the storage medium includes a stored program, wherein, when the program runs, a device in which the storage medium is located is controlled to execute the communication method according to any one of claims 1 to 11.
15. A computing device, comprising:
a processor; and
a memory coupled to the processor for providing instructions to the processor for processing the following processing steps: the first equipment generates network identification information; the first device establishes a data transparent transmission channel with any one or more second devices in the network based on the network identification information, wherein the second devices are devices generating the same network identification information in the network; and the first equipment carries out data communication with any one or more second equipment in the network by using the data transparent transmission channel.
CN202010567010.9A 2020-06-19 2020-06-19 Communication method, communication system, storage medium, and computing device Active CN113824753B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010567010.9A CN113824753B (en) 2020-06-19 2020-06-19 Communication method, communication system, storage medium, and computing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010567010.9A CN113824753B (en) 2020-06-19 2020-06-19 Communication method, communication system, storage medium, and computing device

Publications (2)

Publication Number Publication Date
CN113824753A true CN113824753A (en) 2021-12-21
CN113824753B CN113824753B (en) 2023-09-15

Family

ID=78911982

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010567010.9A Active CN113824753B (en) 2020-06-19 2020-06-19 Communication method, communication system, storage medium, and computing device

Country Status (1)

Country Link
CN (1) CN113824753B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114501589A (en) * 2022-01-27 2022-05-13 阿里巴巴(中国)有限公司 Wireless access method, wireless access point, terminal device and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120120892A1 (en) * 2010-11-16 2012-05-17 Interdigital Patent Holdings, Inc. Method and apparatus for wireless direct link operation
CN102907125A (en) * 2009-11-04 2013-01-30 高通股份有限公司 Method and apparatus for peer discovery in a wireless communication network
CN104885398A (en) * 2012-12-27 2015-09-02 摩托罗拉移动有限责任公司 Method and apparatus for device-to-device communication
US20170202035A1 (en) * 2016-01-13 2017-07-13 Seiko Epson Corporation Wireless communication terminal, wireless communication system, and storage medium storing wireless communication program
CN107787026A (en) * 2016-08-25 2018-03-09 三星电子株式会社 For identifying the method for position and realizing the electronic installation of this method
US20190098679A1 (en) * 2016-06-08 2019-03-28 Huawei Technologies Co., Ltd. Communication Method, First Station, Second Station, And Access Point
US20190149690A1 (en) * 2017-11-15 2019-05-16 Canon Kabushiki Kaisha Communication apparatus, communication method and storage medium storing program

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102907125A (en) * 2009-11-04 2013-01-30 高通股份有限公司 Method and apparatus for peer discovery in a wireless communication network
US20120120892A1 (en) * 2010-11-16 2012-05-17 Interdigital Patent Holdings, Inc. Method and apparatus for wireless direct link operation
CN104885398A (en) * 2012-12-27 2015-09-02 摩托罗拉移动有限责任公司 Method and apparatus for device-to-device communication
US20170202035A1 (en) * 2016-01-13 2017-07-13 Seiko Epson Corporation Wireless communication terminal, wireless communication system, and storage medium storing wireless communication program
US20190098679A1 (en) * 2016-06-08 2019-03-28 Huawei Technologies Co., Ltd. Communication Method, First Station, Second Station, And Access Point
CN107787026A (en) * 2016-08-25 2018-03-09 三星电子株式会社 For identifying the method for position and realizing the electronic installation of this method
US20190149690A1 (en) * 2017-11-15 2019-05-16 Canon Kabushiki Kaisha Communication apparatus, communication method and storage medium storing program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114501589A (en) * 2022-01-27 2022-05-13 阿里巴巴(中国)有限公司 Wireless access method, wireless access point, terminal device and storage medium

Also Published As

Publication number Publication date
CN113824753B (en) 2023-09-15

Similar Documents

Publication Publication Date Title
EP3934117A1 (en) Method for establishing service connection, bluetooth master device, chip, and bluetooth system
CN107249174B (en) Communication connection establishing method and terminal
US20190045476A1 (en) User device and message forwarding method
CN109756951B (en) Method and user equipment for network selection
CN106210023B (en) Virtual SIM card synchronous management method and terminal
US20150098430A1 (en) Channel switching method, apparatus, and device
CN101951665A (en) Routing method of double-card mobile terminal and double-card mobile terminal
CN106211132B (en) Virtual SIM card identification method and terminal
EP2670107B1 (en) Communication method for wireless terminal and host device, and wireless terminal and host device
EP2713637B1 (en) Location update method and system
CN113824753B (en) Communication method, communication system, storage medium, and computing device
US11903060B2 (en) User interface (UI) display control method, electronic device, and storage medium
US20140106745A1 (en) Dynamic wireless transceiver selection in a wireless communication device
US11310794B2 (en) Data transmission method in internet of vehicles and terminal
JP6241691B2 (en) Wireless access method, apparatus and system
CN112788160A (en) Switching method and switching device of address information
CN110602693B (en) Networking method and equipment of wireless network
CN113543238B (en) Data transmission method and base station
US10972883B2 (en) Terminal and data transmission to perform terminal to terminal data transmission in an internet of vehicles (IoV) system
CN109495918B (en) Data transmission method and device
EP4054220A1 (en) Mobile service access method, device, and system, storage medium, and electronic device
CN105429668A (en) Method and device for controlling radio-frequency link
CN106656772B (en) Network access system
CN117156522A (en) Method for multi-path dialing and related equipment
CN114356493A (en) Communication method and device between virtual machine instances of cross-cloud server and processor

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