WO2020199019A1 - Wi-Fi通信连接建立方法、设备及计算机可读存储介质 - Google Patents

Wi-Fi通信连接建立方法、设备及计算机可读存储介质 Download PDF

Info

Publication number
WO2020199019A1
WO2020199019A1 PCT/CN2019/080635 CN2019080635W WO2020199019A1 WO 2020199019 A1 WO2020199019 A1 WO 2020199019A1 CN 2019080635 W CN2019080635 W CN 2019080635W WO 2020199019 A1 WO2020199019 A1 WO 2020199019A1
Authority
WO
WIPO (PCT)
Prior art keywords
router
information
remote control
wireless remote
control device
Prior art date
Application number
PCT/CN2019/080635
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 深圳市大疆创新科技有限公司
Priority to PCT/CN2019/080635 priority Critical patent/WO2020199019A1/zh
Priority to CN201980005468.0A priority patent/CN111386714A/zh
Publication of WO2020199019A1 publication Critical patent/WO2020199019A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/02Processing of mobility data, e.g. registration information at HLR [Home Location Register] or VLR [Visitor Location Register]; Transfer of mobility data, e.g. between HLR, VLR or external networks
    • H04W8/08Mobility data transfer
    • H04W8/14Mobility data transfer between corresponding nodes

Definitions

  • the embodiments of the present invention relate to the technical field of communication connections, and in particular, to a method, equipment, and computer-readable storage medium for establishing a Wi-Fi communication connection.
  • Wireless remote control equipment includes smart cars, unmanned aerial vehicles, and smart home appliances.
  • the wireless remote control device can be communicatively connected to the network, and the user can control the smart hardware device through the network.
  • the wireless remote control device and the mobile terminal can access the LAN of the same router, and the mobile terminal can establish a communication connection with the wireless remote control device.
  • the wireless remote control device cannot know the Wi-Fi frequency band to which the router belongs, so it may cause the Wi-Fi frequency band of the router to be the same as the Wi-Fi frequency band of the wireless remote control device.
  • -Fi bands do not match, and the two cannot establish a communication connection.
  • the embodiments of the present invention provide a Wi-Fi communication connection establishment method, device, and computer-readable storage medium, to solve the problem when the wireless remote control device does not know the Wi-Fi frequency band or the router belongs to in the existing Wi-Fi communication connection establishment method.
  • the Wi-Fi frequency bands of the two do not match, the two cannot establish a connection.
  • the first aspect of the embodiments of the present invention is to provide a Wi-Fi communication connection establishment method, which is applied to a wireless remote control device, and includes:
  • coded information generated by the mobile terminal, where the coded information includes router login information and country/region information;
  • the second aspect of the embodiments of the present invention is to provide a Wi-Fi communication connection establishment method, which is applied to a mobile terminal, and the mobile terminal can establish a communication connection with a router, including:
  • the coded information is displayed on the display interface, so that the wireless remote control device can establish a communication connection with the router through the coded information.
  • the third aspect of the embodiments of the present invention is to provide a wireless remote control device, which includes one or more processors that work together or individually, and the processors are configured to perform the following operations:
  • coded information generated by the mobile terminal, where the coded information includes router login information and country/region information;
  • the fourth aspect of the embodiments of the present invention is to provide a mobile terminal capable of establishing a communication connection with a router, including: one or more processors, working together or individually, and the processors are configured to perform the following operations :
  • the coded information is displayed on the display interface, so that the wireless remote control device can establish a communication connection with the router through the coded information.
  • the fifth aspect of the embodiments of the present invention is to provide a computer-readable storage medium having a computer program stored thereon, and the computer program is executed by a processor to implement the method described in the first aspect or the second aspect.
  • the Wi-Fi communication connection establishment method, device, and computer-readable storage medium provided in this embodiment can determine router login information and country/region information according to the code information generated by the mobile terminal, so that the wireless remote control device can be switched according to the country/region information
  • the frequency band it belongs to when the wireless remote control device and the router belong to the same frequency band, the wireless remote control device can establish a communication connection with the router according to the router login information, and the wireless remote control device can establish a connection with the router to realize the communication between it and the mobile terminal connection.
  • the wireless remote control device can establish a communication connection with the router even when it does not know the Wi-Fi frequency band to which the router belongs or the Wi-Fi frequency bands to which the two belong do not match.
  • FIG. 1 is a schematic flowchart of a method for establishing a Wi-Fi communication connection provided by Embodiment 1 of the present invention
  • FIG. 2 is a schematic flowchart of a method for establishing a Wi-Fi communication connection provided by Embodiment 2 of the present invention
  • Embodiment 3 is a schematic flowchart of a method for establishing a Wi-Fi communication connection provided by Embodiment 3 of the present invention
  • Embodiment 4 is a schematic flowchart of a method for establishing a Wi-Fi communication connection provided by Embodiment 4 of the present invention
  • Embodiment 5 is a schematic flowchart of a method for establishing a Wi-Fi communication connection provided by Embodiment 5 of the present invention.
  • FIG. 6 is a schematic flowchart of a method for establishing a Wi-Fi communication connection provided by Embodiment 6 of the present invention.
  • FIG. 7 is a schematic structural diagram of a wireless remote control device provided by Embodiment 7 of the present invention.
  • FIG. 8 is a schematic structural diagram of a mobile terminal according to Embodiment 8 of the present invention.
  • FIG. 9 is a schematic structural diagram of a Wi-Fi communication connection establishment system provided by Embodiment 9 of the present invention.
  • a component when a component is said to be “fixed to” another component, it can be directly on the other component or a central component may also exist. When a component is considered to be “connected” to another component, it can be directly connected to another component or there may be a centered component at the same time.
  • the present invention provides a Wi-Fi communication connection establishment Methods, equipment and computer-readable storage media.
  • the Wi-Fi communication connection establishment method, device and computer-readable storage medium provided by the present invention can be applied to any Wi-Fi communication connection establishment scenario.
  • the method for establishing a Wi-Fi communication connection obtains coding information including router login information and country/region information generated by a mobile terminal, and switches the Wi-Fi frequency band of the wireless remote control device to the one with the router according to the coding information. Wi-Fi frequency band matches. A connection is established with the router according to the router login information, so that a communication connection with the mobile terminal can be established subsequently by establishing a communication connection with the router.
  • the wireless remote control device can establish a communication connection with the router even when it does not know the Wi-Fi frequency band to which the router belongs or the Wi-Fi frequency bands to which the two belong do not match.
  • the network architecture on which the present invention is based at least includes wireless remote control devices, routers and mobile terminals.
  • the wireless remote control device and the mobile terminal can both establish a connection with the router.
  • the wireless remote control device after the wireless remote control device establishes a communication connection with the router, it can also establish a communication connection with the mobile terminal according to the communication connection with the router, so as to be able to connect to the router.
  • Other wireless remote control devices of the router can play LAN games, and can also receive control commands from mobile terminals.
  • FIG. 1 is a schematic flowchart of a method for establishing a Wi-Fi communication connection provided by Embodiment 1 of the present invention. As shown in FIG. 1, the method includes:
  • Step 101 Obtain coding information generated by a mobile terminal, where the coding information includes router login information and country/region information.
  • the execution subject of this embodiment is a wireless remote control device. Since the Wi-Fi frequency band of the router does not match the Wi-Fi frequency band of the wireless remote control device, the two cannot establish a connection. In order to enable the wireless remote control device and the router to be able to do so even when the Wi-Fi frequency band does not match, To establish a communication connection, first of all, it is necessary to obtain coding information generated by the mobile terminal.
  • the coding information includes router login information and country/region information, so that the frequency band of the wireless remote control device can be adjusted according to the country/region information, and the frequency band of the wireless remote control device can be adjusted according to the router
  • the login information establishes a connection with the router.
  • the encoding information is a two-dimensional code.
  • the encoding information can be generated by any encoding method, and the present invention is not limited herein.
  • the encoding information may specifically be a two-dimensional code.
  • the acquiring coding information generated by a mobile terminal includes:
  • the router After the router establishes a communication connection with the mobile terminal, acquiring the coding information generated by the mobile terminal.
  • the mobile terminal first needs to establish a communication connection with the router, so that the mobile terminal can obtain router login information and obtain country/region information. Encode according to the router login information and country/region information to obtain encoding information. After the mobile terminal generates the coded information, the coded information can be displayed on the display interface. Correspondingly, after the router establishes a communication connection with the mobile terminal, the wireless remote control device can obtain the coded information.
  • the wireless remote control device can specifically obtain the coded information by scanning, or obtain the coded information by other methods. The present invention is not limited here.
  • Step 102 Switch the Wi-Fi frequency band of the wireless remote control device according to the country/region information, so that the Wi-Fi frequency band of the wireless remote control device matches the Wi-Fi frequency band of the router.
  • the Wi-Fi frequency band to which the wireless remote control device belongs needs to be adjusted to Consistent with the router, therefore, the Wi-Fi frequency band of the wireless remote control device can be switched according to the country/region information in the coded information, so that the Wi-Fi frequency band of the wireless remote control device matches the Wi-Fi frequency band of the router.
  • the method of switching the Wi-Fi frequency band of the wireless remote control device according to the country/region information in the code information includes but is not limited to the following methods: the wireless remote control device automatically switches the Wi-Fi frequency band of the wireless remote control device according to the country/region information in the code information; After the wireless remote control device obtains the country/region information, it displays the country/region information or the Wi-Fi frequency band of the router corresponding to the country/region information to prompt the user to switch the Wi-Fi frequency band of the wireless remote control device.
  • Step 103 Establish a communication connection with the router according to the router login information.
  • the wireless remote control device when the frequency band to which the wireless remote control device belongs is consistent with the frequency band to which the router belongs, the wireless remote control device can establish a communication connection with the router. At this point, you can establish a communication connection with the router based on the router login information in the encoded information.
  • the router login information includes ssid and password information.
  • the wireless remote control device can establish a communication connection with the router according to the router login information.
  • the SSID technology can divide a wireless local area network into several sub-networks that require different authentication. Each sub-network requires independent authentication. Only users who pass the authentication can enter the corresponding sub-network. Therefore, the security of the wireless local area network can be improved on the basis of the establishment of a communication connection between the wireless remote control device and the router.
  • Step 104 Establish a communication connection with the mobile terminal by establishing a communication connection with the router.
  • the wireless remote control device after the wireless remote control device establishes a communication connection with the router, it can also establish a communication connection with a mobile terminal that has established a communication connection with the router, so as to achieve the effect of a mobile terminal communicating with multiple wireless remote control devices respectively, and then The mobile terminal can control each wireless remote control device separately.
  • multiple wireless remote control devices connected to the same router can also implement operations such as LAN communication and LAN operations.
  • the Wi-Fi communication connection establishment method determines the router login information and country/region information according to the code information generated by the mobile terminal, so that the frequency band to which the wireless remote control device belongs can be switched according to the country/region information.
  • the wireless remote control device can establish a communication connection with the router according to the router login information, and the wireless remote control device can establish a connection with the router to realize the communication connection between it and the mobile terminal.
  • the wireless remote control device can establish a communication connection with the router even when it does not know the Wi-Fi frequency band to which the router belongs or the Wi-Fi frequency bands to which the two belong do not match.
  • the wireless remote control device end has an image acquisition device, and the encoded information is acquired by the image acquisition device.
  • the wireless remote control device is provided with an image acquisition device, and the code information may specifically be acquired by the wireless remote control device through the image acquisition device.
  • the mobile terminal encodes the router login information and country/region information to generate code information, and display the code information on the display interface, so that the wireless remote control device can use the image
  • the acquisition device scans the encoded information to obtain the encoded information.
  • the method for establishing a Wi-Fi communication connection obtained in this embodiment obtains coding information through an image acquisition device set on a wireless remote control device, so that the coding information can be obtained quickly and accurately, and provides a basis for subsequent connections between the wireless remote control device and the router.
  • the image acquisition device is a camera.
  • the image acquisition device includes at least one of the following: an infrared sensor, a visible light sensor, and a laser sensor.
  • the wireless remote control device includes a wireless remote control device, for example, at least one of the following:
  • the mobile terminal includes at least one of the following:
  • Handheld terminal computer.
  • the establishing a communication connection with the router according to the router login information includes:
  • the Wi-Fi frequency band of the wireless remote control device matches the Wi-Fi frequency band of the router, log in to the router's network according to the router login information to establish a communication connection with the router.
  • the wireless remote control device when the Wi-Fi frequency band to which the wireless remote control device belongs is consistent with the Wi-Fi frequency band to which the router belongs, the wireless remote control device can establish a communication connection with the router. At this time, the wireless remote control device can log in to the router's network according to the router login information in the encoded information, and then can establish a communication connection with the router.
  • the wireless remote control device is a smart car and the mobile terminal is a mobile phone as an example.
  • the Wi-Fi frequency band set for the smart car at the factory is the 2.4G frequency band, and the Wi-Fi frequency band used by the router in the country/region where the smart car is located works in the 5.8G frequency band.
  • the mobile app obtains country/region information through networking/GPS, etc., and obtains the router's ssid and password information, and establishes a communication connection with the router.
  • the mobile app encapsulates the country/region information, router's sid and password information into a QR code.
  • the smart car scans the QR code to obtain the country/region information, router's ssid and password information.
  • the area information switches the Wi-Fi frequency band to the 5.8G frequency band, and realizes the communication connection between the smart car and the router based on the router's ssid and password information. After that, the smart car establishes a communication connection with the mobile phone.
  • the method for establishing a Wi-Fi communication connection is to log in to the router’s network according to the router login information when the Wi-Fi frequency band of the wireless remote control device matches the Wi-Fi frequency band of the router to establish a connection with the router. It can establish a communication connection with the router when the wireless remote control device is in any Wi-Fi frequency band.
  • the coded information is the login information of the mobile terminal to the router, and the country/ The area information is obtained by encoding after encryption; correspondingly, after obtaining the encoded information generated by the mobile terminal, it further includes:
  • Step 201 Parse the encoded information to obtain the encrypted router login information and country/region information;
  • Step 202 Decrypt the encrypted router login information and the country/region information to obtain the router login information and the country/region information.
  • the login information and country/region information can be encrypted first to obtain the encrypted login information and Country/region information, encode the encrypted login information and country/region information to obtain the encoded information.
  • the wireless remote control device first needs to decode the encoded information to obtain the encrypted login information and country/region information, and decrypt the encrypted login information and country/region information to obtain Go to login information and country/region information. Thereby, a communication connection with the router can be established according to the login information and the country/region information.
  • the method for establishing a Wi-Fi communication connection decodes and decrypts the encoded information to obtain login information and country/region information after acquiring the encoded information, so that the wireless remote control device can be in any Wi-Fi frequency band. On the basis of being able to establish a communication connection with the router, the security of the local area network can be guaranteed.
  • the encoding information is obtained after the mobile terminal encodes the router login information and the country/region information; accordingly, the acquiring encoding information generated by the mobile terminal After that, it also includes:
  • the mobile terminal after the mobile terminal obtains the login information and country/region information of the router, it can directly encode the login information and country/region information to obtain coding information.
  • the wireless remote control device after acquiring the encoded information, the wireless remote control device can directly decode the encoded information to obtain login information and country/region information. Thereby, a communication connection with the router can be established according to the login information and the country/region information.
  • the router login information and country/region information are obtained by parsing the encoding information, so that the wireless remote control device can communicate with the router in any Wi-Fi frequency band. Establish a communication connection.
  • the method further includes:
  • the wireless remote control device may further establish a communication connection with the mobile terminal.
  • the wireless remote control device can also exchange information with the mobile terminal.
  • the wireless remote control device can send current state information to the mobile terminal, and the mobile terminal can also send control instructions to the wireless remote control device.
  • the mobile terminal can realize remote control and status acquisition of the wireless remote control device.
  • the method further includes:
  • multiple wireless remote control devices can all establish a communication connection with the router, so that multiple wireless remote control devices connected to the same router can play a LAN game based on the same local area network.
  • the Wi-Fi communication connection establishment method provided in this embodiment can expand the application scenarios of the wireless remote control device and improve the user experience by playing against other wireless remote control devices connected to the router.
  • FIG. 3 is a schematic flowchart of a method for establishing a Wi-Fi communication connection provided by Embodiment 3 of the present invention.
  • the wireless remote control device connected to the router Play against games including:
  • Step 301 Receive an attack signal output by another wireless remote control device, where the attack signal includes an identifier of the other wireless remote control device;
  • Step 302 In response to the attack signal, send the attack record to all wireless remote control devices connected to the router; or output the attack signal to other wireless remote control devices, so that the other wireless remote control device obtains the attack signal.
  • the attack record is sent to all wireless remote control devices connected to the router.
  • multiple wireless remote control devices can all establish a communication connection with the router, so that multiple wireless remote control devices connected to the same router can play a LAN game based on the same local area network.
  • the wireless remote control device may receive an attack signal output by another wireless remote control device connected to the same router, where the attack signal includes the identification of the other wireless remote control device.
  • the wireless remote control device can respond to the attack signal and send the attack record to all wireless remote control devices connected to the router, so that all wireless remote control devices connected to the router The equipment understands the current battle situation.
  • the wireless remote control device can also send an attack signal to other wireless remote control devices. After receiving the attack signal, the other wireless remote control device can also respond to the attack signal and send the attack record to all wireless devices connected to the router. Remote control equipment.
  • the method for establishing a Wi-Fi communication connection receives an attack signal output by another wireless remote control device, the attack signal includes the identification of the other wireless remote control device, and sends an attack record in response to the attack signal To all wireless remote control devices connected to the router; or, output an attack signal to other wireless remote control devices, so that after the other wireless remote control device obtains the attack signal, it sends the attack record to the connection in response to the attack signal. All wireless remote control devices to the router can expand the application scenarios of the wireless remote control device and improve user experience.
  • the method further includes:
  • the wireless remote control device may further establish a communication connection with the mobile terminal.
  • the wireless remote control device can also exchange information with the mobile terminal. Specifically, the operation instruction sent by the mobile terminal can be received, and the operation instruction can be executed, so that the mobile terminal can realize the remote setting of the wireless remote control device, thereby facilitating the user
  • the wireless remote control device Take the wireless remote control device as the sweeping robot as an example.
  • the mobile terminal and the sweeping robot When the mobile terminal and the sweeping robot are connected in the local area network under the same router, the mobile terminal and the sweeping robot establish a communication connection, and the user can trigger the cleaning command on the mobile terminal.
  • the remote control device can receive the cleaning instruction and perform cleaning according to the cleaning instruction.
  • the remote control of the wireless remote control device can be realized and the application efficiency of the wireless remote control device can be improved.
  • the method further includes:
  • connection relationship with the router is stored, so that the wireless remote control device automatically establishes a communication connection with the router according to the connection relationship when the wireless remote control device is powered on again after a power failure.
  • the current connection relationship can be stored, so that when the wireless remote control device is powered off and on again, the wireless remote control device can follow
  • the stored connection relationship establishes a communication connection with the router as soon as possible.
  • the Wi-Fi communication connection establishment method provided in this embodiment stores the connection relationship with the router, so that the wireless remote control device automatically establishes communication with the router according to the connection relationship when it is powered on again after a power failure Connection, which can improve the efficiency of the connection between the wireless remote control device and the router.
  • FIG. 4 is a schematic flowchart of a method for establishing a Wi-Fi communication connection provided by Embodiment 4 of the present invention.
  • the mobile terminal can establish a communication connection with a router. As shown in FIG. 4, the method includes:
  • Step 401 Obtain router login information and country/region information corresponding to the router;
  • Step 402 Encode the router login information and the country/region information to generate encoded information
  • Step 403 Display the encoding information on the display interface, so that the wireless remote control device can establish a communication connection with the router through the encoding information.
  • the execution subject of this embodiment is a mobile terminal.
  • the mobile terminal can first establish a communication connection with the router. After the two establish a communication connection, the mobile terminal can obtain router login information and country/region information corresponding to the router. Further, the mobile terminal can code according to the router login information and country/region information to obtain the code information, and display the code on the display interface, so that the wireless remote control device can obtain the code information by scanning or the like. Since the coded information includes country/region information, the wireless remote control device can adjust the Wi-Fi frequency band it belongs to according to the country/region information to the frequency band consistent with the router, and then can establish communication with the router based on the router login information connection.
  • the method before acquiring the router login information and country/region information corresponding to the router, the method further includes:
  • the mobile terminal in order to obtain router information, the mobile terminal first needs to establish a communication connection with the router.
  • the mobile terminal first establishes a communication connection with the router in a wireless connection.
  • the mobile terminal first establishes a communication connection with the router in a wired connection.
  • the method for establishing a Wi-Fi communication connection encodes the router login information and country/region information by obtaining the router login information and country/region information corresponding to the router, generates code information, and displays the code on the display interface Information so that the wireless remote control device can establish a communication connection with the router through the encoded information. Therefore, the wireless remote control device can also establish a communication connection with the router when it does not know the Wi-Fi frequency band to which the router belongs or the Wi-Fi frequency bands to which the two belong do not match.
  • the router login information includes ssid and password information.
  • the router login information specifically includes a service set identifier (Service Set Identifier, SSID for short) and password information.
  • SSID technology can divide a wireless local area network into several sub-networks that require different authentication. Each sub-network needs independent authentication. Only users who pass the authentication can enter the corresponding sub-network, thereby improving the network of the LAN Safety.
  • the country/address information is obtained by the mobile terminal according to GPS and/or networking.
  • a GPS positioning module may be provided on the mobile terminal, so that the mobile terminal obtains country/address information through the GPS positioning module.
  • the mobile terminal can also be networked for data acquisition, so that country/address information can be acquired through the network.
  • the mobile terminal may have both a GPS positioning module and a networking function, so that the mobile terminal may obtain country/address information through the GPS positioning module and/or networking.
  • the method for establishing a Wi-Fi communication connection obtains country/address information through a GPS positioning module and/or networking, so that country/address information can be obtained accurately and quickly, so that the wireless remote control device does not know the Wi-Fi to which the router belongs. -When the Wi-Fi frequency band to which the Fi band or the two belong does not match, it can also establish a communication connection with the router.
  • FIG. 5 is a schematic flowchart of a method for establishing a Wi-Fi communication connection provided by Embodiment 5 of the present invention.
  • the login information for the router and the country/ Area information is coded to generate coded information, including:
  • Step 501 Encrypt the router login information and country/region information to generate encrypted router login information and country/region information;
  • Step 502 Encode the encrypted router login information and country/region information, and output the encoded information.
  • the login information and country/region information can also be encrypted to generate an encrypted Login information and country/region information. Encode the encrypted login information and country/region information to obtain encoded information.
  • the wireless remote control device can first decrypt the encoded information, obtain the encrypted login information and country/region information, and decrypt the encrypted login information and country/region information. Obtain login information and country/region information. In this way, a communication connection with the router can be established subsequently based on the login information and country/region information.
  • any encryption method can be used to encrypt the login information and country/region information, and the present invention is not limited herein.
  • the method for establishing a Wi-Fi communication connection encrypts the login information and country/region information after generating the coded information, so that the wireless remote control device does not know the Wi-Fi frequency band to which the router belongs or both of them. When the Wi-Fi frequency band does not match, it can also establish a communication connection with the router to improve network security.
  • FIG. 6 is a schematic flowchart of a method for establishing a Wi-Fi communication connection provided by Embodiment 6 of the present invention. As shown in FIG. 6, the method includes:
  • Step 601 The mobile terminal obtains router login information corresponding to the router and country/region information;
  • Step 602 The mobile terminal encodes the router login information and the country/region information to generate encoded information
  • Step 603 The mobile terminal displays the encoding information on the display interface.
  • Step 604 The wireless remote control device obtains coding information generated by the mobile terminal, where the coding information includes router login information and country/region information;
  • Step 605 The wireless remote control device switches the Wi-Fi frequency band of the wireless remote control device according to the country/region information, so that the Wi-Fi frequency band of the wireless remote control device matches the Wi-Fi frequency band of the router ;
  • Step 606 The wireless remote control device establishes a communication connection with the router according to the router login information
  • Step 607 The wireless remote control device establishes a communication connection with the mobile terminal by establishing a communication connection with the router.
  • the mobile terminal can first establish a communication connection with the router, and obtain router login information and country/region information corresponding to the router. Encode the router login information and country/region information to obtain the encoded information, and display the encoded information on the display interface, so that the wireless remote control device can obtain the encoded information on the display interface.
  • the wireless remote control device can obtain the code information generated by the mobile terminal, where the code information includes router login information and country/region information. After obtaining the code information, if the Wi-Fi frequency band of the wireless remote control device is different from the Wi-Fi frequency band of the router, the two cannot establish a communication connection. Therefore, the wireless remote control device can first contact itself according to the router country/region information.
  • the Wi-Fi frequency band to which it belongs can be adjusted.
  • it can establish a communication connection with the router according to the router login information.
  • the wireless remote control device can establish a communication connection with the mobile terminal according to the communication connection with the router.
  • the method for establishing a Wi-Fi communication connection establishes a communication connection between a mobile terminal and a router, and generates code information according to router login information and country/region information corresponding to the router, and the mobile terminal generates code according to the code generated by the mobile terminal
  • the information determines the router login information and country/region information, so that the frequency band that the wireless remote control device belongs to can be switched according to the country/region information.
  • the wireless remote control device can establish communication with the router according to the router login information Connect, and then the wireless remote control device can establish a connection with the router to realize the communication connection between it and the mobile terminal.
  • the wireless remote control device can establish a communication connection with the router even when it does not know the Wi-Fi frequency band to which the router belongs or the Wi-Fi frequency bands to which the two belong do not match.
  • FIG. 7 is a schematic structural diagram of a wireless remote control device according to Embodiment 7 of the present invention. As shown in FIG. 7, the wireless remote control device includes one or more processors 72, and the one or more processors 72 are collectively or individually Work locally to perform the following operations:
  • coded information generated by the mobile terminal, where the coded information includes router login information and country/region information;
  • the processor is configured to: when acquiring coding information generated by the mobile terminal:
  • the router After the router establishes a communication connection with the mobile terminal, acquiring the coding information generated by the mobile terminal.
  • the router login information includes ssid and password information.
  • the processor is configured to: when establishing a communication connection with the router according to the router login information:
  • the Wi-Fi frequency band of the wireless remote control device matches the Wi-Fi frequency band of the router, log in to the router's network according to the router login information to establish a communication connection with the router.
  • the encoded information is obtained by encoding the mobile terminal to encrypt the router login information and the country/region information;
  • the processor is further configured to:
  • Decrypt the encrypted router login information and the country/region information to obtain the router login information and the country/region information.
  • the encoding information is obtained after the mobile terminal encodes the router login information and the country/region information;
  • the processor is further configured to:
  • the processor is further configured to:
  • the processor is further configured to:
  • the processor is used to: when playing a game against other wireless remote control devices connected to the router:
  • the processor is further configured to:
  • the processor is further configured to: after establishing a communication connection with the router according to the router login information:
  • connection relationship with the router is stored, so that the wireless remote control device automatically establishes a communication connection with the router according to the connection relationship when the wireless remote control device is powered on again after a power failure.
  • the encoded information is a two-dimensional code.
  • the wireless remote control device end has an image acquisition device, and the encoded information is acquired by the image acquisition device.
  • the image acquisition device is a camera.
  • the image acquisition device includes at least one of the following: an infrared sensor, a visible light sensor, and a laser sensor.
  • the wireless remote control device includes a movable platform, a camera, a monitor, and the like.
  • the movable platform includes at least one of the following: unmanned aerial vehicle, movable robot, and remote control car.
  • the mobile terminal includes at least one of the following:
  • Handheld terminal computer.
  • FIG. 8 is a schematic structural diagram of a mobile terminal according to Embodiment 8 of the present invention.
  • the mobile terminal can establish a communication connection with a router, including: one or more processors 82, the one or more The processors 82 work together or individually to perform the following operations:
  • the coded information is displayed on the display interface, so that the wireless remote control device can establish a communication connection with the router through the coded information.
  • the router login information includes ssid and password information.
  • the country/address information is obtained by the mobile terminal according to GPS and/or networking.
  • the processor before obtaining router login information and country/region information corresponding to the router, the processor is further configured to:
  • the processor is configured to: when encoding the router login information and the country/region information to generate encoded information:
  • FIG. 9 is a schematic structural diagram of a communication connection establishment system provided by Embodiment 9 of the present invention.
  • the communication connection establishment system includes: a mobile terminal 91 and a wireless remote control device 92; wherein,
  • the mobile terminal 92 obtains router login information corresponding to the router and country/region information;
  • the mobile terminal 92 encodes the router login information and the country/region information to generate encoded information
  • the mobile terminal 92 displays the coding information on a display interface
  • the wireless remote control device 91 obtains the code information generated by the mobile terminal 92, where the code information includes router login information and country/region information;
  • the wireless remote control device 91 switches the Wi-Fi frequency band of the wireless remote control device 91 according to the country/region information, so that the Wi-Fi frequency band of the wireless remote control device 91 matches the Wi-Fi frequency band of the router ;
  • the wireless remote control device 91 establishes a communication connection with the router according to the router login information
  • the wireless remote control device 91 establishes a communication connection with the mobile terminal 92 by establishing a communication connection with the router.
  • this embodiment also provides a computer-readable storage medium on which a computer program is stored, and the computer program is executed by a processor to implement the Wi-Fi communication connection establishment method described in the foregoing embodiment.
  • the disclosed device and method may be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components can be combined or It can be integrated into another system, or some features can be ignored or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • the functional units in the various embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated unit may be implemented in the form of hardware, or may be implemented in the form of hardware plus software functional units.
  • the above-mentioned integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium.
  • the above-mentioned software functional unit is stored in a storage medium and includes several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor execute the method described in the various embodiments of the present invention. Part of the steps.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program code .

