Communication method, device, storage medium and electronic device

By predicting dual-pass abnormality based on historical mode switching information or data service community in dual-card terminals, changing the data service channel to the second identity card, the data flow problem caused by voice calls in DSDA mode is solved, and the user experience is improved .

CN113766484BInactive Publication Date: 2024-11-05BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111045862.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-07
Publication Date
2024-11-05
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In the DSDA mode of dual-station terminals, temporary switching of data service channels during voice calls causes data to be cut off, affecting user experience.

Method used

When receiving the voice call command, the data service channel is changed to the second identity identification card by changing the voice call channel based on the historical mode switching information or the current data service cell prediction terminal according to the dual-pass abnormal state of the terminal, and a voice call is initiated through the second identity identification card , to avoid switching of data service channels.

Benefits of technology

It effectively avoids data flow outage caused by switching of data service channels during voice calls, and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113766484B_ABST
    Figure CN113766484B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a communication method, device, storage medium and electronic device. The method includes: when receiving a voice call instruction, if the terminal supports dual-card dual-pass mode at the current working frequency, predicting whether the dual-pass of the terminal is abnormal according to historical mode switching information or the current data service cell of the terminal; when predicting that the dual-pass of the terminal is abnormal, changing the data service channel of the terminal to the second identity card; and initiating a voice call through the second identity card according to the voice call instruction. In this way, when initiating a voice call, the data service channel of the terminal can be changed to the second identity card, so that the second identity card can be used for data service communication, and at the same time, a voice call can be initiated through the second identity card for voice service communication, thereby avoiding the problem of data interruption caused by changing the data service channel during a voice call.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] At present, the mainstream smart terminals on the market are basically dual-card terminals, and dual-card terminals can have at least two identity cards, such as SIM cards (Subscriber Identity Module) or USIM cards (Universal Subscriber Identity Module). With the development of 5G (5th Generation Mobile Communication Technology), mainstream dual-card terminals can be configured to use 5G SA (Standalone, 5G independent networking) network as the main card and LTE (Long Term Evolution) network as the secondary card. Since the 5G network does not currently support voice services, the secondary card can use the LTE network for voice communication. At this time, if the 5G network frequency used by the main card and the LTE network frequency used by the secondary card are in the ENDC (EUTRA-NR Dual Connectivity, 4G and 5G dual connection) combination frequency supported by the terminal, the terminal can support DSDA (DualSim Dual Active, dual-card dual-pass) mode, that is, the main card can use the 5G network for data service communication, and the secondary card can use the LTE network for voice service communication. However, in the related art, when the terminal communicates in DSDA mode, the data service channel may be temporarily switched to the secondary card during a voice call. During the data service channel switching process, data interruption may occur, affecting the user's data service experience. Summary of the invention

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

[0004] According to a first aspect of an embodiment of the present disclosure, a communication method is provided, which is applied to a terminal, and the method includes:

[0005] In the case of receiving a voice call instruction, if the terminal supports the dual-card dual-pass mode at the current working frequency, predict whether the dual-pass of the terminal is abnormal according to the historical mode switching information or the current data service service cell of the terminal; wherein the dual-card dual-pass mode represents a mode in which the terminal performs data communication through a first identity card and performs voice communication through a second identity card, and the historical mode switching information includes information that the terminal switches from the dual-card dual-pass mode to a single-card dual-pass mode, and the single-card dual-pass mode indicates a mode in which the terminal performs voice communication and data communication through the second identity card; the voice call instruction is used to instruct the terminal to initiate voice communication through the second identity card;

[0006] When it is predicted that the dual-channel of the terminal is abnormal, the data service channel of the terminal is changed to the second identity card; and according to the voice call instruction, a voice call is initiated through the second identity card.

[0007] Optionally, predicting whether the dual-communication of the terminal is abnormal according to historical mode switching information or a current data service serving cell of the terminal includes:

[0008] When the historical mode switching information of the terminal meets the preset switching abnormality condition, determining that the terminal is in the dual-channel abnormal state; or

[0009] In a case where the current data service serving cell of the terminal is a dual-communication abnormal cell, it is determined that the terminal is in a dual-communication abnormal state.

[0010] Optionally, the preset switching abnormal condition includes:

[0011] The first switching number of target mode switching occurring at the terminal within a first preset historical time is greater than or equal to a first preset abnormal number threshold, and the target mode switching indicates that the terminal switches from the dual-card dual-pass mode to the single-card dual-pass mode.

[0012] Optionally, the dual-channel abnormal cell is determined by:

[0013] Determine a first serving cell where the terminal is located when a target mode switch occurs within a second preset historical time; the target mode switch indicates that the terminal switches from the dual-SIM dual-channel mode to the single-SIM single-channel mode;

[0014] For each of the first service cells, a second switching number of the target mode switching occurring by the terminal in the first service cell is obtained, and when the second switching number is greater than or equal to a second preset abnormal number threshold, the first service cell is determined to be the dual-connection abnormal cell.

[0015] Optionally, the dual-channel abnormal cell is determined by:

