Log generation method, object processing method, computing device and computer storage medium

By generating and storing task logs for each scheduling task in the scheduling server, the problem of inaccurate coupling of log data in the prior art is solved, and the availability and query efficiency of logs are improved.

CN119988167APending Publication Date: 2025-05-13BEIJING 58 INFORMATION TTECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510067761.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-15
Publication Date
2025-05-13

AI Technical Summary

Technical Problem

In the prior art, various data in the logs generated by the scheduling server are coupled together, which is not accurate enough, which increases the detection workload and complexity, resulting in low log availability.

Method used

When executing scheduling tasks, a task log of the scheduling task is generated, and the task log and the task identifier of the scheduling task are stored in the database to realize separate logging for each scheduling task.

Benefits of technology

The log availability is improved, so that when task analysis and detection are required, the task log of the scheduled task can be easily and accurately queried.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119988167A_ABST
    Figure CN119988167A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a log generation method, an object processing method, computing equipment, a computer storage medium and a computer program product. The log generation method comprises the following steps: S1, in response to a starting instruction, switching to a scheduling state; s2, in a scheduling state, judging whether an object processing instruction for a target object sent by a client is received or not, if so, executing a step S3, and if not, continuing to execute the step S2; s3, obtaining an object processing instruction; s4, in response to the object processing instruction, generating a scheduling task; s5, executing the scheduling task to schedule the object processing instruction to an object processing server corresponding to the target object; s6, in response to execution operation of the scheduling task, generating a task log of the scheduling task; and S7, correspondingly storing the task log and the task identifier of the scheduling task in a database. According to the technical scheme provided by the embodiment of the invention, the availability of the log can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of data processing technology, and in particular to a log generation method, an object processing method, a computing device, a computer storage medium, and a computer program product. Background Art

[0002] In online application scenarios that provide object transactions, a large number of processing operations on the objects are often involved. For example, a promotional video is generated based on the object description information to promote and publicize the object through the promotional video.

[0003] In order to facilitate object processing, a large number of object processing instructions used to trigger object processing are usually uniformly distributed by the scheduling server, and different object processing instructions are dispatched to the corresponding object processing server for processing. The scheduling server generates logs during operation to record the detailed information of various operations performed by it. The scheduling operation of the object processing instruction can be detected based on the log of the scheduling server to ensure the safety and accuracy of the scheduling operation.

[0004] However, in the process of implementing the concept of the present application, the inventors found that various data in the logs generated by the scheduling server in the related art are coupled together, which is not accurate enough, increases the workload and complexity of detection, and leads to low log availability. Summary of the invention

[0005] Embodiments of the present application provide a log generation method, an object processing method, a computing device, a computer storage medium, and a computer program product.

[0006] In a first aspect, an embodiment of the present application provides a log generation method, which is applied to a scheduling server, and the method includes:

[0007] S1: In response to the start command, switch to the scheduling state;

[0008] S2: In the scheduling state, determine whether an object processing instruction for the target object sent by the client is received, if so, execute step S3, otherwise continue to execute step S2;

[0009] S3: Acquire an object processing instruction, where the object processing instruction includes object description information of the target object;

[0010] S4: generating a scheduling task in response to the object processing instruction;

[0011] S5: executing the scheduling task to schedule the object processing instruction to the object processing server corresponding to the target object, wherein the object processing instruction is used to instruct the object processing server to perform a corresponding processing operation based on the object description information;

[0012] S6: In response to the execution operation of the scheduled task, generating a task log of the scheduled task;

[0013] S7: The task log and the task identifier of the scheduled task are stored in a database in correspondence.

[0014] In a second aspect, an embodiment of the present application provides an object processing method, which is applied to an object processing server, and the method includes:

[0015] Receive an object processing instruction sent by a scheduling server, wherein after obtaining the object processing instruction for the target object, the scheduling server generates a scheduling task in response to the object processing instruction, and executes the scheduling task to send the object processing instruction to the object processing server; and generates a task log of the scheduling task, and stores the task log and the task identifier of the scheduling task in a database in correspondence

[0016] The processing operation is performed according to the instructions of the object description information included in the object processing instruction.

[0017] In a third aspect, an embodiment of the present application provides a log generation device, which can be applied to a scheduling server, and the device can specifically include:

[0018] A state switching module, used to switch to a scheduling state in response to a start instruction;

[0019] A first acquisition module is used to determine whether an object processing instruction for a target object sent by a client is received in the scheduling state;

[0020] An instruction acquisition module, used for acquiring an object processing instruction, wherein the object processing instruction includes object description information of the target object;

[0021] A first task generation module, used to generate a scheduling task in response to the object processing instruction;

[0022] A task execution module, used for executing the scheduling task to schedule the object processing instruction to the object processing server corresponding to the target object, wherein the object processing instruction is used for instructing the object processing server to perform a corresponding processing operation based on the object description information;

[0023] A log generation module, used to generate a task log of the scheduled task in response to the execution operation of the scheduled task;

[0024] The first storage module is used to store the task log and the task identifier of the scheduled task in a database in correspondence.

[0025] In a fourth aspect, an embodiment of the present application provides an object processing device, which can be applied to an object processing server, and the device may specifically include:

[0026] An instruction receiving module is used to receive an object processing instruction sent by a scheduling server, wherein after obtaining the object processing instruction for the target object, the scheduling server generates a scheduling task in response to the object processing instruction, and executes the scheduling task to send the object processing instruction to the object processing server; and generates a task log of the scheduling task, and stores the task log and the task identifier of the scheduling task in a database in correspondence

[0027] The object processing module is used to perform processing operations according to the instructions of the object description information included in the object processing instruction.

[0028] In a fifth aspect, an embodiment of the present application provides a computing device, including a processing component and a storage component;

[0029] The storage component stores one or more computer instructions; the one or more computer instructions are used to be called and executed by the processing component to implement the log generation method provided in the embodiment of the present application, or to implement the object processing method provided in the embodiment of the present application.

[0030] In a sixth aspect, a computer storage medium is provided in an embodiment of the present application, storing a computer program, and when the computer program is executed by a computer, it implements the log generation method provided in the embodiment of the present application, or implements the object processing method provided in the embodiment of the present application.

[0031] In the seventh aspect, a computer program product is provided in an embodiment of the present application, and the computer program product includes a computer program code. When the computer program code is executed by a computer, the log generation method provided in the embodiment of the present application is implemented, or the object processing method provided in the embodiment of the present application is implemented.

[0032] An embodiment of the present application provides a log generation method, which generates a task log of the scheduling task after executing the scheduling task to schedule the object processing instruction to the corresponding object processing server, so that each scheduling task can be logged separately. Furthermore, the task log and the task identifier of the scheduling task are stored in a database in correspondence, so that when the task analysis and detection are required, the task log of the scheduling task can be conveniently and accurately queried, thereby improving the availability of the log.

[0033] These and other aspects of the present application will become more clearly understood in the description of the following embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0035] Figure 1 A system architecture diagram is shown in which the technical solution of an embodiment of the present application can be applied;

