CN113596832B - Network connection establishment method and device, storage medium and electronic device - Google Patents

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

Info

Publication number
CN113596832B
CN113596832B CN202110657293.0A CN202110657293A CN113596832B CN 113596832 B CN113596832 B CN 113596832B CN 202110657293 A CN202110657293 A CN 202110657293A CN 113596832 B CN113596832 B CN 113596832B
Authority
CN
China
Prior art keywords
identification code
target
network
identification
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110657293.0A
Other languages
Chinese (zh)
Other versions
CN113596832A (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

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

Landscapes

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

Abstract

The embodiment of the invention provides a method and a device for establishing network connection, a storage medium and an electronic device, wherein the method comprises the following steps: 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; under the condition that the identification code is detected, scanning the identification code to analyze the 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. The invention solves the problems of poor user experience and low configuration success rate in the related technology when establishing network connection, achieves the effect of improving the network configuration success rate and improves the user experience.

Description

Network connection establishment 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 method and a device for establishing network connection, 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 a network connection. For example, most intelligent home appliance distribution networks rely on SSID and password of a mobile phone sending router to perform smartlink distribution network, softap distribution network and BLE distribution network. The network distribution mode needs to manually input the ssid and the password to carry out network distribution, so that the user experience is poor, and the configuration is likely to fail.
Therefore, the related art has the problems of poor user experience and low configuration success rate when establishing network connection.
In view of the above problems in the related art, no effective solution has been proposed at present.
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 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 the 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 the 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 detection module is used for 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; the scanning module is used for scanning the identification code under the condition that the identification code is detected so as to analyze the identification information included 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 an apparatus for establishing a network connection, including: the generating module is used for generating an identification code under the condition that the terminal equipment establishes connection with the target network; a second establishing module, configured to provide the identification code to a target device, so that the target device performs the following operations: scanning the identification code to analyze the 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 present invention, there is also provided a computer-readable storage medium having stored therein a computer program, wherein the computer program when executed by a processor implements the steps of the method as described in any of the above.
According to a further embodiment of the invention, there is also provided an electronic device comprising a memory having stored therein a computer program and a processor arranged to run the computer program to perform the steps of any of the method embodiments described above.
According to the invention, the identification code is detected when the target equipment is in the distribution network state, and the identification code is scanned when the identification code is detected, so that the identification information contained in the identification code is analyzed, and the connection is established with the target network according to the configuration information of the target network contained in the identification information. Because the connection can be established with the target network through the scanning identification code without manual configuration, the problems of poor user experience and low configuration success rate in the related art when the network connection is established 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 of a network connection establishment method according to an embodiment of the present invention;
fig. 2 is a flowchart one of a method of establishing a network connection according to an embodiment of the present invention;
FIG. 3 is a flow chart of a method of establishing a network connection according to an embodiment of the present invention;
fig. 4 is a second flowchart of a method of establishing a network connection according to an embodiment of the present invention;
FIG. 5 is a flowchart of generating an identification code in accordance with a specific embodiment of the present invention;
fig. 6 is a block diagram of a network connection establishment apparatus according to an embodiment of the present invention;
fig. 7 is a block diagram of a second configuration of the network connection establishment apparatus according to the embodiment of the present invention.
Detailed Description
Embodiments of the present invention will be described in detail below 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 the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order.
The method embodiments provided in the embodiments of the present application may be performed in a mobile terminal, a computer terminal or similar computing device. Taking the operation on a mobile terminal as an example, fig. 1 is a block diagram of a hardware structure of a mobile terminal according to an embodiment of the present invention. As shown in fig. 1, a mobile terminal may include one or more (only one is shown in fig. 1) processors 102 (the processor 102 may include, but is not limited to, a microprocessor MCU or a processing device such as a programmable logic device FPGA) and a memory 104 for storing data, wherein the mobile terminal may also include a transmission device 106 for communication functions and an input-output device 108. It will be appreciated by those skilled in the art that the structure shown in fig. 1 is merely illustrative and not limiting of the structure of the mobile terminal described above. 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 a computer program, for example, a software program of application software and a module, such as a computer program corresponding to a method for establishing a network connection in an embodiment of the present invention, and the processor 102 executes the computer program stored in the memory 104 to perform various functional applications and data processing, that is, to implement the above-mentioned method. 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 remotely located relative to the processor 102, which may be connected to the mobile terminal via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used 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 (Network Interface Controller, simply referred to as NIC) that can connect 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 configured to communicate with the internet wirelessly.
In this embodiment, a method for establishing a network connection is provided, fig. 2 is a flowchart of a method for establishing a network connection according to an embodiment of the present invention, as shown in fig. 2, where the flowchart 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, the identification code is scanned so as to analyze the identification information included in the identification code;
step S206, establishing a 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, or an intelligent washing machine, and the target device is integrated with an identification code scanning module. The identification code may be a bar code, a two-dimensional code, or the like. The scanning module may include an image capturing apparatus such as a camera, a scanning window, and the like.
In the above embodiment, the user may control the target device to enter the network configuration state, and when the target device enters the network configuration state, the scanning module starts to detect the identifier, and when the identifier is detected, the scanning module scans the identifier, and the target device determines the configuration information of the target network included in the identifier by analyzing the identifier. After the configuration information is resolved, the target device can establish 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 an identification code received by the target device. Or the terminal device 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 for a terminal that establishes a connection with the target network. For example, the identification code generated by a mobile phone, a computer, a tablet computer, a smart wearable device, etc.
Alternatively, the main body of execution 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, but is not limited to, a terminal such as a computer, a mobile phone, and the like.
According to the invention, the identification code is detected when the target equipment is in the distribution network state, and the identification code is scanned when the identification code is detected, so that the identification information contained in the identification code is analyzed, and the connection is established with the target network according to the configuration information of the target network contained in the identification information. Because the connection can be established with the target network through the scanning identification code without manual configuration, the problems of poor user experience and low configuration success rate in the related art when the network connection is established can be solved, the effect of improving the network configuration success rate is achieved, and the user experience is improved.
In an exemplary embodiment, after scanning the identification code to parse the identification information included in the identification code, the method further includes: determining account information of a 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 identifier code may further include account information of the target application, and the target device may establish a binding relationship with an account corresponding to the account information after resolving the account information. The identification code may be an identification code generated by a terminal installed with the target application and logging in the account. For example, the identification code generated by a mobile phone, a computer, a tablet computer, a smart wearable device, etc. After logging in the target application, the terminal device can click to generate an identification code, wherein the generated identification code is provided with account information of the target application.
In the above embodiment, after resolving the account information, the target device may convert the account information into a character string, and write the character string into an account binding program in the smart chip. And the target equipment establishes a binding relation with the account of the target application by reading the program in the intelligent chip. Wherein 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 the need of the user control terminal to connect the routing information of the target device, the process of establishing the binding relationship is simple, errors are not easy to occur, the binding efficiency is improved, and the user experience is improved.
In an exemplary embodiment, establishing a connection with the target network based on configuration information of the target network included in the identification information includes: determining a service set identifier and a password of the target network, which are included in the configuration information; and establishing 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 the target device parses the SSID and the password of the target network, the SSID and the password may be written into the program through a code to establish connection with the target network. Namely, the router information is read through scanning the identification code, the SSID and the password to be configured are written successfully through the code, the success rate of configuration can be said to be hundred percent, so that the network can be better configured through scanning the two-dimensional code network, and the success rate of configuration of the household appliances is improved.
In the above embodiment, after resolving the SSID and the password of the target network, 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 allocation program in the smart chip. The target device establishes connection with the target network by reading the program in the intelligent chip. In the network distribution process, SSID and password are not required to be manually input, the network distribution can be completed only by scanning the two-dimensional code, the problem that errors are easily caused when SSID or password is input is avoided, the network distribution success rate is improved, the network distribution speed is accelerated, and the user experience is improved.
The method for establishing the network connection is described below with reference to the specific embodiments:
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 above configuration state) by pressing a button, and the configuration timeout time is 30 minutes.
In 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.
In step S306, the router information is successfully written, and the network configuration is successful.
Step S308, the application account is successfully bound with the device.
In step S310, the configuration binding procedure is completed.
In this embodiment, a method for establishing a network connection is provided, and fig. 4 is a flowchart of a second method for establishing a network connection according to an embodiment of the present invention, as shown in fig. 4, where the flowchart includes the following steps:
step S402, under the condition that the terminal equipment establishes connection with the target network, generating an identification code;
step S404, providing the identification code to a target device, so that the target device performs the following operations: scanning the identification code to analyze the 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, or an intelligent washing machine, and an identification code scanning module is integrated in the target device. The identification code may be a bar code, a two-dimensional code, or the like. The scanning module may include an image capturing apparatus such as a camera, a scanning window, and the like.
In the above embodiment, the user may control the target device to enter the network configuration state, and when the target device enters the network configuration state, the scanning module starts to detect the identifier, and when the identifier is detected, the scanning module scans the identifier, and the target device determines the configuration information of the target network included in the identifier by analyzing the identifier. After the configuration information is resolved, the target device can establish 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 an identification code received by the target device. Or the terminal device 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 for a terminal that establishes a connection with the target network. For example, the identification code generated by a mobile phone, a computer, a tablet computer, a smart wearable device, etc.
Alternatively, the main body of execution 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.
Under the condition that the terminal equipment and the target network are connected, the identification code is generated, the identification code is provided for the target equipment, so that the target equipment can execute scanning of the identification code to analyze the identification information contained in the identification code, and connection is established with the target network based on the configuration information of the target network contained in the identification information. Because the target equipment can establish connection with the target network by scanning the identification code without manual configuration, the problems of poor user experience and low configuration success rate in the related art when establishing network connection 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 includes: determining a service set identifier and a password of the target network; and determining the service set identification and the password as the identification codes. In the present embodiment, when 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 SSID and the password of the target network. The configuration information may include an SSID and a password of the target network, and after the target device parses the SSID and the password of the target network, the SSID and the password may be written into the program through a code to establish connection with the target network. Namely, the router information is read through scanning the identification code, the SSID and the password to be configured are written successfully through the code, the success rate of configuration can be said to be hundred percent, so that the network can be better configured through scanning the two-dimensional code network, and the success rate of configuration of the household appliances is improved.
In the above embodiment, after resolving the SSID and the password of the target network, 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 allocation program in the smart chip. The target device establishes connection with the target network by reading the program in the intelligent chip. In the network distribution process, SSID and password are not required to be manually input, the network distribution can be completed only by scanning the two-dimensional code, the problem that errors are easily caused when SSID or password is input is avoided, the network distribution success rate is improved, the network distribution speed is accelerated, and the user experience is improved.
In one exemplary embodiment, generating the identification code includes: determining account information of a target application in the terminal equipment; and determining the account information as the identification code. In this embodiment, the identifier code may further include account information of the target application, and the target device may establish a binding relationship with an account corresponding to the account information after resolving the account information. The identification code may be an identification code generated by a terminal installed with the target application and logging in the account. For example, the identification code generated by a mobile phone, a computer, a tablet computer, a smart wearable device, etc. After logging in the target application, the terminal device can click to generate an identification code, wherein the generated identification code is provided with account information of the target application.
In the above embodiment, after resolving the account information, the target device may convert the account information into a character string, and write the character string into an account binding program in the smart chip. And the target equipment establishes a binding relation with the account of the target application by reading the program in the intelligent chip. Wherein 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 the need of the user control terminal to connect the routing information of the target device, the process of establishing the binding relationship is simple, errors are not easy to occur, the binding efficiency is improved, and the user experience is improved.
In an 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 relation between the account information included in the identification code and the account corresponding to the account information. 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 also display the identification code, where the user displays the identification code near a scanning window of the target device for the target device to scan the identification code.
The generation of the identification code is described in connection with the following embodiments:
FIG. 5 is a flowchart of generating an identification code according to an embodiment of the present invention, as shown in FIG. 5, the flowchart including:
step S502, the mobile phone is connected with a home router.
Step S504, logging in the smart home APP.
Step S506, generating a two-dimensional code containing the router and the intelligent 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 by scanning the two-dimensional code instead of the mobile phone are implemented. The failure condition of configuring the network for the equipment through the mobile phone is solved. The router SSID and the password read by scanning the two-dimension codes enable the direct writing program to be written in, the method of enabling the household appliance to access the network is independent of a mobile phone or other terminal equipment, only the router information and the intelligent account information of the user are written in the program, a two-dimension code scanner is connected to the intelligent chip, the two-dimension codes are scanned during network distribution, network distribution can be achieved, the success rate is higher, and the user experience is improved.
From the description of the above embodiments, it will be clear to a person skilled in the art that the method according to the above embodiments may be implemented by means of software plus the necessary general hardware platform, but of course also by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The embodiment also provides a device for establishing network connection, which is used for implementing the foregoing embodiments and preferred embodiments, and is not described in detail. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. While the means described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
Fig. 6 is a block diagram of a network connection establishment apparatus according to an embodiment of the present invention, as shown in fig. 6, including:
a detection module 62, configured to detect an identification code when a target device is in a network configuration state, where the target device is a device including a scanning module;
a scanning module 64, configured to scan the identification code to resolve identification information included in the identification code if 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 used for determining account information of a target application included in the identification code after scanning the identification code to parse 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 implement establishing 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, which are included in the configuration information; and establishing 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 a network connection establishment apparatus 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 the target network;
a second establishing module 74, configured to provide the identification code to a target device, so that the target device performs the following operations: scanning the identification code to analyze the 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 one exemplary embodiment, the generation module 72 may implement the generation of 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 codes.
In one exemplary embodiment, the generation module 72 may implement the generation of 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 establish 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 each of the above modules may be implemented by software or hardware, and for the latter, it may be implemented by, but not limited to: the modules are all located in the same processor; alternatively, the above modules may be located in different processors in any combination.
Embodiments of the present invention also provide 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 described in any of the above.
In one exemplary embodiment, the computer readable storage medium may include, but is not limited to: a usb disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing a computer program.
An embodiment of the invention also provides an electronic device comprising a memory having stored therein a computer program and a processor arranged to run the computer program to perform the steps of any of the method embodiments described above.
In an exemplary embodiment, the electronic apparatus may further include a transmission device connected to the processor, and an input/output device connected to the processor.
Specific examples in this embodiment may refer to the examples described in the foregoing embodiments and the exemplary implementation, and this embodiment is not described herein.
It will be appreciated by those skilled in the art that the modules or steps of the invention described above may be implemented in a general purpose computing device, they may be concentrated on a single computing device, or distributed across a network of computing devices, they may be implemented in program code executable by computing devices, so that they may be stored in a storage device for execution by computing devices, and in some cases, the steps shown or described may be performed in a different order than that shown or described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple modules or steps 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 of the preferred embodiments of the present invention and is not intended to limit the present invention, but various modifications and variations can be made to the present invention by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the principle of the present invention should be included in the protection scope of the present invention.