[0016] Determine a second serving cell where the terminal is located when the target service is released within a third preset historical time; the target service release indicates that the terminal releases the data service according to a data service release indication message sent by a network device in a dual-SIM dual-pass mode;

[0017] For each of the second serving cells, the number of releases of the target service occurring in the second serving cell by the terminal is obtained, and when the number of releases is greater than or equal to a preset release number threshold, the second serving cell is determined to be the dual-communication abnormal cell.

[0018] Optionally, the method further comprises:

[0019] During the communication process of the terminal using the dual-card dual-pass mode, if no data message transmission is performed through the first identity card within a preset detection time, a preset data message is sent to the network device to keep the data communication state of the first identity card in an activated state.

[0020] According to a second aspect of an embodiment of the present disclosure, a communication device is provided, which is applied to a terminal, and the device includes:

[0021] A dual-channel abnormality determination module is configured to predict whether the dual-channel of the terminal is abnormal according to historical mode switching information or the current data service service cell of the terminal when a voice call instruction is received, if the terminal supports the dual-card dual-channel mode at the current working frequency; wherein the dual-card dual-channel mode represents a mode in which the terminal performs data communication through a first identity card and performs voice communication through a second identity card, and the historical mode switching information includes information that the terminal switches from the dual-card dual-channel mode to a single-card dual-channel mode, and the single-card dual-channel mode represents a mode in which the terminal performs voice communication and data communication through the second identity card; and the voice call instruction is used to instruct the terminal to initiate voice communication through the second identity card;

[0022] The communication module is configured to change the data service channel of the terminal to the second identity card when predicting that the dual-channel of the terminal is abnormal; and initiate a voice call through the second identity card according to the voice call instruction.

[0023] Optionally, the device further comprises:

[0024] The data message sending module is configured to send a preset data message to the network device to keep the data communication state of the first identity card in an activated state if no data message transmission is performed through the first identity card within a preset detection time during the process of the terminal communicating in the dual-card dual-pass mode.

[0025] Optionally, the dual-channel abnormality determination module is configured to determine that the terminal is in the dual-channel abnormal state when the historical mode switching information of the terminal meets a preset switching abnormality condition; or to determine that the terminal is in the dual-channel abnormal state when the current data service service cell of the terminal is a dual-channel abnormality cell.

[0026] Optionally, the preset switching abnormal condition includes: a first switching number of target mode switching occurring at the terminal within a first preset historical time is greater than or equal to a first preset abnormal number threshold, and the target mode switching indicates that the terminal switches from the dual-card dual-pass mode to the single-card dual-pass mode.

[0027] Optionally, the dual-channel abnormal cell is determined by:

[0028] Determine a first serving cell where the terminal is located when a target mode switch occurs within a second preset historical time; the target mode switch indicates that the terminal switches from the dual-SIM dual-channel mode to the single-SIM single-channel mode;

[0029] For each of the first service cells, a second switching number of the target mode switching occurring by the terminal in the first service cell is obtained, and when the second switching number is greater than or equal to a second preset abnormal number threshold, the first service cell is determined to be the dual-connection abnormal cell.

[0030] Optionally, the dual-channel abnormal cell is determined by:

[0031] Determine a second serving cell where the terminal is located when the target service is released within a third preset historical time; the target service release indicates that the terminal releases the data service according to a data service release indication message sent by a network device in a dual-SIM dual-pass mode;

[0032] For each of the second serving cells, the number of releases of the target service occurring in the second serving cell by the terminal is obtained, and when the number of releases is greater than or equal to a preset release number threshold, the second serving cell is determined to be the dual-communication abnormal cell.

[0033] According to a third aspect of an embodiment of the present disclosure, there is provided an electronic device, including:

[0034] processor;

[0035] a memory for storing processor-executable instructions;

[0036] The processor is configured to execute the steps of the communication method provided in the first aspect of the present disclosure.

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

[0038] The technical solution provided by the embodiments of the present disclosure may include the following beneficial effects: when a voice call instruction is received, if the terminal supports the dual-card dual-pass mode at the current working frequency, whether the dual-pass of the terminal is abnormal is predicted according to the historical mode switching information or the current data service service cell of the terminal; wherein the dual-card dual-pass mode represents a mode in which the terminal performs data communication through a first identity card and performs voice communication through a second identity card, and the historical mode switching information includes information that the terminal switches from the dual-card dual-pass mode to a single-card dual-pass mode, and the single-card dual-pass mode represents a mode in which the terminal performs voice communication and data communication through the second identity card; the voice call instruction is used to instruct the terminal to initiate voice communication through the second identity card; when it is predicted that the dual-pass of the terminal is abnormal, the data service channel of the terminal is changed to the second identity card; and according to the voice call instruction, a voice call is initiated through the second identity card. In this way, when initiating a voice call, the data service channel of the terminal can be changed to the second identity card, so that the second identity card can be used for data service communication, and at the same time, according to the above voice call instruction, a voice call is initiated through the second identity card for voice service communication. This can avoid the problem of data interruption caused by changing the data service channel during a voice call, and improve the user experience.

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

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

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