[0036] Figure 2 A flow chart of a log generation method provided by an embodiment of the present application is shown;

[0037] Figure 3 A schematic diagram of a log generation method provided by an embodiment of the present application is shown;

[0038] Figure 4 A flowchart of an object processing method provided by an embodiment of the present application is shown;

[0039] Figure 5 A block diagram of a log generating device provided by an embodiment of the present application is shown;

[0040] Figure 6 A block diagram of an object processing device provided by an embodiment of the present application is shown;

[0041] Figure 7 A block diagram of a computing device provided by an embodiment of the present application is shown. DETAILED DESCRIPTION

[0042] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.

[0043] In some of the processes described in the specification and claims of this application and the above-mentioned figures, multiple operations that appear in a specific order are included, but it should be clearly understood that these operations may not be executed in the order in which they appear in this article or executed in parallel. The serial numbers of the operations, such as 101, 102, etc., are only used to distinguish between different operations, and the serial numbers themselves do not represent any execution order. In addition, these processes may include more or fewer operations, and these operations may be executed in sequence or in parallel. It should be noted that the descriptions of "first", "second", etc. in this article are used to distinguish different messages, devices, modules, etc., do not represent the order of precedence, and do not limit the "first" and "second" to be different types.

[0044] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0045] In online application scenarios that provide object transactions, a large number of processing operations on the objects are often involved. For example, a promotional video is generated based on the object description information to promote and publicize the object through the promotional video.

[0046] In order to facilitate object processing, a large number of object processing instructions used to trigger object processing are usually uniformly distributed by the scheduling server, and different object processing instructions are dispatched to the corresponding object processing server for processing. The scheduling server generates logs during operation to record the detailed information of various operations performed by it. The scheduling operation of the object processing instruction can be detected based on the log of the scheduling server to ensure the safety and accuracy of the scheduling operation.

[0047] However, in the process of realizing the concept of this application, the inventors found that various data in the logs generated by the scheduling server in the related art are coupled together, which is not accurate enough, increasing the detection workload and complexity, resulting in low log availability. For example, when a processing instruction of a target object stagnates for a long time or the execution result is abnormal, the technicians need to manually filter and analyze the information that may be related to the problem from a large number of mixed logs, which not only consumes a lot of time and energy, but also easily misses important clues due to the confusion of information, resulting in low efficiency of troubleshooting, prolonging the recovery time of the fault, and thus affecting the normal operation and efficiency of the entire target object processing process.

[0048] In order to solve the technical problems existing in the related technology, the embodiment of the present application provides a log generation method, which generates a task log of the scheduling task after executing the scheduling task to schedule the object processing instruction to the corresponding object processing server, so that each scheduling task can be logged separately. Furthermore, the task log and the task identifier of the scheduling task are stored in a database in correspondence, so that when the task analysis and detection are required, the task log of the scheduling task can be conveniently and accurately queried, thereby improving the availability of the log.

[0049] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of this application.

[0050] Figure 1 A system architecture diagram is shown in which the technical solution of an embodiment of the present application can be applied. The system architecture may include a client 101 and a scheduling server 102.

[0051] The client 101 and the scheduling server 102 are connected via a network. The network provides a medium for a communication link between the client 101 and the scheduling server 102. The network may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.

[0052] The client 101 can interact with the scheduling server 102 through the network to receive or send messages, etc.

[0053] The client 101 may be a browser, an APP (Application), or a web application such as an H5 (HyperText Markup Language 5, version 5) application, or a light application (also known as a mini-program, a lightweight application) or a cloud application, etc. The client 101 may be deployed in an electronic device and may rely on the device to run or some apps in the device to run, etc. For example, the electronic device may have a display screen and support information browsing, such as a personal mobile terminal such as a mobile phone, a tablet computer, a personal computer, etc. For ease of understanding, Figure 1 In the text, the client is mainly represented by a device image. Various other types of applications can usually be configured in electronic devices, such as human-computer dialogue applications, model training applications, text processing applications, web browser applications, shopping applications, search applications, instant messaging tools, email clients, social platform software, etc.

[0054] It should be noted that the scheduling server 102 can be implemented as a distributed server cluster consisting of multiple servers, or as a single server. The server can also be a server of a distributed system, or a server combined with a blockchain. The server can also be a cloud server, or an intelligent cloud computing server or intelligent cloud host with artificial intelligence technology.

[0055] It should be understood that Figure 1 The number of clients and scheduling servers in the embodiment is only for illustration. Any number of clients and scheduling servers may be provided according to implementation requirements.

[0056] The implementation details of the technical solution of the embodiment of the present application are elaborated in detail below.

[0057] Figure 2 A flow chart of a log generation method provided by an embodiment of the present application is shown. The log generation method can be applied to a scheduling server. The method can specifically include the following steps:

[0058] S1: In response to the start command, switch to the scheduling state;

[0059] When the scheduling server receives the startup instruction, it can enter the working state and switch to the scheduling state. This startup instruction can come from the manual operation of the system administrator, or it can be triggered by the system's preset timed startup mechanism. At this stage, the scheduling server can initialize some of its own key parameters and resources, such as establishing a connection with the database, and prepare to receive and process subsequent instructions.

[0060] S2: In the scheduling state, determine whether an object processing instruction for the target object sent by the client is received, if so, execute step S3, otherwise continue to execute step S2;

[0061] After entering the scheduling state, the scheduling server can continuously detect the client's messages. When the client has a processing requirement for the target object, it can send an object processing instruction to the scheduling server. The scheduling server detects in real time whether a new instruction has arrived through the network communication module. If no instruction is received, the scheduling server will remain in the detection state and continuously execute this step until the object processing instruction sent by the client is detected.

[0062] S3: Acquire an object processing instruction, where the object processing instruction includes object description information of the target object;

[0063] The target object may include a commodity, and the promotional video generated by the above object processing instruction may be used to introduce and promote the commodity represented by the target object. The above commodity may include tangible products or intangible services; tangible products may refer to commodities that can be touched and physically owned, such as electronic products, clothing or daily necessities; intangible services may include services provided by merchants, such as nanny services, cleaning services, maintenance services or any products and services that do not have a physical form.

[0064] Taking the target object as an intangible service as an example, it can include services of specific service types, such as the above-mentioned nanny service, cleaning service, and maintenance service can be services of different service types. Target objects of different service types often have different characteristics, so target objects of different service types have different needs for promotional videos.

[0065] Based on this, multiple object processing servers can be deployed, each of which can have different object processing capabilities to meet the diverse needs of target objects of different service types. For example, an object processing server can be used to generate promotional videos for target objects. For example, one object processing server may specialize in generating promotional videos that meet the needs of the nanny service type, while another object processing server may focus on generating videos that meet the needs of the cleaning service.

[0066] S4: In response to the object processing instruction, generate a scheduling task.

