Search

CN-116668972-B - Information synchronization method, device, electronic equipment and computer readable storage medium

CN116668972BCN 116668972 BCN116668972 BCN 116668972BCN-116668972-B

Abstract

The embodiment of the application discloses an information synchronization method, an information synchronization device, electronic equipment and a computer readable storage medium, wherein the method comprises the steps of acquiring first call waiting state information from a modem of terminal equipment if the terminal equipment is registered to a first target network; and sending the action command to a target domain corresponding to the second target network, and driving the target domain to update the corresponding second call waiting state information according to the action command. The method has the advantages that the first call waiting state information is acquired when the first call waiting state information is registered to the first target network, and the second call waiting state information corresponding to the second target network is synchronously updated through the first call waiting state information, so that the data synchronization of the network domain corresponding to the first target network and the target domain corresponding to the second target network is realized, the effectiveness of the call waiting service is maintained, and the user experience is improved.

Inventors

  • WANG WANYING

Assignees

  • TCL通讯科技(成都)有限公司

Dates

Publication Date
20260512
Application Date
20230606

Claims (9)

  1. 1. An information synchronization method, which is applied to a terminal device, includes: If the terminal equipment is registered to a second target network, keeping second call waiting state information corresponding to the second target network unchanged; If the terminal equipment is registered to a first target network, acquiring first call waiting state information from a modem of the terminal equipment; generating an action command according to the first call waiting state information, and switching the first target network to a second target network; The action command is sent to a target domain corresponding to the second target network, and the target domain is driven to update corresponding second call waiting state information according to the action command; The first target network comprises a 4G communication network, the second target network comprises a 3G communication network, and the second target network is synchronized by taking first call waiting state information of the 4G communication network as a reference; if the terminal equipment is communicating through the multimedia subsystem domain and receives an incoming call of the third party equipment, controlling the notification display of the incoming call through the first call waiting state information; if the terminal equipment is communicating through the circuit switching domain and receives the incoming call of the third party equipment, the notification display of the incoming call is controlled through the updated call waiting state information obtained after updating.
  2. 2. The method for synchronizing information according to claim 1, wherein said obtaining first call waiting state information from a modem of the terminal device comprises: sending a state information inquiry instruction to the modem; Receiving state result information returned by the modem in response to the state information inquiry instruction; and taking the state result information as first call waiting state information.
  3. 3. The method for synchronizing information according to claim 1, wherein said obtaining first call waiting state information from a modem of the terminal device comprises: Generating a call waiting state information configuration interface in response to a configuration operation for the call waiting state information; Receiving an information editing operation input through the call waiting state information to obtain call waiting editing information; And taking the call waiting editing information as first call waiting state information.
  4. 4. The information synchronization method according to claim 1, wherein before the first call waiting state information is acquired from the modem of the terminal device if the terminal device is registered with the first target network, the method further comprises: if the state information of the terminal equipment is sent to change, searching a network registered by the terminal equipment; the status information includes at least one of inserting a subscriber identification card, restarting, swiping a machine, or network coverage area.
  5. 5. The method for synchronizing information according to claim 1, wherein said obtaining first call waiting state information from a modem of the terminal device comprises: acquiring first call waiting state information from a modem of a multimedia subsystem domain, wherein the multimedia subsystem domain corresponds to the 4G communication network; The switching the first target network to a second target network includes: and dropping the 4G communication network back to the 3G communication network, wherein the 3G communication network corresponds to a circuit switching domain.
  6. 6. The method according to claim 1, wherein the second on-hold status information is obtained after receiving an information editing operation input through the on-hold status information configuration interface based on the second target network.
  7. 7. An information synchronization apparatus, characterized by being applied to a terminal device, comprising: the terminal equipment comprises an acquisition module, a first call waiting state information acquisition module and a second call waiting state information acquisition module, wherein the acquisition module is used for keeping second call waiting state information corresponding to a second target network unchanged if the terminal equipment is registered to the second target network; the switching module is used for generating an action command according to the first call waiting state information and switching the first target network to a second target network; the synchronization module is used for sending the action command to a target domain corresponding to the second target network and driving the target domain to update the corresponding second call waiting state information according to the action command; The first target network comprises a 4G communication network, the second target network comprises a 3G communication network, and the second target network is synchronized by taking first call waiting state information of the 4G communication network as a reference; if the terminal equipment is communicating through the multimedia subsystem domain and receives an incoming call of the third party equipment, controlling the notification display of the incoming call through the first call waiting state information; if the terminal equipment is communicating through the circuit switching domain and receives the incoming call of the third party equipment, the notification display of the incoming call is controlled through the updated call waiting state information obtained after updating.
  8. 8. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps in the information synchronization method according to any one of claims 1-6 when the computer program is executed by the processor.
  9. 9. A computer readable storage medium, characterized in that the computer readable storage medium has stored thereon a computer program which, when executed by a processor, implements the steps in the information synchronization method according to any of the claims 1-6.