[0042] Figure 2 The figure is a flow chart showing another communication method according to an exemplary embodiment.

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

[0044] Figure 4 It is a block diagram of another communication device according to an exemplary embodiment.

[0045] Figure 5 is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION

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

[0047] First, the application scenario of the present disclosure is described. The present disclosure can be applied to the communication field, especially the communication scenario of dual-card terminals. With the development of 5G, the mainstream dual-card terminals can be configured so that the main card uses the 5G SA network and the secondary card uses the LTE network. Since the 5G network does not currently support voice services, the secondary card can use the LTE network for voice communication. At this time, if the 5G network frequency used by the main card and the LTE network frequency used by the secondary card are in the ENDC combination frequency supported by the terminal, the terminal can support the dual-card dual-pass mode, that is, the main card can use the 5G network for data service communication, and the secondary card can use the LTE network for voice service communication. On the contrary, if the 5G network frequency used by the main card and the LTE network frequency used by the secondary card are not in the ENDC combination frequency supported by the terminal, the terminal can support the dual-card dual-standby mode. In the dual-card dual-standby mode, when one card is communicating, the other card has no radio frequency resources and cannot perform communication services. Therefore, when the secondary card makes a voice call, in order to ensure the data service, the data service channel will be temporarily switched to the secondary card.

[0048] In the related art, when the terminal communicates in DSDA mode, the terminal cannot maintain the DSDA mode due to reasons such as terminal movement or network switching. In order to maintain data services, the data service channel needs to be temporarily switched to the secondary card. However, switching the data service channel during voice communication will, on the one hand, cause data interruption and data jamming; on the other hand, it will cause users to be confused about the timing of switching the data service channel, affecting the user experience.

[0049] In order to solve the above problems, the present disclosure provides a communication method, device, storage medium and electronic device. When a voice call instruction is received, if the terminal supports dual-card dual-pass mode at the current working frequency, whether the dual-pass of the terminal is abnormal is predicted according to the historical mode switching information or the current data service cell of the terminal; when the dual-pass of the terminal is predicted to be abnormal, the data service channel of the terminal is changed to the second identity card; and according to the voice call instruction, a voice call is initiated through the second identity card. In this way, when initiating a voice call, the data service channel of the terminal can be changed to the second identity card so that the second identity card can be used for data service communication. At the same time, according to the above voice call instruction, a voice call is initiated through the second identity card for voice service communication. Thereby, the problem of data interruption caused by changing the data service channel during a voice call can be avoided, and the user experience is improved.

[0050] The present disclosure is described below in conjunction with specific embodiments.

[0051] Figure 1 A communication method provided by an embodiment of the present disclosure is as follows: Figure 1 As shown, the execution subject of the method may be a terminal, and the method may include:

[0052] S101. When a voice call instruction is received, if the terminal supports dual-SIM dual-communication mode at the current working frequency, predict whether the dual-communication of the terminal is abnormal according to historical mode switching information or the current data service serving cell of the terminal.

[0053] Among them, the dual-card dual-pass mode represents a mode in which the terminal performs data communication through the first identity card and performs voice communication through the second identity card, the historical mode switching information includes information that the terminal switches from the dual-card dual-pass mode to the single-card dual-pass mode, and the single-card dual-pass mode represents a mode in which the terminal performs voice communication and data communication through the second identity card; the voice call instruction is used to instruct the terminal to initiate voice communication through the second identity card.

[0054] For example, the first identity card can be a card for data services, such as a main card that supports a 5G network; the second identity card can be a card for voice services, such as a secondary card that supports an LTE network. In this way, if the 5G frequency band currently used by the first identity card and the LTE frequency band currently used by the second identity card belong to the ENDC frequency band combination supported by the terminal, it can be determined that the terminal supports dual-card dual-pass mode at the current working frequency. It should be noted that the terminal can support one or more ENDC frequency band combinations, each of which includes at least one 5G frequency band and at least one 4G frequency band. For example, the ENDC frequency band combination supported by the terminal may include 5G BAND78 and LTE BAND5. In the current working frequency of the terminal, the first identity card uses the 5G BAND78 frequency band for communication, and the second identity card uses the LTE BAND5. It can be determined that the terminal supports the dual-card dual-pass mode at the current working frequency.

[0055] It should be noted that the above-mentioned voice call instruction may be a called voice call instruction generated according to a voice paging message received by the terminal, or may be a calling voice call instruction generated according to a dialing operation of the terminal. The present disclosure does not limit this.

[0056] S102: When it is predicted that the dual-channel of the terminal is abnormal, the data service channel of the terminal is changed to the second identity card; and according to the voice call instruction, a voice call is initiated through the second identity card.

[0057] For example, the data service channel can also be called DDS (Default Data Subscription), which is used to characterize the target identity card used by the terminal for data service communication. It should also be noted that data service communication is used to characterize the transmission of data messages, such as web browsing, video viewing, video live broadcast, email sending and receiving, etc., and voice service communication is used to characterize the service mode of making voice calls, such as making VoLTE (Voice over Long-Term Evolution) calls through the LTE network, or making voice calls through the 2G / 3G network.

