CN113438102B - Network configuration system, network configuration method, electronic device and routing device - Google Patents

Network configuration system, network configuration method, electronic device and routing device Download PDF

Info

Publication number
CN113438102B
CN113438102B CN202110635811.9A CN202110635811A CN113438102B CN 113438102 B CN113438102 B CN 113438102B CN 202110635811 A CN202110635811 A CN 202110635811A CN 113438102 B CN113438102 B CN 113438102B
Authority
CN
China
Prior art keywords
information
access point
routing
network configuration
mode
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
CN202110635811.9A
Other languages
Chinese (zh)
Other versions
CN113438102A (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.)
Honor Device Co Ltd
Original Assignee
Honor Device 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 Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202110635811.9A priority Critical patent/CN113438102B/en
Publication of CN113438102A publication Critical patent/CN113438102A/en
Application granted granted Critical
Publication of CN113438102B publication Critical patent/CN113438102B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • H04W48/10Access restriction or access information delivery, e.g. discovery data delivery using broadcasted information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information

Landscapes

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

Abstract

The application is applicable to the technical field of terminals, and provides a network configuration system, a network configuration method, electronic equipment and routing equipment. According to the application scenario of network configuration of newly purchased or reset routing equipment, in the network configuration system, the electronic equipment broadcasts a protocol message and an access point name in an access point mode, the routing equipment identifies the received protocol message to obtain a target identification field and the access point name, matches the access point name in the protocol message with the obtained access point name broadcasted by the electronic equipment based on the target identification field, and after the two are matched, the routing equipment and the electronic equipment can establish communication connection, so that the routing equipment can receive network configuration information sent by the electronic equipment to complete network configuration. The possibility that other electronic equipment can be connected with the routing equipment without passwords is reduced, and the safety of network configuration of the routing equipment is improved.

Description