Description

Information synchronization method, device, electronic equipment and computer readable storage medium Technical Field The embodiment of the application relates to the technical field of computers, in particular to an information synchronization method, an information synchronization device, electronic equipment and a computer readable storage medium. Background The call waiting service (CW, CALL WAITING) refers to that a call is being made and a third party can hear a "beep" call waiting sound when he or she is calling, and at this time, he or she can choose to hang up the former party, answer the third party's call, or refuse to answer the third party's call. The switch of the call waiting service is controlled by adopting data of different domain channels based on different network configurations, for example, when the terminal is in a 2/3G communication network, the switch of the call waiting service is determined by the configuration parameters of the CS domain and the corresponding network, and when the terminal is in a 4G communication network, the switch of the call waiting service is determined by the configuration parameters of the IMS domain. Accordingly, the configuration of the switch of the call waiting service needs to be configured from different domains, however, since there are two network domains, there is a case that data is not synchronized easily, and thus after the terminal changes the network domains, the corresponding call waiting service is not necessarily controlled according to the desired configuration, which easily results in the problem of failure of the call waiting service. Disclosure of Invention The embodiment of the application provides an information synchronization method, an information synchronization device, electronic equipment and a computer readable storage medium, which can keep the synchronization of data of all domains, keep the effectiveness of a call waiting service function and improve the user experience. The embodiment of the application provides an information synchronization method, which comprises the following steps: If the terminal equipment is registered to a first target network, acquiring first call waiting state information from a modem of the terminal equipment; generating an action command according to the first call waiting state information, and switching the first target network to a second target network; And sending the action command to a target domain corresponding to the second target network, and driving the target domain to update the corresponding second call waiting state information according to the action command. Correspondingly, the embodiment of the application also provides an information synchronization device, which comprises: an obtaining module, configured to obtain first call waiting state information from a modem of the terminal device if the terminal device registers to a first target network; the switching module is used for generating an action command according to the first call waiting state information and switching the first target network to a second target network; and the synchronization module is used for sending the action command to a target domain corresponding to the second target network and driving the target domain to update the corresponding second call waiting state information according to the action command. Optionally, in some embodiments of the present application, the acquiring module includes: a transmitting unit, configured to transmit a status information query instruction to the modem; The first receiving unit is used for receiving state result information returned by the modem in response to the state information inquiry instruction; and the first determining unit is used for taking the state result information as first call waiting state information. Wherein, in some embodiments of the application, the acquisition module comprises: A response unit for generating a call waiting state information configuration interface in response to a configuration operation for the call waiting state information; The second receiving unit is used for receiving the information editing operation input through the call waiting state information to obtain the call waiting editing information; and the second determining unit is used for taking the call waiting editing information as the first call waiting state information. Wherein, in some embodiments of the present application, the apparatus further comprises a start-up module, the start-up module comprising: a searching unit, configured to search for a network registered by the terminal device if the status information of the terminal device changes; the status information includes at least one of inserting a subscriber identification card, restarting, swiping a machine, or network coverage area. Wherein, in some embodiments of the present application, the first target network comprises a 4G communication network, and the acquiring module comprises: an obtaini