[0058] It should be noted that the prediction of the dual-channel anomaly of the terminal indicates that after the terminal is in dual-card dual-channel mode, the data service channel will be temporarily switched to the secondary card during the voice call. During the data service channel switching process, data interruption will occur, affecting the user's data service experience. In order to avoid this problem, in this step, when initiating a voice call, the data service channel of the terminal can be changed to the second identity card so that the second identity card can be used for data service communication. At the same time, according to the above-mentioned voice call instruction, a voice call is initiated through the second identity card for voice service communication.

[0059] According to the above method, when a voice call instruction is received, if the terminal supports the dual-card dual-pass mode at the current working frequency, whether the dual-pass of the terminal is abnormal is predicted according to the historical mode switching information or the current data service cell of the terminal; wherein the dual-card dual-pass mode represents a mode in which the terminal performs data communication through the first identity card and voice communication through the second identity card, and the historical mode switching information includes information that the terminal switches from the dual-card dual-pass mode to the single-card dual-pass mode, and the single-card dual-pass mode represents a mode in which the terminal performs voice communication and data communication through the second identity card; the voice call instruction is used to instruct the terminal to initiate voice communication through the second identity card; when the dual-pass of the terminal is predicted to be abnormal, the data service channel of the terminal is changed to the second identity card; and according to the voice call instruction, a voice call is initiated through the second identity card. In this way, when a voice call is initiated, the data service channel of the terminal can be changed to the second identity card so that the second identity card can be used for data service communication, and at the same time, according to the above voice call instruction, a voice call is initiated through the second identity card for voice service communication. This can avoid the problem of data interruption caused by changing the data service channel during a voice call and improve the user experience.

[0060] In another embodiment of the present disclosure, in the above step S101, predicting whether the dual communication of the terminal is abnormal according to the historical mode switching information or the current data service serving cell of the terminal may include any of the following methods:

[0061] Method 1: When the historical mode switching information of the terminal meets a preset switching abnormality condition, it is determined that the terminal is in a dual-channel abnormal state.

[0062] Among them, the preset switching abnormal condition may include: the first switching number of target mode switching of the terminal within the first preset historical time is greater than or equal to the first preset abnormal number threshold; the target mode switching indicates that the terminal switches from dual-card dual-pass mode to single-card dual-pass mode.

[0063] For example, the first preset historical time can be any time from 1 minute to 1 week, for example, the first preset historical time can be 10 minutes, 1 hour, 1 day or 3 days. The first preset abnormal number threshold can be any positive integer greater than 1, for example, it can be 10 or 20. The target mode switching can also represent that during the process of voice communication through the second phone card, the terminal switches the data service channel from the first phone card to the second phone card, that is, switches from the dual-card dual-pass mode to the single-card single-pass mode.

[0064] In this way, when the historical mode switching information of the terminal meets the preset switching exception condition, it can be predicted that the terminal is in the dual-channel abnormal state, that is, data service channel switching will occur in the dual-card dual-channel mode. Even if the terminal supports the dual-card dual-channel mode at the current working frequency, it will not enter the dual-card dual-channel mode. Instead, when initiating a voice call, it will actively switch the data service channel to the second identity card, thereby avoiding the problem of data service channel switching during the call.

[0065] It should be noted that, when the terminal performs a preset behavior, it is necessary to restart the counting of the historical mode switching information of the terminal to meet the preset switching abnormal conditions, that is, to reset the first switching times and re-count the first switching times of the target mode switching within the first preset historical time. The preset behavior includes: restarting, powering on and off, entering flight mode, exiting flight mode, turning off or on the 4G network switch, turning off or on the 5G network switch, turning off or on the data service switch, pulling out the identity card and inserting a new identity card.

[0066] Method 2: when the current data service serving cell of the terminal is a dual-communication abnormal cell, it is determined that the terminal is in a dual-communication abnormal state.

[0067] The dual-mode abnormal cell may be one or more cells determined according to historical mode switching information of the terminal, and is used to indicate that when the terminal uses the dual-SIM dual-mode to perform data service communication in the cell, it will switch to the single-SIM dual-mode.

[0068] Furthermore, the dual-channel abnormal cell can be determined in the following ways:

[0069] First, a first serving cell where the terminal is located when target mode switching occurs within a second preset historical time is determined.

[0070] The target mode switching indicates that the terminal switches from the dual-card dual-pass mode to the single-card single-pass mode. For example, the target mode switching may indicate that the terminal switches the data service channel from the first phone card to the second phone card during voice communication through the second phone card, that is, switches from the dual-card dual-pass mode to the single-card single-pass mode. The first service cell may be the data service cell before the target mode switching of the terminal occurs; or it may be the voice service cell before the target mode switching of the terminal occurs.

[0071] Similarly, the second preset historical time may also be any time from 1 minute to 1 week. For example, the second preset historical time may be 10 minutes, 1 hour, 1 day or 3 days.

