Multi-carrier chatbot business processing method and medium

By adopting a chatbot service processing method for multiple operators, and automating the generation and scheduling of operation records, the complexity and differences in chatbot service processing in multi-operator scenarios are solved, achieving efficient and accurate service processing and unified management.

CN123185261APending Publication Date: 2026-11-27SHENZHEN MONTNETS TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611312985.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-27
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

In multi-carrier scenarios, chatbot creation and business processing suffer from problems such as cumbersome operation procedures, large configuration workload, easy errors, scattered states, and complex adaptation to interface differences. The lack of a unified management and state synchronization mechanism leads to an increased maintenance burden.

Method used

This paper proposes a chatbot service processing method for multiple operators. By parsing service operation instructions, generating operation records to be processed, scheduling processing based on service dependency order, and generating target request messages to be sent to operator interfaces, the method achieves automated and standardized service processing.

Benefits of technology

It simplifies the chatbot business processing flow in multi-carrier scenarios, improves operational efficiency and accuracy, lowers the threshold for creation and configuration, realizes unified adaptation and business processing automation across carriers, and improves data consistency and ease of operation and maintenance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123185261A_ABST
    Figure CN123185261A_ABST
Patent Text Reader

Abstract

The application discloses a multi-operator-oriented chat robot service processing method, comprising the following steps: generating a corresponding to-be-processed operation record according to basic information of a target chat robot, a service operation type and a target operator identifier, and initializing a service state corresponding to the to-be-processed operation record; performing scheduling processing on the to-be-processed operation record; when the to-be-processed operation record is scheduled, generating a target request message according to the target operator identifier and the to-be-processed operation record; sending the target request message to an operator interface corresponding to the target operator identifier, updating the service state of the to-be-processed operation record, triggering next round scheduling processing, and continuing until the to-be-processed operation record meets preset service completion conditions. The method solves problems in chat robot service processing in a multi-operator scenario, such as complicated operation, easy errors, scattered states, complex interface difference adaptation and the like, and improves service processing efficiency, data accuracy and operation and maintenance convenience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communication technology, and in particular to a chatbot service processing method and medium for multiple operators. Background Technology

[0002] With the rapid development of 5G messaging technology, chatbots, as a core service within the 5G messaging ecosystem, have been widely adopted in various industries such as finance, government affairs, and e-commerce. Chatbots are typically created by enterprise clients applying to operators, and after approval by the operators, they are launched to provide messaging services to end users. In real-world business scenarios, a single company often needs to collaborate with multiple operators, deploying and operating chatbots simultaneously on multiple operator networks to reach a wider user base.

[0003] Currently, chatbot creation and business submission primarily employ an independent management model of "one chatbot corresponding to one operator channel." When enterprises need to deploy the same or similar chatbots on multiple operator platforms, they must repeatedly perform the entire process of chatbot creation, configuration, qualification submission, whitelist setting, and listing application for each operator. Each operation requires manually filling in a large amount of configuration data, including basic chatbot information, service code, extension code, industry classification, and qualification materials. Due to differences in interface specifications, authentication methods, required fields, and review processes among different operators, enterprises face significant challenges when repeatedly creating chatbots across multiple operators, including cumbersome procedures, heavy configuration workload, and susceptibility to review failures due to manual errors. Furthermore, the business status of the same chatbot is independent across different operator channels, lacking a unified management view and status synchronization mechanism. When the basic information of the chatbot changes, it needs to be modified one by one across multiple operator channels, making it difficult to guarantee data consistency and further exacerbating the operational burden. Summary of the Invention

[0004] The main objective of this invention is to provide a chatbot service processing method and medium for multiple operators, aiming to solve the aforementioned technical problems.

[0005] To achieve the aforementioned objectives, the first aspect of this invention proposes a chatbot service processing method for multiple telecom operators, the method comprising: In response to a business operation instruction for the target chatbot, the business operation instruction is parsed to obtain the basic information of the target chatbot, the business operation type, and the target operator identifier; Based on the basic information of the target chatbot, the business operation type, and the target operator identifier, a corresponding pending operation record is generated, and the business status corresponding to the pending operation record is initialized. The pending operation records are scheduled and processed based on a preset business dependency order. When scheduling and processing the pending operation record, a target request message is generated based on the target operator identifier and the pending operation record; The target request message is sent to the operator interface corresponding to the target operator identifier, and the service status of the pending operation record is updated according to the processing result returned by the operator interface to trigger the next round of scheduling processing until the pending operation record meets the preset service completion conditions.

[0006] A second aspect of the present invention provides a chatbot service processing device for multiple operators, comprising: The first processing unit is configured to respond to a business operation instruction for the target chatbot, parse the business operation instruction, and obtain the basic information of the target chatbot, the business operation type, and the target operator identifier. The second processing unit is used to generate a corresponding pending operation record based on the basic information of the target chatbot, the business operation type, and the target operator identifier, and to initialize the business status corresponding to the pending operation record. The third processing unit is used to schedule the pending operation records based on a preset business dependency order. The fourth processing unit is used to generate a target request message based on the target operator identifier and the operation record to be processed when scheduling the operation record to be processed. The fifth processing unit is used to send the target request message to the operator interface corresponding to the target operator identifier, and update the service status of the pending operation record according to the processing result returned by the operator interface, so as to trigger the next round of scheduling processing until the pending operation record meets the preset service completion conditions.

[0007] A third aspect of the present invention provides a computer device, including a memory and a processor, wherein the memory stores a computer program, characterized in that the processor executes the computer program to implement the steps of the chatbot service processing method for multiple operators as described in the first aspect above.

[0008] A fourth aspect of the present invention provides a computer-readable storage medium having a computer program stored thereon, characterized in that, when the computer program is executed by a processor, it implements the steps of the chatbot service processing method for multiple operators as described in the first aspect above.

[0009] This application embodiment automates and standardizes chatbot service processing for multiple operators. Users only need to select the target chatbot, specify the service operation type, and the target operator to automatically complete the generation of operation records, scheduling based on service dependency order, generation and sending of operator interface adaptation messages, and status updates and cyclic scheduling based on processing results until all service operations are completed. This method effectively simplifies the service processing flow of chatbots in multi-operator scenarios, improving operational efficiency and accuracy.

[0010] Overall, this invention significantly lowers the barrier to creating and configuring chatbots in multi-carrier scenarios through a cross-carrier configuration reuse mechanism, ensures the legality and orderliness of multi-stage business processes through business dependency-driven automatic scheduling, achieves unified adaptation across multiple carriers such as China Mobile, China Unicom, and China Telecom through carrier-adaptive message generation, and forms a complete automated closed loop for business processing through state-driven cyclic scheduling. This method effectively solves prominent problems in chatbot business processing in multi-carrier scenarios, such as cumbersome operations, susceptibility to errors, scattered states, and complex adaptation to interface differences, significantly improving business processing efficiency, data accuracy, and ease of maintenance. Attached Figure Description

