Callback distribution method and system for enterprise application platform

By calling the platform development interface on the enterprise application platform to trigger an asynchronous callback, and distributing the callback event to the callback center and business platform, the limitation of the callback URL address is solved, and the support for collaboration of multiple projects and the isolation of the data system are achieved. , ensuring data security.

CN115103009BActive Publication Date: 2024-10-29XIAMEN JINIU SOFTWARE TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210694401.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-17
Publication Date
2024-10-29
Estimated Expiration
2042-06-17

AI Technical Summary

Technical Problem

The enterprise application platform can only set one callback URL address, which makes it impossible to effectively allocate it when multiple customers collaborate, especially in large and medium-sized enterprise projects.

Method used

The enterprise application platform calls the platform development interface to trigger an asynchronous callback, and distributes the callback event to the callback center. The callback center then distributes it to each business platform. Each business platform sets its own callback URL address based on the callback event and uploads it to the designated URL in JSON format. The service side supports asynchronous source mechanism and retry mechanism, monitors server resources in real time and triggers early warnings, and realizes administrator's exception callback synchronization and member management.

Benefits of technology

It solves the limitation of the callback URL address of the enterprise application platform, supports multiple project collaboration customers to jointly develop on the enterprise application platform, and ensures that each business platform has an isolated and independent data system to ensure data security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115103009B_ABST
    Figure CN115103009B_ABST
Patent Text Reader

Abstract

The present invention relates to a callback distribution method and system for an enterprise application platform, the method comprising: the enterprise application platform calls a platform development interface to trigger an asynchronous callback of the enterprise application platform; the enterprise application platform distributes the callback event to a callback center; the callback center distributes the callback event to each business platform; each business platform performs data parsing and reorganization according to the callback event, and uploads the callback event to the corresponding designated service party in JSON form, wherein each business platform sets its own callback URL address according to the callback event; the designated service party sends the callback data to the user client, so that the user client receives and displays the callback data. Through the above technical solution, the technical problem that the enterprise application platform can only set one callback URL address is solved, so that each business platform has its own isolated and independent data system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a callback distribution method and system for an enterprise application platform. Background Art

[0002] The enterprise application platform can be used as an enterprise communication and office tool to help enterprises connect internally and with customers. In related technologies, the callback of the enterprise application platform's address book, customer contact and other interfaces can only set one URL address. When a corporate project requires multiple customers to work together to complete, it will encounter a bottleneck. Only one callback URL address is not enough to be allocated to multiple customers for independent use. Especially for large and medium-sized enterprise projects, which are often jointly developed by multiple customers, the limitation of only being able to set one callback URL address becomes more prominent. Summary of the invention

[0003] The purpose of the present invention is to provide a callback distribution method and system for an enterprise application platform to solve the problem that the enterprise application platform can only set one callback URL address.

[0004] In order to achieve the above object, in a first aspect, the present invention provides a callback distribution method for an enterprise application platform, the method comprising:

[0005] The enterprise application platform calls the platform development interface to trigger an asynchronous callback of the enterprise application platform;

[0006] The enterprise application platform distributes the callback event to the callback center, wherein the URL address for receiving and distributing the callback event in the enterprise application platform is set to the address of the callback center;

[0007] The callback center distributes the callback events to various service platforms respectively;

[0008] Each of the business platforms performs data parsing and reorganization according to the callback event, and uploads the callback event to the corresponding designated service provider in JSON format, wherein each of the business platforms sets its own callback URL address according to the callback event;

[0009] The designated service provider sends the callback data to the user client, so that the user client receives and displays the callback data.

[0010] Optionally, the callback center distributes the callback events to each business platform through an asynchronous text mechanism. When the callback center is a project built in Java language, the callback center parses the yml file and traverses the IP list configured in the yml file to obtain the address of each business platform. The IP list is obtained by adding the dependency package snakeyaml and then writing the yml file for configuration.

[0011] Optionally, the method further comprises:

[0012] If the callback center fails to distribute the callback event to the service platform, a distribution retry is performed, and the callback failure retry event is recorded and stored.

[0013] Optionally, the method further comprises:

[0014] Acquire the server resource occupancy information of the callback center in real time, wherein the server resource occupancy information includes CPU occupancy information, memory occupancy information, hard disk remaining capacity, network bandwidth occupancy information, and database occupancy information;

