Base station selection method, communication system and electronic equipment

By obtaining faulty base station data and avoiding its list when selecting a base station, the problem in the existing technology of being unable to avoid base stations with poor service quality is solved, and user experience and communication quality are improved.

CN118540763APending Publication Date: 2024-08-23HONOR DEVICE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310172082.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-02-21
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

The existing technology cannot effectively avoid base stations with poor service quality when selecting base stations, causing user experience to be affected.

Method used

The faulty base station and its corresponding fence base station data are obtained through the cloud server. The electronic device avoids the faulty base station list when selecting the base station and gives priority to the non-faulty base station with the best signal quality.

Benefits of technology

It effectively avoids base stations with poor service quality, improves user experience, and ensures communication stability and quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118540763A
    Figure CN118540763A
Patent Text Reader

Abstract

The invention provides a base station selection method, a communication system and electronic equipment. In the method, a cloud server can determine all fault base stations included in different areas and fence base station data corresponding to each fault base station. The fence base station data corresponding to one fault base station comprises other base stations around the fault base station. When the electronic equipment is located in the area 1, the cloud server can issue all fault base stations included in the area 1 and fence base station data corresponding to each fault base station to the electronic equipment. Then, the electronic device determines fencing base station data (target fencing base station data) to which at least one base station accessed at the current time belongs. And the subsequent electronic equipment determines all fault base stations (a fault base station list) corresponding to the target fence base station data, and the base stations in the fault base station list are avoided when the base stations are selected.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of terminal and communication technology, and in particular to a base station selection method, a communication system and an electronic device. Background Art

[0002] When an electronic device accesses a base station, it can perform base station selection according to the reselection and switching criteria involved in the protocol rules. For example, based on the protocol, the electronic device can select an optimal base station to reside on. The optimal base station includes the base station with the highest priority among the base stations detected by the electronic device. The priority of the base station can usually be indicated by the signal strength of the base station. For example, the better the signal strength of the base station, the higher the priority of the base station.

[0003] However, due to network construction and network configuration, many base stations in the existing network have poor service quality problems, such as data service problems (including freezes when using data traffic, etc.) or call service problems (including call drops, poor call service quality, etc.). Poor service quality does not affect the highest priority of base stations, or service problems do not affect the signal strength of base stations. When selecting a base station for residence according to the protocol rules, there is a situation where a base station with good signal strength but poor service quality is selected for residence, which affects the user's service experience.

[0004] How to avoid base stations with poor service quality when selecting base stations is worth discussing. Summary of the invention

[0005] The present application provides a base station selection method, a communication system and an electronic device, which can avoid base stations with poor service experience when selecting base stations.

[0006] In the first aspect, the present application provides a base station selection method, the method comprising: an electronic device obtains T faulty base stations and their corresponding fence base station data included in the area from a cloud server; the faulty base station is used to indicate a base station with poor service quality; the T faulty base stations include a first faulty base station, and the fence base station data corresponding to the first faulty base station includes base stations that are less than a preset distance away from the first faulty base station; T is an integer greater than or equal to 1; the electronic device determines all fence base station data belonging to at least one base station accessed at a first time as target fence base station data; the at least one base station includes a first base station, and the fence base station data belonging to the first base station is the first fence base station data, and there is a base station in the first fence base station data whose corresponding base station ID is the same as the base station ID corresponding to the first base station; the electronic device uses all faulty base stations corresponding to the target fence base station data as a faulty base station list; the electronic device accesses base stations outside the faulty base station list when selecting a base station at the second time.

[0007] In the above embodiment, the electronic device determines the fence base station data (target fence base station data) to which at least one base station accessed at the current time (first time) belongs. Subsequently, the electronic device determines all faulty base stations (faulty base station list) corresponding to the target fence base station data, and avoids the base stations in the faulty base station list when selecting a base station. For example, when switching base stations or reselecting base stations, access a base station outside the faulty base station list. For another example, the electronic device can select the base station with the best signal quality from the non-faulty base stations as the base station to be accessed.

[0008] In combination with the first aspect, in some embodiments, the electronic device accesses a base station other than the faulty base station list when selecting a base station at the second time, specifically including: the electronic device determines the priorities corresponding to all detected base stations; the electronic device selects the base station with the highest priority from all detected base stations except the faulty base station for access in combination with the faulty base station list.

[0009] In combination with the first aspect, in some embodiments, the electronic device accesses a base station outside the list of faulty base stations when selecting a base station at the second time, specifically including: the protocol stack of the electronic device receives the list of faulty base stations; the memory of the protocol stack is used to record a list of faulty base stations including less than or equal to 5 to 6 faulty base stations; the protocol stack is also used to record protocol rules involved in selecting a base station; the electronic device accesses a base station outside the list of faulty base stations when selecting a base station at the second time based on the protocol stack.

[0010] In the above embodiment, the protocol stack is a module for selecting base stations based on the existing protocol rules after improvement. Its storage space is small, and the number of faulty base stations that can be received is limited, usually 5-6 faulty base stations, etc., which can be adjusted in actual situations. Therefore, it is necessary to set up a system service here to determine the faulty base stations around the electronic device based on the currently connected base station and the fence base station data to send to the protocol stack for base station selection.

[0011] In combination with the first aspect, in some embodiments, the cloud server divides Q base station data into W categories based on the base station ID, and obtains all base station data corresponding to the W base stations, the base station data in each category corresponds to the same base station, and different categories correspond to different base stations; the Q base station data come from at least one electronic device; the Q base station data include base station data corresponding to the second base station; the base station data corresponding to the second base station is collected and uploaded to the cloud server by the electronic device connected to the second base station at a third time; the third time includes the time from the electronic device connected to the second base station to the disconnection; the base station data corresponding to the second base station is used to indicate the relevant information of the second base station and the service quality of the second base station; wherein W is an integer greater than or equal to 1; W is an integer less than or equal to Q; the cloud server determines the experience comprehensive scores corresponding to the W base stations based on all the base station data corresponding to the W base stations; the cloud server determines that the base stations corresponding to the E experience comprehensive scores of the W base stations whose experience comprehensive scores are less than the preset comprehensive score are determined as faulty base stations, and obtains E faulty base stations; E is an integer greater than or equal to 1 and less than or equal to W; the cloud server determines the base station fence data corresponding to the E faulty base stations based on the base station location information of the W base stations.

[0012] In combination with the first aspect, in some embodiments, the cloud service divides the E faulty base stations and their corresponding base station fence data into regions to obtain all the faulty base stations and their corresponding base station fence data included in each of the R regions; wherein R is an integer greater than or equal to 1 and less than or equal to E.

[0013] In the above embodiment, the area may be a city. By issuing information according to the area, the electronic device can obtain the faulty base station and its corresponding base station fence data in a targeted manner.

[0014] In combination with the first aspect, in some embodiments, after obtaining all the faulty base stations included in R areas and their corresponding base station fence data, the method also includes: the cloud server receives a first request; the first request is used to indicate that the electronic device requests to send the faulty base stations included in the first area and their corresponding base station fence data; the first area is the area where the electronic device is located; the cloud server determines the first area from the R areas; the cloud server sends the T faulty base stations included in the first area and their corresponding fence base station data to the electronic device.

[0015] In combination with the first aspect, in some embodiments, the base station data corresponding to the second base station includes: call service data, traffic service data, base station ID, signal distribution, and device location information of the electronic device when collecting the base station data corresponding to the second base station; wherein the call service data includes at least one indicator describing the quality of call service based on the call with the second base station; the traffic service data includes at least one indicator describing the quality of traffic service based on the use of traffic data by the second base station; the base station ID is used to uniquely identify the second base station; the base station signal distribution includes the signal strength distribution of the second base station detected by the electronic device within the third time: the signal strength of the second base station is divided into different levels, and the signal strength levels of each signal within the third time and the total duration of their occurrence are recorded as the signal distribution.

[0016] In combination with the first aspect, in some embodiments, the W base stations include a third base station; the cloud server determines the comprehensive experience scores corresponding to the W base stations based on all base station data corresponding to the W base stations, specifically including: the cloud server determines the traffic experience score corresponding to the third base station based on Y traffic service data corresponding to the third base station; the Y traffic service data come from Y base station data corresponding to the third base station; the traffic experience score is used to indicate the traffic service quality of the third base station; the lower the traffic experience score, the worse the traffic service quality of the third base station; the cloud server determines the call experience score corresponding to the third base station based on Y call service data corresponding to the third base station; the Y call service data come from the Y base station data corresponding to the third base station; the call experience score is used to indicate the call service quality of the third base station; the lower the call experience score, the worse the call service quality of the third base station; the cloud server determines the signal strength score corresponding to the third base station based on the Y base station signal distributions corresponding to the third base station; the Y signal distributions come from the Y base station data corresponding to the third base station; the signal strength score is used to indicate the situation where the third base station has a weak signal within a period of time: the lower the signal strength score, the greater the possibility that the signal of base station A has a weak signal within a period of time; the cloud server uses the sum of the signal strength score, traffic experience score and call experience score corresponding to the third base station as the comprehensive experience score corresponding to the third base station.

[0017] In the above embodiment, multiple dimensions of data are used to determine whether a base station is a faulty base station, including flow service data, call service data, and signal strength, so that the determination result can be more accurate.

[0018] In combination with the first aspect, in some embodiments, the cloud server determines the traffic experience score corresponding to the third base station based on Y traffic service data corresponding to the third base station, specifically including: the cloud server determines the ratio of the number of high jamming rates corresponding to the third base station to the statistical number of times corresponding to the third base station, and uses the ratio as the traffic experience score corresponding to the third base station; the statistical number is Y; the number of high jamming rates includes the total number of high jamming rates determined by Y groups of traffic usage time and traffic jamming time; the conditions for a group of traffic usage time and traffic jamming time to determine a high jamming rate include: the jamming rate determined by the group of traffic usage time and traffic jamming time is greater than or equal to a preset jamming rate threshold; the jamming rate can be expressed as the ratio of traffic jamming time to traffic usage time; wherein, a group of traffic usage time and traffic jamming time includes the traffic usage time and traffic jamming time included in the same traffic service data in the Y traffic service data.