[0067] After receiving the object processing instruction, the scheduling server may generate a scheduling task to respond to the object processing instruction using the scheduling task. The scheduling task may include task information on how to process the object processing instruction, and the task information may include, for example, which object processing server to schedule the object processing instruction to.

[0068] In some embodiments, in response to the object processing instruction, an object processing task may be generated, wherein the object processing task may be used to instruct the object processing server to generate a corresponding promotional video.

[0069] In an embodiment of the present application, an object processing task may include object description information and video configuration information. Among them, the object description information may include the name, characteristics, purpose, advantages and other contents of the target object, which can be used as the basis for the video content of the promotional video. For example, the following is the object description information of the cleaning service: "Professional home cleaning service, covering whole house cleaning, including kitchens, bathrooms, bedrooms and other areas, meticulous service, and the use of environmentally friendly detergents." Through the object description information, the name of the target object can be introduced, such as "home cleaning service", where the service content of "home cleaning service" includes "whole house cleaning, including kitchens, bathrooms, bedrooms and other areas", and the service advantages and characteristics are "meticulous service, the use of environmentally friendly detergents." The video configuration information may include basic video attribute configurations such as format, resolution, duration, frame rate, etc.

[0070] S5: Execute a scheduling task to schedule the object processing instruction to the object processing server corresponding to the target object, where the object processing instruction is used to instruct the object processing server to perform a corresponding processing operation based on the object description information.

[0071] As mentioned above, multiple object processing servers can be deployed, and the scheduling task includes task information for scheduling the object processing instructions to a specific object processing server. Therefore, the scheduling task can be executed to schedule the object processing instructions to the object processing server indicated by the task information and corresponding to the service type of the target object.

[0072] In some embodiments, executing a scheduling task to schedule an object processing instruction to an object processing server corresponding to a target object may be specifically implemented as: executing a scheduling task to schedule an object processing task to an object processing server. Thus, the object processing server may generate a corresponding promotional video according to the object description information and video configuration information in the object processing task.

[0073] S6: In response to the execution operation of the scheduled task, a task log of the scheduled task is generated.

[0074] S7: Store the task log and the task identifier of the scheduled task in the database in correspondence.

[0075] In the process of executing the scheduling task, the task log of the scheduling task can be generated by recording the basic information of the scheduling task and the key events in the task execution process. Among them, the basic information of the scheduling task can include, for example, the creation time of the scheduling task, the task identifier of the scheduling task, the task name or brief description of the scheduling task, etc.; the key events in the task execution process can include, for example, the time when the task starts to be scheduled, the time when the object processing task is successfully assigned to the object processing server, the time when the key steps in the task processing process are completed, and the time when the task is finally completed or failed. In addition, the abnormal situations that occur during the task execution process are also recorded, such as the failure of communication with the object processing server due to network connection interruption, the suspension or failure of the task due to insufficient resources of the object processing server, the missing or formatted materials, and other problems, as well as the processing measures taken by the system for these abnormal situations.

[0076] In an embodiment of the present application, the generation of task logs can be realized by embedding log record statements in the code of the scheduling server. The log record statement can be triggered at the key node of the scheduling task execution, collect relevant information and format it into a unified log format. For example, when the task is created, the log statement recording the basic information of the task will be executed to record information such as the task creation time and task identification; in the task scheduling process, whenever the task state changes), the corresponding log record statement will record the time and detailed information of the state change. For abnormal situations in the scheduling task execution process, the scheduling server can capture the exception and trigger a special exception handling log record statement, recording the exception type, occurrence time, relevant context information and processing results in detail.

[0077] In the database, a data table specifically used to store task logs can be created. The table structure of the data table can be determined according to the content of the log record, and can include fields such as task ID, log timestamp, log content, etc. After the task log is generated, the task log and the task ID can be stored in the data table of the database accordingly.

[0078] By storing task logs in association with task IDs, you can easily query the complete log records of a specific task based on the task ID, or filter and perform statistical analysis based on other conditions (such as time range, task status, target object type, etc.).

[0079] In some embodiments, the method may further include: recording the task status of the object processing task in a database.

[0080] By recording the task status of the object processing task in the database, the scheduling server can understand the execution status of the object processing task through the task status.

[0081] In some embodiments, recording the task status of an object processing task in a database can be specifically implemented as follows: after scheduling the object processing task to an object processing server, determining that the task status is a first status; and determining that the task status is a second status based on a generation result of the object processing server.

[0082] In an embodiment of the present application, the task status of the object processing task may be divided into a processing status, ie, a first status, and a completion status, ie, a second status.

[0083] The processing status may indicate the intermediate state of task processing, for example, it may include the initial state, the scheduling state, and the processing state. When an object processing task has just been created but has not yet started processing, its status may be recorded as "initial" or "waiting for scheduling". At this time, the object processing task has not yet been assigned to a specific object processing server for processing. This status indicates that the object processing task is in the task queue, waiting for scheduling; when the task is assigned to a suitable object processing server, the task status may be "scheduling"; when the object processing task is successfully assigned to an object processing server, the server begins to process the object processing task, and the task status may be "processing".

[0084] The completion status may indicate the completion of the object processing task, which may include a success status and a failure status. When the object processing server successfully completes the object processing task and generates a promotional video that meets the requirements, the task status may be set to "successful"; if the object processing task cannot continue to be executed at any stage and ultimately fails to generate a promotional video, the task status may be marked as "failed".

[0085] In some embodiments, the method may further include: determining whether an alarm condition is met according to the task status; and generating alarm information if the alarm condition is met.

[0086] In a possible implementation of the present application, the scheduling server may pre-set a reasonable execution time range for each object processing task. Based on this, whether the duration of the task state being in the first state is greater than the reasonable execution time range may be used as an alarm condition, and an alarm message may be generated when the duration of the task state being in the first state is greater than the reasonable execution time range.

[0087] When the object processing task is in the first state for a long time, exceeding the reasonable execution time range, it may mean that the object processing task encounters problems during the processing, such as resources being occupied by other processes resulting in slow processing speed, or the video generation algorithm falling into an infinite loop, etc. At this time, an alarm message can be generated.

[0088] In another possible implementation of the present application, when the first state includes an initial state, a scheduling state, and a processing state, frequent switching of the task state between multiple states may also be used as an alarm condition.

[0089] Normally, the status of an object processing task should be slowly converted in a certain order, for example, from "waiting for scheduling" to "scheduling" and then to "processing". If the task status of an object processing task frequently switches back and forth between several states, it may be due to unreasonable resource allocation and other reasons that cause the object processing task to be repeatedly rescheduled, or the communication with the object processing server is unstable, so the object processing task cannot be scheduled to the object processing server for processing. At this time, an alarm message can be generated.

[0090] The alarm information may include basic task information, description of the alarm reason, etc.

[0091] In some embodiments, the method may further include: determining at least one execution component for executing the scheduling task; during the execution of the scheduling task, generating component logs corresponding to at least one execution component respectively; and storing at least one component log, component identifier, and task identifier in correspondence.

