CN111343695A - Network connection method, first electronic device, and medium - Google Patents

Network connection method, first electronic device, and medium Download PDF

Info

Publication number
CN111343695A
CN111343695A CN202010124522.8A CN202010124522A CN111343695A CN 111343695 A CN111343695 A CN 111343695A CN 202010124522 A CN202010124522 A CN 202010124522A CN 111343695 A CN111343695 A CN 111343695A
Authority
CN
China
Prior art keywords
electronic device
routing information
information
input
network
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.)
Pending
Application number
CN202010124522.8A
Other languages
Chinese (zh)
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202010124522.8A priority Critical patent/CN111343695A/en
Publication of CN111343695A publication Critical patent/CN111343695A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/18Management of setup rejection or failure

Abstract

The invention discloses a network connection method, a first electronic device and a medium. The network connection method is applied to first electronic equipment and comprises the following steps: receiving a first input of a user; responding to the first input, and acquiring target information broadcasted by the second electronic equipment; and in the case that the target information indicates that the second electronic device fails to be connected with the router, sending routing information to the second electronic device so that the second electronic device is connected with the network based on the routing information. According to the embodiment of the invention, the efficiency of connecting the electronic equipment to the network can be improved.

Description

Network connection method, first electronic device, and medium
Technical Field
Embodiments of the present invention relate to the field of communications technologies, and in particular, to a network connection method, a first electronic device, and a medium.
Background
The Internet of Things (IOT) device is equivalent to an information island before being linked to The network, and is completely isolated from The outside, and The IOT device does not have intelligent capability at this time. Therefore, some medium is needed to help the IOT device connect to the router and associate with the account to connect to the network.
When the IOT device cannot be connected to the router, for example, the IOT device cannot discover the router, and further, for example, after the IOT device has been networked and bound to the user account, but the routing information changes (for example, the password of the route changes, or the Service Set Identifier (SSID) and the password of the route change), the IOT device cannot connect to the network. In these cases, the user is required to reset the IOT device and reconfigure the IOT device.
Therefore, the existing distribution network binding process of the IOT equipment is complex in experience and operation and high in learning cost, and the network connection efficiency of the IOT equipment is low.
Disclosure of Invention
Embodiments of the present invention provide a network connection method, a first electronic device, and a medium, which can solve the problem of low network connection efficiency of an IOT device.
In order to solve the above technical problem, the embodiment of the present invention is implemented as follows:
in a first aspect, an embodiment of the present invention provides a network connection method, applied to a first electronic device, including:
receiving a first input of a user;
responding to the first input, and acquiring target information broadcasted by the second electronic equipment;
and in the case that the target information indicates that the second electronic device fails to be connected with the router, sending routing information to the second electronic device so that the second electronic device is connected with the network based on the routing information.
In a second aspect, an embodiment of the present invention provides a first electronic device, including:
the first input receiving module is used for receiving a first input of a user;
the target information acquisition module is used for responding to the first input and acquiring target information broadcasted by the second electronic equipment;
and the sending module is used for sending the routing information to the second electronic equipment under the condition that the target information indicates that the second electronic equipment is failed to be connected with the router, so that the second electronic equipment is connected with the network based on the routing information.
In a third aspect, an embodiment of the present invention provides a first electronic device, where the device includes: a processor and a memory storing computer program instructions;
the processor, when executing the computer program instructions, implements the network connection method as provided in the first aspect above.
In a fourth aspect, an embodiment of the present invention provides a computer storage medium, on which computer program instructions are stored, and when the computer program instructions are executed by a processor, the network connection method provided in the first aspect is implemented.
In the embodiment of the invention, under the condition that the first electronic device acquires the target information which is broadcasted by the second electronic device and indicates that the second electronic device fails to be connected with the router, the routing information is sent to the second electronic device, so that the second electronic device receives the new routing information and then is connected with the network by using the routing information, the operation of a network distribution of a user is reduced, the routing information of the second electronic device can be automatically repaired, and the efficiency of the second electronic device in connecting with the network is improved.
Drawings
The present invention will be better understood from the following description of specific embodiments thereof taken in conjunction with the accompanying drawings, in which like or similar reference characters designate like or similar features.
Fig. 1 is a schematic diagram of a network connection system according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a network connection method according to an embodiment of the present invention;
fig. 3 is a second flowchart of a network connection method according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 5 is a second schematic structural diagram of an electronic device according to an embodiment of the invention.
Detailed Description
Features and exemplary embodiments of various aspects of the present invention will be described in detail below, and in order to make objects, technical solutions and advantages of the present invention more apparent, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not to be construed as limiting the invention. It will be apparent to one skilled in the art that the present invention may be practiced without some of these specific details. The following description of the embodiments is merely intended to provide a better understanding of the present invention by illustrating examples of the present invention.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
Based on the problem that the network connection efficiency of the IOT device is low, embodiments of the present invention provide a network connection method, a first electronic device, and a medium, which can improve the network connection efficiency of the IOT device. The following detailed description is to be read with reference to the specific drawings and examples.
Fig. 1 is a schematic architecture diagram of a network connection system according to an embodiment of the present invention. As shown in fig. 1, the system includes an electronic device 110, an electronic device 120, an electronic device 130, and an electronic device 140. The number of electronic devices is not particularly limited.
The dashed line between electronic device 110 and electronic device 120 represents that both may communicate over a network. The dashed line between electronic device 110 and electronic device 130 represents that the two may communicate over a network. The dashed line between electronic device 110 and electronic device 140 represents that the two may communicate over a network.
The electronic device 110 in the embodiment of the present invention may include at least one of the following: IOT equipment such as cell-phone, panel computer, intelligent wearing equipment.
In an embodiment of the present invention, the electronic devices 120, 130, and 140 may be smart televisions, smart air conditioners, smart refrigerators, and the like, which may be internet-connected IOT devices through a router.
In some embodiments, for any one of the electronic device 120, the electronic device 130, and the electronic device 140, when a password or an SSID of a router connected to the electronic device is changed, the router connected to the electronic device is powered off, the electronic device is in a state to be networked, or the router is not in an original area, the electronic device may not be connected to a network.
It should be noted that, for any one of the electronic device 120, the electronic device 130, and the electronic device 140, the electronic device may determine whether the router can be found according to the SSID of the bound router. If the electronic device does not find a router, the electronic device may determine that the router to which the electronic device is bound may be powered off, the SSID of the router is changed, or the router is not in a preset area. If the electronic device discovers a router but cannot connect to a network by using the stored SSID and password of the router, the electronic device may determine that the password of the router has changed. And if the electronic equipment is not bound with the router, representing that the electronic equipment is in a to-be-configured network state.
That is, the electronic device may detect the reason for the failure to connect to the network itself. For example, a first type of reason is that a router can be discovered but cannot be connected to it (e.g., a router password changes); a second type of reason is that a router cannot be discovered (e.g., the router may be powered off, the SSID of the router changed, or the router is not within a preset area); the third reason is that the electronic device is in a network to be configured.
And under the condition that the electronic equipment detects that the electronic equipment fails to connect to the network, broadcasting the target information. The target information comprises a first identification which indicates the reason why the electronic equipment cannot be connected to the network.
As an example, the electronic device 120 broadcasts the target information if it detects that it cannot connect to the network. Electronic device 130 and electronic device 140 may be normally connected to the network.
When the electronic device 110 receives a first input of a user, information scanning is performed on information broadcasted by the electronic devices 120, 130 and 140 in a preset area in response to the first input. Since the electronic device 120 broadcasts the target information, when the electronic device 110 can acquire the target information broadcast by the electronic device 120 (i.e., the second electronic device), in the case that the target information indicates that the electronic device 120 fails to connect to the router, the electronic device 110 then transmits the routing information to the electronic device 120. The electronic device 120 receives the routing information and connects to the network based on the routing information.
In an embodiment of the present invention, in the case where the electronic device 110 scans for target information broadcast by the electronic device 120 indicating that the electronic device 120 fails to connect to the router, the routing information is sent to the electronic device 120. After the electronic device 120 receives the new routing information, the routing information is used for connecting the network, so that the operation of the network distribution of the user is reduced, the routing information of the electronic device 120 can be automatically repaired, and the efficiency of the electronic device 120 in connecting the network is improved.
Fig. 2 is a flowchart illustrating a network connection method according to an embodiment of the present invention. As shown in fig. 2, the method may be applied to a first electronic device (e.g., electronic device 110), including steps 210-230.
At step 210, a first input from a user is received.
In response to the first input, target information broadcasted by the second electronic device is acquired, step 220.
And step 230, in the case that the target information indicates that the second electronic device fails to connect with the router, sending routing information to the second electronic device so that the second electronic device connects with the network based on the routing information.
The specific implementation of each of steps 210-230 is described in detail below.
First, a specific implementation of step 210 is described. In some embodiments, the first input may be a user initiation input to a preset application. For example, the first input may be a click input, a slide input, a press input, or a preset gesture operation.
The preset application program is an application program for controlling the first electronic device to scan information broadcast by other electronic devices in the preset area. As one example, the preset application is an internet of things application.
Next, a specific implementation of step 220 is described. In the embodiment of the invention, the first electronic device responds to the first input and scans information broadcast by other electronic devices in a preset scanning area to acquire target information broadcast by the second electronic device. In other words, whether a second electronic device which cannot be connected to the network exists in the electronic devices in the preset scanning area is scanned.
It should be noted that the target information is information having a preset naming rule. The first electronic device may scan whether there is target information broadcast by the second electronic device according to a preset naming rule of the target information.
As an example, the target information broadcast by the second electronic device may be classified into three categories according to the reason why the second electronic device cannot connect to the network.
In the first category, for a second electronic device to be distributed, the target information broadcast by the device may be "jv-YgoUR 9Vj-v1-ap0f7 e-0".
In the second category, for a second electronic device that can discover a router but cannot connect to the router (e.g., a change in router password), the target information broadcast by the device may be "jv-YgoUR 9Vj-v1-ap0f7 e-1".
In a third class, for a second electronic device that cannot discover a router (e.g., the router may be powered off, the SSID of the router has changed, or the router is not within a preset area), the target information broadcast by the device may be "jv-YgoUR 9Vj-v1-ap0f7 e-2".
Wherein jv represents a manufacturer identification of the electronic device. For example, jv represents that the second electronic device is a product of company a.
The YgoUR9Vj is a product identifier of the electronic device, and each electronic device corresponds to one identifier.
Wherein v1 is the version of the distribution network protocol.
Wherein, AP in AP0f7e represents a distribution network using a wireless Access Point (AP), and 0f7e in AP0f7e represents 2 bytes (byte) after the local area network address of the second electronic device. ap represents that the first electronic device and the second electronic device can realize communication connection through the hotspot.
In some embodiments, ap may be replaced by bl, where bl represents that the first electronic device and the second electronic device may be connected through bluetooth.
That is, the target information further includes a second identifier (e.g., ap or bl) indicating a connection manner of the second electronic device and the first electronic device.
By utilizing the second identifier, the first electronic device can be quickly connected with the second electronic device, and the network connection efficiency of the IOT device is improved.
Wherein 0 represents that the second electronic device is a device to be networked.
Wherein, 1 represents that the second electronic device is bound to the distribution network, but the password of the router is changed.
Where 2 represents that the second electronic device has been configured with a network binding, but the router may be powered off, the SSID of the router changed, or the router is not within a preset area.
That is, the target information further includes a first identification (i.e., 0, 1, or 2) indicating a reason why the second electronic device cannot connect to the network.
That is, the preset naming rule of the target information may be named in the order of manufacturer id-device id code-distribution network protocol version-distribution network mode and the last 2 bytes of the local network address-reason why the network cannot be connected, for example, "jv-YgoUR 9Vj-v1-ap0f7 e-1" or "jv-YgoUR 9Vj-v1-ap0f7 e-2". That is, the target information may be hotspot information meeting a preset naming rule, and the hotspot information may be a Wifi hotspot or a bluetooth hotspot.
When the second electronic device fails to connect to the network to send out the hotspot information because of detecting that the second electronic device fails to connect to the router, the hotspot information exists for a long time until the second electronic device is connected to the network again.
The first electronic device may determine whether the scanned information conforms to a preset naming rule, so as to determine whether to acquire target information broadcast by the second electronic device.
It should be noted that both the first electronic device and the second electronic device may be IOT devices.
A specific implementation of step 230 is next presented. In an embodiment of the present invention, in a case where the destination information indicates that the second electronic device fails to connect to the router, if the first electronic device itself stores routing information of a router that can be connected (for example, routing information of a router to which the first electronic device is currently connected), the first electronic device sends the routing information to the second electronic device. That is, step 230 includes obtaining routing information accessed by the first electronic device; and sending the routing information to the second electronic equipment.
The second electronic device may automatically connect to the network based on the received routing information. That is to say, the first electronic device can automatically send the routing information to the second electronic device which needs to repair the routing information, so that the routing information can be automatically repaired, manual operation is not needed, and the efficiency of the electronic device for connecting the network is improved.
In some embodiments, if the first identifier in the destination information indicates that the second electronic device is not connected to the router due to a password change of the router. Before sending the routing information to the second electronic device, the network connection method provided in the embodiment of the present invention further includes: outputting prompt information to prompt a user to input routing information; routing information input by a user is received.
Specifically, the prompt may be a pop-up prompt to prompt the user to repair the routing information, i.e., prompt the user to input a new password of the router after the router is changed. After the second electronic device receives the new password of the router input by the user, the second electronic device can connect the network by using the new password.
By utilizing the first identifier, the first electronic device can identify the reason that the second electronic device cannot be connected to the router, and can flexibly give corresponding route repair information according to the reason that the second electronic device cannot be connected to the router, so that the repair efficiency of the route information is improved.
In other embodiments, the user may also enter the SSID and password of the new router that is available, i.e., the routing information includes the SSID and password of the new router.
In the embodiment of the invention, the user can input the routing information by outputting the prompt information without the need of the user to carry out network distribution on the second electronic equipment again, so that the operation steps of the user are reduced, and the network connection efficiency is improved.
In some embodiments of the present invention, step 230 includes sending routing information to the second electronic device based on the network port of the second electronic device.
In an embodiment of the invention, the network port of the second electronic device is unique. After the first electronic device scans the target information broadcast by the second electronic device, the first electronic device and the second electronic device can establish connection through hot spots, Bluetooth and the like. Then, the first electronic device obtains a network port of the second electronic device, and sends the routing information to the second electronic device through the network port.
Through the network port based on the second electronic equipment, the routing information can be accurately sent to the second electronic equipment, and the network connection efficiency is improved.
Fig. 3 is a flowchart illustrating a network connection method according to another embodiment of the present invention.
As shown in fig. 3, if the second electronic device fails to connect to the network due to the inability to connect to the router, i.e. the second electronic device is disconnected from the network, the second electronic device sends out the hotspot information "jv-YgoUR 9Vj-v1-ap0f5 e-2".
After the user opens the preset application program, the first electronic device starts to automatically scan information broadcasted by the electronic devices in the preset area. When the first electronic device scans the hotspot information 'jv-YgouR 9Vj-v1-ap0f5 e-2' broadcast by the second electronic device, the first electronic device outputs a popup prompt message to prompt the user to repair the routing information.
The first electronic device receives routing information input by a user. And after the first electronic equipment is connected with the second electronic equipment, the received routing information is sent to the second electronic equipment. And the second electronic equipment monitors and acquires the routing information sent by the first electronic equipment and is connected with the network based on the routing information.
Fig. 4 shows a schematic structural diagram of a first electronic device according to an embodiment of the present invention. As shown in fig. 4, a first electronic device provided in an embodiment of the present invention includes:
the first input receiving module 410 is configured to receive a first input from a user.
And the target information acquiring module 420 is configured to acquire target information broadcast by the second electronic device in response to the first input.
A sending module 430, configured to send routing information to the second electronic device when the target information indicates that the second electronic device fails to connect to the router, so that the second electronic device connects to the network based on the routing information.
In the embodiment of the invention, when the second electronic device detects that the second electronic device cannot connect with the router and cannot connect with the network, the target information is broadcasted. And in the case that the first electronic device scans the target information of the broadcast of the second electronic device, sending the routing information to the second electronic device. After the second electronic device receives the new routing information, the second electronic device connects the network by using the routing information, so that the operation of the network distribution of a user is reduced, the routing information of the second electronic device can be automatically repaired, and the efficiency of the second electronic device in connecting the network is improved.
Optionally, in some embodiments of the present invention, referring to fig. 4, the first electronic device further includes:
and a prompt message output module 440, configured to output a prompt message to prompt the user to input routing information.
A routing information receiving module 450, configured to receive routing information input by a user.
Optionally, in some embodiments of the present invention, the sending module 430 includes:
and the routing information acquisition unit is used for acquiring the routing information accessed by the first electronic equipment.
And the routing information sending unit is used for sending the routing information to the second electronic equipment.
Optionally, in some embodiments of the present invention, the target information includes a first identifier indicating a reason why the second electronic device cannot connect to the network.
Optionally, in some embodiments of the present invention, the target information includes a second identifier, and the second identifier indicates a connection manner between the second electronic device and the first electronic device.
The first electronic device provided in the embodiment of the present invention can implement each process in the method embodiment applied to the first electronic device side, and is not described here again to avoid repetition.
Fig. 5 is a schematic diagram of a hardware structure of an electronic device 500 for implementing various embodiments of the present invention, where the electronic device 500 includes, but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, a processor 510, and a power supply 511. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 5 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a smart home device, a pedometer, and the like.
The user input unit 507 is configured to receive a first input from a user.
Wherein, the processor 510 is configured to, in response to the first input received by the user input unit 507, obtain target information broadcast by the second electronic device;
and sending routing information to the second electronic equipment to enable the second electronic equipment to be connected with a network based on the routing information under the condition that the target information indicates that the second electronic equipment is failed to be connected with the router.
In the embodiment of the invention, under the condition that the first electronic device acquires the target information of the broadcast of the second electronic device, which indicates that the second electronic device fails to be connected with the router, the routing information is sent to the second electronic device, so that the second electronic device receives the new routing information and then is connected with the network by using the routing information, thereby reducing the operation of a distribution network of a user, realizing the automatic repair of the routing information of the second electronic device and improving the efficiency of the second electronic device in connecting with the network.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 501 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 510; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 501 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 501 can also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 502, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 503 may convert audio data received by the radio frequency unit 501 or the network module 502 or stored in the memory 509 into an audio signal and output as sound. Also, the audio output unit 503 may also provide audio output related to a specific function performed by the electronic apparatus 500 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 503 includes a speaker, a buzzer, a receiver, and the like.
The input unit 504 is used to receive an audio or video signal. The input Unit 504 may include a Graphics Processing Unit (GPU) 5041 and a microphone 5042, and the Graphics processor 5041 processes image data of a still picture or video obtained by an image capturing device (such as a camera component) in a video capture mode or an image capture mode. The processed image frames may be displayed on the display unit 506. The image frames processed by the graphic processor 5041 may be stored in the memory 509 (or other storage medium) or transmitted via the radio frequency unit 501 or the network module 502. The microphone 5042 may receive sounds and may be capable of processing such sounds into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 501 in case of the phone call mode.
The electronic device 500 also includes at least one sensor 505, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 5061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 5061 and/or a backlight when the electronic device 500 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 505 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 506 is used to display information input by the user or information provided to the user. The Display unit 506 may include a Display panel 5061, and the Display panel 5061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 507 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 507 includes a touch panel 5071 and other input devices 5072. Touch panel 5071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 5071 using a finger, stylus, or any suitable object or attachment). The touch panel 5071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 510, and receives and executes commands sent by the processor 510. In addition, the touch panel 5071 may be implemented in various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 5071, the user input unit 507 may include other input devices 5072. In particular, other input devices 5072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 5071 may be overlaid on the display panel 5061, and when the touch panel 5071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 510 to determine the type of the touch event, and then the processor 510 provides a corresponding visual output on the display panel 5061 according to the type of the touch event. Although in fig. 5, the touch panel 5071 and the display panel 5061 are two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 5071 and the display panel 5061 may be integrated to implement the input and output functions of the electronic device, and is not limited herein.
The interface unit 508 is an interface for connecting an external device to the electronic apparatus 500. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 508 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the electronic apparatus 500 or may be used to transmit data between the electronic apparatus 500 and external devices.
The memory 509 may be used to store software programs as well as various data. The memory 509 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 509 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
The processor 510 is a control center of the electronic device, connects various parts of the whole electronic device by using various interfaces and lines, performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 509 and calling data stored in the memory 509, thereby performing overall monitoring of the electronic device. Processor 510 may include one or more processing units; preferably, the processor 510 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 510.
The electronic device 500 may further include a power supply 511 (e.g., a battery) for supplying power to various components, and preferably, the power supply 511 may be logically connected to the processor 510 via a power management system, so as to implement functions of managing charging, discharging, and power consumption via the power management system.
In addition, the electronic device 500 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides a first electronic device, further including a processor, a memory, and a computer program stored in the memory and capable of running on the processor, where the computer program, when executed by the processor, implements each process of the embodiment of the network connection method applied to the first electronic device side, and can achieve the same technical effect, and details are not described here to avoid repetition.
Preferably, an embodiment of the present invention further provides a second electronic device, further including a processor, a memory, and a computer program stored in the memory and capable of running on the processor, where the computer program, when executed by the processor, implements each process of the embodiment of the network connection method applied to the second electronic device side, and can achieve the same technical effect, and details are not described here to avoid repetition.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when executed by a processor, the computer program implements each process of the embodiment of the network connection method applied to the first electronic device side or the second electronic device side, and can achieve the same technical effect, and is not described herein again to avoid repetition. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (12)

