WO2019100834A1 - 多频段设备连接方法及*** - Google Patents

多频段设备连接方法及*** Download PDF

Info

Publication number
WO2019100834A1
WO2019100834A1 PCT/CN2018/106699 CN2018106699W WO2019100834A1 WO 2019100834 A1 WO2019100834 A1 WO 2019100834A1 CN 2018106699 W CN2018106699 W CN 2018106699W WO 2019100834 A1 WO2019100834 A1 WO 2019100834A1
Authority
WO
WIPO (PCT)
Prior art keywords
gateway device
network
frequency band
ssid
network information
Prior art date
Application number
PCT/CN2018/106699
Other languages
English (en)
French (fr)
Inventor
谭轩
陈泽福
黄超豪
Original Assignee
珠海奔图电子有限公司
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 珠海奔图电子有限公司 filed Critical 珠海奔图电子有限公司
Publication of WO2019100834A1 publication Critical patent/WO2019100834A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication

Definitions

  • the present invention relates to a network connection technology, and in particular, to a multi-band device connection method and system.
  • a dual-band router supports communication in the 2.4 GHz (hereinafter referred to as 2.4G) frequency band, and also supports transmission in the 5 GHz (hereinafter referred to as 5G) frequency band. communication.
  • 2.4G 2.4 GHz
  • 5G 5 GHz
  • WIFI wireless fidelity
  • the printer 200 of the function many printers 200 do not support the 5G frequency band, and generally only support the 2.4G frequency band.
  • the terminal 100-router 300-printer 200 can be connected to each other. After the terminal 100 device such as a personal computer (“PC") (or mobile phone) is connected to the router 300, the PC 100 is configured through WIFI.
  • the tool connects the printer 200 to the designated router 300.
  • PC personal computer
  • the driver in the PC 100 transmits the PC 100 through a Universal Serial Bus (USB) or other communication cable.
  • USB Universal Serial Bus
  • the 5G network connection information is passed to the printer 200 to cause the printer 200 to attempt to connect to the router 300 in the 5G band, but it is clear that the connection will fail because the printer 200 (supporting only the 2.4G band) cannot work in the same way as the router 300.
  • the frequency band (5G band) In the frequency band (5G band).
  • the present invention provides a multi-band device connection method and system, which solves the technical problem that the frequency band mismatch between devices existing in the prior art cannot be realized.
  • One aspect of the present invention provides a multi-band device connection method, including:
  • the first device establishes a first network connection with the gateway device based on the first network information, where the first network is a network based on the first frequency band; the first device and the gateway device support communication of at least two frequency bands;
  • the first device acquires the second network information of the gateway device, where the second network is a network based on the second frequency band; the first frequency band is different from the second frequency band;
  • the first device sends the acquired second network information to the second device, so that the second device establishes a second network connection based on the second frequency band with the gateway device based on the second network information.
  • the acquiring, by the first device, the second network information of the gateway device includes:
  • the first device determines, according to the first network information and/or information input by the user, the second network information that establishes a network connection based on the second frequency band with the gateway device.
  • the acquiring, by the first device, the second network information of the gateway device includes:
  • the first device acquires an IP address of the gateway device, and sends a query message for querying the second network information to the gateway device according to the IP address;
  • the gateway device Receiving a feedback message returned by the gateway device, where the feedback message includes at least one of the following attribute information of the gateway device: an SSID, a MAC, an SSID, and a password thereof;
  • the first device determines, according to the first network information, the second network information that is used by the gateway device to establish a network connection based on the second frequency band, including:
  • the first device acquires a first MAC address of the gateway device according to the first network information that is connected to the gateway device, where the first MAC address is used by the gateway device to establish a first frequency band.
  • the second MAC address is a MAC address used by the gateway device to establish a network connection based on a second frequency band
  • the first device determines, according to the first network information, the second network information that is used by the gateway device to establish a network connection based on the second frequency band, including:
  • the first device acquires a first SSID of the gateway device according to the first network information that is connected to the gateway device, where the first SSID is used by the gateway device to establish a network connection based on a first frequency band.
  • SSID SSID
  • the determining the second SSID of the gateway device to obtain the second network information includes:
  • the second SSID and the second SSID corresponding password are used as the second network information.
  • the method further includes:
  • Verifying the second network information if not verified, the first device displays prompt information to the user;
  • Another aspect of the present invention provides a multi-band device connection system, including:
  • the first device, the second device, and the gateway device are The first device, the second device, and the gateway device;
  • the first device includes: a first network connection module, configured to establish a first network connection with the gateway device based on the first network information, where the first network is a network based on the first frequency band; the first device and the gateway device Support communication for at least two frequency bands;
  • the first device further includes: a processing module, configured to acquire second network information of the gateway device, where the second network is a second frequency band based network; the first frequency band is different from the second frequency band ;
  • the first device further includes: a sending module, configured to send the obtained second network information to the second device;
  • the second device includes: a second network connection module, configured to establish a second network connection based on the second frequency band with the gateway device based on the received second network information.
  • the processing module of the first device is specifically configured to determine, according to the first network information and/or information input by a user, the establishing, by the gateway device, a network connection based on a second frequency band. Second network information.
  • the processing module of the first device is configured to obtain an IP address of the gateway device, and send, by using the IP address, a query message for querying the second network information to the gateway device.
  • the processing module includes:
  • a first processing submodule configured to acquire a first MAC address of the gateway device according to the first network information that is connected to the gateway device, where the first MAC address is used by the gateway device to establish a MAC address of a network connection of a frequency band; determining a second MAC address of the gateway device according to the first MAC address of the gateway device; the second MAC address is used by the gateway device to establish a second a MAC address of the network connection of the frequency band; determining an SSID of the gateway device according to the second MAC address, or determining an SSID and a password of the gateway device, to obtain the second network information.
  • the processing module includes:
  • a second processing submodule configured to acquire a first SSID of the gateway device according to the first network information that is connected to the gateway device, where the first SSID is used by the gateway device to establish a first frequency band The SSID of the network connection, determining the second SSID of the gateway device according to the first SSID of the gateway device, to obtain the second network information, where the second SSID is used by the gateway device Establish an SSID based on the second band's network connection.
  • the second processing submodule is further configured to acquire a password corresponding to the second SSID according to the second SSID, and use the second SSID and the second SSID corresponding password as the Second network information.
  • the first device further includes:
  • a verification module configured to verify the second network information
  • a display module configured to display a prompt message to the user when the verification is not passed
  • a receiving module configured to receive second network information that is input by the user according to the prompt information
  • the sending module is further configured to send the received second network information of the user to the second device.
  • the multi-band device connection method and system provided by the present invention establishes a first network connection with the gateway device by using the first network information, where the first network is a network based on the first frequency band;
  • the first device and the gateway device support communication of at least two frequency bands;
  • the first device acquires second network information of the gateway device, wherein the second network is a network based on the second frequency band;
  • the first frequency band is different from the second frequency band;
  • a device sends the acquired second network information to the second device, so that the second device establishes a second network connection based on the second frequency band with the gateway device based on the second network information.
  • the network information of the frequency band matching the frequency band of the second device in the multi-band gateway device is obtained by the first device, so that the successful connection between the second device and the gateway device is achieved, and the device that is caused by the frequency band mismatch in the prior art is solved.
  • Technical problems that cannot be connected, and the accuracy and speed of the frequency band matching are better, eliminating the need for the user to establish a network connection with the second device and the gateway device, and can perform the printing operation through the second device. And performing, for example, switching the network connection of the first device and the network device to the network connection based on the second frequency band, and then transmitting the acquired second frequency band network information to the first application by operating the application installed in the first device Two devices and other cumbersome operations, bringing convenience to users.
  • FIG. 1 is a schematic diagram of a connection between devices in the prior art
  • FIG. 2 is a flowchart of a multi-band device connection method according to an exemplary embodiment of the present invention
  • FIG. 3 is a flowchart of a multi-band device connection method according to another exemplary embodiment of the present invention.
  • FIG. 4 is a flowchart of a multi-band device connection method according to another exemplary embodiment of the present invention.
  • FIG. 5 is a schematic diagram of a multi-band device connection system according to an exemplary embodiment of the present invention.
  • FIG. 6 is a schematic diagram of a multi-band device connection system according to another exemplary embodiment of the present invention.
  • the first device in the method of the present invention may include, but is not limited to, a PC, a mobile phone, a PAD, etc.
  • the second device may include but is not limited to a printer, a scanner, a copier, a fax machine, an all-in-one, etc.
  • the gateway device may include, but is not limited to, a router; wherein the first device may be installed with a driver or an application APP for performing attribute configuration on the second device. (Application, referred to as "APP"), to implement the attribute configuration function of the first device to the second device, for example, the first device configures the network connection attribute of the second device.
  • the first device is a PC
  • the second device is a printer as an example.
  • this embodiment provides a multi-band device connection method, including:
  • Step 201 The first device establishes a first network connection with the gateway device based on the first network information, where the first network is a network based on the first frequency band, and the first device and the gateway device support communication of at least two frequency bands.
  • the first device such as a PC
  • the gateway device such as a router
  • the two can communicate through the 2.4G frequency band or through the 5G frequency band.
  • the first network connection established between the two may be a network based on a 2.4G frequency band or a network based on a 5G frequency band. If the two are not connected for the first time, the network connection information of the connected router is usually saved in the first device, and the network connection information may include the information shown in Table 1 below.
  • Table 1 shows the SSID (Service Set Identifier, SSID) of the router connected to the PC.
  • SSID Service Set Identifier
  • connection password is 2.4G band or 5G band, and the MAC address of the router (Media Access Control, referred to as MAC). ”) address and other information. It should be noted that the contents in Table 1 are merely illustrative of the limitations of the network connection information.
  • Step 202 The first device acquires second network information of the gateway device, where the second network is a network based on the second frequency band; the first frequency band is different from the second frequency band.
  • the first device since the first device and the gateway device can be connected through different frequency bands, if the first device uses the second frequency band to perform a WIFI connection between the gateway device and the gateway device, the first device should be in Table 1.
  • the second network information of the gateway device is saved from the storage record of the gateway device, for example, the second device information of the gateway device is stored.
  • Step 203 The first device sends the acquired second network information to the second device, so that the second device establishes a second network connection based on the second frequency band with the gateway device based on the second network information.
  • the communication between the first device and the second device may be through a USB connection as shown in FIG. 1 or other forms of wired network connection. Or a wireless network connection; after the second device and the gateway device are successfully connected, the first device, the second device, and the gateway device form a network group, and the communication between the first device and the second device can be implemented by the gateway device. connection. Therefore, the second device attempts to establish a network connection based on the second frequency band with the gateway device according to the second network information that is transmitted by the first device through the wired network or the wireless network, and if the connection is successful, the first device, the second device, and the gateway are implemented. Wireless communication between the three devices.
  • the printer is enabled to receive a print document of the first device via a router and perform a printing operation. It should be noted that after the printer and the router are successfully connected, the PC used for network connection setting of the printer or other PCs or other terminal devices in the network may use the second frequency band for network communication with the router.
  • the first frequency band can also be used for network communication, and does not need to be consistent with the communication frequency band of the printer.
  • the method for connecting a multi-band device provides a first network connection between the first device and the gateway device based on the first network information, where the first network is a network based on the first frequency band; the first device and the gateway device support Communication of at least two frequency bands; the first device acquires second network information of the gateway device, wherein the second network is a network based on the second frequency band; the first frequency band is different from the second frequency band; the second device acquires the second The network information is sent to the second device, so that the second device establishes a second network connection based on the second frequency band with the gateway device based on the second network information.
  • the network information of the frequency band matching the frequency band of the second device in the multi-band gateway device is obtained by the first device, so that the successful connection between the second device and the gateway device is achieved, and the device that is caused by the frequency band mismatch in the prior art is solved.
  • Technical problems that cannot be connected, and the accuracy and speed of frequency band matching are good.
  • FIG. 3 is a flowchart of a multi-band device connection method according to another exemplary embodiment of the present invention. As shown in FIG. 3, based on the foregoing embodiment, the embodiment provides a multi-band device connection method, including:
  • Step 301 The first device establishes a first network connection with the gateway device based on the first network information, where the first network is a network based on the first frequency band, and the first device and the gateway device support communication of at least two frequency bands.
  • the first frequency band may be a 5 GHz frequency band; and the second frequency band may be a 2.4 GHz frequency band.
  • the router can transmit two frequency bands of WIFI signals, also known as dual-band wireless routers.
  • WIFI signals also known as dual-band wireless routers.
  • most WIFI devices work in the 2.4G frequency band.
  • most printers only have 2.4G frequency band communication. If the chip is connected to a dual-band router that is configured with a 2.4G band and a 5G band, it is necessary to accurately obtain the 2.4G network connection information of the router to implement the network connection of the corresponding frequency band.
  • Step 302 The first device determines, according to the first network information and/or the information input by the user, second network information that establishes a network connection based on the second frequency band with the gateway device.
  • the second network is a network based on the second frequency band, and the first frequency band is different from the second frequency band.
  • the first frequency band is the 5 GHz frequency band
  • the second frequency band is the 2.4 GHz frequency band.
  • the first device is a PC
  • the gateway device is a router
  • the second device is a printer.
  • the SSID may have a common part. Referring to Table 1, for example, (1) the SSID of the 2.4G band of a certain router is SW, and the SSID of the 5G band is SW_5G. (2)
  • the first few bytes of the 2.4G band and the 5G band corresponding to the same router are the same, and the last byte is closer.
  • the MAC address of a brand router 2.4G is 8c:be:be:27:aa: 88
  • the corresponding 5G MAC address is 8c:be:be:27:aa: 89 .
  • the SSID is named with the same prefix to identify the same router, and different suffixes identify different frequency bands of the same router.
  • the routers produced by the same manufacturer have the first 6 MAC addresses that are used to identify the vendors, and the last 6 MACs are generally used to identify different series of routers. And generally use continuous coding to identify routers with different functions.
  • the first device can determine the connection information between the router and the router according to the 5G connection information between the router and the router.
  • the second network information can be directly obtained from the memory record. Therefore, for the first device to determine, according to the first network information, the second network information that establishes the network connection based on the second frequency band with the gateway device, the following manners may be determined:
  • the first device may obtain the first MAC address of the gateway device according to the first network information that is connected to the gateway device, where the first MAC address is used by the gateway device to establish a MAC address of the network connection based on the first frequency band. Determining, according to the first MAC address of the gateway device, a second MAC address of the gateway device; the second MAC address is a MAC address used by the gateway device to establish a network connection based on the second frequency band; and determining, according to the second MAC address, the gateway device The SSID, or determining the SSID and password of the gateway device, obtains the second network information.
  • the first device may obtain the first SSID of the gateway device according to the first network information that is connected to the gateway device; the first SSID is used by the gateway device to establish an SSID of the network connection based on the first frequency band; The first SSID determines a second SSID of the gateway device to obtain second network information, where the second SSID is an SSID used by the gateway device to establish a network connection based on the second frequency band.
  • the password corresponding to the second SSID may be obtained according to the second SSID; and the second SSID and the second SSID corresponding password are used as the second network information.
  • the first device may directly display the prompt information to the user, so that the user inputs all or part of the second network information, so as to implement the gateway device and the second
  • the device is based on a network connection of the second network information.
  • the user inputs all the second network information, and may input the SSID or the SSID and the password of the 2.4G network by the user; the so-called user input part of the second network information may be determined by the first device according to the 5G MAC or SSID query table 1 After the SSID of 2.4G, the corresponding password information is input by the user.
  • Step 303 Perform verification on the second network information. If the verification is passed, go to step 304. If the verification fails, go to step 305.
  • Step 304 The first device sends the acquired second network information to the second device, so that the second device establishes a second network connection based on the second frequency band with the gateway device based on the second network information.
  • Step 305 The first device displays the prompt information to the user, and receives the second network information that is input by the user according to the prompt information, and returns to step 303.
  • step 303 to step 305 if the second network information determined by the first device is correct, and the successful networking with the gateway device can be implemented, the second network information is verified to pass; if the first device determines the first If the network information is incorrect and cannot be successfully connected to the gateway device, the first device may display the prompt information that the second network information is not verified to be passed to the user, and receive the second network information that is input by the user according to the prompt information. Therefore, the second network information input by the user is verified, and if the verification is passed, the second network information input by the user through the verification is sent to the second device, so that the second device establishes the basis based on the second network information with the gateway device. Network connection in the second band.
  • an application may be installed in a first device such as a mobile phone or a PC.
  • the first device enables the WIFI function and establishes a WIFI connection with the router (supporting both the 2.4G band and the 5G band), and the application determines The WIFI connection is a 2.4G band or a 5G band. If it is determined that the 5G frequency band is established, based on the WIFI connection information of the 5G frequency band of the router, first search for the WIFI connection information between the first device and the router based on the 2.4G frequency band in the list saved by the first device, if any According to the obtained 2.4G connection information, the user is prompted to establish a network connection with the router based on the 2.4G connection information.
  • connection information is verified after the connection is successful, the user can send it to the printer to try and communicate with the router. Make a connection. If the 2.4G connection information of the router is not saved in the first device, the application directly searches for the surrounding WIFI network, and based on the MAC address or SSID of the 5G frequency band of the router, refer to the SSID or MAC identification rule in Table 1 to determine the router. The SSID information of the 2.4G frequency band or the SSID information and the password information of the 2.4G frequency band are used to obtain the network connection information corresponding to the 2.4G frequency band of the router, and the network connection information is sent to the router to establish a WIFI connection between the printer and the 2.4G frequency band of the router.
  • the application does not obtain the password information corresponding to the 2.4G frequency band of the router, the user is directly prompted to input the corresponding password, so that the router, the printer, and the PC are in the same frequency band, and if the WIFI connection password of the 5G frequency band is used for connection, If it is unsuccessful, it prompts the connection to fail and prompts the reason, prompting the user to enter the correct password.
  • FIG. 4 is a flowchart of a method for connecting a multi-band device according to another exemplary embodiment of the present invention. As shown in FIG. 4, based on the foregoing embodiment, this embodiment provides a method for connecting a multi-band device, including:
  • Step 401 The first device establishes a first network connection with the gateway device based on the first network information, where the first network is a network based on the first frequency band, and the first device and the gateway device support communication of at least two frequency bands.
  • Step 402 The first device acquires an IP address of the gateway device, and sends a query message for querying the second network information to the gateway device according to the IP address.
  • Step 403 Receive a feedback message returned by the gateway device, where the feedback message includes at least one of the following attribute information of the gateway device: an SSID, a MAC, an SSID, and a password thereof.
  • the application can obtain the IP address of the router in the network through the Simple Service Discovery Protocol (SSDP), and is based on the router.
  • the IP address the application sends a 2.4G band WIFI information query message to the router, and the router feeds the WG connection information of the 2.4G frequency band to the application based on the received query message.
  • the query message can be used to query the SSID of the 2.4G network, or query the MAC of the 2.4G network, or query the SSID and password of the 2.4G network.
  • the feedback message if it is an SSID, one way is to search for the SSID and password of the 2.4G frequency band directly in the save list in the PC.
  • the password corresponding to the 5G frequency band is directly used, and if the connection fails, the user is prompted. Enter the correct password; another way is to not search in the save list, directly use the password corresponding to the 5G band, if it fails, prompt the user to enter the correct password. If it is a MAC address, it can search for the MAC address of the 5G frequency band in the save list, and determine the network connection information corresponding to the 5G frequency band based on the saved list. If the MAC address of the 5G frequency band is not found in the saved list, the user is directly prompted. Enter the corresponding network connection information.
  • Step 404 Determine, according to the feedback message, second network information that establishes a network connection based on the second frequency band with the gateway device.
  • Step 405 The first device sends the acquired second network information to the second device, so that the second device establishes a second network connection based on the second frequency band with the gateway device based on the second network information.
  • the method further includes: determining whether the second network information is verified according to whether the first device and the gateway device successfully establish a second network connection. If the verification is passed, the first device sends the second network information that is verified to be sent to the second device, so that the second device establishes a network connection based on the second frequency band with the gateway device based on the second network information; if the verification fails, The first device displays the prompt information that the second network information is not verified to be passed to the user; receives the second network information that is input by the user according to the prompt information; and verifies the second network information input by the user, and if the verification succeeds, the user that passes the verification The input second network information is sent to the second device, so that the second device establishes a second frequency band based network connection with the gateway device based on the second network information.
  • FIG. 5 is a schematic diagram of a multi-band device connection system according to an exemplary embodiment of the present invention. As shown in FIG. 5, the multi-band device connection system includes:
  • First device 1 second device 2, gateway device 3;
  • the first device 1 includes: a first network connection module 11 configured to establish a first network connection with the gateway device 3 based on the first network information, where the first network is a network based on the first frequency band; the first device 1 and the gateway device 3 supports communication for at least two frequency bands;
  • the first device 1 further includes: a processing module 12, configured to acquire second network information of the gateway device 3, where the second network is a network based on the second frequency band; the first frequency band is different from the second frequency band;
  • the first device 1 further includes: a sending module 13, configured to send the acquired second network information to the second device 2;
  • the second device 2 includes: a second network connection module 21, configured to establish a second network connection based on the second frequency band with the gateway device 3 based on the received second network information.
  • the multi-band device connection system establishes a first network connection with the gateway device based on the first network information, where the first network is a network based on the first frequency band; the first device and the gateway device support Communication of at least two frequency bands; the first device acquires second network information of the gateway device, wherein the second network is a network based on the second frequency band; the first frequency band is different from the second frequency band; the second device acquires the second The network information is sent to the second device, so that the second device establishes a second network connection based on the second frequency band with the gateway device based on the second network information.
  • the network information of the frequency band matching the frequency band of the second device in the multi-band gateway device is obtained by the first device, so that the successful connection between the second device and the gateway device is achieved, and the device that is caused by the frequency band mismatch in the prior art is solved.
  • Technical problems that cannot be connected, and the accuracy and speed of frequency band matching are good.
  • FIG. 6 is a schematic diagram of a multi-band device connection system according to another exemplary embodiment of the present invention. As shown in FIG. 6, on the basis of the foregoing embodiment,
  • the processing module 12 of the first device 1 is specifically configured to determine, according to the first network information and/or the information input by the user, second network information that establishes a network connection based on the second frequency band with the gateway device.
  • the processing module 12 of the first device 1 is configured to obtain an IP address of the gateway device 3, send a query message for querying the second network information to the gateway device 3 according to the IP address, and receive feedback returned by the gateway device 3.
  • the message, the feedback message includes at least one of the following attribute information of the gateway device 3: an SSID, a MAC, an SSID, and a password thereof; and determining, according to the feedback message, second network information that establishes a network connection based on the second frequency band with the gateway device 3.
  • the processing module 12 includes:
  • the first processing sub-module 121 is configured to acquire a first MAC address of the gateway device 3 according to the first network information that is connected to the gateway device 3, where the first MAC address is used by the gateway device 3 to establish a network connection based on the first frequency band. a MAC address; determining a second MAC address of the gateway device 3 according to the first MAC address of the gateway device 3; the second MAC address is a MAC address used by the gateway device 3 to establish a network connection based on the second frequency band; according to the second MAC address Determine the SSID of the gateway device 3, or determine the SSID and password of the gateway device to obtain the second network information.
  • the processing module 12 includes:
  • the second processing sub-module 122 is configured to acquire the first SSID of the gateway device 3 according to the first network information that is connected to the gateway device 3; the first SSID is used by the gateway device 3 to establish an SSID of the network connection based on the first frequency band; Determining the second SSID of the gateway device 3 according to the first SSID of the gateway device 3, and obtaining the second network information; wherein the second SSID is the SSID used by the gateway device 3 to establish a network connection based on the second frequency band.
  • the second processing sub-module 122 is further configured to acquire a password corresponding to the second SSID according to the second SSID, and use the second SSID and the second SSID corresponding password as the second network information.
  • the first device 1 further includes:
  • the verification module 14 is configured to verify the second network information.
  • the display module 15 is configured to display prompt information to the user when the second network information is not verified;
  • the receiving module 16 is configured to receive second network information that is input by the user according to the prompt information.
  • the sending module 13 is further configured to send the received second network information of the user input to the second device 2.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本发明提供一种多频段设备连接方法及***,通过将第一设备基于第一网络信息与网关设备建立第一网络连接,其中,第一网络为基于第一频段的网络;第一设备与网关设备支持至少两个频段的通讯;第一设备获取网关设备的第二网络信息,其中,第二网络为基于第二频段的网络;第一频段与第二频段不相同;第一设备将获取的第二网络信息发送到第二设备,以使第二设备基于第二网络信息与网关设备建立基于第二频段的第二网络连接。从而通过第一设备获取多频段网关设备中与第二设备频段相匹配的频段的网络信息,实现第二设备与网关设备的成功连接,解决了现有技术中存在的因频段不匹配而导致设备间无法连接的技术问题,且频段匹配的准确性及快速性较好。