[0092] In an embodiment of the present application, the scheduling server may include multiple execution components, such as a task scheduling component, an information receiving component, a detection component, and a log recording component. Among them, the task scheduling component can be used to schedule the received object processing task to the object processing server corresponding to the target object; the information receiving component can communicate with the object processing server to receive the task result returned by the object processing server, and after receiving the task result, update the task state from the first state to the second state; the detection component can be used to detect the task state of the object processing task to determine whether to generate an alarm message; the log recording component can be used to generate a task log for the scheduling task.

[0093] During the execution of the scheduling task, the above-mentioned execution components will generate detailed component logs, which can record the key links and related information of the components when processing tasks.

[0094] After the component log is generated, the component log, the component identifier, and the task identifier may be correspondingly stored in a database.

[0095] In some embodiments, the method may further include: obtaining component logs and task logs generated within a preset time period; and storing the component logs and task logs as log files.

[0096] The preset time period may be flexibly set according to actual application requirements. For example, the preset time period may be set in units of hours, with one log file generated every hour; or in units of days, weeks, etc.

[0097] After the log file is generated, in one possible implementation of the present application, the log file may be stored locally on the scheduling server, or, in another implementation, the log file may also be stored in a database.

[0098] As the scheduling server runs, it is often necessary to update the configuration of the scheduling server to adjust the task scheduling rules. Based on this, in some embodiments, the method may also include: obtaining the latest configuration file of the scheduling server at a preset time interval; using the latest configuration file to update the current configuration file of the scheduling server to update the configuration of the scheduling server.

[0099] The preset time interval can be determined based on the business characteristics of the system where the scheduling server is located, the frequency of changes, and the requirements for configuration timeliness. For example, for a video task distribution and production system with a relatively stable business scenario and infrequent configuration changes, the preset time interval may be set to be longer, such as in days. Obtaining the latest configuration file once a day is sufficient to ensure that the scheduling server can apply new configuration adjustments in a timely manner; if the system is in a rapid iteration stage, business rules, resource allocation strategies, etc. often change, then a shorter preset time interval can be set, such as obtaining it every hour or even every ten minutes, so that the scheduling server can quickly adapt to new configuration requirements and ensure efficient operation of the system.

[0100] In an embodiment of the present application, the latest configuration file of the scheduling server can be stored in a specific storage location, such as a specific directory in a local file system, or in a dedicated configuration management database. The scheduling server can periodically execute a script for obtaining the latest configuration file at a predetermined time interval, and the script can obtain the latest configuration file content using a corresponding file reading operation or a database query operation according to the storage location of the configuration file.

[0101] Directly using the latest configuration file to overwrite the current configuration file may affect these ongoing scheduling tasks, causing errors, interruptions in task execution, or results that do not meet expectations. Therefore, in some embodiments, using the latest configuration file to update the current configuration file of the scheduling server can be specifically implemented as follows: in response to obtaining the latest configuration file, determining whether there is any scheduling task currently being executed on the scheduling server; if there is any scheduling task currently being executed on the scheduling server, executing the scheduling task using the configuration corresponding to the current configuration file; after the execution of the scheduling task being executed is completed, overwriting the current configuration file with the latest configuration file.

[0102] In an embodiment of the present application, the scheduling server may maintain a task management component, which may be used to track and record in real time the relevant information and task status of all scheduling tasks currently being executed by the scheduling server. After obtaining the latest configuration file, the scheduling server may agree to query the task management component to determine whether there is a scheduling task currently being executed.

[0103] When there are currently scheduled tasks being executed on the scheduling server, the scheduling tasks can continue to be executed according to the task scheduling strategy set in the current configuration file, so as to ensure the consistency and stability of task execution.

[0104] After confirming that all the scheduling tasks being executed have been completed, the scheduling server can start the operation of overwriting the current configuration file. The scheduling server can first parse the latest configuration file and then replace the current configuration file with the latest configuration file.

[0105] After the configuration file is overwritten, the scheduling server can execute the task according to the new configuration file when it receives and processes new scheduling tasks.

[0106] In some embodiments, after generating the alarm information, the method may further include: determining the scheduling task corresponding to the alarm information; searching for the corresponding task log based on the task identifier of the scheduling task; and using the task log to perform abnormality troubleshooting on the scheduling task.

[0107] As mentioned above, the alarm information may include a task identifier, so that the alarm information may be associated with a specific scheduling task according to the task identifier.

[0108] After receiving the alarm information, you can use the database query operation to find the task log corresponding to the scheduled task.

[0109] In some embodiments, the method may also include: receiving a service shutdown instruction; in response to the service shutdown instruction, querying a pre-stored process identification list, the process identification list records the process identification of at least one process, wherein the scheduling server executes the scheduling task by running at least one process; based on the process identification list, terminating at least one process.

[0110] After the scheduling server is started, whenever a process is created, the process ID of the process can be recorded in the process ID list. After receiving the service shutdown instruction, the scheduling server can query the pre-stored process ID list through the corresponding program code logic.

[0111] After obtaining the process identifiers in the process identifier list, in order to ensure that all related processes can be successfully terminated, the scheduling server can perform termination operations on the process identifiers in the process identifier list one by one.

[0112] In some embodiments, the scheduling server can ensure that operations at different stages remain clear and orderly by maintaining two different configurations, one for the development environment and the other for the online environment.

[0113] The configuration of the development environment can be highly flexible and variable to meet the needs of the development team in system function development, code writing, debugging, and testing new features. Developers can freely adjust the configuration and try different algorithms and business logic without worrying that these changes will affect the stability of the online environment. This configuration variability helps speed up development progress and improve code quality, while allowing the development team to experiment and optimize without affecting the production environment.

[0114] In contrast, the configuration of the online environment emphasizes stability and standardization. These configurations are rigorously tested to ensure that the system can run stably in the actual production environment and meet business needs. Configuration changes in the online environment need to go through a rigorous approval process to ensure service continuity and reliability. The stability of this configuration is crucial to ensuring user experience and service quality.

[0115] Separate management of the two configurations prevents changes in the development environment from interfering with the online environment, ensuring the continuity and reliability of online services. At the same time, this also allows the development team to freely innovate and test in the development environment without worrying about affecting online users. In this way, the scheduling server can effectively support the different needs of the development and online environments while maintaining efficient operation of the system.

[0116] Figure 3 A schematic diagram of a log generation method provided in an embodiment of the present application is shown.

[0117] like Figure 3 The scheduling server 301 can use the task scheduling component 3011 to obtain the object processing instruction at a certain time interval. After obtaining the object processing instruction, it can first determine whether the current resources are sufficient to perform the scheduling operation of the object processing instruction. If the current resources are insufficient, it can wait for the release of resources until the resources are sufficient to perform the scheduling operation.

[0118] When the object processing instruction is obtained and resources are sufficient, a scheduling task and an object processing task may be generated, and the scheduling task may be executed to schedule the object processing task to the object processing server 302 corresponding to the target object.