1. A network connection method is applied to a first electronic device, and is characterized by comprising the following steps:
receiving a first input of a user;
responding to the first input, and acquiring target information broadcasted by the second electronic equipment;
and sending routing information to the second electronic equipment to enable the second electronic equipment to be connected with a network based on the routing information under the condition that the target information indicates that the second electronic equipment is failed to be connected with the router.
2. The method of claim 1, wherein before sending the routing information to the second electronic device, the method further comprises:
outputting prompt information to prompt the user to input the routing information;
receiving the routing information input by the user.
3. The method of claim 1, wherein sending routing information to the second electronic device comprises:
acquiring routing information accessed by the first electronic equipment;
and sending the routing information to the second electronic equipment.
4. The method of claim 1, wherein the target information comprises a first identifier indicating a reason why the second electronic device cannot connect to a network.
5. The method of claim 1, wherein the target information comprises a second identifier indicating a connection mode of the second electronic device and the first electronic device.
6. A first electronic device, characterized in that the device comprises:
the first input receiving module is used for receiving a first input of a user;
the target information acquisition module is used for responding to the first input and acquiring target information broadcasted by the second electronic equipment;
a sending module, configured to send routing information to the second electronic device when the target information indicates that the second electronic device fails to connect to the router, so that the second electronic device connects to the network based on the routing information.
7. The apparatus of claim 6, further comprising:
the prompt information output module is used for outputting prompt information to prompt the user to input the routing information;
and the routing information receiving module is used for receiving the routing information input by the user.
8. The apparatus of claim 6, wherein the sending module comprises:
a routing information obtaining unit, configured to obtain routing information accessed by the first electronic device;
and the routing information sending unit is used for sending the routing information to the second electronic equipment.
9. The device of claim 6, wherein the target information comprises a first identifier indicating a reason why the second electronic device cannot connect to a network.
10. The device of claim 6, wherein the target information comprises a second identifier indicating a connection mode of the second electronic device and the first electronic device.
11. A first electronic device, characterized in that the device comprises: a processor and a memory storing computer program instructions;
the processor, when executing the computer program instructions, implements the network connection method of any of claims 1-5.
12. A computer storage medium having computer program instructions stored thereon which, when executed by a processor, implement the network connection method of any one of claims 1-5.
CN202010124522.8A 2020-02-27 2020-02-27 Network connection method, first electronic device, and medium Pending CN111343695A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010124522.8A CN111343695A (en) 2020-02-27 2020-02-27 Network connection method, first electronic device, and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010124522.8A CN111343695A (en) 2020-02-27 2020-02-27 Network connection method, first electronic device, and medium