[0011] Figure 1 This is a schematic flowchart of a chatbot service processing method for multiple operators provided in the first embodiment of this application; Figure 2 This is a schematic flowchart of steps S11 to S13 of a chatbot service processing method for multiple operators provided in the first embodiment of this application; Figure 3 This is a schematic flowchart of steps S21 to S24 of a chatbot service processing method for multiple operators provided in the first embodiment of this application; Figure 4 This is a schematic flowchart of steps S31 to S33 of a chatbot service processing method for multiple operators provided in the first embodiment of this application; Figure 5 This is a schematic flowchart of steps S34 to S36 of a chatbot service processing method for multiple operators provided in the first embodiment of this application; Figure 6 This is a schematic flowchart of steps S41 to S43 of a chatbot service processing method for multiple operators provided in the first embodiment of this application; Figure 7 This is a schematic flowchart of steps S431 to S432 in a chatbot service processing method for multiple operators provided in the first embodiment of this application; Figure 8This is a schematic flowchart of steps S6 to S8 in a chatbot service processing method for multiple operators provided in the first embodiment of this application; Figure 9 This is a schematic flowchart of steps S51 to S55 of a chatbot service processing method for multiple operators provided in the first embodiment of this application; Figure 10 This is a schematic diagram of a chatbot service processing device for multiple operators provided in the second embodiment of this application; Figure 11 This is a schematic diagram of a computer device provided in the third embodiment of this application.

[0012] The realization of the objective, functional features and advantages of the present invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0013] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0014] Those skilled in the art will understand that, unless specifically stated otherwise, the singular forms “a,” “an,” “the,” and “the” used herein may also include the plural forms. It should be further understood that the term “comprising” as used in this specification means the presence of features, integers, steps, operations, elements, modules, and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, modules, components, and / or groups thereof. It should be understood that when we say an element is “connected” or “coupled” to another element, it can be directly connected or coupled to the other element, or there may be intermediate elements. Furthermore, “connected” or “coupled” as used herein can include wireless connections or wireless coupling. The term “and / or” as used herein includes all or any modules and all combinations of one or more associated listed items.

[0015] It will be understood by those skilled in the art that, unless otherwise defined, all terms used herein (including technical and scientific terms) have the same meaning as commonly understood by one of ordinary skill in the art to which this invention pertains. It should also be understood that terms such as those defined in general dictionaries should be understood to have the same meaning as in the context of the prior art, and should not be interpreted in an idealized or overly formal sense unless specifically defined as herein.

[0016] Reference Figure 1 This invention provides a method for processing chatbot services across multiple carriers, comprising the following steps S1-S5: S1: In response to the business operation instruction of the target chatbot, parse the business operation instruction to obtain the basic information of the target chatbot, the business operation type and the target operator identifier.

[0017] In this embodiment, the target chatbot refers to the chatbot instance for which the user currently needs to perform a business operation. Basic information refers to the core configuration data of the chatbot, which may include inherent attributes that do not change with the operator, such as chatbot name, avatar, signature, industry category, service code, extension code, and chatbot identifier. Business operation type refers to the type of operation performed on the chatbot, including adding / creating, modifying / updating, submitting to the whitelist, applying for listing, and changing status. Target operator identifier refers to the operator specified by the user for this business operation, such as China Mobile, China Unicom, or China Telecom.

[0018] In this step, the system receives the user's business operation instructions for the target chatbot, parses the instructions, and extracts all the information required to execute the business operation.

[0019] In practice, users initiate business operation commands through a user interface or application programming interface. These commands must include at least the identifier of the target chatbot, the type of operation to be performed, and the identifier of the target carrier.

[0020] The configuration information of the target chatbot can be obtained based on its identifier, and general basic information can be extracted from the configuration information. The basic information does not include configuration items bound to the operator.

[0021] The type of business operation is specified by the operation field in the instruction. After identifying the operation field, the type of operation to be performed is determined.

[0022] The target carrier identifier is specified by the carrier field in the instruction, which determines the target carrier for this service operation. After parsing, the system stores the above three types of information in memory for use in subsequent steps.

[0023] In one implementation, obtaining the basic information of the target chatbot includes steps S11-S13, such as... Figure 2 As shown, S11~S13 are as follows: S11: Get the identifier of an existing chatbot.

[0024] An existing chatbot refers to a chatbot instance that has already been created and stored in the database within the system. Its full configuration data contains all configuration fields for that chatbot. Full configuration data refers to the complete set of configuration information for the chatbot, including both general configuration fields that do not change with different operators, and operator-specific configuration fields, such as chatbot name, avatar, signature, and industry category, as well as operator-related fields such as the original operator identifier, original agent information, original service code, and original extension code. The original operator identifier refers to the identifier of the operator to which the existing chatbot was created; the original agent information refers to the agent configuration information associated with the chatbot; the original service code refers to the service code assigned to the chatbot by the operator; and the original extension code refers to the extension code assigned to the chatbot by the operator. Field filtering refers to removing specific fields from the full configuration data that are unnecessary or should not be reused, retaining only the general configuration data.

[0025] Users specify an existing chatbot as the replication source via a user interface or application programming interface (API). The system receives the identifier of the existing chatbot specified by the user; this identifier is a unique number for the chatbot within the system. If the user does not specify a specific chatbot, a list of chatbots can be provided for the user to choose from, or suitable chatbots can be automatically recommended based on the user's enterprise account. After obtaining the identifier, it is stored in memory for later retrieval of configuration data.

[0026] S12: Retrieve the corresponding full configuration data based on the identifier of the existing chatbot.

[0027] Using the identifier of an existing chatbot as the query condition, the corresponding record is retrieved from the chatbot configuration data table, extracting all configuration fields and their values ​​for that chatbot. The full configuration data covers all chatbot configuration information, including general configurations and carrier-specific configurations. After retrieval, the full configuration data is temporarily stored in memory for subsequent field filtering processing.

[0028] S13: Perform field filtering on the full configuration data, remove the original operator identifier, original agent information, original service code and original extension code from the full configuration data, and use the filtered configuration data as the basic information of the target chatbot.

[0029] The entire configuration data is processed according to preset filtering rules. The filtering rules specify a list of fields to be removed, including configuration fields that are strongly related to the original operator, such as the original operator identifier, original agent information, original service code, and original extension code.

[0030] Iterate through all fields in the full configuration data, retaining fields not in the exclusion list and filtering out fields from the exclusion list to generate filtered configuration data. The filtered configuration data only contains general chatbot attributes, such as chatbot name, avatar, signature, industry category, and other inherent configuration information that does not change with the operator.

[0031] The filtered configuration data serves as the foundation for the target chatbot, used to generate pending operation records. By removing carrier-bound fields, the incorrect reuse of the original chatbot's carrier configuration in new carrier channels is prevented. This ensures that when users create chatbots for new target carriers, they need to reconfigure carrier-related fields such as service codes and extension codes, preventing submission failures or information errors due to data reuse.

[0032] In this embodiment, rapid reuse of existing chatbot configuration data is achieved. Users do not need to repeatedly fill in the general configuration information of the chatbot; they only need to select the target operator and supplement the operator-specific configuration fields to complete the basic information preparation for the new chatbot. This significantly reduces the workload of configuration, lowers the possibility of manual entry errors, and avoids the incorrect reuse of operator-bound fields.

