CN-121999076-A - Data processing method, system, electronic device, storage medium, and program product
Abstract
The embodiment of the application provides a data processing method, a system, electronic equipment, a storage medium and a program product, which relate to the technical field of computers, and the method comprises the steps of responding to a description text of a target task from a client, calling a structural model to generate semantic structure data of the description text, wherein the semantic structure data comprises an information item set which is determined according to execution logic of the target task described by the description text; and transmitting the field structure data corresponding to each information item in the information item set to the client so that the client visualizes the schematic diagram of the execution logic of the target task according to each field structure data. According to the technical scheme provided by the embodiment of the application, the accuracy of the schematic diagram of the execution logic of the target task is improved, and the cross-platform multiplexing is realized.
Inventors
- YU YANGYANG
Assignees
- 淘宝(中国)软件有限公司
Dates
- Publication Date
- 20260508
- Application Date
- 20251212
Claims (15)
- 1. A method of data processing, wherein the method comprises: In response to descriptive text of a target task from a client, invoking a structured model to generate semantic structure data of the descriptive text, the semantic structure data comprising a set of information items determined according to execution logic of the target task described by the descriptive text; Converting the information item into field structure data corresponding to a preset field structure aiming at any information item in the information item set; and sending field structure data corresponding to each information item in the information item set to the client so that the client visualizes the schematic diagram of the execution logic according to each field structure data.
- 2. The method of claim 1, wherein the generating semantic structure data of the descriptive text comprises: identifying the semantics of the descriptive text; determining description information of the execution logic according to the semantics; and generating the semantic structure data according to the description information.
- 3. The method of claim 2, wherein the generating the semantic structure data from the description information comprises: Determining an information item set matched with the description information from a plurality of preset information items; according to the description information, determining phrases corresponding to the information items in the information item set respectively; And generating the semantic structure data according to the phrases respectively corresponding to the information items.
- 4. The method of claim 3, wherein the execution logic includes an execution path including a plurality of execution nodes, the determining, from the description information, a phrase for each information item in the set of information items, respectively, includes: identifying phrases respectively corresponding to the plurality of execution nodes from the description information; And determining the phrase corresponding to the target execution node as the phrase corresponding to the information item under the condition that the information item is used for representing the target execution node aiming at any information item of the information item set.
- 5. A method according to claim 3, wherein the execution logic comprises at least one executed object, any executed object comprising at least one attribute information, the determining, according to the task description information, a phrase respectively corresponding to each information item in the set of information items, comprising: Identifying attribute information of the at least one executed object from the description information; and determining the target attribute information of the target executed object as a phrase corresponding to the information item aiming at any information item in the information item set under the condition that the information item is used for representing the target attribute information of the target executed object.
- 6. The method of claim 1, wherein the converting the information item into field structure data corresponding to a preset field structure includes: Determining a field structure mapped with the information item in a preset field structure set, wherein the field structure comprises key value pairs; And converting the phrase corresponding to the information item into a value in the field structure to obtain field structure data corresponding to the information item.
- 7. The method according to any one of claims 1-6, wherein the sending, to the client, field structure data corresponding to each information item in the set of information items, includes: In case at least one field structure data is obtained, transmitting said at least one field structure data to said client, or And sending the whole field structure data to the client when the whole field structure data is obtained.
- 8. A method of data processing, wherein the method comprises: Sending a description text of a target task to a server side so that the server side generates field structure data corresponding to the description text, wherein any field structure data is obtained by converting information items included in semantic structure data, the semantic structure data is generated through a structural model, and the information items are determined according to execution logic of the target task described by the description text; receiving the field structure data sent by the server; and visualizing a schematic diagram of the execution logic according to the field structure data.
- 9. The method of claim 8, wherein said visualizing the schematic of the execution logic from the respective field structure data comprises: Determining a target visualization style corresponding to the target task in a plurality of visualization styles; for any field structure data, acquiring a target component corresponding to the field structure data from a component library corresponding to the target visualization style; and visualizing the schematic diagram of the execution logic according to the target components respectively corresponding to the field structure data.
- 10. The method of claim 8 or 9, wherein after visualizing the schematic of the execution logic from the field structure data, the method further comprises: responding to an update request of a user for the schematic diagram, and acquiring update data; and updating the schematic diagram according to the updating data.
- 11. The method according to claim 8 or 9, wherein the receiving the field structure data sent by the server includes receiving at least one field structure data sent by the server; The visualization of the schematic diagram of the execution logic according to the field structure data comprises visualizing the schematic diagram of the execution logic of the part corresponding to the at least one field structure data in an incremental manner; Or alternatively The step of receiving the field structure data sent by the server comprises the steps of receiving all field structure data sent by the server; And visualizing the schematic diagram of the execution logic according to the field structure data, wherein the visualized schematic diagram of the execution logic corresponds to all the field structure data.
- 12. A data processing system comprising a server for performing the method of any of claims 1-7 and a client for performing the method of any of claims 8-11.
- 13. An electronic device comprising a memory, a processor and a computer program stored on the memory, the processor implementing the method of any one of claims 1 to 11 when the computer program is executed.
- 14. A computer readable storage medium having stored therein a computer program which, when executed by a processor, implements the method of any one of claims 1 to 11.
- 15. A computer program product comprising a computer program which, when executed by a processor, implements the method according to any one of claims 1 to 11.
Description
Data processing method, system, electronic device, storage medium, and program product Technical Field The present application relates to the field of computer technology, and in particular, to a data processing method, system, electronic device, storage medium, and program product. Background In the information-oriented society, "knowledge" has become a core asset in many areas (e.g., customer service, product support, internal training). The target, knowledge is visualized in the form of plain text, and has poor readability, unobtrusive semantic emphasis and ambiguous semantic relationship. In this regard, it is proposed in the related art to visualize knowledge in the form of a graph. However, in the scheme of performing visualization in the form of a graph, executable front-end codes are directly generated through a model, so that the problem that the quality of the codes is uncontrollable and the visualized graph is not matched with knowledge exists, and the front-end codes are usually bound with a specific platform and are difficult to multiplex across platforms. Disclosure of Invention Embodiments of the present application provide a data processing method, system, electronic device, storage medium, and program product to alleviate or solve one or more of the technical problems in the prior art. In a first aspect, an embodiment of the present application provides a data processing method, where the method includes generating semantic structure data of a description text by calling a structured model in response to the description text of a target task from a client, where the semantic structure data includes a set of information items, where the set of information items is determined according to execution logic of the target task described by the description text, converting, for any one information item in the set of information items, the information item into field structure data corresponding to a preset field structure, and sending, to the client, field structure data corresponding to each information item in the set of information items, so that the client visualizes a schematic diagram of the execution logic according to each field structure data. In a second aspect, an embodiment of the present application provides a data processing method, where the method includes sending a description text of a target task to a server, so that the server generates field structure data corresponding to the description text, any field structure data is obtained by converting an information item included in semantic structure data, the semantic structure data is generated according to the description text through a structured model, the information item is determined according to execution logic of the target task, receiving the field structure data sent by the server, and visualizing a schematic diagram of the execution logic according to the field structure data. In a third aspect, an embodiment of the present application provides a data processing system, including a server and a client, where the server is configured to perform the method provided in the first aspect, and the client is configured to perform the method provided in the second aspect. In a fourth aspect, an embodiment of the present application provides an electronic device, including a memory, a processor, and a computer program stored on the memory, where the processor implements the method of any one of the embodiments of the present application when the computer program is executed. In a fifth aspect, embodiments of the present application provide a computer readable storage medium having a computer program stored therein, the computer program, when executed by a processor, implementing a method according to any of the embodiments of the present application. In a sixth aspect, embodiments of the present application provide a computer program product comprising a computer program which, when executed by a processor, implements a method according to any of the embodiments of the present application. In the technical scheme provided by the embodiment of the application, in response to the description text of the target task from the client, firstly, a structural model is called to generate semantic structure data of the description text, the semantic structure data comprises an information item set corresponding to the description text, the information item set is determined according to the execution logic of the target task, any information item in the information item set is converted into field structure data corresponding to a preset field structure, and the field structure data corresponding to each information item in the information item set is sent to the client so that the client can visualize the schematic diagram of the execution logic of the target task according to each field structure data. Therefore, by generating the semantic structure data comprising the information item set, namely the semantic structure data is intermed