Data processing method and device, electronic equipment, storage medium and program product
By displaying the task editing page in the browser and receiving graphical node editing operations, and executing data processing logic in the remote side, the problem of low editing efficiency of data processing tasks is solved, visual editing and flexible adjustments are realized, and editing efficiency is improved.
Patent Information
- Application Number
- CN202510550154.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-28
- Publication Date
- 2025-08-12
AI Technical Summary
In the prior art, the editing efficiency of data processing tasks is low, requiring a deep programming foundation and business understanding ability. The development process is complex and time-consuming, making it difficult to meet the needs of differentiated data processing.
By displaying the task editing page in the browser, receiving editing operations of the graphical node, and executing data processing logic in the remote side, visual editing and flexible adjustment of data processing tasks are realized.
It reduces the editing difficulty of data processing tasks, improves editing efficiency, saves local resource consumption, broadens the scope of application, and supports convenient result viewing and flexible adjustment.
Smart Images

Figure CN120469676A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present disclosure relate to the field of computer processing technology, and in particular to a data processing method, apparatus, electronic device, storage medium, and program product. Background Art
[0002] Data processing has become an indispensable component in the diverse contexts of information exchange. Due to the inherently diverse nature of information exchange scenarios, data processing requirements vary significantly across scenarios. Even for a given piece of data, the processing requirements often differ across different scenarios.
[0003] To meet differentiated data processing requirements, related technologies typically require custom program data to be written for each data processing requirement. However, developing customized program data not only requires developers to have a deep programming foundation and business understanding, but also requires developers to write a large amount of underlying implementation details and logic verification. The development process is complex and time-consuming, resulting in low editing efficiency for data processing tasks. Summary of the Invention
[0004] The present disclosure provides a data processing method, device, electronic device, storage medium and program product to realize the ability to combine data processing resources from multiple terminals to process data more intuitively, flexibly and conveniently, reduce the difficulty of data processing, and improve the editing efficiency of data processing tasks.
[0005] In a first aspect, an embodiment of the present disclosure provides a data processing method, the method comprising:
[0006] In response to the task editing request, displaying a task editing page in the browser of the first terminal;
[0007] Receiving a node editing operation for at least one graphical node through the task editing page, and determining a data processing task according to the node editing operation; wherein at least part of the data processing operations in the data processing logic corresponding to the graphical node are executed on the second end;
[0008] An execution trigger operation for the data processing task is received, and the data processing task is executed according to the execution trigger operation to obtain execution result data of the data processing task.
[0009] In a second aspect, an embodiment of the present disclosure further provides a data processing device, the device comprising:
[0010] A page display module, configured to display a task editing page in the browser of the first terminal in response to the task editing request;
[0011] a task determination module, configured to receive a node editing operation for at least one graphical node via the task editing page, and determine a data processing task based on the node editing operation; wherein at least part of the data processing operations in the data processing logic corresponding to the graphical node are executed on the second end;
[0012] The task execution module is used to receive an execution trigger operation for the data processing task, and execute the data processing task according to the execution trigger operation to obtain execution result data of the data processing task.
[0013] In a third aspect, an embodiment of the present disclosure further provides an electronic device, the electronic device comprising:
[0014] one or more processors;
[0015] a storage device for storing one or more programs,
[0016] When the one or more programs are executed by the one or more processors, the one or more processors implement the data processing method as described in any one of the embodiments of the present disclosure.
[0017] In a fourth aspect, an embodiment of the present disclosure further provides a storage medium containing computer-executable instructions, which, when executed by a computer processor, are used to execute the data processing method as described in any one of the embodiments of the present disclosure.
[0018] In a fifth aspect, an embodiment of the present disclosure further provides a computer program product, comprising a computer program, which, when executed by a processor, implements the data processing method as described in any one of the embodiments of the present disclosure.
[0019] The technical solution of the embodiment of the present disclosure is to display a task editing page in the browser of the first end in response to a task editing request, so that the task editing page is displayed through the browser, without the need to install specific software to edit the task, and can realize the visual presentation of task editing, providing an interactive interface for task editing operations. Then, the task editing page receives a node editing operation for at least one graphical node, and determines the data processing task according to the node editing operation, which not only reduces the difficulty of editing the data processing task, but also realizes flexible editing of the output processing task, meeting the differentiated requirements of data processing task editing. Moreover, since at least part of the data processing operation in the data processing logic corresponding to the graphical node is executed on the second end, it can not only reduce the resource consumption of the first end, but also save the storage space of the first end. Furthermore, an execution trigger operation for the data processing task is received, and the data processing task is executed according to the execution trigger operation to obtain the execution result data of the data processing task, realizing that during the task editing process, convenient viewing of the data processing results is supported, so as to facilitate flexible adjustment of the data processing task, so that the data processing task can fit the data processing requirements. The technical solution of the embodiment of the present disclosure can realize visual editing of data processing tasks through simple interactive operations, and can combine data processing resources on multiple terminals to enrich the editing effects of data processing tasks, reduce the editing difficulty of data processing tasks, broaden the scope of application of data editing, and improve the editing efficiency of data processing tasks. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] The above and other features, advantages, and aspects of the various embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and that the originals and elements are not necessarily drawn to scale.
[0021] Figure 1 A flowchart of a data processing method provided in an embodiment of the present disclosure;
[0022] Figure 2 An example diagram of processing sub-processing tasks applicable to a data processing method provided in an embodiment of the present disclosure;
[0023] Figure 3 A flowchart of another data processing method provided by an embodiment of the present disclosure;
[0024] Figure 4A An example diagram of a data processing task including multiple graphical nodes provided in an embodiment of the present disclosure;
[0025] Figure 4B An example diagram of a dependency table provided in an embodiment of the present disclosure;
[0026] Figure 4C An example diagram of a dependency relationship table provided in an embodiment of the present disclosure;
[0027] Figure 5 A flowchart of another data processing method provided by an embodiment of the present disclosure;
[0028] Figure 6 A flowchart of another data processing method provided by an embodiment of the present disclosure;
[0029] Figure 7 A flowchart of an optional example of a data processing method provided in an embodiment of the present disclosure;
[0030] Figure 8 A schematic structural diagram of a data processing device provided in an embodiment of the present disclosure;
[0031] Figure 9 A schematic structural diagram of an electronic device provided by an embodiment of the present disclosure for implementing the embodiment of the present disclosure is provided. DETAILED DESCRIPTION
[0032] The following describes embodiments of the present disclosure in more detail with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as limited to the embodiments described herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of protection of the present disclosure.
[0033] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.
[0034] As used herein, the term "including" and its variations are open-ended, i.e., "including but not limited to." The term "based on" means "based, at least in part, on." The term "one embodiment" means "at least one embodiment," the term "another embodiment" means "at least one additional embodiment," and the term "some embodiments" means "at least some embodiments." Other terms are defined in the following description.
[0035] It should be noted that the concepts of "first" and "second" mentioned in this disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0036] It should be noted that the modifications of "one" and "multiple" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, they should be understood as "one or more".
[0037] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0038] It is understandable that before using the technical solutions disclosed in the various embodiments of this disclosure, the type, scope of use, usage scenarios, etc. of the personal information involved in this disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.
[0039] For example, in response to a user's active request, a prompt message is sent to the user to clearly inform the user that the operation requested will require the acquisition and use of the user's personal information. This allows the user to independently choose whether to provide personal information to the electronic device, application, server, storage medium, or other software or hardware that performs the operations of the disclosed technical solution based on the prompt message.
[0040] As an optional but non-limiting implementation, in response to receiving a user's active request, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. Furthermore, the pop-up window may also contain a selection control for the user to select "agree" or "disagree" to provide personal information to the electronic device.
[0041] It is understandable that the above notification and user authorization process are merely illustrative and do not limit the implementation of the present disclosure. Other methods that comply with relevant laws and regulations may also be applied to the implementation of the present disclosure.
[0042] It is understandable that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) must comply with the requirements of relevant laws, regulations and relevant provisions.
[0043] Figure 1 This is a flow chart of a data processing method provided in an embodiment of the present disclosure. The embodiment of the present disclosure is applicable to scenarios where data is processed. The method can be executed by a data processing device, which can be implemented in the form of software and / or hardware. Optionally, it can be implemented by an electronic device, which can be a mobile terminal, PC or server, etc.
[0044] like Figure 1 As shown, the method of this embodiment may specifically include:
[0045] S110 : In response to the task editing request, display a task editing page in the browser of the first terminal.
[0046] Among them, the task editing request can be understood as a request for triggering the execution of the data processing task editing process. In actual applications, there are many ways to generate the task editing request. Exemplarily, the task editing request can be generated by at least one of the following methods: a control triggering operation acting on a preset task editing control; collecting preset audio information; detecting a target triggering event (for example, an operation triggering event); etc. The data processing task can be understood as a data processing process that performs one or more expected data processing operations on input data to obtain expected output data. That is, the data processing task can be used to process given data into data processing logic or data processing steps for expected data. In the embodiment of the present disclosure, the data processing task can be presented using a directed acyclic graph, which can intuitively show the execution logic of the data processing task. In the embodiment of the present disclosure, the data processing task can be set according to actual needs, which is not specifically limited here. Optionally, the data processing task can be a media data processing task, or it can be a program data processing task. Among them, the media data processing task can include at least one of the tasks of generating video from image, generating video from text, generating image from text, and generating text from text. The program data processing tasks may include program data generation tasks and / or program data modification tasks.
[0047] In the embodiment of the present disclosure, the first end can be understood as a client that is equipped with a browser and can display the task editing page through the browser. In the embodiment of the present disclosure, the browser installed in the first end can be set according to actual needs, which is not specifically limited here. The number of browsers included in the first end can be one, two, or more than two. The task editing page can be understood as a page displayed in the browser of the first end for editing data processing tasks. In the embodiment of the present disclosure, the task editing interface can adopt a responsive layout method, which can automatically adjust the order, size and style of page elements according to device information such as screen size and resolution of different devices, so that no matter what device the relevant personnel use to access the task editing page, they can obtain an adapted page display effect, thereby improving the efficiency and convenience of task editing.
[0048] In the embodiment of the present disclosure, the advantage of presenting the task editing page through a browser is that, first, the editor does not need to download or install a specific application. He or she can edit the data processing task by simply accessing the task editing page directly through the browser, which simplifies the operational process of task editing and reduces the difficulty of task editing. Secondly, the editor can access the task editing page anytime and anywhere, thereby effectively improving the flexibility of task editing. Furthermore, because the browser has good cross-platform compatibility and can adapt to different operating systems and various types of devices, the task editing page can run stably and smoothly on different operating systems and devices, providing editors with a consistent and good user experience.
[0049] In an embodiment of the present disclosure, the first end may or may not be running a browser. Then, in response to a task edit request, displaying a task edit page in the browser of the first end may include: upon receiving the task edit request, determining whether the first end is running a browser. If the first end is running a browser, displaying the task edit page in the browser running on the first end. If the first end is not running a browser, launching a default browser on the first end. After the browser is successfully launched, displaying the task edit page in the browser.
[0050] In an embodiment of the present disclosure, when the number of browsers included at the first end can be one or more, there are multiple ways to display a task editing page in the browser at the first end in response to a task editing request. As an optional implementation of the embodiment of the present disclosure. When the first end includes one browser, after receiving the task editing request, the task editing interface can be displayed in the browser. As another optional implementation of the embodiment of the present disclosure, when the first end includes multiple candidate browsers and the task editing request includes a browser identifier, a target browser corresponding to the browser identifier can be selected from the multiple candidate browsers based on the browser identifier. Then, the task editing page can be displayed in the target browser. The browser identifier can be used to distinguish different candidate browsers at the first end. As another optional implementation of the embodiment of the present disclosure, when the first end includes multiple candidate browsers, after receiving the task editing request, a browser can be randomly selected from the multiple candidate browsers as the target browser. Then, the task editing page can be displayed in the target browser.
[0051] S120. Receive a node editing operation for at least one graphical node through the task editing page, and determine a data processing task based on the node editing operation; wherein at least part of the data processing operations in the data processing logic corresponding to the graphical node are executed on the second end.
[0052] In an embodiment of the present disclosure, the task editing page can support personnel editing data processing tasks through graphical programming. In other words, the task editing page provides personnel with an intuitive programming environment for editing data processing tasks, allowing them to construct the program logic for the data processing task by dragging and / or placing graphical nodes. The task editing page can include multiple graphical nodes. A graphical node can be understood as a graphical programming node. In an embodiment of the present disclosure, a graphical node can represent an independent functional module and encapsulate the data processing logic corresponding to the functional module. The node editing operation can be used to edit the node information of the graphical node; this node information can include at least one of node input data, node output data, and node connection information. Furthermore, the node information can include at least one of node position, size, and color. The second end can be understood as a device end distinct from the first end. In an embodiment of the present disclosure, the second end can be used to execute at least some of the data processing operations in the data processing logic corresponding to the graphical node. Optionally, the second end can be a remote server end. Exemplarily, the remote server end can be a cloud end. In an embodiment of the present disclosure, the number of second ends can be one, two, or more. In the disclosed embodiments, executing some data processing operations corresponding to graphical nodes on the second end not only reduces resource consumption on the first end but also conserves storage space on the first end. Furthermore, the second end can deploy a high-performance computing cluster to handle complex data processing operations, effectively improving the efficiency of data processing tasks.
[0053] In an embodiment of the present disclosure, the task editing page may include multiple graphical nodes or may not include graphical nodes. There are two ways to receive a node editing operation for at least one graphical node through the task editing page and determine the data processing task based on the node editing operation.
[0054] As an optional implementation of an embodiment of the present disclosure, when the task editing page includes multiple graphical nodes, receiving a node editing operation for at least one graphical node through the task editing page, and determining the data processing task based on the node editing operation, includes: determining the graphical node selected in the task editing page in response to a node selection operation. After receiving the node information editing operation for the selected graphical node, the node information of the selected graphical node can be obtained. After obtaining the node information of all graphical nodes in the task editing page, the graphical nodes in the task editing page can be connected according to the node information of each graphical node to obtain the data processing task.
[0055] As another optional implementation of the embodiment of the present disclosure, when the task editing page does not include a graphical node, receiving a node editing operation for at least one graphical node through the task editing page and determining the data processing task based on the node editing operation includes: displaying a graphical programming page, wherein the graphical programming page may include multiple candidate graphical nodes. After receiving a node selection operation for multiple candidate graphical nodes, the multiple selected graphical nodes can be determined. Thereafter, the multiple selected graphical nodes can be displayed on the task editing page. Based on this, the multiple graphical nodes can be connected according to the preset node connection method of each graphical node to generate graphical program data. After obtaining the graphical program data, for each graphical node in the graphical program data, after receiving a node information editing operation for the graphical node, node information of the graphical node can be obtained. After the node information of all graphical nodes in the graphical program data is edited, the data processing task can be obtained. In the embodiment of the present disclosure, the preset node connection method can be connected according to actual needs and is not specifically limited here. For example, the preset node connection mode may be the order in which the nodes are selected, or may be the display position of the nodes on the page.
[0056] In an embodiment of the present disclosure, the data processing task may include sub-processing tasks. The number of sub-processing tasks in a data processing task may be one, two, or more. In an embodiment of the present disclosure, a sub-processing task may be a sub-task that needs to be executed cyclically, or a sub-task that needs to be executed selectively. Optionally, the sub-processing task may include the graphical nodes in the data processing task that need to be executed cyclically. The number of graphical nodes that need to be executed cyclically may be one, two, or more. The graphical nodes in the data processing task may include a sub-task entry node and a sub-task exit node connected to the sub-processing task. The sub-task entry node may be used to convert multiple data to be processed by the sub-processing task into input data in a first preset format. The sub-task exit node may be used to merge multiple data output by the sub-processing task into output data in a second preset format. The first format and the second format may be set according to actual needs and are not specifically limited. The first format and the second format may be the same or different. For example, the first format may be an array format, and the second format may also be an array format. Alternatively, the first format may be an array format, and the second format may be a string format.
[0057] For example, see Figure 2, the input data is [1, 2, 3], i.e., array 1. The context data corresponding to the context object is 2. Data processing task A performs multiplication operations on the context data by each array element in the array. The logic that requires looping in data processing task A is to perform multiplication operations on the context data by the array elements, i.e., sub-processing task A needs to be executed in a loop. Therefore, after the input data [1, 2, 3] and context data 2 are input to data processing task A, sub-processing task A first takes array element 1 with index 1 and multiplies it by context data 2, obtaining multiplication result 2. Then, sub-processing task A takes array element 2 with index 2 and multiplies it by context data 2, obtaining multiplication result 4. Finally, sub-processing task A takes array element 3 with index 3 and multiplies it by context data 2, obtaining multiplication result 6. Thus, the output corresponding to the elements [2, 4, 6] can be obtained, i.e., array 2. At this time, array 2 is the output data of data processing task A.
[0058] S130: Receive an execution trigger operation for the data processing task, and execute the data processing task according to the execution trigger operation to obtain execution result data of the data processing task.
[0059] Among them, the execution trigger operation can be understood as an operation for triggering the execution of the data processing task. In an embodiment of the present disclosure, receiving an execution trigger operation for the data processing task can specifically be receiving a control trigger operation (for example, a click trigger operation) acting on a task execution control. Among them, the task execution control can be displayed on a task editing page. In other words, the task editing page includes a task execution control. The execution result data can be understood as the result data obtained after executing the data processing task. In an embodiment of the present disclosure, the execution result data may include media data and / or program data. The media data may include at least one of video data, audio data and image data. The program data may include classes and / or methods. The number of classes in the program data may be one or more. A single class may include methods and / or variables.
[0060] Specifically, after receiving a control trigger operation acting on the task execution control in the task editing page, a task execution instruction for the data processing task can be generated at the first end. Then, based on the task execution instruction, the data processing task can be executed to obtain the execution result of the data processing task. In an embodiment of the present disclosure, the data processing task is executed to obtain the execution result data of the data processing task, including: determining the node execution order of each graphical node according to the connection relationship between each graphical node in the data processing task; thereby, executing the data processing logic corresponding to each graphical node in turn according to the node execution order to obtain the execution result data of the data processing task. Among them, the node execution order can be used to characterize the order in which the graphical nodes are executed.
[0061] In an embodiment of the present disclosure, executing the data processing logic corresponding to each graphical node in sequence according to the node execution order to obtain execution result data of the data processing task may include: determining the graphical node to be executed at the current moment according to the node execution order and using it as the current node. Determining that the data processing logic corresponding to the current node is deployed on the second end. If the data processing logic corresponding to the current node is deployed on the second end, an execution instruction for the current node may be generated on the first end and sent to the second end. After receiving the execution instruction, the data processing logic corresponding to the current node may be executed and the processing result may be fed back to the first end. If the first end receives the processing result fed back by the second end, the graphical node to be executed at the next moment may be determined according to the node execution order. The processing result fed back by the second end is used as input data for the graphical node to be executed at the next moment, and the current node is updated to the graphical node to be executed at the next moment, and the operation of determining that the data processing logic corresponding to the current node is deployed on the second end is re-executed. It is understood that if the data processing logic of the graphical node is deployed on the first end and not on the second end, the data processing logic of the graphical node may be executed on the first end.
[0062] On the basis of the above embodiment, the data processing logic corresponding to the graphical node may include a first processing sub-logic deployed at the first end and a second processing sub-logic deployed at the second end. In the case where the input data of the first processing sub-logic is the output result of the second processing sub-logic, the data processing logic corresponding to the graphical node is executed, including: first generating an execution instruction of the second processing sub-logic at the first end, and sending the execution instruction to the second end. In the case where the second end receives the execution instruction, the second processing sub-logic is executed to obtain the output result of the second processing sub-logic. After the second end obtains the output result of the second processing logic, the output result can be fed back to the first end. In the case where the first end receives the output result of the second processing logic, the output result can be assigned to the input parameter of the first processing logic as an actual parameter, and then the first processing logic can be executed, so that the output result of the first processing logic can be obtained, that is, the output data corresponding to the graphical node can be obtained.
[0063] In an embodiment of the present disclosure, the execution result data of the data processing task may include media data. The graphical nodes in the data processing task include data rendering nodes. The data rendering nodes may be used to set a data rendering template and template input data for the data rendering template. In an embodiment of the present disclosure, the data rendering template may be used to render the template input data into media data with a desired presentation effect. In an embodiment of the present disclosure, data processing logic corresponding to the data rendering template may be executed on a second end to improve rendering processing efficiency. In an embodiment of the present disclosure, if a data processing task includes multiple data rendering nodes, the second ends executing the data processing logic corresponding to different data rendering nodes may be the same or different. In other words, the second ends corresponding to different data rendering nodes may be the same or different. For example, the graphical nodes in the data processing task include data rendering node 1 and data rendering node 2. The data processing logic corresponding to data rendering node 1 is executed on second end A, and the data processing logic corresponding to data rendering node 2 is executed on second end B. Alternatively, the data processing logic corresponding to data rendering node 1 and the data processing logic corresponding to data rendering node 2 are both executed on second end A. In an embodiment of the present disclosure, when the data processing task includes a video generation task, the execution result of the data processing task is video data; illustratively, the task description data of the data processing task is "please generate a video of a small fish swimming in water", then the execution result data of the data processing task is a video of a small fish swimming in water.
[0064] In the embodiment of the present disclosure, the data rendering template set by the data rendering node can be set according to actual needs, which is not specifically limited here. In the case where the number of data rendering nodes is multiple, the data rendering templates set by different data rendering nodes can be the same or different. On the basis of the above embodiment, the method for the data rendering node device data rendering template can specifically be to display at least one candidate data rendering template corresponding to the data rendering node; in response to the template selection operation for the candidate data rendering template, the selected data rendering template is used as the data rendering template of the data rendering node. Further, after the data rendering template corresponding to the data rendering node is set, it can also include: when the data rendering template is not configured with template input data, the data rendering template can be set with template input data by receiving a data setting operation for the data rendering template input. Alternatively, when the data rendering template is set with template input data, the template input data of the data rendering template can be updated by receiving a data modification operation for the template input data. Alternatively, in a case where the data rendering template is set with default template input data, the default template input data set by the data rendering template may be determined as the template input data of the data rendering template.
[0065] In an embodiment of the present disclosure, the execution result data of the data processing task may include program data. The graphical node in the data processing task may include a string processing node. The string processing node may be used to adjust the input program data and / or to request a second end to generate program data based on the node input data of the string processing node. In other words, the string processing node may be used to adjust the input program data. For example, the string processing node may be used to modify the input program data from a first programming language to a second programming language, add some program data to the input program data, delete some program data from the input program data, modify some program data from the input program data, combine different program data, etc. In an embodiment of the present disclosure, the string processing node may be used to request a second end to generate program data based on the node input data of the string processing node. Specifically, after determining the node input data of the string processing node, the node input data may be sent to the second end. After receiving the node input data, the second end may generate program data based on the input data and feed the program data back to the first end to obtain the node output data of the string processing node, i.e., the program data.
[0066] In an embodiment of the present disclosure, the data processing task may include at least one execution link task. The execution link task may be determined based on the graphical node serving as the task input node in the data processing task. The task input node may be understood as the input node of the data processing task. In an embodiment of the present disclosure, the graphical node corresponding to the execution link task may be determined based on the graphical node serving as the task input node and the graphical node serving as the task output node in the data processing task. The task output node may be understood as the output node of the data processing task. The graphical node corresponding to the execution link task includes the graphical node serving as the task input node and the graphical node serving as the task output node in the data processing task, as well as the graphical node located between the graphical node serving as the task input node and the graphical node serving as the task output node. Based on this, after receiving the execution trigger operation for the data processing task, the method may further include: in response to a task cancellation request for the execution link task, determining multiple graphical nodes corresponding to the execution link task, and sending a cancellation instruction to the multiple graphical nodes corresponding to the execution link task, so that the graphical nodes stop executing the data processing operations corresponding to the graphical nodes.
[0067] Among them, the task cancellation request can be understood as a request for canceling the execution of the data processing task when the data processing task is triggered for execution. In the embodiment of the present disclosure, there are many ways to obtain a task cancellation request, which are not specifically limited here. Exemplarily, the task cancellation request can be generated by at least one of the following ways: a control trigger operation acting on a preset task cancellation control; collecting preset audio information; detecting a target trigger event (for example, an operation trigger event); etc.
[0068] Specifically, after receiving the execution trigger operation for the data processing task, if a task cancellation request for the execution link task is received, multiple graphical nodes corresponding to the execution link task can be determined based on the correspondence between the execution link task and the graphical nodes. If the multiple graphical nodes corresponding to the execution link task are determined, a cancellation instruction can be generated and sent to the multiple graphical nodes corresponding to the execution link task, so that the graphical nodes stop executing the data processing operation corresponding to the graphical nodes.
[0069] Based on the above embodiment, before determining the multiple graphical nodes corresponding to the execution link task, the method may further include: determining a task input node among the multiple graphical nodes in the data processing task, and for each task input node, using the task input node as a root node, constructing a tree structure corresponding to the task input node based on the connection relationship between the multiple graphical nodes in the data processing task. In the disclosed embodiment, by establishing a tree structure for each execution link task, the multiple graphical nodes included in the execution link can be determined relatively quickly and accurately, so that the multiple graphical nodes in the execution link can quickly respond to task processing requests, such as task cancellation requests.
[0070] In an embodiment of the present disclosure, determining the task input node among the plurality of graphical nodes in the data processing task may specifically include: determining, for each graphical node in the data processing task, the in-degree of the graphical node. If the in-degree of the graphical node is zero, the graphical node may be determined as the task input node among the plurality of graphical nodes in the data processing task.
[0071] In an embodiment of the present disclosure, for each of the task input nodes, the task input node is used as a root node, and a tree structure corresponding to the task input node is constructed according to the connection relationship between the multiple graphical nodes in the data processing task, including: for each of the task input nodes, the task input node is used as a root node. Afterwards, based on the connection relationship between the multiple graphical nodes in the data processing task, the graphical node directly connected to the root node is determined. In this way, the child node of the root node can be determined to be the graphical node directly connected to the root node. After determining the child node corresponding to the root node, the child node is re-used as the root node, and the operation of determining the graphical node directly connected to the root node based on the connection relationship between the multiple graphical nodes in the data processing task is re-executed to obtain a tree structure corresponding to the task input node.
[0072] In an embodiment of the present disclosure, after the tree structure corresponding to the task input node is constructed, the multiple graphical nodes corresponding to the execution link task are determined in response to the task cancellation request for the execution link task, including: in response to the task cancellation request for the execution link task, the task input node corresponding to the execution link task is determined, and the multiple graphical nodes in the tree structure corresponding to the task input node are determined as the multiple graphical nodes corresponding to the execution link task.
[0073] Specifically, after receiving a task cancellation request for the execution link task, the graphical node with an in-degree of zero in the execution link task can be determined based on the connection relationship between multiple graphical nodes in the execution link task, that is, the task input node corresponding to the execution link task. After determining the task input node, the tree structure corresponding to the task input node can be traversed to determine the graphical node that serves as a leaf node in the tree structure. After determining the graphical node that serves as a leaf node, a cancellation instruction can be sent to the graphical node that serves as a leaf node, so that the graphical node that serves as a leaf node stops executing the data processing operation corresponding to the graphical node, thereby achieving the cancellation of the task execution of the execution link task. The advantage of such processing is that the execution link task can be canceled only by terminating the leaf node operation, thereby achieving precise control of the execution of the execution link task.
[0074] The technical solution of the embodiment of the present disclosure is to display a task editing page in the browser of the first end in response to a task editing request, so that the task editing page is displayed through the browser, without the need to install specific software to edit the task, and can realize the visual presentation of task editing, providing an interactive interface for task editing operations. Then, the task editing page receives a node editing operation for at least one graphical node, and determines the data processing task according to the node editing operation, which not only reduces the difficulty of editing the data processing task, but also realizes flexible editing of the output processing task, meeting the differentiated requirements of data processing task editing. Moreover, since at least part of the data processing operation in the data processing logic corresponding to the graphical node is executed on the second end, it can not only reduce the resource consumption of the first end, but also save the storage space of the first end. Furthermore, an execution trigger operation for the data processing task is received, and the data processing task is executed according to the execution trigger operation to obtain the execution result data of the data processing task, realizing that during the task editing process, convenient viewing of the data processing results is supported, so as to facilitate flexible adjustment of the data processing task, so that the data processing task can fit the data processing requirements. The technical solution of the embodiment of the present disclosure can realize visual editing of data processing tasks through simple interactive operations, and can combine data processing resources on multiple terminals to enrich the editing effects of data processing tasks, reduce the editing difficulty of data processing tasks, broaden the scope of application of data editing, and improve the editing efficiency of data processing tasks.
[0075] Figure 3A flow chart of another data processing method provided by an embodiment of the present disclosure. The technical solution of this embodiment further refines the method of executing the data processing task to obtain the execution result data of the data processing task on the basis of the above-mentioned embodiment. Optionally, the execution of the data processing task to obtain the execution result data of the data processing task includes: determining the dependency relationship and the dependent relationship between the multiple graphical nodes in the data processing task, and determining the execution order of the graphical nodes according to the dependency relationship and the dependent relationship; executing the data processing operations corresponding to the graphical nodes according to the execution order of the graphical nodes to obtain the execution result data of the data processing task. For specific implementation methods, please refer to the description of this embodiment. Among them, the technical features that are the same or similar to those in the above-mentioned embodiments are not repeated here. As Figure 3 As shown, the method of this embodiment may specifically include:
[0076] S210 : In response to the task editing request, display a task editing page in the browser of the first terminal.
[0077] S220. Receive a node editing operation for at least one graphical node through the task editing page, and determine a data processing task based on the node editing operation; wherein at least part of the data processing operations in the data processing logic corresponding to the graphical node are executed on the second end.
[0078] S230. Receive an execution trigger operation for the data processing task, determine the dependency relationship and the dependent relationship between the multiple graphical nodes in the data processing task according to the execution trigger operation, and determine the execution order of the graphical nodes according to the dependency relationship and the dependent relationship.
[0079] Among them, the dependency relationship can be used to indicate the graphical node on which the graphical node depends. The dependent relationship can be used to indicate the graphical node that depends on the graphical node. Specifically, after receiving the execution trigger operation for the data processing task, the dependency relationship and the dependent relationship between the multiple graphical nodes in the data processing task can be determined according to the execution trigger operation and the connection relationship between the multiple graphical nodes in the data processing task. Furthermore, the execution order of the graphical nodes can be determined based on the dependency relationship and the dependent relationship.
[0080] In an embodiment of the present disclosure, determining the execution order of the graphical nodes based on the dependency and the dependent relationship includes: establishing a dependency table based on the dependency corresponding to multiple graphical nodes; and establishing a dependent relationship table based on the dependent relationship corresponding to multiple graphical nodes; determining the graphical node for which the dependency does not exist in the dependency table as the first node, and executing the data processing operation corresponding to the first node; in response to an event that the data processing operation corresponding to the first node is completed, deleting the first node from the dependency table, and determining a second node that depends on the first node from the multiple graphical nodes based on the dependent relationship table; re-determining the first node from the second node based on the dependency table after deleting the first node, and returning to execute the operation of executing the data processing operation corresponding to the first node.
[0081] For example, see Figure 4A , the multiple graphical nodes in the data processing task may include node 1, node 2, node 3, node 4, node 5, node 6 and node 7. Among them, node 2 depends on node 1, node 3 depends on node 1, node 4 depends on node 2, node 5 depends on node 2, node 6 depends on node 5, and node 7 depends on node 3 and node 4. Then, the dependency table is as follows Figure 4B As shown in the figure, node 1 is dependent on nodes 2, 3, and 5. Node 2 is dependent on nodes 4 and 5. Node 3 is dependent on node 7. Node 4 is dependent on node 7. Node 5 is dependent on node 6. Then, the dependency table is as follows: Figure 4C shown.
[0082] It should be noted that, in the embodiment of the present invention, since independent nodes have no actual input or output dependencies, their existence will waste computing resources, and their deletion can release redundant resources. Then, when there are independent graphical nodes among the multiple graphical nodes in the data processing task, the independent graphical nodes can be deleted to reduce resource usage, optimize task execution efficiency and improve the accuracy of task results. Before executing the data processing task, the independent nodes in the data processing task can be deleted. As shown in Figure 4A Node 9 is an independent graphical node and can be deleted before executing the data processing task.
[0083] Specifically, a dependency table is established based on the dependency relationships corresponding to the multiple graphical nodes; and a dependency table is established based on the dependent relationships corresponding to the multiple graphical nodes. After obtaining the dependency table and the dependent relationship table, the graphical node for which the dependency relationship does not exist in the dependency table can be determined. Furthermore, the graphical node for which the dependency relationship does not exist in the dependency table can be determined as the first node. After determining the first node, the data processing operation corresponding to the first node can be executed. In response to the event that the data processing operation corresponding to the first node is completed, the first node can be deleted from the dependency table. After the first node is deleted from the dependency, the second node that depends on the first node can be determined from the multiple graphical nodes based on the dependent relationship table. Furthermore, the first node can be re-determined from the second node based on the dependency table after the first node is deleted, and the operation of executing the data processing operation corresponding to the first node can be returned.
[0084] Continuing the above example, we get the dependency table (see Figure 4B ) and the dependency table (see Figure 4C), the graphical node with no dependency in the dependency table is node 1, i.e., the first node. The data processing operation corresponding to node 1 is executed. After the data processing operation corresponding to node 1 is completed, node 1 can be deleted from the dependency table. Afterwards, it can be determined from the dependency table that the graphical nodes that depend on node 1 are node 2, node 3, and node 5, i.e., the second node includes node 2, node 3, and node 5. In the dependency table after deleting node 1, graphical nodes with no dependency, i.e., node 2 and node 3, are re-determined from node 2, node 3, and node 5. Afterwards, the data processing operations corresponding to node 2 and node 3 are executed respectively. After the execution is completed, node 2 and node 3 in the dependency table are deleted again. Afterwards, the graphical nodes that depend on node 2, i.e., node 4 and node 5, and the graphical node that depends on node 3, i.e., node 7, are determined from the dependency table. At this time, the second node includes node 4, node 5, and node 7. In the dependency table of deleting nodes 1, 2 and 3, it can be determined that there are no graphical nodes in nodes 4, 5 and 7 that have no dependency, namely nodes 4 and 5. Then, the data processing operations corresponding to nodes 4 and 5 are executed respectively. After the execution is completed, nodes 4 and 5 are deleted again in the dependency table of deleting nodes 1, 2 and 3. Afterwards, the graphical node that depends on node 4, namely node 7, is determined from the dependency table, and the graphical node that depends on node 5, namely node 6, is determined. At this time, the second node includes nodes 7 and 6. In the dependency table of deleting nodes 1, 2, 3, 4 and 5, it is determined that there are no graphical nodes that have no dependency, namely nodes 6 and 7. Then, the nodes 6 and 7 can be executed. That is, Figure 4A The execution order of multiple graphical nodes in the data processing task can be: the graphical nodes that need to be executed for the first time include node 1, the graphical nodes that need to be executed for the second time include nodes 2 and node 3, the graphical nodes that need to be executed for the third time include nodes 4 and node 5, and the graphical nodes that need to be executed for the fourth time include nodes 6 and node 7.
[0085] S240: Execute the data processing operations corresponding to the graphical nodes according to the execution order of the graphical nodes to obtain execution result data of the data processing task.
[0086] Specifically, after determining the execution order of the graphical nodes, the data processing operations corresponding to the graphical nodes can be executed according to the execution order of the graphical nodes. After the data processing operations corresponding to all graphical nodes are executed, the execution result data of the data processing task can be obtained.
[0087] The technical solution of the embodiment of the present disclosure determines the dependency and dependent relationships between multiple graphical nodes in the data processing task, and determines the execution order of the graphical nodes according to the dependency and dependent relationships; executes the data processing operations corresponding to the graphical nodes according to the execution order of the graphical nodes to obtain the execution result data of the data processing task, thereby achieving a more accurate determination of the execution order of the graphical nodes, and then effectively obtaining the execution result data of the data processing task according to the execution order.
[0088] Figure 5 A flow chart of another data processing method provided by an embodiment of the present disclosure. The technical solution of this embodiment, based on the above-mentioned embodiment, further refines the method of receiving a node editing operation for at least one graphical node through the task editing page and determining a data processing task according to the node editing operation. Optionally, the task editing page displays a task creation identifier; the node editing operation at least includes a node adding operation; the receiving a node editing operation for at least one graphical node through the task editing page and determining a data processing task according to the node editing operation include: receiving a first trigger operation for the task creation identifier through the task editing page and displaying a task editing area; and receiving a node adding operation for at least one graphical node through the task editing area, and determining a data processing task according to the added graphical node. For specific implementation methods, please refer to the description of this embodiment. Among them, technical features that are the same or similar to those in the above-mentioned embodiments are not repeated here. As Figure 5 As shown, the method of this embodiment may specifically include:
[0089] S310: In response to the task editing request, display a task editing page in the browser of the first end; wherein the task editing page displays a task creation indicator.
[0090] Among them, the task creation identifier can be understood as an identifier used to display the task editing area on the task editing page. In the embodiment of the present disclosure, the display position of the task creation identifier on the task editing page can be set according to actual needs, which is not specifically limited here. For example, the task creation identifier can be displayed at the top, sidebar or bottom of the task editing page. In the embodiment of the present disclosure, the task creation identifier can be displayed in the form of an icon, a label or a text box, etc. Optionally, the task creation identifier can be a task creation control.
[0091] S320: Receive a first triggering operation for the task creation identifier through the task editing page, and display a task editing area.
[0092] Among them, the first trigger operation can be understood as an operation for triggering the task creation identifier to display the task editing area on the task editing page. In the embodiment of the present disclosure, there are many forms of presentation of the task editing area, which are not specifically limited here. Exemplarily, the task editing area can be a pop-up window on the task editing page. Or, it can be a view area embedded in the task editing page. Or, it can be a task editing area that is jumped to a new page with the task editing page as the base page. Or, it can be a hidden panel, which slides to the visible area of the task editing page after receiving the first trigger operation; or, it can be an area corresponding to a preset tab in the task editing page.
[0093] As an optional implementation of an embodiment of the present disclosure, upon receiving a first triggering operation acting on a task creation identifier in the task editing page, a pop-up window is displayed on the task editing interface as a task editing area. Alternatively, a viewing area of a specific size pre-set on the task editing page can be used as the task editing area. Alternatively, with the task editing page as the base page, a new page is jumped to as the task editing area. Alternatively, a hidden task editing panel is slid and displayed in the visible area of the task editing page.
[0094] As another optional implementation of the embodiment of the present disclosure, the task editing page includes multiple preset tabs, and different preset tabs correspond to different areas. The task editing area corresponds to a target tab among the multiple preset tabs. After receiving a first trigger operation acting on the target tab, the task editing area corresponding to the target tab can be displayed in the task editing page, so that relevant personnel can add graphical nodes in the task editing area.
[0095] S330: Receive a node adding operation for at least one graphical node through the task editing area, and determine a data processing task according to the added graphical node.
[0096] Among them, at least part of the data processing operations in the data processing logic corresponding to the graphical node is executed at the second end. In the embodiment of the present disclosure, the node adding operation can be understood as an operation for adding a graphical node in the task editing area to obtain multiple graphical nodes corresponding to the data processing task. Compared with the prior art of obtaining data processing tasks by writing program code, in the embodiment of the present disclosure, a node adding operation for at least one graphical node is received through the task editing area, and the data processing task is determined according to the added graphical node. There is no need to write program code. The data processing task can be quickly constructed by adding graphical nodes through an intuitive graphical interface, which reduces the difficulty of constructing the data processing task. In addition, when the requirements of the data processing task change, the nodes or connection relationships can be adjusted directly in the graphical interface without modifying the underlying code, thereby reducing maintenance costs.
[0097] Specifically, a node adding operation for at least one graphical node is received through the task editing area. Then, based on the node adding operation, the added graphical node can be determined. After determining the added graphical node, the data processing task can be determined based on the added graphical node. In an embodiment of the present disclosure, the number of added graphical nodes is multiple, and there are multiple ways to determine the data processing task based on the added graphical nodes. For example, multiple graphical nodes can be connected based on the order in which the multiple added graphical nodes are added to obtain a data processing task. Alternatively, in response to a node connection operation for multiple added graphical nodes, a data processing task can be obtained based on the node connection operation; wherein, the node connection operation can be understood as an operation for connecting multiple added graphical nodes.
[0098] Exemplarily, after displaying the task editing area, multiple candidate graphical nodes are displayed in the task editing area. After a node selection operation is performed on the multiple candidate graphical nodes, the selected graphical nodes can be sequentially displayed in the task editing area. If all selected graphical nodes are displayed in the task editing area, a data processing task can be obtained based on the multiple selected graphical nodes.
[0099] S340: Receive an execution trigger operation for the data processing task, and execute the data processing task according to the execution trigger operation to obtain execution result data of the data processing task.
[0100] The technical solution of the embodiment of the present disclosure receives a first trigger operation for the task creation identifier through the task editing page, and displays a task editing area; and receives a node addition operation for at least one graphical node through the task editing area, and determines a data processing task based on the added graphical node, thereby realizing the function of constructing a data processing task by adding graphical nodes through an intuitive graphical interface.
[0101] Figure 6 A flow chart of another data processing method provided by an embodiment of the present disclosure. The technical solution of this embodiment is based on the above-mentioned embodiment, and further refines the method of receiving a node editing operation for at least one graphical node through the task editing page and determining the data processing task according to the node editing operation. Optionally, the task editing page displays a task access identifier of a created data processing task; the receiving a node editing operation for at least one graphical node through the task editing page and determining the data processing task according to the node editing operation include: receiving a second trigger operation for at least one task access identifier through the task editing page, and displaying the triggered data processing task according to the second trigger operation; wherein, the data processing task includes a plurality of graphical nodes and there is a connection relationship between at least two of the graphical nodes; receiving a node editing operation for at least one graphical node in the data processing task, and updating the data processing task according to the node editing operation. For specific implementation methods, please refer to the description of this embodiment. Among them, technical features that are the same or similar to those in the above-mentioned embodiments are not repeated here. As Figure 6 As shown, the method of this embodiment may specifically include:
[0102] S410 . In response to the task editing request, display a task editing page in the browser of the first end; wherein the task editing page displays a task access identifier of the created data processing task.
[0103] Among them, in the embodiment of the present disclosure, the task editing page can provide the task access identifier of the created data processing task. Such a setting can simplify the setting flow of the data processing task. Relevant personnel do not need to go through the tedious steps of creating a new data processing task, but can use the task access identifier to quickly locate the created data processing task and directly perform secondary editing on it, thereby improving the efficiency of the data processing task. In the embodiment of the present disclosure, the task access identifier can be used to distinguish different created data processing tasks. The number of task access identifiers in the task editing page can be one, two or more. In the embodiment of the present disclosure, the task access identifier can include a graphical identifier and / or a text identifier.
[0104] In the embodiment of the present disclosure, the display mode of the task access identifier of the created data processing task on the task editing page can be set according to actual needs, which is not specifically limited here. Exemplarily, a plurality of the task access identifiers are presented in the form of a vertical list, and each task access identifier occupies a row of the list. Alternatively, each task access identifier is displayed in the form of a card. Alternatively, each task access identifier is displayed in the form of a label, wherein the size and color of the label can be set according to actual needs, which is not specifically limited here.
[0105] In an embodiment of the present disclosure, after receiving a task editing request, a task editing page can be displayed in a browser at the first end. After the task editing page is displayed in the browser at the first end, the task access identifier of the created data processing task is determined, and the task access identifier is directly displayed on the task editing page. Alternatively, after the task editing page is displayed in the browser at the first end, upon receiving a data processing task setting operation for the task editing interface, the task access identifier of the created data processing task can be determined, and the task access identifier can be displayed on the task editing page; wherein, the data processing task setting operation can be understood as an operation for triggering the setting of a data processing task.
[0106] S420. Receive a second trigger operation for at least one of the task access identifiers through the task editing page, and display the triggered data processing task according to the second trigger operation; wherein, the data processing task includes multiple graphical nodes and there is a connection relationship between at least two of the graphical nodes.
[0107] The second trigger operation can be understood as a trigger operation acting on the task access identifier. At least part of the data processing operations in the data processing logic corresponding to the graphical node is executed on the second end.
[0108] Specifically, after receiving a second triggering operation acting on at least one of the task access identifiers on the task editing page, the triggered task access identifier can be determined. Furthermore, based on the correspondence between the task access identifier and the data processing task, the data processing task corresponding to the triggered task access identifier can be determined, i.e., the triggered data processing task can be determined. Furthermore, the triggered data processing task can be displayed on the task editing page, i.e., the data processing task including multiple graphical nodes having a connection relationship between at least two of the graphical nodes is displayed on the task editing page.
[0109] S430: Receive a node editing operation for at least one of the graphical nodes in the data processing task, and update the data processing task according to the node editing operation.
[0110] The node editing operation can be understood as an operation for editing one or more graphical nodes in the data processing task. The node editing operation can be an operation for editing the node information of at least one of the graphical nodes in the data processing task, and / or can be an operation for editing the connection relationship between the graphical nodes. In an embodiment of the present disclosure, there are multiple ways to receive a node editing operation for at least one of the graphical nodes in the data processing task and update the data processing task according to the node editing operation.
[0111] As an optional embodiment of the present disclosure, in response to a first node selection operation on multiple graphical nodes in the data processing task, a selected graphical node is determined. After receiving a node information modification operation on the selected graphical node, the node information of the selected graphical node can be modified according to the node information modification operation to obtain an updated data processing task.
[0112] As an optional implementation in an embodiment of the present disclosure, upon receiving a second node selection operation for two graphical nodes in a data processing task, two selected graphical nodes are determined. After receiving a connection relationship modification operation and / or connection relationship setting operation for the two selected graphical nodes, the connection relationship of the two selected graphical nodes can be modified and / or set to obtain an updated data processing task.
[0113] S440: Receive an execution trigger operation for the data processing task, and execute the data processing task according to the execution trigger operation to obtain execution result data of the data processing task.
[0114] The technical solution of the embodiment of the present disclosure is to receive a second trigger operation for at least one of the task access identifiers through the task editing page, and display the triggered data processing task according to the second trigger operation; wherein, the data processing task includes multiple graphical nodes and there is a connection relationship between at least two of the graphical nodes; receive a node editing operation for at least one of the graphical nodes in the data processing task, and update the data processing task according to the node editing operation, thereby realizing the function of obtaining the required data processing task by secondary editing of the data processing task.
[0115] As an alternative embodiment of the present disclosure, see Figure 7 The present disclosure provides a data processing method for generating video data based on text data. The data processing task is a text-to-video task. The data processing steps for the text-to-video task include:
[0116] Step 1: A task editing request is received through the first end, and a task editing page can be displayed in the browser of the first end. After receiving a node editing operation for at least one graphical node in the task editing page, a data processing task of generating text into video can be obtained. In the embodiment of the present disclosure, the graphical nodes of the data processing task of generating text into video include input text, expanded storyboard model, narration generation model, background music, text-generated image, speech synthesis model, image-generated video, editing processing, and output video. Among them, the data processing logic corresponding to the expanded storyboard model, narration production model, background music, text-generated image, speech synthesis model, image-generated video, and editing processing is executed on the second end.
[0117] Step 2: After receiving the execution trigger operation of the data processing task of generating text from video, the text data can be received through the graphical node as input text on the first end. The first end then sends the text data to the second end, so that the second end calls the expanded storyboard model to process the text data to obtain scene text 1 and scene text 2. After the second end obtains scene text 1, the narration generation model can be executed to process scene text 1, and then the speech synthesis model can be executed to process the output of the narration generation model to obtain narration audio. After the second end obtains scene text 2, the data processing logic of the text-to-image can be executed to process scene text 2, and then the data processing logic of the image-to-video can be executed to process the image data obtained based on scene text 2 to obtain the video. The data processing logic of the soundtrack can be executed on the second end to process the processing results of the expanded storyboard model to obtain the soundtrack. When the second end obtains the narration audio, soundtrack, and video, the editing processing logic of the second end can be executed to process the narration audio, soundtrack, and video to obtain the processed video, i.e., the output video. After the second end obtains the processed video, the processed video can be sent to the first end.
[0118] Step 3: After the first end receives the video sent by the second end, the video can be displayed on the browser page of the first end.
[0119] The technical solution of the embodiments of the present disclosure solves the technical problem in related technologies of data processing by writing program data, which is difficult and time-consuming to write. It enables the combination of data processing resources from multiple terminals to process media data more intuitively, flexibly and conveniently, thereby reducing the difficulty of processing media data and improving the processing efficiency of media data.
[0120] Figure 8 A structural diagram of a data processing device provided by an embodiment of the present disclosure is shown in FIG. Figure 8As shown, the apparatus includes: a page display module 510, a task determination module 520, and a task execution module 530. The page display module 510 is configured to display a task editing page in a browser on a first end in response to a task editing request; the task determination module 520 is configured to receive a node editing operation for at least one graphical node through the task editing page, and determine a data processing task based on the node editing operation; at least part of the data processing operations in the data processing logic corresponding to the graphical node are executed on a second end; and the task execution module 530 is configured to receive an execution trigger operation for the data processing task, and execute the data processing task based on the execution trigger operation to obtain execution result data of the data processing task.
[0121] The technical solution of the embodiment of the present disclosure is that the page display module 510 responds to the task editing request and displays the task editing page in the browser of the first end. By displaying the task editing page through the browser, there is no need to install specific software to edit the task, and the task editing can be visually presented, providing an interactive interface for the task editing operation. Then, the task determination module 520 receives the node editing operation for at least one graphical node through the task editing page, and determines the data processing task according to the node editing operation. This not only reduces the difficulty of editing the data processing task, but also enables flexible editing of the output processing task to meet the differentiated requirements of data processing task editing. Moreover, since at least part of the data processing operation in the data processing logic corresponding to the graphical node is executed on the second end, it not only reduces the resource consumption of the first end, but also saves the storage space of the first end. Furthermore, the task execution module 530 receives the execution trigger operation for the data processing task, executes the data processing task according to the execution trigger operation, and obtains the execution result data of the data processing task. This realizes that during the task editing process, it supports convenient viewing of the data processing results, so as to facilitate flexible adjustment of the data processing task, so that the data processing task can fit the data processing requirements. The technical solution of the embodiment of the present disclosure can realize visual editing of data processing tasks through simple interactive operations, and can combine data processing resources on multiple terminals to enrich the editing effects of data processing tasks, reduce the editing difficulty of data processing tasks, broaden the scope of application of data editing, and improve the editing efficiency of data processing tasks.
[0122] Based on any optional technical solution in the embodiments of the present disclosure, optionally, the task execution module 530 includes: a relationship determination unit, an execution order determination unit and a task execution unit; wherein the relationship determination unit is used to determine the dependency relationship and the dependent relationship between the multiple graphical nodes in the data processing task; the execution order determination unit is used to determine the execution order of the graphical nodes according to the dependency relationship and the dependent relationship; the task execution unit is used to execute the data processing operations corresponding to the graphical nodes according to the execution order of the graphical nodes to obtain the execution result data of the data processing task.
[0123] On the basis of any optional technical solution in the embodiments of the present disclosure, optionally, an execution order determination unit is used to establish a dependency table according to the dependency relationships corresponding to multiple graphical nodes; and to establish a dependency table according to the dependent relationships corresponding to multiple graphical nodes; the graphical node in which the dependency relationship does not exist in the dependency table is determined as the first node, and the data processing operation corresponding to the first node is executed; in response to the event that the data processing operation corresponding to the first node is completed, the first node is deleted from the dependency table, and a second node that depends on the first node is determined from the multiple graphical nodes according to the dependent relationship table; the first node is re-determined from the second node according to the dependency table after the first node is deleted, and the operation of executing the data processing operation corresponding to the first node is returned.
[0124] Based on any optional technical solution in the embodiments of the present disclosure, optionally, the data processing task includes a sub-processing task; the sub-processing task includes the graphical node in the data processing task that needs to be executed cyclically; the graphical node in the data processing task includes a sub-task entry node and a sub-task exit node connected to the sub-processing task; the sub-task entry node is used to convert multiple data that need to be processed by the sub-processing task into input data in a first preset format; the sub-task exit node is used to merge multiple data output by the sub-processing task into output data in a second preset format.
[0125] Based on any optional technical solution in the embodiments of the present disclosure, optionally, the data processing task includes at least one execution link task; the execution link task is determined based on the graphical node serving as the task input node in the data processing task; and the data processing device further includes a task cancellation module. The task cancellation module is configured to, after receiving an execution trigger operation for the data processing task, respond to a task cancellation request for the execution link task, determine a plurality of graphical nodes corresponding to the execution link task, and send a cancellation instruction to the plurality of graphical nodes corresponding to the execution link task, so that the graphical nodes stop executing the data processing operations corresponding to the graphical nodes.
[0126] Based on any optional technical solution in the embodiments of the present disclosure, optionally, the data processing device further includes a tree structure construction module. The tree structure construction module is configured to, before determining the multiple graphical nodes corresponding to the execution link task, determine the task input node among the multiple graphical nodes in the data processing task, and for each task input node, take the task input node as the root node and construct a tree structure corresponding to the task input node based on the connection relationship between the multiple graphical nodes in the data processing task; and the task cancellation module is configured to determine the task input node corresponding to the execution link task, and determine the multiple graphical nodes in the tree structure corresponding to the task input node as the multiple graphical nodes corresponding to the execution link task.
[0127] Based on any optional technical solution in the embodiments of the present disclosure, optionally, the task editing page displays a task creation identifier; the node editing operation includes at least a node adding operation; the task determination module 520 is used to receive a first trigger operation for the task creation identifier through the task editing page, display a task editing area; and receive a node adding operation for at least one graphical node through the task editing area, and determine a data processing task based on the added graphical node.
[0128] Based on any optional technical solution in the embodiments of the present disclosure, optionally, the task editing page displays a task access identifier of the created data processing task; the task determination module 520 is used to receive a second trigger operation for at least one of the task access identifiers through the task editing page, and display the triggered data processing task according to the second trigger operation; wherein the data processing task includes multiple graphical nodes and there is a connection relationship between at least two of the graphical nodes; receive a node editing operation for at least one of the graphical nodes in the data processing task, and update the data processing task according to the node editing operation.
[0129] Based on any optional technical solution in the embodiments of the present disclosure, optionally, the execution result data of the data processing task includes media data; the graphical node in the data processing task includes a data rendering node; the data rendering node is used to set a data rendering template and template input data of the data rendering template; the data rendering template is used to render the template input data into media data with an expected presentation effect.
[0130] Based on any optional technical solution in the embodiments of the present disclosure, optionally, the execution result data of the data processing task includes program data; the graphical node in the data processing task includes a string processing node; the string processing node is used to adjust the input program data and / or to generate program data at the second end according to the node input data of the string processing node.
[0131] The data processing device provided by the embodiments of the present disclosure can execute the data processing method provided by any embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects for executing the data processing method.
[0132] It is worth noting that the various units and modules included in the above-mentioned device are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the embodiments of the present disclosure.
[0133] Reference below Figure 9 , which shows a schematic structural diagram of an electronic device (e.g., a terminal device or a server) 900 suitable for implementing the embodiments of the present disclosure. The terminal device in the embodiments of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. Figure 9 The electronic device shown is only an example and should not limit the functions and scope of use of the embodiments of the present disclosure.
[0134] like Figure 9As shown, the electronic device 900 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 901, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 902 or a program loaded from a storage device 908 into a random access memory (RAM) 903. Various programs and data required for the operation of the electronic device 900 are also stored in the RAM 903. The processing device 901, the ROM 902, and the RAM 903 are connected to each other via a bus 904. An input / output (I / O) interface 905 is also connected to the bus 904.
[0135] Typically, the following devices may be connected to the I / O interface 905: an input device 906 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 907 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 908 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 909. The communication device 909 may allow the electronic device 900 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 9 The electronic device 900 is shown with various devices, but it should be understood that it is not required to implement or possess all of the devices shown. More or fewer devices may be implemented or possessed instead.
[0136] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 909, or installed from the storage device 908, or installed from the ROM 902. When the computer program is executed by the processing device 901, the above-mentioned functions defined in the method of the embodiment of the present disclosure are performed.
[0137] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0138] The electronic device provided in the embodiment of the present disclosure and the data processing method provided in the above embodiment belong to the same inventive concept. For technical details not fully described in the embodiment of the present disclosure, please refer to the above embodiment, and this embodiment has the same beneficial effects as the above embodiment.
[0139] An embodiment of the present disclosure provides a computer storage medium on which a computer program is stored. When the program is executed by a processor, the data processing method provided by the above embodiment is implemented.
[0140] It should be noted that the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. A computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or component, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, device, or component. In the present disclosure, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries computer-readable program code. Such a propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to wires, optical cables, RF (radio frequency), etc., or any suitable combination thereof.
[0141] According to one or more embodiments of the present disclosure, [Example 1] provides a data processing method, including:
[0142] In response to a task editing request, a task editing page is displayed in a browser at the first end; a node editing operation for at least one graphical node is received through the task editing page, and a data processing task is determined based on the node editing operation; wherein, at least part of the data processing operations in the data processing logic corresponding to the graphical node are executed at the second end; an execution trigger operation for the data processing task is received, and the data processing task is executed according to the execution trigger operation to obtain execution result data of the data processing task.
[0143] According to one or more embodiments of the present disclosure, [Example 2] provides the method of Example 1, further including: optionally, executing the data processing task to obtain execution result data of the data processing task, including: determining the dependency relationship and the dependent relationship between the multiple graphical nodes in the data processing task, and determining the execution order of the graphical nodes according to the dependency relationship and the dependent relationship; executing the data processing operations corresponding to the graphical nodes according to the execution order of the graphical nodes to obtain the execution result data of the data processing task.
[0144] According to one or more embodiments of the present disclosure, [Example Three] provides the method of Example One, further including: optionally, determining the execution order of the graphical nodes based on the dependency and the dependent relationship, including: establishing a dependency table based on the dependency corresponding to multiple graphical nodes; and establishing a dependent relationship table based on the dependent relationship corresponding to multiple graphical nodes; determining the graphical node in which the dependency does not exist in the dependency table as the first node, and executing the data processing operation corresponding to the first node; in response to an event that the data processing operation corresponding to the first node is completed, deleting the first node from the dependency table, and determining a second node that depends on the first node from the multiple graphical nodes based on the dependent relationship table; re-determining the first node from the second node based on the dependency table after deleting the first node, and returning to execute the operation of executing the data processing operation corresponding to the first node.
[0145] According to one or more embodiments of the present disclosure, [Example 4] provides the method of Example 1, further including: optionally, the data processing task includes a sub-processing task; the sub-processing task includes the graphical node in the data processing task that needs to be executed cyclically; the graphical node in the data processing task includes a sub-task entry node and a sub-task exit node connected to the sub-processing task; the sub-task entry node is used to convert multiple data that need to be processed by the sub-processing task into input data in a first preset format; the sub-task exit node is used to merge multiple data output by the sub-processing task into output data in a second preset format.
[0146] According to one or more embodiments of the present disclosure, [Example Five] provides the method of Example One, further including: optionally, the data processing task includes at least one execution link task; the execution link task is determined based on the graphical node serving as the task input node in the data processing task; after receiving the execution trigger operation for the data processing task, it also includes: in response to a task cancellation request for the execution link task, determining a plurality of the graphical nodes corresponding to the execution link task, and sending a cancellation instruction to the plurality of the graphical nodes corresponding to the execution link task, so that the graphical node stops executing the data processing operation corresponding to the graphical node.
[0147] According to one or more embodiments of the present disclosure, [Example Six] provides the method of Example One, further including: optionally, before determining the multiple graphical nodes corresponding to the execution link task, it also includes: determining the task input node among the multiple graphical nodes in the data processing task, and for each task input node, taking the task input node as the root node, constructing a tree structure corresponding to the task input node according to the connection relationship between the multiple graphical nodes in the data processing task; determining the multiple graphical nodes corresponding to the execution link task includes: determining the task input node corresponding to the execution link task, and determining the multiple graphical nodes in the tree structure corresponding to the task input node as the multiple graphical nodes corresponding to the execution link task.
[0148] According to one or more embodiments of the present disclosure, [Example 7] provides the method of Example 1, further including: optionally, the task editing page displays a task creation identifier; the node editing operation includes at least a node adding operation; the receiving of a node editing operation for at least one graphical node through the task editing page, and determining a data processing task based on the node editing operation, includes: receiving a first trigger operation for the task creation identifier through the task editing page, and displaying a task editing area; and receiving a node adding operation for at least one graphical node through the task editing area, and determining a data processing task based on the added graphical node.
[0149] According to one or more embodiments of the present disclosure, [Example 8] provides the method of Example 1, further including: optionally, the task editing page displays a task access identifier of a created data processing task; the node editing operation for at least one graphical node is received through the task editing page, and the data processing task is determined based on the node editing operation, including: receiving a second trigger operation for at least one of the task access identifiers through the task editing page, and displaying the triggered data processing task based on the second trigger operation; wherein the data processing task includes a plurality of the graphical nodes and a connection relationship exists between at least two of the graphical nodes; receiving a node editing operation for at least one of the graphical nodes in the data processing task, and updating the data processing task based on the node editing operation.
[0150] According to one or more embodiments of the present disclosure, [Example 9] provides the method of Example 1, further including: optionally, the execution result data of the data processing task includes media data; the graphical node in the data processing task includes a data rendering node; the data rendering node is used to set a data rendering template and template input data of the data rendering template; the data rendering template is used to render the template input data into media data with an expected presentation effect.
[0151] According to one or more embodiments of the present disclosure, [Example 10] provides the method of Example 1, further including: optionally, the execution result data of the data processing task includes program data; the graphical node in the data processing task includes a string processing node; the string processing node is used to adjust the input program data and / or to generate program data at the second end according to the node input data of the string processing node.
[0152] According to one or more embodiments of the present disclosure, [Example 11] provides a data processing device, including:
[0153] A page display module is used to display a task editing page in a browser at a first end in response to a task editing request; a task determination module is used to receive a node editing operation for at least one graphical node through the task editing page, and determine a data processing task based on the node editing operation; wherein at least part of the data processing operations in the data processing logic corresponding to the graphical node are executed at the second end; a task execution module is used to receive an execution trigger operation for the data processing task, and execute the data processing task according to the execution trigger operation to obtain execution result data of the data processing task.
[0154] In some embodiments, the client and server can communicate using any currently known or future developed network protocol, such as HTTP (HyperText Transfer Protocol), and can be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.
[0155] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0156] The above-mentioned computer-readable medium carries one or more programs. When the above-mentioned one or more programs are executed by the electronic device, the electronic device: displays a task editing page in the browser of the first end in response to a task editing request; receives a node editing operation for at least one graphical node through the task editing page, and determines a data processing task based on the node editing operation; wherein at least part of the data processing operations in the data processing logic corresponding to the graphical node are executed on the second end; receives an execution trigger operation for the data processing task, and executes the data processing task according to the execution trigger operation to obtain execution result data of the data processing task.
[0157] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages, or a combination thereof, including, but not limited to, object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on the remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0158] The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, program segment, or a part of code, and the module, program segment, or a part of code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of the boxes in the block diagram and / or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0159] The units described in the embodiments of the present disclosure may be implemented in software or hardware. In some cases, the name of a unit does not limit the unit itself. For example, a page display module may also be described as "a module that displays a task edit page in a browser on a first terminal in response to a task edit request."
[0160] The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, and without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chip (SOCs), complex programmable logic devices (CPLDs), and the like.
[0161] In the context of the present disclosure, a machine-readable medium can be a tangible medium that can contain or store a program for use by or in conjunction with an instruction execution system, device or equipment. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium can include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0162] The above description is merely a preferred embodiment of the present disclosure and an illustration of the technical principles employed. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by the specific combination of the above-mentioned technical features, but also includes other technical solutions formed by any combination of the above-mentioned technical features or their equivalents without departing from the above-mentioned disclosed concepts. For example, a technical solution formed by replacing the above-mentioned features with (but not limited to) technical features with similar functions disclosed in this disclosure.
[0163] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details have been included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.
[0164] Although the subject matter has been described in language specific to structural features and / or methodological logical acts, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are merely example forms of implementing the claims.
Claims
1. A data processing method, characterized in that: include: In response to the task editing request, displaying a task editing page in the browser of the first terminal; Receiving a node editing operation for at least one graphical node through the task editing page, and determining a data processing task according to the node editing operation; wherein at least part of the data processing operations in the data processing logic corresponding to the graphical node are executed on the second end; An execution trigger operation for the data processing task is received, and the data processing task is executed according to the execution trigger operation to obtain execution result data of the data processing task.
2. The data processing method according to claim 1, wherein: The executing the data processing task to obtain execution result data of the data processing task includes: Determining dependency relationships and dependent relationships among a plurality of the graphical nodes in the data processing task, and determining an execution order of the graphical nodes according to the dependency relationships and the dependent relationships; The data processing operations corresponding to the graphical nodes are executed according to the execution order of the graphical nodes to obtain execution result data of the data processing task.
3. The data processing method according to claim 2, characterized in that: The determining the execution order of the graphical nodes according to the dependency relationship and the dependent relationship includes: Establishing a dependency table according to the dependency relationships corresponding to the plurality of graphical nodes; and establishing a dependent relationship table according to the dependent relationships corresponding to the plurality of graphical nodes; Determine the graphical node that does not have the dependency relationship in the dependency table as a first node, and execute a data processing operation corresponding to the first node; In response to an event that the data processing operation corresponding to the first node is completed, deleting the first node from the dependency table, and determining a second node that depends on the first node from the plurality of graphical nodes according to the dependency table; The first node is re-determined from the second node according to the dependency table after deleting the first node, and the operation of executing the data processing operation corresponding to the first node is returned.
4. The data processing method according to claim 1, wherein: The data processing task includes a sub-processing task; the sub-processing task includes the graphical node in the data processing task that needs to be executed cyclically; the graphical node in the data processing task includes a sub-task entry node and a sub-task exit node connected to the sub-processing task; the sub-task entry node is used to convert multiple data that need to be processed by the sub-processing task into input data in a first preset format; the sub-task exit node is used to merge multiple data output by the sub-processing task into output data in a second preset format.
5. The data processing method according to claim 1, wherein: The data processing task includes at least one execution link task; the execution link task is determined according to the graphical node as the task input node in the data processing task; After receiving the execution trigger operation for the data processing task, the method further includes: In response to a task cancellation request for the execution link task, multiple graphical nodes corresponding to the execution link task are determined, and cancellation instructions are sent to the multiple graphical nodes corresponding to the execution link task to cause the graphical nodes to stop executing data processing operations corresponding to the graphical nodes.
6. The data processing method according to claim 5, characterized in that: Before determining the plurality of graphical nodes corresponding to the execution link task, the method further includes: Determine a task input node among the plurality of graphical nodes in the data processing task, and for each task input node, take the task input node as a root node and construct a tree structure corresponding to the task input node according to a connection relationship between the plurality of graphical nodes in the data processing task; The determining of the plurality of graphical nodes corresponding to the execution link task includes: A task input node corresponding to the execution link task is determined, and a plurality of the graphical nodes in the tree structure corresponding to the task input node are determined as the plurality of graphical nodes corresponding to the execution link task.
7. The data processing method according to claim 1, wherein: The task editing page displays a task creation indicator; the node editing operation includes at least a node adding operation; and receiving a node editing operation for at least one graphical node through the task editing page, and determining a data processing task according to the node editing operation, including: receiving, via the task editing page, a first triggering operation for the task creation identifier, and displaying a task editing area; and A node adding operation for at least one graphical node is received through the task editing area, and a data processing task is determined according to the added graphical node.
8. The data processing method according to claim 1, wherein: The task editing page displays a task access identifier of a created data processing task; receiving a node editing operation for at least one graphical node through the task editing page, and determining the data processing task according to the node editing operation, including: Receiving, through the task editing page, a second triggering operation for at least one of the task access identifiers, and displaying the triggered data processing task according to the second triggering operation; wherein the data processing task includes a plurality of the graphical nodes and a connection relationship exists between at least two of the graphical nodes; A node editing operation for at least one of the graphical nodes in the data processing task is received, and the data processing task is updated according to the node editing operation.
9. The data processing method according to claim 1, wherein: The execution result data of the data processing task includes media data; the graphical node in the data processing task includes a data rendering node; the data rendering node is used to set a data rendering template and template input data of the data rendering template; The data rendering template is used to render the template input data into media data with an expected rendering effect.
10. The data processing method according to claim 1, wherein: The execution result data of the data processing task includes program data; the graphical node in the data processing task includes a string processing node; the string processing node is used to adjust the input program data and / or to request the second end to generate program data according to the node input data of the string processing node.
11. A data processing device, characterized in that: include: A page display module, configured to display a task editing page in the browser of the first terminal in response to the task editing request; a task determination module, configured to receive a node editing operation for at least one graphical node via the task editing page, and determine a data processing task based on the node editing operation; wherein at least part of the data processing operations in the data processing logic corresponding to the graphical node are executed on the second end; The task execution module is used to receive an execution trigger operation for the data processing task, and execute the data processing task according to the execution trigger operation to obtain execution result data of the data processing task.
12. An electronic device, characterized in that: The electronic device comprises: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the data processing method according to any one of claims 1 to 10.
13. A storage medium containing computer-executable instructions, characterized in that: When the computer executable instructions are executed by a computer processor, they are used to perform the data processing method according to any one of claims 1 to 10.
14. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the computer program implements the data processing method according to any one of claims 1 to 10.