[0015] The callback center is monitored in real time according to the server resource occupancy information, wherein if at least one of the following preset conditions is monitored, a callback center warning event is triggered, and the preset conditions include: the CPU occupancy information is greater than a first preset threshold for a continuous period of time reaching a first preset period of time, the memory occupancy information is greater than a second preset threshold for a continuous period of time reaching a second preset period of time, the remaining capacity of the hard disk is less than a third preset threshold, the network bandwidth occupancy information indicates that a network link request has timed out, and the database occupancy information indicates that a database failure has occurred.

[0016] Optionally, the method further comprises:

[0017] If the callback center fails to distribute the callback event to the service platform for a preset number of consecutive times, the callback failure event is stored in the abnormal callback;

[0018] In response to receiving the callback synchronization assignment information input by the administrator, one-key synchronization of the abnormal callback is performed, and the callback failure event is synchronized to the business center, and the callback failure event in the abnormal callback is deleted.

[0019] Optionally, the method further comprises:

[0020] Add, edit or delete members of the callback center according to the member management operations performed by the administrator;

[0021] Create development and operation roles and set supporting permissions based on the role management operations performed by the administrator;

[0022] Events are recorded on the callback distribution system based on the recording operations performed by administrators and members.

[0023] In a second aspect, the present invention provides a callback distribution system for an enterprise application platform, the system comprising an enterprise application platform, a callback center, multiple business platforms, and a designated service provider;

[0024] The enterprise application platform is used to call the platform development interface to trigger the asynchronous callback of the enterprise application platform;

[0025] The enterprise application platform is also used to distribute callback events to the callback center, wherein the URL address for receiving and distributing callback events in the enterprise application platform is set to the address of the callback center;

[0026] The callback center is used to distribute the callback events to each service platform respectively;

[0027] Each of the business platforms is used to parse and reorganize data according to the callback event, and upload the callback event to the corresponding designated service provider in JSON format, wherein each of the business platforms sets its own callback URL address according to the callback event;

[0028] The designated service provider is used to send the callback data to the user client, so that the user client receives and displays the callback data.

[0029] Optionally, the callback center is also used to distribute the callback events to each business platform through an asynchronous text mechanism. When the callback center is a project built in Java language, the callback center is used to obtain the address of each business platform by parsing the yml file and traversing the IP list configured in the yml file. The IP list is obtained by adding the dependency package snakeyaml and then writing the yml file for configuration.

[0030] Optionally, the callback center is further configured to retry distribution if distribution of the callback event to the service platform fails, and record and store a callback failure retry event.

[0031] Optionally, the system further comprises a callback center early warning module;

[0032] The callback center warning module is used to obtain the server resource occupancy information of the callback center in real time, and monitor the callback center in real time according to the server resource occupancy information. If at least one of the following preset conditions is met, a callback center warning event is triggered;

[0033] Among them, the server resource occupancy information includes CPU occupancy information, memory occupancy information, remaining hard disk capacity, network bandwidth occupancy information, and database occupancy information. The preset conditions include: the CPU occupancy information is greater than a first preset threshold for a continuous period of time that reaches a first preset period of time, the memory occupancy information is greater than a second preset threshold for a continuous period of time that reaches a second preset period of time, the remaining hard disk capacity is less than a third preset threshold, the network bandwidth occupancy information indicates that a network link request has timed out, and the database occupancy information indicates that a database failure has occurred.

[0034] Optionally, the callback center is further configured to store the callback failure event in an abnormal callback if the number of consecutive failures in distributing the callback event to the service platform reaches a preset number;

[0035] The system also includes a one-key synchronization module for executing one-key synchronization of abnormal callbacks in response to callback synchronization assignment information input by an administrator, synchronizing callback failure events to a business center, and deleting callback failure events in abnormal callbacks.

[0036] Optionally, the system further comprises a system setting module;

[0037] The system settings module is used to add, edit or delete callback center member users according to the member management operations performed by the administrator; create development and operation and maintenance roles and set supporting permissions according to the role management operations performed by the administrator; and record events on the callback distribution system according to the recording operations performed by the administrator and members.

