CN112333738A - Network connection method, device, storage medium and electronic equipment - Google Patents

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

Info

Publication number
CN112333738A
CN112333738A CN202011270492.8A CN202011270492A CN112333738A CN 112333738 A CN112333738 A CN 112333738A CN 202011270492 A CN202011270492 A CN 202011270492A CN 112333738 A CN112333738 A CN 112333738A
Authority
CN
China
Prior art keywords
network access
network
access device
evaluation score
equipment
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
CN202011270492.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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202011270492.8A priority Critical patent/CN112333738A/en
Publication of CN112333738A publication Critical patent/CN112333738A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/0231Traffic management, e.g. flow control or congestion control based on communication conditions
    • H04W28/0236Traffic management, e.g. flow control or congestion control based on communication conditions radio quality, e.g. interference, losses or delay
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/0268Traffic management, e.g. flow control or congestion control using specific QoS parameters for wireless networks, e.g. QoS class identifier [QCI] or guaranteed bit rate [GBR]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/14Reselecting a network or an air interface
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/50Allocation or scheduling criteria for wireless resources
    • H04W72/54Allocation or scheduling criteria for wireless resources based on quality criteria
    • H04W72/542Allocation or scheduling criteria for wireless resources based on quality criteria using measured or perceived quality

Landscapes

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

Abstract

The embodiment of the application discloses a network connection method, a network connection device, a storage medium and electronic equipment, wherein the network quality of each network access equipment is evaluated by scanning a plurality of network access equipment in the communication range of the electronic equipment according to the signal quality information of network signals provided by each network access equipment and the transmission capability information of each network access equipment to obtain an evaluation score, and then a target network access equipment is determined according to the evaluation score and network connection is established with the target network access equipment. According to the scheme, the network quality provided by the network access equipment is evaluated in a multi-dimensional mode based on the signal quality information provided by the network access equipment and the transmission capability information of the network access equipment, the target network access equipment with stable network quality is selected according to the evaluation result to be accessed to the Internet, and the accuracy of the electronic equipment in selecting the network access equipment in the environment with a plurality of wireless networks is improved.

Description