Description

多频段设备连接方法及*** 技术领域
本发明涉及网络连接技术,尤其涉及一种多频段设备连接方法及***。
背景技术
随着通信技术的发展,越来越多的电子设备被配置了多频段通信的功能。
目前,诸如路由器、手机等电子设备中配置了多频通讯的硬件,例如,双频路由器其既支持在2.4GHz(以下简称2.4G)频段进行通讯,还支持在5GHz(以下简称5G)频段进行通讯。
但是当仅支持单一频段的电子设备与支持多频段的电子设备进行通讯连接时,会面临兼容性问题,以图1所示场景举例来说,对于具有无线保真WIFI(WIreless FIdelity,简称“WIFI”)功能的打印机200来说,很多打印机200都不支持5G频段,普遍都只支持2.4G频段。终端100-路由器300-打印机200三者相互连接的过程可以为,用户的PC(personal computer,简称“PC”)机(或者手机)等终端100设备连接到路由器300后,PC机100通过WIFI配置工具将打印机200连接到指定的路由器300。若此时PC机100与路由器300是通过5G频段进行通讯,则PC机100中的驱动程序会通过通用串行总线USB(Universal Serial Bus,简称“USB”)或其他通讯线缆将PC机100的5G网络连接信息传递给打印机200,以使打印机200尝试与路由器300进行5G频段的连接,但很显然,连接会失败,因为打印机200(只支持2.4G频段)无法与路由器300工作在同一个频段上(5G频段)。
发明内容
本发明提供一种多频段设备连接方法及***,以解决现有技术中存在的设备间频段不匹配,无法实现网络连接的技术问题。
本发明一个方面提供一种多频段设备连接方法,包括:
第一设备基于第一网络信息与网关设备建立第一网络连接,其中,所述第一网络为基于第一频段的网络;所述第一设备与网关设备支持至少两 个频段的通讯;
第一设备获取所述网关设备的第二网络信息,其中,所述第二网络为基于第二频段的网络;所述第一频段与所述第二频段不相同;
第一设备将获取的所述第二网络信息发送到第二设备,以使所述第二设备基于所述第二网络信息与所述网关设备建立基于第二频段的第二网络连接。
可选的,所述第一设备获取所述网关设备的第二网络信息,包括:
所述第一设备根据所述第一网络信息和/或用户输入的信息,确定与所述网关设备建立基于第二频段的网络连接的所述第二网络信息。
可选的,所述第一设备获取所述网关设备的第二网络信息,包括:
所述第一设备获取所述网关设备的IP地址,根据所述IP地址向所述网关设备发送用于查询所述第二网络信息的查询消息;
接收所述网关设备返回的反馈消息,所述反馈消息包含所述网关设备的以下属性信息中的至少一种:SSID、MAC、SSID及其密码;
根据所述反馈消息确定与所述网关设备建立基于第二频段的网络连接的所述第二网络信息。
可选的,所述第一设备根据所述第一网络信息,确定与所述网关设备建立基于第二频段的网络连接的所述第二网络信息,包括:
所述第一设备根据与所述网关设备连接的所述第一网络信息,获取所述网关设备的第一MAC地址;所述第一MAC地址为所述网关设备用于建立基于第一频段的网络连接的MAC地址;
根据所述网关设备的所述第一MAC地址,确定所述网关设备的第二MAC地址;所述第二MAC地址为所述网关设备用于建立基于第二频段的网络连接的MAC地址;
根据所述第二MAC地址,确定所述网关设备的SSID,或者确定所述网关设备的SSID和密码,得到所述第二网络信息。
可选的,所述第一设备根据所述第一网络信息,确定与所述网关设备建立基于第二频段的网络连接的所述第二网络信息,包括:
所述第一设备根据与所述网关设备连接的所述第一网络信息,获取所述网关设备的第一SSID;所述第一SSID为所述网关设备用于建立基于第 一频段的网络连接的SSID;
根据所述网关设备的所述第一SSID,确定所述网关设备的第二SSID,得到所述第二网络信息;其中,所述第二SSID为所述网关设备用于建立基于第二频段的网络连接的SSID。
可选的,所述确定所述网关设备的第二SSID,得到所述第二网络信息,包括:
根据所述第二SSID,获取与所述第二SSID对应的密码;
以所述第二SSID和所述第二SSID对应密码作为所述第二网络信息。
可选的,所述方法还包括:
对所述第二网络信息进行验证,若未验证通过,则所述第一设备向用户显示提示信息;
接收用户根据所述提示信息输入的第二网络信息,并将接收到的用户输入的第二网络信息发送到第二设备。
本发明另一个方面提供一种多频段设备连接***,包括:
第一设备、第二设备、网关设备;
第一设备包括:第一网络连接模块,用于基于第一网络信息与网关设备建立第一网络连接,其中,所述第一网络为基于第一频段的网络;所述第一设备与网关设备支持至少两个频段的通讯;
第一设备还包括:处理模块,用于获取所述网关设备的第二网络信息,其中,所述第二网络为基于第二频段的网络;所述第一频段与所述第二频段不相同;
第一设备还包括:发送模块,用于将获取的所述第二网络信息发送到第二设备;
所述第二设备包括:第二网络连接模块,用于基于接收到的所述第二网络信息与所述网关设备建立基于第二频段的第二网络连接。
可选的,所述第一设备的所述处理模块,具体用于根据所述第一网络信息和/或用户输入的信息,确定与所述网关设备建立基于第二频段的网络连接的所述第二网络信息。
可选的,所述第一设备的所述处理模块,具体用于获取所述网关设备的IP地址,根据所述IP地址向所述网关设备发送用于查询所述第二网络 信息的查询消息;接收所述网关设备返回的反馈消息,所述反馈消息包含所述网关设备的以下属性信息中的至少一种:SSID、MAC、SSID及其密码;根据所述反馈消息确定与所述网关设备建立基于第二频段的网络连接的所述第二网络信息。
可选的,所述处理模块,包括:
第一处理子模块,用于根据与所述网关设备连接的所述第一网络信息,获取所述网关设备的第一MAC地址;所述第一MAC地址为所述网关设备用于建立基于第一频段的网络连接的MAC地址;根据所述网关设备的所述第一MAC地址,确定所述网关设备的第二MAC地址;所述第二MAC地址为所述网关设备用于建立基于第二频段的网络连接的MAC地址;根据所述第二MAC地址,确定所述网关设备的SSID,或者确定所述网关设备的SSID和密码,得到所述第二网络信息。
可选的,所述处理模块,包括:
第二处理子模块,用于根据与所述网关设备连接的所述第一网络信息,获取所述网关设备的第一SSID;所述第一SSID为所述网关设备用于建立基于第一频段的网络连接的SSID;根据所述网关设备的所述第一SSID,确定所述网关设备的第二SSID,得到所述第二网络信息;其中,所述第二SSID为所述网关设备用于建立基于第二频段的网络连接的SSID。
可选的,所述第二处理子模块,还用于根据所述第二SSID,获取与所述第二SSID对应的密码;以所述第二SSID和所述第二SSID对应密码作为所述第二网络信息。
可选的,所述第一设备还包括:
验证模块,用于对所述第二网络信息进行验证;
显示模块,用于当未验证通过,则向用户显示提示信息;
接收模块,用于接收用户根据所述提示信息输入的第二网络信息;
所述发送模块,还用于将接收到的用户输入的第二网络信息发送到第二设备。
由上述技术方案可知,本发明提供的多频段设备连接方法及***,通过将第一设备基于第一网络信息与网关设备建立第一网络连接,其中,第一网络为基于第一频段的网络;第一设备与网关设备支持至少两个频段的 通讯;第一设备获取网关设备的第二网络信息,其中,第二网络为基于第二频段的网络;第一频段与第二频段不相同;第一设备将获取的第二网络信息发送到第二设备,以使第二设备基于第二网络信息与网关设备建立基于第二频段的第二网络连接。从而通过第一设备获取多频段网关设备中与第二设备频段相匹配的频段的网络信息,实现第二设备与网关设备的成功连接,解决了现有技术中存在的因频段不匹配而导致设备间无法连接的技术问题,且频段匹配的准确性及快速性较好,免去了用户为了将不支持第一频段的第二设备与网关设备建立网络连接,并能够通过第二设备进行打印操作,从而进行的诸如将第一设备与网络设备的网络连接切换至基于第二频段进行网络连接、然后通过操作安装于第一设备中的应用程序从而将获取到的第二频段网络信息发送给第二设备等繁琐操作,给用户带来便利。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为现有技术设备间通讯的连接示意图;
图2为本发明一示例性实施例示出的多频段设备连接方法的流程图;
图3为本发明另一示例性实施例示出的多频段设备连接方法的流程图;
图4为本发明另一示例性实施例示出的多频段设备连接方法的流程图;
图5为本发明一示例性实施例示出的多频段设备连接***示意图;
图6为本发明另一示例性实施例示出的多频段设备连接***示意图。
具体实施方式
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合 本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
图2为本发明一示例性实施例示出的多频段设备连接方法的流程图,本发明方法中的第一设备可以包括但不限于电脑PC、手机、PAD等,第二设备可以包括但不限于,打印机、扫描仪、复印机、传真机、多功能一体机等,网关设备可以包括但不限于,路由器;其中,第一设备中可以安装有用于对第二设备进行属性配置的驱动或应用程序APP(Application,简称“APP”),以实现第一设备对第二设备的属性配置功能,例如,第一设备对第二设备的网络连接属性进行配置。以下实施例中以第一设备为PC机,第二设备为打印机为例进行方案的阐述。如图2所示,本实施例提供一种多频段设备连接方法,包括:
步骤201、第一设备基于第一网络信息与网关设备建立第一网络连接,其中,第一网络为基于第一频段的网络;第一设备与网关设备支持至少两个频段的通讯。
在本步骤中,第一设备(如PC机)与网关设备(如路由器)为多频段设备,例如,两者即可以通过2.4G频段进行网络通讯,也可以通过5G频段进行通讯。相应的,两者间所建立的第一网络连接可以是基于2.4G频段的网络,也可以是基于5G频段的网络。两者若为非首次连接,则在第一设备内通常会保存连接过的路由器的网络连接信息,该网络连接信息可以包括如下表1中所示的信息。表1中记录了PC所连接过的路由器的标识SSID(Service Set Identifier,简称“SSID”),连接密码,该路由器为2.4G频段还是5G频段,以及路由器的MAC(Media Access Control,简称“MAC”)地址等信息。需要说明的是,表1中的内容仅为举例说明并非对网络连接信息的限制。
表1
Figure PCTCN2018106699-appb-000001
步骤202、第一设备获取网关设备的第二网络信息,其中,第二网络为基于第二频段的网络;第一频段与第二频段不相同。
在本步骤中,由于第一设备和网关设备间可以通过不同的频段进行连接,因此,若第一设备过往与网关设备间采用第二频段进行过WIFI连接,则第一设备的表1中应该保存有其与网关设备的第二网络信息(例如,存储有网关设备的MAC地址、SSID、密码等),则第一设备可以从自身的存储记录中获取网关设备的第二网络信息。
步骤203、第一设备将获取的第二网络信息发送到第二设备,以使第二设备基于第二网络信息与网关设备建立基于第二频段的第二网络连接。
在本步骤中,在第二设备还未与网关设备实现网络连接前,第一设备与第二设备之间的通讯可以通过如图1中所示的USB连接,或其他形式的有线网连接,或者无线网络连接;当第二设备与网关设备成功连接后,第一设备、第二设备以及网关设备构成一个网络群,则第一设备与第二设备间可以借由网关设备实现无线网络的通讯连接。因此,第二设备根据第一设备通过有线网络或者无线网络传递的第二网络信息,尝试与网关设备建立基于第二频段的网络连接,若连接成功,则实现第一设备、第二设备、网关设备三者之间的无线通讯。使得打印机可以经由路由器接收第一设备的打印文稿,并实施打印操作。需要说明的是,在打印机与路由器成功连接后,用于对打印机进行网络连接设置的PC机或者网络内的其他PC机或其他终端设备,它们与路由器之间可以采用第二频段进行网络通讯,也可以采用第一频段进行网络通讯,不需要与打印机的通讯频段保持一致。
本实施例提供的多频段设备连接方法,通过将第一设备基于第一网络信息与网关设备建立第一网络连接,其中,第一网络为基于第一频段的网络;第一设备与网关设备支持至少两个频段的通讯;第一设备获取网关设 备的第二网络信息,其中,第二网络为基于第二频段的网络;第一频段与第二频段不相同;第一设备将获取的第二网络信息发送到第二设备,以使第二设备基于第二网络信息与网关设备建立基于第二频段的第二网络连接。从而通过第一设备获取多频段网关设备中与第二设备频段相匹配的频段的网络信息,实现第二设备与网关设备的成功连接,解决了现有技术中存在的因频段不匹配而导致设备间无法连接的技术问题,且频段匹配的准确性及快速性较好。
图3为本发明另一示例性实施例示出的多频段设备连接方法的流程图,如图3所示,基于上述实施例,本实施例提供一种多频段设备连接方法,包括:
步骤301、第一设备基于第一网络信息与网关设备建立第一网络连接,其中,第一网络为基于第一频段的网络;第一设备与网关设备支持至少两个频段的通讯。
在本步骤中,可选的,第一频段可以为5GHz频段;第二频段可以为2.4GHz频段。也就是说,路由器可以发射2个频段的WIFI信号,也称为双频无线路由器,目前大多数的WIFI设备都工作在2.4G频段,如大部分的打印机其内仅配置了2.4G频段的通讯芯片,其若与既配置了2.4G频段又配置了5G频段的双频路由器连接,则需要准确获取到路由器的2.4G网络连接信息,才能够实现对应频段的网络连接。
步骤302、第一设备根据第一网络信息和/或用户输入的信息,确定与网关设备建立基于第二频段的网络连接的第二网络信息。
在本步骤中,第二网络为基于第二频段的网络,第一频段与第二频段不相同。以第一频段为5GHz频段,第二频段为2.4GHz频段,第一设备为PC机,网关设备为路由器,第二设备为打印机为例,举例来说,同一个路由器对应的2.4G或者5G网络的SSID可能有共同的部分,参照表1,例如,(1)某个路由器的2.4G频段的SSID为SW,5G频段的SSID为SW_5G。(2)同一个路由器对应的2.4G频段和5G频段的MAC地址前几个字节是一样的,最后一个字节挨得较为接近。举例来说,某品牌路由器2.4G的MAC地址为8c:be:be:27:aa: 88,对应的5G的MAC地址为8c:be:be:27:aa: 89。对于上述(1)所列举的情况,大部分情况,SSID的命名方式是以相同的前 缀标识同一路由器,以不同的后缀标识同一路由器的不同频段。对于上述(2)所列举的情况,通常来说同一厂商生产的路由器,其前6位MAC地址是统一的,用于对厂商进行标识,而后6位MAC一般用于对不同系列的路由器进行标识,且一般采用连续的编码对不同功能的路由器进行标识。可见,无论是SSID还是MAC地址,其标识信息一般都具有一定的规律性。因此,第一设备可以根据其与路由器之间的5G连接信息,确定出其与路由器间的2.4G的连接信息。当然,如果第一设备之前与路由器采用2.4G频段成功连接过且保存了该连接信息,则可以直接从内存记录中获取到该第二网络信息。因此,对于第一设备根据第一网络信息,确定与网关设备建立基于第二频段的网络连接的第二网络信息,可以有如下几种确定方式:
可选的,第一设备可以根据与网关设备连接的第一网络信息,获取网关设备的第一MAC地址;其中,第一MAC地址为网关设备用于建立基于第一频段的网络连接的MAC地址;根据网关设备的第一MAC地址,确定网关设备的第二MAC地址;第二MAC地址为网关设备用于建立基于第二频段的网络连接的MAC地址;根据第二MAC地址,确定网关设备的SSID,或者确定网关设备的SSID和密码,得到第二网络信息。
可选的,第一设备可以根据与网关设备连接的第一网络信息,获取网关设备的第一SSID;第一SSID为网关设备用于建立基于第一频段的网络连接的SSID;根据网关设备的第一SSID,确定网关设备的第二SSID,得到第二网络信息;其中,第二SSID为网关设备用于建立基于第二频段的网络连接的SSID。
可选的,在第一设备确定出网关设备的第二SSID后,可以根据该第二SSID,获取与第二SSID对应的密码;以第二SSID和第二SSID对应密码作为第二网络信息。
对于上述几种根据第一网络信息确定第二网络信息的方式,也可以直接采用由第一设备向用户显示提示信息,以使用户输入全部或部分第二网络信息,以实现网关设备与第二设备基于第二网络信息的网络连接。所谓用户输入全部第二网络信息,可以为由用户输入2.4G网络的SSID或SSID和密码;所谓用户输入部分第二网络信息,可以为第一设备根据5G的MAC 或SSID查询表1,确定出2.4G的SSID后,由用户输入对应的密码信息。
步骤303、对第二网络信息进行验证;若验证通过则执行步骤304;若未验证通过,则执行步骤305。
步骤304、第一设备将获取的第二网络信息发送到第二设备,以使第二设备基于第二网络信息与网关设备建立基于第二频段的第二网络连接。
步骤305、第一设备向用户显示提示信息,接收用户根据提示信息输入的第二网络信息,返回执行步骤303。
在步骤303~步骤305中,若第一设备所确定的第二网络信息正确,能够实现与网关设备之间的成功连网,则验证该第二网络信息通过;若第一设备所确定的第二网络信息不正确,不能够实现与网关设备之间的成功连网,则第一设备可通过向用户显示第二网络信息未验证通过的提示信息;接收用户根据提示信息输入的第二网络信息;从而对用户输入的第二网络信息进行验证,若验证通过,则将验证通过的用户输入的第二网络信息发送到第二设备,以使第二设备基于第二网络信息与网关设备建立基于第二频段的网络连接。以实际场景举例来说,可以在诸如手机或者PC机的第一设备内安装一应用程序,第一设备开启WIFI功能并与路由器(同时支持2.4G频段和5G频段)建立WIFI连接,应用程序判断该WIFI连接是2.4G频段还是5G频段。若判断建立的是5G频段,则基于该路由器的5G频段的WIFI连接信息,首先在第一设备保存的列表中,搜索第一设备过往与路由器之间基于2.4G频段的WIFI连接信息,若有,则根据获取到的2.4G连接信息,提示用户是否基于该2.4G连接信息与路由器建立网络连接,若连接成功后,验证该2.4G的连接信息正确,则可以将其发送给打印机尝试与路由器进行连接。若第一设备中没有保存路由器的2.4G连接信息,则应用程序直接搜索周围的WIFI网络,并基于路由器的5G频段的MAC地址或者SSID,参照上述表1中的SSID或MAC标识规则,确定路由器的2.4G频段的SSID信息、或者2.4G频段的SSID信息和密码信息以获取路由器2.4G频段对应的网络连接信息,并将上述网络连接信息发送给路由器使得打印机与路由器的2.4G频段建立WIFI连接,若应用程序未获取到路由器的2.4G频段对应的密码信息,则直接提示用户输入对应的密码,从而使得路由器、打印机、PC机在同一个频段中,如果利用5G频段的WIFI连接 密码进行连接不成功,则提示连接失败,并提示原因,提示用户输入正确的密码。
图4为本发明另一示例性实施例示出的多频段设备连接方法的流程图,如图4所示,基于上述实施例,本实施例提供一种多频段设备连接方法,包括:
步骤401、第一设备基于第一网络信息与网关设备建立第一网络连接,其中,第一网络为基于第一频段的网络;第一设备与网关设备支持至少两个频段的通讯。
步骤402、第一设备获取网关设备的IP地址,根据IP地址向网关设备发送用于查询第二网络信息的查询消息。
步骤403、接收网关设备返回的反馈消息,反馈消息包含网关设备的以下属性信息中的至少一种:SSID、MAC、SSID及其密码。
在上述本步骤中,当PC机与路由器建立5G连接后,应用程序可以通过简单服务发现协议SSDP(Simple Service Discovery Protocol,简称“SSDP”),获取网络中的路由器的IP地址,并基于路由器的IP地址,应用程序给路由器发送2.4G频段的WIFI信息查询消息,路由器基于接收到的查询消息,给应用程序反馈2.4G频段的WIFI连接信息。其中,查询消息可以用于查询2.4G网络的SSID、或者查询2.4G网络的MAC、或者查询2.4G网络的SSID和密码等。根据反馈消息,如果是SSID,一种方式是直接在PC机内的保存列表中搜索确定2.4G频段的SSID和密码,如果没有,则直接用5G频段对应的密码,如果连接失败,则提示用户输入正确的密码;另一种方式不在保存列表中搜索,直接用5G频段对应的密码,如果失败,则提示用户输入正确的密码。如果是MAC地址,则可在保存列表中搜索确定5G频段的MAC地址,基于保存的列表确定5G频段对应的网络连接信息,若在保存的列表中未找到5G频段的MAC地址,则直接提示用户输入对应的网络连接信息。
步骤404、根据反馈消息确定与网关设备建立基于第二频段的网络连接的第二网络信息。
步骤405、第一设备将获取的第二网络信息发送到第二设备,以使第二设备基于第二网络信息与网关设备建立基于第二频段的第二网络连接。
可选的,步骤404之后,还可以包括:根据第一设备与网关设备是否成功建立第二网络连接,确定第二网络信息是否验证通过。若验证通过,则第一设备将验证通过的第二网络信息发送到第二设备,以使第二设备基于第二网络信息与网关设备建立基于第二频段的网络连接;若验证未通过,则第一设备向用户显示第二网络信息未验证通过的提示信息;接收用户根据提示信息输入的第二网络信息;对用户输入的第二网络信息进行验证,若验证通过,则将验证通过的用户输入的第二网络信息发送到第二设备,以使第二设备基于第二网络信息与网关设备建立基于第二频段的网络连接。
图5为本发明一示例性实施例示出的多频段设备连接***示意图,如图5所示,该多频段设备连接***,包括:
第一设备1、第二设备2、网关设备3;
第一设备1包括:第一网络连接模块11,用于基于第一网络信息与网关设备3建立第一网络连接,其中,第一网络为基于第一频段的网络;第一设备1与网关设备3支持至少两个频段的通讯;
第一设备1还包括:处理模块12,用于获取网关设备3的第二网络信息,其中,第二网络为基于第二频段的网络;第一频段与第二频段不相同;
第一设备1还包括:发送模块13,用于将获取的第二网络信息发送到第二设备2;
第二设备2包括:第二网络连接模块21,用于基于接收到的第二网络信息与网关设备3建立基于第二频段的第二网络连接。
该实施例的实现原理与上述图2所示方法实施例的实现原理相似,在此不再赘述。
本实施例提供的多频段设备连接***,通过将第一设备基于第一网络信息与网关设备建立第一网络连接,其中,第一网络为基于第一频段的网络;第一设备与网关设备支持至少两个频段的通讯;第一设备获取网关设备的第二网络信息,其中,第二网络为基于第二频段的网络;第一频段与第二频段不相同;第一设备将获取的第二网络信息发送到第二设备,以使第二设备基于第二网络信息与网关设备建立基于第二频段的第二网络连接。从而通过第一设备获取多频段网关设备中与第二设备频段相匹配的频 段的网络信息,实现第二设备与网关设备的成功连接,解决了现有技术中存在的因频段不匹配而导致设备间无法连接的技术问题,且频段匹配的准确性及快速性较好。
图6为本发明另一示例性实施例示出的多频段设备连接***示意图,如图6所示,在上述实施例的基础上,
可选的,第一设备1的处理模块12,具体用于根据第一网络信息和/或用户输入的信息,确定与网关设备建立基于第二频段的网络连接的第二网络信息。
可选的,第一设备1的处理模块12,具体用于获取网关设备3的IP地址,根据IP地址向网关设备3发送用于查询第二网络信息的查询消息;接收网关设备3返回的反馈消息,反馈消息包含网关设备3的以下属性信息中的至少一种:SSID、MAC、SSID及其密码;根据反馈消息确定与网关设备3建立基于第二频段的网络连接的第二网络信息。
可选的,处理模块12,包括:
第一处理子模块121,用于根据与网关设备3连接的第一网络信息,获取网关设备3的第一MAC地址;第一MAC地址为网关设备3用于建立基于第一频段的网络连接的MAC地址;根据网关设备3的第一MAC地址,确定网关设备3的第二MAC地址;第二MAC地址为网关设备3用于建立基于第二频段的网络连接的MAC地址;根据第二MAC地址,确定网关设备3的SSID,或者确定网关设备的SSID和密码,得到第二网络信息。
可选的,处理模块12,包括:
第二处理子模块122,用于根据与网关设备3连接的第一网络信息,获取网关设备3的第一SSID;第一SSID为网关设备3用于建立基于第一频段的网络连接的SSID;根据网关设备3的第一SSID,确定网关设备3的第二SSID,得到第二网络信息;其中,第二SSID为网关设备3用于建立基于第二频段的网络连接的SSID。
可选的,第二处理子模块122,还用于根据第二SSID,获取与第二SSID对应的密码;以第二SSID和第二SSID对应密码作为第二网络信息。
可选的,第一设备1还包括:
验证模块14,用于对第二网络信息进行验证;
显示模块15,用于当第二网络信息未验证通过,则向用户显示提示信息;
接收模块16,用于接收用户根据提示信息输入的第二网络信息;
发送模块13,还用于将接收到的用户输入的第二网络信息发送到第二设备2。
该实施例的实现原理与上述图3和图4所示方法实施例的实现原理相似,在此不再赘述。
最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不
使相应技术方案的本质脱离本发明各实施例技术方案的范围。