Claims (9)

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 the identification information included in the identification code under the condition that the identification code is detected;
establishing connection with the target network based on configuration information of the target network included in the identification information;
the terminal equipment generates an identification code after logging in the target application, wherein the generated identification code is provided with account information of the target application;
after scanning the identification code to resolve the identification information included in the identification code, the method further includes:
determining account information of a 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.
2. The method according to claim 1, wherein establishing a connection with the target network based on configuration information of the target network included in the identification information includes:
determining a service set identifier and a password of the target network, which are included in the configuration information;
and establishing connection with the target network based on the service set identification and the password.
3. 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 the identification information included in the identification code; establishing connection with the target network based on the configuration information of the target network included in the identification information;
the terminal equipment generates an identification code after logging in the target application, wherein the generated identification code is provided with account information of the target application;
wherein the 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.
4. A method according to claim 3, wherein generating an 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 codes.
5. A method according to claim 3, 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 relation between the account information included in the identification code and the account corresponding to the account information.
6. A network connection establishment apparatus, comprising:
the detection module is used for 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;
the scanning module is used for scanning the identification code under the condition that the identification code is detected so as to analyze the identification information included in the identification code;
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;
the terminal equipment generates an identification code after logging in the target application, wherein the generated identification code is provided with account information of the target application;
the scanning module is further used for 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.
7. A network connection establishment apparatus, comprising:
the generating module is used for generating an identification code under the condition that the terminal equipment establishes connection with the target network;
a second establishing module, configured to provide the identification code to a target device, so that the target device performs the following operations: scanning the identification code to analyze the identification information included in the identification code; establishing connection with the target network based on the configuration information of the target network included in the identification information;
the terminal equipment generates an identification code after logging in the target application, wherein the generated identification code is provided with account information of the target application;
wherein, the generating module is further used for: determining account information of a target application in the terminal equipment; and determining the account information as the identification code.
8. A computer readable storage medium, characterized in that the computer readable storage medium has stored therein a computer program, wherein the computer program, when being executed by a processor, realizes the steps of the method according to any of the claims 1 to 2 or the steps of the method according to any of the claims 3 to 5.
9. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to run the computer program to perform the method of any of the claims 1 to 2 or to perform the method of any of the claims 3 to 5.
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 CN113596832A (en) 2021-11-02
CN113596832B true 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)

