Communication method, device, terminal and storage medium

By identifying and recording the network service status of the terminal, circulating through the cell to identify the overlay network, the connection problems caused by uneven network coverage and 2G/3G back-off are solved, reducing costs and improving user experience.

CN116963213BActive Publication Date: 2024-12-10BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311206465.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-09-18
Publication Date
2024-12-10
Estimated Expiration
2043-09-18

AI Technical Summary

Technical Problem

Uneven network coverage in different regions leads to network connection failure, especially in the trend of 2G and 3G network withdrawal, and network connection problems caused by differences in operator withdrawal information and actual coverage.

Method used

By determining the network service status data of the current resident cell of the terminal and the historical resident cell, circulating through the cell to identify the overlay network, record network service information, and communicate according to the target network service, avoiding invalid network handover and improving user experience.

Benefits of technology

It realizes reducing power consumption, time and memory costs under unsupported network services, improving user experience, and ensuring accurate network pattern recognition and communication of terminals in different regions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116963213B_ABST
    Figure CN116963213B_ABST
Patent Text Reader

Abstract

The present disclosure relates to the field of communication technology, and in particular to a communication method, device, terminal and storage medium. The communication method includes: determining the current resident cell of the terminal; determining the target network service in the first area where the current resident cell is located according to the network service record, wherein the network service record stores the network service of the second area where at least one cell is located; and communicating according to the target network service. By adopting this method, the target network service in the first area where the terminal is currently located can be intelligently identified, so that the service can be accurately provided, avoiding the invalid operation of communicating according to other network services that are not supported in the first area.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of communication technology, and in particular to a communication method, device, terminal and storage medium. Background Art

[0002] Due to the different development of different regions, the network layout of operators is often different, which will result in poor coverage of certain network standards in some areas. The network standard may include one or more of different network services such as SA (Standalone), LTE (LongTerm Evolution), 3G (3rd Generation), and 2G (2nd Generation).

[0003] In addition, with the general trend of 2G and 3G network withdrawal, many operators have begun to gradually abandon 2G and 3G networks. Although information on the withdrawal of some operators can be obtained, there is often a certain difference between the withdrawal information and the actual network coverage of the area, resulting in network connection failure. Summary of the invention

[0004] In order to overcome the problems existing in the related art, the present disclosure provides a communication method, device, terminal and storage medium.

[0005] According to a first aspect of an embodiment of the present disclosure, there is provided a communication method, including:

[0006] Determine the current cell where the terminal resides;

[0007] Determine a target network service in the first area where the currently resident cell is located according to a network service record, wherein the network service record stores a network service in the second area where at least one cell is located;

[0008] Communicate according to the target network service.

[0009] Optionally, the method comprises:

[0010] Determining network service information of the terminal according to the cell service status data of the historical stationed cell of the terminal;

[0011] The network service information is used as the network service record.

[0012] Optionally, the historical stationed cells include stationed cells that the terminal traverses in a cycle according to a preset period after completing stationing;

[0013] The determining the network service information of the terminal according to the cell service status data of the historical stationed cell of the terminal comprises:

[0014] Looping through the resident cells of the terminal according to a preset period until a preset network identification timer times out; the preset network identification timer is used to control the identification period of network service identification for the third area where the resident cell is located;

[0015] For each traversed resident cell, obtaining cell service status data corresponding to the resident cell, and determining a covered network of the third area according to the cell service status data;

[0016] Determine the network service corresponding to the resident cell according to the covered network of the third area obtained each time during the identification period;

[0017] The network service corresponding to the resident cell is recorded to obtain the network service information.

[0018] Optionally, the cell service status data includes network service status data of the resident cell and network service status data of at least one neighboring cell, and the network service status data indicates a network standard supported by the corresponding cell;

[0019] The determining the covered network of the third area according to the cell service status data comprises:

[0020] Determine, according to the cell service status data, a first network standard supported by the resident cell and a second network standard supported by each adjacent cell;

[0021] Determine a covered network in the third area according to the first network standard and the second network standard.

[0022] Optionally, the determining the network service corresponding to the resident cell according to the covered network of the third area acquired each time within the identification period includes:

[0023] When it is determined that the covered networks acquired each time within the identification period are the same, the network service corresponding to the covered network is used as the network service of the resident cell.

[0024] Optionally, the acquiring the cell service status data corresponding to the stationed cell includes:

[0025] When the stationed cell is a cell acquired for the first time within the identification period, or the stationed cell is consistent with the cell acquired last time, the cell service status data corresponding to the stationed cell is acquired.

[0026] Optionally, the method further comprises:

[0027] In response to the upload trigger operation, the network service information is sent to the server.

[0028] Optionally, determining the target network service in the first area where the currently camped cell is located according to the network service record includes:

[0029] In a case where the network service corresponding to the current resident cell is stored in the network service record, taking the network service corresponding to the current resident cell stored in the network service record as the target network service;

[0030] In a case where the network service corresponding to the current resident cell is not stored in the network service record, it is determined that the target network service is a full network service.

[0031] Optionally, the method includes: receiving the network service record sent by a server.

[0032] According to a second aspect of an embodiment of the present disclosure, there is provided a communication device, including:

[0033] A first determination module is configured to determine a current resident cell of the terminal;

[0034] A second determination module is configured to determine a target network service in the first area where the currently resident cell is located according to a network service record, wherein the network service record stores a network service in the second area where at least one cell is located;

[0035] The communication module is configured to communicate according to the target network service.

[0036] Optionally, the device further comprises:

[0037] The record creation module is configured to determine the network service information of the terminal according to the cell service status data of the historical resident cell of the terminal; and use the network service information as the network service record.

[0038] Optionally, the historical stationed cells include stationed cells that the terminal traverses in a cycle according to a preset period after completing stationing;

[0039] The record creation module is configured to cyclically traverse the resident cells of the terminal according to a preset period until a preset network identification timer times out; the preset network identification timer is used to control an identification period for network service identification of a third area where the resident cell is located; for each traversal of the resident cell, obtain cell service status data corresponding to the resident cell, and determine the covered network of the third area according to the cell service status data; determine the network service corresponding to the resident cell according to the covered network of the third area obtained each time within the identification period; and record the network service corresponding to the resident cell to obtain the network service information.

[0040] Optionally, the cell service status data includes network service status data of the resident cell and network service status data of at least one neighboring cell, and the network service status data indicates a network standard supported by the corresponding cell;

[0041] The record creation module is configured to determine the first network standard supported by the resident cell and the second network standard supported by each adjacent cell according to the cell service status data; and determine the covered network of the third area according to the first network standard and the second network standard.

[0042] Optionally, the record creation module is configured to, when it is determined that the covered networks acquired each time within the identification period are the same, use the network service corresponding to the covered network as the network service of the resident cell.

[0043] Optionally, the record creation module is configured to obtain cell service status data corresponding to the resident cell when the resident cell is a cell acquired for the first time within the identification period, or the resident cell is consistent with the cell acquired last time.

[0044] Optionally, the device further comprises:

[0045] The upload module is configured to send the network service information to the server in response to an upload trigger operation.

[0046] Optionally, the second determination module is configured to use the network service corresponding to the current resident cell stored in the network service record as the target network service when the network service corresponding to the current resident cell is stored in the network service record; and to determine that the target network service is a full network service when the network service corresponding to the current resident cell is not stored in the network service record.

[0047] Optionally, the device further comprises:

[0048] The first receiving module is configured to receive the network service record sent by the server.

[0049] According to a third aspect of an embodiment of the present disclosure, a terminal is provided, including:

[0050] a first processor;

[0051] a first memory for storing first processor executable instructions;

[0052] The first processor is configured to execute the steps of the method described in the first aspect of the present disclosure.

[0053] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, on which computer program instructions are stored. When the program instructions are executed by a processor, the steps of the communication method provided in the first aspect of the present disclosure are implemented.

[0054] The technical solution provided by the embodiments of the present disclosure may include the following beneficial effects: the target network service of the first area where the terminal's current resident cell is located can be determined based on the network service record, so that the network mode within the first area where the terminal is currently located can be intelligently identified, and then communication can be performed according to the target network service. In this way, services can be provided accurately, and invalid operations such as communicating according to other network services that are not supported in the first area can be avoided, power consumption costs, time costs, and memory costs can be reduced, and user experience can also be improved.

[0055] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0056] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0057] Figure 1 The present invention is a flow chart showing a communication method according to an exemplary embodiment.

[0058] Figure 2 The present invention is a flowchart showing a method for determining network service information of a terminal according to an exemplary embodiment.

[0059] Figure 3 is based on Figure 2 The illustrated embodiment shows a flow chart of network service identification.

[0060] Figure 4 The present invention is a flow chart showing a communication method according to an exemplary embodiment.

[0061] Figure 5 is based on Figure 4 The illustrated embodiment shows a flow chart of another communication method.

[0062] Figure 6 It is a block diagram of a communication device according to an exemplary embodiment.

[0063] Figure 7 is based on Figure 6 The illustrated embodiment shows a block diagram of a communication device.

[0064] Figure 8 is based on Figure 7 The illustrated embodiment shows a block diagram of a communication device.

[0065] Fig. 9 is based on Figure 6 The illustrated embodiment shows a block diagram of a communication device.

[0066] Fig.10 It is a block diagram of a communication device according to an exemplary embodiment.

[0067] Fig.11 is based on Fig.10 The illustrated embodiment shows a block diagram of another communication device.