[0019] In the above embodiment, only using the jam rate is easily affected by a single collection anomaly, so here we use the ratio of the number of high jam rates to the statistical number of times corresponding to the third base station, and use the ratio as the traffic experience score corresponding to the third base station. In this way, the determined traffic experience score can be representative and reduce contingency.

[0020] In combination with the first aspect, in some embodiments, the cloud server determines the base station fence data corresponding to E faulty base stations based on the base station location information of the W base stations, specifically including: the cloud server determines the distance between the first faulty base station and the other base stations based on the base station location information of the first faulty base station and the base station location information of other base stations, and determines the base stations included in the preset distance of the first faulty base station as the base station fence data corresponding to the first faulty base station.

[0021] In combination with the first aspect, in some embodiments, before the cloud server determines the distance between the first faulty base station and other base stations based on the base station location information of the first faulty base station and the base station location information of other base stations, the method also includes: the cloud server determines a center position based on the device location information included in all base station data corresponding to the first faulty base station, and uses the center position as the base station location information corresponding to the first faulty base station.

[0022] In the second aspect, the present application provides a communication system, which includes an electronic device and a cloud service, wherein: the electronic device is used to send a first request to the cloud server, and the first request is used to indicate that the electronic device requests to send a faulty base station included in a first area and its corresponding base station fence data; the first area is the area where the electronic device is located; the cloud server is used to receive the first request; the cloud server is also used to send T faulty base stations included in the first area and their corresponding fence base station data to the electronic device; the electronic device is used to receive T faulty base stations included in the first area and their corresponding fence base station data; the faulty base station is used to indicate a base station with poor service quality; the T faulty base stations include a first faulty base station station, the fence base station data corresponding to the first faulty base station includes base stations that are less than a preset distance from the first faulty base station; the T is an integer greater than or equal to 1; the electronic device is further used to determine all fence base station data belonging to at least one base station accessed at the first time as target fence base station data; the at least one base station includes a first base station, the fence base station data belonging to the first base station is the first fence base station data, and there is a base station in the first fence base station data whose base station ID is the same as the base station ID corresponding to the first base station; the electronic device is further used to use all faulty base stations corresponding to the target fence base station data as a faulty base station list; the electronic device is also used to access base stations outside the faulty base station list when selecting a base station at the second time.

[0023] In the above embodiment, the electronic device determines the fence base station data (target fence base station data) to which at least one base station accessed at the current time (first time) belongs. Subsequently, the electronic device determines all faulty base stations (faulty base station list) corresponding to the target fence base station data, and avoids the base stations in the faulty base station list when selecting a base station. For example, when switching base stations or reselecting base stations, access a base station outside the faulty base station list. For another example, the electronic device can select the base station with the best signal quality from the non-faulty base stations as the base station to be accessed.

[0024] In a third aspect, the present application provides an electronic device, characterized in that the electronic device comprises one or more processors and one or more memories; wherein the one or more memories are coupled to the one or more processors, the one or more memories are used to store computer program code, the computer program code comprises computer instructions, and when the one or more processors execute the computer instructions, the one or more processors are used to call the computer instructions so that the electronic device performs the method described in the first aspect or any one of the embodiments of the first aspect.

[0025] In the above embodiment, the electronic device determines the fence base station data (target fence base station data) to which at least one base station accessed at the current time (first time) belongs. Subsequently, the electronic device determines all faulty base stations (faulty base station list) corresponding to the target fence base station data, and avoids the base stations in the faulty base station list when selecting a base station. For example, when switching base stations or reselecting base stations, access a base station outside the faulty base station list. For another example, the electronic device can select the base station with the best signal quality from the non-faulty base stations as the base station to be accessed.

[0026] In a fourth aspect, the present application provides a computer storage medium, characterized in that a computer program is stored in the storage medium, and the computer program includes executable instructions, which, when executed by a processor, enable the processor to execute the method described in the first aspect or any one of the embodiments of the first aspect.

[0027] In the above embodiment, the electronic device determines the fence base station data (target fence base station data) to which at least one base station accessed at the current time (first time) belongs. Subsequently, the electronic device determines all faulty base stations (faulty base station list) corresponding to the target fence base station data, and avoids the base stations in the faulty base station list when selecting a base station. For example, when switching base stations or reselecting base stations, access a base station outside the faulty base station list. For another example, the electronic device can select the base station with the best signal quality from the non-faulty base stations as the base station to be accessed. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] Figure 1 A schematic diagram of a scenario in which an electronic device selects a base station in a solution is shown;

[0029] Figure 2 An exemplary flow chart for implementing the base station selection method in the present application is shown;

[0030] Figure 3 A schematic diagram showing a failed base station of a cloud server and its corresponding fence base station data;

[0031] Figure 4 A schematic diagram of a scenario in which an electronic device selects a base station in another solution is shown;

[0032] Figure 5 is a schematic diagram of the structure of a communication system in an embodiment of the present application;

[0033] Figure 6 is an exemplary flow chart of a base station selection method provided in an embodiment of the present application;

[0034] Figure 7 An exemplary analysis curve corresponding to each mapping relationship is shown;

[0035] Figure 8A schematic diagram showing determining the base station location information corresponding to base station A based on the device location information corresponding to base station A;

[0036] Fig. 9 Three exemplary methods are shown when an electronic device queries data of faulty base stations and their corresponding fence base stations included in area 1;

[0037] Fig.10 is another exemplary flow chart of the base station selection method provided in an embodiment of the present application;

[0038] Fig.11 A schematic diagram of a three-level grid is shown;

[0039] Fig.12 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0040] The terms used in the following embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to be used as limitations to the present application. As used in the specification and appended claims of the present application, the singular expressions "one", "a kind of", "said", "above", "the" and "this" are intended to also include plural expressions, unless there is a clear indication to the contrary in the context. It should also be understood that the term "and / or" used in the present application refers to and includes any or all possible combinations of one or more listed items.

[0041] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features, and in the description of the embodiments of the present application, unless otherwise specified, "plurality" means two or more.

[0042] In one solution, when the electronic device accesses a base station, it can select an optimal base station from the detected base stations to reside according to the reselection and switching criteria involved in the protocol rules. For example, the base station with the highest priority (for example, the best signal strength) is selected from the detected base stations to reside. The protocol rule (protocol rule 1) can be in the protocol stack of the electronic device, and the electronic device can select the base station with the highest priority from the detected base stations to reside based on the protocol stack. That is, the protocol rule 1 is to select the base station with the highest priority from the detected base stations to reside.

[0043] In the process of selecting a base station, the service quality of the base station to be accessed is not considered. When selecting a base station to stay in according to the protocol rules, there is a situation where a base station with good signal strength but poor service quality is selected for stay, which affects the user's service experience.

[0044] In some possible cases, a base station with poor service quality may be called a faulty base station.

[0045] Figure 1 A schematic diagram of a scenario in which an electronic device selects a base station in a solution is shown.

[0046] Figure 1 The black square symbols shown in the figure represent the signal strength of the base station, and the more black square symbols there are, the better the signal strength of the base station is. The dotted double-headed arrow represents that the electronic device accesses the base station.

[0047] like Figure 1 As shown, at position 1 and position 2, the electronic device can detect the faulty base station 1 and the base stations around it, including fence base station 1-fence base station 3. The faulty base station 2 and the base stations around it, including fence base station 2-fence base station 4, can also be detected. It should be understood here that in this scheme, the electronic device does not determine that the faulty base station 1 and the faulty base station 2 are base stations with poor service quality. Calling a base station a faulty base station is to indicate that the base station is actually a base station with poor service quality. Among them, poor service quality can also be understood as poor service experience.

[0048] like Figure 1 As shown in (a), at position 1, the electronic device can determine that the signal strength of fence base station 3 is the best, and then selects fence base station 3 for residence.

[0049] Subsequent, such as Figure 1 As shown in (b), as the electronic device moves from position 1 to position 2, the electronic device may determine that the signal strength of the faulty base station 1 is the best, and then chooses to switch to the faulty base station 1 for residence.

[0050] Although the signal strength of the faulty base station 1 is the best, the service quality of the faulty base station 1 is poor, which may cause service problems for electronic devices after they access the faulty base station 1. For example, data service problems (including freezes when using data traffic) or call service problems (including call drops, poor call service quality, etc.).

[0051] An embodiment of the present application provides a base station selection method. In this method, a cloud server can determine all faulty base stations included in different areas and fence base station data corresponding to each faulty base station. The fence base station data corresponding to a faulty base station includes other base stations around the faulty base station. When the electronic device is in area 1, the cloud server can send the fence base station data corresponding to all faulty base stations and each faulty base station included in area 1 to the electronic device. Then, the electronic device determines the fence base station data (target fence base station data) to which at least one base station accessed at the current time belongs. The subsequent electronic device determines all faulty base stations (faulty base station list) corresponding to the target fence base station data, and avoids the base stations in the faulty base station list when selecting a base station. For example, when switching base stations or reselecting base stations, access a base station outside the faulty base station list. For another example, the electronic device can select the base station with the best signal quality from the non-faulty base stations as the base station to be accessed.

[0052] The electronic device determining that the base station currently accessed belongs to a fence base station data includes: the electronic device determining that the base station ID of the currently accessed base station is the same as the base station ID of a base station included in the fence base station data.