[0038] Through the above technical solution, the enterprise application platform calls the platform development interface to trigger the asynchronous callback of the enterprise application platform, and the asynchronous call will not block the main process. Each business platform sets its own callback URL address according to the callback event. In this way, different business platforms can set different callback URL addresses, which solves the technical problem that the enterprise application platform can only set one callback URL address, which is not enough for multiple project collaboration companies to use. In addition, each business platform sets its own callback URL address, which allows each business platform to have its own isolated and independent data system. The solution of the present invention can solve the limitation problem of the callback URL address of the enterprise application platform, support multiple project collaboration customers to jointly develop on the enterprise application platform, and have their own isolated and independent data systems to ensure data security. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1 A callback distribution method for an enterprise application platform is shown according to an exemplary embodiment.

[0040] Figure 2The structure diagram of the callback dispatch method used in the enterprise application platform.

[0041] Figure 3 is a timing diagram exemplarily showing a callback distribution method for an enterprise application platform.

[0042] Figure 4 is a block diagram of an exemplary callback distribution system for an enterprise application platform. DETAILED DESCRIPTION

[0043] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0044] Figure 1 A callback distribution method for an enterprise application platform is shown according to an exemplary embodiment. Figure 1 As shown, the method may include S101 to S105.

[0045] In S101 , the enterprise application platform calls the platform development interface to trigger an asynchronous callback of the enterprise application platform.

[0046] Among them, the present invention does not make specific restrictions on the enterprise application platform. The enterprise application platform can be, for example, a mainstream development platform such as Enterprise WeChat, Alipay platform, Kuaishou mini program platform, Byte mini program platform, etc. Mainstream open platforms can all be connected to form a large aggregated callback center.

[0047] Among them, the platform development interface is, for example, an interface for adding customers, adding enterprise friends, modifying customer notes, etc. Triggering the asynchronous callback of the enterprise application platform, the asynchronous call can achieve the purpose of not blocking the main process.

[0048] In S102, the enterprise application platform distributes the callback event to the callback center.

[0049] The URL address for receiving and distributing callback events in the enterprise application platform is set as the address of the callback center. On the enterprise application platform, the receiving event callback URL set by the service provider is set as the callback center address for uniformly receiving and distributing enterprise application platform callback events.

[0050] In S103, the callback center distributes the callback event to each service platform respectively.

[0051] For example, the callback center distributes the callback events to each service platform through the asynchronous text mechanism. The callback center supports text forwarding. In addition to the normal process of obtaining the text, the data received by the interface will be forwarded in the original text (request), and asynchronous calls will not block the main process.

[0052] The callback center can be a project built in programming languages ​​such as Java / php / nodejs / python / go. In one embodiment, when the callback center is a project built in Java language, the callback center obtains the addresses of various business platforms by parsing the yml file and traversing the IP list configured in the yml file. The IP list is obtained by adding the dependency package snakeyaml and then writing the yml file for configuration. The business platform can be a third-party platform.

[0053] In S104, each business platform performs data analysis and reorganization according to the callback event, and uploads the callback event to the corresponding designated service provider in JSON format.

[0054] Each of the service platforms sets its own callback URL address according to the callback event. Different service platforms can set different callback URL addresses, so that each service platform can have its own isolated and independent data system.

[0055] In S105 , the designated service provider sends the callback data to the user client, so that the user client receives and displays the callback data.

[0056] The client receives and displays callback data, such as changes to customer or corporate friends information. In the same process, the callback center will receive and redistribute events to the business platform, which will then upload them to the service provider. Finally, the client will update the server data.

[0057] Figure 2 The structure diagram of the callback dispatch method for the enterprise application platform is as follows: Figure 2 As shown, the enterprise application platform distributes the callback event to the callback center (work-application-platform-service), and the callback center distributes the callback event to each business platform through the XML data transmission format. Figure 2 Taking three business platforms as an example, namely including business platform 1, business platform 2, and business platform 3, this is only an example, and the present invention does not limit the number of business platforms. Afterwards, the business platform uploads the callback event to the corresponding designated service party (mp-service) in JSON format.

[0058] Figure 3is a timing diagram of an exemplary callback distribution method for an enterprise application platform, such as Figure 3 As shown in the figure, the enterprise micro platform refers to the enterprise WeChat platform, that is, Figure 3 The enterprise application platform is taken as an example of an enterprise micro platform, but the present invention does not limit the type of enterprise application platform. The work-wechat-service service represents the callback center, the third-party platform represents the business platform, the mp-service service represents the designated service provider, and RocketMQ and the database DB belong to the designated service provider. Figure 3 As shown, the enterprise micro platform calls the push change data interface, and the change data is, for example, information such as employees, departments, and tags, that is, the platform development interface is called to trigger an asynchronous callback. The work-wechat-service service pushes the callback event asynchronously to the third-party platform. The work-wechat-service service can process data in multiple threads. The work-wechat-service service can record the push log to the database DB. The work-wechat-service service can also verify the authenticity of the message and generate decrypted plain text, which verifies the authenticity of the data called back by the enterprise micro platform, such as the authenticity of employee information, department information, etc. The mp-service service takes out the queue data and sends it to RocketMQ, where the queue data includes the enterprise micro callback data after verification and decryption. The mp-service service can also organize and encapsulate the data, record the change data, and send it to the database DB.

