A terminal communication connection method, device, equipment and storage medium
Patent Information
- Application Number
- CN202311122765.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-01
- Publication Date
- 2026-10-20
- Estimated Expiration
- 2043-09-01
AI Technical Summary
[0005]本申请提供一种终端通信连接方法、装置、设备及存储介质,用以解决终端通信成功率不高的问题
[0038]处理器执行存储器存储的计算机执行指令,以实现本申请中的方法。
Smart Images

Figure CN117082592B_ABST
Abstract
Description
Technical Field
[0001] This application relates to communication technology, and more particularly to a terminal communication connection method, apparatus, device, and storage medium. Background Technology
[0002] "Local network" refers to the network's location. A local area network (LAN) generally refers to the cabling system within a building that connects the user terminal to the user's network interface. It consists of the user's local cabling system, which performs communication and control functions, allowing the user terminal to easily and flexibly access the access network. "Communication" refers to business communication, such as how smart water meters can promptly send water usage information to the Internet of Things (IoT).
[0003] Currently, existing solutions focus more on selecting the best cells to ensure successful network access. On the one hand, target cells are selected by comparing the network access duration, RSRP (Reference Signal Receiving Power) parameter, and SINR (Signal to Interference plus Noise Ratio) parameter of cells in the cell list, and then the terminal accesses or locks onto the cell. On the other hand, if the terminal fails to communicate, the module is restarted. However, it is uncertain which target cell the module will connect to after restarting, which may lead to an infinite loop of connecting to a certain carrier frequency number without ever trying to connect to other carrier frequency numbers.
[0004] Therefore, existing technologies suffer from low terminal communication success rates. Summary of the Invention
[0005] This application provides a terminal communication connection method, apparatus, device, and storage medium to solve the problem of low terminal communication success rate.
[0006] In a first aspect, this application provides a terminal communication connection method, applied to a terminal, wherein a first IoT card is installed in the terminal, and the method includes:
[0007] Obtain the first network registration result and the first communication result of the first IoT card and the first target cell. The first target cell is the cell with the most successful communications with the terminal in the historical communication list.
[0008] If the first network registration result indicates that the network registration was unsuccessful, or the first communication result indicates that the communication was unsuccessful, then the second network registration result and the second communication result between the first IoT card and the second target cell are obtained. The second target cell is a cell that is in a non-target state in the historical communication list and meets the number of successful communication attempts with the terminal. The non-target state indicates that there is no connection failure between the second target cell and the terminal.
[0009] If the second network registration result indicates successful network registration, and the second communication result indicates successful communication, then the number of successful communications for the second target cell is updated, and the second target cell is used as the cell for the terminal to conduct the next communication.
[0010] In this embodiment of the application, after obtaining the first network registration result and the first communication result of the first IoT card and the first target cell, the method further includes:
[0011] If the first network registration result indicates successful network registration and the first communication result indicates successful communication, then the number of successful communications for the first target cell is updated, and the first target cell is used as the cell for the terminal to conduct the next communication.
[0012] In this embodiment of the application, if the first network registration result indicates that the network registration was unsuccessful, or the first communication result indicates that the communication was unsuccessful, then the second network registration result and the second communication result between the first IoT card and the second target cell are obtained, including:
[0013] If the first network registration result indicates that the network registration was unsuccessful, or the first communication result indicates that the communication was unsuccessful, then the status of the first target cell in the historical communication list is marked as the target status, which indicates that there is a connection failure between the first target cell and the terminal.
[0014] Identify target cells that are not in the target state in the historical communication list;
[0015] From the target cells that are in a non-target state, determine the second target cell that meets the communication success count requirement, as well as the second network registration result and the second communication result between the first IoT card and the second target cell.
[0016] In this embodiment of the application, a second IoT card is also installed in the terminal, and the communication strength of the second IoT card is less than that of the first IoT card;
[0017] If the first network registration result indicates that network registration was unsuccessful, or the first communication result indicates that communication was unsuccessful, then after marking the status of the first target cell in the historical communication list as the target status, where the target status indicates that there is a connection failure between the first target cell and the terminal, the method further includes:
[0018] If there is no target cell in the non-target state in the historical communication list, the target state of each target cell in the historical communication list is initialized to obtain the initialized historical communication list. The target cell in the initialized historical communication list is in the initialized state, and the initialized state is in the non-target state.
[0019] The control terminal switches the second IoT card to establish a communication connection with the target cell in the initial historical communication list.
[0020] In this embodiment of the application, the control terminal switches the second IoT card to establish a communication connection with the target cell in the initial historical communication list, including:
[0021] Obtain the fourth network registration result and the fourth communication result of the second IoT card and the fourth target cell. The fourth target cell is the cell with the most successful communications with the terminal in the historical communication list.
[0022] If the fourth network registration result indicates that the network registration was unsuccessful, or the fourth communication result indicates that the communication was unsuccessful, then the fifth network registration result and the fifth communication result between the second IoT card and the fifth target cell are obtained. The fifth target cell is different from the fourth target cell. The fifth target cell is a cell that is not in the target state in the historical communication list and meets the number of successful communication attempts with the terminal.
[0023] If the fifth network entry result indicates successful network entry and the fifth communication result indicates successful communication, then the number of successful communications for the fifth target cell will be updated, and the fifth target cell will be used as the cell for the terminal to conduct the next communication.
[0024] In this embodiment of the application, if the first network registration result indicates that the network registration was unsuccessful, or the first communication result indicates that the communication was unsuccessful, then the second network registration result and the second communication result between the first IoT card and the second target cell are obtained, including:
[0025] If the first network registration result indicates that the network registration was unsuccessful, or the first communication result indicates that the communication was unsuccessful, then a second initial target cell is obtained. The second initial target cell is a cell in the historical communication list that meets the requirement of the number of successful communications with the terminal.
[0026] Obtain the received signal power and signal-to-interference-plus-noise ratio of each second initial target cell;
[0027] Based on the received signal power and signal-to-interference-plus-noise ratio (SINR), determine the second target cell in the second initial target cell that meets the requirements for received signal power and SINR.
[0028] Based on the second target cell, the second network registration result and the second communication result between the first IoT card and the second target cell are obtained.
[0029] In this embodiment of the application, after obtaining the second network registration result and the second communication result between the first IoT card and the second target cell if the first network registration result indicates that the network registration was unsuccessful, or the first communication result indicates that the communication was unsuccessful, the method further includes:
[0030] If the second network registration result indicates that the network registration was unsuccessful, or the second communication result indicates that the communication was unsuccessful, then the third network registration result and the third communication result between the first IoT card and the third target cell are obtained. The third target cell is different from the first target cell and the second target cell. The third target cell is a cell in the historical communication list that meets the requirement of the number of successful communications with the terminal.
[0031] If the third network registration result indicates that the network registration was unsuccessful, or the third communication result indicates that the communication was unsuccessful, then obtain other network registration results and other communication results of other cells in the historical communication list that meet the communication success count requirements of the first IoT card, until other network registration results and other communication results are obtained, then update the communication success count of other target cells, and use other target cells as cells for the next communication of the terminal.
[0032] Secondly, this application provides a terminal communication connection device, comprising:
[0033] The first acquisition module is used to acquire the first network registration result and the first communication result of the first IoT card and the first target cell. The first target cell is the cell with the most successful communications with the terminal in the historical communication list.
[0034] The second acquisition module is used to acquire the second network registration result and the second communication result between the first IoT card and the second target cell if the first network registration result indicates that the network registration was unsuccessful or the first communication result indicates that the communication was unsuccessful. The second target cell is different from the first target cell. The second target cell is a cell that is in a non-target state in the historical communication list and meets the number of successful communication attempts with the terminal. The non-target state indicates that there is no connection failure between the second target cell and the terminal.
[0035] The update module is used to update the number of successful communications for the second target cell if the second network registration result indicates successful network registration and the second communication result indicates successful communication, and to designate the second target cell as the cell for the terminal to conduct the next communication.
[0036] Thirdly, this application provides an electronic device, including: a processor, and a memory communicatively connected to the processor;
[0037] The memory stores instructions that the computer executes;
[0038] The processor executes computer execution instructions stored in memory to implement the method in this application.
[0039] Fourthly, this application provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the method of this application.
[0040] This application provides a terminal communication connection method, apparatus, device, and storage medium. It acquires a first network registration result and a first communication result between a first IoT card and a first target cell. The first target cell is the cell with the most successful communication counts with the terminal in the historical communication list. If the first network registration result indicates unsuccessful network registration, or the first communication result indicates unsuccessful communication, then it acquires a second network registration result and a second communication result between the first IoT card and a second target cell. The second target cell is a cell in a non-target state in the historical communication list that meets the number of successful communication counts with the terminal. The non-target state indicates that there is no connection failure between the second target cell and the terminal. If the second network registration result indicates successful network registration, and the second communication result indicates successful communication, then the number of successful communication counts for the second target cell is updated, and the second target cell is selected as the cell for the terminal's next communication. Priority is given to the cell with the most successful network registration and communication counts. If the cell fails to register or communicate, then among the remaining cells not marked as having failed communication or network registration, the cell with the most successful communication counts is selected to ensure successful network registration and communication. By prioritizing the cell with the most successful communication attempts, the technical effect of improving the terminal's communication success rate can be achieved by ensuring successful communication in that cell. Attached Figure Description
[0041] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0042] Figure 1 A flowchart illustrating a terminal communication connection method provided in an embodiment of this application;
[0043] Figure 2 A flowchart illustrating another terminal communication connection method provided in an embodiment of this application;
[0044] Figure 3 This is a schematic diagram of the structure of the terminal communication connection device provided in the embodiments of this application;
[0045] Figure 4 This is a schematic diagram of the electronic device structure provided in an embodiment of this application.
[0046] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concepts of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation
[0047] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.
[0048] In existing technologies, the focus is on selecting the best cell to ensure the success rate of network registration. However, this often results in situations where the terminal successfully registers the network but fails to communicate with the IoT platform. In other words, the cell selected by the terminal meets the conditions for network registration, but may not meet the conditions for business communication, which leads to problems with business communication methods, devices, equipment, and storage media.
[0049] This application provides a terminal communication connection method, apparatus, device, and storage medium. It acquires a first network registration result and a first communication result between a first IoT card and a first target cell. The first target cell is the cell with the most successful communication counts with the terminal in the historical communication list. If the first network registration result indicates unsuccessful network registration, or the first communication result indicates unsuccessful communication, then it acquires a second network registration result and a second communication result between the first IoT card and a second target cell. The second target cell is a cell in a non-target state in the historical communication list that meets the number of successful communication counts with the terminal. The non-target state indicates that there is no connection failure between the second target cell and the terminal. If the second network registration result indicates successful network registration, and the second communication result indicates successful communication, then the number of successful communication counts for the second target cell is updated, and the second target cell is selected as the cell for the terminal's next communication. Priority is given to the cell with the most successful network registration and communication counts. If the cell fails to register or communicate, then among the remaining cells not marked as having failed communication or network registration, the cell with the most successful communication counts is selected to ensure successful network registration and communication. By prioritizing the cell with the most successful communication attempts, the technical effect of improving the terminal's communication success rate can be achieved by ensuring successful communication in that cell.
[0050] The execution subject of the terminal communication connection method provided in this application embodiment can be a terminal. The terminal can be any dual-SIM single-standby terminal. This embodiment does not impose any particular restriction on the implementation method of the execution subject, as long as the execution subject can obtain the first network registration result and the first communication result of the first IoT card and the first target cell, where the first target cell is the cell with the most successful communication counts with the terminal in the historical communication list; if the first network registration result indicates unsuccessful network registration, or the first communication result indicates unsuccessful communication, then the second network registration result and the second communication result of the first IoT card and the second target cell are obtained, where the second target cell is a cell in a non-target state in the historical communication list that meets the number of successful communication counts with the terminal, and the non-target state indicates that there is no connection failure between the second target cell and the terminal; if the second network registration result indicates successful network registration, and the second communication result indicates successful communication, then the number of successful communication counts for the second target cell is updated, and the second target cell is used as the cell for the terminal's next communication.
[0051] In this context, "cell" can refer to a cellular cell. In a cellular mobile communication system, a cell can refer to the area covered by a base station or a portion of a base station (fan antenna), within which a mobile station can reliably communicate with the base station via a wireless channel.
[0052] The term "local access network" generally refers to the cabling system within a building that connects the user terminal to the user's network interface. It consists of the user's local cabling system, which performs communication and control functions, allowing the user terminal to easily and flexibly access the access network.
[0053] Figure 1 This is a flowchart illustrating a terminal communication connection method provided in an embodiment of this application. Figure 1 As shown, the execution subject of this method can be a terminal, which can refer to any dual-SIM single-standby terminal. This embodiment does not impose any special restrictions here. Figure 1 As shown, the method includes:
[0054] S101. Obtain the first network registration result and the first communication result of the first IoT card and the first target cell. The first target cell is the cell with the most successful communications with the terminal in the historical communication list.
[0055] Among them, the terminal is a dual-SIM single-standby terminal, meaning that only one IoT SIM card can be used at any given time; the terminal connects to the IoT platform and is mainly used in cellular communication services; the terminal is designed for long-term fixed use in a certain scenario, and can be a smart water meter, a smart door lock, or a smart gas meter.
[0056] An IoT SIM card is a card provided by mobile operators to IoT service providers for smart terminal devices to connect to the internet. Visually, an IoT SIM card is indistinguishable from a regular mobile phone SIM card. Functionally, both can enable wireless internet access and send / receive SMS messages. However, IoT SIM cards cannot make voice calls.
[0057] When the terminal is started, the IoT card will default to connecting to the cell where the terminal successfully registered and communicated last time it was started, which is the first target cell. The first target cell is the cell with the most successful communication between the last started terminal and the current started terminal. The terminal will default to registering and communicating with the first target cell this time, which can improve the speed of connecting to the successful cell.
[0058] The first network registration result refers to the result of the device registering with the first target cell through the first IoT card, that is, whether the terminal has successfully connected with the area corresponding to the base station. The first network registration result can indicate successful network registration or unsuccessful network registration. In some embodiments, the network registration result can be obtained through AP commands. If the returned result is 1, the network registration is successful. If the returned result is 0, the network registration fails.
[0059] Communication refers to the business communication of the terminal. If the terminal is a smart door lock, communication refers to the timely transmission of relevant time and location information of the user's unlocking and locking operations to the Internet of Things (IoT) platform. If the terminal is a smart gas meter, communication refers to the timely transmission of gas usage information to the IoT platform.
[0060] The first communication result refers to the result of the terminal's business communication after registering with the first target cell through the first IoT card, that is, whether the terminal's business can operate normally. For example, the condition for successful communication can be that a reply to the other end is required within 2 seconds. If a reply to the other end is not required within 2 seconds, it will be judged as a communication timeout, that is, communication failure. The first communication result can indicate that the communication is successful or unsuccessful.
[0061] It should be noted that when the first network registration result is successful, the first communication result can be either successful or unsuccessful; when the first communication result is successful, the first network registration result must be successful.
[0062] In this embodiment of the application, after obtaining the first network registration result and the first communication result of the first IoT card and the first target cell, the method further includes:
[0063] If the first network registration result indicates successful network registration and the first communication result indicates successful communication, then the number of successful communications for the first target cell is updated, and the first target cell is used as the cell for the terminal to conduct the next communication.
[0064] Among them, the number of successful communication counts refers to the number of times the terminal successfully communicates with the cell through the IoT card. The number of successful communication counts is stored in the terminal's flash (Flash EEPROM Memory).
[0065] When cell communication is successful, the communication success count will be updated, which means that the communication success count for that cell will be incremented by one, that is, the communication success count for the corresponding cell stored in the terminal flash memory will be incremented by one.
[0066] The cell for the next communication refers to the cell that will be given the highest priority for network registration and service communication when the terminal connects to the cell via the IoT card the next time it starts up.
[0067] S102. If the first network registration result indicates that the network registration was unsuccessful, or the first communication result indicates that the communication was unsuccessful, then obtain the second network registration result and the second communication result between the first IoT card and the second target cell. The second target cell is different from the first target cell. The second target cell is a cell that is in a non-target state in the historical communication list and meets the number of successful communication attempts with the terminal. The non-target state indicates that there is no connection failure between the second target cell and the terminal.
[0068] When the first network registration result indicates that the network registration was unsuccessful, or the first communication result indicates that the communication was unsuccessful, it can indicate that the connection to the first target cell cannot be established or that service communication cannot be performed; therefore, it is necessary to reselect a cell for connection.
[0069] The second registration result refers to the result of the terminal registering with the second target cell through the first IoT card. The second registration result can indicate successful registration or unsuccessful registration.
[0070] The second communication result refers to the result of the terminal communicating with the second target cell after registering with the first IoT card. The second communication result can indicate successful communication or unsuccessful communication.
[0071] The target state can be a failure to connect the cell to the terminal. The failure situations include: unsuccessful network registration or unsuccessful communication. The non-target state indicates that there are no communication failures or network registration failures in the cell's history.
[0072] The cell that meets the requirement of the number of successful communications with the terminal is the cell that is in a non-target state in the historical communication list and has the highest number of successful on-network communications.
[0073] In this embodiment of the application, if the first network registration result indicates that the network registration was unsuccessful, or the first communication result indicates that the communication was unsuccessful, then obtaining the second network registration result and the second communication result between the first IoT card and the second target cell includes:
[0074] If the first network registration result indicates that the network registration was unsuccessful, or the first communication result indicates that the communication was unsuccessful, then the status of the first target cell in the historical communication list is marked as the target status, which indicates that the first target cell and the terminal have a connection failure.
[0075] Identify target cells that are not in the target state in the historical communication list;
[0076] From the target cells that are in a non-target state, determine the second target cell that meets the communication success count requirement, as well as the second network registration result and the second communication result between the first IoT card and the second target cell.
[0077] Among them, the target cells in the historical communication list that are not in the target state can be cells that have never had network registration failures or communication failures in the past, including cells that have never had network registration and communication, and cells that have had successful network registration and communication in the past.
[0078] In this embodiment of the application, a second IoT card is also installed in the terminal, and the communication strength of the second IoT card is less than that of the first IoT card.
[0079] If the first network registration result indicates that network registration was unsuccessful, or the first communication result indicates that communication was unsuccessful, then after marking the status of the first target cell in the historical communication list as the target status, where the target status indicates that there is a connection failure between the first target cell and the terminal, the method further includes:
[0080] If there is no target cell in the non-target state in the historical communication list, the target state of each target cell in the historical communication list is initialized to obtain the initialized historical communication list. The target cell in the initialized historical communication list is in the initialized state, which is in the non-target state.
[0081] The control terminal switches the second IoT card to establish a communication connection with the target cell in the initial historical communication list.
[0082] The first and second IoT SIM cards are from different operators. Only one IoT SIM card can be used at a time. If the first IoT SIM card sets all cells to the target state, it will have no cells to connect to. Furthermore, different operators have different frequency bands, and different frequency bands correspond to different cells. Therefore, using two IoT SIM cards from different operators allows connection to more cells. Also, since the first and second IoT SIM cards are from different operators, they can connect to different cells. Therefore, switching to the second IoT SIM card allows connection to cells that the first IoT SIM card cannot connect to.
[0083] Communication strength includes RSRP and SINR.
[0084] When RSRP > -85 dBm, PSRP is rated as excellent; when RSRP = -85 to -95 dBm, PSRP is rated as good; when RSRP = -95 to -105 dBm, PSRP is rated as average; when RSRP = -105 to -115 dBm, PSRP is rated as poor; and when RSRP < -115 dBm, PSRP is rated as very poor.
[0085] When SINR > 25, the SINR grade is excellent; when SINR is 16-25, the SINR grade is good; when SINR is 11-15, the SINR grade is average; when SINR is 3-10, the SINR grade is poor; when SINR < 3, the SINR grade is very poor.
[0086] In a fixed terminal usage scenario, a signal tester is used to test the RSRP and SINR of multiple IoT cards from different operators. The IoT card with the highest PSRP level from operator A is selected as the first IoT card, and then the IoT card with the second highest PSRP level from operator B is selected as the second IoT card. If there are multiple IoT cards with high PSRP levels from operator A, then the IoT card with the highest SINR level from operator A1 is selected as the first IoT card, and then the IoT card with the second highest SINR level from operator A2 is selected as the second IoT card.
[0087] Initialization processing refers to clearing all cell information of the IoT SIM card and restoring it to the initial state, that is, restoring it to the state when the terminal was first started. Cell information includes the number of successful communications for the cell and the cell's target status flag, which includes communication failure and network registration failure.
[0088] When an IoT SIM card is registering with the network and communicating, it may be affected by signal fluctuations, causing the registration or communication of cell A to fail in one instance, while cell A may succeed in registering and communicating in the next instance. If cell A fails to register or communicate in a certain instance, cell A will be marked as having failed to register or communicate. The terminal will not connect to cell A marked as having failed to register or communicate in the future. Therefore, after all cells in the IoT SIM card are marked as having failed to register or communicate, an initialization process is required to clear the cell information.
[0089] In this embodiment of the application, the control terminal switches the communication connection between the second IoT card and the target cell in the initialized historical communication list, including:
[0090] Obtain the fourth network registration result and the fourth communication result of the second IoT card and the fourth target cell. The fourth target cell is the cell with the most successful communications with the terminal in the historical communication list.
[0091] If the fourth network registration result indicates that the network registration was unsuccessful, or the fourth communication result indicates that the communication was unsuccessful, then the fifth network registration result and the fifth communication result between the second IoT card and the fifth target cell are obtained. The fifth target cell is different from the fourth target cell. The fifth target cell is a cell that is not in the target state in the historical communication list and meets the number of successful communication attempts with the terminal.
[0092] If the fifth network entry result indicates successful network entry and the fifth communication result indicates successful communication, then the number of successful communications for the fifth target cell will be updated, and the fifth target cell will be used as the cell for the terminal to conduct the next communication.
[0093] If SIM 1 has no connectable cells (i.e., all cells are marked with the target status), the terminal switches to SIM 2 and clears all cell information. SIM 2 registers with the network and communicates with the fourth cell, obtaining the fourth registration result and the fourth communication result. If the fourth registration result or the fourth communication result indicates failure, SIM 2 registers with the network and communicates with the fifth cell, which is the cell with the most successful communications in the historical communication list. If multiple fifth cells have the same number of successful communications, the cell with the strongest signal is selected based on the received signal power and signal-to-interference-plus-noise ratio. The fifth registration result and the fifth communication result are obtained. If both the fifth registration result and the fifth communication result indicate success, the number of successful communications for the fifth cell is incremented by one.
[0094] In this embodiment of the application, if the first network registration result indicates that the network registration was unsuccessful, or the first communication result indicates that the communication was unsuccessful, then obtaining the second network registration result and the second communication result between the first IoT card and the second target cell includes:
[0095] If the first network registration result indicates that the network registration was unsuccessful, or the first communication result indicates that the communication was unsuccessful, then a second initial target cell is obtained. The second initial target cell is a cell in the historical communication list that meets the requirement of the number of successful communications with the terminal.
[0096] Obtain the received signal power and signal-to-interference-plus-noise ratio of each second initial target cell;
[0097] Based on the received signal power and signal-to-interference-plus-noise ratio (SINR), determine the second target cell in the second initial target cell that meets the requirements for received signal power and SINR.
[0098] Based on the second target cell, the second network registration result and the second communication result between the first IoT card and the second target cell are obtained.
[0099] The second initial target cell refers to the cell in the historical communication list that has the same number of successful communications and the highest number of successful communications.
[0100] Received power is RSRP, which is the linear average of the power contribution (in watts) of resource particles carrying cell-specific reference signals in a specified measurement frequency band; signal-to-interference-plus-noise ratio (SINR) is the ratio of the strength of the received useful signal to the strength of the received interference signal (noise and interference); signal strength is mainly compared using RSRP and SINR as standards.
[0101] First, select a cell with a high RSRP level in the initial second target cell, and then select a cell with a high SINR level from the high RSRP cells.
[0102] In this embodiment of the application, after obtaining the second network registration result and the second communication result between the first IoT card and the second target cell if the first network registration result indicates that the network registration was unsuccessful, or the first communication result indicates that the communication was unsuccessful, the method further includes:
[0103] If the second network registration result indicates that the network registration was unsuccessful, or the second communication result indicates that the communication was unsuccessful, then the third network registration result and the third communication result between the first IoT card and the third target cell are obtained. The third target cell is different from the first target cell and the second target cell. The third target cell is a cell in the historical communication list that meets the requirement of the number of successful communications with the terminal.
[0104] If the third network registration result indicates that the network registration was unsuccessful, or the third communication result indicates that the communication was unsuccessful, then obtain other network registration results and other communication results of other cells in the historical communication list that meet the communication success count requirements of the first IoT card, until other network registration results and other communication results are obtained, then update the communication success count of other target cells, and use other target cells as cells for the next communication of the terminal.
[0105] Among them, other cells refer to cells other than the first target cell, the second target cell, and the third target cell that have no history of communication failures or network registration failures. The first IoT card will register with each of the other cells in turn until it finds a cell that has no history of communication failures or network registration failures and can successfully register and communicate.
[0106] S103. If the second network registration result indicates successful network registration and the second communication result indicates successful communication, then the number of successful communications for the second target cell is updated, and the second target cell is used as the cell for the terminal to conduct the next communication.
[0107] The terminal communication connection method provided in this application can prioritize selecting the cell with the most successful communication counts from the historical cells where there are no connection failures, thereby ensuring successful cell service communication and improving the terminal communication success rate. If multiple cells have the same number of successful communication counts, the signal-to-interference-plus-noise ratio and signal received power are used as comparison standards to select the cell with the strongest signal. By using the number of successful communication counts as the primary selection condition and signal strength as the secondary selection condition, cells are selected from the cell list to improve the terminal service communication success rate.
[0108] Figure 2 This is a flowchart illustrating another terminal communication connection method provided in an embodiment of this application. Figure 2 As shown, the execution subject of this method can be a terminal, which can refer to any dual-SIM single-standby terminal. This embodiment does not impose any special restrictions here. Figure 2 As shown, the method includes:
[0109] S201. Insert the IoT card with the best signal from the operator into the card slot one of the terminal, and insert the other IoT card from the operator into the card slot two of the terminal.
[0110] The terminal is a dual-SIM single-standby device, and by default uses the IoT SIM card in SIM slot one.
[0111] The IoT card from the operator inserted into the terminal card slot 1 is designated as Card 1, and the IoT card from the operator inserted into the terminal card slot 2 is designated as Card 2. Card 1 and Card 2 are IoT cards from different operators.
[0112] S202. Start the terminal, search the list of surrounding cells on card 1, select cell A for network registration and communication. If cell A successfully registers for the network and successfully communicates, increment the number of successful communications for cell A by one.
[0113] S203. Start the terminal, search the list of surrounding cells, select cell A for network registration and communication. If cell A fails to register or communicate, mark cell A and obtain the cell list.
[0114] This marker indicates that cell A has experienced historical connection failures. These failures can be either network registration failures or communication failures. If cell A experiences a network registration failure, it is marked as a network registration failure; if cell A experiences a communication failure, it is marked as a communication failure.
[0115] If cell A successfully establishes its network, its communication capabilities may or may not be successful; however, if cell A successfully communicates, then its network establishment is guaranteed to be successful.
[0116] S204. After marking cell A, a vote is held and the frequency is locked to the cell determined by the vote. The voting method is as follows: obtain a list of surrounding cells; if all cells in the cell list are marked, switch to SIM 2 and the terminal connects to the cell through SIM 2; if there are unmarked cells in the cell list, obtain cell B with the most successful communication among the unmarked cells; if there are unmarked cells in the cell list and multiple cells with the most successful communication, first select the cell with the highest RSRP level, and then select the cell with the highest SINR level among the cells with the highest RSRP level.
[0117] This application provides another terminal communication connection method for terminals with dual SIM single standby and fixed service usage scenarios. It employs a voting method that prioritizes the number of successful service communications and secondarily considers signal strength. Prioritizing the number of successful service communications, the cell with the highest number of successful communications is selected first to ensure successful service communication in that cell. If no successful service communication occurs or multiple cells have the same number of successful communications, a cell is selected for frequency locking based on signal strength, thereby improving the success rate of service communication in that cell.
[0118] Figure 3 This is a structural example diagram of the terminal communication connection device 30 provided in an embodiment of this application. Figure 3 As shown, the terminal communication connection device 30 includes: a first acquisition module 301, a second acquisition module 302, and an update module 303. Wherein:
[0119] The first acquisition module 301 is used to acquire the first network registration result and the first communication result of the first IoT card and the first target cell. The first target cell is the cell with the most successful communications with the terminal in the historical communication list.
[0120] The second acquisition module 302 is used to acquire the second network registration result and the second communication result between the first IoT card and the second target cell if the first network registration result indicates that the network registration was unsuccessful or the first communication result indicates that the communication was unsuccessful. The second target cell is different from the first target cell. The second target cell is a cell that is in a non-target state in the historical communication list and meets the number of successful communication attempts with the terminal. The non-target state indicates that there is no connection failure between the second target cell and the terminal.
[0121] The update module 303 is used to update the number of successful communications of the second target cell if the second network registration result indicates successful network registration and the second communication result indicates successful communication, and to use the second target cell as the cell for the next communication of the terminal.
[0122] In this embodiment of the application, the first acquisition module 301 can also be specifically used for:
[0123] If the first network registration result indicates successful network registration and the first communication result indicates successful communication, then the number of successful communications for the first target cell is updated, and the first target cell is used as the cell for the terminal to conduct the next communication.
[0124] In this embodiment of the application, the second acquisition module 302 can also be specifically used for:
[0125] If the first network registration result indicates that the network registration was unsuccessful, or the first communication result indicates that the communication was unsuccessful, then the status of the first target cell in the historical communication list is marked as the target status, which indicates that the first target cell and the terminal have a connection failure.
[0126] Identify target cells that are not in the target state in the historical communication list;
[0127] From the target cells that are in a non-target state, determine the second target cell that meets the communication success count requirement, as well as the second network registration result and the second communication result between the first IoT card and the second target cell.
[0128] In this embodiment of the application, the second acquisition module 302 can also be specifically used for:
[0129] If the first network registration result indicates that network registration was unsuccessful, or the first communication result indicates that communication was unsuccessful, then after marking the status of the first target cell in the historical communication list as the target status, where the target status indicates that there is a connection failure between the first target cell and the terminal, the method further includes:
[0130] If there is no target cell in the non-target state in the historical communication list, the target state of each target cell in the historical communication list is initialized to obtain the initialized historical communication list. The target cell in the initialized historical communication list is in the initialized state, which is in the non-target state.
[0131] The control terminal switches the second IoT card to establish a communication connection with the target cell in the initial historical communication list.
[0132] In this embodiment of the application, the second acquisition module 302 can also be specifically used for:
[0133] Obtain the fourth network registration result and the fourth communication result of the second IoT card and the fourth target cell. The fourth target cell is the cell with the most successful communications with the terminal in the historical communication list.
[0134] If the fourth network registration result indicates that the network registration was unsuccessful, or the fourth communication result indicates that the communication was unsuccessful, then the fifth network registration result and the fifth communication result between the second IoT card and the fifth target cell are obtained. The fifth target cell is different from the fourth target cell. The fifth target cell is a cell that is not in the target state in the historical communication list and meets the number of successful communication attempts with the terminal.
[0135] If the fifth network entry result indicates successful network entry and the fifth communication result indicates successful communication, then the number of successful communications for the fifth target cell will be updated, and the fifth target cell will be used as the cell for the terminal to conduct the next communication.
[0136] In this embodiment of the application, the second acquisition module 302 can also be specifically used for:
[0137] If the first network registration result indicates that the network registration was unsuccessful, or the first communication result indicates that the communication was unsuccessful, then a second initial target cell is obtained. The second initial target cell is a cell in the historical communication list that meets the requirement of the number of successful communications with the terminal.
[0138] Obtain the received signal power and signal-to-interference-plus-noise ratio of each second initial target cell;
[0139] Based on the received signal power and signal-to-interference-plus-noise ratio (SINR), determine the second target cell in the second initial target cell that meets the requirements for received signal power and SINR.
[0140] Based on the second target cell, the second network registration result and the second communication result between the first IoT card and the second target cell are obtained.
[0141] In this embodiment of the application, the second acquisition module 302 can also be specifically used for:
[0142] If the second network registration result indicates that the network registration was unsuccessful, or the second communication result indicates that the communication was unsuccessful, then the third network registration result and the third communication result between the first IoT card and the third target cell are obtained. The third target cell is different from the first target cell and the second target cell. The third target cell is a cell in the historical communication list that meets the requirement of the number of successful communications with the terminal.
[0143] If the third network registration result indicates that the network registration was unsuccessful, or the third communication result indicates that the communication was unsuccessful, then obtain other network registration results and other communication results of other cells in the historical communication list that meet the communication success count requirements of the first IoT card, until other network registration results and other communication results are obtained, then update the communication success count of other target cells, and use other target cells as cells for the next communication of the terminal.
[0144] Figure 4 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Figure 4As shown, the electronic device 40 includes:
[0145] The electronic device 40 may include a processor 401 with one or more processing cores, a memory 402 with one or more computer-readable storage media, a communication component 403, and other components. The processor 401, memory 402, and communication component 403 are connected via a bus 404.
[0146] In the specific implementation process, at least one processor 401 executes computer execution instructions stored in memory 402, causing at least one processor 401 to execute the terminal communication connection method described above.
[0147] The specific implementation process of processor 401 can be found in the above method embodiments, and its implementation principle and technical effect are similar. It will not be repeated here.
[0148] In the above Figure 4 In the illustrated embodiments, it should be understood that the processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), etc. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in this invention can be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules within the processor.
[0149] The memory may include random access memory (RAM) and may also include non-volatile memory (NVM), such as at least one disk storage device.
[0150] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of illustration, the buses shown in the accompanying drawings are not limited to a single bus or a single type of bus.
[0151] In some embodiments, a computer program product is also provided, including a computer program or instructions that, when executed by a processor, implement the steps in any of the terminal communication connection methods described above.
[0152] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.
[0153] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be performed by instructions, or by instructions controlling related hardware. These instructions can be stored in a computer-readable storage medium and loaded and executed by a processor.
[0154] Therefore, embodiments of this application provide a computer-readable storage medium storing a plurality of instructions that can be loaded by a processor to execute the steps in any of the terminal communication connection methods provided in embodiments of this application.
[0155] The storage medium may include: read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.
[0156] According to one aspect of this application, a computer program product or computer program is provided, the computer program product or computer program including computer instructions stored in a computer-readable storage medium.
[0157] Since the instructions stored in the storage medium can execute the steps in any of the terminal communication connection methods provided in the embodiments of this application, the beneficial effects that any of the terminal communication connection methods provided in the embodiments of this application can achieve can be realized. For details, please refer to the previous embodiments, which will not be repeated here.
[0158] Other embodiments of this application will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this application are indicated by the following claims.
[0159] It should be understood that this application is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this application is limited only by the appended claims.
Claims
1. A terminal communication connection method, characterized in that, Applied to a terminal, wherein a first IoT card is installed in the terminal, the method includes: Obtain the first network registration result and the first communication result of the first IoT card and the first target cell, wherein the first target cell is the cell with the most successful communications with the terminal in the historical communication list; If the first network registration result indicates that the network registration was unsuccessful, or the first communication result indicates that the communication was unsuccessful, then the second network registration result and the second communication result between the first IoT card and the second target cell are obtained. The second target cell is different from the first target cell. The second target cell is a cell that is in a non-target state in the historical communication list and meets the number of successful communication attempts with the terminal. The non-target state indicates that there is no connection failure between the second target cell and the terminal. If the second network registration result indicates successful network registration and the second communication result indicates successful communication, then the number of successful communications for the second target cell is updated, and the second target cell is used as the cell for the terminal to conduct the next communication. If the first network registration result indicates that network registration was unsuccessful, or the first communication result indicates that communication was unsuccessful, then obtain the second network registration result and the second communication result between the first IoT card and the second target cell, including: If the first network registration result indicates that the network registration was unsuccessful, or the first communication result indicates that the communication was unsuccessful, then the status of the first target cell in the historical communication list is marked as the target status, and the target status indicates that the first target cell and the terminal have a connection failure. Identify the target cell in the historical communication list that is in a non-target state; From the target cells that are in a non-target state, determine a second target cell that meets the communication success count requirement, and the second network registration result and the second communication result between the first IoT card and the second target cell; The terminal is also equipped with a second IoT card, the communication strength of which is less than that of the first IoT card. If the first network registration result indicates that network registration was unsuccessful, or the first communication result indicates that communication was unsuccessful, then after marking the status of the first target cell in the historical communication list as the target status, the method further includes: If there is no target cell in the non-target state in the historical communication list, then the target state of each target cell in the historical communication list is initialized to obtain an initialized historical communication list, wherein the state of the target cell in the initialized historical communication list is the initialized state, and the initialized state is the non-target state. The terminal is controlled to switch the second IoT card to establish a communication connection with the target cell in the initialization history communication list.
2. The method according to claim 1, characterized in that, After obtaining the first network registration result and the first communication result of the first IoT card and the first target cell, the method further includes: If the first network registration result indicates successful network registration and the first communication result indicates successful communication, then the number of successful communications for the first target cell is updated, and the first target cell is used as the cell for the terminal to conduct the next communication.
3. The method according to claim 1, characterized in that, The step of controlling the terminal to switch the second IoT card to establish a communication connection with the target cell in the initialized historical communication list includes: Obtain the fourth network registration result and the fourth communication result of the second IoT card and the fourth target cell, wherein the fourth target cell is the cell with the most successful communications with the terminal in the historical communication list; If the fourth network registration result indicates that network registration was unsuccessful, or the fourth communication result indicates that communication was unsuccessful, then the fifth network registration result and the fifth communication result between the second IoT card and the fifth target cell are obtained. The fifth target cell is different from the fourth target cell. The fifth target cell is a cell that is not in the target state in the historical communication list and meets the number of successful communication attempts with the terminal. If the fifth network registration result indicates that network registration was successful, and the fifth communication result indicates that communication was successful, then the number of successful communication attempts for the fifth target cell is updated, and the fifth target cell is used as the cell for the terminal to conduct the next communication.
4. The method according to claim 1, characterized in that, If the first network registration result indicates that network registration was unsuccessful, or the first communication result indicates that communication was unsuccessful, then obtaining the second network registration result and the second communication result between the first IoT card and the second target cell further includes: If the first network registration result indicates that the network registration was unsuccessful, or the first communication result indicates that the communication was unsuccessful, then a second initial target cell is obtained. The second initial target cell is a cell in the historical communication list that meets the requirement of the number of successful communications with the terminal. Obtain the received signal power and signal-to-interference-plus-noise ratio of each of the second initial target cells; Based on the received signal power and the signal-to-interference-plus-noise ratio (SINR), determine the second target cell in the second initial target cell that meets the requirements for received signal power and SINR. Based on the second target cell, the second network registration result and the second communication result between the first IoT card and the second target cell are obtained.
5. The method according to claim 1, characterized in that, If the first network registration result indicates that network registration was unsuccessful, or the first communication result indicates that communication was unsuccessful, then after obtaining the second network registration result and the second communication result between the first IoT card and the second target cell, the method further includes: If the second network registration result indicates that the network registration was unsuccessful, or the second communication result indicates that the communication was unsuccessful, then the third network registration result and the third communication result between the first IoT card and the third target cell are obtained. The third target cell is different from the first target cell and the second target cell. The third target cell is a cell in the historical communication list that meets the number of successful communication attempts with the terminal. If the third network registration result indicates that the network registration was unsuccessful, or the third communication result indicates that the communication was unsuccessful, then other network registration results and other communication results of other cells in the historical communication list that meet the communication success count requirements of the first IoT card are obtained. After obtaining the other network registration results and other communication results, the communication success count of other target cells is updated, and the other target cells are used as the cells for the terminal to conduct the next communication.
6. A terminal communication connection device, characterized in that, include: The first acquisition module is used to acquire the first network registration result and the first communication result of the first IoT card and the first target cell, wherein the first target cell is the cell with the most successful communications with the terminal in the historical communication list. The second acquisition module is used to acquire the second network registration result and the second communication result between the first IoT card and the second target cell if the first network registration result indicates that the network registration was unsuccessful or the first communication result indicates that the communication was unsuccessful. The second target cell is different from the first target cell. The second target cell is a cell that is in a non-target state in the historical communication list and meets the number of successful communication attempts with the terminal. The non-target state indicates that there is no connection failure between the second target cell and the terminal. The update module is used to update the number of successful communications of the second target cell if the second network registration result indicates successful network registration and the second communication result indicates successful communication, and to use the second target cell as the cell for the terminal to conduct the next communication. The second acquisition module is specifically used for: If the first network registration result indicates that the network registration was unsuccessful, or the first communication result indicates that the communication was unsuccessful, then the status of the first target cell in the historical communication list is marked as the target status, and the target status indicates that the first target cell and the terminal have a connection failure. Identify the target cell in the historical communication list that is in a non-target state; From the target cells that are in a non-target state, determine a second target cell that meets the communication success count requirement, and the second network registration result and the second communication result between the first IoT card and the second target cell; The terminal is also equipped with a second IoT card, the communication strength of which is less than that of the first IoT card. If the first network registration result indicates that network registration was unsuccessful, or the first communication result indicates that communication was unsuccessful, then after marking the status of the first target cell in the historical communication list as the target status, the second acquisition module is further specifically used for: If there is no target cell in the non-target state in the historical communication list, then the target state of each target cell in the historical communication list is initialized to obtain an initialized historical communication list, wherein the state of the target cell in the initialized historical communication list is the initialized state, and the initialized state is the non-target state. The terminal is controlled to switch the second IoT card to establish a communication connection with the target cell in the initialization history communication list.
7. An electronic device, characterized in that, include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory to implement the method as described in any one of claims 1 to 5.
8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the method as described in any one of claims 1 to 5.
Citation Information
Patent Citations
Cell reselection method and terminal
CN101795477A
Cell search control method, cell search control apparatus, mobile communication terminal, computer program and storage medium
CN104247518A