Landscapes

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

Abstract

本发明实施例提供一种Wi-Fi通信连接建立方法、设备及计算机可读存储介质,该方法包括:获取移动终端(91)生成的编码信息,其中,所述编码信息包括路由器登录信息,以及国家/地区信息;根据所述国家/地区信息切换所述无线遥控设备(92)的Wi-Fi频段,以使所述无线遥控设备(92)的Wi-Fi频段与所述路由器的Wi-Fi频段相匹配;根据所述路由器登录信息,建立与路由器之间的通信连接;通过与所述路由器建立通信连接,与所述移动终端(91)建立通信连接。通过上述方法,无线遥控设备(92)能够在不知道路由器所属的Wi-Fi频段或二者所属的Wi-Fi频段不匹配时,也能够与路由器建立通信连接。

Description

Wi-Fi通信连接建立方法、设备及计算机可读存储介质 技术领域
本发明实施例涉及通信连接技术领域,尤其涉及一种Wi-Fi通信连接建立方法、设备及计算机可读存储介质。
背景技术
无线遥控设备包括智能小车、无人飞行器、智能家电等。无线遥控设备能够通信连接至网络,用户通过网络对智能硬件设备进行控制。
传统技术中,无线遥控设备与移动终端能够接入同一个路由器的局域网,移动终端可以与无线遥控设备建立通信连接。但是,由于不同的国家/地区的路由器所属的Wi-Fi频段有可能不同,无线遥控设备无法得知路由器所属的Wi-Fi频段,因此可能造成路由器所属的Wi-Fi频段与无线遥控设备的Wi-Fi频段不匹配,进而二者则无法建立通信连接。
发明内容
本发明实施例提供一种Wi-Fi通信连接建立方法、设备及计算机可读存储介质,以解决现有的Wi-Fi通信连接建立方法中当无线遥控设备不知道路由器所属的Wi-Fi频段或二者所属的Wi-Fi频段不匹配时,二者无法建立连接的技术问题。
本发明实施例的第一方面是提供一种Wi-Fi通信连接建立方法,应用于无线遥控设备,包括:
获取移动终端生成的编码信息,其中,所述编码信息包括路由器登录信息,以及国家/地区信息;
根据所述国家/地区信息切换所述无线遥控设备的Wi-Fi频段,以使所述无线遥控设备的Wi-Fi频段与所述路由器的Wi-Fi频段相匹配;
根据所述路由器登录信息,建立与路由器之间的通信连接;
通过与所述路由器建立通信连接,与所述移动终端建立通信连接。
本发明实施例的第二方面是提供一种Wi-Fi通信连接建立方法,应用在移动终端,所述移动终端能够与路由器建立通信连接,包括:
获取所述路由器对应的路由器登录信息,以及国家/地区信息;
对所述路由器登录信息以及所述国家/地区信息进行编码,生成编码信息;
在显示界面上显示所述编码信息,以使无线遥控设备能够通过所述编码信息与所述路由器建立通信连接。
本发明实施例的第三方面是提供一种无线遥控设备,包括一个或多个处理器,共同地或单独地工作,所述处理器用于执行以下操作:
获取移动终端生成的编码信息,其中,所述编码信息包括路由器登录信息,以及国家/地区信息;
根据所述国家/地区信息切换所述无线遥控设备的Wi-Fi频段,以使所述无线遥控设备的Wi-Fi频段与所述路由器的Wi-Fi频段相匹配;
根据所述路由器登录信息,建立与路由器之间的通信连接;
通过与所述路由器建立通信连接,与所述移动终端建立通信连接。
本发明实施例的第四方面是提供一种移动终端,所述移动终端能够与路由器建立通信连接,包括:一个或多个处理器,共同地或单独地工作,所述处理器用于执行以下操作:
获取所述路由器对应的路由器登录信息,以及国家/地区信息;
对所述路由器登录信息以及所述国家/地区信息进行编码,生成编码信息;
在显示界面上显示所述编码信息,以使无线遥控设备能够通过所述编码信息与所述路由器建立通信连接。
本发明实施例的第五方面是提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行以实现第一方面或第二方面所述的方法。
本实施例提供的Wi-Fi通信连接建立方法、设备及计算机可读存储介质,通过根据移动终端生成的编码信息确定路由器登录信息以及国家/地区信息,从而能够根据国家/地区信息切换无线遥控设备所属的频段,当无线遥控设备与路由器所属的频段相同时,无线遥控设备能够根据路由器 登录信息与路由器建立通信连接,进而无线遥控设备能够通过与路由器建立连接,实现其与移动终端之间的通信连接。通过上述方法,无线遥控设备能够在不知道路由器所属的Wi-Fi频段或二者所属的Wi-Fi频段不匹配时,也能够与路由器建立通信连接。
附图说明
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1为本发明实施例一提供的Wi-Fi通信连接建立方法的流程示意图;
图2为本发明实施例二提供的Wi-Fi通信连接建立方法的流程示意图;
图3为本发明实施例三提供的Wi-Fi通信连接建立方法的流程示意图;
图4为本发明实施例四提供的Wi-Fi通信连接建立方法的流程示意图;
图5为本发明实施例五提供的Wi-Fi通信连接建立方法的流程示意图;
图6为本发明实施例六提供的Wi-Fi通信连接建立方法的流程示意图;
图7为本发明实施例七提供的无线遥控设备的结构示意图;
图8为本发明实施例八提供的移动终端的结构示意图;
图9为本发明实施例九提供的Wi-Fi通信连接建立***的结构示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
需要说明的是,当组件被称为“固定于”另一个组件,它可以直接在另一个组件上或者也可以存在居中的组件。当一个组件被认为是“连接”另一个组件,它可以是直接连接到另一个组件或者可能同时存在居中组件。
除非另有定义,本文所使用的所有的技术和科学术语与属于本发明的技术领域的技术人员通常理解的含义相同。本文中在本发明的说明书中所 使用的术语只是为了描述具体的实施例的目的,不是旨在于限制本发明。本文所使用的术语“及/或”包括一个或多个相关的所列项目的任意的和所有的组合。
为了解决现有的Wi-Fi通信连接建立方法中当智能硬件设备与路由器所属的Wi-Fi频段不匹配时,二者无法建立连接的技术问题,本发明提供了一种Wi-Fi通信连接建立方法、设备及计算机可读存储介质。本发明提供的Wi-Fi通信连接建立方法、设备及计算机可读存储介质能够应用在任意一种Wi-Fi通信连接建立场景中。
本发明提供的Wi-Fi通信连接建立方法,通过获取移动终端生成的包括路由器登录信息以及国家/地区信息的编码信息,并根据该编码信息将无线遥控设备的Wi-Fi频段切换至与路由器的Wi-Fi频段相匹配。根据路由器登录信息与路由器建立连接,从而后续能够通过与路由器建立通信连接,与移动终端建立通信连接。通过上述方法,无线遥控设备能够在不知道路由器所属的Wi-Fi频段或二者所属的Wi-Fi频段不匹配时,也能够与路由器建立通信连接。
下面结合附图,对本发明的一些实施方式作详细说明。在不冲突的情况下,下述的实施例及实施例中的特征可以相互组合。
本发明所基于的网络架构至少包括无线遥控设备、路由器以及移动终端。其中,无线遥控设备以及移动终端均可以与路由器建立连接,此外,当无线遥控设备与路由器建立通信连接之后,还可以根据与路由器之间的通信连接与移动终端建立通信连接,从而能够与连接至路由器的其他无线遥控设备进行局域网游戏对战,还可以接收移动终端的控制指令等。
图1为本发明实施例一提供的Wi-Fi通信连接建立方法的流程示意图,如图1所示,所述方法包括:
步骤101、获取移动终端生成的编码信息,其中,所述编码信息包括路由器登录信息,以及国家/地区信息。
本实施例的执行主体为无线遥控设备。由于在路由器所属的Wi-Fi频段与无线遥控设备的Wi-Fi频段不匹配的情况下,二者则无法建立连接,为了使无线遥控设备与路由器在Wi-Fi频段不匹配的情况下也能够建立通信连接,首先,需要获取移动终端生成的编码信息,其中,该编码信息中 包括路由器登录信息以及国家/地区信息,从而能够根据该国家/地区信息调节无线遥控设备所属的频段,并根据路由器登录信息与路由器建立连接。
具体地,在上述任一实施例的基础上,所述编码信息为二维码。
其中,编码信息可以为通过任意一种编码方式生成的,本发明在此不做限制。举例来说,该编码信息具体可以为二维码。
具体地,在上述任一实施例的基础上,所述获取移动终端生成的编码信息,包括:
在所述路由器与所述移动终端建立通信连接之后,获取所述移动终端生成的编码信息。
在本实施例中,移动终端首先需要与路由器建立通信连接,从而移动终端能够获取到路由器登录信息,并获取国家/地区信息。根据该路由器登录信息以及国家/地区信息进行编码,获得编码信息。该移动终端生成该编码信息之后,可以在显示界面上显示该编码信息。相应地,在路由器与移动终端建立通信连接之后,无线遥控设备可以获取该编码信息,无线遥控设备具体可以通过扫描的方式实现对编码信息的获取,也可以通过其他方式实现对编码信息的获取,本发明在此不做限制。
步骤102、根据所述国家/地区信息切换所述无线遥控设备的Wi-Fi频段,以使所述无线遥控设备的Wi-Fi频段与所述路由器的Wi-Fi频段相匹配。
在本实施方式中,根据编码信息获取到路由器登录信息以及国家/地区信息进行编码之后,为了实现无线遥控设备与路由器之间通信连接的建立,需要将无线遥控设备所属的Wi-Fi频段调节至与路由器一致,因此,可以根据编码信息中的国家/地区信息切换无线遥控设备的Wi-Fi频段,以使无线遥控设备的Wi-Fi频段与路由器的Wi-Fi频段相匹配。
根据编码信息中的国家/地区信息切换无线遥控设备的Wi-Fi频段的方式包括但不限于以下方式:无线遥控设备根据编码信息中的国家/地区信息自动切换无线遥控设备的Wi-Fi频段;无线遥控设备获取到国家/地区信息后,显示该国家/地区信息、或者该国家/地区信息对应的路由器的Wi-Fi频段,以提示用户进行切换无线遥控设备的Wi-Fi频段。
步骤103、根据所述路由器登录信息,建立与路由器之间的通信连接。
在本实施方式中,当无线遥控设备所属的频段至与路由器所属的频段一致时,无线遥控设备可以与路由器建立通信连接。此时,可以根据编码信息中的路由器登录信息,建立与路由器之间的通信连接。
具体地,在上述任一实施例的基础上,所述路由器登录信息包括ssid以及密码信息。
由于路由器登录信息中包括服务集标识(Service Set Identifier,简称ssid)以及密码信息,从而无线遥控设备能够根据路由器登录信息与路由器建立通信连接。需要说明的是,SSID技术可以将一个无线局域网分为几个需要不同身份验证的子网络,每一个子网络都需要独立的身份验证,只有通过身份验证的用户才可以进入相应的子网络。从而能够在实现无线遥控设备与路由器建立通信连接的基础上,提高无线局域网的安全性。
步骤104、通过与所述路由器建立通信连接,与所述移动终端建立通信连接。
在本实施方式中,无线遥控设备在与路由器建立通信连接之后,还可以与已与路由器建立通信连接的移动终端建立通信连接,实现一个移动终端分别与多个无线遥控设备通信连接的效果,进而移动终端可以分别对各无线遥控设备进行控制。此外,连接至同一路由器的多个无线遥控设备还可以实现局域网通信、局域网作战等操作。
本实施例提供的Wi-Fi通信连接建立方法,通过根据移动终端生成的编码信息确定路由器登录信息以及国家/地区信息,从而能够根据国家/地区信息切换无线遥控设备所属的频段,当无线遥控设备与路由器所属的频段相同时,无线遥控设备能够根据路由器登录信息与路由器建立通信连接,进而无线遥控设备能够通过与路由器建立连接,实现其与移动终端之间的通信连接。通过上述方法,无线遥控设备能够在不知道路由器所属的Wi-Fi频段或二者所属的Wi-Fi频段不匹配时,也能够与路由器建立通信连接。
进一步地,在上述任一实施例的基础上,所述无线遥控设备端具有图像采集装置,所述编码信息通过所述图像采集装置获取。
在本实施例中,无线遥控设备上设置有图像采集装置,该编码信息具体可以是无线遥控设备通过图像采集装置获取到的。具体地,移动终端获取到路由器登录信息以及国家/地区信息之后,根据路由器登录信息以及 国家/地区信息进行编码,生成编码信息,并将编码信息显示在显示界面上,从而无线遥控设备可以通过图像采集装置对该编码信息进行扫描,获取到该编码信息。
本实施例提供的Wi-Fi通信连接建立方法,通过无线遥控设备上设置的图像采集装置获取编码信息,从而能够快速精准地获取到编码信息,为后续无线遥控设备与路由器的连接提供了基础。
进一步地,在上述任一实施例的基础上,所述图像采集装置为相机。
可选地,在上述任一实施例的基础上,所述图像采集装置包括如下至少一种:红外传感器、可见光传感器、激光传感器。
进一步地,在上述任一实施例的基础上,所述无线遥控设备包括无线遥控设备,例如如下至少一种:
无人机、可移动机器人、遥控车。
进一步地,在上述任一实施例的基础上,所述移动终端包括如下至少一种:
手持终端、计算机。
进一步地,在上述任一实施例的基础上,所述根据所述路由器登录信息,建立与路由器之间的通信连接,包括:
在所述无线遥控设备的Wi-Fi频段与所述路由器的Wi-Fi频段相匹配的情况下,根据所述路由器登录信息登录所述路由器的网络,以建立与路由器之间的通信连接。
在本实施例中,当无线遥控设备所属的Wi-Fi频段至与路由器所属的Wi-Fi频段一致时,无线遥控设备可以与路由器建立通信连接。此时,无线遥控设备可以根据编码信息中的路由器登录信息登录路由器的网络,进而能够与路由器建立通信连接。
下面以无线遥控设备为智能车,移动终端为手机为例进行说明。智能车在出厂时设置的Wi-Fi频段为2.4G频段,该智能车所在的国家/地区中路由器使用的Wi-Fi频段工作在5.8G频段。手机app通过联网/GPS等方式获取国家/地区信息,并获取到路由器的ssid及密码信息,与路由器建立通信连接。该手机app将国家/地区信息、路由器的ssid及密码信息封装成二维码,智能车通过扫描该二维码,进而获取到该国家/地区信息、 路由器的ssid及密码信息,根据该国家/地区信息将Wi-Fi频段切换成5.8G频段,并根据路由器的ssid及密码信息实现智能车与路由器建立通信连接。之后,智能车建立与手机的通信连接。
本实施例提供的Wi-Fi通信连接建立方法,通过在无线遥控设备的Wi-Fi频段与路由器的Wi-Fi频段相匹配的情况下,根据路由器登录信息登录路由器的网络,以建立与路由器之间的通信连接,从而能够在无线遥控设备处于任意一个Wi-Fi频段均能够与路由器建立通信连接。
图2为本发明实施例二提供的Wi-Fi通信连接建立方法的流程示意图,在上述任一实施例的基础上,所述编码信息是移动终端对所述路由器登录信息,以及所述国家/地区信息进行加密后编码获得的;相应地,所述获取移动终端生成的编码信息之后,还包括:
步骤201、解析所述编码信息,获得加密后的所述路由器登录信息,以及国家/地区信息;
步骤202、对所述加密后的所述路由器登录信息,以及所述国家/地区信息进行解密,获取所述路由器登录信息,以及所述国家/地区信息。
在本实施例中,为了保证局域网的安全性,在移动终端获取到路由器的登录信息以及国家/地区信息之后,可以首先对该登录信息以及国家/地区信息进行加密,获得加密后的登录信息以及国家/地区信息,对加密后的登录信息以及国家/地区信息进行编码,获得编码信息。相应地,无线遥控设备在获取到该编码信息之后,首先需要对该编码信息进行解码,获得加密后的登录信息以及国家/地区信息,对加密后的登录信息以及国家/地区信息进行解密,获得到登录信息以及国家/地区信息。从而后续可以根据登录信息以及国家/地区信息建立与路由器的通信连接。
本实施例提供的Wi-Fi通信连接建立方法,通过获取到编码信息后,对编码信息进行解码以及解密获得登录信息以及国家/地区信息,从而能够在无线遥控设备处于任意一个Wi-Fi频段均能够与路由器建立通信连接的基础上,保证局域网的安全性。
可选地,在上述实施例的基础上,所述编码信息是移动终端对所述路由器登录信息,以及所述国家/地区信息编码后获得的;相应地,所述获取移动终端生成的编码信息之后,还包括:
解析所述编码信息,获得所述路由器登录信息,以及国家/地区信息。
在本实施例中,在移动终端获取到路由器的登录信息以及国家/地区信息之后,可以直接对登录信息以及国家/地区信息进行编码,获得编码信息。相应地,无线遥控设备在获取到该编码信息之后,可以直接对该编码信息进行解码,获得登录信息以及国家/地区信息。从而后续可以根据登录信息以及国家/地区信息建立与路由器的通信连接。
本实施例提供的Wi-Fi通信连接建立方法,通过解析所述编码信息,获得所述路由器登录信息,以及国家/地区信息,从而能够在无线遥控设备处于任意一个Wi-Fi频段均能够与路由器建立通信连接。
进一步地,在上述任一实施例的基础上,所述通过与所述路由器建立通信连接,与所述移动终端建立通信连接之后,还包括:
与所述移动终端进行信息交互。
在本实施例中,无线遥控设备在与路由器建立通信连接之后,还可以进一步地与移动终端建立通信连接。相应地,与移动终端建立通信连接之后,无线遥控设备还可以与移动终端进行信息交互。举例来说,无线遥控设备可以向移动终端发送当前自身的状态信息,移动终端也可以向无线遥控设备发送控制指令等。
本实施例提供的Wi-Fi通信连接建立方法,通过与所述移动终端进行信息交互,从而移动终端可以实现对无线遥控设备的远程控制以及状态获取等。
进一步地,在上述任一实施例的基础上,所述通过与所述路由器建立通信连接,与所述移动终端建立通信连接之后,还包括:
与连接至所述路由器的其他无线遥控设备进行局域网游戏对战。
在本实施例中,多台无线遥控设备均可以与路由器建立通信连接,从而连接至同一路由器的多台无线遥控设备可以基于同一个局域网进行局域网游戏对战。
本实施例提供的Wi-Fi通信连接建立方法,通过与连接至所述路由器的其他无线遥控设备进行局域网游戏对战,从而能够扩展无线遥控设备的应用场景,提高用户体验。
图3为本发明实施例三提供的Wi-Fi通信连接建立方法的流程示意图, 在上述任一实施例的基础上,如图3所示,所述与连接至所述路由器的其他无线遥控设备进行游戏对战,包括:
步骤301、接收其他无线遥控设备输出的攻击信号,所述攻击信号中包括所述其他无线遥控设备的标识;
步骤302、响应于所述攻击信号,将攻击记录发送至连接至所述路由器的所有无线遥控设备;或者,向其他无线遥控设备输出攻击信号,以使所述其他无线遥控设备获取到攻击信号后,响应于所述攻击信号,将攻击记录发送至连接至所述路由器的所有无线遥控设备。
在本实施例中,多台无线遥控设备均可以与路由器建立通信连接,从而连接至同一路由器的多台无线遥控设备可以基于同一个局域网进行局域网游戏对战。具体地,在游戏对战过程中,无线遥控设备可以接收连接至同一路由器的其他无线遥控设备输出的攻击信号,其中,该攻击信号中包括其他无线遥控设备的标识。相应地,为了在局内同步对战实况,接收到该攻击信号之后,可以响应与该攻击信号,并将攻击记录发送至连接至该路由器的全部无线遥控设备,以使连接至该路由器的全部无线遥控设备对当前的对战实况进行了解。可选地,无线遥控设备也可以向其他无线遥控设备发送攻击信号,其他无线遥控设备在接收到该攻击信号之后,也可以响应与该攻击信号,并将攻击记录发送至连接至路由器的全部无线遥控设备。
本实施例提供的Wi-Fi通信连接建立方法,通过接收其他无线遥控设备输出的攻击信号,所述攻击信号中包括所述其他无线遥控设备的标识,响应于所述攻击信号,将攻击记录发送至连接至所述路由器的所有无线遥控设备;或者,向其他无线遥控设备输出攻击信号,以使所述其他无线遥控设备获取到攻击信号后,响应于所述攻击信号,将攻击记录发送至连接至所述路由器的所有无线遥控设备,从而能够扩展无线遥控设备的应用场景,提高用户体验。
进一步地,在上述任一实施例的基础上,所述通过与所述路由器建立通信连接,与所述移动终端建立通信连接之后,还包括:
接收所述移动终端发送的操作指令;
执行所述操作指令。
在本实施例中,无线遥控设备在与路由器建立通信连接之后,还可以进一步地与移动终端建立通信连接。相应地,与移动终端建立通信连接之后,无线遥控设备还可以与移动终端进行信息交互。具体地,可以接收移动终端发送的操作指令,并执行该操作指令,从而移动终端能够实现对无线遥控设备的远程设置,从而方便用户在
以无线遥控设备为扫地机器人为例举例说明,当移动终端与扫地机器人连接在同一个路由器下的局域网中,移动终端与扫地机器人建立通信连接,用户可以在移动终端触发清洁指令,相应地,无线遥控设备可以接收该清洁指令,并根据该清洁指令进行打扫。
本实施例提供的Wi-Fi通信连接建立方法,通过接收所述移动终端发送的操作指令;执行所述操作指令,从而能够实现对无线遥控设备的远程控制,提高无线遥控设备的应用效率。
进一步地,在上述任一实施例的基础上,所述根据所述路由器登录信息,建立与路由器之间的通信连接之后,还包括:
存储与所述路由器的连接关系,以使所述无线遥控设备在断电后再次上电时根据所述连接关系自动与所述路由器建立通信连接。
在本实施例中,无线遥控设备与路由器建立通信连接之后,为了提高连接效率,可以对当前的连接关系进行存储,从而后续在无线遥控设备断电后再次上电的时候,无线遥控设备能够根据存储的连接关系尽快地与路由器建立通信连接。
本实施例提供的Wi-Fi通信连接建立方法,通过存储与所述路由器的连接关系,以使所述无线遥控设备在断电后再次上电时根据所述连接关系自动与所述路由器建立通信连接,从而能够提高无线遥控设备与路由器之间的连接效率。
图4为本发明实施例四提供的Wi-Fi通信连接建立方法的流程示意图,所述移动终端能够与路由器建立通信连接,如图4所示,所述方法包括:
步骤401、获取所述路由器对应的路由器登录信息,以及国家/地区信息;
步骤402、对所述路由器登录信息以及所述国家/地区信息进行编码,生成编码信息;
步骤403、在显示界面上显示所述编码信息,以使无线遥控设备能够通过所述编码信息与所述路由器建立通信连接。
本实施例的执行主体为移动终端。移动终端首先可以与路由器建立通信连接,二者建立通信连接之后,移动终端可以获取该路由器对应的路由器登录信息以及国家/地区信息。进一步地,移动终端可以根据路由器登录信息以及国家/地区信息进行编码,获得编码信息,并将该编码显示在显示界面上,从而无线遥控设备即可以通过扫描等方式获取到该编码信息。由于该编码信息中包括国家/地区信息,从而无线遥控设备能够根据该国家/地区信息将自身所属的Wi-Fi频段调节至于与路由器一致的频段,进而能够根据该路由器登录信息建立与路由器的通信连接。
具体地,在上述任一实施例的基础上,所述获取所述路由器对应的路由器登录信息以及国家/地区信息之前,还包括:
与所述路由器建立通信连接。
在本实施例中,为了实现对路由器信息的获取,移动终端首先需要与路由器建立通信连接。可选的,移动终端首先与路由器建立通信连接方式为无线连接。可选的,移动终端首先与路由器建立通信连接方式为有线连接。
本实施例提供的Wi-Fi通信连接建立方法,通过获取路由器对应的路由器登录信息,以及国家/地区信息,对路由器登录信息以及国家/地区信息进行编码,生成编码信息,在显示界面上显示编码信息,以使无线遥控设备能够通过编码信息与路由器建立通信连接。从而无线遥控设备能够在不知道路由器所属的Wi-Fi频段或二者所属的Wi-Fi频段不匹配时,也能够与路由器建立通信连接。
进一步地,在上述任一实施例的基础上,所述路由器登录信息包括ssid以及密码信息。
在本实施例中,路由器登录信息具体包括服务集标识(Service Set Identifier,简称SSID)以及密码信息。SSID技术可以将一个无线局域网分为几个需要不同身份验证的子网络,每一个子网络都需要独立的身份验证,只有通过身份验证的用户才可以进入相应的子网络,从而能够提高局域网的网络安全。
进一步地,在上述任一实施例的基础上,所述国家/地址信息由所述移动终端根据GPS和/或联网获取。
在本实施例中,移动终端上可以设置有GPS定位模块,从而移动终端通过GPS定位模块获取国家/地址信息。可选地,移动终端也可以联网进行数据获取,从而可以通过联网获取国家/地址信息。可选地,移动终端可以同时具有GPS定位模块并具有联网功能,从而移动终端可以通过GPS定位模块和/或联网获取国家/地址信息。
够根据该路由器登录信息建立与路由器的通信连接。
本实施例提供的Wi-Fi通信连接建立方法,通过GPS定位模块和/或联网获取国家/地址信息,从而能够精准快速地获取到国家/地址信息,以便无线遥控设备在不知道路由器所属的Wi-Fi频段或二者所属的Wi-Fi频段不匹配时,也能够与路由器建立通信连接。
图5为本发明实施例五提供的Wi-Fi通信连接建立方法的流程示意图,在上述任一实施例的基础上,如图5所示,所述对所述路由器登录信息以及所述国家/地区信息进行编码,生成编码信息,包括:
步骤501、对所述路由器登录信息以及国家/地区信息进行加密,生成加密后的路由器登录信息以及国家/地区信息;
步骤502、对所述加密后的路由器登录信息以及国家/地区信息进行编码,输出所述编码信息。
在本实施例中,为了提高路由器的登录信息以及国家/地区信息的安全,在对登录信息以及国家/地区信息进行编码之前,还可以对登录信息以及国家/地区信息进行加密,生成加密后的登录信息以及国家/地区信息。对加密后的登录信息以及国家/地区信息进行编码,获得编码信息。相应地,无线遥控设备获取到该编码信息之后,首先可以对该编码信息进行解密,获取到加密后的登录信息以及国家/地区信息,并对加密后的登录信息以及国家/地区信息进行解密,获得登录信息以及国家/地区信息。从而后续可以根据登录信息以及国家/地区信息与路由器建立通信连接。需要说明的是,可以采用任意一种加密方法对登录信息以及国家/地区信息进行加密,本发明在此不做限制。
本实施例提供的Wi-Fi通信连接建立方法,通过在生成编码信息之后 对登录信息以及国家/地区信息进行加密,从而能够在无线遥控设备不知道路由器所属的Wi-Fi频段或二者所属的Wi-Fi频段不匹配时,也能够与路由器建立通信连接的基础上,提高网络安全。
图6为本发明实施例六提供的Wi-Fi通信连接建立方法的流程示意图,如图6所示,所述方法包括:
步骤601、移动终端获取路由器对应的路由器登录信息,以及国家/地区信息;
步骤602、所述移动终端对所述路由器登录信息以及所述国家/地区信息进行编码,生成编码信息;
步骤603、所述移动终端在显示界面上显示所述编码信息;
步骤604、无线遥控设备获取所述移动终端生成的编码信息,其中,所述编码信息包括路由器登录信息,以及国家/地区信息;
步骤605、所述无线遥控设备根据所述国家/地区信息切换所述无线遥控设备的Wi-Fi频段,以使所述无线遥控设备的Wi-Fi频段与所述路由器的Wi-Fi频段相匹配;
步骤606、所述无线遥控设备根据所述路由器登录信息,建立与路由器之间的通信连接;
步骤607、所述无线遥控设备通过与所述路由器建立通信连接,与所述移动终端建立通信连接。
在本实施例中,移动终端首先可以与路由器建立通信连接,并获取路由器对应的路由器登录信息,以及国家/地区信息。对路由器登录信息,以及国家/地区信息进行编码,获得编码信息,在显示界面上显示该编码信息,以使无线遥控设备能够在显示界面上实现对编码信息的获取。相应地,无线遥控设备可以获取移动终端生成的编码信息,其中,该编码信息中包括路由器登录信息,以及国家/地区信息。获取到该编码信息之后,由于若无线遥控设备所属Wi-Fi频段与路由器所属Wi-Fi频段不同时,二者无法建立通信连接,因此,无线遥控设备首先可以根据该路由器国家/地区信息对自身所属的Wi-Fi频段进行调节,当二者所属频段一致时,可以根据路由器登录信息与路由器建立通信连接。进而无线遥控设备可以根据与路由器之间的通信连接,建立与移动终端的通信连接。
本实施例提供的Wi-Fi通信连接建立方法,通过在移动终端与路由器建立通信连接,并根据路由器对应的路由器登录信息以及国家/地区信息生成编码信息之后,可移动终端根据移动终端生成的编码信息确定路由器登录信息以及国家/地区信息,从而能够根据国家/地区信息切换无线遥控设备所属的频段,当无线遥控设备与路由器所属的频段相同时,无线遥控设备能够根据路由器登录信息与路由器建立通信连接,进而无线遥控设备能够通过与路由器建立连接,实现其与移动终端之间的通信连接。通过上述方法,无线遥控设备能够在不知道路由器所属的Wi-Fi频段或二者所属的Wi-Fi频段不匹配时,也能够与路由器建立通信连接。
图7为本发明实施例七提供的无线遥控设备的结构示意图,如图7所示,所述无线遥控设备包括一个或多个处理器72,所述一个或多个处理器72共同地或单独地工作,用于执行以下操作:
获取移动终端生成的编码信息,其中,所述编码信息包括路由器登录信息,以及国家/地区信息;
根据所述国家/地区信息切换所述无线遥控设备的Wi-Fi频段,以使所述无线遥控设备的Wi-Fi频段与所述路由器的Wi-Fi频段相匹配;
根据所述路由器登录信息,建立与路由器之间的通信连接;
通过与所述路由器建立通信连接,与所述移动终端建立通信连接。
进一步地,在上述任一实施例的基础上,所述处理器在获取移动终端生成的编码信息时,用于:
在所述路由器与所述移动终端建立通信连接之后,获取所述移动终端生成的编码信息。
进一步地,在上述任一实施例的基础上,所述路由器登录信息包括ssid以及密码信息。
进一步地,在上述任一实施例的基础上,所述处理器在根据所述路由器登录信息,建立与路由器之间的通信连接时,用于:
在所述无线遥控设备的Wi-Fi频段与所述路由器的Wi-Fi频段相匹配的情况下,根据所述路由器登录信息登录所述路由器的网络,以建立与路由器之间的通信连接。
进一步地,在上述任一实施例的基础上,所述编码信息是移动终端对 所述路由器登录信息,以及所述国家/地区信息进行加密后编码获得的;
相应地,所述处理器在获取移动终端生成的编码信息之后,还用于:
解析所述编码信息,获得加密后的所述路由器登录信息,以及国家/地区信息;
对所述加密后的所述路由器登录信息,以及所述国家/地区信息进行解密,获取所述路由器登录信息,以及所述国家/地区信息。
进一步地,在上述任一实施例的基础上,所述编码信息是移动终端对所述路由器登录信息,以及所述国家/地区信息编码后获得的;
相应地,所述处理器在获取移动终端生成的编码信息之后,还用于:
解析所述编码信息,获得所述路由器登录信息,以及国家/地区信息。
进一步地,在上述任一实施例的基础上,所述处理器在通过与所述路由器建立通信连接,与所述移动终端建立通信连接之后,还用于:
与所述移动终端进行信息交互。
进一步地,在上述任一实施例的基础上,所述处理器在通过与所述路由器建立通信连接,与所述移动终端建立通信连接之后,还用于:
与连接至所述路由器的其他无线遥控设备进行局域网游戏对战。
进一步地,在上述任一实施例的基础上,所述处理器在与连接至所述路由器的其他无线遥控设备进行游戏对战时,用于:
接收其他无线遥控设备输出的攻击信号,所述攻击信号中包括所述其他无线遥控设备的标识;
响应于所述攻击信号,将攻击记录发送至连接至所述路由器的所有无线遥控设备;或者,
向其他无线遥控设备输出攻击信号,以使所述其他无线遥控设备获取到攻击信号后,响应于所述攻击信号,将攻击记录发送至连接至所述路由器的所有无线遥控设备。
进一步地,在上述任一实施例的基础上,所述处理器在通过与所述路由器建立通信连接,与所述移动终端建立通信连接之后,还用于:
接收所述移动终端发送的操作指令;
执行所述操作指令。
进一步地,在上述任一实施例的基础上,所述处理器在根据所述路由 器登录信息,建立与路由器之间的通信连接之后,还用于:
存储与所述路由器的连接关系,以使所述无线遥控设备在断电后再次上电时根据所述连接关系自动与所述路由器建立通信连接。
进一步地,在上述任一实施例的基础上,所述编码信息为二维码。
进一步地,在上述任一实施例的基础上,所述无线遥控设备端具有图像采集装置,所述编码信息通过所述图像采集装置获取。
进一步地,在上述任一实施例的基础上,所述图像采集装置为相机。
进一步地,在上述任一实施例的基础上,所述图像采集装置包括如下至少一种:红外传感器、可见光传感器、激光传感器。
进一步地,在上述任一实施例的基础上,所述无线遥控设备包括可移动平台、摄像头、监控器等。例如可移动平台包括如下至少一种:无人机、可移动机器人、遥控车。
进一步地,在上述任一实施例的基础上,所述移动终端包括如下至少一种:
手持终端、计算机。
图8为本发明实施例八提供的移动终端的结构示意图,如图8所示,所述移动终端能够与路由器建立通信连接,包括:包括一个或多个处理器82,所述一个或多个处理器82共同地或单独地工作,用于执行以下操作:
获取所述路由器对应的路由器登录信息,以及国家/地区信息;
对所述路由器登录信息以及所述国家/地区信息进行编码,生成编码信息;
在显示界面上显示所述编码信息,以使无线遥控设备能够通过所述编码信息与所述路由器建立通信连接。
进一步地,在上述任一实施例的基础上,所述路由器登录信息包括ssid以及密码信息。
进一步地,在上述任一实施例的基础上,所述国家/地址信息由所述移动终端根据GPS和/或联网获取。
进一步地,在上述任一实施例的基础上,所述处理器在获取所述路由器对应的路由器登录信息以及国家/地区信息之前,还用于:
与所述路由器建立通信连接。
进一步地,在上述任一实施例的基础上,所述处理器在对所述路由器登录信息以及所述国家/地区信息进行编码,生成编码信息时,用于:
对所述路由器登录信息以及国家/地区信息进行加密,生成加密后的路由器登录信息以及国家/地区信息;
对所述加密后的路由器登录信息以及国家/地区信息进行编码,输出所述编码信息。
图9为本发明实施例九提供的通信连接建立***的结构示意图,在上述任一实施例的基础上,所述通信连接建立***包括:移动终端91以及无线遥控设备92;其中,
移动终端92获取路由器对应的路由器登录信息,以及国家/地区信息;
所述移动终端92对所述路由器登录信息以及所述国家/地区信息进行编码,生成编码信息;
所述移动终端92在显示界面上显示所述编码信息;
无线遥控设备91获取所述移动终端92生成的编码信息,其中,所述编码信息包括路由器登录信息,以及国家/地区信息;
所述无线遥控设备91根据所述国家/地区信息切换所述无线遥控设备91的Wi-Fi频段,以使所述无线遥控设备91的Wi-Fi频段与所述路由器的Wi-Fi频段相匹配;
所述无线遥控设备91根据所述路由器登录信息,建立与路由器之间的通信连接;
所述无线遥控设备91通过与所述路由器建立通信连接,与所述移动终端92建立通信连接。
另外,本实施例还提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行以实现上述实施例所述的Wi-Fi通信连接建立方法。
在本发明所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个***,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之 间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。
上述以软件功能单元的形式实现的集成的单元,可以存储在一个计算机可读取存储介质中。上述软件功能单元存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本发明各个实施例所述方法的部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
本领域技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。上述描述的装置的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。

