CN114630390A - Automatic cooperation method and device for network equipment and storage medium - Google Patents

Automatic cooperation method and device for network equipment and storage medium Download PDF

Info

Publication number
CN114630390A
CN114630390A CN202011433605.1A CN202011433605A CN114630390A CN 114630390 A CN114630390 A CN 114630390A CN 202011433605 A CN202011433605 A CN 202011433605A CN 114630390 A CN114630390 A CN 114630390A
Authority
CN
China
Prior art keywords
network
network device
terminal
equipment
network 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.)
Pending
Application number
CN202011433605.1A
Other languages
Chinese (zh)
Inventor
王煜辰
杨莹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN202011433605.1A priority Critical patent/CN114630390A/en
Publication of CN114630390A publication Critical patent/CN114630390A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/02Access restriction performed under specific conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Abstract

The invention discloses an automatic cooperation method, equipment and a storage medium of network equipment, which relate to the field of terminals, and the method comprises the following steps: after a first network device is connected with a terminal, detecting the connection of a second network device and the terminal; when the second network equipment is detected to be connected with the terminal, controlling the first network equipment and the second network equipment to enter a cooperation mode; the first network device and the second network device cooperate automatically to enable the terminal to access a network through at least one of the first network device and the second network device cooperating with each other. The embodiment of the invention can realize high-speed and stable internet surfing without complex configuration when the terminal surfs the internet through a plurality of network devices.

Description