[0068] Fig.12 It is a block diagram of a terminal according to an exemplary embodiment.

[0069] Fig.13 It is a block diagram of a server according to an exemplary embodiment. DETAILED DESCRIPTION

[0070] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0071] The present disclosure is mainly applied to the wireless communication scenario of the terminal. As mentioned above, the network coverage corresponding to different areas may be different, but for different terminals, the working mode of wireless communication is basically the same. The terminal must first perform network selection before wireless communication. Usually, the terminal first tries to connect to the 5G (5th Generation) network or LTE network. When both the 5G network and the LTE network fail to connect or the network is not good, it will try to connect to the 2G or 3G network through CSFB (Circuit Switched Fallback) to conduct business. However, if the terminal is currently in an area where there is no coverage of 2G and 3G networks, the terminal CSFB to 2G and 3G will obviously not succeed, and it will also increase power consumption, waste time and memory costs, and also reduce user experience.

[0072] In order to solve the above problems, the present disclosure provides a communication method, device, terminal and storage medium. The specific implementation of the present disclosure is described in detail below with reference to the accompanying drawings.

[0073] Figure 1 FIG. 1 is a flow chart of a communication method according to an exemplary embodiment, wherein the method is used in a terminal. Figure 1 As shown, the following steps are included.

[0074] In step S101, the current camping cell of the terminal is determined.

[0075] Typically, the terminal can determine the current resident cell in the following manner: first, perform a cell search to obtain information about surrounding visible cells, where the cell information may include, for example, cell ID, frequency band, signal strength, etc. Then, the terminal can select the cell with the best signal quality for connection based on the searched cell information, and the current resident cell is usually the cell with the best signal quality.

[0076] In step S102, a target network service in a first area where the currently resident cell is located is determined according to a network service record, wherein the network service record stores a network service in a second area where at least one cell is located.

[0077] Among them, the network service may include, for example, CS (Circuit Switched) service, PS (Packet Switch) service and full network service. Therefore, the target network service in the first area where the current resident cell is located may be a network service among CS service, PS service and full network service. Among them, PS service is mainly used for data services and is usually used in 4G and 5G networks. CS service is mainly used for voice calls and is usually used in 2G and 3G networks. As the name implies, full network service can support network services corresponding to any network standard of 2G, 3G, 4G and 5G.

[0078] In addition, the first area and the second area here and the third area mentioned below all refer to the geographical location areas of the corresponding cells. The target network service is the network service corresponding to the covered network in the first area. For example, if the first area is covered with 2G, 3G, 4G and 5G networks, then the target network service is the whole network service. If the first area is only covered with 4G and 5G networks, then the target network service can be a PS service. If the first area is only covered with 2G and 3G networks, then the target network service can be a CS service. This is just an example. The present disclosure does not specifically limit the correspondence between different network standards and the target network service.

[0079] It should be noted that the at least one cell stored in the network service record may include the current resident cell or may not include the current resident cell. Therefore, in a possible implementation method of this step, when the network service corresponding to the current resident cell is stored in the network service record, the network service corresponding to the current resident cell stored in the network service record can be used as the target network service; when the network service corresponding to the current resident cell is not stored in the network service record, the target network service is determined to be the full network service.

[0080] In one implementation, the network service record may be in the form of a table. For example, the network service record may be recorded as Table 1, where Table 1 is used to record the network services of the second area where at least one cell is located. Different cells may belong to the same second area or to different second areas, and the present disclosure does not limit this.

[0081] In step S103, communication is performed according to the target network service.

[0082] For example, if the target network service is a PS service, the terminal will no longer perform CSFB, SRVCC (Single Radio Voice Call Continuity), 2G, 3G query and other CS service-related communication services during the communication process. If the target network service is a CS service, the terminal will abandon LTE, SA related operations during the communication process, including IMS (IP Multimedia Subsystem) registration, etc. In this way, during the terminal communication process, services can be provided accurately and power consumption can be saved.

[0083] By adopting the above method, the target network service of the first area where the terminal's current resident cell is located can be determined according to the network service record, so that the network mode in the first area where the terminal is currently located can be intelligently identified, and then communication can be carried out according to the target network service. In this way, services can be provided accurately, and invalid operations of communicating according to other network services that are not supported in the first area can be avoided, thereby reducing power consumption costs, time costs and memory costs, and improving user experience.

[0084] The network service records in the above embodiments of the present disclosure can be obtained in two ways:

[0085] Method 1: receiving the network service record sent by the server.

[0086] For example, the terminal may send a record download request to the server, and the server sends the network service record to the terminal in response to receiving the record download request.

[0087] The network service record stored on the server may be uploaded to the server by other terminals. The network service record stores network services in the second area where at least one cell is located, and the at least one cell may include the current resident cell or may not include the current resident cell.

