A digital employee-oriented post arrangement method, device, system and equipment
By establishing a binding relationship between standard operating procedures and target devices for digital employees and performing structured aggregation, a clear runtime context is generated, which solves the problems of chaotic execution and unstable response in digital employee configuration and improves task quality.
Patent Information
- Application Number
- CN202611390349.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-08
- Publication Date
- 2026-11-24
AI Technical Summary
In existing systems, the configuration of digital employees is usually generated through free text or manual prompts, which leads to chaotic execution and unstable response, reducing task quality.
By acquiring the configuration information of digital employees, a binding relationship between standard operating procedures and target devices is established, and structured aggregation is performed to generate a clear runtime context, which is then used to call the digital employee's interface to generate actual running instances.
It improves the quality of tasks performed by digital employees, alleviates the problems of execution confusion and unstable response caused by ambiguous instructions, and provides clear execution instructions.
Smart Images

Figure CN123159803A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of intelligent inspection technology, and in particular to a job arrangement method, device, system and equipment for digital employees. Background Technology
[0002] As the demand for video inspection, incident detection, and anomaly reporting increases in industrial parks, buildings, factories, and the field of production safety, more and more platforms are beginning to introduce digital employees to undertake standardized inspection tasks.
[0003] However, in existing systems, the runtime configuration of digital employees is often generated through free text or manual prompts. This approach can lead to execution chaos and unstable responses, reducing the quality of tasks performed by digital employees. Summary of the Invention
[0004] The purpose of this application is to provide a job scheduling method, apparatus, system, and device for digital employees to improve the quality of task execution. The specific technical solution is as follows:
[0005] In a first aspect, embodiments of this application provide a job arrangement method for digital employees, the method being applied to the tenant side, the method comprising:
[0006] Obtain configuration information for digital employees; wherein, the configuration information includes: the target inspection space corresponding to the digital employee, and the target position to which it belongs; a position includes: a position role description, and associated standard operating procedures; a standard operating procedure includes: an execution flow, and associated capability units;
[0007] Establish a binding relationship between each standard operating procedure associated with the target position and the target equipment mounted under the target inspection space; wherein, the target equipment bound to each standard operating procedure represents the inspection object of that standard operating procedure;
[0008] The information to be utilized is aggregated in a structured manner to obtain the runtime context; wherein, the information to be utilized includes: the job role description of the target position, the standard operating procedures associated with the target position, and the binding relationship;
[0009] Using the runtime context as input, the interface of the digital employee runtime is called to generate an actual running instance of the digital employee.
[0010] Optionally, a standard operating procedure may be associated with one capability unit.
[0011] And / or,
[0012] The number of standard operating procedures associated with a job position shall not exceed the preset number;
[0013] And / or,
[0014] The job description and associated standard operating procedures contained in a job position are stored independently.
[0015] Optionally, the target position is obtained based on the following methods:
[0016] In response to the received template selection instruction, the job template indicated by the template selection instruction is selected from the job templates pre-created on the platform side, and the target job is generated based on the selected job template;
[0017] or,
[0018] In response to the received job creation instruction, the job indicated by the job creation instruction is generated as the target job.
[0019] Optionally, generating the target job based on the selected job template includes:
[0020] In response to the received editing instructions, the selected job template is edited to obtain the target job.
[0021] The editing operation includes at least one of the following: deleting an associated standard operating procedure, adding a new associated standard operating procedure, and modifying the job role description; the added associated standard operating procedure includes: the standard operating procedure pre-created on the platform side, and / or the standard operating procedure pre-created on the tenant side.
[0022] Optionally, the standard operating procedures pre-created on the platform side and the standard operating procedures pre-created on the tenant side are stored independently; the standard operating procedures pre-created on the platform side can be shared by different tenant sides; the standard operating procedures pre-created on the tenant side achieve multi-tenant isolation based on the tenant identifier.
[0023] Optionally, a job posting may also include version information;
[0024] The method further includes:
[0025] For any job posting already generated on the tenant's side, in response to receiving an update instruction for that job posting, the job posting update operation is performed to obtain a job posting containing the new version information;
[0026] The update operation for this position includes at least one of the following: deleting the associated standard operating procedures, adding new associated standard operating procedures, and modifying the job role description; the added associated standard operating procedures include: standard operating procedures pre-created on the platform side and / or standard operating procedures pre-created on the tenant side.
[0027] Optionally, a standard operating procedure may also include version information;
[0028] The method further includes:
[0029] For any standard operating procedure (SOP) already created on the tenant side, in response to receiving an update instruction for that SOP, an update operation is performed on the SOP to obtain an SOP containing new version information.
[0030] Optionally, after calling the interface of the digital employee runtime with the runtime context as input parameter to generate an actual running instance of the digital employee, the method further includes:
[0031] In response to an update to any of the information to be utilized, the runtime context is incrementally updated based on the updated portion;
[0032] Return to the step of calling the interface of the digital employee runtime with the runtime context as input parameter to generate the actual running instance of the digital employee.
[0033] Optionally, the configuration information may also include: a limit on the maximum number of devices that the digital employee can support when performing inspection tasks;
[0034] The process of establishing the binding relationship between each standard operating procedure associated with the target position and the target equipment mounted under the target inspection space includes:
[0035] If the number of target devices attached to the target inspection space does not exceed the maximum number of devices, a binding relationship is established between each standard operating procedure associated with the target position and the target devices attached to the target inspection space.
[0036] Optionally, the configuration information further includes reporting information; the reporting information includes at least one of the following: reporting target, upgrade contact person, and notification channel identifier; the runtime context also contains the reporting information.
[0037] And / or,
[0038] The configuration information also includes execution constraint information; the execution constraint information includes at least one of the following: inspection frequency, maximum number of concurrent tasks, and execution limit; the runtime context also contains the execution constraint information.
[0039] Optionally, a standard operating procedure may also include: associated inspection items; an inspection item is an atomic inspection definition for the inspection object.
[0040] Secondly, embodiments of this application provide a job arrangement method for digital employees, the method being applied to a platform, the method comprising:
[0041] In response to a received job template creation instruction, a job template as indicated by the job template creation instruction is generated; wherein, a job template includes: a job role description and an associated standard operating procedure; a standard operating procedure includes: an execution flow and an associated capability unit;
[0042] The generated job template is stored in a shared data area that supports sharing between different tenants, so that the tenant can obtain the job template from the shared data area, obtain the target job, and execute the method described in any of the first aspects.
[0043] Optionally, the standard operating procedure associated with the job template is pre-created on the platform side; a standard operating procedure also includes version information;
[0044] The method further includes:
[0045] For any standard operating procedure (SOP) already created on the platform, in response to receiving an update instruction for that SOP, the platform performs an update operation on the SOP to obtain an SOP containing new version information.
[0046] Optionally, a standard operating procedure may also include: associated inspection items; an inspection item being an atomic inspection definition for the inspection object; the inspection items associated with the standard operating procedure being pre-created on the platform side;
[0047] The method further includes:
[0048] In response to a deletion command for any created check item, delete the check item if it is not associated with a standard operating procedure.
[0049] Thirdly, embodiments of this application provide a job scheduling system for digital employees, the system comprising: tenant-side devices;
[0050] Used to obtain configuration information for digital employees; wherein, the configuration information includes: the target inspection space corresponding to the digital employee, and the target position to which it belongs; a position includes: a position role description, and an associated standard operating procedure; a standard operating procedure includes: an execution process, and an associated capability unit;
[0051] And the binding relationship between each standard operating procedure associated with the target position and the target equipment mounted under the target inspection space; wherein, the target equipment bound to each standard operating procedure represents the inspection object of the standard operating procedure;
[0052] And for the structured aggregation of information to be utilized to obtain runtime context; wherein, the information to be utilized includes: job role description of the target position, standard operating procedures associated with the target position, and the binding relationship;
[0053] And an interface for calling the digital employee runtime with the runtime context as input parameter to generate an actual running instance of the digital employee.
[0054] Optionally, the system also includes: platform-side devices;
[0055] In response to a received job template creation instruction, the job template is generated as indicated by the job template creation instruction; wherein, a job template includes: a job role description and an associated standard operating procedure; a standard operating procedure includes: an execution flow and an associated capability unit;
[0056] And for storing the generated job template in a shared data area that supports sharing between different tenants, so that the tenant can obtain the job template from the shared data area and obtain the target job.
[0057] Fourthly, embodiments of this application provide a job arrangement device for digital employees, the device being applied on the tenant side, the device comprising:
[0058] The basic data management module is used to obtain configuration information for digital employees; wherein, the configuration information includes: the target inspection space corresponding to the digital employee, and the target position to which it belongs; a position includes: a position role description, and associated standard operating procedures; a standard operating procedure includes: an execution process, and associated capability units;
[0059] The binding relationship generation module is used to establish a binding relationship between each standard operating procedure associated with the target position and the target equipment mounted under the target inspection space; wherein, the target equipment bound to each standard operating procedure represents the inspection object of the standard operating procedure;
[0060] The structured aggregation module is used to perform structured aggregation of the information to be utilized to obtain the runtime context; wherein, the information to be utilized includes: the job role description of the target job, the standard operating procedures associated with the target job, and the binding relationship;
[0061] The instance control module is used to call the interface of the digital employee runtime with the runtime context as input parameter to generate the actual running instance of the digital employee.
[0062] Fifthly, embodiments of this application provide a job arrangement device for digital employees, the device being applied to a platform side, the device comprising:
[0063] The job template generation module is used to generate a job template indicated by the received job template creation instruction; wherein, a job template includes: a job role description and an associated standard operating procedure; a standard operating procedure includes: an execution flow and an associated capability unit;
[0064] A storage module is used to store the generated job template in a shared data area that supports sharing between different tenants, so that the tenant can obtain the job template from the shared data area, obtain the target job, and execute the method described in any one of the first aspects.
[0065] Sixthly, embodiments of this application provide an electronic device, including:
[0066] Memory, used to store computer programs;
[0067] When the processor executes a program stored in memory, it implements any of the above-mentioned job arrangement methods for digital employees.
[0068] In a seventh aspect, embodiments of this application provide a computer-readable storage medium storing a computer program that, when executed by a processor, implements any of the above-described job arrangement methods for digital employees.
[0069] Eighthly, embodiments of this application provide a computer program product containing instructions that, when run on a computer, cause the computer to execute any of the above-described job arrangement methods for digital employees.
[0070] Beneficial effects of the embodiments in this application:
[0071] The job orchestration method for digital employees provided in this application clarifies the correspondence between standard operating procedures, capability units, and target devices on the tenant side, and generates a standardized runtime context through structured aggregation. Compared to free text or manual prompts, this provides clear execution instructions for digital employees, alleviating execution confusion and unstable response caused by ambiguous instructions, and improving the quality of task execution using actual running instances.
[0072] Of course, implementing any product or method of this application does not necessarily require achieving all of the advantages described above at the same time. Attached Figure Description
[0073] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other embodiments can be obtained based on these drawings.
[0074] Figure 1 A flowchart illustrating a job arrangement method applied to the tenant side, provided as an embodiment of this application;
[0075] Figure 2 This application provides a schematic diagram of a data structure for binding a standard operating procedure with a device.
[0076] Figure 3 A schematic diagram of the assembly structure of a runtime context provided in an embodiment of this application;
[0077] Figure 4 A schematic diagram illustrating the effective interaction between a platform-level job template and a tenant-side job hierarchy, as provided in this application embodiment.
[0078] Figure 5 This application provides a schematic diagram of an instance update incremental reassembly process.
[0079] Figure 6 This application provides an overall hierarchical assembly structure diagram for job arrangement in an embodiment of the present application;
[0080] Figure 7 A schematic diagram of the overall process of a job arrangement method provided in an embodiment of this application;
[0081] Figure 8 A schematic diagram of a job arrangement device applied to the tenant side is provided in an embodiment of this application;
[0082] Figure 9 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0083] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art based on this application are within the scope of protection of this application.
[0084] First, let's introduce the terminology used in this application.
[0085] Digital employee: An intelligent agent instance created by the runtime platform and executing inspection tasks at runtime. At runtime, it has context information such as job role, inspection process, scope of equipment to be inspected, and reporting relationship (i.e., reporting information in subsequent embodiments).
[0086] Inspection item: An atomized inspection definition for the inspection object. For example, an inspection item can be "fire lane obstruction" or "power strip connected in series".
[0087] Standard Operating Procedure (SOP): Also known as inspection SOP, it is an executable inspection unit built around a single inspection item, which includes associated skill units, execution process and version information.
[0088] Execution Process: The specific execution steps corresponding to the SOP describe the operational procedures that digital employees should follow when performing inspections. For example, for the inspection item "fire lane obstruction", the execution process in the associated SOP includes: 1. Acquire equipment images; 2. Identify whether there are obstacles in the passage; 3. Determine whether there is a violation; 4. Generate inspection results.
[0089] Job templates: Pre-set job schemes on the platform side, used to provide initial data for job positions on the tenant side, but do not directly participate in runtime execution.
[0090] Enterprise Position: Also known as a job posting, the job posting definition that ultimately takes effect on the enterprise side (i.e., the tenant side in subsequent embodiments) is the job posting source selected when the digital employee instance is created.
[0091] Job-level SOP roles: These are system role texts pre-defined by the platform in job templates and confirmed or adjusted by the tenant's administrator, or written by the tenant's administrator. They define the global responsibility boundaries and general judgment framework for digital employees, i.e., the job role descriptions in subsequent embodiments. For example, for the job of fire inspector, the job-level SOP role is "You are a fire inspector, responsible for discovering fire hazards and reporting them in a timely manner, and must not ignore any obstruction of passageways."
[0092] SOP binding with equipment: This means that the binding result of establishing a mapping relationship between the SOP in the job position and one or more equipment identifiers is represented as the correspondence between the SOP and the equipment list.
[0093] Skill: A capability unit used to complete a specific inspection task. For example, a Skill is strictly bound to an Inspection Standard Operating Procedure (SOP) in a 1:1 ratio. If the execution process in the SOP includes: 1. Acquiring equipment view; 2. Identifying whether there are obstacles in the channel; 3. Determining whether there is a violation; 4. Generating inspection results, the bound capability unit is "Channel Violation Detection Skill".
[0094] Runtime context: A structured or semi-structured configuration assembled from job-level SOP roles, SOP execution processes, equipment lists, reporting information, etc., which can be directly consumed by digital employees during runtime.
[0095] Spatial Node: A location node in the enterprise spatial tree used to select the inspection range. For example, a spatial node can be expanded into a list of devices for the user to select.
[0096] Soul: The persona / context carrier of the runtime digital employee, which can be used as a form of runtime context in this application.
[0097] In existing systems, the runtime configuration of digital employees is often generated through free text or manual prompts. This approach can lead to execution chaos and unstable responses, reducing the quality of tasks performed by digital employees.
[0098] To address the aforementioned technical problems, embodiments of this application provide a method, apparatus, system, and device for job arrangement of digital employees. The job arrangement method for digital employees provided in this application embodiment will be described below.
[0099] In one embodiment, the job orchestration method for digital employees is applied to the tenant side, including: obtaining configuration information for digital employees; wherein the configuration information includes: the target inspection space corresponding to the digital employee, and the target job to which it belongs; a job includes: a job role description, and an associated standard operating procedure (SOP); a SOP includes: an execution flow, and an associated capability unit; establishing a binding relationship between each SOP associated with the target job and the target device mounted under the target inspection space; wherein the target device bound to each SOP represents the inspection object of the SOP; performing structured aggregation of the information to be utilized to obtain a runtime context; wherein the information to be utilized includes: the job role description of the target job, the SOP associated with the target job, and the binding relationship; using the runtime context as input, calling the interface of the digital employee runtime to generate an actual running instance of the digital employee. Thus, the correspondence between SOPs, capability units, and target devices is clearly defined on the tenant side, and a standardized runtime context is generated through structured aggregation. Compared to free text or manual prompts, this provides clear execution instructions for digital employees, alleviating execution confusion and unstable response caused by ambiguous instructions, and improving the quality of task execution using actual running instances.
[0100] The job arrangement method provided in this application is applicable to various scenarios such as video inspection, environmental inspection, operation and maintenance inspection, energy consumption inspection, and process inspection.
[0101] In one embodiment, see Figure 1 The job assignment method applied to the tenant side includes the following steps:
[0102] S101: Obtain configuration information for digital employees.
[0103] The configuration information includes: the target inspection space corresponding to the digital employee, and the target position to which they belong; a position includes: a job role description, and associated standard operating procedures; a standard operating procedure includes: the execution process, and associated capability units.
[0104] S102: Establish the binding relationship between each standard operating procedure associated with the target position and the target equipment mounted under the target inspection space.
[0105] In this context, the target equipment associated with each standard operating procedure represents the inspection object of that standard operating procedure.
[0106] In one embodiment, when a tenant needs to perform inspection tasks using digital employees, they can create digital employees on the tenant's side. The tenant's side can provide a user interface (referred to as the digital employee configuration interface) for configuring digital employees. The tenant can specify the required configuration information for the digital employees in the digital employee configuration interface. The tenant is an enterprise such as a factory or property that needs to use digital employees to perform inspection tasks. The tenant's side is the system used by the tenant.
[0107] The target inspection space is the inspection space (also known as the inspection range) that digital employees need to inspect. For example, the inspection range can be a predefined spatial location such as "third floor corridor", "5th floor of Building A" or "parking lot in Area B".
[0108] The target job is the job to which the digital employee to be created belongs. A target job can be associated with one or more standard operating procedures (SOPs), which can be represented by a list of SOPs. The specific number of associated SOPs can be set by the tenant according to their needs. In this way, by defining jobs as combinations of SOPs, rather than combinations of capability units, jobs are transformed from descriptive concepts into a set of executable configurations.
[0109] For any standard operating procedure associated with a target position, the target device bound to the standard operating procedure can be one or more, and the target device is set by the tenant according to business needs.
[0110] In one embodiment, the tenant side can display locations in the scene in a tree structure, where each node in the tree structure represents an inspection space. The tenant can select nodes (one or more) in the tree structure as the inspection spaces that the digital employee needs to inspect.
[0111] Accordingly, after determining the target inspection space, the tenant can identify the equipment (i.e., the target equipment) mounted under that target inspection space. For example, the tenant can query the tenant's asset management data (such as an asset ledger database, space-equipment association table, etc.) to determine the equipment mounted under the target inspection space, parse it into a equipment list (including equipment identifiers), and display it. The equipment identifier can be the equipment's location number, camera number, video channel identifier, or other unique identifier.
[0112] Furthermore, for any standard operating procedure associated with a target job position, the tenant can select the desired device identifier for that standard operating procedure from the displayed device list to bind the standard operating procedure to the target device represented by the device identifier.
[0113] For example, the binding relationship is: Fire lane occupancy SOP-[Equipment A, Equipment C, Equipment D, Equipment F]; Power strip series connection SOP-[Equipment A, Equipment E].
[0114] In one embodiment, a standard operating procedure further includes: an identifier and a name of the standard operating procedure.
[0115] In one embodiment, the binding relationship is stored in a relational database as an instance-level table, recording instance identifiers (i.e., identifiers of digital employee instances), standard operating procedure (SOP) identifiers, and device identifiers; alternatively, it can be serialized and saved as a runtime configuration document, which can be in JSON, YAML, or other structured data formats. The binding data structure between standard operating procedures and devices can both express the differences in the inspection scope between different SOPs within a job position and provide precise input for subsequent runtime context.
[0116] See Figure 2 A job's details include: job identifier, job name, job-level SOP role, role positioning, and a list of standard operating procedures (SOPs). For any SOP in the SOP list, its configuration includes: SOP identifier, SOP name, check items, associated capability units, and execution flow. Furthermore, for any SOP in the SOP list, the associated information for its identifier includes: instance identifier, tenant identifier, physical identifier, SOP type, and the device identifier of the bound device. The physical identifier is the SOP identifier.
[0117] S103: Perform structured aggregation of the information to be utilized to obtain the runtime context.
[0118] The information to be utilized includes: job role descriptions of the target position, standard operating procedures associated with the target position, and binding relationships.
[0119] Structured aggregation, also known as data aggregation, combines information from different fields in the information to be utilized according to a predefined data structure (Schema) to output a structured data object with clearly defined fields that can be directly parsed by a machine.
[0120] For example, when the information to be utilized includes: the job role description of the target position, the standard operating procedures associated with the target position, binding relationships, and reporting and execution constraint information, the context organization can be represented as follows:
[0121] Write job-level SOP roles;
[0122] Add a "##SOP Configuration" section;
[0123] Write the device list and execution process for each SOP sequentially;
[0124] Additional reporting information and execution constraint information;
[0125] The output is the context field of the interface that creates the runtime instance.
[0126] Accordingly, based on the above context organization method, the tenant-side generates a runtime context with the job role description of the target position as the top-level field, defining the responsibilities and behavioral principles of the digital employee. Each SOP associated with the target position is traversed, and the execution flow of that SOP is written into the SOP configuration section of the runtime context as the operation instructions for the digital employee to execute that SOP. Based on the binding relationship between the SOP and the device, the device list corresponding to each SOP (including the device identifier of the bound target device) is written into the device list field under the SOP configuration section, clarifying the inspection object of that SOP. Reporting information and execution constraint information are written into the corresponding fields. Finally, the above structured data is serialized into a specified format as the final output runtime context. The specified format can be Soul format, or it can be a structured JSON format, a configuration file format, or an object model format.
[0127] Understandably, following the above processing, the runtime context has a clear data source and assembly path, making it auditable, traceable, and replayable. Furthermore, the inspection space is ultimately resolved to the device list, ensuring that inspection tasks are truly assigned to specific devices.
[0128] In one embodiment, the configuration information further includes reporting information; the reporting information includes at least one of the following: the reporting object, the upgrade contact person, and the notification channel identifier; the runtime context also contains the reporting information. Thus, after completing an inspection task, the digital employee can read the reporting object and notification channel from the runtime context, eliminating the need to rely on an external address book system, reducing external dependencies, improving system availability, and enabling audits to determine who received the report and through which channel, thus meeting compliance requirements.
[0129] The reporting recipient refers to the person who receives the inspection report, i.e., the person who needs to receive the inspection report. This can be a specific person, group, role, or system.
[0130] The escalation contact person indicates the entity that needs further notification when an emergency is discovered during inspections or when the reporting entity fails to respond. This creates a tiered alert mechanism to ensure that no critical anomalies are overlooked.
[0131] The notification channel identifier indicates the channel through which the notification is sent to the reporting recipient and the contact person for escalation.
[0132] In one embodiment, the configuration information further includes execution constraint information; the execution constraint information includes at least one of inspection frequency, maximum concurrent task count, and execution limit; the runtime context also contains the execution constraint information. This allows digital employees to operate automatically according to a set rhythm, while avoiding system crashes due to excessive load.
[0133] Inspection frequency refers to how frequently digital employees perform inspection tasks. Accordingly, actual operational instances execute inspection tasks according to this inspection frequency. For example, the inspection frequency may be targeted at a specific target position, meaning that the inspection frequency for the standard operating procedures associated with that target position is consistent; or, the inspection frequency may be targeted at a specific standard operating procedure, meaning that the inspection frequencies for different standard operating procedures may be different.
[0134] The concurrent task limit represents the maximum number of standard operating procedures that a digital employee is allowed to execute simultaneously.
[0135] The execution limit indicates the maximum number of devices that a digital employee is allowed to simultaneously execute a standard operating procedure bound to.
[0136] For example, tenants can configure execution constraint information in the digital employee configuration interface.
[0137] See Figure 3 The required assembly information includes:
[0138] 1. Job-level SOP role;
[0139] 2. SOP configuration section (traversing the SOP list), including: SOP name and inspection item name, inspection equipment list (from binding relationship), and execution process;
[0140] 3. Report information;
[0141] 4. Execution constraint information.
[0142] Structured aggregation is performed through the runtime context assembler, including: 1. Writing role general rules; 2. Adding SOP configuration; 3. Adding reporting information; 4. Adding execution constraint information.
[0143] This yields the runtime context, which contains:
[0144] Job-level SOP Role (General): Defines the boundaries of responsibilities and the judgment framework;
[0145] SOP configuration: inspection items, list of equipment to be inspected, and execution process;
[0146] Reporting information: Target audience, contact person for upgrade, and notification channel identifier;
[0147] Execution constraint information: inspection frequency, maximum number of concurrent tasks, and execution limit.
[0148] S104: Using the runtime context as input parameter, call the interface of the digital employee runtime to generate an actual running instance of the digital employee.
[0149] It is understandable that steps S101-S102 constitute the configuration process for the digital employee. After configuration, a digital employee instance is generated, and the digital employee instance is in a CREATED (to be activated) state. In step S104, the generated actual running instance is the process entity in the digital employee runtime platform (the intelligent agent process actually executing the inspection task). That is to say, the digital employee instance is a data record of the configuration layer, while the actual running instance is an execution body launched in the runtime platform based on the runtime context generated by the former. Subsequently, the actual running instance can perform inspections on the target device according to the information in the runtime context.
[0150] In one embodiment, when configuring a digital employee instance, a unique identifier (i.e., an instance identifier) can be assigned to the digital employee instance. Accordingly, in step S104, when calling the interface of the digital employee runtime, the parameters passed in include not only the runtime context but also the instance identifier. Subsequently, the runtime platform creates an agent process based on the instance identifier, loads the runtime context into the agent process, and obtains the actual running instance, which is in an ACTIVE state at this time.
[0151] In one embodiment, the configuration information for the digital employee further includes: an instance name and an employee ID. The instance name is the name used to generate the digital employee instance. In other words, the instance identifier can include both the instance name and the employee ID.
[0152] In one embodiment, a standard job is associated with only one capability unit. This ensures that when a standard job is executed, only the associated single capability unit is loaded in the runtime environment. This eliminates uncertainty in capability selection and reduces the risks of capability contamination and tool misuse.
[0153] In one embodiment, the number of standard operating procedures associated with a single job position is no greater than a preset number. This ensures that the execution time of a single inspection is controlled within the expected range, mitigating execution timeouts or resource exhaustion caused by task overload, and effectively constraining the scope of troubleshooting, reducing the risk of illusions and confusion. For example, the preset number can be 5, or it can be 6; the specific value can be set according to business needs.
[0154] In one embodiment, the job role description and associated standard operating procedures (SOPs) of a job are stored independently. This allows for independent maintenance of the job role description and associated SOPs, reducing coupling and improving maintainability and flexibility. For example, the job role description is stored in the job record on the tenant side, and the execution flow of the SOP is stored in the SOP record; these are independent fields / tables at the database / storage level.
[0155] Understandably, the job descriptions and associated standard operating procedures in the job templates are stored independently.
[0156] In one embodiment, the execution flow is represented using Markdown (a lightweight markup language that achieves layout by inserting a small number of markup symbols into plain text) to facilitate editing and assembly. Alternatively, it can be represented using DSL, rule trees, form configuration, or other methods.
[0157] In one embodiment, in response to a received template selection instruction, a job template indicated by the template selection instruction is selected from pre-created job templates on the platform side, and a target job is generated based on the selected job template. This method of generating target jobs based on platform-side job templates improves the efficiency of target job generation.
[0158] The platform side refers to the platform used by the service provider offering digital employee inspection services. For example, the platform side can provide a user interface for configuring job templates (called the job template configuration interface). The service provider can indicate the required job template information in the job template configuration interface. Similar to the information contained in a job, a job template includes a job role description and associated standard operating procedures.
[0159] In one embodiment, the job template further includes: job identifier, job name, role positioning, pre-defined job-level SOP role (i.e., job role description), and SOP (referred to as platform-level SOP). Role positioning represents a brief description of the job's positioning, explaining the core responsibilities of the job; for example, the role positioning is "responsible for fire safety inspections in the park." Correspondingly, a job may also include: job name and role positioning.
[0160] The purpose of job templates is to document platform-level best practices for initialization during tenant-side job creation. The content in the job templates is used only as candidate or default values and does not directly participate in the execution of digital employee tasks. It is understandable that the standard operating procedures (SOPs) in the job templates built on the platform side are pre-built by the service provider within the platform.
[0161] In other words, after obtaining the job template, the tenant can directly use it as the target job. Alternatively, they can modify the target job to obtain the desired job. Understandably, regardless of the method, the tenant can perform a deep copy of the job template provided by the platform. This prevents the platform-provided job template from being directly loaded or executed by digital employees, thus preventing contamination of the platform-provided job template. In essence, the platform-level job template provides initialization capabilities, while the enterprise-level job template receives the final configuration. This hierarchical relationship between the two achieves both standardized data accumulation and enterprise-level customization.
[0162] See Figure 4 On the platform side, inspection items are maintained by category, along with platform-level Standard Operating Procedures (SOPs). Job templates are constructed by combining inspection items and platform-level SOPs. On the tenant side, SOPs (i.e., tenant-level SOPs) can be maintained. Jobs are generated by combining platform-level SOPs and job templates, and digital employee instances are obtained through binding relationships.
[0163] In one embodiment, in response to a received editing instruction, the selected job template is edited to obtain the target job. The editing operation includes at least one of the following: deleting an associated standard operating procedure (SOP), adding a new associated SOP, and modifying the job description. The added associated SOP includes: SOPs pre-created on the platform side and / or SOPs pre-created on the tenant side. Thus, editing based on the job template improves the efficiency of target job generation while meeting the personalized needs of tenants.
[0164] It is understandable that the editing command can be applied to any data in the job template. In other words, the tenant can edit any data in the job template according to business needs to obtain the target job. If the target job is obtained based on the job template, the standard operating procedures associated with the target job can include the original standard operating procedures in the job template, as well as the standard operating procedures added by the tenant.
[0165] The standard operating procedures (SOPs) added by the tenant can be selected from the standard operating procedures (i.e., platform-level SOPs) pre-created by the tenant on the platform side, or they can be selected from the standard operating procedures (i.e., tenant-level SOPs) pre-created by the tenant on the tenant side.
[0166] In one embodiment, if the target job is obtained based on a job template, the target job also includes source template information (such as the identifier of the job template) to indicate which job template the target job was created from, and to trace the source of the job.
[0167] In one embodiment, in response to a received job creation instruction, a job specified in the instruction is generated as the target job. This allows tenants to generate jobs according to their needs, improving the flexibility of target jobs.
[0168] In this embodiment, the target job is not generated based on job targets; that is, it is created entirely by the tenant. Consequently, the source template information in the target job is empty.
[0169] In one embodiment, when generating a target job position, the tenant side can also verify whether the job title of the target job position is unique among the jobs already built on the tenant side. Additionally, it can also verify whether the number of standard operating procedures associated with the target job position does not exceed a preset number.
[0170] In one embodiment, a job position also includes version information; the method further includes: for any job position already generated on the tenant side, in response to receiving an update instruction for that job position, performing a job position update operation to obtain a job position containing new version information; wherein, the update operation for the job position includes at least one of the following: deleting an associated standard operating procedure, adding an associated new standard operating procedure, and modifying the job role description; the added associated standard operating procedure includes: standard operating procedures pre-created on the platform side and / or standard operating procedures pre-created on the tenant side. Thus, job position updates can be achieved on the tenant side, and traceability and auditing can be effectively achieved through version information.
[0171] It is understandable that the job postings generated on the tenant's side can be either based on job templates or customized based on tenant instructions. Tenants can update the generated job postings as needed.
[0172] In one embodiment, a standard operating procedure (SOP) further includes version information; the method further includes: for any SOP already created on the tenant side, in response to receiving an update instruction for that SOP, performing an update operation on the SOP to obtain a SOP containing new version information. Thus, SOP updates can be implemented on the tenant side, and version information can effectively enable traceability and auditing.
[0173] The standard operating procedures (SOPs) created on the tenant side are called tenant-level SOPs. Tenants can update any information contained in the tenant-level SOPs as needed. For example, updating the execution flow in the SOP or updating the associated capability units.
[0174] In one embodiment, the configuration information further includes: constraining the maximum number of devices that a digital employee can support when performing inspection tasks; step S102 includes: establishing a binding relationship between each standard operating procedure associated with the target position and the target devices attached to the target inspection space, provided that the number of target devices attached to the target inspection space does not exceed the maximum number of devices. This avoids system crashes due to excessive load.
[0175] For example, tenants can configure the maximum number of devices in the digital employee configuration interface. After determining the target devices to be mounted under the target inspection space, the tenant can compare the number of target devices with the maximum number of devices. If the number of target devices does not exceed the maximum number of devices, the standard operating procedure is bound to the target devices. Otherwise, the tenant can prompt that the inspection object (i.e., the target device) exceeds the maximum number of devices.
[0176] A standard operating procedure also includes: associated inspection items; an inspection item is an atomic inspection definition for the inspection object.
[0177] Inspection items describe which object to inspect and what aspects to inspect. Each inspection item describes only one inspection requirement and is atomically indivisible. In this way, each inspection item has a single, clear responsibility, avoiding confusion, and making the digital employee's performance reports more human-readable, thus improving audit transparency.
[0178] The check items are maintained on the platform side, meaning that when tenants configure digital employees on the tenant side, they can configure them based on the check items pre-built on the platform side.
[0179] In one embodiment, after step S104, the method further includes: in response to an update in any of the information to be utilized, incrementally updating the runtime context based on the updated portion; and returning to step S104. Thus, when runtime context-related information is updated, instance-level incremental reassembly is triggered, eliminating the need to rebuild the entire function, thereby improving efficiency.
[0180] For example, an incremental update to the runtime context can be triggered when the target position's job-level SOP role is updated, the SOP associated with the target position is updated, the execution process within the associated SOP is updated, the inspection space is updated, the binding relationship is updated, or the reporting information is updated. In other words, an incremental update to the runtime context can be triggered whenever any data in the information to be utilized is updated.
[0181] Incremental updates mean that, based on the existing runtime context, only the parts that have been updated are adjusted to obtain a new runtime context, while the other parts that have not been updated remain unchanged.
[0182] See Figure 5 When job-level SOP roles are updated, job-related SOPs are updated, execution processes in related SOPs are updated, inspection spaces are updated, or reporting information is updated, the scope of change detection is determined. That is, the part that has been updated is identified and incremental reassembly is performed based on the part that has been updated. That is, the runtime context is incrementally updated based on the part that has been updated to obtain a new runtime context, and the runtime is issued. That is, the interface of the digital employee runtime is called with the new runtime context as input to generate a new actual running instance.
[0183] In one embodiment, standard operating procedures (SOPs) pre-created on the platform side and pre-created on the tenant side are stored independently. The SOPs pre-created on the platform side can be shared by different tenants. The SOPs pre-created on the tenant side achieve multi-tenant isolation based on the tenant identifier. In this way, platform-level SOPs achieve cross-tenant sharing, and tenant-level SOPs achieve multi-tenant physical isolation, ensuring tenant data security and personalized needs, thus balancing standardization and customization.
[0184] For example, standard operating procedures (SOPs) created on the platform side are stored in the platform-level SOP table in the shared data area. Standard operating procedures created by each tenant are marked with the tenant's identifier and stored in their own enterprise-level SOP table (isolated by tenant). That is, other tenants cannot access or use the standard operating procedures created by that tenant. In this way, the two types of standard operating procedures are physically stored separately.
[0185] Based on the same inventive concept, this application also provides a job arrangement method applied to the platform side. The method includes: responding to a received job template creation instruction, generating a job template indicated by the job template creation instruction; wherein a job template includes: a job role description and an associated standard operating procedure (SOP); a SOP includes: an execution flow and an associated capability unit; storing the generated job template in a shared data area that supports sharing between different tenant sides, so that the tenant side can obtain the job template from the shared data area, obtain the target job, and execute the job arrangement method applied to the tenant side in the above embodiment. Thus, the tenant side can process the obtained target job according to the job arrangement method applied to the tenant side provided in the above embodiment. In this way, the correspondence between the SOP, capability unit, and target device is clearly defined on the tenant side, and a standardized runtime context is generated through structured aggregation. Compared to free text or manual prompts, this provides clear execution instructions for digital employees, alleviating execution confusion and unstable response caused by ambiguous instructions, and improving the quality of task execution using actual running instances.
[0186] In one embodiment, the standard operating procedure (SOP) associated with the job template is pre-created on the platform side; a SOP also includes version information; the method further includes: for any SOP already created on the platform side, in response to receiving an update instruction for that SOP, performing an update operation on the SOP to obtain a SOP containing new version information. Thus, the SOP can be updated on the platform side, and the version information can effectively enable traceability and auditing.
[0187] The standard operating procedures (SOPs) pre-created on the platform side are the platform-level SOPs in the above embodiments. The method for updating the platform-level SOPs in this application embodiment can refer to the embodiment above that updates the tenant-level SOPs on the tenant side.
[0188] In one embodiment, a standard operating procedure further includes: associated inspection items; an inspection item is an atomic inspection definition for an inspection object; the inspection items associated with the standard operating procedure are pre-created on the platform side; the method further includes: in response to a deletion instruction for any created inspection item, deleting the inspection item if the inspection item is not associated with a standard operating procedure.
[0189] The platform maintains the categories and items of inspection items. For example, inspection item categories can be single-level categories (i.e., flat categories, without multi-level nesting), such as inspection items for fire safety, electrical safety, and passageway safety. This simplifies the classification hierarchy and reduces management complexity.
[0190] Each inspection item includes: an identifier, a name, a description, and a status. The description is a functional description of the inspection item, serving as reference information for the platform when creating standard operating procedures. The status indicates whether the inspection item is associated with a standard operating procedure.
[0191] Understandably, during the maintenance of inspection items, the platform checks whether an inspection item has been referenced by any standard operating procedure (SOP) before deleting it. If a reference exists, meaning there is an SOP associated with the inspection item, the platform refuses to delete it to ensure the stability of subsequent job assembly.
[0192] See Figure 6 At the basic capability layer, inspection items are maintained based on the classification of inspection items; at the execution unit layer, SOPs are maintained and bound to capability units in a 1:1 manner; at the solution assembly layer, job positions are generated based on job objectives; at the instance binding layer, after determining the inspection space of digital employee instances, the binding relationship between SOPs and equipment is determined; at the runtime layer, the data obtained from the above layers is aggregated in a structured manner to obtain the runtime context.
[0193] See Figure 7 The overall process of job arrangement includes:
[0194] S701: Build the basic library of check items.
[0195] That is, maintain the inspection items on the platform side.
[0196] S702: Constructing the SOP.
[0197] That is, maintain SOPs on the platform side.
[0198] S703: Create job templates.
[0199] That is, to establish job objectives on the platform side.
[0200] S704: Create a job posting.
[0201] That is, on the tenant side, job positions are generated based on job templates.
[0202] S705: Create a digital employee instance.
[0203] That is, based on the generated job titles, obtain configuration information for digital employees.
[0204] S706: Spatial nodes expand into a device list.
[0205] That is, to determine the target equipment mounted under the inspection space indicated by the tenant.
[0206] S707: Establish a binding relationship.
[0207] That is, for each SOP configured for a digital employee instance, the corresponding target device is bound.
[0208] S708: Aggregate to obtain the runtime context.
[0209] That is, the generated job positions and their binding relationships are aggregated in a structured manner to obtain the runtime context.
[0210] S709: Create / start / update instances.
[0211] That is, a live instance of the digital employee is created based on the runtime context. This live instance is then launched to perform inspection tasks. Additionally, the live instance can be updated incrementally.
[0212] Based on the same inventive concept, this application also provides a job arrangement device for digital employees, which is applied on the tenant side. See [link to relevant documentation]. Figure 8 The device includes:
[0213] The basic data management module 801 is used to obtain configuration information for digital employees; wherein, the configuration information includes: the target inspection space corresponding to the digital employee, and the target position to which it belongs; a position includes: a position role description, and an associated standard operating procedure; a standard operating procedure includes: an execution process, and an associated capability unit;
[0214] The binding relationship generation module 802 is used to establish a binding relationship between each standard operating procedure associated with the target position and the target equipment mounted under the target inspection space; wherein, the target equipment bound to each standard operating procedure represents the inspection object of the standard operating procedure;
[0215] The structured aggregation module 803 is used to perform structured aggregation of the information to be utilized to obtain the runtime context; wherein, the information to be utilized includes: the job role description of the target job, the standard operating procedures associated with the target job, and the binding relationship;
[0216] The instance control module 804 is used to call the interface of the digital employee runtime with the runtime context as input parameter to generate the actual running instance of the digital employee.
[0217] Optionally, a standard operating procedure may be associated with one capability unit.
[0218] And / or,
[0219] The number of standard operating procedures associated with a job position shall not exceed the preset number;
[0220] And / or,
[0221] The job description and associated standard operating procedures contained in a job position are stored independently.
[0222] Optionally, the basic data management module 801 is specifically used to respond to the received template selection instruction, select the job template indicated by the template selection instruction from the job templates pre-created on the platform side, and generate the target job based on the selected job template;
[0223] or,
[0224] In response to the received job creation instruction, the job indicated by the job creation instruction is generated as the target job.
[0225] Optionally, the basic data management module 801 is specifically used to respond to the received editing instructions, perform editing operations on the selected job template, and obtain the target job.
[0226] The editing operation includes at least one of the following: deleting an associated standard operating procedure, adding a new associated standard operating procedure, and modifying the job role description; the added associated standard operating procedure includes: the standard operating procedure pre-created on the platform side, and / or the standard operating procedure pre-created on the tenant side.
[0227] Optionally, the standard operating procedures pre-created on the platform side and the standard operating procedures pre-created on the tenant side are stored independently; the standard operating procedures pre-created on the platform side can be shared by different tenant sides; the standard operating procedures pre-created on the tenant side achieve multi-tenant isolation based on the tenant identifier.
[0228] Optionally, a job posting may also include version information;
[0229] The device further includes: a job update module, which is used to update any job already generated on the tenant side in response to receiving an update instruction for that job, and obtain a job containing new version information.
[0230] The update operation for this position includes at least one of the following: deleting the associated standard operating procedures, adding new associated standard operating procedures, and modifying the job role description; the added associated standard operating procedures include: standard operating procedures pre-created on the platform side and / or standard operating procedures pre-created on the tenant side.
[0231] Optionally, a standard operating procedure may also include version information;
[0232] The device further includes a standard operating procedure update module, which, in response to receiving an update instruction for any standard operating procedure already created on the tenant side, performs an update operation on the standard operating procedure to obtain a standard operating procedure containing new version information.
[0233] Optionally, the apparatus further includes: an instance update module, configured to, after generating an actual running instance of the digital employee by calling the interface of the digital employee runtime with the runtime context as input, incrementally update the runtime context based on the updated portion in response to any update in the information to be utilized; and trigger the instance control module 804.
[0234] Optionally, the configuration information may also include: a limit on the maximum number of devices that the digital employee can support when performing inspection tasks;
[0235] The binding relationship generation module 802 is specifically used to establish a binding relationship between each standard operating procedure associated with the target position and the target equipment attached to the target inspection space, provided that the number of target equipment attached to the target inspection space does not exceed the maximum number of equipment.
[0236] Optionally, the configuration information further includes reporting information; the reporting information includes at least one of the following: reporting target, upgrade contact person, and notification channel identifier; the runtime context also contains the reporting information.
[0237] And / or,
[0238] The configuration information also includes execution constraint information; the execution constraint information includes at least one of the following: inspection frequency, maximum number of concurrent tasks, and execution limit; the runtime context also contains the execution constraint information.
[0239] Optionally, a standard operating procedure may also include: associated inspection items; an inspection item is an atomic inspection definition for the inspection object.
[0240] Based on the same inventive concept, this application also provides a job arrangement device for digital employees, the device being applied to a platform side, the device comprising:
[0241] The job template generation module is used to generate a job template indicated by the received job template creation instruction; wherein, a job template includes: a job role description and an associated standard operating procedure; a standard operating procedure includes: an execution flow and an associated capability unit;
[0242] The storage module is used to store the generated job templates in a shared data area that supports sharing between different tenants, so that the tenants can obtain the job templates from the shared data area, obtain the target jobs, and execute the job arrangement method applied to the tenants.
[0243] Optionally, the standard operating procedure associated with the job template is pre-created on the platform side; a standard operating procedure also includes version information;
[0244] The device further includes:
[0245] The standard operating procedure update module is used to update any standard operating procedure created on the platform side in response to receiving an update instruction for that standard operating procedure, thereby obtaining a standard operating procedure containing new version information.
[0246] Optionally, a standard operating procedure may also include: associated inspection items; an inspection item being an atomic inspection definition for the inspection object; the inspection items associated with the standard operating procedure being pre-created on the platform side;
[0247] The device further includes:
[0248] The inspection item management module is used to delete any inspection item that has been created if it is not associated with a standard operating procedure, in response to a deletion command.
[0249] Based on the same inventive concept, this application also provides a job scheduling system for digital employees, the system including: tenant-side equipment;
[0250] Used to obtain configuration information for digital employees; wherein, the configuration information includes: the target inspection space corresponding to the digital employee, and the target position to which it belongs; a position includes: a position role description, and an associated standard operating procedure; a standard operating procedure includes: an execution process, and an associated capability unit;
[0251] And the binding relationship between each standard operating procedure associated with the target position and the target equipment mounted under the target inspection space; wherein, the target equipment bound to each standard operating procedure represents the inspection object of the standard operating procedure;
[0252] And for the structured aggregation of information to be utilized to obtain runtime context; wherein, the information to be utilized includes: job role description of the target position, standard operating procedures associated with the target position, and the binding relationship;
[0253] And an interface for calling the digital employee runtime with the runtime context as input parameter to generate an actual running instance of the digital employee.
[0254] The operations performed by the tenant-side devices can be referred to the relevant description of the above-described embodiment of the job arrangement method applied to the tenant side.
[0255] In one embodiment, the system further includes: a platform-side device;
[0256] In response to a received job template creation instruction, the job template is generated as indicated by the job template creation instruction; wherein, a job template includes: a job role description and an associated standard operating procedure; a standard operating procedure includes: an execution flow and an associated capability unit;
[0257] And for storing the generated job template in a shared data area that supports sharing between different tenants, so that the tenant can obtain the job template from the shared data area and obtain the target job.
[0258] The operations performed by the platform-side devices can be referred to the relevant descriptions of the above-described embodiments of the job arrangement method applied to the platform side.
[0259] This application also provides an electronic device, such as... Figure 9 As shown, it includes:
[0260] Memory 901 is used to store computer programs;
[0261] The processor 902, when executing the program stored in the memory 901, implements any of the above-mentioned job arrangement methods.
[0262] Furthermore, the aforementioned electronic device may also include a communication bus and / or a communication interface, with the processor 902, communication interface, and memory 901 communicating with each other via the communication bus.
[0263] The communication bus mentioned in the above electronic devices can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. This communication bus can be divided into address bus, data bus, control bus, etc. For ease of illustration, only one thick line is used to represent it in the diagram, but this does not mean that there is only one bus or one type of bus.
[0264] The communication interface is used for communication between the aforementioned electronic devices and other devices.
[0265] The memory may include random access memory (RAM) or non-volatile memory (NVM), such as at least one disk storage device. Optionally, the memory may also be at least one storage device located remotely from the aforementioned processor.
[0266] The processors mentioned above can be general-purpose processors, including central processing units (CPUs), network processors (NPs), etc.; they can also be digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.
[0267] In another embodiment provided in this application, a computer-readable storage medium is also provided, which stores a computer program that, when executed by a processor, implements the steps of any of the above-described job arrangement methods for digital employees.
[0268] In another embodiment provided in this application, a computer program product containing instructions is also provided, which, when run on a computer, causes the computer to execute any of the job arrangement methods for digital employees described in the above embodiments.
[0269] In the above embodiments, implementation can be achieved entirely or partially through software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented entirely or partially in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a solid-state drive (SSD), etc.
[0270] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0271] The various embodiments in this specification are described in a related manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the embodiments of apparatus, systems, electronic devices, computer-readable storage media, and computer program products are basically similar to the method embodiments, and therefore the descriptions are relatively simple; relevant parts can be referred to the descriptions of the method embodiments.
[0272] The above description is merely a preferred embodiment of this application and is not intended to limit the scope of protection of this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application are included within the scope of protection of this application.
Claims
1. A method for job assignment for digital workers, characterized in that, The method is applied to the tenant side, and the method includes: Obtain configuration information for digital employees; wherein, the configuration information includes: the target inspection space corresponding to the digital employee, and the target position to which it belongs; a position includes: a position role description, and associated standard operating procedures; a standard operating procedure includes: an execution flow, and associated capability units; Establish a binding relationship between each standard operating procedure associated with the target position and the target equipment mounted under the target inspection space; wherein, the target equipment bound to each standard operating procedure represents the inspection object of that standard operating procedure; The information to be utilized is aggregated in a structured manner to obtain the runtime context; wherein, the information to be utilized includes: the job role description of the target position, the standard operating procedures associated with the target position, and the binding relationship; Using the runtime context as input, the interface of the digital employee runtime is called to generate an actual running instance of the digital employee.
2. The method of claim 1, wherein, One standard operating procedure is associated with one capability unit; And / or, The number of standard operating procedures associated with a job position shall not exceed the preset number; And / or, The job description and associated standard operating procedures contained in a job position are stored independently.
3. The method of claim 1, wherein, The target position was obtained through the following methods: In response to the received template selection instruction, the job template indicated by the template selection instruction is selected from the job templates pre-created on the platform side, and the target job is generated based on the selected job template; or, In response to the received job creation instruction, the job indicated by the job creation instruction is generated as the target job.
4. The method of claim 3, wherein, The process of generating target positions based on the selected job template includes: In response to the received editing instructions, the selected job template is edited to obtain the target job. The editing operation includes at least one of the following: deleting an associated standard operating procedure, adding a new associated standard operating procedure, and modifying the job role description; the added associated standard operating procedure includes: the standard operating procedure pre-created on the platform side, and / or the standard operating procedure pre-created on the tenant side.
5. The method of claim 4, wherein, The standard operating procedures pre-created on the platform side and the standard operating procedures pre-created on the tenant side are stored independently of each other; the standard operating procedures pre-created on the platform side can be shared by different tenant sides; the standard operating procedures pre-created on the tenant side achieve multi-tenant isolation based on tenant identifiers.
6. The method of claim 1, wherein, A job posting also includes version information; The method further includes: For any job posting already generated on the tenant's side, in response to receiving an update instruction for that job posting, the job posting update operation is performed to obtain a job posting containing the new version information; The update operation for this position includes at least one of the following: deleting the associated standard operating procedures, adding new associated standard operating procedures, and modifying the job role description; the added associated standard operating procedures include: standard operating procedures pre-created on the platform side and / or standard operating procedures pre-created on the tenant side.
7. The method according to claim 1, characterized in that, A standard operating procedure also includes version information; The method further includes: For any standard operating procedure (SOP) already created on the tenant side, in response to receiving an update instruction for that SOP, an update operation is performed on the SOP to obtain an SOP containing new version information.
8. The method according to claim 1, characterized in that, After generating an actual running instance of the digital employee by calling the interface of the digital employee runtime with the runtime context as input, the method further includes: In response to an update to any of the information to be utilized, the runtime context is incrementally updated based on the updated portion; Return to the step of calling the interface of the digital employee runtime with the runtime context as input parameter to generate the actual running instance of the digital employee.
9. The method according to claim 1, characterized in that, The configuration information also includes: a constraint on the maximum number of devices that the digital employee can support when performing inspection tasks; The process of establishing the binding relationship between each standard operating procedure associated with the target position and the target equipment mounted under the target inspection space includes: If the number of target devices attached to the target inspection space does not exceed the maximum number of devices, a binding relationship is established between each standard operating procedure associated with the target position and the target devices attached to the target inspection space.
10. The method according to claim 1, characterized in that, The configuration information also includes reporting information; the reporting information includes at least one of the following: reporting target, upgrade contact person, and notification channel identifier; the runtime context also contains the reporting information. And / or, The configuration information also includes execution constraint information; the execution constraint information includes at least one of the following: inspection frequency, maximum number of concurrent tasks, and execution limit; the runtime context also contains the execution constraint information.
11. The method according to claim 1, characterized in that, A standard operating procedure also includes: associated inspection items; an inspection item is an atomic inspection definition for the inspection object.
12. A job arrangement method for digital employees, characterized in that, The method is applied to the platform side, and the method includes: In response to a received job template creation instruction, a job template as indicated by the job template creation instruction is generated; wherein, a job template includes: a job role description and an associated standard operating procedure; a standard operating procedure includes: an execution flow and an associated capability unit; The generated job template is stored in a shared data area that supports sharing between different tenants, so that the tenant can obtain the job template from the shared data area, obtain the target job, and perform the method according to any one of claims 1-11.
13. The method according to claim 12, characterized in that, The standard operating procedure associated with the job template is pre-created on the platform side; a standard operating procedure also includes version information. The method further includes: For any standard operating procedure (SOP) already created on the platform, in response to receiving an update instruction for that SOP, the platform performs an update operation on the SOP to obtain an SOP containing new version information.
14. The method according to claim 12, characterized in that, A standard operating procedure also includes: associated inspection items; an inspection item is an atomic inspection definition for the inspected object; The inspection items associated with the standard operating procedure are pre-created on the platform side; The method further includes: In response to a deletion command for any created check item, delete the check item if it is not associated with a standard operating procedure.
15. A job scheduling system for digital employees, characterized in that, The system includes: tenant-side equipment; Used to obtain configuration information for digital employees; wherein, the configuration information includes: the target inspection space corresponding to the digital employee, and the target position to which it belongs; a position includes: a position role description, and an associated standard operating procedure; a standard operating procedure includes: an execution process, and an associated capability unit; And the binding relationship between each standard operating procedure associated with the target position and the target equipment mounted under the target inspection space; wherein, the target equipment bound to each standard operating procedure represents the inspection object of the standard operating procedure; And for the structured aggregation of information to be utilized to obtain runtime context; wherein, the information to be utilized includes: job role description of the target position, standard operating procedures associated with the target position, and the binding relationship; And an interface for calling the digital employee runtime with the runtime context as input parameter to generate an actual running instance of the digital employee.
16. The system according to claim 15, characterized in that, The system also includes: platform-side equipment; In response to a received job template creation instruction, the job template is generated as indicated by the job template creation instruction; wherein, a job template includes: a job role description and an associated standard operating procedure; a standard operating procedure includes: an execution flow and an associated capability unit; And for storing the generated job template in a shared data area that supports sharing between different tenants, so that the tenant can obtain the job template from the shared data area and obtain the target job.
17. A job scheduling device for digital employees, characterized in that, The device is applied on the tenant side, and the device includes: The basic data management module is used to obtain configuration information for digital employees; wherein, the configuration information includes: the target inspection space corresponding to the digital employee, and the target position to which it belongs; a position includes: a position role description, and associated standard operating procedures; a standard operating procedure includes: an execution process, and associated capability units; The binding relationship generation module is used to establish a binding relationship between each standard operating procedure associated with the target position and the target equipment mounted under the target inspection space; wherein, the target equipment bound to each standard operating procedure represents the inspection object of the standard operating procedure; The structured aggregation module is used to perform structured aggregation of the information to be utilized to obtain the runtime context; wherein, the information to be utilized includes: the job role description of the target job, the standard operating procedures associated with the target job, and the binding relationship; The instance control module is used to call the interface of the digital employee runtime with the runtime context as input parameter to generate the actual running instance of the digital employee.
18. A job scheduling device for digital employees, characterized in that, The device is applied to the platform side, and the device includes: The job template generation module is used to generate a job template indicated by the received job template creation instruction; wherein, a job template includes: a job role description and an associated standard operating procedure; a standard operating procedure includes: an execution flow and an associated capability unit; A storage module is used to store the generated job template in a shared data area that supports sharing between different tenants, so that the tenant can obtain the job template from the shared data area, obtain the target job, and perform the method according to any one of claims 1-11.
19. An electronic device, characterized in that, include: Memory, used to store computer programs; A processor, when executing a program stored in memory, implements the method described in any one of claims 1-14.
20. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the method described in any one of claims 1-14.