Claims (10)

  1. 一种多频段设备连接方法,其特征在于,包括:
    第一设备基于第一网络信息与网关设备建立第一网络连接,其中,所述第一网络为基于第一频段的网络;所述第一设备与网关设备支持至少两个频段的通讯;
    第一设备获取所述网关设备的第二网络信息,其中,所述第二网络为基于第二频段的网络;所述第一频段与所述第二频段不相同;
    第一设备将获取的所述第二网络信息发送到第二设备,以使所述第二设备基于所述第二网络信息与所述网关设备建立基于第二频段的第二网络连接。
  2. 根据权利要求1所述的方法,其特征在于,所述第一设备获取所述网关设备的第二网络信息,包括:
    所述第一设备根据所述第一网络信息和/或用户输入的信息,确定与所述网关设备建立基于第二频段的网络连接的所述第二网络信息。
  3. 根据权利要求1所述的方法,其特征在于,所述第一设备获取所述网关设备的第二网络信息,包括:
    所述第一设备获取所述网关设备的IP地址,根据所述IP地址向所述网关设备发送用于查询所述第二网络信息的查询消息;
    接收所述网关设备返回的反馈消息,所述反馈消息包含所述网关设备的以下属性信息中的至少一种:SSID、MAC、SSID及其密码;
    根据所述反馈消息确定与所述网关设备建立基于第二频段的网络连接的所述第二网络信息。
  4. 根据权利要求1所述的方法,其特征在于,所述第一设备获取所述网关设备的第二网络信息,包括:
    所述第一设备根据与所述网关设备连接的所述第一网络信息,获取所述网关设备的第一MAC地址;所述第一MAC地址为所述网关设备用于建立基于第一频段的网络连接的MAC地址;
    根据所述网关设备的所述第一MAC地址,确定所述网关设备的第二MAC地址;所述第二MAC地址为所述网关设备用于建立基于第二频段的网络连接的MAC地址;
    根据所述第二MAC地址,确定所述网关设备的SSID,或者确定所述网关设备的SSID和密码,得到所述第二网络信息。
  5. 根据权利要求1所述的方法,其特征在于,所述第一设备获取所述网关设备的第二网络信息,包括:
    所述第一设备根据与所述网关设备连接的所述第一网络信息,获取所述网关设备的第一SSID;所述第一SSID为所述网关设备用于建立基于第一频段的网络连接的SSID;
    根据所述网关设备的所述第一SSID,确定所述网关设备的第二SSID,得到所述第二网络信息;其中,所述第二SSID为所述网关设备用于建立基于第二频段的网络连接的SSID。
  6. 一种多频段设备连接***,其特征在于,包括:第一设备、第二设备、网关设备;
    第一设备包括:第一网络连接模块,用于基于第一网络信息与网关设备建立第一网络连接,其中,所述第一网络为基于第一频段的网络;所述第一设备与网关设备支持至少两个频段的通讯;
    第一设备还包括:处理模块,用于获取所述网关设备的第二网络信息,其中,所述第二网络为基于第二频段的网络;所述第一频段与所述第二频段不相同;
    第一设备还包括:发送模块,用于将获取的所述第二网络信息发送到第二设备;
    所述第二设备包括:第二网络连接模块,用于基于接收到的所述第二网络信息与所述网关设备建立基于第二频段的第二网络连接。
  7. 根据权利要求6所述的***,其特征在于,
    所述第一设备的所述处理模块,具体用于根据所述第一网络信息和/或用户输入的信息,确定与所述网关设备建立基于第二频段的网络连接的所述第二网络信息。
  8. 根据权利要求6所述的***,其特征在于,
    所述第一设备的所述处理模块,具体用于获取所述网关设备的IP地址,根据所述IP地址向所述网关设备发送用于查询所述第二网络信息的查询消息;接收所述网关设备返回的反馈消息,所述反馈消息包含所述网 关设备的以下属性信息中的至少一种:SSID、MAC、SSID及其密码;根据所述反馈消息确定与所述网关设备建立基于第二频段的网络连接的所述第二网络信息。
  9. 根据权利要求6所述的***,其特征在于,所述处理模块,包括:
    第一处理子模块,用于根据与所述网关设备连接的所述第一网络信息,获取所述网关设备的第一MAC地址;所述第一MAC地址为所述网关设备用于建立基于第一频段的网络连接的MAC地址;根据所述网关设备的所述第一MAC地址,确定所述网关设备的第二MAC地址;所述第二MAC地址为所述网关设备用于建立基于第二频段的网络连接的MAC地址;根据所述第二MAC地址,确定所述网关设备的SSID,或者确定所述网关设备的SSID和密码,得到所述第二网络信息。
  10. 根据权利要求6所述的***,其特征在于,所述处理模块,包括:
    第二处理子模块,用于根据与所述网关设备连接的所述第一网络信息,获取所述网关设备的第一SSID;所述第一SSID为所述网关设备用于建立基于第一频段的网络连接的SSID;根据所述网关设备的所述第一SSID,确定所述网关设备的第二SSID,得到所述第二网络信息;其中,所述第二SSID为所述网关设备用于建立基于第二频段的网络连接的SSID。