Network connection method, device, storage medium and electronic equipment
Technical Field
The present application relates to the field of network technologies, and in particular, to a network connection method, apparatus, storage medium, and electronic device.
Background
With the modern living informatization and higher intelligence degree, the people also become more and more unable to leave the network, so that the application scenes of the wireless network technology are more and more. For example, for Wi-Fi technology applications, a plurality of Wi-Fi hotspots may be deployed at different locations within a venue in many public places, such as a library, restaurant, hotel, or mall, to provide access to network services for mobile electronic device users within the venue.
In the related art, in an environment covering a plurality of wireless networks, the accuracy of selecting the network access device connected to the access network service by the electronic device is low, so that the network stability provided by the network access device connected to the electronic device access network service is poor.
Disclosure of Invention
Embodiments of the present application provide a network connection method, an apparatus, a storage medium, and an electronic device, which can improve accuracy of selecting a network access device, so that stability of a network provided by the network access device connected to an electronic device accessing a network service is improved.
In a first aspect, an embodiment of the present application provides a network connection method, including:
scanning network access equipment within a communication range of the electronic equipment;
when a plurality of network access devices are scanned, acquiring signal quality information of network signals provided by each network access device and acquiring transmission capability information of each network access device;
evaluating the network quality of each network access device according to the signal quality information and the transmission capability information of each network access device to obtain an evaluation score;
and according to the evaluation score of each network access device, determining a target network access device from the plurality of network access devices, and establishing network connection with the target network access device, so that the target network access device provides network access service for the electronic device.
In a second aspect, an embodiment of the present application further provides a network switching apparatus, including:
the scanning module is used for scanning the network access equipment within the communication range of the electronic equipment;
the network access device comprises an acquisition module, a transmission module and a processing module, wherein the acquisition module is used for acquiring the signal quality information of a network signal provided by each network access device and the transmission capability information of each network access device when a plurality of network access devices are scanned;
the evaluation module is used for evaluating the network quality of each network access device according to the signal quality information and the transmission capability information of each network access device to obtain an evaluation score;
and the determining module is used for determining the target network access equipment from the plurality of network access equipment according to the evaluation score of each network access equipment and establishing network connection with the target network access equipment so that the target network access equipment provides network access service for the electronic equipment.
In a third aspect, embodiments of the present application further provide a computer-readable storage medium, on which a computer program is stored, and when the computer program runs on a computer, the computer is caused to execute the network connection method provided in any embodiment of the present application.
In a fourth aspect, an embodiment of the present application further provides an electronic device, which includes a processor and a memory, where the memory has a computer program, and the processor is configured to execute the network connection method provided in any embodiment of the present application by calling the computer program.
According to the technical scheme, when a plurality of network access devices are scanned through scanning the network access devices within the communication range of the electronic device, signal quality information of network signals provided by each network access device and transmission capability information of each network access device are obtained, then, according to the signal quality information and the transmission capability information of each network access device, network quality of each network access device is evaluated to obtain an evaluation score, then, according to the evaluation score of each network access device, a target network access device is determined from the plurality of network access devices, and network connection is established with the target network access device, so that the target network access device provides network access service for the electronic device. According to the scheme, the network quality provided by the network access equipment is subjected to multi-dimensional evaluation based on the signal quality information of the network signal provided by the network access equipment and the transmission capability information of the network access equipment, and the target network access equipment with relatively stable network quality is selected to access the Internet according to the evaluation result, so that the accuracy of the electronic equipment in selecting the network access equipment in the environment covered by a plurality of wireless networks is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic view of an application scenario of a network connection method according to an embodiment of the present application.
Fig. 2 is a first flowchart of a network connection method according to an embodiment of the present application.
Fig. 3 is a second flowchart of a network connection method according to an embodiment of the present application.
Fig. 4 is a schematic structural diagram of a network switching device according to an embodiment of the present application.
Fig. 5 is a schematic structural diagram of a first electronic device according to an embodiment of the present application.
Fig. 6 is a schematic structural diagram of a second electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without inventive step, are within the scope of the present application.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
An execution main body of the network connection method may be the network switching device provided in the embodiment of the present application, or an electronic device integrated with the network switching device, where the network switching device may be implemented in a hardware or software manner. The electronic device may be a smart phone, a tablet computer, a palm computer, a notebook computer, or a desktop computer. The network access device may be a router or the like.
It is understood that the electronic device may establish a communication connection with the network access device, and obtain the network resource through the network access device. For example, taking an electronic device as a smart phone and a network access device as a router as an example, refer to fig. 1. The smart phone can scan a plurality of routers (router 1, router 2 … …, router n) within a communication range of the smart phone, evaluate the network quality of each router according to the signal quality information of the network signal provided by each router and the transmission capability information of each router to obtain an evaluation score, then determine a target router according to the evaluation score, and establish network connection with the target router, so that the target router provides network access service for the electronic device.
The following are detailed below. It should be noted that the following description of the embodiments is not intended to limit the preferred order of the embodiments.
Referring to fig. 2, fig. 2 is a first flowchart illustrating a network connection method according to an embodiment of the present disclosure. The network connection method provided by the embodiment of the application is applied to electronic equipment, and can comprise the following steps:
101. network access devices within a communication range of an electronic device are scanned.
With the modern living informatization and higher intelligence degree, the people also become more and more unable to leave the network, so that the application scenes of the wireless network technology are more and more. For example, for Wi-Fi technology applications, a plurality of Wi-Fi hotspots may be deployed at different locations within a venue in many public places, such as a library, restaurant, hotel, or mall, to provide access to network services for mobile electronic device users within the venue.
In the related art, in an environment covering a plurality of wireless networks, the accuracy of selecting the network access device connected to the access network service by the electronic device is low, so that the network stability provided by the network access device connected to the electronic device access network service is poor.
The wireless network is a network that can interconnect various communication devices without wiring. Wireless networking technologies cover a wide range of technologies, including both global voice and data networks that allow users to establish long-range wireless connections, and infrared and radio frequency technologies optimized for short-range wireless connections. Wireless networks can be classified into Wireless Wide Area Networks (WWANs), Wireless Local Area Networks (WLANs), Wireless Metropolitan Area Networks (WMANs), and Wireless Personal Area Networks (WPANs), depending on the coverage of the Network.
In the embodiment of the application, because the current electronic device basically supports the function of connecting to the wireless network, the electronic device can acquire the relevant information of the network access device in the communication range of the electronic device through detection.
102. When a plurality of network access devices are scanned, the signal quality information of the network signal provided by each network access device is obtained, and the transmission capability information of each network access device is obtained.
The signal quality information may include information such as signal strength and packet loss rate. The transmission capability information may include information such as processor load, memory load, channel load, number of connected electronic devices, bandwidth of a wide area network interface (WAN port), etc. of the network access device.
For example, when scanning multiple network access devices, the electronic device may communicate with the multiple network access devices to obtain signal quality information of network signals provided by each network access device and to obtain transmission capability information of each network access device.
103. And evaluating the network quality of each network access device according to the signal quality information and the transmission capability information of each network access device to obtain an evaluation score.
For example, the signal quality information and the transmission capability information of each network access device are used as evaluation parameters, and the network quality of each network access device is evaluated according to the influence of different evaluation parameters on the network quality, so as to obtain an evaluation score.
In an embodiment, a pre-trained network quality assessment model may be obtained, and then, the signal quality information and the transmission capability information of each network access device are input into the network quality assessment model to obtain an assessment score output by the network quality assessment model.
104. And according to the evaluation score of each network access device, determining a target network access device from the plurality of network access devices, and establishing network connection with the target network access device, so that the target network access device provides network access service for the electronic device.
In an embodiment, the evaluation scores corresponding to the plurality of network access devices may be ranked, and then the network access device with the largest evaluation score is selected as the target network access device and establishes network connection with the target network access device, so that the target network access device provides network access service for the electronic device.
As can be seen from the above, in the network connection method provided in this embodiment of the present application, network access devices within a communication range of an electronic device are scanned, when a plurality of network access devices are scanned, signal quality information of a network signal provided by each network access device is obtained, and transmission capability information of each network access device is obtained, then, according to the signal quality information and the transmission capability information of each network access device, network quality of each network access device is evaluated, an evaluation score is obtained, then, according to the evaluation score of each network access device, a target network access device is determined from the plurality of network access devices, and network connection is established with the target network access device, so that the target network access device provides network access service for the electronic device. According to the scheme, the network quality provided by the network access equipment is subjected to multi-dimensional evaluation based on the signal quality information of the network signal provided by the network access equipment and the transmission capability information of the network access equipment, and the target network access equipment with relatively stable network quality is selected to access the Internet according to the evaluation result, so that the accuracy of the electronic equipment in selecting the network access equipment in the environment covered by a plurality of wireless networks is improved.
The method according to the preceding embodiment is illustrated in further detail below by way of example.
Referring to fig. 3, fig. 3 is a second flowchart of a network connection method according to an embodiment of the present disclosure. The network connection method is applied to electronic equipment and can comprise the following steps:
201. network access devices within a communication range of an electronic device are scanned.
For example, the electronic device may actively learn about available wireless network access services through active scanning. For example, the electronic device may actively send a Probe Request frame (Probe Request), and receive a Probe Response frame (Probe Response) returned by the network access device, so as to scan the network access device that can provide the network access service.
The electronic device can also use passive scanning to acquire available wireless network access services. For example, the electronic device may periodically listen to a Beacon frame (Beacon) periodically transmitted by a network access device within its communication range, so the electronic device may periodically listen to the Beacon frame in a supported channel list to acquire surrounding network access devices that may provide network access services.
202. When a plurality of network access devices are scanned, multi-dimensional signal quality information of network signals provided by each network access device is obtained, and multi-dimensional transmission capability information of each network access device is obtained.
The multidimensional signal quality information may include information such as signal strength and packet loss rate. The multidimensional transmission capability information may include information such as processor load, memory load, channel load, number of connected electronic devices, bandwidth of a wide area network interface (WAN port), etc. of the network access device.
For example, upon scanning for multiple network access devices, the electronic device may communicate with the multiple network access devices to obtain multidimensional signal quality information for network signals provided by each network access device and to obtain multidimensional transmission capability information for each network access device.
In addition, the electronic equipment can also carry out safety detection on the network signal, and the network access equipment with potential safety hazards is eliminated to establish network connection.
203. And carrying out normalization processing on the multidimensional signal quality information and the multidimensional transmission capability information.
Since the multidimensional signal quality information and the multidimensional transmission capability information provide different dimensions, the information of different dimensions can be normalized to better process the information.
204. And carrying out weighted summation on the normalized multidimensional signal quality information and the multidimensional transmission capability information, and setting the obtained weighted sum as an evaluation score.
In one embodiment, the evaluation score may be calculated as follows: for multidimensional signal quality information, signal strength may be selected as an evaluation parameter, for multidimensional transmission information, processor load, memory load, channel load, the number of connected electronic devices, and bandwidth of a wide area network interface of a network access device may be selected as an evaluation parameter, and weighting coefficients may be set to C1, C2, C3, C4, C5, and C6, then a weighting algorithm may be as follows:
the score C1 signal strength + C2 processor load + C3 memory load + C4 channel load + C5 number of connected electronic devices + C6 wide area network interface bandwidth is evaluated.
Wherein the sum of the weighting coefficients C1, C2, C3, C4, C5 and C6 is 1.
In one embodiment, the weighting coefficients may be trained by big data to obtain the coefficients that fit the expectation as the target coefficients. The influence of different evaluation parameters on the determination of the network quality can be determined through big data training, and the weight is distributed according to the influence. For example, if the influence of a certain evaluation parameter on the determination of the network quality is small, the weighting factor corresponding to the evaluation parameter is correspondingly small.
In some embodiments, the desired weighting factor may also be obtained by a graph optimization algorithm, i.e. by an exhaustive method.
205. And sequencing the evaluation scores corresponding to the plurality of network access devices.
For example, the electronic device scans the evaluation scores of 10 electronic devices within its communication range, and the 10 evaluation scores may be sorted in size to facilitate the electronic device to quickly determine the network access device.
206. And selecting the network access equipment with the maximum evaluation score as target network access equipment, and establishing network connection with the target network access equipment so that the target network access equipment provides network access service for the electronic equipment.
For example, according to the sorting result, the network access device with the largest evaluation score is selected as the target network access device, and network connection is established with the target network access device, so that the target network access device provides network access service for the electronic device.
In an embodiment, after the step of "performing weighted summation on the normalized multi-dimensional signal quality information and the multi-dimensional transmission capability information, and setting the obtained weighted sum as the evaluation score", the method may further include the following steps:
(1) acquiring user preference information;
(2) correcting the evaluation score according to the user preference information to obtain a corrected evaluation score;
the step of determining a target network access device from the plurality of network access devices according to the evaluation score of each network access device and establishing network connection with the target network access device may further include:
and determining a target network access device from the plurality of network access devices according to the corrected evaluation score of each network access device, and establishing network connection with the target network access device.
The user preference information may be used for manually selecting the network access device with a large number of connection times when the user selects to provide the network access service. For example, a preference coefficient may be set for the preference information, such as the preference coefficient is 1 when the number of manual connections is less than 10 times, the preference coefficient is 1.2 when the number of manual connections is greater than 10 times and less than 30 times, the preference coefficient is 1.4 when the number of manual connections is greater than 30 times and less than 50 times, the preference coefficient is 1.6 when the number of manual connections is greater than 50 times and less than 80 times, and so on. The preference coefficient can be set individually according to the preference of the user. And multiplying the preference coefficient by the evaluation score to obtain a corrected evaluation score.
In some embodiments, when the location of the electronic device changes, the network quality of the network signal provided by the network access device within the communication range of the electronic device is re-evaluated, and the target network access device is updated according to the re-evaluated evaluation score.
As can be seen from the above, in the network connection method provided in this embodiment of the present application, network access devices within a communication range of an electronic device are scanned, when a plurality of network access devices are scanned, signal quality information of a network signal provided by each network access device is obtained, and transmission capability information of each network access device is obtained, then, according to the signal quality information and the transmission capability information of each network access device, network quality of each network access device is evaluated, an evaluation score is obtained, then, according to the evaluation score of each network access device, a target network access device is determined from the plurality of network access devices, and network connection is established with the target network access device, so that the target network access device provides network access service for the electronic device. According to the scheme, the network quality provided by the network access equipment is subjected to multi-dimensional evaluation based on the signal quality information of the network signal provided by the network access equipment and the transmission capability information of the network access equipment, and the target network access equipment with relatively stable network quality is selected to access the Internet according to the evaluation result, so that the accuracy of the electronic equipment in selecting the network access equipment in the environment covered by a plurality of wireless networks is improved.
In one embodiment, a network switching device 300 is also provided. Referring to fig. 4, fig. 4 is a schematic structural diagram of a network switching device 300300 according to an embodiment of the present disclosure. The network switching apparatus 300 is applied to an electronic device, and the network switching apparatus 300 includes a scanning module 301, an obtaining module 302, an evaluating module 303, and a determining module 304, as follows:
a scanning module 301, configured to scan a network access device within a communication range of an electronic device;
an obtaining module 302, configured to obtain, when multiple network access devices are scanned, signal quality information of a network signal provided by each network access device, and obtain transmission capability information of each network access device;
the evaluation module 303 is configured to evaluate the network quality of each network access device according to the signal quality information and the transmission capability information of each network access device, so as to obtain an evaluation score;
the determining module 304 is configured to determine a target network access device from the multiple network access devices according to the evaluation score of each network access device, and establish a network connection with the target network access device, so that the target network access device provides a network access service for the electronic device.
In some embodiments, the determination module 304 further includes a sorting sub-module and a selecting sub-module;
the sequencing submodule is used for sequencing the evaluation scores corresponding to the plurality of network access devices;
the selection submodule is used for selecting the network access equipment with the largest evaluation score as the target network access equipment.
In some embodiments, the signal quality information includes multidimensional signal quality information, the transmission capability information includes multidimensional transmission capability information, and the evaluating module 303 may be further configured to normalize the multidimensional signal quality information and the multidimensional transmission capability information; and carrying out weighted summation on the normalized multidimensional signal quality information and the multidimensional transmission capability information, and setting the obtained weighted sum as an evaluation score.
In some embodiments, the evaluation module 303 may also be configured to obtain a pre-trained network quality evaluation model; and inputting the signal quality information and the transmission capability information of each network access device into the network quality evaluation model to obtain an evaluation score output by the network quality evaluation model.
In some embodiments, after evaluating the network quality of each network access device to obtain an evaluation score, the obtaining module 302 may further be configured to obtain user preference information; the determining module 304 may further be configured to determine a target network access device from the multiple network access devices according to the revised evaluation score of each network access device, and establish a network connection with the target network access device.
In some embodiments, the network connection apparatus further includes an updating module, configured to re-evaluate the network quality of the network signal provided by the network access device in the communication range of the electronic device when the location of the electronic device changes, and update the target network access device according to the re-evaluated evaluation score.
It should be noted that the network switching device 300 provided in this embodiment of the present application and the network connection method in the foregoing embodiment belong to the same concept, and any method provided in the network connection method embodiment can be implemented by the network switching device 300, and the specific implementation process thereof is described in the network connection method embodiment in detail, and is not described herein again.
As can be seen from the above, the network switching apparatus 300 according to the embodiment of the present application scans the network access devices within the communication range of the electronic device through the scanning module 301, when a plurality of network access devices are scanned, the obtaining module 302 obtains the signal quality information of the network signal provided by each network access device, and obtains the transmission capability information of each network access device, then, by the evaluation module 303, according to the signal quality information and the transmission capability information of each network access device, the network quality of each network access device is evaluated to obtain an evaluation score, and then a determination module 304 determines a target network access device from the plurality of network access devices according to the evaluation score of each network access device, and establishing network connection with the target network access equipment, so that the target network access equipment provides network access service for the electronic equipment. According to the scheme, the network quality provided by the network access equipment is evaluated in a multi-dimensional mode based on the signal quality information provided by the network access equipment and the transmission capability information of the network access equipment, the target network access equipment with stable network quality is selected according to the evaluation result to be accessed to the Internet, and the accuracy of the electronic equipment in selecting the network access equipment in the environment covered by a plurality of wireless networks is improved.
The embodiment of the application also provides the electronic equipment. The electronic device can be a smart phone, a tablet computer and the like. Referring to fig. 5, fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure. The electronic device 400 comprises a processor 401 and a memory 402. The processor 401 is electrically connected to the memory 402.
The processor 401 is a control center of the electronic device 400, connects various parts of the entire electronic device using various interfaces and lines, and performs various functions of the electronic device and processes data by running or calling a computer program stored in the memory 402 and calling data stored in the memory 402, thereby performing overall monitoring of the electronic device.
Memory 402 may be used to store computer programs and data. The memory 402 stores computer programs containing instructions executable in the processor. The computer program may constitute various functional modules. The processor 401 executes various functional applications and data processing by calling a computer program stored in the memory 402.
In this embodiment, the processor 401 in the electronic device 400 loads instructions corresponding to one or more processes of the computer program into the memory 402 according to the following steps, and the processor 401 runs the computer program stored in the memory 402, so as to implement various functions:
scanning network access equipment within a communication range of the electronic equipment;
when a plurality of network access devices are scanned, acquiring signal quality information of network signals provided by each network access device and acquiring transmission capability information of each network access device;
evaluating the network quality of each network access device according to the signal quality information and the transmission capability information of each network access device to obtain an evaluation score;
and according to the evaluation score of each network access device, determining a target network access device from the plurality of network access devices, and establishing network connection with the target network access device, so that the target network access device provides network access service for the electronic device.
In some embodiments, please refer to fig. 6, and fig. 6 is a second structural diagram of an electronic device according to an embodiment of the present disclosure. The electronic device 400 further comprises: radio frequency circuit 403, display 404, control circuit 405, input unit 406, audio circuit 407, sensor 408, and power supply 409. The processor 401 is electrically connected to the radio frequency circuit 403, the display 404, the control circuit 405, the input unit 406, the audio circuit 407, the sensor 408, and the power source 409.
The radio frequency circuit 403 is used for transceiving radio frequency signals to communicate with a network device or other electronic devices through wireless communication.
The display screen 404 may be used to display information entered by or provided to the user as well as various graphical user interfaces of the electronic device, which may be comprised of images, text, icons, video, and any combination thereof.
The control circuit 405 is electrically connected to the display screen 404, and is configured to control the display screen 404 to display information.
The input unit 406 may be used to receive input numbers, character information, or user characteristic information (e.g., fingerprint), and to generate keyboard, mouse, joystick, optical, or trackball signal inputs related to user settings and function control. The input unit 406 may include a fingerprint recognition module.
The audio circuit 407 may provide an audio interface between the user and the electronic device through a speaker, microphone. Wherein the audio circuit 407 comprises a microphone. The microphone is electrically connected to the processor 401. The microphone is used for receiving voice information input by a user.
The sensor 408 is used to collect external environmental information. The sensors 408 may include one or more of ambient light sensors, acceleration sensors, gyroscopes, etc.
The power supply 409 is used to power the various components of the electronic device 400. In some embodiments, the power source 409 may be logically connected to the processor 401 through a power management system, so that functions of managing charging, discharging, and power consumption are implemented through the power management system.
Although not shown in the drawings, the electronic device 400 may further include a camera, a bluetooth module, and the like, which are not described in detail herein.
In this embodiment, the processor 401 in the electronic device 400 loads instructions corresponding to one or more processes of the computer program into the memory 402 according to the following steps, and the processor 401 runs the computer program stored in the memory 402, so as to implement various functions:
scanning network access equipment within a communication range of the electronic equipment;
when a plurality of network access devices are scanned, acquiring signal quality information of network signals provided by each network access device and acquiring transmission capability information of each network access device;
evaluating the network quality of each network access device according to the signal quality information and the transmission capability information of each network access device to obtain an evaluation score;
and according to the evaluation score of each network access device, determining a target network access device from the plurality of network access devices, and establishing network connection with the target network access device, so that the target network access device provides network access service for the electronic device.
In some embodiments, the signal quality information includes multidimensional signal quality information, the transmission capability information includes multidimensional transmission capability information, and the processor 401, when performing the evaluation of the network quality of each network access device according to the signal quality information and the transmission capability information of each network access device, and obtaining the evaluation score, may perform: carrying out normalization processing on the multi-dimensional signal quality information and the multi-dimensional transmission capability information; and carrying out weighted summation on the normalized multidimensional signal quality information and the multidimensional transmission capability information, and setting the obtained weighted sum as an evaluation score.
In some embodiments, the processor 401, when performing the evaluation of the network quality of each network access device according to the signal quality information and the transmission capability information of each network access device, and obtaining the evaluation score, may perform: acquiring a pre-trained network quality evaluation model; and inputting the signal quality information and the transmission capability information of each network access device into the network quality evaluation model to obtain an evaluation score output by the network quality evaluation model.
In some embodiments, when determining the target network access device from the plurality of network access devices according to the evaluation score of each network access device, the processor 401 may perform: and sequencing the evaluation scores corresponding to the plurality of network access devices, and selecting the network access device with the largest evaluation score as the target network access device.
In some embodiments, the processor 401 obtains the user preference information after performing the evaluation of the network quality of each network access device to obtain an evaluation score; and correcting the evaluation score according to the user preference information to obtain a corrected evaluation score, determining a target network access device from the plurality of network access devices according to the corrected evaluation score of each network access device, and establishing network connection with the target network access device.
In some embodiments, processor 401 may also perform: when the position of the electronic equipment is changed, the network quality of the network signal provided by the network access equipment in the communication range of the electronic equipment is evaluated again, and the target network access equipment is updated according to the evaluated score after the evaluation is carried out again.
As can be seen from the above, in the technical solution provided in this embodiment, when a plurality of network access devices are scanned by scanning the network access devices within the communication range of the electronic device, signal quality information of a network signal provided by each network access device and transmission capability information of each network access device are obtained, then, according to the signal quality information and the transmission capability information of each network access device, network quality of each network access device is evaluated to obtain an evaluation score, and then, according to the evaluation score of each network access device, a target network access device is determined from the plurality of network access devices and network connection is established with the target network access device, so that the target network access device provides network access service for the electronic device. According to the scheme, the network quality provided by the network access equipment is subjected to multi-dimensional evaluation based on the signal quality information of the network signal provided by the network access equipment and the transmission capability information of the network access equipment, and the target network access equipment with relatively stable network quality is selected to access the Internet according to the evaluation result, so that the accuracy of the electronic equipment in selecting the network access equipment in the environment covered by a plurality of wireless networks is improved.
An embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored in the storage medium, and when the computer program runs on a computer, the computer executes the network connection method according to any of the above embodiments.
It should be noted that, all or part of the steps in the methods of the above embodiments may be implemented by hardware related to instructions of a computer program, which may be stored in a computer-readable storage medium, which may include, but is not limited to: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Furthermore, the terms "first", "second", and "third", etc. in this application are used to distinguish different objects, and are not used to describe a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or modules is not limited to only those steps or modules listed, but rather, some embodiments may include other steps or modules not listed or inherent to such process, method, article, or apparatus.
The network connection method, the network connection device, the storage medium, and the electronic device provided in the embodiments of the present application are described in detail above. The principle and the implementation of the present application are explained herein by applying specific examples, and the above description of the embodiments is only used to help understand the method and the core idea of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. A network connection method applied to an electronic device is characterized by comprising the following steps:
scanning network access equipment within the communication range of the electronic equipment;
when a plurality of network access devices are scanned, acquiring signal quality information of network signals provided by each network access device and acquiring transmission capability information of each network access device;
evaluating the network quality of each network access device according to the signal quality information and the transmission capability information of each network access device to obtain an evaluation score;
and according to the evaluation score of each network access device, determining a target network access device from the plurality of network access devices, and establishing network connection with the target network access device, so that the target network access device provides network access service for the electronic device.
2. The method of claim 1, wherein the determining a target network access device from the plurality of network access devices based on the evaluation score of each network access device comprises:
ranking the evaluation scores corresponding to the plurality of network access devices;
and selecting the network access equipment with the maximum evaluation score as the target network access equipment.
3. The network connection method of claim 1, wherein the signal quality information comprises multidimensional signal quality information, the transmission capability information comprises multidimensional transmission capability information, and the evaluating the network quality of each network access device based on the signal quality information and the transmission capability information of each network access device to obtain an evaluation score comprises:
performing normalization processing on the multi-dimensional signal quality information and the multi-dimensional transmission capability information;
and carrying out weighted summation on the normalized multidimensional signal quality information and the multidimensional transmission capability information, and setting the obtained weighted sum as the evaluation score.
4. The network connection method of claim 1, wherein the evaluating the network quality of each network access device according to the signal quality information and the transmission capability information of each network access device to obtain an evaluation score comprises:
acquiring a pre-trained network quality evaluation model;
and inputting the signal quality information and the transmission capability information of each network access device into the network quality evaluation model to obtain an evaluation score output by the network quality evaluation model.
5. The network connection method of claim 1, wherein after evaluating the network quality of each network access device to obtain an evaluation score, further comprising:
acquiring user preference information;
correcting the evaluation score according to the user preference information to obtain a corrected evaluation score;
the determining a target network access device from the plurality of network access devices according to the evaluation score of each network access device and establishing network connection with the target network access device includes:
and determining a target network access device from the plurality of network access devices according to the corrected evaluation score of each network access device, and establishing network connection with the target network access device.
6. The network connection method of claim 1, wherein the method further comprises:
when the position of the electronic equipment is changed, the network quality of the network signal provided by the network access equipment in the communication range of the electronic equipment is evaluated again, and the target network access equipment is updated according to the evaluated score after the evaluation is carried out again.
7. A network connection device, comprising:
the scanning module is used for scanning the network access equipment within the communication range of the electronic equipment;
the network access device comprises an acquisition module, a transmission module and a processing module, wherein the acquisition module is used for acquiring the signal quality information of a network signal provided by each network access device and the transmission capability information of each network access device when a plurality of network access devices are scanned;
the evaluation module is used for evaluating the network quality of each network access device according to the signal quality information and the transmission capability information of each network access device to obtain an evaluation score;
and the determining module is used for determining target network access equipment from the plurality of network access equipment according to the evaluation score of each network access equipment, and establishing network connection with the target network access equipment so that the target network access equipment provides network access service for the electronic equipment.
8. The apparatus of claim 7, wherein the determining module comprises: the sorting submodule and the selecting submodule;
the ranking submodule is configured to rank the evaluation scores corresponding to the plurality of network access devices;
and the selection submodule is used for selecting the network access equipment with the maximum evaluation score as the target network access equipment.
9. A computer-readable storage medium on which a computer program is stored, which, when run on a computer, causes the computer to execute the network connection method according to any one of claims 1 to 6.
10. An electronic device comprising a processor and a memory, the memory storing a computer program, wherein the processor is configured to execute the network connection method according to any one of claims 1 to 6 by calling the computer program.
CN202011270492.8A 2020-11-13 2020-11-13 Network connection method, device, storage medium and electronic equipment Pending CN112333738A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011270492.8A CN112333738A (en) 2020-11-13 2020-11-13 Network connection method, device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011270492.8A CN112333738A (en) 2020-11-13 2020-11-13 Network connection method, device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN112333738A true CN112333738A (en) 2021-02-05