[0033] S2: Based on the basic information of the target chatbot, the business operation type, and the target operator identifier, generate a corresponding pending operation record and initialize the business status corresponding to the pending operation record.

[0034] In this embodiment, the pending operation record refers to a data entity that records a complete business operation request, including fields such as the target chatbot's basic information, the business operation type, the target operator identifier, and the business status of the current operation. The business status refers to the stage of the current operation record in the business processing flow, such as pending submission, under review, approved, or rejected. The task scheduling queue is a queue data structure used to store pending operation records. The system retrieves records from the queue in a preset order for scheduling and processing.

[0035] In this step, a complete record of pending operations is generated based on the three types of information, and then added to the task scheduling queue to await processing.

[0036] In practice, the basic information of the target chatbot, the business operation type, and the target operator identifier are combined into a single pending operation record. This record contains all the business data required to execute the current business operation and is the sole data source for subsequent scheduling and message generation. After the record is generated, the system determines the initial business state that the operation should have based on the business operation type. Different operation types correspond to different initial states. For example, the initial state for operations such as adding / creating, modifying / updating, and submitting a whitelist is "pending submission," indicating that the record has been generated but has not yet been submitted to the operator.

[0037] Set the business status field of the pending operation record to the corresponding initial status value, so that the record has a identifiable and schedulable status identifier. After the status initialization is completed, add the pending operation record to the task scheduling queue, waiting for the scheduling thread to scan and schedule it according to the preset business dependency order.

[0038] In one embodiment, S2 may include S21 to S24, such as Figure 3 As shown, S21~S24 are as follows: S21: At least the basic information of the target chatbot, the business operation type, and the target operator identifier are combined to generate the corresponding operation record to be processed.

[0039] A pending operation record refers to a data entity that records a complete business operation request, including fields such as basic information of the target chatbot, business operation type, target operator identifier, and business status of the current operation. Business status refers to the stage of the current operation record in the business processing flow, such as pending submission, under review, approved, or rejected. The initial business status value refers to the starting state that the operation record should have at the time of its generation, determined according to the business operation type. The task scheduling queue is a queue data structure used to store pending operation records. Records are retrieved from the queue according to a preset business dependency order for scheduling and processing.

[0040] Create a data structure for the pending operation record. This data structure is stored as database table rows and contains multiple fields. Fill the record with the configuration fields from the target chatbot's basic information, including chatbot name identifier, chatbot identifier, industry category, avatar, and signature. Simultaneously, fill the corresponding fields of the record with the business operation type value and the target operator identifier value. For fields specific to this operation, such as operation time and operator information, the system will generate and fill them into the record. After combination, the pending operation record contains all the business data required to execute this business operation, but the business status and submission status have not yet been set.

[0041] S22: Determine the corresponding initial business status value based on the business operation type.

[0042] The system reads the business operation type field from the pending operation record and queries the preset status mapping rules based on the operation type. Different business operation types correspond to different initial business status values. For a new creation operation, the initial business status is "pending submission," indicating that the creation request has been generated and is waiting to be submitted to the operator. For a modify / update operation, the initial business status is also "pending submission," indicating that the modification request has been generated and is waiting to be submitted. For a whitelist submission operation, the initial business status is also "pending submission," indicating that the whitelist data is waiting to be submitted. For an application to list an item, the initial business status is also "pending submission." The system retrieves the corresponding initial status value from the mapping table based on the operation type, which serves as the basis for subsequent initialization operations.

[0043] S23: Initialize the business status corresponding to the operation record to be processed to the initial business status value.

[0044] Retrieve the business status field of the operation record to be processed, and assign the initial business status value to this field, so that the record has a valid state that can be scheduled for processing. After initialization, the operation record to be processed has complete business data and initial business status, and can be recognized and processed by the scheduling thread.

[0045] S24: Add the pending operation record to a preset task scheduling queue to wait for the scheduling and processing of the pending operation record based on a preset business dependency order.

[0046] The records of operations to be processed are inserted into the task scheduling queue. The task scheduling queue is a pre-established data structure used to store the records of operations to be processed. After a record is enqueued, the scheduling thread can continuously scan the task scheduling queue and determine which records can be retrieved for further processing based on the preset business dependency order and the current business status of the record. When a record meets the scheduling conditions, the scheduling thread retrieves it from the queue and passes it to step S4 for message generation and submission processing. If a record does not meet the scheduling conditions, it is kept in the queue to wait for the next round of scanning.

[0047] In this embodiment, the automated generation of pending operation records and task scheduling preparation are implemented. The combined generation of basic information, operation type, and operator identifier ensures that the record contains complete business data; the operation type-driven initial state determination ensures the rationality of the record state; the initialization of the business state makes the record schedulable; and the addition of the task scheduling queue allows the record to enter the scheduling pipeline awaiting processing. These four sub-steps work together to complete the transformation from business data to schedulable task records.

[0048] S3: Based on the preset business dependency order, schedule the pending operation records.

[0049] In this embodiment, the business dependency order refers to the order in which different business operation types must be executed. For example, the "add creation" operation must be executed and approved before the "submit whitelist" operation can be executed; similarly, the "submit whitelist" operation must be submitted and approved before the "upload application" operation can be executed. Scheduling processing refers to the process by which the system processes pending operation records sequentially according to the business dependency order.

[0050] In this step, pending operation records are retrieved from the task scheduling queue according to the preset business dependency order and then scheduled.

[0051] In practice, the scheduling thread continuously scans the task scheduling queue to obtain records of pending operations whose current business status meets the processing conditions. The system determines the business status transition path for each record based on a preset business dependency order. This transition path defines the various stages that a business operation must go through from its initial state to its final completion state, and their order.

[0052] Based on the current business state recorded and the state transition rules defined in the business dependency order, the scheduling thread determines the operation to be executed in this round of scheduling and the next business state to be entered after completion.

[0053] After scheduling is completed, the business status of the record is updated based on the processing result, and the record is added back to the task scheduling queue to await the next round of scheduling. If the current business status has met the business completion conditions, the scheduling process for that record ends. Through this cyclical scheduling mechanism, business operations proceed step by step strictly according to the preset dependency order, ensuring the legality and orderliness of the operations.

[0054] In one embodiment, S3 may include S31~S33, such as Figure 4 As shown, S31~S33 are as follows: S31: Obtain the current business status corresponding to the pending operation record; wherein the current business status is determined based on the processing result of the previous round of scheduling.

[0055] The current business status refers to the current stage of business processing of the pending operation record. This status is determined based on the processing results of the previous round of scheduling and reflects the current progress of the record in the business processing flow. Business dependency order refers to the order in which different business operation types must be executed. For example, the add / create operation must be executed and approved before the whitelist submission operation can be executed; the whitelist must be submitted and approved before the listing application operation can be executed.

[0056] In this sub-step, after the scheduling thread retrieves the operation record to be processed from the task scheduling queue, it first obtains the current business status corresponding to the record, which serves as the basis for the decision of this round of scheduling.