[0088] Method 2: Created by the terminal itself.

[0089] If the terminal creates the network service record itself, the network service information of the terminal can be determined based on the cell service status data of the terminal's historical resident cells; and then the network service information is used as the network service record. The historical resident cells may include the resident cells that the terminal loops through according to a preset period after completing the resident cells. The network service information may include the network service corresponding to at least one of the historical resident cells of the terminal.

[0090] For example, Figure 2 is a flowchart showing a method of determining network service information of a terminal according to an exemplary embodiment. Figure 2 As shown, the terminal can create the network service record by following the steps below:

[0091] In step S201, the resident cells of the terminal are traversed in a loop according to a preset period until a preset network identification timer times out; the preset network identification timer is used to control an identification period for performing network service identification on a third area where the resident cell is located.

[0092] After the terminal is powered on and stationed in the network, it will be stationed in the cell with the best signal quality corresponding to the current location, which can be called the stationed cell (or stationed cell). After that, the terminal will move with the user as the user moves. During the movement, the terminal may switch cells, and the cell after switching is the new stationed cell. If the stationed cell of the terminal switches multiple times in a short period of time, it usually means that the stationed cell is not the permanent cell of the terminal. In this scenario, there is no need to record the network service in the area where the stationed cell is located. However, if the stationed cells obtained for multiple consecutive times are the same cell, it can be determined that the stationed cell is the permanent cell of the terminal, and the network service in the area where the permanent cell is located needs to be identified and recorded. Therefore, in the present disclosure, in order to improve the accuracy of the established network service record, the stationed cell of the terminal can be obtained once every period of time, that is, the stationed cell of the terminal can be traversed in a loop according to a preset period, so as to construct the network service record based on the cell service status data of the stationed cell obtained multiple times.

[0093] In addition, while considering the accuracy of the network service record, the power consumption problem must also be considered. For example, in order to improve the accuracy of the constructed network service record, by increasing the number of times the terminal's resident cell is obtained, the power consumption will inevitably increase. Therefore, in order to save power consumption, the duration of looping through the terminal's resident cells can be set. For example, the time length for network service identification of the same cell can be controlled by a timer. Therefore, in the present disclosure, the identification cycle (or time length) of network service identification for the third area where the resident cell is located can be controlled by starting a preset network identification timer. Therefore, in this step, the resident cells of the terminal can be looped through according to the preset cycle until the preset network identification timer times out. For example, the preset cycle can be to traverse the terminal's resident cells every 1 hour, and the preset network identification timer can be 1 day or 2 days.

[0094] That is to say, in the present disclosure, the preset period can be used to control the frequency of acquiring the terminal's resident cell, and the preset network identification timer can be used to control the identification period of network service identification in the third area where the resident cell is located, so as to take into account both power consumption issues and accuracy of identification results.

[0095] In this step, traversing the stationed cells of the terminal includes acquiring cell identification information (which may be recorded as cell_id) of the stationed cells, so as to distinguish whether the stationed cells of the terminal acquired multiple times are the same cell according to the cell identification information.

[0096] In step S202, for each traversed resident cell, cell service status data corresponding to the resident cell is obtained, and the covered network of the third area is determined according to the cell service status data.

[0097] For example, the cell service status data may include frequency, signal quality and other data. Since different network standards correspond to different frequencies, the network standards supported by the resident cell and each adjacent cell of the resident cell can be determined based on the acquired cell frequency. Based on the network standard, the covered network in the third area where the corresponding cell is located can be further determined.

[0098] The cell service status data includes the network service status data of the resident cell and the network service status data of at least one adjacent cell, the adjacent cell refers to the adjacent cell of the resident cell, and the network service status data indicates the network standard supported by the corresponding cell. Thus, in this step, the first network standard supported by the resident cell and the second network standard supported by each adjacent cell can be determined according to the cell service status data; and the covered network of the third area can be determined according to the first network standard and the second network standard.

[0099] Among them, common network standards include GSM (Global System for Mobile Communications), CDMA (Code Division Multiple Access), LTE and 5G.

[0100] Since the resident cell and the adjacent cells of the resident cell are most likely located in the same area, in one possible implementation method, when it is determined that the first network standard supported by the resident cell and the second network standard supported by each adjacent cell are the same, the network standard of the third area where the resident cell is located (that is, the network standard corresponding to the covered network in the third area) can be determined to be the first network standard, and the covered network in the third area can be further determined based on the first network standard.

[0101] For example, assuming that the first network standard supported by the resident cell is LTE, and the second network standard supported by each adjacent cell is also LTE, then it can be determined that the network standard of the third area is LTE, and thus it can be further determined that the covered network in the third area is a 4G network. For another example, the first network standard supported by the resident cell includes GSM, CDMA, LTE and 5G, and the second network standard supported by each adjacent cell also includes GSM, CDMA, LTE and 5G. In this case, it can be determined that 2G, 3G, 4G and 5G networks are all covered in the third area. This is just an example and the present disclosure is not limited to this.

