(19)
(11)EP 3 244 667 A1

(12)EUROPEAN PATENT APPLICATION
published in accordance with Art. 153(4) EPC

(43)Date of publication:
15.11.2017 Bulletin 2017/46

(21)Application number: 15879426.3

(22)Date of filing:  30.01.2015
(51)Int. Cl.: 
H04W 56/00  (2009.01)
(86)International application number:
PCT/CN2015/071952
(87)International publication number:
WO 2016/119218 (04.08.2016 Gazette  2016/31)
(84)Designated Contracting States:
AL AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HR HU IE IS IT LI LT LU LV MC MK MT NL NO PL PT RO RS SE SI SK SM TR
Designated Extension States:
BA ME

(71)Applicant: Huawei Technologies Co., Ltd.
Longgang District Shenzhen, Guangdong 518129 (CN)

(72)Inventor:
  • WANG, Wenlin
    Shenzhen Guangdong 518129 (CN)

(74)Representative: Körber, Martin Hans 
Mitscherlich PartmbB Patent- und Rechtsanwälte Sonnenstrasse 33
80331 München
80331 München (DE)

  


(54)CALL SUPPLEMENTARY SERVICE CONFIGURATION SYNCHRONIZATION METHOD, APPARATUS AND SYSTEM


(57) A synchronization method for call supplementary service configuration includes: receiving an entered supplementary service configuration instruction, and obtaining a configuration parameter corresponding to the supplementary service configuration instruction; uploading the configuration parameter to a mobile switching center by using a circuit switched domain, so that the mobile switching center stores the configuration parameter as call supplementary service configuration of the circuit switched domain into a home location register; receiving returned configuration feedback information; and determining, according to the configuration feedback information, whether configuration succeeds, and storing the configuration parameter as on-terminal call supplementary service configuration if the configuration succeeds. In addition, a synchronization apparatus and system for call supplementary service configuration as well as a synchronization method for call supplementary service configuration that matches the system are provided. The foregoing synchronization method, apparatus, and system for call supplementary service configuration can enable on-terminal call supplementary service configuration to adapt to multiple communications networks.




Description

TECHNICAL FIELD



[0001] The present invention relates to the field of communications technologies, and in particular, to a synchronization method, apparatus, and system for call supplementary service configuration.

BACKGROUND



[0002] Supplementary services are improvements and supplements to basic services in mobile communications, and mainly include seven categories: call identification, call forwarding, call completion, multiparty call, call barring, charging notification, and closed user group. For example, a call waiting service is one of supplementary services of a voice call service (basic service). A function of the call waiting service is as follows: When a mobile phone user is on a call, and another call is initiated to the user, in this case, a party that initiates the new call is set to wait, and the user on a call may select whether to answer the new incoming call, or reject or neglect the new incoming call.

[0003] However, with a generational shift of a communications network, an implementation manner of the supplementary services in each generation of communications network is not the same. For example, in a conventional 2G (GSM, CDMA, and the like) or 3G (WCDMA and the like) network, a voice call service and its corresponding supplementary service are borne by a circuit switched domain (that is, CS domain, Circuit Switch), and service configuration of the voice call service is stored in a subscriber configuration database (that is, HLR, Home Location Register, home location register) on a network side in a core network. When the corresponding supplementary service is conducted, a mobile switching center (MSC, Mobile Switching Center) reads the corresponding service configuration. However, in an emerging LTE (Long Term Evolution, Long Term Evolution system, that is, a 4G network) network, a voice call uses a VoLTE (Voice over LTE Network) technology, and is borne by an IMS (IP Multimedia Subsystem, multimedia subsystem) domain of the LTE network. Service configuration of a VoLTE service is stored on a terminal. When a user moves from an area covered by the LTE network to an area covered by the conventional 2G or 3G network and a handover occurs, a case in which call supplementary service configuration is not synchronous occurs, thereby requiring the user to manually re-perform configuration. Therefore, a capability of adapting to multiple communications networks in a process of performing call supplementary service configuration in a conventional technology is relatively low.

SUMMARY



[0004] In view of this, it is necessary to provide a synchronization method for call supplementary service configuration that can improve a capability of adapting to multiple communications networks. The method includes:

receiving an entered supplementary service configuration instruction, and obtaining a configuration parameter corresponding to the supplementary service configuration instruction;

uploading the configuration parameter to a mobile switching center by using a circuit switched domain, so that the mobile switching center stores the configuration parameter as call supplementary service configuration of the circuit switched domain into a home location register;

receiving returned configuration feedback information; and

determining, according to the configuration feedback information, whether configuration succeeds, and storing the configuration parameter as on-terminal call supplementary service configuration if the configuration succeeds.



[0005] In a first possible implementation manner of a first aspect, before the step of receiving an entered supplementary service configuration instruction, the method further includes:

receiving a power-on instruction, and downloading call supplementary service configuration of the circuit switched domain by using the circuit switched domain from the home location register; and

storing the downloaded call supplementary service configuration of the circuit switched domain as on-terminal call supplementary service configuration.



[0006] With reference to the possible implementation manner of the first aspect, in a second possible implementation manner, before the step of receiving an entered supplementary service configuration instruction, the method further includes:

receiving a service configuration display instruction, and downloading call supplementary service configuration of the circuit switched domain by using the circuit switched domain from the home location register; and

storing the downloaded call supplementary service configuration of the circuit switched domain as on-terminal call supplementary service configuration, and displaying the on-terminal call supplementary service configuration.



[0007] With reference to the first aspect and the first or the second possible implementation manner of the first aspect, in a third possible implementation manner, the step of downloading call supplementary service configuration of the circuit switched domain by using the circuit switched domain from the home location register is:

invoking a communications interface function of a radio interface layer, and downloading the call supplementary service configuration of the circuit switched domain from the home location register by using the function.



[0008] With reference to the possible implementation manners of the first aspect, in a fourth possible implementation manner, after the step of determining, according to the configuration feedback information, whether configuration succeeds, the method further includes:

discarding the configuration parameter if the configuration fails.



[0009] With reference to the possible implementation manners of the first aspect, in a fifth possible implementation manner, after the step of determining, according to the configuration feedback information, whether configuration succeeds, the method further includes:

storing the configuration parameter as on-terminal call supplementary service configuration if the configuration fails; and

periodically uploading the on-terminal call supplementary service configuration to the mobile switching center, so that the mobile switching center stores the on-terminal call supplementary service configuration as the call supplementary service configuration of the circuit switched domain into the home location register.



[0010] With reference to the possible implementation manners of the first aspect, in a sixth possible implementation manner, after the step of determining, according to the configuration feedback information, whether configuration succeeds, the method further includes:

storing the configuration parameter as the on-terminal call supplementary service configuration if the configuration fails; and when it is detected that a network handover occurs, uploading the on-terminal call supplementary service configuration to the mobile switching center, so that the mobile switching center stores the on-terminal call supplementary service configuration as the call supplementary service configuration of the circuit switched domain into the home location register.



[0011] In addition, it is further necessary to provide a synchronization apparatus for call supplementary service configuration that can improve a capability of adapting to multiple communications networks.

[0012] A second aspect of an embodiment of the present invention provides a synchronization apparatus for call supplementary service configuration, including:

a configuration instruction receiving module, configured to receive an entered supplementary service configuration instruction, and obtain a configuration parameter corresponding to the supplementary service configuration instruction;

a circuit switched domain configuration module, configured to upload the configuration parameter to a mobile switching center by using a circuit switched domain, so that the mobile switching center stores the configuration parameter as call supplementary service configuration of the circuit switched domain into a home location register;

a feedback information receiving module, configured to receive returned configuration feedback information; and

a local configuration module, configured to determine, according to the configuration feedback information, whether configuration succeeds, and store the configuration parameter as on-terminal call supplementary service configuration if the configuration succeeds.



[0013] In a first possible implementation manner of the second aspect, the apparatus further includes a power-on synchronization module, configured to receive a power-on instruction, and download call supplementary service configuration of the circuit switched domain by using the circuit switched domain from the home location register; and
store the downloaded call supplementary service configuration of the circuit switched domain as on-terminal call supplementary service configuration.

[0014] With reference to the possible implementation manner of the second aspect, in a second possible implementation manner, the apparatus further includes a configuration display module, configured to receive a service configuration display instruction, and download call supplementary service configuration of the circuit switched domain by using the circuit switched domain from the home location register; and
store the downloaded call supplementary service configuration of the circuit switched domain as on-terminal call supplementary service configuration, and display the on-terminal call supplementary service configuration.

[0015] With reference to the second aspect and the first or the second possible implementation manner of the second aspect, in a third possible implementation manner, the power-on synchronization module or the configuration display module is further configured to invoke a communications interface function of a radio interface layer, and download call supplementary service configuration of the circuit switched domain from the home location register by using the function.