[0057] In practice, the scheduling thread retrieves a pending operation record from the queue and reads the business status field from that record. The value of this field reflects the current business processing stage of the record. The current business status may be the initial state, i.e., the initial value set in step S2, or it may be a new state updated after the previous round of scheduling. For example, when a new creation operation record is first scheduled, its current business status is "Pending Submission"; after successfully submitting the message and receiving the "Under Review" response in the previous round of scheduling, the record's status is updated to "Under Review," and the current business status will be "Under Review" the next time it is scheduled. Based on the obtained current business status, the scheduling thread determines the current position of the record in the business processing flow, providing a basis for determining the next business status in the next step.

[0058] S32: Determine the next business state that matches the current business state according to the preset business dependency order.

[0059] Based on the current business status and the preset business dependency order, determine the next business status that the pending operation record should enter, that is, what status the record should be updated to after this round of scheduling is completed.

[0060] In practice, a pre-defined business dependency order rule is queried, which defines the flow path between business states. For a pending operation record, the flow of its business states must follow the constraints of the business dependency order. Taking the "Add / Create" operation as an example, its business state flow path is: Pending Submission → Submission Successful → Under Review → Review Approved → Successfully Listed. The scheduling thread determines the next valid business state based on the current business state's position in the business dependency order.

[0061] If the current status is "Pending Submission," the next status will be "Submission Successful" or "Under Review," depending on the response from the operator. If the current status is "Under Review," the next status will be "Review Approved" or "Rejected," depending on the review result from the operator. The next service status is determined based on the preset dependency order and the processing result returned by the operator's interface.

[0062] S33: Based on the next business state, perform the current round of scheduling processing on the pending operation record.

[0063] The scheduling thread determines the operations to be performed in this round based on the next business status. If the next status is "submission successful" or "under review," steps S4 and S5 are executed to complete message sending and response processing. If the next status is "approved," subsequent operations are triggered or the current operation is marked as complete. If the next status is "rejected," the reason for rejection is recorded, and the system waits for the user to correct and resubmit. After scheduling is complete, the system updates the business status of the pending operation record to the next business status and determines whether the business completion conditions are met based on this status. If met, scheduling ends; otherwise, the record is added back to the task scheduling queue to await the next round of scheduling.

[0064] In this embodiment, a scheduling loop based on business dependency order is implemented. Obtaining the current business state allows the scheduling thread to accurately understand the business stage of each record. The next state determination driven by business dependency order ensures the legality and orderliness of state transitions. Scheduling based on the next state ensures that each operation has a clear execution goal, and the loop executes until the business is completed. This mechanism ensures that business operations proceed strictly according to the preset dependency order, effectively avoiding business anomalies caused by incorrect operation order.

[0065] In one embodiment, steps S34 to S36 may be included before S33, such as... Figure 5 As shown, S34~S36 are as follows: S34: Obtain the data status corresponding to the operation record to be processed.

[0066] Before performing scheduling processing on the operation record to be processed, the data status corresponding to the record is first obtained to determine whether the record is a historical record.

[0067] Data status refers to the field value used to identify whether an operation record to be processed is a historical record. This field is used to distinguish between currently valid operation records and archived historical records. Historical records refer to archived records that have completed all business processes and are no longer involved in the current scheduling process. They are usually marked with specific field values, such as a historical flag value for the data status identifier, such as a negative one indicating a historical record. The data status identifier is used to exclude historical data during system queries and scheduling processes to prevent completed business records from being processed repeatedly.

[0068] In practice, the system reads the value of the data status field from the pending operation records. This field is an inherent attribute of each operation record, used to identify the record's lifecycle status. The data status field has two values: one indicating the record is currently valid and can participate in scheduling; the other indicating the record is a historical record, archived, and no longer involved in processing. After reading this field, the system temporarily stores the value for subsequent judgment.

[0069] S35: When the data status indicates that the operation record to be processed is a historical record, skip the scheduling process of the corresponding operation record to be processed.

[0070] The data status value is compared with preset historical record determination criteria. If the value matches the historical marker, the record is determined to be a historical record. Historical records represent that the business operation has been processed and archived, and the system automatically excludes such historical data when querying the current record. After being determined to be a historical record, the scheduling thread skips the subsequent processing flow of the record, removes the record from the task scheduling queue or marks it as processed, and no longer triggers subsequent message generation and submission steps.

[0071] S36: When the data status indicates that the operation record to be processed is not a historical record, the step of scheduling the operation record to be processed is executed.

[0072] After comparing the data status value with the historical marker, if the record is determined to be a non-historical record (i.e., a currently valid record), the scheduling process in step S33 continues. For non-historical records, the system retains this data for current scheduling processing when querying records. The scheduling thread performs this round of scheduling processing on the records according to the preset business dependency order and the current business status, generates a request message, and submits it to the target operator's interface.

[0073] In this embodiment, a data status verification step is added before scheduling, effectively preventing the duplicate processing of historical records. The introduction of the data status field allows the system to clearly distinguish between currently valid records and archived historical records. Historical records are automatically excluded from scheduling, preventing completed business operations from being incorrectly resubmitted. If a user needs to resubmit a chatbot that has been rejected or taken offline, the system does not directly modify the historical record, but instead generates a new operation record based on the currently valid record or the approved record, ensuring the traceability and consistency of business data. This mechanism improves the security and accuracy of scheduling, avoiding business anomalies caused by interference from historical data.

[0074] S4: When scheduling and processing the pending operation record, generate a target request message based on the target operator identifier and the pending operation record.

[0075] In this embodiment, the target request message refers to a data message that conforms to the target operator's interface specifications, containing all fields and parameters required by the operator to process this service operation. Access credentials refer to authentication information used to access the operator's interface, including tokens, keys, access keys, etc. The authentication template refers to the specific specification template of the operator's interface for the request message format, required fields, and signature method.

[0076] In this step, when scheduling and processing a pending operation record, a target request message conforming to the target operator's interface specification is generated based on the target operator identifier and the business data in the pending operation record.

[0077] Specifically, the type of operator to be interfaced with and the corresponding interface specifications are determined based on the target operator's identifier. Different operators' interfaces differ significantly in message format, authentication methods, required fields, and parameter organization, necessitating the selection of an appropriate adaptation strategy based on the operator type. Business fields are extracted from the pending operation records, and combined with the target operator's authentication template, the business data and authentication parameters are structurally assembled according to the operator's interface specifications.

[0078] During assembly, different field combinations are adapted based on the operator type and operation type to ensure that the generated request message contains all the information required by the operator to process this service operation. After assembly, a target request message conforming to the target operator's interface specification is output for subsequent steps to send to the operator's interface.

[0079] In one embodiment, S4 may include S41~S43, such as Figure 6 As shown, S41~S43 are as follows: S41: Obtain the target channel access identifier and target platform identifier from the pending operation record.

[0080] Extract the target channel access identifier and target platform identifier from the pending operation records to provide query conditions for subsequent acquisition of access credentials and matching authentication templates.