Automatic cooperation method and device for network equipment and storage medium
Technical Field
The present invention relates to the field of terminals, and in particular, to an automatic collaboration method and apparatus for a network device, and a storage medium.
Background
When a plurality of devices are connected to a PC at the same time, a user can only use one device to perform data services in a default state without configuring a route. In some cases, for example, different operators may access different target websites in different regions with different delays or rates, or multiple devices are used for rate superposition, and a user needs to use multiple devices to keep the connection highly stable, and setting a route may be cumbersome.
Disclosure of Invention
Embodiments of the present invention provide an automatic collaboration method, device, and storage medium for network devices, which at least enable a user to access the internet through multiple network devices, and implement high-speed and stable internet access without complex configuration.
The embodiment of the invention provides an automatic cooperation method of network equipment, which comprises the following steps: after a first network device is connected with a terminal, detecting the connection of a second network device and the terminal; when the second network equipment is detected to be connected with the terminal, controlling the first network equipment and the second network equipment to enter a cooperation mode; the first network device and the second network device cooperate automatically to enable the terminal to access a network through at least one of the first network device and the second network device cooperating with each other.
In one embodiment, the detecting that the second network device is connected to the terminal includes: and when the identifier of the terminal connected with the first network equipment is consistent with the identifier of the terminal connected with the second network equipment, determining that the connection between the second network equipment and the terminal is detected.
In an embodiment, the method further comprises: after the first network equipment is connected with the terminal, detecting whether second network equipment exists around the first network equipment; when the second network equipment is detected to exist around, the first network equipment is connected with the second network equipment in a near field communication mode so as to interact with the second network equipment to identify the terminal connected with the first network equipment; or when the second network equipment is detected not to exist around, the first network equipment configures the self state into the searched state for being searched by other network equipment which is accessed into the terminal subsequently.
In one embodiment, the detecting whether the second network device exists in the surrounding includes: the first network device detects whether the second network device with the same model exists around the first network device.
In an embodiment, the controlling, when it is detected that a second network device is connected to the terminal, the first network device and the second network device to enter the cooperative mode includes: and when the second network equipment is detected to be connected with the terminal, the first network equipment and the second network equipment enter a cooperation mode according to a preset confirmation message or a preset instruction.
In one embodiment, the automatically cooperating the first network device and the second network device to enable the terminal to access the network through at least one of the first network device and the second network device cooperating with each other includes: the first network device creates a hotspot for the second network device to connect with and disconnects with the terminal, so that the second network device accesses a network by using at least one of the first network device and the second network device when the terminal accesses the network; or the first network device is connected with the second network device after the second network device creates the hotspot, and after the second network device is disconnected from the terminal, the terminal accesses the network by using at least one of the first network device and the second network device.
In one embodiment, said accessing a network with at least one of said first network device and said second network device comprises: receiving operation information for accessing a network; when the operation information is operation information of downloading files, accessing a network by using the first network equipment and the second network equipment; or when the operation information is the operation information of the non-download file, accessing the network by using the first network equipment or the second network equipment.
In one embodiment, the accessing a network with the first network device or the second network device comprises: and acquiring the delay time of the first network equipment and the second network equipment for accessing the network, and accessing the network by utilizing the network equipment with small delay time.
The embodiment of the invention provides automatic cooperation equipment of network equipment, which comprises a memory, a processor and a program stored on the memory and capable of running on the processor, wherein the program realizes the steps of the automatic cooperation method of the network equipment when being executed by the processor.
An embodiment of the present invention provides a storage medium for computer-readable storage, where one or more programs are stored, and the one or more programs are executable by one or more processors to implement the steps of the automatic collaboration method of the network device described above.
The embodiment of the invention provides an automatic cooperation method, equipment and a storage medium of network equipment, wherein after a first network equipment is connected with a terminal, whether a second network equipment is connected with the terminal is detected; when detecting that the second network equipment is connected with the terminal, controlling the first network equipment and the second network equipment to enter a cooperation mode; the first network device and the second network device automatically cooperate to enable the terminal to access a network through at least one of the first network device and the second network device which cooperate with each other. Therefore, when a user surfs the internet through a plurality of network devices, high-speed and stable internet surfing can be realized without complex configuration, the route setting is simplified, and the user experience is improved.
Drawings
FIG. 1 is a schematic flow chart diagram of automatic collaboration of network devices provided by an embodiment of the present invention;
fig. 2 is a schematic diagram of a system structure in an initial state in which multiple devices simultaneously access the same PC according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a system after multiple devices implement an automatic collaboration function according to an embodiment of the present invention;
FIG. 4 is a schematic flow chart of accessing a PC by a device provided by the embodiment of the invention;
FIG. 5 is a schematic flow chart diagram of an embodiment of the present invention for automatically negotiating pairing for a device;
FIG. 6 is a schematic flow chart of a device entering a cooperative mode provided by an embodiment of the present invention;
FIG. 7 is a schematic flow chart diagram for implementing a routing policy provided by an embodiment of the present invention;
fig. 8 is a schematic structural diagram of an automatic collaboration device of a network device according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of an automatic collaboration device of a network device according to an embodiment of the present invention.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the following description, suffixes such as "module", "part", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no peculiar meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
Embodiments of the present invention provide an automatic cooperation method, apparatus, device and storage medium for a network device, which help a user to automatically cooperate multiple network devices (or called wireless data terminals, internet access terminals, etc.) without complex configuration when the user inserts multiple devices into a terminal (for example, a PC) at the same time after the multiple network devices are simultaneously accessed to the terminal, so as to enable the terminal to stably access a target network at a high speed.
Fig. 1 is a schematic flow chart of automatic collaboration of network devices provided by an embodiment of the present invention, and as shown in fig. 1, the method may include:
step S101: after a first network device is connected with a terminal, the connection between a second network device and the terminal is detected.
Specifically, the identifier of the terminal connected to the first network device and the identifier of the terminal connected to the second network device are obtained, and when the identifier of the terminal connected to the first network device is consistent with the identifier of the terminal connected to the second network device, it is determined that the connection between the second network device and the terminal is detected. Taking the terminal as a PC for example, the identifier may be an internet input output system NAME (NetBIOS NAME) of the PC. At this time, the first network device obtains the NetBIOS NAME of the PC accessed by the first network device, and obtains the NetBIOS NAME of the PC accessed by the second network device by performing close-range interaction with the second network device, the first network device compares the NetBIOS NAME of the PC accessed by the first network device with the NetBIOS NAME of the PC accessed by the second network device, when the NetBIOS NAMEs are consistent, the first network device determines that the second network device is accessed to the same PC, or when the NetBIOS NAMEs are not consistent, the first network device determines that the second network device is accessed to different PCs, and at this time, the close-range communication connection with the second network device can be disconnected.
Generally, the first network device detects whether the second network device exists around after connecting to the terminal, and when the second network device exists around the first network device, the first network device connects to the second network device through close-range communication so as to interact with the identifier of the terminal connected to the second network device, or when the second network device does not exist around the first network device, the first network device configures its own state as a searched state for searching by other network devices subsequently accessing to the terminal. In an embodiment, after the first network device is connected to the terminal, it is detected whether there are second network devices of the same model around the first network device; if the second network equipment with the same model exists around the first network equipment, the first network equipment is connected with the second network equipment with the same model through a near field communication mode so as to interact with the second network equipment with the same model to identify the terminal connected with the second network equipment; if the second network equipment with the same model does not exist around the first network equipment, the first network equipment configures the self state into a searched state for searching other network equipment which is accessed to the terminal subsequently. Also taking the terminal as a PC and the identifier as a NetBIOS NAME of the PC as an example, after the first network device is connected to the PC, it may detect whether there is a second network device with the same model around the terminal, for example, it is found whether there is a second network device with the same model around the terminal through bluetooth, when it is detected that there is a second network device with the same model around the terminal, the first network device connects the second network device with the same model through a near field communication manner such as bluetooth, so as to interact with the NetBIOS NAME of the PC connected to the second network device with the same model, or when it is detected that there is no second network device with the same model around the terminal, the first network device configures its own state as a searched state for searching by other network devices connected to the PC later.
Step S102: and when detecting that the second network equipment is connected with the terminal, controlling the first network equipment and the second network equipment to enter a cooperation mode.
Specifically, when it is detected that the second network device is connected to the terminal, the first network device and the second network device enter a cooperation mode according to a preset confirmation message or a preset instruction.
Entering the cooperative mode according to the preset confirmation message may include: the method includes the steps that a first network device obtains a first preset confirmation message from a screen of the first network device and a second preset confirmation message from a second network device, and confirms that the first network device and the second network device enter a cooperation mode according to the first preset confirmation message and the second preset confirmation message, specifically, when the first preset confirmation message and the second preset confirmation message are confirmation messages entering the cooperation mode, the first network device and the second network device can enter the cooperation mode.
Entering the cooperative mode according to the preset instruction may include: after the first network device and the second network device are connected with the terminal, the first network device and the second network device enter a cooperation mode according to respective stored preset instructions.
Step S103: the first network device and the second network device cooperate automatically to enable the terminal to access a network through at least one of the first network device and the second network device cooperating with each other.
In one embodiment, the first network device creates a hotspot for the second network device to connect to, and disconnects from, the terminal, so that the second network device accesses a network by using at least one of the first network device and the second network device when the terminal accesses the network, specifically, the second network device receives operation information for accessing the network, when the operation information is operation information of a downloaded file, the second network device accesses the network by using the first network device and the second network device, that is, the downloading is accelerated by a rate superposition manner, or when the operation information is operation information of a non-downloaded file, for example, a web page is browsed, the second network device accesses the network by using the first network device or the second network device, for example, the second network device obtains a delay time of the first network device and the second network device accessing the network, and access the network using a network device having a small delay time.
In another embodiment, the first network device connects to the second network device after the second network device creates the hotspot, and after the second network device disconnects from the terminal, the first network device accesses the network by using at least one of the first network device and the second network device when the terminal accesses the network, specifically, the first network device receives operation information for accessing the network, and when the operation information is operation information for downloading a file, the first network device accesses the network by using the first network device and the second network device, that is, speeding up downloading by a rate superposition manner, or when the operation information is operation information for browsing a webpage, the first network device accesses the network by using the first network device or the second network device, for example, the first network device obtains a delay time for the first network device and the second network device to access the network, and access the network using a network device having a small delay time.
In the above embodiment, the hotspot may be a WIFI hotspot or the like.
It should be noted that, in this embodiment, the first network device and the second network device may be network devices of the same user. Whether a plurality of network devices are network devices of the same user may be determined in various ways, for example, whether the device a and the device B belong to the same user may be determined using bluetooth signal strength, avoiding the user's operation, and for example, both network devices may acquire GPS information and then communicate with a remote server, which determines whether both network devices belong to one user in one area based on the GPS information of both network devices, so as to enter a cooperation mode.
The invention is applied to the purposes of accelerating the network, reducing the delay, automatically routing and the like by using the automatic cooperation mode of the equipment when the terminal realizes a more high-speed and stable network by accessing a plurality of mobile data equipment (or called network equipment and internet equipment) without complex configuration (or no perception) of a user.
The present invention will be described in detail below with reference to fig. 2 to 7, taking the example that the terminal is a PC and the identifier is the NetBIOS NAME of the PC.
The invention solves the problem of IP address conflict when multiple devices are simultaneously inserted into the PC when realizing the automatic cooperation of the multiple devices when the multiple devices are simultaneously accessed into the same PC. When solving the IP address conflict, mobile data equipment (or called network equipment, internet equipment) adopts the automatic identification scheme, and mobile data equipment must can automatic identification promptly have two mobile data equipment to be connected to same PC, realizes that this scheme must install bluetooth chip and WIFI chip on mobile data equipment, and the step can include: the device A is plugged into a PC, and meanwhile, the Bluetooth adapter searches whether the same device exists nearby or not; the device B is plugged into a PC, and meanwhile, the Bluetooth adapter searches whether the same device exists nearby or not; if the same device is searched, the device A, B simultaneously judges whether the NetBios names simultaneously connected with the two devices are the same, if not, the device A, B is considered to be connected to the two PCs, and if the NetBios names are the same, as shown in fig. 2, the device A, B simultaneously performs DNS hopping or sends authentication information to the PCs, so that a user can see a prompt that the two devices are simultaneously connected to the PC in an operating system interface and inquire whether the user enters a multi-device cooperation mode; if the user uses the multi-device cooperation mode, the device which does not respond to the user operation automatically disconnects with the PC, for example, if the device A disconnects with the PC, at the moment, the device A and the device B automatically negotiate WIFI connection; the device a establishes a WIFI connection with the device B, and at this time, the PC is connected with the device a through the device B, as shown in fig. 3. Through the steps, the device A and the device B are simultaneously connected with the PC in a state that the routing configuration of the user is not needed.
The invention can realize other functions such as automatic load balancing or automatic routing and the like when realizing the automatic cooperation of multiple devices when the multiple devices are simultaneously accessed into the same PC. When multi-device automatic cooperation is realized, the steps can be as follows: the device A is provided with a WAN port connected with the internet, a LAN port (wireless) is connected with the device B, the device B is provided with a WAN port (wireless) connected with the device A, the other WAN port is connected with the internet, and the LAN port is connected with the PC, as shown in figure 3; device B implements intelligent routing. The routing policy is that if the PC is in the download mode, the device a is used for acceleration, if the PC is in the browse page or game mode, the device B determines the connection state between the device A, B and the target before establishing the connection, and when establishing the connection, the device with fast connection is used for communication with the target; if the flow of the equipment A or the equipment B is insufficient, the WAN port of the equipment A or the WAN port of the equipment B with insufficient flow is automatically disconnected, and when the equipment A or the equipment B with insufficient flow is accessed into the PC for next time and Bluetooth scanning is carried out to establish WIFI connection, the equipment A or the equipment B with insufficient flow is not directly connected with the PC. So far, the whole automatic cooperation of multiple devices is realized.
Fig. 4 is a schematic flowchart of the device accessing the PC according to the embodiment of the present invention, and as shown in fig. 4, the steps may include:
step S401: the network device plugs into the PC USB port.
The network device in this embodiment is a USB device, and thus the process in this embodiment is a USB device process. In practical application, the network device may also be a WIFI device, and the flow of the WIFI device is substantially the same as the flow of the USB device in this embodiment, which is not described herein again.
Step S402: the virtual RNIDS (Remote Network Driver Interface Specification) Network card of the Network device communicates with the PC normally.
Step S403: the network device turns on the bluetooth to scan for nearby devices.
Step S404: the network device determines whether the same model device is detected, if the same model device is not found, step S411 is performed, the network device enters a bluetooth searched mode to be in a searched state, and if the same model device is found, step S405 is performed, and bluetooth auto-negotiation connection of the two devices is performed.
Note that, if the countdown click terminates, the task terminates.
In implementation, if the bluetooth devices of the same model are found, the user can be prompted whether to enter the cooperation mode, and after the user confirms, the automatic negotiation connection is performed.
Generally, the bluetooth name of the device is suffix with model + such as the name of device a is MobileDataCard _ a123 and the name of device B is MobileDataCard _ B234, so that it can be confirmed whether it is a bluetooth device of the same model by the bluetooth name of the device. It should be noted that, the network device of the present invention, whether it is a USB type device, a WiFi type device or other types of devices, can confirm whether the other party has the function through the device name.
Step S406: after the two devices are connected, the NetBIOS name of the PC connected with the two devices is exchanged through a Bluetooth protocol.
Step S407: the network device determines whether the NetBIOS names of the respective connected PCs are consistent, if the NetBIOS names are consistent, step S408 is executed, whether the user enters a cooperation mode is prompted, if the NetBIOS names are inconsistent, step S412 is executed, and the Bluetooth of the network device enters a searched state.
It should be noted that, the invention prompts whether the user enters the collaboration mode on the screen of the network device, and can also prompt the user on the PC page by using the dns jump technology, thereby improving the user experience.
Step S409: if the user confirms to enter the cooperative mode on the device B, step S410 is executed, and the two devices enter the cooperative mode.
When the user confirms whether to enter the cooperation mode, part of the network equipment with the touch screen can prompt the user whether to enter the cooperation mode through the screen display and the button of the network equipment, and the user clicks the key to enter the cooperation mode.
It should be noted that, in this embodiment, a precondition for entering the collaboration mode is that the same pc (netbios name), and the same user, in order to avoid that the user illegally enters the collaboration mode by modifying the netbios name nearby, must make the user perform key confirmation on the device B.
Fig. 5 is a schematic flowchart of automatically negotiating pairing for a device according to an embodiment of the present invention, where as shown in fig. 5, the steps may include:
step S501-step S502: the device a has accessed the PC and normally communicates with the PC, and after searching for no surrounding devices of the same type, enters a searched mode to be in a searched state.
Step S503-step S504: and the device B is inserted into the PC and normally communicates with the PC, and starts to search whether the same-model devices exist nearby.
Step S505 to step S506: the device B searches the device A with the same model and connects the device A, and the device A is connected by the device B at the moment.
Step S507a and S507B, device A and device B acquire NetBIos name of the PC to which each is connected.
Step S508: if the device a confirms that the NetBIos names of the PCs to which the device a and the device B are connected respectively coincide, step S509a is executed to prompt the user whether to enter the cooperation mode.
Step S510a, after device a confirms, waits for the user to confirm on device B (i.e., step S509B and step S510B).
Steps S511a and S511 b: after confirmation, device a and device B enter the cooperative mode.
Fig. 6 is a schematic flowchart of a device entering a cooperation mode according to an embodiment of the present invention, and as shown in fig. 6, the steps may include:
steps S601a and S601 b: device a and device B enter a cooperative mode.
Step S602-step S603: the device B creates a WIFI hotspot, the device A is connected with the WIFI hotspot created by the device B, the WIFI and the password are automatically and randomly generated through Bluetooth negotiation, and the WIFI and the password can be hidden so as to enable a user to have no perception.
It should be noted that the wifi hotspot created by device B should use a different network segment from the connection created by device a and the PC. For example, the network segment of the device a and the PC is 192.168.0.1, and the subnet mask is 255.255.255.0, the network segment of the device B and the device a is 192.168.1.1, and the subnet mask is 255.255.255.0.
Step S604-step S605: the device B disconnects the connection with the PC, and the routing strategy of the device A automatically judges whether the internet is accessed through the wireless network of the device A or the wireless network of the device B.
The routing policy may include the following: if the webpage is browsed, judging an exit according to the Ping value of the target network; if the file is downloaded, the rate of the equipment A and the rate of the equipment B are overlapped; and if the flow of a certain device is 0, automatically stopping accessing the Internet. The user accesses the internet with another device.
Fig. 7 is a schematic flowchart of executing a routing policy according to an embodiment of the present invention, and as shown in fig. 7, the steps may include:
step S701: and receiving user operation.
Step S702: judging whether the operation is used for downloading the file, if so, executing step S703, namely, the device A and the device B are used for simultaneously downloading the file at the overlapping rate, otherwise, executing step S704 to step S706, confirming that the operation is not used for downloading the file but browsing the webpage, and at this moment, recording the delay of the device A and the device B, and using an exit with low delay to access the network.
It should be noted that the routing strategy is flexible, for example, when the user is on a long-distance train, the delay of accessing the target network through two network cards changes at any time, and the delay needs to be recorded at intervals so as to optimize the network access.
Step S707-step S708: and judging whether the equipment A and the equipment B have flow, and if certain equipment has no flow, forbidding an outlet of the equipment without flow.
It should be noted that the present invention is applicable to 2 and more than 2 network devices, and when the present invention is applied to more than 2 network devices, the processing steps are consistent with the solutions of the above embodiments because the PC-connected network devices are respectively connected to other devices through WIFI.
It should be noted that, after the network device is plugged out and then plugged in, the user can directly enter the collaboration mode without user selection.
Fig. 8 is a schematic structural diagram of an automatic collaboration apparatus for network devices according to an embodiment of the present invention, and as shown in fig. 8, the apparatus may include a detection module 81, a control module 82, and a collaboration module 83. Wherein:
the detection module 81 is configured to detect connection between a second network device and the terminal after the first network device is connected to the terminal. Specifically, the detection module 81 obtains an identifier of the terminal connected to the first network device and an identifier of the terminal connected to the second network device, and determines to detect the connection between the second network device and the terminal when the identifier of the terminal connected to the first network device is consistent with the identifier of the terminal connected to the second network device. Taking the terminal as a PC for example, the identifier may be an internet input output system NAME (NetBIOS NAME) of the PC. At this time, the detection module 81 obtains the NetBIOS NAME of the PC to which the first network device is accessed, performs short-distance interaction with the second network device to obtain the NetBIOS NAME of the PC to which the second network device is accessed, compares the NetBIOS NAMEs of the PCs to which the first network device and the second network device are respectively accessed, determines that the first network device and the second network device are accessed to the same PC when the NetBIOS NAMEs are consistent, determines that the first network device and the second network device are accessed to different PCs when the NetBIOS NAMEs are inconsistent, and may disconnect the short-distance communication connection between the first network device and the second network device at this time. Generally, after the first network device connects to the terminal, the detection module 81 may detect whether the second network device (e.g., the second network device of the same model) exists around the first network device; when the second network equipment (such as second network equipment with the same model) exists around the network equipment, connecting the first network equipment and the second network equipment in a near field communication mode so that the first network equipment and the second network equipment can interact the identification of the terminal connected with each other; or when the second network equipment (such as the second network equipment of the same model) does not exist in the periphery, the detection module configures the state of the first network equipment into a searched state for searching by other network equipment which is accessed into the terminal subsequently. Also taking the terminal as a PC and the identifier as an example of NetBIOS NAME of the PC, after the first network device accesses the PC, the detecting module 81 may detect whether there is a second network device of the same model around the first network device, for example, discover whether there is a second network device of the same model around the first network device through bluetooth, when it is detected that there is a second network device of the same model around the first network device, connect the first network device and the second network device of the same model through a short-range communication manner such as bluetooth, so that the first network device and the second network device of the same model interact with NetBIOS NAME of the respective accessed PC, or configure the first network device in a searched state when it is detected that there is no second network device of the same model around the first network device, for other network devices subsequently accessing the PC to search.
The control module 82 is configured to control the first network device and the second network device to enter a cooperation mode when it is detected that the second network device is connected to the terminal. Specifically, when detecting that the second network device is connected to the terminal, the control module 82 enables the first network device and the second network device to enter a cooperation mode according to a preset confirmation message or a preset instruction. In an embodiment, the confirmation module 82 obtains a first preset confirmation message from a screen of the first network device and a second preset confirmation message from the second network device, and confirms that the first network device and the second network device enter the cooperative mode according to the first preset confirmation message and the second preset confirmation message, and further, when both the first preset confirmation message and the second preset confirmation message are confirmation messages entering the cooperative mode, the first network device and the second network device may enter the cooperative mode. In another embodiment, after the first network device and the second network device are connected to the terminal, the first network device and the second network device enter a cooperation mode according to respective stored preset instructions.
The cooperation module 83 is configured to enable the first network device and the second network device to automatically cooperate with each other, so that the terminal accesses a network through at least one of the first network device and the second network device that cooperate with each other.
In one embodiment, the cooperation module 83 creates a hotspot (e.g., a WIFI hotspot) for the second network device to connect to the first network device as a hotspot, and disconnects the first network device from the terminal, so that the second network device accesses a network by using at least one of the first network device and the second network device when the terminal accesses the network, specifically, the second network device receives operation information of a user accessing the network, when the operation information is operation information of downloading a file, the second network device accesses the network by using the first network device and the second network device, that is, speeding up downloading by way of rate superposition, or when the operation information is operation information of non-downloading file, such as browsing a web page, the second network device accesses the network by using the first network device or the second network device, for example, the second network device obtains the delay time of the first network device and the second network device for accessing the network, and accesses the network by using the network device with a small delay time.
In another embodiment, the cooperation module 83 connects the first network device to the second network device as a hotspot (e.g., a WIFI hotspot) after the second network device creates the hotspot, and accesses a network by using at least one of the first network device and the second network device when the terminal accesses the network after the second network device disconnects from the terminal, specifically, the cooperation module 83 receives operation information of a user accessing the network, and when the operation information is operation information of downloading a file, the first network device and the second network device are used to access the network, that is, the downloading is accelerated by a rate superposition manner, or when the operation information is operation information of browsing a web page, the first network device or the second network device are used to access the network, for example, a delay time of the first network device and the second network device accessing the network is obtained, and access the network using a network device having a small delay time.
It should be noted that the first network device and the second network device of this embodiment are network devices of the same user.
The embodiment of the invention is applied to the purposes of accelerating the network, reducing delay, automatically routing and the like by using an automatic cooperation mode of the equipment under the condition that a user does not need to perform complex configuration when the user wants to realize a more high-speed and stable network by accessing a plurality of network equipment.
Fig. 9 is a schematic structural diagram of an automatic collaboration device of a network device according to an embodiment of the present invention, and as shown in fig. 9, the device includes a memory 91, a processor 92, and a program stored in the memory 91 and executable on the processor 92, where the program implements the steps of the automatic collaboration method of the network device when executed by the processor 92.
The processor 92 may be a central processing unit, a digital signal processor or a microprocessor, etc., and the memory 91 may be a RAM, a ROM, an EEPROM, etc.
According to the embodiment of the invention, under the scene that the user has higher network requirements, the user can access the network through a plurality of network devices, and the user experience is further improved.
An embodiment of the present invention further provides a storage medium for a computer-readable storage, where the storage medium stores one or more programs, and the one or more programs are executable by one or more processors to implement the steps of the automatic collaboration method for a network device described above.
One of ordinary skill in the art will appreciate that all or some of the steps of the methods, systems, functional modules/units in the devices disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof.
In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed by several physical components in cooperation. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as is well known to those of ordinary skill in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by a computer. In addition, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as is well known to those skilled in the art.
The preferred embodiments of the present invention have been described above with reference to the accompanying drawings, and are not to be construed as limiting the scope of the invention. Any modifications, equivalents and improvements which may occur to those skilled in the art without departing from the scope and spirit of the present invention are intended to be within the scope of the claims.

