CN117615467A - Electronic device and network connection method of electronic device - Google Patents

Electronic device and network connection method of electronic device Download PDF

Info

Publication number
CN117615467A
CN117615467A CN202310384124.3A CN202310384124A CN117615467A CN 117615467 A CN117615467 A CN 117615467A CN 202310384124 A CN202310384124 A CN 202310384124A CN 117615467 A CN117615467 A CN 117615467A
Authority
CN
China
Prior art keywords
wireless network
network
alternative
television
electronic device
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
CN202310384124.3A
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.)
Hisense Visual Technology Co Ltd
Original Assignee
Hisense Visual Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hisense Visual Technology Co Ltd filed Critical Hisense Visual Technology Co Ltd
Priority to CN202310384124.3A priority Critical patent/CN117615467A/en
Publication of CN117615467A publication Critical patent/CN117615467A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • 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/15Setup of multiple wireless link connections

Landscapes

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

Abstract

The application provides electronic equipment and a network connection method of the electronic equipment, relates to the technical field of wireless communication, and can improve the network connection stability of the electronic equipment so as to improve the network experience of a user; the specific scheme is as follows: the electronic equipment acquires at least one piece of wireless network information and determines a network to be connected in the at least one piece of wireless network information; in the case where the network to be connected includes a first wireless network and a second wireless network, the electronic device further determines an alternative wireless network based on the first wireless network and the second wireless network; and connecting the target wireless network under the condition that the signal quality of the alternative wireless network is lower than the first preset signal quality. The wireless network names of the first wireless network and the second wireless network are the same, and the frequency bands of the first wireless network and the second wireless network are different; the target wireless network is a wireless network with different frequency bands from those of the alternative wireless network in the network to be connected.

Description