Network configuration system, network configuration method, electronic device and routing device
Technical Field
The present application relates to the field of terminal technologies, and in particular, to a network configuration system, a network configuration method, an electronic device, and a routing device.
Background
The routing device is a core device interconnected by a network. Taking a common router used in a home as an example, as a gateway device for connecting a plurality of networks, it is necessary to perform network configuration on the gateway device through an electronic device before accessing the network.
At present, when network configuration is performed on a router through electronic equipment, the electronic equipment can establish connection with the router without passwords, and then the router is configured. The network configuration mode is easy to be maliciously connected by other people except the user, so that certain potential safety hazards exist in the network configuration process.
Disclosure of Invention
The application provides a network configuration system, a network configuration method, an electronic device and a router device, which can improve the security of router network configuration.
In order to achieve the purpose, the technical scheme is as follows:
in a first aspect, a network configuration system is provided, the system comprising an electronic device and a routing device;
the electronic device is configured to:
after an access point mode is started, broadcasting a protocol message and access point information, wherein the protocol message comprises a preset target identification field and the access point information;
the routing device is configured to:
in a work station mode, after receiving a protocol message, identifying the received protocol message, if the protocol message is identified to contain the target identification field, acquiring access point information, and matching the acquired access point information with the access point information in the protocol message;
if access point information which is matched with the access point information in the protocol message is consistent in the acquired access point information, establishing communication connection with the electronic equipment, and feeding back information of successful communication connection to the electronic equipment;
the electronic device is further configured to:
after receiving the information of successful communication connection fed back by the routing equipment, receiving network configuration information input by a user, and sending the network configuration information to the routing equipment;
the routing device is further configured to:
and carrying out network configuration according to the received network configuration information.
When a plurality of routing devices exist near the user electronic device, the situation that the routing devices are connected by mistake unconsciously may exist because the newly purchased or reset routing devices generally use default names when leaving the factory; or in case of malicious connection by other electronic devices than the user electronic device after the routing device is powered on. Therefore, the present application provides a network configuration system for the above possible situations, which can be applied in the scenario of network configuration of newly purchased or reconfigured routing devices.
It should be noted that, in the above network configuration system, before network configuration, the electronic device is in an access point mode, the routing device is in a workstation mode, and both devices can perform connectionless broadcast communication on a consistent physical channel in a broadcast manner; the electronic device may thus be configured to periodically broadcast the protocol packet and the access point information to the routing device, and the routing device may be configured to receive the protocol packet and the access point information while in a passive reception state.
For example, the target identification field in the protocol message may be a special identification field preset and consistent for the electronic device and the routing device, such as "connection" or "configuration".
For example, the protocol message may further include access point information when the electronic device is in the access point mode, and the access point information may include information such as a hotspot name of a personal hotspot of the electronic device and a rate that the electronic device can support.
The access point information acquired by the routing device is the access point information directly broadcast by the electronic device, and may be the access point information received and stored before the protocol message is identified, or the access point information received after the protocol message is identified.
It should be noted that the hotspot name in the access point information may also be set by the user.
Because the router is in the work station mode, the electronic equipment broadcasts the access point information and simultaneously broadcasts the protocol message for information matching, other electronic equipment except the user cannot be connected to the routing equipment, the probability that other electronic equipment is possibly maliciously connected and configured is reduced when the routing equipment is subjected to network configuration, and the safety of the network configuration of the routing equipment is improved.
In addition, the protocol message is sent by the electronic device, the routing device identifies the target identification field in the protocol message, and the process of acquiring the hotspot name broadcasted by the electronic device and matching the hotspot name is triggered based on the target identification field, so that the situation that other routing devices are mistakenly connected can be effectively avoided.
In a possible implementation manner of the first aspect, the electronic device is further configured to:
starting a hotspot in a first preset mode and entering the access point mode;
wherein the first predetermined manner comprises: the method comprises the steps that the electronic equipment receives a mode that a user clicks a target control to input a first trigger instruction and responds to the first trigger instruction;
the routing device is further configured to:
entering the workstation mode by a second predetermined manner;
wherein the second predetermined manner comprises: and the routing equipment receives a mode that a user clicks a target key to input a third trigger instruction and responds to the third trigger instruction.
For example, the first predetermined manner may further include controlling the electronic device to open the hot spot and enter the access point mode by waking up a voice assistant of the electronic device through a voice interaction manner. The target control can be a switch control of the individual hotspot, and can also be a control corresponding to the individual hotspot chart.
For example, the second predetermined manner may also be a manner of receiving a touch control instruction input by a user through a touch screen or receiving a voice control instruction input by the user through a microphone; the third trigger instruction may be an instruction input by the user by long-pressing the 3-second target key.
In a possible implementation manner of the first aspect, the electronic device is further configured to:
and after the access point mode is started, receiving a second trigger instruction input by a user, and starting a distribution network guide in response to the second trigger instruction, wherein the distribution network guide is used for indicating to start broadcasting the protocol message.
On one hand, the electronic device can be used for broadcasting the access point information and the protocol message after the electronic device starts the hot spot and enters the workstation mode.
On the other hand, aiming at the working scene of daily heat point provision of the electronic equipment, in order to reduce the power consumption of the electronic equipment for simultaneously broadcasting the protocol message and the access point information in the access point mode, the electronic equipment can be used for only broadcasting the access point information after the access point mode is started, so that the working requirement of daily heat point provision of the electronic equipment is met; when an application scenario that network configuration needs to be performed on the routing device is implemented, the electronic device may be further configured to receive a second trigger instruction input by the user in the access point mode, and in response to the second trigger instruction, rebroadcast the protocol packet including the target identification field. Therefore, the power consumption of the electronic equipment in a working scene of daily heat point supply can be reduced, and the router can still be configured in a network after the second trigger instruction is received.
In a possible implementation manner of the first aspect, the electronic device is further configured to:
after receiving the information of successful communication connection fed back by the routing device, displaying a window, wherein the window is used for a user to input the network configuration information:
the routing device is further configured to:
and sending out prompt information for completing network configuration after network configuration is carried out according to the network configuration information, wherein the prompt information is sent out in one or more modes of voice, pop-up window display and light flashing.
Illustratively, after the routing device matches and conforms the acquired access point information with the access point information in the protocol message, the routing device establishes communication connection with the electronic device, and feeds back information of successful connection to the electronic device.
In a possible implementation manner, after the electronic device starts a hotspot and enters an access point mode, a protocol message and access point information can be broadcasted; after receiving the information of successful connection fed back by the routing device and receiving the address information for configuring the routing device, the electronic device may directly display the window, where the window provides an area where the user can input the network configuration information (the process does not need to involve a second trigger instruction).
In another possible implementation manner, after the electronic device starts the hotspot and enters the access point mode, the electronic device may broadcast the protocol message and the access point information; the electronic equipment can also receive that a user clicks a control of the distribution network guide after receiving the information of successful connection fed back by the routing equipment, responds to the clicking operation, and loads and displays the window after receiving the address information of the configuration routing equipment fed back by the routing equipment. At this time, the distribution network guide control is used for indicating a subsequent process of receiving the network configuration information input by the user.
In another possible implementation manner, after the electronic device starts the hotspot and enters the access point mode, only the access point information can be broadcasted, and after receiving the operation of clicking the distribution network guide by the user, the protocol message is broadcasted; and then, establishing communication connection between the routing equipment and the electronic equipment, and directly jumping to the display interface of the window by the electronic equipment after the electronic equipment receives the address information of the configuration routing equipment fed back by the routing equipment.
In a possible implementation manner of the first aspect, the communication connection established between the electronic device and the routing device is a connection made through any one of bluetooth, a short-range wireless communication technology, and a data network.
In a second aspect, an embodiment of the present application provides an electronic device, where the electronic device includes:
the wireless broadcast module is used for broadcasting a protocol message and access point information after the access point mode is started, wherein the protocol message comprises a target identification field and the access point information;
the wireless sending module is used for receiving network configuration information input by a user after receiving the information of successful communication connection fed back by the routing equipment, and sending the network configuration information to the routing equipment for network configuration; wherein the information of successful communication connection is fed back after the routing device establishes communication connection with the electronic device, and the condition for establishing communication connection between the routing device and the electronic device includes: the protocol message received by the routing equipment contains a target identification field, and access point information which is matched and consistent with the access point information in the protocol message exists in the access point information acquired by the routing equipment.
Illustratively, the electronic device may be a mobile phone, a tablet computer, a smart watch, a notebook computer, or the like.
In a possible implementation manner of the second aspect, the electronic device further includes:
the hot spot control module is used for starting a hot spot through a first preset mode and entering the access point mode;
wherein the first predetermined manner comprises: the method comprises the steps that the electronic equipment receives a mode that a user clicks a target control to input a first trigger instruction and responds to the first trigger instruction.
In a possible implementation manner of the second aspect, the electronic device further includes:
and the distribution network control module is used for receiving a second trigger instruction input by a user after the access point mode is started, and starting a distribution network guide in response to the second trigger instruction, wherein the distribution network guide is used for indicating to start broadcasting the protocol message.
In a possible implementation manner of the second aspect, the electronic device further includes:
and the display unit is used for displaying a window after the electronic equipment receives the information of successful communication connection fed back by the routing equipment, and the window is used for a user to input the network configuration information.
In a possible implementation manner of the second aspect, the communication connection is a connection made through any one of bluetooth, a short-range wireless communication technology, and a data network.
In a third aspect, an embodiment of the present application provides a routing device, where the routing device includes:
the central processing unit is used for identifying the received protocol message after receiving the protocol message broadcasted by the electronic equipment in the workstation mode, acquiring access point information if the protocol message is identified to contain a preset target identification field, and matching the acquired access point information with the access point information in the protocol message;
the wireless communication module is used for establishing communication connection between the routing equipment and the electronic equipment and feeding back information of successful communication connection to the electronic equipment if access point information which is consistent with the access point information in the protocol message exists in the acquired access point information;
and the network configuration module is used for receiving network configuration information sent by the electronic equipment and carrying out network configuration according to the network configuration information, wherein the network configuration information is sent by the electronic equipment after the information of successful communication connection fed back by the routing equipment is received.
In a possible implementation manner of the third aspect, the routing device further includes:
the mode control module is used for entering a workstation mode through a second preset mode before receiving a protocol message broadcasted by the electronic equipment in the workstation mode; wherein the second predetermined manner comprises: and the routing equipment receives a mode that a user clicks a target key to input a third trigger instruction and responds to the third trigger instruction.
In a possible implementation manner of the third aspect, the routing device further includes:
and the prompting module is used for sending out the prompting information in one or more modes of voice, popup display and light flashing after network configuration is carried out according to the network configuration information.
In a possible implementation manner of the third aspect, the mode control module is further configured to switch from a station mode to an access point mode after performing network configuration according to the network configuration information.
In a fourth aspect, a network configuration method is provided, which is applied to an electronic device, and includes: after the electronic equipment starts an access point mode, broadcasting a protocol message and access point information, wherein the protocol message comprises a target identification field and the access point information;
after receiving the information of successful communication connection fed back by the routing equipment, the electronic equipment receives network configuration information input by a user and sends the network configuration information to the routing equipment for network configuration; wherein the information of successful communication connection is fed back after the routing device establishes communication connection with the electronic device, and the condition for establishing communication connection between the routing device and the electronic device includes: the protocol message received by the routing equipment contains a target identification field, and access point information which is matched with the access point information in the protocol message and is consistent with the access point information in the protocol message exists in the access point information acquired by the routing equipment.
In a possible implementation manner of the fourth aspect, before the broadcasting protocol packet and the access point information, the method further includes:
the electronic equipment opens the hot spot in a first preset mode and enters the access point mode; wherein the first predetermined manner comprises: the method comprises the steps that the electronic equipment receives a mode that a user clicks a target control to input a first trigger instruction and responds to the first trigger instruction.
In a possible manner, the electronic device may receive an instruction for starting a personal hotspot input by a user through a network management APP, and may also be an instruction for starting a personal hotspot input in a personal hotspot interface in a setting application of the electronic device.
It should be understood that the network management APP is only an example, and besides, the process of opening the hotspot described in the present application may also be implemented by one or more other applications.
In a possible implementation manner of the fourth aspect, before the broadcasting protocol packet, the method further includes:
and after the electronic equipment starts the access point mode, receiving a second trigger instruction input by a user, and starting a distribution network guide in response to the second trigger instruction, wherein the distribution network guide is used for indicating to start broadcasting the protocol message.
For example, in order to reduce power consumption or occupancy rate of a processor memory caused by simultaneous broadcasting of a protocol packet and a hotspot name after an electronic device opens a hotspot, the electronic device may only broadcast access point information after entering an access point mode, in an application scenario in which the electronic device is in a wireless network that only provides a personal hotspot; when network configuration needs to be performed on the routing equipment, a distribution network guide is started after a second trigger instruction input by a user is received, wherein the distribution network guide can be used for indicating a broadcast protocol message.
In a possible implementation manner of the fourth aspect, after the electronic device receives the information that the communication connection is successful and is fed back by the routing device, the method further includes:
the electronic device displays a window for a user to input the network configuration information.
Illustratively, address information and a device serial code (of a routing device) for configuring the router may be displayed in the window, and the network configuration information may include contents corresponding to a "network account" and a "network password", respectively, and contents corresponding to a "wireless name" and a "wireless password", respectively.
For example, the electronic device may receive, in the upload setting area, contents corresponding to a "network account" and a "network password" input by the user, for example, "0755 × 123@163. com" corresponding to the "network account" and "ABCDEF" corresponding to the "network password"; the electronic device may further receive contents corresponding to the "wireless name" and the "wireless password" respectively input by the user in the routing setting area, for example, the "Xiaoming Home 123" corresponding to the "wireless name" and the "abcdef" corresponding to the "wireless password".
In a possible implementation manner of the fourth aspect, the communication connection is a connection made through any one of bluetooth, a short-range wireless communication technology, and a data network.
In a fifth aspect, a network configuration method is provided, which is applied to a routing device, and the method includes:
after receiving a protocol message broadcast by electronic equipment in a workstation mode, the routing equipment identifies the received protocol message, acquires access point information if the protocol message is identified to contain a preset target identification field, and matches the acquired access point information with the access point information in the protocol message;
if access point information which is matched with the access point information in the protocol message is consistent in the acquired access point information, the routing equipment establishes communication connection with the electronic equipment and feeds back information of successful communication connection to the electronic equipment;
and the routing equipment receives network configuration information sent by the electronic equipment and performs network configuration according to the network configuration information, wherein the network configuration information is sent by the electronic equipment after receiving the information of successful communication connection fed back by the routing equipment.
It should be noted that, the routing device is in a workstation mode, is in a passive receiving state, and can receive a protocol message and access point information broadcast by the electronic device; the possibility of malicious connection by other electronic equipment in the network configuration process is reduced, and the security of the network configuration of the routing equipment is improved.
In a possible implementation manner of the fifth aspect, before the routing device receives the protocol packet broadcast by the electronic device in the workstation mode, the method further includes:
the routing equipment enters the workstation mode through a second preset mode; wherein the second predetermined manner comprises: and the routing equipment receives a mode that a user clicks a target key to input a third trigger instruction and responds to the third trigger instruction.
For example, the second predetermined manner may also be a manner for inputting an instruction through a touch screen or a microphone and responding to the instruction; the instruction may be a touch instruction, for example, an instruction input by a user clicking or double clicking an operation mode control displayed on a display screen of the routing device; the instruction may also be a voice instruction, for example, a voice instruction that the routing device receives "path, switch to workstation mode or site mode" through a microphone.
In a possible implementation manner of the fifth aspect, after the network configuration is performed according to the network configuration information, the method further includes:
the routing equipment sends out prompt information for completing network configuration, and the mode for sending out the prompt information comprises one or more of voice, popup display and light flashing.
In a possible implementation manner of the fifth aspect, after the performing network configuration according to the network configuration information, the method further includes:
the routing device switches from station mode to access point mode.
For example, after completing the network configuration, the routing device may set information such as a network name, a network password, a wireless name, and a wireless password according to the network configuration information, and then directly switch from the current workstation mode to the access point mode, so that the ue may access the network by searching the wireless name of the routing device or by accessing the local network interface of the routing device in a wired manner.
In a sixth aspect, embodiments of the present application provide an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the method according to any one of the above fourth aspects is implemented.
In a seventh aspect, an embodiment of the present application provides a routing device, where the routing device includes a central processing unit, a wireless communication module, and a switch chip, where the wireless communication module is configured to perform wireless communication with an electronic device, the switch chip is configured to forward wireless communication data at a network layer, and the central processing unit is configured to process the wireless communication data, so as to implement the method according to any one of the above fifth aspects.
In an eighth aspect, embodiments of the present application provide a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the computer program implements the method according to any one of the fourth aspect or the fifth aspect.
In a ninth aspect, embodiments of the present application provide a chip system, where the chip system includes a processor, the processor is coupled with a memory, and the processor executes a computer program stored in the memory to implement the method according to any one of the fourth aspect and the fifth aspect. The chip system can be a single chip or a chip module consisting of a plurality of chips.
In a tenth aspect, embodiments of the present application provide a computer program product, which, when run on an electronic device, causes the electronic device to perform the method of any one of the fourth or fifth aspects.
Compared with the prior art, the embodiment of the application has the advantages that:
the network configuration system provided by the embodiment of the application comprises electronic equipment and router equipment, wherein the electronic equipment can be used for broadcasting protocol messages and access point information in an access point mode; the routing equipment can be used for receiving a protocol message and access point information broadcasted by the electronic equipment in a work station mode, and identifying the protocol message to obtain a target identification field and access point information in the protocol message; the routing equipment acquires access point information of the electronic equipment, and establishes communication connection with the electronic equipment after the acquired access point information is matched with the access point information in the protocol message, so that network configuration information input by a user can be acquired through the electronic equipment and network configuration is carried out; the routing equipment is in a workstation mode, and establishes communication connection with the matched electronic equipment after identifying the received protocol message; other electronic devices except the user electronic device cannot be connected to the routing device, so that the possibility that other electronic devices are maliciously connected and configured when the network of the routing device is configured is reduced, and the security of the network configuration of the routing device is improved.
It is to be understood that, for the beneficial effects of the second aspect to the tenth aspect, reference may be made to the relevant description in the first aspect, and details are not described herein again.
Drawings
FIG. 1 is a schematic diagram of an exemplary system architecture according to an embodiment of the present disclosure;
fig. 2 is an exemplary diagram of an interaction process between a mobile phone and a router according to an embodiment of the present disclosure;
FIG. 3-1 is a diagram illustrating an exemplary hardware architecture of an electronic device according to an embodiment of the present disclosure;
fig. 3-2 is a schematic diagram of a hardware architecture of an example routing device according to an embodiment of the present application;
FIG. 4 is a diagram illustrating an exemplary software architecture according to an embodiment of the present application;
fig. 5 is a flowchart illustrating an example of a network configuration method according to an embodiment of the present application;
FIG. 6-1 is a schematic diagram of a graphical user interface of an exemplary network configuration method according to an embodiment of the present disclosure;
fig. 6-2 is a schematic diagram of a graphical user interface of another network configuration method according to an embodiment of the present application.
Detailed Description
The following exemplarily introduces related contents and scenarios that may be related to the present application, and further, details the technical solution in the embodiment of the present application are described in detail with reference to the scenarios.
In the embodiment of the present application, the routing device may include, but is not limited to, a router, a modem, a wireless access point, and other devices, and the electronic device may include, but is not limited to, a notebook computer, a mobile phone, a tablet, a smart watch, and other devices. In the following description, a router is taken as an example of a routing device, and a mobile phone is taken as an example of an electronic device to describe the embodiments of the present application in detail.
(1) An Access Point (AP) mode refers to a working mode that can provide wireless or wired Access service, allow Access of devices, and provide data Access for devices.
(2) A Station (STA) mode refers to an operation mode in which a device does not accept access of the device but can be connected to the AP mode.
For a newly purchased or reset router, the network needs to be reconfigured to function as a gateway in a wired or wireless network. Generally, after the router is powered on and accesses an external network, the router enters an access point mode and can be used as a network access point of other electronic devices.
After the router enters the access point mode, wireless broadcast can be sent out; after receiving the wireless broadcast, the other electronic devices can establish local area network communication connection with the router without inputting passwords, and then perform network configuration on the router based on the local area network communication connection.
However, the above-mentioned router network configuration method does not require a password, and is easily maliciously connected by other electronic devices other than the user electronic device, and configures the router, so that there is a certain security risk in the network configuration. In addition, since all routers from the same manufacturer use the same Service Set Identifier (SSID), and a newly purchased router generally uses a default name from the factory, or the router returns to the default name after being reset, the consumer electronic device may search for a plurality of nearby routers with the same name, and the user may not determine which router to connect to, and may unintentionally connect to the wrong router.
In view of the foregoing application scenarios and possible situations, embodiments of the present application provide a network configuration method, which can avoid a situation that other electronic devices except the user electronic device perform malicious connection or the user does not determine which router is connected or a router may be connected in error when performing network configuration on a router, and improve security of network configuration and network access.
Fig. 1 is a schematic diagram of an example system architecture according to an embodiment of the present disclosure. The embodiment of the application can be applied to the system architecture shown in fig. 1. The system architecture may include an electronic device and a routing device. The electronic device may be a mobile phone, a tablet computer, an intelligent watch, a notebook computer, or the like, and the type of the electronic device is not limited in the embodiments of the present application. The routing device may be a router, a modem, a wireless access point, and the like, and the embodiment of the present application does not limit the type of the routing device.
As shown in fig. 1, in the embodiment of the present application, an electronic device takes a mobile phone 10 as an example, and a routing device takes a router 20 as an example, which is described.
In the embodiment of the present application, the re-positioned or newly purchased router 20 is in the station mode and the handset 10 is in the access point mode before establishing a communication connection with the handset 10. The router 20 establishes a communication connection with the handset 10 based on the mode in which the two are operating.
As shown in fig. 1, the interaction process between the handset 10 and the router 20 may include:
101, the router 20 receives the information broadcast by the handset 10. The broadcasted information may include a protocol message, access point information of the mobile phone 10 (the access point information may include a hotspot name of a personal hotspot of the mobile phone 10).
The router 20 establishes 102 a connection with the handset 10 and the router 20 feeds back messages to the handset 10. The message fed back may include information informing the handset of the successful connection.
Illustratively, when the handset 10 is in the access point mode, the protocol message and the access point information may be periodically broadcast; when the router 20 is in the workstation mode, the protocol packet and the access point information broadcast by the mobile phone 10 may be received, after the protocol packet is identified to include the preset consistent target identification field, the access point information broadcast by the mobile phone 10 may be obtained, and the obtained access point information and the access point information in the protocol packet are matched, if the matching is successful (the two are the same), the router 20 establishes a communication connection with the mobile phone 10.
The access point information broadcasted by the mobile phone 10 and acquired by the router 20 may be access point information received before the protocol packet is identified and stored in the router 20, or access point information received when or after the target identification field is identified.
Illustratively, the communication connection may be a channel determined by the router 20 and the handset 10 for data transmission, for example, a transmission channel based on near field communication, bluetooth communication, wireless lan communication, or low power lan protocol communication, and is not limited in particular.
Since the reset or newly purchased router 20 does not broadcast its own wireless connection information when it is in the workstation mode, other electronic devices other than the ue cannot search for and connect to the router 20, so as to avoid malicious connection when configuring the network of the router 20.
Illustratively, after the handset 10 establishes a communication connection with the router 20, the handset 10 may send network configuration information to the router 20. The router 20 receives the network configuration information and performs network configuration according to the network configuration information; the network configuration information may include a network name, a network password, a wireless name, a wireless password, and the like; and informs the mobile phone 10 of completing the network configuration after the network configuration is completed; the router 20 switches from the station mode to the access point mode; so that the handset 10 can access the network through the router 20.
Fig. 2 is a diagram illustrating an example of an interaction process between a mobile phone and a router according to an embodiment of the present application. Taking the mobile phone 10 and the router 20 as examples, the network configuration method provided in the embodiment of the present application is exemplarily described with reference to the drawings.
As shown in fig. 2, the process of interaction between the handset 10 and the router 20 may include:
and 201, the mobile phone starts a hotspot and enters an Access Point mode.
202, the handset broadcasts a protocol packet containing a special identification field (e.g., connection) and access point information and broadcasts access point information containing a hot spot name in a special format.
The mobile phone 10 starts a hotspot in a predetermined manner, enters an Access Point (AP) mode, and periodically broadcasts information such as a protocol message. For example, the predetermined mode may be a mode in which the user clicks the switch control input of the personal hotspot interface of the mobile phone 10. The protocol packet may include a target identification field, which is a special identification field that is consistent with the preset identifier of the router 20, such as a "connection" field. The protocol packet may further include access point information, where the access point information may include a hotspot name of a special format of a personal hotspot of the mobile phone 10; the user can customize and set a special format of the hotspot name, such as 'Xiaoming Mobile phone'; the hotspot name may include letters, symbols, numbers, and the like, and is not limited in this respect. After the mobile phone 10 starts the hotspot, the access point information including the hotspot name in the special format may also be periodically broadcast, where the hotspot name in the special format is a network name of a personal hotspot of the mobile phone 10.
And 203, the router receives the long press instruction and enters a workstation Station mode (in a passive receiving state).
The router parses the received protocol packet to obtain the special identification field (e.g., connection) and the access point information 204.
205, acquiring a hotspot name in a special format in the access point information, and matching the hotspot name with a hotspot name in the access point information in the protocol message; if the matching is constant, the router establishes communication connection with the mobile phone.
And 206, the router sends feedback information of successful connection to the mobile phone.
The router 20 may enter the workstation Station mode in another predetermined manner. Illustratively, the other predetermined manner may be a manner in which the user inputs a long-press instruction by pressing a destination key on the router 20 for 3 seconds, and the router 20 enters the workstation mode in response to the long-press instruction. The router 20 may receive the protocol messages broadcast by the handset 10 in the workstation mode. After receiving the protocol message, the router 20 may parse the protocol message; if the target identification field in the analyzed protocol message is a preset and consistent special identification field (e.g., connection), access point information (including a hot spot name in a special format) broadcasted by the mobile phone 10 is acquired, where the acquired access point information may be received and stored in the router 20 before the protocol message is identified, or may be access point information broadcasted by the mobile phone 10 and received after the target identification field is identified.
It should be noted that, after entering the access point mode, the mobile phone 10 may also periodically broadcast access point information including its own hotspot name, in addition to broadcasting the protocol packet.
Illustratively, the router 20 triggers and acquires access point information of a broadcast of the mobile phone 10, which includes a hotspot name in a special format, based on a target identification field in the protocol packet, and performs an operation of matching the hotspot name in the special format with a hotspot name analyzed from the protocol packet; if the two are matched, the router 20 establishes communication connection with the mobile phone 10, and the router 20 sends feedback information of successful communication connection to the mobile phone 10.
207, the handset receives the network configuration information input by the user.
208, the handset sends network configuration information to the router.
And 209, the router performs network configuration according to the network configuration information.
And 210, the router sends the configured feedback information to the mobile phone.
And 211, after the router configuration is completed, prompting by flashing an indicator light, and switching from the workstation mode to the access point mode.
212, the handset displays the interface with the configuration completed.
Illustratively, after the handset 10 receives the feedback information of successful communication connection sent by the router 20, a window may be displayed, and the window may be used for the user to input the network configuration information. The handset 10 may also obtain address information for configuring the router based on the communication connection.
The mobile phone 10 receives the network configuration information input by the user, and sends the network configuration information to the router 20 according to the address information of the configured router; router 20, upon receiving the network configuration information, sets information such as a network account, a network password, a wireless name, and a wireless password. After the configuration of the router 20 is completed, the configured feedback information is sent to the mobile phone, the distribution network is prompted to be completed by controlling the flashing of the indicator light, and then the current workstation mode is switched to the access Point mode. After receiving the feedback information of configuration completion sent by the router 20, the mobile phone 10 displays the interface of configuration completion. Handset 10 may also access the network through router 20 by searching for the wireless name (i.e., Wi-Fi name) of router 20, or by accessing the local network interface of router 20 by wired means.
In the embodiment of the application, the mobile phone 10 sends the protocol message, and the router 20 identifies the target identification field in the protocol message, and acquires the hotspot name of the mobile phone broadcast and matches the hotspot name based on the triggering of the target identification field, so that the situation that the router is unintentionally and incorrectly connected can be effectively avoided. Meanwhile, because the router 20 is in the workstation mode, malicious connection of other electronic devices can be avoided, and the security of the router network configuration is improved.
Fig. 3-1 is a schematic diagram of a hardware architecture of an electronic device according to an embodiment of the present disclosure.
Fig. 3-2 is a schematic diagram of a hardware architecture of an example routing device according to an embodiment of the present disclosure.
In one possible case, the electronic device and the routing device may have a hardware structure of a part or all as shown in fig. 3-1 and fig. 3-2, respectively. It should be understood that, taking the mobile phone 10 as an example of the electronic device and the router 20 as an example of the routing device, before describing the network configuration method provided in the embodiment of the present application, the possible hardware structures of the mobile phone 10 and the router 20 are described.
As shown in fig. 3-1, the mobile phone 10 may include a processor 110, an external storage interface 120, an internal memory 121, a Universal Serial Bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display 194, a Subscriber Identity Module (SIM) card interface 195, and the like. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
It is to be understood that the illustrated structure of the embodiment of the present application does not specifically limit the mobile phone 10. In other embodiments of the present application, the handset 10 may include more or fewer components than shown, or some components may be combined, some components may be separated, or a different arrangement of components may be used. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 110 may include one or more processing units, such as: the processor 110 may include an Application Processor (AP), a modem processor, a Graphics Processor (GPU), an Image Signal Processor (ISP), a controller, a memory, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processing Unit (NPU), among others. The different processing units may be separate devices or may be integrated into one or more processors.
The controller may be, among other things, the neural center and command center of the handset 10. The controller can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of instruction fetching and instruction execution.
A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to use the instruction or data again, it can be called directly from the memory. Avoiding repeated accesses reduces the latency of the processor 110, thereby increasing the efficiency of the system.
In some embodiments, processor 110 may include one or more interfaces. The interface may include an integrated circuit (I2C) interface, an integrated circuit built-in audio (I2S) interface, a Pulse Code Modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a Mobile Industry Processor Interface (MIPI), a general-purpose input/output (GPIO) interface, a Subscriber Identity Module (SIM) interface, and/or a Universal Serial Bus (USB) interface, etc.
The I2C interface is a bi-directional synchronous serial bus that includes a serial data line (SDA) and a Serial Clock Line (SCL). In some embodiments, processor 110 may include multiple sets of I2C buses. The processor 110 may be coupled to the touch sensor 180K, charger, flash, camera 193, etc. through different I2C bus interfaces, respectively. For example: the processor 110 may be coupled to the touch sensor 180K through an I2C interface, such that the processor 110 and the touch sensor 180K communicate through an I2C bus interface to implement the touch function of the mobile phone 10.
The I2S interface may be used for audio communication. In some embodiments, processor 110 may include multiple sets of I2S buses. The processor 110 may be coupled to the audio module 170 via an I2S bus to enable communication between the processor 110 and the audio module 170. The PCM interface may also be used for audio communication, sampling, quantizing and encoding analog signals. The UART interface is a universal serial data bus used for asynchronous communications. The bus may be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, a UART interface is generally used to connect the processor 110 and the wireless communication module 160. For example: the processor 110 communicates with a bluetooth module in the wireless communication module 160 through a UART interface to implement a bluetooth function. MIPI interfaces may be used to connect processor 110 with peripheral devices such as display screen 194, camera 193, and the like. The MIPI interface includes a Camera Serial Interface (CSI), a Display Serial Interface (DSI), and the like. The processor 110 and the display screen 194 communicate via a DSI interface to implement the display function of the mobile phone 10. The GPIO interface may be configured by software. The GPIO interface may be configured as a control signal and may also be configured as a data signal. In some embodiments, a GPIO interface may be used to connect the processor 110 with the camera 193, the display 194, the wireless communication module 160, the audio module 170, the sensor module 180, and the like. The GPIO interface may also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, and the like.
The USB interface 130 is an interface conforming to the USB standard specification, and may be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 130 may be used to connect a charger to charge the mobile phone 10, and may also be used to transmit data between the mobile phone 10 and peripheral devices. And the earphone can also be used for connecting an earphone and playing audio through the earphone. The interface may also be used to connect other electronic devices, such as AR devices and the like.
It should be understood that the connection relationship between the modules illustrated in the embodiment of the present application is only an exemplary illustration, and does not limit the structure of the mobile phone 10. In other embodiments of the present application, the mobile phone 10 may also adopt different interface connection manners or a combination of multiple interface connection manners in the above embodiments.
The charging management module 140 is configured to receive charging input from a charger. The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charging management module 140, and provides power to the processor 110, the internal memory 121, the external memory, the display 194, the camera 193, the wireless communication module 160, and the like. The power management module 141 may also be used to monitor parameters such as battery capacity, battery cycle count, battery state of health (leakage, impedance), etc. In other embodiments, the power management module 141 may be disposed in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may also be disposed in the same device.
The wireless communication function of the mobile phone 10 can be realized by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor, the baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the handset 10 may be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution for wireless communication including 2G/3G/4G/5G, etc. applied to the mobile phone 10. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a Low Noise Amplifier (LNA), and the like. The mobile communication module 150 may receive the electromagnetic wave from the antenna 1, filter, amplify, etc. the received electromagnetic wave, and transmit the electromagnetic wave to the modem processor for demodulation. The mobile communication module 150 may also amplify the signal modulated by the modem processor, and convert the signal into electromagnetic wave through the antenna 1 to radiate the electromagnetic wave. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the same device as at least some of the modules of the processor 110.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating a low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then passes the demodulated low frequency baseband signal to a baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.) or displays an image or video through the display screen 194. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be provided in the same device as the mobile communication module 150 or other functional modules, independent of the processor 110.
The wireless communication module 160 may provide solutions for wireless communication applied to the mobile phone 10, including Wireless Local Area Networks (WLANs) (e.g., wireless fidelity (Wi-Fi) networks), Bluetooth (BT), Global Navigation Satellite System (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), Infrared (IR), and the like. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering on electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, perform frequency modulation and amplification on the signal, and convert the signal into electromagnetic waves via the antenna 2 to radiate the electromagnetic waves.
In this embodiment, the mobile phone 10 may enter the access point mode after receiving the touch signal, so that the wireless module may receive a signal to be broadcasted or transmitted from the processor 110, for example, a protocol message or a beacon frame is broadcasted through the wireless communication module 160.
In some embodiments, the antenna 1 of the handset 10 is coupled to the mobile communication module 150 and the antenna 2 is coupled to the wireless communication module 160 so that the handset 10 can communicate with networks and other devices through wireless communication techniques. The wireless communication technology may include global system for mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (long term evolution, LTE), BT, GNSS, WLAN, NFC, FM, and/or IR technologies, etc. The GNSS may include a Global Positioning System (GPS), a global navigation satellite system (GLONASS), a beidou satellite navigation system (BDS), a quasi-zenith satellite system (QZSS), and/or a Satellite Based Augmentation System (SBAS).
The mobile phone 10 implements display functions through the GPU, the display screen 194, and the application processor. The GPU is a microprocessor for image processing, connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
The display screen 194 is used to display images, video, and the like. The display screen 194 includes a display panel. The display panel may adopt a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (active-matrix organic light-emitting diode, AMOLED), a flexible light-emitting diode (FLED), a miniature, a Micro-oeld, a quantum dot light-emitting diode (QLED), and the like. In some embodiments, the cell phone 10 may include 1 or N display screens 194, with N being a positive integer greater than 1.
The handset 10 may implement the camera functions via the ISP, camera 193, video codec, GPU, display 194, and application processor, etc.
The ISP is used to process the data fed back by the camera 193. For example, when a photo is taken, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converting into an image visible to naked eyes. The ISP can also carry out algorithm optimization on noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be provided in camera 193.
The camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image to the photosensitive element. The photosensitive element may be a Charge Coupled Device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The light sensing element converts the optical signal into an electrical signal, which is then passed to the ISP where it is converted into a digital image signal. And the ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV and other formats. In some embodiments, the handset 10 may include 1 or N cameras 193, N being a positive integer greater than 1.
The digital signal processor is used for processing digital signals, and can process digital image signals and other digital signals. For example, when the handset 10 is in frequency bin selection, the digital signal processor is used to perform fourier transform or the like on the frequency bin energy.
Video codecs are used to compress or decompress digital video. Handset 10 may support one or more video codecs. Thus, the handset 10 can play or record video in a variety of encoding formats, such as: moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, and the like.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to extend the memory capability of the mobile phone 10. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music, video, etc. are saved in the external memory card.
The internal memory 121 may be used to store computer-executable program code, which includes instructions. The processor 110 executes various functional applications of the handset 10 and data processing by executing instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. The storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like. The data storage area may store data created during use of the handset 10 (e.g., audio data, a phone book, etc.), etc. In addition, the internal memory 121 may include a high speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, a Universal Flash Storage (UFS), and the like.
The handset 10 may implement audio functions via the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor. Such as music playing, recording, etc.
The audio module 170 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. The speaker 170A, also called a "horn", is used to convert the audio electrical signal into a sound signal. The cellular phone 10 can listen to music through the speaker 170A or listen to a hands-free conversation. The receiver 170B, also called "earpiece", is used to convert the electrical audio signal into a sound signal. When the cellular phone 10 receives a call or voice information, it is possible to receive voice by placing the receiver 170B close to the human ear. The microphone 170C, also referred to as a "microphone," is used to convert sound signals into electrical signals. When making a call or sending voice information, the user can input a voice signal into the microphone 170C by uttering a voice signal by the mouth of the user near the microphone 170C. The handset 10 may be provided with at least one microphone 170C. In other embodiments, the mobile phone 10 may be provided with two microphones 170C to achieve a noise reduction function in addition to collecting sound signals. In other embodiments, the mobile phone 10 may further include three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, and implement directional recording functions.
The earphone interface 170D is used to connect a wired earphone. The headset interface 170D may be the USB interface 130, or may be a 3.5mm open mobile electronic device platform (OMTP) standard interface, a cellular telecommunications industry association (cellular telecommunications industry association) standard interface of the USA.
The pressure sensor 180A is used for sensing a pressure signal, and can convert the pressure signal into an electrical signal. The gyro sensor 180B may be used to determine the motion attitude of the handset 10. The air pressure sensor 180C is used to measure air pressure. In some embodiments, the handset 10 calculates altitude from the barometric pressure measured by the barometric pressure sensor 180C to assist in positioning and navigation. The magnetic sensor 180D includes a hall sensor. The acceleration sensor 180E can detect the magnitude of acceleration of the cellular phone 10 in various directions (typically three axes). A distance sensor 180F for measuring a distance. The handset 10 may measure distance by infrared or laser. The proximity light sensor 180G may include, for example, a Light Emitting Diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The ambient light sensor 180L is used to sense ambient light brightness. The handset 10 may adaptively adjust the brightness of the display 194 based on the perceived ambient light level. The temperature sensor 180J is used to detect temperature. In some embodiments, the handset 10 implements a temperature processing strategy using the temperature detected by the temperature sensor 180J.
The fingerprint sensor 180H is used to collect a fingerprint. The mobile phone 10 can utilize the collected fingerprint characteristics to unlock the fingerprint, access the application lock, take a picture of the fingerprint, answer an incoming call with the fingerprint, and the like. The touch sensor 180K is also referred to as a "touch panel". The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen". The touch sensor 180K is used to detect a touch operation acting thereon or nearby. The touch sensor may communicate the detected touch operation to the application processor to determine the touch event type. Visual output associated with the touch operation may be provided via the display screen 194. The bone conduction sensor 180M can acquire a vibration signal.
The keys 190 include a power-on key, a volume key, and the like. The keys 190 may be mechanical keys. Or may be touch keys. The handset 10 may receive key inputs to generate key signal inputs relating to user settings and function controls of the handset 10.
The motor 191 may generate a vibration cue. The motor 191 may be used for incoming call vibration cues, as well as for touch vibration feedback. For example, touch operations applied to different applications (e.g., photographing, audio playing, etc.) may correspond to different vibration feedback effects. The motor 191 may also respond to different vibration feedback effects for touch operations applied to different areas of the display screen 194. Different application scenes (such as time reminding, receiving information, alarm clock, game and the like) can also correspond to different vibration feedback effects. The touch vibration feedback effect may also support customization.
Indicator 192 may be an indicator light that may be used to indicate a state of charge, a change in charge, or a message, missed call, notification, etc.
The SIM card interface 195 is used to connect a SIM card. The SIM card can be attached to and detached from the mobile phone 10 by being inserted into the SIM card interface 195 or being pulled out of the SIM card interface 195. The handset 10 may support 1 or N SIM card interfaces, N being a positive integer greater than 1. The SIM card interface 195 may support a Nano SIM card, a Micro SIM card, a SIM card, etc. The same SIM card interface 195 can be inserted with multiple cards at the same time. The types of the plurality of cards can be the same or different. The SIM card interface 195 is also compatible with different types of SIM cards. The SIM card interface 195 is also compatible with external memory cards. The mobile phone 10 interacts with the network through the SIM card to implement functions such as communication and data communication. In some embodiments, the handset 10 employs esims, namely: an embedded SIM card. The eSIM card can be embedded in the mobile phone 10 and cannot be separated from the mobile phone 10.
It should be understood that, the electronic device, taking the mobile phone 10 as an example, may include all the hardware structures described above, or include some of the hardware structures above, or have more other hardware structures not listed above, and the embodiment of the present application is not limited thereto.
Such as the hardware architecture of router 20 shown in fig. 3-2. The router 20, which is an example of a general router, may include a central processing unit 210, a switch chip 211, a wireless communication module 212, a wide area network interface 213, a local network interface 214, a power supply 215, an indicator light 216 (which may be plural, for example, 1-N, where N is an integer greater than 1), a display screen 217, a key 218, a debug interface 219, a USB interface 220, a flash memory 221, a memory 222, a data channel 223, and a management channel 224.
The central processing unit 210 may be a multi-core network processor, is mainly responsible for configuration management of a router and forwarding of a data packet, has a strong parallel processing capability, and can support processing such as parsing, storing, and forwarding of a network protocol packet. The switch chip 211 may support forwarding of protocol packets at a network layer; router 20 may also include a plurality of chips forming a switch matrix network. The data channel 223 between the central processing unit 210 and the switch chip 211 may be connected by a 10G channel interface, and may support transmission of a large amount of data; the management channels may be connected via a peripheral component interconnect express (PCIe) bus for transmitting control signals.
The wireless communication module 212 may support a 2.4G or 5G network signal rate. The wan interface 213 is used for connecting to an external network, and can support the adaptive transmission rate of fast ethernet or gigabit ethernet; the local network interface 214 may be used to connect to internal networks and may also support adaptive transmission rates for fast ethernet or gigabit ethernet.
Additionally, a router may include a wide area network interface 312 and a plurality of local network interfaces 214 (e.g., 1-M, M being a total greater than 1).
Flash memory 221 may store an operating system for router 20. Memory 222 may store program data.
It should be understood that the router 20 may include all the hardware structures described above, or include some of the hardware structures described above, or have more other hardware structures not listed above, and the embodiments of the present application are not limited thereto.
It should also be understood that the software systems of the electronic device and the routing device may employ a hierarchical architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. The embodiment of the present application takes a system with a layered architecture as an example, and takes the handset 10 and the router 20 as an example, to illustrate the software structures of the handset 10 and the router 20.
While the above describes the hardware structure that the mobile phone 10 and the router 20 may have, the following description will take the layered architecture system that the mobile phone 10 and the router 20 have as an example.
Fig. 4 is a schematic diagram of an example software architecture according to an embodiment of the present application. The layered architecture divides the software into several layers, each layer having a clear role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the android of the handset 10 is used
Figure BDA0003101390280000151
The system is divided into four layers, namely an application program layer, an application program framework layer, a kernel layer, a network transmission layer and the like from top to bottom.
The application layer may include a series of application packages.
As shown in fig. 4 (a), the application layer of the mobile phone 10 may include Applications (APPs) such as camera, calendar, settings, WLAN, gallery, bluetooth, and network management. For example, a network management application may configure a network of routers.
The application framework layer provides an Application Programming Interface (API) and a programming framework for the application program of the application layer. The application framework layer may include some predefined functions.
The application framework layers of the handset 10 may include a window manager, a content provider, a data authorization management module, a notification manager, a view system, and a communication management module, among others.
Among other things, the data authorization management module may be used to manage the data rights that the handset 10 may access by the router. The communication management module may be configured to control communication with the router 20, for example, the communication management module controls the mobile phone 10 to establish a bluetooth channel or a wireless lan channel through a bluetooth module or a wireless module of a network transport layer, so as to implement communication with the router 20. The view system includes visual controls such as controls to display text, controls to display pictures, and the like.
The view system may be used to build applications. The display interface may be composed of one or more views. For example, the display interface including the short message notification icon may include a view for displaying text and a view for displaying pictures. The notification manager allows applications to display notification information in a status bar that can be used to convey notification-type messages to the user that can disappear automatically after a short dwell, without user interaction. For example, the notification manager notifies the user of successful connection or configuration completion, and performs corresponding message reminding. The notification manager may also be a notification that appears in the form of a chart or scroll bar text on the top status bar of the system, or a notification that appears on the screen in the form of a dialog window.
The kernel layer is a layer between hardware and software.
The core layer of the mobile phone 10 at least includes a display driver, a wireless transmission driver, a task scheduling module, a baseband chip driver, a sensor driver, and the like.
The network transport layer may be used for communication, data transmission, and the like between different devices, for example, a bluetooth module, establishes a bluetooth channel between the mobile phone 10 and the router 20, and transmits data, messages, instructions, and the like through the bluetooth channel, which is not described herein again.
As shown in fig. 4 (b), router 20 may include at least an application layer, a control layer, and a communication layer. Where the communication layer is used to enable communication with the handset 10. The control layer is used for processing or analyzing data. The application layer may contain a series of application packages for implementing network configuration, data forwarding, etc. functions of the router.
While the above describes software functional modules that the handset 10 and the router 20 may include, it should be understood that the handset 10 and the router 20 may include more or less software functional modules than those shown in (a) and (b) of fig. 4, and the embodiments of the present application are not limited thereto.
Fig. 5 is a flowchart illustrating a network configuration method according to an embodiment of the present application. In the flowchart, the electronic device is exemplified by the mobile phone 10, and the routing device is exemplified by the router 20. As shown in fig. 5, the method flow may include the following steps:
step S501, the mobile phone starts a hotspot in a first preset mode and enters an access point mode.
Wherein, the first predetermined mode comprises: the mobile phone receives a mode that a user clicks the target control to input a first trigger instruction and responds to the first trigger instruction. For example, the mobile phone 10 receives a first trigger instruction input by the user, and starts the access point mode in response to the first trigger instruction. The target control can be a switch control of a personal hotspot of the mobile phone, and can also be a personal hotspot icon control in a shortcut menu.
Fig. 6-1 and fig. 6-2 are schematic diagrams of a Graphical User Interface (GUI) of a network configuration method according to an embodiment of the present application.
For example, fig. 6-1 (a) illustrates that the screen display system of the mobile phone displays currently output interface content 601 when the mobile phone is in the unlocked state, and the interface content 601 is the main interface of the mobile phone. The interface content 601 shows a variety of applications such as gallery, settings, music and network management, etc. It should be understood that the interface contents 601 may also include other more applications, which are not limited in this application.
As shown in fig. 6-1 (a), on the main interface 601 of the mobile phone 10, the user clicks the network management APP, and in response to the click operation, the mobile phone 10 enters the network management interface. As shown in (b) of fig. 6-1, the interface 602 may include different functional areas and menus, etc. on the interface 602, for example, the menu area may include the main menu category of the network management application: the user can click the different main menus to display different contents, and can execute different operations or view different contents through each menu option, and the functions of each area are not described again in this embodiment of the application. In addition, the current user can be displayed in a logged-in state or a logged-in state on the network management interface, and the user head portrait, the user name and other contents can be displayed in the user logged-in state.
As an operation shown in (b) of fig. 6-1, the user clicks the "network configuration" menu of the function menu area, and in response to the user's clicking operation, the interface 603 is displayed. On the interface 603, a personal hotspot region 603-1 positioned above the screen and a distribution network guide region 603-2 positioned below the screen are divided by dotted lines in the figure.
Exemplarily, the personal hotspot area 603-1 comprises a hotspot switch, a network name, a password and the like; for example, the network name "AAA" is a hotspot name or device name of the mobile phone 10, and the password is a password of a hotspot network accessing the mobile phone 10; and aiming at the network name and the password, the mobile phone end user can set the network name and the password by himself.
The network name of the personal hotspot is a Service Set Identifier (SSID) unique to the electronic device, and the SSID is used as an Identifier of a wireless local area network of the electronic device, and each device may be different from another device, or may be changed by a user.
For example, the first trigger instruction may be an instruction generated by clicking a switch control on a personal hotspot interface in the mobile phone setting or on a personal hotspot interface corresponding to a network configuration option of the network management APP by a user, or clicking a personal hotspot icon control in a pull-down shortcut menu of the mobile phone. As shown in (c) of fig. 6-1, on a network configuration interface of the network management APP, a user clicks a personal hotspot switch control, and the mobile phone opens a hotspot in response to the click action, and enters an access point mode.
It should be noted that, the mobile phone may respond to a trigger instruction for opening a personal hotspot input by a user at a personal hotspot interface in the setting, may also respond to a trigger instruction for opening a personal hotspot input by a user at a personal hotspot interface in an Application (APP) capable of performing network configuration, and may also respond to a trigger instruction for opening a personal hotspot at a personal hotspot icon in a pull-down shortcut menu of the mobile phone; the mobile phone may also enter the access point mode through other predetermined manners, which are not limited herein.
As shown in operation 1 in fig. 6-1 (c), the user clicks the switch of the personal hotspot (set to an on state), and in response to the user's clicking operation, the hotspot is turned on, and the mobile phone 10 is set to the access point mode.
In addition, a reminder for accessing the mobile phone network can be further included below the network name and the password: "you turn it on in the" personal hotspot "setting or in the" control center "(in the shortcut menu), allowing other users or devices to find your shared network" AAA ". "; that is, in addition to opening the personal hotspot in the network management APP, a personal hotspot interface in the setting of the mobile phone may also receive a trigger instruction for opening the personal hotspot input by the user, or a control center of a shortcut menu may also receive a trigger instruction for opening the personal hotspot input by the user, and after the hotspot is opened, other users or devices are allowed to search for a hotspot name "AAA" of the shared network of the mobile phone.
Step S502, the router enters the workstation mode through a second preset mode.
Wherein the second predetermined manner comprises: and the router receives a mode that a user clicks a target key to input a third trigger instruction and responds to the third trigger instruction. For example, router 20 receives a third trigger command input by the user, and enters the workstation mode in response to the third trigger command.
For example, the third trigger instruction may be an instruction input by the user after the user clicks the target key for a preset time period, for example, the preset time period may be 3 seconds. As shown in (d) of fig. 6-1, the third trigger instruction may be an instruction input by the user by pressing the 3-second target key for a long time.
Illustratively, the third trigger instruction may also include an instruction input by a user through a touch screen, a microphone, or the like. For example, an instruction input by a user double-clicking an operation mode control displayed on the display screen of the router 20, or a voice switching instruction received by a microphone, etc. (e.g., "take a business, switch to a workstation mode or a site mode"); the router 20 switches the operation mode to the station mode in response to the third trigger instruction.
It should be noted that the second predetermined manner for making the router enter the workstation mode is not limited to the above-described manner, and may also include other predetermined manners, such as a remote control manner; and is not particularly limited herein.
It will be appreciated that for newly purchased routers, the workstation mode may be entered directly after power-up and plugging-in of an external wired network connection, with the second predetermined mode being implemented immediately. After the router is powered on and plugged with an external wired network connector, the router can directly enter an access point mode under the condition of no external trigger or presetting, or the router after being reset can also be in the access point mode; in the above access point mode, the router may enter the access point mode by implementing a second predetermined manner (e.g., receiving a third trigger instruction).
In addition, router 20, by implementing a second predetermined mode, may override all previous configuration information and disconnect all connections before entering the workstation mode.
After the router 20 is powered on, the indicator lamp 1 is turned on (the indicator lamp 1 is a power indicator lamp).
According to the embodiment of the application, the router 20 enters the workstation mode, so that the possibility of malicious connection or configuration of other electronic equipment except the user electronic equipment is reduced, and the network configuration and network access security of the router is improved.
Step S503, the mobile phone broadcasts the protocol message and the access point information.
Exemplarily, after the mobile phone starts the access point mode, the mobile phone broadcasts a protocol message and access point information; the protocol message comprises a target identification field and access point information.
For example, the handset 10 may transmit the broadcast frame periodically in the access point mode, for example, once every 100 ms; the broadcast frame may be a protocol packet and/or access point information. The protocol packet may be a data packet based on the bluetooth protocol, which may have a specific data format. The access point information may include the hotspot name of the personal hotspot of the handset 10.
Illustratively, a data packet may include a header portion and a data portion; the header portion may include a type descriptor and a data size descriptor for two portions constituting the data packet; the length of the data portion may be determined by the data size descriptor. The type descriptor and the data size descriptor may occupy a data bit of a preset size, respectively.
For example, a target identification field, such as "connection", may be included in the protocol packet; the destination identification field may be located in the data portion of the data packet. The protocol packet may further include access point information of the mobile phone, for example, a hotspot name of a personal hotspot of the mobile phone, for example, "AAA", and the network name may also be included in the data portion of the data packet.
The target identification field may be a special identification field predetermined by the mobile phone 10 and the router 20, and the special identification field is not limited to the type of characters and may be a field containing characters, letters, numbers, symbols and the like. The access point information may include a network name of a personal hotspot of the mobile phone 10, and may be a field in a special format set by the user, for example, the parsed access point information may include a network name "AAA".
It should be appreciated that when the handset 10 is in the ap mode, the protocol message and the ap information may be periodically broadcast by different threads, respectively. For example, after the mobile phone 10 starts a personal hotspot, a data packet (i.e., a protocol packet) based on the bluetooth protocol is broadcast through a first thread, and access point information is broadcast in the form of a beacon frame (beacon frame) through a second thread. The two threads may be broadcasts sent by the same wireless module, or broadcasts sent by different wireless modules.
Illustratively, the handset 10 may also broadcast different types of data via different frequency physical channels and based on the bluetooth low energy protocol, for example, protocol messages and beacon frames may also be broadcast via different physical channels.
For example, after the processor of the mobile phone 10 detects that the personal hotspot of the mobile phone 10 is opened and is in the access point mode, the processor of the mobile phone 10 may send an instruction to the wireless module (for example, a bluetooth module) to notify the wireless module of sending a protocol message or access point information; the wireless module may send out different broadcasts through different threads, such as sending out protocol messages and access point information.
In some embodiments, the mobile phone may turn on the broadcast protocol message and the access point information after the access point mode is initiated.
On the interface 603 shown in fig. 6-1 (c), the region 603-2 may not be included. As shown in operation 1 in fig. 6-1 (c), the user clicks the switch of the personal hotspot (put in an on state), the mobile phone 10 responds to the user's click operation to open the hotspot, and the mobile phone 10 enters an access point mode to start to periodically broadcast access point information and a protocol message.
In some other embodiments, before broadcasting the protocol packet, the method further includes: and after the access point mode is started, the mobile phone receives a second trigger instruction input by a user, and responds to the second trigger instruction to start a distribution network guide, wherein the distribution network guide is used for indicating the start of broadcasting the protocol message.
Illustratively, the handset 10, as a general state, broadcasts only the access point information and does not start broadcasting the protocol message after the access point mode is activated. And after the mobile phone receives the second trigger instruction, starting to broadcast the protocol message.
The distribution network guide may be a control on the personal hotspot interface of the mobile phone 10; the second trigger instruction can be an instruction input by clicking the control by the user; after detecting the operation of clicking the control by the user, the processor of the mobile phone 10 responds to the click operation, sends an instruction to the wireless module, and the wireless module starts to broadcast the protocol message.
On the interface 603 shown in fig. 6-1 (c), an area 603-2 may be further included, and on the area 603-2, a control or an icon of the distribution network guide may be included. For an application scenario of a wireless network in which the mobile phone 10 only provides a personal hotspot, in order to reduce power consumption or occupancy rate of a processor memory caused by broadcasting a protocol message and access point information at the same time after the mobile phone 10 opens the personal hotspot, after a user executes operation 1 on an interface 603 shown in (c) in fig. 6-1, the user opens the personal hotspot in response to a click operation of the operation 1, and may only periodically broadcast the access point information; then, after the user continues to perform operation 2 in the area 603-2 on the interface 603, the protocol packet is periodically broadcasted again in response to the click operation of operation 2.
It should be noted that the interface 603 shown in fig. 6-1 (c) may be an interface that the mobile phone 10 enters in response to the user clicking a function menu in an application program (for example, the network management APP shown in the interface 601 shown in fig. 6-1 (a)); or may be a control center at a "setup" application (e.g., on interface 601) or notification interface, the handset 10 enters in response to the user clicking on the personal hotspot menu. The logic that the mobile phone 10 may periodically broadcast the protocol packet including the target identification field may be the setting of the application layer of the software architecture of the mobile phone 10, and does not need to change the framework layer. Therefore, the logic of the broadcast protocol message can be implemented by a separate software APP (e.g., a network management APP shown in an interface 601 shown in (a) of fig. 6-1) or in an application of a personal hotspot set by the mobile phone.
Step S504, the router identifies the received protocol message to obtain the target identification field in the protocol message.
Step S505, the router acquires the access point information, and matches the acquired access point information with the access point information in the protocol message.
Step S506, if the matching is consistent, the router establishes communication connection with the mobile phone.
Step S507, the router feeds back the information of successful connection to the mobile phone.
Illustratively, after receiving a protocol message broadcasted by a mobile phone in a workstation mode, a router identifies the received protocol message, and if the protocol message is identified to include a predetermined target identification field, acquires access point information, and matches the acquired access point information with the access point information in the protocol message.
For example, after entering the workstation mode, the router 20 may be in a passive receiving state to receive the protocol packet sent by the handset 10.
It should be noted that the broadcast communication between the handset 10 and the router 20 may be connectionless data communication, the handset 10 broadcasts data on a physical channel of the broadcast communication, and the router 20 may scan and receive data on a corresponding channel according to its own policy. For example, the physical channel for broadcast communication may be a radio frequency channel with a radio frequency center frequency of 2402MHz, 2426MHz, or 2480 MHz.
In addition, the wireless modules of the handset 10 and the router 20 can support broadcast communication and data reception on multiple channels, and for different types of data, broadcast and receive through physical channels of different frequencies. The broadcast communication between the handset 10 and the router 20 may be connectionless data communication based on Bluetooth Low Energy (BLE) protocol.
For example, after receiving the protocol packet through the physical channel, the router 20 analyzes and identifies the protocol packet to obtain the target identification field and the access point information in the protocol packet. The target identification field is a special identification field predetermined by the router 20 and the handset 10, for example, the target identification field may be "connection". After the central processing unit of the router 20 analyzes the target identification field, access point information is obtained; on one hand, the central processing unit sends an instruction to the wireless module to control the wireless module to search and receive the access point information broadcast by the mobile phone 10 through a physical channel; on the other hand, the central processor can also read the access point information which is received before and stored in the memory.
It should be noted that the target identification field in the protocol message is used to trigger the router 20 to acquire the access point information broadcasted by the mobile phone 10, and to perform a process of matching the access point information in the protocol message with the acquired access point information; the obtained access point information may be access point information received before the router 20 recognizes the protocol packet and stored in the router 20, or may be access point information received when or after the router 20 recognizes the target identification field.
As an example, the manner in which the router 20 scans the access point information broadcast by the handset may be an active scanning manner or a passive scanning manner. If the active scanning mode is adopted, the wireless module of the router 20 may send the probe signal (also referred to as a probe request frame) in a broadcast mode. If the passive scanning mode is adopted, the router 20 passively receives the access point information broadcast by the mobile phone 10.
It should be noted that, in the active scanning mode, the router 20 actively detects and searches for the access point information including the hot spot name, and the router 20 sequentially sends detection signals in a broadcast manner on the physical channels supported by the router 20 to detect a wireless network existing around and acquire the access point information including the hot spot name.
The probe signal may further include a specified network name (also may be an SSID), for example, the specified network name may be generated according to a hotspot name in the access point information analyzed from the protocol message; the specified network name may also be excluded from the probe signal.
If the detection signal includes the specified network name, after the mobile phone 10 receives the detection signal, the mobile phone 10 finds that the network name in the detection signal is the same as the network name of the mobile phone 10, and the router may receive a response from the mobile phone 10. If the probe signal does not include the specified network name, the router 20 may receive responses from all surrounding electronic devices that can receive the probe signal and broadcast the access point information of the router 20, so that the router 20 may obtain the access point information of all surrounding electronic devices.
Illustratively, if the access point information obtained by the router has access point information that matches and is consistent with the access point information in the protocol message, the router establishes communication connection with the mobile phone and feeds back information of successful communication connection to the mobile phone.
Illustratively, when the router 20 receives the access point information broadcasted by the handset 10 through passive scanning, or acquires the access point information of a plurality of surrounding electronic devices through active scanning, the router 20 matches the scanned access point information with the access point information in the protocol message. The router 20 judges whether the access point information broadcast by the mobile phone 10 is the same as the access point information in the protocol message, if so, the router 20 establishes communication connection with the mobile phone 10; or determining the access point information which is the same as the access point information in the protocol message from the access point information broadcasted by a plurality of surrounding electronic devices, and establishing communication connection with the electronic device corresponding to the access point information.
For example, after receiving the access point information that is the same as the access point information in the protocol message in an active scanning or passive scanning manner, the router 20 may perform link authentication and association with the electronic device corresponding to the access point information, so as to establish communication connection with the electronic device (mobile phone).
Illustratively, the link authentication process performed by the handset 10 and the router 20 may include open system authentication or shared key authentication. The open system authentication is that the router 20 can send an authentication request to the handset 10, and if the handset 10 allows the router 20 to successfully authenticate, the link authentication is passed. The shared key authentication is that the router 20 and the mobile phone 10 can preset a key, after the router 20 sends an authentication request to the mobile phone 10, the mobile phone 10 verifies the validity of the identity of the router 20 through the preset key, and the link authentication passes after the validity is verified.
Illustratively, the router 20 associates with the handset 10 after the link authentication has passed. The router 20 may send an association request frame to the handset 10; after receiving the association request frame sent by the router 20, the handset 10 feeds back an association response frame to the router 20, thereby completing association. After the association is completed, a wireless link, i.e., a communication connection, for data communication is established between the router 20 and the handset 10.
Illustratively, as shown in (d) of fig. 6-1, after the router 20 establishes a communication connection with the handset 10, the router 20 may also send a notification that the connection is successful. The prompt can be carried out by flashing the indicator light 2 for a preset number of times, the prompt can be carried out by displaying the word of successful connection on the display screen, and the prompt can be carried out by playing the voice of successful connection through the loudspeaker; the specific manner of presentation is not limited herein.
In addition, after establishing the communication connection, the router 20 may also feed back information of successful communication connection to the mobile phone 10 to notify the mobile phone that the operations of the subsequent processes may be performed.
Illustratively, the communication connection is a connection made by any one of bluetooth, short-range wireless communication technology and data network.
According to the embodiment of the application, the mobile phone 10 sends the protocol message to the router 20, the router 20 acquires the access point information broadcasted by the mobile phone 10 after recognizing the target identification field in the protocol message, and after matching the access point information broadcasted by the mobile phone 10 and the access point information in the protocol message to be consistent, the router to which the user electronic equipment (mobile phone) is connected can be determined as the router of the user, so that the situation that the user unconsciously connects other routers in error can be avoided.
Step S508, the mobile phone receives the network configuration information input by the user.
In step S509, the mobile phone sends network configuration information to the router.
Illustratively, after receiving the information of successful communication connection fed back by the router, the mobile phone receives network configuration information input by the user, and sends the network configuration information to the router for network configuration.
The information of successful communication connection is fed back after the router 20 establishes communication connection with the mobile phone 10, and the condition for establishing communication connection between the router 20 and the mobile phone 10 includes: the protocol message received by the router contains a target identification field, and access point information which is matched with the access point information in the protocol message and is consistent with the access point information in the protocol message exists in the access point information acquired by the router.
In some embodiments, after the mobile phone receives the information of successful communication connection fed back by the routing device, the mobile phone displays a window, and the window is used for the user to input the network configuration information.
For example, after the router 20 establishes a communication connection with the handset 10, the router 20 may further feed back information of successful connection and address information of the configured router to the handset 10. After receiving the feedback information, the mobile phone 10 may switch to the next interface, such as the interface 604 shown in (e) of fig. 6-2; or the mobile phone 10 switches to the interface 604 after receiving the operation 2 executed by the user in the area 603-2 and receiving the information of successful connection and the address information of the configured router fed back by the router.
In some embodiments, on interface 603 shown in FIG. 6-1 (c), region 603-2 may not be included. After the user performs operation 1 on the interface 603 shown in fig. 6-1 (c), in response to the click operation of operation 1, the mobile phone 10 opens the personal hotspot, enters the access point mode, and may periodically broadcast access point information and protocol messages. After the handset 10 establishes a communication connection with the router 20, the handset 10 directly jumps from the interface 603 shown in (c) in fig. 6-1 to the interface 604 shown in (e) in fig. 6-2 according to the address information of the configuration router fed back by the router 20.
In other embodiments, a region 603-2 may also be included on the interface 603 shown in FIG. 6-1 (c). As shown in operation 1 in fig. 6-1 (c), when the user clicks the switch of the personal hotspot (set to an on state), the mobile phone 10 responds to the user's click operation, and the mobile phone 10 opens the hotspot, enters an access point mode, and periodically broadcasts access point information and a protocol message. During the process of establishing a communication connection (or after completing the communication connection) between the handset 10 in the access point mode and the router 20 in the workstation mode, as shown in operation 2 in fig. 6-1 (c), the user clicks the "distribution network guidance" control, the handset 10 responds to the user clicking operation, and after receiving the address information of the configuration router fed back by the router 20, the handset 10 loads and displays the interface 604 shown in fig. 6-2 (e).
In some other embodiments, the interface 603 shown in fig. 6-1 (c) may further include a region 603-2. Aiming at an application scenario that the mobile phone 10 provides a wireless network of a personal hotspot only, in order to reduce power consumption or occupancy rate of a processor memory caused by broadcasting a protocol message and a hotspot name at the same time after the mobile phone 10 opens the hotspot, after a user executes operation 1 on an interface 603 shown in (c) in fig. 6-1, in response to a click operation of the operation 1, the mobile phone 10 opens the personal hotspot, enters an access point mode, and can only periodically broadcast access point information; then, after the user continues to perform operation 2 in the area 603-2 on the interface 603, the handset 10 starts to periodically broadcast the protocol message in response to the click operation of operation 2. Then, after the handset 10 establishes a communication connection with the router 20, according to the address information of the configuration router fed back by the router 20, the handset 10 jumps from the interface 603 shown in (c) of fig. 6-1 to the interface 604 shown in (e) of fig. 6-2.
Illustratively, the window displayed by the handset 10 as shown in (e) of fig. 6-2, on the interface 604 in the window, "honor.xxx.cn" is address information for configuring the router, and the device serial code "HONOR-123 _ HiLink" is the default name or the factory name of the router 20. The address information and the device serial code of the configuration router are set by a router developer, and the embodiment of the present application is only exemplary and not limited specifically. The initial display states of the contents respectively corresponding to the network account number and the network password in the internet access setting area can be both null; the mobile phone 10 can receive the network name and the network password set by the user. And the initial display states of the contents respectively corresponding to the wireless name and the wireless password in the routing setting area can be both empty, and the mobile phone 10 can receive the wireless name and the wireless password which are input by the user and set by the user; or the initial state of the content corresponding to the "wireless name" may display the serial number of the routing device (router), and the mobile phone 10 may receive the change operation of the user and receive the customized wireless name input by the user. In addition, a connected prompt message may also be displayed at the interface 604.
Optionally, in the mobile phone interface 604 shown in fig. 6-2 (e), the mobile phone 10 may receive, in the internet access setting area, contents corresponding to the "network account" and the "network password" input by the user, for example, "0755 × 123@163. com" corresponding to the "network account" and "ABCDEF" corresponding to the "network password"; the mobile phone 10 may further receive the content corresponding to the "wireless name" and the "wireless password" respectively input by the user in the routing setting area, for example, the "Xiaoming Home 123" corresponding to the "wireless name" and the "abcdef" corresponding to the "wireless password". The specific content of the above setting is only an exemplary illustration, the field and the display form of the specific setting are not limited, for example, the content corresponding to the "network password" and the "wireless password" may also be displayed in a form that is completely invisible or partially visible. And configuring whether the router starts wireless broadcasting or not, and setting the router to be in a broadcasting state when the router works in the access point mode so that other electronic equipment can search and access the configured router when the router is in the access point mode.
Step S510, the router performs network configuration according to the received network configuration information.
Illustratively, the router receives network configuration information sent by a mobile phone, and performs network configuration according to the network configuration information. The network configuration information is sent by the mobile phone after receiving the information of successful communication connection fed back by the router.
And step S511, the router feeds back the information of configuration completion to the mobile phone.
And step S512, displaying a configuration completion interface by the mobile phone.
In step S513, the router sends a prompt message to complete the network configuration, and switches from the station mode to the access point mode.
For example, the network configuration information may be attribute information of the router 20, and may include internet access information or routing information; the internet access information can comprise a network account and a network password; the routing information may include a wireless name and a wireless password; other attribute information of router 20, such as maximum transmission rate, etc., may also be included, and is not specifically limited herein.
As shown in fig. 6-1 (d), the indicator light 2 of the router 20 flashes for a preset number of times after the mobile phone 10 is successfully connected to the router 20, and during the process of receiving the network configuration information by the mobile phone 10, the indicator light 2 changes from flashing to a long-bright state to indicate that the router is still in the configuration process.
Illustratively, after the mobile phone 10 receives the network configuration information input by the user, as shown in (e) in fig. 6-2, the user clicks the "determine" option, the mobile phone 10 receives the instruction input by the user, and in response to the clicking operation by the user, the mobile phone 10 sends the network configuration information to the router 20. The router 20 receives the network configuration information sent by the handset 10 to perform network configuration. After the configuration of the router 20 is completed, a prompt message for completing the network configuration is sent, and the station mode is switched to the access point mode.
Illustratively, as shown in fig. 6-2 (f), when the router 20 completes the network configuration, the indicator light 2 is turned from on to off, the indicator light 3 is flashed a preset number of times, and the indicator light 3 is turned on for a long time when the router is switched from the station mode to the access point mode. The prompt information sent by the router 20 to complete the network configuration may be in a form of blinking the indication 3, or may be in a form of displaying the configuration completion through a display screen, or may be in a form of playing a voice "configuration completed" through a speaker, and the user may select any one or more prompting manners, which is not specifically limited in this embodiment of the present application.
Illustratively, after the configuration of the router 20 is completed, the set information is fed back to the mobile phone 10, and after the mobile phone 10 receives the feedback information, the configured interface is displayed, such as the interface 605 shown in (g) of fig. 6-2; the interface 605 may display that the router configuration is completed, and may also display the wireless name (Wi-Fi name) and the wireless password of the router 20; wherein, the wireless password can be in a display state of being invisible or partially invisible.
It will be appreciated that the connection to the handset 10 may be automatically disconnected after the router 20 switches to the access point mode; handset 10 may access the wireless network of the configured router 20 in a workstation mode.
It should also be understood that the electronic device may also be a tablet computer, a notebook computer, a smart watch, or other terminal devices that can provide a wireless local area network, and the routing device includes, but is not limited to, a hub, a switch, a bridge, a router, a gateway, a network interface card, a wireless access point, and a modem, which is not limited in this embodiment of the present application. In order to implement the functions, the devices may include hardware and/or software modules for performing the functions. The present application is capable of being implemented in hardware or a combination of hardware and computer software in conjunction with the exemplary algorithm steps described in connection with the embodiments disclosed herein. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, in conjunction with the embodiments, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In this embodiment, the above-mentioned devices may be divided into functional modules according to the above-mentioned method, for example, the functional modules may be divided corresponding to the functions, or two or more functions may be integrated into one processing module. The integrated module may be implemented in the form of hardware. It should be noted that, the division of the modules in this embodiment is schematic, and is only one logic function division, and there may be another division manner in actual implementation, and this is not limited in this embodiment of the present application.
It should be noted that all relevant contents of each step related to the above method embodiment may be referred to the functional description of the corresponding functional module, and are not described herein again.
The electronic device, the router and other devices provided by the embodiment are used for executing the method for configuring the network, so that the same effects as the implementation method can be achieved.
In the case of an integrated unit, devices such as electronic devices and routers may include a processing module, a memory module, and a communication module. The processing module may be configured to control and manage executed actions, the storage module may be configured to store program codes, data, and the like, and the communication module may be configured to communicate between the mobile phone and the router.
The processing module may be a processor or a controller. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. A processor may also be a combination of computing functions, e.g., a combination comprising one or more microprocessors, Digital Signal Processing (DSP) and microprocessors, or the like. The storage module may be a memory. The communication module may specifically be a radio frequency circuit, a bluetooth chip, a Wi-Fi chip, or other devices that interact with other electronic devices.
In one embodiment, when the processing module is a processor and the storage module is a memory, the electronic device and the router according to this embodiment may be devices having the structures shown in fig. 3-1 and fig. 3-2, respectively.
The present embodiment also provides a network configuration system, which includes the electronic device and the routing device, where the electronic device and the routing device are respectively configured to execute the relevant steps of the method, so as to implement the network configuration method in the foregoing embodiment.
The present embodiment also provides a computer-readable storage medium, in which computer instructions are stored, and when the computer instructions are executed, the computer instructions enable the above related method steps to be executed in a system including an electronic device, a router, and the like, so as to implement the network configuration method in the above embodiments.
The present embodiment also provides a computer program product, which when running on a computer, causes the computer to execute the relevant steps described above, so as to implement the network configuration method in the foregoing embodiments.
In addition, embodiments of the present application also provide an apparatus, which may specifically be a chip, a component, or a module, and may include a processor and a memory connected to each other; the memory is used for storing computer execution instructions, and when the apparatus runs, the processor can execute the computer execution instructions stored by the memory, so that the chip executes the network configuration method in the above method embodiments.
The electronic device, the routing device, the computer-readable storage medium, the computer program product, or the chip provided in this embodiment are all configured to execute the corresponding method provided above, and therefore, the beneficial effects that can be achieved by the electronic device, the routing device, the computer-readable storage medium, the computer program product, or the chip may refer to the beneficial effects in the corresponding method provided above, which are not described herein again.
Through the foregoing description of the embodiments, those skilled in the art can understand that, for convenience and simplicity of description, only the division of the functional modules is used for illustration, and in practical applications, the above function distribution may be completed by different functional modules as needed, that is, the internal result of the device is divided into different functional modules, so as to complete all or part of the above described functions.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of a module or a unit is merely a division of one logic function, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another apparatus, or some features may be omitted, or not executed. In addition, the shown or discussed coupling or direct coupling or communication connection between each other may be through some interfaces, indirect coupling or communication connection between devices or units, and may be in an electrical, mechanical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may be one physical unit or a plurality of physical units, may be located in one place, or may be distributed to a plurality of different places. Partial or all units can be selected according to actual needs of the branch office to achieve the purpose of the scheme of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of software function.
The integrated unit, if implemented as a software functional unit and sold or used as a separate product, may be stored in a readable storage medium. Based on such understanding, the technical solution of the embodiments of the present application may be essentially or partially contributed to by the prior art, or all or part of the technical solution may be embodied in the form of a software product, where the key product is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the method of the embodiments of the present application. And the aforementioned storage medium includes: a variety of media that can store program codes, such as a usb disk, a removable hard disk, a Read Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
In the above embodiments, the description of each embodiment has its own emphasis, and reference may be made to the related description of other embodiments for parts that are not described or recited in any embodiment. It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application. Furthermore, in the description of the present application and the appended claims, the terms "first," "second," "third," and the like are used for distinguishing between descriptions and not necessarily for describing or implying relative importance. Reference throughout this specification to "one embodiment" or "some embodiments," or the like, means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," or the like, in various places throughout this specification are not necessarily all referring to the same embodiment, but rather mean "one or more but not all embodiments" unless specifically stated otherwise. The term "plurality" in this application means two or more.
Finally, it should be noted that: the above description is only an embodiment of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions within the technical scope disclosed in the present application should be covered within the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (25)