Claims (47)

  1. 一种Wi-Fi通信连接建立方法,应用于无线遥控设备,其特征在于,包括:
    获取移动终端生成的编码信息,其中,所述编码信息包括路由器登录信息,以及国家/地区信息;
    根据所述国家/地区信息切换所述无线遥控设备的Wi-Fi频段,以使所述无线遥控设备的Wi-Fi频段与所述路由器的Wi-Fi频段相匹配;
    根据所述路由器登录信息,建立与路由器之间的通信连接;
    通过与所述路由器建立通信连接,与所述移动终端建立通信连接。
  2. 根据权利要求1所述的方法,其特征在于,所述获取移动终端生成的编码信息,包括:
    在所述路由器与所述移动终端建立通信连接之后,获取所述移动终端生成的编码信息。
  3. 根据权利要求1所述的方法,其特征在于,所述路由器登录信息包括ssid以及密码信息。
  4. 根据权利要求1所述的方法,其特征在于,所述根据所述路由器登录信息,建立与路由器之间的通信连接,包括:
    在所述无线遥控设备的Wi-Fi频段与所述路由器的Wi-Fi频段相匹配的情况下,根据所述路由器登录信息登录所述路由器的网络,以建立与路由器之间的通信连接。
  5. 根据权利要求1-4任一项所述的方法,其特征在于,所述编码信息是移动终端对所述路由器登录信息,以及所述国家/地区信息进行加密后编码获得的;
    相应地,所述获取移动终端生成的编码信息之后,还包括:
    解析所述编码信息,获得加密后的所述路由器登录信息,以及国家/地区信息;
    对所述加密后的所述路由器登录信息,以及所述国家/地区信息进行解密,获取所述路由器登录信息,以及所述国家/地区信息。
  6. 根据权利要求1-4任一项所述的方法,其特征在于,所述编码信息是移动终端对所述路由器登录信息,以及所述国家/地区信息编码后获 得的;
    相应地,所述获取移动终端生成的编码信息之后,还包括:
    解析所述编码信息,获得所述路由器登录信息,以及国家/地区信息。
  7. 根据权利要求1-6任一项所述的方法,其特征在于,所述通过与所述路由器建立通信连接,与所述移动终端建立通信连接之后,还包括:
    与所述移动终端进行信息交互。
  8. 根据权利要求1-6任一项所述的方法,其特征在于,所述通过与所述路由器建立通信连接,与所述移动终端建立通信连接之后,还包括:
    与连接至所述路由器的其他无线遥控设备进行局域网游戏对战。
  9. 根据权利要求8所述的方法,其特征在于,所述与连接至所述路由器的其他无线遥控设备进行游戏对战,包括:
    接收其他无线遥控设备输出的攻击信号,所述攻击信号中包括所述其他无线遥控设备的标识;
    响应于所述攻击信号,将攻击记录发送至连接至所述路由器的所有无线遥控设备;或者,
    向其他无线遥控设备输出攻击信号,以使所述其他无线遥控设备获取到攻击信号后,响应于所述攻击信号,将攻击记录发送至连接至所述路由器的所有无线遥控设备。
  10. 根据权利要求1-9任一项所述的方法,其特征在于,所述通过与所述路由器建立通信连接,与所述移动终端建立通信连接之后,还包括:
    接收所述移动终端发送的操作指令;
    执行所述操作指令。
  11. 根据权利要求1-10任一项所述的方法,其特征在于,所述根据所述路由器登录信息,建立与路由器之间的通信连接之后,还包括:
    存储与所述路由器的连接关系,以使所述无线遥控设备在断电后再次上电时根据所述连接关系自动与所述路由器建立通信连接。
  12. 根据权利要求1-11任一项所述的方法,其特征在于,所述编码信息为二维码。
  13. 根据权利要求1-12任一项所述的方法,其特征在于,所述无线遥控设备端具有图像采集装置,所述编码信息通过所述图像采集装置获取。
  14. 根据权利要求13所述的方法,其特征在于,所述图像采集装置为相机。
  15. 根据权利要求13所述的方法,其特征在于,所述图像采集装置包括如下至少一种:红外传感器、可见光传感器、激光传感器。
  16. 根据权利要求1-15任一项所述的方法,其特征在于,所述无线遥控设备包括如下至少一种:
    无人机、可移动机器人、遥控车。
  17. 根据权利要求1-16任一项所述的方法,其特征在于,所述移动终端包括如下至少一种:
    手持终端、计算机。
  18. 一种Wi-Fi通信连接建立方法,应用在移动终端,所述移动终端能够与路由器建立通信连接,其特征在于,包括:
    获取所述路由器对应的路由器登录信息,以及国家/地区信息;
    对所述路由器登录信息以及所述国家/地区信息进行编码,生成编码信息;
    在显示界面上显示所述编码信息,以使无线遥控设备能够通过所述编码信息与所述路由器建立通信连接。
  19. 根据权利要求18所述的方法,其特征在于,所述路由器登录信息包括ssid以及密码信息。
  20. 根据权利要求18所述的方法,其特征在于,所述国家/地址信息由所述移动终端根据GPS和/或联网获取。
  21. 根据权利要求18-20任一项所述的方法,其特征在于,所述获取所述路由器对应的路由器登录信息以及国家/地区信息之前,还包括:
    与所述路由器建立通信连接。
  22. 根据权利要求18所述的方法,其特征在于,所述对所述路由器登录信息以及所述国家/地区信息进行编码,生成编码信息,包括:
    对所述路由器登录信息以及国家/地区信息进行加密,生成加密后的路由器登录信息以及国家/地区信息;
    对所述加密后的路由器登录信息以及国家/地区信息进行编码,输出所述编码信息。
  23. 一种Wi-Fi通信连接建立方法,其特征在于,包括:
    移动终端获取路由器对应的路由器登录信息,以及国家/地区信息;
    所述移动终端对所述路由器登录信息以及所述国家/地区信息进行编码,生成编码信息;
    所述移动终端在显示界面上显示所述编码信息;
    无线遥控设备获取所述移动终端生成的编码信息,其中,所述编码信息包括路由器登录信息,以及国家/地区信息;
    所述无线遥控设备根据所述国家/地区信息切换所述无线遥控设备的Wi-Fi频段,以使所述无线遥控设备的Wi-Fi频段与所述路由器的Wi-Fi频段相匹配;
    所述无线遥控设备根据所述路由器登录信息,建立与路由器之间的通信连接;
    所述无线遥控设备通过与所述路由器建立通信连接,与所述移动终端建立通信连接。
  24. 一种无线遥控设备,其特征在于,包括:一个或多个处理器,所述一个或多个处理器共同地或单独地工作,用于执行以下操作:
    获取移动终端生成的编码信息,其中,所述编码信息包括路由器登录信息,以及国家/地区信息;
    根据所述国家/地区信息切换所述无线遥控设备的Wi-Fi频段,以使所述无线遥控设备的Wi-Fi频段与所述路由器的Wi-Fi频段相匹配;
    根据所述路由器登录信息,建立与路由器之间的通信连接;
    通过与所述路由器建立通信连接,与所述移动终端建立通信连接。
  25. 根据权利要求24所述的无线遥控设备,其特征在于,所述处理器在获取移动终端生成的编码信息时,用于:
    在所述路由器与所述移动终端建立通信连接之后,获取所述移动终端生成的编码信息。
  26. 根据权利要求24所述的无线遥控设备,其特征在于,所述路由器登录信息包括ssid以及密码信息。
  27. 根据权利要求24所述的无线遥控设备,其特征在于,所述处理器在根据所述路由器登录信息,建立与路由器之间的通信连接时,用于:
    在所述无线遥控设备的Wi-Fi频段与所述路由器的Wi-Fi频段相匹配的情况下,根据所述路由器登录信息登录所述路由器的网络,以建立与路由器之间的通信连接。
  28. 根据权利要求24-27任一项所述的无线遥控设备,其特征在于,所述编码信息是移动终端对所述路由器登录信息,以及所述国家/地区信息进行加密后编码获得的;
    相应地,所述处理器在获取移动终端生成的编码信息之后,还用于:
    解析所述编码信息,获得加密后的所述路由器登录信息,以及国家/地区信息;
    对所述加密后的所述路由器登录信息,以及所述国家/地区信息进行解密,获取所述路由器登录信息,以及所述国家/地区信息。
  29. 根据权利要求24-27任一项所述的无线遥控设备,其特征在于,所述编码信息是移动终端对所述路由器登录信息,以及所述国家/地区信息编码后获得的;
    相应地,所述处理器在获取移动终端生成的编码信息之后,还用于:
    解析所述编码信息,获得所述路由器登录信息,以及国家/地区信息。
  30. 根据权利要求24-29任一项所述的无线遥控设备,其特征在于,所述处理器在通过与所述路由器建立通信连接,与所述移动终端建立通信连接之后,还用于:
    与所述移动终端进行信息交互。
  31. 根据权利要求24-29任一项所述的无线遥控设备,其特征在于,所述处理器在通过与所述路由器建立通信连接,与所述移动终端建立通信连接之后,还用于:
    与连接至所述路由器的其他无线遥控设备进行局域网游戏对战。
  32. 根据权利要求31所述的无线遥控设备,其特征在于,所述处理器在与连接至所述路由器的其他无线遥控设备进行游戏对战时,用于:
    接收其他无线遥控设备输出的攻击信号,所述攻击信号中包括所述其他无线遥控设备的标识;
    响应于所述攻击信号,将攻击记录发送至连接至所述路由器的所有无线遥控设备;或者,
    向其他无线遥控设备输出攻击信号,以使所述其他无线遥控设备获取到攻击信号后,响应于所述攻击信号,将攻击记录发送至连接至所述路由器的所有无线遥控设备。
  33. 根据权利要求24-32任一项所述的无线遥控设备,其特征在于,所述处理器在通过与所述路由器建立通信连接,与所述移动终端建立通信连接之后,还用于:
    接收所述移动终端发送的操作指令;
    执行所述操作指令。
  34. 根据权利要求24-33任一项所述的无线遥控设备,其特征在于,所述处理器在根据所述路由器登录信息,建立与路由器之间的通信连接之后,还用于:
    存储与所述路由器的连接关系,以使所述无线遥控设备在断电后再次上电时根据所述连接关系自动与所述路由器建立通信连接。
  35. 根据权利要求24-34任一项所述的无线遥控设备,其特征在于,所述编码信息为二维码。
  36. 根据权利要求24-35任一项所述的无线遥控设备,其特征在于,所述无线遥控设备端具有图像采集装置,所述编码信息通过所述图像采集装置获取。
  37. 根据权利要求36所述的无线遥控设备,其特征在于,所述图像采集装置为相机。
  38. 根据权利要求36所述的无线遥控设备,其特征在于,所述图像采集装置包括如下至少一种:红外传感器、可见光传感器、激光传感器。
  39. 根据权利要求24-38任一项所述的无线遥控设备,其特征在于,所述无线遥控设备包括如下至少一种:
    无人机、可移动机器人、遥控车。
  40. 根据权利要求35-39任一项所述的无线遥控设备,其特征在于,所述移动终端包括如下至少一种:
    手持终端、计算机。
  41. 一种移动终端,所述移动终端能够与路由器建立Wi-Fi通信连接,其特征在于,包括:一个或多个处理器,所述一个或多个处理器共同地或 单独地工作,用于执行以下操作:
    获取所述路由器对应的路由器登录信息,以及国家/地区信息;
    对所述路由器登录信息以及所述国家/地区信息进行编码,生成编码信息;
    在显示界面上显示所述编码信息,以使无线遥控设备能够通过所述编码信息与所述路由器建立通信连接。
  42. 根据权利要求41所述的移动终端,其特征在于,所述路由器登录信息包括ssid以及密码信息。
  43. 根据权利要求41所述的移动终端,其特征在于,所述国家/地址信息由所述移动终端根据GPS和/或联网获取。
  44. 根据权利要求41-43任一项所述的移动终端,其特征在于,所述处理器在获取所述路由器对应的路由器登录信息以及国家/地区信息之前,还用于:
    与所述路由器建立通信连接。
  45. 根据权利要求41所述的移动终端,其特征在于,所述处理器在对所述路由器登录信息以及所述国家/地区信息进行编码,生成编码信息时,用于:
    对所述路由器登录信息以及国家/地区信息进行加密,生成加密后的路由器登录信息以及国家/地区信息;
    对所述加密后的路由器登录信息以及国家/地区信息进行编码,输出所述编码信息。
  46. 一种Wi-Fi通信连接建立***,其特征在于,包括:移动终端以及无线遥控设备;其中,
    移动终端获取路由器对应的路由器登录信息,以及国家/地区信息;
    所述移动终端对所述路由器登录信息以及所述国家/地区信息进行编码,生成编码信息;
    所述移动终端在显示界面上显示所述编码信息;
    无线遥控设备获取所述移动终端生成的编码信息,其中,所述编码信息包括路由器登录信息,以及国家/地区信息;
    所述无线遥控设备根据所述国家/地区信息切换所述无线遥控设备的 Wi-Fi频段,以使所述无线遥控设备的Wi-Fi频段与所述路由器的Wi-Fi频段相匹配;
    所述无线遥控设备根据所述路由器登录信息,建立与路由器之间的通信连接;
    所述无线遥控设备通过与所述路由器建立通信连接,与所述移动终端建立通信连接。
  47. 一种计算机可读存储介质,其特征在于,其上存储有计算机程序,所述计算机程序被处理器执行以实现如权利要求1-17任一项所述的方法或如权利要求18-23任一项所述的方法。
