CN110324831B - Distribution network method and device, electronic equipment, terminal and storage medium - Google Patents

Distribution network method and device, electronic equipment, terminal and storage medium Download PDF

Info

Publication number
CN110324831B
CN110324831B CN201910602757.0A CN201910602757A CN110324831B CN 110324831 B CN110324831 B CN 110324831B CN 201910602757 A CN201910602757 A CN 201910602757A CN 110324831 B CN110324831 B CN 110324831B
Authority
CN
China
Prior art keywords
service set
set identifier
network
distribution network
distribution
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
CN201910602757.0A
Other languages
Chinese (zh)
Other versions
CN110324831A (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.)
Shenzhen Skyworth Digital Technology Co Ltd
Original Assignee
Shenzhen Skyworth Digital Technology 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 Shenzhen Skyworth Digital Technology Co Ltd filed Critical Shenzhen Skyworth Digital Technology Co Ltd
Priority to CN201910602757.0A priority Critical patent/CN110324831B/en
Publication of CN110324831A publication Critical patent/CN110324831A/en
Application granted granted Critical
Publication of CN110324831B publication Critical patent/CN110324831B/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/08Access security
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The invention discloses a network distribution method, which comprises the following steps: after entering a distribution network state, scanning wireless network signals to obtain a service set identifier set; judging whether a target service set identifier conforming to a preset rule exists in the service set identifier set or not; when a target service set identifier conforming to a preset rule exists in the service set identifier set, extracting a distribution network service set identifier and a distribution network password from the target service set identifier; and carrying out wireless network connection according to the distribution network service set identifier and the distribution network password. The invention also discloses a distribution network device, electronic equipment, a terminal and a storage medium. The invention can realize the distribution network only by the equipment to be distributed with a wireless protocol, and has low cost.

Description