[0081] The target channel access identifier refers to the identification information of the channel used by the chatbot when accessing the target operator. It identifies the access channel to which the chatbot belongs, and different operators may have different channel access identifiers. The target platform identifier refers to the platform identification information corresponding to the target operator, used to identify the customer service provider platform to which the chatbot belongs. Access credentials refer to the authentication information used to access the operator's interface, including authentication parameters such as tokens, keys, access keys, and callback addresses, used to complete identity authentication and signature calculation in the request message. The authentication template refers to the specific specification template of the operator's interface for the request message format, required fields, signature method, and parameter organization. Different operators have different authentication templates in terms of field requirements, message structure, and authentication methods.

[0082] In practice, the system reads the channel access identifier and platform identifier fields from the pending operation record. The target channel access identifier identifies the channel to which the chatbot accesses the target operator; different operators may have different channel access identifiers. The target platform identifier identifies the customer service provider platform to which the chatbot belongs. These two identifiers together form the key index combination for querying authentication parameters. The extracted target channel access identifier and target platform identifier are temporarily stored in memory for use in subsequent steps. If the above fields are empty or missing in the pending operation record, the system triggers exception handling, prompting the user to supplement the corresponding configuration information.

[0083] S42: Based on the target operator identifier, the target channel access identifier, and the target platform identifier, dynamically obtain the corresponding access credentials and match the corresponding authentication template.

[0084] Based on the combination of the target operator identifier, the target channel access identifier, and the target platform identifier, the corresponding access credentials are dynamically obtained from the channel configuration module, and the corresponding authentication template is matched based on the target operator identifier.

[0085] In practice, the target operator identifier, target channel access identifier, and target platform identifier are used as joint query conditions to retrieve the corresponding access credential configuration from the channel configuration table. Access credentials include authentication parameters such as tokens, keys, access keys, and callback addresses; the type and number of credentials vary between different operators. Access credentials are stored in encrypted form and require decryption before reading. Furthermore, reading and use are controlled by backend role permissions and operation permissions.

[0086] Simultaneously, the corresponding authentication template is matched based on the target operator's identifier. Different operators define different request message structures, sets of required fields, and signature calculation methods for their authentication templates. The authentication template includes rules for using each parameter in the access credential. For example, mobile operators use a combination of service code, extension code, customer service provider identifier, whitelist, and industry parameters as the authentication parameter set, while China Unicom and China Telecom use combinations of token, access key, access token address, callback address, and IP whitelist. The corresponding authentication template and parameter set are selected based on the operator type and operation type. After acquisition, the access credential and authentication template are temporarily stored in memory for subsequent message assembly.

[0087] S43: Generate a target request message that conforms to the target operator's interface specification based on the pending operation record, the access credential, and the authentication template.

[0088] The core task of this step is to fuse and assemble the business data in the operation record to be processed with the authentication parameters in the access credential according to the target operator's interface specifications, generating a standard request message that the operator's interface can recognize and process. This step is a critical conversion link between internal business data and external operator interfaces, responsible for converting structured business records and authentication parameters into standardized output that conforms to the target operator's message format requirements, ensuring that business requests can be correctly parsed and processed by the target operator's interface.

[0089] Specifically, an authentication template serves as the assembly standard. This template defines the overall structure of the message, field mapping relationships, data type requirements, and parameter organization. Business fields are extracted from the pending operation record, and authentication parameters are extracted from the access credentials. These are then structurally assembled according to the field order, naming rules, and format requirements specified in the template, ultimately generating a target request message that conforms to the target operator's interface specifications. Differences in interface specifications between different operators are adapted through differentiated configuration of the authentication template, ensuring that the generated message format is completely consistent with the target operator's requirements.

[0090] In this embodiment, automated message generation for multiple operators is implemented. The acquisition of channel access identifiers and platform identifiers determines the accurate index for authentication parameter queries. Dynamic acquisition of access credentials driven by operator identifiers and authentication template matching ensure that different operators use their correct authentication methods and message formats. Structured assembly based on authentication templates guarantees that the output messages fully conform to the target operator's interface specifications. This mechanism supports differentiated authentication methods and field requirements from different operators such as China Mobile, China Unicom, and China Telecom. Adaptation is achieved through the configuration combination of operator, customer service provider, and platform identifiers, avoiding hardcoding different operators' interfaces into a unified format and effectively solving the technical challenge of interface difference adaptation in multi-operator scenarios.

[0091] In one embodiment, S43 may include S431-S432, such as... Figure 7 As shown, S431~S432 are as follows: S431: Based on the set of required fields defined in the authentication template, perform a missing field check on the access credential and the pending operation record.

[0092] Based on the set of required fields defined in the authentication template, perform missing checks on the business fields in the operation record to be processed and the authentication parameters in the access credentials to confirm that all required fields have been provided.

[0093] In practice, the first step is to retrieve the set of required fields defined in the authentication template. The set of required fields differs depending on the operator and the type of business operation. For mobile operators submitting a chatbot, required fields include a whitelist of mobile phone numbers and the port service type; if the port service type includes advertising and promotion, then the advertising and marketing industry category is also required. For China Unicom and China Telecom operators, required fields include a whitelist of mobile phone numbers, an IP whitelist upon approval, a CSP Token, an accessKey, and a callback address.

[0094] In addition, basic fields such as chatbot name, avatar, signature, industry category, service code, chatbot identifier, and customer service provider identifier are validated according to the operation stage. The system compares each field in the required field set with the business fields in the pending operation record and the authentication parameters in the access credentials to check for missing fields or fields with empty values. If missing fields are found, a list of missing fields is generated, the message generation process is stopped, and the user is prompted to supplement the corresponding information. If all required fields are provided and their values ​​are valid, the validation passes.

[0095] S432: When the verification passes, based on the authentication template, the access credential and the business fields in the pending operation record are structurally assembled to generate the target request message.

[0096] Once the missing data verification passes, the authentication parameters in the access credential and the business fields in the pending operation record are structurally assembled according to the message format and data structure defined in the authentication template to generate a target request message that conforms to the target operator's interface specifications.

[0097] In practical implementation, based on the message structure defined in the authentication template, the location, field name, data type, and format requirements of the business fields and authentication parameters in the message are determined. Business field values ​​are extracted from the pending operation record, and authentication parameter values ​​are extracted from the access credential. After formatting according to the template requirements, they are filled into the corresponding positions in the message. For request messages from mobile operators, fields such as service code, extension code, chatbot identifier, industry classification, port service type, and advertising / marketing industry category are assembled, and the corresponding authentication parameters are embedded. For request messages from China Unicom and China Telecom operators, additional fields such as CSP Token, accessKey, callback address, and IP whitelist are assembled.

[0098] During the assembly process, different field combinations are selected based on the operation type: Adding a new operation assembles a complete creation message; modifying an operation assembles only the changed fields; whitelisting an operation assembles whitelist data; and listing an operation assembles a test report and listing instructions. After assembly, a complete target request message conforming to the target operator's interface specifications is output for subsequent steps to send to the operator's interface.

