A component development method, device, computer readable medium and electronic device
By obtaining and updating the data index in the component track attribute table, the problems of low efficiency of component development and inability to connect to source data in the existing technology are solved, efficient component development and user needs are achieved, and user experience is improved.
Patent Information
- Application Number
- CN202210604231.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-30
- Publication Date
- 2024-12-03
- Estimated Expiration
- 2042-05-30
AI Technical Summary
The existing component development methods can only adapt to users' customization needs, resulting in low development efficiency and high cost, and the inability to connect to source data, affecting the user experience.
By obtaining the component identity of the target basic component, extracting its component track attribute table, adding source data index, and updating the trajectory data according to component development needs, generating target components, and realizing component development.
It improves development efficiency, reduces costs, can meet users' needs for data simulation and security measurement and control, and improves user experience.
Smart Images

Figure CN114995790B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a component development method, device, computer-readable medium and electronic device. Background Art
[0002] The era of the Internet of Things is gradually integrating into real life, and equipment monitoring simulation digital twins have become an indispensable technical field today. Therefore, it has become a necessary requirement to intuitively reflect the equipment on the World Wide Web (web). The Internet of Things wiring diagram configuration platform for equipment simulation detection was born out of demand. However, the existing component development method can only adapt to the user's customized needs, resulting in low development efficiency and high cost. In addition, since the generated components cannot connect to the source data, they cannot meet the user's needs for data simulation and security measurement and control, affecting the user experience. Summary of the invention
[0003] In view of this, an embodiment of the present invention provides a component development method, device, computer-readable medium and electronic device to overcome the problem that the component development method in the prior art can only adapt to user customization needs, has low development efficiency and high cost, and cannot connect to source data, affecting the user experience.
[0004] An embodiment of the present invention provides a component development method, including:
[0005] Acquire a target basic component, and extract a component trajectory attribute table corresponding to the target basic component based on a component identifier of the target basic component, wherein the component trajectory attribute table stores all trajectory data of a construction view of the target basic component;
[0006] Extracting data index of target source data from source database;
[0007] Adding the data index to the data structure of the trajectory data in the component trajectory attribute table;
[0008] Based on the target component development requirements, the trajectory data in the component trajectory attribute table is updated to obtain the target component.
[0009] Optionally, the acquiring target basic component includes:
[0010] When a mouse click event is monitored, extracting a first coordinate data point corresponding to the mouse click event;
[0011] Determine whether the first coordinate time point is within the view range of the current basic component of the basic component library;
[0012] When the first coordinate time point is within the field of view of the current basic component, the current basic component is determined as the target basic component.
[0013] Optionally, before extracting the data index of the target source data from the source database, the method further includes:
[0014] When the mouse completes the preset combination event, the target source data is determined based on the mouse click event.
[0015] Optionally, updating the trajectory data in the component trajectory attribute table based on the target component development requirements to obtain the target component includes:
[0016] When a view form editing operation is monitored, the track data in the component track attribute table is updated using the operation result of the view form editing operation, wherein the view form editing operation is used to characterize the target component development requirements;
[0017] The target basic component is recompiled using the updated component trajectory attribute table to generate a target component.
[0018] Optionally, the method further comprises:
[0019] The target source data corresponding to the data index and / or the component trajectory attribute table corresponding to the target component are updated.
[0020] Optionally, the method further comprises:
[0021] When the target source data corresponding to the data index changes, the target component is updated using the changed source data.
[0022] Optionally, the method further comprises:
[0023] Add the target component to the base component library.
[0024] The embodiment of the present invention also provides a component development device, including:
[0025] An acquisition module, used to acquire a target basic component, and extract a corresponding component trajectory attribute table based on a component identifier of the target basic component, wherein the component trajectory attribute table stores all trajectory data of a construction view of the target basic component;
[0026] A first processing module is used to extract a data index of target source data from a source database;
[0027] A second processing module, used for adding the data index to the data structure of the trajectory data in the component trajectory attribute table;
[0028] The third processing module is used to update the trajectory data in the component trajectory attribute table based on the target component development requirements to obtain the target component.
[0029] An embodiment of the present invention further provides an electronic device, comprising: a memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the method provided by the embodiment of the present invention by executing the computer instructions.
[0030] An embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the method provided by the embodiment of the present invention.
[0031] The technical solution of the present invention has the following advantages:
[0032] The embodiment of the present invention provides a component development method, which obtains a target basic component, extracts its corresponding component trajectory attribute table based on the component identifier of the target basic component, and stores all trajectory data of the target basic component construction view in the component trajectory attribute table; extracts the data index of the target source data from the source database; adds the data index to the data structure of the trajectory data in the component trajectory attribute table; updates the trajectory data in the component trajectory attribute table based on the target component development requirements to obtain the target component. Thus, by using the component trajectory attribute table that records all trajectory data of each basic component construction view, and updating the component trajectory attribute table according to the user's development requirements of the target component, the target component development method is carried out, without rewriting the component code, and only needs to select the basic component and update its trajectory data to realize component development, which greatly improves the development efficiency and reduces the development cost. In addition, by binding the data structure of the trajectory data with the source data, the user can realize the data processing requirements of data simulation, safety measurement and control, etc. on the component, which improves the user's use experience. In addition, when developing products in the component development method provided by the embodiment of the present invention, products that match user requirements can be obtained by simple assembly, which further improves the development efficiency and saves user time. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0034] Figure 1 A flowchart of a component development method in an embodiment of the present invention;
[0035] Figure 2 A schematic diagram of a specific development process of a component development application platform in an embodiment of the present invention;
[0036] Figure 3 A schematic diagram of the use process of the component development application platform in an embodiment of the present invention;
[0037] Figure 4 It is a structural schematic diagram of a component development device in an embodiment of the present invention;
[0038] Figure 5 Schematic diagram of the structure of an electronic device in an embodiment of the present invention. DETAILED DESCRIPTION
[0039] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0040] In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first", "second", and "third" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance.
[0041] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or an indirect connection through an intermediate medium, or it can be the internal connection of two components, it can be a wireless connection, or it can be a wired connection. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0042] The technical features involved in the different embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.
[0043] The era of the Internet of Things is gradually integrating into real life, and equipment monitoring simulation digital twins have become an indispensable technical field today. Therefore, it has become a necessary requirement to intuitively reflect the equipment on the World Wide Web (web). The Internet of Things wiring diagram configuration platform for equipment simulation detection was born out of demand. However, the existing component development method can only adapt to the user's customized needs, resulting in low development efficiency and high cost. In addition, since the generated components cannot connect to the source data, they cannot meet the user's needs for data simulation and security measurement and control, affecting the user experience.
[0044] Based on the above problems, an embodiment of the present invention provides a component development method, which is applied to a component development application platform. In the embodiment of the present invention, the component development application platform, hereinafter referred to as the Z-MP platform, takes the design and development of wiring diagrams as an example to realize business needs. Its core adopts the technology of front-end and back-end separation. The front-end is implemented with vue+ts, and the back-end is implemented with a java microservice framework. In the embodiment of the present invention, VUE+ts is used as the core basic language for development, and the development rules and code writing specifications are defined. Z-MP's self-developed canvas, namely canvas basic components, business components, source components, and twin components are used as core development units, and business models are used as basic encapsulation units to define user usage methods. The Z-MP component library is used as a developer and designer application platform to realize the IoT business wiring diagram ecological chain.
[0045] The Z-MP platform has the following features:
[0046] 1) Componentization
[0047] Componentization means that each element has its own attributes. For example, the basic component has its own basic attributes, and the business component inherits the attributes of the basic component while extending its own attributes. Componentization realizes the flexibility and variability of elements.
[0048] 2) Source binding
[0049] Source binding refers to the binding between the design of source data and business components. The prerequisite for the dynamicization of component data must be the source data.
[0050] 3) Digital Twin
[0051] Digital twins on this platform refer to simulated data, simulated operation, security prediction, and edge strategy adjustment. Digital twin components are equivalent to being registered in business components, forming a twin coexistence effect, and realizing strategy control adjustment output under relative consideration.
[0052] like Figure 1 As shown, the component development method specifically includes the following steps:
[0053] Step S101: Acquire a target basic component, and extract its corresponding component trajectory attribute table based on the component identifier of the target basic component.
[0054] Among them, the component trajectory attribute table stores all trajectory data of the target basic component construction view.
[0055] Step S102: extracting data indexes of target source data from the source database.
[0056] Among them, the target source data is the source data that the user needs to bind when creating a target component. By way of example, assuming that the target component is a device monitoring component, its corresponding target source data is the monitoring data of the device. All source data are stored in the data dictionary table. Each source data corresponds to a unique data index, and the specific content of the source data can be queried from the data dictionary table through the data index. By way of example, the data index is a key value, and the key value can be uniquely determined based on information such as the ID of the source data, but the present invention is not limited to this.
[0057] Specifically, the target source data can be determined based on the mouse click event when the preset combination event is monitored. Thus, the source data selected by the developer is determined according to the coordinates corresponding to the preset combination event, and is used as the target source data. Exemplarily, the preset combination event is a mouseDown, mouseMove, mouseUp combination event. In addition, in actual applications, it can also be other mouse combination events, as long as it can uniquely confirm the source data selected by the developer, and the present invention is not limited thereto.
[0058] Step S103: Add the data index to the data structure of the trajectory data in the component trajectory attribute table.
[0059] Specifically, the key value of the source data is copied into the data structure of the component track data to bind the key-value pair, thereby achieving the binding of the component and the source data.
[0060] Step S104: based on the target component development requirements, the trajectory data in the component trajectory attribute table is updated to obtain the target component.
[0061] Specifically, users can edit the target component development requirements through the view form, then update the trajectory data in the component trajectory attribute table, and then rewrite the canvas component to realize the data-based dynamic driving of the component to generate the target component required by the user.
[0062] By executing the above steps, the component development method provided by the embodiment of the present invention uses the component trajectory attribute table that records all trajectory data of each basic component to build a view, and updates the component trajectory attribute table according to the user's demand for developing the target component to develop the target component. There is no need to rewrite the component code, and component development can be achieved by only selecting the basic component and updating its trajectory data, which greatly improves development efficiency and reduces development costs. In addition, by binding the data structure of the trajectory data with the source data, the user's data processing needs such as data simulation and safety measurement and control on the component can be achieved, thereby improving the user's usage experience. In addition, when developing products using the component development method provided by the embodiment of the present invention, products that match user needs can be obtained through simple assembly, further improving development efficiency and saving user time.
[0063] Specifically, in one embodiment, obtaining the target basic component in the above step S101 specifically includes the following steps:
[0064] Step S201: when a mouse click event is monitored, extract the first coordinate data point corresponding to the mouse click event.
[0065] Step S202: Determine whether the first coordinate time point is within the viewing range of the current basic component of the basic component library.
[0066] Specifically, when the first coordinate time point is within the view range of the current basic component, the current basic component is determined as the target basic component. When the first coordinate time point is not within the view range of the current basic component, it is further determined whether it is within the view range of other basic components in the basic component library to determine the basic component selected by the user. Thus, the basic component on which the target component development depends can be determined by developer interaction by monitoring the developer's mouse operation. The basic component has the same basic properties as the target component, such as shape, and the only difference is size, color, etc., so that the target component can be quickly developed through the basic component, thereby improving component development efficiency.
[0067] In addition, in actual applications, the user can also input the target component development requirements, which include: the basic attributes of the target component, and then filter the basic components that meet the basic attributes of the component from the basic component library as the target basic components, so as to further reduce the operations of the developer and improve the degree of automation of component development. The present invention is not limited to this.
[0068] Specifically, in one embodiment, the above step S104 specifically includes the following steps:
[0069] Step S401: when a view form editing operation is monitored, the track data in the component track attribute table is updated using the operation result of the view form editing operation, and the view form editing operation is used to characterize the development requirements of the target component.
[0070] Step S402: recompile the target basic component using the updated component trajectory attribute table to generate the target component.
[0071] Specifically, in one embodiment, the component development method provided by the embodiment of the present invention further includes the following steps:
[0072] Step S105: updating the target source data corresponding to the data index and / or the component trajectory attribute table corresponding to the target component.
[0073] Specifically, after the component is developed, the developer may need to modify the design of the component, and since each data index corresponds to a source data, the source data can change dynamically, so the target source data and / or component trajectory attribute table corresponding to the data index need to be updated in a timely manner. The update method can be a scheduled update, or it can be triggered when an event of source data change or trajectory data change is monitored, thereby realizing a two-way dynamic binding between the source data and the target component by continuously refreshing the source data and component data.
[0074] Step S106: When the target source data corresponding to the data index is changed, the target component is updated using the changed source data.
[0075] Specifically, the changed source data is also added to the data structure of the target component through data indexing, so that the data processing of the source data can be realized when the user operates the component, thereby improving the user experience.
[0076] Specifically, in one embodiment, the component development method provided by the embodiment of the present invention further includes the following steps:
[0077] Step S107: Add the target component to the basic component library.
[0078] Therefore, by adding each newly developed target component to the basic component library as a new basic component, the types of basic components in the basic component library can be continuously expanded, so that when designing new components similar to the target components in the future, they can be used as basic components to further shorten the component development time, reduce the developer's workload, and improve the component development efficiency.
[0079] The component development method provided by the embodiment of the present invention will be described in detail below with reference to specific application examples.
[0080] By way of example, the design of the graphic element is processed by using canvas technology, and the specific process is as follows:
[0081] First draw a component (it could be just a line, a circle, a triangle, and an image);
[0082] Store all the traces of the view constructed by the component into the component trace attribute table indexDB, and generate a universally unique identifier (Universally Unique Identifier, abbreviated as uuid);
[0083] Obtain the coordinate data point by listening to the mouse click event, and compare whether the coordinate data point is within the component's view range value. If it exists, query the track data and extract the track data;
[0084] By monitoring the mouseDown, mouseMove, and mouseUp combined events, the key value of the source data is obtained and copied to the data structure of the component track data and bound to the key-value pair;
[0085] Edit the trajectory data through the view form and input it into indexDB, then rewrite the canvas component to realize the data-driven dynamic driving of the component.
[0086] In addition, the source data and component data can be refreshed regularly to achieve two-way dynamic binding. The final target component C = component id + component track + event monitoring + indexDB cache + timing drive.
[0087] like Figure 2 As shown, the development process of developers on the above Z-MP platform is roughly divided into eight steps;
[0088] 1) Z-MP provides a developer application platform, where developers can apply for an account for development and use;
[0089] 2) Select the development level. The Z-MP platform provides three levels of development conditions, namely 1. Application level, 2. Development level, and 3. R&D level. Level 1 has the ability to use, level 2 has the ability to design data structures, and level 3 has the ability to develop source code;
[0090] 3) Developers apply or design wiring diagram configuration to generate product models
[0091] 4) Z-MP provides basic components, business components, and source components to simulate product models;
[0092] 5) Developers can also create their own business components based on business needs;
[0093] 6) After the developer completes the development and passes the internal test, he / she submits the application to the platform for entry into the database;
[0094] 7) Z-MP platform will review the product model provided by the developer to see if it meets the design and development specifications of the platform and issue a review notice;
[0095] 8) Business components and product models designed by developers are allowed to enter the platform product library and are granted public usage rights.
[0096] like Figure 3 As shown, the developer's usage process on the above Z-MP platform is as follows:
[0097] 1) Before applying Z-MP, you need to create your own development account, understand your business application scope, and check whether the platform manual supports exclusive business.
[0098] 2) Z-MP platform first requires proficiency in using the platform to develop functional components, so that product models or business components can be effectively and reasonably created.
[0099] 3) After designing a product model or business component, you can apply to enter the product library and decide whether to make your own component or product model public. If the platform approves the product model, it can be made public or private. Developers can apply for private control.
[0100] 4) After the product model is released, an address and version number will be generated for developers to use.
[0101] 5) Developers can iterate product models for a second time, and the new iteration of the product cannot conflict with the historical version. It is possible that the product model has already been used in the application. The developer has the right to cancel the product, and needs to negotiate with the user and apply for review by the platform.
[0102] The Z-MP platform was born based on components. All the points you see are component modules, which support the operation of the entire platform according to business needs. The product model of the Z-MP platform is secondary developed through basic components. The Z-MP platform can support the source data of the drag-and-drop configuration wiring diagram. The algorithm of the platform is not the algorithm of the backend. The implementation method is to apply the basic data input to the front-end data model (algorithm) and the data model drives the output display of the business model. The structure is for example: source data->front-end data model->front-end business model (that is, the component can also be called a container unit with its own properties)->drive page display. The Z-MP platform can support model export through the self-developed base model to support cross-application function implementation. The single export model is implemented through an encryption algorithm, and the single base model is implemented through a decryption algorithm. The platform can support the implementation of configuration and twin simulation technology. The twin component can perform derivative verification strategy control after completing the product model design to achieve safe output.
[0103] All registered users of the Z-MP platform can use it free of charge, providing demand support for application-oriented enterprises to develop similar IoT device configuration services; Z-MP eliminates the design process and can be applied to matching industries with simple assembly, improving development efficiency and saving user time.
[0104] By executing the above steps, the component development method provided by the embodiment of the present invention uses the component trajectory attribute table that records all trajectory data of each basic component to build a view, and updates the component trajectory attribute table according to the user's demand for developing the target component to develop the target component. There is no need to rewrite the component code, and component development can be achieved by only selecting the basic component and updating its trajectory data, which greatly improves development efficiency and reduces development costs. In addition, by binding the data structure of the trajectory data with the source data, the user's data processing needs such as data simulation and safety measurement and control on the component can be achieved, thereby improving the user's usage experience. In addition, when developing products using the component development method provided by the embodiment of the present invention, products that match user needs can be obtained through simple assembly, further improving development efficiency and saving user time.
[0105] The embodiment of the present invention also provides a component development device, such as Figure 4 As shown, the component development device includes:
[0106] The acquisition module 101 is used to acquire the target basic component and extract the corresponding component trajectory attribute table based on the component identifier of the target basic component. The component trajectory attribute table stores all trajectory data of the target basic component construction view. For details, please refer to the relevant description of step S101 in the above method embodiment, which will not be repeated here.
[0107] The first processing module 102 is used to extract the data index of the target source data from the source database. For details, please refer to the relevant description of step S102 in the above method embodiment, which will not be repeated here.
[0108] The second processing module 103 is used to add the data index to the data structure of the trajectory data in the component trajectory attribute table. For details, please refer to the relevant description of step S103 in the above method embodiment, which will not be repeated here.
[0109] The third processing module 104 is used to update the trajectory data in the component trajectory attribute table based on the target component development requirements to obtain the target component. For details, please refer to the relevant description of step S104 in the above method embodiment, which will not be repeated here.
[0110] Through the collaborative cooperation of the above-mentioned components, the component development device provided by the embodiment of the present invention uses the component trajectory attribute table that records all trajectory data of each basic component construction view, and updates the component trajectory attribute table according to the user's development needs of the target component to develop the target component. There is no need to rewrite the component code. Component development can be achieved by simply selecting the basic component and updating its trajectory data, which greatly improves development efficiency and reduces development costs. In addition, by binding the data structure of the trajectory data with the source data, the user's data processing needs such as data simulation and safety measurement and control on the component can be realized, thereby improving the user's usage experience. In addition, when developing products using the component development method provided by the embodiment of the present invention, products that match user needs can be obtained through simple assembly, further improving development efficiency and saving user time.
[0111] The further functional description of each of the above modules is the same as that of the above corresponding method embodiments and will not be repeated here.
[0112] According to an embodiment of the present invention, there is also provided an electronic device, such as Figure 5 As shown, the electronic device may include a processor 901 and a memory 902, wherein the processor 901 and the memory 902 may be connected via a bus or other means. Figure 5 The example of connecting through bus is taken in the following.
[0113] The processor 901 may be a central processing unit (CPU). The processor 901 may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or a combination of the above chips.
[0114] The memory 902 is a non-transitory computer-readable storage medium that can be used to store non-transitory software programs, non-transitory computer executable programs and modules, such as program instructions / modules corresponding to the methods in the method embodiments of the present invention. The processor 901 executes various functional applications and data processing of the processor by running the non-transitory software programs, instructions and modules stored in the memory 902, that is, implementing the methods in the above method embodiments.
[0115] The memory 902 may include a program storage area and a data storage area, wherein the program storage area may store an application required for operating the device and at least one function; the data storage area may store data created by the processor 901, etc. In addition, the memory 902 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some embodiments, the memory 902 may optionally include a memory remotely arranged relative to the processor 901, and these remote memories may be connected to the processor 901 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0116] One or more modules are stored in the memory 902 , and when executed by the processor 901 , the method in the above method embodiment is executed.
[0117] The specific details of the above electronic device can be understood by referring to the corresponding descriptions and effects in the above method embodiments, and will not be repeated here.
[0118] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the implemented program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the storage medium can be a disk, an optical disk, a read-only memory (ROM), a random access memory (RAM), a flash memory, a hard disk drive (HDD) or a solid-state drive (SSD), etc.; the storage medium can also include a combination of the above-mentioned types of memory.
[0119] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.
Claims
1. A component development method, characterized in that: include: Acquire a target basic component, and extract a component trajectory attribute table corresponding to the target basic component based on a component identifier of the target basic component, wherein the component trajectory attribute table stores all trajectory data of a construction view of the target basic component; Extracting data index of target source data from source database; Adding the data index to the data structure of the trajectory data in the component trajectory attribute table; Based on the target component development requirements, the trajectory data in the component trajectory attribute table is updated to obtain the target component; The updating of the trajectory data in the component trajectory attribute table based on the target component development requirements to obtain the target component includes: When a view form editing operation is monitored, the track data in the component track attribute table is updated using the operation result of the view form editing operation, wherein the view form editing operation is used to characterize the target component development requirements; The target basic component is recompiled using the updated component trajectory attribute table to generate a target component.
2. The method according to claim 1, characterized in that The target acquisition basic component includes: When a mouse click event is monitored, extracting a first coordinate data point corresponding to the mouse click event; Determine whether the first coordinate time point is within the view range of the current basic component of the basic component library; When the first coordinate time point is within the field of view of the current basic component, the current basic component is determined as the target basic component.
3. The method according to claim 1, characterized in that Before extracting the data index of the target source data from the source database, the method further includes: When the mouse completes the preset combination event, the target source data is determined based on the mouse click event.
4. The method according to claim 1, characterized in that: Also includes: The target source data corresponding to the data index and / or the component trajectory attribute table corresponding to the target component are updated.
5. The method according to claim 4, characterized in that Also includes: When the target source data corresponding to the data index changes, the target component is updated using the changed source data.
6. The method according to claim 1, characterized in that Also includes: Add the target component to the base component library.
7. A component development device, characterized in that: include: An acquisition module, used to acquire a target basic component, and extract a corresponding component trajectory attribute table based on a component identifier of the target basic component, wherein the component trajectory attribute table stores all trajectory data of a construction view of the target basic component; A first processing module is used to extract a data index of target source data from a source database; A second processing module, used for adding the data index to the data structure of the trajectory data in the component trajectory attribute table; A third processing module is used to update the trajectory data in the component trajectory attribute table based on the target component development requirements to obtain the target component; The updating of the track data in the component track attribute table based on the target component development requirements to obtain the target component includes: when a view form editing operation is monitored, updating the track data in the component track attribute table using the operation result of the view form editing operation, wherein the view form editing operation is used to characterize the target component development requirements; The target basic component is recompiled using the updated component trajectory attribute table to generate a target component.
8. An electronic device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the method according to any one of claims 1 to 6 by executing the computer instructions.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the method according to any one of claims 1 to 6.