[0016] With reference to the possible implementation manners of the second aspect, in a fourth possible implementation manner, the local configuration module is further configured to discard the configuration parameter if the configuration fails.

[0017] With reference to the possible implementation manners of the second aspect, in a fifth possible implementation manner, the local configuration module is further configured to store the configuration parameter as on-terminal call supplementary service configuration if the configuration fails; and periodically upload the on-terminal call supplementary service configuration to the mobile switching center, so that the mobile switching center stores the on-terminal call supplementary service configuration as the call supplementary service configuration of the circuit switched domain into the home location register.

[0018] With reference to the possible implementation manners of the second aspect, in a sixth possible implementation manner, the local configuration module is further configured to store the configuration parameter as the on-terminal call supplementary service configuration if the configuration fails; and when it is detected that a network handover occurs, upload the on-terminal call supplementary service configuration to the mobile switching center, so that the mobile switching center stores the on-terminal call supplementary service configuration as the call supplementary service configuration of the circuit switched domain into the home location register.

[0019] In addition, it is further necessary to provide a synchronization system for call supplementary service configuration that can improve a capability of adapting to multiple communications networks.

[0020] A third aspect of an embodiment of the present invention provides a synchronization system for call supplementary service configuration, including a terminal and a home location register, where
the terminal is configured to receive an entered supplementary service configuration instruction, and obtain a configuration parameter corresponding to the supplementary service configuration instruction; and upload the configuration parameter to a mobile switching center by using a circuit switched domain, so that the mobile switching center stores the configuration parameter as call supplementary service configuration of the circuit switched domain into the home location register;
the home location register returns corresponding configuration feedback information to the terminal by using the mobile switching center; and
the terminal is further configured to determine, according to the configuration feedback information, whether configuration succeeds, and store the configuration parameter as on-terminal call supplementary service configuration into the terminal if the configuration succeeds.

[0021] In a first possible implementation manner of the third aspect, the system further includes a home subscriber server, where
the terminal is further configured to: when being handed over to a communications network based on the circuit switched domain, obtain the on-terminal call supplementary service configuration stored on the terminal, and upload the on-terminal call supplementary service configuration stored on the terminal to the home subscriber server corresponding to the terminal for storage; and
the home subscriber server is further configured to send the on-terminal call supplementary service configuration to the home location register corresponding to the terminal, where the on-terminal call supplementary service configuration is stored as call supplementary service configuration of the circuit switched domain.

[0022] With reference to the possible implementation manner of the third aspect, in a second possible implementation manner, the home location register is further configured to: when the terminal is handed over to a communications network based on a multimedia subsystem, send call supplementary service configuration, of the circuit switched domain, corresponding to the terminal to the home subscriber server corresponding to the terminal; and
the home subscriber server is further configured to deliver the received call supplementary service configuration, of the circuit switched domain, corresponding to the terminal to the terminal, so that the terminal stores the call supplementary service configuration, of the circuit switched domain, corresponding to the terminal as on-terminal call supplementary service configuration.

[0023] In addition, for the foregoing synchronization system for call supplementary service configuration, correspondingly, it is further necessary to provide a synchronization method for call supplementary service configuration that can improve a capability of adapting to multiple communications networks.

[0024] The synchronization method for call supplementary service configuration includes:

receiving, by a terminal, an entered supplementary service configuration instruction, and obtaining a configuration parameter corresponding to the supplementary service configuration instruction; and uploading the configuration parameter to a mobile switching center by using a circuit switched domain, so that the mobile switching center stores the configuration parameter as call supplementary service configuration of the circuit switched domain into a home location register;

returning, by the home location register, corresponding configuration feedback information to the terminal by using the mobile switching center; and

further determining, by the terminal according to the configuration feedback information, whether configuration succeeds, and storing the configuration parameter as on-terminal call supplementary service configuration into the terminal if the configuration succeeds.



[0025] In a first possible implementation manner of the third aspect, the method further includes:

obtaining, by the terminal when being handed over to a communications network based on the circuit switched domain, the on-terminal call supplementary service configuration stored on the terminal, and uploading the on-terminal call supplementary service configuration stored on the terminal to a home subscriber server corresponding to the terminal for storage; and

sending, by the home subscriber server, the on-terminal call supplementary service configuration to the home location register corresponding to the terminal for storage.



[0026] With reference to the possible implementation manner of the third aspect, in a second possible implementation manner, the method further includes:

sending, by the home location register when the terminal is handed over to a communications network based on a multimedia subsystem, call supplementary service configuration, of the circuit switched domain, corresponding to the terminal to the home subscriber server corresponding to the terminal; and

further delivering, by the home subscriber server, the received call supplementary service configuration, of the circuit switched domain, corresponding to the terminal to the terminal, so that the terminal stores the call supplementary service configuration, of the circuit switched domain, corresponding to the terminal as on-terminal call supplementary service configuration.



[0027] In the foregoing synchronization method for call supplementary service configuration, when performing local call supplementary service configuration, a user first performs configuration on a home location register corresponding to a terminal of the user by using a circuit switched domain, and then selects, according to a configuration result in the circuit switched domain, whether to make the local configuration take effect, so that the local configuration of the user (call supplementary service for an IMS domain) and configuration stored on the home location register (call supplementary service configuration for a CS domain) can be kept synchronous. Therefore, the local configuration of the user can be simultaneously applied to an LTE network and conventional 2G and 3G networks, and a capability, of the call supplementary service configuration stored on the terminal, to adapt to multiple communications networks is improved.

BRIEF DESCRIPTION OF DRAWINGS



[0028] To describe the technical solutions in the embodiments of the present invention or the prior art more clearly, the following briefly describes the accompanying drawings required for describing the embodiments. Apparently, the accompanying drawings in the following description show merely some embodiments of the present invention, and a person of ordinary skill in the art may still derive other drawings from these accompanying drawings without creative efforts.

FIG. 1 is a flowchart of a synchronization method for call supplementary service configuration according to an embodiment;

FIG. 2 is a sequence diagram of a process in which a terminal performs service configuration according to an embodiment;

FIG. 3 is a sequence diagram in which a terminal is powered on and enables a synchronous process according to an embodiment;

FIG. 4 is a sequence diagram of a process in which a user opens a configuration interface of a terminal according to an embodiment;

FIG. 5 is a sequence diagram of a process in which a terminal is periodically and automatically synchronized according to an embodiment;

FIG. 6 is a schematic structural diagram of a synchronization apparatus for call supplementary service configuration according to an embodiment;

FIG. 7 is a schematic structural diagram of a synchronization apparatus for call supplementary service configuration according to another embodiment;

FIG. 8 is a schematic structural diagram of a terminal according to another embodiment;

FIG. 9 is a topology diagram of a synchronization system for call supplementary service configuration according to an embodiment;

FIG. 10 is a topology diagram of a synchronization system for call supplementary service configuration according to an embodiment;

FIG. 11 is a flowchart of a synchronization method for call supplementary service configuration according to an embodiment;

FIG. 12 is a sequence diagram of a process in which a terminal network is handed over to an area covered by a circuit switched domain according to an embodiment; and

FIG. 13 is a sequence diagram in which a terminal network is handed over to an area covered by an IMS domain according to an embodiment.


DESCRIPTION OF EMBODIMENTS



[0029] The following clearly and completely describes the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Apparently, the described embodiments are merely some but not all of the embodiments of the present invention. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.

[0030] As described above, an LTE (Long Term Evolution, Long Term Evolution system, that is, a 4G network) network is an emerging network, and currently is still in a construction stage in China. Therefore, there is a case that the LTE network and 2G and 3G networks coexist. A user needs to separately configure a call supplementary service in different communications networks. In this case, a non-synchronous configuration problem occurs.

[0031] For example, in an area covered by VoLTE, the user selects to disable a call waiting service. However, configuration generated by the disable operation is merely stored locally on a terminal, and is not uploaded to a home location register of a circuit switched domain of the 2G network for storage. Therefore, after the user moves to an area covered by the 2G network borne by the circuit switched domain, it is still possible that during a voice call, the user receives an incoming call reminder from a third party call (depending on a configuration file stored in the home location register corresponding to the terminal). However, a real intention of the user should be that under any circumstance, no incoming call reminder can be received during a call as long as disabling call waiting is set on a mobile phone.

[0032] Therefore, to improve network adaptation of call supplementary service configuration, a synchronization method for call supplementary service configuration is specially proposed, where the method may depend on a computer program, and the computer program may run on a computer system that complies with the von Neumann system. The computer system may be an electronic device, such as a mobile phone, a smartphone, or a tablet computer or a palmtop computer that supports a SIM card and has a cellular function.

[0033] In an embodiment, specifically, as shown in FIG. 1, the method includes:

Step S102: Receive an entered supplementary service configuration instruction, and obtain a configuration parameter corresponding to the supplementary service configuration instruction.



[0034] The supplementary service configuration instruction is an instruction used to configure a supplementary service, such as an instruction for enabling or disabling a call waiting service. The configuration parameter is a parameter that is used for executing a call supplementary service and that is included in the supplementary service configuration instruction.

[0035] In this embodiment, a centralized call supplementary service configuration interface may be displayed, where the centralized configuration interface is used to configure a configuration parameter of a call supplementary service that is applicable to all existing mobile network types. For example, the call waiting service may be configured by using a checkbox (checkbox). If a user selects the checkbox, which means entering a configuration instruction for enabling the call waiting service, the entered configuration parameter is enabled; or if the user deselects the checkbox, which means entering a configuration instruction for disabling the call waiting service, the entered configuration parameter is disabled. The configuration parameter that is applicable to all the mobile network types and entered by using the centralized configuration interface is on-terminal call supplementary service configuration, where the on-terminal call supplementary service configuration is stored on the terminal that performs the foregoing steps, and may be applied to a 4G network corresponding to a multimedia subsystem (IMS domain) or another communications network in which call supplementary service configuration is stored on a terminal.

[0036] Step S104: Upload the configuration parameter to a mobile switching center by using a circuit switched domain, so that the mobile switching center stores the configuration parameter as call supplementary service configuration of the circuit switched domain into a home location register.

[0037] In this embodiment, the terminal may use the foregoing entered configuration parameter as a function invoking parameter to invoke a communications interface function of a radio interface layer (RIL, radio interface layer), and send the configuration parameter to the mobile switching center MSC, located in a core network, by using the circuit switched domain. Then, the MSC sends the configuration parameter to the home location register (HLR, home location register) for storage. The configuration parameter that is related to the call supplementary service and stored in the HLR is call supplementary service configuration of the circuit switched domain.

[0038] An operating system (such as Android or Windows Mobile) of a mobile communications device such as an existing smartphone generally provides RIL framework code. When a communications interface function provided by the operating system is being invoked, a baseband processor of the mobile communications device can be controlled to perform data sending and receiving work of a radio channel, and an instruction sent by the mobile communications device is sent to the home location register by using a series of network elements through the circuit switched domain.

[0039] For example, in the Android system, a setCallWaiting function in an RIL framework (RIL communications interface function for setting the call waiting service) may be invoked to generate a corresponding instruction to control a baseband controller to send the foregoing entered configuration parameter to the home location register by using a series of network elements in the circuit switched domain for storage.

[0040] The home location register (HLR) is a database that is responsible for mobile user management in a 2G or 3G communications network; stores subscription data of a managed user and location information of the mobile user, and may provide routing information for a call to a terminal.

[0041] In this embodiment, a process in which the terminal uploads the configuration parameter by using the circuit switched domain is as follows: The terminal sends the configuration parameter to a base station controller (BSC, Base Station Controller) by using a channel of the circuit switched domain through the RIL interface. Then, the base station controller transmits the configuration parameter to the mobile switching center (MSC, Mobile Switching Center) by using a common channel signaling network (CCS, Common Channel Signalling, referred to as Signaling System 7 in China). Then, the mobile switching center sends the configuration parameter to the home location register for storage.

[0042] Step S106: Receive returned configuration feedback information.

[0043] After receiving the configuration parameter forwarded by the MSC, the home location register stores the configuration parameter into a database of the home location register. The configuration parameter is call supplementary service configuration of the circuit switched domain. Then, the home location register may return, by using the mobile switching center, configuration feedback information indicating a configuration success to the terminal. If the home location register fails to store the configuration parameter, the home location register may return configuration feedback information indicating a configuration failure to the terminal. Correspondingly, the configuration feedback information is returned to the terminal by using the above mentioned a series of network elements in the circuit switched domain. The terminal may obtain the configuration feedback information by parsing the configuration feedback information through the RIL layer.

[0044] Step S108: Determine, according to the configuration feedback information, whether configuration succeeds; if the configuration succeeds, perform step S110; otherwise, perform step S112.

[0045] Step S110: Store the configuration parameter as on-terminal call supplementary service configuration.

[0046] Step S112: Configuration fails.

[0047] If the configuration feedback information is that the configuration succeeds, the terminal stores the configuration parameter. The configuration parameter stored on the terminal is on-terminal call supplementary service configuration. That is, a service is conducted according to the on-terminal call supplementary service configuration regardless of the 2G, 3G, or 4G network. In the 2G or 3G network, the on-terminal call supplementary service configuration is the same as the call supplementary service configuration, of the circuit switched domain, stored in the home location register corresponding to the terminal. However, in the 4G network, the on-terminal call supplementary service configuration is used as call supplementary service configuration that is corresponding to the multimedia subsystem and that is stored on the terminal. If the configuration feedback information indicates a failure or receiving the configuration feedback information times out, it is determined that the configuration fails.

[0048] In an embodiment, after the configuration fails, the configuration parameter may be discarded. That is, when the home location register corresponding to the terminal fails to store the call supplementary service configuration of the circuit switched domain, the call supplementary service configuration stored on the terminal is not changed, so that the call supplementary service configuration stored on the terminal can be kept synchronous with the call supplementary service configuration, of the circuit switched domain, stored in the home location register. The terminal may further remind the user that the configuration cannot be completed due to a network problem, and advise the user to move to an environment covered by a network to re-perform configuration.

[0049] For a detailed sequence process of performing the foregoing steps, refer to FIG. 2. FIG. 2 shows an overall sequence process from step S102 to step S112.

[0050] That is, when setting call supplementary service configuration on the terminal, the user first uploads, by using the circuit switched domain, the call supplementary service configuration stored on the terminal to the home location register corresponding to the terminal as call supplementary service configuration of the circuit switched domain of the terminal, so that the configuration is used to conduct the call supplementary service on the 2G or 3G network. If the call supplementary service configuration is successfully uploaded by using the circuit switched domain, the call supplementary service configuration is locally stored on the terminal, so that the call supplementary service is conducted on a 4G VoLTE network. Therefore, the call supplementary service configuration locally stored on the terminal is the same as the call supplementary service configuration, of the circuit switched domain, stored by the terminal in the home location register corresponding to the terminal. The user can complete corresponding configuration on different communications networks simultaneously by successfully performing configuration on the terminal only once. In addition, even if the user fails in configuration in the circuit switched domain, the call supplementary service configuration locally stored on the terminal is not changed, thereby ensuring consistency of the call supplementary service configuration on different communications networks. Therefore, on multiple communications networks, the foregoing call supplementary service configuration has a relatively high capability to adapt to the multiple communications networks.

[0051] Further, in this embodiment, before the step of receiving an entered supplementary service configuration instruction, the method further includes:

receiving a power-on instruction, and downloading call supplementary service configuration of the circuit switched domain by using the circuit switched domain from the home location register; and storing the downloaded call supplementary service configuration of the circuit switched domain as on-terminal call supplementary service configuration for storage.



[0052] For a detailed sequence process of performing the foregoing steps, refer to FIG. 3. FIG. 3 shows an overall sequence process in which the mobile phone terminal uploads, after being powered on, the call supplementary service configuration of the circuit switched domain by using the circuit switched domain to the home location register corresponding to the mobile phone terminal.

[0053] In an embodiment, the step of downloading call supplementary service configuration, of the circuit switched domain, corresponding to the terminal by using the circuit switched domain from the home location register may be specifically:

invoking a communications interface function of a radio interface layer, and downloading the call supplementary service configuration of the circuit switched domain from the home location register by using the function.



[0054] For example, in an application scenario of a smartphone that uses the Android system, as described above, when an Android phone is powered on, a communications interface function of an RIL framework provided by the Android system may be used in a startup program, for example, an RIL communications interface function of queryCallWaiting, to generate a query instruction for querying call waiting service configuration information, and the query instruction is sent to the home location register by using the circuit switched domain. The home location register queries, according to the instruction, call waiting service configuration, of the circuit switched domain, corresponding to the terminal (for example, an enabled state identifier of the service). Then, the home location register sends the call waiting service configuration to the terminal by using the mobile switching center and the BSC.

[0055] After receiving the returned call waiting service configuration of the circuit switched domain, the terminal may locally store it. The call waiting service configuration stored on the terminal may be used as call supplementary service configuration that is used on the 4G network and corresponding to the multimedia subsystem (IMS domain) or used on another communications network in which the call waiting service configuration needs to be stored on a terminal.