[0072] Then, for each of the first service cells, a second switching number of the target mode switching of the terminal in the first service cell is obtained, and when the second switching number is greater than or equal to a second preset abnormal number threshold, the first service cell is determined to be a dual-communication abnormal cell.

[0073] The second preset abnormality number threshold may be set according to an empirical value. For example, the second preset abnormality number threshold may be any positive integer greater than 1, such as 10 or 20.

[0074] In this way, the number of target mode switchings that occur in each first service cell of the terminal can be used to determine whether the first service cell is a dual-channel abnormal cell. When the first service cell is a dual-channel abnormal cell, it can be predicted that the terminal is in the dual-channel abnormal state, that is, data service channel switching will occur in the dual-card dual-channel mode. Even if the terminal supports the dual-card dual-channel mode at the current working frequency, it does not enter the dual-card dual-channel mode. Instead, when initiating a voice call, it actively switches the data service channel to the second identity card, thereby avoiding the problem of data service channel switching during the call.

[0075] Furthermore, the above-mentioned target mode switching may be a data service channel switching caused by switching of a data service service cell. Taking the case where the terminal performs data communication in a 5G network through a first identity card and performs voice communication in an LTE network through a second identity card as an example, if the terminal is in the boundary area of ​​a 5G cell, due to changes in wireless signals, the terminal will switch from the first 5G cell to the second 5G cell. If the second 5G cell after switching and the current LTE service cell of the terminal are not cells of the ENDC combination, the terminal will exit the dual-card dual-pass mode, resulting in a data service channel switching caused by switching of a data service service cell, that is, a target mode switching occurs, and the first 5G cell can be used as the above-mentioned first service cell.

[0076] Similarly, if the terminal is in the boundary area of ​​the LTE cell, due to changes in the wireless signal, the terminal will switch from the first LTE cell to the second LTE cell. If the second LTE cell after switching and the terminal's current 5G service cell are not cells of the ENDC combination, the terminal can also exit the dual-card dual-pass mode, resulting in a data service channel switch caused by the switching of the data service service cell, that is, a target mode switch occurs, and the first LTE cell can be used as the above-mentioned first service cell.

[0077] In this way, when the terminal is in the boundary area, the first service cell where the terminal is located when the target mode switch occurs within the second preset historical time can be determined in this way; for each of the first service cells, the second switching number of the target mode switch occurring in the terminal within the first service cell is obtained, and when the second switching number is greater than or equal to the second preset number threshold, the first service cell is determined to be a dual-channel abnormal cell.

[0078] In another embodiment of the present disclosure, the double-communication abnormal cell may also be determined in the following manner:

[0079] First, determine the second serving cell where the terminal is located when the target service is released within the third preset historical time.

[0080] Among them, the target service release represents the release of the data service according to the data service release indication message sent by the network device in the dual-card dual-pass mode. For example, in the dual-card dual-pass mode, the terminal performs data communication through the first identity card and voice communication through the second identity card. During the voice communication process, if a data service release indication message sent by the network device (the network device can be a base station or a core network) is received, the data service of the terminal is released according to the message, that is, a target service release occurs. Since the dual-card dual-pass mode cannot be maintained after the data service is released, in this case, it can be determined that the network is abnormal, and the data service service cell of the terminal before the target service is released can be used as the second service cell.

[0081] Similarly, the third preset historical time may also be any time from 1 minute to 1 week. For example, the third preset historical time may be 10 minutes, 1 hour, 1 day or 3 days.

[0082] Then, for each of the second serving cells, the number of releases of the target service occurring in the second serving cell by the terminal is obtained, and when the number of releases is greater than or equal to a preset release number threshold, the second serving cell is determined to be the dual-communication abnormal cell.

[0083] The preset release times threshold may be set based on empirical values, and for example, may be any positive integer greater than 0, such as 10 or 20.

[0084] In this way, the number of times the target service is released by the terminal in each second service cell can determine whether the first service cell is a dual-channel abnormal cell. If the first service cell is a dual-channel abnormal cell, it can be predicted that the terminal is in the dual-channel abnormal state, that is, data service channel switching will occur in the dual-card dual-channel mode. Even if the terminal supports the dual-card dual-channel mode at the current working frequency, it does not enter the dual-card dual-channel mode. Instead, when initiating a voice call, it actively switches the data service channel to the second identity card, thereby avoiding the problem of data service channel switching during the call.

[0085] In another embodiment of the present disclosure, the above-mentioned communication method also includes: when the terminal adopts the dual-card dual-pass mode for communication, if no data message transmission is performed through the first identity card within a preset detection time, a preset data message is sent to the network device to keep the data communication status of the first identity card in an activated state.

[0086] For example, the preset data message may be an empty message that does not carry any actual information; the preset detection time may be any time greater than or equal to 1 second, such as 2 seconds or 5 seconds. Furthermore, the preset detection time may be less than the duration of the no-data deactivation timer configured by the network device. For example, if the duration of the no-data deactivation timer configured by the network device is 10 seconds, that is, if there is no data transmission for 10 seconds, the network device may release the data service of the terminal, and the preset detection time may be 9 seconds, thereby preventing the network device from releasing the data service due to a long period of no data transmission by sending the preset data message.