[0059] Through the above technical solution, the enterprise application platform calls the platform development interface to trigger the asynchronous callback of the enterprise application platform, and the asynchronous call will not block the main process. Each business platform sets its own callback URL address according to the callback event. In this way, different business platforms can set different callback URL addresses, which solves the technical problem that the enterprise application platform can only set one callback URL address, which is not enough for multiple project collaboration companies to use. In addition, each business platform sets its own callback URL address, which allows each business platform to have its own isolated and independent data system. The solution of the present invention can solve the limitation problem of the callback URL address of the enterprise application platform, support multiple project collaboration customers to jointly develop on the enterprise application platform, and have their own isolated and independent data systems to ensure data security.

[0060] In one embodiment, the callback distribution method for an enterprise application platform provided by the present invention may further include:

[0061] If the callback center fails to distribute the callback event to the service platform, a distribution retry is performed, and the callback failure retry event is recorded and stored.

[0062] In the present invention, the callback center also supports retry upon failure, similar to the callback retry mechanism of the application platform. As an example, a total of 3 requests can be sent, 2 retries can be made, and the sending log can be recorded at the same time. The number of times is only an example. The log module can be used to record the reception and forwarding of callback information in real time, with a focus on classifying and recording the situation where callback failure retry occurs.

[0063] In one embodiment, the callback distribution method for an enterprise application platform provided by the present invention may further include:

[0064] Acquire the server resource occupancy information of the callback center in real time, wherein the server resource occupancy information includes CPU occupancy information, memory occupancy information, hard disk remaining capacity, network bandwidth occupancy information, and database occupancy information;

[0065] The callback center is monitored in real time according to the server resource occupancy information, wherein if at least one of the following preset conditions is monitored, a callback center warning event is triggered, and the preset conditions include: the CPU occupancy information is greater than a first preset threshold for a continuous period of time reaching a first preset period of time, the memory occupancy information is greater than a second preset threshold for a continuous period of time reaching a second preset period of time, the remaining capacity of the hard disk is less than a third preset threshold, the network bandwidth occupancy information indicates that a network link request has timed out, and the database occupancy information indicates that a database failure has occurred.

[0066] The present invention can also monitor the callback center in real time, and issue an early warning in time when a fault occurs. Among them, the first preset threshold is, for example, 85%, the first preset time is, for example, 5 minutes, the second preset threshold is, for example, 90%, the second preset time is, for example, 3 minutes, and the third preset threshold is, for example, 10G. It is worth noting that the values ​​of the above thresholds are only examples, and the present invention does not limit the specific values ​​of the thresholds. When the callback center early warning event is triggered, the callback center system can notify the administrator in real time through emails and text messages, so that the administrator is aware of the faults in the callback center in a timely manner, and promptly perform configuration upgrades such as server expansion or fault recovery processing.

[0067] In one embodiment, the callback distribution method for an enterprise application platform provided by the present invention may further include:

[0068] If the callback center fails to distribute the callback event to the service platform for a preset number of consecutive times, the callback failure event is stored in the abnormal callback;

[0069] In response to receiving the callback synchronization assignment information input by the administrator, one-key synchronization of the abnormal callback is performed, and the callback failure event is synchronized to the business center, and the callback failure event in the abnormal callback is deleted.

[0070] In the present invention, the callback center can also be provided with a one-key synchronization module, which is divided into two cases, abnormal callback one-key synchronization and scheduled one-key synchronization. The above-mentioned preset number of times can be set in advance, for example, set to twice, that is, when the callback fails and still fails after retrying in an extreme case, these failed callbacks will be automatically temporarily stored in the abnormal callback. At this time, the administrator can manually edit and assign the business center that needs callback synchronization, and then execute the abnormal callback one-key synchronization. The failed callback will be synchronized to the required business center again, and the corresponding synchronized callback in the abnormal callback will be removed. Another scheduled one-key synchronization function is used to set the timing rules, and regularly receive the enterprise application platform callback interface according to the timing rules, and synchronize to each business platform using asynchronous forwarding. The business platform that needs to be synchronized supports custom configuration.

