Communication card protection method and device, storage medium, terminal and vehicle

By saving cell location information to storage when the terminal is at the cell boundary, the problem of locking or damage caused by frequent writing to the patch communication card at the cell boundary is solved, ensuring normal network service of the terminal and reducing maintenance costs.

CN118283528BActive Publication Date: 2026-02-10BYD CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310940199.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-07-27
Publication Date
2026-02-10
Estimated Expiration
2043-07-27

AI Technical Summary

Technical Problem

When a patch-type communication card is located at the boundary of a cell, it frequently writes configuration information from different cells, causing the card to lock or become damaged, affecting network service usage and increasing maintenance costs.

Method used

By determining the relative positional relationship between the terminal's geographical location and the target location range within a preset time period, if the preset positional relationship is met, the cell location information is saved to the storage space instead of the communication card, thus avoiding frequent writes.

Benefits of technology

It effectively prevents communication cards from locking or being damaged, ensures normal network service for terminals, and reduces maintenance costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118283528B_ABST
    Figure CN118283528B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a communication card protection method and device, a storage medium, a terminal and a vehicle, and relates to the technical field of communication. The method comprises: in the case that the number of times of writing cell location information into the communication card of the terminal within a preset time period is greater than a preset number of times, determining whether a relative position relationship between a current geographic position of the terminal and a target position range satisfies a preset position relationship; in the case that the relative position relationship satisfies the preset position relationship, saving current cell location information at which the terminal currently stays to a storage space of the terminal; wherein the position relationship between the current geographic position and the target position range satisfies the preset position relationship, and the terminal network repeatedly switches among multiple cells. The communication card protection method provided by the present disclosure can avoid frequent reading and writing of the communication card, thereby avoiding damage or lock of the communication card due to frequent reading and writing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of communication technology, and more specifically, to a method, apparatus, storage medium, terminal, and vehicle for protecting a communication card. Background Technology

[0002] With the popularization and development of IoT technology, more and more mobile phones and in-vehicle terminals are bringing greater convenience to people's lives. At the same time, more and more terminals are choosing to use patch-type communication cards. On the one hand, patch-type communication cards can prevent the risk of damage and loss caused by human removal of the communication card; on the other hand, when the terminal is subjected to severe vibration, the tight fit of the patch-type communication card also prevents the risk of poor contact or damage to the communication card caused by severe vibration.

[0003] However, while patch-type communication cards offer convenience, they also degrade the user experience. For example, when a terminal is located at the boundary of two cell networks, it frequently writes configuration information from different cells to the patch-type communication card, causing it to lock up and become unable to read or write information, or even damage the card. In this situation, the terminal cannot recognize a valid patch-type communication card, preventing the user from using network services normally. Summary of the Invention

[0004] The purpose of this disclosure is to provide a method, apparatus, storage medium, terminal, and vehicle for protecting communication cards, in order to solve the aforementioned technical problems.

[0005] According to a first aspect of the present disclosure, a method for protecting a communication card is provided, comprising:

[0006] If the number of times cell location information is written to the terminal's communication card within a preset time period exceeds a preset number, determine whether the relative positional relationship between the terminal's current geographical location and the target location range satisfies the preset positional relationship.

[0007] When the relative positional relationship satisfies the preset positional relationship, the current cell location information where the terminal is currently stationed is saved to the terminal's storage space; wherein, when the positional relationship between the current geographical location and the target location range satisfies the preset positional relationship, the terminal network repeatedly switches between multiple cells.

[0008] Optionally, if the number of times cell location information is written to the terminal's communication card within a preset time period exceeds a preset number, determining whether the relative positional relationship between the terminal's current geographical location and the target location range satisfies a preset positional relationship includes:

[0009] If the number of times the cell location information is written to the communication card within a preset time period is greater than the preset number, it is determined whether there is target cell location information in the database that is consistent with the current cell location information.

[0010] If the target cell location information is available in the database, obtain the current geographical location;

[0011] Determine whether the relative positional relationship between the current geographical location and the target location range satisfies the preset positional relationship.

[0012] Optionally, if the number of times the cell location information is written to the communication card within a preset time period is greater than the preset number, determining whether there is target cell location information in the database that is consistent with the current cell location information includes:

[0013] If the number of times the cell location information is written to the communication card within a preset time period is greater than the preset number, determine whether the number of groups of historical cell location information and historical geographical locations in the database reaches a preset number.

[0014] If the number of groups reaches the preset number, determine whether there is target cell location information in the database that is consistent with the current cell location information.

[0015] Optionally, the method further includes:

[0016] If the number of historical cell location information and historical geographic location groups in the database is less than a preset number, the obtained geographic location of the terminal and the cell location information corresponding to the geographic location will be stored in the database.

[0017] Optionally, the method further includes:

[0018] Extract multiple distinct historical geographic locations from the database;

[0019] The target location range is obtained based on the multiple different historical geographical locations.

[0020] Optionally, the relative positional relationship satisfying the preset positional relationship includes: the current geographical location is within the target location range, or the distance between the current geographical location and the target location range is less than a preset distance.