[0053] It should be understood here that the area around the faulty base station includes an area less than a preset distance from the faulty base station. The preset distance may be 100m, 150m, or other values, such as 200m, etc., which is not limited in the embodiments of the present application. The area less than the preset distance from the faulty base station may also be referred to as an electronic fence.

[0054] Figure 2 An exemplary flow chart for implementing the base station selection method in the present application is shown.

[0055] Figure 3 A schematic diagram showing a cloud server faulty base station and its corresponding fence base station data.

[0056] Combine the following Figure 2 as well as Figure 3 An exemplary description is given of the process of implementing the base station selection method.

[0057] The cloud server may obtain a base station data set. The base station data set may include Q base station data, and the Q base station data are from at least one electronic device. Each base station data may be used to indicate relevant information of a base station and the service quality of the base station. Wherein Q is an integer greater than or equal to 1.

[0058] Then, the cloud server processes the base station data to obtain all the faulty base stations and their corresponding fence base station data included in the R areas. The process may include: performing location clustering based on Q base station data to obtain base station data corresponding to W base stations. Then calculate the business indicators of the W base stations. Then determine the experience comprehensive scores corresponding to the W base stations based on the business indicators of the W base stations. Determine the base station with the lower experience comprehensive score of each base station as a faulty base station, and then determine E faulty base stations among the W base stations and the fence base station data corresponding to each faulty base station. Among them, R is an integer greater than or equal to 1, W is an integer greater than or equal to 1, and E is an integer less than or equal to W.

[0059] Subsequently, the cloud server sends the faulty base stations and their corresponding fence base station data in the area to the electronic device. The electronic device controls the base station selection process based on the sent faulty base stations and their corresponding fence base station data. For example, when selecting a base station, avoid the base stations in the faulty base station list.

[0060] Figure 4 A schematic diagram of a scenario in which an electronic device selects a base station in another solution is shown.

[0061] Figure 4 The black square symbols shown in the figure represent the signal strength of the base station, and the more black square symbols there are, the better the signal strength of the base station is. The dotted double-headed arrow represents that the electronic device accesses the base station.

[0062] like Figure 4 As shown, at position 1 and position 2, the electronic device can detect faulty base station 1, faulty base station 2, and fence base station 1 to fence base station 4. Here, it is taken as an example that both position 1 and position 2 belong to area 1 for description.

[0063] like Figure 4 As shown in (a), at position 1, the electronic device can access the fence base station 3 with the best signal strength. At this time, the cloud server sends all the faulty base stations included in area 1 and their corresponding fence base station data to the electronic device. The content sent by the cloud server may include faulty base station 1 and its corresponding fence base station data (fence base station data 1), and may also include faulty base station 2 and its corresponding fence base station data (fence base station data 2). The base stations included in the fence base station data 1 can refer to the base stations included in the electronic fence 1, and in addition to the faulty base station 1, it can also include fence base stations 1-fence base stations 3. The base stations included in the fence base station data 2 can refer to the base stations included in the electronic fence 2, and in addition to the faulty base station 2, it can also include fence base stations 2-fence base stations 4.

[0064] Based on the content sent by the cloud service, the electronic device can determine that there is a faulty base station 1 around the currently connected fence base station 3, and the faulty base station 1 should be avoided.

[0065] Subsequent, such as Figure 4 As shown in (b), as the electronic device moves from position 1 to position 2, the electronic device can determine that the faulty base station 1 with the best signal strength is a faulty base station, and the electronic device determines not to connect to the faulty base station 1. The electronic device can choose to switch to a base station other than the faulty base station 1 with the highest priority (for example, the best signal strength) for residence. For example, the fence base station 2 is selected for residence.

[0066] In some possible cases, the electronic device may also determine whether the fence base station included in the fence base station data to which the currently accessed base station belongs belongs to other fence base station data. If there are other fence base station data, the electronic device may also determine the faulty base station (other faulty base station) corresponding to the other fence base station data. The other faulty base station may also be avoided when selecting a base station.

[0067] For example, Figure 4 As shown in (a), the currently connected base station is fence base station 3. When it is determined that fence base station 3 belongs to one fence base station data, it can also be determined that fence base station 2 and fence base station 1 belong to another fence base station data, and the other fence base station data corresponds to faulty base station 2. Figure 4 As shown in (b), when selecting a base station, connection with the faulty base station 2 will also be avoided.

[0068] In this way, when electronic devices select base stations, they will avoid base stations with poor service quality (faulty base stations), reducing the probability of service problems.

[0069] An exemplary communication system provided by an embodiment of the present application is first introduced below.

[0070] Figure 5 It is a structural diagram of the communication system in an embodiment of the present application.

[0071] like Figure 5 As shown, the communication system may include at least one electronic device, such as electronic device 101 and other electronic devices. The communication system also includes a cloud server 102. Among them, the electronic device may be an electronic device equipped with Huawei HarmonyOS, Android, iOS or other operating systems, such as a mobile phone.

[0072] The cloud server 102 may include access services, data processing services, databases, and fault base station services.

[0073] The access service can be used to obtain at least one base station data to obtain a base station data set and store it. The access service can include storage services and data collection services.

[0074] Among them, the storage service can be used to store all base station data obtained by the cloud server. The data collection service can be used to receive base station data transmitted by electronic devices (such as electronic device 101 and other electronic devices). One base station data corresponds to one base station, and the base station data may include base station service data and base station information data. Among them, the base station information data can be used to indicate the relevant information of a base station; the base station service data can be used to indicate the service quality of the base station. Here, the base station data set obtained by the access service includes Q base station data, and the Q base station data come from at least one electronic device.

[0075] In some possible cases, in addition to storing the acquired base station data based on the storage service, the acquired base station data can also be stored in the data lake. The data lake includes storage layers such as original layer data, detailed layer data, summary layer data, and service layer data. The base station data can be recorded in different storage layers.

[0076] The access service may transmit the Q pieces of base station data included in the acquired base station data set to the data processing service described below.

[0077] The data processing service can determine all faulty base stations in different areas and the fence base station data corresponding to each faulty base station based on the Q pieces of base station data. The data processing service includes a preprocessing module, an aggregation module, and a faulty base station-fence generation module.

[0078] The preprocessing module may preprocess the Q pieces of base station data, such as performing format processing or labeling the data.

[0079] The aggregation module can perform location clustering based on the Q base station data, divide the Q base station data into W classes, and obtain base station data corresponding to the W base stations. For a detailed description of this process, please refer to the description of step S103, which will not be repeated here.

[0080] The faulty base station-fence generation module can determine the comprehensive experience scores corresponding to the W base stations based on the base station data corresponding to the W base stations, and determine E faulty base stations among the W base stations based on the comprehensive experience scores corresponding to the W base stations. Fence base station data corresponding to different faulty base stations are further determined based on the base station data corresponding to different faulty base stations. The E faulty base stations and all their corresponding fence base stations are divided according to regions to obtain all the faulty base stations and their corresponding fence base station data included in R regions. For a detailed description of the process, please refer to the following description of steps S104-S107, which will not be repeated here.

[0081] The data processing service may store data of all faulty base stations and their corresponding fence base stations included in the R areas in a database.

[0082] The faulty base station service can be used to receive a request sent by an electronic device, which is used to request the cloud server to send the faulty base stations and their corresponding fence base station data included in area 1. After receiving the request, the faulty base station service obtains the T faulty base stations and their corresponding fence base station data included in area 1 from the database. Then, the faulty base station service sends the T faulty base stations and their corresponding fence base station data included in area 1 to the electronic device.

[0083] The electronic device includes a base station selection module and a data acquisition module.

[0084] The data acquisition module can collect base station data corresponding to the access base station and send it to the cloud server.

[0085] The base station selection module may include system services and a protocol stack (modem).

[0086] The system service may determine the fence base station data (target fence base station data) to which the at least one base station belongs based on the at least one base station currently connected, and then determine a list of faulty base stations corresponding to the target fence base station data, and send the list of faulty base stations to the protocol stack.

[0087] The protocol stack can determine the priority of each base station detected by the electronic device based on the protocol rules, and then select the base station with the highest priority from the detected base stations except the faulty base station in combination with the list of faulty base stations. That is, the electronic device can select a base station with better service quality and higher priority for access.

[0088] It should be understood that the protocol stack is a module for selecting base stations based on the existing protocol rules. It has a small storage space and can receive a limited number of faulty base stations, usually 5-6 faulty base stations, etc., which can be adjusted in actual situations. Therefore, it is necessary to set up a system service to determine the faulty base stations around the electronic device based on the currently connected base station and the fence base station data to send to the protocol stack for base station selection.

[0089] Below, the embodiments of the present application will be combined with Figure 5 An exemplary processing flow for selecting a base station is specifically introduced.

[0090] Step 1: The access service in the cloud server obtains base station data transmitted by at least one electronic device to obtain a base station data set. The base station data set includes Q pieces of base station data.

[0091] Among them, step 1 corresponds to Figure 5 The grey circle mark ①.

[0092] Step 2: The data processing service generates data of all faulty base stations and their corresponding fence base stations in R areas based on the acquired Q base station data, and stores them in the database.

[0093] Among them, step 2 corresponds to Figure 5 The grey circle mark in the figure②.

[0094] Step 3: The faulty base station service sends data of T faulty base stations and their corresponding fence base stations included in area 1 where the electronic device is located to the electronic device.

[0095] Among them, step 3 corresponds to Figure 5 The grey circle mark in ③.

[0096] Step 4: The electronic device determines a list of faulty base stations based on the currently connected base station and the T faulty base stations and their corresponding fence base station data. Then, based on the list of faulty base stations, the electronic device selects the base station with the highest priority from the detected base stations except the faulty base station for access.