[0119] After executing the scheduled task, the logging component 3012 can record the task log that generates the scheduled task.

[0120] After generating the object processing task, the information receiving component 3013 can record the task status of the object processing task in the database 3014, and after scheduling the object processing task to the object processing server 302, determine that the task status is the first status, and after receiving the processing result sent by the object processing server 302, determine that the task status is the second status.

[0121] The detection component 3015 can read the task status of the object processing task recorded in the database 3014 according to the detection time interval, and generate alarm information when it is determined that the alarm condition is met according to the task status.

[0122] Figure 4 A flowchart of an object processing method provided by an embodiment of the present application is shown. The object processing method can be applied to an object processing server. The method can specifically include the following steps:

[0123] 401: receiving an object processing instruction sent by a scheduling server, wherein after obtaining the object processing instruction for the target object, the scheduling server generates a scheduling task in response to the object processing instruction, and executes the scheduling task to send the object processing instruction to the object processing server; and generates a task log of the scheduling task, and stores the task log and the task identifier of the scheduling task in a database in correspondence.

[0124] 402: Execute a processing operation according to the object description information included in the object processing instruction.

[0125] Among them, the specific implementation of the scheduling server is already in Figure 1 The log generation method shown is given and will not be repeated here.

[0126] In some embodiments, executing the processing operation according to the instruction of the object description information included in the object processing instruction may be specifically implemented as follows:

[0127] In response to the object processing instruction, determining object description information and a video script type of the target object;

[0128] Determine the script structure corresponding to the video script type; the script structure includes multiple storyboards;

[0129] The AI ​​big model is used to generate the script content of each storyboard based on the object description information and the script structure; the script content includes the spoken copy and the storyboard description information; the storyboard description information is used to describe the screen content of the storyboard;

[0130] The script contents corresponding to the multiple storyboards constitute a video script according to the target script structure.

[0131] The video script can be used to guide the elements and links in the video generation process, and different types of video scripts can be used to generate different types of promotional videos. The video script can include multiple storyboards, each of which can be used to guide the generation of a video segment of the promotional video, and the video segment can be a link in the process of generating the promotional video.

[0132] After receiving the video script generation instruction, the video script type can be determined based on the target object, promotion purpose, etc.; alternatively, the user can specify the desired video script type in the video generation instruction.

[0133] Video script types may include, for example, narrative type, explanatory type, etc., wherein each video script type corresponds to a different script structure.

[0134] After determining the type of video script, you can determine the script structure corresponding to the type of video script. The script structure can refer to the number of storyboards, and each storyboard can be used to display specific content. Take the three-part script structure as an example. This structure divides the video content into three main parts or storyboards. First, storyboard 1 can focus on emotional marketing, with the goal of establishing a connection with the audience through emotional resonance, stimulating the audience's interest and emotional response; storyboard 2 is dedicated to service introduction, where the characteristics and advantages of the service provided can be introduced in detail to ensure that the audience has a clear understanding of the service itself. Finally, storyboard 3 shows the applicable population of the service and shares the feedback and evaluation of the experiencers, which helps the audience understand the actual application effect of the service and enhances the sense of trust.

[0135] Through this structured approach, the video script can be developed in an orderly manner, with each storyboard designed for specific goals and content, thus forming a coherent and persuasive video narrative. This clear script structure not only helps guide video shooting and production, but also helps ensure that the final video content can effectively convey information, attract target audiences, and achieve established marketing goals.

[0136] Among them, the spoken copy may include the narration or dialogue text in the current storyboard, and the storyboard description information may be used to illustrate the visual content of each storyboard, for example, it may include scene layout, character actions, camera angles, lens movement, etc.

[0137] The artificial intelligence large model can understand the overall framework of the video and the order of each storyboard based on the script structure, and understand the basis of the script content based on the object description information of the target object, so that the script content of each storyboard can be intelligently generated.

[0138] The storyboard description information can ensure that the generated promotional video images can accurately convey the intended information and emotions, and can also maintain consistency with the spoken copy.

[0139] After using the artificial intelligence big model to generate the script content for each storyboard, the script content can be filled into the corresponding storyboard of the target script structure to generate a video script.

[0140] In some embodiments, using the artificial intelligence big model based on the object description information and the target script structure to generate the script content of each storyboard can be specifically implemented as follows:

[0141] Generate the spoken copy for each storyboard based on the object description information and the target script structure using the artificial intelligence big model;

[0142] The artificial intelligence model is used to generate storyboard description information for each storyboard based on the spoken text of each storyboard.

[0143] Among them, the artificial intelligence large model can integrate the object description information into the script based on the provided object description information and the target script structure, through understanding the object description information, and generate spoken text for each storyboard that conforms to the script structure and the target object.

[0144] The artificial intelligence big model can generate storyboard description information for describing the visual content corresponding to the spoken text by understanding the spoken text, so that the visual effects presented in the generated promotional video match the spoken content.

[0145] Through the collaborative work of artificial intelligence big models and artificial intelligence big models, high-quality script content can be generated efficiently, and the copywriting and visual effects in the script content can be closely integrated.

[0146] In some embodiments, the generation of the spoken copy for each storyboard based on the object description information and the target script structure using the artificial intelligence big model can be specifically implemented as follows:

[0147] Obtain the target script template and target script requirements corresponding to the target script structure;

[0148] Generate a first prompt word according to the first prompt template by using the object description information, the target script template and the target script requirements;

[0149] The first prompt word is input into the artificial intelligence big model, so as to utilize the artificial intelligence big model to generate the spoken text for each storyboard based on the object description information, refer to the target script template and follow the script requirements.

[0150] The target script template may refer to a script pre-generated under the target script structure, which includes the same number of storyboards as the target script structure, and each storyboard includes corresponding script content. For example, the target script template may be generated by reverse parsing other popular promotional videos that have been generated. Thus, by generating script content according to the target script template generated by reverse parsing other popular promotional videos, its script structure, script style, etc. may be imitated, thereby improving the maturity and popularity of the generated script content.

[0151] The target script requirements may be used to indicate the length, style, target audience, content requirements, format requirements, etc. of the script that is expected to be generated based on the target script structure.

[0152] The first prompt template can be a predefined framework or structure for guiding and standardizing the content input into the artificial intelligence model. In an embodiment of the present application, the first prompt template can include elements such as script structure, target audience, copy length, format requirements, language and tone, and specific requirements.

[0153] The first prompt word can be generated by filling the object description letter, the target script template and the target script requirements into the corresponding elements of the first prompt template.

[0154] By inputting the first prompt word into the artificial intelligence big model, the artificial intelligence big model can generate the spoken text for each storyboard based on the object description information, refer to the target script template and follow the script requirements.

[0155] The following may be a possible implementation of a first prompt word provided in an embodiment of the present application. It should be noted that the first prompt word is only an example.

[0156] #Setting a Purpose#

[0157] 1. I want to make a short video content of "product and service promotion.