PCT/CN2018/106699 2017-11-21 2018-09-20 多频段设备连接方法及*** WO2019100834A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201711166591.X 2017-11-21
CN201711166591.XA CN107920354A (zh) 2017-11-21 2017-11-21 多频段设备连接方法及***

Publications (1)

Publication Number Publication Date
WO2019100834A1 true WO2019100834A1 (zh) 2019-05-31

Family

ID=61897514

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/106699 WO2019100834A1 (zh) 2017-11-21 2018-09-20 多频段设备连接方法及***

Country Status (2)

Country Link
CN (1) CN107920354A (zh)
WO (1) WO2019100834A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116456408A (zh) * 2023-01-18 2023-07-18 广州鲁邦通物联网科技股份有限公司 提高路由器5g频段利用率的方法和路由器

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107920354A (zh) * 2017-11-21 2018-04-17 珠海奔图电子有限公司 多频段设备连接方法及***
CN111343674B (zh) * 2018-12-18 2022-05-31 美的集团股份有限公司 无线网络的多频段切换方法和装置
CN110392372A (zh) * 2019-08-06 2019-10-29 杭州加减智能科技有限公司 一种WiFi智能设备的联网方法
CN110569099B (zh) * 2019-09-17 2021-07-06 Oppo广东移动通信有限公司 消息显示方法及相关产品
CN110769442B (zh) * 2019-10-16 2023-07-21 海尔优家智能科技(北京)有限公司 用于接入路由器的方法及装置、物联网设备
CN115802331B (zh) * 2020-04-03 2024-01-05 华为技术有限公司 接入点ap多链路设备发现方法及相关装置
CN111970750A (zh) * 2020-08-18 2020-11-20 维沃移动通信有限公司 多频WiFi识别方法及装置
CN112055363A (zh) * 2020-09-14 2020-12-08 深圳市信锐网科技术有限公司 射频扩展方法、装置、设备以及计算机可读存储介质
CN112533184A (zh) * 2020-10-22 2021-03-19 智享众联科技有限公司 一种设备的连接方法及装置
CN112291862A (zh) * 2020-10-27 2021-01-29 中兴通讯股份有限公司 终端设备间建立连接的方法及终端设备
CN114513828A (zh) * 2020-11-17 2022-05-17 中兴通讯股份有限公司 级联通信控制方法、通信设备及计算机可读存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103858406A (zh) * 2013-09-30 2014-06-11 华为终端有限公司 媒体数据传输方法及设备
CN105163366A (zh) * 2015-09-24 2015-12-16 小米科技有限责任公司 无线网络连接方法和装置
CN105245292A (zh) * 2015-08-31 2016-01-13 北京奇艺世纪科技有限公司 网络配置方法和终端
CN107920354A (zh) * 2017-11-21 2018-04-17 珠海奔图电子有限公司 多频段设备连接方法及***

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107197459A (zh) * 2017-06-09 2017-09-22 上海斐讯数据通信技术有限公司 一种无线网络连接方法、无线路由设备以及无线设备

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103858406A (zh) * 2013-09-30 2014-06-11 华为终端有限公司 媒体数据传输方法及设备
CN105245292A (zh) * 2015-08-31 2016-01-13 北京奇艺世纪科技有限公司 网络配置方法和终端
CN105163366A (zh) * 2015-09-24 2015-12-16 小米科技有限责任公司 无线网络连接方法和装置
CN107920354A (zh) * 2017-11-21 2018-04-17 珠海奔图电子有限公司 多频段设备连接方法及***

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116456408A (zh) * 2023-01-18 2023-07-18 广州鲁邦通物联网科技股份有限公司 提高路由器5g频段利用率的方法和路由器
CN116456408B (zh) * 2023-01-18 2023-11-07 广州鲁邦通物联网科技股份有限公司 提高路由器5g频段利用率的方法和路由器