Electronic device and network connection method of electronic device
Technical Field
The present disclosure relates to the field of wireless communications technologies, and in particular, to an electronic device and a network connection method for the electronic device.
Background
The intelligent television is a television product which realizes a bidirectional man-machine interaction function based on an Internet (Internet) application technology. The intelligent television is provided with an open operating system and a chip and an open application platform. In the use process, a user can connect the intelligent television with the dual-frequency integrated router to realize the link between the intelligent television and the Internet. The working frequency band of the dual-frequency integrated router comprises a 2.4G frequency band and a 5G frequency band.
At present, an Android system is generally mounted on an intelligent television, and when a router with a dual-band integrated function is connected, the intelligent television can preferentially select a wireless network connected with a 5G frequency band through the Android system. However, the wall-penetrating capability of the wireless network in the 5G frequency band is poor, so when the intelligent television and the router are not in the same room, that is, the wireless network of the router needs to penetrate the wall and transmit data with the intelligent television, the wireless network in the 5G frequency band has the condition of unstable network, and thus the problem of blocking when a user watches an online video is caused, and the network experience of the user is affected.
Disclosure of Invention
In order to solve the technical problems, the application provides electronic equipment and a network connection method of the electronic equipment, which are used for improving the network connection stability of an intelligent television so as to improve the network experience of a user.
The technical scheme of the application is as follows:
in a first aspect, the present application provides an electronic device, comprising:
the communicator is configured to receive an operation instruction input by a user;
a controller coupled to the communicator and configured to: acquiring at least one piece of wireless network information; the wireless network information includes a wireless network name; determining a network to be connected in at least one wireless network information; in the case where the network to be connected includes a first wireless network and a second wireless network, determining an alternative wireless network based on the first wireless network and the second wireless network; the wireless network names of the first wireless network and the second wireless network are the same, and the frequency bands of the first wireless network and the second wireless network are different; connecting the target wireless network under the condition that the signal quality of the alternative wireless network is lower than the first preset signal quality; the target wireless network is a wireless network with different frequency bands from those of the alternative wireless network in the network to be connected.
With reference to the first aspect and the foregoing possible implementation manners, in another possible implementation manner, the controller is specifically configured to: and determining the wireless network with the same frequency band as the preset frequency band in the first wireless network and the second wireless network as an alternative wireless network based on the frequency band of the first wireless network and the frequency band of the second wireless network.
With reference to the first aspect and the foregoing possible implementation manners, in another possible implementation manner, a frequency band of the alternative wireless network includes 5GHz, and a frequency band of the target wireless network includes 2.4GHz.
With reference to the first aspect and the foregoing possible implementation manners, in another possible implementation manner, the operation instruction includes a selection instruction, where the selection instruction is used to select a network to be connected; the controller is specifically configured to: in response to the selection instruction, a network to be connected is determined in the at least one wireless network information.
With reference to the first aspect and the foregoing possible implementation manners, in another possible implementation manner, the controller is specifically configured to: and determining the network which is the same as the historical network connection information in the at least one wireless network information as the network to be connected according to the historical network connection information.
With reference to the first aspect and the foregoing possible implementation manners, in another possible implementation manner, the controller is further configured to: and connecting the alternative wireless network under the condition that the connection failure times of the target wireless network are larger than or equal to the preset times.
With reference to the first aspect and the foregoing possible implementation manners, in another possible implementation manner, the controller is further configured to: connecting the alternative wireless network under the condition that the signal quality of the alternative wireless network is higher than the second preset signal quality; wherein the second preset signal quality is higher than or equal to the first preset signal quality.
In a second aspect, the present application provides a network connection method of an electronic device, where the method includes: acquiring at least one piece of wireless network information; the wireless network information includes a wireless network name; determining a network to be connected in at least one wireless network information; in the case where the network to be connected includes a first wireless network and a second wireless network, determining an alternative wireless network based on the first wireless network and the second wireless network; the wireless network names of the first wireless network and the second wireless network are the same, and the frequency bands of the first wireless network and the second wireless network are different; connecting the target wireless network under the condition that the signal quality of the alternative wireless network is lower than the first preset signal quality; the target wireless network is a wireless network with different frequency bands from those of the alternative wireless network in the network to be connected.
With reference to the second aspect and the foregoing possible implementation manners, in another possible implementation manner, determining an alternative wireless network based on the first wireless network and the second wireless network includes: and determining the wireless network with the same frequency band as the preset frequency band in the first wireless network and the second wireless network as an alternative wireless network based on the frequency band of the first wireless network and the frequency band of the second wireless network.
With reference to the second aspect and the foregoing possible implementation manners, in another possible implementation manner, a frequency band of the alternative wireless network includes 5GHz, and a frequency band of the target wireless network includes 2.4GHz.
In a third aspect, the present application provides an electronic device, comprising: a memory and a processor, the memory for storing a computer program; the processor is configured to cause the electronic device to implement the network connection method of the electronic device as any one of the first aspects provides when executing the computer program.
In a fourth aspect, the present application provides a computer-readable storage medium comprising: a computer-readable storage medium has stored thereon a computer program that is executed by a processor to perform the network connection method of an electronic device as any one of the first aspects provides.
In a fifth aspect, the present application provides a computer program product for, when run on a computer, causing the computer to perform the network connection method of an electronic device as any one of the first aspects is provided.
The embodiment of the application provides an electronic device and a network connection method of the electronic device, wherein the network connection method of the electronic device comprises the following steps: acquiring at least one piece of wireless network information, and determining a network to be connected in the at least one piece of wireless network information; in the case where the network to be connected includes a first wireless network and a second wireless network, the electronic device further determines an alternative wireless network based on the first wireless network and the second wireless network; and connecting the target wireless network under the condition that the signal quality of the alternative wireless network is lower than the first preset signal quality. The wireless network names of the first wireless network and the second wireless network are the same, and the frequency bands of the first wireless network and the second wireless network are different; the target wireless network is a wireless network with different frequency bands from those of the alternative wireless network in the network to be connected. Therefore, after the electronic equipment determines the alternative wireless network, if the signal quality of the alternative wireless network cannot meet the requirement, the wireless network with different frequency bands from the frequency band of the alternative wireless network in the network to be connected is connected, so that the network connection stability of the electronic equipment can be improved, and the network experience of a user is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required to be used in the description of the embodiments or the prior art will be briefly described below, and it will be obvious to those skilled in the art that other drawings can be obtained from these drawings without inventive effort.
Fig. 1 is a schematic flow chart of a television connected to a wireless network in a related scheme provided in an embodiment of the present application;
fig. 2 is an operation scenario schematic diagram of a network connection method of an electronic device according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a control device according to an embodiment of the present application;
fig. 4 is a schematic hardware structure of an electronic device according to an embodiment of the present application;
fig. 5 is a schematic software structure of an electronic device according to an embodiment of the present application;
fig. 6 is a schematic flow chart of a network connection method of an electronic device according to an embodiment of the present application;
Fig. 7 is a schematic flow chart of a television connected to a wireless network according to an embodiment of the present application;
fig. 8 is a schematic diagram of wall-penetrating capability of a wireless network with different frequency bands according to an embodiment of the present application;
fig. 9 is a schematic diagram of an experimental scenario for counting signal quality of wireless networks with different frequency bands according to an embodiment of the present application;
fig. 10 is a second flowchart of a network connection method of an electronic device according to an embodiment of the present application;
fig. 11 is a third flowchart of a network connection method of an electronic device according to an embodiment of the present application;
fig. 12 is a flowchart of a network connection method under a connection timeout condition according to an embodiment of the present application;
fig. 13 is a flowchart of another network connection method of an electronic device according to an embodiment of the present application;
fig. 14 is a schematic diagram of a display device according to an embodiment of the present application;
fig. 15 is a schematic structural diagram of a chip system according to an embodiment of the present application.
Detailed Description
For purposes of clarity and implementation of the present application, the following description will make clear and complete descriptions of exemplary implementations of the present application with reference to the accompanying drawings in which exemplary implementations of the present application are illustrated, it being apparent that the exemplary implementations described are only some, but not all, of the examples of the present application.
It should be noted that the brief description of the terms in the present application is only for convenience in understanding the embodiments described below, and is not intended to limit the embodiments of the present application. Unless otherwise indicated, these terms should be construed in their ordinary and customary meaning.
The terms "first," second, "" third and the like in the description and in the claims and in the above-described figures are used for distinguishing between similar or similar objects or entities and not necessarily for limiting a particular order or sequence, unless otherwise indicated. It is to be understood that the terms so used are interchangeable under appropriate circumstances.
The terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a product or apparatus that comprises a list of elements is not necessarily limited to all elements explicitly listed, but may include other elements not expressly listed or inherent to such product or apparatus.
The term "and/or" in this application is merely an association relation describing an associated object, and indicates that three relations may exist, for example, a and/or B may indicate: a exists alone, A and B exist together, and B exists alone. In this application, the character "/" generally indicates that the associated object is an or relationship.
With the development of intelligent science and technology and industry, users have higher requirements on viewing experience in the use process of electronic equipment (such as a television). Currently, when a television is connected to a single-frequency router, since the wireless network (WiFi) speed is mainly determined by the network speed upstream of the router and the hardware capability of the WiFi chip, the network experience is not greatly different among the televisions. However, when the dual-band router is connected, because the houses of some families are relatively large and the rooms are relatively many, the television and the router may not be in the same room, and the android system installed on the television can preferentially select a wireless network with a 5GHz frequency band, and the 5G wireless network behind the partition wall is unstable, so that a user can have some network experience problems such as blocking when watching online videos by using the wireless network.
The specific process of selecting and connecting the wireless network by the television in the related scheme is described by way of example with reference to the flow chart of connecting the wireless network by the television provided in the related scheme shown in fig. 1.
Firstly, a user selects a wireless network to be connected on a menu interface on a television, and inputs a corresponding password, at this time, the television transmits a wireless network name (SSID), the password and an encryption mode (WPA 2 or WPA 3) selected by the user to an application framework (framework) layer of an android system, and then the framework layer calls an adaptation (supplicant) layer, and the supplicant layer preferentially selects a wireless network with a frequency band of 5GHz in the wireless network to connect according to factors such as signal-to-noise ratio, throughput and the like through a strategy configured in the supplicant layer.
It can be known that the wall penetrating capacity of the wireless network in the 5GHz band is lower than that of the wireless network in the 2.4GHz band, and the network stability of the wireless network in the 5GHz band is poor under the condition that a wall exists between a router and a television, and the supplicant layer preferentially selects the wireless network in the 5GHz band in the wireless network for connection, so that the problem of blocking exists when a user watches an online video through the television, and the network experience of the user is affected.
In view of the above problems, embodiments of the present application provide a network connection method of an electronic device and an electronic device, where the method may obtain at least one wireless network information after obtaining an operation instruction input by a user, and determine a network to be connected in the at least one wireless network information; then, in the case that the network to be connected comprises a first wireless network and a second wireless network, determining an alternative wireless network based on the first wireless network and the second wireless network; and connecting the target wireless network under the condition that the signal quality of the alternative wireless network is lower than the first preset signal quality. The target wireless network is a wireless network with different frequency bands from those of the alternative wireless network in the network to be connected. Therefore, after the electronic equipment determines the alternative wireless network, if the signal quality of the alternative wireless network cannot meet the requirement, the wireless network with different frequency bands from the frequency band of the alternative wireless network in the network to be connected is connected, so that the network connection stability of the electronic equipment can be improved, and the network experience of a user is improved.
The network connection method of the electronic device provided in the embodiment of the present application is described below. The electronic device provided in the embodiment of the application may have various implementation forms, for example, may be a display device with a display, such as a television, a smart television, a laser projection device, an electronic whiteboard (electronic bulletin board), an electronic desktop (electronic table), and the like. The embodiment of the present application does not limit the specific form of the electronic device herein. In the embodiment of the application, the electronic device is taken as a television set as an example for schematic description. Fig. 2 and 3 are specific embodiments of a display device of the present application.
Fig. 2 is a schematic diagram of an operation scenario between an electronic device and a control apparatus according to an embodiment. As shown in fig. 2, a user may operate the television 300 through the smart device 400 or the control apparatus 200.
In some embodiments, the control device 200 may be a remote control, and the communication between the remote control and the television 300 includes infrared protocol communication, and other short-range communication modes, and the television 300 is controlled by a wireless or wired mode. The user may control the television 300 by inputting user instructions through keys on a remote control, voice input, control panel input, etc.
In some embodiments, the user may also control the television 300 using a smart device 400 (e.g., mobile terminal, tablet, computer, notebook, etc.). For example, the television 300 is controlled using an application running on a smart device.
In some embodiments, the television 300 may not receive instructions from the above-described smart device 400 or the control apparatus 200, but receive control of the user through touch or gesture, or the like.
In some embodiments, the television 300 may further perform control in a manner other than the control apparatus 200 and the smart device 400, for example, the module configured inside the television 300 device for obtaining the voice command may directly receive the voice command control of the user, or the voice command control of the user may also be received through a voice control device set outside the television 300 device.
In some embodiments, the television 300 is also in data communication with a server 500. Television 300 may be permitted to communicate via a local area network (Local Area Network, LAN), a wireless local area network (Wireless Local Area Networks, WLAN) and other networks. The server 500 may provide various content and interactions (e.g., audio-video data, network connection data) to the television 300. The server 500 may be a cluster or multiple clusters, and may include one or more types of servers.
Fig. 3 is a block diagram illustrating a configuration of a control apparatus 200 in the embodiment of the present application. As shown in fig. 3, the control device 200 includes a controller 210, a communication interface 220, a user input/output interface 230, a memory, and a power supply. The control device 200 may receive an input operation command from a user, and convert the operation command into a command recognizable and responsive to the television 300, and may mediate interactions between the user and the television 300.
Fig. 4 is a schematic structural diagram of a television according to an embodiment of the present application.
As shown in fig. 4, the television 300 includes at least one of a modem 310, a communicator 320, a detector 330, an external device interface 340, a controller 350, a display 360, an audio output interface 370, a memory, a power supply, and a user interface 380.
In some embodiments, the controller 350 includes: a central processing unit (Central Processing Unit, CPU), a video processor, an audio processor, a graphics processor (Graphics Processing Unit, GPU), a random access Memory (Random Access Memory, RAM), a Read-Only Memory (ROM), at least one of a first interface to an nth interface for input/output, a communication Bus (Bus), and the like.
The display 360 includes a display screen component for presenting a picture, and a driving component for driving image display, a component for receiving an image signal outputted from the controller 350, displaying video content, image content, and a menu manipulation Interface, and a user manipulation User Interface (UI).
The display 360 may be a liquid crystal display, an Organic Light-Emitting Diode (OLED) display, a projection device, and a projection screen.
The communicator 320 is a component for communicating with external devices according to various communication protocol types. For example: the communicator 320 may comprise at least one of a wireless network communication technology WiFi module, a bluetooth module, a wired ethernet module, or other network communication protocol chip or a near field communication protocol chip, and an infrared module (e.g., an infrared receiver and an infrared transmitter). The television 300 may establish a connection with the control device 200 through the communicator 320 to transmit and receive information (e.g., control signals and data signals).
The user interface 380 is operable to receive control signals from the control device 200.
The detector 330 is used to collect signals of the external environment or interaction with the outside. For example, the detector 330 includes a light receiver, a sensor for collecting the intensity of ambient light; alternatively, the detector 330 includes an image collector such as a camera, which may be used to collect external environmental scenes, attributes of a user, or user interaction gestures, or alternatively, the detector 330 includes a sound collector such as a microphone, etc. for receiving external sounds.
The external device interface 340 may include, but is not limited to, the following: high definition multimedia interface (High Definition Multimedia Interface, HDMI), analog or data high definition component input interface (which may be referred to as a component), composite video input interface CVBS, universal serial bus (Universal Serial Bus, USB) input interface (which may be referred to as a USB port), and the like. The input/output interface may be a composite input/output interface formed by a plurality of interfaces.
The modem 310 receives broadcast television signals through a wired or wireless reception manner and demodulates an audio-video signal, such as an EPG data signal, from a plurality of wireless or wired broadcast television signals.
In some embodiments, the controller 350 and the modem 310 may be located in separate devices, i.e., the modem 310 may also be located in an external device to the host device in which the controller 350 is located, such as an external set-top box or the like.
The controller 350 controls the operation of the television 300 and responds to the user's operations by various software control programs stored on the memory. The controller 350 controls the overall operation of the television 300. For example: the controller 350 acquires at least one wireless network information in response to a wireless network connection instruction input by a user, and controls the display 360 to display the at least one wireless network information while connecting a wireless network to be connected.
The user may input user commands through a user interface UI displayed on the display 360, and the user input interface receives the user input commands through the user interface UI.
A "user interface UI" is a media interface for interaction and exchange of information between an application or operating system and a user, which enables conversion between an internal form of information and a user-acceptable form. A commonly used presentation form of the user interface is a graphical user interface (Graphic User Interface, GUI), which refers to a user interface related to computer operations that is displayed in a graphical manner. It may be an interface element such as an icon, a window, a control, etc. displayed in the display screen of the television 300, where the control may include a visual interface element such as an icon, a button, a menu, a tab, a text box, a dialog box, a status bar, a navigation bar, a Widget, etc.
In some embodiments, fig. 5 is a schematic software system diagram of an electronic device provided in the present application, and in some embodiments, the system is divided into four layers, namely, an application layer (abbreviated as "application layer"), an application framework layer (Application Framework) layer (abbreviated as "framework layer"), an Android run layer (abbreviated as "system runtime layer"), and a kernel layer from top to bottom.
In some embodiments, at least one application program is running in the application program layer, and these application programs may be a Window (Window) program of an operating system, a system setting program, a clock program, or the like; or may be an application developed by a third party developer. In particular implementations, applications in the application layer include, but are not limited to, the examples above. The application layer illustratively includes a wireless network connection application that can implement intelligent interactions through a connection of a wireless network, thereby enabling the electronic device to establish a connection with the wireless network. The electronic device may connect to the wireless network in response to an operation instruction from a user to connect to the wireless network. The operation of connecting the wireless network can be touch operation, voice operation or control instruction of a remote controller.
The framework layer provides an application programming interface (application programming interface, API) and programming framework for the application. The application framework layer includes a number of predefined functions. The application framework layer corresponds to a processing center that decides to let the applications in the application layer act. Through the API interface, the application program can access the resources in the system and acquire the services of the system in the execution. The application framework layer includes a system Service (Service), which may be configured to receive an operation instruction for connecting to a wireless network sent by the wireless network connection application, and after receiving the operation instruction for connecting to a wireless network, invoke a display driver to display at least one piece of acquired wireless network information through a display, where Service may be responsible for controlling an entire flow of use of the wireless network connection application.
After the system service acquires the at least one piece of wireless network information, the system service sends the at least one piece of wireless network information to a display driver corresponding to the display, and after the display driver acquires the at least one piece of wireless network information, the display is mobilized to display the at least one piece of wireless network information.
In some embodiments, the system runtime layer provides support for the upper layer, the framework layer, and when the framework layer is in use, the android operating system runs the C/C++ libraries contained in the system runtime layer to implement the functions to be implemented by the framework layer.
In some embodiments, the kernel layer is a layer between hardware and software. The kernel layer contains at least one of the following drivers: bluetooth drive, camera drive, wiFi drive, USB drive, HDMI drive, sensor drive (such as fingerprint sensor, temperature sensor, pressure sensor, etc.), MIC drive, power supply drive, display drive corresponding to the display, and audio drive corresponding to the speaker, etc. The display driver corresponding to the display may call an interface of the display to obtain at least one wireless network information, or call the interface of the display to set the display.
And the display can be used for sampling the voice of the user and acquiring sampling data. The sound collector can also be used for sending the sampled data to the dialogue service through the display drive corresponding to the sound collector. The sound collector can also be used for setting the sensitivity of the sound collector according to the display driving instruction corresponding to the sound collector.
Based on the electronic device having the above hardware structure or software structure, the embodiments of the present application provide a network connection method that may be implemented in the electronic device having the above hardware structure or software structure. In the following embodiments, the network connection method provided in the embodiments of the present application will be described by taking the electronic device as an example of the television 300.
The embodiment of the application provides a network connection method of an electronic device, as shown in fig. 6, the network connection method of the electronic device may include S501-S505.
S501, the television 300 receives an operation instruction input by a user.
The user may input an operation requesting connection to the wireless network to the control apparatus 200. The operation may be, for example, a pressing operation of at least one key in the remote controller by the user, or a voice operation of the television 300 by the user. The control device 200 receives and responds to the operation, generates an instruction to connect to the wireless network, and transmits the instruction to the television 300. The television 300 may receive the instruction sent by the control device 200 in the on state.
In some embodiments, if the wireless network connection function of the television 300 is turned on, S501 is not required to be executed.
It should be noted that, in the embodiment of the present application, the television 300 obtains the wireless network information through the router, and is connected to the wireless network through the router. The embodiment of the application does not limit the frequency band quantity and the frequency band type of a plurality of wireless network frequency bands supported by the router, and with the development of wireless network technology, the router can support wireless networks with more quantity or more frequency bands in future. The following embodiments are exemplified by the router supporting two frequency bands, including the 5GHz and 2.4GHz bands, i.e., the first wireless network has a frequency band of 2.4GHz and the second wireless network has a frequency band of 5GHz.
S502, the television 300 acquires at least one piece of wireless network information; wherein the wireless network information includes a wireless network name.
The television 300 obtains at least one wireless network information based on the instruction of the operation instruction in response to the operation instruction received in S501, or obtains at least one wireless network information based on the history network connection information in a state where the wireless network connection function is turned on after the television 300 is turned on.
In some embodiments, the television 300 may be scanned to obtain at least one wireless network information. Wherein each wireless network information includes a wireless network name, which may be a service set identifier (Service Set Identifier, SSID), i.e., each wireless network information corresponds to a router.
Illustratively, after the television 300 opens the wireless network connection function through the ClientModeImpl class, the ScanRequestProxy class may be invoked to obtain the SSID of each router, thereby obtaining at least one wireless network information.
In some embodiments, the wireless network connection function may be turned on or off manually based on an operation instruction input by a user, or may be turned on or off automatically based on the on/off of the television 300. Such as: after the television 300 is turned on, the WiFi connection function is automatically turned on.
Illustratively, the operation instruction includes an on instruction for requesting the television 300 to start the wireless network connection function, and after the television 300 starts the wireless network connection function in response to the on instruction, the television 300 will execute S502 to acquire at least one wireless network information.
S503, the television 300 determines a network to be connected in at least one wireless network information.
After the television 300 obtains the at least one wireless network information, the controller 350 in the television may be controlled to determine the network to be connected from the at least one wireless network information according to the operation instruction or the historical network connection information.
In some embodiments, the network to be connected refers to a wireless network having the same wireless network information as the preset wireless network information. Wherein, the preset wireless network information may be determined based on an operation instruction input by a user, or the preset wireless network information may be determined based on historical network connection information.
For example, the television 300 compares the preset wireless network information with each of the at least one wireless network information, and if the wireless network name in the wireless network information 1 is the same as the wireless network name in the wireless network information selected by the user, the wireless network corresponding to the wireless network information 1 is the network to be connected.
In some embodiments, the operation instructions include selection instructions for selecting a network to be connected; the controller is specifically configured to: the television 300 determines a network to be connected among at least one wireless network information in response to the selection instruction.
Illustratively, when a user presses at least one key in the remote controller to select one of the wireless network information from the at least one wireless network information to input a selection instruction to the television 300, after the television 300 executes S501 to obtain the selection instruction, S502 and S503 are executed to determine a network to be connected from the at least one wireless network information according to the wireless network information corresponding to the selection instruction.
In some embodiments, the television 300 determines a network of the at least one wireless network information that is the same as the historical network connection information as the network to be connected according to the historical network connection information.
Illustratively, after the television 300 is turned on, in a case where the wireless network connection function is turned on, S502 is performed to acquire at least one wireless network information, and S503 is performed to determine a network to be connected from the at least one wireless network information.
In some embodiments, the network to be connected may be one or more. In the case that there is only one network to be connected, if the network to be connected comes from the single-frequency router, the television 300 calls the supper layer, and is connected with the network to be connected based on a first policy in the supper layer; if the network to be connected is from the dual-band unified router, the television 300 invokes the frame layer, and performs S505 and S506 based on the second policy in the frame layer, so as to select the wireless network to be connected and connect.
If the plurality of networks to be connected are all from the single-frequency router, the television 3 calls a supplicant layer, and selects the network to be connected from the plurality of networks to be connected according to the signal quality (such as signal to noise ratio and throughput) of the wireless network based on a first strategy in the supplicant layer; if the to-be-connected network 1 exists in the plurality of to-be-connected networks, the to-be-connected network 1 is from the dual-frequency integrated router, the television 3 invokes the frame layer, and executes S505 or S506 based on the second policy in the frame layer, so as to select the wireless network to be connected and connect. The first policy is a native policy of the supplicant layer in the prior art, and this embodiment is not described herein again.
As shown in fig. 7, after the tv set 300 performs S502 and S503, the application layer of the software system of the tv set 300 issues the wireless network name (e.g., SSID), password, and encryption (e.g., WPA2 or WPA 3) to the frame layer, and the tv set 300 performs S504, i.e., the tv set 300 determines whether each network to be connected is from the dual-band one router through the frame layer. If the networks to be connected are all from the single-frequency router, the framework layer calls a supper layer, and the supper layer selects a wireless network to be connected from a plurality of networks to be selected based on a first strategy according to factors such as signal-to-noise ratio and throughput of the wireless network; if the to-be-connected network from the dual-frequency integrated router exists in the to-be-connected network, the frame work layer selects the wireless network to be connected from the wireless networks with different frequency bands in the to-be-connected network according to the signal strength of the wireless network based on a second strategy.
In some embodiments, the second policy in the frame work layer supports two cases: the television 300 performs S502 to S506 based on the history network connection information, and the television 300 performs S502 to S506 in response to an operation instruction input by the user.
Illustratively, when the television 300 executes S502-S506 in response to the operation instruction, the second policy in the frame layer includes: the application layer calls the Connect method of the WiFi main service (WiFi servicel) through the Connect method of the WiFi manager (WiFi manager) to start the WiFi servicel. Then, the update beforeconnect and enableNetwork methods of the wificonfigmanaager are called by the connectitonetwork method of the connectihelter to enable WiFi, i.e., to turn on the wireless network connection function of the television 300. After the wireless NETWORK connection function of the television 300 is turned on, the frame layer scans routers within a scanning range by a connectinetwork method of a connectieclievent Modem manager class to obtain at least one wireless NETWORK information, and sends a message CMD_CONNECT_NETWORK to a clientModeSimpl class to call a connectiToUserSelectnetwork method in the clientModeSimpl class. And determining a network to be connected according to the wireless network information selected by the user by a connectiToUserSelectnetwork method, and selecting a wireless network to be connected from the wireless networks of at least two frequency bands under the condition that the network to be connected comprises the wireless networks of at least two frequency bands. Finally, the method is connected with the selected wireless network needing to be connected by calling the StartConnectToNetwork method of the ClientModeSimpl class.
When the network to be connected only comprises wireless networks with the same frequency band, the frame layer sets a basic service set identifier (Basic Service Set Identifier, BSSID) of the network to be connected to be null, and carries the BSSID set to be null to the CMD_START_CONNECT to be sent to the connectiToNetwork, so that the frame layer calls a connectiToNetwork method in the WiFiNative class and a connectToNetwork, addNetworkAndSaveConfig, addNetwork method in the supplicantStaifanceHal to realize communication with the Supplicant layer. After the framework layer establishes communication with the Supplicant layer, the Supplicant layer selects a wireless network to be connected through a selection method in Supplicant staifancehal, after the network to be connected is selected, a setb ssid method in Supplicant stanetworkhal class is called, and the wireless network to be connected is selected to reset the BSSID set to be empty according to the selected wireless network to be connected, and then the Supplicant layer is connected with the wireless network to be connected according to the set BSSID.
In the startconnectittonetwork method, the frame layer defaults the BSSID to any value, so that when the application layer issues the BSSID to the frame layer, the frame layer will not connect to the wireless network according to the BSSID.
When the television 300 performs S502-S506 based on the historical network connection information, the second policy in the frame work layer further includes: the application layer calls a Connect method of a main service (WiFiServiceI) of the WIFI through a Connect method of a WiFi manager (WiFiManager) to start the WiFiServiceI, and then records connected wireless network information (such as a wireless network name and a password) into a WiFiConfigStore.xml file through an addOrUpdatanetwork method of the WiFiConfigManager class to generate historical connection network information; after the television 300 is turned on, if the wifiservicel is started, the WiFiConnectivityManager class will call the startconnectitonetwork method of the ClientModeImpl class through the historical connection network information recorded in the wificonnectigstore.
S504, in a case where the network to be connected includes the first wireless network and the second wireless network, the television 300 determines an alternative wireless network based on the first wireless network and the second wireless network. The wireless network names of the first wireless network and the second wireless network are the same, and the frequency bands of the first wireless network and the second wireless network are different.
After the television 300 determines the network to be connected, it determines whether the network to be connected includes the first wireless network and the second wireless network, and determines an alternative wireless network from the first wireless network and the second wireless network in the case where the network to be connected includes the first wireless network and the second wireless network. The wireless network names of the first wireless network and the second wireless network are the same, and the frequency bands of the first wireless network and the second wireless network are different.
For example, the wireless network names of the first wireless network and the second wireless network are network 1, but the frequency band of the first wireless network is 5GHz, and the frequency band of the second wireless network is 2.4GHz.
In some embodiments, since the dual-band unification function of the router can set the wireless network names, passwords, encryption modes and the like of the wireless networks of the frequency bands supported by the router to be the same, if the network to be connected does not include the first wireless network and the second wireless network, the network to be connected comes from the single-band router; if the network to be connected comprises a first wireless network and a second wireless network, the network to be connected comes from the dual-frequency integrated router.
Further, the step S504 may include: and determining the wireless network with the same frequency band as the preset frequency band in the first wireless network and the second wireless network as an alternative wireless network based on the frequency band of the first wireless network and the frequency band of the second wireless network.
The television 300 determines an alternative wireless network according to the preset frequency band, and the frequency band of the first wireless network and the frequency band of the second wireless network, and determines a wireless network with the same frequency band as the preset frequency band in the first wireless network and the second wireless network as the alternative wireless network.
In some embodiments, the television 300 detects a frequency band of the first wireless network, and determines that the first wireless network is an alternative wireless network if the frequency band of the first wireless network is the same as the preset frequency band; if the frequency band of the first wireless network is different from the preset frequency band, the second wireless network is determined to be an alternative wireless network.
For example, if the preset frequency band is set to be 5GHz, the television 300 detects the frequency band of the first wireless network, and determines that the frequency band of the first wireless network is 2.4GHz, then the second wireless network is determined to be an alternative wireless network.
In some embodiments, after the television 300 determines the alternative wireless network, S505 is performed. If the frequency band of the first wireless network and the frequency band of the second wireless network are different from the preset frequency band, the television 300 sends out error reporting information and displays the error reporting information through a display.
S505, the television 300 is connected with the target wireless network under the condition that the signal quality of the alternative wireless network is lower than the first preset signal quality; the target wireless network is a wireless network with different frequency bands from those of the alternative wireless network in the network to be connected.
After determining the alternative wireless network, the television 300 determines whether the signal quality of the alternative wireless network is lower than a first preset signal quality, and connects to the target wireless network if the signal quality of the alternative wireless network is lower than the first preset signal quality; and connecting the alternative wireless network under the condition that the signal quality of the alternative wireless network is higher than or equal to the first preset signal quality. If S504 is executed, it is determined that the candidate wireless network is the first wireless network, and the target wireless network is the second wireless network; if S504 is performed to determine that the alternative wireless network is the second wireless network, the target wireless network is the first wireless network.
In some embodiments, if S504 is executed to determine that the alternative wireless network is the first wireless network, the television 300 detects the signal quality of the first wireless network, and if the signal quality of the first wireless signal is lower than the first preset signal quality, the television 300 is connected to the second wireless network; in the case that the signal quality of the first wireless signal is higher than or equal to the first preset signal quality, the television 300 is connected to the first wireless network.
Illustratively, the signal quality may include: any one or more of reference signal received power (Reference Signal Received Power, RSRP), reference signal received quality (Reference Signal Received Quality, RSRQ), received signal strength indication (Received Signal Strength Indication, RSSI), and signal to interference plus noise ratio (Signal to Interference plus Noise Ratio, SINR). The SINR refers to the ratio of the strength of the received useful signal to the strength of the received interfering signal (noise and interference).
In some embodiments, the frequency band of the alternative wireless network comprises 5GHz and the frequency band of the target wireless network comprises 2.4GHz.
Illustratively, if the first wireless network is 5GHz and the second wireless network is 2.4GHz, the first wireless network is an alternative wireless network and the second wireless network is a target wireless network.
In some embodiments, the signal quality may be signal strength with a preset frequency band of 5 GHz. The first predetermined signal quality may be a signal strength of-88 dbm. The first preset signal quality may be determined based on experimental results.
Fig. 8 is a schematic diagram of wall penetration capability of a wireless network with different frequency bands sent by a dual-band integrated router, as shown in fig. 8, because the frequency of the wireless network with the frequency band of 2.4GHz is low and the wavelength is longer than that of the wireless network with the frequency band of 5GHz, the attenuation is relatively less when the wireless network with the frequency band of 2.4GHz passes through an obstacle, so that the propagation distance is farther than that of the wireless network with the frequency band of 5GHz, the frequency bandwidth of the wireless network with the frequency band of 5GHz is wider, and electronic products corresponding to the wireless network with the frequency band of 5GHz are fewer, so that the wireless network with the frequency band of 5GHz suffers less interference, the network speed is stable, namely the wireless network with the frequency band of 5GHz has poorer wall penetration capability, and the wireless network with the frequency band of 2.4GHz has stronger wall penetration capability. It is understood that the router and television 300 are in one room, and the wireless network with the frequency band of 5GHz is faster than the wireless network with the frequency band of 2.4GHz.
Based on the above principle, fig. 9 provides an experimental scenario of the wall-penetrating capability of the wireless network with different frequency bands, and in the following embodiment, experiments are performed based on the experimental scenario shown in fig. 9, and the first preset signal quality in S505 can be determined according to the experimental result.
The signal strength from the router is illustratively tapered by a signal attenuator to simulate the scene of a partition between the router and the television 300. And then, based on the scene of the partition wall between the router and the television 300 and the scene that the router and the television 300 are located in the same room, the signal quality of the wireless network (2.4 GWiFi) with the frequency band of 2.4GHz and the signal quality of the wireless network (5 GWiFi) with the frequency band of 5GHz are counted, so that the first preset signal quality is determined.
The connection mode between the television 300 and the wireless network with the frequency band of 5GHz or the wireless network with the frequency band of 2.4GHz may be that the user clicks to connect with WiFi, the television 300 is connected with the wireless network, that is, the television 300 is connected with the wireless network based on the operation instruction; or the television 300 can be automatically connected back to the wireless network after being powered on, that is, the television 300 is connected to the wireless network based on the historical network connection information.
In the experimental process, the signal intensity of the wireless network scanned by the television 300 is counted, meanwhile, the online video is played in real time, and whether the online video is blocked or not is observed to obtain the experimental result. From the experimental results, it can be found that: when the signal intensity of the wireless network with the frequency band of 5GHz is attenuated to-88 dbm, the online video is played very stuck, and when the signal intensity of the wireless network with the frequency band of 2.4GHz is attenuated to-88 dbm, the playing is still smooth; i.e., after the partition between the router and the tv 300, the signal strength would be unstable if it was attenuated to-88 dbm, at which time a 2.4G network should be selected. Thus, the first predetermined signal quality is a signal strength of-88 dbm.
As shown in fig. 10, in some embodiments, in the network connection method of an electronic device provided in the present application, S506 is further included after S504.
S506, connecting the alternative wireless network under the condition that the signal quality of the alternative wireless network is higher than the second preset signal quality; wherein the second preset signal quality is higher than or equal to the first preset signal quality.
After determining the alternative wireless network, the television 300 determines whether the signal quality of the alternative wireless network is lower than the first preset signal quality, and connects the alternative wireless network if the signal quality of the alternative wireless network is higher than the second preset signal quality.
For example, if S504 is executed to determine that the alternative wireless network is the first wireless network, the television 300 detects the signal quality of the first wireless network, and if the signal quality of the first wireless signal is higher than or equal to the second preset signal quality, the television 300 is connected to the first wireless network.
As shown in fig. 11, in some embodiments, the method for network connection of an electronic device provided in the present application further includes S507 after S505.
S507, connecting the alternative wireless network when the connection failure times of the target wireless network are larger than or equal to the preset times.
When the television 300 performs S506, if the number of connection failures of the target wireless network is greater than or equal to the preset number, the television 300 connects to the alternative wireless network.
By way of example, the number of connection failures may be 3. The connection failure determination rule may be that a duration of the connection of the television 300 to the target wireless network exceeds a preset time, that is, the connection of the television 300 to the target wireless network is overtime.
In some embodiments, as shown in fig. 12, in the case where the television 300 performs S505, the supper layer may generate a connection timeout, and at this time, the supper layer will report the connection timeout to the wifi monitor class through the supper staifancecallbackimpl class. The WiFiMonitor class then sends notification information to the ClientModeCommpl class to notify the ClientModeCommpl class to perform connection timeout counting to obtain the connection timeout times. And finally, judging whether the connection timeout times are more than 3 times, if so, selecting to connect the 5GHz wireless network, namely the connection target wireless network, and if not more than 3 times, continuing to attempt to connect the 2.4GHz wireless network, namely the connection candidate wireless network.
In some embodiments, the present embodiment further provides another network connection method of an electronic device, as shown in fig. 13, where the network method of the other electronic device includes S601-S613.
S601, the television 300 calls the ScanRequestProxy class in the ClientModeSimpl class for managing the WiFi connection function to scan.
S602, the television 300 acquires a scan list (at least one wireless network information).
S603, polling WiFi in the scanning list acquired in S602, and comparing WiFi (preset wireless network information) to be connected with WiFi in the scanning list.
S604, determining whether the scanning list has WiFi with the same name (such as SSID) as the WiFi to be connected currently; if yes, S605-S610 are executed, and if no, S611 is executed.
S605, storing WiFi with the same name as the WiFi to be connected in the policy list.
S606, invoking WiFi with the same name as the WiFi to be connected currently from the strategy list, judging whether two identical SSIDs (a first wireless network and a second wireless network) exist in the WiFi, if yes, executing S607, and if not, executing S612 and S613.
S607, one of the two identical SSIDs in S606 is called.
S608, determining whether the wireless network corresponding to the SSID is a 5G wireless network (alternative wireless network), if so, executing S609, and if not, executing S610, wherein the SSID is a 2.4G wireless network.
S609, judging whether the signal intensity of the wireless network corresponding to the SSID is larger than-88 dbm, if yes, connecting the 5G wireless network, and if not, connecting the 2.4G wireless network.
S610, the other SSID of the two identical SSIDs in S606 is called, and S609 is executed.
S611, judging whether the scanning list is polled, if yes, executing S606-S610, and if no, executing S603-S610.
S612, setting the BSSID to be null and sending the BSSID to the Supplicant layer.
And S613, selecting a wireless network to be connected by the Supplicant layer and connecting the wireless network.
The foregoing description of the solution provided in the embodiments of the present application has been mainly presented in terms of a method. To achieve the above functions, it includes corresponding hardware structures and/or software modules that perform the respective functions. Those of skill in the art will readily appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is implemented as hardware or computer software driven 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, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The embodiment of the present application may divide functional modules of an electronic device (e.g., the television 300) according to the above method example, for example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The integrated modules may be implemented in hardware or in software functional modules. It should be noted that, in the embodiment of the present application, the division of the modules is schematic, which is merely a logic function division, and other division manners may be implemented in actual implementation.
The embodiment of the application also provides electronic equipment. As shown in fig. 14, the electronic device 800 includes:
a communicator 801 configured to receive an operation instruction input by a user;
a controller 802 coupled with the communicator 801 and configured to: acquiring at least one piece of wireless network information; the wireless network information includes a wireless network name; determining a network to be connected in at least one wireless network information; in the case where the network to be connected includes a first wireless network and a second wireless network, determining an alternative wireless network based on the first wireless network and the second wireless network; the wireless network names of the first wireless network and the second wireless network are the same, and the frequency bands of the first wireless network and the second wireless network are different; connecting the target wireless network under the condition that the signal quality of the alternative wireless network is lower than the first preset signal quality; the target wireless network is a wireless network with different frequency bands from those of the alternative wireless network in the network to be connected.
In another possible implementation, the controller 802 is specifically configured to: and determining the wireless network with the same frequency band as the preset frequency band in the first wireless network and the second wireless network as an alternative wireless network based on the frequency band of the first wireless network and the frequency band of the second wireless network.
In another possible implementation, the frequency band of the alternative wireless network includes 5GHz and the frequency band of the target wireless network includes 2.4GHz.
In another possible implementation manner, the operation instruction includes a selection instruction, where the selection instruction is used to select a network to be connected; the controller 802 is specifically configured to: in response to the selection instruction, a network to be connected is determined in the at least one wireless network information.
In another possible implementation, the controller 802 is specifically configured to: and determining the network which is the same as the historical network connection information in the at least one wireless network information as the network to be connected according to the historical network connection information.
In another possible implementation, the controller 802 is further configured to: and connecting the alternative wireless network under the condition that the connection failure times of the target wireless network are larger than or equal to the preset times.
In another possible implementation, the controller 802 is further configured to: connecting the alternative wireless network under the condition that the signal quality of the alternative wireless network is higher than the second preset signal quality; wherein the second preset signal quality is higher than or equal to the first preset signal quality.
Of course, the electronic device 800 provided in the embodiment of the present application includes, but is not limited to, the above modules, for example, the electronic device 800 may also include a memory. The memory may be used to store executable instructions for the writing electronic device 800 and may also be used to store data, such as wireless network information, generated by the electronic device 800 during operation.
The embodiment of the application also provides electronic equipment, which comprises: a processor and a memory; the memory is used for storing computer instructions, and when the electronic equipment runs, the processor executes the computer instructions stored in the memory, so that the electronic equipment executes the network connection method of the electronic equipment.
The embodiment of the application also provides a computer readable storage medium, wherein the computer readable storage medium stores computer instructions, and when the computer instructions are executed on the electronic device, the electronic device can execute the network connection method of the electronic device.
For example, the computer readable storage medium may be ROM, RAM, compact disk read-Only (CD-ROM), magnetic tape, floppy disk, optical data storage device, etc.
The embodiment of the application also provides a computer program product containing computer instructions, which when run on an electronic device, enable the electronic device to execute the network connection method of the electronic device.
The embodiment of the application also provides an apparatus (for example, the apparatus may be a chip system) including a processor, configured to support the electronic device to implement the network connection method of the electronic device provided by the embodiment of the application. In one possible design, the apparatus further includes a memory for storing program instructions and data necessary for the electronic device. When the device is a chip system, the device can be formed by a chip, and can also comprise the chip and other discrete devices.
Illustratively, as shown in fig. 15, a chip system 900 provided by an embodiment of the present application may include at least one processor 901 and at least one interface circuit 902. The processor 901 may be a processor in the television 300 described above. The processor 901 and the interface circuit 902 may be interconnected by wires. The processor 901 may receive and execute computer instructions from the memory of the television 300 described above via the interface circuit 902. The computer instructions, when executed by the processor 901, may cause the television 300 to perform the steps performed by the television 300 in the embodiments described above. Of course, the chip system may also include other discrete devices, which are not specifically limited in this embodiment of the present application.
From the foregoing description of the embodiments, it will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of functional modules is illustrated, and in practical application, the above-described functional allocation may be performed by different functional modules, that is, the internal structure of the apparatus (e.g., the first control device, the regional controller) is divided into different functional modules, so as to perform all or part of the functions described above. The specific working processes of the above-described system, apparatus (e.g., first control device, area controller) and unit may refer to the corresponding processes in the foregoing method embodiments, which are not described herein again.
In several embodiments provided herein, it should be understood that the disclosed systems, apparatuses (e.g., first control device, zone controller) and methods may be implemented in other manners. For example, the above-described embodiments of the apparatus (e.g., first control device, regional controller) are merely illustrative, e.g., the division of the modules or units is merely a logical functional division, and there may be additional divisions in actual implementation, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied essentially or in part or all of the technical solution or in part in the form of a software product stored in a storage medium, including instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor to perform all or part of the steps of the methods described in the various embodiments of the present application. And the aforementioned storage medium includes: flash memory, removable hard disk, read-only memory, random access memory, magnetic or optical disk, and the like.
The foregoing is merely a specific embodiment of the present application, but the protection scope of the present application is not limited thereto, and any changes or substitutions within the technical scope of the present disclosure should be covered in the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. An electronic device, comprising:
the communicator is configured to receive an operation instruction input by a user;
a controller coupled with the communicator and configured to:
acquiring at least one piece of wireless network information; the wireless network information includes a wireless network name;
determining a network to be connected in the at least one wireless network information;
in the case that the network to be connected comprises a first wireless network and a second wireless network, determining an alternative wireless network based on the first wireless network and the second wireless network; the wireless network names of the first wireless network and the second wireless network are the same, and the frequency bands of the first wireless network and the second wireless network are different;
connecting a target wireless network under the condition that the signal quality of the alternative wireless network is lower than a first preset signal quality; the target wireless network is a wireless network with different frequency bands from the frequency bands of the alternative wireless network in the network to be connected.
2. The electronic device of claim 1, wherein the controller is specifically configured to:
and determining the wireless networks with the same frequency bands as the preset frequency bands in the first wireless network and the second wireless network as the alternative wireless network based on the frequency bands of the first wireless network and the frequency bands of the second wireless network.
3. The electronic device of claim 2, wherein the frequency band of the alternative wireless network comprises 5GHz and the frequency band of the target wireless network comprises 2.4GHz.
4. The electronic device of any one of claims 1-3, wherein the operation instructions include selection instructions for selecting the network to be connected;
the controller is specifically configured to: and responding to the selection instruction, and determining a network to be connected in the at least one wireless network information.
5. The electronic device of any of claims 1-3, wherein the controller is specifically configured to:
and according to the historical network connection information, determining the network which is the same as the historical network connection information in the at least one piece of wireless network information as the network to be connected.
6. The electronic device of any of claims 1-3, wherein the controller is further configured to:
and connecting the alternative wireless network under the condition that the connection failure times of the target wireless network are larger than or equal to the preset times.
7. The electronic device of any of claims 1-3, wherein the controller is further configured to:
connecting the alternative wireless network under the condition that the signal quality of the alternative wireless network is higher than a second preset signal quality; wherein the second preset signal quality is higher than or equal to the first preset signal quality.
8. A method of network connection of an electronic device, the method comprising:
acquiring at least one piece of wireless network information; the wireless network information includes a wireless network name;
determining a network to be connected in the at least one wireless network information;
in the case that the network to be connected comprises a first wireless network and a second wireless network, determining an alternative wireless network based on the first wireless network and the second wireless network; the wireless network names of the first wireless network and the second wireless network are the same, and the frequency bands of the first wireless network and the second wireless network are different;
Connecting a target wireless network under the condition that the signal quality of the alternative wireless network is lower than a first preset signal quality; the target wireless network is a wireless network with different frequency bands from the frequency bands of the alternative wireless network in the network to be connected.
9. The method of claim 8, wherein the determining an alternative wireless network based on the first wireless network and the second wireless network comprises:
and determining the wireless networks with the same frequency bands as the preset frequency bands in the first wireless network and the second wireless network as the alternative wireless network based on the frequency bands of the first wireless network and the frequency bands of the second wireless network.
10. The method of claim 8, wherein the frequency band of the alternative wireless network comprises 5GHz and the frequency band of the target wireless network comprises 2.4GHz.
CN202310384124.3A 2023-04-11 2023-04-11 Electronic device and network connection method of electronic device Pending CN117615467A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310384124.3A CN117615467A (en) 2023-04-11 2023-04-11 Electronic device and network connection method of electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310384124.3A CN117615467A (en) 2023-04-11 2023-04-11 Electronic device and network connection method of electronic device