[0158] 2. Please generate the narration material for this promotional short video by analyzing and extracting the core content of #post information#.

[0159] #Script structure#

[0160] Generate narration corpus according to the following structure:

[0161] Part 1: Based on the characteristics of your product or service and the industry classification information, create a fictional experience from a first-person perspective (close to the experiences of ordinary people and ordinary companies) to trigger everyone's emotional resonance.

[0162] Part 2: From a third-person perspective, recommend this product or service to your friends and talk about what kind of people this product or service is suitable for.

[0163] Part 3: From a third-person perspective, talk about the impact this product has on your daily life and work.

[0164] #Content Requirements#

[0165] 1. The number of words in the generated narration is within 240 words;

[0166] 2. Part 1 should not exceed 60 words;

[0167] 3. Part 2 should not exceed 140 words;

[0168] 4. Part 3 should not exceed 40 words;

[0169] 5. Descriptions such as "our products", "our services", "contact us", etc. are prohibited.

[0170] #Format requirements#

[0171] 1. Please use "part1:", "part2:", "part3:" to distinguish each paragraph. The text must be divided into 3 paragraphs, with the second paragraph being the longest.

[0172] 2. Each paragraph must not be empty.

[0173] #Sample copy#

[0174] Oh, my pile of shoes is a disaster! A pile of dirty shoes is a headache. I really don't want to wash them by myself, it feels too difficult!

[0175] So, I suddenly had an idea and decided to hand over these troublesome things to a shoe cleaning company. Do you know that a shoe cleaning company is an "old shoe doctor" with many years of experience, specializing in cleaning all kinds of shoes and is well-known.

[0176] I heard that they use advanced equipment and environmentally friendly materials, and the door-to-door pickup and delivery service is also convenient and efficient. It's great to think that my shoes will be brand new under their "magic hands". Moreover, if you have any questions during the cleaning process, there are specialists to answer them immediately!

[0177] What makes me even more excited is that XXXX shoe cleaning also offers low prices and guaranteed quality. When I think of the limited-time discounts and generous gifts waiting for me, I feel that this choice is simply a "treasure"!

[0178] Letting my shoes be washed by XYZ makes me feel confident in every step. Choosing XYZ to wash my shoes makes my life easier and more comfortable!

[0179] In the above-mentioned first prompt word, #sample copy# can be the target script template, #content requirements# and #format requirements# can be the target script requirements, and #post information# can be the object description information (the specific content of the post information is not provided in the above-mentioned first prompt word).

[0180] In some embodiments, the method may further include:

[0181] Get the target video;

[0182] Analyze the target video to obtain multiple storyboard videos and the spoken texts corresponding to the multiple storyboard videos;

[0183] Generate storyboard description information and text description information of each storyboard video based on multiple storyboard videos and the corresponding oral texts of the storyboard videos by using the artificial intelligence big model; wherein the storyboard description information is used to describe the screen content of the storyboard video; and the text description information is used to describe the text type of the storyboard video;

[0184] Generate a script template according to the script structure composed of multiple storyboard videos and the storyboard description information and copy description information of each storyboard video;

[0185] Save the script template;

[0186] In some embodiments, obtaining the target script template and target script requirements corresponding to the target script structure may be specifically implemented as follows:

[0187] From the saved script templates, search for the target script template corresponding to the target script structure;

[0188] Get the target script requirements corresponding to the target script structure.

[0189] The user may provide the target video through the client, but is not limited thereto. The user may also provide an access link to the target video through the client, so that the server obtains the target video based on the access link. In addition, the target video may not be provided by the client, but may be actively obtained by the server. For example, the server may obtain the target video from the Internet using crawler technology. The target video may include, for example, a video that is used to display content related to the target object and has a high popularity, i.e., a relatively popular video.

[0190] By reverse parsing the target video, the video script of the target video can be obtained, and a promotional video with a style and structure similar to the target video can be generated based on the video script.

[0191] After parsing the target video and obtaining the spoken copy of the target video, the artificial intelligence model can be used to generate the storyboard description information and copy description information corresponding to each storyboard. Then, based on the script structure composed of multiple storyboard videos and the storyboard description information and copy description information of each storyboard video, a script template can be generated.

[0192] Among them, the copy description information can be used to describe the copy type of the storyboard video. In one embodiment of the present application, as in the example of the first prompt word above, "Part 1: Based on the product service characteristics and the industry classification information, a fictional experience (close to the experience of ordinary people and ordinary companies) is created from the first person perspective to trigger everyone's emotional resonance", "Part 2: From the third person perspective, promote this product service to friends and talk about what kind of people this product service is suitable for", "Part 3: From the third person perspective, talk about the impact of this product on daily life and work" can respectively represent a type of copy description information.

[0193] In some embodiments, parsing the target video to obtain multiple storyboard videos may be specifically implemented as follows:

[0194] The target video is segmented according to content similarity to obtain multiple storyboard videos.

[0195] In some embodiments, segmenting the target video according to content similarity to obtain multiple storyboard videos may be specifically implemented as follows:

[0196] Segment the target video according to content similarity to obtain multiple segmented videos;

[0197] At least one segmented video whose content similarity meets a preset condition is merged in sequence to generate a plurality of storyboard videos.

[0198] The target video may be a video associated with the target object, shot by the user, generated by specific software, or downloaded from the Internet. The target video may be long, and may display multiple different themes. Therefore, in order to increase the number and richness of material videos when generating promotional videos, the target video provided by the user may be split. By splitting the target video, a longer target video can be divided into multiple shorter material videos according to different themes or contents.

[0199] The server can determine the splitting position of the target video by identifying key frames, scene changes or other important content points in the target video, and split the target video at each splitting position to obtain multiple segmented videos.

[0200] In some embodiments, segmenting the target video according to content similarity to obtain multiple storyboard videos may be specifically implemented as follows:

[0201] Perform frame extraction on the target video to obtain multiple video frames;

[0202] Use a large AI model to convert multiple video frames into video features;

[0203] The content similarity between video frames is calculated based on video features, and video frames whose content similarity meets preset conditions are merged into a storyboard video.

[0204] In a possible implementation, the server can perform frame extraction processing on the target video to extract a series of separate video frames from the target video. The server can perform similarity calculation between consecutive video frames, and calculate the similarity between consecutive video frames by comparing the visual content between consecutive frames, such as color, texture, shape, and motion features. The similarity calculation can be calculated, for example, by pixel comparison, feature vector matching, or the output of a deep learning model. Based on the calculated similarity results, the server can determine the splitting points of the target video, i.e., key frames. The splitting points can be located at positions where the similarity drops significantly, which can indicate that the video content is changing or switching to a new scene. Thus, the server can split the target video into multiple segmented videos on these key frames, and each segmented video can contain a series of visually similar continuous frames, so that the consistency of the content of each segmented video can be guaranteed. In addition, when performing segmentation processing, the server can also consider the contextual information and semantic information of the video to improve the accuracy and relevance of the segmentation; for example, if the dialogue or narrative in the video logically belongs to the same subject, it may not be split into different segments even if there are slight visual changes.

