Redirection method, terminal configuration data acquisition method, device and equipment
By redirecting lower-version terminals from the primary configuration server to the secondary configuration server, the compatibility issues of lower-version terminals in the 5G messaging system were resolved, enabling a smooth transition of services.
Patent Information
- Application Number
- CN202210455906.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-27
- Publication Date
- 2025-01-07
- Estimated Expiration
- 2042-04-27
AI Technical Summary
In 5G messaging systems, higher-version terminals support multiple configuration servers to provide service configuration data, while lower-version terminals do not, leading to network compatibility issues. Existing technologies do not provide an effective solution.
The system receives terminal requests through a first configuration server, redirects them to one or more additional configuration servers based on the terminal version, provides relevant information to obtain configuration data, and supports the migration of lower version terminals to the 5G messaging system.
It achieves compatibility between low-version terminals and the 5G messaging system, enabling services to be used without modification and facilitating a smooth transition of services.
Smart Images

Figure CN114900824B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technology, and in particular to a redirection method, a method, a device and equipment for acquiring terminal configuration data. Background Art
[0002] In the 5G messaging system, before the terminal uses the service, it is necessary to obtain the service-related configuration data from the platform side. After successfully obtaining the configuration, it can perform subsequent registration processes, use services, etc. In the 5G messaging system, it supports setting up multiple service configuration servers (main configuration server + additional configuration server), and the configuration data related to 5G messages can be provided by multiple configuration servers.
[0003] After the terminal sends a request to obtain configuration information to the network side, the main configuration server returns an HTTP200OK response to the terminal, and the message body carries the configuration data in XML format. If there are other additional configuration servers providing services, the XML message body can also carry relevant information of the additional configuration servers (including domain name, IP address, business ID corresponding to its configuration parameters, etc.), and the terminal then goes to each additional configuration server in turn to obtain configuration data.
[0004] In other message systems before the 5G message system, there was no need for multiple configuration servers to provide business configuration data. Therefore, the low-version terminals in the existing network do not support the configuration data acquisition method of carrying additional configuration servers in HTTP 200OK. The network side directly provides services by one configuration server.
[0005] In the prior art, high-version terminals in the 5G messaging system support 5G messaging service configuration data provided by multiple configuration servers, while existing low-version terminals do not support the configuration data acquisition method of carrying additional configuration servers in HTTP 200OK. After the 5G messaging network is built, it is necessary to migrate the original low-version terminal users to the newly built 5G messaging network. How to make the network compatible with low-version terminals is a problem that needs to be solved, and there is currently no solution. Summary of the invention
[0006] The purpose of the embodiments of the present invention is to provide a redirection method, a method, an apparatus and a device for obtaining terminal configuration data, so as to solve the problem in the prior art that the 5G message system is not compatible with low-version terminals.
[0007] In order to solve the above problem, an embodiment of the present invention provides a redirection method, which is executed by a first configuration server and includes:
[0008] Receive the configuration request sent by the terminal,
[0009] According to the configuration request, a response message is sent to the terminal, where the response message is used to redirect the terminal to one or more additional configuration servers; wherein the response message carries relevant information of the one or more additional configuration servers.
[0010] Wherein, sending a response message to the terminal according to the configuration request includes:
[0011] Determining, according to the configuration request, a configuration version supported by the terminal;
[0012] In a case where the terminal supports the first configuration version, a first response message is sent to the terminal, where the first response message carries relevant information of an additional configuration server applicable to the terminal.
[0013] Wherein, sending a response message to the terminal according to the configuration request includes:
[0014] Determining, according to the configuration request, a configuration version supported by the terminal;
[0015] In a case where the terminal supports the second configuration version, a second response message is sent to the terminal, where the second response message carries relevant information of one or more additional configuration servers applicable to the terminal.
[0016] Wherein, determining, according to the configuration request, a configuration version supported by the terminal includes:
[0017] If the configuration request does not carry a configuration version parameter, determining that the terminal supports a first configuration version;
[0018] or,
[0019] If the configuration request carries a configuration version parameter, and the value of the configuration version parameter is a first value, determining that the terminal supports the first configuration version;
[0020] or,
[0021] If the configuration request carries a configuration version parameter, and the value of the configuration version parameter is a second value, it is determined that the terminal supports the second configuration version.
[0022] The additional configuration server related information includes at least one of the following:
[0023] Additional configuration server domain name;
[0024] Additional configuration server IP address;
[0025] The service ID corresponding to the configuration parameters of the additional configuration server.
[0026] An embodiment of the present invention further provides a method for acquiring terminal configuration data, which is executed by a terminal and includes:
[0027] Sending a configuration request to a first configuration server;
[0028] receiving a response message sent by the first configuration server, where the response message carries relevant information of the one or more additional configuration servers;
[0029] According to the response message, configuration data is obtained from the one or more additional configuration servers.
[0030] The step of sending a configuration request to the first configuration server includes:
[0031] Sending a configuration request to the first configuration server according to the configuration version supported by the terminal;
[0032] Wherein, when the terminal supports the first configuration version, the configuration request does not carry a configuration version parameter, or the value of the configuration version parameter carried by the configuration request is a first value;
[0033] Alternatively, when the first terminal supports the second configuration version, the value of the configuration version parameter carried in the configuration request is the second value.
[0034] Wherein, in a case where the terminal supports the first configuration version, the first response message carries relevant information of an additional configuration server applicable to the terminal;
[0035] or,
[0036] In the case that the terminal supports the second configuration version, the second response message carries relevant information of one or more additional configuration servers applicable to the terminal.
[0037] The additional configuration server related information includes at least one of the following:
[0038] Additional configuration server domain name;
[0039] Additional configuration server IP address;
[0040] The service ID corresponding to the configuration parameters of the additional configuration server.
[0041] Wherein, acquiring configuration data from the one or more additional configuration servers according to the response message includes:
[0042] Sending a configuration information request to one or more additional configuration servers indicated by the response message;
[0043] Receive configuration data sent by the one or more additional configuration servers.
[0044] The embodiment of the present invention further provides a redirection device, which is applied to a first configuration server and includes:
[0045] The first receiving module is used to receive a configuration request sent by a terminal,
[0046] The first sending module is used to send a response message to the terminal according to the configuration request, and the response message is used to redirect the terminal to one or more additional configuration servers; wherein the response message carries relevant information of the one or more additional configuration servers.
[0047] An embodiment of the present invention further provides a first configuration server, comprising a processor and a transceiver, wherein the transceiver receives and sends data under the control of the processor, and the processor is configured to perform the following operations:
[0048] Receive the configuration request sent by the terminal,
[0049] According to the configuration request, a response message is sent to the terminal, where the response message is used to redirect the terminal to one or more additional configuration servers; wherein the response message carries relevant information of the one or more additional configuration servers.
[0050] The processor is further configured to perform the following operations:
[0051] Determining, according to the configuration request, a configuration version supported by the terminal;
[0052] In a case where the terminal supports the first configuration version, a first response message is sent to the terminal, where the first response message carries relevant information of an additional configuration server applicable to the terminal.
[0053] The processor is further configured to perform the following operations:
[0054] Determining, according to the configuration request, a configuration version supported by the terminal;
[0055] In a case where the terminal supports the second configuration version, a second response message is sent to the terminal, where the second response message carries relevant information of one or more additional configuration servers applicable to the terminal.
[0056] The processor is further configured to perform the following operations:
[0057] If the configuration request does not carry a configuration version parameter, determining that the terminal supports a first configuration version;
[0058] or,
[0059] If the configuration request carries a configuration version parameter, and the value of the configuration version parameter is a first value, determining that the terminal supports the first configuration version;
[0060] or,
[0061] If the configuration request carries a configuration version parameter, and the value of the configuration version parameter is a second value, it is determined that the terminal supports the second configuration version.
[0062] The additional configuration server related information includes at least one of the following:
[0063] Additional configuration server domain name;
[0064] Additional configuration server IP address;
[0065] The service ID corresponding to the configuration parameters of the additional configuration server.
[0066] The embodiment of the present invention further provides a device for acquiring terminal configuration data, which is applied to a terminal and includes:
[0067] A second sending module, used to send a configuration request to the first configuration server;
[0068] A second receiving module, configured to receive a response message sent by the first configuration server, where the response message carries relevant information of the one or more additional configuration servers;
[0069] The acquisition module is used to acquire configuration data from the one or more additional configuration servers according to the response message.
[0070] An embodiment of the present invention further provides a terminal, including a processor and a transceiver, wherein the transceiver receives and sends data under the control of the processor, and the processor is configured to perform the following operations:
[0071] Sending a configuration request to a first configuration server;
[0072] receiving a response message sent by the first configuration server, where the response message carries relevant information of the one or more additional configuration servers;
[0073] According to the response message, configuration data is obtained from the one or more additional configuration servers.
[0074] The processor is further configured to perform the following operations:
[0075] Sending a configuration request to the first configuration server according to the configuration version supported by the terminal;
[0076] Wherein, when the terminal supports the first configuration version, the configuration request does not carry a configuration version parameter, or the value of the configuration version parameter carried by the configuration request is a first value;
[0077] Alternatively, when the first terminal supports the second configuration version, the value of the configuration version parameter carried in the configuration request is the second value.
[0078] Wherein, in a case where the terminal supports the first configuration version, the first response message carries relevant information of an additional configuration server applicable to the terminal;
[0079] or,
[0080] In the case that the terminal supports the second configuration version, the second response message carries relevant information of one or more additional configuration servers applicable to the terminal.
[0081] The additional configuration server related information includes at least one of the following:
[0082] Additional configuration server domain name;
[0083] Additional configuration server IP address;
[0084] The service ID corresponding to the configuration parameters of the additional configuration server.
[0085] The processor is further configured to perform the following operations:
[0086] Sending a configuration information request to one or more additional configuration servers indicated by the response message;
[0087] Receive configuration data sent by the one or more additional configuration servers.
[0088] An embodiment of the present invention also provides a communication device, including a memory, a processor, and a program stored in the memory and executable on the processor, wherein when the processor executes the program, the redirection method as described above is implemented, or the method for obtaining terminal configuration data as described above is implemented.
[0089] An embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps in the redirection method as described above, or implements the steps in the method for obtaining terminal configuration data as described above.
[0090] The above technical solution of the present invention has at least the following beneficial effects:
[0091] The redirection method, terminal configuration data acquisition method, device and equipment of the embodiments of the present invention provide a terminal configuration data acquisition method that supports both low-version terminals and high-version terminals. It can not only solve the drawback that the network side directly provides services by the default configuration server, but also be compatible with both low-version terminals and high-version terminals. Moreover, the low-version terminal does not need to be modified (or only needs simple modification) to migrate to the new 5G message system, and successfully obtains the terminal configuration data to use the service, which is conducive to a smooth transition of the service. BRIEF DESCRIPTION OF THE DRAWINGS
[0092] Figure 1 A flowchart showing the steps of a redirection method provided by an embodiment of the present invention;
[0093] Figure 2 A flowchart showing the steps of a method for acquiring terminal configuration data provided by an embodiment of the present invention;
[0094] Figure 3 A schematic diagram showing the structure of a redirection device provided by an embodiment of the present invention;
[0095] Figure 4 A schematic diagram showing the structure of a first configuration server provided in an embodiment of the present invention;
[0096] Figure 5 A schematic diagram showing the structure of a device for acquiring terminal configuration data provided by an embodiment of the present invention;
[0097] Figure 6 A schematic diagram showing the structure of a terminal provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0098] In order to make the technical problems, technical solutions and advantages to be solved by the present invention more clear, a detailed description will be given below with reference to the accompanying drawings and specific embodiments.
[0099] like Figure 1 As shown, an embodiment of the present invention provides a redirection method, which is executed by a first configuration server and includes:
[0100] Step 101, receiving a configuration request sent by a terminal;
[0101] Step 102: Send a response message to the terminal according to the configuration request, where the response message is used to redirect the terminal to one or more additional configuration servers; wherein the response message carries relevant information of the one or more additional configuration servers.
[0102] The 5G message system is a full-network service, which is generally deployed in large regions. Several large regions are established, and each large region is responsible for providing services to users in several provinces. If the low-version terminal system is still used in which the default configuration server directly provides terminal configuration data, the business pressure on the configuration server of each regional node will be too great, which is not conducive to business disaster recovery. Therefore, an embodiment of the present invention provides a terminal configuration data acquisition method that supports both low-version terminals and high-version terminals. It can not only solve the drawbacks of the network side directly providing services by the default configuration server, but also be compatible with low-version terminals and high-version terminals at the same time. Moreover, the low-version terminal does not need to be modified (or only needs simple modification) to migrate to the new 5G message system, successfully obtain terminal configuration data and use services, which is conducive to a smooth transition of services.
[0103] In an embodiment of the present invention, two levels of configuration servers are deployed on the platform side, namely, a first-level configuration server (i.e., the first configuration server in this application) and a second-level configuration server (i.e., the additional configuration server in this application), wherein the first configuration server does not assume the function of issuing service-related configuration data, but is only responsible for directing the terminal to the additional configuration server adapted thereto, and it can also be understood that the first configuration server acts as a redirection configuration server.
[0104] In an optional embodiment of the present invention, step 102 includes:
[0105] Determining, according to the configuration request, a configuration version supported by the terminal;
[0106] In a case where the terminal supports the first configuration version, a first response message is sent to the terminal, where the first response message carries relevant information of an additional configuration server applicable to the terminal.
[0107] Among them, the terminal supporting the first configuration version can be understood as a low-version terminal, and the low-version terminal only supports services provided by one configuration server, so the first response message sent to the terminal carries relevant information of an additional configuration server. Optionally, the first response message is an HTTP 301 Moved Permanently message. In other words, when the first configuration server side redirects the terminal to the additional configuration server by returning an HTTP 301 Moved Permanently response, one configuration server provides configuration services for the terminal.
[0108] In another optional embodiment of the present invention, step 102 includes:
[0109] Determining, according to the configuration request, a configuration version supported by the terminal;
[0110] In a case where the terminal supports the second configuration version, a second response message is sent to the terminal, where the second response message carries relevant information of one or more additional configuration servers applicable to the terminal.
[0111] Among them, the terminal supporting the second configuration version can be understood as a high-version terminal, and the high-version terminal supports the provision of services by multiple configuration servers, so the second response message sent to the terminal carries relevant information of multiple additional configuration servers. Optionally, the second response message is an HTTP 200OK message. In this example, the XML of the 200OK message returned by the first configuration server to the terminal does not carry specific configuration data, but only carries relevant information of the additional configuration server. In other words, when the first configuration server side redirects the terminal to the additional configuration server by returning an HTTP 200OK response, multiple configuration servers can provide configuration services for the terminal.
[0112] In at least one embodiment of the present invention, determining, according to the configuration request, a configuration version supported by the terminal includes:
[0113] If the configuration request does not carry a provisioning-version parameter, determining that the terminal supports a first configuration version;
[0114] or,
[0115] If the configuration request carries a provisioning-version parameter, and the value of the provisioning-version parameter is a first value, determining that the terminal supports the first configuration version;
[0116] or,
[0117] If the configuration request carries a provisioning-version parameter, and the value of the provisioning-version parameter is a second value, it is determined that the terminal supports the second configuration version.
[0118] The "provisioning-version" parameter indicates the configuration file version number supported by the terminal.
[0119] As an optional embodiment, the relevant information of the additional configuration server includes at least one of the following:
[0120] Additional configuration server domain name;
[0121] Additional configuration server IP address;
[0122] The service ID corresponding to the configuration parameters of the additional configuration server.
[0123] In other words, if the configuration request sent by the terminal does not carry the parameter "provisioning-version", the first configuration server determines that it does not support the configuration method of the high-version terminal, and returns an HTTP 301 MovedPermanently response to it, which carries the domain name of an additional configuration server, and redirects the terminal to the additional configuration server applicable to the low-version terminal. If the terminal's configuration request carries the parameter "provisioning-version", the first configuration server determines whether the client supports the configuration method of the high-version terminal according to the value of the parameter "provisioning-version" in the terminal configuration request. If it does, it adopts the high-version terminal method, sends the relevant information of the additional configuration server to the terminal through HTTP 200 OK, and redirects the terminal to the additional configuration server applicable to the high-version terminal; if it does not support, the first configuration server returns an HTTP 301 Moved Permanently response, which carries the domain name of an additional configuration server, and redirects the terminal to the additional configuration server.
[0124] In summary, the embodiments of the present invention provide a terminal configuration data acquisition method that supports both low-version terminals and high-version terminals. It can not only solve the drawback that the network side directly provides services by the default configuration server, but also is compatible with both low-version terminals and high-version terminals. Moreover, the low-version terminals do not need to be modified (or only need simple modification) to migrate to the new 5G message system, and successfully obtain terminal configuration data to use the service, which is conducive to a smooth transition of the service.
[0125] like Figure 2 As shown, an embodiment of the present invention further provides a method for acquiring terminal configuration data, which is executed by a terminal and includes:
[0126] Step 201, sending a configuration request to a first configuration server;
[0127] For example, the terminal sends a configuration request to the first configuration server through a configuration information server address preset in the application or a configuration server address derived from the IMSI (International Mobile Subscriber Identity) of the user's USIM card.
[0128] Step 202: receiving a response message sent by the first configuration server, where the response message carries relevant information of the one or more additional configuration servers;
[0129] Step 203: Acquire configuration data from the one or more additional configuration servers according to the response message.
[0130] In an embodiment of the present invention, two levels of configuration servers are deployed on the platform side, namely, a first-level configuration server (i.e., the first configuration server in this application) and a second-level configuration server (i.e., the additional configuration server in this application), wherein the first configuration server does not assume the function of issuing service-related configuration data, but is only responsible for directing the terminal to the additional configuration server adapted thereto, and it can also be understood that the first configuration server acts as a redirection configuration server.
[0131] In an optional embodiment of the present invention, step 201 includes:
[0132] Sending a configuration request to the first configuration server according to the configuration version supported by the terminal;
[0133] Wherein, when the terminal supports the first configuration version, the configuration request does not carry a configuration version (provisioning-version) parameter, or the value of the configuration version (provisioning-version) parameter carried by the configuration request is a first value;
[0134] Alternatively, when the first terminal supports a second configuration version, a value of a configuration version (provisioning-version) parameter carried in the configuration request is a second value.
[0135] Among them, the terminal supporting the first configuration version can be understood as a low-version terminal, which only supports services provided by one configuration server; the terminal supporting the second configuration version can be understood as a high-version terminal, which supports services provided by multiple configuration servers.
[0136] Optionally, the "provisioning-version" parameter indicates the configuration file version number supported by the terminal.
[0137] Optionally, if it is a low-version terminal, the configuration request may carry a "provisioning-version" parameter or may not carry the "provisioning-version" parameter; if the "provisioning-version" parameter is not carried, it implicitly indicates that the terminal is a low-version terminal; if the "provisioning-version" parameter is carried, the value of the parameter should be different from the parameter value carried by the high-version terminal; if it is a high-version terminal, the configuration request must carry the "provisioning-version" parameter.
[0138] In at least one embodiment of the present invention, when the terminal supports the first configuration version, the first response message carries relevant information of an additional configuration server applicable to the terminal; wherein the terminal supporting the first configuration version can be understood as a low-version terminal, which only supports services provided by one configuration server, so the first response message sent to the terminal carries relevant information of an additional configuration server. Optionally, the first response message is an HTTP 301 Moved Permanently message.
[0139] Alternatively, when the terminal supports the second configuration version, the second response message carries relevant information of one or more additional configuration servers applicable to the terminal. Among them, the terminal supporting the second configuration version can be understood as a high-version terminal, which supports services provided by multiple configuration servers, so the second response message sent to the terminal carries relevant information of multiple additional configuration servers. Optionally, the second response message is an HTTP 200OK message. In this example, the XML of the 200OK message returned by the first configuration server to the terminal does not carry specific configuration data, but only carries relevant information of the additional configuration server.
[0140] In at least one embodiment of the present invention, the relevant information of the additional configuration server includes at least one of the following:
[0141] Additional configuration server domain name;
[0142] Additional configuration server IP address;
[0143] The service ID corresponding to the configuration parameters of the additional configuration server.
[0144] As an optional embodiment, step 203 includes:
[0145] Sending a configuration information request to one or more additional configuration servers indicated by the response message;
[0146] Receive configuration data sent by the one or more additional configuration servers.
[0147] Optionally, after the terminal obtains relevant information of the additional configuration server, it will only go to the additional configuration server to obtain configuration data under normal circumstances. The request process to the first configuration server will be triggered again in scenarios such as terminal reset and disaster recovery, thereby solving the business pressure and disaster recovery problems of the configuration server.
[0148] In summary, the embodiments of the present invention provide a terminal configuration data acquisition method that supports both low-version terminals and high-version terminals. It can not only solve the drawback that the network side directly provides services by the default configuration server, but also is compatible with both low-version terminals and high-version terminals. Moreover, the low-version terminals do not need to be modified (or only need simple modification) to migrate to the new 5G message system, and successfully obtain terminal configuration data to use the service, which is conducive to a smooth transition of the service.
[0149] like Figure 3 As shown, an embodiment of the present invention further provides a redirection device, which is applied to a first configuration server, comprising:
[0150] The first receiving module 301 is used to receive a configuration request sent by a terminal,
[0151] The first sending module 302 is used to send a response message to the terminal according to the configuration request, where the response message is used to redirect the terminal to one or more additional configuration servers; wherein the response message carries relevant information of the one or more additional configuration servers.
[0152] As an optional embodiment, the first sending module includes:
[0153] A determination submodule, used to determine a configuration version supported by the terminal according to the configuration request;
[0154] The first sending submodule is used to send a first response message to the terminal if the terminal supports the first configuration version, wherein the first response message carries relevant information of an additional configuration server applicable to the terminal.
[0155] As an optional embodiment, the first sending module includes:
[0156] A determination submodule, used to determine a configuration version supported by the terminal according to the configuration request;
[0157] The second sending submodule is used to send a second response message to the terminal if the terminal supports the second configuration version, and the second response message carries relevant information of one or more additional configuration servers applicable to the terminal.
[0158] As an optional embodiment, the determining submodule includes:
[0159] A first determining unit, configured to determine that the terminal supports a first configuration version if the configuration request does not carry a configuration version parameter;
[0160] or,
[0161] A second determining unit, configured to determine that the terminal supports a first configuration version if the configuration request carries a configuration version parameter and the value of the configuration version parameter is a first value;
[0162] or,
[0163] The third determining unit is configured to determine that the terminal supports a second configuration version if the configuration request carries a configuration version parameter and the value of the configuration version parameter is a second value.
[0164] As an optional embodiment, the relevant information of the additional configuration server includes at least one of the following:
[0165] Additional configuration server domain name;
[0166] Additional configuration server IP address;
[0167] The service ID corresponding to the configuration parameters of the additional configuration server.
[0168] The embodiment of the present invention provides a terminal configuration data acquisition method that supports both low-version terminals and high-version terminals. It can not only solve the drawback that the network side directly provides services by the default configuration server, but also is compatible with both low-version terminals and high-version terminals. Moreover, the low-version terminals do not need to be modified (or only need simple modification) to migrate to the new 5G message system, and successfully obtain terminal configuration data to use the service, which is conducive to a smooth transition of the service.
[0169] It should be noted that the redirection device provided in the embodiment of the present invention is a device capable of executing the above redirection method, and all embodiments of the above redirection method are applicable to the device and can achieve the same or similar beneficial effects.
[0170] like Figure 4 As shown, an embodiment of the present invention further provides a first configuration server, including a processor 400 and a transceiver 410, wherein the transceiver 410 receives and sends data under the control of the processor 400, and the processor 400 is used to perform the following operations:
[0171] Receive the configuration request sent by the terminal,
[0172] According to the configuration request, a response message is sent to the terminal, where the response message is used to redirect the terminal to one or more additional configuration servers; wherein the response message carries relevant information of the one or more additional configuration servers.
[0173] As an optional embodiment, the processor is further configured to perform the following operations:
[0174] Determining, according to the configuration request, a configuration version supported by the terminal;
[0175] In a case where the terminal supports the first configuration version, a first response message is sent to the terminal, where the first response message carries relevant information of an additional configuration server applicable to the terminal.
[0176] As an optional embodiment, the processor is further configured to perform the following operations:
[0177] Determining, according to the configuration request, a configuration version supported by the terminal;
[0178] In a case where the terminal supports the second configuration version, a second response message is sent to the terminal, where the second response message carries relevant information of one or more additional configuration servers applicable to the terminal.
[0179] As an optional embodiment, the processor is further configured to perform the following operations:
[0180] If the configuration request does not carry a configuration version parameter, determining that the terminal supports a first configuration version;
[0181] or,
[0182] If the configuration request carries a configuration version parameter, and the value of the configuration version parameter is a first value, determining that the terminal supports the first configuration version;
[0183] or,
[0184] If the configuration request carries a configuration version parameter, and the value of the configuration version parameter is a second value, it is determined that the terminal supports the second configuration version.
[0185] As an optional embodiment, the relevant information of the additional configuration server includes at least one of the following:
[0186] Additional configuration server domain name;
[0187] Additional configuration server IP address;
[0188] The service ID corresponding to the configuration parameters of the additional configuration server.
[0189] The embodiment of the present invention provides a terminal configuration data acquisition method that supports both low-version terminals and high-version terminals. It can not only solve the drawback that the network side directly provides services by the default configuration server, but also is compatible with both low-version terminals and high-version terminals. Moreover, the low-version terminals do not need to be modified (or only need simple modification) to migrate to the new 5G message system, and successfully obtain terminal configuration data to use the service, which is conducive to a smooth transition of the service.
[0190] It should be noted that the first configuration server provided in the embodiment of the present invention is a first configuration server capable of executing the above redirection method, and all embodiments of the above redirection method are applicable to the first configuration server and can achieve the same or similar beneficial effects.
[0191] like Figure 5 As shown, an embodiment of the present invention further provides a device for acquiring terminal configuration data, which is applied to a terminal and includes:
[0192] The second sending module 501 is used to send a configuration request to the first configuration server;
[0193] A second receiving module 502 is configured to receive a response message sent by the first configuration server, where the response message carries relevant information of the one or more additional configuration servers;
[0194] The acquisition module 503 is configured to acquire configuration data from the one or more additional configuration servers according to the response message.
[0195] As an optional embodiment, the second sending module includes:
[0196] A second sending module, configured to send a configuration request to the first configuration server according to a configuration version supported by the terminal;
[0197] Wherein, when the terminal supports the first configuration version, the configuration request does not carry a configuration version parameter, or the value of the configuration version parameter carried by the configuration request is a first value;
[0198] Alternatively, when the first terminal supports the second configuration version, the value of the configuration version parameter carried in the configuration request is the second value.
[0199] As an optional embodiment, when the terminal supports the first configuration version, the first response message carries relevant information of an additional configuration server applicable to the terminal;
[0200] or,
[0201] In the case that the terminal supports the second configuration version, the second response message carries relevant information of one or more additional configuration servers applicable to the terminal.
[0202] As an optional embodiment, the relevant information of the additional configuration server includes at least one of the following:
[0203] Additional configuration server domain name;
[0204] Additional configuration server IP address;
[0205] The service ID corresponding to the configuration parameters of the additional configuration server.
[0206] As an optional embodiment, the acquisition module includes:
[0207] A first acquisition submodule, configured to send a configuration information request to one or more additional configuration servers indicated by the response message;
[0208] The second acquisition submodule is used to receive configuration data sent by the one or more additional configuration servers.
[0209] The embodiment of the present invention provides a terminal configuration data acquisition method that supports both low-version terminals and high-version terminals. It can not only solve the drawback that the network side directly provides services by the default configuration server, but also is compatible with both low-version terminals and high-version terminals. Moreover, the low-version terminals do not need to be modified (or only need simple modification) to migrate to the new 5G message system, and successfully obtain terminal configuration data to use the service, which is conducive to a smooth transition of the service.
[0210] It should be noted that the terminal configuration data acquisition device provided in the embodiment of the present invention is a device capable of executing the above-mentioned terminal configuration data acquisition method, and all embodiments of the above-mentioned terminal configuration data acquisition method are applicable to the device and can achieve the same or similar beneficial effects.
[0211] like Figure 6 As shown, an embodiment of the present invention further provides a terminal, including a processor 600 and a transceiver 610, wherein the transceiver 610 receives and sends data under the control of the processor 600, and the processor 600 is used to perform the following operations:
[0212] Sending a configuration request to a first configuration server;
[0213] receiving a response message sent by the first configuration server, where the response message carries relevant information of the one or more additional configuration servers;
[0214] According to the response message, configuration data is obtained from the one or more additional configuration servers.
[0215] As an optional embodiment, the processor is further configured to perform the following operations:
[0216] Sending a configuration request to the first configuration server according to the configuration version supported by the terminal;
[0217] Wherein, when the terminal supports the first configuration version, the configuration request does not carry a configuration version parameter, or the value of the configuration version parameter carried by the configuration request is a first value;
[0218] Alternatively, when the first terminal supports the second configuration version, the value of the configuration version parameter carried in the configuration request is the second value.
[0219] As an optional embodiment, when the terminal supports the first configuration version, the first response message carries relevant information of an additional configuration server applicable to the terminal;
[0220] or,
[0221] In the case that the terminal supports the second configuration version, the second response message carries relevant information of one or more additional configuration servers applicable to the terminal.
[0222] As an optional embodiment, the relevant information of the additional configuration server includes at least one of the following:
[0223] Additional configuration server domain name;
[0224] Additional configuration server IP address;
[0225] The service ID corresponding to the configuration parameters of the additional configuration server.
[0226] As an optional embodiment, the processor is further configured to perform the following operations:
[0227] Sending a configuration information request to one or more additional configuration servers indicated by the response message;
[0228] Receive configuration data sent by the one or more additional configuration servers.
[0229] The embodiment of the present invention provides a terminal configuration data acquisition method that supports both low-version terminals and high-version terminals. It can not only solve the drawback that the network side directly provides services by the default configuration server, but also is compatible with both low-version terminals and high-version terminals. Moreover, the low-version terminals do not need to be modified (or only need simple modification) to migrate to the new 5G message system, and successfully obtain terminal configuration data to use the service, which is conducive to a smooth transition of the service.
[0230] It should be noted that the terminal provided in the embodiment of the present invention is a terminal capable of executing the above-mentioned method for obtaining terminal configuration data, and all embodiments of the above-mentioned method for obtaining terminal configuration data are applicable to the terminal and can achieve the same or similar beneficial effects.
[0231] An embodiment of the present invention also provides a communication device, which is the above-mentioned first configuration server or terminal. The communication device includes a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the program, the various processes in the redirection method embodiment as described above or the various processes in the terminal configuration data acquisition method embodiment as described above are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0232] The embodiment of the present invention also provides a computer-readable storage medium, on which a computer program is stored. When the program is executed by a processor, each process in the redirection method embodiment described above or each process in the terminal configuration data acquisition method embodiment described above can be implemented, and the same technical effect can be achieved. To avoid repetition, it is not repeated here. The computer-readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0233] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-readable storage media (including but not limited to disk storage and optical storage, etc.) containing computer-usable program code.
[0234] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A device that specifies functions in one or more processes and / or one or more blocks.
[0235] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable storage medium produce a paper product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1A function specified in one or more boxes.
[0236] These computer program instructions may also be loaded onto a computer or other programmable data processing device to cause the computer or other programmable device to execute a series of operating steps to produce a computer-implemented process, thereby providing instructions executed on the computer or other programmable device for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0237] The above is a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A redirection method, executed by a first configuration server, characterized in that: include: receiving a configuration request sent by a terminal; According to the configuration request, a response message is sent to the terminal, where the response message is used to redirect the terminal to one or more additional configuration servers; wherein the response message carries relevant information of the one or more additional configuration servers; The first configuration server is used as a redirection configuration server.
2. The method according to claim 1, characterized in that According to the configuration request, a response message is sent to the terminal, including: Determining, according to the configuration request, a configuration version supported by the terminal; In a case where the terminal supports the first configuration version, a first response message is sent to the terminal, where the first response message carries relevant information of an additional configuration server applicable to the terminal.
3. The method according to claim 1, characterized in that According to the configuration request, a response message is sent to the terminal, including: Determining, according to the configuration request, a configuration version supported by the terminal; In a case where the terminal supports the second configuration version, a second response message is sent to the terminal, where the second response message carries relevant information of one or more additional configuration servers applicable to the terminal.
4. The method according to claim 2 or 3, characterized in that: Determining, according to the configuration request, a configuration version supported by the terminal, including: If the configuration request does not carry a configuration version parameter, determining that the terminal supports a first configuration version; or, If the configuration request carries a configuration version parameter, and the value of the configuration version parameter is a first value, determining that the terminal supports the first configuration version; or, If the configuration request carries a configuration version parameter, and the value of the configuration version parameter is a second value, it is determined that the terminal supports the second configuration version.
5. The method according to claim 1, characterized in that The additional configuration server related information includes at least one of the following: Additional configuration server domain name; Additional configuration server IP address; The service ID corresponding to the configuration parameters of the additional configuration server.
6. A method for acquiring terminal configuration data, executed by a terminal, characterized in that: include: Sending a configuration request to a first configuration server; receiving a response message sent by the first configuration server, where the response message carries relevant information of one or more additional configuration servers; acquiring configuration data from the one or more additional configuration servers according to the response message; The first configuration server is used as a redirection configuration server.
7. The method according to claim 6, characterized in that Sending a configuration request to the first configuration server includes: Sending a configuration request to the first configuration server according to the configuration version supported by the terminal; Wherein, when the terminal supports the first configuration version, the configuration request does not carry a configuration version parameter, or the value of the configuration version parameter carried by the configuration request is a first value; Alternatively, when the terminal supports the second configuration version, the value of the configuration version parameter carried in the configuration request is the second value.
8. The method according to claim 7, characterized in that In a case where the terminal supports the first configuration version, the response message carries relevant information of an additional configuration server applicable to the terminal; or, In the case that the terminal supports the second configuration version, the response message carries relevant information of one or more additional configuration servers applicable to the terminal.
9. The method according to claim 6, characterized in that The additional configuration server related information includes at least one of the following: Additional configuration server domain name; Additional configuration server IP address; The service ID corresponding to the configuration parameters of the additional configuration server.
10. The method according to any one of claims 6 to 9, characterized in that: Acquiring configuration data from the one or more additional configuration servers according to the response message includes: Sending a configuration information request to one or more additional configuration servers indicated by the response message; Receive configuration data sent by the one or more additional configuration servers.
11. A redirection device, applied to a first configuration server, characterized in that: include: A first receiving module, used for receiving a configuration request sent by a terminal; A first sending module, configured to send a response message to the terminal according to the configuration request, wherein the response message is used to redirect the terminal to one or more additional configuration servers; wherein the response message carries relevant information of the one or more additional configuration servers; The first configuration server is used as a redirection configuration server.
12. A first configuration server, comprising a processor and a transceiver, wherein the transceiver receives and sends data under the control of the processor, characterized in that: The processor is configured to perform the following operations: Receive the configuration request sent by the terminal, According to the configuration request, a response message is sent to the terminal, where the response message is used to redirect the terminal to one or more additional configuration servers; wherein the response message carries relevant information of the one or more additional configuration servers; The first configuration server is used as a redirection configuration server.
13. The first configuration server according to claim 12, characterized in that: The processor is further configured to perform the following operations: Determining, according to the configuration request, a configuration version supported by the terminal; In a case where the terminal supports the first configuration version, a first response message is sent to the terminal, where the first response message carries relevant information of an additional configuration server applicable to the terminal.
14. The first configuration server according to claim 12, characterized in that: The processor is further configured to perform the following operations: Determining, according to the configuration request, a configuration version supported by the terminal; In a case where the terminal supports the second configuration version, a second response message is sent to the terminal, where the second response message carries relevant information of one or more additional configuration servers applicable to the terminal.
15. The first configuration server according to claim 13 or 14, characterized in that: The processor is further configured to perform the following operations: If the configuration request does not carry a configuration version parameter, determining that the terminal supports a first configuration version; or, If the configuration request carries a configuration version parameter, and the value of the configuration version parameter is a first value, determining that the terminal supports the first configuration version; or, If the configuration request carries a configuration version parameter, and the value of the configuration version parameter is a second value, it is determined that the terminal supports the second configuration version.
16. The first configuration server according to claim 12, characterized in that: The additional configuration server related information includes at least one of the following: Additional configuration server domain name; Additional configuration server IP address; The service ID corresponding to the configuration parameters of the additional configuration server.
17. A device for acquiring terminal configuration data, applied to a terminal, characterized in that: include: A second sending module, used to send a configuration request to the first configuration server; A second receiving module, configured to receive a response message sent by the first configuration server, where the response message carries relevant information of one or more additional configuration servers; An acquisition module, configured to acquire configuration data from the one or more additional configuration servers according to the response message; The first configuration server is used as a redirection configuration server.
18. A terminal comprising a processor and a transceiver, wherein the transceiver receives and sends data under the control of the processor, characterized in that: The processor is configured to perform the following operations: Sending a configuration request to a first configuration server; receiving a response message sent by the first configuration server, where the response message carries relevant information of one or more additional configuration servers; acquiring configuration data from the one or more additional configuration servers according to the response message; The first configuration server is used as a redirection configuration server.
19. The terminal according to claim 18, characterized in that: The processor is further configured to perform the following operations: Sending a configuration request to the first configuration server according to the configuration version supported by the terminal; Wherein, when the terminal supports the first configuration version, the configuration request does not carry a configuration version parameter, or the value of the configuration version parameter carried by the configuration request is a first value; Alternatively, when the terminal supports the second configuration version, the value of the configuration version parameter carried in the configuration request is the second value.
20. The terminal according to claim 19, characterized in that In a case where the terminal supports the first configuration version, the response message carries relevant information of an additional configuration server applicable to the terminal; or, In the case that the terminal supports the second configuration version, the response message carries relevant information of one or more additional configuration servers applicable to the terminal.
21. The terminal according to claim 18, characterized in that The additional configuration server related information includes at least one of the following: Additional configuration server domain name; Additional configuration server IP address; The service ID corresponding to the configuration parameters of the additional configuration server.
22. The terminal according to any one of claims 18 to 21, characterized in that: The processor is further configured to perform the following operations: Sending a configuration information request to one or more additional configuration servers indicated by the response message; Receive configuration data sent by the one or more additional configuration servers.
23. A communication device comprising a memory, a processor, and a program stored in the memory and executable on the processor; characterized in that: When the processor executes the program, it implements the redirection method as described in any one of claims 1 to 5, or implements the terminal configuration data acquisition method as described in any one of claims 6 to 10.
24. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the program implements the steps in the redirection method as described in any one of claims 1 to 5, or implements the steps in the terminal configuration data acquisition method as described in any one of claims 6 to 10.
Citation Information
Patent Citations
Method, equipment and client for migrating auto-configuration server ACS
CN105897879A