[0097] Among them, step 4 corresponds to Figure 5 The grey circle mark ④.

[0098] Figure 6 It is an exemplary flowchart of the base station selection method provided in an embodiment of the present application.

[0099] Combine the following Figure 5 as well as Figure 6 The present invention describes in detail the process by which each module of the communication system avoids faulty base stations when selecting base stations and selects base stations with better service quality and higher priority for access.

[0100] For details of the process, please refer to the following description of steps S101 to S113.

[0101] S101. The electronic device collects base station data corresponding to the base station and uploads it to the cloud server.

[0102] The electronic device may collect base station data corresponding to the base station during the process of accessing the base station. Here, the time from when the electronic device accesses the base station to when it is disconnected from the base station is recorded as time A.

[0103] The base station data corresponding to the base station may include base station service data of the base station and base station information data of the base station. The base station service data of the base station may be used to indicate the service quality of the base station. The base station service data of the base station may be used to indicate the service quality of the base station. The base station information data of the base station may be used to indicate relevant information of the base station, for example, it may identify the base station, and may also indicate the signal distribution of the base station.

[0104] The base station information data corresponding to the base station may include a base station ID, signal distribution, and device location information.

[0105] The base station ID can be used to uniquely identify a base station.

[0106] In some possible cases, the base station ID may include a mobile country code (MCC), an operator identifier (MNC), a radio access type (RAT), and a cell global identifier (CGI). That is, the base station ID may be expressed as MCC+MNC+RAT+CGI.

[0107] The base station signal distribution includes the signal strength distribution of the connected base stations detected by the electronic device within time A. The electronic device divides the signal strength of the connected base stations into different levels, and records each signal strength level within time A and the total duration of its occurrence as the signal distribution. The signal distribution may also include the total access duration (for example, which may be time A).

[0108] The device location information can be used to indicate the location of the electronic device when the electronic device is connected to the base station at time A, and can be expressed in the form of longitude combined with latitude. The location of the electronic device at a certain moment in time A can be used as the device location information, such as the start moment, the middle moment, etc. At least two moments can also be preset in time A, and the average value of the location of the electronic device at the at least two moments is taken as the device location information. It can also be expressed in other ways, which is not limited in the embodiments of the present application.

[0109] The base station service data of the base station may include call service data and traffic service data.

[0110] Among them, the call service data may include at least one indicator describing the call service quality when making calls based on the base station, such as one or more indicators such as the number of successful calls, the number of dropped calls, the number of call failures, and the number of successful calls.

[0111] The number of successful calls includes the number of times the electronic device answers calls at time A.

[0112] The number of call failures may be used to indicate the number of times the electronic device acts as a caller at time A and the call is not connected to the recipient.

[0113] The number of successful calls can be used to indicate the number of times the electronic device acts as a caller at time A and the recipient answers the call.

[0114] The number of dropped calls includes the number of times the electronic device is disconnected due to network failure after the call is connected at time A.

[0115] The traffic service data may include at least one indicator describing the quality of the traffic service when the base station uses the traffic data, such as one or more indicators such as traffic usage duration, traffic freeze duration, etc.

[0116] The traffic usage duration is used to indicate the total duration of the electronic device using traffic data at time A.

[0117] The traffic jam duration indicates the total duration of jams that occur when the electronic device uses traffic data at time A.

[0118] It should be understood here that the traffic involved in the traffic service data is a type of data traffic, including traffic generated by networks involving base stations such as 2G / 3G / 4G / 5G, but excluding traffic generated by networks that do not involve base stations such as wifi. This traffic service data can also be called data service data.

[0119] S102. The data collection service obtains a base station data set, which includes Q base station data, and the Q base station data come from at least one electronic device; each base station data includes at least base station service data and base station information data, wherein the base station information data includes device location information.

[0120] The Q pieces of base station data may come from different electronic devices, and any electronic device may upload at least one piece of base station data.

[0121] For the related descriptions about the base station data and the device location information, please refer to the descriptions about the base station data and the device location information in the aforementioned step S101, and will not be repeated here.

[0122] S103. The data processing service performs location clustering based on the base station information data included in the Q base station data, and divides the Q base station data into W classes. The base station data in each class corresponds to the same base station, and different classes correspond to different base stations.

[0123] In some possible cases, the base station information data involved in the location clustering here may be a base station ID. The data processing service performs location clustering based on the base station ID (Q base station IDs) included in the Q base station data. When performing location clustering, the base station data including the same base station ID may be classified into the same class. In this way, the Q base station data may be classified into W classes, the base station data in each class corresponds to the same base station, and different classes correspond to different base stations.

[0124] That is, based on step S103, all base station data corresponding to W base stations can be obtained.

[0125] S104. The data processing service determines the comprehensive experience scores corresponding to the W base stations based on all base station data corresponding to the W base stations.

[0126] The W base stations include base station A, and here we take the example of calculating the experience comprehensive score corresponding to base station A based on all base station data corresponding to base station A. The process involved in calculating the experience comprehensive scores corresponding to other base stations can refer to the description of this part, which will not be repeated here.

[0127] The comprehensive experience score corresponding to a base station can be used to indicate the service quality of the base station; the lower the comprehensive experience score corresponding to the base station, the worse the service quality of the base station.

[0128] Here, the data involved in determining the comprehensive experience score corresponding to base station A includes base station service data (Y base station service data) in all base station data corresponding to base station A (recorded as Y base station data). Here, the Y base station service data can be referred to as Y base station service data corresponding to base station A. Wherein, Y is an integer greater than or equal to 1.

[0129] The data processing service may determine at least one experience score of the base station A based on the Y base station service data. The comprehensive experience score corresponding to the base station A may be obtained by combining the at least one experience score. The details of the process may refer to the following description.

[0130] In some possible cases, the sum of the at least one experience score may be determined as the comprehensive experience score corresponding to base station A.

[0131] In some possible cases, the at least one experience score may include a traffic experience score, a call experience score, and a signal strength score.

[0132] Among them, the traffic experience score corresponding to base station A can be determined based on Y traffic service data. The Y traffic service data come from Y base station data corresponding to base station A. The traffic experience score can be used to indicate the traffic service quality of base station A. The lower the traffic experience score, the worse the traffic service quality of base station A; the call experience score corresponding to base station A can be determined based on Y call service data. The call experience score can be used to indicate the call service quality of base station A. The lower the call experience score, the worse the call service quality of base station A; the signal strength score corresponding to base station A can be determined based on Y signal distribution situations. The signal strength score is used to indicate the call service quality of base station A; the lower the signal strength score, the worse the signal of base station A.

[0133] The process of determining the traffic experience score is described in detail below.

[0134] The traffic experience score is determined by the indicators included in the traffic service data. For example, if the traffic service data includes the traffic usage time and the traffic jam time, the traffic experience score may include the jam rate score. If the traffic service data only includes the traffic usage time and the traffic jam time, the traffic experience score is equal to the jam rate score.

[0135] Among them, the jam rate score can also be called the jam rate score corresponding to base station A. The jam rate score can indicate the jamming situation when accessing base station A to use traffic data: the lower the jam rate score, the greater the possibility of jamming when accessing base station A to use traffic data. The jam rate score can be obtained by the high jam rate ratio corresponding to base station A, that is, the jam rate score is related to the high jam rate ratio corresponding to base station A (there is a mapping relationship A): the larger the high jam rate ratio corresponding to base station A, the lower the jam rate score corresponding to base station A. Among them, the high jam rate ratio can indicate the probability of jamming when accessing base station A to use traffic data. The high jam rate ratio can be expressed as the ratio of the high jam rate number corresponding to base station A to the statistical number corresponding to base station A. Among them, the statistical number corresponding to base station A is the total number of all base station data corresponding to base station A, which is Y times. The high jam rate number corresponding to base station A includes the total number of high jam rates determined by the Y group traffic usage time and the traffic jam time. Among them, a group of traffic usage time and traffic jam duration includes traffic usage time and traffic jam duration belonging to the same base station service data. Then the Y base station service data corresponding to base station A include Y groups of traffic usage time and traffic jam duration. The conditions for a group of traffic usage time and traffic jam duration to determine a high jam rate include: the jam rate determined by the group of traffic usage time and traffic jam duration is greater than or equal to the preset jam rate threshold. Among them, the jam rate determined by the group of traffic usage time (traffic usage time 1) and traffic jam duration (traffic jam duration 1) can be expressed as the ratio of traffic jam duration 1 to traffic usage time 1.

[0136] Among them, the relevant formulas involved in determining the jam rate can refer to the following formula (11).

[0137]

[0138] In formula (11), the jam rate i represents the jam rate calculated from the i-th base station data in the Y base station service data corresponding to base station A. The traffic jam duration i and the traffic usage duration i are the traffic jam duration and traffic usage duration included in the i-th base station data. Based on formula (11), Y jam rates can be obtained.

[0139] The relevant formula for determining the high jam rate ratio can refer to the following formula (12).

[0140]

[0141] In formula (12), the number of high jamming rates is the total number of jamming rates greater than or equal to the preset jamming rate threshold among the Y jamming rates. The number of statistics is the total number of all base station data corresponding to base station A, which is Y times.

[0142] Among them, the preset jam rate threshold can be set to 0.5-0.8, such as 0.5, etc., or other values, such as 0.9, etc., which is not limited in the embodiment of the present application.

[0143] The relevant formula for determining the jam rate score can refer to the following formula (13).

[0144] Jam rate score = -a*x1 2 +b formula (13)

[0145] The formula (13) is a mapping relationship A. In the formula (13), x1 represents the proportion of high jamming rate. a and b are parameters.

[0146] The process of determining the call experience score is described in detail below.