Publications (1)

Publication Number Publication Date
CN117615467A true CN117615467A (en) 2024-02-27

Family

ID=89950340

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310384124.3A Pending CN117615467A (en) 2023-04-11 2023-04-11 Electronic device and network connection method of electronic device

Country Status (1)

Country Link
CN (1) CN117615467A (en)

Similar Documents

Publication Publication Date Title
CN113766036B (en) Display equipment and information interaction method
CN111752518A (en) Screen projection method of display equipment and display equipment
WO2022073392A1 (en) Picture display method, and display device
CN114296670B (en) Display device and control method for same-screen display of multi-device screen throwing
WO2022105409A1 (en) Fault diagnosis method, terminal device, and display device
WO2022078065A1 (en) Display device resource playing method and display device
WO2022057322A1 (en) Display method and display device
CN112954419B (en) Display device and display method
WO2022028060A1 (en) Display device and display method
CN112911380B (en) Display device and connection method with Bluetooth device
CN112637957A (en) Display device and communication method of display device and wireless sound box
CN115278822A (en) Display apparatus, control apparatus, and broadcast source scanning method
CN117615467A (en) Electronic device and network connection method of electronic device
CN111818368B (en) Method for managing display device authority, mobile terminal and server
CN113794919A (en) Display equipment and setting method of sound production equipment
WO2022100252A1 (en) Display device
CN117614758A (en) Electronic equipment, terminal equipment and equipment network distribution method
CN114554259A (en) Control device, display device, and device information acquisition method
CN114501393A (en) Display device, control apparatus pairing method, and storage medium
CN115914707A (en) Display device and non-inductive distribution network control method based on USB channel
AL-Dabbas et al. WIRELESS PRESENTATION SYSTEM-AIRMEDIA WIRELESS PRESNTER
CN115657990A (en) Screen projection method and device, user side equipment and computer readable storage medium
CN116233522A (en) Display equipment and continuous screen throwing method
CN115567748A (en) Display device and Bluetooth pairing control method
CN113992963A (en) Display device and screen projection method

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