1. A network configuration system, characterized in that the system comprises an electronic device and a router device;
the electronic device is configured to:
after the access point mode is started, broadcasting a protocol message and first access point information, wherein the protocol message comprises a preset target identification field and the first access point information;
the routing device is configured to:
in a working station mode, after receiving a protocol message, identifying the received protocol message, if the protocol message is identified to contain the target identification field, acquiring second access point information, and matching the acquired second access point information with first access point information in the protocol message;
if the acquired second access point information contains access point information which is matched with the first access point information in the protocol message in a consistent manner, establishing communication connection with the electronic equipment, and feeding back information of successful communication connection to the electronic equipment;
the electronic device is further configured to:
after receiving the information of successful communication connection fed back by the routing equipment, receiving network configuration information input by a user, and sending the network configuration information to the routing equipment;
the routing device is further configured to:
configuring attribute information of the routing equipment according to the received network configuration information, wherein the attribute information comprises internet surfing information or routing information of the routing equipment;
after the electronic device receives the information of successful communication connection fed back by the routing device, the routing device is further configured to: feeding back address information to the electronic equipment; the electronic device is further configured to: and displaying a window for a user to input network configuration information according to the address information for configuring the routing equipment fed back by the routing equipment.
2. The system of claim 1, wherein the electronic device is further configured to:
starting a hotspot in a first preset mode and entering the access point mode;
wherein the first predetermined manner comprises: the method comprises the steps that the electronic equipment receives a mode that a user clicks a target control to input a first trigger instruction and responds to the first trigger instruction;
the routing device is further configured to:
entering the workstation mode by a second predetermined manner;
wherein the second predetermined manner comprises: and the routing equipment receives a mode that a user clicks a target key to input a third trigger instruction and responds to the third trigger instruction.
3. The system of claim 1, wherein the electronic device is further configured to:
and after the access point mode is started, receiving a second trigger instruction input by a user, and starting a distribution network guide in response to the second trigger instruction, wherein the distribution network guide is used for indicating to start broadcasting the protocol message.
4. The system of claim 1,
the routing device is further configured to:
and sending prompt information for completing the network configuration after the network configuration is carried out according to the network configuration information, wherein the mode for sending the prompt information comprises one or more of voice, pop-up window display and light flashing.
5. The system according to any one of claims 1 to 4, wherein the communication connection established between the electronic device and the routing device is a connection made by any one of Bluetooth, short-range wireless communication technology and data network.
6. An electronic device, characterized in that the electronic device comprises:
the wireless broadcast module is used for broadcasting a protocol message and first access point information after the access point mode is started, wherein the protocol message comprises a target identification field and the first access point information;
the wireless sending module is used for receiving network configuration information input by a user after receiving information of successful communication connection fed back by the routing equipment, and sending the network configuration information to the routing equipment for configuration of attribute information of the routing equipment, wherein the attribute information comprises internet access information or routing information of the routing equipment; wherein the information that the communication connection is successful is fed back after the routing device establishes the communication connection with the electronic device, and the condition for establishing the communication connection between the routing device and the electronic device includes: a protocol message received by the routing equipment contains a target identification field, and access point information which is matched and consistent with first access point information in the protocol message exists in second access point information obtained by the routing equipment;
and the display unit is used for displaying a window for a user to input network configuration information according to the address information of the routing equipment, which is configured and fed back by the routing equipment, after receiving the information of successful communication connection, which is fed back by the routing equipment.
7. The electronic device of claim 6, further comprising:
the hot spot control module is used for opening a hot spot in a first preset mode and entering the access point mode;
wherein the first predetermined manner comprises: and receiving a mode that a user clicks a target control to input a first trigger instruction and responds to the first trigger instruction.
8. The electronic device of claim 6 or 7, further comprising:
and the distribution network control module is used for receiving a second trigger instruction input by a user after the access point mode is started, and starting a distribution network guide in response to the second trigger instruction, wherein the distribution network guide is used for indicating to start broadcasting the protocol message.
9. The electronic device according to claim 6 or 7, wherein the communication connection is a connection via any one of bluetooth, short-range wireless communication technology, and data network.
10. The electronic device of claim 8, wherein the communication connection is a connection via any one of bluetooth, short-range wireless communication technology, and data network.
11. A routing device, characterized in that the routing device comprises:
the central processing unit is used for identifying the received protocol message after receiving the protocol message broadcasted by the electronic equipment in the workstation mode, acquiring second access point information if the protocol message is identified to contain a preset target identification field, and matching the acquired second access point information with the first access point information in the protocol message;
the wireless communication module is used for establishing communication connection between the routing equipment and the electronic equipment and feeding back information of successful communication connection to the electronic equipment if access point information which is matched with the first access point information in the protocol message is contained in the acquired second access point information; receiving network configuration information sent by the electronic equipment;
the network configuration module is used for configuring attribute information of the routing equipment according to the network configuration information, wherein the attribute information comprises internet surfing information or routing information of the routing equipment, and the network configuration information is sent by the electronic equipment after receiving information of successful communication connection fed back by the routing equipment;
the wireless communication module is further configured to feed back address information to the electronic device after receiving information of successful communication connection fed back by the routing device, where the address information is used to instruct the electronic device to display a window for a user to input network configuration information.
12. The routing device of claim 11, wherein the routing device further comprises:
the mode control module is used for entering a workstation mode through a second preset mode before receiving a protocol message broadcasted by the electronic equipment in the workstation mode;
wherein the second predetermined manner comprises: and receiving a mode that a user clicks a target key to input a third trigger instruction and responds to the third trigger instruction.
13. The routing device according to claim 11 or 12, wherein the routing device further comprises:
and the prompting module is used for sending out prompting information for completing the network configuration after the network configuration is carried out according to the network configuration information, and the mode for sending out the prompting information comprises one or more of voice, pop-up window display and light flicker.
14. The routing device of claim 12, wherein the mode control module is further configured to switch from a station mode to an access point mode after network configuration according to the network configuration information.
15. A network configuration method applied to an electronic device includes:
after the electronic equipment starts an access point mode, broadcasting a protocol message and first access point information, wherein the protocol message comprises a target identification field and the first access point information;
after receiving information of successful communication connection fed back by routing equipment, the electronic equipment receives network configuration information input by a user, and sends the network configuration information to the routing equipment to configure attribute information of the routing equipment, wherein the attribute information comprises internet access information or routing information; wherein the information of successful communication connection is fed back after the routing device establishes communication connection with the electronic device, and the condition for establishing communication connection between the routing device and the electronic device includes: a protocol message received by the routing equipment contains a target identification field, and access point information which is matched and consistent with first access point information in the protocol message exists in second access point information acquired by the routing equipment;
after receiving the information of successful communication connection fed back by the routing device, the electronic device further includes: and according to the address information of the routing equipment configured and fed back by the routing equipment, the electronic equipment displays a window for a user to input network configuration information.
16. The method of claim 15, wherein prior to the broadcast protocol packet and access point information, the method further comprises:
the electronic equipment starts a hotspot in a first preset mode and enters the access point mode;
wherein the first predetermined manner comprises: the method includes that the electronic equipment receives a mode that a user clicks a target control to input a first trigger instruction and responds to the first trigger instruction.
17. The method according to claim 15 or 16, wherein prior to the broadcast protocol packet, the method further comprises:
and after the electronic equipment starts the access point mode, receiving a second trigger instruction input by a user, and starting a distribution network guide in response to the second trigger instruction, wherein the distribution network guide is used for indicating to start broadcasting the protocol message.
18. The method according to any one of claims 15 or 16, wherein the communication connection is a connection via any one of bluetooth, short-range wireless communication technology, and data network.
19. The method according to claim 17, wherein the communication connection is a connection via any one of bluetooth, short-range wireless communication technology, and data network.
20. A network configuration method is applied to a routing device, and comprises the following steps:
after receiving a protocol message broadcasted by the electronic equipment in a workstation mode, the routing equipment identifies the received protocol message, if the protocol message is identified to contain a preset target identification field, second access point information is obtained, and the obtained second access point information is matched with first access point information in the protocol message;
if access point information which is matched with the first access point information in the protocol message is consistent in the obtained second access point information, the routing equipment establishes communication connection with the electronic equipment and feeds back information of successful communication connection to the electronic equipment;
the routing equipment receives network configuration information sent by the electronic equipment, and configures attribute information of the routing equipment according to the network configuration information, wherein the attribute information comprises internet surfing information or routing information, and the network configuration information is sent by the electronic equipment after receiving information of successful communication connection fed back by the routing equipment;
after the electronic device receives the information of successful communication connection fed back by the routing device, the method further comprises the following steps: the routing equipment sends address information to the electronic equipment; the address information is used to instruct the electronic device to display a window for a user to input network configuration information.
21. The method of claim 20, wherein before the routing device receives the protocol message broadcast by the electronic device in the workstation mode, the method further comprises:
the routing equipment enters the workstation mode through a second preset mode;
wherein the second predetermined manner comprises: and the routing equipment receives a mode that a user clicks a target key to input a third trigger instruction and responds to the third trigger instruction.
22. The method according to claim 20 or 21, wherein after said configuring of the attribute information of the routing device according to the network configuration information, the method further comprises:
the routing equipment sends out prompt information for completing network configuration, and the mode for sending out the prompt information comprises one or more of voice, popup display and light flashing.
23. The method of claim 20, further comprising, after the configuring the attribute information of the routing device according to the network configuration information:
the routing device switches from the station mode to the access point mode.
24. An electronic device, characterized in that the electronic device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the method according to any of claims 15 to 19 when executing the computer program.
25. A routing device, characterized in that the routing device comprises a central processor, a wireless communication module for wireless communication with an electronic device, and a switch chip for forwarding wireless communication data at a network layer, and the central processor is configured to process the wireless communication data to implement the method according to any one of claims 20 to 23.
CN202110635811.9A 2021-06-04 2021-06-04 Network configuration system, network configuration method, electronic device and routing device Active CN113438102B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110635811.9A CN113438102B (en) 2021-06-04 2021-06-04 Network configuration system, network configuration method, electronic device and routing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110635811.9A CN113438102B (en) 2021-06-04 2021-06-04 Network configuration system, network configuration method, electronic device and routing device