[0087] Furthermore, when the terminal communicates in dual-card dual-pass mode, it is not necessary to detect whether data message transmission has been performed through the first identity card, but to directly send preset data messages periodically to keep the data communication state of the first identity card active.

[0088] Similarly, the period for sending the preset data message may be any time greater than or equal to 1 second, or may be less than the duration of the no-data deactivation timer configured for the network device.

[0089] This method can effectively prevent the network from releasing data services due to no data transmission, thereby preventing the terminal from exiting the dual-SIM dual-pass mode and improving data transmission efficiency.

[0090] Figure 2 is another communication method provided by the embodiment of the present disclosure, such as Figure 2As shown, the execution subject of the method may be a terminal, and the method may include:

[0091] S201: Receive a voice call instruction.

[0092] S202: When the terminal supports the dual-SIM dual-channel mode at the current working frequency, determine whether the terminal is in a dual-channel abnormal state according to historical mode switching information of the terminal.

[0093] For example, if the historical mode switching information of the terminal meets the preset switching abnormality condition, it can be determined that the terminal is in a dual-channel abnormal state. The preset switching abnormality condition may include: the first switching number of target mode switching occurring in the terminal within a first preset historical time is greater than or equal to a first preset abnormal number threshold; the target mode switching indicates that the terminal switches from a dual-card dual-channel mode to a single-card dual-channel mode.

[0094] S203: When the terminal supports the dual-SIM dual-channel mode at the current working frequency, determine, according to historical mode switching information of the terminal, that the current data service serving cell of the terminal is a dual-channel abnormal cell.

[0095] By way of example, for a data service service cell, a second number of target mode switching operations that occur during a second preset historical time period when the terminal communicates in a dual-card dual-pass mode through the data service service cell can be obtained; and when the second number of switching operations is greater than or equal to a second preset abnormal number threshold, the data service service cell is determined to be a dual-pass abnormal cell; wherein the target mode switching indicates that the terminal switches from the dual-card dual-pass mode to the single-card single-pass mode.

[0096] S204: When the terminal supports the dual-SIM dual-channel mode at the current working frequency, determine, according to the historical release information of the terminal, that the current data service serving cell of the terminal is a dual-channel abnormal cell.

[0097] For example, for the data service service cell, the number of target service releases that occur during the process of the terminal communicating in the dual-card dual-pass mode through the data service service cell within a third preset historical time can be obtained. When the number of releases is greater than or equal to the preset release number threshold, the data service service cell is determined to be the dual-pass abnormal cell; wherein, the target service release indicates that the data service is released according to the data service release indication message sent by the network device in the dual-card dual-pass mode.

[0098] S205. According to any one of the above steps S202, S203 and S204, determine whether the dual-channel of the terminal is abnormal.

[0099] For example, if it is determined according to S202 that the terminal is in a dual-communication abnormal state, the dual-communication abnormality of the terminal is determined. Alternatively, if it is determined according to S203 or S204 that the data service serving cell is a dual-communication abnormal cell, the dual-communication abnormality of the terminal is determined.

[0100] It should be noted that any one or more of the above three steps S202, S203 and S204 can be selected for execution.

[0101] S206: If it is determined that the dual-channel of the terminal is abnormal, the data service channel of the terminal is changed to the second identity card, and data service communication is performed through the second identity card; and according to the voice call instruction, a voice call is initiated through the second identity card.

[0102] S207: If it is determined that the dual-channel of the terminal is normal, continue to keep the data service channel of the terminal on the first identity card, and perform data service communication through the first identity card; and initiate a voice call through the second identity card according to the voice call instruction.

[0103] In summary, by adopting the above method, when a voice call instruction is received, if the terminal supports dual-card dual-pass mode at the current working frequency, whether the dual-pass of the terminal is abnormal is predicted based on the historical mode switching information or the current data service cell of the terminal; when the dual-pass of the terminal is predicted to be abnormal, the data service channel of the terminal is changed to the second identity card; and according to the voice call instruction, a voice call is initiated through the second identity card. In this way, when initiating a voice call, the data service channel of the terminal can be changed to the second identity card so that the second identity card can be used for data service communication, and at the same time, according to the above voice call instruction, a voice call is initiated through the second identity card for voice service communication. In this way, the problem of data interruption caused by changing the data service channel during a voice call can be avoided, thereby improving the user experience.

[0104] Figure 3 is a block diagram of a communication device 300 according to an exemplary embodiment. The device 300 can be applied to a terminal, such as Figure 3 As shown, the device 300 may include:

[0105] The dual-channel abnormality determination module 301 is configured to predict whether the dual-channel of the terminal is abnormal according to the historical mode switching information or the current data service service cell of the terminal when receiving the voice call instruction, if the terminal supports the dual-card dual-channel mode at the current working frequency; wherein the dual-card dual-channel mode represents a mode in which the terminal performs data communication through the first identity card and performs voice communication through the second identity card, and the historical mode switching information includes information that the terminal switches from the dual-card dual-channel mode to the single-card dual-channel mode, and the single-card dual-channel mode represents a mode in which the terminal performs voice communication and data communication through the second identity card; and the voice call instruction is used to instruct the terminal to initiate voice communication through the second identity card;