[0071] In one embodiment, the callback distribution method for an enterprise application platform provided by the present invention may further include:

[0072] Add, edit or delete members of the callback center according to the member management operations performed by the administrator;

[0073] Create development and operation roles and set supporting permissions based on the role management operations performed by the administrator;

[0074] Events are recorded on the callback distribution system based on the recording operations performed by administrators and members.

[0075] The callback center can also be equipped with a system setting module, including member management, role management and operation records. Member management is used by the super administrator to add / edit or delete members of the callback center; role management is used by the super administrator to create development / operation and maintenance roles and set supporting permissions; operation records are used to record the operation records of all members including the super administrator on the callback distribution system.

[0076] Based on the same inventive concept, the present invention also provides a callback distribution system for an enterprise application platform. Figure 4 is a block diagram of a callback distribution system for an enterprise application platform, as shown in FIG. Figure 4 As shown, the system may include an enterprise application platform, a callback center, multiple business platforms, and a designated service provider;

[0077] The enterprise application platform is used to call the platform development interface to trigger the asynchronous callback of the enterprise application platform;

[0078] The enterprise application platform is also used to distribute callback events to the callback center, wherein the URL address for receiving and distributing callback events in the enterprise application platform is set to the address of the callback center;

[0079] The callback center is used to distribute the callback events to each service platform respectively;

[0080] Each of the business platforms is used to parse and reorganize data according to the callback event, and upload the callback event to the corresponding designated service provider in JSON format, wherein each of the business platforms sets its own callback URL address according to the callback event;

[0081] The designated service provider is used to send the callback data to the user client, so that the user client receives and displays the callback data.

[0082] Optionally, the callback center is also used to distribute the callback events to each business platform through an asynchronous text mechanism. When the callback center is a project built in Java language, the callback center is used to obtain the address of each business platform by parsing the yml file and traversing the IP list configured in the yml file. The IP list is obtained by adding the dependency package snakeyaml and then writing the yml file for configuration.

[0083] Optionally, the callback center is further configured to retry distribution if distribution of the callback event to the service platform fails, and record and store a callback failure retry event.

[0084] Optionally, the system further comprises a callback center early warning module;

[0085] The callback center warning module is used to obtain the server resource occupancy information of the callback center in real time, and monitor the callback center in real time according to the server resource occupancy information. If at least one of the following preset conditions is met, a callback center warning event is triggered;

[0086] Among them, the server resource occupancy information includes CPU occupancy information, memory occupancy information, remaining hard disk capacity, network bandwidth occupancy information, and database occupancy information. The preset conditions include: the CPU occupancy information is greater than a first preset threshold for a continuous period of time that reaches a first preset period of time, the memory occupancy information is greater than a second preset threshold for a continuous period of time that reaches a second preset period of time, the remaining hard disk capacity is less than a third preset threshold, the network bandwidth occupancy information indicates that a network link request has timed out, and the database occupancy information indicates that a database failure has occurred.

[0087] Optionally, the callback center is further configured to store the callback failure event in an abnormal callback if the number of consecutive failures in distributing the callback event to the service platform reaches a preset number;

[0088] The system also includes a one-key synchronization module for executing one-key synchronization of abnormal callbacks in response to callback synchronization assignment information input by an administrator, synchronizing callback failure events to a business center, and deleting callback failure events in abnormal callbacks.

[0089] Optionally, the system further comprises a system setting module;

[0090] The system settings module is used to add, edit or delete callback center member users according to the member management operations performed by the administrator; create development and operation and maintenance roles and set supporting permissions according to the role management operations performed by the administrator; and record events on the callback distribution system according to the recording operations performed by the administrator and members.