[0147] The call experience score is determined based on Y call service data, and the Y call service data come from Y base station data corresponding to base station A. For example, when the call service data includes the number of successful calls and the number of dropped calls, the call experience score may include a dropped call rate score. Furthermore, when the call service data includes the number of failed calls and the number of successful calls, the call experience score may also include a calling failure rate score. When the call service data includes the number of successful calls, the number of dropped calls, the number of failed calls, and the number of successful calls, the call experience score may be expressed as the sum of the dropped call rate score and the calling failure rate score.

[0148] The call drop rate score may also be referred to as the call drop rate score corresponding to base station A. The call drop rate score may indicate the situation of call drop when making a call based on base station A: the lower the call drop rate score, the greater the possibility of call drop when making a call based on base station A. The call drop rate score may be obtained by the high call drop rate ratio corresponding to base station A, that is, the call drop rate score is related to the high call drop rate ratio corresponding to base station A (there is a mapping relationship B): the larger the high call drop rate ratio corresponding to base station A, the lower the call drop rate score corresponding to base station A. The high call drop rate ratio may be expressed as the ratio of the number of high call drop rates corresponding to base station A to the statistical number of times corresponding to base station A. The statistical number corresponding to base station A is the total number of all base station data corresponding to base station A, which is Y times. The high call drop rate number corresponding to base station A includes the total number of high call drop rates determined by the Y group of successful call times and the number of dropped calls. A group of successful call times and dropped call times include the number of successful calls and the number of dropped calls belonging to the same base station service data. Then the Y pieces of base station service data corresponding to base station A include Y groups of successful call times and dropped call times. The condition for a group of successful call times and dropped call times to determine a high dropped call rate includes: the dropped call rate determined by the group of successful call times and dropped call times is greater than or equal to a preset dropped call rate threshold. Among them, the dropped call rate determined by the group of successful call times (successful call times 1) and dropped call times (dropped call times 1) can be expressed as a ratio of dropped call times 1 to successful call times 1.

[0149] The relevant formula for determining the call drop rate may refer to the following formula (21).

[0150]

[0151] In formula (21), the call drop rate i represents the call drop rate calculated from the i-th base station data in the Y base station service data corresponding to base station A. The number of call drops i and the number of successful calls i are the number of call drops and the number of successful calls included in the i-th base station data. Based on formula (21), Y call drop rates can be obtained.

[0152] The relevant formula for determining the high call drop rate ratio can refer to the following formula (22).

[0153]

[0154] In formula (22), the number of high call drop rates is the total number of call drop rates greater than or equal to the preset call drop rate threshold among the Y call drop rates. The number of statistics is the total number of all base station data corresponding to base station A, which is Y times.

[0155] The preset call drop rate threshold may be set to a value between 0.5 and 0.8, such as 0.5, or other values, such as 0.9, which is not limited in the embodiment of the present application.

[0156] The relevant formula for determining the call drop rate score can refer to the following formula (23).

[0157]

[0158] The formula (23) is a mapping relationship B. In the formula (23), x21 represents the proportion of high call drop rate. a, b, and c are parameters.

[0159] The call failure rate score may also be referred to as the call failure rate score corresponding to base station A. The call failure rate score may indicate the situation of failure when making calls to other electronic devices based on base station A: the lower the call failure rate score, the greater the possibility of failure when making calls to other electronic devices based on base station A. The call failure rate score may be obtained by the high call failure rate ratio corresponding to base station A, that is, the call failure rate score is related to the high call failure rate ratio corresponding to base station A (there is a mapping relationship B): the higher the high call failure rate ratio corresponding to base station A, the lower the call failure rate score corresponding to base station A. Among them, the high call failure rate ratio may indicate the probability of failure when making calls to other electronic devices based on base station A. The high call failure rate ratio may be expressed as the ratio of the high call failure rate number corresponding to base station A to the statistical number corresponding to base station A. Among them, the statistical number corresponding to base station A is the total number of all base station data corresponding to base station A, which is Y times. The high call failure rate number corresponding to base station A includes the total number of high call failure rates determined by the Y group of call failure times and the call success times. Among them, a group of call failure times and call success times include call failure times and call success times belonging to the same base station service data. Then the Y base station service data corresponding to base station A include Y groups of call failure times and call success times. The conditions for a group of call failure times and call success times to determine a high call failure rate include: the call failure rate determined by the group of call failure times and call success times is greater than or equal to the preset call failure rate threshold. Among them, the call failure rate determined by the group of call failure times (call failure times 1) and call success times (call success times 1) can be expressed as the ratio of call failure times 1 to call times (the sum of call failure times 1 and call success times 1).

[0160] Among them, the relevant formula involved in determining the calling failure rate can refer to the following formula (24).

[0161]

[0162] In formula (24), the call failure rate i represents the call failure rate calculated from the i-th base station data in the Y base station service data corresponding to base station A. The number of call failures i and the number of successful calls i are the number of call failures and the number of successful calls included in the i-th base station data. Based on formula (24), Y call failure rates can be obtained.

[0163] The relevant formula for determining the proportion of high call failure rate can refer to the following formula (25).

[0164]

[0165] In formula (25), the number of high call failure rates is the total number of call failure rates greater than or equal to the preset call failure rate threshold among Y call failure rates. The number of statistics is the total number of all base station data corresponding to base station A, which is Y times.

[0166] The preset call failure rate threshold may be set to a value between 0.5 and 0.8, such as 0.5, or other values, such as 0.9, which is not limited in the embodiment of the present application.

[0167] The relevant formula for determining the call failure rate score can refer to the following formula (26).

[0168]

[0169] Formula (26) is a mapping relationship B. In formula (26), x22 represents the proportion of high call failure rate. a, b, and c are parameters.

[0170] The process of determining the signal strength score is described in detail below.

[0171] The signal strength score is determined by the distribution of Y signals corresponding to base station A. The Y signal distributions come from Y base station data corresponding to base station A.

[0172] Among them, the signal strength score can also be called the signal strength score corresponding to base station A. The signal strength score can indicate the situation that base station A has a weak signal (poor signal strength) within a period of time: the lower the signal strength score, the greater the possibility that the signal of base station A has a weak signal within a period of time. The signal strength score can be obtained by the proportion of high and weak signal rates corresponding to base station A, that is, the signal strength score is related to the proportion of high and weak signal rates corresponding to base station A (there is a mapping relationship C): the larger the proportion of high and weak signal rates corresponding to base station A, the lower the signal strength score corresponding to base station A. Among them, the proportion of high and weak signal rates can indicate the probability of a weak signal after accessing base station A. The proportion of high and weak signal rates can be expressed as the ratio of the number of high and weak signal rates corresponding to base station A to the number of statistics corresponding to base station A. Among them, the number of statistics corresponding to base station A is the total number of all base station data corresponding to base station A, which is Y times. The number of high and weak signal rates corresponding to base station A includes the total number of high and weak signal rates determined by Y signal distribution situations. The Y base station service data corresponding to base station A include Y signal distribution situations. A condition for determining a high weak signal rate in a signal distribution situation includes: the weak signal rate determined by the signal distribution situation is greater than or equal to a preset weak signal rate threshold. The weak signal rate determined by the signal distribution situation (signal distribution situation 1) can be expressed as a ratio of the total duration of signal appearance less than or equal to the signal strength level threshold to the total access duration.

[0173] Among them, the relevant formulas involved in determining the weak signal rate can refer to the following formula (31).

[0174]

[0175] In formula (31), weak signal rate i represents the weak signal rate calculated from the i-th base station data among the Y base station service data corresponding to base station A. The total duration of weak signals represents the total duration of the occurrence of signals less than or equal to the signal strength level threshold. The total access duration can represent the total duration of access to base station A (i.e., the duration of residence at base station A) when the electronic device collects the i-th base station data. Based on formula (31), Y weak signal rates can be obtained.

[0176] The relevant formula for determining the proportion of high weak signal rate can refer to the following formula (32).

[0177]

[0178] In formula (32), the number of high weak signal rates is the total number of weak signal rates greater than or equal to the preset weak signal rate threshold among the Y weak signal rates. The number of statistics is the total number of all base station data corresponding to base station A, which is Y times.

[0179] Among them, the preset weak signal rate threshold can be set to 0.5-0.8, such as 0.5, etc., or other values, such as 0.9, etc., which is not limited in the embodiment of the present application.

[0180] The relevant formula for determining the weak signal rate score can refer to the following formula (33).

[0181] Weak signal rate score = *(x3-b) 2 Formula (33)

[0182] The formula (33) is a mapping relationship C. In the formula (33), x3 represents the proportion of high weak signal rate. a and b are parameters.

[0183] In some possible cases, the electronic device determines the comprehensive experience score corresponding to base station A as the sum of the traffic experience score, the call experience score and the signal strength score. The formula for determining the comprehensive experience score corresponding to base station A can refer to the following formula (4).

[0184] Comprehensive experience score = traffic experience score + call experience score + signal strength score formula (4)

[0185] In formula (4), the traffic experience score may be a jamming rate score, and the call experience score may be the sum of a call drop rate score and a call failure rate score.

[0186] It should be understood that the base station IDs included in the aforementioned Y pieces of base station data are the same, and all identify the base station A. The cloud service can match the experience comprehensive score corresponding to the base station A with the base station ID corresponding to the base station A to obtain the experience comprehensive score corresponding to the base station A.

[0187] It should also be understood that the aforementioned mapping relationship A, mapping relationship B, and mapping relationship C can be obtained by analyzing by establishing a model.

[0188] Figure 7 Exemplary analysis curves corresponding to various mapping relationships are shown.

[0189] like Figure 7 As shown, curve 1 can represent mapping relationship A, and curve 1 can be used to describe the mapping relationship between the jam rate score and the high jam rate ratio. It should be understood that the scores related to the traffic experience score can be obtained using the mapping relationship corresponding to curve 1.