Distribution network method and device, electronic equipment, terminal and storage medium
Technical Field
The present invention relates to the field of distribution networks, and in particular, to a distribution network method, a device, an electronic device, a terminal, and a storage medium.
Background
In the current society of rapid development of intelligence, more and more intelligent devices are generated, so that the daily life of people is greatly facilitated. Many smart devices are not suitable for configuring input peripherals such as a screen and a keyboard, for convenience. Because the SSID (Service Set Identifier ) and the password cannot be directly input by the unconfigured input peripheral equipment, the intelligent equipment is very difficult to perform network distribution, and the AirKiss network distribution and the Bluetooth network distribution well solve the problem. However, the air kiss or bluetooth network requires the wireless network chip of the device to be configured to support the air kiss or bluetooth protocol, which increases the cost of the wireless network chip. Therefore, the current intelligent equipment aiming at the input peripheral is not configured with the problem of high cost of the network distribution function.
The foregoing is provided merely for the purpose of facilitating understanding of the technical solutions of the present invention and is not intended to represent an admission that the foregoing is prior art.
Disclosure of Invention
The invention mainly aims to provide a network distribution method, a device, electronic equipment, a terminal and a storage medium, and aims to solve the problem that the network distribution function cost is high for the intelligent equipment which is not configured with input peripheral equipment at present.
In order to achieve the above object, the present invention provides a network distribution method, including: after entering a distribution network state, scanning wireless network signals to obtain a service set identifier set; judging whether a target service set identifier conforming to a preset rule exists in the service set identifier set or not; when a target service set identifier conforming to a preset rule exists in the service set identifier set, extracting a distribution network service set identifier and a distribution network password from the target service set identifier; and carrying out wireless network connection according to the distribution network service set identifier and the distribution network password.
Optionally, when the target service set identifier meeting the preset rule exists in the service set identifier set, extracting the distribution network service set identifier and the distribution network password from the target service set identifier specifically includes: when a target service set identifier conforming to a preset rule exists in the service set identifier set, a preset separator adopted by the preset rule is obtained, and a distribution network service set identifier and a distribution network password are extracted from the target service set identifier according to the preset separator.
Optionally, after entering the network allocation state, the network allocation method further includes: and generating and outputting a distribution network indication signal, wherein the distribution network indication signal is used for representing that the equipment to be distributed enters a network state to be distributed.
In addition, in order to achieve the above object, the present invention further provides a network distribution device, including: the scanning module is used for scanning wireless network signals after entering a distribution network state so as to obtain a service set identifier set; the judging module is used for judging whether a target service set identifier conforming to a preset rule exists in the service set identifier set; the extraction module is used for extracting the distribution network service set identifier and the distribution network password from the target service set identifier when the target service set identifier conforming to the preset rule exists in the service set identifier set; and the network connection module is used for carrying out wireless network connection according to the distribution network service set identifier and the distribution network password.
In addition, to achieve the above object, the present invention also provides an electronic device including: the network distribution system comprises a memory, a processor and a network distribution program which is stored in the memory and can run on the processor, wherein the network distribution program realizes the steps of the network distribution method when being executed by the processor.
In addition, in order to achieve the above object, the present invention further provides a storage medium, on which a distribution network program is stored, which when executed by a processor, implements the steps of the distribution network method as described above.
In addition, in order to achieve the above object, the present invention also provides a network distribution method, which includes the following steps: acquiring a distribution network service set identifier and a distribution network password which are input by a user; generating a target service set identifier according to a preset rule according to the distribution network service set identifier and the distribution network password; and starting a wireless access point mode, taking the target service set identifier as a service set identifier of the wireless access point mode, so that when the target service set identifier is acquired by the equipment to be distributed, extracting a distribution network service set identifier and a distribution network password from the target service set identifier, and carrying out wireless network connection according to the distribution network service set identifier and the distribution network password.
In addition, in order to achieve the above object, the present invention further provides a network distribution device, including: the acquisition module is used for acquiring the distribution network service set identifier and the distribution network password input by the user; the target service set identifier generation module is used for generating a target service set identifier according to the distribution network service set identifier and the distribution network password and a preset rule; and the wireless access point mode starting module is used for starting a wireless access point mode, taking the target service set identifier as a service set identifier of the wireless access point mode, so that when the target service set identifier is acquired by the network equipment to be distributed, extracting a network distribution service set identifier and a network distribution password from the target service set identifier, and carrying out wireless network connection according to the network distribution service set identifier and the network distribution password.
In addition, to achieve the above object, the present invention also provides a terminal including: the network distribution system comprises a memory, a processor and a network distribution program which is stored in the memory and can run on the processor, wherein the network distribution program realizes the steps of the network distribution method when being executed by the processor.
In addition, in order to achieve the above object, the present invention further provides a storage medium, on which a distribution network program is stored, which when executed by a processor, implements the steps of the distribution network method as described above.
According to the network distribution method, device, electronic equipment, terminal and storage medium, after the network distribution equipment enters a network distribution state, wireless network signals are scanned to obtain a service set identifier set, a target service set identifier which accords with a preset rule is obtained from the service set identifier set, the network distribution service set identifier and a network distribution password are extracted from the target service set identifier, and then wireless network connection is carried out according to the network distribution service set identifier and the network distribution password, so that network distribution can be realized only by the network distribution equipment with a wireless protocol, and the cost is low.
Drawings
Fig. 1 is a schematic structural diagram of a network device to be configured in a hardware operation environment according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a first embodiment of a network allocation method according to the present invention;
fig. 3 is a block diagram of a first embodiment of a network distribution device according to the present invention;
FIG. 4 is a schematic diagram of a terminal of a hardware operating environment according to an embodiment of the present invention;
fig. 5 is a schematic flow chart of a second embodiment of a network allocation method according to the present invention;
fig. 6 is a block diagram of a second embodiment of a network device according to the present invention.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
As shown in fig. 1, fig. 1 is a schematic structural diagram of a network device to be configured in a hardware running environment according to an embodiment of the present invention.
The network equipment to be configured in the embodiment of the invention can be electronic equipment configured with the input peripheral equipment or electronic equipment not configured with the input peripheral equipment. Specifically, the device to be configured may be an intelligent home device, an intelligent wearable device, a PC, a smart phone, a tablet computer, an electronic book reader, an MP3 (Moving Picture Experts Group Audio Layer III, dynamic image expert compression standard audio layer 3) player, an MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert compression standard audio layer 4) player, a portable computer, and the like. Wherein, intelligent household equipment can be intelligent desk lamp, smart jack, intelligent switch, intelligent weighing scale and robot etc. sweeps floor, and intelligent wearing equipment can be intelligent bracelet and intelligent earphone etc..
As shown in fig. 1, the network device to be configured may include: a processor 1001, such as a CPU, memory 1003, wifi (Wireless Fidelity, wireless network) module 1004, a communication bus 1002. Wherein the communication bus 1002 is used to enable connected communication between these components. The memory 1003 may be a high-speed RAM memory or a stable memory (non-volatile memory), such as a disk memory. The memory 1003 may alternatively be a storage device separate from the processor 1001 described above.
Optionally, the network device to be configured may further include a camera, an RF (Radio Frequency) circuit, a sensor, an audio circuit, and so on. Among other sensors, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display screen according to the brightness of ambient light, and a proximity sensor that may turn off the display screen and/or the backlight when the mobile terminal moves to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the acceleration in all directions (generally three axes), and can detect the gravity and the direction when the mobile terminal is stationary, and the mobile terminal can be used for recognizing the gesture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and knocking), and the like; of course, the network equipment to be configured can be further configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor and the like, which are not described herein.
It will be appreciated by those skilled in the art that the configuration of the network device to be configured shown in fig. 1 is not limiting of the network device to be configured and may include more or fewer components than shown, or may combine certain components, or may be arranged in a different arrangement of components.
As shown in fig. 1, an operating system and a distribution network program may be included in the memory 1003, which is a kind of computer storage medium. The processor 1001 may be configured to call a distribution network program stored in the memory 1003, and perform the following operations: after entering a distribution network state, scanning wireless network signals to obtain a service set identifier set; judging whether a target service set identifier conforming to a preset rule exists in the service set identifier set or not; when a target service set identifier conforming to a preset rule exists in the service set identifier set, extracting a distribution network service set identifier and a distribution network password from the target service set identifier; and carrying out wireless network connection according to the distribution network service set identifier and the distribution network password.
Optionally, when the target service set identifier meeting the preset rule exists in the service set identifier set, extracting the distribution network service set identifier and the distribution network password from the target service set identifier specifically includes: when a target service set identifier conforming to a preset rule exists in the service set identifier set, a preset separator adopted by the preset rule is obtained, and a distribution network service set identifier and a distribution network password are extracted from the target service set identifier according to the preset separator.
Optionally, after entering the network allocation state, the network allocation method further includes: and generating and outputting a distribution network indication signal, wherein the distribution network indication signal is used for representing that the equipment to be distributed enters a network state to be distributed.
Referring to fig. 2, a network allocation method according to an embodiment of the present invention includes:
step S202, after entering a distribution network state, scanning wireless network signals to obtain a service set identifier set;
the network distribution process of the network distribution equipment can be started automatically when the network distribution equipment is started, or can be started after receiving a network distribution instruction sent by a user when the network distribution equipment is started. The network distribution instruction can be sent by a user through a network distribution start switch arranged on the network equipment to be distributed. After the network distribution process of the network distribution equipment is started, the network distribution equipment enters a network distribution state. The to-be-configured network equipment scans wireless network signals through the WIFI module to obtain an SSID set. The SSID set is a set formed by all SSIDs currently covered in the scanning range of the network equipment to be matched.
Step S204, judging whether a target service set identifier conforming to a preset rule exists in the service set identifier set;
the target SSID is an SSID carrying a distribution network SSID and a distribution network password, and the to-be-distributed network device can utilize the distribution network SSID and the distribution network password to connect the wireless network. The target SSID is preset for a user through the terminal.
Specifically, in one embodiment, after entering the network configuration state, the network configuration method further includes: and generating and outputting a distribution network indication signal, wherein the distribution network indication signal is used for representing that the equipment to be distributed enters a network state to be distributed.
The distribution network indication signal may be output in the form of a signal lamp, for example, after the to-be-distributed network device enters the distribution network state, the distribution network indication signal lamp set on the to-be-distributed network device begins to flash to characterize that the to-be-distributed network device has entered the distribution network state, so as to prompt a user.
When the user observes the distribution network indication signal, the target SSID can be set through the terminal. Specifically, the terminal opens a distribution network application matched with the equipment to be distributed to obtain a distribution network SSID and a distribution network password. If the terminal stores the distribution network SSID and the distribution network password in advance, the terminal can directly acquire the distribution network SSID and the distribution network password; if the terminal does not store the distribution network SSID and the distribution network password in advance, the distribution network SSID and the distribution network password can be obtained by inputting the distribution network SSID and the distribution network password in the distribution network application by a user, or the distribution network SSID can be obtained by selecting the current SSID obtained by the scanning of the terminal by the user and inputting the distribution network password in the interface of the distribution network application by the user. Further, the terminal generates a target SSID according to preset rules according to the distribution network SSID and the distribution network password. In this embodiment, the preset rule is that a preset identifier is added to the target SSID. The target SSID may be composed of a preset identifier, a distribution network SSID, and a distribution network password according to a preset separation Fu Yi sequence. For example, if the preset identifier is "@", the distribution network SSID is "S", the distribution network password is "a", and the preset separator is "-", the corresponding target SSID is "@ -S-a". The preset separator may also be empty, which is not specifically limited in this embodiment, and is not limited in the order of the preset identifier, the distribution network SSID, and the distribution network password. Further, the terminal starts an AP (access point) mode, takes a target SSID as an SSID of the AP mode, and broadcasts the target SSID. When the AP signal of the terminal is covered in the WIFI scanning range of the network equipment to be distributed, the network equipment to be distributed can scan to obtain the target SSID.
Specifically, the to-be-configured network device sequentially searches the SSID set, judges whether preset identifiers exist in the searched current SSID, if so, judges that the current SSID is a target SSID, and if not, continues to search for the next SSID.
Step S206, when a target service set identifier conforming to a preset rule exists in the service set identifier set, extracting a distribution network service set identifier and a distribution network password from the target service set identifier;
in one embodiment, step S206 specifically includes: when a target service set identifier conforming to a preset rule exists in the service set identifier set, a preset separator adopted by the preset rule is obtained, and a distribution network service set identifier and a distribution network password are extracted from the target service set identifier according to the preset separator.
For example, when the target SSID may be composed of a preset identifier, a distribution network SSID and a distribution network password according to a preset separation Fu Yi sequence, the to-be-distributed network device obtains character strings on two sides of a last preset separator in the target SSID, where the character string on the left side of the preset separator is the distribution network SSID, and the character string on the right side of the preset separator is the distribution network password.
And step S208, wireless network connection is carried out according to the distribution network service set identifier and the distribution network password.
And after the network distribution equipment acquires the network distribution service set identifier and the network distribution password, the network distribution equipment immediately utilizes the network distribution service set identifier and the network distribution password to carry out wireless network connection, so as to complete the network distribution.
In this embodiment, after the network configuration device enters the network configuration state, the wireless network signal is scanned to obtain a service set identifier set, a target service set identifier which accords with a preset rule is obtained in the service set identifier set, and the network configuration service set identifier and the network configuration password are extracted from the target service set identifier, so that wireless network connection is performed according to the network configuration service set identifier and the network configuration password, and network configuration can be realized only by the network configuration device having a wireless protocol, so that the cost is low.
Referring to fig. 3, in a first embodiment of a network distribution device, the network distribution device includes:
a scanning module 310, configured to scan wireless network signals after entering a distribution network state, so as to obtain a service set identifier set;
a judging module 320, configured to judge whether a target service set identifier conforming to a preset rule exists in the service set identifier set;
an extracting module 330, configured to extract, when a target service set identifier that meets a preset rule exists in the service set identifier set, a distribution network service set identifier and a distribution network password from the target service set identifier;
and the network connection module 340 is configured to perform wireless network connection according to the distribution network service set identifier and the distribution network password.
Optionally, the extracting module 330 is further configured to, when a target service set identifier that meets a preset rule exists in the service set identifier set, obtain a preset separator adopted by the preset rule, and extract the distribution network service set identifier and the distribution network password from the target service set identifier according to the preset separator.
Optionally, the network allocation device further includes: the indication signal module is used for generating and outputting a distribution network indication signal after entering a distribution network state, and the distribution network indication signal is used for representing that the equipment to be distributed enters the distribution network state.
An electronic device, the electronic device comprising: the network distribution method comprises a memory, a processor and a network distribution program stored in the memory and capable of running on the processor, wherein the network distribution program realizes the steps of the network distribution method embodiment I when being executed by the processor.
A storage medium, where a distribution network program is stored, where the distribution network program is implemented when executed by a processor, where the distribution network program is implemented when executed by the processor as described in the first step of the distribution network method embodiment.
As shown in fig. 4, fig. 4 is a schematic diagram of a terminal structure of a hardware running environment according to an embodiment of the present invention.
The terminal of the embodiment of the invention can be a PC, or can be a mobile terminal device with a display function, such as a smart phone, a tablet personal computer, an electronic book reader, an MP3 (Moving Picture Experts Group Audio Layer III, dynamic image expert compression standard audio layer 3) player, an MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert compression standard audio layer 4) player, a portable computer and the like.
As shown in fig. 1, the terminal may include: a processor 4001, e.g., a CPU, a network interface 4004, a user interface 4003, a memory 4005, and a communication bus 4002. Wherein the communication bus 4002 is used to enable connection communications between these components. The user interface 4003 may comprise a Display, an input unit such as a Keyboard (Keyboard), and the optional user interface 4003 may also comprise a standard wired interface, a wireless interface. The network interface 4004 may optionally comprise a standard wired interface, a wireless interface (e.g., a WIFI interface). The memory 4005 may be a high-speed RAM memory or a stable memory (non-volatile memory), such as a disk memory. The memory 4005 may alternatively be a storage device separate from the aforementioned processor 4001.
Optionally, the terminal may also include a camera, an RF (Radio Frequency) circuit, a sensor, an audio circuit, a WiFi module, and so on. Among other sensors, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display screen according to the brightness of ambient light, and a proximity sensor that may turn off the display screen and/or the backlight when the mobile terminal moves to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the acceleration in all directions (generally three axes), and can detect the gravity and the direction when the mobile terminal is stationary, and the mobile terminal can be used for recognizing the gesture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and knocking), and the like; of course, the mobile terminal may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, and the like, which are not described herein.
It will be appreciated by those skilled in the art that the terminal structure shown in fig. 1 is not limiting of the terminal and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
As shown in fig. 1, an operating system, a network communication module, a user interface module, and a distribution network program may be included in the memory 4005 as one type of computer storage medium.
In the terminal shown in fig. 1, the network interface 4004 is mainly used for connecting to a background server and performing data communication with the background server; the user interface 4003 is mainly used for connecting a client (user side) and communicating data with the client; and the processor 4001 may be configured to call a distribution program stored in the memory 4005 and perform operations of: acquiring a distribution network service set identifier and a distribution network password which are input by a user; generating a target service set identifier according to a preset rule according to the distribution network service set identifier and the distribution network password; and starting a wireless access point mode, taking the target service set identifier as a service set identifier of the wireless access point mode, so that when the target service set identifier is acquired by the equipment to be distributed, extracting a distribution network service set identifier and a distribution network password from the target service set identifier, and carrying out wireless network connection according to the distribution network service set identifier and the distribution network password.
Referring to fig. 5, a network allocation method according to a second embodiment includes:
step S502, a distribution network service set identifier and a distribution network password which are input by a user are obtained;
and the terminal opens a distribution network application matched with the equipment to be distributed to obtain a distribution network SSID and a distribution network password. If the terminal stores the distribution network SSID and the distribution network password in advance, the terminal can directly acquire the distribution network SSID and the distribution network password; if the terminal does not store the distribution network SSID and the distribution network password in advance, the distribution network SSID and the distribution network password can be obtained by inputting the distribution network SSID and the distribution network password in the distribution network application by a user, or the distribution network SSID can be obtained by selecting the current SSID obtained by the scanning of the terminal by the user and inputting the distribution network password in the interface of the distribution network application by the user.
Step S504, generating a target service set identifier according to a preset rule according to the distribution network service set identifier and the distribution network password;
and the terminal generates a target SSID according to a preset rule according to the distribution network SSID and the distribution network password. In this embodiment, the preset rule is that a preset identifier is added to the target SSID. The target SSID may be composed of a preset identifier, a distribution network SSID, and a distribution network password according to a preset separation Fu Yi sequence. For example, if the preset identifier is "@", the distribution network SSID is "S", the distribution network password is "a", and the preset separator is "-", the corresponding target SSID is "@ -S-a". The preset separator may also be empty, which is not specifically limited in this embodiment, and is not limited in the order of the preset identifier, the distribution network SSID, and the distribution network password.
Step S506, a wireless access point mode is started, the target service set identifier is used as a service set identifier of the wireless access point mode, so that when the target service set identifier is acquired by the network equipment to be distributed, the network distribution service set identifier and the network distribution password are extracted from the target service set identifier, and wireless network connection is carried out according to the network distribution service set identifier and the network distribution password.
The terminal starts an AP (Access Point) mode, takes a target SSID as the SSID of the AP mode, and broadcasts the target SSID. When the AP signal of the terminal is covered in the WIFI scanning range of the network equipment to be distributed, the network equipment to be distributed can scan to obtain the target SSID. When the network distribution equipment scans and acquires the target SSID, extracting the network distribution SSID and the network distribution password from the target SSID, and carrying out wireless network connection according to the network distribution SSID and the network distribution password.
In this embodiment, the terminal generates the target SSID according to the preset rule by acquiring the distribution network service set identifier and the distribution network password input by the user, and starts the AP mode, and uses the target SSID as the SSID of the wireless access point mode, so that the distribution network SSID and the distribution network password can be broadcast out through the AP mode, and the distribution network SSID and the distribution network password can be extracted from the target SSID to perform wireless network connection only after the distribution network device starts wireless scanning to acquire the target SSID, and the distribution network device only needs to have a wireless protocol to realize distribution network, so that the cost is low.
Referring to fig. 6, a second embodiment of a network distribution device includes:
an obtaining module 610, configured to obtain a distribution network service set identifier and a distribution network password that are input by a user;
a generating module 620, configured to generate a target service set identifier according to a preset rule according to the distribution network service set identifier and the distribution network password;
and an opening module 630, configured to open a wireless access point mode, and use the target service set identifier as a service set identifier of the wireless access point mode, so that when the to-be-configured network device acquires the target service set identifier, a configuration network service set identifier and a configuration network password are extracted from the target service set identifier, and wireless network connection is performed according to the configuration network service set identifier and the configuration network password.
A terminal, the terminal comprising: the network distribution method comprises a memory, a processor and a network distribution program stored in the memory and capable of running on the processor, wherein the network distribution program realizes the steps of the network distribution method embodiment II when being executed by the processor.
A storage medium, where a network distribution program is stored, where the network distribution program, when executed by a processor, implements the steps of the second network distribution method embodiment described above.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented 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) as described above, comprising instructions for causing a network device or terminal to be configured to perform the method according to the embodiments of the present invention.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.