[0056] That is, when the terminal is powered on, the terminal may first query call supplementary service configuration, of the circuit switched domain, corresponding to the terminal by using the circuit switched domain (CS domain) from the home location register, and use the queried configuration as call supplementary service configuration of the IMS domain. Therefore, the call supplementary service configuration of the CS domain and the call supplementary service configuration of the IMS domain are consistent when the terminal is powered on, and when the terminal is powered on, the call supplementary service configuration locally stored on the terminal is kept synchronous and consistent for all network types that the terminal supports. For the user, the call supplementary service configuration stored on the terminal is configuration content that is applicable to all communications network types. There is no need to further perform separate configuration according to different categories, thereby improving a capability of adapting to multiple communications networks on multiple communications networks.

[0057] Similarly, if the terminal fails in querying call supplementary service configuration by using the circuit switched domain (a case in which the terminal is not in the area covered by the 2G network and the 3G network or signal is weak), the terminal does not modify the locally existing call supplementary service configuration.

[0058] In this embodiment, before the step of receiving an entered supplementary service configuration instruction, the method further includes:

receiving a service configuration display instruction, and downloading call supplementary service configuration of the circuit switched domain by using the circuit switched domain from the home location register; and storing the downloaded call supplementary service configuration of the circuit switched domain as on-terminal call supplementary service configuration for storage, and displaying the call supplementary service configuration.



[0059] For a detailed sequence process of performing the foregoing steps, refer to FIG. 4. FIG. 4 shows an overall sequence process in which the mobile phone terminal performs call supplementary service configuration with the home location register by using the circuit switched domain after the user enters a configuration interface of the call supplementary service configuration.

[0060] For example, in an application scenario of a smartphone that uses the Android system, as described above, when the user opens a call supplementary service configuration page on the Android phone, a service configuration display instruction is entered. The terminal can invoke a communications interface function of an RIL framework provided by the Android system, for example, an RIL communications interface function of queryCallWaiting, to generate a query instruction for querying call waiting service configuration information and send the query instruction to the home location register. The home location register queries, according to the instruction, call waiting service configuration, of the circuit switched domain, corresponding to the terminal (for example, an enabled state identifier of the service), and then returns the call waiting service configuration to the terminal by using the mobile switching center.

[0061] After receiving the returned call waiting service configuration of the circuit switched domain, the terminal displays, on the page, the returned call waiting service configuration of the circuit switched domain to the user, and then locally stores the returned call waiting service configuration of the circuit switched domain to override locally stored call waiting service configuration. The returned call waiting service configuration of the circuit switched domain may be used as call supplementary service configuration corresponding to the multimedia subsystem (IMS domain).

[0062] In another embodiment, if a performing result of step S108 of determining, according to the configuration feedback information, whether configuration succeeds is that the configuration fails, the configuration parameter may still be stored as on-terminal call supplementary service configuration. However, there is a need to periodically upload the call supplementary service configuration stored on the terminal to the mobile switching center, so that the mobile switching center stores the call supplementary service configuration stored on the terminal as call supplementary service configuration of the circuit switched domain into the home location register.

[0063] For a detailed sequence process of performing the foregoing steps, refer to FIG. 5. FIG. 5 shows an overall sequence process in which the mobile phone terminal periodically re-performs configuration after failing to upload the call supplementary service configuration of the circuit switched domain to the home location register by using the circuit switched domain.

[0064] That is, in this embodiment, when the user opens the call supplementary service configuration interface of the terminal to perform configuration, if a returned result obtained after the call supplementary service configuration of the circuit switched domain is uploaded to the home location register by using the circuit switched domain is a setting failure or a timeout (the terminal is not in the area covered by the 2G or 3G network or a signal of the terminal is weak), the call supplementary service configuration entered by the user is still used as on-terminal call supplementary service configuration for storage. However, the call supplementary service configuration is continually sent to the home location register periodically, until the home location register returns configuration feedback information indicating a configuration success.

[0065] As described in the foregoing example, if the user locally sets the call waiting service to an enabled state, but a setting result returned by using the communications interface function setCallWaiting of the RIL framework indicates a failure, the call waiting service is still set to the enabled state on the terminal. However, there is still a need to invoke the communications interface function setCallWaiting of the RIL framework at an interval of a preset time (for example, 10 minutes, half an hour, or 1 hour) to initiate a configuration parameter for setting the call waiting service to the enabled state to the home location register. If the terminal moves to the area covered by the 2G or 3G network or signal strength of the terminal recovers, a configuration success message returned by the home location register may be received. Therefore, logic of invoking the setCallWaiting function periodically is ended.

[0066] Using this solution may enable the user to perform configuration in any environment. For example, if the user is in confined space and the foregoing solution is used, a configuration failure is always prompted in a process of performing call supplementary service configuration by the user in the confined space because the configuration cannot be completed by using the circuit switched domain. The user needs to move to an area in which signal strength is relatively strong so as to complete the configuration process. However, after the process is added, the user in the confined space needs to perform configuration only once. After the user leaves the confined space and signal strength recovers, the terminal may automatically complete corresponding configuration by using the circuit switched domain, thereby reducing a quantity of times that the user performs configuration, and improving operation convenience.

[0067] In another embodiment, if a performing result of step S108 of determining, according to the configuration feedback information, whether configuration succeeds is that the configuration fails, the configuration parameter may still be stored as on-terminal call supplementary service configuration. However, a network handover event needs to be detected. When it is detected that a network handover occurs, overall call supplementary service configuration stored on the terminal is uploaded to the mobile switching center, so that the mobile switching center stores the overall call supplementary service configuration stored on the terminal as call supplementary service configuration of the circuit switched domain into the home location register. That is, when the configuration fails, there is no need to periodically upload the call supplementary service configuration of the circuit switched domain, but the call supplementary service configuration of the circuit switched domain needs to be uploaded only when a handover of the communications network occurs.

[0068] The network handover event is a system event triggered when a coverage area in which the terminal is located is handed over from the LTE network to the 2G or 3G network, or a coverage area is handed over from the 2G or 3G network to the LTE network. When it is detected that a network handover occurs, the terminal is definitely in coverage of a 2G network or a 3G network (otherwise, there is no handover process). Therefore, the circuit switched domain keeps in a connected state. In this case, the locally stored call supplementary service configuration is sent to the home location register for storage, thereby avoiding a case in which a circuit switched domain configuration instruction may be meaninglessly sent for multiple times in a configuration process of periodically sending the circuit switched domain configuration instruction. Therefore, a quantity of times that the circuit switched domain initiates communication is reduced. For a mobile device, power consumption is reduced, and a battery life is prolonged.

[0069] In an embodiment, a synchronization apparatus for call supplementary service configuration is further correspondingly provided. As shown in FIG. 6, the apparatus includes: a configuration instruction receiving module 102, a circuit switched domain configuration module 104, a feedback information receiving module 106, and a local configuration module 108.

[0070] The configuration instruction receiving module 102 is configured to receive an entered supplementary service configuration instruction, and obtain a configuration parameter corresponding to the supplementary service configuration instruction.

[0071] The circuit switched domain configuration module 104 is configured to upload the configuration parameter to a mobile switching center by using a circuit switched domain, so that the mobile switching center stores the configuration parameter as call supplementary service configuration of the circuit switched domain into a home location register.

[0072] The feedback information receiving module 106 is configured to receive returned configuration feedback information.

[0073] The local configuration module 108 is configured to determine, according to the configuration feedback information, whether configuration succeeds, and store the configuration parameter as on-terminal call supplementary service configuration if the configuration succeeds.

[0074] In an embodiment, as shown in FIG. 7, the synchronization apparatus for call supplementary service configuration further includes a power-on synchronization module 110, configured to receive a power-on instruction, and download call supplementary service configuration of the circuit switched domain by using the circuit switched domain from the home location register; and store the downloaded call supplementary service configuration of the circuit switched domain as on-terminal call supplementary service configuration.

[0075] In an embodiment, as shown in FIG. 7, the synchronization apparatus for call supplementary service configuration further includes a configuration display module 112, configured to receive a service configuration display instruction, and download call supplementary service configuration of the circuit switched domain by using the circuit switched domain from the home location register; and store the downloaded call supplementary service configuration of the circuit switched domain as on-terminal call supplementary service configuration, and display the on-terminal call supplementary service configuration.

[0076] In an embodiment, the power-on synchronization module 110 or the configuration display module 112 is further configured to invoke a communications interface function of a radio interface layer, and download call supplementary service configuration of the circuit switched domain from the home location register by using the function.

[0077] In this embodiment, the local configuration module 108 is further configured to discard the configuration parameter if the configuration fails.

[0078] In another embodiment, the local configuration module 108 is further configured to store the configuration parameter as on-terminal call supplementary service configuration if the configuration fails; and periodically upload the call supplementary service configuration stored on the terminal to the mobile switching center, so that the mobile switching center stores the call supplementary service configuration stored on the terminal as call supplementary service configuration of the circuit switched domain into the home location register.

