Information synchronization method and apparatus, electronic device, and computer-readable storage medium
By acquiring and updating call waiting status information when the terminal device switches network domains, data synchronization between different network domains is achieved, solving the problem of asynchronous call waiting service configurations and ensuring service effectiveness and user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- TCL COMM TECH (CHENGDU) LTD
- Filing Date
- 2023-06-06
- Publication Date
- 2026-05-12
AI Technical Summary
When switching network domains on terminal devices, the configuration of call waiting services may become out of sync, leading to service failure and impacting user experience.
By obtaining call waiting status information when the terminal device registers with the first target network, generating an action command, and switching the terminal device to the second target network, the action command is sent to the target domain to update the call waiting status information, thereby achieving data synchronization between different network domains.
To maintain the effectiveness of call waiting services, improve user experience, ensure the accuracy and consistency of call waiting status information, and avoid service failures due to network domain switching.
Smart Images

Figure CN116668972B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, specifically to an information synchronization method, apparatus, electronic device, and computer-readable storage medium. Background Technology
[0002] Call waiting (CW) refers to a situation where, while you are on a call and a third party calls, you can hear a "beep beep" call waiting tone. At this time, you can choose to hang up on the first call and answer the third party's call, or you can refuse to answer the third party's call.
[0003] The call waiting service is controlled by data from different domain channels based on different network configurations. For example, when the terminal is in a 2G / 3G communication network, the call waiting service is controlled by the configuration parameters of the CS domain and its corresponding network. When the terminal is in a 4G communication network, the call waiting service is controlled by the configuration parameters of the IMS domain.
[0004] Correspondingly, the configuration of the call waiting service switch also needs to be configured from different domains. However, due to the existence of two network domains, data asynchrony is likely to occur. Therefore, after the terminal changes the network domain, the corresponding call waiting service may not be controlled as expected, which may easily lead to the failure of the call waiting service. Summary of the Invention
[0005] This application provides an information synchronization method, apparatus, electronic device, and computer-readable storage medium, which can maintain the synchronization of data in various domains, keep the call waiting service function effective, and improve the user experience.
[0006] This application provides an information synchronization method, including:
[0007] If the terminal device is registered to the first target network, then the first call waiting status information is obtained from the modem of the terminal device;
[0008] Generate an action command based on the first call waiting status information, and switch the first target network to the second target network;
[0009] The action command is sent to the target domain corresponding to the second target network, and the target domain is driven to update the corresponding second call waiting status information according to the action command.
[0010] Accordingly, embodiments of this application also provide an information synchronization device, including:
[0011] The acquisition module is used to acquire first call waiting status information from the modem of the terminal device if the terminal device is registered to the first target network;
[0012] The switching module is used to generate an action command based on the first call waiting status information and switch the first target network to the second target network.
[0013] The synchronization module is used to send the action command to the target domain corresponding to the second target network, and to drive the target domain to update the corresponding second call waiting status information according to the action command.
[0014] Optionally, in some embodiments of this application, the acquisition module includes:
[0015] The sending unit is used to send a status information query command to the modem;
[0016] The first receiving unit is configured to receive status result information returned by the modem in response to the status information query command;
[0017] The first determining unit is used to use the status result information as the first call waiting status information.
[0018] In some embodiments of this application, the acquisition module includes:
[0019] The response unit is used to generate a call waiting status information configuration interface in response to configuration operations for call waiting status information.
[0020] The second receiving unit is used to receive the information editing operation input through the call waiting status information, and obtain call waiting editing information;
[0021] The second determining unit is used to use the call waiting editing information as the first call waiting status information.
[0022] In some embodiments of this application, the device further includes a startup module, which includes:
[0023] The search unit is used to search the network registered by the terminal device if the status information of the terminal device changes.
[0024] The status information includes at least one of the following: SIM card inserted, reboot, firmware flashing, or network coverage area.
[0025] In some embodiments of this application, the first target network includes a 4G communication network, and the acquisition module includes:
[0026] The acquisition unit is used to acquire first call waiting status information from the modem of the multimedia subsystem domain, wherein the multimedia subsystem domain corresponds to the 4G communication network;
[0027] The second target communication network includes a 3G communication network, and the handover module includes:
[0028] A switching unit is used to fall back the 4G communication network to the 3G communication network, wherein the 3G communication network corresponds to the circuit-switched domain.
[0029] In some embodiments of this application, the device further includes an application module, which includes:
[0030] The first application unit is configured to control the notification display of the incoming call through the first call waiting status information if the terminal device is making a call through the multimedia subsystem domain and receives an incoming call from a third-party device.
[0031] The second application unit is used to control the notification display of the incoming call through the updated call waiting status information obtained after the update if the terminal device is making a call through the circuit-switched domain and receives an incoming call from a third-party device.
[0032] In some embodiments of this application, the device further includes an adjustment module, which includes:
[0033] The adjustment unit is used to keep the second call waiting state information corresponding to the second target network unchanged if the terminal device registers with the second target network.
[0034] The second call waiting status information is obtained based on the second target network after receiving information editing operations input through the call waiting status information configuration interface.
[0035] Thirdly, embodiments of this application also provide an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, it implements the steps in the above-described information synchronization method.
[0036] Fourthly, embodiments of this application also provide a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps in the aforementioned information synchronization method.
[0037] Fifthly, embodiments of this application also provide a computer program product or computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the methods provided in the various optional implementations described in embodiments of this application.
[0038] In this embodiment, if a terminal device registers with a first target network, it obtains first call waiting status information from the terminal device's modem; generates an action command based on the first call waiting status information, switches the first target network to a second target network, sends the action command to the target domain corresponding to the second target network, and instructs the target domain to update the corresponding second call waiting status information according to the action command. By obtaining the first call waiting status information when registering with the first target network and synchronously updating the second call waiting status information corresponding to the second target network using this first call waiting status information, data synchronization between the network domain corresponding to the first target network and the target domain corresponding to the second target network is achieved, maintaining the effectiveness of the call waiting service and improving the user experience. Furthermore, this embodiment uses the first call waiting status information corresponding to the first target network to update the second call waiting status information corresponding to the second target network, increasing the priority of the first call waiting status information corresponding to the first target network and ensuring the accuracy of the call waiting status information. Attached Figure Description
[0039] To more clearly illustrate the technical solutions in this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0040] Figure 1 This is a schematic diagram of a scenario illustrating the information synchronization method provided in an embodiment of this application;
[0041] Figure 2 This is a flowchart illustrating the information synchronization method provided in an embodiment of this application;
[0042] Figure 3 This is another schematic diagram of the information synchronization method provided in the embodiments of this application;
[0043] Figure 4 This is a schematic diagram of the structure of the information synchronization device provided in the embodiments of this application;
[0044] Figure 5 This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application. Detailed Implementation
[0045] The technical solutions of this application will now be clearly and completely described with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0046] This application provides an information synchronization method, apparatus, electronic device, and computer-readable storage medium. Specifically, this application provides an information synchronization apparatus suitable for electronic devices, wherein the electronic devices include terminal devices and servers, and the terminal devices include, but are not limited to, devices such as mobile phones, tablet computers, or smartwatches.
[0047] Please refer to Figure 1 , Figure 1 This is a schematic diagram illustrating a scenario in which a terminal device, according to an embodiment of this application, executes the information synchronization method. The specific execution process of the terminal device executing the information synchronization method is as follows:
[0048] If terminal device 10 is registered to the first target network, it obtains first call waiting status information from its modem, generates an action command based on this information, and switches terminal device 10 from the first target network to the second target network. Subsequently, it sends the action command to the target domain corresponding to the second target network, causing the target domain to update the second call waiting status information according to the action command. This achieves synchronization of the call waiting status information between the target domain corresponding to the first target network and the target domain corresponding to the second target network.
[0049] In this embodiment of the application, the first target network includes a 4G communication network and the corresponding target domain is the IMS domain, and the second target network is a 3G communication network and the corresponding target domain is the CS domain.
[0050] It is understandable that by obtaining the first call waiting status information upon registration with the first target network, and then using this first call waiting status information to synchronously update the second call waiting status information corresponding to the second target network, data synchronization between the network domain corresponding to the first target network and the target domain corresponding to the second target network can be achieved, maintaining the effectiveness of the call waiting service and improving the user experience. Specifically, in this embodiment, the first call waiting status information corresponding to the first target network is used to update the second call waiting status information corresponding to the second target network, thereby increasing the priority of the first call waiting status information corresponding to the first target network and ensuring the accuracy of the call waiting status information.
[0051] The following sections provide detailed descriptions of each example. It should be noted that the order in which the embodiments are described is not intended to limit the priority of the embodiments.
[0052] Please see Figure 2 , Figure 2 This is a flowchart illustrating the information synchronization method provided in an embodiment of this application. The specific flow of the information synchronization method is as follows:
[0053] 101. If the terminal device is registered to the first target network, then the first call waiting status information is obtained from the modem of the terminal device.
[0054] It should be noted that the first target network refers to a communication network that meets specific conditions. When a terminal device registers with the first target network, the information synchronization operation is triggered. For example, the first target network includes a 4G communication network. If the terminal device registers with a 4G communication network, the information synchronization operation is triggered.
[0055] It should be noted that call waiting status information refers to the on / off information of call waiting, such as whether the call waiting function is on or off. Call waiting (CW) means that when a call is being made and a third party calls, a "beep beep" call waiting tone can be heard. At this time, the caller can choose to hang up the call and answer the third party's call, or refuse to answer the third party's call. Correspondingly, turning the call waiting function on or off means turning the call waiting function on or off, that is, pushing a notification of a third party's incoming call to the user who is currently on a call, or canceling the push of a notification of a third party's incoming call to the user who is currently on a call.
[0056] A modem is an abbreviation for modulator-demodulator, a type of computer hardware that translates a computer's digital signals into analog signals that can be transmitted over ordinary telephone lines. These analog signals can then be received by another modem at the other end of the line and translated into a language that the computer can understand. This simple process enables communication between two computers. Accordingly, in the embodiments of this application, the terminal device obtains call waiting status information from the modem or sends call waiting status information to the network side through the modem.
[0057] It is understandable that by obtaining the first call waiting status information when the terminal device registers with the first target network, it is convenient to use this first call waiting status information to synchronously update the call waiting status information of other networks.
[0058] 102. Generate an action command based on the first call waiting status information, and switch the first target network to the second target network.
[0059] It is understood that the action command is a command that contains the first call waiting state information, and that the command can be sent and transmitted, and can be recognized by the target domain of the second target network.
[0060] It should be noted that by switching the terminal device from the first target network to the second target network, the terminal device enters the network domain corresponding to the second target network, which facilitates the use of action commands to update and synchronize the call waiting status information in that network domain.
[0061] 103. Send the action command to the target domain corresponding to the second target network, and cause the target domain to update the corresponding second call waiting status information according to the action command.
[0062] Call waiting has two modes: Terminal-based and Network-based. In Network-based call waiting, once a terminal subscribes to the service, the network will always keep it enabled by default. Whether to notify the user of incoming calls while the call is waiting is then determined by local configuration. However, each time the terminal enables / disables call waiting or checks its status, it needs to interact with the network. If the terminal disables call waiting, the network will reject the call upon receiving a call and notify the caller that the other party is busy and the call cannot be connected via a ringtone.
[0063] Terminal-based call waiting: When a terminal subscribes to the call waiting service, the network will always keep it enabled by default. Local configuration will then determine whether to notify the user that they are on call waiting. However, each time the terminal enables or disables call waiting or queries the call waiting status, it does not need to interact with the network. Instead, the enabled / disable value is stored in the modem. If the terminal disables call waiting, the network will send the call information to the terminal upon receiving an incoming call. The terminal's modem, upon receiving the message and determining that call waiting is disabled, will directly reject the call and notify the caller that the current user is busy.
[0064] Therefore, the handling of third-party calls may differ depending on the mode, especially when the device's communication network changes. Different communication networks correspond to different communication domains, meaning they use different sources of call waiting status information. For example, the IMS domain corresponding to a 4G communication network uses data from the terminal base, while the CS domain corresponding to a 3G communication network uses data from the network base. Therefore, it is necessary to synchronize call waiting data across different domains to address the discrepancies caused by changes in communication networks, which could lead to call waiting services failing to meet call demands.
[0065] It is understandable that after the target domain corresponding to the second target network receives the action command, it can update and synchronize the call waiting status information according to the action command.
[0066] Since the target domain corresponding to the first target network is different from the target domain corresponding to the second target network, this scheme is used to synchronize the call waiting status information of the two different domains.
[0067] It is understandable that by obtaining the first call waiting status information upon registration with the first target network, and then using this first call waiting status information to synchronously update the second call waiting status information corresponding to the second target network, data synchronization between the network domain corresponding to the first target network and the target domain corresponding to the second target network can be achieved, maintaining the effectiveness of the call waiting service and improving the user experience. Specifically, in this embodiment, the first call waiting status information corresponding to the first target network is used to update the second call waiting status information corresponding to the second target network, thereby increasing the priority of the first call waiting status information corresponding to the first target network and ensuring the accuracy of the call waiting status information.
[0068] Optionally, in this embodiment, the first call waiting status information can be obtained from the modem by sending a query command to the modem. That is, optionally, in some embodiments of this application, the step "obtaining the first call waiting status information from the modem of the terminal device" includes:
[0069] Send a status information query command to the modem;
[0070] Receive the status result information returned by the modem in response to the status information query command;
[0071] The status result information is used as the first call waiting status information.
[0072] It is understood that in this embodiment of the application, the first target network refers to a 4G communication network. Accordingly, the call waiting service corresponding to the 4G communication network is based on the terminal base, that is, the corresponding call waiting status information is stored in the modem. Therefore, when the device registers to the 4G communication network, it can directly obtain the corresponding call waiting status information from the modem.
[0073] Optionally, in this embodiment, the first call waiting status information can also be obtained by receiving configuration information for call waiting input from the user interface. That is, optionally, in some embodiments of this application, the step "obtaining the first call waiting status information from the modem of the terminal device" includes:
[0074] In response to configuration operations related to call waiting status information, a call waiting status information configuration interface is generated.
[0075] Receive the information editing operation input through the call waiting status information to obtain call waiting editing information;
[0076] The call waiting edit information is used as the first call waiting status information.
[0077] It is understandable that by providing a configuration interface for call waiting, users can be received to configure call waiting information through this interface, thereby obtaining the corresponding first call waiting status information.
[0078] Correspondingly, the call waiting information based on the first target network (such as a 4G communication network) is stored in the modem. Therefore, the call waiting information configured for the user interface also needs to be updated to the corresponding modem after being saved.
[0079] Since the call waiting service is based on different foundations after the terminal device switches networks (e.g., 4G communication networks are based on terminal bases, while 3G communication networks are based on network bases), in order to avoid inconsistencies in call waiting status information after the communication network switch, which could lead to the failure of the call waiting service, it is necessary to synchronize data between different domains (the IMS domain corresponding to the terminal base and the CS domain corresponding to the network base) in a timely manner after the communication network switch. Therefore, in this embodiment, when the status information of the terminal device changes, the execution information synchronization can be triggered, that is, the acquisition of the first call waiting status information can begin. Optionally, in some embodiments of this application, before the step "if the terminal device is registered to the first target network, then acquire the first call waiting status information from the modem of the terminal device", the method further includes:
[0080] If the status information of the terminal device changes, then search the network registered by the terminal device;
[0081] The status information includes at least one of the following: SIM card inserted, reboot, firmware flashing, or network coverage area.
[0082] It is understandable that inserting a user identification card refers to inserting a SIM card into the terminal device, for example, inserting a SIM card to register to a 4G communication network; restarting refers to restarting the terminal device and reconnecting to the network; flashing refers to reinstalling the system on the terminal device, which requires reconnecting to the network; network coverage area refers to a change in the area covering the terminal device, for example, the terminal device is moved from a 3G communication network area to a 4G communication network area.
[0083] When the status information changes, the terminal device basically needs to reconnect to the communication network. Therefore, based on the new network accessed or registered, the call waiting information is synchronized to ensure the consistency of the call waiting information before and after the network switch, and to ensure the effectiveness of the call waiting service.
[0084] In this embodiment, call waiting information is synchronized when switching to the first target network (such as a 4G communication network), and the second call waiting status information is updated when switching to the second target network based on the first call waiting status information. This achieves the goal of using the first call waiting status information as the basis for updating, thereby increasing the priority of call waiting information in the first target network and ensuring the accuracy of call waiting information updates.
[0085] Optionally, in this embodiment, the first target network refers to a 4G communication network, the second target network refers to a 3G communication network, and the 4G communication network corresponds to the multimedia subsystem domain. Therefore, the first call waiting status information can be obtained from the modem of the multimedia subsystem domain. Accordingly, the step "switching the first target network to the second target network" includes:
[0086] The 4G communication network is then dropped back to the 3G communication network, which corresponds to the circuit-switched domain.
[0087] Since 4G communication networks have comprehensive coverage and wide application, updating 3G communication network call waiting data with 4G communication network call waiting data can ensure the accuracy of call waiting information synchronization.
[0088] Optionally, when the terminal device makes a call using a 4G communication network, call waiting control can be performed on the incoming third-party call based on the first call waiting status information. When the terminal device makes a call using a 3G communication network, call waiting control can be performed on the incoming third-party call based on the updated second call waiting status information. That is, optionally, in some embodiments of this application, after the step "sending the action command to the target domain corresponding to the second target network and driving the target domain to update the corresponding second call waiting status information according to the action command", the method further includes:
[0089] If the terminal device is making a call through the multimedia subsystem domain and receives a call from a third-party device, the notification display of the incoming call is controlled by the first call waiting status information.
[0090] If the terminal device is conducting a call in the circuit-switched domain and receives a call from a third-party device, the notification display of the incoming call is controlled by the updated call waiting status information obtained after the update.
[0091] It is understandable that although call waiting control is performed through different domains, the effect of call waiting control based on different domains is consistent because the call waiting information of different domains has been synchronized. No matter how the terminal device switches communication networks, the expected call waiting control effect can be achieved. This solves the problem of call waiting control being different due to different communication networks, which causes the call waiting function to fail to meet expectations and improves the user experience.
[0092] Optionally, in this embodiment, since the call waiting information synchronization only occurs when switching to the first target network, the corresponding second call waiting status information can remain unchanged when the terminal device registers to the second target network. That is, optionally, in some embodiments of this application, before the step "if the terminal device registers to the first target network, then obtain the first call waiting status information from the modem of the terminal device", the method further includes:
[0093] If the terminal device registers with the second target network, the second call waiting status information corresponding to the second target network remains unchanged;
[0094] The second call waiting status information is obtained based on the second target network after receiving information editing operations input through the call waiting status information configuration interface.
[0095] Understandably, since the call waiting status information has not been updated since the first target network was not switched to, maintaining the second call waiting status information corresponding to the second target network will ensure that the call waiting status information has the corresponding accuracy and availability.
[0096] In this embodiment, the editing of call waiting status information under the second target network (such as a 3G communication network) can also be achieved through a configuration interface under the 3G communication network. For example, when a mobile phone UE1 inserts a carrier SIM card and attaches to 3G (i.e., registers for 3G), the user enters the call waiting settings interface and disables call waiting. Currently, the carrier's call waiting configuration under 3G is Network Base (CS only), requiring interaction with the network. Therefore, when call waiting is disabled, the modem sends an SS_REGISTER signaling message to the circuit-switched network. Upon receiving the message, the network disables call waiting and reports the current status as disabled. At this time, the call waiting status of the SIM card is disabled.
[0097] Correspondingly, for the three changes in mobile phone status information, the corresponding information synchronization includes:
[0098] 1. Information synchronization control for network access during UE1 phone reboot or flashing includes:
[0099] After the SIM card file is loaded, determine whether the current UE1 phone is in IMS registration status.
[0100] If the current status of mobile phone UE1 is IMS (VOLTE / VOWIFI) registration status, the mobile phone UE1 AP sends the AT+ECUSD command to query the call waiting (CW) status in the current modem;
[0101] If the mobile phone finds that the CW status stored in the modem is enabled, the modem sends an SS_REGISTER signaling message (carrying the parameter "enable") to the CS network. Upon receiving this information, the CS network directly changes its current disabled state to enabled. This maintains synchronization with the IMS domain CW status, ensuring the normal operation of the CW function.
[0102] If the mobile phone finds that the CW status stored in the modem is disabled, the modem sends an SS_REGISTER signal (carrying the parameter "disable") to the CS network. Upon receiving this information, the CS network directly updates its current disabled status. This maintains synchronization with the IMS domain CW status, ensuring the normal operation of the CW function.
[0103] If the current UE1 status of the mobile phone is not registered or the inserted SIM card is a card that supports IMS, the mobile phone can only perform CW function interaction in the CS domain, so the status remains unchanged. The network-side CW status will only change when the user enters the CW settings interface to change the CW status.
[0104] After successful IMS status registration, if the user enters the CW settings interface and sends an AT+ECUSD command or dials the code **43#, #43# to enable / disable CW, the modem will simultaneously send an SS_REGISTER signaling message to the CS network to synchronize the current CW status, ensuring smooth operation of the CW function.
[0105] 2. When UE1 disables call waiting mode, removes the SIM card, inserts it into UE2, and waits for the SIM card to load, the system checks whether UE2 is in IMS registration mode (SIM card inserted). This network access synchronization control includes:
[0106] If the current status of mobile UE2 is IMS (VOLTE / VOWIFI) registration status, the mobile UE2 AP sends the AT+ECUSD command to query the CW status in the current modem;
[0107] If the mobile phone finds that the CW status stored in the modem is enabled, the modem sends an SS_REGISTER signaling message (carrying the parameter "enable") to the CS network. Upon receiving this information, the CS network directly changes its current disabled state to enabled. This maintains synchronization with the IMS domain CW status, ensuring the normal operation of the CW function.
[0108] If the mobile phone finds that the CW status stored in the modem is disabled, the modem sends an SS_REGISTER signal (carrying the parameter "disable") to the CS network. Upon receiving this information, the CS network directly updates its current disabled status. This maintains synchronization with the IMS domain CW status, ensuring the normal operation of the CW function.
[0109] If the current UE2 is not registered or the inserted SIM card supports IMS, the mobile phone can only perform CW function interaction in the CS domain, so the state remains unchanged. The network-side CW state will only change when the user enters the CW settings interface to change the CW state.
[0110] After successful IMS status registration, if the user enters the CW settings interface and sends an AT+ECUSD command or dials the code **43#, #43# to enable / disable CW, the modem will simultaneously send an SS_REGISTER signaling message to the CS network to synchronize the current CW status, ensuring smooth operation of the CW function.
[0111] 3. Information synchronization control for mobile network access when the coverage area changes includes:
[0112] When UE1 moves from a 3G network to a 4G network area and registers for IMS, the AP receives a broadcast that the network status has changed and determines whether it has registered for IMS.
[0113] If the current state of UE1 is IMS (VOLTE / VOWIFI) registration state, the mobile UE1 AP sends the AT+ECUSD command to query the CW status in the current modem;
[0114] If the mobile phone finds that the CW status stored in the modem is enabled, the modem sends an SS_REGISTER signaling message (carrying the parameter "enable") to the CS network. Upon receiving this information, the CS network directly changes its current disabled state to enabled. This maintains synchronization with the IMS domain CW status, ensuring the normal operation of the CW function.
[0115] If the mobile phone finds that the CW status stored in the modem is disabled, the modem sends an SS_REGISTER signal (carrying the parameter "disable") to the CS network. Upon receiving this information, the CS network directly updates its current disabled status. This maintains synchronization with the IMS domain CW status, ensuring the normal operation of the CW function.
[0116] If the current UE1 is not registered or the inserted SIM card is an IMS-enabled card, the mobile phone can only perform CW function interaction in the CS domain, so the state remains unchanged. The network-side CW state will only change when the user enters the CW settings interface to change the CW state.
[0117] After successful IMS status registration, if the user enters the CW settings interface and sends an AT+ECUSD command or dials the code **43#, #43# to enable / disable CW, the modem will simultaneously send an SS_REGISTER signaling message to the CS network to synchronize the current CW status, ensuring smooth operation of the CW function.
[0118] Understandably, mobile phones can use UE Base for IMS registration with operators, but not Network Base for non-registered IMS users. In various scenarios such as phone restart, SIM card switching, and network registration status changes, the CW state under UE Base (Terminal Base) can be synchronized to the CS domain. This ensures CW state synchronization between the IMS and CS domains, guaranteeing smooth CW functionality. Especially during IMS registration, when the user changes the CW state, it is also synchronized to the CS domain. This not only meets operator requirements but also significantly improves CW functionality. Regardless of whether the phone is in VoLTE / VoIWFI or 2G / 3G mode, it can successfully receive or reject third-party calls, enhancing the user experience.
[0119] Please see Figure 3 , Figure 3 This is another flowchart illustrating the information synchronization method provided in this application embodiment, wherein the information synchronization method is applied to a mobile phone, and the information synchronization method for the mobile phone specifically includes:
[0120] 201. The user identification card is inserted into the phone, or the user identification card information is loaded after the phone is restarted or flashed, or the phone is moved to another network coverage area;
[0121] 202. Determine if the mobile phone is registered with IMS. If yes, proceed to step 203; otherwise, proceed to step 207.
[0122] 203. The mobile phone sends AT+ECUSD from the AP to the modem to query the CW status;
[0123] 204. Determine if the CW status is enabled. If yes, proceed to step 205; otherwise, proceed to step 206.
[0124] 205. The mobile phone modem sends an SS_REGISTER message to the CS network to open CW;
[0125] 206. The mobile phone modem sends an SS_REGISTER message to the CS network to disable CW;
[0126] 207. Keep the CW state unchanged in the CS network;
[0127] Specifically, after turning the CW of the CS network on or off according to the CW state of the modem, the CW state of the CS network after receiving the state update information is kept consistent with the CW state under the IMS domain UE Base.
[0128] In this embodiment of the application, after it is determined that the mobile phone is registered to IMS, it can also receive AT+ECUSD (enable / disable) input by the user through the CW settings interface or input the code **43# through the dial pad, #43# to enable or disable CW and report the result to the AP end, and then synchronize and update the CS network based on the CW status edited by the user.
[0129] In this embodiment of the application, the user identification card inserted into the mobile phone can also be obtained by editing the CW settings interface on another mobile phone. For example, the other mobile phone inserts a carrier SIM card, registers to 3G, enters the CW settings interface to disable the CW service, and sends an SS_REGISTER message to the CS network to disable the CW service. After receiving the message, the CS network successfully disables the CW service and returns an SS_RELEASE message to the other mobile phone, informing the other mobile phone that the current state is disabled.
[0130] To facilitate better implementation of the information synchronization method of this application, this application also provides an information synchronization device based on the above-described information synchronization method. The meanings of the terms used are the same as in the above-described information synchronization method, and specific implementation details can be found in the description of the method embodiments.
[0131] Please see Figure 4 , Figure 4 This is a schematic diagram of the structure of the information synchronization device provided in the embodiments of this application, wherein the information synchronization device may specifically be as follows:
[0132] The acquisition module 301 is used to acquire first call waiting status information from the modem of the terminal device if the terminal device is registered to the first target network;
[0133] Switching module 302 is used to generate an action command based on the first call waiting status information and switch the first target network to the second target network;
[0134] The synchronization module 303 is used to send the action command to the target domain corresponding to the second target network, and to drive the target domain to update the corresponding second call waiting status information according to the action command.
[0135] Optionally, in some embodiments of this application, the acquisition module 301 includes:
[0136] The sending unit is used to send a status information query command to the modem;
[0137] The first receiving unit is configured to receive status result information returned by the modem in response to the status information query command;
[0138] The first determining unit is used to use the status result information as the first call waiting status information.
[0139] In some embodiments of this application, the acquisition module 301 includes:
[0140] The response unit is used to generate a call waiting status information configuration interface in response to configuration operations for call waiting status information.
[0141] The second receiving unit is used to receive the information editing operation input through the call waiting status information, and obtain call waiting editing information;
[0142] The second determining unit is used to use the call waiting editing information as the first call waiting status information.
[0143] In some embodiments of this application, the device further includes a startup module, which includes:
[0144] The search unit is used to search the network registered by the terminal device if the status information of the terminal device changes.
[0145] The status information includes at least one of the following: SIM card inserted, reboot, firmware flashing, or network coverage area.
[0146] In some embodiments of this application, the first target network includes a 4G communication network, and the acquisition module 301 includes:
[0147] The acquisition unit is used to acquire first call waiting status information from the modem of the multimedia subsystem domain, wherein the multimedia subsystem domain corresponds to the 4G communication network;
[0148] The second target communication network includes a 3G communication network, and the switching module 302 includes:
[0149] A switching unit is used to fall back the 4G communication network to the 3G communication network, wherein the 3G communication network corresponds to the circuit-switched domain.
[0150] In some embodiments of this application, the device further includes an application module, which includes:
[0151] The first application unit is configured to control the notification display of the incoming call through the first call waiting status information if the terminal device is making a call through the multimedia subsystem domain and receives an incoming call from a third-party device.
[0152] The second application unit is used to control the notification display of the incoming call through the updated call waiting status information obtained after the update if the terminal device is making a call through the circuit-switched domain and receives an incoming call from a third-party device.
[0153] In some embodiments of this application, the device further includes an adjustment module, which includes:
[0154] The adjustment unit is used to keep the second call waiting state information corresponding to the second target network unchanged if the terminal device registers with the second target network.
[0155] The second call waiting status information is obtained based on the second target network after receiving information editing operations input through the call waiting status information configuration interface.
[0156] In this embodiment, if the terminal device is registered to the first target network, the acquisition module 301 first obtains the first call waiting status information from the modem of the terminal device. Then, the switching module 302 generates an action command based on the first call waiting status information and switches the first target network to the second target network. Then, the synchronization module 303 sends the action command to the target domain corresponding to the second target network and drives the target domain to update the corresponding second call waiting status information according to the action command.
[0157] It is understandable that by obtaining the first call waiting status information upon registration with the first target network, and then using this first call waiting status information to synchronously update the second call waiting status information corresponding to the second target network, data synchronization between the network domain corresponding to the first target network and the target domain corresponding to the second target network can be achieved, maintaining the effectiveness of the call waiting service and improving the user experience. Specifically, in this embodiment, the first call waiting status information corresponding to the first target network is used to update the second call waiting status information corresponding to the second target network, thereby increasing the priority of the first call waiting status information corresponding to the first target network and ensuring the accuracy of the call waiting status information.
[0158] In addition, this application also provides an electronic device, such as Figure 5 As shown, it illustrates the structural diagram of the electronic device involved in this application, specifically:
[0159] The electronic device may include components such as a processor 401 with one or more processing cores, a memory 402 with one or more computer-readable storage media, a power supply 403, and an input unit 404. Those skilled in the art will understand that... Figure 5 The electronic device structure shown does not constitute a limitation on the electronic device and may include more or fewer components than shown, or combine certain components, or have different component arrangements. Wherein:
[0160] The processor 401 is the control center of the electronic device. It connects various parts of the electronic device via various interfaces and lines. By running or executing software programs and / or modules stored in the memory 402, and by calling data stored in the memory 402, it performs various functions and processes data, thereby providing overall monitoring of the electronic device. Optionally, the processor 401 may include one or more processing cores; preferably, the processor 401 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface, and applications, and the modem processor mainly handles wireless communication. It is understood that the modem processor may not be integrated into the processor 401.
[0161] The memory 402 can be used to store software programs and modules. The processor 401 executes various functional applications and data processing by running the software programs and modules stored in the memory 402. The memory 402 may mainly include a program storage area and a data storage area. The program storage area may store the operating system, application programs required for at least one function (such as sound playback function, image playback function, etc.), etc.; the data storage area may store data created according to the use of the electronic device, etc. In addition, the memory 402 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 402 may also include a memory controller to provide the processor 401 with access to the memory 402.
[0162] The electronic device also includes a power supply 403 that supplies power to the various components. Preferably, the power supply 403 can be logically connected to the processor 401 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system. The power supply 403 may also include one or more DC or AC power supplies, recharging systems, power fault detection circuits, power converters or inverters, power status indicators, and other arbitrary components.
[0163] The electronic device may also include an input unit 404, which can be used to receive input digital or character information, and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
[0164] Although not shown, the electronic device may also include a display unit, etc., which will not be described in detail here. Specifically, in this embodiment, the processor 401 in the electronic device loads the executable files corresponding to the processes of one or more applications into the memory 402 according to the following instructions, and the processor 401 runs the applications stored in the memory 402, thereby implementing the steps in any of the information synchronization methods provided in the embodiments of this application.
[0165] In this embodiment of the application, if the terminal device registers with the first target network, it obtains the first call waiting status information from the modem of the terminal device; generates an action command based on the first call waiting status information, switches the first target network to the second target network, sends the action command to the target domain corresponding to the second target network, and drives the target domain to update the corresponding second call waiting status information according to the action command.
[0166] Specifically, by acquiring the first call waiting status information upon registration with the first target network, and then synchronously updating the second call waiting status information corresponding to the second target network using this first call waiting status information, data synchronization between the network domain corresponding to the first target network and the target domain corresponding to the second target network is achieved, maintaining the effectiveness of the call waiting service and improving user experience. In this embodiment, updating the second call waiting status information corresponding to the second target network using the first call waiting status information corresponding to the first target network prioritizes the first call waiting status information corresponding to the first target network, ensuring the accuracy of the call waiting status information.
[0167] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.
[0168] 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.
[0169] Therefore, this application provides a computer-readable storage medium storing a computer program that can be loaded by a processor to execute the steps in any of the information synchronization methods provided in this application.
[0170] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.
[0171] The computer-readable storage medium may include: read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.
[0172] Since the instructions stored in the computer-readable storage medium can execute the steps of any of the information synchronization methods provided in this application, the beneficial effects that any of the information synchronization methods provided in this application can achieve can be realized, as detailed in the preceding embodiments, and will not be repeated here.
[0173] The above provides a detailed description of the information synchronization method, apparatus, electronic device, and computer-readable storage medium provided in this application. Specific examples have been used to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of the present invention. At the same time, those skilled in the art will recognize that there will be changes in the specific implementation methods and application scope based on the ideas of the present invention. Therefore, the content of this specification should not be construed as a limitation of the present invention.
[0174] It should be noted that, in the specific embodiments of this application, data related to the device's communication network information, device call information, call waiting status information, and communication information between various components within the device (such as status information query instructions and returned status result information), as well as the device's status information (such as insertion of a user identification card, restart, flashing, or changes in network coverage area) are involved. When the above embodiments of this application are applied to specific products or technologies, user permission or consent is required, and the collection, use, and processing of related data must comply with the relevant laws, regulations, and standards of the relevant countries and regions.
Claims
1. An information synchronization method, characterized in that, Applied to terminal devices, including: If the terminal device registers with the second target network, the second call waiting status information corresponding to the second target network remains unchanged; If the terminal device is registered to the first target network, then the first call waiting status information is obtained from the modem of the terminal device; Generate an action command based on the first call waiting status information, and switch the first target network to the second target network; The action command is sent to the target domain corresponding to the second target network, and the target domain is driven to update the corresponding second call waiting status information according to the action command; The first target network includes a 4G communication network, and the second target network includes a 3G communication network. The second target network is synchronized based on the first call waiting status information of the 4G communication network. If the terminal device is making a call through the multimedia subsystem domain and receives a call from a third-party device, the notification display of the incoming call is controlled by the first call waiting status information. If the terminal device is conducting a call in the circuit-switched domain and receives a call from a third-party device, the notification display of the incoming call is controlled by the updated call waiting status information obtained after the update.
2. The information synchronization method according to claim 1, characterized in that, The step of obtaining the first call waiting status information from the modem of the terminal device includes: Send a status information query command to the modem; Receive the status result information returned by the modem in response to the status information query command; The status result information is used as the first call waiting status information.
3. The information synchronization method according to claim 1, characterized in that, The step of obtaining the first call waiting status information from the modem of the terminal device includes: In response to configuration operations related to call waiting status information, a call waiting status information configuration interface is generated. Receive the information editing operation input through the call waiting status information to obtain call waiting editing information; The call waiting edit information is used as the first call waiting status information.
4. The information synchronization method according to claim 1, characterized in that, Before obtaining the first call waiting status information from the modem of the terminal device if the terminal device is registered to the first target network, the method further includes: If the status information of the terminal device changes, then search the network registered by the terminal device; The status information includes at least one of the following: SIM card inserted, reboot, firmware flashing, or network coverage area.
5. The information synchronization method according to claim 1, characterized in that, The step of obtaining the first call waiting status information from the modem of the terminal device includes: Obtain first call waiting status information from the modem of the multimedia subsystem domain, which corresponds to the 4G communication network; The step of switching the first target network to the second target network includes: The 4G communication network is then dropped back to the 3G communication network, which corresponds to the circuit-switched domain.
6. The information synchronization method according to claim 1, characterized in that, The second call waiting status information is obtained based on the second target network after receiving information editing operations input through the call waiting status information configuration interface.
7. An information synchronization device, characterized in that, Applied to terminal devices, including: The acquisition module is configured to, if the terminal device is registered to the second target network, keep the second call waiting status information corresponding to the second target network unchanged; if the terminal device is registered to the first target network, acquire the first call waiting status information from the modem of the terminal device. The switching module is used to generate an action command based on the first call waiting status information and switch the first target network to the second target network. The synchronization module is used to send the action command to the target domain corresponding to the second target network, and to drive the target domain to update the corresponding second call waiting status information according to the action command; The first target network includes a 4G communication network, and the second target network includes a 3G communication network. The second target network is synchronized based on the first call waiting status information of the 4G communication network. If the terminal device is making a call through the multimedia subsystem domain and receives a call from a third-party device, the notification display of the incoming call is controlled by the first call waiting status information. If the terminal device is conducting a call in the circuit-switched domain and receives a call from a third-party device, the notification display of the incoming call is controlled by the updated call waiting status information obtained after the update.
8. An electronic device, characterized in that, It includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the information synchronization method as described in any one of claims 1-6.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the information synchronization method as described in any one of claims 1-6.