Control method, network configuration method and electronic equipment
By obtaining and utilizing the target evaluation information of the current network channel in electronic devices and controlling the wireless network equipment to adjust the network parameters, the problem that the existing wireless network cannot automatically adapt to environmental changes is solved, and dynamic optimization and improvement of network performance is achieved.
Patent Information
- Application Number
- CN202510125122.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-26
- Publication Date
- 2025-05-06
AI Technical Summary
Existing wireless network access points (APs) cannot automatically perceive and adapt to the impact of new peripheral devices on channel resources and electromagnetic interference, resulting in a degradation of network performance.
By obtaining target evaluation information for the current network channel in the electronic device, and controlling the target network device to adjust network parameters, such as channel, frequency band, signal strength, etc. based on this information, in order to optimize network services.
It realizes dynamic optimization of wireless networks, improves network performance, reduces delay and improves network speed, and provides a smoother network experience.
Smart Images

Figure CN119946670A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to a control method, a network configuration method and an electronic device. Background Art
[0002] In the current wireless network application scenarios, wireless access points (APs) play a key hub role, and many devices rely on APs to connect to the network. Users only need to complete the initial configuration once, and then they can rely on the established network architecture to carry out various online activities.
[0003] However, network usage scenarios are becoming increasingly complex, and new wireless devices are constantly emerging in the surrounding area. The channel resources occupied by these new devices and the electromagnetic interference they generate have had an impact on the network built by the original AP. The AP is unable to automatically sense and make adaptive adjustments. Summary of the invention
[0004] The purpose of the embodiment of the present application is to provide a control method, which is applied to a first electronic device, and the method includes:
[0005] Obtaining target evaluation information of a current network channel of a first network, where the first network is a network provided by a first network device to which the first electronic device is connected;
[0006] Controlling the target network device to provide network services with target network parameters based on the target evaluation information;
[0007] The target network device is a device that can provide network services to the first electronic device, and the target network device includes or does not include the first network device.
[0008] As an optional embodiment, controlling the target network device to provide network services with target network parameters based on the target evaluation information includes at least one of the following:
[0009] Controlling the target network device to provide network services with target network parameters based on the source and / or content of the target evaluation information;
[0010] Controlling the target network device to provide network services with target network parameters based on the response level corresponding to the target evaluation information;
[0011] The target network device is controlled to provide network services with target network parameters based on the configuration data carried by the target evaluation information.
[0012] As an optional embodiment, controlling the target network device to provide network services with target network parameters based on the evaluation information includes at least one of the following:
[0013] Controlling the target network device to provide network services via the target network channel based on the target evaluation information;
[0014] Based on the target evaluation information, control the first network device to provide network services with at least one of a target signal strength, a target broadcast interval, and a target network frequency band;
[0015] Based on the target evaluation information, other network devices in the space environment where the first electronic device is located are controlled not to provide network services or to provide network services through other network channels different from the current network channel.
[0016] As an optional embodiment, controlling the target network device to provide network services using the target network channel based on the target evaluation information includes at least one of the following:
[0017] Controlling the first network device to provide network services using the current network channel based on the target evaluation information;
[0018] Controlling the first network device to provide network services through a first network channel different from the current network channel based on the target evaluation information;
[0019] Based on the target evaluation information, a second network device is controlled to provide a network service through a second network channel, wherein the second network device is a network device that can be discovered by the first electronic device and establish an effective connection with the first electronic device.
[0020] As an optional embodiment, obtaining target evaluation information of a current network channel of the first network includes at least one of the following:
[0021] Obtaining first evaluation information of the first electronic device itself on the current network channel of the first network, and using the first evaluation information as the target evaluation information;
[0022] Obtaining the target evaluation information based on at least two evaluation information of each device in a device group to which the first electronic device belongs on a current network channel of the first network, wherein the device group is composed of a plurality of electronic devices connected to the first network;
[0023] User evaluation information of the current network channel of the first network input by the target user is obtained, and the user evaluation information is used as the target evaluation information.
[0024] As an optional embodiment, obtaining target evaluation information of a current network channel of the first network includes at least one of the following:
[0025] Obtaining first scoring data of the first electronic device itself for the current network channel of the first network, and using the first scoring data as the target evaluation information;
[0026] Obtaining, through the first network device, at least one second scoring data of other devices in the device group to which the first electronic device belongs for the current network channel of the first network, and performing weighted averaging or screening processing on the at least one second scoring data and the first scoring data of the first electronic device based on the weight of each device to obtain target scoring data as the target evaluation information, wherein the device group is composed of a plurality of electronic devices connected to the first network;
[0027] Obtaining at least one third scoring data of other devices on the current network channel of the first network through a communication connection with other devices in the device group, and performing weighted averaging or screening processing on the at least one third scoring data and the first scoring data of the first electronic device based on the weight of each device to obtain target scoring data as the target evaluation information, wherein the device group is composed of a plurality of electronic devices connected to the first network;
[0028] Obtain target evaluation information obtained by processing multiple scoring data of the current network channel by the first network device based on each device in the device group where the first electronic device is located, wherein the device group is composed of multiple electronic devices connected to the first network.
[0029] As an optional embodiment, the method further includes:
[0030] Obtaining fourth scoring data for other network channels of the first network and / or fifth scoring data for network channels of other networks in the spatial environment where the first electronic device is located, and obtaining reference scoring data based on the fourth scoring data and / or the fifth scoring data;
[0031] Correspondingly, controlling the target network device to provide network services with target network parameters based on the target evaluation information includes:
[0032] Determine a target network channel based on the reference score data and target score data for a current network channel of the first network, the target network channel being a channel having score data within a target numerical range;
[0033] The first network device or a second network device different from the first network device is controlled to provide a network service using the target network channel.
[0034] As an optional embodiment, the invention further includes at least one of the following:
[0035] Monitoring network parameter change information in the space environment where the first electronic device is located, and controlling the target network device to update the current network configuration parameters based on the network parameter change information;
[0036] When the target evaluation information triggers the first electronic device to switch from connecting to a first network provided by a first network device to connecting to another network, a prompt message is output, and based on feedback information for the prompt message, an operation of switching to a target network channel under the first network or another network is performed.
[0037] The purpose of the embodiment of the present application is to provide a network configuration method, which is applied to a network providing device, and the method includes:
[0038] Obtaining score data of each electronic device in a device group for a current network channel of a first network provided by the network providing device, wherein the device group is a collection of electronic devices connected to the first network;
[0039] A network frequency band and / or a network channel of the first network is configured based on the scoring data.
[0040] The purpose of the embodiment of the present application is to provide an electronic device, including:
[0041] A wireless communication module, used to establish a connection with a first network device providing a first network;
[0042] a controller capable of monitoring target evaluation information of the electronic device on the current network channel of the first network, so as to control the target network device to provide network services with target network parameters based on the target evaluation information;
[0043] The target network device is a device that can provide network services to the electronic device, and the target network device includes or does not include the first network device. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] Figure 1 A flow chart of a control method according to an embodiment of the present application;
[0045] Figure 2 is a flow chart of a control method according to another embodiment;
[0046] Figure 3 is a flow chart of a control method according to another embodiment;
[0047] Figure 4 A flowchart of a network configuration method according to an embodiment of the present application;
[0048] Figure 5 A structural block diagram of an electronic device according to an embodiment of the present application;
[0049] Figure 6 A software interface for calculating channel scores on a PC in an embodiment of the present application;
[0050] Figure 7A software interface for calculating scores of different channels on a PC of an embodiment of the present application;
[0051] Figure 8 A flowchart of a PC-side execution control method according to an embodiment of the present application;
[0052] Fig. 9 A software interface for calculating different channel scores for the AP of an embodiment of the present application. DETAILED DESCRIPTION
[0053] Various aspects and features of the present application are described herein with reference to the accompanying drawings.
[0054] It should be understood that various modifications may be made to the embodiments of the present application. Therefore, the above description should not be considered as limiting, but only as an example of an embodiment. Other modifications within the scope and spirit of the present application will occur to those skilled in the art.
[0055] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the present application and, together with the general description of the present application given above and the detailed description of the embodiments given below, serve to explain the principles of the present application.
[0056] These and other characteristics of the present application will become apparent from the following description of a preferred form of embodiment given as a non-limiting example with reference to the accompanying drawings.
[0057] It should also be understood that although the present application has been described with reference to some specific examples, those skilled in the art will be able to readily implement many other equivalent forms of the present application.
[0058] The above and other aspects, features and advantages of the present application will become more apparent in view of the following detailed description when taken in conjunction with the accompanying drawings.
[0059] Specific embodiments of the present application are described hereinafter with reference to the accompanying drawings; however, it should be understood that the embodiments applied for are merely examples of the present application, which may be implemented in a variety of ways. Well-known and / or repeated functions and structures are not described in detail to avoid unnecessary or redundant details that obscure the present application. Therefore, the specific structural and functional details applied for herein are not intended to be limiting, but merely serve as a basis and representative basis for the claims to teach those skilled in the art to use the present application in a variety of ways with substantially any suitable detailed structure.
[0060] This specification may use the phrases "in one embodiment," "in another embodiment," "in yet another embodiment," or "in other embodiments," all of which may refer to one or more of the same or different embodiments according to the present application.
[0061] The existing routers can only automatically scan all their channels and other wireless access points to see if the channels are occupied when the router is turned on or restarted and the user selects the automatic channel setting mode. The router cannot switch channels in real time according to the channel status during use.
[0062] Some high-end routers have a "one-click setup" function, but you also need to connect to the computer via an Ethernet cable (or scan the code with a mobile phone) to enter the configuration page, manually enter "192.168.1.1" to set the address, and manually select the "Automatic setup" option to complete the default configuration of the router.
[0063] However, most routers on the market require manual settings and switching, and the setting process is copied, which is difficult for novices or people who don’t know much about routers. Only a few high-end routers have the "one-click setting" function, and routers with this function are only useful for new machine configuration. During use, the connection of the device can only be used based on this setting, and the router configuration cannot be dynamically changed according to the environment.
[0064] Furthermore, the best channel is determined by making a preliminary judgment based on the air interface quality of each channel scanned by the wireless access point itself at the current location, without considering the usage status of each device in the local area network connected to the wireless access point in different location environments.
[0065] In view of this, an embodiment of the present application provides a control method, which is applied to a first electronic device, such as Figure 1 As shown, the method includes:
[0066] S10: Obtain target evaluation information of a current network channel of a first network, where the first network is a network provided by a first network device to which a first electronic device is connected.
[0067] In this embodiment, the first network refers to a network provided by a wireless access point (such as a router or a hotspot device that provides a wireless hotspot, hereinafter referred to as AP1). For example, in an office scenario, AP1 is deployed in a corner of an office area to provide wireless network connections for devices in the area. The wireless network provided by AP1 is the first network.
[0068] The current network channel is the channel currently used by the first network device to provide network services. Assuming that AP1 currently uses Channel 6 to provide network services for devices, then Channel 6 is the current network channel.
[0069] The first electronic device is client A. For example, in a home network environment, a user's mobile phone (assuming it is defined as client A) is the first electronic device, which is connected to a network provided by a home wireless router (AP1).
[0070] The first network device refers to AP1. For example, in a small shopping mall, AP1 serves as one of the wireless access points and provides wireless network services to customers in the mall.
[0071] The target evaluation information may be the evaluation information of a single device, or the synthesis or average of the evaluation information of multiple devices. Specifically, the target evaluation information includes the rating data of the first electronic device, the evaluation information input by the user, the rating data of other devices on the first network, and the network evaluation information (such as delay information) fed back by other devices.
[0072] For example, client A gives a rating of 1-5 stars based on its network speed experience after connecting to the first network. This is the rating data of the first electronic device; or after other devices connect to the first network, the feedback network delay is 50ms. This is the network evaluation information feedback from other devices.
[0073] S11, controlling the target network device to provide network services with target network parameters based on the target evaluation information;
[0074] The target network device is a device that can provide network services to the first electronic device, and the target network device includes or does not include the first network device.
[0075] In this embodiment, the target network device may be the first network device or other network devices, and the first network device or other network devices may provide network services to the first electronic device. The target network device may be a single device or multiple devices.
[0076] When the target network device is a single device, when the AP1 connected to the first electronic device has problems in performance, coverage, etc., only AP1 is adjusted to optimize network services. The first electronic device may be a mobile phone, a computer, etc., and AP1 is a wireless access point that provides a network.
[0077] For example, in a small office, an employee's computer (first electronic device) is connected to AP1 to access the Internet. If it is detected that the channel where AP1 is located has serious interference, resulting in slow network speed, the network channel of AP1 can be adjusted separately, such as switching from Channel 6 to Channel 11 with less interference, so as to improve network quality.
[0078] Alternatively, if the first electronic device is originally connected to AP1, but the signal of the current network channel of AP1 is poor, and the signal of a network channel of AP2 is better, in order to obtain high-quality network service, the first electronic device switches to AP2 connection and can adjust the network channel of AP2.
[0079] For example, in a home, the user's mobile phone (first electronic device) is initially connected to AP1 in the living room. When the user walks into the bedroom, he finds that the signal of AP1 is weak, while the signal of AP2 in the bedroom is strong, and the mobile phone automatically switches to AP2. If it is found that the signal strength of AP2 is good but the network frequency band has large interference, the network frequency band of AP2 can be adjusted from 2.4GHz to 5GHz.
[0080] When the target network device is multiple devices, in a complex network environment, AP1 and AP2 will be adjusted at the same time to achieve better network coverage and service quality. For example, in a large office area or floor, multiple APs work together.
[0081] For example, in a two-story office building, AP1 is deployed on the first floor and AP2 is deployed on the second floor. When an employee moves between the two floors with a laptop (the first electronic device), AP1 and AP2 need to be adjusted at the same time to ensure seamless network switching and stable connection. Their transmission power can be adjusted to allow the coverage of the two APs to overlap appropriately to avoid signal blind spots; they can also be set to use different but non-interfering channels to reduce signal interference and improve overall network performance.
[0082] Specifically, use a professional network scanning tool to analyze the interference status of each frequency band and channel in the office area. Generally, the 2.4GHz frequency band has more interference, while the 5GHz frequency band has relatively less interference, but the coverage is smaller. According to the scanning results, assign channels with less mutual interference to AP1 and AP2. For example, in the 2.4GHz frequency band, AP1 can be set to Channel 1 and AP2 to Channel 6 or Channel 11, because the interference between these channels is relatively small.
[0083] The target network parameters include the target network channel (which can be the current network channel or the network channel after switching), as well as the network frequency band, radiation power, broadcast interval, signal strength, etc.
[0084] Signal strength determines how far away a device can stably connect to the network; broadcast interval affects the timeliness of device discovery of the network; network frequency bands include 2.4GHz and 5GHz, and different frequency bands have different transmission characteristics. For example, in an office, adjusting the signal strength of the AP can enable devices in distant locations to access the Internet stably; changing the broadcast interval can allow new devices to search the network faster; switching network frequency bands can avoid interference and increase network speed.
[0085] For example, in the target network parameters, the target network channel is switched from the current Channel 6 to Channel 11, or the network frequency band is adjusted from 2.4 GHz to 5 GHz, or the radiation power of AP1 is changed from the default 100 mW to 80 mW, or the broadcast interval is modified from 100 ms to 200 ms.
[0086] The target network device may provide network services to the current space environment, or other network devices may provide network services to the corresponding space environment.
[0087] For example, on a floor, there are multiple AP devices. When the current electronic device (the first electronic device) in a certain area has a lower priority than other devices, the AP with the best signal in the area (such as AP3) can provide network services for the devices in the area (including the first electronic device).
[0088] For example, in a three-bedroom home, a wireless router AP1 is installed as the target network device. AP1 is placed in the living room, and its signal covers the entire residential space. Electronic devices such as mobile phones, tablets, and smart TVs in the home are connected to the network provided by AP1, and the living room, bedroom, kitchen, and other rooms can all access the Internet, watch videos, and use smart home devices normally. At this point, AP1 is providing network services to the current space environment (family home).
[0089] As the number of smart devices in the home increases, the network service capacity of AP1 gradually cannot meet the needs, especially in the corners of the bedroom where the signal is weak. Therefore, the user added a wireless repeater AP2.
[0090] AP2 is placed in the bedroom, and it enhances the network coverage of the bedroom by relaying the signal of AP1. For the bedroom space environment, AP2 is another network device, which provides better network services to the corresponding space environment of the bedroom, so that the area with weak signal can also connect to the network stably.
[0091] In addition, in a complex network environment, there are multiple network devices (such as AP, wireless access point) and multiple electronic devices, and different electronic devices may be assigned different priorities. For example, the type of device (such as the priority of an office computer in an enterprise may be higher than that of a visitor's mobile phone), the identity of the user (such as the priority of a company executive's device is higher than that of an ordinary employee), the importance of the task performed by the device (such as the priority of a device that is currently in a video conference is higher than that of a normal web browsing device), etc.
[0092] The current electronic device refers to a specific electronic device whose network service provision is being considered, and other devices refer to other electronic devices other than the current electronic device in the same network environment.
[0093] If the priority of the current electronic device is lower than that of other devices, it means that other devices have higher priority in using network resources. In this case, if the network service quality of the space where the current electronic device is located is poor, or the AP in the area has been heavily occupied by high-priority devices, in order to ensure the efficient use of the overall network and the normal operation of high-priority devices, the current electronic device can be connected to the AP with the best performance in the space where other devices are located to obtain better network services.
[0094] For example, in a large office, there are multiple rooms, each with an AP deployed. There are office computers, employee mobile phones, and visitor devices in the office. The company stipulates that office computers have the highest priority, followed by employee mobile phones, and visitor devices have the lowest priority. A visitor holds a mobile phone (current electronic device) and enters a room where a large number of network resources are already occupied by multiple office computers. The AP network in the room is congested, and the visitor's mobile phone has a very slow Internet access speed. However, there are fewer office computers in the next room, and the AP in the room (the best AP) has good network performance. At this time, the system can automatically guide the visitor's mobile phone to connect to the AP in the next room to obtain better network services.
[0095] The target network device provides network services to the first electronic device, which means that the first electronic device is within the signal coverage of the target network device. For example, the signal coverage of AP1 is the front half of the office. When the first electronic device (client A) is in this area, AP1 can provide network services to it.
[0096] When the present application is applied, the first electronic device (client A) obtains the target evaluation information of the current network channel of the first network (the network provided by AP1). It can score the network experience by itself, or collect the evaluation information of the network by other devices, such as delay, packet loss rate, etc., or receive the evaluation information manually input by the user. For example, after connecting to the network of AP1 for a period of time, client A detects that the network delay is high, and uses this delay information as part of the target evaluation information.
[0097] Based on the acquired target evaluation information, the first electronic device controls the target network device to provide network services with target network parameters. If the target evaluation information shows that the current network channel is interfered, resulting in poor network performance, the first electronic device can control the target network device (such as AP1 or AP2) to switch to another target network channel, or adjust the network frequency band, radiation power and other target network parameters to improve the quality of network services. For example, if it is found that the current channel of AP1 has large interference, the first electronic device sends an instruction to AP1 to switch to a channel with less interference, thereby improving network performance.
[0098] For example, in an office scene of a multi-storey office building, multiple AP devices (AP1, AP2, AP3, etc.) are deployed on each floor. A mobile phone (first electronic device, client A) used by an employee of a company is connected to the network (first network) provided by AP1 (first network device) on the floor, and the current network channel is Channel 1.
[0099] During use, client A found that the network speed was slow. At the same time, through communication with other devices in the same office, it was learned that other devices also had similar problems. Therefore, client A collected information such as the slow network speed feedback from itself and other devices as target evaluation information. Then, based on this target evaluation information, client A judged that there might be interference in the current network channel and decided to control the target network device (here is AP1) to switch to Channel 6 (the target network channel in the target network parameters) in the hope of obtaining better network services.
[0100] By obtaining target evaluation information, the first electronic device in this application can accurately understand the current network status, thereby specifically adjusting the network parameters of the target network device, effectively improving network performance, reducing network delays, increasing network speeds, etc., and providing users with a smoother network experience.
[0101] The target network device can be either the currently connected first network device or other network devices, which enables the system to flexibly select the most appropriate network device to provide services for the first electronic device according to actual conditions, thereby improving the utilization efficiency of network resources.
[0102] The target evaluation information comes from various sources, including device self-scores, user input, and feedback from other devices. It can comprehensively reflect network usage and meet the diverse needs of network optimization for different users and scenarios.
[0103] In another embodiment, if Figure 2 As shown, the method includes:
[0104] S20: Obtain target evaluation information of a current network channel of a first network, where the first network is a network provided by a first network device to which a first electronic device is connected in a first space.
[0105] In this embodiment, the first space can be regarded as a home space or a work space, which is mainly within the signal coverage range of AP1 or the signal search range of device A. For example, a family home as a whole is a first space, the wireless router AP1 in the home covers the entire home, and all the devices in the home are in this first space; or in an office area, device A can search for the signal of AP1, and this office area is the first space.
[0106] S21. Control the target network device in the target space to provide network services with target network parameters based on the target evaluation information.
[0107] The target space includes or excludes the first space, and the target network device includes or excludes the first network device.
[0108] In this embodiment, the target space includes or excludes the first space, that is, the target space is the same as or different from the first space, which can be interpreted as the spatial location of the electronic device. For example, if the first space is a family residence, the target space can be the same residence (same situation); or it can be a community public area near the residence (different situation).
[0109] When the target space includes the first space, the first electronic device connects to the first network provided by the first network device in the first space, and the device evaluates the current network channel of the first network to obtain target evaluation information. This can be done by detecting indicators such as network speed, delay, signal strength, etc., or collecting evaluations input by users.
[0110] Based on the target evaluation information, the first electronic device determines whether the network service needs to be adjusted. If necessary, the target network device (which may still be the first network device or other network devices in the first space) and the target network parameters (such as network channel, frequency band, signal strength, etc.) are determined.
[0111] The first electronic device sends instructions to the target network device to enable it to provide network services with target network parameters to optimize network performance in the first space.
[0112] For example, in a home environment, the first space is the entire home. The first electronic device is the user's mobile phone, the first network device is the wireless router AP1 at home, the first network is the wireless network provided by AP1, and the current network channel is Channel 6. The mobile phone detects that the network speed is slow and the signal is unstable, and uses this information as target evaluation information.
[0113] After analysis, it is found that the current channel has a large interference, so the target network device is determined to be AP1, and the target network parameter is to switch the network channel to Channel 11 with less interference. The mobile phone sends a command to AP1, and AP1 switches to Channel 11 to continue to provide network services for the devices in the home.
[0114] When the target space does not include the first space, the first electronic device connects to the first network provided by the first network device in the first space, and obtains target evaluation information of the current network channel of the first network.
[0115] The first electronic device determines whether it needs to switch to the network service in the target space according to the target evaluation information. If necessary, the target space and the target network device in the space (usually other network devices different from the first network device) are determined.
[0116] The first electronic device disconnects from the first network device, searches for and connects to the target network device in the target space, and then determines the target network parameters according to the target evaluation information and the network environment of the target space, and controls the target network device to provide network services with these parameters.
[0117] Assume that the first space is the user's office, the first electronic device is a laptop, the first network device is the wireless router AP1 in the office, the first network is the network provided by AP1, and the current network channel is Channel 8. The computer detects that the office network signal is weak and the network speed is slow, and uses this as target evaluation information.
[0118] After searching, it was found that the wireless router AP2 (target network device) in the next meeting room (target space) had a stronger signal. Therefore, the computer disconnected from AP1 and connected to AP2. According to the network environment of the meeting room, the target network parameters were determined to switch the network frequency band to 5GHz to obtain a faster network speed. The computer sent instructions to AP2, and AP2 adjusted the parameters to provide network services for the computer.
[0119] This application supports the first electronic device to flexibly adjust network services between different spaces. Even if the device moves to different areas, it can quickly find suitable network devices and optimize network parameters to ensure the stability and smoothness of the network connection.
[0120] In one embodiment, controlling the target network device to provide network services with target network parameters based on the target evaluation information includes at least one of the following:
[0121] 1. Controlling the target network device to provide network services with target network parameters based on the source and / or content of the target evaluation information;
[0122] In this embodiment, the source of the target evaluation information refers to which device the evaluation information comes from. Different devices may have different priorities, and the control logic corresponding to the evaluation information fed back by devices with different priorities is also different.
[0123] For example, in an office network environment, there are device A (such as the boss's computer) and device B (the computer of an ordinary employee). Device A has the highest priority, and device B has a relatively low priority. If device A feeds back network evaluation information, it can trigger a higher level of network adjustment operations, such as switching APs or switching the network channel of the current AP; while the adjustment operations triggered by the information fed back by device B are relatively simple, such as only controlling AP1 to adjust the channel.
[0124] The content of the target evaluation information refers to the decision on the adjustment object based on the score or the degree of positive or negative score.
[0125] For example, if the device rates the network from 1 to 5 stars, when the rating is 1 star (negative evaluation), the network may need to be adjusted significantly, such as switching APs; when the rating is 4 stars (positive evaluation), only some minor parameter adjustments may be required.
[0126] When applied, this application collects target evaluation information, determines its source device and content (score or positive or negative degree), and decides on the adjustment operation of the target network device according to the priority and content of the source device.
[0127] If the source device priority is high and the content is highly negative (such as 1 star), the target network device may be controlled to switch to an AP with better network quality; if the source device priority is low and the content is slightly negative (such as 3 stars), only the current AP may be controlled to adjust the channel.
[0128] 2. Controlling the target network device to provide network services with target network parameters based on the response level corresponding to the target evaluation information;
[0129] In this embodiment, the response level corresponding to the target evaluation information refers to the response mode in which the network parameters of the target AP should be configured. For example, the response level can be divided into high, medium and low.
[0130] When the target evaluation information shows that the network is extremely poor, it corresponds to a high response level, and you need to switch to the backup AP immediately; when the evaluation information shows that the network is slightly stuck, it corresponds to a medium response level, and you can adjust the channel of the current AP; when the evaluation information shows that the network is basically normal, it corresponds to a low response level, and you only need to fine-tune parameters such as the broadcast interval.
[0131] 3. Based on the configuration data carried by the target evaluation information, control the target network device to provide network services with target network parameters.
[0132] In this embodiment, the configuration data carried by the target evaluation information may be at least one of a specified AP, a specified frequency band, and a specified CH (channel).
[0133] When the present application is applied, configuration data (specified AP, specified frequency band, specified CH, etc.) is extracted from the target evaluation information, and the target network device is directly controlled according to the configuration data to provide network services with corresponding target network parameters.
[0134] For example, if the target evaluation information carries configuration data of "specifying the AP as AP2, the frequency band as 5 GHz, and the CH as Channel 11", the system will control the network device according to these data.
[0135] This application comprehensively considers the source, content, response level and configuration data of the target evaluation information, and can determine the target network device and the network parameters corresponding to the target network device, such as network channel, network signal strength, broadcast interval, network frequency band, etc. This application adjusts the target network device more accurately, improving the pertinence and effectiveness of network adjustment.
[0136] In one embodiment, controlling the target network device to provide network services with target network parameters based on the evaluation information includes at least one of the following:
[0137] 1. Based on the target evaluation information, control the target network device to provide network services through the target network channel;
[0138] In this embodiment, the target network channel is a network channel that is determined based on the target evaluation information and is expected to be used by the first network device. For example, in a multi-AP environment, if it is found through evaluation that Channel 11 has less interference, then Channel 11 can be used as the target network channel.
[0139] When the present application is applied, the first electronic device collects target evaluation information and evaluates the performance of the current network channel, such as interference, signal quality, etc. The target network channel is determined according to the evaluation result, and an instruction is sent to the target network device to switch to the target network channel.
[0140] 2. Based on the target evaluation information, control the first network device to provide network services with at least one of a target signal strength, a target broadcast interval, and a target network frequency band;
[0141] In this embodiment, the target signal strength, target broadcast interval and target network frequency band are set according to the target evaluation information, and refer to the signal strength, broadcast interval and network frequency band parameters that the first network device needs to achieve.
[0142] For example, in order to allow devices at farther locations to connect, the target signal strength is increased; in order to allow devices to discover the network faster, a shorter target broadcast interval is set; in order to avoid interference, 5GHz is selected as the target network frequency band.
[0143] When the present application is applied, the first electronic device analyzes the target evaluation information to determine whether the signal strength, broadcast interval or network frequency band needs to be adjusted. The target signal strength, target broadcast interval or target network frequency band is determined. The first network device is controlled to adjust the corresponding parameters.
[0144] 3. Based on the target evaluation information, control other network devices in the space environment where the first electronic device is located not to provide network services or to provide network services through other network channels different from the current network channel.
[0145] In this embodiment, other network devices refer to devices other than the first network device that are located in the space where the first electronic device is located and can provide network services, such as other APs. For example, in a large office, in addition to AP1 connected to employees, there are other AP2, AP3, etc. that serve different areas.
[0146] Not providing network services means that other network devices stop transmitting network signals and turn off their functions of providing network services. This may be done to reduce network interference in the space so that the first electronic device can connect to the first network more stably.
[0147] For example, based on the target evaluation information, the user controls the backup router AP2 in the bedroom through the mobile phone management software to shut down and stop providing network services. In this way, there is no signal interference from AP2 in the living room, and the network connection of the mobile phone to AP1 becomes more stable and the network speed is also improved.
[0148] Providing network services with other network channels different from the current network channel is to adjust the network channels used by other network devices to be different from the current network channel of the first network. This can avoid interference between multiple network devices on the same channel and improve the network quality in the entire space.
[0149] For example, users can choose to have AP2 switch to other channels and adjust AP2's network channel to Channel 11, which is different from AP1's Channel 6. After the adjustment, the signal interference between the two routers is reduced, and mobile phones and other devices can connect to the network more stably in the living room and bedroom.
[0150] When the present application is applied, the first electronic device obtains the target evaluation information and understands the usage of the network channel in the current space. It determines whether it is necessary to adjust other network devices to enhance the channel occupancy rate of the first network device. If necessary, it sends instructions to other network devices to shut down or switch to other channels.
[0151] For example, in a home scenario, the first electronic device is a user's mobile phone, and the first network device is a wireless router AP1 at home.
[0152] The mobile phone finds through detection that the currently connected AP1 has serious interference on Channel 6 and the signal is unstable, so it determines the target network channel as Channel 11 with less interference and controls AP1 to switch to this channel.
[0153] Or, the mobile phone also finds that the signal in the bedroom far from the router is weak, and according to the target evaluation information, it increases the target signal strength and controls AP1 to increase the transmission power.
[0154] Or, there is a spare AP2 at home, and in order to reduce interference, the mobile phone controls AP2 to shut down.
[0155] This application can effectively reduce interference, improve signal coverage and stability, and thus improve network quality by controlling the target network channel, signal strength, broadcast interval, and network frequency band. Controlling other network devices not to provide services or switch channels can avoid channel conflicts, increase the channel occupancy rate of the first network device, and make more reasonable use of network resources.
[0156] In one embodiment, controlling the target network device to provide network services using the target network channel based on the target evaluation information includes at least one of the following:
[0157] 1. Based on the target evaluation information, control the first network device to provide network services using the current network channel;
[0158] In this embodiment, the first network device is generally referred to as AP1, which is the network access point to which the first electronic device is initially connected. For example, in a home environment, the home wireless router to which the first electronic device (such as a mobile phone) is connected is AP1.
[0159] The current network channel is the channel currently used by the first network device to provide network services. Assume that the AP1 in the home currently uses Channel 6 to provide network services, then Channel 6 is the current network channel.
[0160] When the present application is applied, the first electronic device collects target evaluation information and evaluates the performance of the current network channel. If the evaluation result shows that the current network channel has good performance and there is no interference or other problems, an instruction is sent to the first network device to maintain the current network channel and continue to provide network services.
[0161] For example, the user's mobile phone (first electronic device) is connected to the wireless router AP1 at home, and the current network channel is Channel 6. The mobile phone detects that the Channel 6 signal is stable and has no interference, so the mobile phone sends an instruction to AP1 to continue using Channel 6 to provide network services.
[0162] 2. Based on the target evaluation information, control the first network device to provide network services through a first network channel different from the current network channel;
[0163] In this embodiment, the first network channel is a channel different from the current network channel, and when the first network device needs to switch channels, it will use this channel. For example, if it is found that Channel 6 has a large interference, AP1 will switch to Channel 11, where Channel 11 is the first network channel.
[0164] When the present application is applied, the first electronic device analyzes the target evaluation information to determine whether there is a problem with the current network channel, such as interference, weak signal, etc. If there is a problem, the first electronic device searches for other available channels to determine the first network channel, and sends an instruction to the first network device to switch to the first network channel.
[0165] For example, the mobile phone detects that Channel 6 is seriously interfered and the network speed slows down. After searching for available channels, the mobile phone determines that Channel 11 has less interference and sends an instruction to AP1 to switch from Channel 6 to Channel 11 (the first network channel).
[0166] 3. Based on the target evaluation information, control a second network device to provide network services through a second network channel, wherein the second network device is a network device that can be discovered by the first electronic device and establish an effective connection with the first electronic device.
[0167] In this embodiment, the second network device refers to a network device that can be discovered by the first electronic device and establish an effective connection with it, usually AP2. For example, in an office scenario, in addition to the main AP1 connected to the employee's computer, there is also a spare AP2 for switching.
[0168] The second network channel is a channel used by the second network device to provide network services, which can be its current channel or the optimal channel after evaluation. Assuming that AP2 currently uses Channel 13, or Channel 13 is found to be the optimal channel for AP2 after detection, then Channel 13 is the second network channel.
[0169] When the present application is applied, the first electronic device collects target evaluation information and evaluates the network service quality of the first network device. If the network service quality of the first network device is poor and the presence of a second network device (AP2) is detected, the available channels of the second network device are evaluated to determine the second network channel. The first electronic device establishes a connection with the second network device and controls the second network device to provide network services using the second network channel.
[0170] For example, a user uses a mobile phone to connect to AP1 in the living room. When walking to the bedroom, the user finds that the AP1 signal is very weak. The mobile phone detects that there is a backup AP2 in the bedroom, and after evaluating the channels of AP2, it determines that Channel 13 is the optimal channel. The mobile phone disconnects from AP1, establishes a connection with AP2, and controls AP2 to provide network services using Channel 13 (the second network channel).
[0171] This application adopts a reasonable control strategy for the target network channel, which can achieve multi-faceted optimization: when the network channel performance is good, maintain the current channel to avoid unnecessary switching, reduce the risk of network interruption, and ensure stable network operation; when there is a problem with the current channel, switch to the better first network channel in time to reduce interference, increase network speed and signal strength, and improve network quality; when the signal coverage of the first network device is insufficient, switch to the second network device to expand the network coverage and ensure that users in different areas can obtain high-quality network services.
[0172] In one embodiment, obtaining target evaluation information of a current network channel of the first network includes at least one of the following:
[0173] 1. Obtaining first evaluation information of the first electronic device itself on the current network channel of the first network, and using the first evaluation information as the target evaluation information;
[0174] In this embodiment, the first evaluation information is the evaluation information made by the first electronic device itself on the current network channel of the first network. For example, a mobile phone gives a 1-5 star rating by detecting the network speed, delay, etc. of its own connection network, which is the first evaluation information.
[0175] The target evaluation information is key evaluation information used for subsequent control of network devices to adjust network parameters, and it can be directly derived from the first evaluation information.
[0176] When the present application is applied, the first electronic device detects and evaluates the performance of the current network channel of the first network connected to the first electronic device, such as detecting network speed, delay, packet loss rate and other indicators. The first evaluation information is generated according to the detection result, for example, in the form of a score or text description. The first evaluation information is directly determined as the target evaluation information.
[0177] In a network environment, the first device usually refers to a specific device connected to the network (provided by AP1). The first evaluation information is the evaluation of the network by the first device, such as the score given by the device based on the network speed, signal stability, delay and other indicators it experiences when connecting to the network, or the problem feedback recorded by the device during the use of the network.
[0178] The target evaluation information is the key basis for subsequent decisions on whether to adjust network parameters (such as network channels, frequency bands, etc.). Using the first evaluation information as the target evaluation information means not considering the evaluation of other devices, and directly taking the evaluation given by the first electronic device as the basis for decision-making. This situation generally occurs when only the first electronic device is connected to AP1 and there is no evaluation of other devices for reference; or when the first electronic device has the highest priority or authority and its evaluation plays a decisive role.
[0179] Among them, when only the first electronic device is connected to AP1, in a remote small weather station, only one weather monitoring device (the first electronic device) is connected to the wireless router AP1 in the station to transmit the monitored weather data to the data center in real time.
[0180] When the weather monitoring device was connected to AP1, it detected that the network delay was too high, which caused frequent data transmission jams and packet loss. Based on its own monitoring results, the device gave an evaluation of "poor network quality and delay seriously affecting data transmission" (the first evaluation information).
[0181] Since there is only one device connected to AP1 and no other devices are evaluated, the first evaluation information of the meteorological monitoring device is directly used as the target evaluation information. Based on this target evaluation information, the system decides to adjust the network parameters of AP1, such as trying to switch the network channel to improve the network quality and ensure that the meteorological data can be transmitted accurately and timely.
[0182] When the priority or authority of the first electronic device is the highest, a wireless router AP1 is deployed in a conference room of a company to provide network services for the devices of the participants. The laptop computer (the first electronic device) of the company executive is set to have the highest network usage priority and authority.
[0183] During the meeting, the executive's laptop experienced slow network speed and video conference lag when connecting to AP1. Based on its own network experience, the computer gave the evaluation that "the network speed cannot meet the needs of video conferencing" (the first evaluation information).
[0184] Although there are other participants' devices connected to AP1 in the conference room, and some of them report that the network status is OK, the executive's laptop has the highest priority and its evaluation plays a decisive role. Therefore, the first evaluation information of this laptop is directly used as the target evaluation information.
[0185] Based on this target evaluation information, AP1's network is immediately optimized and adjusted, such as increasing AP1's transmission power and switching to a frequency band with less interference, to ensure the network usage needs of executives' laptops.
[0186] 2. Obtaining the target evaluation information based on at least two evaluation information of each device in a device group to which the first electronic device belongs on a current network channel of the first network, wherein the device group is composed of a plurality of electronic devices connected to the first network;
[0187] In this embodiment, the device group is a group of multiple electronic devices connected to the first network. For example, all computers, mobile phones and other devices in an office connected to the same AP1 constitute a device group.
[0188] When the present application is applied, each electronic device in the device group evaluates the current network channel of the first network and generates respective evaluation information. The evaluation information is collected and data can be transmitted by wire or wireless means. The collected evaluation information is processed, such as calculating the average score, selecting the score or evaluation information of the device with the highest priority, or performing fusion processing, and finally obtaining the target evaluation information.
[0189] Specifically, in a network environment where multiple devices are connected to the same wireless access point AP1, each device in the device group will evaluate the channel (current CH) currently used by AP1 and give corresponding evaluation information, which can be a score (such as 1-5 stars) or a text description (such as "network lag" or "strong signal"). The target evaluation information is the key basis for comprehensively judging the quality of the current network channel in order to decide whether to adjust the network parameters.
[0190] There are many ways to obtain target evaluation information, including:
[0191] 1- Calculate the average score: add up the scores of each device in the device group for the current network channel of AP1, and then divide it by the number of devices to get the average score, which is used as the target evaluation information. This method can comprehensively consider the evaluation of all devices and reflect the overall network experience.
[0192] For example, in a home environment, multiple devices (mobile phones, tablets, smart TVs) are connected to the home wireless router AP1. The current channel used by AP1 is Channel 6.
[0193] The mobile phone gave a 3-star rating, thinking that the network occasionally froze; the tablet gave a 2-star rating, thinking that the video playback was not smooth; the smart TV gave a 4-star rating, and feedback showed that there was basically no problem watching high-definition videos.
[0194] Calculate the average of the ratings of the three devices, that is, (3+2+4)÷3=3 stars. Take 3 stars as the target rating information. Based on this target rating information, consider whether to adjust the channel of AP1 to improve the overall network experience.
[0195] 2-Select the score or evaluation information of the device with the highest priority: Set different priorities for the devices in the device group. For example, the devices of the leaders in the enterprise and the devices that undertake key business have higher priority. Select the score or evaluation information given by the device with the highest priority as the target evaluation information to ensure that the network needs of important devices are prioritized.
[0196] For example, in a company's office, multiple computers and printers are connected to AP 1. Among them, the general manager's computer is set as the device with the highest priority.
[0197] The general manager's computer frequently experienced network interruptions when using the current channel (Channel 8) of AP1, and gave the evaluation that "the network is extremely unstable, seriously affecting work." Although other employees' computers also reported some minor lags, they were still able to work normally overall and gave relatively good evaluations.
[0198] Since the general manager's computer has the highest priority, its evaluation information is directly used as the target evaluation information. Based on this target evaluation information, the IT department immediately checks and adjusts the AP1 network and gives priority to solving the network problem of the general manager's computer.
[0199] 3- Fusion processing of various evaluation information: Use specific algorithms or rules to integrate the evaluation information of various devices to generate a new target evaluation information that can fully reflect the network status. For example, consider the key information in the score and text description at the same time.
[0200] For example, in a school classroom, students' mobile phones and teachers' teaching tablets are connected to the classroom's AP1, and the current channel is Channel 11.
[0201] Some students’ mobile phones reported weak signals and gave a 2-star rating; other students’ phones reported slow network speeds and gave a 3-star rating; the teacher’s teaching tablet emphasized that unstable network affected the teaching demonstration and described the problem in detail in text.
[0202] Through fusion processing, comprehensive consideration of the score and text description, the target evaluation information is generated as "the current channel signal is weak, the network speed is slow and unstable, and it has a great impact on teaching and student use." Based on this target evaluation information, the channel of AP1 is adjusted and optimized.
[0203] 3. Obtain user evaluation information of the current network channel of the first network input by the target user, and use the user evaluation information as the target evaluation information.
[0204] In this embodiment, the user evaluation information is evaluation information of the current network channel of the first network manually input by the target user, such as a text evaluation such as "the network is very slow and often disconnected" input by the user in a mobile phone application.
[0205] When the present application is applied, an interface is provided for a user to input evaluation information, such as an evaluation window in a mobile application or an evaluation form on a web page. The target user inputs evaluation information of the current network channel of the first network in the interface, such as a text description, a rating, etc. The evaluation information input by the user is determined as the target evaluation information.
[0206] This application obtains target evaluation information in a variety of ways, which can comprehensively reflect the actual status of the current network channel of the first network from different angles. The evaluation of the first electronic device can reflect the user experience of the individual device, the evaluation fusion of the device group can integrate the experience of multiple devices, and the evaluation input by the user can reflect the subjective feeling, making the evaluation of the network more accurate.
[0207] In one embodiment, obtaining target evaluation information of a current network channel of the first network includes at least one of the following:
[0208] 1. Obtaining first scoring data of the first electronic device itself for the current network channel of the first network, and using the first scoring data as the target evaluation information;
[0209] In this embodiment, the first scoring data is the scoring data given by the first electronic device itself to the current network channel of the first network. The first scoring data only considers the situation that only a single device is used under the first network.
[0210] For example, when the mobile phone is connected to Channel 6 of the home network, after detecting indicators such as network speed and stability, it gives a score of 7 points. This is the first scoring data.
[0211] When the present application is applied, the first electronic device detects the performance of the current network channel of the first network connected to the first electronic device, such as detecting the network speed, delay, packet loss rate, etc. The first scoring data is generated according to the detection result, and the first scoring data is directly determined as the target evaluation information.
[0212] For example, the user's mobile phone (first electronic device) is connected to the wireless router AP1 (first network) at home, and the current network channel is Channel 6. The mobile phone detects that the network speed is slow, gives a score of 3 points (first score data), and uses 3 points as the target evaluation information.
[0213] 2. Obtaining, through the first network device, at least one second scoring data of other devices in the device group to which the first electronic device belongs for the current network channel of the first network, and performing weighted averaging or screening processing on the at least one second scoring data and the first scoring data of the first electronic device based on the weight of each device to obtain target scoring data as the target evaluation information, wherein the device group is composed of a plurality of electronic devices connected to the first network;
[0214] In this embodiment, the second scoring data is the scoring data of the current network channel of the first network obtained by the first electronic device through the first network device from other devices in the device group. In addition to the scoring of the device itself, factors such as device weight, CH occupancy information, device running application information, and device priority are also considered.
[0215] For example, in an office network, a computer (the first electronic device) learns through AP1 the scores of other mobile phones and other computers on the current network channel, while considering the importance (weight) of different devices, the proportion of network channels occupied by each device, whether office software or video software is running, and other information. The scores obtained are the second scoring data.
[0216] Weighted average processing means calculating the average score of the current network channel based on the weight of each device. For example, device A has a weight of 0.4 and a score of 8 points; device B has a weight of 0.3 and a score of 7 points; device C has a weight of 0.3 and a score of 6 points. The weighted average score = 8 × 0.4 + 7 × 0.3 + 6 × 0.3 = 7.1 points.
[0217] The screening process refers to selecting unique or non-unique scoring data to determine the target evaluation data. For example, the scoring data of the device with the highest priority or weight is directly used as the target evaluation data, or the scoring data of several devices are designated as the target evaluation data.
[0218] The target scoring data is scoring data used as target evaluation information obtained by performing weighted averaging processing or screening processing on the first scoring data and the second scoring data.
[0219] When the present application is applied, each device in the device group scores the current network channel of the first network to generate respective scoring data. The first electronic device obtains the second scoring data through the first network device.
[0220] Combined with the first scoring data of the first electronic device itself, all the scoring data are weighted averaged or screened according to the weight of each device, and the target scoring data obtained after the processing is used as the target evaluation information.
[0221] For example, in addition to mobile phones, there are also computers and tablets connected to AP1 at home, forming a device group. The mobile phone obtains the computer score of 4 points and the tablet score of 3 points (second score data) through AP1. Assume that the weight of the mobile phone is 0.4, the weight of the computer is 0.3, the weight of the tablet is 0.3, and the first score data of the mobile phone itself is 3 points. Weighted average calculation: 3×0.4+4×0.3+3×0.3=3.3 points, and 3.3 points is used as the target evaluation information.
[0222] 3. Obtaining at least one third scoring data of other devices on the current network channel of the first network through communication connection with other devices in the device group, and performing weighted average processing or screening processing on the at least one third scoring data and the first scoring data of the first electronic device based on the weight of each device to obtain target scoring data as the target evaluation information, wherein the device group is composed of multiple electronic devices connected to the first network;
[0223] In this embodiment, the third scoring data is the scoring data of each device on the current network channel of the first network obtained by the first electronic device through direct connection with other devices in the device group. It is essentially the same as the second scoring data, but the acquisition method is different.
[0224] For example, in a small local area network, a computer (first electronic device) directly communicates with other computers, tablets and other devices connected to the same network to obtain their scores for the current network channel. These scores are the third scoring data.
[0225] When the present application is applied, each device in the device group scores the current network channel of the first network to generate respective scoring data. The first electronic device obtains the third scoring data through direct communication with other devices.
[0226] Combined with the first scoring data of the first electronic device itself, all the scoring data are weighted averaged or screened according to the weight of each device, and the target scoring data obtained after the processing is used as the target evaluation information.
[0227] For example, the mobile phone directly connects with the computer and the tablet to obtain their ratings (third rating data) for the current network channel. The computer rating is 4 points and the tablet rating is 3 points. Similarly, combined with the first rating data of the mobile phone itself, 3 points, a weighted average calculation is performed according to the above weights to obtain 3.3 points, which is used as the target evaluation information.
[0228] 4. Obtain target evaluation information obtained by processing multiple scoring data of the current network channel by the first network device based on each device in the device group where the first electronic device is located, wherein the device group is composed of multiple electronic devices connected to the first network.
[0229] In this embodiment, the device group refers to a group of multiple electronic devices connected to the first network. For example, all computers, mobile phones, tablets and other devices in the office connected to the same AP1 constitute a device group.
[0230] When the present application is applied, each device in the device group feeds back the scoring data of the current network channel of the first network to the first network device. The first network device performs weighted average processing or screening processing on the collected multiple scoring data. The first electronic device obtains the target evaluation information obtained after processing from the first network device.
[0231] For example, the computer, tablet, and mobile phone will feed back their respective ratings of Channel 6 to AP1. AP1 will perform weighted average processing on these ratings to obtain a score of 3.3. The mobile phone will obtain this 3.3 score from AP1 as the target evaluation information.
[0232] This application obtains scoring data from different sources in a variety of ways and performs comprehensive processing to comprehensively and accurately evaluate the quality of the current network channel of the first network, taking into account multiple factors such as device weight and CH occupancy rate, thus avoiding the limitations of single device evaluation.
[0233] In one embodiment, wherein Figure 3 As shown, it also includes:
[0234] S101, obtaining fourth scoring data for other network channels of the first network and / or fifth scoring data for network channels of other networks in the space environment where the first electronic device is located, and obtaining reference scoring data based on the fourth scoring data and / or the fifth scoring data;
[0235] In this embodiment, other network channels refer to other available channels of the first network except the currently used channel. If the first network currently uses Channel 6, then Channel 1, Channel 11, etc. are other network channels.
[0236] The fourth scoring data refers to the data obtained by scoring other network channels of the first network. For example, by detecting the signal strength, interference and other indicators of each channel of the first network in different frequency bands, a score is given to each channel, such as Channel 1 is scored 7 points and Channel 11 is scored 8 points. These are the fourth scoring data.
[0237] Other networks in the space where the first electronic device is located refer to networks provided by other APs in the space where the first electronic device is located, except for the first network. In an office scenario, in addition to the network provided by the main AP1 to which employees connect, there are also networks provided by AP2 and AP3 of other departments.
[0238] The fifth scoring data refers to data obtained by scoring the network channels of other networks in the space environment where the first electronic device is located. For example, the scores obtained by detecting and scoring channels such as Channel 13 of AP2 and Channel 14 of AP3 are the fifth scoring data.
[0239] The reference score data may be the fourth score data, the fifth score data, or a combination of the two. For example, only the score data of other channels of the first network may be used as a reference, or only the score data of other network channels may be considered, or both may be included in the reference range.
[0240] Correspondingly, controlling the target network device to provide network services with target network parameters based on the target evaluation information includes:
[0241] S111, determining a target network channel based on the reference scoring data and target scoring data for a current network channel of the first network, wherein the target network channel is a channel having scoring data within a target numerical range;
[0242] In this embodiment, the target network channel may be a network channel of the first network or a network channel of another network, and may be a channel with score data within a target numerical range, such as the channel with the highest score or a channel with a score within a specific range of 8-10 points.
[0243] If the score of Channel 11 in the fourth scoring data is 9 points, and the score of Channel 13 of AP2 in the fifth scoring data is 8 points, and if the target value range is a score greater than 8 points, then Channel 11 is the target network channel.
[0244] S112: Control the first network device or a second network device different from the first network device to provide a network service using the target network channel.
[0245] In this embodiment, the first network device generally refers to AP1, which is a device that provides a first network service for a first electronic device. The second network device refers to other network devices different from the first network device, such as AP2, AP3, etc.
[0246] When the present application is applied, the first electronic device traverses other network channels of the first network in all frequency bands, detects the performance of each channel, such as signal strength, interference, network speed, etc., and generates fourth scoring data based on the detection results. The first electronic device searches for other networks in the spatial environment, traverses the channels of these networks in various frequency bands, detects their performance and generates fifth scoring data. According to the needs, the fourth scoring data and the fifth scoring data are used separately or in combination as reference scoring data.
[0247] The first electronic device has obtained target scoring data for the current network channel of the first network. The target scoring data is compared and analyzed with the reference scoring data. A channel having a target numerical range of scoring data is screened out from all channels (including other channels of the first network and channels of other networks) and determined as a target network channel.
[0248] If the target network channel is a channel of the first network, the first electronic device sends an instruction to the first network device to switch to the target network channel.
[0249] If the target network channel is a channel of another network, the first electronic device disconnects from the first network device, establishes a connection with the second network device providing the target network channel, and controls the second network device to provide network services using the target network channel.
[0250] For example, the user's mobile phone (first electronic device) is connected to the wireless router AP1 (first network) at home, and the current network channel is Channel 6. The mobile phone traverses other channels of the first network in the 2.4GHz and 5GHz frequency bands, and obtains the fourth scoring data: Channel 1 is scored 7 points, and Channel 11 is scored 8 points. At the same time, the mobile phone searches for the network provided by AP2 in the neighbor's home, and traverses its channels to obtain the fifth scoring data: Channel 13 is scored 7.5 points. The mobile phone combines the fourth scoring data and the fifth scoring data as reference scoring data.
[0251] The target score data of the mobile phone for the currently used Channel 6 is 6 points. The target value range is set to a score greater than 7.5 points. After comparing the reference score data with the target score data, Channel 11 is determined as the target network channel.
[0252] The mobile phone sends a command to AP1 to switch from Channel 6 to Channel 11 to provide network services.
[0253] By traversing other channels of the first network and other network channels in the space, the present application can fully understand the selectable network channel resources and select the target network channel with the best performance for the first electronic device, thereby improving the quality and stability of the network connection.
[0254] In one embodiment, at least one of the following is also included:
[0255] 1. Monitoring network parameter change information in the space environment where the first electronic device is located, and controlling the target network device to update the current network configuration parameters based on the network parameter change information;
[0256] In this embodiment, the space environment refers to the physical space range where the first electronic device is located, such as a home, an office, a shopping mall, etc. Taking an office as an example, the entire office area is the space environment where the first electronic device is located.
[0257] Network parameter change information refers to changes in various parameters in the network environment, including changes in interference in network channels, fluctuations in signal strength in network frequency bands, changes in the working status of network communication modules, etc. For example, if an originally stable network channel is suddenly interfered with by other devices, resulting in a decrease in signal quality, this is network parameter change information.
[0258] The network configuration parameters include network channel configuration, network frequency band configuration, network communication module working parameter configuration, etc. Network channel configuration refers to the specific channel used by the device, Channel 6; network frequency band configuration includes 2.4GHz, 5GHz, etc.; network communication module working parameter configuration includes transmission power, receiving sensitivity, etc.
[0259] When the present application is applied, the first electronic device continuously monitors the network parameters in the space environment, and obtains network parameter change information by detecting indicators such as signal strength, interference, and communication quality. When changes in network parameters are detected, the first electronic device analyzes the impact of these changes on network performance.
[0260] According to the analysis result, the first electronic device sends instructions to the target network device to control it to update the current network configuration parameters, such as switching network channels, adjusting network frequency bands, or changing working parameters of the network communication module.
[0261] For example, the user's mobile phone (first electronic device) is connected to the first network provided by the wireless router AP1 (first network device) at home, and currently uses Channel 6. The mobile phone continuously monitors the network parameters and finds that the interference of Channel 6 suddenly increases and the signal quality decreases. This is the network parameter change information. After analysis, the mobile phone sends an instruction to AP1 to switch to Channel 11 with less interference and update the network channel configuration.
[0262] 2. When the target evaluation information triggers the first electronic device to switch from connecting to a first network provided by a first network device to connecting to another network, a prompt message is output, and based on feedback information for the prompt message, an operation of switching to a target network channel under the first network or another network is performed.
[0263] In this embodiment, the first network refers to the network provided by the first network device. For example, the wireless network emitted by the wireless router AP1 in the home is the first network. Other networks refer to the networks provided by other network devices in the space environment where the first electronic device is located, except for the first network. In the office, in addition to the network provided by the main router, the networks provided by routers of other departments are other networks.
[0264] Furthermore, by default, if only the channel of the first network device is switched, no prompt information is output.
[0265] When the present application is applied, the first electronic device collects target evaluation information and evaluates the quality of the first network. When the target evaluation information indicates that the quality of the first network is poor, triggering the first electronic device to switch from connecting to the first network to connecting to another network, the first electronic device outputs prompt information, such as popping up a prompt box on the screen or informing the user through voice.
[0266] The user gives feedback information in response to the prompt information. If the user agrees to switch, the first electronic device executes the operation of switching to the target network channel under the other network; if the user disagrees to switch, the first electronic device chooses to switch to the optimal channel under the first network.
[0267] For example, the mobile phone detects that the speed of the first network is very slow and the network delay is very high. These information constitute the target evaluation information. The mobile phone determines that it needs to switch networks, so a prompt box pops up to inform the user that there are other available networks nearby and asks whether to switch. If the user clicks "Agree", the mobile phone connects to the target network channel of other networks (such as the open AP2 of the neighbor's home); if the user clicks "Disagree", the mobile phone searches for the optimal channel under the first network and switches to it.
[0268] This application can quickly respond to changes in the network environment by monitoring network parameter change information in real time and updating network configuration parameters in a timely manner, avoiding network interruptions or performance degradation caused by interference, signal fluctuations and other problems, thereby improving network stability.
[0269] When it is necessary to switch networks, prompt information is output to the user and operations are performed based on user feedback, fully respecting the user's wishes and avoiding forced network switching without the user's knowledge, thereby improving the user experience.
[0270] In summary, when this application is applied in practice, Figure 6-Figure 8 As shown, in a home scenario, a laptop computer (hereinafter referred to as a PC) establishes a network connection with a wireless access point (hereinafter referred to as an AP). The laptop computer can automatically select a better channel and automatically configure the router through Lenovo PCsmart wireless (hereinafter referred to as smart wireless).
[0271] When the PC is connected to the AP, it identifies the AP and obtains the AP MAC address (the MAC address consists of 6 bytes (48 bits), usually expressed in binary, and divided into two parts: the first 24 bits are called the Organizationally Unique Identifier (OUI), which is used to uniquely identify the device manufacturer; the last 24 bits are allocated by the manufacturer and are used to uniquely identify the device itself) and obtains the manufacturer information by looking up the table.
[0272] During the connection between the PC and the AP, evaluate whether the current AP configuration is the optimal configuration. For example, if the AP is configured as 2.4GChannel 6 20MHz, when the surrounding environment changes or the original configuration is not the optimal channel, the smart wireless scans the changes in the surrounding environment related to the AP to evaluate the AP Channel 6 loading and the surrounding AP status.
[0273] Specifically, in the single PC scenario: Based on the signal status of the AP connected to the PC, determine whether the current channel has experienced quality degradation, such as changes in signal strength, increased latency, or freezes. If there is a significant degradation, start scanning all channels to find a better channel.
[0274] Specifically, when the PC scans the AP list to find the best channel, it will follow the following steps: traverse all channels and count the number of APs currently occupied by each channel; consider the interference between adjacent channels and count the relevant number according to the set weight; filter APs with weaker signal strength, and do not record or count APs with a signal strength less than 30dB relative to the currently connected AP.
[0275] Multiple PC scenarios: When multiple PCs are connected to the network, smart wireless will comprehensively consider the channel conditions of each terminal device. Since the distances between different terminal devices and the AP are different, the corresponding channel scores are also different. For example, if PC1 is one meter away from the AP and PC2 is ten meters away from the AP, the channel scores of the two are not exactly the same.
[0276] Smart wireless will combine the evaluation results of all terminal devices on the channel to obtain the optimal value. Each device communicates with each other and transmits their own optimal channel information to the AP. As a passive device, the AP will automatically set the channel according to the comprehensive results summarized by smart wireless (that is, the channel with the highest average score of each device).
[0277] For example, when it is determined that Channel 6 is no longer an optimal channel, the configuration of the connected AP can be automatically changed to Channel 11, for example.
[0278] Among them, for the 2.4G, 5G, and 6G frequency bands, a specific evaluation method is used to calculate the channel with the best performance in each frequency band. This optimal channel is the best channel. The best channels in different frequency bands may vary due to environmental factors (such as interference from other wireless devices around).
[0279] Assume that there are multiple single terminal devices, represented by T1, T2, T3, etc. Each terminal device will evaluate each channel and give a corresponding score to reflect the performance of the channel. Each channel has a corresponding score, the best channel has the highest score, and the scores are sorted from high to low.
[0280] The calculation formula is: ST1 = ((100-channel occupancy)-number of APs*weight)
[0281] Among them, any terminal device has scores for all channels respectively.
[0282] Channel occupancy refers to the proportion of a channel occupied by other wireless devices. The higher the channel occupancy, the more crowded the channel is, which may have a negative impact on network performance.
[0283] The number of APs refers to the number of wireless access points (APs) using the channel in the current frequency band. The more APs there are, the greater the contention and interference on the channel may be.
[0284] The weight is a pre-set coefficient used to adjust the influence of the number of APs on the channel score. The weight is set according to the specific network environment and requirements. For example, the weight can be the signal strength.
[0285] The higher the channel score, the better the performance of the channel, and the less interference and competition it is subject to. For example, if the channel occupancy rate of a channel is 30%, there are 2 APs on the channel, and the weight is set to 10, then the score of the channel is calculated according to the formula ST = (100-30)-2*10 = 50 points.
[0286] By scoring each channel within each frequency band, the best channel in each frequency band can be found so that the terminal device can choose the network connection with the best performance.
[0287] In summary, when the laptop performs channel switching, Figure 8 As shown, the details are as follows:
[0288] Smart wireless is configured on the PC, which has intelligent channel scoring and switching functions. Smart wireless can calculate the score of each channel on the PC.
[0289] The Smart Wireless on the PC scans other APs to obtain their signal strength, CH information, and channel occupancy information, and excludes channels with poor quality.
[0290] Smart wireless can call on the throughput, received signal strength indication (RSSI), channel occupancy rate and other information collected by APs for all devices in the same LAN. By weighted averaging these parameters, the channel score of each device in the current channel is calculated.
[0291] Specifically, the PC side can calculate the average score of each channel on all devices through the smart wireless information, taking 4 terminals as an example.
[0292] The scores of each CH of a single device a are CH1a, CH2a, CH6a...CH11a..., and the weight of a device is XX%; the scores of each CH of a single device b are CH1b, CH2b, CH6b...CH11b..., and the weight of b device is XY%; the scores of each CH of a single device c are CH1c, CH2c, CH6c...CH11c..., and the weight of c device is XZ%; the scores of each CH of a single device d are CH1d, CH2d, CH6d...CH11d..., and the weight of d device is YZ%.
[0293] Among them, the usage scenario of each device has a corresponding priority weight, and the device priority management technology under the same router: for example, different weights are assigned according to the application type of each device, the device priority of the game conference program is high, and other common applications have a low priority.
[0294] After the PC receives the channel scores of all devices, it calculates the average score of each channel on all devices based on the device weights.
[0295] The average score of each channel can be calculated according to the following formula:
[0296] CH1 average score = (CH1a*XX%+CH1b*XY%+CH1c*XZ%+CH1d*YZ%) / 4
[0297] CH2 average share = (CH2a*XX%+CH2b*XY%+CH2c*XZ%+CH2d*YZ%) / 4 ......
[0299] Taking CH1 as an example, the scores of each device on CH1 are multiplied by their corresponding weights, added together, and then divided by the total number of devices to get the average score of CH1. In this way, the needs and usage experience of all devices are comprehensively considered.
[0300] The PC side will compare the average scores of each channel to control the AP to automatically adjust the working channel to the channel with the highest average score. The Smart Wireless on the PC side sends the channel with the highest average score to the AP and issues a request to set the channel information.
[0301] When the AP receives a request to set the channel information and identifies a better channel, it automatically calls the script for automatically setting the channel. First, it identifies the manufacturer information based on the MAC address and enters the configuration page. It obtains the router configuration script information and interactive element objects by analyzing the HTML language and CSS style, locates the button element, and simulates the click event to complete the configuration.
[0302] This application does not require manual operation by novice users. The system automatically identifies available wireless access points in the surrounding area, and automatically completes the configuration of wireless connection points such as network name, password and security protocol according to pre-configured rules, and quickly establishes a stable network connection.
[0303] During use, the system monitors the status of the wireless channel in real time, and collects and analyzes parameters such as signal strength, interference level, and bandwidth utilization through scanning and evaluation mechanisms. Once a better channel is detected, the wireless connection point automatically switches seamlessly to ensure smooth network use and improve the user's networking experience.
[0304] In addition, the real-time channel status of each device in different locations in the current LAN is comprehensively considered, and the connection data between the device and the access point, including signal strength, interference and bandwidth requirements, is collected to select the best channel for all devices and realize the reasonable allocation and efficient use of network resources.
[0305] In another embodiment, in WiFi 2.4G / 5G dual mode, when 2.4G switches channels, 5G remains connected to ensure that the connection is not disconnected. The AP traverses all channels after excluding the poor-quality channels and obtains the scores of all devices in the local area network for each remaining channel. The PC side calculates the average score of each channel on all devices with the help of Smart wireless information. For example, taking 4 terminals as an example, the average score of each channel is calculated according to the above formula.
[0306] The present application embodiment provides a network configuration method, which is applied to a network providing device, such as Figure 4 As shown, the method includes:
[0307] S30, obtaining score data of each electronic device in a device group for a current network channel of a first network provided by the network providing device, wherein the device group is a collection of electronic devices connected to the first network;
[0308] S31. Configure a network frequency band and / or a network channel of the first network based on the scoring data.
[0309] In this embodiment, the network providing device is a device that provides network connection for electronic devices, such as a common wireless router AP. For example, the TP-Link wireless router used in the home is a network providing device, which can create a wireless network for devices to connect.
[0310] A device group refers to a collection of multiple electronic devices connected to the same network (i.e., the first network). In an office scenario, all computers, mobile phones, tablets, and other devices connected to the office's main router constitute a device group.
[0311] The first network is a network provided by a network providing device. For example, the wireless network provided by the wireless router AP1 in the office is the first network.
[0312] The current network channel is the channel currently being used by the first network. Assuming that AP1 currently uses Channel 6 to provide network services, then Channel 6 is the current network channel.
[0313] The scoring data is the performance evaluation data of each electronic device in the device group on the current network channel of the first network. Each electronic device will give a score based on its experience when connecting to the network, such as network speed, latency, signal strength and other indicators.
[0314] The network frequency band is the frequency range used by wireless networks, and the most common ones are 2.4GHz and 5GHz. The signal propagation distance of the 2.4GHz frequency band is long, but the transmission speed is relatively slow, and the ability to penetrate walls is strong; the signal transmission speed of the 5GHz frequency band is fast, but the propagation distance is relatively short, and the ability to penetrate walls is weak. For example, the wireless router at home can support both 2.4GHz and 5GHz frequency bands.
[0315] A network channel is a channel used to transmit data within a specific frequency band. Each frequency band has multiple available channels, such as the 2.4GHz band, which usually has 1-13 channels. Different channels may be subject to different degrees of interference, and choosing the right channel can improve network performance.
[0316] When the present application is applied, the network providing device starts the data collection function and receives the scoring data of the current network channel of the first network fed back by each electronic device in the device group. The electronic device can regularly detect its own network connection status and send the scoring data to the network providing device.
[0317] The network provider analyzes the collected scoring data to evaluate the performance of the current network frequency band and network channel. If the scoring data shows that the current network performance is poor, such as most devices give low scores, the network provider will consider adjusting the network frequency band and / or network channel.
[0318] Specifically, for the adjustment of the network frequency band, the network provider will compare the signal quality, interference and other factors of different frequency bands (such as 2.4GHz and 5GHz) and select a more suitable frequency band. For the adjustment of the network channel, the network provider will scan each channel in the current frequency band, detect their interference level, and select the channel with the least interference as the new network channel.
[0319] For example, the wireless router (network provider) at home creates the first network, and mobile phones, computers, tablets and other devices (device groups) are connected to the network. The current network channel is 2.4GHz Channel 6. Each device gives a rating based on its own network experience, with the mobile phone giving 2 stars, the computer giving 3 stars, and the tablet giving 2 stars. These rating data are sent to the wireless router.
[0320] After analyzing the score data, the wireless router found that the overall score was low and judged that the current network performance was poor. It began to scan different frequency bands and channels and found that Channel 44 in the 5GHz band had less interference, so it switched the frequency band of the first network from 2.4GHz to 5GHz and set the network channel to Channel 44.
[0321] This application collects the scoring data of the device group, so that the network provider can accurately understand the actual usage of the current network, adjust the network frequency band and network channel in a targeted manner, reduce interference, thereby improving the transmission speed and stability of the network and providing users with a better network experience. Dynamic adjustment of network frequency bands and network channels can make full use of available network resources, avoid operating on frequency bands or channels with severe interference, and improve the utilization efficiency of network resources.
[0322] In summary, when the network providing device (hereinafter referred to as AP) performs channel switching, the details are as follows:
[0323] The AP needs to be equipped with a scoring program to optimize channel selection. Each electronic device equipped with smart wireless will send the calculated score of each channel to the AP via the TCP protocol. Fig. 9 As shown in the figure, the AP collects the scoring results of all devices on each channel, and calculates the average score of the same channel on all devices based on the priority weight corresponding to the usage scenario of each device.
[0324] For example, if devices a, b, c, and d are connected to the AP, each device has a corresponding score for each channel. The scores of each CH of a single device a are CH1a, CH2a, CH6a...CH11a...a, and the weight of device a is XX%; the scores of each CH of a single device b are CH1b, CH2b, CH6b...CH11b...b, and the weight of device b is XY%; the scores of each CH of a single device c are CH1c, CH2c, CH6c...CH11c...c, and the weight of device c is XZ%; the scores of each CH of a single device d are CH1d, CH2d, CH6d...CH11d...d, and the weight of device d is YZ%. Among them, the usage scenario of each device has a corresponding priority weight. The device priority management technology under the same router: for example, different weights are assigned according to the application type of each device, the device priority of the game conference program is high, and other common applications have low priority.
[0325] After receiving the channel scores of all devices, the AP calculates the average score of each channel on all devices based on the device weights.
[0326] The average score of each channel can be calculated according to the following formula:
[0327] CH1 average score = (CH1a*XX%+CH1b*XY%+CH1c*XZ%+CH1d*YZ%) / 4
[0328] CH2 average share = (CH2a*XX%+CH2b*XY%+CH2c*XZ%+CH2d*YZ%) / 4 ......
[0330] Taking CH1 as an example, the scores of each device on CH1 are multiplied by their corresponding weights, added together, and then divided by the total number of devices to get the average score of CH1. In this way, the needs and usage experience of all devices are comprehensively considered.
[0331] The AP will compare the average scores of each channel and automatically adjust its working channel to the channel with the highest average score. This will enable all devices connected to the AP to achieve better network performance overall and reduce network problems caused by improper channel selection.
[0332] The present application embodiment provides an electronic device, such as Figure 5 As shown, including:
[0333] A wireless communication module, used to establish a connection with a first network device providing a first network;
[0334] a controller capable of monitoring target evaluation information of the electronic device on the current network channel of the first network, so as to control the target network device to provide network services with target network parameters based on the target evaluation information;
[0335] The target network device is a device that can provide network services to the electronic device, and the target network device includes or does not include the first network device.
[0336] In this embodiment, the electronic device is a device with wireless communication function and can connect to the Internet, such as a mobile phone, a tablet computer, a laptop computer, etc.
[0337] The wireless communication module is a module in an electronic device that is responsible for wireless communication with external network devices. It supports wireless communication protocols such as Wi-Fi and Bluetooth. Taking a mobile phone as an example, the Wi-Fi chip and related circuits inside the mobile phone constitute the wireless communication module, allowing the mobile phone to connect to the wireless network.
[0338] When the present application is used, the wireless communication module of the electronic device searches for wireless networks in the surrounding area, and after finding the first network provided by the first network device, establishes a connection with it. For example, a mobile phone turns on the Wi-Fi function, searches for the network signal emitted by the wireless router at home, and completes the connection after entering the password.
[0339] The controller of the electronic device continuously monitors the target evaluation information of the electronic device on the current network channel of the first network. It can detect network performance indicators (such as network speed and delay) through the electronic device's own sensors, and can also receive evaluation information input by the user or network information fed back by other devices.
[0340] The controller determines whether the network service needs to be adjusted based on the target evaluation information. If necessary, the controller determines the target network device and the target network parameters, and sends a control instruction to the target network device to enable it to provide the network service with the target network parameters. For example, when the target evaluation information shows that the current network channel has large interference, the controller can control the first network device to switch to a target network channel with less interference.
[0341] For example, the user's mobile phone (electronic device) searches for the first network provided by the wireless router AP1 (first network device) at home through the wireless communication module, and successfully connects after entering the password. The current network channel is Channel 6.
[0342] The controller of the mobile phone finds through detection that the current network delay is high, and the user reports network lag on the mobile phone. These information constitute the target evaluation information.
[0343] After analyzing the target evaluation information, the controller determines that there is a problem with the current network channel. It decides to set the target network device to AP1 and the target network parameter to switch the network channel to Channel 11 with less interference. The controller sends a command to AP1, and AP1 switches to Channel 11 after receiving the command to continue providing network services to the mobile phone.
[0344] By monitoring target evaluation information in real time and adjusting the network parameters of target network devices in a timely manner, the electronic equipment can effectively respond to changes in the network environment, reduce interference, improve the transmission speed and stability of the network, and provide users with a smoother network experience.
[0345] The embodiment of the present application further provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of any method of the task processing method provided in the embodiment of the present application are implemented.
[0346] The storage medium in this embodiment may be included in the electronic device, or may exist independently without being installed in the electronic device. The storage medium carries one or more computer programs, and when the one or more computer programs are executed, the steps of any method of the task processing method provided in the embodiment of the present application are implemented.
[0347] It should be understood that each scheme in this embodiment has the corresponding technical effects in the above method embodiment, which will not be repeated here.
[0348] According to an embodiment of the present application, the computer-readable storage medium may be a non-volatile computer-readable storage medium, for example, it may include but is not limited to: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. Optionally, the specific examples in this embodiment can refer to the examples described in any embodiment of the present application, and this embodiment is not repeated here. Obviously, it should be understood by those skilled in the art that the above-mentioned modules or steps of the present application can be implemented with a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, optionally, they can be implemented with a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order from here, or they can be made into individual integrated circuit modules respectively, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. In this way, the present application is not limited to any specific combination of hardware and software.
[0349] The above embodiments are only exemplary embodiments of the present application and are not intended to limit the present application. The protection scope of the present application is defined by the claims. Those skilled in the art may make various modifications or equivalent substitutions to the present application within the essence and protection scope of the present application, and such modifications or equivalent substitutions shall also be deemed to fall within the protection scope of the present application.
Claims
1. A control method, applied to a first electronic device, comprising: Obtaining target evaluation information of a current network channel of a first network, where the first network is a network provided by a first network device to which the first electronic device is connected; Controlling the target network device to provide network services with target network parameters based on the target evaluation information; The target network device is a device that can provide network services to the first electronic device, and the target network device includes or does not include the first network device.
2. The method according to claim 1, wherein: Controlling the target network device to provide network services with target network parameters based on the target evaluation information includes at least one of the following: Controlling the target network device to provide network services with target network parameters based on the source and / or content of the target evaluation information; Controlling the target network device to provide network services with target network parameters based on the response level corresponding to the target evaluation information; The target network device is controlled to provide network services with target network parameters based on the configuration data carried by the target evaluation information.
3. The method according to claim 1 or 2, wherein: Controlling the target network device to provide network services with target network parameters based on the evaluation information includes at least one of the following: Controlling the target network device to provide network services via the target network channel based on the target evaluation information; Based on the target evaluation information, control the first network device to provide network services with at least one of a target signal strength, a target broadcast interval, and a target network frequency band; Based on the target evaluation information, other network devices in the space environment where the first electronic device is located are controlled not to provide network services or to provide network services through other network channels different from the current network channel.
4. The method according to claim 3, wherein: Controlling the target network device to provide a network service using a target network channel based on the target evaluation information includes at least one of the following: Controlling the first network device to provide network services using the current network channel based on the target evaluation information; Controlling the first network device to provide network services through a first network channel different from the current network channel based on the target evaluation information; Based on the target evaluation information, a second network device is controlled to provide a network service through a second network channel, wherein the second network device is a network device that can be discovered by the first electronic device and establish an effective connection with the first electronic device.
5. The method according to claim 1, wherein: Obtaining target evaluation information for a current network channel of the first network includes at least one of the following: Obtaining first evaluation information of the first electronic device itself on a current network channel of the first network, and using the first evaluation information as the target evaluation information; Obtaining the target evaluation information based on at least two evaluation information of each device in a device group to which the first electronic device belongs on a current network channel of the first network, wherein the device group is composed of a plurality of electronic devices connected to the first network; User evaluation information of the current network channel of the first network input by the target user is obtained, and the user evaluation information is used as the target evaluation information.
6. The method according to claim 1 or 5, wherein: Obtaining target evaluation information of a current network channel of the first network includes at least one of the following: Obtaining first scoring data of the first electronic device itself for the current network channel of the first network, and using the first scoring data as the target evaluation information; Obtaining, through the first network device, at least one second scoring data of other devices in the device group to which the first electronic device belongs for the current network channel of the first network, and performing weighted averaging or screening processing on the at least one second scoring data and the first scoring data of the first electronic device based on the weight of each device to obtain target scoring data as the target evaluation information, wherein the device group is composed of a plurality of electronic devices connected to the first network; Obtaining at least one third scoring data of other devices on the current network channel of the first network through a communication connection with other devices in the device group, and performing weighted averaging or screening processing on the at least one third scoring data and the first scoring data of the first electronic device based on the weight of each device to obtain target scoring data as the target evaluation information, wherein the device group is composed of a plurality of electronic devices connected to the first network; Obtain target evaluation information obtained by processing multiple scoring data of the current network channel by the first network device based on each device in the device group where the first electronic device is located, wherein the device group is composed of multiple electronic devices connected to the first network.
7. The method according to claim 1, wherein: Also includes: Obtaining fourth scoring data for other network channels of the first network and / or fifth scoring data for network channels of other networks in the spatial environment where the first electronic device is located, and obtaining reference scoring data based on the fourth scoring data and / or the fifth scoring data; Correspondingly, controlling the target network device to provide network services with target network parameters based on the target evaluation information includes: Determine a target network channel based on the reference score data and target score data for a current network channel of the first network, the target network channel being a channel having score data within a target numerical range; The first network device or a second network device different from the first network device is controlled to provide a network service using the target network channel.
8. The method according to claim 1, further comprising at least one of the following: Monitoring network parameter change information in the space environment where the first electronic device is located, and controlling the target network device to update the current network configuration parameters based on the network parameter change information; When the target evaluation information triggers the first electronic device to switch from connecting to a first network provided by a first network device to connecting to another network, a prompt message is output, and based on feedback information for the prompt message, an operation of switching to a target network channel under the first network or another network is performed.
9. A network configuration method, applied to a network providing device, the method comprising: Obtaining score data of each electronic device in a device group for a current network channel of a first network provided by the network providing device, wherein the device group is a collection of electronic devices connected to the first network; A network frequency band and / or a network channel of the first network is configured based on the scoring data.
10. An electronic device, comprising: A wireless communication module, used to establish a connection with a first network device providing a first network; a controller capable of monitoring target evaluation information of the electronic device on the current network channel of the first network, so as to control the target network device to provide network services with target network parameters based on the target evaluation information; The target network device is a device that can provide network services to the electronic device, and the target network device includes or does not include the first network device.