Family

ID=74318167

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011270492.8A Pending CN112333738A (en) 2020-11-13 2020-11-13 Network connection method, device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN112333738A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116600358A (en) * 2023-04-24 2023-08-15 深圳云视智景科技有限公司 Network switching method and device, storage medium and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140286190A1 (en) * 2012-02-17 2014-09-25 Venkata VALLABHU Wireless network connectivity enhancements
CN105979572A (en) * 2016-06-30 2016-09-28 上海斐讯数据通信技术有限公司 Method of selecting network access device and network terminal
CN106304254A (en) * 2015-05-12 2017-01-04 中兴通讯股份有限公司 Terminal network cut-in method, terminal and network access equipment
CN109548106A (en) * 2019-01-14 2019-03-29 Oppo广东移动通信有限公司 Method for connecting network and Related product

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140286190A1 (en) * 2012-02-17 2014-09-25 Venkata VALLABHU Wireless network connectivity enhancements
CN106304254A (en) * 2015-05-12 2017-01-04 中兴通讯股份有限公司 Terminal network cut-in method, terminal and network access equipment
CN105979572A (en) * 2016-06-30 2016-09-28 上海斐讯数据通信技术有限公司 Method of selecting network access device and network terminal
CN109548106A (en) * 2019-01-14 2019-03-29 Oppo广东移动通信有限公司 Method for connecting network and Related product

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116600358A (en) * 2023-04-24 2023-08-15 深圳云视智景科技有限公司 Network switching method and device, storage medium and electronic equipment