[0021] Optionally, the method further includes:

[0022] When the terminal is powered off, the current cell location information in the storage space is stored in the communication card.

[0023] Optionally, the method further includes:

[0024] If the database contains target cell location information and the relative positional relationship satisfies the preset positional relationship, the current cell location information is read from the storage space in response to the terminal's instruction to read the current cell location information.

[0025] Optionally, the method further includes:

[0026] If the target cell location information is not available in the database or the relative location relationship does not satisfy the preset location relationship, the current cell location information is read from the communication card in response to the terminal's instruction to read the current cell location information.

[0027] According to a second aspect of the present disclosure, a protection device for a communication card is provided, comprising:

[0028] The judgment module is configured to determine whether the relative positional relationship between the current geographical location of the terminal and the target location range satisfies a preset positional relationship if the number of times cell location information is written to the terminal's communication card within a preset time period is greater than a preset number; wherein, when the positional relationship between the current geographical location and the target location range satisfies the preset positional relationship, the terminal network repeatedly switches between multiple cells;

[0029] The first storage module is configured to save the current cell location information where the terminal is currently stationed to the terminal's storage space when the relative position relationship satisfies the preset position relationship.

[0030] According to a third aspect of the present disclosure, a computer-readable storage medium is provided that stores computer program instructions thereon, which, when executed by a processor, implement the steps of the communication card protection method provided in the first aspect of the present disclosure.

[0031] According to a fourth aspect of the present disclosure, a terminal is provided, comprising:

[0032] processor;

[0033] Memory used to store processor-executable instructions;

[0034] The processor is configured as follows:

[0035] The steps of performing the communication card protection method provided in the first aspect of the embodiments of this disclosure.

[0036] According to a fifth aspect of the present disclosure, a vehicle is provided, including a terminal provided in the fourth aspect of the present disclosure.

[0037] Using the above technical solution, if the number of times cell location information is written to the terminal's communication card within a preset time period exceeds a preset number, and the relative positional relationship between the terminal's current geographical location and the target location range satisfies a preset positional relationship, it can be determined that the terminal is currently located within the boundary area of ​​multiple cells. In this case, to avoid the terminal frequently writing cell location information from multiple cells to the communication card, the cell location information can be written to memory, thus avoiding frequent read / write operations on the communication card. Since the communication card is not frequently read / written, it will not be locked or damaged. The terminal can use network services through a normal communication card, improving the user experience. Furthermore, it eliminates the need for manual disassembly and resoldering of the communication card, saving costs.

[0038] Other features and advantages of this disclosure will be described in detail in the following detailed description section. Attached Figure Description

[0039] The accompanying drawings are provided to further illustrate the present disclosure and form part of the specification. They are used together with the following detailed description to explain the present disclosure, but do not constitute a limitation thereof. In the drawings:

[0040] Figure 1 This is a flowchart illustrating the steps of a method for protecting a communication card according to an exemplary embodiment;

[0041] Figure 2 This is a logical schematic diagram illustrating a method for protecting a communication card according to an exemplary embodiment;

[0042] Figure 3 This is a logical schematic diagram illustrating a method for protecting a communication card according to an exemplary embodiment;

[0043] Figure 4 This is a schematic diagram illustrating the boundary area of ​​multiple cells according to an exemplary embodiment;

[0044] Figure 5 This is a structural block diagram illustrating a protection device for a communication card according to an exemplary embodiment;

[0045] Figure 6 This is a structural block diagram of a terminal according to an exemplary embodiment;

[0046] Figure 7 This is a structural block diagram of a vehicle according to an exemplary embodiment. Detailed Implementation

[0047] The specific embodiments of this disclosure will be described in detail below with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are for illustration and explanation only and are not intended to limit this disclosure.

[0048] In related technologies, when a terminal is located at the boundary of two cells, the network frequently sends cell configuration information and cell reselection information to the terminal. The cell configuration information is the cell configuration information of multiple cells configured by the network, and the cell reselection information is the signal strength threshold configured by the network for the terminal to switch cells. The terminal frequently writes the cell configuration information of multiple different cells that meet the signal strength threshold into the patch communication card, causing the terminal network to switch back and forth between different cells.

[0049] However, when the terminal frequently writes configuration information from different cells to the patch-type communication card, it can cause the patch-type communication card to lock up, making it impossible to read or write information to it, and even damaging the patch-type communication card. In this situation, on the one hand, the terminal cannot recognize a valid patch-type communication card, thus preventing users from using network services normally and reducing user experience; on the other hand, if the patch-type communication card needs to be used normally, it needs to be manually disassembled and a new communication card re-soldered before the terminal can use a normal communication card to obtain network services, which is also costly.

[0050] Based on this Figure 1 A flowchart illustrating the steps of a communication card protection method according to an embodiment of this disclosure is shown. The communication card protection method includes the following steps:

[0051] In step S101, if the number of times cell location information is written to the terminal's communication card within a preset time period is greater than a preset number, it is determined whether the relative positional relationship between the terminal's current geographical location and the target location range satisfies the preset positional relationship.

[0052] When a terminal communicates, it needs to write the location information of surrounding cells into its communication card in order to obtain network services. A cell, also known as a cellular cell, is an area covered by one or part of a base station in a cellular mobile communication system. Within this area, the terminal can communicate with the base station via a wireless channel. When communicating with the base station, the terminal can select the cell with better signal quality from multiple cells to communicate with the base station and thus obtain network services through the base station.

[0053] If the number of times the terminal writes cell location information to the communication card within a preset time period exceeds a preset number, it indicates that there is a problem with the terminal's processor causing the terminal to frequently write cell location information to the communication card, or that the terminal is located in the boundary area of ​​different cells, causing the terminal to frequently write cell location information to the communication card. In order to further determine whether the problem is with the terminal's processor or the terminal is located in the boundary area of ​​cells, it is possible to determine whether the relative positional relationship between the terminal's current geographical location and the target location range meets the preset positional relationship. By determining whether the relative positional relationship meets the preset positional relationship, it is possible to determine whether the terminal is located in the boundary area of ​​multiple cells or whether there is a problem with the terminal's processor.

[0054] The preset duration can be any value between 8760 hours and 13128 hours, and the preset number of times can be any number between 80,000 and 90,000. This embodiment of the disclosure does not impose specific restrictions on the preset duration and the preset number of times.

[0055] The current geographic location is the terminal's current location, which can be obtained through the terminal's Global Positioning System (GPS) service. The target location range is the calculated boundary area between different cells, also known as the ping-pong effect range. Within the ping-pong effect range, the terminal network will switch back and forth between different cells, and the terminal will frequently write the cell location information of different cells to the communication card. This behavior of the terminal network switching back and forth between different cells is understood to be called the ping-pong effect.

[0056] In step S102, if the relative positional relationship satisfies the preset positional relationship, the current cell location information where the terminal is currently stationed is saved to the terminal's storage space.

[0057] When the location relationship between the current geographic location and the target location range meets the preset location relationship, it indicates that the terminal is currently located within the boundary area of ​​multiple cells. The terminal network repeatedly switches between multiple cells, and the terminal will frequently write the cell location information of multiple cells into the communication card.

[0058] Relative positional relationship refers to the relationship between the current geographical location of the terminal and the target geographical location range, with the target geographical location range as a reference. For example, the current geographical location may be outside or inside the target geographical location range. A relative positional relationship satisfying a preset positional relationship includes: the current geographical location is within the target geographical location range, or the distance between the current geographical location and the target geographical location range is less than a preset distance.

[0059] For example, when the target location range is a circle, if the terminal is inside the circle, the current cell location information where the terminal is currently stationed is saved to the storage space; or if the terminal is outside the circle and the distance between the terminal and the circle is less than a preset distance, the current cell location information where the terminal is currently stationed can also be saved to the storage space.

[0060] Please see Figure 3 As shown, taking multiple cells including cell A, cell B, and cell C as an example, the intersection of cells A, B, and C forms a boundary area. If the terminal is located within this boundary area, it will frequently switch between cells A, B, and C. Typically, the target location is located within this boundary area. Therefore, if the terminal's current geographical location is within the target location range, it must be within the boundary area. In this case, it can be clearly determined that the terminal will frequently read and write to the communication card, writing the current cell location information to the storage space to avoid writing the current cell location information to the communication card.

[0061] Please see Figure 3 As shown, if the current geographical location D of the terminal is within the target location range (the target location range is as follows): Figure 3 If the current location is outside the circular area formed by geographical locations A to C (as shown), and the distance b between it and the target location area is less than a preset distance, it can still be considered to be within the boundary area. In this case, it can be determined that the terminal will frequently read and write to the communication card, so the current cell location information can be written to the storage space, avoiding writing the current cell location information to the communication card. Therefore, using the distance between the current geographical location and the target location area being less than a preset distance as a condition for satisfying the preset location relationship can further filter out cases where the terminal's current geographical location is outside the target area but within the boundary area, thereby reducing the occurrence of the terminal being within the boundary area but writing the current cell location information to the communication card.

[0062] Storage space includes RAM and memory chips. RAM is an internal memory that directly exchanges data with the terminal's processor. Based on the ability of RAM to be read and written at any time and at a fast speed, this disclosure quickly writes the acquired cell location information into RAM when the relative positional relationship between the terminal's current geographical location and the target location range meets a preset positional relationship. Then, when the cell location information of the next cell is acquired, the next cell location information is written into RAM, thereby avoiding the frequent writing of this cell location information to the communication card.

[0063] Using the above technical solution, if the number of times cell location information is written to the terminal's communication card within a preset time period exceeds a preset number, and the relative positional relationship between the terminal's current geographical location and the target location range satisfies a preset positional relationship, it can be determined that the terminal is currently located within the boundary area of ​​multiple cells. In this case, to avoid the terminal frequently writing cell location information from multiple cells to the communication card, the cell location information can be written to storage space, thus avoiding frequent read / write operations on the communication card. Since the communication card is not frequently read / written, it will not be locked or damaged. The terminal can use network services through a normal communication card, improving the user experience. Furthermore, it eliminates the need for manual disassembly and resoldering of the communication card, saving costs.