Claims (9)

1. The network distribution method is characterized by comprising the following steps of:
after entering a network distribution state, scanning wireless network signals through a WIFI module to obtain a service set identifier set, wherein the service set identifier set is a set formed by all service set identifiers currently covered in a scanning range of equipment to be distributed;
judging whether a target service set identifier conforming to a preset rule exists in the service set identifier set or not, wherein the target service set identifier is a service set identifier preset by a user through a terminal;
when a target service set identifier conforming to a preset rule exists in the service set identifier set, extracting a distribution network service set identifier and a distribution network password from the target service set identifier;
performing wireless network connection according to the distribution network service set identifier and the distribution network password;
wherein the distribution network state is a state after the distribution network process is started, and before the step of entering the distribution network state, the distribution network method further includes:
when a network allocation instruction sent by a user is received, starting the network allocation process, wherein the network allocation instruction is sent by an instruction switch preset by the user;
after entering the network allocation state, the network allocation method further comprises the following steps:
generating and outputting a distribution network indication signal to prompt a user to set the target service set identifier through terminal equipment, wherein the distribution network indication signal is used for representing that the equipment to be distributed has entered a network state to be distributed;
the terminal equipment is used for opening a distribution network application, acquiring a distribution network service set identifier and a distribution network password, generating the target service set identifier according to the distribution network service set identifier and the distribution network password according to the preset rule, starting a wireless access point mode, taking the target service set identifier as the service set identifier of the wireless access point mode, and broadcasting the target service set identifier.
2. The network distribution method according to claim 1, wherein when a target service set identifier meeting a preset rule exists in the service set identifier set, extracting a network distribution service set identifier and a network distribution password from the target service set identifier specifically includes:
when a target service set identifier conforming to a preset rule exists in the service set identifier set, a preset separator adopted by the preset rule is obtained, and a distribution network service set identifier and a distribution network password are extracted from the target service set identifier according to the preset separator.
3. A distribution network device, characterized in that the distribution network device comprises:
the scanning module is used for scanning wireless network signals through the WIFI module after entering a network distribution state so as to obtain a service set identifier set, wherein the service set identifier set is a set formed by all service set identifiers currently covered in a scanning range of the network distribution equipment;
the judging module is used for judging whether a target service set identifier conforming to a preset rule exists in the service set identifier set or not, wherein the target service set identifier is a service set identifier preset by a user through a terminal;
the extraction module is used for extracting the distribution network service set identifier and the distribution network password from the target service set identifier when the target service set identifier conforming to the preset rule exists in the service set identifier set;
the network connection module is used for carrying out wireless network connection according to the distribution network service set identifier and the distribution network password;
wherein, join in marriage net device still includes:
the starting module is used for starting a network distribution process when receiving a network distribution instruction sent by a user, wherein the network distribution instruction is sent by an instruction switch preset by the user;
wherein, join in marriage net device still includes:
the signal indication module is used for generating and outputting a distribution network indication signal so as to prompt a user to set the target service set identifier through the terminal equipment;
the terminal equipment is used for opening a distribution network application, acquiring a distribution network service set identifier and a distribution network password, generating the target service set identifier according to the distribution network service set identifier and the distribution network password according to the preset rule, starting a wireless access point mode, taking the target service set identifier as the service set identifier of the wireless access point mode, and broadcasting the target service set identifier.
4. An electronic device, the electronic device comprising: memory, a processor and a distribution program stored on the memory and executable on the processor, which distribution program, when executed by the processor, implements the steps of the distribution method according to any of claims 1 to 2.
5. A storage medium having stored thereon a distribution network program which, when executed by a processor, implements the steps of the distribution network method according to any of claims 1 to 2.
6. The network distribution method is characterized by comprising the following steps of:
acquiring a distribution network service set identifier and a distribution network password which are input by a user;
generating a target service set identifier according to a preset rule according to the distribution network service set identifier and the distribution network password;
starting a wireless access point mode, taking the target service set identifier as a service set identifier of the wireless access point mode, so that when the target service set identifier is acquired by the equipment to be distributed, extracting a distribution network service set identifier and a distribution network password from the target service set identifier, and performing wireless network connection according to the distribution network service set identifier and the distribution network password;
the step of obtaining the distribution network service set identifier and the distribution network password input by the user comprises the following steps:
in a distribution network application, acquiring the distribution network service set identifier and the distribution network password input by a user, wherein the distribution network application is an application matched with the to-be-distributed network equipment;
the step of generating the target service set identifier according to the distribution network service set identifier and the distribution network password and a preset rule comprises the following steps:
and generating the target service set identifier according to a preset separation Fu Yici sequence according to a preset identifier, the distribution network service set identifier and the distribution network password.
7. A distribution network device, characterized in that the distribution network device comprises:
the acquisition module is used for acquiring the distribution network service set identifier and the distribution network password input by the user;
the target service set identifier generation module is used for generating a target service set identifier according to the distribution network service set identifier and the distribution network password and a preset rule;
the wireless access point mode starting module is used for starting a wireless access point mode, taking the target service set identifier as a service set identifier of the wireless access point mode, so that when the target service set identifier is acquired by the network equipment to be distributed, extracting a network distribution service set identifier and a network distribution password from the target service set identifier, and carrying out wireless network connection according to the network distribution service set identifier and the network distribution password;
the acquisition module is specifically configured to acquire the distribution network service set identifier and the distribution network password input by a user in a distribution network application, where the distribution network application is an application matched with the to-be-distributed network device;
the target service set identifier generating module is specifically configured to generate the target service set identifier according to a preset separation Fu Yici sequence according to a preset identifier, the distribution network service set identifier and the distribution network password.
8. A terminal, the terminal comprising: a memory, a processor, and a distribution program stored on the memory and executable on the processor, which when executed by the processor, performs the steps of the distribution method of claim 6.
9. A storage medium having stored thereon a distribution network program which, when executed by a processor, implements the steps of the distribution network method of claim 6.
CN201910602757.0A 2019-07-04 2019-07-04 Distribution network method and device, electronic equipment, terminal and storage medium Active CN110324831B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910602757.0A CN110324831B (en) 2019-07-04 2019-07-04 Distribution network method and device, electronic equipment, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910602757.0A CN110324831B (en) 2019-07-04 2019-07-04 Distribution network method and device, electronic equipment, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN110324831A CN110324831A (en) 2019-10-11
CN110324831B true CN110324831B (en) 2023-07-28