[0190] Curve 2 may represent mapping relationship B, which may be used to describe the mapping relationship between the call drop rate score and the high call drop rate ratio, and may also be used to describe the mapping relationship between the call failure rate score and the high call failure rate ratio. It should be understood that the scores related to the call experience score may be obtained using the mapping relationship corresponding to curve 2.

[0191] Curve 3 may represent a mapping relationship C, and this curve 3 may be used to describe the mapping relationship between the signal strength score and the high-weak signal ratio. It should be understood that the scores related to the signal strength score may be obtained using the mapping relationship corresponding to this curve 3.

[0192] S105. The data processing service determines E faulty base stations among the W base stations based on the comprehensive experience scores corresponding to the W base stations.

[0193] Wherein, E is an integer less than or equal to W.

[0194] The data processing service may determine the base stations corresponding to E base stations among the W base stations whose experience comprehensive scores are less than the preset comprehensive score as faulty base stations, and obtain E faulty base stations.

[0195] S106. The data processing service determines the base station location information of different base stations based on the device location information corresponding to different base stations, and obtains the fence base station data corresponding to the E faulty base stations based on the base station location information of each base station.

[0196] The fence base station data corresponding to a faulty base station includes other base stations (also referred to as fence base stations) around the faulty base station. The area around the faulty base station includes an area that is less than a preset distance from the faulty base station. The preset distance can be 100m, 150m, or other values, such as 200m.

[0197] First, the data processing service can determine the base station location information corresponding to W base stations based on the device location information corresponding to W base stations. The details of this process can be referred to as follows Figure 8 The description of related contents will not be repeated here.

[0198] Then, the data processing service can determine the distance between different faulty base stations and other base stations based on the base station location information corresponding to different faulty base stations, and determine the base stations included in the preset distance of different faulty base stations as the base station fence data corresponding to the faulty base stations. For example, the E faulty base stations include the faulty base station 1, and the process of the data processing service determining the base station fence data corresponding to the faulty base station 1 includes: determining the distance between the faulty base station 1 and other base stations (W-1) based on the base station location information corresponding to the faulty base station 1. Then, all base stations whose distance to the faulty base station 1 is less than the preset distance are determined as the base station fence data corresponding to the faulty base station 1.

[0199] Here, the example of determining the base station location information corresponding to base station A based on the device location information corresponding to base station A is used for explanation. The method of determining the base station location information corresponding to other base stations can refer to the relevant description, which will not be repeated here.

[0200] The base station A corresponds to Y pieces of base station data, each piece of base station data includes a piece of device location information, and the base station A corresponds to Y pieces of device location information. It should be understood that the Y pieces of base station data may come from the same electronic device or from different electronic devices.

[0201] Figure 8 A schematic diagram showing how to determine the base station location information corresponding to base station A based on the device location information corresponding to base station A is shown.

[0202] like Figure 8 As shown, Figure 8 The triangle symbol in the box indicates a device location information.

[0203] In some possible cases, the data processing service may determine a central location based on Y device location information, and use the central location as the base station location information corresponding to base station A.

[0204] S107. The data processing service divides the E faulty base stations and all the corresponding fence base stations into regions, and obtains data of all the faulty base stations and their corresponding fence base stations included in R regions.

[0205] The area can be represented in one of the following ways, including but not limited to:

[0206] Region representation method 1: The region can be represented as different cities (administrative regions).

[0207] Area representation method 2: The area may be represented as an area covered by a base station, wherein the area covered by a base station may be indicated by the base station itself, or may be represented by a base station ID.

[0208] Area representation method 3: The area can be represented as the location of the base station, which can be represented by a location range.

[0209] When the regions represent different cities, the data processing service can group the faulty base stations belonging to the same city into one group, and obtain the faulty base stations and their corresponding fence base station data included in R cities. The city to which the faulty base station belongs can be determined based on the base station location information corresponding to the faulty base station.

[0210] In the case where the region represents the base station ID, the data processing service can use the E faulty base stations and their corresponding fence base station data as the result of the division by base station.

[0211] In the case where the area represents a location range, the data processing service can group the faulty base stations belonging to the same location range into a group, and obtain the faulty base stations and their corresponding fence base station data included in R location ranges. The same location range means that the locations indicated by the base station location information corresponding to the included faulty base stations are within a range.

[0212] S108. The electronic device requests the cloud server to send the faulty base station corresponding to area 1 and its corresponding fence base station data at time 1.

[0213] Fig. 9 Three exemplary methods involved when an electronic device queries data of faulty base stations and their corresponding fence base stations included in area 1 are shown.

[0214] In the case where the faulty base stations are divided according to cities in step S107, the electronic device can query the faulty base stations and their corresponding fence base station data based on the city where the electronic device is located.

[0215] In step S107, when the base station ID indicates that the faulty base station is divided, the electronic device can query the faulty base station and its corresponding fence base station data based on the base station ID. The base station ID is the base station ID of the base station to which the electronic device is connected.

[0216] When the faulty base station is divided based on the location range in step S107, the electronic device can query the faulty base station and its corresponding fence base station data based on the location information of the electronic device.

[0217] S109. The faulty base station service sends the data of T faulty base stations corresponding to area 1 and their corresponding fence base stations to the system service of the electronic device.

[0218] When area 1 is the city where the electronic device is located, the faulty base station service can obtain T faulty base stations and their corresponding fence base station data included in the city where the electronic device is located and send them to the electronic device.

[0219] When area 1 is the base station ID (base station ID1) of the base station accessed by the electronic device, the T faulty base stations sent to the electronic device by the faulty base station service include a faulty base station whose corresponding base station ID is the same as base station ID1 and a faulty base station whose corresponding fence base station data includes base station ID1.

[0220] When area 1 is the location information of the electronic device, the location information 1 indicates that the electronic device is at location 1, and the faulty base station service sends T faulty base stations and their corresponding fence base station data included in the location range of location 1 to the electronic device.

[0221] S110. The system service determines all fence base station data belonging to at least one base station accessed at time 1 as target fence base station data.

[0222] The time 1 can be a period of time or a moment, and this embodiment of the present application is not limited to this.

[0223] The system service of the electronic device can determine all fence base station data to which the V base stations accessed at time 1 belong based on T faulty base stations and their corresponding fence base station data (T fence base station data).

[0224] The process of the electronic device determining the fence base station data to which an accessed base station (base station B) belongs includes: when the electronic device determines that the fence base station data A includes base station B, the fence base station data A is determined to be the fence base station data to which the base station B belongs. The manner in which the electronic device determines that the fence base station data A includes the accessed base station includes: determining that there is a base station in the fence base station data A whose base station ID is the same as the base station ID of the base station B.

[0225] In some possible ways, when time 1 is a period of time, the end time of time 1 may be the time when the electronic device detects that the signal strength of the connected base station has deteriorated, and the start time of time 1 may be a period of time before the time when the signal of the connected base station has been detected to be deteriorating. The deterioration of the base station signal strength includes that the base station signal strength is less than the preset base station signal strength.

[0226] In some other possible embodiments, when time 1 is a moment, time 1 may be the time when the electronic device detects that the signal of the connected base station becomes worse.

[0227] S111. The system service determines a list of faulty base stations corresponding to the target fence base station data.

[0228] The system service determines that the faulty base stations corresponding to all fence base station data included in the target fence base station data are a faulty base station list.

[0229] S112. The system service sends a list of faulty base stations to the protocol stack.

[0230] S113. When switching base stations or reselecting base stations at time 2, the protocol stack accesses a base station other than the list of failed base stations.

[0231] The time 2 is a time after the time 1.

[0232] The protocol stack can determine the priority of each base station among the base stations detected by the electronic device based on the protocol rules, and then select the base station with the highest priority from the detected base stations except the faulty base station in combination with the list of faulty base stations for access. That is, the electronic device can select a base station with better service quality and higher priority for access. That is, the protocol rule stored in the protocol stack has changed from: "Select the base station with the highest priority from the detected base stations for access" to: "Select the base station with the highest priority from the detected base stations except the faulty base station for access".

[0233] That is, in the above content, the electronic device can determine the location of the electronic device based on the target fence base station data before selecting a base station, and further determine which faulty base stations are included in the location, so as to avoid the faulty base stations. Here, the electronic device selects a base station including base station switching and base station reselection.

[0234] Fig.10 It is another exemplary flowchart of the base station selection method provided in an embodiment of the present application.

[0235] For details of the process, please refer to the following description of steps S201 to S209.

[0236] S201. The electronic device collects base station data 1 corresponding to base station 1 and uploads it to the cloud server.

[0237] S202. Other electronic devices collect base station data 2 corresponding to base station 2 and upload it to the cloud server.

[0238] The relevant descriptions of step S201 and step S202 can refer to the aforementioned description of step S101, which will not be repeated here.

[0239] S203. The cloud server obtains a base station data set, where the base station data set includes Q pieces of base station data, and the Q pieces of base station data come from at least one electronic device.

[0240] The Q base station data include base station data corresponding to a second base station; the second base station may be any base station.

[0241] The base station data corresponding to the second base station is collected by the electronic device at a third time and uploaded to the cloud server; the third time includes the time from when the electronic device connects to the second base station to when the connection is disconnected; the base station data corresponding to the second base station is used to indicate the relevant information of the second base station and the service quality of the second base station; wherein W is an integer greater than or equal to 1; W is an integer less than or equal to Q.

[0242] The base station data corresponding to the second base station include: call service data, traffic service data, base station ID, signal distribution and device location information of the electronic device when collecting the base station data corresponding to the second base station; wherein the call service data includes at least one indicator describing the call service quality based on the call with the second base station; the traffic service data includes at least one indicator describing the traffic service quality based on the traffic data used by the second base station; the base station ID is used to uniquely identify the second base station; the base station signal distribution includes the signal strength distribution of the second base station detected by the electronic device within the third time: the signal strength of the second base station is divided into different levels, and the signal strength levels and the total duration of their occurrence within the third time are recorded as the signal distribution.

