CN113596832A - Network connection establishing method and device, storage medium and electronic device - Google Patents

Network connection establishing method and device, storage medium and electronic device Download PDF

Info

Publication number
CN113596832A
CN113596832A CN202110657293.0A CN202110657293A CN113596832A CN 113596832 A CN113596832 A CN 113596832A CN 202110657293 A CN202110657293 A CN 202110657293A CN 113596832 A CN113596832 A CN 113596832A
Authority
CN
China
Prior art keywords
identification code
target
establishing
network
identification
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110657293.0A
Other languages
Chinese (zh)
Other versions
CN113596832B (en
Inventor
陶颖
刘建国
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Haier Technology Co Ltd
Haier Smart Home Co Ltd
Original Assignee
Qingdao Haier Technology Co Ltd
Haier Smart Home Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qingdao Haier Technology Co Ltd, Haier Smart Home Co Ltd filed Critical Qingdao Haier Technology Co Ltd
Priority to CN202110657293.0A priority Critical patent/CN113596832B/en
Publication of CN113596832A publication Critical patent/CN113596832A/en
Application granted granted Critical
Publication of CN113596832B publication Critical patent/CN113596832B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • H04W12/068Authentication using credential vaults, e.g. password manager applications or one time password [OTP] applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/08Access security
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/60Context-dependent security
    • H04W12/69Identity-dependent
    • 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
    • H04W76/11Allocation or use of connection identifiers

Abstract

The embodiment of the invention provides a method, a device, a storage medium and an electronic device for establishing network connection, wherein the method comprises the following steps: detecting the identification code under the condition that the target equipment is in a distribution network state, wherein the target equipment is equipment comprising a scanning module; scanning the identification code to resolve identification information included in the identification code in the case that the identification code is detected; and establishing connection with the target network based on the configuration information of the target network included in the identification information. The invention solves the problems of poor user experience and low configuration success rate when establishing network connection in the related technology, achieves the effect of improving the network configuration success rate, and improves the user experience.

Description

Network connection establishing method and device, storage medium and electronic device
Technical Field
The embodiment of the invention relates to the field of communication, in particular to a network connection establishing method, a network connection establishing device, a storage medium and an electronic device.
Background
In the related art, the SSID and the password of the router need to be manually input when the device establishes the network connection. For example, most of the intelligent household appliance distribution networks rely on the SSID and password of the router sent by the mobile phone to perform smart distribution network, softap distribution network and BLE distribution network. The network distribution mode needs manual input of the ssid and the password for network distribution, user experience is poor, and the configuration has the possibility of failure.
Therefore, the problems of poor user experience and low configuration success rate in establishing network connection exist in the related technology.
In view of the above problems in the related art, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides a method and a device for establishing network connection, a storage medium and an electronic device, which are used for at least solving the problems of poor user experience and low configuration success rate in the process of establishing network connection in the related technology.
According to an embodiment of the present invention, there is provided a method for establishing a network connection, including: detecting an identification code under the condition that target equipment is in a distribution network state, wherein the target equipment is equipment comprising a scanning module; scanning the identification code to analyze identification information included in the identification code under the condition that the identification code is detected; and establishing connection with the target network based on the configuration information of the target network included in the identification information.
According to another embodiment of the present invention, there is also provided a method for establishing a network connection, including: generating an identification code under the condition that the terminal equipment establishes connection with a target network; providing the identification code to a target device to cause the target device to: scanning the identification code to analyze identification information included in the identification code; and establishing connection with the target network based on the configuration information of the target network included in the identification information.
According to another embodiment of the present invention, there is provided an apparatus for establishing a network connection, including: the device comprises a detection module, a scanning module and a control module, wherein the detection module is used for detecting an identification code under the condition that target equipment is in a distribution network state, and the target equipment comprises the scanning module; the scanning module is used for scanning the identification code under the condition that the identification code is detected so as to analyze identification information contained in the identification code; and the first establishing module is used for establishing connection with the target network based on the configuration information of the target network included in the identification information.
According to another embodiment of the present invention, there is also provided a network connection establishing apparatus, including: the generation module is used for generating the identification code under the condition that the terminal equipment establishes connection with the target network; a second establishing module for providing the identification code to a target device to cause the target device to: scanning the identification code to analyze identification information included in the identification code; and establishing connection with the target network based on the configuration information of the target network included in the identification information.
According to yet another embodiment of the invention, there is also provided a computer-readable storage medium having a computer program stored therein, wherein the computer program, when executed by a processor, implements the steps of the method as set forth in any of the above.
According to yet another embodiment of the present invention, there is also provided an electronic device, including a memory in which a computer program is stored and a processor configured to execute the computer program to perform the steps in any of the above method embodiments.
According to the invention, the identification code is detected under the condition that the target equipment is in the distribution network state, the identification code is scanned under the condition that the identification code is detected so as to analyze the identification information included in the identification code, and the connection with the target network is established according to the configuration information of the target network included in the identification information. Because the connection with the target network can be established by scanning the identification code without manual configuration, the problems of poor user experience and low configuration success rate in the network connection establishment in the related technology can be solved, the effect of improving the network configuration success rate is achieved, and the user experience is improved.
Drawings
Fig. 1 is a block diagram of a hardware structure of a mobile terminal according to a method for establishing a network connection according to an embodiment of the present invention;
fig. 2 is a first flowchart of a method for establishing a network connection according to an embodiment of the present invention;
FIG. 3 is a flow chart of a method for establishing a network connection according to an embodiment of the invention;
fig. 4 is a flowchart ii of a network connection establishment method according to an embodiment of the present invention;
FIG. 5 is a flow chart of generating an identification code according to an embodiment of the present invention;
fig. 6 is a first block diagram of an apparatus for establishing a network connection according to an embodiment of the present invention;
fig. 7 is a block diagram of a network connection establishing apparatus according to an embodiment of the present invention.
Detailed Description
Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings in conjunction with the embodiments.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
The method embodiments provided in the embodiments of the present application may be executed in a mobile terminal, a computer terminal, or a similar computing device. Taking the operation on the mobile terminal as an example, fig. 1 is a hardware structure block diagram of the mobile terminal of the method for establishing a network connection according to the embodiment of the present invention. As shown in fig. 1, the mobile terminal may include one or more (only one shown in fig. 1) processors 102 (the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA), and a memory 104 for storing data, wherein the mobile terminal may further include a transmission device 106 for communication functions and an input-output device 108. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration, and does not limit the structure of the mobile terminal. For example, the mobile terminal may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
The memory 104 may be used to store computer programs, for example, software programs and modules of application software, such as computer programs corresponding to the network connection establishment method in the embodiment of the present invention, and the processor 102 executes various functional applications and data processing by running the computer programs stored in the memory 104, so as to implement the above-mentioned method. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory located remotely from the processor 102, which may be connected to the mobile terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used to receive or transmit data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 106 includes a Network adapter (NIC) that can be connected to other Network devices through a base station to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used to communicate with the internet in a wireless manner.
In this embodiment, a method for establishing a network connection is provided, and fig. 2 is a first flowchart of a method for establishing a network connection according to an embodiment of the present invention, as shown in fig. 2, the process includes the following steps:
step S202, detecting an identification code under the condition that target equipment is in a distribution network state, wherein the target equipment is equipment comprising a scanning module;
step S204, under the condition that the identification code is detected, scanning the identification code to analyze identification information contained in the identification code;
step S206, establishing connection with the target network based on the configuration information of the target network included in the identification information.
In the above embodiment, the target device may be an intelligent device such as an intelligent air conditioner, an intelligent sound box, an intelligent washing machine, and the like, and the target device is integrated with the identification code scanning module. Wherein, the identification code can be a bar code, a two-dimensional code and the like. The scanning module may include an image pickup device such as a camera, a scanning window, and the like.
In the above embodiment, the user may control the target device to enter the distribution network state, when the target device enters the distribution network state, the scanning module starts to detect the identification code, and when the identification code is detected, the scanning module scans the identification code, and the target device determines the configuration information of the target network included in the identification code by analyzing the identification code. After the configuration information is parsed, the target device may establish a connection with the target network through the configuration information. The configuration information may be an SSID and a password of the router. The identification code detected by the scanning module may be an identification code sent by the terminal device, that is, the identification code is the identification code received by the target device. Or the terminal equipment displays the identification code, and the user places the identification code in a scanning window of the scanning module for detection by the scanning module.
In the above embodiment, the identification code may be an identification code generated in advance by the terminal that establishes a connection with the target network. For example, the identification code can be generated by a mobile phone, a computer, a tablet computer, a smart wearable device and the like.
Optionally, the main body of the above steps may be a target device, a processor, or other devices with similar processing capabilities, and may also be a machine integrated with at least a scanning device and a data processing device, where the data processing device may include a terminal such as a computer, a mobile phone, and the like, but is not limited thereto.
According to the invention, the identification code is detected under the condition that the target equipment is in the distribution network state, the identification code is scanned under the condition that the identification code is detected so as to analyze the identification information included in the identification code, and the connection with the target network is established according to the configuration information of the target network included in the identification information. Because the connection with the target network can be established by scanning the identification code without manual configuration, the problems of poor user experience and low configuration success rate in the network connection establishment in the related technology can be solved, the effect of improving the network configuration success rate is achieved, and the user experience is improved.
In one exemplary embodiment, after scanning the identification code to resolve identification information included in the identification code, the method further includes: determining account information of the target application included in the identification code; and establishing a binding relation based on the account information and the account corresponding to the account information. In this embodiment, the identification code may further include account information of the target application, and after the account information is analyzed, the target device may establish a binding relationship with an account corresponding to the account information. The identification code may be an identification code generated by a terminal in which the target application is installed and the account is logged in. For example, the identification code can be generated by a mobile phone, a computer, a tablet computer, a smart wearable device and the like. After logging in the target application, the terminal device can click to generate the identification code, and the generated identification code is the account information with the target application.
In the above embodiment, after the target device parses the account information, the target device may convert the account information into a character string, and write the character string into the account binding program in the smart chip. The target device establishes a binding relationship with the account of the target application by reading the program in the intelligent chip. The account information may include an account ID.
In the embodiment, the target device can establish the binding relationship with the account of the target application through the code scanning identification code, the binding relationship can be established without connecting the routing information of the target device with the user control terminal, the process of establishing the binding relationship is simple, errors are not prone to occurring, the binding efficiency is improved, and the user experience is improved.
In one exemplary embodiment, establishing a connection with the target network based on the configuration information of the target network included in the identification information includes: determining a service set identifier and a password of the target network included in the configuration information; establishing a connection with the target network based on the service set identification and the password. In this embodiment, the configuration information may include an SSID and a password of the target network, and after parsing out the SSID and the password of the target network, the target device may write the SSID and the password into a program through a code to establish a connection with the target network. The method includes the steps that the identification code is scanned, router information is read, the SSID and the password to be configured are directly written successfully through the code, and the configuration success rate is one hundred percent.
In the above embodiment, after the SSID and the password of the target network are analyzed, the target device may convert the SSID and the password of the target network into a character string, and write the character string into the distribution network program in the smart chip. The target device establishes connection with the target network by reading the program in the intelligent chip. In the distribution network process, the SSID and the password do not need to be manually input, the distribution network can be completed only by scanning the two-dimensional code, the problem that the SSID or the password is easy to make mistakes when being input is avoided, the distribution network success rate is improved, the distribution network speed is increased, and the user experience is improved.
The following describes a method for establishing a network connection with a specific embodiment:
fig. 3 is a flowchart of a method for establishing a network connection according to an embodiment of the present invention, as shown in fig. 3, the flowchart includes:
in step S302, the device enters a configuration mode (corresponding to the distribution network state) through a key, and the configuration timeout time is 30 minutes.
Step S304, a two-dimensional code scanner (corresponding to the scanning device) is turned on, and information (corresponding to the configuration information and the identification information) in the two-dimensional code is analyzed.
And S306, successfully writing the router information and successfully configuring the network.
In step S308, the application account is successfully bound with the device.
In step S310, the configuration binding process is completed.
In this embodiment, a method for establishing a network connection is provided, and fig. 4 is a second flowchart of the method for establishing a network connection according to the embodiment of the present invention, as shown in fig. 4, the process includes the following steps:
step S402, generating an identification code under the condition that the terminal equipment establishes connection with a target network;
step S404, providing the identification code to the target device, so that the target device performs the following operations: scanning the identification code to analyze identification information included in the identification code; and establishing connection with the target network based on the configuration information of the target network included in the identification information.
In the above embodiment, the target device may be an intelligent device such as an intelligent air conditioner, an intelligent sound box, an intelligent washing machine, and the like, and the identification code scanning module is integrated in the target device. Wherein, the identification code can be a bar code, a two-dimensional code and the like. The scanning module may include an image pickup device such as a camera, a scanning window, and the like.
In the above embodiment, the user may control the target device to enter the distribution network state, when the target device enters the distribution network state, the scanning module starts to detect the identification code, and when the identification code is detected, the scanning module scans the identification code, and the target device determines the configuration information of the target network included in the identification code by analyzing the identification code. After the configuration information is parsed, the target device may establish a connection with the target network through the configuration information. The configuration information may be an SSID and a password of the router. The identification code detected by the scanning module may be an identification code sent by the terminal device, that is, the identification code is the identification code received by the target device. Or the terminal equipment displays the identification code, and the user places the identification code in a scanning window of the scanning module for detection by the scanning module.
In the above embodiment, the identification code may be an identification code generated in advance by the terminal that establishes a connection with the target network. For example, the identification code can be generated by a mobile phone, a computer, a tablet computer, a smart wearable device and the like.
Optionally, the executing subject of the above steps may be a terminal device, such as a mobile phone, a computer, a tablet computer, a smart wearable device, but is not limited thereto.
According to the invention, under the condition that the terminal equipment establishes connection with the target network, the identification code is generated and provided for the target equipment, so that the target equipment executes scanning of the identification code to analyze the identification information included in the identification code, and connection is established with the target network based on the configuration information of the target network included in the identification information. The target device can establish connection with the target network through the scanning identification code without manual configuration, so that the problems of poor user experience and low configuration success rate in network connection establishment in the related technology can be solved, the effect of improving the network configuration success rate is achieved, and the user experience is improved.
In one exemplary embodiment, generating the identification code comprises: determining a service set identifier and a password of the target network; and determining the service set identification and the password as the identification code. In this embodiment, in the case where the terminal device is connected to the target network, the SSID and the password of the target network may be determined as the identification code. I.e. the terminal may generate an identification code comprising the target network SSID and the password. The configuration information may include an SSID and a password of the target network, and after the SSID and the password of the target network are resolved by the target device, the SSID and the password may be written into a program through a code to establish a connection with the target network. The method includes the steps that the identification code is scanned, router information is read, the SSID and the password to be configured are directly written successfully through the code, and the configuration success rate is one hundred percent.
In the above embodiment, after the SSID and the password of the target network are analyzed, the target device may convert the SSID and the password of the target network into a character string, and write the character string into the network distribution program in the smart chip. The target device establishes connection with the target network by reading the program in the intelligent chip. In the distribution network process, the SSID and the password do not need to be manually input, the distribution network can be completed only by scanning the two-dimensional code, the problem that the SSID or the password is easy to make mistakes when being input is avoided, the distribution network success rate is improved, the distribution network speed is increased, and the user experience is improved.
In one exemplary embodiment, generating the identification code comprises: determining account information of a target application in the terminal equipment; and determining the account information as the identification code. In this embodiment, the identification code may further include account information of the target application, and after the account information is analyzed, the target device may establish a binding relationship with an account corresponding to the account information. The identification code may be an identification code generated by a terminal in which the target application is installed and the account is logged in. For example, the identification code can be generated by a mobile phone, a computer, a tablet computer, a smart wearable device and the like. After logging in the target application, the terminal device can click to generate the identification code, and the generated identification code is the account information with the target application.
In the above embodiment, after the target device parses the account information, the target device may convert the account information into a character string, and write the character string into the account binding program in the smart chip. The target device establishes a binding relationship with the account of the target application by reading the program in the intelligent chip. The account information may include an account ID.
In the embodiment, the target device can establish the binding relationship with the account of the target application through the code scanning identification code, the binding relationship can be established without connecting the routing information of the target device with the user control terminal, the process of establishing the binding relationship is simple, errors are not prone to occurring, the binding efficiency is improved, and the user experience is improved.
In one exemplary embodiment, after determining the account information as the identification code, the method further comprises: and providing the identification code for the target equipment so that the target equipment scans the identification code, and establishing a binding relationship between the account information and the account corresponding to the account information based on the account information included in the identification code. In this embodiment, the terminal device may send the identification code to the target device to provide the identification code to the target device, and the terminal device may further display the identification code, and the user displays the identification code near a scanning window of the target device to allow the target device to scan the identification code.
The generation of the identification code is described below with reference to specific embodiments:
fig. 5 is a flowchart of generating an identification code according to an embodiment of the present invention, and as shown in fig. 5, the flowchart includes:
and step S502, the mobile phone is connected with the home router.
And step S504, logging in the smart home APP.
Step S506, generating a two-dimensional code containing the router and the intelligent household account.
In the foregoing embodiment, the process of distributing the network to the home appliances by scanning the two-dimensional code instead of the mobile phone, and the binding of the home appliances is realized by scanning the two-dimensional code instead of the mobile phone. The problem that the network configuration for the equipment through the mobile phone fails is solved. The program is directly written in by scanning the SSID and the password of the router read by the two-dimensional code, the household appliance can be connected to the network without depending on a mobile phone or other terminal equipment, the program is written in only by the router information and the intelligent account information of the user home, the two-dimensional code scanner is connected to the intelligent chip, the distribution network can be realized by scanning the two-dimensional code when the distribution network is arranged, the success rate is higher, and the user experience is improved.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
In this embodiment, a device for establishing a network connection is further provided, where the device is used to implement the foregoing embodiments and preferred embodiments, and details of the description already made are omitted. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 6 is a block diagram of a first configuration of an apparatus for establishing a network connection according to an embodiment of the present invention, as shown in fig. 6, the apparatus includes:
the detection module 62 is configured to detect the identification code when the target device is in the distribution network state, where the target device is a device including a scanning module;
a scanning module 64, configured to scan the identification code to analyze identification information included in the identification code when the identification code is detected;
a first establishing module 66, configured to establish a connection with the target network based on the configuration information of the target network included in the identification information.
In an exemplary embodiment, the method is further configured to determine account information of the target application included in the identification code after scanning the identification code to resolve the identification information included in the identification code; and establishing a binding relation based on the account information and the account corresponding to the account information.
In an exemplary embodiment, the first establishing module 66 may establish a connection with the target network based on the configuration information of the target network included in the identification information by: determining a service set identifier and a password of the target network included in the configuration information; establishing a connection with the target network based on the service set identification and the password.
Fig. 7 is a block diagram of a second configuration of an apparatus for establishing a network connection according to an embodiment of the present invention, as shown in fig. 7, the apparatus includes:
a generating module 72, configured to generate an identification code when the terminal device establishes a connection with a target network;
a second establishing module 74 for providing the identification code to the target device to cause the target device to: scanning the identification code to analyze identification information included in the identification code; and establishing connection with the target network based on the configuration information of the target network included in the identification information.
In an exemplary embodiment, the generation module 72 may implement generating the identification code by: determining a service set identifier and a password of the target network; and determining the service set identification and the password as the identification code.
In an exemplary embodiment, the generation module 72 may implement generating the identification code by: determining account information of a target application in the terminal equipment; and determining the account information as the identification code.
In an exemplary embodiment, the apparatus may be configured to provide the identification code to the target device after determining the account information as the identification code, so that the target device scans the identification code and establishes a binding relationship with an account corresponding to the account information based on the account information included in the identification code.
It should be noted that, the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in different processors in any combination.
Embodiments of the present invention also provide a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the method as set forth in any of the above.
In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to: various media capable of storing computer programs, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
In an exemplary embodiment, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary embodiments, and details of this embodiment are not repeated herein.
It will be apparent to those skilled in the art that the various modules or steps of the invention described above may be implemented using a general purpose computing device, they may be centralized on a single computing device or distributed across a network of computing devices, and they may be implemented using program code executable by the computing devices, such that they may be stored in a memory device and executed by the computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into various integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention should be included in the protection scope of the present invention.

Claims (11)

1. A method for establishing a network connection, comprising:
detecting an identification code under the condition that target equipment is in a distribution network state, wherein the target equipment is equipment comprising a scanning module;
scanning the identification code to analyze identification information included in the identification code under the condition that the identification code is detected;
and establishing connection with the target network based on the configuration information of the target network included in the identification information.
2. The method of claim 1, wherein after scanning the identification code to resolve identification information included in the identification code, the method further comprises:
determining account information of the target application included in the identification code;
and establishing a binding relation based on the account information and the account corresponding to the account information.
3. The method of claim 1, wherein establishing a connection with the target network based on configuration information of the target network included in the identification information comprises:
determining a service set identifier and a password of the target network included in the configuration information;
establishing a connection with the target network based on the service set identification and the password.
4. A method for establishing a network connection, comprising:
generating an identification code under the condition that the terminal equipment establishes connection with a target network;
providing the identification code to a target device to cause the target device to: scanning the identification code to analyze identification information included in the identification code; and establishing connection with the target network based on the configuration information of the target network included in the identification information.
5. The method of claim 4, wherein generating the identification code comprises:
determining a service set identifier and a password of the target network;
and determining the service set identification and the password as the identification code.
6. The method of claim 4, wherein generating the identification code comprises:
determining account information of a target application in the terminal equipment;
and determining the account information as the identification code.
7. The method of claim 6, wherein after determining the account information as the identification code, the method further comprises:
and providing the identification code for the target equipment so that the target equipment scans the identification code, and establishing a binding relationship between the account information and the account corresponding to the account information based on the account information included in the identification code.
8. An apparatus for establishing a network connection, comprising:
the device comprises a detection module, a scanning module and a control module, wherein the detection module is used for detecting an identification code under the condition that target equipment is in a distribution network state, and the target equipment comprises the scanning module;
the scanning module is used for scanning the identification code under the condition that the identification code is detected so as to analyze identification information contained in the identification code;
and the first establishing module is used for establishing connection with the target network based on the configuration information of the target network included in the identification information.
9. An apparatus for establishing a network connection, comprising:
the generation module is used for generating the identification code under the condition that the terminal equipment establishes connection with the target network;
a second establishing module for providing the identification code to a target device to cause the target device to: scanning the identification code to analyze identification information included in the identification code; and establishing connection with the target network based on the configuration information of the target network included in the identification information.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 3 or carries out the steps of the method of any one of claims 4 to 7.
11. An electronic device comprising a memory and a processor, wherein the memory has stored therein a computer program, and wherein the processor is arranged to execute the computer program to perform the method of any of claims 1 to 3, or to perform the method of any of claims 4 to 7.
CN202110657293.0A 2021-06-11 2021-06-11 Network connection establishment method and device, storage medium and electronic device Active CN113596832B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110657293.0A CN113596832B (en) 2021-06-11 2021-06-11 Network connection establishment method and device, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110657293.0A CN113596832B (en) 2021-06-11 2021-06-11 Network connection establishment method and device, storage medium and electronic device

Publications (2)

Publication Number Publication Date
CN113596832A true CN113596832A (en) 2021-11-02
CN113596832B CN113596832B (en) 2024-03-22

Family

ID=78243762

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110657293.0A Active CN113596832B (en) 2021-06-11 2021-06-11 Network connection establishment method and device, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN113596832B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114693313A (en) * 2022-03-21 2022-07-01 北京环宇博亚科技有限公司 Identification code-based warehousing equipment detection method and device, electronic equipment and medium
WO2024002300A1 (en) * 2022-06-30 2024-01-04 先临三维科技股份有限公司 Method and apparatus for device to access wireless network, and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018049940A1 (en) * 2016-09-14 2018-03-22 广东欧珀移动通信有限公司 Network access method, related device and system
CN108093313A (en) * 2018-01-24 2018-05-29 深圳创维数字技术有限公司 Method, apparatus, system, medium and the set-top box of set-top box access network
CN112187751A (en) * 2020-09-17 2021-01-05 海尔优家智能科技(北京)有限公司 Network access method and device for equipment, storage medium and electronic device
CN112584406A (en) * 2020-11-30 2021-03-30 珠海格力电器股份有限公司 Electric appliance network distribution method and device, storage medium and electric appliance

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018049940A1 (en) * 2016-09-14 2018-03-22 广东欧珀移动通信有限公司 Network access method, related device and system
CN108093313A (en) * 2018-01-24 2018-05-29 深圳创维数字技术有限公司 Method, apparatus, system, medium and the set-top box of set-top box access network
CN112187751A (en) * 2020-09-17 2021-01-05 海尔优家智能科技(北京)有限公司 Network access method and device for equipment, storage medium and electronic device
CN112584406A (en) * 2020-11-30 2021-03-30 珠海格力电器股份有限公司 Electric appliance network distribution method and device, storage medium and electric appliance

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114693313A (en) * 2022-03-21 2022-07-01 北京环宇博亚科技有限公司 Identification code-based warehousing equipment detection method and device, electronic equipment and medium
CN114693313B (en) * 2022-03-21 2022-09-20 北京环宇博亚科技有限公司 Identification code-based warehousing equipment detection method and device, electronic equipment and medium
WO2024002300A1 (en) * 2022-06-30 2024-01-04 先临三维科技股份有限公司 Method and apparatus for device to access wireless network, and storage medium

Also Published As

Publication number Publication date
CN113596832B (en) 2024-03-22

Similar Documents

Publication Publication Date Title
CN107612909B (en) Information interaction method, device and equipment about Internet of things equipment
CN104144470B (en) A kind of Bluetooth connecting method and client
CN113596832B (en) Network connection establishment method and device, storage medium and electronic device
CN113301568B (en) Network distribution method and device and intelligent household equipment
CN105682090A (en) Device control method and control terminal response method and apparatus
CN112788128B (en) Business information pushing method and device, storage medium and electronic device
CN109561002B (en) Voice control method and device for household electrical appliance
CN107368334B (en) Business plug-in interaction system and method
CN112346751A (en) Application program installation method and device, electronic equipment and storage medium
CN110096380B (en) Android internal communication method, system, device and storage medium
CN104539493B (en) Based on the intelligent terminal that USB interface is realized to the managing and control system and its implementation of intelligent appliance
CN103997437A (en) Cloud server registration function testing method
CN110213795B (en) Method for simultaneously communicating double SIM cards, mobile terminal and storage medium
CN103685249B (en) A kind of register the method for application, terminal and server
CN104125593A (en) Information processing method and electronic equipment
CN112073488A (en) Method and device for processing request
CN111258625A (en) Software flashing detection method and device, storage medium and electronic equipment
CN110493818B (en) Detection method and device of wireless fidelity module, storage medium and electronic device
CN114679477A (en) Method and device for burning information, terminal equipment and wired burning system
CN110890991B (en) Intelligent home gateway configuration information rapid migration method and device
CN114205378A (en) Network distribution method and device of Internet of things equipment, storage medium and electronic device
EP3331257A1 (en) Terminal configuration management method and apparatus
US9332374B2 (en) Communication interface method for SE equipped on mobile terminal and SE using the same
CN112653769A (en) Message pushing method and system
CN112671915A (en) Message pushing processing method and intelligent device

Legal Events

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