Similar Documents

Publication Publication Date Title
CN110472145B (en) Content recommendation method and electronic equipment
CN107995370B (en) Call control method, device, storage medium and mobile terminal
CN106973330B (en) Screen live broadcasting method, device and system
CN110049476B (en) Equipment pushing method, device, mobile terminal and storage medium
CN109947650B (en) Script step processing method, device and system
CN108334539A (en) Object recommendation method, mobile terminal and computer readable storage medium
US20210027162A1 (en) Neural Network Model, Data Processing Method, and Processing Apparatus
CN112333114B (en) Data transmission method, device, storage medium, terminal and network access point equipment
CN108521365B (en) Method for adding friends and mobile terminal
CN110399474B (en) Intelligent dialogue method, device, equipment and storage medium
CN109982273B (en) Information reply method and mobile terminal
CN112333738A (en) Network connection method, device, storage medium and electronic equipment
CN111148081A (en) Information interaction method and electronic equipment
CN111065126B (en) Hot spot sharing method and device, storage medium and electronic equipment
CN112654045A (en) Wireless network security protection method, mobile terminal and computer readable storage medium
WO2024027246A1 (en) Sound signal processing method and apparatus, and electronic device and storage medium
CN108391305B (en) WiFi hotspot selection method and terminal equipment
CN110136724A (en) A kind of data processing method and terminal device
CN113836329B (en) Multimedia content classification method, device, electronic equipment and storage medium
CN110209924B (en) Recommendation parameter acquisition method, device, server and storage medium
CN107645604B (en) Call processing method and mobile terminal
CN111723003A (en) Gray scale testing method and device, electronic equipment and storage medium
CN111475843A (en) Data processing method and related device
CN111277675A (en) Group member sorting method and electronic equipment
CN109618391B (en) Frequency point determination method, device and 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: 20210205