[0064] The following will introduce some optional and specific embodiments related to the above steps S101 and S102.

[0065] In some specific embodiments, please refer to Figure 2 As shown, steps S101 and S102 specifically include the following steps:

[0066] In step S201, it is determined whether the number of times cell location information is written to the communication card within a preset time period is greater than the preset number.

[0067] Before determining whether the number of times cell location information is written to the communication card within a preset time period exceeds a preset number, the terminal needs to determine whether a cell location update is necessary. Then, it determines whether the number of times the current cell location information is read from and written to the communication card within the preset time period exceeds the preset number. The terminal can select a new cell from multiple candidate cells based on the network-configured signal strength threshold and the list of candidate cells. Thus, if the terminal receives the network-configured signal strength threshold and the list of candidate cells, it can determine that it needs to switch its current cell to a new cell, i.e., it needs to perform a cell location update.

[0068] The preset number of times can be any number between 50 and 100, or it can be dynamically adjusted. This embodiment does not limit this.

[0069] In step S202, if the number of times cell location information is written to the communication card within a preset time period is greater than a preset number, it is determined whether the number of groups of historical cell location information and historical geographical locations existing in the database reaches a preset number.

[0070] The database is used to store multiple sets of matching historical cell location information and historical geographic locations. For example, when a terminal obtains cell location information, it also obtains its geographic location through the Global Positioning Service (GPS), thus forming a set of matching cell location information and geographic locations. Matching cell location information and geographic locations can be considered as cell location information and geographic locations obtained at the same time.

[0071] If the number of times cell location information is written to the communication card within a preset time period exceeds a preset number, multiple sets of historical cell location information and historical geographical locations obtained by the terminal before the current time can be stored in the terminal's database to avoid the historical cell location information being frequently written to the communication card. If the number of sets of historical cell location information and historical geographical locations stored in the database reaches a preset number, it can be concluded that if the terminal writes the historical cell location information stored in the database into the communication card, it is sufficient to cause the communication card to be damaged or locked.

[0072] By writing cell location information to the communication card more than a preset number of times within a preset time period, the terminal writes multiple historical cell location information to the database. Firstly, this avoids the frequent writing of multiple historical cell location information to the communication card when the terminal's processor malfunctions or the terminal is located in the boundary area of ​​multiple cells. Secondly, it can provide data for determining the target location range in subsequent steps.

[0073] In step S203, if the number of groups reaches the preset number, it is determined whether there is target cell location information in the database that is consistent with the current cell location information.

[0074] If the number of groups reaches the preset number, it means that the database has stored a sufficient number of historical cell location information. If the terminal frequently writes this sufficient number of historical cell location information to the communication card, it may cause damage or lockup of the communication card. At this time, step S203 can be used to determine whether there is target cell location information that is consistent with the current cell location information obtained by the terminal. This will further determine whether the terminal will frequently read and write the communication card.

[0075] In step S204, if the target cell location information is available in the database, the current geographical location is obtained.

[0076] If there is a target cell location that matches the current cell location information among multiple historical cell location information in the database, the current geographical location of the terminal can be obtained.

[0077] In step S205, it is determined whether the relative positional relationship between the current geographical location and the target location range satisfies the preset positional relationship.

[0078] It is understood that steps S203 and S205 can be executed simultaneously or sequentially, and this embodiment does not impose any restrictions on this.

[0079] When determining whether a terminal will frequently write cell location information into the communication card, steps S203 and S205 need to be combined to accurately determine whether the terminal will frequently write cell location information into the communication card. If only step S203 is used, it can only determine the cell where the terminal may frequently switch cells. If only step S205 is used, it can only determine the geographical location where the terminal may frequently switch cells.

[0080] For example, please refer to Figure 3 As shown, taking the historical cell location information containing cell A, cell B, and cell C as an example, if the current cell location information obtained by the terminal is cell A and the terminal is outside the boundary area, the terminal will not frequently switch cells. If the current cell information obtained by the terminal is cell A and the terminal is within the boundary area, the terminal will frequently switch cells. However, when the terminal only determines that the currently obtained cell location information cell A exists in the database, it cannot determine whether the terminal will frequently switch cells because it does not know the current location of the terminal.

[0081] Similarly, when the relative positional relationship between the terminal's current geographical location and the target location range satisfies a preset positional relationship, even if the terminal is located within the boundary area of ​​three cells, if the cell the terminal is currently stationed in is not any one of cell A, cell B, or cell C, but rather... Figure 3 Cell D, as shown, will also not experience frequent cell switching. This demonstrates that even when the terminal determines that the relative positional relationship between the current geographical location and the target location range meets the preset relative positional relationship, it is still impossible to determine whether the terminal will experience frequent cell switching.