Families Citing this family (2)

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

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

Also Published As

Publication number Publication date
CN113596832A (en) 2021-11-02

Similar Documents

Publication Publication Date Title
CN106413124B (en) Equipment binding method and device
CN113596832B (en) Network connection establishment method and device, storage medium and electronic device
CN104144470B (en) A kind of Bluetooth connecting method and client
CN112217831A (en) Information interaction method, device and equipment about Internet of things equipment
CN108173727B (en) Intelligent household appliance network access method and equipment
CN111327758B (en) Camera sharing method and device
CN109766071B (en) Display adjustment method and device for bar-shaped electronic shelf label
CN102236561B (en) Terminal, and bootstrap configuration method and bootstrap information processing device for terminal
CN105682090A (en) Device control method and control terminal response method and apparatus
KR20210110335A (en) Smart device network configuration method and related devices
CN109699019B (en) Broadcast scanning method, device, electronic equipment and storage medium
KR20140141584A (en) Communication device, control method, and program
CN112346751B (en) Application program installation method and device, electronic equipment and storage medium
CN104618316A (en) Method, device and system of safety verification
CN109725543B (en) Equipment control code configuration method and device, cloud server and network system
CN103269384A (en) Rich client abnormality processing method, processing device and processing system
CN112135186A (en) Screen projection method, device, equipment and storage medium based on small program
CN104981025A (en) Terminal pairing method, terminal pairing device, server and terminal
WO2024066479A1 (en) Device deployment method and apparatus, storage medium, and electronic device
CN106488483B (en) Method for configuring WIFI gateway equipment and corresponding gateway equipment
CN103685249B (en) A kind of register the method for application, terminal and server
CN104125593A (en) Information processing method and electronic equipment
CN110213795B (en) Method for simultaneously communicating double SIM cards, mobile terminal and storage medium
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

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