Call forwarding setting method, terminal equipment and computer readable storage medium
By introducing the validity period of authentication and validity period of contract in the terminal equipment, the problem that terminal equipment cannot flexibly set call forwarding services is solved, and the call forwarding services are set according to the user's wishes within the time except for the validity period of the contract, which has improved the User experience.
Patent Information
- Application Number
- CN202410520598.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-26
- Publication Date
- 2025-01-07
- Estimated Expiration
- 2044-04-26
AI Technical Summary
In the prior art, the terminal device can only respond to some call forwarding service settings for a period of time, and cannot flexibly set up call forwarding service according to the user's wishes, resulting in poor user experience.
By introducing the authentication validity period and the contract validity period in the terminal device, the terminal device is allowed to reauthorize the network operator equipment during the time other than the authentication validity period during the contract validity period, thereby flexibly setting up call forwarding services.
It realizes that the terminal equipment flexibly sets call forwarding services according to user's wishes during the contract validity period, and improves the user experience.
Smart Images

Figure CN119277336A_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present application relate to the field of communications, and in particular, to a call forwarding setting method, a terminal device, and a computer-readable storage medium. Background Art
[0002] Call forwarding is a communication function that allows users to forward unanswered calls to another number. In the prior art, the terminal device responds to the user's setting operation of the call forwarding service, such as the setting operation can be the user's selection of the call forwarding service under the corresponding call forwarding mode according to their needs, and obtains authorization from the network operator device so that the user can use the call forwarding service set by the terminal device.
[0003] If a user sets up different call forwarding services multiple times within a period of time, the terminal device will only be able to respond to some of the user's setting operations for the call forwarding service within that period of time. That is, the terminal device can only obtain the right to use the corresponding call forwarding service based on some of the user's multiple setting operations for the call forwarding service. As for other setting operations of the call forwarding service performed by the user during that period of time, the terminal cannot obtain the right to use the call forwarding service corresponding to these other setting operations of the call forwarding service. In this way, the terminal device cannot flexibly set up the call forwarding service according to the user's wishes within the aforementioned time period, and the user experience is poor.
[0004] For example, Figure 1 A schematic diagram of the change of the setting interface of a call forwarding service is shown. Figure 1 As shown in (a) of FIG. 1 , if the number currently used by the mobile phone 100 is number A. Within a period of time, if the mobile phone 100 responds to the user filling in number B in the busy call forwarding interface 101 and clicking the completion icon 1011, that is, the mobile phone 100 responds to the first call forwarding setting operation of forwarding the incoming calls of number A that cannot be answered when busy to number B, and obtains the right to use the corresponding call forwarding service. Figure 1 As shown in FIG. 1 (b), the mobile phone 100 may also display number B in the busy call forwarding option of the call forwarding interface 102 to prompt the user that the user has obtained the right to use the call forwarding service.
[0005] Figure 2The figure shows a schematic diagram of the change of the setting interface of a call forwarding service. During the aforementioned time period, if the user does not want to forward number A to number B, but wants to forward number A to number C, then after the mobile phone 100 receives the user's operation of filling in number C in the busy call forwarding interface 101 and clicking the completion icon 1011, that is, after the mobile phone 100 receives the user's second call forwarding setting operation of forwarding the incoming calls of number A that cannot be answered when busy to number C, the mobile phone 100 cannot respond to the second call forwarding setting operation. In addition, if Figure 2 As shown in FIG. 1 (b), the mobile phone 100 may also display a buffer icon 1021 in the busy call forwarding option of the call forwarding interface 102, to remind the user that the mobile phone 100 has not obtained the right to use the call forwarding service of forwarding the incoming calls that the number A cannot answer to the number C. In this way, the mobile phone 100 cannot flexibly set the call forwarding service according to the user's wishes during the aforementioned time period, and the user experience is poor. Summary of the invention
[0006] The embodiments of the present application provide a call forwarding setting method, a terminal device and a computer-readable storage medium, which are used to flexibly set a call forwarding service according to the user's wishes and improve the user experience.
[0007] To achieve the above objectives, the embodiments of the present application adopt the following technical solutions:
[0008] In a first aspect, a call forwarding setting method is provided, which is applied to a terminal device, comprising: the terminal device displays a first interface, the first interface includes a control for setting a call forwarding service; the terminal device sends a first request to a network device in response to a user's operation of the control in a first time period, the first request is used to initiate authentication between the terminal device and the network device; wherein the first time period is a period of time excluding the authentication validity period within the contract validity period; the authentication validity period is the length of time during which the terminal device does not need to authenticate again after the authentication between the terminal device and the network device is successful; the terminal device sends a second request to the network device in response to successful authentication between the terminal device and the network device, the second request is used to request the network device to set up a call forwarding service; the terminal device displays a prompt message on the first interface in response to receiving a message from the network device indicating that the call forwarding service is successfully set up, the prompt message is used to prompt the user that the call forwarding service is successfully set up.
[0009] In this application, the authentication validity period is the length of time that the terminal device does not need to authenticate again after the authentication between the terminal device and the network device is successful. It means that after the authentication between the terminal device and the network operator's device is successful, the terminal device can reset the new call forwarding service without performing authentication operations. If the authentication validity period exceeds, the terminal device and the network operator's device need to be re-authenticated before the new call forwarding service can be reset. The contract validity period is the length of time that the terminal device can respond to the user's setting operation for the call forwarding service without performing authentication operations after the authentication between the terminal device and the network operator's device stored in the terminal device is successful. Generally, the contract validity period is greater than the authentication validity period.
[0010] During a period of time other than the authentication validity period within the contract validity period, even if the contract validity period is stored in the terminal device, the terminal device is not restricted by the contract validity period, but performs authentication with the network operator device again, so as to successfully set up the call forwarding service after re-authentication between the terminal device and the network operator device. In this way, the terminal device can flexibly set up the call forwarding service according to the user's wishes during a period of time other than the authentication validity period within the contract validity period, thereby improving the user experience.
[0011] In a possible implementation manner of the first aspect, before sending the first request to the network device, the method further includes: the terminal device receives a message from the network device indicating that the call forwarding service setting fails.
[0012] In the present application, the message for indicating the failure of setting up the call forwarding service may refer to the first information in the embodiment of the present application. The message for indicating the failure of setting up the call forwarding service may be used to trigger the terminal device to perform an authentication process between the terminal device and the network operator device in response to the user's operation of setting up the call forwarding service on the call forwarding service operation interface. That is, after the terminal device receives the message for indicating the failure of setting up the call forwarding service from the network device, the terminal device may send a first request to the network device based on the message in response to the user's operation on the control in the first time period to initiate the authentication between the terminal device and the network device to successfully set up the call forwarding service.
[0013] In a possible implementation manner of the first aspect, setting the call forwarding service is to set the first number to be forwarded to the second number under a preset call forwarding condition, or setting the call forwarding service is to delete the set call forwarding service.
[0014] In a possible implementation manner of the first aspect, the preset call forwarding condition includes: forwarding on busy, forwarding on no answer, forwarding on unreachable, or forwarding unconditionally.
[0015] In a second aspect, a call forwarding setting method is provided, which is applied to a terminal device, and a contract validity period is stored in the terminal device, the method comprising: displaying a first interface, the first interface comprising a control for setting a call forwarding service; receiving a user's operation on the control; in response to the time of receiving the operation being greater than a preset validity period, sending a first request to a network device, the first request being used to initiate authentication between the terminal device and the network device; the preset validity period is less than or equal to the authentication validity period, and the preset validity period is different from the contract validity period; in response to successful authentication between the terminal device and the network device, sending a second request to the network device, the second request being used to request the network device to set a call forwarding service; in response to receiving a message from the network device that the call forwarding service is successfully set up, displaying a prompt message on the first interface, the prompt message being used to prompt the user that the call forwarding service is successfully set up.
[0016] In the present application, a preset validity period is stored in the terminal device. In response to the fact that the time of receiving the operation is greater than the preset validity period and less than the contract validity period, the terminal device initiates authentication between the terminal device and the network device. Since the preset validity period is less than or equal to the contract validity period, and the time period greater than the preset validity period and less than the contract validity period includes a period of time during the contract validity period excluding the authentication validity period, the terminal device initiating authentication between the terminal device and the network device can solve the problem of call forwarding service failure caused by the terminal device not initiating authentication with the network device in the prior art. In this way, the terminal device can also flexibly set the call forwarding service according to the user's wishes within a period of time during the contract validity period excluding the authentication validity period, thereby improving the user experience.
[0017] In a possible implementation manner of the second aspect, the contract validity period is greater than a preset validity period.
[0018] That is, in this application, if the contract validity period is greater than the preset validity period, and the time when the terminal device responds to receiving the operation is greater than the preset validity period and less than the contract validity period, authentication is initiated between the terminal device and the network device.
[0019] In a possible implementation of the second aspect, after the user operates the control, the method also includes: when the contract validity period is less than the preset validity period, determining whether the time when the operation is received is greater than the contract validity period; in response to the time when the operation is received being greater than the contract validity period, sending a first request to the network device.
[0020] That is, if the contract validity period is less than the preset validity period, and the time when the terminal device responds to receiving the operation is greater than the contract validity period, that is, within the non-contract validity period, then authentication is initiated between the terminal device and the network device.
[0021] In a possible implementation of the second aspect, after the user operates the control, the method also includes: when the contract validity period is less than the preset validity period, determining that the time of receiving the operation is within the contract validity period; in response to the time of receiving the operation being within the contract validity period, sending a second request to the network device, the second request is used to request the network device to set up a call forwarding service; in response to receiving a message from the network device that the call forwarding service is successfully set up, displaying a prompt message on the first interface, the prompt message is used to prompt the user that the call forwarding service is successfully set up.
[0022] That is, if the time when the terminal device responds to receiving the operation is within the validity period of the contract, since the validity period of the contract is less than the authentication validity period, the terminal device has successfully completed the authentication with the network device within the validity period of the contract. In this case, the terminal device may not send the first request to the network device, but may directly send the second request to the network device to successfully set up the call forwarding service.
[0023] In a possible implementation manner of the second aspect, setting the call forwarding service is to set the first number to be forwarded to the second number under a preset call forwarding condition, or setting the call forwarding service is to delete the set call forwarding service.
[0024] In a possible implementation manner of the second aspect, the preset call forwarding condition includes: forwarding on busy, forwarding on no answer, forwarding on unreachable, or forwarding unconditionally.
[0025] In a third aspect, a call forwarding setting method is provided, which is applied to a terminal device, comprising: the terminal device displays a first interface, the first interface including controls for setting a call forwarding service; the terminal device sends a first request to a network device in response to a user's operation of the controls during the validity period of a contract, the first request being used to initiate authentication between the terminal device and the network device; wherein the validity period of the contract is a period of time within the validity period of the contract excluding the validity period of the authentication; the terminal device receives a message from the network device indicating that the call forwarding service setting has failed; the terminal device displays a first interface, the first interface including controls for setting a call forwarding service; the terminal device responds to the user's operation of the controls during the validity period of the contract The operation of the control sends a first request to the network device, the first request is used to initiate authentication between the terminal device and the network device; wherein, the contract validity period is a period of time within the contract validity period excluding the authentication validity period; the authentication validity period is the length of time during which the terminal device does not need to authenticate again after the authentication between the terminal device and the network device is successful; the terminal device responds to the successful authentication between the terminal device and the network device by sending a second request to the network device, the second request is used to request the network device to set up a call forwarding service; the terminal device responds to receiving a message from the network device that the call forwarding service is successfully set up, and displays a prompt message on the first interface, the prompt message is used to prompt the user that the call forwarding service is successfully set up.
[0026] In the present application, the terminal device receives the user's operation on the control and determines whether the operation occurs within the validity period of the contract. If the operation occurs within the validity period of the contract, a second request is sent, but a message indicating that the call forwarding service setup failed is received; when the terminal device receives the user's operation on the control again, it determines whether the operation occurs within the validity period of the contract. If the operation occurs within the validity period of the contract, the first request is sent because a message indicating that the call forwarding service setup failed is received.
[0027] In this application, the authentication validity period is the length of time that the terminal device does not need to authenticate again after the authentication between the terminal device and the network device is successful. It means that after the authentication between the terminal device and the network operator's device is successful, the terminal device can reset the new call forwarding service without performing authentication operations. If the authentication validity period exceeds, the terminal device and the network operator's device need to be re-authenticated before the new call forwarding service can be reset. The contract validity period is the length of time that the terminal device can respond to the user's setting operation for the call forwarding service without performing authentication operations after the authentication between the terminal device and the network operator's device stored in the terminal device is successful. Generally, the contract validity period is greater than the authentication validity period.
[0028] If the terminal device determines that the call forwarding service setting fails within the contract validity period, then during a period of time other than the authentication validity period within the contract validity period, even if the contract validity period is stored in the terminal device, the terminal device is not restricted by the contract validity period, but performs authentication operation with the network operator device again, so that the call forwarding service can be successfully set up after re-authentication between the terminal device and the network operator device. In this way, the terminal device can flexibly set up the call forwarding service according to the user's wishes during a period of time other than the authentication validity period within the contract validity period, thereby improving the user experience.
[0029] In a possible implementation manner of the first aspect, before sending the first request to the network device, the method further includes: the terminal device receives a message from the network device indicating that the call forwarding service setting fails.
[0030] In a fourth aspect, a terminal device is provided, which includes a processor and a memory; the memory is used to store code instructions; the processor is used to run the code instructions to execute a call forwarding setting method in any possible design mode as in the first aspect or the second aspect.
[0031] In a fifth aspect, a computer-readable storage medium is provided, in which instructions are stored. When the instructions are executed on a computer, the computer executes a call forwarding setting method in any possible design mode of the first aspect or the second aspect.
[0032] In a sixth aspect, a computer program product is provided, comprising a computer program / instruction, which, when executed by a processor, implements a call forwarding setting method in any possible design manner in the first aspect or the second aspect.
[0033] Among them, the technical effects brought about by any design method in the second to fifth aspects can refer to the technical effects brought about by different design methods in the first aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] Figure 1 A schematic diagram showing changes in the setting interface of a call forwarding service is shown;
[0035] Figure 2 Another schematic diagram of the change of the setting interface of the call forwarding service is shown;
[0036] Figure 3 A schematic diagram showing a time period in which the above technical problem occurs;
[0037] Figure 4 A business setting system and a business setting principle schematic diagram are shown;
[0038] Figure 5 Another business setting system and a business setting principle schematic diagram are shown;
[0039] Figure 6 A schematic structural diagram of a mobile phone 100 is shown;
[0040] Figure 7 A flow chart of a call forwarding setting method is shown;
[0041] Figure 8 A schematic diagram showing a non-contract validity period;
[0042] Fig. 9 A flow chart of another method for setting call forwarding is shown;
[0043] Fig.10 A flow chart of another method for setting call forwarding is shown;
[0044] Fig.11 A schematic diagram showing a preset validity period;
[0045] Fig.12 A schematic diagram showing another non-contract validity period;
[0046] Fig.13 A schematic diagram of a system for setting up a call forwarding service is shown;
[0047] Fig.14A schematic diagram of a process of interaction between the mobile phone 100, the DNS 200-3 and the AP 200-4, so that the mobile phone 100 obtains the authentication status information;
[0048] Fig.15 A schematic diagram of a process of interaction between the mobile phone 100 and the DNS 200 - 3 , the AP 200 - 4 , the BSF 200 - 1 and the HSS 200 - 2 is shown, so that the mobile phone 100 and the network operator equipment can successfully complete the authentication;
[0049] Fig.16 A schematic diagram of a process of interaction between a mobile phone 100 and DNS 200 - 3 , AP 200 - 4 , BSF 200 - 1 and NAF 200 - 5 to set a call forwarding service is shown;
[0050] Fig.17 A schematic diagram showing a process of displaying a call forwarding service operation interface on a mobile phone 100;
[0051] Fig.18 A schematic diagram showing the interface changes in the mobile phone 100 during the process of opening the call forwarding service operation interface. DETAILED DESCRIPTION
[0052] The technical solutions in the embodiments of the present application are described below in conjunction with the drawings in the embodiments of the present application. Among them, in the description of the embodiments of the present application, the terms used in the following embodiments are only for the purpose of describing specific embodiments, and are not intended to be used as limitations on the present application. As used in the specification and the appended claims of the present application, the singular expressions "a", "said", "above", "the" and "this" are intended to also include expressions such as "one or more", unless there is a clear indication to the contrary in the context. It should also be understood that in the following embodiments of the present application, "at least one", "one or more" refer to one or more (including two). The term "and / or" is used to describe the association relationship of associated objects, indicating that three relationships can exist; for example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the associated objects before and after are in a "or" relationship.
[0053] References to "one embodiment" or "some embodiments" etc. described in this specification mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Thus, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways. The term "connection" includes direct connection and indirect connection, unless otherwise specified. "First" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated.
[0054] In the embodiments of the present application, the words "exemplarily" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplarily" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplarily" or "for example" is intended to present related concepts in a specific way.
[0055] The following is a brief overview of the terms involved in the embodiments of the present application.
[0056] (1) Call forwarding is a telephone service feature that allows a user to forward incoming calls to another phone number when the user is unable to answer the call.
[0057] Generally, call forwarding includes four modes, namely, unconditional forwarding, busy forwarding, no answer forwarding and unreachable (no signal or power off) forwarding. In the embodiment of the present application, call forwarding services in different modes can be referred to as different call forwarding services. The following introduces the four modes of call forwarding:
[0058] (2) Unconditional forwarding: Once set, all calls are forwarded to the pre-specified phone number. The terminal device (such as a mobile phone) cannot answer calls temporarily, but can answer calls from the terminal device corresponding to the pre-set number. That is, no matter what state the terminal device (such as a mobile phone) is in (powered on, powered off, busy or unanswered), all incoming calls will be forwarded to the number preset by the user.
[0059] (3) Busy forwarding: Once set, when you are on a call with another user, if someone else calls you, the call will be automatically forwarded to the pre-set number. That is, when the user is on a call, if another user tries to call, the call will be automatically forwarded to the user's preset number.
[0060] (4) No Answer Forwarding: Once set, when the terminal device (such as a mobile phone) rings and no one answers, the call will be forwarded to the pre-set number. That is, if the terminal device (such as a mobile phone) rings and no one answers the call, the call will be forwarded to the number preset by the user.
[0061] (5) Unreachable (no signal or powered off) forwarding: Once set, when the terminal device (such as a mobile phone) is powered off or has no signal, the incoming calls will be forwarded to the pre-set number. That is, when the terminal device (such as a mobile phone) is powered off or has no signal, all incoming calls will be forwarded to the user's preset number.
[0062] It is understood that the user can set the three modes of "busy forwarding", "no answer forwarding" and "unreachable forwarding" separately or simultaneously as needed. When the "unconditional forwarding" mode is set, the settings of the other three modes are invalid.
[0063] (6) Authentication. Authentication is identity authentication, which is to verify whether the terminal device has the authority to access or operate relevant data from the network operator's device. Generic Bootstrapping Architecture (GBA) is a user authentication mechanism, which is currently used for authentication of operator-related services. For example, in data-related services, the terminal device and the network operator device perform user authentication during the interaction process. Specifically, for example, a shared user key (Ks-NAF) is established between the network operator device and the terminal device based on the Subscriber Identity Module (SIM) card, and the shared key is used to implement user authentication, that is, GBA. Among them, the network operator device can be a bootstrapping server (BSF). The network operator device can be referred to as a network device.
[0064] The technical problem described in the background technology is that if a user sets different call forwarding services multiple times within a period of time, the terminal device can only respond to part of the setting operations of the call forwarding service within the period of time. In this way, the terminal device cannot flexibly set the call forwarding service according to the user's wishes within the aforementioned period of time, and the user experience is poor.
[0065] The technicians found that the terminal equipment responds to some of the user's setting operations for the call forwarding service during this period, and is unable to obtain the right to use the call forwarding service corresponding to other setting operations of the call forwarding service. The time is: a period of time within the contract validity period excluding the authentication validity period.
[0066] For example, Figure 3 A schematic diagram showing a time period in which the above technical problems occur is shown. Figure 3 As shown, the starting point of the time axis is the moment of successful authentication, that is, the moment of successful authentication between the terminal device and the network operator device. A period of time after the moment of successful authentication is the authentication validity period (for example, 30 minutes). Another period of time after the moment of successful authentication is the contract validity period (for example, 2 hours). The period of time in which the aforementioned technical problem exists is a period of time other than the authentication validity period within the contract validity period. Among them, the authentication validity period is stored in the network operator device. The authentication validity period is the duration during which the terminal device can reset the new call forwarding service without performing authentication operation after the authentication between the terminal device and the network operator device is successful. If the authentication validity period is exceeded, the terminal device and the network operator device need to re-authenticate before resetting the new call forwarding service. The terminal device stores the contract validity period received from the network operator device. The contract validity period is the duration during which the terminal device can respond to the user's setting operation for the call forwarding service without performing authentication operation after the authentication between the terminal device and the network operator device is successful. Generally, the contract validity period is greater than the authentication validity period. In order to reduce power consumption caused by frequent authentication procedures between the terminal device and the network operator's device, the authentication validity period can be set to be greater than or equal to a preset value, which can be 5 minutes.
[0067] The following specifically describes the reason why the terminal device responds to part of the setting operations of the call forwarding service by the user during the period and cannot obtain the right to use the call forwarding service corresponding to other setting operations of the call forwarding service.
[0068] For example, within the above time period, the user initiates two call forwarding service settings. The terminal device stores the contract validity period. Figure 3 ,like Figure 3As shown, for example, the contract validity period is shown as 2 hours. The authentication validity period is stored in the network operator device, and the authentication validity period is shown as 30 minutes. If the user sets the call forwarding service for the first time within 30 minutes from the last successful authentication, that is, within the authentication validity period, the call forwarding service will be set successfully. If the user sets the call forwarding service for the second time within a time period of 30 minutes to 2 hours from the last successful authentication, for example, 40 minutes from the last successful authentication. Since the contract validity period stored in the terminal device itself is 2 hours, the terminal device will no longer perform authentication operations with the network operator device according to the contract validity period. The authentication validity period stored in the network operator device itself is 30 minutes, that is, the time when the user sets the call forwarding service for the second time has exceeded the time when the network operator device considers the authentication-free operation, and the terminal device and the network operator device need to re-authenticate before re-setting the new call forwarding service. Otherwise, if there is no re-authentication between the terminal device and the network operator device, the new call forwarding service cannot be reset. Therefore, the terminal device cannot respond to the user's second setting operation of the call forwarding service within a period of 30 minutes to 2 hours from the time of the last successful authentication, and the setting of the call forwarding service will fail.
[0069] It should be noted that the above only takes the case where the terminal device responds to the user's first setting operation of the call forwarding service within the authentication validity period, and the terminal device responds to the user's second setting operation of the call forwarding service within a time period of 30 minutes to 2 hours from the last successful authentication as an example to explain the reason for the failure of setting up the call forwarding service.
[0070] It is understandable that, during the authentication validity period, the number of times the terminal device receives the user's setting operation for the call forwarding service is not necessarily one or two times, but may be more times. During the validity period of the contract, in addition to the authentication validity period, for example, within a period of time from 30 minutes to 2 hours from the last successful authentication, the number of times the terminal device receives the user's setting operation for the call forwarding service is not necessarily one or two times, but may be more times. During the validity period of the authentication, the terminal device receives multiple settings of the call forwarding service from the user, and in response to the user's multiple settings of the call forwarding service, the call forwarding service will be set up successfully. During a period of time other than the authentication validity period during the contract validity period, in addition to the authentication validity period, for example, within a period of time from 30 minutes to 2 hours from the last successful authentication, one or more settings of the call forwarding service received by the terminal device from the user will result in the problem of call forwarding service setting failure.
[0071] Figure 4 A schematic diagram of a service setting system and a service setting principle is shown. Figure 4As shown in FIG. 1 (a), the service setting system includes a mobile phone 100, a boot server 200-1 and a home subscriber server (Home Subscriber Server, HSS) 200-2. The boot server BSF 200-1 and the home subscriber server HSS 200-2 are network operator devices.
[0072] Among them, the guidance server BSF200-1 is used to authenticate the mobile phone 100 that is setting up the service. The guidance server BSF200-1 stores the authentication validity period. The authentication validity period is the duration during which the mobile phone 100 can reset the new call forwarding service without performing authentication again after the authentication between the mobile phone 100 and the guidance server BSF200-1 is successful. If the authentication validity period exceeds, the mobile phone 100 and the guidance server BSF200-1 need to re-authenticate before resetting the new call forwarding service.
[0073] The home subscriber server HSS200-2 is used to store user data and is a database for recording user data. The user data may be the contract validity period of the user's contract. For the mobile phone 100, the mobile phone 100 may store the contract validity period obtained from the home subscriber server HSS200-2. During the authentication validity period, if the mobile phone 100 receives the user's service setting operation again, the service setting authentication will not be performed again. Figure 4 Figure (a) and Figure 4 As shown in Figure (b), during the period of time other than the authentication validity period during the contract validity period, if the mobile phone 100 receives an operation from the user to set up a call forwarding service, such as the second setting operation for the call forwarding service mentioned above occurs during the period of time other than the authentication validity period during the contract validity period, the authentication process will not be initiated and the call forwarding service setting will fail.
[0074] In order to solve the aforementioned technical problems, an embodiment of the present application provides a call forwarding setting method. During a period of time other than the authentication validity period within the contract validity period, even if the contract validity period is stored in the terminal device, the terminal device is not restricted by the contract validity period, but performs authentication operation with the network operator device again, so as to successfully set the call forwarding service after re-authentication between the terminal device and the network operator device. In this way, the terminal device can also flexibly set the call forwarding service according to the user's wishes during a period of time other than the authentication validity period within the contract validity period, thereby improving the user experience.
[0075] Figure 5 A schematic diagram of a service setting system and a service setting principle is shown. Figure 5 As shown in Figure (a) in the figure, the business setting system is Figure 4The service setting system shown in FIG. (a) of FIG. 1 includes a terminal device, such as a mobile phone 100, a guidance server 200-1 and a home user server 200-2. Specifically, for example, Figure 5 Figure (a) and Figure 5 As shown in Figure (b), during a period of time other than the authentication validity period during the contract validity period, if the mobile phone 100 receives an operation from the user to set up a call forwarding service, such as the second setting operation for the call forwarding service mentioned above, it will no longer be restricted by the contract validity period and will initiate the authentication process again to successfully set up the call forwarding service.
[0076] In the embodiment of the present application, the terminal device may be a device having a communication function and supporting a call forwarding service. Exemplarily, the terminal device may include but is not limited to a mobile phone, a tablet computer, a desktop computer, a laptop computer, a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC), a vehicle-mounted device, a smart home device and / or a smart city device. The embodiment of the present application does not impose any special restrictions on the specific type of the terminal device. The terminal device may also be called a user equipment (UE).
[0077] Take the mobile phone as an example, please refer to Figure 6 , is a schematic diagram of the structure of the mobile phone 100 provided in an embodiment of the present application.
[0078] like Figure 6 As shown, the mobile phone 100 may include: a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, a display screen 170, etc.
[0079] It is to be understood that the structure shown in this embodiment does not constitute a specific limitation on the mobile phone 100. In other embodiments, the mobile phone 100 may include more or fewer components than shown in the figure, or combine some components, or separate some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0080] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural network processing unit (NPU), etc. Among them, different processing units may be independent devices or integrated in one or more processors.
[0081] The controller may be the nerve center and command center of the mobile phone 100. The controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.
[0082] A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or circulated. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. Repeated access is avoided, the waiting time of the processor 110 is reduced, and the efficiency of the system is improved. In the embodiment of the present application, the processor 110 may be used to execute the call forwarding setting method.
[0083] In some embodiments, the processor 110 may include one or more interfaces. The interface may include an Inter-Integrated Circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a USB interface, etc.
[0084] In the embodiment of the present application, the SIM interface is used to connect the SIM card, and the SIM card can be connected to and separated from the mobile phone 100 by inserting it into the SIM card interface or pulling it out from the SIM card interface. The mobile phone 100 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface can support Nano SIM card, Micro SIM card, SIM card, etc. Multiple cards can be inserted into the same SIM card interface at the same time. The types of the multiple cards can be the same or different. The SIM card interface can also be compatible with different types of SIM cards. The SIM card interface can also be compatible with external memory cards. The mobile phone 100 interacts with the network through the SIM card to realize functions such as calls and data communications. In some embodiments, the mobile phone 100 can use eSIM, that is, embedded SIM card. The eSIM card can be embedded in the mobile phone 100 and cannot be separated from the mobile phone 100. The following embodiments are described by taking the mobile phone 100 using a SIM card as an example, but the embodiments of the present application are also applicable to terminal devices using eSIM.
[0085] Exemplarily, in this embodiment, the phone number corresponding to the SIM card is the phone number that the mobile phone 100 can answer calls. In some embodiments, the mobile phone 100 can set the call forwarding of the mobile phone 100 to an unconditional forwarding mode in response to the user's operation, so as to forward the incoming calls of the phone number to other phone numbers. In some other embodiments, the mobile phone 100 can also set the call forwarding of the mobile phone 100 to any one or more of the busy forwarding mode, the no answer forwarding mode and the unreachable (no signal or powered off) forwarding mode in response to the user's operation, so as to forward the incoming calls of the phone number to other phone numbers.
[0086] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the mobile phone 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function, such as storing music, video and other files in the external memory card.
[0087] The internal memory 121 may be used to store computer executable program codes, which include instructions. The processor 110 executes various functional applications and data processing of the mobile phone 100 by running the instructions stored in the internal memory 121. For example, in an embodiment of the present application, the processor 110 may implement the call forwarding setting method of the present application by executing the instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area.
[0088] The program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created during the use of the mobile phone 100 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.
[0089] The USB interface 130 is an interface that complies with the USB standard specification, and specifically can be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 130 can be used to connect a charger to charge the mobile phone 100, and can also be used to transfer data between the mobile phone 100 and peripheral devices. It can also be used to connect headphones to play audio through the headphones. The interface can also be used to connect other terminal devices, such as AR devices, etc.
[0090] The charging management module 140 is used to receive charging input from a charger. The charger can be a wireless charger or a wired charger. While the charging management module 140 charges the battery 142, it can also power the terminal device through the power management module 141.
[0091] The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and supplies power to the processor 110, the internal memory 121, the display screen 170, and the wireless communication module 160. In some embodiments, the power management module 141 and the charging management module 140 can also be set in the same device.
[0092] The wireless communication function of the mobile phone 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.
[0093] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in mobile phone 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.
[0094] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G applied to the mobile phone 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.
[0095] The modem processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to a speaker 170A, a receiver 170B, etc.), or displays an image or video through a display screen 194. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication module 150 or other functional modules.
[0096] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR) and the like applied to the mobile phone 100. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the electromagnetic wave signal and performs filtering, and sends the processed signal to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.
[0097] In some embodiments, the antenna 1 of the mobile phone 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the mobile phone 100 can communicate with the network and other devices through wireless communication technology.
[0098] The mobile phone 100 implements the display function through a GPU, a display screen 170, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 170 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
[0099] The display screen 170 is used to display images, videos, etc. The display screen 170 includes a display panel. In the embodiment of the present application, the display screen 170 can display an interface related to the call forwarding service.
[0100] In order to solve the above technical problems, a solution is provided below. Figure 7 . Figure 7 A flow chart of a method for setting a call forwarding is shown. Figure 7 The process includes the following steps:
[0101] S701: The mobile phone 100 obtains authentication status information from a network operator device in response to a user setting up a call forwarding service on a call forwarding service operation interface.
[0102] The mobile phone 100 displays the call forwarding service operation interface, and the mobile phone 100 can set various call forwarding services on the call forwarding service operation interface according to the user's operation. Figure 1 As shown in (a) of FIG. 1 , the mobile phone 100 displays a busy call forwarding interface 101. The mobile phone 100 responds to the user filling in the number B in the busy call forwarding interface 101 and clicking the completion icon 1011.
[0103] It can be understood that the call forwarding service operation interface can be called the first interface, and the call forwarding service operation interface includes a control for setting the call forwarding service. The mobile phone 100 responds to the user's operation of setting the call forwarding service on the call forwarding service operation interface, which can be the mobile phone 100 responding to the user's operation of the control for setting the call forwarding service on the call forwarding service operation interface. For example, Figure 1 As shown in (a) in FIG. 1 , the location for filling in number B in the busy call forwarding interface 101 may be a control for setting a call forwarding service.
[0104] The authentication status information can be used to indicate whether the authentication between the mobile phone 100 and the network operator device is successfully completed. For example, if the authentication between the mobile phone 100 and the network operator device is successfully completed, this authentication status information is used to indicate that the mobile phone 100 has the authority to access or operate the relevant data from the network operator device. If the authentication between the mobile phone 100 and the network operator device is not successfully completed, this authentication status information is used to indicate that the mobile phone 100 has no authority to access or operate the relevant data from the network operator device.
[0105] The specific implementation scheme of the mobile phone 100 obtaining the authentication status information from the network operator equipment in response to the user's operation of setting the call forwarding service on the call forwarding service operation interface will be introduced below and will not be repeated here.
[0106] S702: The mobile phone 100 determines whether the authentication status information indicates that the authentication is successfully completed.
[0107] If the mobile phone 100 determines that the authentication status information is successfully completed, the service setting process can be performed with the network operator device, that is, S704 is executed. It can be understood that the time period during which the authentication status information of the mobile phone 100 is successfully completed is generally the authentication validity period. Since the authentication validity period is the time period after the authentication between the mobile phone 100 and the network operator device is successfully stored in the network operator device, the mobile phone 100 can reset the new call forwarding service without performing the authentication operation again. Therefore, if the mobile phone 100 responds to the user's operation of setting the call forwarding service on the call forwarding service operation interface within the authentication validity period, the call forwarding service can be set without re-authentication between the mobile phone 100 and the network operator device, that is, S704 is executed.
[0108] If the mobile phone 100 determines that the authentication status information is that the authentication is not successfully completed, the mobile phone 100 needs to perform the authentication process with the network operator device. After the authentication is successfully completed, the mobile phone 100 can perform the service setting process with the network operator device. That is, when the authentication status information is that the authentication is not successfully completed, S703 to S704 are executed.
[0109] It is understandable that the time period during which the mobile phone 100 fails to complete the authentication is generally the time period 1 and the non-contract validity period as described above. Among them, the time period 1 is a period of time within the contract validity period except the authentication validity period.
[0110] It can be understood that the contract validity period is the time period during which the mobile phone 100 can respond to the user's setting operation of the call forwarding service without performing the authentication operation after the authentication between the mobile phone 100 and the network operator's equipment is successfully stored in the mobile phone 100. In the prior art, if the mobile phone 100 responds to the user's operation of setting the call forwarding service on the call forwarding service operation interface in time period 1, it will not initiate the authentication process with the network operator's equipment. In this case, there is a problem that the call forwarding service cannot be set if the mobile phone 100 and the network operator's equipment are not authenticated. Therefore, if the mobile phone 100 responds to the user's operation of setting the call forwarding service on the call forwarding service operation interface, the mobile phone 100 can ignore the contract validity period and re-authenticate with the network operator's equipment to successfully set the call forwarding service, that is, execute S703 to S704. In this way, the mobile phone 100 can also flexibly set the call forwarding service according to the user's wishes for a period of time other than the authentication validity period within the contract validity period, thereby improving the user experience.
[0111] The non-contract validity period includes the period from the end of the previous contract validity period to the beginning of the next contract validity period. Figure 8 A schematic diagram of a non-contract validity period is shown. Figure 8 As shown, the period between the end of the first contract validity period and the beginning of the second contract validity period is the non-contract validity period. The period between the end of the second contract validity period and the beginning of the third contract validity period is the non-contract validity period.
[0112] During the non-contract validity period, the mobile phone 100 can re-authenticate with the network operator's equipment to set up the call forwarding service.
[0113] In some embodiments, the call forwarding service set during the authentication validity period (e.g., called call forwarding service 1) can be to set the first number to be forwarded to the second number under the preset call forwarding conditions, and the call forwarding service set for a period of time other than the authentication validity period during the contract validity period (e.g., called call forwarding service 2) can be to set the first number to be forwarded to the third number under the preset call forwarding conditions. The preset call forwarding condition can be any one of the aforementioned "busy forwarding", "no answer forwarding", "unreachable forwarding" and "unconditional forwarding".
[0114] In some other embodiments, call forwarding service 1 is to set the first number to be forwarded to the second number under the first preset call forwarding condition, and call forwarding service 2 is to set the first number to be forwarded to the second number under the second preset call forwarding condition. The first preset call forwarding condition can be any one of the aforementioned "forwarding when busy", "forwarding when no answer", "forwarding when unreachable", and "forwarding unconditionally". The second preset call forwarding condition can be any one of the aforementioned "forwarding when busy", "forwarding when no answer", "forwarding when unreachable", and "forwarding unconditionally". The first preset call forwarding condition is different from the second preset call forwarding condition.
[0115] In some other embodiments, call forwarding service 1 is to set the first number to be forwarded to the second number under the first preset call forwarding condition, and call forwarding service 2 is to set the first number to be forwarded to the third number under the second preset call forwarding condition. The first preset call forwarding condition can be any one of the aforementioned "forwarding when busy", "forwarding when no answer", "forwarding when unreachable", and "forwarding unconditionally". The second preset call forwarding condition can be any one of the aforementioned "forwarding when busy", "forwarding when no answer", "forwarding when unreachable", and "forwarding unconditionally". The first preset call forwarding condition is different from the second preset call forwarding condition.
[0116] In some other embodiments, setting the call forwarding service may be deleting the call forwarding service that has been set.
[0117] S703: The mobile phone 100 and the network operator equipment perform an authentication process and successfully complete the authentication.
[0118] The mobile phone 100 and the network operator equipment perform an authentication process. The specific implementation scheme for successfully completing the authentication will be introduced below and will not be repeated here.
[0119] S704: The mobile phone 100 and the network operator device execute a service setting process, and display an interface for prompting the user that the call forwarding service is set successfully.
[0120] The specific implementation scheme of the service setting process performed by the mobile phone 100 and the network operator equipment will be introduced below and will not be repeated here.
[0121] For example, in Figure 1 After (a) in Figure 1, Figure 1 As shown in FIG. 8( b ), the mobile phone 100 may display number B in the busy call forwarding option of the call forwarding interface 102 to prompt the user that the call forwarding service is successfully set.
[0122] The interface displayed for prompting the user that the call forwarding service is successfully set up can be called a first interface for displaying prompt information, and the prompt information is used to prompt the user that the call forwarding service is successfully set up.
[0123] In order to solve the above technical problems, another solution is provided below. Fig. 9 It is understandable that some terminal devices have technical problems in the background technology with network operator devices, while others do not. When the terminal device encounters the technical problem in the background technology for the first time, it can record the information that there is such a problem between the terminal device and the network operator device. When the terminal device responds to the user's call forwarding service operation again, the terminal device and the network operator device can be authenticated first based on the information that there is such a problem between the terminal device and the network operator device to successfully perform the device call forwarding service. For details, see Fig. 9 . Fig. 9 and Figure 7 The difference between the schemes in Fig. 9 In the solution, the terminal device can automatically determine whether the aforementioned technical problems exist between the terminal device and the network operator device, and if the aforementioned technical problems exist, the terminal device and the network operator device are authenticated first to successfully perform the device call transfer service.
[0124] Fig. 9 A flow chart of a method for setting a call forwarding is shown. Fig. 9 The process includes the following steps:
[0125] S901: During time period 1, mobile phone 100 receives information about call forwarding service failure fed back by the network operator device and records first information; wherein the first information is used to indicate that the call forwarding service setting has failed during time period 1, and the first information is used to trigger mobile phone 100 to perform an authentication process between mobile phone 100 and the network operator device in response to the user's operation of setting up the call forwarding service on the call forwarding service operation interface.
[0126] In time period 1, the mobile phone 100 receives the call forwarding service failure information fed back by the network operator's equipment, which is often caused by the failure to perform the authentication process between the mobile phone 100 and the network operator's equipment. Therefore, the mobile phone 100 can record the information of the failure to set the call forwarding service in time period 1, so that the mobile phone 100 can trigger the mobile phone 100 to perform the authentication process between the mobile phone 100 and the network operator's equipment based on the information in response to the user's operation of setting the call forwarding service on the call forwarding service operation interface, so as to successfully set the call forwarding service.
[0127] S902: The mobile phone 100 obtains authentication status information from the network operator device in response to the user's operation of setting up the call forwarding service on the call forwarding service operation interface.
[0128] The technical solution of S902 is the same as that of the aforementioned S701 and will not be repeated here.
[0129] S903: The mobile phone 100 determines whether the authentication status information indicates that the authentication is successfully completed.
[0130] The technical solution of S903 is the same as that of the aforementioned S702 and will not be repeated here.
[0131] S904: The mobile phone 100 performs an authentication process with the network operator device based on the first information and successfully completes the authentication.
[0132] The technical solution of S904 is the same as that of the aforementioned S703 and will not be repeated here.
[0133] The first information is used to trigger the mobile phone 100 to perform an authentication process between the mobile phone 100 and the network operator device in response to the user's operation of setting the call forwarding service on the call forwarding service operation interface. Therefore, when the mobile phone 100 determines that the authentication information is a case where the authentication is not successfully completed, in order to successfully set the call forwarding service, the call forwarding service is set after executing the authentication process with the network operator device, that is, executing S904 to S905.
[0134] S905: The mobile phone 100 and the network operator equipment execute a service setting process, and display an interface for prompting the user that the call forwarding service is set successfully.
[0135] The technical solution of S905 is the same as that of the aforementioned S704 and will not be repeated here.
[0136] It can be understood that in some other embodiments, Fig. 9The time during which the mobile phone 100 receives the information about the failure of the call forwarding service fed back by the network operator's equipment can be extended to the validity period of the contract, that is, during the validity period of the contract, the mobile phone 100 receives the information about the failure of the call forwarding service fed back by the network operator's equipment, records the first information, and then, when the mobile phone 100 again responds to the user's operation of setting up the call forwarding service on the call forwarding service operation interface, performs an authentication process between the mobile phone 100 and the network operator's equipment to successfully set up the call forwarding service.
[0137] If the mobile phone 100 determines that the call forwarding service setting fails within the contract validity period, then during a period of time other than the authentication validity period within the contract validity period, even if the contract validity period is stored in the mobile phone 100, the mobile phone 100 is not restricted by the contract validity period, but performs authentication operation with the network operator equipment again, so that the call forwarding service can be successfully set after re-authentication between the mobile phone 100 and the network operator equipment. In this way, the mobile phone 100 can also flexibly set the call forwarding service according to the user's wishes during a period of time other than the authentication validity period within the contract validity period, thereby improving the user experience.
[0138] In order to solve the above technical problems, another solution is provided below. In this solution, the preset validity period is stored in the terminal device. After comparing the preset validity period with the contract validity period, the authentication process with the network operator device is performed based on the smaller validity period (such as the preset validity period or the contract validity period). For details, see Fig.10 . Fig.10 A flow chart of a call forwarding setting method is shown.
[0139] S1001: The mobile phone 100 determines the size of the preset validity period and the contract validity period.
[0140] The preset validity period is less than or equal to the authentication validity period. Fig.11 A schematic diagram of a preset validity period is shown. Fig.11 As shown, the starting point of the time axis is the moment of successful authentication, that is, the moment when the authentication between the mobile phone 100 and the network operator equipment is successful. A period of time after the moment of successful authentication is the authentication validity period (for example, 30 minutes), and another period of time after the moment of successful authentication is the preset validity period (for example, 20 minutes). The preset validity period is less than the authentication validity period.
[0141] If the mobile phone 100 determines that the preset validity period is less than the contract validity period, the period of time other than the preset validity period in the contract validity period includes the time period 1 mentioned above. For example, please continue to refer to Fig.11, another time period after the moment of successful authentication is the contract validity period (for example, 2 hours), and there is a time period 1 within the 40 minutes of the 2-hour contract validity period, excluding the 20-minute preset validity period. Therefore, if the mobile phone 100 determines that the preset validity period is less than the contract validity period, then in the contract validity period, excluding the preset validity period, there is the aforementioned problem of failure to set up the call forwarding service due to the failure to successfully complete the authentication between the mobile phone 100 and the network operator's equipment. Furthermore, in the contract validity period, excluding the preset validity period, the call forwarding service can only be successfully set up after the authentication between the mobile phone 100 and the network operator's equipment is successfully completed, that is, S1002 to S1003 are executed.
[0142] In the embodiment of the present application, when the contract validity period is longer than the preset validity period, the preset validity period is taken as the aforementioned time judgment standard. Even within the authentication validity period, as long as the time is longer than the preset validity period, if the user performs the call forwarding service setting operation again, the mobile phone 100 will respond to the user's call forwarding service setting operation this time, perform the authentication of the call forwarding service setting, and the user's second service setting is successful. In this way, the mobile phone 100 can also flexibly set the call forwarding service according to the user's wishes within a period of time other than the authentication validity period within the contract validity period, thereby improving the user experience.
[0143] Moreover, during the authentication validity period, except for a period of time within the preset validity period, if the mobile phone 100 responds to the user's operation of setting up the call forwarding service again, the authentication process will be executed again, which can improve the security of the call forwarding service setting between the mobile phone 100 and the network.
[0144] It is understandable that the preset validity period is less than or equal to the authentication validity period, that is, the authentication validity period is greater than the preset validity period. If the mobile phone 100 determines that the preset validity period is greater than or equal to the contract validity period, then the authentication validity period is greater than the contract validity period, and there is no problem of failure to set up the call forwarding service due to the failure to successfully complete the authentication between the mobile phone 100 and the network operator's equipment. Therefore, the mobile phone 100 can perform an authentication process with the network operator's equipment based on the contract validity period, that is, if the mobile phone 100 responds to the user's operation of setting up the call forwarding service on the call forwarding service operation interface during the non-contract validity period, it will initiate an authentication process with the network operator's equipment, that is, execute S1004 to S1005.
[0145] In this case (authentication validity period is greater than preset validity period, contract validity period is less than authentication validity period), non-contract validity period is still the period from the end of the previous contract validity period to the beginning of the next contract validity period. Fig.12 A schematic diagram of a non-contract validity period is shown. Fig.12As shown, the authentication validity period is 1 hour, the preset validity period is 20 minutes, and the contract validity period is 30 minutes. The period between the end of the first contract validity period and the start of the second contract validity period is the non-contract validity period. The period between the end of the second contract validity period and the start of the third contract validity period is the non-contract validity period.
[0146] It can be understood that if the mobile phone 100 determines that the preset validity period is greater than or equal to the contract validity period, the authentication validity period is greater than the contract validity period, and the aforementioned problem of failure to set up the call forwarding service due to unsuccessful authentication between the mobile phone 100 and the network operator device does not exist. During the authentication validity period, the mobile phone 100 responds to the user's operation of setting up the call forwarding service on the call forwarding service operation interface, and can successfully set up the call forwarding service without having to authenticate with the network operator device again. Since the authentication validity period is greater than the contract validity period (for example, Fig.12 As shown), if the mobile phone 100, within the authentication validity period, responds to the user's operation of setting the call forwarding service on the call forwarding service operation interface, and authenticates with the network operator's device again, there will be an unnecessary authentication process, which will increase the power consumption caused by the frequent authentication process between the mobile phone 100 and the network operator's device. In order to reduce the power consumption caused by the frequent authentication process between the mobile phone 100 and the network operator's device, the mobile phone 100 can perform the authentication process with the network operator's device based on the authentication validity period. That is, if the mobile phone 100 responds to the user's operation of setting the call forwarding service on the call forwarding service operation interface during the non-authentication validity period, the authentication process between the mobile phone 100 and the network operator's device will be initiated, and the authentication process will be performed with the network operator's device, that is, S1004 to S1005 will be executed.
[0147] In this case (the authentication validity period is greater than the preset validity period, and the contract validity period is less than the authentication validity period), the non-authentication validity period is still the period from the end of the previous contract validity period to the beginning of the next contract validity period. Fig.12 ,like Fig.12 As shown, take the authentication validity period of 1 hour, the preset validity period of 20 minutes, and the contract validity period of 30 minutes as an example. The period from the end of the first authentication validity period to the start of the second authentication validity period is the non-authentication validity period. The period from the end of the second authentication validity period to the start of the third authentication validity period is the non-authentication validity period.
[0148] S1002: The mobile phone 100 executes the authentication process with the network operator within the authentication validity period within the contract validity period. After successfully completing the authentication, if the time of the operation of setting the call forwarding service on the call forwarding service operation interface by the user is in time period 2, the authentication process is executed with the network operator equipment and the authentication is successfully completed.
[0149] Time period 2 is a period of time within the contract validity period other than the preset validity period, for example, Fig.11 Time period 2 shown.
[0150] Specifically, in some embodiments, the mobile phone 100 can determine whether the user's operation of setting the call forwarding service on the call forwarding service operation interface is in time period 2 by:
[0151] In response to the user's operation of setting up the call forwarding service on the call forwarding service operation interface, mobile phone 100 determines whether the time of responding to the user's operation of setting up the call forwarding service on the call forwarding service operation interface is greater than the preset validity period and less than the contract validity period. If it is determined that the time of responding to the user's operation of setting up the call forwarding service on the call forwarding service operation interface is greater than the preset validity period and less than the contract validity period, it is determined that the time of responding to the user's operation of setting up the call forwarding service on the call forwarding service operation interface is in time period 2.
[0152] S1003: The mobile phone 100 and the network operator equipment execute a service setting process, and display an interface for prompting the user that the call forwarding service is set successfully.
[0153] The technical solution of S1003 is the same as the technical solution of S704 in the previous text, and will not be repeated here.
[0154] S1004: The mobile phone 100 executes the authentication process with the network operator within the authentication validity period within the contract validity period. After successfully completing the authentication, if the time of the operation of setting the call forwarding service on the call forwarding service operation interface by the user is outside the contract validity period, the mobile phone 100 executes the authentication process with the network operator equipment and successfully completes the authentication.
[0155] For example, the non-contract validity period may be: Figure 8 Non-contract validity period shown.
[0156] Specifically, in some embodiments, the mobile phone 100 can determine whether the user's operation of setting the call forwarding service on the call forwarding service operation interface is within the non-contract validity period by:
[0157] In response to the user's operation of setting up the call forwarding service on the call forwarding service operation interface, the mobile phone 100 determines whether the time of responding to the user's operation of setting up the call forwarding service on the call forwarding service operation interface is greater than the contract validity period. If it is determined that the time of responding to the user's operation of setting up the call forwarding service on the call forwarding service operation interface is greater than the contract validity period, it is determined that the time of responding to the user's operation of setting up the call forwarding service on the call forwarding service operation interface is outside the contract validity period.
[0158] S1005: The mobile phone 100 and the network operator equipment execute a service setting process, and display an interface for prompting the user that the call forwarding service is set successfully.
[0159] The technical solution of S1005 is the same as the technical solution of S704 in the previous text, and will not be repeated here.
[0160] The following will illustrate by way of example a specific implementation scheme in which the mobile phone 100 responds to the user's operation of setting up a call forwarding service on the call forwarding service operation interface, obtains authentication status information from the network operator device, the mobile phone 100 and the network operator device perform an authentication process, successfully completes the authentication, and the mobile phone 100 and the network operator device perform a service setting process.
[0161] For example, Fig.13 As shown in FIG. 1 , a schematic diagram of a system for setting a call forwarding service is shown. Fig.13 As shown, the system for setting up a call forwarding service includes a mobile phone 100, a boot server BSF200-1, a home user server HSS200-2, a domain name system server (Domain Name System, DNS) 200-3, an authentication proxy server (Authentication Proxy, AP) 200-4 and an application server (Network Application Function, NAF) 200-5. The boot server 200-1, the home user server 200-2, the domain name server 200-3, the authentication proxy server 200-4 and the application server 200-5 are generally network operator equipment and are distributed in different locations.
[0162] The mobile phone 100 may interact with the DNS 200 - 3 and the AP 200 - 4 to obtain authentication status information.
[0163] Combine the following Fig.14 , which illustrates the specific process of mobile phone 100 obtaining authentication status information from network operator equipment. Fig.14 FIG. 2 shows a flow chart of the interaction between the mobile phone 100 and the DNS 200-3 and the AP 200-4 so that the mobile phone 100 can obtain the authentication status information. Fig.14 As shown, the process includes the following steps:
[0164] S1401: The mobile phone 100 queries the IP address of the AP 200 - 4 from the DNS 200 - 3 .
[0165] When the mobile phone 100 receives the user's operation of setting the call forwarding service on the call forwarding service operation interface, and the setting time of the call forwarding service is in time period 1, in response, the mobile phone 100 can query the IP address of AP200-4 from DNS200-3.
[0166] The domain name of AP200-4 and the IP address of AP200-4 correspond one to one. DNS200-3 has a domain name system, in which there is a distributed database in which domain names and IP addresses are mapped to each other. The domain name of AP200-4 is stored in the mobile phone 100, and the mobile phone 100 can query and obtain the IP address of AP200-4 from DNS200-3 according to the domain name of AP200-4.
[0167] Domain Name, also known as domain name or network domain for short, is the name of a device (such as AP200-4) on the Internet, which is composed of a string of names separated by dots. It is used to identify the location of the device (sometimes also refers to the geographical location) during data transmission.
[0168] A domain name can be a fully qualified domain name (FQDN). A fully qualified domain name is also called a full domain name. A full domain name consists of two parts: a host name and a domain name. For example, www.wikipedia.org is a domain name, and 208.80.152.2 is an IP address. A host name is also called a node name. On the Internet, a host name is appended to a domain name to form a full domain name.
[0169] S1402: The mobile phone 100 sends a request for obtaining authentication status information to the AP 200 - 4 based on the IP address of the AP 200 - 4.
[0170] After mobile phone 100 queries the IP address of AP200-4 from DNS200-3, mobile phone 100 can query authentication status information (referred to as authentication status information) between mobile phone 100 and network operator equipment (eg, HSS200-2) from AP200-4 based on the queried IP address.
[0171] S1403: AP200-4 feeds back to the mobile phone 100 that the authentication was not successfully completed.
[0172] It can be understood that the authentication status information includes successful authentication and unsuccessful authentication (or unsuccessful authentication) between the mobile phone 100 and the network operator device. In response to the received request for obtaining the authentication status information, AP200-4 can feedback the authentication status information to the mobile phone 100 according to the actual query situation of the authentication status information. If AP200-4 finds that the authentication between the mobile phone 100 and the network operator device is successfully completed, the successful authentication is fed back to the mobile phone 100. If AP200-4 finds that the authentication between the mobile phone 100 and the network operator device is not successfully completed, the unsuccessful authentication is fed back to the mobile phone 100. The embodiment of the present application takes the case where AP200-4 finds that the authentication between the mobile phone 100 and the network operator device is not successfully completed as an example, so AP200-4 feeds back the unsuccessful authentication to the mobile phone 100.
[0173] The mobile phone 100 can determine whether the mobile phone 100 needs to perform an authentication process with the network operator's equipment according to the obtained authentication status information. If the mobile phone 100 obtains that the authentication is not successfully completed, the authentication process is performed. See S704 and S705 below for details.
[0174] The mobile phone 100 can interact with the DNS 200-3, AP 200-4, BSF 200-1 and HSS 200-2 to successfully complete the authentication between the mobile phone 100 and the network operator equipment. This process can be called an authentication process. Fig.15 , which exemplifies the specific implementation method of the mobile phone 100 and the network operator equipment executing the authentication process and successfully completing the authentication.
[0175] Fig.15 FIG. 1 shows a flow chart of the interaction between the mobile phone 100 and the DNS 200-3, AP 200-4, BSF 200-1 and HSS 200-2 so that the mobile phone 100 and the network operator equipment can successfully complete the authentication process. Fig.15 As shown, the process includes the following steps:
[0176] S1501: The mobile phone 100 queries the IP address of the BSF 200-1 from the DNS 200-3.
[0177] After receiving the unsuccessful authentication feedback from AP200-4, mobile phone 100 may query the IP address of BSF200-1 from DNS200-3 in response.
[0178] Among them, the domain name of BSF200-1 and the IP address of BSF200-1 correspond one to one. DNS200-3 has a domain name system DNS, in which there is a distributed database in which domain names and IP addresses are mapped to each other. The domain name of AP200-4 is stored in the mobile phone 100. The mobile phone 100 can query and obtain the IP address of BSF200-1 from DNS200-3 according to the domain name of BSF200-1.
[0179] S1502: The mobile phone 100 sends a request for obtaining authentication information to BSF200-1 based on the IP address of BSF200-1.
[0180] The request for obtaining authentication information sent by the mobile phone 100 to the BSF200-1 may be referred to as a first request, which is used to initiate authentication between the mobile phone 100 and the network operator's equipment.
[0181] The authentication information is used for authentication between the mobile phone 100 and the network operator equipment, such as BSF200-1. The mobile phone 100 can complete the authentication key agreement (AKA) authentication based on the authentication information obtained from BSF200-1 to complete the authentication between the mobile phone 100 and the network operator equipment.
[0182] The authentication information may include an authentication vector (AV) and user contract information (GBA User Security Settings, GUSS). The authentication vector may include a user authentication quintuple: a random number (RAND), an authentication token (AUTN), a cipher key (CK), an integrity key (IK), and an expected user response (XRES). That is, the authentication vector = [RAND, AUTN, CK, IK, XRES]. The user contract information may include the contract validity period.
[0183] S1503: BSF200-1 sends a request for obtaining authentication information to HSS200-2.
[0184] Since HSS200-2 contains user contract information, HSS200-2 can determine the authentication vector. Therefore, after BSF200-1 receives the request for obtaining authentication information from mobile phone 100, it can send a request for obtaining authentication information to HSS200-2 to obtain the authentication information, which is used for authentication between mobile phone 100 and network operator equipment.
[0185] In some embodiments, BSF 200-1 may send a multimedia authentication request (MAR) to HSS 200-2, where the multimedia authentication request is a request for obtaining authentication information.
[0186] S1504: HSS200-2 feeds back authentication information to BSF200-1.
[0187] After HSS200-2 receives the request for obtaining authentication information from BSF200-1, it can determine the authentication vector.
[0188] In some embodiments, the step of HSS200-2 determining AV includes: determining the RAND corresponding to the identification of the mobile phone 100; calculating the anonymity key (AK) based on the RAND and the root key, and calculating the message authentication code (MAC) based on the RAND, the root key, the authentication management field (AMF) and the sequence number (SQN), and then generating AUTN based on SQN, AK, AMF and MAC; calculating the encryption key CK and the integrity protection key IK based on the RAND and the root key, and calculating XRES based on the RAND and the root key.
[0189] The identifier of the mobile phone 100 may be a user concealed identifier (SUCI) or an IP multimedia concealed identifier (IMCI).
[0190] Among them, SUCI is generated by encrypting the user permanent identifier (SUPI) by the mobile phone 100, and IMCI is generated by encrypting the user private identifier (IMPI) by the mobile phone 100. SUPI and IMPI can be called private user identifiers, and SUCI and IMCI can be called encrypted user identifiers.
[0191] After determining the authentication vector, HSS200-2 may send the authentication vector and the user subscription information stored in HSS200-2 to BSF200-1, such as sending a Multimedia Authentication Answer (MAA) to BSF200-1.
[0192] S1505: BSF200-1 feeds back RAND, AUTH and SQN of BSF200-1 to mobile phone 100.
[0193] AUTH is used for authentication, and RAND is used for key generation. BSF200-1 can feed back AUTH and random number in the authentication vector to the mobile phone 100.
[0194] Among them, BSF200-1 can carry the random number and the authentication token in a 401 unauthorized message and send it to the mobile phone 100. For example, the 401 Unauthorized message contains a non-repeated random value (Number used once, nonce) used once. Among them, the authentication token AUTH and the random number RAND can be carried in the nonce of the 401 Unauthorized message, such as being included in the nonce of the 401 Unauthorized message in a ciphertext form.
[0195] S1506: The mobile phone 100 authenticates the NAF200-5.
[0196] After receiving RAND and AUTH, the mobile phone 100 can authenticate the NAF200-5 based on AUTH and RAND, and generate a user response (RES) if the authentication is successful.
[0197] In some embodiments, the mobile phone 100 can calculate the expected message authentication field (expected message authentication code, XMAC) according to AUTH, and determine whether the XMAC is consistent with the message authentication code (message authentication code, MAC) in AUTH. The mobile phone 100 can also determine whether the SQN received from BSF200-1 is within an acceptable range. For example, the acceptable range can be that the SQN received from BSF200-1 is greater than the SQN of the mobile phone 100. By executing the above two judgment processes, the authentication of NAF200-5 is achieved.
[0198] If XMAC is consistent with MAC and the sequence number SQN received from BSF200-1 is within an acceptable range, the authentication is successful. Afterwards, the mobile phone 100 can generate and save the user response RES.
[0199] If XMAC is consistent with MAC but the serial number SQN received from BSF200-1 is not within the acceptable range, the mobile phone 100 can obtain a new AUTH from BSF200-1 and perform authentication again.
[0200] If XMAC and MAC are inconsistent, authentication fails.
[0201] S1507: The mobile phone 100 sends a request to the BSF 200-1 for obtaining the network authentication result.
[0202] The request for obtaining the network authentication result may carry a user response RES. In some embodiments, the request for obtaining the network authentication result may be a Hypertext Transfer Protocol GET (HTTP GET) message, that is, the mobile phone 100 may send an HTTP GET message to the BSF 200-1. The HTTP GET message, such as the Authorization message header in the HTTP GET message, includes a user response RES.
[0203] S1508: BSF200-1 authenticates the mobile phone 100.
[0204] After receiving a request for obtaining a network authentication result, such as an HTTP GET message, BSF200-1 can complete the authentication of the mobile phone 100 by comparing the expected user response XRES stored locally by BSF200-1 with the user response RES carried in the HTTP GET message. If the comparison result of the expected user response XRES stored locally by BSF200-1 and the user response RES carried in the HTTP GET message is the same, the authentication of the mobile phone 100 by BSF200-1 is successful. If the comparison result of the expected user response XRES stored locally by BSF200-1 and the user response RES carried in the HTTP GET message is not the same, the authentication of the mobile phone 100 by BSF200-1 fails. After the authentication of the mobile phone 100 by BSF200-1 is successful, BSF200-1 generates a bootstrapping transaction identifier (B-TID) and a session key (Session Key, Ks), and executes the following S1509.
[0205] S1509: BSF200-1 feeds back a message of successful authentication to the mobile phone 100, where the message includes the session key Ks, the boot transaction identifier B-TID and the contract validity period (l ifet ime) in the user contract information GUSS.
[0206] In some embodiments, the authentication success message may be a 200 OK message, that is, BSF200-1 may return a 200 Status Code OK (200 OK) message to mobile phone 100, and the 200 OK message includes a session key Ks, a boot transaction identifier B-TID, and a contract validity period (lifetime) in user contract information GUSS.
[0207] S1510: Mobile phone 100 saves the authentication information.
[0208] The authentication information includes the session key Ks sent by BSF200-1, the boot transaction identifier B-TID and the contract validity period (l ifet ime) in the user contract information GUSS.
[0209] The mobile phone 100 can interact with the DNS 200-3, AP 200-4, BSF 200-1 and NAF 200-5 to set the call forwarding service, and this process can be called a service setting process. The following provides a specific implementation method of the mobile phone 100 and the network operator device executing the service setting process and displaying an interface for prompting the user that the call forwarding service is set successfully. Fig.16A flow chart showing the interaction between the mobile phone 100 and the DNS 200-3, AP 200-4, BSF 200-1 and NAF 200-5 to set up a call forwarding service is shown. Fig.16 As shown, after the mobile phone 100 responds to the user's operation of setting the call forwarding service on the call forwarding service operation interface, the process of setting the call forwarding service includes the following steps:
[0210] For example, the mobile phone 100 can set various call forwarding services on the call forwarding service operation interface according to the user's operation. Figure 1 As shown in (a) of FIG. 1 , a busy call forwarding interface 101 is displayed. In response to the user filling in the number B in the busy call forwarding interface 101 and clicking the completion icon 1011, the mobile phone 100
[0211] That is, the mobile phone 100 obtains the right to use the corresponding call forwarding service in response to the first call forwarding setting operation of forwarding the incoming call of number A that cannot be answered when the number is busy to number B. Figure 1 As shown in (b) of FIG. 1 , the mobile phone 100 can also display number B in the busy call forwarding option of the call forwarding interface 102 to prompt the user to obtain the right to use the call forwarding service. In response to the user filling in number B in the busy call forwarding interface 101 and clicking the completion icon 1011, the mobile phone 100 can execute S1601 to S1611 to set the number of card 1 to be forwarded to number B when it is busy.
[0212] S1601: The mobile phone 100 generates a session key Ks, and generates a service authentication shared key Ks_(ext / int)_NAF based on the generated session key Ks.
[0213] The mobile phone 100 can complete the key negotiation (AKA) authentication of the mobile phone 100 based on the AV obtained from the BSF200-1. After completing the AKA authentication of the mobile phone 100, the mobile phone 100 and the BSF200-1 will derive a shared key shared between the mobile phone 100 and the BSF200-1, that is, the session key Ks. Subsequently, the mobile phone 100 and the BSF200-1 will further derive the communication key for communication between the mobile phone 100 and the NAF200-5 based on the session key Ks, that is, the service authentication shared key Ks_(ext / int)_NAF. Afterwards, the mobile phone 100 can send the generated service authentication shared key Ks_(ext / int)_NAF to the NAF200-5 through the BSF200-1, so that the NAF200-5 obtains the communication key, and then uses the communication key to establish a secure connection with the mobile phone 100, as shown in S1602 to S1605 for details.
[0214] It can be understood that since the authentication validity period has expired, for example, the validity period of the service authentication shared key Ks_(ext / int)_NAF has expired, it is necessary to perform re-authentication between the mobile phone 100 and the network operator equipment before the service is set up. If the mobile phone 100 does not re-authenticate between the mobile phone 100 and the network operator equipment for this call forwarding service setting, the call forwarding service setting will fail.
[0215] S1602: The mobile phone 100 sends a request for obtaining service authentication information to the AP 200-4.
[0216] The request for obtaining service authentication information carries B-TID and Ks_(ext / int)_NAF.
[0217] In some embodiments, the request for obtaining the service authentication information may be HTTP GET, and the mobile phone 100 may send an HTTP GET message to the AP 200-4 to obtain the service authentication information, wherein the Authorization message header in the HTTP GET message carries the B-TID and Ks_(ext / int)_NAF.
[0218] S1603: AP200-4 sends a request for obtaining service authentication information to BSF200-1.
[0219] In some embodiments, AP200-4 does not store B-TID and Ks_(ext / int)_NAF locally, and AP200-4 may send a request for obtaining service authentication information to BSF200-1 to request obtaining service authentication information.
[0220] The request for obtaining the service authentication information may be a BIR message. AP200-4 may send a BIR message to BSF200-1 to request to obtain the B-TID and Ks_(ext / int)_NAF in BSF200-1.
[0221] S1604: BSF200-1 feeds back service authentication information to AP200-4, including B-TID of BSF200-1 and Ks_(ext / int)_NAF.
[0222] BSF200-1 searches for the corresponding B-TID of BSF200-1 and session key Ks based on the B-TID of mobile phone 100. Then, BSF200-1 can calculate Ks_(ext / int)_NAF based on the session key Ks and feed back Ks_(ext / int)_NAF to AP200-4.
[0223] S1605: AP200-4 performs GBA authentication on mobile phone 100.
[0224] AP200-4 performs GBA authentication based on the B-TID and Ks_(ext / int)_NAF fed back by BSF200-1, and the B-TID and Ks_(ext / int)_NAF carried in the service authentication information request sent by mobile phone 100. If the B-TID and Ks_(ext / int)_NAF fed back by BSF200-1 and the B-TID and Ks_(ext / int)_NAF carried in the service authentication information request sent by mobile phone 100 are the same, mobile phone 100 passes the GBA service access authentication of AP200-4.
[0225] S1606: The mobile phone 100 sends an instruction to set up a call forwarding service to the AP 200 - 4 .
[0226] The instruction for setting the call forwarding service sent by the mobile phone 100 to the AP 200 - 4 may be referred to as a second request (or instruction), and the second request is used to request the network operator device to set the call forwarding service.
[0227] The mobile phone 100 may execute S1607 to S1611 to complete the setting of the call forwarding service.
[0228] In some embodiments, the mobile phone 100 sends an HTTP PUT / DELETE message to request setting of a call forwarding service according to a user operation.
[0229] S1607: AP200-4 performs GBA authentication.
[0230] Start the GBA authentication process, which is the same as S1605 and will not be described in detail here. If the GBA authentication is passed, execute S1608.
[0231] S1608: AP200-4 sends an instruction for setting a call forwarding service to NAF200-5.
[0232] Setting the call forwarding service may be to modify the service before the call forwarding service to the forwarding service 1, and setting the call forwarding service may also be to delete the call forwarding service.
[0233] The instruction for setting the call forwarding service may be HTTP PUT or HTTP DELETE.
[0234] In some embodiments, the AP 200 - 4 may forward the HTTP PUT message to the NAF 200 - 5 to send an instruction for setting the call forwarding service to the NAF 200 - 5 , wherein the HTTP PUT corresponds to an instruction for modifying the service before the call forwarding service to the forwarding service 1 .
[0235] In some embodiments, the AP 200 - 4 may forward the HTTP DELETE message to the NAF 200 - 5 to send an instruction to delete the call forwarding service to the NAF 200 - 5 , wherein the HTTP DELETE message corresponds to an instruction to delete the call forwarding service.
[0236] S1609: NAF200-5 sets the call forwarding service.
[0237] S1610: NAF200-5 feeds back information that the call forwarding service is successfully set to the mobile phone 100.
[0238] In some embodiments, NAF 200 - 5 may send a 200 OK response message to the mobile phone 100 to feedback to the mobile phone 100 information that the call forwarding service is successfully set up.
[0239] S1611: The mobile phone 100 receives the call forwarding service setting success information fed back by the NAF200-5, and displays an interface for prompting the user that the call forwarding service setting success.
[0240] For example, please see Figure 1 In response to the user filling in number B in the busy call forwarding interface 101 and clicking the completion icon 1011, the mobile phone 100 displays number B in the busy call forwarding option of the call forwarding interface 102. The call forwarding interface 102 is used to prompt the user that the number of card 1 has been successfully set to be forwarded to number B when busy.
[0241] Before the aforementioned step S701, the mobile phone 100 needs to display the call forwarding service operation interface. The following introduces a specific implementation method for the mobile phone 100 to display the call forwarding service operation interface when the mobile phone 100 receives the user's operation to open the call forwarding service operation interface on the mobile phone 100.
[0242] Fig.17 A schematic diagram of a process of displaying a call forwarding service operation interface on a mobile phone 100 is shown. Fig.17 As shown, the process includes the following steps:
[0243] S1701: In response to the user opening the call forwarding service operation interface on the mobile phone 100, the mobile phone 100 queries the IP address of the AP 200-4 from the DNS 200-3.
[0244] The user can open the call forwarding service operation interface in a variety of ways. For example, the user can open the call forwarding service operation interface in the settings application on the mobile phone 100, or in the phone application on the mobile phone 100.
[0245] The following takes the case where the mobile phone 100 opens the call forwarding service operation interface in the phone application in response to the user's operation as an example to introduce the process of opening the call forwarding service operation interface of the mobile phone 100. Fig.18 FIG. 1 is a schematic diagram showing the interface changes in the mobile phone 100 during the process of opening the call forwarding service operation interface. Fig.18 As shown in FIG. 1 (a), the main interface 901 of the mobile phone 100 includes an icon 9011 of a phone application. After the user clicks the icon 9011 of the phone application, the mobile phone 100 responds to this operation, such as Fig.18 As shown in FIG. (b) of FIG. 1 , a phone interface 902 is displayed. A menu icon 9021 is displayed on the phone interface 902. After the user clicks the menu icon 9021, the mobile phone 100 responds to this operation by displaying a menu bar, which includes multiple options such as paste, batch delete, harassment blocking, and setting. After the user clicks the setting option, the mobile phone 100 responds to this operation, such as Fig.18 As shown in FIG. (c) of FIG. 1 , a setting interface 903 is displayed. In the setting interface 903, the user clicks the call forwarding option corresponding to card 1, such as Fig.18 As shown in Figure (d) in the figure, a call forwarding interface 904 is displayed, and this call forwarding interface 904 is the call forwarding service operation interface. In the call forwarding interface 904, various modes of call forwarding services are displayed, such as unconditional call forwarding, busy call forwarding, no answer call forwarding, and user unreachable call forwarding. Different call forwarding services can be different call forwarding services under the same mode. For example, forwarding the incoming call of number A that cannot be answered when it is busy to number B is one call forwarding service, and forwarding the incoming call of number A that cannot be answered when it is busy to number C is another call forwarding service. The above two call forwarding services are different call forwarding services. Different call forwarding services can also be different call forwarding services under different modes. For example, forwarding the incoming call of number A that cannot be answered when it is busy to number B is one call forwarding service, and forwarding the incoming call of number A that cannot be answered when it is busy to number B is another call forwarding service. The above two call forwarding services are different call forwarding services.
[0246] In the call forwarding interface 904, the mobile phone 100 can also display the service status information of various modes of the call forwarding service. It can be understood that the service status information of various modes of the call forwarding service is obtained by executing the following S1702 to S1722 in response to the user's operation of opening the call forwarding service operation interface on the mobile phone 100. Among them, the service status information is used to indicate that the corresponding mode of the call forwarding service has been disabled or activated. For example, the service status corresponding to unconditional call forwarding is disabled or activated, the service status corresponding to busy call forwarding is disabled or activated, the service status corresponding to no answer call forwarding is disabled or activated, and the service status corresponding to user unreachable call forwarding is disabled or activated.
[0247] The specific implementation scheme of the mobile phone 100 querying the IP address of the AP 200 - 4 from the DNS 200 - 3 is the same as the technical scheme of S1401 in the above text, which will not be repeated here.
[0248] The technical solutions of S1702 to S1703 are the same as those of S1402 to S1403 in the previous text, and will not be repeated here.
[0249] S1704 to S1713 are the same as the technical solutions of S1501 to S1510 in the previous text, and will not be repeated here.
[0250] S1714 to S1718 are the same as the technical solutions of S1601 to S1605 in the previous text, and will not be repeated here.
[0251] S1719: AP200-4 sends a request for obtaining service status information to NAF200-5.
[0252] After the authentication between the mobile phone 100 and the AP200-4 is successfully completed, the AP200-4 can communicate with the NAF200-5 based on Ks_(ext / int)_NAF, so that the mobile phone 100 can obtain the service status information from the NAF200-5 through the AP200-4.
[0253] It can be understood that the authentication validity period can be the validity period of Ks_(ext / int)_NAF. During the validity period of Ks_(ext / int)_NAF, the mobile phone 100 can always use the Ks_(ext / int)_NAF to communicate securely with NAF200-5. If the validity period of Ks_(ext / int)_NAF is exceeded, the mobile phone 100 and BSF200-1 need to regenerate the service authentication shared key Ks_(ext / int)_NAF, and re-authenticate to enable the mobile phone 100 to communicate securely with NAF200-5, and then reset the new call forwarding service.
[0254] In some embodiments, the request for obtaining the service status information may be HTTP GET. The AP 200 - 4 may pass the HTTP GET message to the NAF 200 - 5 to send a request for obtaining the service status information to the NAF 200 - 5 .
[0255] S1720: NAF200-5 feeds back service status information to AP200-4.
[0256] In some embodiments, the service status information may be fed back via a 200OK message. After receiving the request for obtaining the service status information, NAF 200-5 queries the service status information of the call forwarding service and may return the information to AP 200-4 via a 200OK message.
[0257] S1721: AP200-4 feeds back service status information to mobile phone 100.
[0258] In some embodiments, the 200OK message carries service status information, and the AP 200 - 4 adds an authentication information (Authentication-Info) header field to the 200OK message, and forwards the 200OK message to the mobile phone 100 based on the authentication information (Authentication-Info) header field.
[0259] S1722: The mobile phone 100 displays a call forwarding service operation interface, which includes call forwarding service status information.
[0260] In some embodiments, the service is a call forwarding service, and the mobile phone 100 can obtain the status information of the call forwarding service corresponding to the SIM card of the mobile phone 100, and display the status information of the call forwarding service corresponding to the SIM card of the mobile phone 100.
[0261] For example, Fig.18 As shown in Figure (d) in FIG. 1 , this call forwarding interface is the call forwarding service operation interface. In the call forwarding interface, service status information of call forwarding services in various modes is displayed. For example, the service status corresponding to unconditional call forwarding is disabled, the service status corresponding to busy call forwarding is disabled, the service status corresponding to no answer call forwarding is disabled, and the service status corresponding to user unreachable call forwarding is disabled.
[0262] An embodiment of the present application also provides a computer storage medium, which includes computer instructions. When the computer instructions are executed on the above-mentioned terminal device, the terminal device executes each function or step executed by the mobile phone in the above-mentioned method embodiment.
[0263] The embodiment of the present application also provides a computer program product. When the computer program product is run on a computer, the computer is enabled to execute each function or step executed by the mobile phone in the above method embodiment.
[0264] It is understandable that the terminal device provided in the embodiment of the present application includes a hardware structure and / or software module corresponding to each function in order to realize the above functions. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of each example described in the embodiment disclosed herein, the embodiment of the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the embodiment of the present application.
[0265] The embodiment of the present application can divide the functional modules of the above-mentioned terminal device according to the above-mentioned method example. For example, each functional module can be divided corresponding to each function, or two or more functions can be integrated into one processing module. The above-mentioned integrated module can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiment of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation.
[0266] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0267] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0268] The units described as separate components may or may not be physically separated, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0269] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0270] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium, including several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.
[0271] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application shall be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims
1. A method for setting up call forwarding, characterized in that: The method is applied to a terminal device, comprising: Displaying a first interface, wherein the first interface includes a control for setting a call forwarding service; In response to the user's operation of the control in a first time period, sending a first request to the network device, wherein the first request is used to initiate authentication between the terminal device and the network device; wherein the first time period is a period of time other than the authentication validity period within the contract validity period; and the authentication validity period is a period of time during which the terminal device does not need to authenticate again after the authentication between the terminal device and the network device is successful; In response to successful authentication between the terminal device and the network device, sending a second request to the network device, wherein the second request is used to request the network device to set a call forwarding service; In response to receiving a message from the network device indicating that the call forwarding service is successfully set up, a prompt message is displayed on the first interface, where the prompt message is used to prompt the user that the call forwarding service is successfully set up.
2. The method according to claim 1, characterized in that Before sending the first request to the network device, the method further includes: A message indicating that the call forwarding service setting fails is received from the network device.
3. The method according to claim 1 or 2, characterized in that: The setting of the call forwarding service is to set the first number to be forwarded to the second number under a preset call forwarding condition, or the setting of the call forwarding service is to delete the set call forwarding service.
4. The method according to claim 3, characterized in that The preset call forwarding conditions include: busy forwarding, no answer forwarding, unreachable forwarding or unconditional forwarding.
5. A method for setting call forwarding, characterized in that: The method is applied to a terminal device, wherein the contract validity period is stored in the terminal device, and the method comprises: Displaying a first interface, wherein the first interface includes a control for setting a call forwarding service; Receiving a user's operation on the control; In response to the time of receiving the operation being greater than a preset validity period, sending a first request to the network device, the first request being used to initiate authentication between the terminal device and the network device; the preset validity period is less than or equal to the authentication validity period, and the preset validity period is different from the contract validity period; In response to successful authentication between the terminal device and the network device, sending a second request to the network device, wherein the second request is used to request the network device to set a call forwarding service; In response to receiving a message from the network device indicating that the call forwarding service is successfully set, a prompt message is displayed on the first interface, where the prompt message is used to prompt the user that the call forwarding service is successfully set.
6. The method according to claim 5, characterized in that The contract validity period is greater than the preset validity period.
7. The method according to claim 6, characterized in that After the user operates the control, the method further includes: In the case where the contract validity period is less than the preset validity period, determining whether the time of receiving the operation is greater than the contract validity period; In response to the time of receiving the operation being greater than the contract validity period, sending the first request to the network device.
8. A terminal device, characterized in that: The terminal device includes: a memory and one or more processors; The memory is used to store computer program code, which includes computer instructions; when the computer instructions are executed by the processor, the terminal device executes the method as described in any one of claims 1-4 or claims 5 to 7.
9. A computer-readable storage medium, characterized in that: including computer instructions; When the computer instructions are executed on an electronic device, the electronic device is caused to execute the method according to any one of claims 1 to 4 or claims 5 to 7.
10. A computer program product, characterized in that When the computer program product is run on a computer, the computer is caused to execute the method according to any one of claims 1 to 4 or claims 5 to 7.
Citation Information
Patent Citations
Call forwarding method and apparatus for incoming call
CN105682064A
Communication method based on block chain and number carrying home location register;
CN110248351A
Supplementary service configuration method, electronic equipment and target server
CN111083653A
Authentication method, terminal, client and computer storage medium
CN112560009A
Methods and systems for authorizing call forwarding
US20130329878A1