[0079] In an embodiment, the local configuration module 108 is further configured to store the configuration parameter as on-terminal call supplementary service configuration if the configuration fails; and when it is detected that a network handover occurs, upload the call supplementary service configuration stored on the terminal to the mobile switching center, so that the mobile switching center stores the call supplementary service configuration stored on the terminal as call supplementary service configuration of the circuit switched domain into the home location register.

[0080] FIG. 8 is a schematic structural diagram of a terminal according to an embodiment of the present invention. As shown in FIG. 8, the user equipment may include: at least one processor 401 such as a CPU or a baseband controller, at least one mobile communications radio frequency component 403, a memory 404, and at least one communications bus 402. The communications bus 402 is configured to implement connection and communication between these components. The memory 404 may be a high-speed RAM memory, or may be a non-volatile memory (non-volatile memory), such as at least one magnetic disk memory. Optionally, the memory 404 may be at least one storage apparatus located far away from the processor 401. A set of program code is stored in the memory 404, and the processor 401 is configured to invoke program code stored in the memory to perform the following operations:

receiving an entered supplementary service configuration instruction, and obtaining a configuration parameter corresponding to the supplementary service configuration instruction;

uploading the configuration parameter to a mobile switching center by using a circuit switched domain, so that the mobile switching center stores the configuration parameter as call supplementary service configuration of the circuit switched domain into a home location register;

receiving returned configuration feedback information; and

determining, according to the configuration feedback information, whether configuration succeeds, and storing the configuration parameter as on-terminal call supplementary service configuration if the configuration succeeds.



[0081] Optionally, before the step of receiving an entered supplementary service configuration instruction, the processor 401 further:

receives a power-on instruction, and downloads call supplementary service configuration of the circuit switched domain by using the circuit switched domain from the home location register; and

stores the downloaded call supplementary service configuration of the circuit switched domain as on-terminal call supplementary service configuration.



[0082] Optionally, before the step of receiving an entered supplementary service configuration instruction, the processor 401 further:

receives a service configuration display instruction, and downloads call supplementary service configuration of the circuit switched domain by using the circuit switched domain from the home location register; and

stores the downloaded call supplementary service configuration of the circuit switched domain as on-terminal call supplementary service configuration, and displays the on-terminal call supplementary service configuration.



[0083] Optionally, the step of downloading, by the processor 401, call supplementary service configuration of the circuit switched domain by using the circuit switched domain from the home location register is:

invoking a communications interface function of a radio interface layer, and downloading the call supplementary service configuration of the circuit switched domain from the home location register by using the function.



[0084] Optionally, after the step of determining, according to the configuration feedback information, whether configuration succeeds, the processor 401 further:

discards the configuration parameter if the configuration fails.



[0085] Optionally, after the step of determining, according to the configuration feedback information, whether configuration succeeds, the processor 401 further:

stores the configuration parameter as on-terminal call supplementary service configuration if the configuration fails; and

periodically uploads the call supplementary service configuration stored on the terminal to the mobile switching center, so that the mobile switching center stores the call supplementary service configuration stored on the terminal as call supplementary service configuration of the circuit switched domain into the home location register.



[0086] Optionally, after the step of determining, according to the configuration feedback information, whether configuration succeeds, the processor 401 further:

stores the configuration parameter as on-terminal call supplementary service configuration if the configuration fails; and when it is detected that a network handover occurs, uploads the call supplementary service configuration stored on the terminal to the mobile switching center, so that the mobile switching center stores the call supplementary service configuration stored on the terminal as call supplementary service configuration of the circuit switched domain into the home location register.



[0087] In an embodiment, to resolve the foregoing problems, a synchronization system for call supplementary service configuration is further proposed. As shown in FIG. 9, the system includes a terminal 10 and a home location register 20.

[0088] The terminal 10 is configured to receive an entered supplementary service configuration instruction, and obtain a configuration parameter corresponding to the supplementary service configuration instruction; and upload the configuration parameter to a mobile switching center by using a circuit switched domain, so that the mobile switching center stores the configuration parameter as call supplementary service configuration of the circuit switched domain into the home location register.

[0089] The home location register 20 is configured to return corresponding configuration feedback information to the terminal by using the mobile switching center.

[0090] The terminal 10 is further configured to determine, according to the configuration feedback information, whether configuration succeeds, and store the configuration parameter as on-terminal call supplementary service configuration into the terminal if the configuration succeeds.

[0091] In an embodiment, as shown in FIG. 10, the synchronization system for call supplementary service configuration further includes a home subscriber server 30.

[0092] The terminal 10 is further configured to: when being handed over to a communications network based on the circuit switched domain, obtain the call supplementary service configuration stored on the terminal 10, and upload the call supplementary service configuration stored on the terminal 10 to the home subscriber server 30 corresponding to the terminal 10 for storage.

[0093] The home subscriber server 30 is further configured to send the call supplementary service configuration to the home location register 20 corresponding to the terminal 10, where the call supplementary service configuration is stored as call supplementary service configuration of the circuit switched domain.

[0094] In an embodiment, as shown in FIG. 10, the home location register 20 is further configured to: when the terminal 10 is handed over to a communications network based on a multimedia subsystem, send the call supplementary service configuration, of the circuit switched domain, corresponding to the terminal 10 to the home subscriber server 30 corresponding to the terminal.

[0095] The home subscriber server 30 is further configured to deliver the received call supplementary service configuration, of the circuit switched domain, corresponding to the terminal to the terminal 10, so that the terminal 10 stores the call supplementary service configuration, of the circuit switched domain, corresponding to the terminal as on-terminal call supplementary service configuration.

[0096] In an embodiment, to improve network adaptation of call supplementary service configuration, a synchronization method for call supplementary service configuration is further proposed for the foregoing synchronization system for call supplementary service configuration, where the method may depend on a computer program, and the computer program may run on a computer system that complies with the von Neumann system. The computer system may be the computer system shown in FIG. 9 that includes the terminal and the home location register, or the computer system shown in FIG. 10 that includes the terminal, the home location register, and the home subscriber server.

[0097] In this embodiment, specifically, as shown in FIG. 11, the method includes:

Step S202: A terminal receives an entered supplementary service configuration instruction, and obtains a configuration parameter corresponding to the supplementary service configuration instruction; and uploads the configuration parameter to a mobile switching center by using a circuit switched domain, so that the mobile switching center stores the configuration parameter as call supplementary service configuration of the circuit switched domain into a home location register.



[0098] Step S204: The home location register returns corresponding configuration feedback information to the terminal by using the mobile switching center.

[0099] The supplementary service configuration instruction is an instruction used to configure a supplementary service, such as an instruction for enabling or disabling a call waiting service. The configuration parameter is a parameter that is used for executing a call supplementary service and that is included in the supplementary service configuration instruction.

[0100] In this embodiment, a centralized call supplementary service configuration interface may be displayed, where the centralized configuration interface is used to configure a configuration parameter of a call supplementary service that is applicable to all existing mobile network types. For example, the call waiting service may be configured by using a checkbox (checkbox). If a user selects the checkbox, which means entering a configuration instruction for enabling the call waiting service, the entered configuration parameter is enabled; or if the user deselects the checkbox, which means entering a configuration instruction for disabling the call waiting service, the entered configuration parameter is disabled. The configuration parameter that is applicable to all the mobile network types and entered by using the centralized configuration interface is on-terminal call supplementary service configuration, where the on-terminal call supplementary service configuration is stored on the terminal that performs the foregoing steps, and may be applied to a 4G network corresponding to a multimedia subsystem (IMS domain) or another communications network in which call supplementary service configuration is stored on a terminal.

[0101] In this embodiment, the terminal may use the foregoing entered configuration parameter as a function invoking parameter to invoke a communications interface function of a radio interface layer (RIL, radio interface layer), and send the configuration parameter to the mobile switching center MSC, located in a core network, by using the circuit switched domain. Then, the MSC sends the configuration parameter to the home location register (HLR, home location register) for storage. The configuration parameter that is related to the call supplementary service and stored in the HLR is call supplementary service configuration of the circuit switched domain.

[0102] An operating system (such as Android or Windows Mobile) of a mobile communications device such as an existing smartphone generally provides RIL framework code. When a communications interface function provided by the operating system is being invoked, a baseband processor of the mobile communications device can be controlled to perform data sending and receiving work of a radio channel, and an instruction sent by the mobile communications device is sent to the home location register by using a series of network elements through the circuit switched domain.

[0103] For example, in the Android system, a setCallWaiting function in an RIL framework (RIL communications interface function for setting the call waiting service) may be invoked to generate a corresponding instruction to control a baseband controller to send the foregoing entered configuration parameter to the home location register by using a series of network elements in the circuit switched domain for storage.

[0104] The home location register (HLR) is a database that is responsible for mobile user management in a 2G or 3G communications network; stores subscription data of a managed user and location information of the mobile user, and may provide routing information for a call to a terminal.

