Development processing method, device and equipment based on automatic driving application graphical developer
Through a graphical developer based on autonomous driving applications, using customized visual components, the problems of efficient, accurate and low-cost in autonomous driving application development are solved, and the effect of simplifying the development process and improving development efficiency is achieved.
Patent Information
- Application Number
- CN202412000087.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-31
- Publication Date
- 2025-04-22
AI Technical Summary
How to efficiently, accurately and at low cost to realize the development of autonomous driving applications to meet the rapid growth needs in the field of autonomous driving.
Through a graphical developer based on autonomous driving applications, custom visual components are used to determine the service processing process and component material information of the business processing node, and the configuration processing of component material information is carried out, and visual components are generated, thereby realizing the development of autonomous driving applications.
It simplifies the development process of visual components, reduces development costs and learning costs, improves development efficiency and flexibility, and broadens the development scenarios of autonomous driving applications.
Smart Images

Figure CN119861920A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of autonomous driving technology, and in particular to a development and processing method, device and equipment based on an autonomous driving application graphical developer. Background Art
[0002] With the continuous development of artificial intelligence technology, the demand for the development of autonomous driving applications in the field of autonomous driving is also increasing.
[0003] Therefore, how to develop autonomous driving applications efficiently, accurately and at low cost has become a technical problem that needs to be solved urgently. Summary of the invention
[0004] The development and processing method, device and equipment based on the graphical developer of autonomous driving applications provided in the embodiments of the present application can meet the development requirements of autonomous driving applications through customized visualization components, thereby realizing efficient, accurate and low-cost development and processing of autonomous driving applications.
[0005] In a first aspect, an embodiment of the present application provides a development processing method based on an autonomous driving application graphical developer, the method comprising:
[0006] Determine a business processing flow of a target business in an autonomous driving application; wherein the business processing flow includes a plurality of business processing nodes;
[0007] Determine at least one component material information corresponding to each of the business processing nodes; wherein the at least one component material information is used to determine the visualization component corresponding to the business processing node;
[0008] After configuring and processing the at least one component material information, a visualization component corresponding to the business processing node is obtained;
[0009] The target business is developed and processed based on the visualization components corresponding to each of the business processing nodes.
[0010] Optionally, determining at least one component material information corresponding to each of the business processing nodes includes:
[0011] Determining the business processing information of each of the business processing nodes; wherein the business processing information indicates the processing content corresponding to the business processing node;
[0012] Based on the business processing information, at least one component material information matching each of the business processing nodes is determined from a preset material library.
[0013] Optionally, the method further includes:
[0014] Acquire multiple material composition information; wherein the material composition information is used to customize component material information;
[0015] Based on the business processing requirements of the autonomous driving application, determining at least one first target information matching the business processing requirements from the multiple material composition information;
[0016] After combining and processing the at least one first target information, component material information matching the business processing requirement is obtained;
[0017] The preset material library is constructed based on the component material information matching each business processing requirement of the autonomous driving application and the multiple material composition information.
[0018] Optionally, the business processing flow includes a newly added business processing node; the preset material library includes a plurality of material composition information; the material composition information is used to customize component material information; the method further includes:
[0019] Based on the business processing information of the newly added business processing node, if component material information matching the newly added business processing node is not determined from the preset material library, at least one second target information matching the business processing information of the newly added business processing node is determined from multiple material composition information included in the preset material library;
[0020] After combining and processing the at least one second target information, component material information matching the newly added business processing node is obtained.
[0021] Optionally, configuring and processing the at least one component material information includes:
[0022] Drag the at least one component material information to the canvas to obtain page elements matching the respective component material information;
[0023] In response to the configuration operation on each of the page elements, determining the configured page elements;
[0024] Based on the configured page elements, the configured component material information is determined.
[0025] Optionally, in response to the configuration operation on each of the page elements, determining the configured page elements includes:
[0026] In response to a first configuration operation on the material attribute information included in each of the page elements, determining a first configuration result;
[0027] In response to a second configuration operation on the element attribute information included in each of the page elements, determining a second configuration result;
[0028] The configured page elements are determined based on the first configuration result and the second configuration result.
[0029] Optionally, after configuring and processing the at least one component material information, obtaining a visualization component corresponding to the business processing node includes:
[0030] After configuring the at least one component material information, obtaining the configured component material information;
[0031] In response to a preview operation of the configured component material information, generating a target file matching the configured component material information;
[0032] Based on the target file, a visualization component corresponding to the business processing node is determined.
[0033] Optionally, developing and processing the target business based on the visualization components corresponding to each of the business processing nodes includes:
[0034] Loading a component rendering engine; wherein the component rendering engine is used to render the target file of the visualization component into the autonomous driving application graphical developer;
[0035] Based on the component rendering engine, displaying the visualization component in the business development interface of the autonomous driving application graphical developer;
[0036] Based on the third configuration operation on the visualization component, development processing is performed on the target business.
[0037] In a second aspect, an embodiment of the present application provides a development processing device based on an autonomous driving application graphical developer, including:
[0038] A first determination unit is used to determine a business processing flow of a target business in an autonomous driving application; wherein the business processing flow includes a plurality of business processing nodes;
[0039] A second determining unit is used to determine at least one component material information corresponding to each of the business processing nodes; wherein the at least one component material information is used to determine the visualization component corresponding to the business processing node;
[0040] A configuration unit, configured to obtain a visualization component corresponding to the business processing node after performing configuration processing on the at least one component material information;
[0041] The development unit is used to develop and process the target business based on the visualization components corresponding to each of the business processing nodes.
[0042] Optionally, the second determining unit is configured to:
[0043] Determining the business processing information of each of the business processing nodes; wherein the business processing information indicates the processing content corresponding to the business processing node;
[0044] Based on the business processing information, at least one component material information matching each of the business processing nodes is determined from a preset material library.
[0045] Optionally, the device further includes an initialization unit, configured to:
[0046] Acquire multiple material composition information; wherein the material composition information is used to customize component material information;
[0047] Based on the business processing requirements of the autonomous driving application, determining at least one first target information matching the business processing requirements from the multiple material composition information;
[0048] After combining and processing the at least one first target information, component material information matching the business processing requirement is obtained;
[0049] The preset material library is constructed based on the component material information matching each business processing requirement of the autonomous driving application and the multiple material composition information.
[0050] Optionally, the business processing flow includes a newly added business processing node; the preset material library includes a plurality of material composition information; the material composition information is used to customize component material information; the device is also used to:
[0051] Based on the business processing information of the newly added business processing node, if component material information matching the newly added business processing node is not determined from the preset material library, at least one second target information matching the business processing information of the newly added business processing node is determined from multiple material composition information included in the preset material library;
[0052] After combining and processing the at least one second target information, component material information matching the newly added business processing node is obtained.
[0053] Optionally, the configuration unit includes a configuration module for:
[0054] Drag the at least one component material information to the canvas to obtain page elements matching the respective component material information;
[0055] In response to the configuration operation on each of the page elements, determining the configured page elements;
[0056] Based on the configured page elements, the configured component material information is determined.
[0057] Optionally, configure the module to:
[0058] In response to a first configuration operation on the material attribute information included in each of the page elements, determining a first configuration result;
[0059] In response to a second configuration operation on the element attribute information included in each of the page elements, determining a second configuration result;
[0060] The configured page elements are determined based on the first configuration result and the second configuration result.
[0061] Optionally, the configuration unit includes a generation module for:
[0062] After configuring the at least one component material information, obtaining the configured component material information;
[0063] In response to a preview operation of the configured component material information, generating a target file matching the configured component material information;
[0064] Based on the target file, a visualization component corresponding to the business processing node is determined.
[0065] Optional, development unit for:
[0066] Loading a component rendering engine; wherein the component rendering engine is used to render the target file of the visualization component into the autonomous driving application graphical developer;
[0067] Based on the component rendering engine, displaying the visualization component in the business development interface of the autonomous driving application graphical developer;
[0068] Based on the third configuration operation on the visualization component, development processing is performed on the target business.
[0069] In a third aspect, an embodiment of the present application provides a computer device, including: a memory, a processor;
[0070] The memory stores computer-executable instructions;
[0071] The processor executes the computer-executable instructions stored in the memory, so that the processor executes the above first aspect and / or various possible implementations of the first aspect.
[0072] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement the first aspect above and / or various possible implementations of the first aspect.
[0073] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the above first aspect and / or various possible implementation methods of the first aspect.
[0074] The development and processing method, device and equipment based on the graphical developer of autonomous driving application provided in the embodiment of the present application can first determine the business processing flow of the target business in the autonomous driving application; then, determine at least one component material information corresponding to each business processing node included in the business processing flow, and configure and process at least one component material information to obtain the visual component corresponding to the business processing node. This implementation method can customize the development of the visual component of the business processing node according to the component material information, thereby avoiding the development of the visual component corresponding to the business processing node by hard coding, and realizes the effect of simplifying the development process of the visual component on the basis of meeting the actual business needs of the user, reducing the learning cost of the developer, the user's use cost and the development cost, and improving the development efficiency of the visual component. Afterwards, the target business can be developed and processed based on the visual component corresponding to each business processing node, thereby further improving the development efficiency of the autonomous driving application and reducing the development cost of the autonomous driving application. It can also broaden the development scenario of the autonomous driving application according to the method of customizing the visual component, thereby improving the flexibility and diversity of the creation of the autonomous driving application. BRIEF DESCRIPTION OF THE DRAWINGS
[0075] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0076] Figure 1 A flowchart of a development method based on an autonomous driving application graphical developer provided in an embodiment of the present application Figure 1 ;
[0077] Figure 2 A flowchart of a development method based on an autonomous driving application graphical developer provided in an embodiment of the present application Figure 2 ;
[0078] Figure 3 A schematic diagram of a process for determining a configured page element provided in an embodiment of the present application;
[0079] Figure 4 A schematic diagram of the basic architecture corresponding to a development and processing method based on an autonomous driving application graphical developer provided in an embodiment of the present application;
[0080] Figure 5 A schematic diagram of a process for creating a project based on an autonomous driving application graphical developer provided in an embodiment of the present application;
[0081] Figure 6 A schematic diagram of the structure of a development and processing device based on an autonomous driving application graphical developer provided in an embodiment of the present application;
[0082] Figure 7 A schematic diagram of the structure of another development and processing device based on an autonomous driving application graphical developer provided in an embodiment of the present application;
[0083] Figure 8 A schematic diagram of the structure of a computer device provided in an embodiment of the present application.
[0084] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0085] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0086] The term "and / or" herein only describes an association relationship, indicating that three relationships may exist. For example, A and / or B may represent the following three situations: A exists alone, A and B exist at the same time, and B exists alone. In addition, the term "at least one" herein represents any combination of at least two of any one or more of a plurality of. For example, including at least one of A, B, and C may represent including any one or more elements selected from the set consisting of A, B, and C.
[0087] With the continuous development of artificial intelligence technology, the demand for the development of autonomous driving applications in the field of autonomous driving is also increasing.
[0088] How to develop autonomous driving applications efficiently, accurately and at low cost has become a technical problem that needs to be solved urgently.
[0089] The inventors have discovered that autonomous driving applications can be developed and processed based on a graphical developer, that is, autonomous driving applications can be developed and designed based on the various visualization components included in the graphical developer, thereby simplifying the development process, reducing development costs, shortening the development cycle, and improving development efficiency.
[0090] Generally, hard-coding development is mainly carried out according to the actual development needs of automated driving applications, so as to customize visualization components, and develop automated driving applications based on the customized visualization components.
[0091] This implementation method not only requires a long development time and code testing time, increasing the development workload and development costs, but is also not easy to maintain. When faced with a large number of modification requirements, it further increases the workload, labor costs and time costs.
[0092] The development and processing method based on the graphical developer of autonomous driving applications provided in the present application can perform customized development of visual components according to component material information, and develop and design autonomous driving applications based on the customized visual components, thereby avoiding the workload of hard-coded development, improving the development efficiency of autonomous driving applications, and saving development costs.
[0093] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0094] Figure 1 A flowchart of a development method based on an autonomous driving application graphical developer provided in an embodiment of the present application Figure 1 ,like Figure 1 As shown, the method includes:
[0095] S101. Determine a business processing flow of a target business in an autonomous driving application; wherein the business processing flow includes multiple business processing nodes.
[0096] In one example, the target service in an autonomous driving application may indicate the autonomous driving functions that can be achieved by the autonomous driving application. For example, the target service may be a path planning service, an intelligent cruise service, a positioning service, etc. The target service in the autonomous driving application is not limited here and is based on meeting actual needs.
[0097] In one example, the business processing flow of the target business may indicate the implementation flow of the target business. In this case, the business processing flow may include multiple business processing nodes, and each business processing node may indicate a business processing step in the business processing flow. For example, the business processing node may indicate obtaining sensor data of the vehicle, and may also indicate data processing steps, etc.
[0098] S102, determining at least one component material information corresponding to each business processing node; wherein the at least one component material information is used to determine the visualization component corresponding to the business processing node;
[0099] In one example, component material information can be understood as materials pre-defined based on the Schema protocol. For example, component material information can include but is not limited to the following types of materials: sensor data input materials, vehicle control output materials, image display materials, text display materials, file upload materials, form element materials (for example, input boxes, drop-down boxes, check boxes, radio buttons, etc.), structural elements (for example, div elements, p elements, span elements, etc.), button materials, link materials, rich text editors, container materials (for example, Grid, Row, Column and other materials for grid layout, Tabs, Tab, Accordion and other tab and tab materials, Table, TableRow, TableCell and other table layout materials, etc.).
[0100] In one example, the number of component material information corresponding to a business processing node may be one or more. In this case, at least one component material information corresponding to the business processing node may be determined based on the data type of the data processed by the business processing node.
[0101] For example, if the business processing node indicates to obtain sensor data, then the component material information corresponding to the business processing node can be the sensor data input material. For another example, if the business processing node indicates to display vehicle driving information (for example, vehicle speed, vehicle acceleration, vehicle mileage, etc.), then the component material information corresponding to the business processing node can include: table layout material and at least one text display material, etc. Here, there is no limitation on the at least one component material information corresponding to the business processing node, which is subject to implementation.
[0102] S103: After configuring and processing at least one component material information, a visualization component corresponding to the business processing node is obtained.
[0103] In one example, when configuring at least one component material information, display information corresponding to at least one component material information can be configured, for example, the title of the component material information, the data type, data length, maximum data value, minimum data value, etc. of the data displayed in the component material information can be configured.
[0104] In one example, after configuring and processing at least one component material information, a displayable component can be obtained, that is, a visualization component corresponding to a business processing node can be obtained.
[0105] S104: Develop and process the target business based on the visualization components corresponding to each business processing node.
[0106] In one example, after obtaining the visualization component corresponding to each business processing node, the visualization component can be loaded into a graphical developer, so that the development and processing of the target business can be performed according to the graphical developer.
[0107] It can be seen from the above description that the embodiment of the present application can first determine the business processing flow of the target business in the autonomous driving application; then, determine at least one component material information corresponding to each business processing node included in the business processing flow, and configure and process at least one component material information to obtain the visual component corresponding to the business processing node. This implementation method can customize the development of the visual component of the business processing node according to the component material information, thereby avoiding the development of the visual component corresponding to the business processing node by hard coding, and realizes the effect of simplifying the development process of the visual component on the basis of meeting the actual business needs of the user, reducing the learning cost of the developer, the user's use cost and the development cost, and improving the development efficiency of the visual component. Afterwards, the target business can be developed and processed based on the visual component corresponding to each business processing node, thereby further improving the development efficiency of the autonomous driving application and reducing the development cost of the autonomous driving application. It can also broaden the development scenario of the autonomous driving application according to the method of customizing the visual component, thereby improving the flexibility and diversity of the creation of the autonomous driving application.
[0108] Figure 2 A flowchart of a development method based on an autonomous driving application graphical developer provided in an embodiment of the present application Figure 2 ,like Figure 2 As shown, the method includes:
[0109] S201. Determine a business processing flow of a target business in an autonomous driving application; wherein the business processing flow includes multiple business processing nodes.
[0110] In an example, this step can refer to the content described in S101 above, and will not be described in detail here.
[0111] S202: Determine the service processing information of each service processing node.
[0112] The service processing information indicates the processing content corresponding to the service processing node.
[0113] Exemplarily, the processing content corresponding to the business processing node may be receiving sensor data, displaying sensor data, etc. This application does not limit the processing content corresponding to the business processing node.
[0114] S203: Based on the business processing information, determine at least one component material information matching each business processing node from a preset material library.
[0115] In one example, at least one component material information is used to determine a visualization component corresponding to a business processing node.
[0116] In one example, each preset material can be stored in a preset material library according to the Schema protocol. At this time, when determining at least one component material information matching each business processing node from the preset material library, you can enter the configuration management interface by creating a new project or opening an existing project, and display each preset material included in the preset material library in the configuration management interface. At this time, you can drag out at least one component material information matching the business processing node from the preset material library according to the processing content corresponding to the business processing information.
[0117] This implementation method can determine at least one component material information matched by the business processing node through a graphical drag and drop method based on the preset materials included in the preset material library, that is, determine the component material information required in the development process of the autonomous driving application, so as to replace the hard coding work of the developer through a graphical drag and drop method, thereby simplifying the development process of the autonomous driving application, reducing costs and improving efficiency.
[0118] In one example, after dragging out at least one component material information matching the business processing node from a preset material library, the at least one component material information can be dragged to the canvas of the configuration management interface to configure the at least one component material information in the canvas. See the process described below for details.
[0119] S204. Drag at least one component material information into the canvas to obtain page elements matching the respective component material information.
[0120] In one example, after dragging at least one component material information to the canvas, data matching the dragged at least one component material information can be copied from the preset material library to the global state. At this time, the material parsing engine can parse the dragged at least one component material information according to the Schema protocol, and output the parsed data to the component rendering engine to render the at least one component material information, and obtain page elements matching each component material information.
[0121] In an example, the parsed data may include but is not limited to the following types: CSS (Cascading Style Sheets) style data, event processing data and HTML (Hyper Text Markup Language) element data. At this time, the CSS style data, event processing data and HTML element data can be bound and sent to the component rendering engine, so that the data parsed by the material parsing engine can be rendered as page elements according to the component rendering engine.
[0122] In one example, multiple HTML elements can be preset in the component rendering engine. At this time, after receiving the parsed data sent by the material parsing engine, the component rendering engine can determine the HTML tag element that matches the component material information according to the field type corresponding to the component material information. Then, according to the HTML tag element, a DOM tree is constructed, and the DOM (Document Object Model) tree is combined with CSS data to create a rendering tree, and the rendering tree is drawn to the configuration management interface through the layout in CSS.
[0123] This implementation method can pre-set HTML elements that match each preset material in the preset material library in the component rendering engine, which can speed up the rendering speed, thereby increasing the speed of visual components required for the development of autonomous driving applications, thereby increasing the development speed of autonomous driving applications.
[0124] S205: In response to the configuration operation on each page element, determine the configured page element.
[0125] In a specific implementation, a first configuration result can be determined in response to a first configuration operation on the material attribute information included in each page element; and a second configuration result can be determined in response to a second configuration operation on the element attribute information included in each page element; then, based on the first configuration result and the second configuration result, the configured page elements are determined.
[0126] In one example, the first configuration operation may indicate modifying a CSS style attribute of component material information, modifying event interaction data of component material information, and the like.
[0127] In one example, the modified CSS style attribute of the component material information can be understood as the field content of each field corresponding to the component material information. For example, if the field content corresponding to the component material information includes but is not limited to: form title, form description information, field data type, etc., at this time, the field content can be configured through the first configuration operation to obtain the first configuration result.
[0128] In one example, the second configuration operation may instruct to modify the page layout, change the page elements, etc.
[0129] In one example, when modifying the page layout according to the second configuration operation, the various elements can be associated, for example, the various elements can be nested or associated in parallel, etc., thereby enriching the configuration method of each page element and improving the flexibility and diversity of the configured page elements.
[0130] In one example, after rendering the page elements that match the material information of each component, you can also add corresponding element attribute information to the page element according to the field type of the field corresponding to the component material information. For example, for string type fields, add the minimum length minLength of the string type and the maximum length maxLength of the string type to limit the character length; for numeric type fields, add the minimum value min and maximum value max attributes to limit the numerical range; for enumeration type fields, generate a drop-down selection box and add optional items, and when processing mandatory fields, add mandatory attributes or visual identifiers, etc., to obtain the configured page elements.
[0131] In one example, when determining the configured page element according to the first configuration operation and the second configuration operation, the JS event (ie, JavaScript event) can be bound to the page element according to the component parsing engine to obtain the configured page element.
[0132] For an example, see Figure 3 , Figure 3 A schematic diagram of a process for determining a configured page element provided in an embodiment of the present application is shown in FIG. Figure 3As shown, after dragging at least one component material information under the JSON Schema protocol to the canvas, the at least one component material information can be parsed according to the material parsing engine under the Schema protocol to obtain the attributes corresponding to each component material information and recognizable by the component rendering engine, and the at least one component material information is rendered as a page element through the component rendering engine. After that, after associating the configuration operation for the page element in the canvas with the page element, according to the element generator, based on the nesting relationship included in each component material information, all subsets included in the component material information are nested in the parent container in the nesting order to obtain the configured page elements corresponding to each component material information.
[0133] This implementation mode can configure the material attribute information of the component material information through a first configuration operation, and configure the element attribute information of the page element corresponding to the component material information through a second configuration operation, thereby ensuring that the configured page elements better meet the actual needs of users, thereby improving the accuracy of the configured page elements, which helps to more accurately express the target business of the autonomous driving application, thereby improving the flexibility and accuracy of target business development.
[0134] S206. Determine the configured component material information based on the configured page elements.
[0135] In one example, after configuring and processing at least one component material information according to the process described in S204 to S206 above to obtain the configured component material information, the visualization component corresponding to the business processing node can be obtained according to the process described below.
[0136] S207 . In response to the preview operation on the configured component material information, generate a target file matching the configured component material information.
[0137] In one example, after obtaining a target file that matches the configured component material information, a JSON file may be exported and stored in a database.
[0138] In an example, the final generated JSON file can be represented as follows.
[0139]
[0140]
[0141] In one example, when the target file is stored in the database, it can be stored as a target file that matches the configured component material information as shown in Table 1 below.
[0142] Table 1 Target file matching the configured component material information
[0143]
[0144] S208: Determine the visualization component corresponding to the business processing node based on the target file.
[0145] In one example, the target file may be rendered to obtain a visualization component corresponding to the business processing node, so that the target business can be developed and processed according to the visualization component.
[0146] S209: Develop and process the target business based on the visualization components corresponding to each business processing node.
[0147] During specific implementation, a component rendering engine can be loaded in actual engineering applications; wherein the component rendering engine is used to render the target file of the visualization component into the graphical developer of the autonomous driving application.
[0148] Then, based on the component rendering engine, the visualization components are displayed in the business development interface of the autonomous driving application graphical developer.
[0149] In one example, the target file of the visualization component can be input into the component rendering engine, so that the visualization component can be displayed in the business development interface of the autonomous driving application graphical developer according to the component rendering engine.
[0150] Finally, based on the third configuration operation for the visualization component, the target business is developed. For example, the visualization component can be connected with other visualization components according to the third configuration operation, so that the visualization component and other visualization components are combined to complete the target business.
[0151] This implementation method only requires loading the component rendering engine in the engineering application to realize the rendering application of the customized visualization component. It is simple and convenient to use, thereby further reducing the difficulty of developing autonomous driving applications.
[0152] In a possible implementation, before determining at least one component material information matching each business processing node from the preset material library, a preset material library may be constructed first, as described in detail below:
[0153] First, multiple material composition information is obtained, wherein the material composition information is used to customize the component material information.
[0154] In one example, the material composition information can be understood as basic materials, wherein the basic materials can be the most basic form elements, structure elements, and container elements constituting the page.
[0155] Alternatively, in addition to the above basic materials, the material composition information may also include complex materials. Complex materials are elements with complex functions and interactive functions that are combined and packaged according to the above basic materials. For example, complex materials may include but are not limited to: rich text editor (an editing area that can support functions such as text formatting, image insertion, and link addition), file upload component (a component that supports interactive operations such as file selection, preview, and upload), and image display component (supports complex display effects such as image viewing, zooming, and carousel).
[0156] Then, based on the business processing requirements of the autonomous driving application, at least one first target information matching the business processing requirements is determined from multiple material composition information.
[0157] Next, after combining and processing at least one first target information, component material information matching the business processing requirement is obtained.
[0158] In one example, at least one first target information can be combined and processed by graphical dragging. For example, at least one second target information can be nested, combined in parallel, etc. The combination processing method of at least one first target information is not limited here, and is based on meeting actual needs.
[0159] Finally, a preset material library is built based on component material information that matches the various business processing requirements of autonomous driving applications, and multiple material composition information.
[0160] In one possible implementation, when the business process of the target business of the autonomous driving application is changed, it may be necessary to add a new business processing node. In this case, at least one component material information that matches the newly added business processing node may not exist in the preset material library. At this time, it is necessary to first customize at least one component material information that matches the newly added business processing node based on the multiple material composition information included in the preset material library, and then develop and process the target business. For details, please refer to the process described below.
[0161] Based on the business processing information of the newly added business processing node, if component material information matching the newly added business processing node has not been determined from the preset material library, at least one second target information matching the business processing information of the newly added business processing node is determined from multiple material composition information included in the preset material library; then, after combining and processing the at least one second target information, component material information matching the newly added business processing node is obtained.
[0162] In one example, the material composition information included in the preset material library is the same as described above and will not be described in detail here.
[0163] In one example, after determining at least one second target information that matches the business processing information of a newly added business processing node, the at least one second target information can be combined and processed by graphical dragging. For example, the at least one second target information can be nested, combined in parallel, etc. The combination processing method of the at least one second target information is not limited here, and is based on meeting actual needs.
[0164] In a possible implementation, the embodiment of the present application can also develop and design component material information matching the newly added business processing node based on the customized component material information in the preset material library, thereby avoiding duplication of work, further reducing development workload, and improving work efficiency.
[0165] Figure 4 A schematic diagram of the infrastructure corresponding to a development and processing method based on an autonomous driving application graphical developer provided in an embodiment of the present application, such as Figure 4 As shown, the infrastructure includes underlying support, project management, preset material library, material parsing engine, Schema protocol, component rendering engine, automatic generation module, etc.
[0166] The underlying support may include but is not limited to: a behavior layer, a service layer, and a database. The behavior layer may be used to support dragging behaviors, interactive behaviors, etc. The service layer may provide corresponding services according to the behaviors triggered by the behavior layer, thereby supporting data communication between the interface and the database.
[0167] Project management may include but is not limited to the management of the following data: project data, status cache, and storage path. Among them, the project data may indicate the project created according to the visual interface after starting the autonomous driving application graphical developer. The status cache is used to indicate the saved status of the components / materials after dragging. The storage path indicates the storage address of the project data.
[0168] See also Figure 5 , Figure 5 A schematic diagram of a process for creating a project based on an autonomous driving application graphical developer is provided in an embodiment of the present application. Figure 5As shown, after the graphical developer of the autonomous driving application is started, a project can be created through the visual interface. At this time, when creating a project, you can create a new project file, or you can choose to import other project file data to complete the creation of the project. For example, when choosing to import other project file data, after selecting the imported project file, the imported project file can be decompressed to obtain the decompressed file. At this time, the decompressed file can include at least one sub-file. At this time, you can first check whether each sub-file contains a specific JSON file (that is, the JSON file corresponding to the visual component). If included, connect to the database and read the specific JSON file, and after reading the specific JSON file, execute the sql command to write the data in the specific JSON file into the database, thereby completing the import of the project file. If not included, a prompt message is generated, which is used to remind the user to reselect the imported project file.
[0169] At this time, each project file may include corresponding project identification information for isolating data according to the project.
[0170] Among them, the preset material library can include basic materials, complex materials, container materials, and other custom materials. The material types in the preset material library can refer to the above description and will not be described in detail here.
[0171] Material parsing engine: can support data input, data analysis, attribute extraction and data output. At this time, data input can indicate the input component material information, and data analysis is used to parse the component material information to obtain the field definition of each field corresponding to the component material information. Then, according to the field definition, the component material information is attributed and parsed into attributes that can be recognized by the rendering engine according to the mapping relationship of the Schema protocol field, and then output to the component rendering engine.
[0172] Schema protocol: can be used to define data structures, define constraints on fields in data structures, perform data validation based on constraints, define relationships between data (for example, parallel relationships, nested relationships), etc.
[0173] Component rendering engine: used to perform rendering processing based on the parsed data of the material parsing engine, including but not limited to the following processes: rendering tree construction, CSS processing, rendering tree drawing, event processing, etc.
[0174] The automatic generation module can include a generator so that Figure 3The described process configures the component material information corresponding to the visualization component. Afterwards, the configured component material information can be converted into a target file, such as a JSON format file, according to the export interface, and the target file is compressed and then exported.
[0175] In one example, in a project file, after completing the configuration processing of component material information, all data in the current project can be exported as a compressed package containing a JSON data file, that is, a target file, so that the visualization component can be determined based on the target file.
[0176] Figure 6 A schematic diagram of the structure of a development processing device based on an autonomous driving application graphical developer provided in an embodiment of the present application is shown in FIG. Figure 6 As shown, the development processing device 60 based on the autonomous driving application graphical developer provided in this embodiment includes:
[0177] The first determination unit 601 is used to determine a business processing flow of a target business in an autonomous driving application; wherein the business processing flow includes multiple business processing nodes.
[0178] The second determining unit 602 is used to determine at least one component material information corresponding to each business processing node; wherein the at least one component material information is used to determine the visualization component corresponding to the business processing node.
[0179] The configuration unit 603 is used to obtain a visualization component corresponding to a business processing node after performing configuration processing on at least one component material information.
[0180] The development unit 604 is used to develop and process the target business based on the visualization components corresponding to each business processing node.
[0181] Figure 7 A structural diagram of another development processing device based on an autonomous driving application graphical developer provided in an embodiment of the present application, such as Figure 7 As shown, the development processing device 70 based on the autonomous driving application graphical developer provided in this embodiment includes:
[0182] The first determination unit 701 is used to determine a business processing flow of a target business in an autonomous driving application; wherein the business processing flow includes multiple business processing nodes.
[0183] The second determining unit 702 is used to determine at least one component material information corresponding to each business processing node; wherein the at least one component material information is used to determine the visualization component corresponding to the business processing node.
[0184] The configuration unit 703 is used to obtain a visualization component corresponding to a business processing node after performing configuration processing on at least one component material information.
[0185] The development unit 704 is used to develop and process the target business based on the visualization components corresponding to each business processing node.
[0186] Optionally, the second determining unit 702 is configured to:
[0187] Determine the business processing information of each business processing node; wherein the business processing information indicates the processing content corresponding to the business processing node;
[0188] Based on the business processing information, at least one component material information matching each business processing node is determined from a preset material library.
[0189] Optionally, the device further includes an initialization unit 705, configured to:
[0190] Get multiple material composition information; the material composition information is used to customize component material information;
[0191] Based on the business processing requirements of the autonomous driving application, determining at least one first target information matching the business processing requirements from the multiple material composition information;
[0192] After combining and processing at least one first target information, component material information matching the business processing requirement is obtained;
[0193] Build a preset material library based on component material information that matches various business processing requirements of autonomous driving applications, and multiple material composition information.
[0194] Optionally, the business processing flow includes a newly added business processing node; the preset material library includes a plurality of material composition information; the material composition information is used to customize component material information; the device is also used to:
[0195] Based on the business processing information of the newly added business processing node, if component material information matching the newly added business processing node is not determined from the preset material library, at least one second target information matching the business processing information of the newly added business processing node is determined from multiple material composition information included in the preset material library;
[0196] After combining and processing at least one second target information, component material information matching the newly added business processing node is obtained.
[0197] Optionally, the configuration unit 703 includes a configuration module 7031, which is used to:
[0198] Drag at least one component material information to the canvas to obtain page elements matching the component material information;
[0199] In response to the configuration operation on each page element, determining the configured page element;
[0200] Based on the configured page elements, determine the configured component material information.
[0201] Optionally, configuration module 7031 is used to:
[0202] In response to a first configuration operation on the material attribute information included in each page element, determining a first configuration result;
[0203] In response to a second configuration operation on the element attribute information included in each page element, determining a second configuration result;
[0204] Based on the first configuration result and the second configuration result, a configured page element is determined.
[0205] Optionally, the configuration unit includes a generation module 7032, which is used to:
[0206] After configuring at least one component material information, the configured component material information is obtained;
[0207] In response to a preview operation of the configured component material information, generating a target file matching the configured component material information;
[0208] Based on the target file, determine the visualization component corresponding to the business processing node.
[0209] Optionally, the development unit 704 is used to:
[0210] Loading a component rendering engine; wherein the component rendering engine is used to render a target file of a visualization component into an autonomous driving application graphical developer;
[0211] Based on the component rendering engine, the visual components are displayed in the business development interface of the autonomous driving application graphical developer;
[0212] Based on the third configuration operation on the visualization component, development processing is performed on the target business.
[0213] The development and processing device based on the autonomous driving application graphical developer provided in this embodiment can execute the method provided in the above method embodiment. Its implementation principle and technical effects are similar, and this embodiment will not be described in detail here.
[0214] Figure 8 This is a schematic diagram of the structure of a computer device provided in an embodiment of the present application. Figure 8As shown, the computer device 80 provided in this embodiment includes: at least one processor 801 and a memory 802. Optionally, the computer device 80 also includes a communication component 803. The processor 801, the memory 802 and the communication component 803 are connected via a bus 804.
[0215] In a specific implementation process, at least one processor 801 executes the computer-executable instructions stored in the memory 802, so that at least one processor 801 executes the above method.
[0216] The specific implementation process of the processor 801 can be found in the above method embodiment, and its implementation principle and technical effect are similar, so this embodiment will not be repeated here.
[0217] In the above embodiments, it should be understood that the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. A general-purpose processor may be a microprocessor or any conventional processor. The steps of the method disclosed in the invention may be directly implemented as being executed by a hardware processor, or may be executed by a combination of hardware and software modules in the processor.
[0218] The memory may include a high-speed memory (Random Access Memory, RAM), and may also include a non-volatile memory (Non-volatile Memory, NVM), such as at least one disk memory.
[0219] The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the bus in the drawings of the present application is not limited to only one bus or one type of bus.
[0220] The present application also provides a computer program product, including a computer program, which implements the above method when executed by a processor.
[0221] The present application also provides a computer-readable storage medium, in which computer-executable instructions are stored. When a processor executes the computer-executable instructions, the above method is implemented.
[0222] The above-mentioned readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The readable storage medium can be any available medium that can be accessed by a general or special-purpose computer.
[0223] An exemplary readable storage medium is coupled to a processor so that the processor can read information from the readable storage medium and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can be located in an application specific integrated circuit (Application Specific Integrated Circuits, referred to as: ASIC). Of course, the processor and the readable storage medium can also exist in the device as discrete components.
[0224] The division of units is only a logical function division, and there may be other divisions in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interface, device or unit, which can be electrical, mechanical or other forms.
[0225] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0226] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0227] If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods of each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.
[0228] Those skilled in the art can understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, disk or optical disk and other media that can store program codes.
[0229] Finally, it should be noted that those skilled in the art will readily conceive of other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. The present invention is intended to cover any variations, uses or adaptations of the present invention, which follow the general principles of the present invention and include common knowledge or customary technical means in the art not disclosed by the present invention, are not limited to the precise structure described above and shown in the drawings, and may be modified and changed in various ways without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.
Claims
1. A development and processing method based on an autonomous driving application graphical developer, characterized in that: The method comprises: Determine a business processing flow of a target business in an autonomous driving application; wherein the business processing flow includes a plurality of business processing nodes; Determine at least one component material information corresponding to each of the business processing nodes; wherein the at least one component material information is used to determine the visualization component corresponding to the business processing node; After configuring and processing the at least one component material information, a visualization component corresponding to the business processing node is obtained; The target business is developed and processed based on the visualization components corresponding to each of the business processing nodes.
2. The method according to claim 1, characterized in that Determining at least one component material information corresponding to each of the business processing nodes, including: Determining the business processing information of each of the business processing nodes; wherein the business processing information indicates the processing content corresponding to the business processing node; Based on the business processing information, at least one component material information matching each of the business processing nodes is determined from a preset material library.
3. The method according to claim 2, characterized in that The method further comprises: Acquire multiple material composition information; wherein the material composition information is used to customize component material information; Based on the business processing requirements of the autonomous driving application, determining at least one first target information matching the business processing requirements from the multiple material composition information; After combining and processing the at least one first target information, component material information matching the business processing requirement is obtained; The preset material library is constructed based on the component material information matching each business processing requirement of the autonomous driving application and the multiple material composition information.
4. The method according to claim 2, characterized in that: The business processing flow includes a newly added business processing node; The preset material library includes a plurality of material composition information; the material composition information is used to customize component material information; the method further includes: Based on the business processing information of the newly added business processing node, if component material information matching the newly added business processing node is not determined from the preset material library, at least one second target information matching the business processing information of the newly added business processing node is determined from multiple material composition information included in the preset material library; After combining and processing the at least one second target information, component material information matching the newly added business processing node is obtained.
5. The method according to claim 1, characterized in that: The configuration process is performed on the at least one component material information, including: Drag the at least one component material information to the canvas to obtain page elements matching the respective component material information; In response to the configuration operation on each of the page elements, determining the configured page elements; Based on the configured page elements, the configured component material information is determined.
6. The method according to claim 5, characterized in that In response to the configuration operation on each of the page elements, determining the configured page elements includes: In response to a first configuration operation on the material attribute information included in each of the page elements, determining a first configuration result; In response to a second configuration operation on the element attribute information included in each of the page elements, determining a second configuration result; The configured page elements are determined based on the first configuration result and the second configuration result.
7. The method according to claim 6, characterized in that After configuring and processing the at least one component material information, obtaining a visualization component corresponding to the business processing node includes: After configuring the at least one component material information, obtaining the configured component material information; In response to a preview operation of the configured component material information, generating a target file matching the configured component material information; Based on the target file, a visualization component corresponding to the business processing node is determined.
8. The method according to any one of claims 1 to 7, characterized in that Based on the visualization components corresponding to each of the business processing nodes, the target business is developed and processed, including: Loading a component rendering engine; wherein the component rendering engine is used to render the target file of the visualization component into the autonomous driving application graphical developer; Based on the component rendering engine, displaying the visualization component in the business development interface of the autonomous driving application graphical developer; Based on the third configuration operation on the visualization component, development processing is performed on the target business.
9. A development and processing device based on an autonomous driving application graphical developer, characterized in that: include: A first determination unit is used to determine a business processing flow of a target business in an autonomous driving application; wherein the business processing flow includes a plurality of business processing nodes; A second determining unit is used to determine at least one component material information corresponding to each of the business processing nodes; wherein the at least one component material information is used to determine the visualization component corresponding to the business processing node; A configuration unit, configured to obtain a visualization component corresponding to the business processing node after performing configuration processing on the at least one component material information; The development unit is used to develop and process the target business based on the visualization components corresponding to each of the business processing nodes.
10. A computer device, characterized in that: include: Memory, processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory, so that the processor performs the method according to any one of claims 1 to 8.