Publications (1)

Publication Number Publication Date
CN111343695A true CN111343695A (en) 2020-06-26

Family

ID=71185712

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010124522.8A Pending CN111343695A (en) 2020-02-27 2020-02-27 Network connection method, first electronic device, and medium

Country Status (1)

Country Link
CN (1) CN111343695A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113746909A (en) * 2021-08-25 2021-12-03 深圳Tcl新技术有限公司 Network connection method, device, electronic equipment and computer readable storage medium
CN115842769A (en) * 2021-08-24 2023-03-24 青岛海尔科技有限公司 Information updating method and device, storage medium and electronic device
CN116095673A (en) * 2021-11-05 2023-05-09 华为技术有限公司 Communication system, network repair method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107205258A (en) * 2017-05-11 2017-09-26 广东美的制冷设备有限公司 Wireless network configuration method, device and system
CN110798493A (en) * 2018-08-02 2020-02-14 青岛经济技术开发区海尔热水器有限公司 Network configuration method, device, terminal equipment and storage medium
CN110831245A (en) * 2019-11-01 2020-02-21 北京首钢自动化信息技术有限公司 Network connection method, device and router

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107205258A (en) * 2017-05-11 2017-09-26 广东美的制冷设备有限公司 Wireless network configuration method, device and system
CN110798493A (en) * 2018-08-02 2020-02-14 青岛经济技术开发区海尔热水器有限公司 Network configuration method, device, terminal equipment and storage medium
CN110831245A (en) * 2019-11-01 2020-02-21 北京首钢自动化信息技术有限公司 Network connection method, device and router

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115842769A (en) * 2021-08-24 2023-03-24 青岛海尔科技有限公司 Information updating method and device, storage medium and electronic device
CN113746909A (en) * 2021-08-25 2021-12-03 深圳Tcl新技术有限公司 Network connection method, device, electronic equipment and computer readable storage medium
CN116095673A (en) * 2021-11-05 2023-05-09 华为技术有限公司 Communication system, network repair method and device
WO2023078214A1 (en) * 2021-11-05 2023-05-11 华为技术有限公司 Communication system, network repair method, and device