Claims (10)

1. A method for automatic collaboration of network devices, the method comprising:
after a first network device is connected with a terminal, detecting the connection of a second network device and the terminal;
when the second network equipment is detected to be connected with the terminal, controlling the first network equipment and the second network equipment to enter a cooperation mode;
the first network device and the second network device cooperate automatically to enable the terminal to access a network through at least one of the first network device and the second network device cooperating with each other.
2. The method of claim 1, wherein the detecting the connection of the second network device with the terminal comprises:
and when the identifier of the terminal connected with the first network equipment is consistent with the identifier of the terminal connected with the second network equipment, determining that the connection between the second network equipment and the terminal is detected.
3. The method of claim 2, further comprising:
after the first network equipment is connected with the terminal, detecting whether second network equipment exists around the first network equipment;
when the second network equipment is detected to exist around, the first network equipment is connected with the second network equipment in a near field communication mode so as to interact with the second network equipment to identify the terminal connected with the first network equipment; or
When the second network equipment is detected not to exist around, the first network equipment configures the self state into the searched state for being searched by other network equipment which is accessed into the terminal subsequently.
4. The method of claim 3, wherein the detecting whether the second network device is present in the surrounding comprises:
the first network device detects whether the second network device with the same model exists around the first network device.
5. The method of claim 1, wherein the controlling the first network device and the second network device to enter the cooperative mode when the second network device is detected to be connected to the terminal comprises:
and when the second network equipment is detected to be connected with the terminal, the first network equipment and the second network equipment enter a cooperation mode according to a preset confirmation message or a preset instruction.
6. The method of claim 1, wherein automatically cooperating the first network device and the second network device to enable the terminal to access a network through at least one of the first network device and the second network device cooperating with each other comprises:
the first network device creates a hotspot for the second network device to connect with and disconnects with the terminal, so that the second network device accesses a network by using at least one of the first network device and the second network device when the terminal accesses the network;
or the first network device is connected with the second network device after the second network device creates the hotspot, and after the second network device is disconnected from the terminal, the terminal accesses the network by using at least one of the first network device and the second network device.
7. The method of claim 6, wherein the accessing a network using at least one of the first network device and the second network device comprises:
receiving operation information for accessing a network;
when the operation information is operation information of downloading files, accessing a network by using the first network equipment and the second network equipment; or
And when the operation information is the operation information of the non-download file, accessing the network by using the first network equipment or the second network equipment.
8. The method of claim 7, wherein the accessing a network with the first network device or the second network device comprises:
and acquiring the delay time of the first network equipment and the second network equipment for accessing the network, and accessing the network by utilizing the network equipment with small delay time.
9. An automatic collaboration device of a network device, the device comprising a memory, a processor, a program stored on the memory and executable on the processor, the program, when executed by the processor, implementing the steps of the automatic collaboration method of the network device as claimed in any one of claims 1 to 8.
10. A storage medium for computer-readable storage, characterized in that the storage medium stores one or more programs which are executable by one or more processors to implement the steps of the automatic collaboration method of network devices of any one of claims 1 to 8.
CN202011433605.1A 2020-12-10 2020-12-10 Automatic cooperation method and device for network equipment and storage medium Pending CN114630390A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011433605.1A CN114630390A (en) 2020-12-10 2020-12-10 Automatic cooperation method and device for network equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011433605.1A CN114630390A (en) 2020-12-10 2020-12-10 Automatic cooperation method and device for network equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114630390A true CN114630390A (en) 2022-06-14