Also Published As

Publication number Publication date
CN107920354A (zh) 2018-04-17

Similar Documents

Publication Publication Date Title
WO2019100834A1 (zh) 多频段设备连接方法及***
US11395213B2 (en) Systems and methods for implementing multiple band service discovery
US11490323B2 (en) Method and device for accessing a network hotspot device by an unconfigured device
US11200012B2 (en) Terminal device, access point, communication device, and computer programs therefor
US8978119B2 (en) Automatic transfer of credentials between wireless access points
KR20130129373A (ko) 프리-어소시에이션 디스커버리
KR20080014788A (ko) 신뢰할 수 있는 매체를 통한 무선 usb(wusb) 접속수립
WO2021077930A1 (zh) 一种自动联网方法、装置、设备以及可读介质
US9357479B2 (en) Communication system, communication control system, communication apparatus, communication method, and connection program
JP2023515139A (ja) セッション確立方法及び関連装置
JP6366113B2 (ja) 通信システム、通信装置及び通信方法
JP6269025B2 (ja) 無線接続装置、無線通信に関する設定情報を複製する方法、および、ネットワークシステム
WO2018040621A1 (zh) 热点共享的方法、终端、***和计算机存储介质
JP5724795B2 (ja) 無線通信装置
JP4856700B2 (ja) トラステッド媒体を介した無線ユニバーサルシリアルバス(wusb)接続の確立
EP4029215A1 (en) Ecosystem-based wireless network setup
CN105682250A (zh) 基于Wifi Direct的情侣终端实现方法、装置及其终端
US10805504B2 (en) Communication device and non-transitory computer-readable recording medium storing computer-readable instructions for communication device
WO2014000489A1 (zh) 建立多模rru与bbu之间通信链路的方法、多模rru和bbu
JP6468341B2 (ja) 無線接続装置、無線通信に関する設定情報を複製する方法、および、ネットワークシステム
US20200301630A1 (en) Information processing apparatus, information processing system, and non-transitory computer readable medium
US9596367B2 (en) Function performing device, non-transitory computer-readable recording medium storing computer-readable instructions for terminal device, and function performing system
WO2023098484A1 (zh) 基于应用的切片选择方法、网关、终端和存储介质
US10506130B2 (en) Communication device and non-transitory computer-readable recording medium storing computer-readable instructions for communication device
CN113497779A (zh) 网络密钥交换协议使用证书认证的方法和通信设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18880399

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18880399

Country of ref document: EP

Kind code of ref document: A1