Family

ID=68122798

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910602757.0A Active CN110324831B (en) 2019-07-04 2019-07-04 Distribution network method and device, electronic equipment, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN110324831B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113037519A (en) * 2019-12-09 2021-06-25 北京君正集成电路股份有限公司 Intelligent household equipment and network distribution method and device thereof
CN111314864B (en) * 2020-03-04 2022-02-22 联想万像(深圳)科技有限公司 Network distribution method, device and equipment
CN111818613A (en) * 2020-07-24 2020-10-23 深圳创维数字技术有限公司 Wireless network configuration method, device and storage medium
CN111954164B (en) * 2020-07-24 2021-09-24 深圳创维数字技术有限公司 Equipment network distribution method and device and computer readable storage medium
CN112564942A (en) * 2020-11-19 2021-03-26 深圳市晨北科技有限公司 Distribution network control method and device of Internet of things equipment, equipment and storage medium
CN114630398B (en) * 2022-03-04 2024-02-02 美智纵横科技有限责任公司 Distribution network method, distribution network equipment, readable storage medium and sweeping robot

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109756848A (en) * 2019-03-26 2019-05-14 深圳创维数字技术有限公司 Wireless distribution method, apparatus, equipment and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104144034B (en) * 2013-12-04 2016-04-13 腾讯科技(深圳)有限公司 Password is shared and acquisition methods and device
US9693296B2 (en) * 2014-07-17 2017-06-27 Xiaomi Inc. Network connection method and apparatus
CN105933904B (en) * 2016-05-17 2020-04-21 腾讯科技(深圳)有限公司 Network connection method and device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109756848A (en) * 2019-03-26 2019-05-14 深圳创维数字技术有限公司 Wireless distribution method, apparatus, equipment and storage medium