[0106] The communication module 302 is configured to change the data service channel of the terminal to the second identity card when predicting that the dual-channel of the terminal is abnormal; and initiate a voice call through the second identity card according to the voice call instruction.

[0107] Figure 4 is a block diagram of another communication device according to an exemplary embodiment. Figure 4 As shown, the device may also include:

[0108] The data message sending module 401 is configured to send a preset data message to the network device to keep the data communication state of the first identity card in an activated state if no data message transmission is performed through the first identity card within a preset detection time during the process of the terminal communicating in dual-card dual-pass mode.

[0109] Optionally, the dual-channel abnormality determination module 301 is configured to determine that the terminal is in the dual-channel abnormality state when the historical mode switching information of the terminal meets a preset switching abnormality condition; or to determine that the terminal is in the dual-channel abnormality state when the current data service service cell of the terminal is a dual-channel abnormality cell.

[0110] Optionally, the preset switching abnormal condition includes: a first switching number of target mode switching occurring in the terminal within a first preset historical time is greater than or equal to a first preset abnormal number threshold, and the target mode switching indicates that the terminal switches from the dual-card dual-pass mode to the single-card dual-pass mode.

[0111] Optionally, the dual-channel abnormal cell is determined by:

[0112] Determine a first serving cell where the terminal is located when a target mode switch occurs within a second preset historical time; the target mode switch indicates that the terminal switches from the dual-SIM dual-channel mode to the single-SIM single-channel mode;

[0113] For each of the first service cells, a second switching number of the target mode switching of the terminal in the first service cell is obtained, and when the second switching number is greater than or equal to a second preset abnormal number threshold, the first service cell is determined to be the dual-communication abnormal cell.

[0114] Optionally, the dual-channel abnormal cell is determined by:

[0115] Determine a second serving cell where the terminal is located when the target service is released within a third preset historical time; the target service release indicates that the terminal releases the data service according to the data service release indication message sent by the network device in the dual-SIM dual-pass mode;

[0116] For each of the second serving cells, the number of releases of the target service occurring in the second serving cell by the terminal is obtained, and when the number of releases is greater than or equal to a preset release number threshold, the second serving cell is determined to be the dual-communication abnormal cell.

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

[0118] In summary, by using the above device, when a voice call instruction is received, if the terminal supports dual-card dual-pass mode at the current working frequency, whether the dual-pass of the terminal is abnormal is predicted based on the historical mode switching information or the current data service cell of the terminal; when the dual-pass of the terminal is predicted to be abnormal, the data service channel of the terminal is changed to the second identity card; and according to the voice call instruction, a voice call is initiated through the second identity card. In this way, when initiating a voice call, the data service channel of the terminal can be changed to the second identity card so that the second identity card can be used for data service communication, and at the same time, according to the above voice call instruction, a voice call is initiated through the second identity card for voice service communication. Thereby, the problem of data interruption caused by changing the data service channel during a voice call can be avoided, thereby improving the user experience.

[0119] It should be noted that the terminal in the present disclosure may be an electronic device such as a smart phone, a tablet computer, a smart watch, a smart bracelet, a PDA (Personal Digital Assistant), a CPE (Customer Premise Equipment), etc., and the present disclosure does not limit this.

[0120] Figure 5is a block diagram of an electronic device 500 according to an exemplary embodiment. For example, the electronic device 500 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, a router, etc.

[0121] Reference Figure 5 , the electronic device 500 may include one or more of the following components: a processing component 502 , a memory 504 , a power component 506 , a multimedia component 508 , an audio component 510 , an input / output (I / O) interface 512 , a sensor component 514 , and a communication component 516 .

[0122] The processing component 502 generally controls the overall operation of the electronic device 500, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 502 may include one or more processors 520 to execute instructions to complete all or part of the steps of the above-mentioned anti-false touch method. In addition, the processing component 502 may include one or more modules to facilitate the interaction between the processing component 502 and other components. For example, the processing component 502 may include a multimedia module to facilitate the interaction between the multimedia component 508 and the processing component 502.

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

[0124] The power component 506 provides power to the various components of the electronic device 500. The power component 506 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 500.

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

[0126] The audio component 510 is configured to output and / or input audio signals. For example, the audio component 510 includes a microphone (MIC), and when the electronic device 500 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 504 or sent via the communication component 516. In some embodiments, the audio component 510 also includes a speaker for outputting audio signals.

[0127] I / O interface 512 provides an interface between processing component 502 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.

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

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

[0130] In an exemplary embodiment, the electronic device 500 can be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the above-mentioned anti-false touch method.

[0131] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 504 including instructions, and the instructions can be executed by a processor 520 of an electronic device 500 to complete the above-mentioned method for preventing accidental touches. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.

[0132] In another exemplary embodiment, a computer program product is further provided. The computer program product includes a computer program that can be executed by a programmable device. The computer program has a code portion for executing the above-mentioned false touch prevention method when executed by the programmable device.

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

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

