Business processing method and device, business configuration method and device, electronic equipment, medium and program product
By storing the target path set locally on the electronic device and adaptively adjusting the transmission path, the problem of failure in configuring supplementary services between electronic devices and operator equipment is solved, improving the configuration success rate and efficiency.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- BEIJING XIAOMI MOBILE SOFTWARE CO LTD
- Filing Date
- 2024-10-22
- Publication Date
- 2026-04-24
AI Technical Summary
In existing technologies, configuring supplementary services between electronic devices and operator equipment presents challenges such as difficulty in selecting transmission paths and mismatched configuration information, resulting in a high configuration failure rate.
By storing the target path set locally on the electronic device and adaptively adjusting using historically successful configuration paths, configuration information is sent sequentially to improve the configuration success rate.
It improves the configuration success rate of supplementary services between electronic devices and operator equipment, reduces human interference, and enhances network adaptability and configuration efficiency.
Smart Images

Figure CN121924070A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of communication technology, and in particular to a service processing and configuration method and apparatus, electronic equipment, medium, and program product. Background Technology
[0002] Supplementary services are services that modify or supplement basic telecommunications services. They are services specifically provided to users to meet special application scenarios, and cannot be provided to users independently of basic call services. Common supplementary services include call forwarding, call restriction, and call hold.
[0003] The problem of supplementary service configuration failures in electronic devices includes issues between the electronic devices and the network operator's equipment. For example, there are domain selection problems: due to communication hardware limitations, the electronic devices cannot meet communication requirements in selecting transmission paths; and configuration discrepancies: the configuration information transmitted by the electronic devices does not match the requirements of the operator's equipment. Currently, solutions to the problem of supplementary service configuration failures between electronic devices and operator equipment are lacking. Summary of the Invention
[0004] To overcome the problems existing in related technologies, this disclosure provides a service processing, configuration method and apparatus, electronic device, medium, and program product that can improve the success rate of configuring supplementary services between a first device and a corresponding third device.
[0005] According to a first aspect of the present disclosure, a business processing method is provided, including:
[0006] In response to a first configuration event for supplementary services by the first device at a first moment, a set of target paths in the local storage space of the first device is determined; wherein, the set of target paths is obtained by the first device from the second device and stored in the local storage space, and the set of target paths includes: the paths used by at least one third device to configure the supplementary services for each of the first devices, and when the configuration is successful;
[0007] The configuration information of the supplementary service is sent sequentially to the third device corresponding to the first device based on each transmission path in the target path set.
[0008] Receive the first configuration result returned by the third device based on the configuration information.
[0009] According to a second aspect of the present disclosure, a business processing method is provided, including:
[0010] The second device obtains the path set for each of the different times by configuring supplementary services for each of the first devices at different times based on at least one third device, and the path used when the configuration is successful.
[0011] The path sets at different times are sent to the first device; wherein the first device is configured to: determine a target path set based on the path sets at different times, and store the target path set in the local storage space of the first device.
[0012] According to a third aspect of the embodiments of this disclosure, a service configuration method is provided, including:
[0013] In response to the third device receiving configuration information for supplementary services sent by the first device based on each transmission path in the target path set after the first moment, the third device configures the supplementary services for the first device based on the configuration information; wherein, the first moment is the time when the first device initiates the first configuration event for the supplementary services, the target path set is obtained by the first device from the second device and stored in the local storage space, and the target path set includes: at least one path used by the third device to configure the supplementary services for each of the first devices, and the path used when the configuration is successful;
[0014] Return the first configuration result of the supplementary service to the first device.
[0015] According to a fourth aspect of the present disclosure, a business processing apparatus is provided, comprising:
[0016] The determination module is configured to determine a set of target paths in the local storage space of the first device in response to a first configuration event of the supplementary service by the first device at a first moment; wherein the set of target paths is obtained by the first device from the second device and stored in the local storage space, and the set of target paths includes: the paths used by at least one third device to configure the supplementary service for each of the first devices and when the configuration is successful;
[0017] The first sending module is configured to sequentially send the configuration information of the supplementary service to the third device corresponding to the first device based on each transmission path in the target path set;
[0018] The first receiving module is configured to receive a first configuration result returned by the third device based on the configuration information.
[0019] According to a fifth aspect of the present disclosure, a business processing apparatus is provided, comprising:
[0020] The first acquisition module is configured to obtain the path set at each time based on the supplementary services configured by the second device for each first device at different times based on at least one third device, and the path used when the configuration is successful.
[0021] The second sending module is configured to send the path set at different times to the first device; wherein the first device is configured to: determine a target path set based on the path set at different times, and store the target path set in the local storage space of the first device.
[0022] According to a sixth aspect of the present disclosure, a service configuration apparatus is provided, comprising:
[0023] The second receiving module is configured to, in response to the third device after a first moment, receive configuration information of supplementary services sent by the first device based on each transmission path in the target path set, and configure the supplementary services for the first device based on the configuration information; wherein, the first moment is the moment when the first device initiates the first configuration event for the supplementary services, the target path set is obtained by the first device from the second device and stored in local storage space, and the target path set includes: at least one path used by the third device to configure the supplementary services for each of the first devices, and the path used when the configuration is successful;
[0024] The third sending module is configured to return the first configuration result of the supplementary service to the first device.
[0025] According to a seventh aspect of the present disclosure, an electronic device is provided, comprising:
[0026] processor;
[0027] Memory used to store processor-executable instructions;
[0028] The processor is configured to execute any of the service processing methods in the first aspect, any of the service processing methods in the second aspect, or any of the service configuration methods in the third aspect.
[0029] According to an eighth aspect of the present disclosure, a non-transitory computer-readable storage medium is provided, comprising:
[0030] When a computer program or instruction in the storage medium is executed by a processor, it implements the steps of any of the service processing methods in the first aspect, any of the service processing methods in the second aspect, or any of the service configuration methods in the third aspect.
[0031] According to a ninth aspect of the present disclosure, a computer program product is provided, comprising:
[0032] When the computer program or instructions are executed by the processor, they implement the steps of any of the business processing methods in the first aspect, any of the business processing methods in the second aspect, or any of the business configuration methods in the third aspect.
[0033] The technical solutions provided by the embodiments of this disclosure may include the following beneficial effects:
[0034] In this embodiment of the disclosure, the first device responds to a first configuration event for supplementary services at a first moment and determines a set of target paths in the local storage space of the first device. The set of target paths is obtained by the first device from the second device and stored locally before the first moment. Compared with manually selecting and configuring the transmission path of supplementary services by the user, the efficiency of obtaining the set of target paths is improved.
[0035] Furthermore, since at least one third device has successfully configured supplementary services for multiple first devices based on the transmission paths in the target path set before the first moment, when the first device sequentially sends the configuration information of the supplementary services to the corresponding third device based on each transmission path in the target path set, on the one hand, by traversing the transmission paths in the target path set, the first device can adaptively adjust the transmission path for interacting with the third device to configure the supplementary services, thereby improving the efficiency of the first device in configuring supplementary services; on the other hand, the transmission paths in the target path set can adapt to different first devices transmitting configuration information to the third device, and by configuring the supplementary services again based on the transmission paths used in the historical successful configuration, the success rate of the first device interacting with the third device to configure supplementary services in the first configuration event can be improved.
[0036] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description
[0037] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.
[0038] Figure 1 This is a flowchart of a business processing method according to an exemplary embodiment. Figure 1 .
[0039] Figure 2 This is a flowchart of a business processing method according to an exemplary embodiment. Figure 2 .
[0040] Figure 3 This is a flowchart of a business processing method according to an exemplary embodiment. Figure 3 .
[0041] Figure 4 This is a flowchart illustrating a service configuration method according to an exemplary embodiment.
[0042] Figure 5 This is a schematic diagram illustrating a device interaction scenario according to an exemplary embodiment.
[0043] Figure 6 This is a device interaction flowchart illustrated according to an exemplary embodiment.
[0044] Figure 7 This is a service processing apparatus structure illustrated according to an exemplary embodiment. Figure 1 .
[0045] Figure 8 This is a service processing apparatus structure illustrated according to an exemplary embodiment. Figure 2 .
[0046] Figure 9 This is a structural diagram of a service configuration device according to an exemplary embodiment.
[0047] Figure 10 This is a structural block diagram of an electronic device according to an exemplary embodiment. Detailed Implementation
[0048] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.
[0049] Figure 1 This is a flowchart of a business processing method according to an exemplary embodiment. Figure 1 ,like Figure 1 As shown, the business processing method mainly includes the following steps:
[0050] In step 101, in response to the first configuration event of the supplementary service by the first device at a first moment, the target path set in the local storage space of the first device is determined; wherein, the target path set is obtained by the first device from the second device and stored in the local storage space, and the target path set includes: the path used by at least one third device to configure the supplementary service for each of the first devices when the configuration is successful;
[0051] In step 102, configuration information for supplementary services is sent sequentially to the third device corresponding to the first device based on each transmission path in the target path set.
[0052] In step 103, the first configuration result returned by the third device based on the configuration information is received.
[0053] In this embodiment of the disclosure, the service processing method is applied to a first device, which includes an electronic device. Here, the electronic device may include a terminal device, such as a mobile terminal or a fixed terminal. The mobile terminal may include devices such as mobile phones, tablets, and wearable electronic devices. The fixed terminal may include in-vehicle equipment, etc.
[0054] The second device includes a cloud server, which is a virtual server provided based on cloud computing technology. Users can access and use it through the Internet. The cloud server uses virtualization technology to divide the resources of the physical server (such as CPU, memory, storage, etc.) and allocate them to users on demand to allocate computing resources efficiently and flexibly.
[0055] The third device is located on the operator's network side and serves as a server that handles supplementary service interactions between the first device and the operator's network. This third device may include an application server (AS), a network server, etc. The application server provides the runtime environment and support for the business logic of applications (such as telephone applications); the network server handles tasks such as underlying communication protocols and data transmission, providing network connectivity and transmission support for supplementary services.
[0056] It should be noted that the transmission path of supplementary services differs in each generation of communication networks. For example, in 2G and 3G networks, voice calls and their corresponding supplementary services are handled by the Circuit Switching (CS) domain; in 4G networks, voice calls use Voice over LTE (VoLTE) technology, handled by the Packet Switched Domain (PS) or the IP Multimedia Subsystem (IMS) domain. The configuration information for supplementary services is stored in a third-party device, which processes user requests or executes supplementary service logic based on this configuration information.
[0057] In step 101, the first configuration event for the supplementary service includes: a user initiating a configuration request for the supplementary service through the user interface or application of the first device at a first moment; or, a scheduled task of the first device at a first moment; or, the first device receiving an instruction from another device.
[0058] For example, if a user enables a supplementary service through the first device, the configuration request carries an enable instruction; or, if, after enabling the supplementary service, the user modifies the configuration of the supplementary service, the configuration instruction carries the configuration information that needs to be modified.
[0059] The modifications to the configuration of supplementary services include: changing the service response time, changing the service notification method (such as SMS, in-app notifications, etc.), and changing service parameters (such as forwarding numbers, call prefixes, etc.). This disclosure does not impose any limitations on these modifications.
[0060] The transmission path for supplementary services includes the path used by the first device when selecting a domain (e.g., PS domain or CS domain) and then transmitting configuration information to the second device.
[0061] The process of configuring supplementary services via the PS domain includes: APN access, authentication, and configuration changes based on the configuration information; the process of configuring supplementary services via the CS domain includes: authentication and specific signaling interactions. The first device interacts with the third device via either the PS domain or the CS domain, corresponding to one path of the supplementary service.
[0062] In this embodiment of the disclosure, the first device determines the target path set in the local storage space by: the first device storing the path set in the local storage space before the first moment as the first target path set; or, the first device obtaining the path set from the second device and storing it in the local storage space after the first moment as the second target path set. The first target path set and the second target path set may be the same or different.
[0063] For example, the first target path set may include the path used by the third device when configuring supplementary services for each first device at a second time before the first time and when the configuration is successful; the second target path set may include the path used by the third device when configuring supplementary services for each first device at a third time after the first time and when the configuration is successful, and the transmission path in the second target path set may be updated to the second device after the third time, and the first device obtains the second target path set from the second device after the first time.
[0064] It should be noted that configuring supplementary services for each first device by at least one third device includes: one third device configuring supplementary services for each first device; or multiple third devices configuring supplementary services for each first device. Here, since the third devices are the operator's servers, different operators have different servers, and the implementation details of the supplementary services differ between the servers of different operators.
[0065] Therefore, if a third device configures supplementary services for each first device, or if a server of a different operator configures supplementary services for multiple first devices, then the transmission paths in the target path set include: the paths used by multiple first devices when they use the same operator's network and are successfully configured based on different transmission paths; if multiple third devices configure supplementary services for first devices, or if servers of different operators configure supplementary services for each first device, then the transmission paths in the target path set include: the paths used by multiple first devices when they use different operator's networks and are successfully configured based on different transmission paths.
[0066] It is understandable that, in response to the first device using any operator's network, configuring supplementary services based on the configuration information transmitted through each transmission path in the target path set can improve the network compatibility between the first device and the third device, thereby increasing the success rate of configuring supplementary services between the first device and the third device.
[0067] In step 102, the configuration information for supplementary services is sent to the second device sequentially based on each of the first transmission paths, including: the first device traversing each transmission path in the target path set and obtaining the configuration result corresponding to each transmission; or, the first device sequentially sending configuration information to the third device based on each transmission path until the first device receives the configuration success result returned by the third device.
[0068] In some embodiments, configuration information of the first supplementary service is sent to the third device sequentially based on each transmission path in the target path set, including: determining the priority of each transmission path based on the frequency of transmitting configuration information on each transmission path in the target path set; and sending the configuration information of the first supplementary service to the third device sequentially through each transmission path based on the priority.
[0069] The configuration information includes the service type, enable / disable status, and service parameters of the supplementary services, which are not limited in this embodiment.
[0070] It should be noted that the configuration information for supplementary services sent by the first device to the second device based on each transmission path can be the same or different.
[0071] For example, the first device transmits first configuration information for call forwarding based on a first transmission path; or, the first device transmits second configuration information for call forwarding based on the first transmission path; or, the first device transmits first configuration information for call forwarding based on a second transmission path. Wherein, the first transmission path can be a PS domain, the second transmission path can be an IMS domain, the first configuration information can be a no-answer call forwarding timer, and the second configuration information can be activation information for unconditional call forwarding.
[0072] In some embodiments, when the first device and the third device interact in the PS domain, the first device and the third device communicate based on the UT interface. The UT interface follows a specific protocol standard, such as the XML Configuration Access Protocol (XCAP) defined by IETF RFC4825, to ensure the reliability and security of the communication.
[0073] The UT interface is the interface between a device (such as the first device) and an application server (such as the third device).
[0074] The interaction between application servers and terminals in the CS domain typically occurs through the circuit-switched core network of the mobile network, such as the Mobile Switching Center (MSC). Third-party devices may need to interact with the MSC through some form of interface or protocol (such as the SCP-MSC interface, where SCP stands for Service Control Point, an important component of the Intelligent Network) to control or influence call flow in the CS domain.
[0075] In step 103, the first device sends configuration information for supplementary services to the third device based on the transmission path; after receiving the configuration information, the third device parses the configuration information, modifies the configuration document corresponding to the supplementary services of the first device stored in the third device based on preset rules, and returns the first configuration result corresponding to the modification result of the configuration document to the first device.
[0076] For example, preset rules include preset constraints. Here, preset constraints include data types, length limits, conflict mechanisms, etc., which are not limited in this embodiment.
[0077] It should be noted that if the third device successfully modifies the configuration document for the supplementary service corresponding to the first device, it will return a successful configuration result to the first device; or, if the third device fails to modify the configuration document for the supplementary service corresponding to the first device, it will return a failed configuration result to the first device.
[0078] In this embodiment of the disclosure, the first device responds to a first configuration event for supplementary services at a first moment and determines a set of target paths in the local storage space of the first device. The set of target paths is obtained by the first device from the second device and stored locally. Compared with manually selecting and configuring the transmission path of supplementary services by the user, the efficiency of obtaining the set of target paths is improved.
[0079] Furthermore, since at least one third device has successfully configured supplementary services for multiple first devices based on the transmission paths in the target path set before the first moment, when the first device sequentially sends the configuration information of the supplementary services to the corresponding third device based on each transmission path in the target path set, on the one hand, by traversing the transmission paths in the target path set, the first device can adaptively adjust the transmission path for interacting with the third device to configure the supplementary services, thereby improving the efficiency of the first device in configuring supplementary services; on the other hand, the transmission paths in the target path set can adapt to different first devices transmitting configuration information to the third device, and by configuring the supplementary services again based on the transmission paths used in the historical successful configuration, the success rate of the first device interacting with the third device to configure supplementary services in the first configuration event can be improved.
[0080] In some embodiments, determining the set of target paths in the local storage space of the first device includes:
[0081] Determine the second configuration event of the supplementary service by the first device at the second time, and the second configuration result corresponding to the second configuration event; wherein the second configuration event is sequentially continuous with the first configuration event, and the second time is before the first time, and the second configuration result is the result obtained by configuring based on the first path set in the local storage space, the first path set includes: the path used by at least one third device to configure supplementary services for each first device before the second time and when the configuration is successful;
[0082] If the second configuration result indicates that the supplementary service configuration was successful, then the first path set will be determined as the target path set.
[0083] It is understandable that, since the second configuration event and the first configuration event are sequential in time, and the second moment when the first device initiates the second configuration event is before the first device initiates the first configuration event, the second configuration event is the previous configuration event of the first configuration event.
[0084] The second configuration event includes: a user initiating a configuration request for supplementary services through the user interface or application of the first device at a second moment. For example, the user enables supplementary services through the first device; or, after enabling supplementary services, the user modifies the configuration of the supplementary services.
[0085] In this embodiment of the disclosure, determining the second configuration result corresponding to the second configuration event includes: the first device sending configuration information of supplementary services to the third device based on each transmission path in the first path set; after receiving the configuration information, the third device parses the configuration information, modifies the configuration document corresponding to the supplementary services of the first device stored in the third device based on preset rules, and returns the second configuration result to the first device.
[0086] The second configuration result may include a configuration status code, information indicating whether the configuration was successful, and / or error information when the configuration is incorrect. This disclosure does not limit this.
[0087] It should be noted that the first device can store the identifier corresponding to the second configuration result in the storage space so that the first device can determine the second configuration result based on the stored identifier of the second configuration result in the first configuration event after the second configuration event.
[0088] For example, the first device storing the result information corresponding to the second configuration result in the storage space includes: if the second configuration result indicates that the configuration is successful, the identifier stored by the first device can be "1"; if the second configuration result indicates that the configuration is unsuccessful, the identifier stored by the first device can be "0".
[0089] In this embodiment of the disclosure, when the second configuration result indicates that the supplementary service configuration is successful, determining the first path set as the target path set includes: when the identifier corresponding to the second configuration result obtained by the first device from the storage space indicates that the supplementary service configuration is successful, the first path set is determined as the target path set.
[0090] It is understandable that, since the second configuration event occurs before the first configuration event, and the first device successfully configures the supplementary service based on the configuration information sent by the first device in the second configuration event, the first device used during successful configuration is used as the target path set in the first configuration event. This improves the success rate of the first device configuring the supplementary service based on the target path set in subsequent configurations, and improves the configuration compatibility between the first device and the third device.
[0091] In some embodiments, determining the set of target paths in the local storage space of the first device includes:
[0092] If the second configuration result indicates that the supplementary service configuration has failed, a second path set is obtained from the second device at a third time; wherein, the second path set includes: the path used by at least one third device when configuring supplementary services for each first device before the third time and when the configuration is successful, and the third time is after the first time.
[0093] If the second path set is different from the first path set, the first path set is updated based on the second path set to obtain the target path set.
[0094] In this embodiment of the disclosure, the second configuration result indicating supplementary service configuration failure includes: the identifier corresponding to the second configuration result obtained by the first device from the storage space indicates supplementary service configuration failure.
[0095] It should be noted that the second configuration result indicates that the supplementary service configuration failed, meaning that the first device failed to transmit configuration information to the third device based on each transmission path in the first path set during the second configuration event.
[0096] In this embodiment of the disclosure, the second path set includes the path used by the third device when configuring supplementary services for the first device before the third time and the configuration is successful; the first path set includes the path used by the third device when configuring supplementary services for the first device after the second time and the configuration fails.
[0097] Therefore, when the second path set is different from the first path set, the first path set is updated based on the second path set to obtain the target path set. In the first configuration event, the first device sequentially sends the configuration information of the supplementary service to the third device corresponding to the first device based on each transmission path in the target path set. Compared with sending the configuration information of the supplementary service to the third device through each transmission path in the first path set used when the configuration failed, the success rate of the first configuration event can be improved.
[0098] It should be noted that the second path set and the first path set are different in the following ways: the first device obtains the version number of the second path set from the second device, and the version number of the first path set and the version number of the second path set are different; or, the first device obtains the second path set from the second device and compares the transmission paths in the second path set with the transmission paths in the first path set, and the second path set and the first path set are different if each transmission path in the second path set is different from each transmission path in the first path set by at least one transmission path.
[0099] In this embodiment of the disclosure, configuring supplementary services for each first device before a third time interval includes: one third device configuring supplementary services for each first device; or, each of a plurality of third devices configuring supplementary services for each first device.
[0100] Among them, multiple third-party devices include: each third-party device corresponding to different operators.
[0101] In this embodiment of the disclosure, updating the first path set based on the second path set to obtain the target path set includes: the first device storing the second path set in local storage space, clearing the first path set, and using the second path set as the target path set; or, updating the transmission paths in the first path set based on the successfully configured transmission paths in the second path set to obtain the target path set.
[0102] Understandably, by dynamically updating the target path set, the first device improves configuration efficiency by reducing the interference of manual configuration through automated configuration and enabling it to adapt to network changes, thereby increasing the success rate of configuring supplementary services between the first and third devices.
[0103] In some embodiments, the business processing method further includes:
[0104] If the second path set is the same as the first path set, a first message is sent to the second device; wherein the first message is used to indicate that the supplementary service configuration based on the first configuration event has failed.
[0105] Receive second information returned by the second device based on the first information; wherein the second information is used to indicate that the second device has successfully updated the second path set.
[0106] In this embodiment of the disclosure, the second path set being the same as the first path set includes: the first device obtaining the version number of the second path set from the second device; if the version number of the first path set is the same as the version number of the second path set, then the second path set is the same as the first path set; or, the first device obtaining the second path set from the second device and comparing the transmission paths in the second path set with the transmission paths in the first path set; if all transmission paths in the second path set are the same as all transmission paths in the first path set, then the second path set is the same as the first path set.
[0107] It should be noted that if the second path set is the same as the first path set, then the second path set stored in the second device may not be the latest path set, or the second path set stored in the second device may include paths with a high failure rate in performing supplementary services.
[0108] At this time, the first device sends a first message to the second device indicating that the first device has failed to configure the supplementary service based on the first configuration event. After receiving the first message, the second device may update the second path set or not update the second path set.
[0109] When the second device updates the second path set, a second message indicating that the second path set has been successfully updated is sent to the first device. After receiving the second message, the first device can obtain the updated path set from the second device, or it can obtain the updated path set in a third configuration event after the first configuration event; this embodiment of the present disclosure does not limit this.
[0110] In this embodiment of the disclosure, the interaction between the first device and the second device enables the second device to receive timely feedback on the results of the first configuration event from the first device and update the second path set in the second device based on the feedback information. Furthermore, the first device can also receive timely feedback on the update of the second path set from the second device, allowing the first device to select the timing for receiving the updated path set, thereby improving the accuracy and stability of the configuration supplementation service.
[0111] In some embodiments, the business processing method further includes:
[0112] If the first configuration result indicates that the supplementary service configuration has failed, a third path set is obtained from the second device at the fourth time. The third path set includes: the path used by at least one third device when configuring supplementary services for each first device before the fourth time and when the configuration is successful, and the fourth time is after the first time.
[0113] When the third path set and the target path set are different, the target path set is updated based on the third path set to obtain the updated target path set;
[0114] Based on each transmission path in the target path set, supplementary service configuration information is sent sequentially to the third device corresponding to the first device, including:
[0115] Based on each transmission path in the updated target path set, the configuration information of the supplementary service is sent to the third device corresponding to the first device.
[0116] It should be noted that the second configuration result indicates that the supplementary service configuration failed, meaning that the first device failed to transmit configuration information to the third device based on each transmission path in the first path set during the second configuration event.
[0117] In this embodiment of the disclosure, the third path set includes the path used by the third device when it configures supplementary services for the first device before the fourth time and the configuration is successful; the target path set includes the path used by the third device when it configures supplementary services for the first device in the first configuration event and the configuration fails.
[0118] The target path set includes: a first path set; or, a path set obtained by updating the first path set based on the second path set.
[0119] Therefore, when the third path set differs from the target path set, the target path set is updated based on the third path set to obtain the updated target path set. In the first configuration event, or in a configuration event following the first configuration event, the first device sequentially sends the configuration information of the supplementary service to the corresponding third device based on each transmission path in the updated target path set. Compared to sending the configuration information of the supplementary service to the third device through each transmission path in the target path set used in the configuration failure, this can improve the success rate of the configuration event.
[0120] It should be noted that the third path set and the target path set are different in the following ways: if the first device obtains the version number of the third path set from the second device, and the version number of the target path set is different from the version number of the third path set, then the third path set and the target path set are different; or, if the first device obtains the third path set from the second device and compares the transmission paths in the third path set with the transmission paths in the target path set, and at least one transmission path in the third path set is different from the transmission paths in the target path set, then the third path set and the target path set are different.
[0121] In this embodiment of the disclosure, configuring supplementary services for each first device before the fourth time step includes: one third device configuring supplementary services for each first device; or, each of the plurality of third devices configuring supplementary services for each first device.
[0122] Among them, multiple third-party devices include: each third-party device corresponding to different operators.
[0123] In this embodiment of the disclosure, updating the target path set based on the third path set to obtain the updated target path set includes: the first device storing the third path set in local storage space, clearing the target path set, and using the third path set as the updated target path set; or, updating the transmission paths in the target path set based on the successfully configured transmission paths in the third path set to obtain the updated target path set.
[0124] Understandably, by dynamically updating the target path set, the first device improves configuration efficiency by reducing the interference of manual configuration through automated configuration and enabling it to adapt to network changes, thereby increasing the success rate of configuring supplementary services between the first and third devices.
[0125] In some embodiments, the business processing method further includes:
[0126] If the third path set and the target path set are the same, a third message is sent to the second device; wherein the third message is used to indicate that the supplementary service configuration based on the first configuration event has failed.
[0127] Receive fourth information returned by the second device based on the third information; wherein the fourth information is used to indicate that the second device has successfully updated the third path set.
[0128] In this embodiment of the disclosure, the third path set and the target path set being the same includes: the first device obtaining the version number of the third path set from the second device, and if the version number of the target path set is the same as the version number of the third path set, then the third path set and the target path set are the same; or, the first device obtaining the third path set from the second device and comparing the transmission paths in the second path set with the transmission paths in the target path set, and if all transmission paths in the third path set are the same as all transmission paths in the target path set, then the third path set and the target path set are the same.
[0129] It should be noted that if the third path set is the same as the target path set, then the third path set stored in the second device may not be the latest path set, or the third path set stored in the second device may include paths with a high failure rate in executing supplementary services.
[0130] At this time, the first device sends a third message to the second device indicating that the first device has failed to configure the supplementary service based on the first configuration event. After receiving the third message, the second device may update the third path set or not update the third path set.
[0131] When the second device updates the third path set, a fourth message indicating that the third path set has been successfully updated is sent to the first device. After receiving the fourth message, the first device can obtain the updated path set from the second device, or it can obtain the updated path set in the third configuration event after the first configuration event; this embodiment of the present disclosure does not limit this.
[0132] In this embodiment of the disclosure, the interaction between the first device and the second device enables the second device to receive timely feedback on the results of the first configuration event from the first device, and to update the third path set in the second device based on the feedback information. Furthermore, the first device can also receive timely feedback on the update of the third path set from the second device, enabling the first device to select the timing of receiving the updated path set, thereby improving the accuracy and stability of the configuration supplementation service.
[0133] To better understand the above one or more embodiments, examples of embodiments of this disclosure are as follows:
[0134] Figure 2This is a flowchart of a business processing method according to an exemplary embodiment. Figure 2 ,like Figure 2 As shown, the business processing methods include:
[0135] In step 201, in response to the first configuration event of the first device for the supplementary service at the first moment, a second configuration event of the first device for the supplementary service at the second moment and a second configuration result corresponding to the second configuration event are determined.
[0136] In step 202, if the second configuration result indicates that the supplementary service configuration is successful, then the first path set is determined as the target path set;
[0137] In step 203, if the second configuration result indicates that the supplementary service configuration has failed, the second path set is obtained from the second device at a third time.
[0138] In step 204, if the second path set and the first path set are different, the first path set is updated based on the second path set to obtain the target path set;
[0139] In step 205, configuration information for supplementary services is sent sequentially to the third device corresponding to the first device based on each transmission path in the target path set.
[0140] In step 206, the first configuration result returned by the third device based on the configuration information is received.
[0141] It should be noted that in step 201, the second configuration event and the first configuration event are sequentially connected, and the second time point is before the first time point. The second configuration result is the result obtained by configuring the first path set in the local storage space.
[0142] In step 202, the first path set includes: the path used by at least one third device to configure supplementary services for each first device before the second time point, and the path used when the configuration is successful; the target path set is obtained by the first device from the second device and stored in the local storage space, and the target path set includes: the path used by at least one third device to configure supplementary services for each first device, and the path used when the configuration is successful.
[0143] In step 203, the third time point is after the first time point; the second path set includes: the path used by at least one third device when it configures supplementary services for each first device before the third time point and the configuration is successful.
[0144] Figure 3 This is a flowchart of a business processing method according to an exemplary embodiment. Figure 3 ,like Figure 3As shown, the business processing method includes:
[0145] In step 301, the second device obtains a set of paths at different times based on the supplementary services configured by at least one third device for each first device at different times and the paths used when the configuration is successful.
[0146] In step 302, the path sets at different times are sent to the first device; wherein the first device is used to: determine the target path set based on the path sets at different times, and store the target path set in the local storage space of the first device.
[0147] In this embodiment of the disclosure, the business processing method can be applied to a second device, which includes a cloud server.
[0148] The third device is a server on the operator's network side that handles supplementary business interactions between the first device and the operator's network. The third device may include application servers, network servers, etc.
[0149] The first device includes electronic devices. Here, electronic devices can include terminal devices, such as mobile terminals or fixed terminals. Mobile terminals can include devices such as mobile phones, tablets, and wearable electronic devices. Fixed terminals can include in-vehicle devices, etc.
[0150] It should be noted that the second device interacts with the first device to send a path set to the first device, or to obtain a path set from the first device. The third device interacts with the first device to receive configuration information transmitted by the first device based on the transmission path, configure supplementary services for the first device, and provide feedback on the configuration results to the first device.
[0151] The interaction between the second device and the first device can be through communication methods such as network transmission and file sharing, and this disclosure does not limit this.
[0152] In step 301, at least one third device configures supplementary services for each first device at different times, including: each first device initiates a configuration event at different times, the third device receives configuration information transmitted by each first device based on different transmission paths at different times, and returns the corresponding configuration results to each first device respectively.
[0153] For example, each first device initiates a first configuration event at a first moment, and the third device returns the configuration result to the first device at a second moment, which is after the first moment; each first device initiates a second configuration event at a third moment, and the third device returns the configuration result to the first device at a fourth moment, which is after the third moment.
[0154] It should be noted that since the third device is the operator's server, different operators have different servers, and the implementation details of supplementary services differ between these servers. Therefore, configuring supplementary services for each first device by a single third device can mean that a single operator's server configures supplementary services for multiple first devices; conversely, configuring supplementary services for each first device by multiple third devices can mean that each operator's server configures supplementary services for each first device.
[0155] The second device configures supplementary services for each first device at different times based on at least one third device, and the paths used when the configuration is successful are obtained. The path sets at different times include: the second device obtains the path set from the first device after the first device executes the configuration event and obtains the configuration result.
[0156] In step 302, the second device sending the path set at different times to the first device includes: the second device sending the path set at different times to the first device that requested the path set from the second device; or, the second device synchronously updating the path set at different times to each first device that has established a communication connection with the second device.
[0157] Sending path sets from different times to the first device by the second device also includes: the second device sending the path sets from the first device's historical times to the first device before the first device initiates a configuration event at the current time; or, the second device sending the path sets obtained by the first device in real time to the first device after the first device initiates a configuration event at the current time.
[0158] For example, the first device initiates a first configuration event at a first moment, and the second device sends the set of paths obtained before the first moment to the first device before the first moment; or, the first device initiates a second configuration event at a second moment, and the second device sends the set of paths obtained after the second moment to the first device after the second moment.
[0159] In this embodiment of the disclosure, the second device collects and organizes the path sets used by the third device to successfully configure supplementary services at different times for the first device, so that the first device can determine the target path set through the path sets at different times. This enables the first device to quickly and accurately select and use the target path set when configuring supplementary services, thereby improving the compatibility of the first device interacting with the third device to configure supplementary services in configuration events at different times.
[0160] In some embodiments, the business processing method further includes:
[0161] Obtain an initial path set; wherein the initial path set is determined based on the configuration parameters of at least one third device;
[0162] The target transmission paths obtained from each test device are updated to the initial path set to obtain the available path set; where the target transmission path is: the path used by the third device when configuring supplementary services for each test device and the configuration is successful.
[0163] Based on the paths used by at least one third device to configure supplementary services for each first device at different times and when the configuration is successful, a set of paths at different times is obtained, including:
[0164] Based on at least one third device configuring supplementary services for each first device at different times, and updating the available path set when the configuration is successful, the path set at different times is obtained.
[0165] In this embodiment of the disclosure, the test device is an electronic device used to test the transmission path. That is, the test device can be a first device, or it can be another electronic device with the same function as the first device.
[0166] The second device obtains an initial set of paths, which can be a set of paths determined based on the configuration parameters of the third device. Here, the configuration parameters of the third device include: default configuration parameters and initial configuration parameters within a preset configuration range.
[0167] It is understandable that different operators have different requirements for configuring supplementary services on third-party devices, so the default configuration parameters of third-party devices for different operators are different, and the transmission paths for receiving configuration information on third-party devices for different operators may also be different.
[0168] In this embodiment of the disclosure, a target transmission path is obtained from each test device. The target transmission path is the path used when a third device configures supplementary services for each test device and the configuration is successful. Alternatively, each test device may correspond to the same third device, thus improving the accuracy of the target transmission path; or each test device may correspond to a different third device, thus improving the adaptability of the target transmission path.
[0169] The target transmission paths obtained from each test device are updated to the initial path set to obtain the available path set. This can be done by updating each initial transmission path in the initial path set based on each target transmission path, or by forming the available path set based on the target transmission paths and the initial paths. This embodiment of the present disclosure does not limit this approach.
[0170] In this embodiment of the disclosure, the path set at different times is updated based on the path used when the supplementary service is configured for each first device by at least one third device at different times, and the path set at different times is updated based on the path used when the configuration is successful. This includes: configuring the supplementary service for each first device by at least one third device at a certain time before the second time, and updating the path set at different times based on the path used when the configuration is successful; or, configuring the supplementary service for each first device by at least one third device at multiple times before the second time, and updating the path set at different times based on the path used when the configuration is successful. This embodiment of the disclosure does not limit this.
[0171] For example, a first path set is obtained based on the paths used by at least one third device to configure supplementary services for each first device before the second time point and when the configuration is successful; a second path set is obtained based on the paths used by at least one third device to configure supplementary services for each first device before the third time point and when the configuration is successful; and a third path set is obtained based on the paths used by at least one third device to configure supplementary services for each first device before the fourth time point and when the configuration is successful.
[0172] It should be noted that after the third device updates the available path set to obtain path sets at different times, it can send the path sets at different times to the first device. The first device stores the received path sets in its local storage space and uses these path sets to determine the target path set in the configuration events corresponding to different times.
[0173] In this embodiment of the disclosure, the transmission path is tested by a testing device, and the target transmission path is obtained based on the successfully tested transmission path. This improves the accuracy of the transmission paths in the path set stored in the second device, and thus improves the success rate of the first device, which obtains the transmission path set from the second device, in configuring supplementary services.
[0174] In some embodiments, based on the supplementary services configured for each first device by at least one third device at different times, and the paths used when the configuration is successful, a set of paths at different times is obtained, including:
[0175] A first path set is obtained based on the paths used by each first device when configuring supplementary services for each first device before the second time point and when the configuration is successful, with at least one third device configuring supplementary services for each first device before the second time point. The second time point is the time when the first device initiates the second configuration event for the supplementary services, and the first time point is the time when the first device initiates the first configuration event for the supplementary services. The second configuration event and the first configuration event are sequentially continuous.
[0176] Send the set of paths at different times to the first device, including:
[0177] Send the first path set to the first device;
[0178] The first device is used to: store the first path set in local storage space, and determine the first path set as the target path set when the second configuration result corresponding to the second configuration event indicates that the supplementary service configuration is successful.
[0179] It is understandable that, since the second configuration event and the first configuration event are sequential in time, and the second moment when the first device initiates the second configuration event is before the first device initiates the first configuration event, the second configuration event is the previous configuration event of the first configuration event.
[0180] The second configuration event includes: a user initiating a configuration request for supplementary services through the user interface or application of the first device at a second moment. For example, the user enables supplementary services through the first device; or, after enabling supplementary services, the user modifies the configuration of the supplementary services.
[0181] In this embodiment of the disclosure, the first path set is obtained by the second device before the second configuration event of the first device. Therefore, the second device obtains the first path set based on the path used by the third device when it successfully configures supplementary services for the first device before the second moment.
[0182] It should be noted that the second device may obtain the first path set from the first device or from the test device, and this embodiment does not limit this.
[0183] In this embodiment of the disclosure, the second configuration result corresponding to the second configuration event includes: the first device sending configuration information of supplementary services to the third device based on each transmission path in the first path set; after receiving the configuration information, the third device parses the configuration information, modifies the configuration document corresponding to the supplementary services of the first device stored in the third device based on preset rules, and returns the second configuration result to the first device.
[0184] It is understandable that, since the first device successfully configured the supplementary service based on the configuration information sent by the first path set in the second configuration event prior to the first configuration event, the first path set used during successful configuration is used as the target path set in the first configuration event, which improves the success rate of the first device configuring the supplementary service based on the target path set in subsequent configuration events, and improves the configuration compatibility between the first device and the third device.
[0185] In this embodiment of the disclosure, the second device configures the supplementary service based on the path used when the configuration is successful before the second time, and sends the first path set to the first device. This allows the first device to transmit configuration information based on historically successful transmission paths after the second configuration event is initiated at the second time, thereby improving the success rate of the first device executing the second configuration event. Furthermore, in the first configuration event after the second configuration event, the first device can also configure again based on the first path set, thereby improving the success rate of the first device executing the first configuration event.
[0186] In some embodiments, based on the supplementary services configured for each first device by at least one third device at different times, and the paths used when the configuration is successful, a set of paths at different times is obtained, including:
[0187] A second path set is obtained based on the paths used by at least one third device to configure supplementary services for each first device before the third time point and when the configuration is successful; wherein, the third time point is after the first time point, and the third time point is the time when the first device obtains the second path set from the second device when the second configuration result indicates that the supplementary service configuration has failed.
[0188] Send the set of paths at different times to the first device, including:
[0189] Send the second path set to the first device;
[0190] The first device is used to update the first path set based on the second path set when the second path set and the first path set are different, so as to obtain the target path set.
[0191] In this embodiment of the disclosure, the first moment is the time when the first device initiates the first configuration event for the supplementary service, and the third moment is the time after the first moment when the first device obtains the second path set from the second device. Before the third moment, the second device obtains at least one path used by the third device when it successfully configures the supplementary service for each of the first devices, thus obtaining the second path set.
[0192] Therefore, the second set of paths obtained by the first device from the second device at the third moment is the latest set of paths used when the configuration supplement service was successfully configured.
[0193] It should be noted that the second configuration result indicates that the supplementary service configuration failed, meaning that the first device failed to transmit configuration information to the third device based on each transmission path in the first path set during the second configuration event.
[0194] In this embodiment of the disclosure, after the second device sends the second path set to the first device, the first device can store the second path set in its local storage space. The second path set includes the paths used by the third device when configuring supplementary services for the first device before the third time point, and when the configuration is successful; the first path set includes the paths used by the third device when configuring supplementary services for the first device after the second time point, and when the configuration fails.
[0195] Therefore, when the second path set is different from the first path set, the first device updates the first path set based on the second path set to obtain the target path set. This allows the first device to send supplementary service configuration information to the corresponding third device in the first configuration event based on each transmission path in the target path set. Compared to sending supplementary service configuration information to the third device through each transmission path in the first path set used when the configuration failed, this can improve the success rate of the first configuration event.
[0196] In this embodiment of the disclosure, configuring supplementary services for each first device before a third time interval includes: one third device configuring supplementary services for each first device; or, each of a plurality of third devices configuring supplementary services for each first device.
[0197] The first device updates the first path set based on the second path set to obtain the target path set, including: the first device stores the second path set in local storage space, clears the first path set, and uses the second path set as the target path set; or, the first device updates the transmission paths in the first path set based on the successfully configured transmission paths in the second path set to obtain the target path set.
[0198] It is understandable that the second device obtains a second path set based on the supplementary service configuration performed by the third device before the third time and the path used when the configuration is successful. The second path set is then sent to the first device, so that the first device can configure the target path set obtained after updating the first path set based on the second path set in the first configuration event, thereby improving the success rate of the first device executing the first configuration event.
[0199] In some embodiments, the business processing method further includes:
[0200] Receive first information sent by the first device; wherein the first information is sent by the first device when the second path set and the first path set are the same, and is used to indicate that the supplementary service configuration based on the first configuration event has failed;
[0201] In response to the first information, update the second path set;
[0202] If the second path set is successfully updated, the second information is sent to the first device.
[0203] In this embodiment of the disclosure, the second path set being the same as the first path set includes: the first device obtaining the version number of the second path set from the second device; if the version number of the first path set is the same as the version number of the second path set, then the second path set is the same as the first path set; or, the first device obtaining the second path set from the second device and comparing the transmission paths in the second path set with the transmission paths in the first path set; if all transmission paths in the second path set are the same as all transmission paths in the first path set, then the second path set is the same as the first path set.
[0204] It should be noted that if the second path set is the same as the first path set, then the second path set stored in the second device may not be the latest path set, or the second path set stored in the second device may include paths with a high failure rate in performing supplementary services.
[0205] At this time, the first device sends a first message to the second device indicating that the first device has failed to configure the supplementary service based on the first configuration event. After receiving the first message, the second device can update the second path set.
[0206] The second device updating the second path set includes: analyzing the configuration results of each first device for supplementary services based on the second path set, and determining whether to update the second path set.
[0207] For example, the second device obtains the first number of successful configurations of supplementary services by each first device based on the second path set, and the first total number of configurations of supplementary services by each first device based on the second path set. If the ratio of the first successful configurations to the first total number of configurations is less than a first preset threshold, the second path set is updated. Alternatively, the second device obtains the first number of failed configurations of supplementary services by each first device based on the second path set, and the first total number of configurations of supplementary services by each first device based on the second path set. If the ratio of the first failed configurations to the first total number of configurations is greater than a second preset threshold, the second path set is updated.
[0208] When the second device updates the second path set, a second message indicating that the second path set has been successfully updated is sent to the first device. After receiving the second message, the first device can obtain the updated path set from the second device, or it can obtain the updated path set in a third configuration event after the first configuration event; this embodiment of the present disclosure does not limit this.
[0209] In this embodiment of the disclosure, the interaction between the first device and the second device enables the second device to receive timely feedback on the results of the first configuration event from the first device and update the second path set in the second device based on the feedback information. Furthermore, the first device can also receive timely feedback on the update of the second path set from the second device, allowing the first device to select the timing for receiving the updated path set, thereby improving the accuracy and stability of the configuration supplementation service.
[0210] In some embodiments, updating the second path set includes:
[0211] Within the first time period, determine the first number of times each first device successfully configures supplementary services based on the second path set, and the first total number of times each first device configures supplementary services based on the second path set;
[0212] If the ratio of the first successful count to the first total count is less than a first preset threshold, the second path set is updated.
[0213] In this embodiment of the disclosure, the first time period can be any two time periods before the time when the second device receives the first information sent by the first device; or it can be two time periods after the time when the second device receives the first information sent by the first device. This embodiment of the disclosure does not limit this.
[0214] The second device compares the ratio of the first successful count to the first total count with a first preset threshold. If the ratio of the first successful count to the first total count is less than the first preset threshold, it indicates that the success rate of configuration using the second path set is low among multiple first devices, and the second device needs to update the second path set.
[0215] The first preset threshold can be set according to the actual situation. For example, it can be set to the range of 30% to 70%, but this embodiment does not limit it.
[0216] Updating the second path set by the second device may include adding new transmission paths to the second path set, removing or replacing transmission paths in the second path set that have failed to be configured, etc.
[0217] If the second device successfully updates the second path set, it sends a second message to the first device to notify the first device that the second path set has been updated. The first device can then retrieve the updated path set from the second device as needed.
[0218] In this embodiment of the disclosure, the second device determines whether to update the second path set based on the success rate of the first device configuring supplementary services based on the second path set within the first time period. This can reduce the possibility of updating the second path set due to misjudgment and improve the accuracy of the path set stored by the second device.
[0219] In some embodiments, updating the second path set when the ratio of the first success count to the first total count is less than a first preset threshold includes:
[0220] If the ratio of the first successful count to the first total count is less than the first preset threshold, determine at least one set of target paths that are located in the local storage space of each first device and have been successfully configured with supplementary services within the second time period.
[0221] A first test path set is generated based on the difference paths between at least one target path set and a second path set, and first difference configuration information is obtained between the configuration information transmitted by at least one target path set and the configuration information transmitted by the second path set, and the first test path set and the first difference configuration information are sent to the test device.
[0222] Receive the first test result returned by the test device; wherein the first test result is used to instruct the test device to transmit the first difference configuration information to the third device corresponding to the test device based on each transmission path in the first test path set, and obtain the configuration result returned by the third device;
[0223] If the first test result indicates that the test device has successfully configured the supplementary services, the second path set is updated based on the first test path set.
[0224] The second time period can be any two time periods before the time when the second device receives the first information sent by the first device; or it can be two time periods after the time when the second device receives the first information sent by the first device. The second time period and the first time period can be the same or different, and this disclosure does not impose any restrictions on either.
[0225] In this embodiment of the disclosure, when the ratio of the first number of successes to the first total number of successes is less than a first preset threshold, determining at least one set of target paths located in the local storage space of each first device and successfully configured with supplementary services within the second time period includes: obtaining the set of paths in the local storage space of each first device, and filtering out the set of target paths successfully configured with supplementary services within the second time period from multiple set of paths.
[0226] The set of target paths to be filtered includes: a set of target paths that have been successfully configured and stored on a first device, or a set of multiple target paths that have been successfully configured and stored on a first device.
[0227] It is understandable that if the first device fails to configure the supplementary service based on the second path set but succeeds in configuring the supplementary service based on the target path set, then the transmission paths in the second path set are different from the transmission paths in the target path set, and / or the configuration information transmitted by the first device based on the second path set is different from the configuration information transmitted based on the target path set, resulting in different configuration results for the supplementary service based on the two path sets.
[0228] Therefore, the difference paths between the target path set and the second path set are determined to generate the first test path set. Here, the difference paths include at least: paths in the target path set that are different from the second path set and that were used when the supplementary service configuration was successful.
[0229] Next, obtain the first difference configuration information between the configuration information transmitted in the target path set and the configuration information transmitted in the second path set. Here, the first difference configuration information includes at least: the configuration information in the configuration information transmitted in the target path set that is different from the configuration information transmitted in the second path set, and the configuration information used when the supplementary service is successfully configured.
[0230] The second device sends the first test path set and the first difference configuration information to the test device, instructing the test device to perform the test.
[0231] The test device transmits first differential configuration information to the corresponding third device based on each transmission path in the first test path set, and receives the configuration result returned by the third device. Specifically, if the configuration result returned by the third device indicates successful configuration, the first test result sent by the test device to the second device indicates that the test based on the test path set and the first differential configuration information has succeeded; if the configuration result returned by the third device indicates configuration failure, the first test result sent by the test device to the second device indicates that the test based on the test path set and the first differential configuration information has failed.
[0232] If the first test result indicates that the test device has successfully configured the supplementary service, it means that the first device configures the supplementary service by transmitting the first difference configuration information based on the transmission path in the first test path set. Compared with the transmission path in the second path set, the first device has a higher success rate and stability in configuring the supplementary service by transmitting the configuration information.
[0233] In other embodiments, the transmission paths in the second path set may be different from the transmission paths in the target path set, or the configuration information transmitted by the first device based on the second path set may be different from the configuration information transmitted based on the target path set, resulting in different configuration results for supplementary services based on the two path sets.
[0234] Thus, the second device can send a first test path to the test device, and the test device performs the test based on the configuration information transmitted by the first test path and the second path set; or, the second device can send first difference configuration information to the test device, and the test device performs the configuration based on the transmission path in the second path set and the first difference configuration information.
[0235] Updating the second path set based on the first test path set includes: storing the first test path set in the storage space of the second device and clearing the second path set; or, updating the transmission paths in the second path set based on the successfully configured transmission paths in the first test path set to obtain the updated path set.
[0236] In this embodiment of the disclosure, the second device obtains the target path set of the supplementary service successfully configured by the first device in the second time period, and instructs the test device to perform tests based on the difference information between the target path set and the second path set, which can improve the testing efficiency; then, by verifying the effectiveness of the first test path set through testing, the second path set can be updated based on the first test path set that has been successfully tested, which can improve the configuration success rate of the updated path set.
[0237] In some embodiments, the method further includes:
[0238] If the first test result indicates that the test device has failed to configure the supplementary service based on the first test path set, the fifth message shall be sent to the first device.
[0239] The fifth piece of information is used to indicate a malfunction in the third device.
[0240] In this embodiment of the disclosure, if the first device successfully configures the supplementary service based on the target path set within the second time period, fails to configure the supplementary service based on the second path set, and fails to configure the supplementary service again based on the first test path set generated from the target path set and the second path set, it may be due to a fault in the third device, causing the first test path set to fail to configure the supplementary service.
[0241] It should be noted that third-party device failures include both hardware and software failures. Hardware failures include: server hardware failures, such as damage or aging of hard drives, memory, CPUs, etc.; power supply failures; and network hardware failures, such as malfunctions of network cards, network cables, switches, etc. Software failures include: operating system, application service, database, etc. This disclosure does not impose any limitations on these aspects.
[0242] After the second device sends the fifth message to the first device, the user of the first device can notify the administrator of the third device to confirm the status of the third device and whether there is a fault.
[0243] In this embodiment of the disclosure, when the first test result indicates that the test has failed, the second device notifies the first device of the third device of the fault, thereby improving the strategy of updating the path set based on the test result, and enabling the user of the first device to promptly confirm the reason for the configuration failure, thus improving maintenance efficiency.
[0244] In some embodiments, the method further includes:
[0245] If the ratio of the first successful count to the first total count is greater than or equal to the first preset threshold, a sixth message is sent to the first device;
[0246] The sixth piece of information is used to indicate a network failure between the first and third devices.
[0247] In this embodiment of the disclosure, the second device compares the ratio of the first successful count to the first total count with a first preset threshold. If the ratio of the first successful count to the first total count is greater than or equal to the first preset threshold, it indicates that the success rate of configuration using the second path set is higher among multiple first devices. This may be a temporary network failure between the first device and the third device, while the first devices other than the first device can interact normally with the third device to successfully configure supplementary services.
[0248] At this point, the second device does not need to update the second path set. The second device sends a sixth message to the first device to notify it of a network failure between the first and third devices.
[0249] After receiving the sixth message, the user of the first device can check the network status of the first device, such as network latency, packet loss rate, and connection stability.
[0250] In this embodiment of the disclosure, the second device determines whether to update the second path set based on the success rate of the first device configuring supplementary services based on the second path set within the first time period. This can reduce the possibility of updating the second path set due to misjudgment and improve the accuracy of the path set stored by the second device.
[0251] In some embodiments, based on the supplementary services configured for each first device by at least one third device at different times, and the paths used when the configuration is successful, a set of paths at different times is obtained, including:
[0252] A third path set is obtained based on the paths used by at least one third device to configure supplementary services for each first device before the fourth time point and when the configuration is successful; wherein, the fourth time point is after the first time point, and the fourth time point is the time when the first device obtains the third path set from the second device when the first configuration result indicates that the supplementary service configuration has failed.
[0253] Send the set of paths at different times to the first device, including:
[0254] Send the third path set to the first device;
[0255] The first device is used to update the target path set based on the third path set when the third path set and the target path set are different, so as to obtain the updated target path set.
[0256] In this embodiment of the disclosure, the first moment is the moment when the first device initiates the first configuration event for the supplementary service, and the fourth moment is the moment after the first moment when the first device obtains the third path set from the second device. Before the fourth moment, the second device obtains at least one path used by the third device when it successfully configures the supplementary service for each of the first devices, thus obtaining the third path set.
[0257] Therefore, the third path set obtained by the first device from the second device at the fourth moment is the latest path set used when the configuration supplement service was successfully configured.
[0258] It should be noted that the first configuration result indicates that the supplementary service configuration failed. This means that in the first configuration event, the first device failed to transmit configuration information to the third device based on each transmission path in the target path set.
[0259] In this embodiment of the disclosure, after the second device sends the third path set to the first device, the first device can store the third path set in its local storage space. The third path set includes the paths used by the third device when configuring supplementary services for the first device before the fourth time point, and when the configuration is successful; the target path set includes the paths used by the third device when configuring supplementary services for the first device after the second time point, and when the configuration fails.
[0260] Therefore, when the third path set is different from the target path set, the first device updates the target path set based on the third path set to obtain the updated target path set. This allows the first device to send supplementary service configuration information to the corresponding third device in the first configuration event based on each transmission path in the updated target path set. Compared to sending supplementary service configuration information to the third device through each transmission path in the target path set used in the configuration failure, this can improve the success rate of the first configuration event.
[0261] In this embodiment of the disclosure, configuring supplementary services for each first device before the fourth time step includes: one third device configuring supplementary services for each first device; or, each of the plurality of third devices configuring supplementary services for each first device.
[0262] The first device updates the target path set based on the third path set to obtain the updated target path set by: storing the third path set in local storage space, clearing the target path set, and using the third path set as the updated target path set; or updating the transmission paths in the target path set based on the successfully configured transmission paths in the third path set to obtain the updated target path set.
[0263] It is understandable that the second device obtains the third path set based on the supplementary service configuration made by the third device before the fourth time and the path used when the configuration is successful, and sends the third path set to the first device, so that the first device can configure based on the updated target path set in the first configuration event, thereby improving the success rate of the first device executing the first configuration event.
[0264] In some embodiments, the method further includes:
[0265] Receive third information sent by the first device; wherein the third information is sent by the first device when the three-path set is the same as the first path set, and is used to indicate that the supplementary service configuration based on the first configuration event has failed;
[0266] In response to the third information, update the third path set;
[0267] If the third path set is successfully updated, the fourth message is sent to the first device.
[0268] In this embodiment of the disclosure, the third path set being the same as the first path set includes: the first device obtaining the version number of the third path set from the second device; if the version number of the first path set and the version number of the third path set are the same, then the third path set and the first path set are the same; or, the first device obtaining the third path set from the second device and comparing the transmission paths in the third path set with the transmission paths in the first path set; if all transmission paths in the third path set are the same as all transmission paths in the first path set, then the third path set and the first path set are the same.
[0269] It should be noted that if the third path set is the same as the first path set, then the third path set stored in the second device may not be the latest path set, or the third path set stored in the second device may include paths with a high failure rate in performing supplementary services.
[0270] At this time, the first device sends a third message to the second device indicating that the first device has failed to configure the supplementary service based on the first configuration event. After receiving the third message, the second device can update the third path set.
[0271] The second device updating the third path set includes: analyzing the configuration results of each first device for supplementary services based on the third path set, and determining whether to update the third path set.
[0272] For example, the second device obtains the first number of successful configurations of supplementary services by each first device based on the third path set, and the first total number of configurations of supplementary services by each first device based on the third path set. If the ratio of the first successful configurations to the first total number of configurations is less than a first preset threshold, the third path set is updated. Alternatively, the second device obtains the first number of failed configurations of supplementary services by each first device based on the third path set, and the first total number of configurations of supplementary services by each first device based on the third path set. If the ratio of the first failed configurations to the first total number of configurations is greater than a second preset threshold, the third path set is updated.
[0273] When the second device updates the third path set, a fourth message indicating that the third path set has been successfully updated is sent to the first device. After receiving the fourth message, the first device can obtain the updated path set from the second device, or it can obtain the updated path set in the third configuration event after the first configuration event; this embodiment of the present disclosure does not limit this.
[0274] In this embodiment of the disclosure, the interaction between the first device and the second device enables the second device to receive timely feedback on the results of the first configuration event from the first device, and to update the third path set in the second device based on the feedback information. Furthermore, the first device can also receive timely feedback on the update of the third path set from the second device, enabling the first device to select the timing of receiving the updated path set, thereby improving the accuracy and stability of the configuration supplementation service.
[0275] In some embodiments, updating the third path set includes:
[0276] Determine the second number of times each first device successfully configures supplementary services based on the third path set within the third time period, and the second total number of times each first device configures supplementary services based on the third path set;
[0277] If the ratio of the second number of successes to the second total number of successes is less than the second preset threshold, the third path set is updated.
[0278] In this embodiment of the disclosure, the third time period can be any two time periods before the time when the second device receives the third information sent by the first device; or it can be two time periods after the time when the second device receives the third information sent by the first device. This embodiment of the disclosure does not limit this.
[0279] The second device compares the ratio of the second successful count to the second total count with a second preset threshold. If the ratio of the second successful count to the second total count is less than the second preset threshold, it indicates that the success rate of configuration using the third path set is low among the multiple first devices, and the second device needs to update the third path set.
[0280] The second preset threshold can be set according to the actual situation. For example, it can be set to the range of 30% to 70%, but this embodiment does not limit it.
[0281] The second device can update the third path set by adding new transmission paths to the third path set, removing or replacing transmission paths that have failed to be configured in the third path set, etc.
[0282] If the second device successfully updates the third path set, it sends a fourth message to the first device to notify the first device that the third path set of the second device has been updated. The first device can then obtain the updated path set from the second device as needed.
[0283] In this embodiment of the disclosure, the second device determines whether to update the third path set based on the success rate of the first device configuring supplementary services based on the third path set within the third time period. This can reduce the possibility of updating the third path set due to misjudgment and improve the accuracy of the path set stored by the second device.
[0284] In some embodiments, if the ratio of the second success count to the second total count is less than a second preset threshold, the third path set is updated, including:
[0285] If the ratio of the second number of successes to the second total number of successes is less than the second preset threshold, at least one set of target paths that are located in the local storage space of each first device and have been successfully configured with supplementary services within the fourth time period are determined.
[0286] A second test path set is generated based on the difference paths between at least one target path set and a third path set, and second difference configuration information is obtained between the configuration information transmitted by at least one target path set and the configuration information transmitted by the third path set, and the second test path set and the second difference configuration information are sent to the test device.
[0287] Receive the second test result returned by the test device; wherein, the second test result is used to instruct the test device to transmit the second differential configuration information to the third device corresponding to the test device based on each transmission path in the second test path set, and obtain the configuration result returned by the third device;
[0288] If the second test result indicates that the test device has successfully configured the supplementary services, the third path set is updated based on the second test path set.
[0289] The fourth time period can be any two time periods before the time when the second device receives the third information sent by the first device; or it can be two time periods after the time when the second device receives the third information sent by the first device. The fourth time period and the third time period can be the same or different, and this embodiment of the present disclosure does not impose any restrictions on this.
[0290] In this embodiment of the disclosure, when the ratio of the second number of successes to the second total number of successes is less than a second preset threshold, determining at least one set of target paths located in the local storage space of each first device and successfully configured with supplementary services within the fourth time period includes: obtaining the set of paths in the local storage space of each first device, and filtering out the set of target paths successfully configured with supplementary services within the fourth time period from multiple set of paths.
[0291] The set of target paths to be filtered includes: a set of target paths that have been successfully configured and stored in the first device; or, a set of multiple target paths that have been successfully configured and stored in the first device.
[0292] It is understandable that if the first device fails to configure the supplementary service based on the third path set but succeeds in configuring the supplementary service based on the target path set, the transmission paths in the third path set and the transmission paths in the target path set may be different, and / or the configuration information transmitted by the first device based on the third path set and the configuration information transmitted based on the target path set may be different, resulting in different configuration results for the supplementary service based on the two path sets.
[0293] Therefore, a second test path set is generated by identifying the differing paths between the target path set and the third path set. These differing paths include at least the paths in the target path set that differ from the third path set and are used when the supplementary service configuration is successful.
[0294] Next, obtain the second difference configuration information between the configuration information transmitted in the target path set and the configuration information transmitted in the third path set. Here, the second difference configuration information includes at least: the configuration information in the target path set that differs from the configuration information transmitted in the third path set, and the configuration information used when the supplementary configuration service is successfully configured.
[0295] The second device sends both the second test path set and the second difference configuration information to the test device, instructing the test device to perform the test.
[0296] The test device transmits second differential configuration information to the corresponding third device based on each transmission path in the second test path set, and receives the configuration result returned by the third device. Specifically, if the configuration result returned by the third device indicates successful configuration, the second test result sent by the test device to the second device indicates that the test based on the test path set and the second differential configuration information was successful; if the configuration result returned by the third device indicates configuration failure, the second test result sent by the test device to the second device indicates that the test based on the test path set and the second differential configuration information failed.
[0297] If the second test result indicates that the test device has successfully configured the supplementary service, it means that the first device configures the supplementary service by transmitting the second differential configuration information based on the transmission path in the second test path set. Compared with the transmission path in the third path set, the first device has a higher success rate and stability in configuring the supplementary service by transmitting the configuration information.
[0298] In other embodiments, the transmission paths in the third path set may be different from the transmission paths in the target path set, or the configuration information transmitted by the first device based on the third path set may be different from the configuration information transmitted based on the target path set, resulting in different configuration results for supplementary services based on the two path sets.
[0299] Thus, the second device can send a second test path to the test device, and the test device performs tests based on the configuration information transmitted by the second test path and the third path set; or, the second device can send second differential configuration information to the test device, and the test device configures itself based on the transmission path in the third path set and the second differential configuration information.
[0300] Updating the third path set based on the second test path set includes: storing the second test path set in the storage space of the second device and clearing the third path set; or, updating the transmission paths in the third path set based on the successfully configured transmission paths in the second test path set to obtain the updated path set.
[0301] In this embodiment of the disclosure, the second device obtains the target path set of the supplementary service successfully configured by the first device in the fourth time period, and instructs the test device to perform tests based on the difference information between the target path set and the third path set, which can improve the testing efficiency; then, the effectiveness of the second test path set is verified by testing, and the third path set is updated based on the second test path set that has been successfully tested, which can improve the configuration success rate of the updated path set.
[0302] In some embodiments, the business processing method further includes:
[0303] If the second test result indicates that the test device has failed to configure the supplementary service based on the second test path set, the seventh message shall be sent to the first device.
[0304] The seventh piece of information is used to indicate a fault in the third device.
[0305] In this embodiment of the disclosure, if the first device successfully configures the supplementary service based on the target path set within the fourth time period, fails to configure the supplementary service based on the third path set, and fails to configure the supplementary service again based on the second test path set generated from the target path set and the third path set, it may be due to a fault in the third device, causing the second test path set to fail to configure the supplementary service.
[0306] After the second device sends the seventh message to the first device, the user of the first device can notify the administrator of the third device to confirm the status of the third device and whether there is a fault.
[0307] In this embodiment of the disclosure, when the second test result indicates that the test has failed, the second device notifies the first device of the third device failure, thereby improving the strategy of updating the path set based on the test result. Furthermore, the user of the first device can promptly confirm the reason for the configuration failure, thereby improving maintenance efficiency.
[0308] In some embodiments, the business processing method further includes:
[0309] If the ratio of the second number of successful attempts to the second total number of attempts is greater than or equal to the second preset threshold, the eighth message is sent to the first device.
[0310] The eighth piece of information is used to indicate a network failure between the first and third devices.
[0311] In this embodiment of the disclosure, the second device compares the ratio of the second successful count to the second total count with a second preset threshold. If the ratio of the second successful count to the second total count is greater than or equal to the second preset threshold, it indicates that the success rate of configuration using the third path set is higher among multiple first devices. This may be due to a temporary network failure between the first device and the third device, while the first devices other than the first device can interact normally with the third device to successfully configure supplementary services.
[0312] At this point, the second device does not need to update the third path set. The second device sends an eighth message to the first device to notify it of a network failure between the first and third devices.
[0313] After receiving the eighth message, the user of the first device can check the network status of the first device, such as network latency, packet loss rate, and connection stability.
[0314] In this embodiment of the disclosure, the second device determines whether to update the third path set based on the success rate of the first device configuring supplementary services based on the third path set within the third time period. This can reduce the possibility of updating the third path set due to misjudgment and improve the accuracy of the path set stored by the second device.
[0315] Figure 4 This is a flowchart illustrating a service configuration method according to an exemplary embodiment, such as... Figure 4 As shown, the business configuration methods include:
[0316] In step 401, in response to the third device receiving configuration information of supplementary services sent by the first device based on each transmission path in the target path set after the first moment, the third device configures supplementary services for the first device based on the configuration information; wherein, the first moment is the moment when the first device initiates the first configuration event for supplementary services, the target path set is obtained by the first device from the second device and stored in the local storage space, and the target path set includes: the path used by at least one third device to configure supplementary services for each first device and when the configuration is successful;
[0317] In step 402, the first configuration result of the supplementary service is returned to the first device.
[0318] In this embodiment, the service configuration method is applied to a third device, which is a server on the operator's network side that handles supplementary service interactions between the first device and the operator's network. The third device may include an application server, a network server, etc. The application server provides a runtime environment and support for the business logic of applications (such as telephone applications); the network server handles tasks such as underlying communication protocols and data transmission, providing network connectivity and transmission support for supplementary services.
[0319] In step 401, the third device configures supplementary services for the first device based on the configuration information, including: the third device verifies the received configuration information, including checking whether the format and content of the configuration information conform to the preset rules of the third device; after the verification is passed, the third device parses the configuration information, extracts the supplementary service type, parameters and other key information contained in the configuration information transmitted by the first device, and modifies the configuration document in the third device corresponding to the supplementary services of the first device.
[0320] The preset rules include preset constraints. These preset constraints include data types, length limits, conflict mechanisms, etc., which are not limited in this embodiment.
[0321] For example, the third device receives configuration information for no-answer call forwarding sent by the first device. The configuration information includes setting the parameter of the no-answer timer to 5 seconds. After the third device verifies the configuration information, it sets the no-answer call forwarding in the third device to 5-second no-answer call forwarding.
[0322] Thus, when other devices call the first device, the third device will transfer the call event to the device corresponding to the transfer number configured by the first device if the first device does not answer the call within 5 seconds.
[0323] In step 402, if the third device successfully modifies the configuration document of the supplementary service corresponding to the first device, it returns a successful configuration result to the first device; or, if the third device fails to modify the configuration document of the supplementary service corresponding to the first device, it returns a failed configuration result to the first device.
[0324] In this embodiment of the disclosure, when the third device receives the configuration information of unsuccessful services sent by the first device based on each transmission path in the target path set, it returns the configuration result of supplementary services to the first device, so that the first device can receive the feedback of supplementary service configuration in a timely manner. Furthermore, since the first device transmits the configuration information based on the path used by the third device when configuring supplementary services and successfully configuring them, the success rate of configuring supplementary services between the first device and the third device is improved, that is, the network compatibility between the third device and the first device is improved.
[0325] To better understand the above one or more embodiments, examples of embodiments of this disclosure are as follows:
[0326] Figure 5 This is a schematic diagram illustrating a device interaction scenario according to an exemplary embodiment. For example... Figure 5 As shown:
[0327] The second device 501 is set in the core network. The second device 501 obtains the initial paths corresponding to each supplementary service in each operator and sends each initial path to the test device 502. The test device 502 transmits configuration information to the third device 503 based on each initial path. The third device 503 configures the supplementary service corresponding to the test device 502. The third device 503 returns the configuration result to the test device 502. The test device 502 returns the configuration result to the second device 501. The second device 501 transmits the successfully executed target path in the initial path to the first device 504.
[0328] The first device 504 interacts with the third device 503 to configure supplementary services based on the target path successfully configured by the test device 502, thereby improving the compatibility of the first device 504 and the third device 503 in configuring supplementary services.
[0329] Figure 6 This is a device interaction flowchart illustrating an exemplary embodiment. For example... Figure 6 As shown:
[0330] In step 601, the second device obtains the initial path set;
[0331] In step 602, the second device updates the initial path set with the target transmission paths obtained from each test device to obtain the available path set;
[0332] In step 603, the second device obtains a set of real-time paths corresponding to different times based on the supplementary services configured by at least one third device for each first device at different times and the paths used when the configuration is successful.
[0333] In step 604, in response to the current configuration event of the supplementary service by the first device, the historical configuration events of the supplementary service by the first device and the historical configuration results corresponding to the historical configuration events are determined.
[0334] In step 605, the historical configuration result indicates whether the supplementary service has been configured successfully; if yes, proceed to step 606; if no, proceed to step 608.
[0335] In step 606, the first device determines the set of paths obtained from the local storage space as the target path set;
[0336] In step 607, configuration information for supplementary services is sent sequentially to the third device corresponding to the first device based on each transmission path in the target path set.
[0337] In step 608, the first device obtains the real-time path set from the second device;
[0338] In step 609, determine whether the real-time path set and the target path set are the same; if not, proceed to step 610; if yes, proceed to step 612.
[0339] In step 610, the first device obtains the real-time path set from the second device;
[0340] In step 611, the first device stores the real-time path set in local space;
[0341] In step 612, the first device sends a first message to the second device; wherein the first message is used to indicate that the first device failed to execute the current configuration event;
[0342] In step 613, the second device responds to the first information and determines the number of times each first device successfully configures supplementary services based on the target path set in the local storage space, and the total number of times each first device configures supplementary services based on the target path set within the first time period.
[0343] In step 614, determine whether the ratio of the number of successful attempts to the total number of attempts is less than a preset threshold; if not, proceed to step 615; if yes, proceed to step 616.
[0344] In step 615, a second message is sent to the first device; wherein the second message is used to indicate a network failure between the first device and the third device;
[0345] In step 616, at least one set of target paths located in the local storage space of each first device and successfully configured with supplementary services within a preset time period is determined.
[0346] In step 617, the second device generates a test path set based on the difference path between at least one target path set and the real-time path set, and obtains the difference configuration information between the configuration information transmitted by at least one target path set and the configuration information transmitted by the real-time path set, and sends the test path set and the difference configuration information to the test device.
[0347] In step 618, the test results returned by the test equipment are received;
[0348] In step 619, determine whether the test result indicates that the test device has failed to configure the supplementary services based on the test path set; if not, proceed to step 620; if yes, proceed to step 621.
[0349] In step 620, the real-time path set is updated based on the test path set to obtain the updated real-time path set;
[0350] In step 621, third information is sent to the first device; wherein the third information is used to indicate a fault in the third device.
[0351] Figure 7 This is a service processing apparatus structure illustrated according to an exemplary embodiment. Figure 1 .like Figure 7 As shown, the service processing device 700 includes:
[0352] The determination module 701 is configured to determine the target path set in the local storage space of the first device in response to the first configuration event of the supplementary service of the first device at a first moment; wherein the target path set is obtained by the first device from the second device and stored in the local storage space, and the target path set includes: the path used by at least one third device to configure the supplementary service for each of the first devices and when the configuration is successful.
[0353] The first sending module 702 is configured to send supplementary service configuration information to the third device corresponding to the first device in sequence based on each transmission path in the target path set;
[0354] The first receiving module 703 is configured to receive the first configuration result returned by the third device based on the configuration information.
[0355] In some embodiments, the determining module 701 is further configured to: determine a second configuration event of the supplementary service by the first device at a second time, and a second configuration result corresponding to the second configuration event; wherein the second configuration event and the first configuration event are sequentially continuous, and the second time is before the first time, the second configuration result is the result obtained by configuring based on a first path set in the local storage space, the first path set includes: the path used by at least one third device to configure supplementary services for each of the first devices before the second time and when the configuration is successful; if the second configuration result indicates that the supplementary service is configured successfully, then the first path set is determined as the target path set.
[0356] In some embodiments, the determining module 701 is further configured to: if the second configuration result indicates that the supplementary service configuration has failed, obtain a second path set from the second device at a third time; wherein the second path set includes: the path used by at least one third device when configuring supplementary services for each first device before the third time and when the configuration is successful, and the third time is after the first time; if the second path set and the first path set are different, update the first path set based on the second path set to obtain a target path set.
[0357] In some embodiments, the service processing apparatus 700 further includes:
[0358] The fourth sending module is configured to send first information to the second device when the second path set and the first path set are the same; wherein the first information is used to indicate that the supplementary service configuration based on the first configuration event has failed.
[0359] The third receiving module is configured to receive second information returned by the second device based on the first information; wherein the second information is used to indicate that the second device has successfully updated the second path set.
[0360] In some embodiments, the service processing apparatus 700 further includes:
[0361] The second acquisition module is configured to acquire a third path set from the second device at a fourth time if the first configuration result indicates that the supplementary service configuration has failed; wherein the third path set includes: the path used by at least one third device when configuring supplementary services for each first device before the fourth time and when the configuration is successful, and the fourth time is after the first time.
[0362] The first update module is configured to update the target path set based on the third path set when the third path set and the target path set are different, so as to obtain the updated target path set.
[0363] The first transmitting module 702 is also configured as follows:
[0364] Based on each transmission path in the updated target path set, the configuration information of the supplementary service is sent to the third device corresponding to the first device.
[0365] In some embodiments, the service processing apparatus 700 further includes:
[0366] The fifth sending module is configured to send third information to the second device when the third path set and the target path set are the same; wherein the third information is used to indicate that the supplementary service configuration based on the first configuration event has failed.
[0367] The fourth receiving module is configured to receive fourth information returned by the second device based on the third information; wherein the fourth information is used to indicate that the second device has successfully updated the third path set.
[0368] Figure 8 This is a service processing apparatus structure illustrated according to an exemplary embodiment. Figure 2 .like Figure 8 As shown, the service processing device 800 includes:
[0369] The first acquisition module 801 is configured to obtain a set of paths at different times based on the supplementary services configured by the second device for each first device at different times based on at least one third device, and the paths used when the configuration is successful.
[0370] The second sending module 802 is configured to send a set of paths at different times to the first device; wherein the first device is used to: determine a set of target paths based on the set of paths at different times, and store the set of target paths in the local storage space of the first device.
[0371] Figure 9 This is a structural diagram of a service configuration device according to an exemplary embodiment. For example... Figure 9 As shown, the service configuration device 900 includes:
[0372] The second receiving module 901 is configured to, in response to the third device after a first moment, receive configuration information of supplementary services sent by the first device based on each transmission path in the target path set, and configure supplementary services for the first device based on the configuration information; wherein, the first moment is the moment when the first device initiates the first configuration event for supplementary services, the target path set is obtained by the first device from the second device and stored in the local storage space, and the target path set includes: at least one third device configuring supplementary services for each first device, and the path used when the configuration is successful;
[0373] The third sending module 902 is configured to return the first configuration result of the supplementary service to the first device.
[0374] Figure 10 This is a structural block diagram of an electronic device according to an exemplary embodiment. For example, the electronic device 1000 may be a mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, medical device, fitness equipment, personal digital assistant, etc.
[0375] Reference Figure 10 The electronic device 1000 may include one or more of the following components: processing component 1002, memory 1004, power supply component 1006, multimedia component 1008, audio component 1010, input / output (I / O) interface 1012, sensor component 1014, and communication component 1016.
[0376] Processing component 1002 typically controls the overall operation of electronic device 1000, such as operations associated with at least one of display, telephone call, data communication, camera operation, and recording operation. Processing component 1002 may include one or more processors 1020 to execute instructions to perform all or part of the steps of the methods described above. Furthermore, processing component 1002 may include one or more modules to facilitate interaction between processing component 1002 and other components. For example, processing component 1002 may include a multimedia module to facilitate interaction between multimedia component 1008 and processing component 1002.
[0377] Memory 1004 is configured to store various types of data to support operation on electronic device 1000. Examples of such data include at least one of the following: instructions for any application or method operating on electronic device 1000, contact data, phonebook data, messages, pictures, and videos. Memory 1004 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read Only Memory (PROM), Read-Only Memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.
[0378] Power supply component 1006 provides power to various components of electronic device 1000. Power supply component 1006 may include at least one of the following: a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to electronic device 1000.
[0379] Multimedia component 1008 includes a screen that provides an output interface between electronic device 1000 and user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of touch or swipe actions but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 1008 includes a front-facing camera and / or a rear-facing camera. When electronic device 1000 is in an operating mode, such as a shooting mode or video mode, the front-facing camera and / or rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
[0380] Audio component 1010 is configured to output and / or input audio signals. For example, audio component 1010 includes a microphone (MIC) configured to receive external audio signals when electronic device 1000 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 1004 or transmitted via communication component 1016. In some embodiments, audio component 1010 also includes a speaker for outputting audio signals.
[0381] Input / output interface 1012 provides an interface between processing component 1002 and peripheral interface modules, such as keyboards, click wheels, and buttons. These buttons may include, but are not limited to, home buttons, volume buttons, start buttons, and lock buttons.
[0382] Sensor assembly 1014 includes one or more sensors for providing state assessments of various aspects of electronic device 1000. For example, sensor assembly 1014 may detect the on / off state of electronic device 1000, the relative positioning of components (e.g., the display and keypad of electronic device 1000), changes in position of electronic device 1000 or one of its components, the presence or absence of user contact with electronic device 1000, orientation or acceleration / deceleration of electronic device 1000, and temperature changes of electronic device 1000. Sensor assembly 1014 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 1014 may also include an optical sensor, such as a complementary metal-oxide-semiconductor (CMOS) or charge-coupled device (CCD) image sensor, for use in imaging applications. In some embodiments, sensor assembly 1014 may also include, but is not limited to, at least one of the following: an accelerometer, a gyroscope, a magnetometer, a pressure sensor, and a temperature sensor.
[0383] Communication component 1016 is configured to facilitate wired or wireless communication between electronic device 1000 and other devices. Electronic device 1000 can access wireless networks based on communication standards, such as Wi-Fi, 4G, 10G, or combinations thereof. In one exemplary embodiment, communication component 1016 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 1016 also includes a Near Field Communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID), Infrared Data Association (IrDA), Ultra Wide Band (UWB), Bluetooth (BT), and other technologies.
[0384] In an exemplary embodiment, the electronic device 1000 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components.
[0385] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 1004 including executable instructions or a computer program, which can be executed by the processor 1020 of the electronic device 1000 to perform the above-described method. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), a compact disc read-only memory (CD-ROM), magnetic tape, floppy disk, and optical data storage device, etc.
[0386] A non-transitory computer-readable storage medium, when the instructions in the storage medium are executed by the processor of an electronic device, enables the electronic device to perform any of the above-described business processing methods and business configuration methods of the present disclosure embodiments.
[0387] This disclosure provides a computer program product comprising a computer program or executable instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer program or executable instructions from the computer-readable storage medium and executes the computer program or executable instructions, causing the computer device to perform any of the above-described business processing methods and business configuration methods of this disclosure.
[0388] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the claims.
[0389] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.
Claims
1. A business processing method, characterized in that, The method includes: In response to a first configuration event for supplementary services by the first device at a first moment, a set of target paths in the local storage space of the first device is determined; wherein, the set of target paths is obtained by the first device from the second device and stored in the local storage space, and the set of target paths includes: the paths used by at least one third device to configure the supplementary services for each of the first devices, and when the configuration is successful; The configuration information of the supplementary service is sent sequentially to the third device corresponding to the first device based on each transmission path in the target path set. Receive the first configuration result returned by the third device based on the configuration information.
2. The method according to claim 1, characterized in that, Determining the set of target paths in the local storage space of the first device includes: The second configuration event of the supplementary service by the first device at a second time moment and the second configuration result corresponding to the second configuration event are determined; wherein the second configuration event and the first configuration event are sequentially continuous, and the second time moment is before the first time moment, and the second configuration result is the result obtained by configuring based on the first path set in the local storage space, the first path set including: the path used by the at least one third device to configure the supplementary service for each of the first devices before the second time moment and when the configuration is successful; If the second configuration result indicates that the supplementary service configuration is successful, then the first path set is determined as the target path set.
3. The method according to claim 2, characterized in that, Determining the set of target paths in the local storage space of the first device includes: If the second configuration result indicates that the supplementary service configuration has failed, a second path set is obtained from the second device at a third time; wherein, the second path set includes: the path used by the at least one third device when configuring the supplementary service for each of the first devices before the third time and when the configuration is successful, and the third time is after the first time; If the second path set is different from the first path set, the first path set is updated based on the second path set to obtain the target path set.
4. The method according to claim 3, characterized in that, The method further includes: If the second path set is the same as the first path set, a first message is sent to the second device; wherein, the first message is used to indicate that the supplementary service configuration failed based on the first configuration event; The second device receives second information returned by the second device based on the first information; wherein the second information is used to indicate that the second device has successfully updated the second path set.
5. The method according to any one of claims 1 to 4, characterized in that, The method further includes: If the first configuration result indicates that the supplementary service configuration has failed, a third path set is obtained from the second device at a fourth time; wherein, the third path set includes: the path used by the at least one third device when configuring the supplementary service for each of the first devices before the fourth time and when the configuration is successful, and the fourth time is after the first time. If the third path set and the target path set are different, the target path set is updated based on the third path set to obtain the updated target path set; The step of sequentially sending the configuration information of the supplementary service to the third device corresponding to the first device based on each transmission path in the target path set includes: The configuration information of the supplementary service is sent sequentially to the third device corresponding to the first device based on each transmission path in the updated target path set.
6. The method according to claim 5, characterized in that, The method further includes: If the third path set and the target path set are the same, a third message is sent to the second device; wherein the third message is used to indicate that the supplementary service configuration failed based on the first configuration event; The second device receives fourth information based on the third information; wherein the fourth information is used to indicate that the second device has successfully updated the third path set.
7. A business processing method, characterized in that, include: The second device obtains the path set for each of the different times by configuring supplementary services for each of the first devices at different times based on at least one third device, and the path used when the configuration is successful. The path sets at different times are sent to the first device; wherein the first device is configured to: determine a target path set based on the path sets at different times, and store the target path set in the local storage space of the first device.
8. The method according to claim 7, characterized in that, The method further includes: Obtain an initial path set; wherein the initial path set is determined based on the configuration parameters of the at least one third device; The target transmission paths obtained from each test device are updated to the initial path set to obtain an available path set; wherein, the target transmission path is: the path used by the third device when configuring the supplementary service for each of the test devices and the configuration is successful; The set of paths at different times is obtained by configuring supplementary services for each first device based on at least one third device at different times, and the paths used when the configuration is successful, including: Based on the fact that the at least one third device configures the supplementary service for each of the first devices at different times, and the path used when the configuration is successful updates the available path set, the path set at different times is obtained.
9. The method according to claim 8, characterized in that, The method involves configuring supplementary services for each first device at different times based on at least one third device, and determining the paths used when the configuration is successful. The resulting path sets for each of these different times include: Based on the paths used by the at least one third device to configure the supplementary service for each of the first devices before the second time, and when the configuration is successful, a first path set is obtained; wherein, the second time is before the first time, the second time is the time when the first device initiates the second configuration event for the supplementary service, the first time is the time when the first device initiates the first configuration event for the supplementary service, and the second configuration event and the first configuration event are sequentially continuous. Sending the set of paths at different times to the first device includes: Send the first path set to the first device; The first device is configured to: store the first path set in the local storage space, and determine the first path set as the target path set when the second configuration result corresponding to the second configuration event indicates that the supplementary service configuration is successful.
10. The method according to claim 9, characterized in that, The method involves configuring supplementary services for each first device at different times based on at least one third device, and determining the paths used when the configuration is successful. The resulting path sets for each of these different times include: A second path set is obtained based on the paths used by the at least one third device to configure the supplementary service for each of the first devices before the third time point and when the configuration is successful; wherein, the third time point is after the first time point, and the third time point is the time when the first device obtains the second path set from the second device when the second configuration result indicates that the supplementary service configuration has failed; Sending the set of paths at different times to the first device includes: Send the second path set to the first device; The first device is configured to: update the first path set based on the second path set when the second path set and the first path set are different, thereby obtaining the target path set.
11. The method according to claim 10, characterized in that, The method further includes: Receive first information sent by the first device; wherein the first information is sent by the first device when the second path set and the first path set are the same, and is used to indicate that the supplementary service configuration based on the first configuration event has failed. In response to the first information, the second path set is updated; If the second path set is successfully updated, the second information is sent to the first device.
12. The method according to claim 11, characterized in that, The update of the second path set includes: Within a first time period, determine the first number of times each of the first devices successfully configures the supplementary service based on the second path set, and the first total number of times each of the first devices configures the supplementary service based on the second path set; If the ratio of the first number of successes to the first total number of successes is less than a first preset threshold, the second path set is updated.
13. The method according to claim 12, characterized in that, The step of updating the second path set when the ratio of the first success count to the first total count is less than a first preset threshold includes: If the ratio of the first number of successes to the first total number of successes is less than the first preset threshold, at least one set of target paths that are located in the local storage space of each of the first devices and have been successfully configured with the supplementary service within the second time period are determined. A first test path set is generated based on the difference paths between the at least one target path set and the second path set, and a first difference configuration information is obtained between the configuration information transmitted by the at least one target path set and the configuration information transmitted by the second path set, and the first test path set and the first difference configuration information are sent to the test device. The test device receives a first test result returned by the test device; wherein the first test result is used to instruct the test device to transmit the first differential configuration information to the third device corresponding to the test device based on each transmission path in the first test path set, and to obtain the configuration result returned by the third device. If the first test result indicates that the test device has successfully configured the supplementary service, the second path set is updated based on the first test path set.
14. The method according to claim 13, characterized in that, The method further includes: If the first test result indicates that the test device has failed to configure the supplementary service based on the first test path set, a fifth message is sent to the first device. The fifth piece of information is used to indicate a malfunction in the third device.
15. The method according to claim 12, characterized in that, The method further includes: If the ratio of the first number of successful attempts to the first total number of attempts is greater than or equal to the first preset threshold, a sixth message is sent to the first device. The sixth piece of information is used to indicate a network failure between the first device and the third device.
16. The method according to any one of claims 10 to 15, characterized in that, The method involves configuring supplementary services for each first device at different times based on at least one third device, and determining the paths used when the configuration is successful. The resulting path sets for each of these different times include: A third path set is obtained based on the paths used by the at least one third device to configure the supplementary service for each of the first devices before the fourth time point and when the configuration is successful; wherein, the fourth time point is after the first time point, and the fourth time point is the time when the first device obtains the third path set from the second device when the first configuration result indicates that the supplementary service configuration has failed; Sending the set of paths at different times to the first device includes: Send the third path set to the first device; The first device is configured to: update the target path set based on the third path set when the third path set and the target path set are different, so as to obtain an updated target path set.
17. The method according to claim 16, characterized in that, The method further includes: Receive third information sent by the first device; wherein, the third information is sent by the first device when the three-path set and the first path set are the same, and is used to indicate that the supplementary service configuration based on the first configuration event has failed; In response to the third information, the third path set is updated; If the third path set is successfully updated, the fourth information is sent to the first device.
18. The method according to claim 17, characterized in that, The update of the third path set includes: Within a third time period, determine the second number of times each of the first devices successfully configured the supplementary service based on the third path set, and the second total number of times each of the first devices configured the supplementary service based on the third path set; If the ratio of the second number of successes to the second total number of successes is less than a second preset threshold, the third path set is updated.
19. The method according to claim 18, characterized in that, The step of updating the third path set when the ratio of the second success count to the second total count is less than a second preset threshold includes: If the ratio of the second number of successes to the second total number of successes is less than the second preset threshold, at least one set of target paths that are located in the local storage space of each of the first devices and have been successfully configured with the supplementary service within the fourth time period are determined. A second test path set is generated based on the difference paths between the at least one target path set and the third path set, and second difference configuration information is obtained between the configuration information transmitted by the at least one target path set and the configuration information transmitted by the third path set, and the second test path set and the second difference configuration information are sent to the test device; The test device receives a second test result returned by the test device; wherein the second test result is used to instruct the test device to transmit the second differential configuration information to the third device corresponding to the test device based on each transmission path in the second test path set, and obtain the configuration result returned by the third device. If the second test result indicates that the test device has successfully configured the supplementary service, the third path set is updated based on the second test path set.
20. The method according to claim 19, characterized in that, The method further includes: If the second test result indicates that the test device has failed to configure the supplementary service based on the second test path set, a seventh message is sent to the first device. The seventh piece of information is used to indicate a malfunction in the third device.
21. The method according to claim 18, characterized in that, The method further includes: If the ratio of the second number of successes to the second total number of successes is greater than or equal to the second preset threshold, the eighth message is sent to the first device; The eighth piece of information is used to indicate a network failure between the first device and the third device.
22. A service configuration method, characterized in that, include: In response to the third device receiving configuration information for supplementary services sent by the first device based on each transmission path in the target path set after the first moment, the third device configures the supplementary services for the first device based on the configuration information; wherein, the first moment is the time when the first device initiates the first configuration event for the supplementary services, the target path set is obtained by the first device from the second device and stored in the local storage space, and the target path set includes: at least one path used by the third device to configure the supplementary services for each of the first devices, and the path used when the configuration is successful; Return the first configuration result of the supplementary service to the first device.
23. A business processing apparatus, characterized in that, include: The determination module is configured to determine a set of target paths in the local storage space of the first device in response to a first configuration event of the supplementary service by the first device at a first moment; wherein the set of target paths is obtained by the first device from the second device and stored in the local storage space, and the set of target paths includes: the paths used by at least one third device to configure the supplementary service for each of the first devices and when the configuration is successful; The first sending module is configured to sequentially send the configuration information of the supplementary service to the third device corresponding to the first device based on each transmission path in the target path set; The first receiving module is configured to receive a first configuration result returned by the third device based on the configuration information.
24. A business processing apparatus, characterized in that, include: The first acquisition module is configured to obtain the path set at each time based on the supplementary services configured by the second device for each first device at different times based on at least one third device, and the path used when the configuration is successful. The second sending module is configured to send the path set at different times to the first device; wherein the first device is configured to: determine a target path set based on the path set at different times, and store the target path set in the local storage space of the first device.
25. A service configuration device, characterized in that, include: The second receiving module is configured to, in response to the third device after a first moment, receive configuration information of supplementary services sent by the first device based on each transmission path in the target path set, and configure the supplementary services for the first device based on the configuration information; wherein, the first moment is the moment when the first device initiates the first configuration event for the supplementary services, the target path set is obtained by the first device from the second device and stored in local storage space, and the target path set includes: at least one path used by the third device to configure the supplementary services for each of the first devices, and the path used when the configuration is successful; The third sending module is configured to return the first configuration result of the supplementary service to the first device.
26. An electronic device, characterized in that, The electronic device includes at least: processor; Memory used to store processor-executable instructions; The processor is configured to execute the service processing method of any one of claims 1 to 6, the service processing method of any one of claims 7 to 21, or the service configuration method of claim 22.
27. A non-transitory computer-readable storage medium storing a computer program or instructions, characterized in that, When the computer program or instructions in the storage medium are executed by a processor, the steps of the service processing method according to any one of claims 1 to 6, the service processing method according to any one of claims 7 to 21, or the service configuration method according to claim 22 are implemented.
28. A computer program product, comprising a computer program or instructions, characterized in that, When the computer program or instructions are executed by the processor, they implement the steps of the business processing method according to any one of claims 1 to 6, the business processing method according to any one of claims 7 to 21, or the business configuration method according to claim 22.