Family

ID=81895988

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011433605.1A Pending CN114630390A (en) 2020-12-10 2020-12-10 Automatic cooperation method and device for network equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114630390A (en)

Similar Documents

Publication Publication Date Title
EP2696559B1 (en) Method and Device for Resource Sharing Between Devices
EP3151628B1 (en) Method, device and system for accessing a wireless network
CA2875653C (en) Wireless session configuration persistence
EP3253080B1 (en) Data sharing method and system
EP2914046A1 (en) Communication connection establishment method and terminal
EP2823578B1 (en) Apparatuses and methods for implementing peer-to-peer wireless connections
CN108781473B (en) Method and equipment for sharing files among different terminals
KR101332813B1 (en) Wireless communication apparatus and method for generating wireless access channel thereof
EP3163946B1 (en) Transmission list in wi-fi acces point
CN103827866A (en) Network connected media gateway for communication networks
WO2020011194A1 (en) Wireless connection method and device
US11057821B2 (en) Method and device for connecting to hidden wireless access point
US20140351478A1 (en) Apparatus and method for performing wireless docking operation in communication system supporting universal plug and play protocol
US8331860B2 (en) Control of peripheral devices in a short-range wireless communication system
EP3114821B1 (en) Method and devices for establishing a connection between a seeker device and a target device
KR20200115359A (en) Method for providing service of edge computing and electronic apparatus therefor
US20230239673A1 (en) Device for wireless communication with other devices
CN103944870A (en) Communication apparatus and control method
EP1947818A1 (en) A communication system and a communication method
CN105100150B (en) Cloud desktop migration method and device and distributed cloud desktop system
CN112689316B (en) Binding method and device of intelligent equipment, storage medium and electronic device
CN105451228A (en) Information processing method and device
CN109275125B (en) Resource sharing method, device, equipment and storage medium
CN114630390A (en) Automatic cooperation method and device for network equipment and storage medium
EP3318077B1 (en) Circumventing wireless device spatial tracking based on wireless device identifiers

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