Claims

1. A communication method, characterized in that: Applied to a terminal, the method comprises: In the case of receiving a voice call instruction, if the terminal supports the dual-card dual-pass mode at the current working frequency, predict whether the dual-pass of the terminal is abnormal according to the historical mode switching information or the current data service service cell of the terminal; wherein the dual-card dual-pass mode represents a mode in which the terminal performs data communication through a first identity card and performs voice communication through a second identity card, and the historical mode switching information includes information that the terminal switches from the dual-card dual-pass mode to a single-card dual-pass mode, and the single-card dual-pass mode indicates a mode in which the terminal performs voice communication and data communication through the second identity card; the voice call instruction is used to instruct the terminal to initiate voice communication through the second identity card; When a dual-channel abnormality of the terminal is predicted, the data service channel of the terminal is changed to the second identity card; and according to the voice call instruction, a voice call is initiated through the second identity card; The terminal supports the dual-SIM dual-pass mode at the current operating frequency by: If the 5G frequency band currently used by the first identity card and the LTE frequency band currently used by the second identity card belong to the ENDC frequency band combination supported by the terminal, it is determined that the terminal supports the dual-card dual-pass mode at the current working frequency.

2. The method according to claim 1, characterized in that The predicting whether the dual-communication of the terminal is abnormal according to the historical mode switching information or the current data service serving cell of the terminal includes: When the historical mode switching information of the terminal meets the preset switching abnormality condition, determining that the terminal is in the dual-channel abnormal state; or In a case where the current data service serving cell of the terminal is a dual-communication abnormal cell, it is determined that the terminal is in a dual-communication abnormal state.

3. The method according to claim 2, characterized in that The preset switching abnormal conditions include: The first switching number of target mode switching occurring at the terminal within a first preset historical time is greater than or equal to a first preset abnormal number threshold, and the target mode switching indicates that the terminal switches from the dual-card dual-pass mode to the single-card dual-pass mode.

4. The method according to claim 2, characterized in that: The dual-channel abnormal cell is determined by the following method: Determine a first serving cell where the terminal is located when a target mode switch occurs within a second preset historical time; the target mode switch indicates that the terminal switches from the dual-SIM dual-pass mode to the single-SIM single-pass mode; For each of the first service cells, a second switching number of the target mode switching occurring by the terminal in the first service cell is obtained, and when the second switching number is greater than or equal to a second preset abnormal number threshold, the first service cell is determined to be the dual-connection abnormal cell.

5. The method according to claim 2, characterized in that: The dual-channel abnormal cell is determined by the following method: Determine a second serving cell where the terminal is located when the target service is released within a third preset historical time; the target service release indicates that the terminal releases the data service according to a data service release indication message sent by a network device in a dual-SIM dual-pass mode; For each of the second serving cells, the number of releases of the target service occurring in the second serving cell by the terminal is obtained, and when the number of releases is greater than or equal to a preset release number threshold, the second serving cell is determined to be the dual-communication abnormal cell.

6. The method according to any one of claims 1 to 5, characterized in that: The method further comprises: During the communication process of the terminal using the dual-card dual-pass mode, if no data message transmission is performed through the first identity card within a preset detection time, a preset data message is sent to the network device to keep the data communication state of the first identity card in an activated state.

7. A communication device, characterized in that: Applied to a terminal, the device comprises: A dual-channel abnormality determination module is configured to predict whether the dual-channel of the terminal is abnormal according to historical mode switching information or the current data service service cell of the terminal when a voice call instruction is received, if the terminal supports the dual-card dual-channel mode at the current working frequency; wherein the dual-card dual-channel mode represents a mode in which the terminal performs data communication through a first identity card and performs voice communication through a second identity card, and the historical mode switching information includes information that the terminal switches from the dual-card dual-channel mode to a single-card dual-channel mode, and the single-card dual-channel mode represents a mode in which the terminal performs voice communication and data communication through the second identity card; and the voice call instruction is used to instruct the terminal to initiate voice communication through the second identity card; A communication module, configured to change the data service channel of the terminal to the second identity card when predicting that the dual-channel of the terminal is abnormal; and initiate a voice call through the second identity card according to the voice call instruction; The terminal supports the dual-SIM dual-pass mode at the current operating frequency by: If the 5G frequency band currently used by the first identity card and the LTE frequency band currently used by the second identity card belong to the ENDC frequency band combination supported by the terminal, it is determined that the terminal supports the dual-card dual-pass mode at the current working frequency.

8. The device according to claim 7, characterized in that The device also includes: The data message sending module is configured to send a preset data message to the network device to keep the data communication state of the first identity card in an activated state if no data message transmission is performed through the first identity card within a preset detection time during the process of the terminal communicating in the dual-card dual-pass mode.

9. An electronic device, characterized in that: include: a memory having a computer program stored thereon; A processor, configured to execute the computer program in the memory to implement the steps of the method according to any one of claims 1 to 6.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processing device, the steps of the method according to any one of claims 1 to 6 are implemented.