[0082] By combining steps S203 and S205, cell A can be selected through step S203, and the current location of the terminal can be determined through step S205. At this time, it can be clearly determined that the terminal will frequently switch cells, that is, the terminal will frequently write cell location information into the communication card.

[0083] In step S206, if the relative positional relationship satisfies the preset positional relationship, the current cell location information where the terminal is currently stationed is saved to the terminal's storage space.

[0084] When the database contains the target cell location information and the relative positional relationship satisfies the preset positional relationship, after saving the current cell location information to the storage space, the current cell location information can be read from the storage space in response to the terminal's instruction to read the current cell location information.

[0085] In step S207, when the terminal is powered off, the current cell location information in the storage space is stored in the communication card.

[0086] When the terminal is powered off, the current cell location information in the storage space needs to be synchronized to the communication card. This way, after the terminal is powered on, the terminal can use the current cell location information in the communication card to use network services, thereby enabling users to use network services immediately after powering on and improving user experience.

[0087] By using the above technical solution, when it is determined that the number of times the terminal writes cell location information to the communication card within a preset time period is greater than a preset number, the number of multiple sets of data stored in the database is greater than a preset number, the current cell location information obtained by the terminal exists in the database, and the relative positional relationship between the current geographical location of the terminal and the target location range satisfies a preset positional relationship, it can be clearly determined that the terminal will frequently write cell location information of different cells to the communication card, thereby preventing the situation from being mistakenly judged as not occurring frequent reading and writing of the communication card, and thus mistakenly writing cell location information to the communication card.

[0088] In some alternative embodiments, please refer to Figure 2 As shown, the specific steps include:

[0089] In step S208, if the number of groups of historical cell location information and historical geographical locations existing in the database is less than a preset number, the geographical location of the terminal is obtained.

[0090] Geographic location refers to the location within the boundary area of ​​different communities.

[0091] If the number of historical cell location information and historical geographic location groups in the database is less than the preset number, it means that if the terminal frequently writes multiple historical cell location information (less than the preset number) into the communication card, it will not cause the communication card to lock or be damaged. In this case, the terminal's geographic location can continue to be obtained.

[0092] It is understood that the historical geographical location referred to in this embodiment is relative to the current geographical location obtained by the terminal in step S204. Before step S204 is executed, the terminal will determine its own historical geographical location at each moment.

[0093] In step S209, the obtained geographical location and the corresponding cell location information are stored in the database.

[0094] After the obtained geographic location and the corresponding community location information are stored in the database, the geographic location is the historical geographic location, and the community location information is the historical community location information.

[0095] For the boundary areas of multiple communities, the coverage area of ​​the boundary area is usually large. The user's handheld terminal may move to different geographical locations within the boundary area. Every time the terminal moves to a new geographical location, multiple sets of historical geographical location and historical community location information will be generated.

[0096] For example, please refer to Figure 3 As shown, when a user is in the boundary area of ​​cell A, cell B, and cell C, if the user moves to geographic location A within the boundary area at the first moment, and the terminal is currently stationary in cell A, geographic location A will be stored as a set of data with cell A in the database; if the terminal is currently stationary in cell B, geographic location A will be stored as a set of data with cell B in the database; if the terminal is currently stationary in cell C, geographic location A will be stored as a set of data with cell C in the database. Similarly, when the user moves to geographic location B within the boundary area at the second moment, geographic location B will also be stored as three sets of data with cell A, cell B, and cell C respectively in the database.

[0097] Before executing step S204, if the number of groups of geographic location and cell location information stored in the database is less than a preset number, the terminal can continue to acquire matching geographic location and cell location information and store it in the database until the number of groups stored in the database reaches the preset number.

[0098] By storing the geographic location and cell location information obtained by the terminal in the database, it is possible to store the obtained cell location information in the database when it is uncertain whether the terminal's processor is malfunctioning or when the terminal frequently obtains cell location information. This avoids writing this cell location information into the communication card, which could cause the communication card to lock up or be damaged.

[0099] In step S210, multiple different historical geographical locations are extracted from the database.

[0100] In step S211, the target location range is obtained based on the multiple different historical geographical locations.

[0101] You can extract at least three historical geographical locations that are not on the same straight line from the database, and obtain the target location range based on these three historical geographical locations that are not on the same straight line.

[0102] Please see Figure 3 As shown, the historical geographical locations that the terminal passes through in the boundary area are geographical location A, geographical location B and geographical location C. Based on the principle that the three points are not on a straight line, a circular target location range can be obtained.

[0103] In some alternative embodiments, please refer to Figure 4 As shown, the specific steps include:

[0104] In step S301, it is determined whether there is target cell location information in the database that is consistent with the current cell location information. If yes, step S302 is executed; otherwise, step S304 is executed.

[0105] If there is no target cell location information in the database that matches the current cell location information, it means that the current cell location information obtained by the terminal is not within the range of cell location information that frequently triggers the terminal to switch cells. In this case, the current cell location information can be read and written directly on the communication card without causing damage to the communication card.