[0099] In this embodiment, standardized request message generation based on authentication templates is implemented. Missing field validation ensures that messages submitted to operators contain all required fields, avoiding submission failures or rejections due to missing fields. Structured assembly ensures that the message format fully conforms to the target operator's interface specifications, and interface differences between different operators are adapted through template configuration. This mechanism effectively solves the adaptation complexity caused by interface specification differences in multi-operator scenarios, improving the accuracy and efficiency of message generation.

[0100] In one implementation, before generating the target request message based on the target operator identifier and the pending operation record, steps S6-S8 are further included, such as... Figure 8 As shown, S6~S8 are as follows: S6: Obtain the message submission status corresponding to the operation record to be processed.

[0101] Before generating the target request message, the submission status of the message corresponding to the operation record to be processed is first obtained to determine whether the record has been submitted or is being submitted.

[0102] In practice, the value of the message submission status field is read from the pending operation record. This field is an independent attribute of each operation record, used to track the processing progress of that record in the message generation and submission stages. After reading this field, the value is temporarily stored for subsequent judgment.

[0103] S7: When the message submission status indicates that it has been submitted or is being submitted, intercept the message generation process of the corresponding pending operation record.

[0104] When the message submission status of the operation record to be processed is determined to be submitted or in the process of submission, the message generation process of the record is intercepted to prevent duplicate submission.

[0105] In practice, the message submission status value is compared with preset interception conditions. If the status value is "submitted" or "in progress," the record is determined to have entered the message processing flow, and no new message generation should be triggered. At this time, the message generation process is intercepted, and subsequent steps such as access credential acquisition, authentication template matching, and message assembly are no longer executed. For submitted records, the interception operation prevents completed business operations from being submitted repeatedly; for records in progress, the interception operation prevents the same record from being processed repeatedly in concurrent scenarios.

[0106] S8: When the message submission identifier indicates that the message has not been submitted, execute the step of generating the target request message.

[0107] When the system determines that the message submission status of the operation record to be processed is not submitted, it continues to execute the message generation stream. In practice, the message submission status value is compared with the non-submission status value. If they match, it is determined that the record has not yet entered the message processing flow, and message generation can be safely performed. The system then enters the message generation process, performing steps such as access credential acquisition, authentication template matching, and message assembly. During message generation, the message submission status can be updated to "submitting" to prevent other threads or processing nodes from processing the same record simultaneously, thereby achieving concurrency control.

[0108] In this embodiment, a submission status verification step is added before message generation, effectively preventing duplicate submissions and concurrent conflicts. The introduction of the message submission status allows the system to clearly track the message processing progress of each operation record. Unsubmitted records are generated normally, while submitted or pending submission records are automatically intercepted, avoiding data corruption caused by the same business operation being repeatedly submitted to the operator's interface. The introduction of the pending submission status supports mutual exclusion in concurrent scenarios, ensuring the security of message generation and submission processes. This mechanism improves the system's reliability and data consistency in multi-operator business processing.

[0109] S5: Send the target request message to the operator interface corresponding to the target operator identifier, and update the service status of the pending operation record according to the processing result returned by the operator interface to trigger the next round of scheduling processing until the pending operation record meets the preset service completion conditions.

[0110] In this step, the target request message is sent to the target operator's interface, the returned response message is received, the service status of the pending operation record is updated according to the response message, and it is determined whether the service completion conditions are met to decide whether to continue scheduling or end processing.

[0111] In practice, the target request message is sent to the operator interface address corresponding to the target operator identifier via Hypertext Transfer Protocol or Secure Hypertext Transfer Protocol. Upon receiving the request, the operator interface performs verification and processing, and returns a response message.

[0112] Upon receiving the response message, it is parsed to extract the review result and operation status information. Based on the parsing results, the business status of the pending operation record is updated, such as changing the status from pending submission to under review, approved, or rejected.

[0113] After the status is updated, it is determined whether the current business status meets the preset business completion conditions. If the business completion conditions are met, the scheduling and processing of the operation record ends; otherwise, the pending operation record is added back to the task scheduling queue to wait for the next round of scheduling. In the next round of scheduling, the system determines the subsequent operations to be executed based on the updated business status and business dependency order. For example, if the review is approved, the next operation is executed; if the review is rejected, the user is asked to correct and resubmit.

[0114] In one implementation, S5 may include S51~S55, such as Figure 9 As shown, S51~S55 are as follows: S51: Send the target request message to the operator interface corresponding to the target operator identifier, and receive the response message returned by the operator interface.

[0115] Send the target request message to the interface address corresponding to the target operator, and receive the response message returned by the operator's interface.

[0116] In practice, the corresponding carrier interface address is obtained from the configuration based on the target carrier identifier. This address may be a Uniform Resource Locator (URL) or a network address. The target request message is sent to this interface address via Hypertext Transfer Protocol (HTTP) or Secure Hypertext Transfer Protocol (SSL), typically using the POST method. A timeout is set during the sending process to prevent prolonged waiting. Upon receiving the request, the carrier interface performs verification and processing, generates a response message, and returns it.

[0117] Receive response messages and record the response status code and response body content. If a network timeout or connection failure occurs during transmission, trigger the retry mechanism and resend the request according to the preset number of retries and intervals. If the retry still fails, record the exception log and mark the submission status of the message in the pending operation record as transmission failure, awaiting manual intervention or subsequent automatic recovery.

[0118] S52: Parse the response message and update the business status corresponding to the pending operation record based on the review result carried in the response message.

[0119] The received response message is parsed to extract the review result information, and the business status of the pending operation record is updated according to the review result.

[0120] In practice, the response body is parsed according to the target operator's response message format. Different operators may use different response message formats, including JSON, XML, or plain text. Key fields are extracted from the response message, including the processing result status code, review result, review comments, error code, and error description. Based on the extracted review result, the business status to be updated in the pending operation record is determined. If the review result is "approved" or "successful," the business status is updated to the corresponding success status, such as "approved" or "successfully listed." If the review result is "rejected" or "failed," the business status is updated to the corresponding failure status, such as "rejected" or "failed to list," and the reason for rejection or error description is recorded. After the status update is complete, the updated status is written to the database, and a status change log is recorded.

[0121] S53: Based on the updated business status, determine whether the pending operation record meets the preset business completion conditions.

[0122] Based on the updated business status, determine whether the pending operation record meets the preset business completion conditions.

[0123] In practice, the updated business status value is obtained and compared with the preset business completion conditions. These conditions vary depending on the operation type. For a new creation operation, a status of "approved" indicates that the business completion condition is met; for an application to list an item, a status of "listed successfully" indicates that the business completion condition is met; for a whitelist submission operation, a status of "whitelist approved" indicates that the business completion condition is met; and for a modification / update operation, a status of "change approved" indicates that the business completion condition is met. If the current business status meets the corresponding completion condition, the business operation is considered complete; otherwise, the business operation is considered incomplete and needs to be continued.

[0124] S54: If not, the pending operation record is added back to the preset task scheduling queue to trigger the next round of scheduling processing.

[0125] When it is determined that a business operation has not yet been completed, the pending operation record is added back to the task scheduling queue to trigger the next round of scheduling processing.