[0243] S204. The cloud server divides the Q base station data into W classes, where the base station data in each class corresponds to the same base station, and different classes correspond to different base stations.

[0244] S205. The cloud server determines E faulty base stations among the W base stations and fence base station data corresponding to the E faulty base stations based on all base station data corresponding to the W base stations, and any fence base station data includes at least one fence base station.

[0245] The relevant contents involved in step S205 can refer to the aforementioned description of steps S103 to S106, which will not be repeated here.

[0246] The base station A involved in the aforementioned steps S103 to S106 may be referred to as a third base station.

[0247] S206. The cloud server divides the E faulty base stations and all the corresponding fence base stations according to cities, and obtains data of all the faulty base stations and their corresponding fence base stations in R areas.

[0248] In some possible cases, R is an integer greater than or equal to 1 and less than or equal to E. The description of step S206 can refer to the description of the relevant content in step S107, which will not be repeated here.

[0249] S207. The electronic device obtains data of T faulty base stations and their corresponding fence base stations in the city from the cloud server.

[0250] The cloud server receives a first request; the first request is used to instruct the electronic device to request to send the faulty base stations and their corresponding base station fence data included in the first city; the first city is the city where the electronic device is located;

[0251] The cloud server determines the first city from the R cities;

[0252] The cloud server sends the data of T faulty base stations and their corresponding fence base stations included in the first city to the electronic device.

[0253] Among them, the faulty base station is used to indicate a base station with poor service quality; the T faulty base stations include a first faulty base station, and the fence base station data corresponding to the first faulty base station includes base stations that are less than a preset distance from the first faulty base station; T is an integer greater than or equal to 1.

[0254] S208. The electronic device determines all fence base station data belonging to at least one base station accessed for the first time as target fence base station data.

[0255] The electronic device determines all fence base station data belonging to at least one base station accessed at the first time as target fence base station data; the at least one base station includes a first base station, and the electronic device determines the fence base station data belonging to the first base station including: determining the first fence base station data among T fence base station data as the fence base station data belonging to the first base station; there is a base station in the first fence base station data whose corresponding base station ID is the same as the base station ID corresponding to the first base station.

[0256] The first time may be understood as the time 1 mentioned in the foregoing content.

[0257] The first base station can be understood as the base station B involved in the aforementioned content.

[0258] S209. The electronic device determines a list of faulty base stations corresponding to the target fence base station data, and accesses a base station other than the list of faulty base stations when switching base stations or reselecting base stations at the second time.

[0259] The electronic device uses all the faulty base stations corresponding to the target fence base station data as a list of faulty base stations. Then, the electronic device accesses a base station other than the list of faulty base stations when selecting a base station at the second time.

[0260] Among them, the electronic device accesses a base station other than the list of faulty base stations when selecting a base station at the second time, specifically including: the electronic device determines the priorities corresponding to all detected base stations; the electronic device selects the base station with the highest priority from all detected base stations except the faulty base station in combination with the list of faulty base stations. For example, the protocol stack of the electronic device receives the list of faulty base stations; the memory of the protocol stack is used to record a list of faulty base stations including less than or equal to 5 to 6 faulty base stations; the protocol stack is also used to record the protocol rules involved in selecting a base station; the electronic device accesses a base station other than the list of faulty base stations when selecting a base station at the second time based on the protocol stack.

[0261] The second time may be understood as the time 2 mentioned in the foregoing content.

[0262] It should be understood that the method in which the aforementioned cloud server determines E faulty base stations among W base stations and the fence base station data corresponding to the E faulty base stations based on all base station data corresponding to the W base stations does not involve analysis of time and is a non-time-related fault analysis.

[0263] In other possible cases, the cloud server can also perform time-related fault analysis. The time fault analysis is mainly based on the timeliness of all base station data corresponding to W base stations to analyze the data, that is, to determine whether the data has a periodic representation, so as to determine whether the service quality of the W base stations is related to time. In this case, a base station data can also include an analysis time, which can be a time or moment in the process of collecting the base station data, used to indicate the time when the base station data was obtained, and the service quality of the base station can be analyzed based on the analysis time.

[0264] In this case, the cloud server can divide the time slices by the analysis time, and divide all the base station data corresponding to the W base stations according to the analysis time. Obtain the base station data corresponding to the W base stations in different time series. Determine the experience comprehensive scores corresponding to the W base stations in different periods. If it is determined that a base station has a low experience comprehensive score in different time ranges, it means that the base station is a faulty base station in the time range. If a base station has a low experience comprehensive score in one or more time ranges but a high comprehensive experience score in other time ranges, the cloud server can determine that the base station is not a faulty base station.

[0265] In addition to base station switching, the methods involved in the foregoing content can also be used for cell switching. Specifically determine that at least one cell in the base station is a faulty cell, so that when switching cells, the faulty cell is not accessed. A base station may include at least one cell. The process of implementing cell switching can refer to the foregoing description, except that. When clustering Q base station data, clustering is not based on the base station ID. Instead, clustering is performed based on device location information to obtain base station data corresponding to different cells. For example, based on the web Mercator projection, the earth can be divided into grids of different levels using geoHash and quadtree, and the base station experience data with device location information (such as longitude and latitude) can be aggregated into different grids to obtain base station data corresponding to different cells. Since the coverage location range of the base station is generally 1000 meters, the accuracy of grid division can be 50 meters-100 meters to balance the grid accuracy and data accuracy.

[0266] Fig.11 A schematic diagram of a three-level grid is shown.

[0267] Fig.11In the example, each level represents a different precision. The higher the precision involved in the division, the more cells are divided. Subsequently, the comprehensive experience scores of different cells are determined based on the base station data corresponding to different cells, and then the faulty cells are obtained. Based on the device location information involved in the base station data included in the faulty cell, the cell location information of the faulty cell can also be determined, and then the fence cell data corresponding to the faulty cell can be obtained based on the cell location information. The content involved in this process can be specifically referred to the description of the aforementioned related content, which will not be repeated here.

[0268] The method of the present application can also be used in other aspects after being modified.

[0269] Other aspects 1: Optimize reselection switching

[0270] The base station data can also include LTE anchor cell information. That is, when the electronic device collects base station data, it can also collect the LTE anchor cell information corresponding to the base station to determine whether the base station is an LTE anchor cell. Subsequently, when the base station data corresponding to different base stations are obtained, it can also be determined whether the base station is an LTE anchor cell based on the LTE anchor cell information included in the base station data. U1 base stations that are LTE anchor cells are obtained. The cloud server can send base stations that are LTE anchor cells to the terminal, and the terminal will give priority to these base stations when reselecting or switching. This is conducive to rapid switching of base stations when taking high-speed trains or subways.

[0271] Other aspects 2: Power consumption optimization

[0272] The base station data can also include whether a 5G NR network is built. That is, when the electronic device collects base station data, it can also collect information on whether the base station has a 5G NR network to determine whether the base station has a 5G NR network. Subsequently, when the base station data corresponding to different base stations are obtained, it can also be determined whether the base station has a 5G NR network based on the information on whether a 5G NR network is built included in the base station data. U2 base stations that have not built 5GNR are obtained. The cloud server can send base stations that have not built 5GNR to the terminal, and the terminal can extend the NR network search time interval or turn off the NR standard in the area where these base stations are located to save the power consumption of NR network search.

[0273] Other Aspect 3: Disable target format

[0274] For example, the target standard can be SA or 5GNR. Referring to the above content, it can be seen that the cloud server can obtain the network compatibility base station (SA base station) caused by problems in the SA construction process and send it to the terminal. The terminal temporarily disables the SA base station according to the fence base station data to ensure a continuous service experience.

[0275] In addition to the above three aspects, other applications may also be included, which are not limited in the embodiments of the present application.

[0276] The following is an introduction to an exemplary electronic device provided in an embodiment of the present application.

[0277] Fig.12 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application.

[0278] It should be understood that the electronic device may have more or fewer components than shown in the figures, may combine two or more components, or may have a different configuration of components. Fig.12 The various components shown in the EMBODIMENTS 2000 may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and / or application specific integrated circuits.

[0279] The electronic device may include: a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194 and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.

[0280] It is to be understood that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the electronic device. In other embodiments of the present application, the electronic device may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0281] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.

[0282] The controller can be the nerve center and command center of the electronic device. The controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of fetching and executing instructions.

[0283] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0284] In some embodiments, the processor 110 may include one or more interfaces, such as an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, and the like.

[0285] The wireless communication function of the electronic device can be implemented through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor and baseband processor.

[0286] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the electronic device can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of the antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.

[0287] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., applied to electronic devices. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1.

[0288] The wireless communication module 160 can provide wireless communication solutions for electronic devices, including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication technology (NFC), infrared technology (IR), etc.

[0289] In some embodiments, the antenna 1 of the electronic device is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include the global system for mobile communications (GSM), general packet radio service (GPRS), etc.

[0290] The internal memory 121 may include one or more random access memories (RAM) and one or more non-volatile memories (NVM).

[0291] Non-volatile memory may include disk storage devices and flash memory.

[0292] The non-volatile memory may also store executable programs and user and application data, etc., and may be loaded into the random access memory in advance for direct reading and writing by the processor 110 .

[0293] The external memory interface 120 may be used to connect to an external non-volatile memory to expand the storage capacity of the electronic device.

[0294] In the embodiment of the present application, the processor 110 can call the computer instructions stored in the internal memory 121 to enable the terminal to execute the base station selection method in the embodiment of the present application.