Also Published As

Publication number Publication date
CN110324831A (en) 2019-10-11

Similar Documents

Publication Publication Date Title
CN110324831B (en) Distribution network method and device, electronic equipment, terminal and storage medium
CN111107667B (en) Bluetooth headset pairing method and device and readable storage medium
CN110049476B (en) Equipment pushing method, device, mobile terminal and storage medium
US20190080120A1 (en) Unlocking methods and related products
WO2015039601A1 (en) Methods, devices, terminal device and systems for pattern recognition
CN111010718B (en) Method for quickly searching network, configuration method and electronic equipment
CN107888765B (en) Method for switching scene mode and mobile terminal
CN109215640B (en) Speech recognition method, intelligent terminal and computer readable storage medium
CN112237031B (en) Method for accessing intelligent household equipment to network and related equipment
CN111436088B (en) Cell reselection method, base station, user terminal and storage medium
CN106791916B (en) Method, device and system for recommending audio data
WO2018145477A1 (en) Network access method and terminal
CN111818499B (en) Quick pairing method, device, equipment and computer readable storage medium
CN113055864A (en) Bluetooth connection method, device, storage medium and electronic equipment
CN106558088B (en) Method and device for generating GIF file
CN109862607B (en) Network recommendation method and mobile terminal
CN107734049B (en) Network resource downloading method and device and mobile terminal
CN108601063B (en) Personal hotspot realization method and related product
KR102263977B1 (en) Methods, devices, and systems for performing information provision
CN107341398B (en) Program evaluation method and device
CN109063033A (en) A kind of method, apparatus and terminal of search for application
KR102138615B1 (en) Apparatus and method for providing merged device information
CN110933772A (en) Connection method of wireless device, mobile terminal and computer readable storage medium
CN107767504B (en) Vehicle unlocking method, terminal and computer-readable storage medium
CN110913454A (en) Cell determination method and terminal equipment

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