[0106] For example, please refer to Figure 3 As shown, if cells A, B, and C in the database may trigger the terminal to frequently switch cells, while cell D will not, then if the current cell location information obtained by the terminal is cell D, the cell location information of cell D can be written to the communication card, which will not trigger the terminal to frequently switch cells.

[0107] In step S302, if the target cell location information is available in the database, the current geographical location is obtained.

[0108] In step S303, it is determined whether the relative positional relationship between the current geographical location and the target location range satisfies the preset positional relationship. If yes, step S305 is executed; otherwise, step S304 is executed.

[0109] When the relative positional relationship between the current geographical location and the target geographical location range does not meet the preset positional relationship, it means that the current geographical location is not located in the boundary area of ​​multiple cells. In this case, the terminal will not be triggered to frequently switch cells, and step S304 can be directly executed to read and write the current cell location information of the communication card.

[0110] The relative positional relationship between the current geographic location and the target location range does not meet the preset positional relationship, including: the current geographic location is outside the target location range, or the current geographic location is outside the target range and the distance between the two ranges is greater than the preset distance.

[0111] In step S304, the current cell location information where the terminal is currently stationed is read from the communication card.

[0112] In step S305, cell location information is read from the storage space.

[0113] By using the above technical solution, when the database does not have the target cell location information or the relative position relationship does not meet the preset position relationship, the current cell location information where the terminal is currently located can be written into the communication card, which enables the terminal to connect to the current cell through the communication card and thus achieve normal network interaction.

[0114] Figure 5 This is a structural block diagram illustrating a protection device for a communication card according to an exemplary embodiment. Please refer to [link / reference]. Figure 5 As shown, the protection device 500 for the communication card includes: a judgment module 510 and a first storage module 520.

[0115] The judgment module 510 is configured to determine whether the relative positional relationship between the current geographical location of the terminal and the target location range satisfies a preset positional relationship if the number of times cell location information is written to the terminal's communication card within a preset time period is greater than a preset number; wherein, when the positional relationship between the current geographical location and the target location range satisfies the preset positional relationship, the terminal network repeatedly switches between multiple cells;

[0116] The first storage module 520 is configured to save the current cell location information where the terminal is currently stationed to the terminal's storage space when the relative position relationship satisfies the preset position relationship.

[0117] Optionally, the determination module 510 includes:

[0118] The first query submodule is configured to determine whether there is target cell location information in the database that is consistent with the current cell location information if the number of times the cell location information is written to the communication card within a preset time period is greater than the preset number of times.

[0119] The first acquisition submodule is configured to acquire the current geographical location if the target cell location information is available in the database;

[0120] The first positional relationship determination module is configured to determine whether the relative positional relationship between the current geographical location and the target position range satisfies the preset positional relationship.

[0121] Optionally, the first query submodule includes:

[0122] The group quantity determination submodule is configured to determine whether the number of groups of historical cell location information and historical geographical locations in the database reaches a preset number if the number of times the cell location information is written to the communication card within a preset time period is greater than the preset number.

[0123] The second query submodule is configured to determine whether the database contains target cell location information that is consistent with the current cell location information when the number of groups reaches the preset number.

[0124] Optionally, the protection device 500 for the communication card includes:

[0125] The second storage module is configured to store the obtained geographical location of the terminal and the corresponding cell location information in the database when the number of sets of historical cell location information and historical geographical location sets in the database is less than a preset number.

[0126] Optionally, the protection device 500 for the communication card includes:

[0127] The extraction module is configured to extract multiple different historical geographic locations from the database;

[0128] The target location range determination module is configured to obtain the target location range based on the multiple different historical geographical locations.

[0129] Optionally, the relative positional relationship satisfying the preset positional relationship includes: the current geographical location is within the target location range, or the distance between the current geographical location and the target location range is less than a preset distance.

[0130] Optionally, the protection device 500 for the communication card includes:

[0131] The third storage module is configured to store the current cell location information in the storage space into the communication card when the terminal is powered off.

[0132] Optionally, the protection device 500 for the communication card includes:

[0133] The first reading module is configured to read the current cell location information from the storage space in response to the terminal's instruction to read the current cell location information, provided that the target cell location information is in the database and the relative positional relationship satisfies the preset positional relationship.

[0134] Optionally, the protection device 500 for the communication card includes:

[0135] The second reading module is configured to read the current cell location information where the terminal is currently stationed from the communication card when the target cell location information is not available in the database or the relative position relationship does not satisfy the preset position relationship.

[0136] Figure 6 This is a block diagram illustrating a terminal 600 according to an exemplary embodiment. For example, terminal 600 may be a mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, medical device, fitness equipment, personal digital assistant, etc., or it may be an in-vehicle terminal such as a vehicle central control unit.

[0137] Reference Figure 6 The terminal 600 may include one or more of the following components: processing component 602, memory 604, power supply component 606, multimedia component 608, audio component 610, input / output interface 612, sensor component 614, and communication component 616.