[0091] The above is only a preferred specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed by the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. A callback distribution method for an enterprise application platform, characterized in that: The method comprises: The enterprise application platform calls the platform development interface to trigger an asynchronous callback of the enterprise application platform; The enterprise application platform distributes the callback event to the callback center, wherein the URL address for receiving and distributing the callback event in the enterprise application platform is set to the address of the callback center; The callback center distributes the callback events to various service platforms respectively; Each of the business platforms performs data parsing and reorganization according to the callback event, and uploads the callback event to the corresponding designated service provider in JSON format, wherein each of the business platforms sets its own callback URL address according to the callback event; The designated service provider sends the callback data to the user client, so that the user client receives and displays the callback data; The callback center distributes the callback events to each business platform through an asynchronous text mechanism. When the callback center is a project built in Java language, the callback center parses the yml file and traverses the IP list configured in the yml file to obtain the address of each business platform. The IP list is obtained by adding the dependency package snakeyaml and then writing the yml file for configuration.

2. The method according to claim 1, characterized in that: The method further comprises: If the callback center fails to distribute the callback event to the service platform, a distribution retry is performed, and the callback failure retry event is recorded and stored.

3. The method according to claim 1, characterized in that The method further comprises: Acquire the server resource occupancy information of the callback center in real time, wherein the server resource occupancy information includes CPU occupancy information, memory occupancy information, hard disk remaining capacity, network bandwidth occupancy information, and database occupancy information; The callback center is monitored in real time according to the server resource occupancy information, wherein if at least one of the following preset conditions is monitored, a callback center warning event is triggered, and the preset conditions include: the CPU occupancy information is greater than a first preset threshold for a continuous period of time reaching a first preset period of time, the memory occupancy information is greater than a second preset threshold for a continuous period of time reaching a second preset period of time, the remaining capacity of the hard disk is less than a third preset threshold, the network bandwidth occupancy information indicates that a network link request has timed out, and the database occupancy information indicates that a database failure has occurred.

4. The method according to claim 1, characterized in that: The method further comprises: If the callback center fails to distribute the callback event to the service platform for a preset number of consecutive times, the callback failure event is stored in the abnormal callback; In response to receiving the callback synchronization assignment information input by the administrator, one-key synchronization of the abnormal callback is performed, and the callback failure event is synchronized to the business center, and the callback failure event in the abnormal callback is deleted.

5. The method according to claim 1, characterized in that The method further comprises: Add, edit or delete members of the callback center according to the member management operations performed by the administrator; Create development and operation roles and set supporting permissions based on the role management operations performed by the administrator; Events are recorded on the callback distribution system based on the recording operations performed by administrators and members.

6. A callback distribution system for an enterprise application platform, characterized in that: The system includes an enterprise application platform, a callback center, multiple business platforms, and a designated service provider; The enterprise application platform is used to call the platform development interface to trigger the asynchronous callback of the enterprise application platform; The enterprise application platform is also used to distribute callback events to the callback center, wherein the URL address for receiving and distributing callback events in the enterprise application platform is set to the address of the callback center; The callback center is used to distribute the callback events to each service platform respectively; Each of the business platforms is used to parse and reorganize data according to the callback event, and upload the callback event to the corresponding designated service provider in JSON format, wherein each of the business platforms sets its own callback URL address according to the callback event; The designated service provider is used to send the callback data to the user client, so that the user client receives and displays the callback data; The callback center is also used to distribute the callback events to each business platform through an asynchronous text mechanism. When the callback center is a project built in Java language, the callback center is used to parse the yml file and traverse the IP list configured in the yml file to obtain the address of each business platform. The IP list is obtained by adding the dependency package snakeyaml and then writing the yml file for configuration.

7. The system according to claim 6, characterized in that The callback center is also used to retry the distribution if the callback event fails to be distributed to the service platform, and to record and store the callback failure retry event.

8. The system according to claim 6, characterized in that The system also includes a callback center early warning module; The callback center warning module is used to obtain the server resource occupancy information of the callback center in real time, and monitor the callback center in real time according to the server resource occupancy information. If at least one of the following preset conditions is met, a callback center warning event is triggered; Among them, the server resource occupancy information includes CPU occupancy information, memory occupancy information, remaining hard disk capacity, network bandwidth occupancy information, and database occupancy information. The preset conditions include: the CPU occupancy information is greater than a first preset threshold for a continuous period of time that reaches a first preset period of time, the memory occupancy information is greater than a second preset threshold for a continuous period of time that reaches a second preset period of time, the remaining hard disk capacity is less than a third preset threshold, the network bandwidth occupancy information indicates that a network link request has timed out, and the database occupancy information indicates that a database failure has occurred.

Citation Information

Patent Citations

  • Fault processing method and device, system server and computer readable storage medium

    CN110633165A

  • Callback processing method and platform, equipment, storage medium and program product

    CN114327832A