PCT/CN2019/080635 2019-03-29 2019-03-29 Wi-Fi通信连接建立方法、设备及计算机可读存储介质 WO2020199019A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2019/080635 WO2020199019A1 (zh) 2019-03-29 2019-03-29 Wi-Fi通信连接建立方法、设备及计算机可读存储介质
CN201980005468.0A CN111386714A (zh) 2019-03-29 2019-03-29 Wi-Fi通信连接建立方法、设备及计算机可读存储介质

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/080635 WO2020199019A1 (zh) 2019-03-29 2019-03-29 Wi-Fi通信连接建立方法、设备及计算机可读存储介质

Publications (1)

Publication Number Publication Date
WO2020199019A1 true WO2020199019A1 (zh) 2020-10-08

Family

ID=71220467

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/080635 WO2020199019A1 (zh) 2019-03-29 2019-03-29 Wi-Fi通信连接建立方法、设备及计算机可读存储介质

Country Status (2)

Country Link
CN (1) CN111386714A (zh)
WO (1) WO2020199019A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112040534B (zh) * 2020-08-17 2023-02-17 深圳优地科技有限公司 基于无人机的机器人救援方法、装置、***及存储介质

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150098455A1 (en) * 2013-10-09 2015-04-09 Darren William Fritsch WiFi Enabled Wide Area Automation System
CN105163366A (zh) * 2015-09-24 2015-12-16 小米科技有限责任公司 无线网络连接方法和装置
CN109155667A (zh) * 2017-10-12 2019-01-04 深圳市大疆创新科技有限公司 无人机的无线合规实现方法、无人机、终端设备及***

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106658426A (zh) * 2016-12-02 2017-05-10 杭州华橙网络科技有限公司 一种基于无线WiFi的遥控通信建立方法及终端

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150098455A1 (en) * 2013-10-09 2015-04-09 Darren William Fritsch WiFi Enabled Wide Area Automation System
CN105163366A (zh) * 2015-09-24 2015-12-16 小米科技有限责任公司 无线网络连接方法和装置
CN109155667A (zh) * 2017-10-12 2019-01-04 深圳市大疆创新科技有限公司 无人机的无线合规实现方法、无人机、终端设备及***