[0138] Processing component 602 typically controls the overall operation of terminal 600, such as operations associated with display, telephone calls, data communication, camera operation, and recording. Processing component 602 may include one or more processors 620 to execute instructions to complete all or part of the steps of the communication card protection method described above. Furthermore, processing component 602 may include one or more modules to facilitate interaction between processing component 602 and other components. For example, processing component 602 may include a multimedia module to facilitate interaction between multimedia component 608 and processing component 602.

[0139] Memory 604 is configured to store various types of data to support operation on terminal 600. Examples of this data include instructions for any application or method operating on terminal 600, contact data, phonebook data, messages, pictures, videos, etc. Memory 604 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 storage, flash memory, magnetic disk, or optical disk.

[0140] Power supply component 606 provides power to various components of terminal 600. Power supply component 606 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to terminal 600.

[0141] Multimedia component 608 includes a screen that provides an output interface between the terminal 600 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 touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of the touch or swipe action but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 608 includes a front-facing camera and / or a rear-facing camera. When the terminal 600 is in an operating mode, such as a shooting mode or a video mode, the front-facing camera and / or the rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.

[0142] Audio component 610 is configured to output and / or input audio signals. For example, audio component 610 includes a microphone (MIC) configured to receive external audio signals when terminal 600 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 604 or transmitted via communication component 616. In some embodiments, audio component 610 also includes a speaker for outputting audio signals.

[0143] Input / output interface 612 provides an interface between processing component 602 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, start buttons, and lock buttons.

[0144] Sensor assembly 614 includes one or more sensors for providing state assessments of various aspects of terminal 600. For example, sensor assembly 614 can detect the on / off state of terminal 600, the relative positioning of components such as the display and keypad of terminal 600, changes in the position of terminal 600 or a component of terminal 600, the presence or absence of user contact with terminal 600, the orientation or acceleration / deceleration of terminal 600, and temperature changes of terminal 600. Sensor assembly 614 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 614 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 614 may also include an accelerometer, a gyroscope, a magnetometer, a pressure sensor, or a temperature sensor.

[0145] Communication component 616 is configured to facilitate wired or wireless communication between terminal 600 and other devices. Terminal 600 can access wireless networks based on communication standards, such as WiFi, 2G, or 3G, or combinations thereof. In one exemplary embodiment, communication component 616 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 616 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.

[0146] In an exemplary embodiment, terminal 600 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 protection method of the communication card described above.

[0147] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 604 including instructions, which can be executed by a processor 620 of a terminal 600 to perform the above-described method. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.

[0148] Figure 7This is a block diagram illustrating a vehicle 700 according to an exemplary embodiment. The vehicle includes a terminal, such as an in-vehicle terminal like a central control unit. For example, vehicle 700 can be a hybrid vehicle, a non-hybrid vehicle, an electric vehicle, a fuel cell vehicle, or other types of vehicles. Vehicle 700 can be an autonomous vehicle, a semi-autonomous vehicle, or a non-autonomous vehicle.

[0149] Reference Figure 7 The vehicle 700 may include various subsystems, such as an infotainment system 710, a perception system 720, a decision control system 730, a drive system 740, and a computing platform 750. The vehicle 700 may also include more or fewer subsystems, and each subsystem may include multiple components. Furthermore, each subsystem and each component of the vehicle 700 can be interconnected via wired or wireless means.

[0150] In some embodiments, the infotainment system 710 may include a communication system, an entertainment system, and a navigation system, etc.

[0151] The perception system 720 may include several sensors for sensing information about the environment surrounding the vehicle 700. For example, the perception system 720 may include a global positioning system (which may be GPS, BeiDou, or other positioning systems), an inertial measurement unit (IMU), lidar, millimeter-wave radar, ultrasonic radar, and a camera device.

[0152] The decision control system 730 may include a computing system, a vehicle controller, a steering system, a throttle, and a braking system.

[0153] The drive system 740 may include components that provide powered motion to the vehicle 700. In one embodiment, the drive system 740 may include an engine, an energy source, a transmission system, and wheels. The engine may be one or a combination of internal combustion engines, electric motors, and compressed air engines. The engine is capable of converting energy provided by the energy source into mechanical energy.

[0154] Some or all of the functions of vehicle 700 are controlled by computing platform 750. Computing platform 750 may include at least one processor 751 and memory 752, and processor 751 may execute instructions 753 stored in memory 752.

[0155] Processor 751 can be any conventional processor, such as a commercially available CPU. The processor may also include, for example, a Graphics Processing Unit (GPU), a Field Programmable Gate Array (FPGA), a System on Chip (SOC), an Application Specific Integrated Circuit (ASIC), or a combination thereof.

[0156] The memory 752 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 storage, flash memory, magnetic disk or optical disk.

[0157] In addition to instruction 753, memory 752 can also store data, such as road maps, route information, vehicle position, direction, speed, and other data. The data stored in memory 752 can be used by computing platform 750.