[0102] It should be noted that for each acquired resident cell, when it is determined that the currently acquired resident cell is inconsistent with the resident cell acquired last time (meaning that it is not the same cell), it is necessary to start a new preset network identification timer (that is, the preset network identification timer in the present disclosure corresponds one-to-one to the cell for which network service identification is currently to be performed), and within the time corresponding to the new preset network identification timer, the terminal resident cells are cyclically traversed according to a new preset period (the preset periods corresponding to different cells may be the same or different). When it is determined that the currently acquired resident cell is the same cell as the resident cell acquired last time, or when it is determined that the currently acquired resident cell is a cell acquired for the first time, the cell service status data corresponding to the resident cell can be obtained.

[0103] Therefore, in this step, in the process of obtaining the cell service status data corresponding to the resident cell, the cell service status data corresponding to the resident cell can be obtained when the resident cell is the cell obtained for the first time within the identification period, or the resident cell is consistent with the cell obtained last time.

[0104] In step S203, the network service corresponding to the resident cell is determined according to the covered network of the third area acquired each time during the identification period.

[0105] In this step, when it is determined that the covered networks acquired each time within the identification period are the same, the network service corresponding to the covered network may be used as the network service of the resident cell.

[0106] For example, assuming that the covered networks of the third area obtained each time during the identification period are 2G or 3G networks, and the network service corresponding to the 2G or 3G network is a CS service, then it can be determined that the network service corresponding to the resident cell is a CS service; assuming that the covered networks of the third area obtained each time during the identification period are 4G networks or 5G networks, and the network service corresponding to the 4G network or 5G network is a PS service, then it can be determined that the network service corresponding to the resident cell is a PS service; assuming that the covered networks of the third area obtained each time during the identification period include 2G, 3G, 4G and 5G networks, then it can be determined that the network service corresponding to the resident cell is a full network service. The above examples are for illustrative purposes only and the present disclosure is not limited to this.

[0107] In step S204, the network service corresponding to the resident cell is recorded to obtain the network service information, and the network service information is used as the network service record.

[0108] Figure 3 is based on Figure 2 The embodiment shown is a flow chart of network service identification, such as Figure 3 As shown, the method comprises the following steps:

[0109] In step S301, the terminal is powered on and connected to the network.

[0110] In step S302, the terminal obtains the current resident cell Curr_cell_id.

[0111] In step S303, the terminal determines whether the current resident cell Curr_cell_id is consistent with the ID of the resident cell recorded last time.

[0112] After executing step S303, if the current resident cell Curr_cell_id is consistent with the ID of the resident cell recorded last time, execute step S307; otherwise, execute step S304;

[0113] In step S304, a preset network service identification timer T1=2Days is started.

[0114] In step S305, a timer T2 corresponding to a preset period of time is started, which is 1 Hours.

[0115] In step S306, the terminal obtains the cell service status data of the current resident cell and neighboring cells.

[0116] In step S307, it is determined whether the T1 time has arrived.

[0117] After determining that time T1 has arrived, execute step S310, otherwise, execute step S308.

[0118] In step S308, it is determined whether time T2 has arrived.

[0119] If it is determined that time T2 has arrived, step S302 is executed again, otherwise step S309 is executed.

[0120] In step S309, wait for T2 to time out.

[0121] When it is determined that T2 has timed out, step S302 is executed again.

[0122] In step S310, it is determined whether the covered networks acquired each time within the time T1 are consistent.

[0123] If it is determined that the covered networks obtained each time within the time T1 are consistent, step S311 is executed; otherwise, step S312 is executed.

[0124] In step S311, network service recording is performed.

[0125] In this step, when it is determined that the covered network corresponding to the resident cell has only 2G / 3G network services, the network service corresponding to the resident cell is recorded in Table 1 as a CS service; when it is determined that the covered network corresponding to the resident cell has only 4G / 5G network services (or described as LTE / SA services), the network service corresponding to the resident cell is recorded in Table 1 as a PS service; when it is determined that the covered network corresponding to the resident cell includes 2G / 3G / 4G / 5G network services, the network service corresponding to the resident cell is recorded in Table 1 as a full network service.

[0126] In step S312, the resident cell is abandoned.

[0127] based on Figure 2 or Figure 3With the method shown, the terminal can construct the network service record. Then, in order to facilitate other terminals to obtain the network service record and identify the network services in the areas where other terminals are located based on the network service record, the terminal can upload the network service information to the server according to the user's choice.

