CN-122027719-A - Method for transmitting configuration data, electronic device, storage medium, and program product
Abstract
The embodiment of the application provides a transmission method of configuration data, electronic equipment, a storage medium and a program product. The method comprises the steps of receiving a session negotiation message sent by a customer service end in a call state, analyzing the session negotiation message to obtain a service capability requirement, checking whether a user terminal meets each capability sub-requirement corresponding to the service capability requirement to obtain a capability determination result, receiving a session update message based on the capability determination result, wherein the session update message is used for carrying data channel media parameters, constructing a data channel between the customer service end and the user terminal based on the session update message, and receiving a configuration file and a service application package sent by the customer service end based on the data channel. The method is used for achieving the effect of improving the efficiency of terminal service configuration.
Inventors
- HAN LIANG
Assignees
- 展讯通信(天津)有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20260205
Claims (10)
- 1. A method for transmitting configuration data, comprising: in a call state, receiving a session negotiation message sent by a customer service end, wherein the session negotiation message comprises an extension field for carrying a service capability requirement, and the service capability requirement is used for indicating the requirement on a user terminal when the user terminal is configured; analyzing the session negotiation message to obtain the service capability requirement, wherein the service capability requirement comprises at least one capability sub-requirement; Checking whether the user terminal accords with each capability sub-requirement corresponding to the service capability requirement or not to obtain a capability determination result; Based on the capability determination result, receiving a session update message, wherein the session update message is used for carrying data channel media parameters; and constructing a data channel between the customer service end and the user terminal based on the session updating message, and receiving a configuration file and a service application packet sent by the customer service end based on the data channel.
- 2. The method of claim 1, wherein verifying whether the user terminal meets each capability sub-requirement corresponding to the service capability requirement, to obtain a capability determination result, comprises: judging whether the user terminal meets the capability sub-requirement or not according to any capability sub-requirement to obtain a determined sub-result, wherein the determined sub-result comprises meeting the sub-requirement and not meeting the sub-requirement; If the determined sub-results corresponding to the capacity sub-requirements are all the satisfying sub-requirements, the capacity determining result is the satisfying requirement; and if the determined sub-result corresponding to any capacity sub-requirement is the unsatisfied sub-requirement, the capacity determined result is the unsatisfied requirement.
- 3. The method of claim 2, wherein the at least one capability sub-requirement includes a protocol stack configuration requirement and a protocol stack version requirement of a communication protocol stack, and a software package presence requirement and a software package version compatibility requirement of a preset software package, and wherein determining whether the user terminal meets the capability sub-requirement, to obtain a determination sub-result includes: When the capability sub-requirement is the protocol stack configuration requirement, judging whether a communication protocol stack of the user terminal meets target specification configuration, and if so, determining a sub-result corresponding to the protocol stack configuration requirement to be the sub-requirement; When the capability sub-requirement is the protocol stack version requirement, acquiring a protocol stack version configured by a communication protocol stack of the user terminal corresponding to a target specification, judging whether the protocol stack version is greater than or equal to a preset stack version, and if so, determining a sub-result corresponding to the protocol stack version requirement to be the sub-requirement; when the capability sub-requirement is that the software package has a requirement, searching whether a target software package exists or not through an application package manager of the user terminal, and if so, determining a sub-result corresponding to the software package existence requirement to meet the sub-requirement; And when the capability sub-requirement is the software package version compatible requirement, judging whether the current version of the target software package is greater than or equal to a target version, and if so, determining the sub-result corresponding to the software package version compatible requirement as meeting the sub-requirement.
- 4. The method of claim 3, wherein when the capability sub-requirement is the package version compatibility requirement, determining whether the current version is greater than or equal to a target version comprises: calling a standard interface corresponding to the target software package; and acquiring the current version of the target software package according to the standard interface, and judging whether the current version is greater than or equal to the target version.
- 5. The method of claim 1, wherein the extension field of the session negotiation message comprises at least one capability sub-requirement field, wherein parsing the session negotiation message to obtain the service capability requirement comprises: Determining at least one capability sub-requirement field in an extension field of the session negotiation message; And aiming at any one capacity requirement field, acquiring the corresponding capacity sub-requirement in the capacity sub-requirement field.
- 6. The method of claim 1, wherein receiving a session update message based on the capability determination result comprises: if the capacity determination result is that the requirement is met, generating a response message as a successful response message, wherein a service support identification field of the successful response message is a support identification; if the capacity determination result is that the requirement is not met, generating the response message as a failure response message, wherein a service support identification field of the failure response message is a non-support identification; And after the successful response message is sent to the customer service side, receiving a session update message sent by the customer service side.
- 7. The method of claim 1, wherein the data channel media parameters include a service tag parameter, a flow identification parameter, a transport protocol parameter, a data transmission direction parameter, and a service usage description parameter corresponding to at least one data channel, wherein for any one data channel, constructing a data channel between the customer service side and the user terminal based on the session update message comprises: Extracting service label parameters, stream identification parameters, transmission protocol parameters, data transmission direction parameters and service usage description parameters corresponding to the data channel from an extension field of the session update message; And constructing the data channel based on the service tag parameter, the stream identification parameter, the transmission protocol parameter, the data transmission direction parameter and the service use description parameter.
- 8. An electronic device comprising a processor and a memory communicatively coupled to the processor; The memory stores computer-executable instructions; the processor executes computer-executable instructions stored in the memory to implement the method of any one of claims 1-7.
- 9. A computer readable storage medium having stored therein computer executable instructions for implementing the method of any of claims 1-7 when the computer executable instructions are executed by a processor.
- 10. A computer program product comprising a computer program which, when executed by a processor, implements the method of any of claims 1-7.
Description
Method for transmitting configuration data, electronic device, storage medium, and program product Technical Field The present application relates to the field of communications technologies, and in particular, to a method for transmitting configuration data, an electronic device, a storage medium, and a program product. Background The user may need to adjust the network settings through the operator profile or install a specific business application (e.g., encrypted call, RCS message service, etc.) when using the VoLTE call or the 5G new call. In the prior art, when a user roams to other operator networks, the user needs to dial a local customer service telephone and manually modify a background database by a manual seat, and if the terminal fails to use a service due to the fact that a correct configuration file or application is not preset, the user also needs to hang up a call, automatically download the configuration file and the application package required by the user terminal, and then re-contact customer service or finish new service opening, operator parameter updating and custom application installation through other channels. Because the traditional customer service call lacks real-time data transmission capability, the terminal capability (such as protocol version compatibility) cannot be verified in the call process, and the terminal service configuration efficiency is lower because the configuration file or application needs to be retried after transmission failure in the process of remote guidance. Disclosure of Invention The embodiment of the application provides a transmission method of configuration data, electronic equipment, a storage medium and a program product, which are used for achieving the effect of improving the efficiency of terminal service configuration. In a first aspect, an embodiment of the present application provides a method for transmitting configuration data, including: in a call state, receiving a session negotiation message sent by a customer service end, wherein the session negotiation message comprises an extension field for carrying a service capability requirement, and the service capability requirement is used for indicating the requirement on a user terminal when the user terminal is configured; analyzing the session negotiation message to obtain the service capability requirement, wherein the service capability requirement comprises at least one capability sub-requirement; Checking whether the user terminal accords with each capability sub-requirement corresponding to the service capability requirement or not to obtain a capability determination result; Based on the capability determination result, receiving a session update message, wherein the session update message is used for carrying data channel media parameters; and constructing a data channel between the customer service end and the user terminal based on the session updating message, and receiving a configuration file and a service application packet sent by the customer service end based on the data channel. In a possible implementation manner, checking whether the user terminal meets each capability sub-requirement corresponding to the service capability requirement, to obtain a capability determination result includes: judging whether the user terminal meets the capability sub-requirement or not according to any capability sub-requirement to obtain a determined sub-result, wherein the determined sub-result comprises meeting the sub-requirement and not meeting the sub-requirement; If the determined sub-results corresponding to the capacity sub-requirements are all the satisfying sub-requirements, the capacity determining result is the satisfying requirement; And if the determined sub-result corresponding to any capacity sub-requirement is the unsatisfied sub-requirement, the capacity determined result is the unsatisfied requirement. In one possible implementation manner, the at least one capability sub-requirement includes a protocol stack configuration requirement and a protocol stack version requirement of a communication protocol stack, and a software package existence requirement and a software package version compatibility requirement of a preset software package: When the capability sub-requirement is the protocol stack configuration requirement, judging whether a communication protocol stack of the user terminal meets target specification configuration, and if so, determining a sub-result corresponding to the protocol stack configuration requirement to be the sub-requirement; When the capability sub-requirement is the protocol stack version requirement, acquiring a protocol stack version configured by a communication protocol stack of the user terminal corresponding to a target specification, judging whether the protocol stack version is greater than or equal to a preset stack version, and if so, determining a sub-result corresponding to the protocol stack version requirement to be the sub-r