[0158] In this embodiment of the disclosure, the processor 751 may execute instruction 753 to complete all or part of the steps of the above-described method for protecting the communication card.

[0159] The preferred embodiments of this disclosure have been described in detail above with reference to the accompanying drawings. However, this disclosure is not limited to the specific details of the above embodiments. Within the scope of the technical concept of this disclosure, various simple modifications can be made to the technical solutions of this disclosure, and these simple modifications all fall within the protection scope of this disclosure.

[0160] It should also be noted that the various specific technical features described in the above specific embodiments can be combined in any suitable manner without contradiction. In order to avoid unnecessary repetition, this disclosure will not describe the various possible combinations separately.

[0161] Furthermore, various different embodiments of this disclosure can be combined in any way, as long as they do not violate the spirit of this disclosure, they should also be regarded as the content disclosed in this disclosure.

Claims

1. A method for protecting a communication card, characterized in that, include: If the number of times cell location information is written to the terminal's communication card within a preset time period is greater than a preset number, multiple sets of historical cell location information and historical geographical locations obtained by the terminal before the current time are stored in the terminal's database to determine whether the relative positional relationship between the terminal's current geographical location and the target location range satisfies the preset positional relationship. When the relative positional relationship satisfies the preset positional relationship, the current cell location information where the terminal is currently stationed is saved to the terminal's storage space; wherein, when the positional relationship between the current geographical location and the target location range satisfies the preset positional relationship, the terminal network repeatedly switches between multiple cells; When the current cell location information is present in the database of the terminal and the relative location relationship satisfies the preset location relationship, the current cell location information is read from the storage space in response to the terminal's instruction to read the current cell location information.

2. The method according to claim 1, characterized in that, If the number of times cell location information is written to the terminal's communication card within a preset time period exceeds a preset number, determining whether the relative positional relationship between the terminal's current geographical location and the target location range satisfies a preset positional relationship includes: If the number of times the cell location information is written to the communication card within a preset time period is greater than the preset number, it is determined whether there is target cell location information in the database that is consistent with the current cell location information. If the target cell location information is available in the database, obtain the current geographical location; Determine whether the relative positional relationship between the current geographical location and the target location range satisfies the preset positional relationship.

3. The method according to claim 2, characterized in that, If the number of times the cell location information is written to the communication card within a preset time period exceeds the preset number, determining whether there is target cell location information in the database that is consistent with the current cell location information includes: If the number of times the cell location information is written to the communication card within a preset time period is greater than the preset number, determine whether the number of groups of historical cell location information and historical geographical locations in the database reaches a preset number. If the number of groups reaches the preset number, determine whether there is target cell location information in the database that is consistent with the current cell location information.

4. The method according to claim 1, characterized in that, The method further includes: If the number of historical cell location information and historical geographic location groups in the database is less than a preset number, the obtained geographic location of the terminal and the cell location information corresponding to the geographic location will be stored in the database.

5. The method according to claim 4, characterized in that, The method further includes: Extract multiple distinct historical geographic locations from the database; The target location range is obtained based on the multiple different historical geographical locations.

6. The method according to any one of claims 1 to 5, characterized in that, The relative positional relationship satisfying the preset positional relationship includes: the current geographical location is within the target location range, or the distance between the current geographical location and the target location range is less than a preset distance.

7. The method according to claim 1, characterized in that, The method further includes: When the terminal is powered off, the current cell location information in the storage space is stored in the communication card.

8. The method according to claim 2, characterized in that, The method further includes: If the target cell location information is not available in the database or the relative location relationship does not satisfy the preset location relationship, the current cell location information is read from the communication card in response to the terminal's instruction to read the current cell location information.

9. A protection device for a communication card, characterized in that, include: The judgment module is configured to, if the number of times cell location information is written to the terminal's communication card within a preset time period exceeds a preset number, store multiple sets of historical cell location information and historical geographical locations obtained by the terminal before the current time into the terminal's database, and determine whether the relative positional relationship between the terminal's current geographical location and the target geographical location range meets a preset positional relationship; wherein, when the positional relationship between the current geographical location and the target geographical location range meets the preset positional relationship, the terminal network repeatedly switches between multiple cells; The first storage module is configured to save the current cell location information where the terminal is currently stationed to the terminal's storage space when the relative position relationship satisfies the preset position relationship. The first reading module is configured to read the current cell location information from the storage space in response to the terminal's instruction to read the current cell location information, provided that the current cell location information is in the terminal's database and the relative location relationship satisfies the preset location relationship.

10. A computer-readable storage medium having computer program instructions stored thereon, characterized in that, When the program instructions are executed by the processor, they implement the method of any one of claims 1 to 8.

11. A terminal, characterized in that, include: processor; Memory used to store processor-executable instructions; The processor is configured as follows: Perform the method according to any one of claims 1 to 8.

12. A vehicle, characterized in that, Including the terminal as described in claim 11.

Citation Information

Patent Citations

  • Mobile terminal cell handover control method and apparatus

    CN106412985A

  • Cell residence method and device, terminal and storage medium

    CN111787596A