[0105] In this embodiment, a process in which the terminal uploads the configuration parameter by using the circuit switched domain is as follows: The terminal sends the configuration parameter to a base station controller (BSC, Base Station Controller) by using a channel of the circuit switched domain through the RIL interface. Then, the base station controller transmits the configuration parameter to the mobile switching center (MSC, Mobile Switching Center) by using a common channel signaling network (CCS, Common Channel Signalling, referred to as Signaling System 7 in China). Then, the mobile switching center sends the configuration parameter to the home location register for storage.

[0106] After receiving the configuration parameter forwarded by the MSC, the home location register stores the configuration parameter into a database of the home location register. The configuration parameter is call supplementary service configuration of the circuit switched domain. Then, the home location register may return, by using the mobile switching center, configuration feedback information indicating a configuration success to the terminal. If the home location register fails to store the configuration parameter, the home location register may return configuration feedback information indicating a configuration failure to the terminal. Correspondingly, the configuration feedback information is returned to the terminal by using the above mentioned a series of network elements in the circuit switched domain. The terminal may obtain the configuration feedback information by parsing the configuration feedback information through the RIL layer.

[0107] Step S206: The terminal further determines, according to the configuration feedback information, whether configuration succeeds, and stores the configuration parameter as on-terminal call supplementary service configuration into the terminal if the configuration succeeds.

[0108] If the configuration feedback information is that the configuration succeeds, the terminal stores the configuration parameter. The configuration parameter stored on the terminal is on-terminal call supplementary service configuration. That is, a service is conducted according to the on-terminal call supplementary service configuration regardless of the 2G, 3G, or 4G network. In the 2G or 3G network, the on-terminal call supplementary service configuration is the same as the call supplementary service configuration, of the circuit switched domain, stored in the home location register corresponding to the terminal. However, in the 4G network, the on-terminal call supplementary service configuration is used as call supplementary service configuration that is corresponding to the multimedia subsystem and that is stored on the terminal. If the configuration feedback information indicates a failure or receiving the configuration feedback information times out, it is determined that the configuration fails.

[0109] In an embodiment, after the configuration fails, the configuration parameter may be discarded. That is, when the home location register corresponding to the terminal fails to store the call supplementary service configuration of the circuit switched domain, the call supplementary service configuration stored on the terminal is not changed, so that the call supplementary service configuration stored on the terminal can be kept synchronous with the call supplementary service configuration, of the circuit switched domain, stored in the home location register. The terminal may further remind the user that the configuration cannot be completed due to a network problem, and advise the user to move to an environment covered by a network to re-perform configuration.

[0110] For a detailed sequence process of performing the foregoing steps, refer to FIG. 2. FIG. 2 shows an overall sequence process from step S202 to step S206.

[0111] That is, when setting call supplementary service configuration on the terminal, the user first uploads, by using the circuit switched domain, the call supplementary service configuration stored on the terminal to the home location register corresponding to the terminal as call supplementary service configuration of the circuit switched domain of the terminal, so that the configuration is used to conduct the call supplementary service on the 2G or 3G network. If the call supplementary service configuration is successfully uploaded by using the circuit switched domain, the call supplementary service configuration is locally stored on the terminal, so that the call supplementary service is conducted on a 4G VoLTE network. Therefore, the call supplementary service configuration locally stored on the terminal is the same as the call supplementary service configuration, of the circuit switched domain, stored by the terminal in the home location register corresponding to the terminal. The user can complete corresponding configuration on different communications networks simultaneously by successfully performing configuration on the terminal only once. In addition, even if the user fails in configuration in the circuit switched domain, the call supplementary service configuration locally stored on the terminal is not changed, thereby ensuring consistency of the call supplementary service configuration on different communications networks. Therefore, on multiple communications networks, the foregoing call supplementary service configuration has a relatively high capability to adapt to the multiple communications networks.

[0112] Further, in this embodiment, before the step of receiving an entered supplementary service configuration instruction, the method further includes:

receiving a power-on instruction, and downloading call supplementary service configuration of the circuit switched domain by using the circuit switched domain from the home location register; and storing the downloaded call supplementary service configuration of the circuit switched domain as on-terminal call supplementary service configuration for storage.



[0113] For a detailed sequence process of performing the foregoing steps, refer to FIG. 3. FIG. 3 shows an overall sequence process in which the mobile phone terminal uploads, after being powered on, the call supplementary service configuration of the circuit switched domain by using the circuit switched domain to the home location register corresponding to the mobile phone terminal.

[0114] In an embodiment, the step of downloading call supplementary service configuration, of the circuit switched domain, corresponding to the terminal by using the circuit switched domain from the home location register may be specifically:

invoking a communications interface function of a radio interface layer, and downloading the call supplementary service configuration of the circuit switched domain from the home location register by using the function.



[0115] For example, in an application scenario of a smartphone that uses the Android system, as described above, when an Android phone is powered on, a communications interface function of an RIL framework provided by the Android system may be used in a startup program, for example, an RIL communications interface function of queryCallWaiting, to generate a query instruction for querying call waiting service configuration information, and the query instruction is sent to the home location register by using the circuit switched domain. The home location register queries, according to the instruction, call waiting service configuration, of the circuit switched domain, corresponding to the terminal (for example, an enabled state identifier of the service). Then, the home location register sends the call waiting service configuration to the terminal by using the mobile switching center and the BSC.

[0116] After receiving the returned call waiting service configuration of the circuit switched domain, the terminal may locally store it. The call waiting service configuration stored on the terminal may be used as call supplementary service configuration that is used on the 4G network and corresponding to the multimedia subsystem (IMS domain) or used on another communications network in which the call waiting service configuration needs to be stored on a terminal.

[0117] That is, when the terminal is powered on, the terminal may first query call supplementary service configuration, of the circuit switched domain, corresponding to the terminal by using the circuit switched domain (CS domain) from the home location register, and use the queried configuration as call supplementary service configuration of the IMS domain. Therefore, the call supplementary service configuration of the CS domain and the call supplementary service configuration of the IMS domain are consistent when the terminal is powered on, and when the terminal is powered on, the call supplementary service configuration locally stored on the terminal is kept synchronous and consistent for all network types that the terminal supports. For the user, the call supplementary service configuration stored on the terminal is configuration content that is applicable to all communications network types. There is no need to further perform separate configuration according to different categories, thereby improving a capability of adapting to multiple communications networks on multiple communications networks.

[0118] Similarly, if the terminal fails in querying call supplementary service configuration by using the circuit switched domain (a case in which the terminal is not in the area covered by the 2G network and the 3G network or signal is weak), the terminal does not modify the locally existing call supplementary service configuration.

[0119] In this embodiment, the method further includes:

receiving, by the terminal, a service configuration display instruction, and downloading call supplementary service configuration of the circuit switched domain by using the circuit switched domain from the home location register; and storing the downloaded call supplementary service configuration of the circuit switched domain as on-terminal call supplementary service configuration for storage, and displaying the call supplementary service configuration.



[0120] For a detailed sequence process of performing the foregoing steps, refer to FIG. 4. FIG. 4 shows an overall sequence process in which the mobile phone terminal performs call supplementary service configuration with the home location register by using the circuit switched domain after the user enters a configuration interface of the call supplementary service configuration.

[0121] For example, in an application scenario of a smartphone that uses the Android system, as described above, when the user opens a call supplementary service configuration page on the Android phone, a service configuration display instruction is entered. The terminal can invoke a communications interface function of an RIL framework provided by the Android system, for example, an RIL communications interface function of queryCallWaiting, to generate a query instruction for querying call waiting service configuration information of the circuit switched domain and send the query instruction to the home location register. The home location register queries, according to the instruction, call waiting service configuration, of the circuit switched domain, corresponding to the terminal (for example, an enabled state identifier of the service), and then returns the call waiting service configuration to the terminal by using the mobile switching center.

[0122] After receiving the returned call waiting service configuration of the circuit switched domain, the terminal displays, on the page, the returned call waiting service configuration of the circuit switched domain to the user, and then locally stores the returned call waiting service configuration of the circuit switched domain to override locally stored call waiting service configuration. The returned call waiting service configuration of the circuit switched domain may be used as call supplementary service configuration corresponding to the multimedia subsystem (IMS domain).

[0123] In an embodiment, if a performing result of step S206 of determining, by the terminal according to the configuration feedback information, whether configuration succeeds is that the configuration fails, the configuration parameter may still be stored as on-terminal call supplementary service configuration. However, there is a need to periodically upload the call supplementary service configuration stored on the terminal to the mobile switching center, so that the mobile switching center stores the call supplementary service configuration stored on the terminal as call supplementary service configuration of the circuit switched domain into the home location register.