[0128] Therefore, in the present disclosure, the communication method may also include sending the network service information to the server in response to the user's upload trigger operation, so that the server can share the network service information with other terminals, so that other terminals can identify the network service mode of their own area based on the network service of the cell area recorded in the network service information.

[0129] Figure 4 is a flow chart of a communication method according to an exemplary embodiment. The method can be applied to a server, such as Figure 4 As shown, the method comprises the following steps:

[0130] In step S401, a network service record is sent to a terminal so that the terminal determines a target network service in a first area where a currently resident cell is located according to the network service record and communicates according to the target network service; the network service record stores a network service in a second area where at least one cell is located.

[0131] In one implementation, the terminal may send a record download request to the server, and the server sends the network service record to the terminal in response to receiving the record download request.

[0132] Among them, the network service record stored on the server can be uploaded to the server by other terminals. The network service record stores the network service of the second area where at least one cell is located, and the at least one cell may include the current resident cell, or may not include the current resident cell. The network service may include, for example, CS service, PS service and full network service, and the target network service in the first area where the current resident cell is located may be a network service among CS service, PS service and full network service. Among them, PS service is mainly used for data services and is usually used in 4G and 5G networks. CS service is mainly used for voice calls and is usually used in 2G and 3G networks. As the name implies, the full network service can support network services corresponding to any network standard of 2G, 3G, 4G and 5G.

[0133] Using the above method, after the server sends the network service record to the terminal, the terminal can determine the target network service in the first area where the terminal's current resident cell is located based on the network service record, thereby intelligently identifying the network mode in the first area where the terminal is currently located, and then communicating according to the target network service. In this way, services can be provided accurately, avoiding invalid operations of communicating according to other network services that are not supported in the first area, reducing power consumption costs, time costs and memory costs, and also improving user experience.

[0134] Figure 5 is based on Figure 4 The embodiment shown is a flowchart of another communication method, such as Figure 5 As shown, the method further comprises the following steps:

[0135] In step S402, network service information sent by the terminal is received.

[0136] The network service information is the network service information of the terminal determined by the terminal according to the cell service status data of the historical network cells of the terminal, and the network service information may include the network service corresponding to at least one cell in the historical network cells of the terminal.

[0137] In step S403, the network service record is updated according to the network service information to obtain a new network service record.

[0138] In a possible implementation, when the server is updating the network service record, for each cell in the network service information, if it is determined that the network service of the cell is not recorded in the network service record, the cell and its corresponding network service recorded in the network service information can be added to the network service record; if it is determined that the network service of the cell is recorded in the network service record, the network service of the cell recorded in the network service record can be updated according to a preset update strategy based on the cell and its corresponding network service recorded in the network service information. The preset update strategy may include, for example, any one of the following strategies:

[0139] Strategy 1: directly store the cell and its corresponding network service recorded in the network service information as the network service corresponding to the cell in the network service record.

[0140] Strategy 2: Count the multiple reports of the network service corresponding to the cell. If the reporting results for a preset number of consecutive times are consistent, replace the network service corresponding to the cell stored in the network service record on the server with the network service corresponding to the cell reported by the terminal; otherwise, ignore the terminal's report.

[0141] By adopting the above method, the network service records stored in the server can be updated, thereby ensuring the accuracy of the network services corresponding to each cell stored in the network service record. In this way, when the terminal identifies the network service in the area where the terminal is located based on the updated network service record, the accuracy of the identification result can be improved.

[0142] Figure 6 is a block diagram of a communication device according to an exemplary embodiment. Figure 6 As shown, the device comprises:

[0143] The first determination module 601 is configured to determine the current camping cell of the terminal;

[0144] The second determination module 602 is configured to determine the target network service in the first area where the currently resident cell is located according to the network service record, wherein the network service record stores the network service in the second area where at least one cell is located;

[0145] The communication module 603 is configured to communicate according to the target network service.

[0146] Optionally, Figure 7 is based on Figure 6 The block diagram of a communication device shown in the embodiment shown in FIG. Figure 7 As shown, the device also includes:

[0147] The record creation module 604 is configured to determine the network service information of the terminal according to the cell service status data of the historical resident cell of the terminal; and use the network service information as the network service record.

[0148] Optionally, the historical resident cells include the resident cells that are traversed in a loop according to a preset period after the terminal completes the resident cell; the record creation module 604 is configured to traverse the resident cells of the terminal in a loop according to a preset period until a preset network identification timer times out; the preset network identification timer is used to control the identification period of network service identification for the third area where the resident cell is located; for each traversal of the resident cell, the cell service status data corresponding to the resident cell is obtained, and the covered network of the third area is determined according to the cell service status data; the network service corresponding to the resident cell is determined according to the covered network of the third area obtained each time within the identification period; the network service corresponding to the resident cell is recorded to obtain the network service information.