Also Published As

Publication number Publication date
CN111386714A (zh) 2020-07-07

Similar Documents

Publication Publication Date Title
US11012286B2 (en) Communication apparatus, methods, and non-transitory computer-readable media for determining IP addresses for use in different networks
KR102118814B1 (ko) 무선 네트워크 접속 방법, 디바이스, 및 시스템
US11202202B2 (en) Fingerprint identification authority control-based internet of things control switch and method
US9510130B2 (en) Provisioning of multiple wireless devices by an access point
US8862096B1 (en) Provisioning of multiple wireless devices by an access point
US20190149530A1 (en) Method and system for deploying wireless iot sensor nodes
CN104205899A (zh) 使用短距离无线通信的网络安全配置
US20160227412A1 (en) Wireless Terminal Configuration Method, Apparatus, and Wireless Terminal
US10985978B2 (en) System and method for first time automatic on-boarding of Wi-Fi access point
CN104717225A (zh) 一种物联网网关接入认证方法及***
US20180263069A1 (en) Communication apparatus, communication control method, and storage medium
CN112291787B (zh) 一种网络连接方法、装置及***
US11736274B2 (en) Terminal device and non-transitory computer-readable medium storing computer-readable instructions for terminal device
EP3364690A1 (en) Electronic device, communication method of electronic device, and communication method of mobile terminal
JP7262950B2 (ja) 通信装置、通信方法及びプログラム
WO2018113113A1 (zh) 一种双***终端wifi共享的方法和装置
CN104754495A (zh) 一种智能家居设备的连接方法及智能终端
CN111385611B (zh) 一种智能电视的账户登录方法、智能电视及终端设备
WO2020199019A1 (zh) Wi-Fi通信连接建立方法、设备及计算机可读存储介质
CN110866999A (zh) 一种智能门锁的控制方法、设备及存储介质
US20170230929A1 (en) Terminal, server, and user identification system and method
JP2016163178A (ja) 無線接続装置、無線接続装置を制御する方法
JP5991051B2 (ja) 無線通信システム、端末装置及びプログラム
US20230308305A1 (en) Method and apparatus for setting multiple controllers in wireless lan system in smart home environment
WO2022042170A1 (zh) 一种IoT设备及其授权方法

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: 19922867

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: 19922867

Country of ref document: EP

Kind code of ref document: A1