Publications (2)

Publication Number Publication Date
CN113438102A CN113438102A (en) 2021-09-24
CN113438102B true CN113438102B (en) 2022-07-26

Family

ID=77803891

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110635811.9A Active CN113438102B (en) 2021-06-04 2021-06-04 Network configuration system, network configuration method, electronic device and routing device

Country Status (1)

Country Link
CN (1) CN113438102B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20240061831A (en) * 2022-11-01 2024-05-08 삼성전자주식회사 Electronic apparatus and control method thereif
CN118524121A (en) * 2024-07-19 2024-08-20 杭州海康威视数字技术股份有限公司 Traffic control system and equipment configuration method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7509417B1 (en) * 2002-02-28 2009-03-24 Palm, Inc. Method for intelligently selecting a wireless communication access point
WO2011133195A1 (en) * 2010-04-22 2011-10-27 Zipit Wireless, Inc. System and method for administration and operation of one or more mobile electronic communications devices
CN110290570A (en) * 2019-06-10 2019-09-27 浙江大华技术股份有限公司 Wireless network access method and relevant device, storage device
WO2019183810A1 (en) * 2018-03-27 2019-10-03 华为技术有限公司 Method for sharing data in local area network and electronic device
EP3823250A1 (en) * 2019-11-15 2021-05-19 Beijing Xiaomi Mobile Software Co., Ltd. Method and device for network configuration, router, and server

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105163366B (en) * 2015-09-24 2019-03-29 小米科技有限责任公司 Wireless network connecting method and device
CN110418336B (en) * 2019-07-11 2022-10-21 厦门亿联网络技术股份有限公司 WiFi device batch automatic network distribution method, terminal device and storage medium
CN110519131B (en) * 2019-07-26 2021-08-03 华为技术有限公司 Method for controlling equipment and terminal
CN111132137A (en) * 2019-09-16 2020-05-08 华为技术有限公司 Wi-Fi connection method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7509417B1 (en) * 2002-02-28 2009-03-24 Palm, Inc. Method for intelligently selecting a wireless communication access point
WO2011133195A1 (en) * 2010-04-22 2011-10-27 Zipit Wireless, Inc. System and method for administration and operation of one or more mobile electronic communications devices
WO2019183810A1 (en) * 2018-03-27 2019-10-03 华为技术有限公司 Method for sharing data in local area network and electronic device
CN110290570A (en) * 2019-06-10 2019-09-27 浙江大华技术股份有限公司 Wireless network access method and relevant device, storage device
EP3823250A1 (en) * 2019-11-15 2021-05-19 Beijing Xiaomi Mobile Software Co., Ltd. Method and device for network configuration, router, and server