[0126] In specific implementation, the business status of the operation record to be processed is updated to the latest status, and then the record is reinserted into the task scheduling queue. The scheduling processing thread continuously scans the task scheduling queue, and determines the next operation to be executed according to the updated business status and business dependency order. For example, if the review result is "under review", the next round of scheduling may continue to query the review status; if the review result is "approved", the next round of scheduling may trigger subsequent operations, such as submitting a whitelist or listing application; if the review result is "rejected", the next round of scheduling may wait for the user to correct and resubmit. Through cyclic scheduling, business operations are gradually advanced along the preset status flow path.

[0127] S55: If yes, the scheduling processing of the operation record to be processed is ended.

[0128] When sub-step S53 determines that the business operation has been completed, the scheduling processing of the operation record to be processed is ended.

[0129] In specific implementation, the data status of the operation record to be processed is marked as a historical record, so that it no longer participates in subsequent scheduling processing. The business completion time is recorded, and an operation completion log is generated. For the completed operation record, subsequent linkage operations may be triggered, such as notifying a downstream system or generating a business report. So far, the complete business processing flow of the operation record to be processed is ended.

[0130] In this embodiment, a complete closed loop of message sending, response processing, status update and cyclic scheduling is implemented. Message sending converts an internal business request into an actual call oriented to an operator interface; response parsing converts the processing result of the operator into an internally identifiable status change; the judgment of a business completion condition determines the flow direction of the record; rejoining the queue triggers the next round of scheduling processing; ending the scheduling indicates the final completion of the business. This mechanism enables business operations to be automatically and cyclically advanced along a preset path until all are completed, without manual intervention at each link, significantly improving the automation degree and efficiency of chatbot business processing in a multi-operator scenario.

[0131] In the embodiments of the present application, automation and standardization of chatbot business processing oriented to multiple operators are implemented. The user only needs to select a target chatbot, specify a business operation type and a target operator, and the generation of an operation record, scheduling based on a business dependency order, generation and sending of an operator interface adaptation message, and status update and cyclic scheduling based on a processing result may be automatically completed until all business operations are completed. This method effectively simplifies the chatbot business processing flow in a multi-operator scenario, and improves operation efficiency and accuracy.

[0132] Overall, this invention significantly lowers the barrier to creating and configuring chatbots in multi-carrier scenarios through a cross-carrier configuration reuse mechanism, ensures the legality and orderliness of multi-stage business processes through business dependency-driven automatic scheduling, achieves unified adaptation across multiple carriers such as China Mobile, China Unicom, and China Telecom through carrier-adaptive message generation, and forms a complete automated closed loop for business processing through state-driven cyclic scheduling. This method effectively solves prominent problems in chatbot business processing in multi-carrier scenarios, such as cumbersome operations, susceptibility to errors, scattered states, and complex adaptation to interface differences, significantly improving business processing efficiency, data accuracy, and ease of maintenance.

[0133] Referring to 10, this embodiment of the invention also provides a chatbot service processing device for multiple operators, comprising: The first processing unit 101 is configured to respond to a business operation instruction for the target chatbot, parse the business operation instruction, and obtain the basic information of the target chatbot, the business operation type, and the target operator identifier. The second processing unit 102 is used to generate a corresponding pending operation record based on the basic information of the target chatbot, the business operation type and the target operator identifier, and initialize the business status corresponding to the pending operation record. The third processing unit 103 is used to schedule the pending operation records based on a preset business dependency order. The fourth processing unit 104 is used to generate a target request message based on the target operator identifier and the operation record to be processed when scheduling the operation record to be processed. The fifth processing unit 105 is used to send the target request message to the operator interface corresponding to the target operator identifier, and update the service status of the pending operation record according to the processing result returned by the operator interface, so as to trigger the next round of scheduling processing until the pending operation record meets the preset service completion conditions.

[0134] Further, the first processing unit is specifically used for: Retrieve the identifier of an existing chatbot; Based on the identifier of the existing chatbot, retrieve the corresponding full configuration data; The basic information of the target chatbot is obtained from the full configuration data, including field filtering of the data, removing the original operator identifier, original agent information, original service code and original extension code from the full configuration data, and using the filtered configuration data as the basic information of the target chatbot.

[0135] Furthermore, the second processing unit is specifically used for: At least the basic information of the target chatbot, the business operation type, and the target operator identifier are combined to generate the corresponding operation record to be processed; Determine the corresponding initial business status value based on the business operation type; Initialize the business status corresponding to the pending operation record to the initial business status value; The pending operation records are added to a preset task scheduling queue to await scheduling and processing based on a preset business dependency order.

[0136] Furthermore, the third processing unit is specifically used for: Obtain the current business status corresponding to the pending operation record; wherein, the current business status is determined based on the processing result of the previous round of scheduling; Based on the preset business dependency order, determine the next business state that matches the current business state; Based on the next business status, the pending operation records are scheduled for this round of processing.

[0137] Furthermore, the third processing unit is specifically used for: Obtain the data status corresponding to the operation record to be processed; When the data status indicates that the operation record to be processed is a historical record, the scheduling process of the corresponding operation record to be processed is skipped. When the data status indicates that the operation record to be processed is not a historical record, the step of scheduling the operation record to be processed is executed.

[0138] Furthermore, the fourth processing unit is specifically used for: Obtain the target channel access identifier and target platform identifier from the pending operation record; Based on the target operator identifier, the target channel access identifier, and the target platform identifier, the corresponding access credentials are dynamically obtained and matched with the corresponding authentication template; Based on the pending operation record, the access credential, and the authentication template, a target request message conforming to the target operator's interface specification is generated.

[0139] Furthermore, the fourth processing unit is specifically used for: Based on the set of required fields defined in the authentication template, perform missing checks on the access credentials and the pending operation records; When the verification passes, the access credential and the business fields in the pending operation record are structurally assembled based on the authentication template to generate the target request message.

[0140] Furthermore, the chatbot service processing device for multiple operators also includes: The sixth processing unit is used to obtain the message submission status corresponding to the operation record to be processed; The seventh processing unit is used to intercept the message generation process of the corresponding pending operation record when the message submission status indicates that it has been submitted or is being submitted. The eighth processing unit is used to execute the step of generating a target request message when the message submission identifier indicates that the message has not been submitted.

[0141] Furthermore, the fifth processing unit is specifically used for: Send the target request message to the operator interface corresponding to the target operator identifier, and receive the response message returned by the operator interface; Parse the response message and update the business status corresponding to the pending operation record based on the review result carried in the response message; Based on the updated business status, determine whether the pending operation record meets the preset business completion conditions; If not, the pending operation record will be added back to the preset task scheduling queue to trigger the next round of scheduling processing; If so, the scheduling process for the pending operation record ends.

[0142] Reference Figure 11 The present invention also provides a computer device, the internal structure of which can be as follows: Figure 11 As shown. The computer device includes a processor, memory, network interface, and database connected via a system bus. The processor is designed to provide computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores operating devices, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The database stores signals, etc. The network interface is used for communication with external terminals via a network connection. Furthermore, the computer device may also include input devices and a display screen. When the computer program is executed by the processor, it implements a photovoltaic cluster collaborative control method based on physical constraint embedding and dynamic game theory, including the following steps: Those skilled in the art will understand that Figure 11 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer equipment on which the present application is applied.