[0205] In some embodiments, the method may further include:

[0206] The video script is published to the object providing system of the target object or the video script and / or the download address of the video script is sent to the client so that the client can save the video script.

[0207] In some embodiments, the method may further include:

[0208] Convert the spoken text corresponding to each storyboard into spoken audio;

[0209] Searching for a target material video that matches the storyboard description information of each storyboard and the target object from the material library;

[0210] The spoken audio of each storyboard is combined with the corresponding target material video into a target storyboard video;

[0211] According to the target script structure, target storyboard videos corresponding to multiple storyboards are synthesized to obtain a promotional video for the target object.

[0212] After the spoken copy is generated, the spoken copy of each storyboard can be converted into spoken audio using text-to-speech conversion technology. Next, according to the storyboard description information of the storyboard and the screen content described in the storyboard description information, the material content that matches the screen content described in the storyboard description information and matches the target object can be searched from the material library. Among them, matching the target object can refer to the material content that matches the product corresponding to the target object.

[0213] By searching for source videos based on the storyboard description information and the target object, it is possible to ensure that the visual content of the generated promotional video matches the target object and the usage scenario of the target object.

[0214] For the material video and spoken audio corresponding to each storyboard, the corresponding material video and spoken audio can be synthesized and synchronized to generate a target storyboard video.

[0215] Then, according to the script structure, multiple target storyboard videos can be synthesized in an orderly manner to generate a promotional video for the target object.

[0216] Figure 5 A block diagram of a log generating device provided by an embodiment of the present application is shown. The log generating device can be applied to a scheduling server. The device can specifically include:

[0217] A state switching module 501, for switching to a scheduling state in response to a start instruction;

[0218] A first acquisition module 502 is used to determine whether an object processing instruction for a target object sent by a client is received in the scheduling state;

[0219] An instruction acquisition module 503 is used to acquire an object processing instruction, wherein the object processing instruction includes object description information of the target object;

[0220] A first task generating module 504, for generating a scheduling task in response to an object processing instruction;

[0221] The task execution module 505 is used to execute the scheduling task to schedule the object processing instruction to the object processing server corresponding to the target object, wherein the object processing instruction is used to instruct the object processing server to perform the corresponding processing operation based on the object description information;

[0222] The log generation module 506 is used to generate a task log of the scheduling task in response to the execution operation of the scheduling task;

[0223] The first storage module 507 is used to store the task log and the task identifier of the scheduled task in the database in correspondence.

[0224] In some embodiments, the device may further include:

[0225] A second task generation module, used to generate an object processing task in response to the object processing instruction;

[0226] In some embodiments, the task execution module is specifically used to: execute a scheduling task to schedule the object processing task to the object processing server;

[0227] In some embodiments, the device may further include:

[0228] The state generation module is used to record the task state of the object processing task in the database.

[0229] In some embodiments, the state generation module is specifically used to:

[0230] After scheduling the object processing task to the object processing server, determining that the task state is a first state;

[0231] According to the generation result of the object processing server, it is determined that the task state is the second state.

[0232] In some embodiments, the device may further include:

[0233] A judgment module is used to determine whether the alarm condition is met according to the task status;

[0234] The alarm module is used to generate alarm information when the alarm conditions are met.

[0235] In some embodiments, the device may further include:

[0236] A component determination module, used to determine at least one execution component for executing the scheduling task;

[0237] The component log generation module is used to generate component logs corresponding to at least one execution component during the execution of the scheduling task;

[0238] The second storage module is used to store at least one component log, component identifier and task identifier in correspondence.

[0239] In some embodiments, the device may further include:

[0240] The log acquisition module is used to acquire component logs and task logs generated within a preset time period;

[0241] The log file storage module is used to store component logs and task logs as log files.

[0242] In some embodiments, the device may further include:

[0243] The configuration acquisition module is used to obtain the latest configuration file of the scheduling server at a preset time interval;

[0244] The configuration update module is used to update the current configuration file of the scheduling server with the latest configuration file to update the configuration of the scheduling server.

[0245] In some embodiments, the configuration update module is specifically used to:

[0246] In response to obtaining the latest configuration file, determining whether the scheduling server currently has a scheduling task being executed;

[0247] When there is a scheduling task currently being executed on the scheduling server, the scheduling task is executed using the configuration corresponding to the current configuration file;

[0248] After the scheduled task being executed is completed, the current configuration file is overwritten with the latest configuration file.

[0249] In some embodiments, the device may further include:

[0250] A task determination module is used to determine the scheduling task corresponding to the alarm information;

[0251] The log search module is used to search for the corresponding task log based on the task ID of the scheduled task;

[0252] The exception troubleshooting module is used to use task logs to troubleshoot exceptions in scheduled tasks.

[0253] In some embodiments, the device may further include:

[0254] An instruction receiving module, used for receiving a service closing instruction;

[0255] A process query module, configured to query a pre-stored process identification list in response to a service shutdown instruction, wherein the process identification list records a process identification of at least one process, wherein the scheduling server executes the scheduling task by running at least one process;

[0256] The process termination module is used to terminate at least one process based on the process identification list.

[0257] Figure 5 The log generation device can execute Figure 1 The implementation principle and technical effect of the log generation method described in the illustrated embodiment will not be described in detail. The specific manner in which each module and unit performs operations in the log generation device in the above embodiment has been described in detail in the embodiment of the method, and will not be described in detail here.

[0258] Figure 6 A block diagram of an object processing device provided by an embodiment of the present application is shown. The object processing device can be applied to an object processing server. The device may specifically include:

[0259] The instruction receiving module 601 is used to receive the object processing instruction sent by the scheduling server, wherein, after obtaining the object processing instruction for the target object, the scheduling server generates a scheduling task in response to the object processing instruction, and executes the scheduling task to send the object processing instruction to the object processing server; and generates a task log of the scheduling task, and stores the task log and the task identifier of the scheduling task in the database in correspondence.

[0260] The object processing module 602 is used to perform processing operations according to the instructions of the object description information included in the object processing instruction.

[0261] In some embodiments, the object processing module is specifically used to:

[0262] In response to the object processing instruction, determining object description information and a video script type of the target object;

[0263] Determine a script structure corresponding to the video script type; the script structure includes a plurality of storyboards;

[0264] Generate the script content of each storyboard based on the object description information and the script structure using the artificial intelligence big model; the script content includes the spoken copy and the storyboard description information; the storyboard description information is used to describe the screen content of the storyboard;

[0265] The script contents corresponding to the multiple storyboards respectively constitute a video script according to the target script structure.

[0266] In some embodiments, the object processing module is specifically used to:

[0267] Convert the spoken text corresponding to each storyboard into spoken audio;

[0268] Searching for a target material video that matches the storyboard description information of each storyboard and the target object from a material library;

[0269] The spoken audio of each storyboard is combined with the corresponding target material video into a target storyboard video;