[0124] For a detailed sequence process of performing the foregoing steps, refer to FIG. 5. FIG. 5 shows an overall sequence process in which the mobile phone terminal periodically re-performs configuration after failing to set the call supplementary service configuration in the home location register by using the circuit switched domain.

[0125] That is, in this embodiment, when the user opens the call supplementary service configuration interface of the terminal to perform configuration, if a returned result obtained after the call supplementary service configuration of the circuit switched domain is uploaded to the home location register by using the circuit switched domain is a setting failure or a timeout (the terminal is not in the area covered by the 2G or 3G network or a signal of the terminal is weak), the call supplementary service configuration entered by the user is still used as on-terminal call supplementary service configuration for storage. However, the call supplementary service configuration is continually sent to the home location register periodically, until the home location register returns configuration feedback information indicating a configuration success.

[0126] As described in the foregoing example, if the user locally sets the call waiting service to an enabled state, but a setting result returned by using the communications interface function setCallWaiting of the RIL framework indicates a failure, the call waiting service is still set to the enabled state on the terminal. However, there is still a need to invoke the communications interface function setCallWaiting of the RIL framework at an interval of a preset time (for example, 10 minutes, half an hour, or 1 hour) to upload a configuration parameter for setting the call waiting service to the enabled state to the home location register. If the terminal moves to the area covered by the 2G or 3G network or signal strength of the terminal recovers, a configuration success message returned by the home location register may be received. Therefore, logic of invoking the setCallWaiting function periodically is ended.

[0127] Using this solution may enable the user to perform configuration in any environment. For example, if the user is in confined space and the foregoing solution is used, a configuration failure is always prompted in a process of performing call supplementary service configuration by the user in the confined space because the configuration cannot be completed by using the circuit switched domain. The user needs to move to an area in which signal strength is relatively strong so as to complete the configuration process. However, after the process is added, the user in the confined space needs to perform configuration only once. After the user leaves the confined space and signal strength recovers, the terminal may automatically complete corresponding configuration by using the circuit switched domain, thereby reducing a quantity of times that the user performs configuration, and improving operation convenience.

[0128] Further, in this embodiment, if a performing result of the step of determining, according to the configuration feedback information, whether configuration succeeds is that the configuration fails, the configuration parameter may still be stored as on-terminal call supplementary service configuration. However, a network handover event needs to be detected. When it is detected that a network handover occurs, the call supplementary service configuration stored on the terminal is uploaded to the mobile switching center, so that the mobile switching center stores the call supplementary service configuration stored on the terminal as call supplementary service configuration of the circuit switched domain into the home location register. That is, when the configuration fails, there is no need to periodically upload the call supplementary service configuration of the circuit switched domain, but the call supplementary service configuration of the circuit switched domain needs to be uploaded only when a handover of the communications network occurs.

[0129] The network handover event is a system event triggered when a coverage area in which the terminal is located is handed over from the LTE network to the 2G or 3G network, or a coverage area is handed over from the 2G or 3G network to the LTE network. When it is detected that a network handover occurs, the terminal is definitely in coverage of a 2G network or a 3G network (otherwise, there is no handover process). Therefore, the circuit switched domain keeps in a connected state. In this case, the locally stored call supplementary service configuration is sent to the home location register for storage, thereby avoiding a case in which a circuit switched domain configuration instruction may be meaninglessly sent for multiple times in a configuration process of periodically sending the circuit switched domain configuration instruction. Therefore, a quantity of times that the circuit switched domain initiates communication is reduced. For a mobile device, power consumption is reduced, and a battery life is prolonged.

[0130] In an embodiment, the synchronization method for call supplementary service configuration further includes:

obtaining, by the terminal when being handed over to a communications network based on the circuit switched domain, the call supplementary service configuration stored on the terminal, and uploading the call supplementary service configuration stored on the terminal to a home subscriber server corresponding to the terminal for storage; and

sending, by the home subscriber server, the call supplementary service configuration to the home location register corresponding to the terminal for storage.



[0131] The home subscriber server (HSS, Home Subscriber Server) is a server, in the LTE network, configured to store user configuration, is an upgraded version of the HLR, and is connected to the mobile switching center MSC. For details, refer to FIG. 10. When the terminal moves from an area covered by the LTE network to an area covered by a conventional 2G or 3G network, a coverage area handover occurs. As shown in FIG. 12, the terminal first uploads the locally stored call supplementary service configuration to the HSS by using an IMS-domain eNodeB (that is, an Evolved Node B, where the evolved Node B is referred to as an eNB for short and is a base station in the LTE network) and an IMS-domain SGSN (Serving GPRS SUPPORT NODE, mobile switching center in the LTE network) for storage. Then, the HSS sends, by using the SGSN, the call supplementary service configuration to an HLR corresponding to a service area to which the terminal is handed over for storage (in another embodiment, the HSS may directly synchronize with the HLR; for the two synchronization manners, refer to dashed line connections in FIG. 10). When the terminal needs to conduct the call supplementary service on the conventional 2G or 3G network, the MSC corresponding to the terminal may conduct the service according to the call supplementary service configuration stored in the HLR.

[0132] Further, in this embodiment, the synchronization method for call supplementary service configuration further includes:

sending, by the home location register when the terminal is handed over to a communications network based on a multimedia subsystem, call supplementary service configuration, of the circuit switched domain, corresponding to the terminal to the home subscriber server corresponding to the terminal; and

further delivering, by the home subscriber server, the received call supplementary service configuration, of the circuit switched domain, corresponding to the terminal to the terminal, so that the terminal stores the call supplementary service configuration, of the circuit switched domain, corresponding to the terminal as on-terminal call supplementary service configuration.



[0133] When the terminal moves from the area covered by the conventional 2G or 3G network to the area covered by the LTE network, a coverage area handover also occurs. As shown in FIG. 13, when a handover occurs, first the home location register HLR corresponding to the terminal sends, by using the MSC, the call supplementary service configuration stored by the terminal in the home location register to the home subscriber server HSS corresponding to the service area to which the terminal is handed over for storage. Then, the home subscriber server HSS delivers, by using the IMS domain, the call supplementary service configuration to the terminal to perform synchronization. When the terminal needs to conduct the call supplementary service on the LTE network, a network element corresponding to the terminal may conduct the service according to the call supplementary service configuration stored on the terminal.

[0134] That is, if an existing operator provides an interface for storing the call supplementary service on a network, that is, provides an interface on the home subscriber server HSS for storing the on-terminal call supplementary service configuration, the terminal can maintain synchronous with the HSS in terms of the stored call supplementary service configuration. However, when a handover is performed between different network environments, call supplementary service configuration performed by the user in the different network environments may be synchronized by a home subscriber server and a home location register that belong to different networks. The user does not need to make any modification on the terminal, and also needs to perform configuration on the terminal only once, so that all network types can be adapted by means of synchronization between the HSS and the HLR, thereby improving a capability, of the call supplementary service configuration stored on the terminal, to adapt to multiple communications networks.

[0135] An embodiment of the present invention further proposes a computer storage medium, and the computer storage medium stores a program. When the program is being executed, some or all of the steps in the synchronization method for call supplementary service configuration described in the embodiments of the present invention with reference to FIG. 1 are executed.

[0136] In the foregoing synchronization method for call supplementary service configuration, when performing local call supplementary service configuration, a user first performs configuration on a home location register corresponding to a terminal of the user by using a circuit switched domain, and then selects, according to a configuration result in the circuit switched domain, whether to make the local configuration take effect, so that the local configuration of the user (call supplementary service for an IMS domain) and configuration stored on the home location register (call supplementary service configuration for a CS domain) can be kept synchronous. Therefore, the local configuration of the user can be simultaneously applied to an LTE network and conventional 2G and 3G networks, and a capability, of the call supplementary service configuration stored on the terminal, to adapt to multiple communications networks is improved.

[0137] In the foregoing embodiments, the description of each embodiment has respective focuses. For a part that is not described in detail in an embodiment, reference may be made to related descriptions in other embodiments.

[0138] A person of ordinary skill in the art may understand that all or some of the processes of the methods in the embodiments may be implemented by a computer program instructing relevant hardware. The program may be stored in a computer readable storage medium. When the program runs, the processes of the methods in the embodiments are performed. The foregoing storage medium may include: a magnetic disk, an optical disc, a read-only memory (Read-Only Memory, ROM), or a random access memory (Random Access Memory, RAM).

[0139] The foregoing embodiments merely express several embodiment manners of the present invention. The description is relatively specific and detailed, but should not be construed as limiting the patent scope of the present invention. It should be noted that, for a person of ordinary skill in the art, several deformations and changes may further be made within the conception of the present invention, which all fall within the protection scope of the present invention. Therefore, the protection scope of the present invention patent shall be subject to the following claims.


Claims

1. A synchronization method for call supplementary service configuration, comprising:

receiving an entered supplementary service configuration instruction, and obtaining a configuration parameter corresponding to the supplementary service configuration instruction;