Also Published As

Publication number Publication date
CN113438102A (en) 2021-09-24

Similar Documents

Publication Publication Date Title
CN112351322B (en) Terminal device, method and system for realizing touch screen projection through remote controller
CN112449328B (en) Bluetooth searching method, system and related device
CN112822663B (en) Bluetooth connection method and related device
WO2021175268A1 (en) Method and apparatus for sharing mobile network hotspot, and hotspot sharing device
CN112469013B (en) Bluetooth connection method and related device
US12075499B2 (en) Bluetooth reconnection method and related apparatus
CN110730114B (en) Method and equipment for configuring network configuration information
CN111132137A (en) Wi-Fi connection method and device
CN114390337A (en) Screen projection method and system and electronic equipment
CN113438102B (en) Network configuration system, network configuration method, electronic device and routing device
CN113630777B (en) Internet access control system, method and routing equipment
CN112469011A (en) Bluetooth pairing method and related device
CN114339698A (en) Method for establishing wireless connection through equipment touch, electronic equipment and chip
CN113676902A (en) System and method for providing wireless internet access and electronic equipment
CN114339697A (en) Communication connection establishing method, system, electronic device and storage medium
CN112272191B (en) Data transfer method and related device
EP4362507A1 (en) Communication system and communication method
CN115134402A (en) Device connection method and electronic device
CN114691066A (en) Application display method and electronic equipment
CN115515112A (en) Bluetooth communication method and system
CN115703006A (en) Equipment connection method, device and 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