[0143] In response to a business operation instruction for the target chatbot, the business operation instruction is parsed to obtain the basic information of the target chatbot, the business operation type, and the target operator identifier; Based on the basic information of the target chatbot, the business operation type, and the target operator identifier, a corresponding pending operation record is generated, and the business status corresponding to the pending operation record is initialized. The pending operation records are scheduled and processed based on a preset business dependency order. When scheduling and processing the pending operation record, a target request message is generated based on the target operator identifier and the pending operation record; The target request message is sent to the operator interface corresponding to the target operator identifier, and the service status of the pending operation record is updated according to the processing result returned by the operator interface to trigger the next round of scheduling processing until the pending operation record meets the preset service completion conditions.

[0144] An embodiment of this application also provides a computer-readable storage medium storing a computer program thereon. When the computer program is executed by a processor, it implements a photovoltaic cluster collaborative control method based on physical constraint embedding and dynamic game theory, including the following steps: in response to a business operation instruction for a target chatbot, parsing the business operation instruction and obtaining the basic information of the target chatbot, the business operation type, and the target operator identifier. Based on the basic information of the target chatbot, the business operation type, and the target operator identifier, a corresponding pending operation record is generated, and the business status corresponding to the pending operation record is initialized. The pending operation records are scheduled and processed based on a preset business dependency order. When scheduling and processing the pending operation record, a target request message is generated based on the target operator identifier and the pending operation record; The target request message is sent to the operator interface corresponding to the target operator identifier, and the service status of the pending operation record is updated according to the processing result returned by the operator interface to trigger the next round of scheduling processing until the pending operation record meets the preset service completion conditions.

[0145] It is understood that the computer-readable storage medium in this embodiment can be a volatile readable storage medium or a non-volatile readable storage medium.

[0146] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments of the above methods. Any references to memory, storage, databases, or other media used in this application and in the embodiments can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual-speed SDRAM (SSRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0147] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, apparatus, article, or method that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, apparatus, article, or method. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, apparatus, article, or method that includes that element.

[0148] The above description is merely a preferred embodiment of the present invention and does not limit the patent scope of the present invention. Any equivalent structural or procedural transformations made based on the content of the present invention's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of the present invention.

Claims

1. A method for processing chatbot services across multiple carriers, characterized in that, The method includes: In response to a business operation instruction for the target chatbot, the business operation instruction is parsed to obtain the basic information of the target chatbot, the business operation type, and the target operator identifier; Based on the basic information of the target chatbot, the business operation type, and the target operator identifier, a corresponding pending operation record is generated, and the business status corresponding to the pending operation record is initialized. The pending operation records are scheduled and processed based on a preset business dependency order. When scheduling and processing the pending operation record, a target request message is generated based on the target operator identifier and the pending operation record; The target request message is sent to the operator interface corresponding to the target operator identifier, and the service status of the pending operation record is updated according to the processing result returned by the operator interface to trigger the next round of scheduling processing until the pending operation record meets the preset service completion conditions.

2. The chatbot service processing method for multiple operators according to claim 1, characterized in that, The acquisition of basic information about the target chatbot includes: Retrieve the identifier of an existing chatbot; Based on the identifier of the existing chatbot, retrieve the corresponding full configuration data; Field filtering is performed on the full configuration data to remove the original operator identifier, original agent information, original service code and original extension code. The filtered configuration data is then used as the basic information of the target chatbot.

3. The chatbot service processing method for multiple operators according to claim 1, characterized in that, The step of generating a corresponding pending operation record based on the basic information of the target chatbot, the business operation type, and the target operator identifier, and initializing the business status corresponding to the pending operation record, includes: At least the basic information of the target chatbot, the business operation type, and the target operator identifier are combined to generate the corresponding operation record to be processed; Determine the corresponding initial business status value based on the business operation type; Initialize the business status corresponding to the pending operation record to the initial business status value; The pending operation records are added to a preset task scheduling queue to await scheduling and processing based on a preset business dependency order.

4. The chatbot service processing method for multiple operators according to any one of claims 1 to 3, characterized in that, The scheduling process for the pending operation records based on a preset business dependency order includes: Obtain the current business status corresponding to the pending operation record; wherein, the current business status is determined based on the processing result of the previous round of scheduling; Based on the preset business dependency order, determine the next business state that matches the current business state; Based on the next business status, the pending operation records are scheduled for this round of processing.

5. The chatbot service processing method for multiple operators according to claim 4, characterized in that, Before scheduling and processing the pending operation records based on a preset business dependency order, the process further includes: Obtain the data status corresponding to the operation record to be processed; When the data status indicates that the operation record to be processed is a historical record, the scheduling process of the corresponding operation record to be processed is skipped. When the data status indicates that the operation record to be processed is not a historical record, the step of scheduling the operation record to be processed is executed.

6. The chatbot service processing method for multiple operators according to any one of claims 1 to 3, characterized in that, The step of generating a target request message based on the target operator identifier and the pending operation record includes: Obtain the target channel access identifier and target platform identifier from the pending operation record; Based on the target operator identifier, the target channel access identifier, and the target platform identifier, the corresponding access credentials are dynamically obtained and matched with the corresponding authentication template; Based on the pending operation record, the access credential, and the authentication template, a target request message conforming to the target operator's interface specification is generated.

7. The chatbot service processing method for multiple operators according to claim 6, characterized in that, The step of generating a target request message conforming to the target operator's interface specification based on the pending operation record, the access credential, and the authentication template includes the following steps: Based on the set of required fields defined in the authentication template, perform missing checks on the access credentials and the pending operation records; When the verification passes, the access credential and the business fields in the pending operation record are structurally assembled based on the authentication template to generate the target request message.

8. The chatbot service processing method for multiple operators according to any one of claims 1 to 3, characterized in that, Before generating the target request message based on the target operator identifier and the pending operation record, the method further includes: Obtain the message submission status corresponding to the pending operation record; When the message submission status indicates that it has been submitted or is being submitted, the message generation process of the corresponding pending operation record is intercepted. When the message submission identifier indicates that the message has not been submitted, the step of generating the target request message is executed.

9. The chatbot service processing method for multiple operators according to any one of claims 1 to 3, characterized in that, The step of sending the target request message to the operator interface corresponding to the target operator identifier, and updating the service status of the pending operation record according to the processing result returned by the operator interface to trigger the next round of scheduling processing, until the pending operation record meets the preset service completion conditions, includes: Send the target request message to the operator interface corresponding to the target operator identifier, and receive the response message returned by the operator interface; Parse the response message and update the business status corresponding to the pending operation record based on the review result carried in the response message; Based on the updated business status, determine whether the pending operation record meets the preset business completion conditions; If not, the pending operation record will be added back to the preset task scheduling queue to trigger the next round of scheduling processing; If so, the scheduling process for the pending operation record ends.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the steps of the chatbot service processing method for multiple operators as described in any one of claims 1 to 9.