[0149] Optionally, the cell service status data includes network service status data of the resident cell and network service status data of at least one neighboring cell, and the network service status data indicates a network standard supported by the corresponding cell;

[0150] The record creation module 604 is configured to determine the first network standard supported by the resident cell and the second network standard supported by each adjacent cell according to the cell service status data; and determine the covered network of the third area according to the first network standard and the second network standard.

[0151] Optionally, the record creation module 604 is configured to, when it is determined that the covered networks acquired each time within the identification period are the same, use the network service corresponding to the covered network as the network service of the resident cell.

[0152] Optionally, the record creation module 604 is configured to obtain cell service status data corresponding to the resident cell when the resident cell is a cell acquired for the first time within the identification period, or the resident cell is consistent with the cell acquired last time.

[0153] Optionally, Figure 8 is based on Figure 7 The block diagram of a communication device shown in the embodiment shown in FIG. Figure 8 As shown, the device also includes:

[0154] The upload module 605 is configured to send the network service information to the server in response to an upload trigger operation.

[0155] Optionally, the second determination module 602 is configured to use the network service corresponding to the current cell stored in the network service record as the target network service when the network service corresponding to the current cell is stored in the network service record; and to determine the target network service as the full network service when the network service corresponding to the current cell is not stored in the network service record.

[0156] Optionally, Fig. 9 is based on Figure 6 The block diagram of a communication device shown in the embodiment shown in FIG. Fig. 9 As shown, the device also includes:

[0157] The first receiving module 606 is configured to receive the network service record sent by the server.

[0158] Fig.10 is a block diagram of a communication device according to an exemplary embodiment. Fig.10 As shown, the device comprises:

[0159] The sending module 701 is configured to send a network service record to the terminal so that the terminal determines the target network service of the first area where the current resident cell is located according to the network service record, and communicates according to the target network service; the network service record stores the network service of the second area where at least one cell is located.

[0160] Optionally, Fig.11 is based on Fig.10 The block diagram of another communication device shown in the embodiment shown in FIG. Fig.11 As shown, the device also includes:

[0161] The second receiving module 702 is configured to receive the network service information sent by the terminal;

[0162] The updating module 703 is configured to update the network service record according to the network service information to obtain a new network service record.

[0163] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0164] The present disclosure also provides a computer-readable storage medium having computer program instructions stored thereon, and the program instructions, when executed by a processor, implement the steps of the communication method provided by the present disclosure.

[0165] Fig.12 800 is a block diagram for a terminal according to an exemplary embodiment. For example, the terminal 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

[0166] Reference Fig.12 The terminal 800 may include one or more of the following components: a first processing component 802 , a first memory 804 , a first power component 806 , a multimedia component 808 , an audio component 810 , a first input / output interface 812 , a sensor component 814 , and a communication component 816 .

[0167] The first processing component 802 generally controls the overall operation of the terminal 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The first processing component 802 may include one or more first processors 820 to execute instructions to complete all or part of the steps of the above-mentioned communication method. In addition, the first processing component 802 may include one or more modules to facilitate the interaction between the first processing component 802 and other components. For example, the first processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the first processing component 802.

[0168] The first memory 804 is configured to store various types of data to support operations at the terminal 800. Examples of such data include instructions for any application or method operating on the terminal 800, contact data, phone book data, messages, pictures, videos, etc. The first memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0169] The first power supply component 806 provides power to various components of the terminal 800. The first power supply component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the terminal 800.

[0170] The multimedia component 808 includes a screen that provides an output interface between the terminal 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the terminal 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0171] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC), and when the terminal 800 is in an operation mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the first memory 804 or sent via the communication component 816. In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.

[0172] The first input / output interface 812 provides an interface between the first processing component 802 and a peripheral interface module, which may be a keyboard, a click wheel, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.

[0173] The sensor assembly 814 includes one or more sensors for providing various aspects of status assessment for the terminal 800. For example, the sensor assembly 814 can detect the open / closed state of the terminal 800, the relative positioning of the components, such as the display and keypad of the terminal 800, and the sensor assembly 814 can also detect the position change of the terminal 800 or a component of the terminal 800, the presence or absence of contact between the user and the terminal 800, the orientation or acceleration / deceleration of the terminal 800 and the temperature change of the terminal 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 814 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor or a temperature sensor.

[0174] The communication component 816 is configured to facilitate wired or wireless communication between the terminal 800 and other devices. The terminal 800 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0175] In an exemplary embodiment, the terminal 800 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the above communication methods.

[0176] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a first memory 804 including instructions, and the instructions can be executed by a first processor 820 of the terminal 800 to complete the above communication method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0177] In another exemplary embodiment, a computer program product is also provided. The computer program product includes a computer program executable by a programmable device, and the computer program has a code portion for executing the above communication method when executed by the programmable device.