[0295] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.

[0296] As used in the above embodiments, the term "when..." may be interpreted to mean "if..." or "after..." or "in response to determining..." or "in response to detecting...", depending on the context. Similarly, the phrases "upon determining..." or "if (the stated condition or event) is detected" may be interpreted to mean "if determining..." or "in response to determining..." or "upon detecting (the stated condition or event)" or "in response to detecting (the stated condition or event)", depending on the context.

[0297] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that contains one or more available media integration. The available medium can be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk), etc.

[0298] Those skilled in the art can understand that to implement all or part of the processes in the above-mentioned embodiments, the processes can be completed by computer programs to instruct related hardware, and the programs can be stored in computer-readable storage media. When the programs are executed, they can include the processes of the above-mentioned method embodiments. The aforementioned storage media include: ROM or random access memory RAM, magnetic disk or optical disk and other media that can store program codes.

Claims

1. A base station selection method, characterized in that: The method comprises: The electronic device obtains T faulty base stations and their corresponding fence base station data in the area from the cloud server; the faulty base station is used to indicate a base station with poor service quality; the T faulty base stations include a first faulty base station, and the fence base station data corresponding to the first faulty base station includes base stations that are less than a preset distance from the first faulty base station; T is an integer greater than or equal to 1; The electronic device determines all fence base station data belonging to at least one base station accessed at a first time as target fence base station data; the at least one base station includes a first base station, the fence base station data belonging to the first base station is first fence base station data, and a base station ID corresponding to a base station in the first fence base station data is the same as the base station ID corresponding to the first base station; The electronic device uses all faulty base stations corresponding to the target fence base station data as a faulty base station list; The electronic device accesses a base station other than the list of failed base stations when selecting a base station at the second time.

2. The method according to claim 1, characterized in that The electronic device accesses a base station other than the list of failed base stations when selecting a base station at the second time, specifically comprising: The electronic device determines the priorities corresponding to all detected base stations; The electronic device selects a base station with the highest priority for access from among all the detected base stations except the faulty base station in combination with the faulty base station list.

3. The method according to claim 1 or 2, characterized in that: The electronic device accesses a base station other than the list of failed base stations when selecting a base station at the second time, specifically comprising: The protocol stack of the electronic device receives the list of faulty base stations; the memory of the protocol stack is used to record the list of faulty base stations including less than or equal to 5 to 6 faulty base stations; the protocol stack is also used to record the protocol rules involved in selecting a base station; The electronic device accesses a base station other than the failed base station list when selecting a base station at a second time based on the protocol stack.

4. The method according to any one of claims 1 to 3, characterized in that The method further comprises: The cloud server divides Q base station data into W categories based on the base station ID, and obtains all base station data corresponding to the W base stations, the base station data in each category corresponds to the same base station, and different categories correspond to different base stations; the Q base station data come from at least one electronic device; the Q base station data include base station data corresponding to a second base station; the base station data corresponding to the second base station is collected by the electronic device connected to the second base station at a third time and uploaded to the cloud server; the third time includes the time from when the electronic device connected to the second base station connects to the second base station to when the connection is disconnected; the base station data corresponding to the second base station is used to indicate the relevant information of the second base station and the service quality of the second base station; wherein W is an integer greater than or equal to 1; W is an integer less than or equal to Q; The cloud server determines the comprehensive experience scores corresponding to the W base stations based on all base station data corresponding to the W base stations; The cloud server determines that the base stations corresponding to E base stations among the W base stations whose experience comprehensive scores are less than the preset comprehensive score are faulty base stations, and obtains E faulty base stations; E is an integer greater than or equal to 1 and less than or equal to W; The cloud server determines base station fence data corresponding to E faulty base stations based on the base station location information of the W base stations.

5. The method according to claim 4, characterized in that The method further comprises: The cloud service is based on dividing the E faulty base stations and their corresponding base station fence data into regions to obtain all the faulty base stations and their corresponding base station fence data included in each of the R regions; wherein R is an integer greater than or equal to 1 and less than or equal to E.

6. The method according to claim 5, characterized in that After obtaining data of all faulty base stations and their corresponding base station fences included in the R regions, the method further includes: The cloud server receives a first request; the first request is used to instruct the electronic device to request to send the faulty base station and its corresponding base station fence data included in the first area; the first area is the area where the electronic device is located; The cloud server determines the first region from the R regions; The cloud server sends the T faulty base stations and their corresponding fence base station data included in the first area to the electronic device.

7. The method according to any one of claims 4 to 6, characterized in that: The base station data corresponding to the second base station include: call service data, traffic service data, base station ID, signal distribution and device location information of the electronic device when collecting the base station data corresponding to the second base station; wherein the call service data includes at least one indicator describing the call service quality based on the call with the second base station; the traffic service data includes at least one indicator describing the traffic service quality based on the traffic data used by the second base station; the base station ID is used to uniquely identify the second base station; the base station signal distribution includes the signal strength distribution of the second base station detected by the electronic device within the third time: the signal strength of the second base station is divided into different levels, and the signal strength levels of each signal within the third time and the total duration of their occurrence are recorded as the signal distribution.

8. The method according to claim 7, characterized in that The W base stations include a third base station; the cloud server determines the comprehensive experience scores corresponding to the W base stations based on all base station data corresponding to the W base stations, specifically including: The cloud server determines the traffic experience score corresponding to the third base station based on the Y traffic service data corresponding to the third base station; the Y traffic service data come from the Y base station data corresponding to the third base station; the traffic experience score is used to indicate the traffic service quality of the third base station; the lower the traffic experience score, the worse the traffic service quality of the third base station; The cloud server determines a call experience score corresponding to the third base station based on Y call service data corresponding to the third base station; the Y call service data come from Y base station data corresponding to the third base station; the call experience score is used to indicate the call service quality of the third base station; the lower the call experience score, the worse the call service quality of the third base station; The cloud server determines the signal strength score corresponding to the third base station based on the Y base station signal distributions corresponding to the third base station; the Y signal distributions come from the Y base station data corresponding to the third base station; the signal strength score is used to indicate the situation where the third base station has a weak signal within a period of time: the lower the signal strength score, the greater the possibility that the signal of base station A has a weak signal within a period of time; The cloud server uses the sum of the signal strength score, traffic experience score and call experience score corresponding to the third base station as the comprehensive experience score corresponding to the third base station.

9. The method according to claim 8, characterized in that The cloud server determines the traffic experience score corresponding to the third base station based on the Y pieces of traffic service data corresponding to the third base station, specifically including: The cloud server determines the ratio of the number of high jamming rates corresponding to the third base station to the statistical number of times corresponding to the third base station, and uses the ratio as the traffic experience score corresponding to the third base station; the statistical number is Y; the number of high jamming rates includes the total number of high jamming rates determined by Y groups of traffic usage time and traffic jamming time; the conditions for determining a high jamming rate by a group of traffic usage time and traffic jamming time include: the jamming rate determined by the group of traffic usage time and traffic jamming time is greater than or equal to the preset jamming rate threshold; the jamming rate can be expressed as the ratio of traffic jamming time to traffic usage time; wherein, a group of traffic usage time and traffic jamming time includes the traffic usage time and traffic jamming time included in the same traffic service data among the Y traffic service data.

10. The method according to any one of claims 7 to 9, characterized in that: The cloud server determines the base station fence data corresponding to the E faulty base stations based on the base station location information of the W base stations, specifically including: The cloud server determines the distance between the first faulty base station and other base stations based on the base station location information of the first faulty base station and the base station location information of other base stations, and determines the base stations included in the preset distance of the first faulty base station as the base station fence data corresponding to the first faulty base station.

11. The method according to claim 10, characterized in that Before the cloud server determines the distance between the first faulty base station and other base stations based on the base station location information of the first faulty base station and the base station location information of other base stations, the method further includes: The cloud server determines a central position based on the equipment location information included in all base station data corresponding to the first faulty base station, and uses the central position as the base station location information corresponding to the first faulty base station.

12. A communication system, characterized in that: The communication system includes electronic equipment and cloud services, wherein: The electronic device is used to send a first request to the cloud server, wherein the first request is used to instruct the electronic device to request to send data of faulty base stations and their corresponding base station fences included in a first area; the first area is an area where the electronic device is located; The cloud server is configured to receive the first request; The cloud server is further used to send data of T faulty base stations and their corresponding fence base stations included in the first area to the electronic device; The electronic device is used to receive T faulty base stations included in the first area and their corresponding fence base station data; the faulty base station is used to indicate a base station with poor service quality; the T faulty base stations include a first faulty base station, and the fence base station data corresponding to the first faulty base station includes base stations that are less than a preset distance from the first faulty base station; T is an integer greater than or equal to 1; The electronic device is further used to determine all fence base station data belonging to at least one base station accessed at a first time as target fence base station data; the at least one base station includes a first base station, the fence base station data belonging to the first base station is the first fence base station data, and there is a base station ID corresponding to a base station in the first fence base station data that is the same as the base station ID corresponding to the first base station; The electronic device is further used to use all faulty base stations corresponding to the target fence base station data as a faulty base station list; The electronic device is further used to access a base station outside the list of failed base stations when selecting a base station at the second time.

13. An electronic device, characterized in that: The electronic device includes one or more processors and one or more memories; wherein the one or more memories are coupled to the one or more processors, the one or more memories are used to store computer program code, the computer program code includes computer instructions, and when the one or more processors execute the computer instructions, the one or more processors are used to call the computer instructions so that the electronic device executes the method as described in any one of claims 1-11.

14. A computer storage medium, characterized in that: The storage medium stores a computer program, wherein the computer program includes executable instructions. When the executable instructions are executed by a processor, the processor executes the method according to any one of claims 1 to 11.