A method for controlling a reach task execution, a computer device and a storage medium
By evaluating and adjusting the reach modal combinations and execution timing, the problem of execution stability of the reach system after state changes was solved, thereby improving the reliability of task execution and resource utilization efficiency.
Patent Information
- Application Number
- CN202611281567.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-21
- Publication Date
- 2026-11-24
AI Technical Summary
Existing outreach systems often fail to promptly determine whether the outreach modal combination can still be executed normally after a task is generated due to state changes, leading to task failure.
By determining the reach status of the target object, candidate reach mode combinations are generated, the stability of the mode combinations is evaluated, and the mode combinations and execution time are adjusted when there is a risk of failure, so as to ensure the stability of the task at the execution time.
It improves the reliability of task execution, reduces modal unavailability and task failure caused by environmental changes, and reduces resource waste.
Smart Images

Figure CN123164070A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of touch task execution control technology, and in particular to a touch task execution control method, computer device and storage medium. Background Technology
[0002] With the widespread adoption of channels such as WeChat Work, WeChat, outbound calling, and SMS in customer operations, service notifications, marketing conversion, and customer care, outreach tasks have gradually evolved from sending single messages to combining multiple outreach modalities. For example, a single outreach task may include different outreach modalities such as text, images, voice, video, links, and phone calls, and may be executed at one or more times depending on the business process. Because such tasks typically need to be generated in advance, the status of user responses, message delivery, channel availability, material processing results, call connection status, complaint unsubscription, manual intervention, and frequency control restrictions may all change between task generation and actual execution.
[0003] For tasks involving multiple reach modalities, the execution conditions of different reach modalities and their interrelationships may be affected by the aforementioned state changes. This can cause modal combinations that were able to execute normally at the time of task generation to become inapplicable in subsequent executions, resulting in some reach modalities failing to execute, different reach stages failing to connect properly, tasks expiring, or the entire task failing. Existing reach systems typically focus on determining the reach content and execution arrangements during the task generation phase. They struggle to promptly determine whether existing modal combinations will still be able to execute normally at the scheduled execution time in response to state changes that occur after task generation. Summary of the Invention
[0004] Therefore, it is necessary to provide a touch task execution control method, computer device, and storage medium that can evaluate the combination stability of touch mode combinations at a predetermined execution time based on changes in the reach state of the target object, and adjust the touch mode combination and / or execution time when there is a risk of combination failure. This is to at least solve the technical problem in the related art that it is difficult to determine in a timely manner whether the existing touch mode combination can still be executed normally at the predetermined execution time due to changes in the reach state after the task is generated, which can easily lead to the failure of the touch task.
[0005] On the one hand, a method for controlling the execution of a task is provided, the method comprising: Determine the first reach state of the target object at a first moment, determine multiple candidate reach modes based on the first reach state, and determine the modal constraint relationship between the multiple candidate reach modes; A combination of reach modalities is generated based on multiple candidate reach modalities and the modal constraint relationships, and a candidate reach task is constructed based on the combination of reach modalities; Determine the second reach state of the target object at a second time, and generate reach state change information corresponding to the target object based on the state difference between the first reach state and the second reach state; Obtain the predetermined execution time of the candidate outreach task, and determine the combination stability of the outreach mode combination corresponding to the candidate outreach task based on the outreach state change information and the time interval between the second time and the predetermined execution time. In response to the combination stability characterization indicating that the reach mode combination has a risk of combination failure at the predetermined execution time, the reach mode combination and / or the predetermined execution time are adjusted according to the second reach state and the mode constraint relationship to determine the target reach mode combination and the target execution time, so that the target reach mode combination does not have a risk of combination failure at the target execution time; Based on the target reach modal combination, a target reach task is generated and executed at the target execution time.
[0006] In another aspect, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the above-described task execution control method.
[0007] In another aspect, a computer-readable storage medium is provided, on which a computer program is stored, which, when executed by a processor, implements the steps of the above-described task execution control method.
[0008] The aforementioned outreach task execution control method, apparatus, computer equipment, and storage medium acquire the target object's state information related to the outreach task at different time points, and determine the changes in the outreach state from task generation to execution. This ensures that the execution control of the outreach task no longer relies solely on the static state at the time of task generation. Furthermore, by combining the correlations and constraints between multiple outreach modalities, the system assesses the sustainability of existing outreach modal combinations at predetermined execution times. This allows for the identification of risks that could lead to the failure of existing modal combinations due to changes in user status, channel status, or other outreach conditions. When such risks exist, adjustments are made to the outreach modal combinations and / or execution times to ensure the adjusted task schedule is compatible with subsequent outreach states. This reduces situations such as outreach modal unavailability, inability to properly connect modalities, and failure of existing task schedules caused by changes in the execution environment. It improves the adaptability and reliability of pre-generated outreach tasks during the actual execution phase and reduces ineffective outreach and the resulting waste of outreach resources. Attached Figure Description
[0009] To more clearly illustrate the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0010] Figure 1 This is an application environment diagram of the task execution control method in one embodiment; Figure 2 This is a flowchart illustrating the method for initiating task execution control in one embodiment; Figure 3 This is a flowchart illustrating the steps for initiating task execution control in a preferred embodiment; Figure 4 This is a structural block diagram of the task execution control device in one embodiment; Figure 5 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation
[0011] 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.
[0012] This application provides a method for controlling the execution of reach tasks, which can be applied to, for example... Figure 1In the application environment shown, terminal 102 communicates with server 104 via a network. Terminal 102 is the terminal used by the target object, and server 104 is used to generate, control, and dynamically adjust the outreach tasks for the target object. Specifically, when there is a need to reach the target object, server 104 can obtain object outreach status data, outreach resource status data, and task management status data corresponding to the target object, and determine the first outreach status of the target object at the first moment based on the obtained data; server 104 determines multiple candidate outreach modes that can be used to reach the target object from multiple preset outreach modes according to the first outreach status, and determines the modal constraint relationship between the candidate outreach modes according to the resource consumption requirements and execution constraints corresponding to each candidate outreach mode, and then determines the outreach mode combination according to the multiple candidate outreach modes and the modal constraint relationship, and generates candidate outreach tasks for the target object. The reach modalities can include different reach methods that can reach the target object through the terminal 102 or a communication channel associated with the target object, such as outbound phone calls, SMS, instant messaging, application messages, or application push notifications. Different reach modalities can respectively invoke the corresponding reach resources on the server 104 side or associated with the server 104, and reach the target object according to the execution orchestration determined in the candidate reach tasks. After the candidate reach tasks are generated but before execution, the server 104 can further obtain the second reach state of the target object at a second time, and generate reach state change information based on the state difference between the first and second reach states; based on the reach state change information and the time relationship between the second time and the predetermined execution time of the candidate reach tasks, the combination stability of the reach modal combination corresponding to the candidate reach tasks is determined. When there is no risk of failure in the reach modality combination at the scheduled execution time, server 104 can control the corresponding reach resources to perform reach operations on the target object according to the reach modality combination corresponding to the candidate reach task and the scheduled execution time. When there is a risk of failure in the reach modality combination at the scheduled execution time, server 104 can adjust the reach modality combination and / or the scheduled execution time according to the second reach state and modal constraint relationship, determine the target reach modality combination and the target execution time, and control the corresponding reach resources to perform reach operations on the target object according to the target reach modality combination and the target execution time, so that the adjusted reach modality combination has the corresponding execution conditions when actually executed. During the reach process, the corresponding reach resources can send reach information to terminal 102 through the network, or reach the target object through the communication channel associated with terminal 102. Terminal 102 can also receive reach information according to the specific reach modality and return the message reception status, user operation, user reply or other interaction results to server 104 or the corresponding reach resources through the network.Server 104 can update the reach status corresponding to the target object based on the above interaction results, and provide status data for the execution control of subsequent reach tasks.
[0013] It should be noted that, Figure 1 The interaction between terminal 102 and server 104 shown is only for illustrative purposes to illustrate the application environment of the outreach task execution control method provided in this application, and is not intended to limit specific outreach modalities or outreach resource deployment methods. For example, server 104 can directly invoke corresponding outreach resources to outreach terminal 102, or it can outreach terminal 102 through a third-party communication system, messaging system, or other outreach service connected to server 104. Terminal 102 can be, but is not limited to, various personal computers, laptops, smartphones, tablets, and portable wearable devices, and server 104 can be implemented using a standalone server or a server cluster consisting of multiple servers.
[0014] In one embodiment, such as Figure 2 As shown, a method for controlling task execution is provided, which is applied to... Figure 1 Taking server 104 as an example, the following steps are included: Step 201: Determine the first reach state of the target object at the first moment, determine multiple candidate reach modes based on the first reach state, and determine the modal constraint relationship between the multiple candidate reach modes; Step 202: Generate a combination of reach modalities based on multiple candidate reach modalities and modal constraint relationships, and construct candidate reach tasks based on the reach modalities combination; Step 203: Determine the second reach state of the target object at the second moment, and generate reach state change information corresponding to the target object based on the state difference between the first reach state and the second reach state. Step 204: Obtain the scheduled execution time of the candidate outreach task; and determine the combination stability of the outreach mode combination corresponding to the candidate outreach task based on the outreach state change information and the time interval between the second time and the scheduled execution time. Step 205: In response to the combination stability characterization indicating that there is a risk of combination failure in the reach mode combination at the predetermined execution time, the reach mode combination and / or the predetermined execution time are adjusted according to the second reach state and the modal constraint relationship to determine the target reach mode combination and the target execution time, so that there is no risk of combination failure in the target reach mode combination at the target execution time. Step 206: Based on the target reach modal combination, generate the target reach task and execute it at the target execution time.
[0015] It is worth noting that when the combination stability characterization indicates that there is no risk of combination failure in the combination of reach modes at the predetermined execution time, the current reach mode combination can be determined as the target reach mode combination, and the predetermined execution time can be determined as the target execution time. Thus, based on the current candidate reach task, the corresponding target reach task can continue to be generated or determined.
[0016] In the aforementioned outreach task execution control method, by acquiring the target object's state information related to the outreach task at different time points, and determining the changes in the outreach state from task generation to execution, the execution control of the outreach task no longer relies solely on the static state at the time of task generation. Furthermore, by combining the correlation and constraints between multiple outreach modalities, the method assesses the sustainable execution level of existing outreach modal combinations at the predetermined execution time, thereby identifying the risk of failure of the original modal combination due to changes in user status, channel status, or other outreach conditions. When such risks exist, adjustments are made to the outreach modal combination and / or execution time to ensure the adjusted task arrangement is compatible with subsequent outreach states. This reduces situations such as outreach modal unavailability, inability to properly connect modalities, and failure of existing task arrangements caused by changes in the execution environment, improving the adaptability and execution reliability of pre-generated outreach tasks in the actual execution phase, and reducing invalid outreach and the resulting waste of outreach resources.
[0017] In one embodiment, determining the first reach state of the target object at a first moment includes: In response to receiving the reach pointing information, the reach pointing information is parsed to determine the target object, and the moment when the reach pointing information is received is determined as the first moment; The reach targeting information is used to indicate the target of the reach task to be performed. The reach targeting information can be sent by the customer operation system, customer relationship management system, marketing system, service notification system or other upstream business system when a reach request is generated. The reach targeting information can include one or more of the following: object identifier, business scenario identifier, and reach task identifier. For example, the object identifier can be a user account, customer number, internal index corresponding to a mobile phone number, external contact identifier of WeChat Work, or other identifiers that can uniquely or non-uniquely point to the target object. If the object identifier cannot directly and uniquely determine the target object, the target object can also be determined by combining the business scenario identifier, account mapping relationship or pre-established object index table. Obtain the object reach status data, reach resource status data, and task control status data corresponding to the target object at the first moment; Among them, target reach status data refers to data used to characterize whether the target object itself has the corresponding reach conditions, which may include, but is not limited to: the friend or follow relationship between the target object and the enterprise account, the validity status of the target object's corresponding communication account, historical message delivery status, recent reply status, unsubscribe status, reject status, do-not-disturb status, and manual service status; reach resource status data refers to data related to the software and hardware resources, account resources, or channel resources used to perform the reach operation, which may include one or more of the following: sending account availability status, message channel running status, SMS balance, outbound call line occupancy status, media material availability status, material rendering status, network connection status, and interface service status; task control status data refers to data used to restrict or control the execution of reach tasks, which may include one or more of the following: frequency control status, allowed reach time period, task validity period, silent period, complaint or unsubscribe restrictions, manual takeover status, business priority, and mutual exclusion status of similar tasks. Based on object reach status data, reach resource status data, and task control status data, determine the reach status characteristics of the target object at the first moment. The reach status characteristics include one or more of the following: object reachability characteristics, reach resource availability characteristics, and task execution constraint characteristics. Among them, the object reachability feature is used to characterize the acceptance or reachability conditions of the target object for one or more reach operations; the reach resource availability feature is used to characterize whether the resources required to perform the corresponding reach operation are currently available to support it; the task execution constraint feature is used to characterize the current reach task being restricted in terms of execution time, execution frequency, task effectiveness or other control; preferably, one original state data can correspond to one reach state feature, or multiple related original state data can be combined through rule judgment, statistical calculation or feature combination to form a reach state feature; The reach state features are encoded and combined to construct the reach state vector corresponding to the target object at the first moment, and the reach state vector is determined as the first reach state.
[0018] Preferably, the target reach status data, reach resource status data, and task control status data can be obtained in real time from the user status database, message or outbound call platform, resource management platform, task scheduling platform, frequency control platform, and business rule platform, respectively, or from the cached data pre-synchronized on the above platforms. For statuses requiring high timeliness, such as whether the sending account is online, whether the outbound call line is available, or whether the target has just unsubscribed, real-time query or event subscription methods can be prioritized; for statuses with low change frequency, database query or periodic synchronization methods can be used.
[0019] For example, for SMS outreach, reachability characteristics can be formed based on the validity status of the mobile phone number, unsubscribe status, and recent SMS rejection status; reachability resource availability characteristics can be formed based on the SMS sending channel status and SMS sending quota; and task execution constraint characteristics can be formed based on the SMS frequency control status and allowed sending time period. For telephone outreach, reachability characteristics can be formed based on the validity status of the telephone number and recent rejection status; reachability resource availability characteristics can be formed based on outbound calling lines and agent resources; and task execution constraint characteristics can be formed based on allowed outbound calling time period and outbound calling frequency limits.
[0020] Preferably, when encoding the reach status features, the corresponding encoding method can be adopted according to the data type of the feature. For example, for binary features such as "available / unavailable" and "allowed / prohibited," they can be encoded as 1 and 0 respectively; for features with multiple discrete states, one-hot encoding, enumeration encoding, or preset state mapping encoding can be used; for numerical features such as number of times, duration, and resource balance, interval scaling or normalization processing can be performed. Different reach states are combined using the same feature dimension order and the same encoding rules, so that the feature values at the same position in the reach status vector obtained at different times have the same business meaning.
[0021] Optionally, the feature dimensions and encoding rules of the reach state vector can be pre-configured in the state feature configuration table and can be updated according to the supported reach modalities or business scenarios. For example, the feature dimensions can be arranged in the order of "object class features - resource class features - task constraint class features" or arranged according to the feature sets corresponding to different reach modalities, as long as the first reach state and the subsequently formed reach states use the same feature definition and encoding method.
[0022] Specifically, in this embodiment, by determining the target object and the time reference for status acquisition upon receiving the reach direction information, and acquiring status data related to reach execution from three aspects—the object itself, reach resources, and task control—the resulting reach status can simultaneously reflect whether the target object is currently suitable for reach, whether the relevant reach resources can provide support, and the execution limitations currently imposed on the task. Furthermore, by uniformly encoding and combining status features from different sources and of different types, dispersed reach conditions can be converted into reach states with a unified representation, providing a consistent data foundation for subsequent modal filtering based on the same feature dimensions and cross-time state comparison. This reduces the reach condition judgment bias caused by dispersed status information or inconsistent representation methods, thereby improving the accuracy of subsequent reach task generation and execution control.
[0023] In one embodiment, determining multiple candidate reach modalities based on a first reach state and determining modal constraint relationships between the multiple candidate reach modalities includes: Acquire multiple preset reach modalities; Among them, the preset reach modal refers to the reach presentation form that the reach system supports in advance or allows in advance for the current business scenario; the preset reach modal can include one or more of the following: text message, image message, graphic card, link message, voice message, video message, SMS and telephone outbound call; the specific types of preset reach modals can be pre-configured according to the reach system's channel capabilities, business needs and compliance requirements, and it is not required that different business scenarios use the same set of preset reach modals; Based on the correspondence between the feature dimensions of the preset reach modal and the reach state features, the object reachability features, reach resource availability features, and task execution constraint features related to each preset reach modal are extracted from the first reach state to obtain the modal determination features corresponding to each preset reach modal. The correspondence between the preset reach modalities and the feature dimensions of reach status features is used to characterize which reach status features need to be referenced when judging whether a certain reach modal is suitable for execution. Preferably, the correspondence can be pre-established in the form of a configuration table, mapping table, rule base, or feature index set. For example, for the telephone outbound call modality, it can correspond to feature dimensions such as telephone number validity status, rejection status, outbound call line status, allowed outbound call time range, and outbound call frequency control status. For the WeChat Work graphic message modality, it can correspond to feature dimensions such as friend relationship status, WeChat Work account status, graphic material availability status, and sending frequency control status. Preferably, the above correspondence can be pre-configured by the system according to the execution preconditions of various reach modalities, or it can be updated according to the influence of different features in the historical reach tasks on the execution results of the corresponding modalities. For example, the state features that frequently occur when historical execution fails can be added to the associated feature set of the corresponding reach modalities. Based on the modality determination features corresponding to each preset reach modality, the object adaptation information, resource support information, and execution boundary information of the corresponding preset reach modality are determined respectively. Here, modality determination features refer to a set of state features selected from the first reach state to determine whether the corresponding preset reach modality can be executed; object adaptation information is used to characterize whether the corresponding reach modality is suitable from the perspective of the target object's own state, which can be a binary result of "adapted / unsuitable" or an adaptation score; resource support information is used to characterize whether the currently available reach resources can support the execution of the corresponding reach modality, and can further include the type of resources required to execute the corresponding reach modality, the number of resources, and the current availability of resources; execution boundary information is used to characterize the boundary conditions that the corresponding reach modality is allowed to execute, such as the allowed execution period, the maximum number of executions, the execution interval, the task deadline, and the conditions that need to be prioritized or postponed over other operations. Based on object adaptation information, resource support information, and execution boundary information, the executability of each preset reach mode is determined, and multiple preset reach modes that meet the execution conditions of the corresponding mode are identified as candidate reach modes. For any two candidate reach modes, the resource occupancy requirements of the two candidate reach modes are determined based on the corresponding resource support information. Based on the overlap between the resource occupancy requirements and the parallel use conditions of the corresponding reach resources, the resource connection constraints between the two candidate reach modes are determined. Among them, resource usage requirements are used to characterize the reach resources required to execute the corresponding candidate reach modality and their usage form. For example, they may include one or more of the following: sending account, message channel, material rendering service, outbound call line, agent resources, or concurrent processing resources. The overlap between resource usage requirements refers to whether two candidate reach modalities need to use the same resources or are subject to the same resource capacity limit. The conditions for parallel use of reach resources can be preset based on the concurrent processing capabilities of the corresponding resources. For example, a sending channel that supports sending multiple messages in parallel can be set to allow multiple reach modes to occupy the channel in parallel; a call line that only allows one outbound call task to be executed at a time can be set to not allow the corresponding two modes to occupy the channel in parallel. If two candidate reach modes do not have resource overlap, or if there is resource overlap but the corresponding resources allow parallel use, it can be determined that there is no corresponding resource conflict between the two. If there is resource overlap and the corresponding resources do not allow parallel use, it can be determined that the two need to be executed serially or need to meet the preset resource release interval, thus forming resource connection constraints. Based on the execution boundary information corresponding to the two candidate reach modes, the corresponding execution constraints are determined respectively, and the temporal connection constraints between the two candidate reach modes are determined according to the temporal correlation between the execution constraints. The execution constraints can be obtained from the execution boundary information of the corresponding candidate reach modalities. For example, if one candidate reach modality requires execution after another candidate reach modality has been completed, then a sequential execution constraint is formed between them; if one candidate reach modality requires execution after the previous modality has been completed for at least a preset waiting time, then a timing constraint with a minimum time interval is formed; if two candidate reach modalities do not have mutually dependent execution constraints, then it can be determined that there are no mandatory timing constraints between them; the preset waiting time can be set according to the business process, for example, it can be set to 5 minutes, 30 minutes or 1 hour, or different waiting times can be set for different modal combinations. The specific values mentioned above are for illustrative purposes only and can be determined according to the reach objective, user interaction cycle and frequency control requirements in actual implementation. Based on resource connectivity constraints and temporal connectivity constraints, the modal constraint relationship between two candidate reach modes is determined. The resulting modal constraint relationships can include one or more of the following: allowing parallel execution, requiring sequential execution, requiring interval execution, and prohibiting the formation of corresponding execution connections. These relationships can be stored using constraint matrices, relation tables, or sets of modal relationships with relation type identifiers. For two candidate reachable modalities that do not have resource conflicts and no mandatory timing restrictions, they can be marked as allowing the establishment of execution connections. For cases where there are resource conflicts or execution restriction conflicts that cannot be eliminated by adjusting the execution order, they can be marked as disallowing the establishment of corresponding execution connections.
[0024] Specifically, when determining the executability of a preset reach modality, the object adaptation information, resource support information, and execution boundary information can be checked to see if they meet the modality execution conditions configured for that preset reach modality. If all the above conditions are met, the corresponding preset reach modality is determined to be currently executable and is included as a candidate reach modality; if at least one of the necessary conditions is not met, the corresponding preset reach modality is determined to be currently unexecutable and is not included in the candidate reach modality list. For cases with optional conditions or scoring conditions, each condition can be scored separately, and the modality is determined to be executable when the overall score reaches a preset executability threshold.
[0025] The execution conditions for each preset outreach mode can be pre-set according to the actual execution requirements of that mode. For example, the execution conditions for the SMS mode can be set as follows: the mobile phone number is valid, the user is not in an unsubscribed SMS state, the SMS channel is available, and the current number of sends has not reached the corresponding frequency control limit; the execution conditions for the outbound telephone call mode can be set as follows: the phone number is valid, telephone outreach is currently permitted, there is an available outbound call line, and the current time is within the permitted outbound call time range. The above conditions and specific thresholds can be adjusted according to the business scenario, channel service capabilities, or corresponding control requirements.
[0026] Specifically, in this embodiment, by extracting object, resource, and task constraint features related to the actual execution of each preset reach modality from the reach state, the executability judgment of each reach modality can be based on state information directly related to its own execution conditions, thereby filtering out reach modalities that lack object adaptation conditions, resource support conditions, or exceed execution boundaries. Furthermore, resource-level connection constraints are determined based on the resource occupancy and resource parallelism conditions of different candidate reach modalities, and temporal sequence connection constraints are determined in conjunction with the execution constraints of each modality. This ensures that the resulting modal constraint relationships reflect the actual resource conflicts and temporal constraints that exist when multiple reach modalities are combined for execution. Therefore, it avoids directly combining reach schemes that are actually unconnectable based solely on the executability of individual modalities, providing a constraint basis for subsequently generating multimodal reach tasks with actual executability.
[0027] It is worth noting that when reaching out to a target audience through multiple channels, the same target audience may correspond to different object identifiers on different channels. When the association between object identifiers on different channels originates from historical binding records, contact information matching, or other indirect association information, even if the target audience has been identified, there may be a situation where the object identifier corresponding to a candidate channel cannot reliably point to that target audience. If the corresponding cross-channel outreach modality is still identified as a candidate outreach modality when the association between the object identifiers is unreliable, it may result in the outreach information being sent to a non-target audience, or the same target audience being reached repeatedly on multiple channels.
[0028] Therefore, in one specific embodiment, the method further includes the following steps in determining multiple candidate reach modalities based on the first reach state: Obtain the object identifiers of the target object across different outreach channels, as well as the identifier association information between different object identifiers; Based on the identifier association information, determine the confidence level of the cross-channel object identifier mapping corresponding to the target object; The confidence level of the cross-channel object identifier is determined as the reachability feature of the object associated with the corresponding cross-channel reach modality; For a preset outreach modality that needs to be executed based on the corresponding object identifier of another outreach channel, the confidence level of the corresponding cross-channel object identifier mapping is compared with the preset mapping confidence threshold. If the cross-channel object identifier mapping confidence is greater than or equal to the preset mapping confidence threshold, then the executability of the preset reach modality is determined based on the corresponding modality determination features; if the cross-channel object identifier mapping confidence is less than the preset mapping confidence threshold, then the corresponding preset reach modality is determined not to meet the object adaptation conditions.
[0029] Preferably, when redetermining the second reach state at the second moment, the cross-channel object identifier mapping confidence level corresponding to the target object can also be redetermined; if the mapping confidence level corresponding to the cross-channel candidate reach mode in the original reach mode combination decreases to below the preset mapping confidence level threshold, the corresponding change can be regarded as an adverse state change of the object reachability feature; when determining the replacement candidate reach mode, the cross-channel reach mode with a mapping confidence level lower than the preset mapping confidence level may not be determined as the replacement candidate reach mode.
[0030] The cross-channel object identifier mapping confidence level is used to characterize the degree of trustworthiness of two or more object identifiers belonging to different outreach channels corresponding to the same target object. For example, the cross-channel object identifier mapping confidence level can be determined based on one or more of the following: mobile phone number binding relationship, binding relationship between accounts on different platforms, device association information, and historical interaction correspondence; the specific confidence level determination method can be configured according to the actual supported outreach channels.
[0031] Specifically, in this embodiment, by further converting the reliability of object identifier association between different outreach channels into object reachability features, and verifying them when determining candidate outreach modalities and subsequent replacement candidate outreach modalities, it is possible to avoid directly performing cross-channel outreach when the target object identity mapping relationship is not yet reliable, simply because a certain channel has the execution conditions in terms of resources and task constraints. This can further reduce false or duplicate outreach caused by cross-channel object identifier association errors, and improve object consistency when combining and dynamically adjusting outreach modalities between different channels.
[0032] In one embodiment, an access modality combination is generated based on multiple candidate access modalities and modal constraint relationships, and a candidate access task is constructed based on the access modality combination, including: Multiple candidate reach modalities are used as modal nodes, and the modal constraint relationship is used to determine whether execution connections are allowed between different modal nodes and the connection method when execution connections are allowed. Connection edges matching the corresponding connection method are established between modal nodes that are allowed to establish execution connections, and a candidate modal orchestration diagram is obtained. The candidate modality orchestration graph is used to characterize the allowed execution connection relationships between multiple candidate reach modalities. Modal nodes correspond to candidate reach modalities, and connecting edges are used to characterize the allowed execution connections between two modal nodes. The direction of the connecting edge can be used to indicate the execution order, and the attributes of the connecting edge can be used to record connection methods such as serial, parallel, delayed execution, and corresponding minimum or maximum time intervals. For two candidate reach modalities that allow bidirectional connection, connecting edges in two directions can be established respectively, or undirected connecting edges can be established and the corresponding execution conditions can be recorded. For two candidate reach modalities that do not allow execution connection, no corresponding connecting edges are established. Obtain modality compatibility determination rules. For any two candidate reach modalities, determine the combination compatibility determination result when the two candidate reach modalities are included in the same reach modality combination based on the modality determination features corresponding to the two candidate reach modalities and the modality compatibility determination rules. The modality compatibility determination rule is used to determine whether two candidate reach modalities, although each can be executed and there is a feasible execution connection, are suitable to coexist in the same reach task. The modality compatibility determination rule can include one or more of the following: modality mutual exclusion rule, business content duplication rule, user disturbance control rule, or combined business rule. For example, in a certain business scenario, it can be pre-specified that two strong reminder modalities with the same notification function cannot be used at the same time; it can also be specified that text descriptions and corresponding graphic cards can be used together. The modality compatibility determination rule can be pre-configured by business personnel according to the business process, or it can be updated according to the execution results of different modality combinations in historical tasks. Using multiple candidate reach modalities as row and column indices respectively, the combined compatibility judgment results corresponding to any two candidate reach modalities are written into the intersection of the corresponding row and column indices to obtain the candidate modality compatibility verification matrix. The matrix elements in the candidate modality compatibility verification matrix can be represented in binary form, for example, 1 indicates that the two corresponding candidate reach modalities are compatible, and 0 indicates that they are incompatible; or they can be represented in a multi-valued form including "compatible", "conditionally compatible" and "incompatible"; for the diagonal elements corresponding to the same candidate reach modality, they can be pre-set to be compatible or not participate in the subsequent compatibility judgment. In the candidate modality arrangement graph, the combination expansion is performed according to the connecting edges. For the target modality node to be added to the current modality set, the combination compatibility judgment results of the target modality node and each existing modality node in the current modality set are obtained from the candidate modality compatibility verification matrix. If the combination compatibility determination results of the target modal node and each existing modal node are all characterized as compatible, then the target modal node is added to the current modal set, and the combination expansion continues along the candidate modal arrangement graph based on the updated current modal set; If at least one combination compatibility determination result indicates incompatibility, then the combination expansion along the target modal node is terminated; The current modality set after the combination expansion is determined as the reach modality combination, and the execution orchestration information of each candidate reach modality in the reach modality combination is determined according to the connection edge corresponding to the reach modality combination and the connection method corresponding to the connection edge in the candidate modality orchestration diagram. Candidate outreach tasks are constructed based on the combination of outreach modalities and the corresponding execution orchestration information; The execution orchestration information may include the execution order of each candidate reach modality, parallel relationships, waiting time between adjacent modalities, and the reach resources used accordingly. When constructing candidate reach tasks based on reach modality combinations and execution orchestration information, the target object identifier, task identifier, business content, scheduled execution time, and task validity period can be further associated to form candidate reach tasks that can be executed or adjusted by the subsequent task scheduling module.
[0033] Specifically, when the target modal node to be added is compatible with all existing modal nodes in the current modal set, the target modal node is added to the corresponding current modal set. When the target modal node is incompatible with at least one existing modal node, only the current extension branch containing the target modal node is terminated, and other target modal nodes can continue to be tried along other connecting edges corresponding to the current modal set, without having to terminate the combinatorial search of the entire candidate modal orchestration graph. Thus, other extension paths that may still form valid combinations can be preserved.
[0034] Optionally, when a current modality set does not have a target modality node that can be added while simultaneously satisfying the execution connection and compatibility conditions, it can be determined that the current modality set has completed the combination expansion. If multiple current modality sets that have completed the combination expansion are obtained through different search branches, they can be used as reach modality combinations respectively. Alternatively, they can be further sorted according to the number of modalities, business priority, expected reach effect, or expected resource consumption, and one or more reach modality combinations can be selected from them to construct candidate reach tasks.
[0035] Specifically, the decision items required for the rules can be extracted from the object adaptation information, resource support information, execution boundary information, and corresponding business attributes of the two candidate reach modalities, and then matched with the modal compatibility decision rules in sequence. When there are no rules that cause the two to be mutually exclusive or the conditions for common use are met, the combined compatibility decision result is determined to be compatible; when any rule prohibiting common use is hit or the necessary conditions for common use are not met, the combined compatibility decision result is determined to be incompatible.
[0036] Preferably, during the combination expansion, a current modality set can be established from one or more starting modality nodes in the candidate modality orchestration graph, and the next modality node that can continue to be executed can be searched along the corresponding connecting edge. The starting modality node can be specified according to the business process, or multiple nodes in the candidate modality orchestration graph can be used as starting nodes for combination search to obtain one or more reach modality combinations.
[0037] Specifically, in this embodiment, by organizing candidate reach modalities and their allowed execution connections into a candidate modal orchestration diagram, the execution order and connection methods between multiple reach modalities can be made explicit. Simultaneously, by pre-determining the compatibility of any two candidate reach modalities included in the same combination and forming a compatibility verification matrix, it is possible to quickly determine whether newly added reach modalities conflict with existing modalities during the combination expansion process. Therefore, while progressively expanding the modal combination along the allowed execution connections, the modal compatibility within the combination is simultaneously verified, avoiding the generation of combinations that satisfy local connections but contain mutually exclusive or incompatible modalities. Furthermore, by determining the execution orchestration of each modality based on the connection relationships of the final combination in the orchestration diagram, the constructed candidate reach task can simultaneously possess suitable modal structure and clear execution connections, thereby improving the executability of the multimodal reach task generation results and reducing the possibility of modal conflicts, connection anomalies, or execution disorder during subsequent execution.
[0038] In another embodiment, when constructing candidate outreach tasks based on outreach modality combinations and corresponding execution orchestration information, the outreach state version identifier corresponding to the first outreach state can also be recorded; when determining the second outreach state corresponding to the target object at the second time, the outreach state version identifier corresponding to the second time can be obtained synchronously, and whether there is an outreach state update between the first time and the second time can be determined based on the outreach state version identifiers corresponding to the first time and the second time.
[0039] Specifically, when the two reach status version identifiers are different, the changed reach status features can be further determined based on the corresponding status update records, and the corresponding feature dimension can be used as the priority comparison dimension when comparing the status differences between the first reach status and the second reach status; when the two reach status version identifiers are the same, the second reach status can still be determined according to the preset status verification strategy to verify the reach conditions corresponding to the current candidate reach task.
[0040] The reach status version identifier is used to characterize the update order or update result of the reach status of the target object. The reach status version identifier can be represented by an incrementing version number, a status update event sequence number, a status update timestamp, or a status summary generated based on multiple reach status features.
[0041] In one embodiment, a second reach state of the target object is determined at a second time, and reach state change information corresponding to the target object is generated based on the state difference between the first reach state and the second reach state, including: Determine the second time point, which is later than the first time point; The second moment can be the status verification moment after the candidate outreach task is generated. The second moment can be determined according to a preset cycle, or it can be triggered by an event that changes the outreach-related status. It can also be set before the scheduled execution time of the candidate outreach task. For example, the outreach status can be reacquired every 10 minutes or 30 minutes. Alternatively, when events such as target object reply, unsubscribe, channel abnormality, material status change, frequency control status change, or manual takeover are detected, the moment when the corresponding event occurs or is received by the system can be determined as the second moment. Preferably, when it is necessary to predict the combined stability of the candidate outreach task at the scheduled execution time, the second moment is no later than the scheduled execution time, so that the status change can be deduced based on the remaining time between the second moment and the scheduled execution time. The time length between the second moment and the first moment can be configured according to the business scenario and the speed of related status changes. For businesses with faster status changes, the status verification cycle can be shortened. Obtain the object reach status data, reach resource status data, and task control status data corresponding to the target object at the second moment; Among them, the object reach status data, reach resource status data and task control status data corresponding to the second moment can be obtained in the same data source and acquisition method as the first moment; for user replies, resource anomalies, frequency control occupation or manual takeover events that are newly generated between the first moment and the second moment, they can also be obtained through event logs, message receipts or status change records and used to update the status data corresponding to the second moment; Based on the object reach status data, reach resource status data and task control status data corresponding to the second time, the object reachability characteristics, reach resource availability characteristics and task execution constraint characteristics corresponding to the second time are determined respectively, and the reach status characteristics of the target object corresponding to the second time are obtained. Using the same encoding and combination method as the first reach state, the reach state features corresponding to the second time are encoded and combined to construct the reach state vector of the target object at the second time and determine it as the second reach state. In this context, following the same encoding and combination method as the first reach state means using the same feature definition, feature arrangement order, state value mapping rules, and numerical normalization rules to form the second reach state, thereby ensuring that the feature values in the same feature dimension in the first reach state and the second reach state describe the same type of reach conditions. The feature values corresponding to the same feature dimensions in the first and second reach states are compared to determine multiple target feature dimensions that have undergone state changes, and the direction and amount of state change corresponding to each target feature dimension are determined. Based on the reach state features of each target feature dimension, as well as the direction and amount of state change corresponding to each target feature dimension, reach state change information corresponding to the target object is generated.
[0042] Specifically, when determining the target feature dimension, the feature values of the first and second reach states on the same feature dimension can be compared one by one. If the two feature values are the same or their difference does not exceed the change tolerance preset for that feature, it can be determined that no effective state change has occurred in that feature dimension; if the two feature values are different or their difference exceeds the corresponding change tolerance, then that feature dimension is determined as the target feature dimension.
[0043] Specifically, for continuous numerical features, the state change can be determined based on the numerical difference between the corresponding feature value at the second time step and the corresponding feature value at the first time step, and the direction of the state change can be determined based on whether the value increases or decreases. For binary or discrete state features, numerical codes can be pre-configured for different states, and the corresponding change can be determined based on the change in the state code. The direction of the state change from the original state to the new state can be recorded. For example, a change from "resource available" to "resource unavailable" can be recorded as a change in a direction unfavorable to reaching execution, and a change from "frequency control restricted" to "frequency control released" can be recorded as a change in a direction favorable to reaching execution.
[0044] Optionally, for features with different dimensions, the state change quantities can be further scaled according to the corresponding feature's value range or historical change range before being used in subsequent calculations. The feature's variation tolerance and value range can be set based on business experience or determined based on the statistical distribution of historical state data. For example, for discrete state features, the variation tolerance can be set to zero; for continuous state features with acquisition noise, the variation tolerance can be set to its normal fluctuation range.
[0045] Preferably, the reach state change information can be represented in the form of a change feature list, a change state vector, or a set of state change records. Each change record may include a target feature dimension identifier, the reach state feature category to which it belongs, the direction of the state change, and the amount of the state change. If there are no feature dimensions between the first reach state and the second reach state that meet the change judgment condition, the reach state change information can be marked as having no valid state change, and the corresponding state disturbance can be determined as zero or processed according to a preset stability processing method in subsequent stability calculations.
[0046] Specifically, in this embodiment, the object state, resource state, and task control state are acquired again at a later time than the initial state acquisition time. The subsequent reach state is formed using the same feature extraction and encoding method as the initial reach state, ensuring that the reach states at two different times have a unified feature basis for direct comparison. Based on this, corresponding comparisons of the values of the same feature dimensions not only identify which reach conditions have changed but also further determine the direction and degree of each change. This transforms the dynamic changes in the reach environment after task generation from a general state update into state change information that can be located down to specific feature dimensions. Therefore, it provides a more refined basis for judging which changes may affect existing reach modal combinations and the degree of impact, avoiding the need to control subsequent task execution solely based on a static state at a single moment, and improving the system's ability to perceive environmental changes after task generation.
[0047] In one embodiment, the combination stability of the reach mode combination corresponding to the candidate reach task is determined based on the reach state change information and the time interval between the second time and the predetermined execution time, including: Extract multiple target feature dimensions and the corresponding state change amount for each target feature dimension from the reach state change information; Based on the time interval between the first and second moments and the state change corresponding to each target feature dimension, determine the state change per unit time corresponding to each target feature dimension. The unit-time state change is used to characterize the degree of state change per unit time for the corresponding target feature dimension during the period from the first time point to the second time point. Specifically, for any target feature dimension, the ratio of the state change corresponding to that target feature dimension to the time interval between the first and second time points can be determined as the corresponding unit-time state change. The time interval between the first and second time points can be uniformly converted into seconds, minutes, hours, or other preset time units so that different target feature dimensions are calculated using the same time scale. For example, if there is a 20-minute interval between the first and second time points, and the remaining resource for a certain reachable resource decreases by 20 resource units during this time period, then the unit-time state change corresponding to that target feature dimension is 1 resource unit per minute. Based on the unit time state change corresponding to each target feature dimension and the time interval between the second time and the predetermined execution time, the predicted state change corresponding to each target feature dimension is determined, and the predicted state change is normalized to obtain the predicted state perturbation value corresponding to each target feature dimension. Specifically, for any target feature dimension, the unit-time state change corresponding to that target feature dimension can be multiplied by the time interval between the second time point and the predetermined execution time, and the result is determined as the predicted state change corresponding to that target feature dimension. That is, the average state change rate actually observed during the first time point to the second time point is used as a reference for the subsequent state change rate, and the expected degree of state change generated by the target feature dimension is calculated based on the remaining time between the second time point and the predetermined execution time. For example, if a certain reachable resource balance decreases by 20 resource units within 20 minutes from the first time point to the second time point, its unit-time state change is 1 resource unit per minute, and the second time point is still some time away from the predetermined execution time... If there are 15 minutes, the corresponding predicted state change can be determined to be 15 resource units. Combining this with the state change direction corresponding to the target feature dimension, it can be determined that the remaining reachable resources are expected to continue to decrease by 15 resource units. It should be noted that the above prediction method is based on the average state change observed from the first time to the second time, and estimates the possible state changes from the second time to the predetermined execution time. It does not require the corresponding state feature to change strictly in a linear manner over the entire time range. Optionally, if there are multiple historical state sampling times, the average state change per unit time can be determined based on the state change corresponding to multiple adjacent sampling times, and then the predicted state change can be determined accordingly. The process involves normalizing the predicted state change to eliminate the impact of differences in the units and value ranges of different target feature dimensions. Preferably, a preset change reference value can be set for each target feature dimension, and the predicted state change can be mapped to a unified numerical range, such as 0 to 1, based on the ratio between the predicted state change and the corresponding preset change reference value, to obtain the predicted state disturbance value. Specifically, when using 0 to 1 as the normalization range, the ratio of the predicted state change to the corresponding preset change reference value can be determined as the predicted state disturbance value; when the ratio is greater than 1, the predicted state disturbance value is set to 1. The preset change reference value can be pre-set based on the effective value range of the corresponding state feature, the business-allowed change range, or historical state change data. For example, the state change amplitude corresponding to when a historical outreach task begins to significantly affect the normal execution of the corresponding outreach modality can be determined as the preset change reference value. Preferably, the predicted state perturbation value can also be determined by combining the state change direction corresponding to the target feature dimension; when the corresponding state change direction is unfavorable to reaching execution, the corresponding predicted state perturbation value is determined according to the predicted state change amount; when the corresponding state change direction is favorable to reaching execution, the corresponding predicted state perturbation value can be reduced or set to a preset small value. For example, a decrease in the availability of reaching resources, a reduction in the number of remaining resources, or an increase in task execution restrictions can be identified as a change direction unfavorable to reaching execution; the recovery of reaching resources or the removal of task execution restrictions can be identified as a change direction favorable to reaching execution. Obtain the correspondence between the feature dimensions of the preset reach modal and the reach state features, and determine the candidate reach modal related to each target feature dimension in the reach modal combination based on the correspondence; Among them, the candidate reach mode related to the target feature dimension refers to the candidate reach mode whose execution conditions are affected by the target feature dimension according to the correspondence between the feature dimensions of the preset reach mode and the reach status feature, and which has been included in the current reach mode combination. For example, when the target feature dimension is the availability of outbound call lines, the candidate reach mode related to the target feature dimension may include the telephone outbound call mode that depends on the corresponding outbound call line, while the text message mode that does not depend on the outbound call line may not belong to the candidate reach mode related to the target feature dimension. The combination correlation degree corresponding to each target feature dimension is determined based on the number of candidate reach modalities corresponding to each target feature dimension and the total number of candidate reach modalities in the reach modal combination. The combination correlation degree is used to characterize the range of influence of a change in the state of a corresponding target feature dimension on the current reach modality combination. Specifically, for any target feature dimension, the ratio between the number of candidate reach modalities related to that target feature dimension in the reach modality combination and the total number of candidate reach modalities in the reach modality combination can be determined as the corresponding combination correlation degree. For example, if a reach modality combination includes 4 candidate reach modalities, and 3 of them are related to a certain target feature dimension, then the combination correlation degree corresponding to that target feature dimension can be determined as 3 / 4. Thus, target feature dimensions that are related to more candidate reach modalities within the combination have a higher combination correlation degree. The combined correlation degree corresponding to each target feature dimension is used as the aggregation weight of the corresponding predicted state perturbation value. The combined state perturbation value corresponding to the reach mode combination is obtained by aggregating and calculating each predicted state perturbation value. Specifically, the predicted state perturbation values can be weighted and aggregated according to the combined correlation degree corresponding to each target feature dimension, so that the target feature dimensions that can influence more candidate reach modalities have a higher degree of influence in the combined state perturbation values. Preferably, the combined correlation degree corresponding to each target feature dimension can be weighted and normalized first, and then each predicted state perturbation value can be multiplied by the corresponding normalized weight, and the sum of the products can be determined as the combined state perturbation value. Alternatively, the product of each predicted state perturbation value and the corresponding combined correlation degree can be calculated separately, and the ratio of the sum of the products to the sum of all combined correlation degrees can be determined as the combined state perturbation value. If there is no target feature dimension that has undergone effective state change, or if the target feature dimensions that have undergone state change are all unrelated to the candidate reach modes in the current reach mode combination, then the combined state perturbation value can be determined as the preset minimum perturbation value, such as 0. The combined state disturbance values are reverse normalized to obtain the combined stability value corresponding to the reached mode combination, and the combined stability value is determined based on the combined stability value.
[0048] The reverse normalization process transforms the evaluation direction of "the larger the value, the more obvious the state disturbance" corresponding to the combined state disturbance value into the evaluation direction of "the larger the value, the higher the degree of combined stability" corresponding to the combined stable value. Specifically, when the combined state disturbance value is in the range of 0 to 1, the difference between 1 and the combined state disturbance value can be determined as the combined stable value. For example, when the combined state disturbance value is 0.2, the corresponding combined stable value is 0.8; when the combined state disturbance value is 0.8, the corresponding combined stable value is 0.2. Thus, the larger the combined state disturbance, the lower the corresponding combined stable value; the smaller the combined state disturbance, the higher the corresponding combined stable value. For cases where the combined state disturbance value uses other numerical ranges, a normalization mapping method that is monotonically inverse to the combined state disturbance value can also be used to transform it to a preset combined stable value range.
[0049] Specifically, in this embodiment, the unit-time change of each change feature is determined by utilizing the degree of state change between two state acquisition times, and the potential state disturbances of the corresponding features are estimated in conjunction with the remaining time before the predetermined execution time. This allows the assessment of the execution risk of the outreach task to consider not only the state changes that have already occurred, but also the potential impact of these changes continuing to the actual execution time. Furthermore, the corresponding weights are determined based on the correlation range between each state feature and different modes in the outreach modality combination, so that state changes related to more modes within the combination have a greater impact on the overall stability evaluation, thereby differentially aggregating the impact of different state changes on the entire modality combination. In addition, the combination stability is obtained based on the aggregated state disturbances, which can transform the dynamic changes scattered across multiple state dimensions into an overall evaluation result that can characterize the ability of the existing modality combination to remain effective at the predetermined execution time. This allows for a more accurate identification of the risk that the modality combination may fail due to continuous changes in the outreach environment, providing a basis for proactively adjusting the outreach task before execution.
[0050] In one embodiment, determining the combinatorial stability of the reach mode combination based on the combinatorial stability value includes: Obtain the stability threshold for the combination and compare the stable value of the combination with the stability threshold. If the combination stability value is greater than or equal to the combination stability determination threshold, then the combination stability characterization indicates that there is no risk of combination failure at the predetermined execution time; If the combined stability value is less than the combined stability determination threshold, then the combined stability characterization indicates that the reached modal combination has a risk of combined failure at the predetermined execution time.
[0051] The combination stability assessment threshold is used to distinguish between stable regions where the current reach modality combination can continue to execute according to the predetermined plan and risky regions where task adjustments are required. The combination stability assessment threshold can be preset based on the execution results of historical reach tasks, the business's tolerance for reach failures, and the task's importance level.
[0052] For example, when the combined stability value is normalized to the range of 0 to 1, the combined stability judgment threshold can be set to 0.6, 0.7, or other suitable values. For important service notifications or outreach tasks with high reliability requirements, a relatively high combined stability judgment threshold can be set; for ordinary marketing tasks that allow for some performance fluctuations, a relatively low combined stability judgment threshold can be set. The specific thresholds mentioned above are merely examples and do not constitute a limitation on the implementation of this application.
[0053] Preferably, the stability threshold for combination can also be determined based on historical task data. For example, the actual success rate of reaching tasks or the failure rate of combinations corresponding to different stable value ranges can be statistically analyzed, and a stable value that makes the actual combination failure rate meet the preset risk requirements can be selected as the stability threshold for combination. Different stability thresholds for combination can also be set for different business scenarios, different combinations of reaching modalities, or different task levels.
[0054] In this embodiment, when the combined stability value is greater than or equal to the combined stability judgment threshold, the current reach modality combination and the predetermined execution time can be maintained, and the original candidate reach tasks can continue to be executed or the process can continue to wait until the predetermined execution time. When the combined stability value is less than the combined stability judgment threshold, the subsequent reach modality combination adjustment and / or execution time adjustment process is triggered. Thus, adjustment is initiated only when the state change has caused the current combination to reach a preset risk level, without the need to indiscriminately reconstruct all candidate reach tasks.
[0055] Optionally, for candidate reach tasks that are still a long time away from the scheduled execution time and for which there is no risk of failure in the current combination, subsequent stability tests can continue to be performed according to the preset state review cycle to continuously detect newly generated state changes before the scheduled execution time.
[0056] Specifically, in this embodiment, by setting a unified combination stability judgment benchmark and comparing the calculated combination stability with the benchmark, the continuously changing combination stability evaluation results can be converted into a clear judgment result indicating whether there is a risk of combination failure. As a result, the system can make a deterministic judgment on whether the existing combination of reach modes is still suitable for execution according to the predetermined arrangement before the candidate reach task is actually executed, without waiting for a reach mode to fail before taking action. This provides a clear trigger condition for whether to initiate task adjustment in the future, which helps to reduce task failure, execution delay or invalid reach caused by the failure to process state changes in a timely manner.
[0057] In one embodiment, based on the second reach state and modal constraint relationship, the reach modality combination and / or the predetermined execution time are adjusted to determine the target reach modality combination and the target execution time, so that the target reach modality combination has no risk of combination failure at the target execution time, including: Based on the predicted state perturbation value corresponding to the target feature dimension associated with each candidate reach modality in the reach modality combination, determine the perturbation aggregation value corresponding to each candidate reach modality, and determine the adjustment order corresponding to each candidate reach modality in descending order of perturbation aggregation value; The perturbation aggregation value is used to characterize the comprehensive impact of predicted state changes on the normal execution of the corresponding candidate reach modality. Specifically, based on the correspondence between the feature dimensions of the preset reach modality and reach state features, one or more target feature dimensions associated with each candidate reach modality can be determined, and the predicted state perturbation values corresponding to the associated target feature dimensions can be summed, averaged, or weighted to obtain the perturbation aggregation value of the corresponding candidate reach modality. The larger the perturbation aggregation value, the more significant the impact of predicted state changes on the corresponding candidate reach modality, and therefore it has a higher adjustment priority. Preferably, when performing weighted aggregation, modality sensitivity weights can be preset according to the degree of influence of different state features on the normal execution of the corresponding candidate reach modality. For example, for the telephone outbound call modality, a relatively high modality sensitivity weight can be set for the availability of outbound call lines. If the perturbation aggregation values corresponding to multiple candidate reach modalities are the same, the corresponding adjustment order can be further determined according to business priority, resource consumption level, or original execution order. Based on the second reach status, the executability of candidate reach modes that are not included in the reach mode combination among multiple candidate reach modes is determined, and the determination result is characterized as an executable candidate reach mode and determined as a replacement candidate reach mode; Specifically, following the aforementioned method of determining the executability of preset reach modes based on reach status, the candidate reach modes not adopted by the original reach mode combination can be re-determined based on the second reach status to see if they meet the corresponding mode execution conditions. If they meet the corresponding mode execution conditions, they are determined as replacement candidate reach modes. If they do not meet at least one necessary mode execution condition, they are not determined as replacement candidate reach modes, thereby matching the subsequent candidate reach modes used for replacement with the actual reach conditions corresponding to the second time. The reachable modes to be adjusted are determined sequentially according to the adjustment order. Under the condition of satisfying the modal constraint relationship, the reachable modes to be adjusted are deleted or replaced by alternative candidate reachable modes to obtain multiple combinations of modes to be verified. The reach modalities to be adjusted refer to the candidate reach modalities currently selected for deletion or replacement according to the adjustment order. Specifically, for deletion, the reach modalities to be adjusted can be removed from the current reach modal combination. For replacement, a replacement candidate reach modal can be used to replace the corresponding reach modalities to be adjusted, and the resource connection constraints and timing connection constraints between the candidate reach modalities after adjustment are verified according to the modal constraint relationship. If the adjusted modal combination satisfies the modal constraint relationship, it is determined as the modal combination to be verified. If there are resource conflicts, timing conflicts, or no effective execution connection can be formed after adjustment, the corresponding adjustment result is not determined as the modal combination to be verified. Furthermore, when an adjustment result satisfying the modal constraint relationship cannot be obtained for the current reaching modality to be adjusted, the next candidate reaching modality can be selected for adjustment according to the adjustment order; when multiple adjustment results satisfying the modal constraint relationship are obtained, corresponding modal combinations to be verified can be formed respectively; furthermore, subsequent candidate reaching modalities can be adjusted according to the adjustment order based on the existing adjustment results to form multiple modal combinations to be verified with different modal adjustment numbers; preferably, the original reaching modal combination that has not undergone modal deletion or replacement can also be used as one of the modal combinations to be verified, so that the original reaching modal combination can participate in subsequent stability verification when only the predetermined execution time is adjusted; Based on the task execution constraint characteristics corresponding to the second reach state, the allowable execution time range corresponding to the candidate reach task is determined, and the combination stability value of each modality combination to be verified is determined at multiple moments within the allowable execution time range. The allowed execution time range refers to the time range within which the candidate reachable task can be executed subsequently, based on the task execution constraints corresponding to the second moment. Specifically, the corresponding executable time intervals can be determined according to the task validity period, allowed reachable time period, frequency control restrictions, silent period, and other task execution constraints with time attributes, and the intersection of each executable time interval is determined as the allowed execution time range. For example, if the task validity period ends at 20:00 on the same day, the allowed reachable time is from 9:00 to 18:00 on the same day, and the current frequency control restriction is lifted at 15:00 on the same day, then the allowed execution time range can be determined to be from 15:00 to 18:00 on the same day. If the execution time constraints do not have a common executable time interval, then it is determined that there is currently no allowed execution time range, and the current candidate reachable task can be paused or terminated. Preferably, multiple times to be verified can be selected within the allowed execution time range according to a preset time step. The preset time step can be pre-set according to the execution time accuracy of the task, for example, it can be set to 5 minutes, 10 minutes or 30 minutes; the start time, end time, frequency control release time or expected recovery time of the accessed resource within the allowed execution time range can also be determined as times to be verified. Specifically, for any combination of modes to be verified and any time to be verified, the time to be verified can be taken as the execution time to be predicted. According to the aforementioned method for determining the stable value of the combination, the corresponding predicted state change and predicted state disturbance value are determined based on the time interval between the second time and the time to be verified. In combination with the correspondence between each candidate reaching mode and the target feature dimension in the combination of modes to be verified, the stable value of the combination of modes to be verified at the time to be verified is determined. Based on the stability values of each combination and the stability judgment threshold of the combination, candidate execution time ranges in which each modal combination to be verified has no risk of combination failure are determined from the allowable execution time range; Specifically, for any combination of modes to be verified, if the stability value of the combination at a certain verification time is greater than or equal to the stability threshold, it is determined that the combination of modes to be verified does not have a risk of failure at that verification time, and the verification time is determined as a candidate execution time; if the corresponding stability value is less than the stability threshold, it is determined that there is a risk of failure at that verification time, and the verification time is not determined as a candidate execution time; for multiple consecutive candidate execution times, the time interval covered by the corresponding consecutive times can be determined as the candidate execution time range; if there are multiple non-contiguous stable time intervals, multiple candidate execution time ranges can be obtained accordingly. If a modal combination to be verified does not have a candidate execution time that meets the stability criteria within the allowed execution time range, then it is determined that the modal combination to be verified does not have a candidate execution time range and is excluded from subsequent target schemes; if none of the currently obtained modal combinations to be verified have a candidate execution time range, then the range of modalities to be adjusted can be expanded according to the adjustment order, or other alternative candidate modes can be used to form a new modal combination to be verified and re-verified; if there is still no modal combination and execution time that meets the stability requirements within the preset adjustable range, then the current candidate reaching task can be paused or terminated. Determine the modal adjustment quantity of each modal combination to be verified relative to the reaching modal combination within the candidate execution time range, and determine the target reaching modal combination and target execution time from the modal combinations to be verified and their corresponding execution times within the candidate execution time range based on the modal adjustment quantity and the time offset between each execution time within the candidate execution time range and the predetermined execution time. The modality adjustment quantity is used to characterize the degree of modality change of the modality combination to be verified relative to the original reach modality combination, and can be determined according to the number of candidate reach modalities deleted and / or replaced; for example, deleting a candidate reach modality or replacing an original candidate reach modality with another candidate reach modality can be recorded as one modality adjustment; the time offset is used to characterize the degree of time change of the candidate execution time relative to the predetermined execution time, and the absolute value of the time difference between the candidate execution time and the predetermined execution time can be determined as the corresponding time offset.
[0058] Specifically, when multiple modal combinations to be verified and their corresponding execution times all meet the combination stability requirements, the modal combination to be verified with fewer modal adjustments can be selected first. When the number of modal adjustments is the same, the candidate execution time with the smaller time offset from the predetermined execution time can be selected. The corresponding modal combination to be verified is determined as the target reaching modal combination, and the corresponding candidate execution time is determined as the target execution time. Thus, while meeting the combination stability requirements, changes to the original reaching modal combination and the original predetermined execution time can be minimized. Preferably, adjustment cost weights can be set for the number of modal adjustments and the time offset, respectively. After unifying the scales of the two, they can be weighted and aggregated to obtain the scheme adjustment costs for different combinations of modalities to be verified and their corresponding candidate execution times. The scheme with the smaller adjustment cost can then be selected from the schemes that meet the combination stability requirements. The adjustment cost weights can be pre-configured according to specific business requirements. For example, for tasks with high execution time requirements, the weight corresponding to the time offset can be increased. For tasks where it is not advisable to change the modal composition, the weight corresponding to the number of modal adjustments can be increased. Optionally, after determining the target reach modality combination and the target execution time, the corresponding execution orchestration information can be re-determined based on the modal constraint relationship between each candidate reach modality in the target reach modality combination, and the candidate reach tasks can be updated using the target reach modality combination, the target execution time, and the corresponding execution orchestration information, so as to perform reach according to the adjusted task arrangement.
[0059] Specifically, in this embodiment, by determining the adjustment priority based on the degree to which each reach modality is affected by changes in the predicted state, reach modalities that have a greater impact on the stability of the current modality combination can be prioritized, thereby improving the targeting of combination adjustments. Simultaneously, based on the latest reach state, it is re-evaluated whether candidate modalities not adopted by the original combination still have executable conditions, allowing them to serve as replacement sources for the original high-risk modalities. Under existing modality constraints, multiple feasible combinations to be verified are formed through deletion or replacement, thereby avoiding the introduction of new resource conflicts or timing conflicts during the adjustment process. Based on this, the allowed execution time range is determined in conjunction with the current task execution constraints, and different modality combinations are processed within this timeframe. By verifying the stability within the scope, we can simultaneously identify task arrangements without the risk of combined failure from two dimensions: "which reach modalities to use" and "when to execute". Further, by comprehensively considering the number of modal adjustments and the time offset relative to the original scheduled execution time, we can select the final solution. This can reduce the risk of combined failure while minimizing unnecessary changes to the original reach modal structure and the original execution plan. Therefore, when the reach environment changes, we can make targeted adaptive corrections to the pre-generated reach tasks, improve the matching degree between the adjusted tasks and the current and subsequent reach conditions, and reduce the waste of reach resources caused by modal unavailability, connection failure, task delay, and repeated task reconstruction.
[0060] In one specific embodiment, corresponding replacement priority relationships can be pre-set for different candidate outreach modalities. When there are multiple executable replacement candidate outreach modalities for a certain outreach modality to be adjusted, the order of trying the corresponding replacement candidate outreach modalities can be determined according to the replacement priority relationship. For example, when the material corresponding to the graphic card cannot be used normally, text messages and link messages can be used as replacements first; when the outbound call outreach resource is unavailable, SMS or instant messaging message modalities that still meet the execution conditions can be tried first.
[0061] In one specific embodiment, when a candidate outreach task temporarily lacks an outreach modality combination and execution time that meets the execution conditions due to target object unsubscribing or complaints, frequency control restrictions, outreach resource anomalies, manual takeover, or other state changes that can be recovered later, the candidate outreach task can be set to a suppressed state, and the corresponding suppression reason and recovery conditions can be recorded. When the corresponding recovery conditions are detected to be met, the second outreach state is re-determined based on the updated object outreach state data, outreach resource state data, and task management state data, and the combination stability judgment and / or outreach task adjustment process is re-executed. For example, the suppressed state can be implemented through a task state field, delayed task records, or a task suppression queue; the recovery conditions may include the removal of frequency control restrictions, restoration of outreach resources, end of manual takeover, or the target object re-allowing the receipt of the corresponding type of outreach information.
[0062] It's worth noting that even if the reach modality combination corresponding to a candidate reach task meets the corresponding execution conditions during stability verification, the relevant reach resources may still be occupied by other concurrent tasks before the server actually executes the reach task. For example, in scenarios involving batch outbound calls, centralized message sending, or multiple reach tasks sharing the same resource pool, multiple tasks may complete stability verification simultaneously within a similar timeframe and determine that they themselves do not have a risk of combination failure based on the available resource status at that time. However, during actual execution, because some lines, sending quotas, message channels, or other shared resources have already been occupied by tasks executed earlier, the reach modality combination corresponding to the later-executed task may still experience resource shortages or resource conflicts again. Therefore, there may still be inconsistencies between the stability judgment result and the actual task execution due to concurrent resource contention.
[0063] Therefore, as Figure 3 As shown, in a preferred embodiment, after generating the target reach task based on the target reach modality combination and before executing the target reach task at the target execution time, the method further includes: Step 301: Based on the resource requirements corresponding to each target reach mode in the target reach mode combination, determine the reach resources to be retained and the resource requirements corresponding to the target reach mode combination. Step 302: Determine the resource retention time range for each resource to be retained based on the target execution time and the execution sequence corresponding to each target reach mode; Step 303: Generate a resource retention request based on the resources to be retained, the resource demand, and the resource retention time range, and determine the resource retention result corresponding to each resource to be retained. Step 304: When the resource retention results corresponding to each resource to be retained meet the resource occupancy requirements of the target reach modality combination, associate the corresponding resource retention results with the target reach task, and execute the target reach task according to the target execution time. Step 305: When the resource retention result corresponding to at least one reachable resource cannot meet the corresponding resource occupancy requirements, update the reachable resource status data according to the resource retention result, and redetermine the combination stability of the current reachable modality combination to be executed, or readjust the reachable modality combination and / or target execution time.
[0064] Among them, the resources to be reserved for outreach refer to the shared resources that the target outreach modal combination needs to occupy when it is actually executed near the target execution time and can be affected by competition from other outreach tasks. These resources may include outbound call lines, the number of concurrent sessions, message sending quotas, available quotas corresponding to outreach accounts, API call quotas, or other execution resources with quantity limits. Resources that do not have obvious concurrent competition attributes may not be reserved.
[0065] The resource retention time range is used to characterize the effective time interval during which the corresponding reach resources are reserved in advance for the current candidate reach task. Specifically, the resource retention time range can be determined based on the target execution time and the start and end times of the expected resource occupancy of the corresponding target reach mode. A preset buffer time can be added before and / or after the expected resource occupancy time to reduce the possibility of premature release of resources due to task scheduling errors.
[0066] Specifically, the server can determine whether it can meet the resource requirements of the current candidate outreach task based on the number of resources that are not currently occupied or reserved by other tasks for each resource to be reserved. If it can, the server can reserve the corresponding number of resources for the candidate outreach task from the corresponding resource pool and generate a resource reservation identifier associated with the candidate outreach task; if it cannot, the server can return a resource reservation failure result or the actual number of resources that can be reserved.
[0067] Preferably, the resource reservation identifier can be represented by a resource lock identifier, a resource lease identifier, or other identifier information that can associate candidate outreach tasks with reserved resources, and a corresponding validity period can be set. When a candidate outreach task starts execution normally, the corresponding reserved resources can be used according to the resource reservation identifier; when a candidate outreach task is completed, canceled, or has not been executed after the resource reservation validity period expires, the corresponding reserved resources can be released, allowing it to re-participate in the resource allocation of other outreach tasks.
[0068] For example, the target outreach modal combination includes a telephone outbound call modal and an SMS modal, with the target execution time being 15:00. The telephone outbound call requires one concurrent outbound call line slot, and the SMS modal requires the corresponding message account's sending quota. After determining that there is no risk of combination failure for this target outreach modal combination, the server can further request to reserve the corresponding concurrent outbound call line resources and SMS sending resources for this candidate outreach task within the time range corresponding to the target execution time. If the outbound call line resources can be successfully reserved, but the SMS sending quota has been reserved by other concurrent tasks to the point that it is insufficient to meet the current task, the server can re-evaluate the stability based on the new SMS resource status and attempt to change the SMS modal or adjust the target execution time to a time when the corresponding sending quota can be restored.
[0069] The resource retention result refers to the confirmation result of whether the resources to be retained can be provided to the current candidate outreach task according to the corresponding resource requirements and retention time range. It can include states such as successful retention, partial retention, or retention failure. For partial retention results, if the actual number of retained resources still meets the minimum execution resource requirements of the corresponding outreach modality, it can be regarded as meeting the resource occupancy requirements; if it is lower than the minimum execution resource requirements, it can be determined that the corresponding resource retention result does not meet the execution requirements of the target outreach modality combination.
[0070] Specifically, in this embodiment, by reserving the reach resources with concurrent competition attributes in relation to the task execution time after the target reach modal combination and target execution time have been determined but before the actual execution of the reach task, the resource availability conditions based on the combination stability judgment stage can be extended to the actual task execution stage to a certain extent. This reduces the possibility that other concurrent reach tasks will preempt related resources after the stability verification is completed, causing the original judgment result to become invalid. Furthermore, when resources cannot be successfully reserved, the latest resource competition result is converted back into reach resource status data and triggers a re-judgment of combination stability or task adjustment. This allows new state changes caused by concurrent competition to re-enter the original reach task execution control flow, thereby further reducing the probability of resource conflicts, modal failures, or execution interruptions occurring during the actual execution of candidate reach tasks in high-concurrency scenarios.
[0071] It's worth noting that the feedback obtained after executing the outreach task may originate from various sources, including outages in outreach resource execution, outages in outreach content presentation, changes in the target object's interactive behavior, or changes in the target business status. For example, if the target object does not click on a text / image message, it could be that the target object received the message but did not perform a click operation, the message was not successfully delivered, or the text / image material was not rendered correctly. If the reasons for these feedbacks are not distinguished and "not clicked" is directly used as the target object's outreach status for updating, the subsequent outreach status may not accurately represent the actual state of the target object and the outreach environment.
[0072] Therefore, in one specific embodiment, after generating the target reach task based on the target reach modality combination and executing it at the target execution time, the method further includes: Obtain the execution results and feedback information corresponding to the target outreach task; The delivery status of the corresponding reach modality is determined based on the reach execution result, and the corresponding rendering status is determined when the corresponding reach modality contains reach content that needs to be rendered or accessed. If the delivery status and the corresponding rendering status meet the preset normal conditions, the interaction status of the target object is determined based on the touch feedback information. The corresponding business status is determined based on the interaction status and the business processing result corresponding to the target object, and feedback attribution results corresponding to the target reach task are generated. Based on the feedback attribution results, update the object reach status data, reach resource status data, and / or task control status data respectively, for use in subsequent reach status determination and reach task execution control.
[0073] Specifically, when the message fails to reach the corresponding channel or the terminal used by the target, the corresponding exception can be updated to the message resource status data, instead of directly determining the target's failure to reply or click as the message's reach status. When the message has been delivered but the image, video, graphic card, or link fails to render, load, or is inaccessible, the corresponding exception can be determined as a reach resource or reach content execution exception. Only when the corresponding reach modality has been delivered normally and the content to be presented can be presented normally, will information such as whether the target has read, clicked, replied, answered, or rejected the message be determined as the object interaction level status data.
[0074] Among them, the delivery status is used to indicate whether the corresponding outreach information has been normally delivered by the outreach resource to the outreach channel corresponding to the target object; the rendering status is used to indicate whether the outreach content that needs to be displayed or accessed can be presented normally in the predetermined form; the interaction status is used to indicate the target object's read, click, reply, connect, reject or other interactive behaviors after the corresponding outreach operation occurs; the business status is used to indicate whether the corresponding outreach business objective has been completed, whether it has been transferred to other processing flow, or whether there has been a state change that makes it unnecessary for subsequent outreach tasks to continue to be executed.
[0075] Specifically, in this embodiment, by distinguishing whether the reach information was delivered normally, whether the reach content was presented normally, and whether the target object actually interacted before updating the subsequent reach status using reach feedback, it is possible to avoid identifying unresponsive errors caused by channel anomalies, reach resource anomalies, or content rendering anomalies as changes in the target object's own status. This can improve the accuracy of subsequent object reach status data, reach resource status data, and task control status data, making the second reach status and reach status change information obtained based on these status data more reflective of the actual reach environment, and reducing the possibility of misjudging the combined stability and incorrect adjustment of subsequent reach modalities due to feedback misattribution.
[0076] It should be understood that, although Figures 2-3 The steps in the flowchart are shown sequentially as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order in which these steps are executed, and they can be performed in other orders. Figures 2-3 At least some of the steps in the process may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least some of the sub-steps or stages of other steps.
[0077] In one embodiment, such as Figure 4 As shown, a task execution control device is provided, comprising: The candidate mode determination module is used to determine the first reach state of the target object at the first moment, determine multiple candidate reach modes based on the first reach state, and determine the modal constraint relationship between the multiple candidate reach modes. The outreach task construction module is used to generate outreach modal combinations based on multiple candidate outreach modalities and modal constraint relationships, and to construct candidate outreach tasks based on the outreach modal combinations. The state change determination module is used to determine the second reach state of the target object at the second moment, and generate reach state change information corresponding to the target object based on the state difference between the first reach state and the second reach state. The combination stability determination module is used to obtain the predetermined execution time of the candidate reach task, and determine the combination stability of the reach mode combination corresponding to the candidate reach task based on the reach state change information and the time interval between the second time and the predetermined execution time. The outreach task adjustment module is used to adjust the outreach modality combination and / or the predetermined execution time according to the second outreach state and modal constraint relationship in response to the risk of combination failure of the outreach modality combination at the predetermined execution time, in order to determine the target outreach modality combination and the target execution time, so that the target outreach modality combination does not have the risk of combination failure at the target execution time. The target reach task execution module is used to generate target reach tasks based on the target reach modality combination and execute them at the target execution time.
[0078] For specific limitations regarding the task execution control device, please refer to the limitations of the task execution control method described above, which will not be repeated here. Each module in the aforementioned task execution control device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in the computer device in hardware form, or stored in the memory of the computer device in software form, so that the processor can call and execute the operations corresponding to each module.
[0079] In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as follows: Figure 5 As shown, the computer device includes a processor, memory, network interface, and database connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database stores task execution control data. The network interface communicates with external terminals via a network connection. When the computer program is executed by the processor, it implements a task execution control method.
[0080] Those skilled in the art will understand that Figure 5The 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 device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0081] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to perform the following steps: Determine the first reach state of the target object at the first moment, determine multiple candidate reach modes based on the first reach state, and determine the modal constraint relationship between the multiple candidate reach modes; A combination of reach modalities is generated based on multiple candidate reach modalities and modal constraint relationships, and candidate reach tasks are constructed based on the reach modalities combination; Determine the second reach state of the target object at the second moment, and generate reach state change information corresponding to the target object based on the state difference between the first reach state and the second reach state; Obtain the scheduled execution time of the candidate outreach task, and determine the combinatorial stability of the outreach mode combination corresponding to the candidate outreach task based on the outreach state change information and the time interval between the second time and the scheduled execution time. In response to the risk of combination failure of the reach mode combination as characterized by the combination stability, the reach mode combination and / or the predetermined execution time are adjusted according to the second reach state and the modal constraint relationship to determine the target reach mode combination and the target execution time, so that the target reach mode combination does not have the risk of combination failure at the target execution time; Based on the combination of target reach modalities, target reach tasks are generated and executed at the target execution time.
[0082] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, the computer program performing the following steps when executed by a processor: Determine the first reach state of the target object at the first moment, determine multiple candidate reach modes based on the first reach state, and determine the modal constraint relationship between the multiple candidate reach modes; A combination of reach modalities is generated based on multiple candidate reach modalities and modal constraint relationships, and candidate reach tasks are constructed based on the reach modalities combination; Determine the second reach state of the target object at the second moment, and generate reach state change information corresponding to the target object based on the state difference between the first reach state and the second reach state; Obtain the scheduled execution time of the candidate outreach task, and determine the combinatorial stability of the outreach mode combination corresponding to the candidate outreach task based on the outreach state change information and the time interval between the second time and the scheduled execution time. In response to the risk of combination failure of the reach mode combination as characterized by the combination stability, the reach mode combination and / or the predetermined execution time are adjusted according to the second reach state and the modal constraint relationship to determine the target reach mode combination and the target execution time, so that the target reach mode combination does not have the risk of combination failure at the target execution time; Based on the combination of target reach modalities, target reach tasks are generated and executed at the target execution time.
[0083] 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 the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may 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 data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0084] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0085] The above embodiments merely illustrate several implementation methods of this application, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the invention patent. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this patent application should be determined by the appended claims.
Claims
1. A method for controlling the execution of a task, characterized in that, include: Determine the first reach state of the target object at a first moment, determine multiple candidate reach modes based on the first reach state, and determine the modal constraint relationship between the multiple candidate reach modes; A combination of reach modalities is generated based on multiple candidate reach modalities and the modal constraint relationships, and a candidate reach task is constructed based on the combination of reach modalities; Determine the second reach state of the target object at a second time, and generate reach state change information corresponding to the target object based on the state difference between the first reach state and the second reach state; Obtain the predetermined execution time of the candidate outreach task, and determine the combination stability of the outreach mode combination corresponding to the candidate outreach task based on the outreach state change information and the time interval between the second time and the predetermined execution time. In response to the combination stability characterization indicating that the reach mode combination has a risk of combination failure at the predetermined execution time, the reach mode combination and / or the predetermined execution time are adjusted according to the second reach state and the mode constraint relationship to determine the target reach mode combination and the target execution time, so that the target reach mode combination does not have a risk of combination failure at the target execution time; Based on the target reach modal combination, a target reach task is generated and executed at the target execution time.
2. The method for controlling the execution of a task according to claim 1, characterized in that, Determining the first reach state of the target object at a first moment includes: In response to receiving reach pointing information, the reach pointing information is parsed to determine the target object, and the moment when the reach pointing information is received is determined as the first moment; Obtain the object reach status data, reach resource status data, and task control status data corresponding to the target object at the first moment; Based on the object reach status data, the reach resource status data, and the task control status data, the reach status characteristics of the target object at the first moment are determined. The reach status characteristics include one or more of the following: object reachability characteristics, reach resource availability characteristics, and task execution constraint characteristics. The reach state features are encoded and combined to construct the reach state vector corresponding to the target object at the first moment, and the reach state vector is determined as the first reach state.
3. The method for controlling the execution of a task according to claim 2, characterized in that, The step of determining multiple candidate reach modalities based on the first reach state and determining the modal constraint relationship between the multiple candidate reach modalities includes: Acquire multiple preset reach modalities; Based on the correspondence between the preset reach modal and the feature dimensions of the reach state features, the object reachability features, reach resource availability features, and task execution constraint features related to each preset reach modal are extracted from the first reach state to obtain the modal determination features corresponding to each preset reach modal. Based on the modality determination features corresponding to each preset reach modality, the object adaptation information, resource support information, and execution boundary information of the corresponding preset reach modality are determined respectively. Based on the object adaptation information, the resource support information, and the execution boundary information, the executability of each preset reach mode is determined, and multiple preset reach modes that meet the corresponding mode execution conditions are identified as the candidate reach modes. For any two candidate reach modalities, the resource occupancy requirements of the two candidate reach modalities are determined based on the corresponding resource support information, and the resource connection constraints between the two candidate reach modalities are determined according to the overlap between the resource occupancy requirements and the parallel use conditions of the corresponding reach resources. Based on the execution boundary information corresponding to the two candidate reach modes, the corresponding execution constraints are determined respectively, and the temporal connection constraints between the two candidate reach modes are determined according to the temporal correlation between the execution constraints. Based on the resource connection constraints and the timing connection constraints, the modal constraint relationship between the two candidate reach modes is determined.
4. The method for controlling the execution of a task according to claim 3, characterized in that, The step of generating a combination of reach modalities based on multiple candidate reach modalities and the modal constraint relationships, and constructing candidate reach tasks based on the reach modalities combination, includes: Using multiple candidate reach modalities as modal nodes, and determining whether execution connections are allowed between different modal nodes and the connection method when execution connections are allowed based on the modal constraint relationship, connection edges matching the corresponding connection method are established between modal nodes that are allowed to establish execution connections, thereby obtaining a candidate modal arrangement diagram; Obtain modality compatibility determination rules, and for any two candidate reach modalities, determine the combination compatibility determination result when the two candidate reach modalities are included in the same reach modality combination based on the modality determination features corresponding to the two candidate reach modalities and the modality compatibility determination rules; Using the multiple candidate reach modalities as row and column indices respectively, the combined compatibility determination results corresponding to any two candidate reach modalities are written into the intersection of the corresponding row and column indices to obtain the candidate modality compatibility verification matrix. In the candidate modality arrangement diagram, the connection edges are combined and expanded. For the target modality node to be added to the current modality set, the combination compatibility judgment results of the target modality node and each existing modality node in the current modality set are obtained from the candidate modality compatibility verification matrix. If the combination compatibility determination results of the target modal node and each of the existing modal nodes are all characterized as compatible, then the target modal node is added to the current modal set, and the combination expansion continues along the candidate modal arrangement diagram based on the updated current modal set; If at least one of the combined compatibility determination results is characterized as incompatible, then the combined expansion along the target modal node is terminated; The current modality set after the combination expansion is determined as the reach modality combination, and the execution orchestration information of each candidate reach modality in the reach modality combination is determined according to the connection edge corresponding to the reach modality combination in the candidate modality orchestration diagram and the connection method corresponding to the connection edge. Candidate outreach tasks are constructed based on the outreach modality combination and the corresponding execution orchestration information.
5. The method for controlling the execution of a task according to claim 2, characterized in that, The step of determining the second reach state of the target object at a second time moment, and generating reach state change information corresponding to the target object based on the state difference between the first reach state and the second reach state, includes: Determine a second time point, which is later than the first time point; Obtain the object reach status data, reach resource status data, and task control status data corresponding to the target object at the second time. Based on the object reach status data, reach resource status data and task control status data corresponding to the second time, the object reachability characteristics, reach resource availability characteristics and task execution constraint characteristics corresponding to the second time are determined respectively, so as to obtain the reach status characteristics of the target object at the second time. Using the same encoding and combination method as the first reach state, the reach state features corresponding to the second time moment are encoded and combined to construct the reach state vector of the target object at the second time moment and determine it as the second reach state; The feature values corresponding to the same feature dimension in the first and second reach states are compared to determine multiple target feature dimensions that have undergone state changes, and the state change direction and state change amount corresponding to each target feature dimension are determined. Based on the reach state features to which each of the target feature dimensions belongs, and the state change direction and state change amount corresponding to each of the target feature dimensions, reach state change information corresponding to the target object is generated.
6. The method for controlling the execution of a reach task according to claim 5, characterized in that, The step of determining the combination stability of the reach modality combination corresponding to the candidate reach task based on the reach state change information and the time interval between the second time and the predetermined execution time includes: From the reach state change information, obtain multiple target feature dimensions and the state change amount corresponding to each target feature dimension; Based on the time interval between the first time point and the second time point and the state change amount corresponding to each of the target feature dimensions, determine the state change amount per unit time corresponding to each of the target feature dimensions; Based on the unit time state change amount corresponding to each of the target feature dimensions and the time interval between the second time and the predetermined execution time, the predicted state change amount corresponding to each of the target feature dimensions is determined, and the predicted state change amount is normalized to obtain the predicted state perturbation value corresponding to each of the target feature dimensions. Obtain the correspondence between the preset reach modality and the feature dimensions of the reach state features, and determine the candidate reach modalities related to each of the target feature dimensions in the reach modality combination based on the correspondence. The combination correlation degree corresponding to each of the target feature dimensions is determined based on the number of candidate reach modalities corresponding to each of the target feature dimensions and the total number of candidate reach modalities in the reach modal combination. The combined correlation degree corresponding to each of the target feature dimensions is used as the aggregation weight of the corresponding predicted state perturbation value. The predicted state perturbation values are aggregated and calculated to obtain the combined state perturbation value corresponding to the reach mode combination. The combined state perturbation value is reverse normalized to obtain the combined stability value corresponding to the reached mode combination, and the combined stability value is determined based on the combined stability value.
7. The method for controlling the execution of a task according to claim 6, characterized in that, Determining the combined stability of the reach mode combination based on the combined stability value includes: Obtain the combined stability determination threshold, and compare the combined stability value with the combined stability determination threshold; If the combined stability value is greater than or equal to the combined stability determination threshold, then the combined stability is determined to indicate that the reach mode combination does not have a risk of combined failure at the predetermined execution time; If the combined stability value is less than the combined stability determination threshold, then the combined stability is determined to indicate that the reach mode combination has a risk of combined failure at the predetermined execution time.
8. The method for controlling the execution of a task according to claim 1, characterized in that, The step of adjusting the reach modality combination and / or the predetermined execution time according to the second reach state and the modal constraint relationship to determine the target reach modality combination and the target execution time, so that the target reach modality combination has no risk of combination failure at the target execution time, includes: Based on the predicted state perturbation value corresponding to the target feature dimension associated with each candidate reach modality in the reach modality combination, the perturbation aggregation value corresponding to each candidate reach modality is determined, and the adjustment order corresponding to each candidate reach modality is determined in descending order of the perturbation aggregation value. Based on the second reach state, the executability of candidate reach modes that are not included in the reach mode combination among the multiple candidate reach modes is determined, and the determination result is characterized as an executable candidate reach mode, which is then identified as a replacement candidate reach mode. The reach modalities to be adjusted are determined sequentially according to the adjustment order. Under the condition that the modal constraint relationship is satisfied, the reach modalities to be adjusted are deleted or replaced by the replacement candidate reach modalities to obtain multiple combinations of modes to be verified. Based on the task execution constraint characteristics corresponding to the second reach state, the allowable execution time range corresponding to the candidate reach task is determined, and the combination stability value corresponding to multiple moments within the allowable execution time range for each of the modal combinations to be verified is determined respectively. Based on the stability values of each combination and the stability determination threshold of the combination, a candidate execution time range in which each of the modal combinations to be verified has no risk of combination failure is determined from the allowed execution time range; The modality adjustment amount of each modality combination to be verified with the candidate execution time range relative to the reaching modality combination is determined, and the target reaching modality combination and the target execution time are determined from the modality combinations to be verified with the candidate execution time range and the corresponding execution times based on the modality adjustment amount and the time offset between each execution time within the candidate execution time range and the predetermined execution time.
9. A computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 8.
10. 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 method according to any one of claims 1 to 8.