[0270] According to the script structure, the target storyboard videos corresponding to the multiple storyboards are synthesized to obtain a promotional video for the target object.

[0271] In a possible design, the log generation device and object processing device provided in the embodiment of the present application can be implemented as a computing device, such as Figure 7 As shown, the computing device may include a storage component 701 and a processing component 702;

[0272] The storage component 701 stores one or more computer instructions, wherein the one or more computer instructions are called and executed by the processing component 702 to implement the log generation method and object processing method provided in the embodiments of the present application.

[0273] Of course, the computing device may also include other components, such as input / output interfaces, communication components, etc. The input / output interface provides an interface between the processing component and the peripheral interface module, which may be an output device, an input device, etc. The communication component is configured to facilitate wired or wireless communication between the computing device and other devices.

[0274] Among them, the computing device can be a physical device or an elastic computing host provided by a cloud computing platform, etc. In this case, the computing device can refer to a cloud server, and the above-mentioned processing components, storage components, etc. can be basic server resources rented or purchased from the cloud computing platform.

[0275] When the computing device is a physical device, it can be implemented as a distributed cluster consisting of multiple servers or terminal devices, or as a single server or a single terminal device.

[0276] The embodiment of the present application also provides a computer-readable storage medium storing a computer program. When the computer program is executed by a computer, the log generation method and the object processing method provided in the embodiment of the present application can be implemented.

[0277] The embodiment of the present application also provides a computer program product, including a computer program, which, when executed by a computer, can implement the log generation method and object processing method provided in the embodiment of the present application.

[0278] The processing components in the above corresponding embodiments may include one or more processors to execute computer instructions to complete all or part of the steps in the above method. Of course, the processing components may also be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the above method.

[0279] The storage component is configured to store various types of data to support operations in the device. The storage component can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0280] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0281] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0282] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0283] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A log generation method, characterized in that: Applied to a scheduling server, the method comprises: S1: In response to the start command, switch to the scheduling state; S2: In the scheduling state, determine whether an object processing instruction for a target object sent by a client is received, if so, execute step S3, otherwise continue to execute step S2; S3: Acquire an object processing instruction, where the object processing instruction includes object description information of the target object; S4: generating a scheduling task in response to the object processing instruction; S5: executing the scheduling task to schedule the object processing instruction to the object processing server corresponding to the target object, wherein the object processing instruction is used to instruct the object processing server to perform a corresponding processing operation based on the object description information; S6: In response to the execution operation of the scheduled task, generating a task log of the scheduled task; S7: The task log and the task identifier of the scheduled task are stored in a database in correspondence.

2. The method according to claim 1, characterized in that Also includes: In response to the object processing instruction, generating an object processing task; The executing the scheduling task to schedule the object processing instruction to the object processing server corresponding to the target object includes: executing the scheduling task to schedule the object processing task to the object processing server; Also includes: The task status of the object processing task is recorded in the database.

3. The method according to claim 2, characterized in that The recording of the task status of the object processing task in the database comprises: After dispatching the object processing task to the object processing server, determining that the task state is a first state; According to the processing result of the object processing server, it is determined that the task status is the second status.

4. The method according to claim 3, characterized in that Also includes: Determining whether an alarm condition is met according to the task status; When the alarm conditions are met, an alarm message is generated.

5. The method according to claim 1, characterized in that Also includes: determining at least one execution component for executing the scheduling task; During the execution of the scheduling task, respectively generating component logs corresponding to the at least one execution component; At least one component log, the component identifier, and the task identifier are stored correspondingly.

6. The method according to claim 5, characterized in that Also includes: Get component logs and task logs generated within a preset time period; The component log and the task log are stored as log files.

7. The method according to claim 1, characterized in that Also includes: Obtaining the latest configuration file of the scheduling server at a preset time interval; The latest configuration file is used to update the current configuration file of the scheduling server to update the configuration of the scheduling server.

8. The method according to claim 7, characterized in that The updating of the current configuration file of the scheduling server by using the latest configuration file comprises: In response to acquiring the latest configuration file, determining whether the scheduling server currently has a scheduling task being executed; In the case that the scheduling server currently has a scheduling task being executed, executing the scheduling task using the configuration corresponding to the current configuration file; After the scheduling task being executed is completed, the current configuration file is overwritten with the latest configuration file.

9. The method according to claim 4, characterized in that After the alarm information is generated, it also includes: Determine the scheduling task corresponding to the alarm information; Based on the task identifier of the scheduled task, searching for the corresponding task log; The task log is used to check for abnormalities in the scheduled task.

10. The method according to claim 1, characterized in that Also includes: Receive service shutdown instructions; In response to the service shutdown instruction, query a pre-stored process identification list, wherein the process identification list records the process identification of at least one process, wherein the scheduling server executes the scheduling task by running the at least one process; Based on the process identification list, the at least one process is terminated.

11. An object processing method, characterized in that: Applied to an object processing server, the method comprises: Receiving an object processing instruction sent by a scheduling server, wherein after obtaining the object processing instruction for a target object, the scheduling server generates a scheduling task in response to the object processing instruction, and executes the scheduling task to send the object processing instruction to the object processing server; and generating a task log of the scheduling task, and storing the task log and the task identifier of the scheduling task in a database in correspondence; The processing operation is performed according to the instructions of the object description information included in the object processing instruction.

12. The method according to claim 11, characterized in that The performing of the processing operation according to the instruction of the object description information included in the object processing instruction comprises: In response to the object processing instruction, determining object description information and a video script type of the target object; Determine a script structure corresponding to the video script type; the script structure includes a plurality of storyboards; Generate the script content of each storyboard based on the object description information and the script structure using the artificial intelligence big model; the script content includes the spoken copy and the storyboard description information; the storyboard description information is used to describe the screen content of the storyboard; The script contents corresponding to the multiple storyboards respectively constitute a video script according to the target script structure.

13. The method according to claim 12, characterized in that Also includes: Convert the spoken text corresponding to each storyboard into spoken audio; Searching for a target material video that matches the storyboard description information of each storyboard and the target object from a material library; The spoken audio of each storyboard is combined with the corresponding target material video into a target storyboard video; According to the script structure, the target storyboard videos corresponding to the multiple storyboards are synthesized to obtain a promotional video for the target object.

14. A computing device, characterized in that including a processing component and a storage component; The storage component stores one or more computer instructions; the one or more computer instructions are used to be called and executed by the processing component to implement the log generation method as described in any one of claims 1 to 10, or to implement the object processing method as described in any one of claims 11 to 13.

15. A computer storage medium, characterized in that A computer program is stored, and when the computer program is executed by a computer, the log generation method according to any one of claims 1 to 10 is implemented, or the object processing method according to any one of claims 11 to 13 is implemented.

16. A computer program product, characterized in that The computer program product includes computer program code, and when the computer program code is executed by a computer, the log generation method according to any one of claims 1 to 10 is implemented, or the object processing method according to any one of claims 11 to 13 is implemented.