Similar Documents

Publication Publication Date Title
CN109462668B (en) Method and device for processing domain name resolution request
KR102441850B1 (en) Service processing method and mobile communication terminal
CN109379735B (en) eSIM card operation method, mobile terminal and eSIM card device
CN111343695A (en) Network connection method, first electronic device, and medium
CN108668328B (en) Network switching method and mobile terminal
CN110187808B (en) Dynamic wallpaper setting method and device and computer-readable storage medium
CN110913455B (en) Method for forbidding abnormal cell, electronic equipment and server
CN108924911B (en) Method and device for starting wifi hotspot sharing network
CN110022551B (en) Information interaction method and terminal equipment
CN108419283B (en) WIFI hotspot scanning method and mobile terminal
CN111414097A (en) Interaction method, interaction system and display equipment
CN111148081A (en) Information interaction method and electronic equipment
CN108093119B (en) Strange incoming call number marking method and mobile terminal
CN111556552B (en) Data transmission method and electronic equipment
CN111615216B (en) Random access method and terminal
CN108845821B (en) Application program updating method, terminal and computer readable storage medium
CN109219039B (en) eSIM card operation method, mobile terminal and eSIM card device
CN109257739B (en) eSIM card operation method, mobile terminal and eSIM card device
CN109089258B (en) eSIM card operation method, mobile terminal and eSIM card device
CN108811177B (en) Communication method and terminal
CN113543267A (en) Method for determining side link SL relay node, SL relay node and terminal
CN108541003B (en) VoWiFi call control method and device
CN108955641B (en) Depth camera shooting method, depth camera shooting equipment and mobile terminal
CN111246528A (en) Network switching method and electronic equipment
CN108183833B (en) Response processing method and device and computer readable storage medium

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200626