[0178] Fig.13 9 is a block diagram of a server according to an exemplary embodiment. For example, the server 900 may be provided as a server. Fig.13 The server 900 includes a second processing component 922, which further includes one or more processors, and a memory resource represented by a second memory 932 for storing instructions, such as applications, that can be executed by the second processing component 922. The application stored in the second memory 932 may include one or more modules, each corresponding to a set of instructions. In addition, the second processing component 922 is configured to execute instructions to perform the above-mentioned communication method.

[0179] The server 900 may further include a second power supply component 926 configured to perform power management of the server 900, a wired or wireless network interface 950 configured to connect the server 900 to the network, and a second input / output interface 958. The server 900 may operate based on an operating system stored in the second memory 932, such as Windows Server 2000. TM , Mac OS X TM , Unix TM , Linux TM , FreeBSD TM or similar.

[0180] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the present disclosure. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered as exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0181] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A communication method, characterized in that: include: Determine the current cell where the terminal resides; Determine, according to the network service record, a target network service in the first area where the currently resident cell is located, wherein the network service record stores a network service in the second area where at least one cell is located; the target network service is a network service corresponding to a covered network in the first area, and the target network service includes a network service selected from a circuit switched CS service, a packet switched PS service, and a full network service; Communicate according to the target network service; The method comprises: Determine the network service information of the terminal according to the cell service status data of the historical resident cells of the terminal; use the network service information as the network service record; wherein the network service information includes the network service corresponding to at least one cell in the historical resident cells.

2. The method according to claim 1, characterized in that The historical stationed cells include the stationed cells that the terminal traverses in a cycle according to a preset period after completing the stationing; The determining the network service information of the terminal according to the cell service status data of the historical stationed cell of the terminal comprises: Looping through the resident cells of the terminal according to a preset period until a preset network identification timer times out; the preset network identification timer is used to control the identification period of network service identification for the third area where the resident cell is located; For each traversed resident cell, obtaining cell service status data corresponding to the resident cell, and determining a covered network of the third area according to the cell service status data; Determine the network service corresponding to the resident cell according to the covered network of the third area obtained each time during the identification period; The network service corresponding to the resident cell is recorded to obtain the network service information.

3. The method according to claim 2, characterized in that The cell service status data includes network service status data of the resident cell and network service status data of at least one neighboring cell, and the network service status data indicates a network standard supported by the corresponding cell; The determining the covered network of the third area according to the cell service status data comprises: Determine, according to the cell service status data, a first network standard supported by the resident cell and a second network standard supported by each adjacent cell; Determine a covered network in the third area according to the first network standard and the second network standard.

4. The method according to claim 2, characterized in that: The determining, according to the covered network of the third area acquired each time during the identification period, the network service corresponding to the stationed cell comprises: When it is determined that the covered networks acquired each time within the identification period are the same, the network service corresponding to the covered network is used as the network service of the resident cell.

5. The method according to claim 2, characterized in that: The acquiring of the cell service status data corresponding to the stationed cell comprises: When the stationed cell is a cell acquired for the first time within the identification period, or the stationed cell is consistent with the cell acquired last time, the cell service status data corresponding to the stationed cell is acquired.

6. The method according to claim 1, characterized in that The method further comprises: In response to the upload trigger operation, the network service information is sent to the server.

7. The method according to any one of claims 1 to 6, characterized in that: The step of determining the target network service in the first area where the currently resident cell is located according to the network service record includes: In a case where the network service corresponding to the current resident cell is stored in the network service record, taking the network service corresponding to the current resident cell stored in the network service record as the target network service; In a case where the network service corresponding to the current resident cell is not stored in the network service record, it is determined that the target network service is a full network service.

8. The method according to claim 1, characterized in that The method comprises: The network service record sent by the server is received.

9. A communication device, characterized in that: include: A first determination module is configured to determine a current resident cell of the terminal; A second determination module is configured to determine a target network service in the first area where the currently resident cell is located according to a network service record, wherein the network service record stores a network service of the second area where at least one cell is located; the target network service is a network service corresponding to a covered network in the first area, and the target network service includes a circuit switched CS service, a packet switched PS service, and a full network service; a communication module, configured to communicate according to the target network service; The device also includes: The record creation module is configured to determine the network service information of the terminal according to the cell service status data of the historical resident cells of the terminal; and use the network service information as the network service record; wherein the network service information includes the network service corresponding to at least one cell in the historical resident cells.

10. A terminal, characterized in that: include: a first processor; a first memory for storing first processor executable instructions; Wherein, the first processor is configured to: execute the steps of the method according to any one of claims 1-8.

11. A computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the program instructions are executed by a processor, the steps of the method described in any one of claims 1 to 8 are implemented.