uploading the configuration parameter to a mobile switching center by using a circuit switched domain, so that the mobile switching center stores the configuration parameter as call supplementary service configuration of the circuit switched domain into a home location register;

receiving returned configuration feedback information; and

determining, according to the configuration feedback information, whether configuration succeeds, and storing the configuration parameter as on-terminal call supplementary service configuration if the configuration succeeds.


 
2. The synchronization method for call supplementary service configuration according to claim 1, before the step of receiving an entered supplementary service configuration instruction, further comprising:

receiving a power-on instruction, and downloading call supplementary service configuration of the circuit switched domain by using the circuit switched domain from the home location register; and

storing the downloaded call supplementary service configuration of the circuit switched domain as on-terminal call supplementary service configuration.


 
3. The synchronization method for call supplementary service configuration according to claim 1, before the step of receiving an entered supplementary service configuration instruction, further comprising:

receiving a service configuration display instruction, and downloading call supplementary service configuration of the circuit switched domain by using the circuit switched domain from the home location register; and

storing the downloaded call supplementary service configuration of the circuit switched domain as on-terminal call supplementary service configuration, and displaying the on-terminal call supplementary service configuration.


 
4. The synchronization method for call supplementary service configuration according to claim 2 or 3, wherein the step of downloading call supplementary service configuration of the circuit switched domain by using the circuit switched domain from the home location register is:

invoking a communications interface function of a radio interface layer, and downloading the call supplementary service configuration of the circuit switched domain from the home location register by using the function.


 
5. The synchronization method for call supplementary service configuration according to claim 1, after the step of determining, according to the configuration feedback information, whether configuration succeeds, further comprising:

discarding the configuration parameter if the configuration fails.


 
6. The synchronization method for call supplementary service configuration according to claim 1, after the step of determining, according to the configuration feedback information, whether configuration succeeds, further comprising:

storing the configuration parameter as on-terminal call supplementary service configuration if the configuration fails; and

periodically uploading the on-terminal call supplementary service configuration to the mobile switching center, so that the mobile switching center stores the on-terminal call supplementary service configuration as the call supplementary service configuration of the circuit switched domain into the home location register.


 
7. The synchronization method for call supplementary service configuration according to claim 1, after the step of determining, according to the configuration feedback information, whether configuration succeeds, further comprising:

storing the configuration parameter as the on-terminal call supplementary service configuration if the configuration fails; and when it is detected that a network handover occurs, uploading the on-terminal call supplementary service configuration to the mobile switching center, so that the mobile switching center stores the on-terminal call supplementary service configuration as the call supplementary service configuration of the circuit switched domain into the home location register.


 
8. A synchronization apparatus for call supplementary service configuration, comprising:

a configuration instruction receiving module, configured to receive an entered supplementary service configuration instruction, and obtain a configuration parameter corresponding to the supplementary service configuration instruction;

a circuit switched domain configuration module, configured to upload the configuration parameter to a mobile switching center by using a circuit switched domain, so that the mobile switching center stores the configuration parameter as call supplementary service configuration of the circuit switched domain into a home location register;

a feedback information receiving module, configured to receive returned configuration feedback information; and

a local configuration module, configured to determine, according to the configuration feedback information, whether configuration succeeds, and store the configuration parameter as on-terminal call supplementary service configuration if the configuration succeeds.


 
9. The synchronization apparatus for call supplementary service configuration according to claim 8, wherein the apparatus further comprises a power-on synchronization module, configured to receive a power-on instruction, and download call supplementary service configuration of the circuit switched domain by using the circuit switched domain from the home location register; and
store the downloaded call supplementary service configuration of the circuit switched domain as on-terminal call supplementary service configuration.
 
10. The synchronization apparatus for call supplementary service configuration according to claim 7, wherein the apparatus further comprises a configuration display module, configured to receive a service configuration display instruction, and download call supplementary service configuration of the circuit switched domain by using the circuit switched domain from the home location register; and
store the downloaded call supplementary service configuration of the circuit switched domain as on-terminal call supplementary service configuration, and display the on-terminal call supplementary service configuration.
 
11. The synchronization apparatus for call supplementary service configuration according to claim 8 or 9, wherein the power-on synchronization module or the configuration display module is further configured to invoke a communications interface function of a radio interface layer, and download call supplementary service configuration of the circuit switched domain from the home location register by using the function.
 
12. The synchronization apparatus for call supplementary service configuration according to claim 8, wherein the local configuration module is further configured to discard the configuration parameter if the configuration fails.
 
13. The synchronization apparatus for call supplementary service configuration according to claim 8, wherein the local configuration module is further configured to store the configuration parameter as on-terminal call supplementary service configuration if the configuration fails; and periodically upload the on-terminal call supplementary service configuration to the mobile switching center, so that the mobile switching center stores the on-terminal call supplementary service configuration as the call supplementary service configuration of the circuit switched domain into the home location register.
 
14. The synchronization apparatus for call supplementary service configuration according to claim 8, wherein the local configuration module is further configured to store the configuration parameter as the on-terminal call supplementary service configuration if the configuration fails; and when it is detected that a network handover occurs, upload the on-terminal call supplementary service configuration to the mobile switching center, so that the mobile switching center stores the on-terminal call supplementary service configuration as the call supplementary service configuration of the circuit switched domain into the home location register.
 
15. A synchronization system for call supplementary service configuration, comprising a terminal and a home location register, wherein
the terminal is configured to receive an entered supplementary service configuration instruction, and obtain a configuration parameter corresponding to the supplementary service configuration instruction; and upload the configuration parameter to a mobile switching center by using a circuit switched domain, so that the mobile switching center stores the configuration parameter as call supplementary service configuration of the circuit switched domain into the home location register;
the home location register returns corresponding configuration feedback information to the terminal by using the mobile switching center; and
the terminal is further configured to determine, according to the configuration feedback information, whether configuration succeeds, and store the configuration parameter as on-terminal call supplementary service configuration into the terminal if the configuration succeeds.
 
16. The synchronization system for call supplementary service configuration according to claim 15, wherein the system further comprises a home subscriber server;
the terminal is further configured to: when being handed over to a communications network based on the circuit switched domain, obtain the on-terminal call supplementary service configuration stored on the terminal, and upload the on-terminal call supplementary service configuration stored on the terminal to the home subscriber server corresponding to the terminal for storage; and
the home subscriber server is further configured to send the on-terminal call supplementary service configuration to the home location register corresponding to the terminal, wherein the on-terminal call supplementary service configuration is stored as call supplementary service configuration of the circuit switched domain.
 
17. The synchronization system for call supplementary service configuration according to claim 16, wherein the home location register is further configured to: when the terminal is handed over to a communications network based on a multimedia subsystem, send call supplementary service configuration, of the circuit switched domain, corresponding to the terminal to the home subscriber server corresponding to the terminal; and
the home subscriber server is further configured to deliver the received call supplementary service configuration, of the circuit switched domain, corresponding to the terminal to the terminal, so that the terminal stores the call supplementary service configuration, of the circuit switched domain, corresponding to the terminal as on-terminal call supplementary service configuration.
 
18. A synchronization method for call supplementary service configuration, comprising:

receiving, by a terminal, an entered supplementary service configuration instruction, and obtaining a configuration parameter corresponding to the supplementary service configuration instruction; and uploading the configuration parameter to a mobile switching center by using a circuit switched domain, so that the mobile switching center stores the configuration parameter as call supplementary service configuration of the circuit switched domain into a home location register;

returning, by the home location register, corresponding configuration feedback information to the terminal by using the mobile switching center; and

further determining, by the terminal according to the configuration feedback information, whether configuration succeeds, and storing the configuration parameter as on-terminal call supplementary service configuration into the terminal if the configuration succeeds.


 
19. The synchronization method for call supplementary service configuration according to claim 18, wherein the method further comprises:

obtaining, by the terminal when being handed over to a communications network based on the circuit switched domain, the call supplementary service configuration stored on the terminal, and uploading the call supplementary service configuration stored on the terminal to a home subscriber server corresponding to the terminal for storage; and

sending, by the home subscriber server, the on-terminal call supplementary service configuration to the home location register corresponding to the terminal for storage.


 
20. The synchronization method for call supplementary service configuration according to claim 19, wherein the method further comprises:

sending, by the home location register when the terminal is handed over to a communications network based on a multimedia subsystem, call supplementary service configuration, of the circuit switched domain, corresponding to the terminal to the home subscriber server corresponding to the terminal; and

further delivering, by the home subscriber server, the received call supplementary service configuration, of the circuit switched domain, corresponding to the terminal to the terminal, so that the terminal stores the call supplementary service configuration, of the circuit switched domain, corresponding to the terminal as on-terminal call supplementary service configuration.


 




Drawing