CN118051216A - Component editing method, device, equipment and storage medium - Google Patents

Component editing method, device, equipment and storage medium Download PDF

Info

Publication number
CN118051216A
CN118051216A CN202311714347.8A CN202311714347A CN118051216A CN 118051216 A CN118051216 A CN 118051216A CN 202311714347 A CN202311714347 A CN 202311714347A CN 118051216 A CN118051216 A CN 118051216A
Authority
CN
China
Prior art keywords
component
target
editing
identification
determining
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311714347.8A
Other languages
Chinese (zh)
Inventor
赵晶晶
杨金明
赵徽
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Peoples Insurance Company of China
Original Assignee
Peoples Insurance Company of China
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Peoples Insurance Company of China filed Critical Peoples Insurance Company of China
Priority to CN202311714347.8A priority Critical patent/CN118051216A/en
Publication of CN118051216A publication Critical patent/CN118051216A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The application provides a method, a device, equipment and a storage medium for editing components, and belongs to the technical field of computers. The method comprises the following steps: receiving editing information sent by a configuration terminal, wherein the editing information corresponds to a target component, and the target component is any component; acquiring a target identifier of the target component; determining a component corresponding to the target identifier as a component to be modified; and editing each component to be modified according to the editing information. The method can modify all the components corresponding to the same identifier together by one modification, thereby increasing the modification efficiency of the components and solving the problem of low modification efficiency of the components.

Description

Component editing method, device, equipment and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method, an apparatus, a device, and a storage medium for editing a component.
Background
The development of the current program has become an important way to solve the problem, but the development difficulty of the program is high, the threshold is high, and therefore, a low-code programming platform is generated.
At present, a low-code programming platform in the prior art splices the components in a dragging mode, and the components are manually modified to finally obtain the needed program codes.
However, the inventor finds that at least the following technical problems exist in the prior art: the current way of low code programming is less efficient in modifying components.
Disclosure of Invention
The application provides a method, a device, equipment and a storage medium for editing a component, which are used for solving the problem that the efficiency of modifying the component in a low-code programming mode is low.
In a first aspect, the present application provides a component editing method, including: receiving editing information sent by a configuration terminal, wherein the editing information corresponds to a target component, and the target component is any component; acquiring a target identifier of a target component; determining a component corresponding to the target identifier as a component to be modified; and editing each component to be modified according to the editing information.
In one possible implementation, editing each component to be modified according to the editing information includes: editing the target component according to the editing information; copying the content of the target component to each component to be modified.
In one possible implementation, before determining the component corresponding to the target identifier as the component to be modified, the method further includes: in response to receiving a copying instruction to the target component sent by the configuration terminal, copying the target component to obtain a cloned component; acquiring a target identifier of a target component; the target identity is associated with the clone component.
In one possible implementation, associating the target identity with the clone component includes: writing the target identification into the cloning component; or, establishing a corresponding relation between the target identifier and the identifier of the clone component.
In one possible implementation, after associating the target identifier with the clone component, the method further comprises: in response to receiving a selection instruction sent by the configuration terminal, determining a component corresponding to the selection instruction as a selected component; determining the identification corresponding to the selected component as the selected identification; if the identification corresponding to any existing component is the selected identification, determining any existing component as a highlight component; the highlighting component is highlighted.
In one possible implementation, before determining the component corresponding to the target identifier as the component to be modified, the method further includes: receiving a selection instruction of at least two components sent by a configuration terminal; determining a component corresponding to the selected instruction as a selected component; and adding the same identification to the selected component in response to receiving a trigger signal of the configuration terminal to the link button.
In one possible implementation, after adding the same identifier to the selected component, the method further includes: in response to receiving a selection instruction sent by the configuration terminal, determining a component corresponding to the selection instruction as a selected component; determining the identification corresponding to the selected component as the selected identification; if the identification corresponding to any existing component is the selected identification, determining any existing component as a highlight component; the highlighting component is highlighted.
In a second aspect, the present application provides a component editing apparatus comprising:
The information receiving module is used for receiving editing information sent by the configuration terminal, wherein the editing information corresponds to a target component, and the target component is any component; the identification acquisition module is used for acquiring the target identification of the target component; the component determining module is used for determining the component corresponding to the target identifier as a component to be modified; and the component editing module is used for editing each component to be modified according to the editing information.
In a third aspect, the present application provides an electronic device comprising: a processor, a memory communicatively coupled to the processor; the memory stores computer-executable instructions; the processor executes the computer-executable instructions stored in the memory, causing the processor to perform the component editing method as described in the first aspect.
In a fourth aspect, the present application provides a computer-readable storage medium having stored therein computer-executable instructions which, when executed by a processor, are adapted to carry out the component editing method as described in the first aspect.
According to the component editing method, device, equipment and storage medium, the editing information sent by the configuration terminal is received, the target identification of the target component corresponding to the editing information is obtained, all components corresponding to the target identification are found and used as components to be modified, all components to be modified are edited by the editing information, and all components corresponding to the same identification can be modified together by one-time modification, so that the modification efficiency of the components is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
Fig. 1 is a schematic view of an application scenario of a component editing method according to an embodiment of the present application;
FIG. 2 is a schematic flow chart of a method for editing components according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a component editing apparatus according to an embodiment of the present application;
Fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Specific embodiments of the present application have been shown by way of the above drawings and will be described in more detail below. The drawings and the written description are not intended to limit the scope of the inventive concepts in any way, but rather to illustrate the inventive concepts to those skilled in the art by reference to the specific embodiments.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the application. Rather, they are merely examples of apparatus and methods consistent with aspects of the application as detailed in the accompanying claims.
The current program development threshold is high and difficult, and in order to reduce the program development threshold, a low-code development platform is generated. The low-code development platform obtains the components through dragging, a worker can modify the components, and all the components are spliced to obtain the needed program codes.
But current low code programming is less efficient for component content modification.
In order to solve the technical problems, the inventor proposes the following technical ideas: by setting the same identification for part of the components, when one component is edited, the components corresponding to the same identification are modified together.
Fig. 1 is an application scenario schematic diagram of a component editing method according to an embodiment of the present application. As in fig. 1, in this scenario, it includes: server 101, configuration terminal 102.
In a specific implementation process, the server 101 may be implemented by using a server with more powerful processing capability and higher security or a cluster formed by multiple servers, and if possible, a computer with more powerful computing capability, a notebook computer, or the like may be used instead.
The configuration terminal 102 may include a computer, a server, a tablet, a mobile phone, a Personal computer (Personal DIGITAL ASSISTANT, PDA), a notebook, etc., which may perform data input.
The connection between the server 101 and the configuration terminal 102 may be wired or wireless.
The server 101 is configured to receive the editing information sent by the configuration terminal 102, obtain the identifier of the component corresponding to the editing information, find the component corresponding to the same identifier as the identifier, and modify the found components together according to the editing information.
The configuration terminal 102 is configured to receive signals such as instructions input by a user, convert the signals into edit information, and send the edit information to the server 101.
It should be understood that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the component editing method. In other possible embodiments of the present application, the architecture may include more or less components than those illustrated, or some components may be combined, some components may be split, or different component arrangements may be specifically determined according to the actual application scenario, and the present application is not limited herein. The components shown in fig. 1 may be implemented in hardware, software, or a combination of software and hardware.
The following describes the technical scheme of the present application and how the technical scheme of the present application solves the above technical problems in detail with specific embodiments. The following embodiments may be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
Fig. 2 is a flow chart of a component editing method according to an embodiment of the present application. The execution subject of the embodiment of the present application may be the server 101 in fig. 1, or may be a computer and/or a mobile phone, which is not particularly limited in this embodiment. As shown in fig. 2, the method includes:
s201: and receiving editing information sent by the configuration terminal, wherein the editing information corresponds to a target component, and the target component is any component.
In this step, the receiving manner of the editing information may be through data packet or message reception. The editing information may include a name or an identification of the target component and thus corresponds to the target component.
S202: a target identification of the target component is obtained.
In this step, it may include directly reading from the editing information, or may include reading the target identifier from the target component.
S203: and determining the component corresponding to the target identifier as the component to be modified.
In this step, the method may include obtaining the identifiers corresponding to the components, and determining the components with the same corresponding identifiers as the target identifier as the components to be modified.
For example, there are currently components a 1、A2, B, C, D, where a 1 is the target component, the component identifier corresponding to a 2 is the same as the target identifier, and a 1、A2 is determined as the component to be modified. For another example, there is currently a component C, D, E, F, G where component D is the target component and the identity of component F, G is the same as the target identity, component F, G is determined to be the component to be modified.
S204: and editing each component to be modified according to the editing information.
In this step, corresponding operations may be performed on each component to be modified according to the instruction in the editing information.
For example, if the current editing information is that data A is typed in the components, data A is typed in each component to be modified; for another example, when the current editing information is that the selection result of the selection button C in the component is changed from option 1 to option 2, the selection result of the selection button C of each component to be modified is changed to option 2.
As can be seen from the description of the foregoing embodiments, in the embodiment of the present application, by receiving the editing information sent by the configuration terminal, and obtaining the target identifier of the target component corresponding to the editing information, all components corresponding to the target identifier are found and used as components to be modified, and each component to be modified is edited by the editing information, so that all components corresponding to the same identifier can be modified together by implementing one modification, and the modification efficiency of the components is increased.
In a possible implementation manner, in the step S204, editing each component to be modified according to the editing information includes:
s2041: editing the target component according to the editing information.
In this step, similar to the description in step S204, the description of this step is omitted here.
S2042: copying the content of the target component to each component to be modified.
In this step, copying all contents of the target component to each component to be modified may be included, or copying contents of the target component modified to each component to be modified may be included.
For example, when data in a component panel or a component editor of a target component is currently modified, contents in the component panel or the component editor in the target group price are written into each component to be modified. For another example, when the content in the target component is currently modified, all information in the target component is copied to each component to be modified.
As can be seen from the description of the above embodiments, in the embodiment of the present application, after editing the target component according to the editing information, the content of the target component is copied to each component to be modified, so as to implement synchronous modification of the target component and the component to be modified, and increase the modification efficiency of the component.
In one possible implementation manner, before determining the component corresponding to the target identifier as the component to be modified in step S203, the method further includes:
S210: and copying the target component to obtain a cloned component in response to receiving a copying instruction to the target component sent by the configuration terminal.
In this step, the replication instruction for the target component may be input by the user at the configuration terminal, or the configuration terminal may send the replication instruction to the server in response to the operation of the user.
For example, after the user selects the target component in the configuration terminal, the user presses a copy and paste button, and for example, the configuration terminal responds to the fact that the user presses a specific key and then drags the target component to send a copy instruction corresponding to the target component.
The replication instruction may also include a position coordinate and a replication field, and after receiving the replication instruction, the replication instruction finds a corresponding target component according to the position coordinate in the replication instruction, and replicates the target component. The process of finding the target component from the position coordinates may include finding diagonal coordinates of each component, obtaining a range of each component, taking the range including the position coordinates as a target range, and taking the component corresponding to the target range as a target component.
S211: a target identification of the target component is obtained.
In this step, reading the number and/or name of the target component may be included.
S212: the target identity is associated with the clone component.
In this step, the method may include writing the target identifier and the name or identifier of the clone component in a table, or may include using the target identifier as a key, using the name or identifier of the key Long Zujian as a value, or may include using the target identifier as the identifier of the clone component, or may include using the identifier or name of the clone component as a key, and using the target identifier as a value.
As can be seen from the description of the above embodiment, in the embodiment of the present application, after receiving the copy instruction for the target component sent by the configuration terminal, the copy target component obtains the clone component, obtains the target identifier of the target component, and associates the target identifier with the clone component, so as to realize association between the copied component and the target identifier, facilitate subsequent finding of the component containing the same identifier, and increase modification efficiency.
In one possible implementation, in S212, associating the target identifier with the clone component includes: S212A or S212B.
S212A: the target identification is written to the clone component.
In this step, it may include writing the target identifier to a preset identifier location of the clone module. It may also include overlaying the original identity of the cloned component with the target identity.
S212B: and establishing a corresponding relation between the target identifier and the identifier of the clone component.
In this step, the method may include writing the target identifier and the identifier of the clone module into a table, and may further include using the target identifier as a key, using the identifier of the clone module as a value, and may further include using the identifier of the clone module as a key, and using the target identifier as a value.
Wherein the target identification and the identification of the cloned component can be written in the same row or the same column when written in the table.
As can be seen from the description of the above embodiments, the embodiments of the present application implement the convenience of finding all corresponding components by the target identifier later, that is, the convenience of finding all components with the same identifier or the same corresponding identifier, by writing the target identifier into the cloned components or establishing the correspondence between identifiers.
In one possible implementation manner, after associating the target identifier with the clone component in step S212, the method further includes:
s213: and in response to receiving a selection instruction sent by the configuration terminal, determining a component corresponding to the selection instruction as a selected component.
In this step, the selected instruction may include an identifier, a name, or a location of the component, and the corresponding component is found as the selected component through the identifier, the name, or the location.
The selected instruction may be obtained by receiving a data packet or a message. The selection instruction may be generated by the configuration terminal after the user selects the component.
S214: and determining the identification corresponding to the selected component as the selected identification.
In the step, if the selected instruction contains the component identifier, the contained component identifier is directly used as the selected identifier, and if the selected instruction contains the name of the component, the name of the component is used for searching the corresponding identifier; if the selected instruction contains the position coordinates, searching a position area corresponding to each component according to the position coordinates, and determining the identification of the component, of which the corresponding position area contains the position coordinates, as the selected identification.
S215: and if the identification corresponding to any existing component is the selected identification, determining any existing component as the highlighted component.
In this step, the existing component may be a component obtained by pulling, and is not substantially different from the above component.
For example, there is currently a component A, B, C, D, E in which the identification corresponding to component A, C, D is the selected identification, and component A, C, D is determined to be the highlighted component. For another example, when there are currently components "input", "conversion", "integration", "process 1", "process 2", "process 3", and the identifications corresponding to the components "process 1", "process 2" are selected identifications, the components "process 1", "process 2" are determined as highlighting components.
S216: the highlighting component is highlighted.
In this step, it may include adding a highlight attribute to the highlight assembly, setting the highlight attribute in the highlight assembly to "on" or "yes", and so on.
From the description of the above embodiment, it can be known that, in the embodiment of the present application, by receiving the selection instruction sent by the configuration terminal, taking the component corresponding to the selection instruction as the selected component, obtaining the identifier of the selected component, and highlighting the component corresponding to the identifier and the same as the identifier, the effect of intuitively displaying the component to be modified simultaneously is achieved, and the operation is convenient for personnel.
In one possible implementation manner, before determining the component corresponding to the target identifier as the component to be modified in step S203, the method further includes:
S220: and receiving a selection instruction of at least two components sent by the configuration terminal.
In this step, the two selected instructions may be received simultaneously or sequentially at different times. The receiving process of the selected instruction may be similar to the above step S213, and will not be described here again.
S221: and determining the component corresponding to the selected instruction as the selected component.
In this step, this step is similar to step S213 described above, and will not be described here again.
S222: and adding the same identification to the selected component in response to receiving a trigger signal of the configuration terminal to the link button.
In this step, the link button may be preset in the interface, and the trigger signal may include clicking, long pressing, and the like. Adding the same identification to the selected components may include generating an identification and assigning the identification to each selected component, and may also include assigning the identification of any selected component to other selected components.
From the description of the above embodiment, it can be known that, in the embodiment of the present application, by receiving the selection instruction for at least two components sent by the configuration terminal, determining the component corresponding to the selection instruction as the selected component, and adding the same identifier to the selected component after the configuration terminal sends the trigger signal, the at least two components are associated, so that subsequent modification is facilitated.
In one possible implementation, after adding the same identifier to the selected component in step S222, the method further includes: in response to receiving a selection instruction sent by the configuration terminal, determining a component corresponding to the selection instruction as a selected component; determining the identification corresponding to the selected component as the selected identification; if the identification corresponding to any existing component is the selected identification, determining any existing component as a highlight component; the highlighting component is highlighted.
The content and effect of this step are similar to those of steps S213 to S216 described above, and will not be described here again.
Fig. 3 is a schematic structural diagram of a component editing apparatus according to an embodiment of the present application. As shown in fig. 3, the component editing apparatus 300 includes: an information receiving module 301, an identification obtaining module 302, a component determining module 303 and a component editing module 304.
The information receiving module 301 is configured to receive editing information sent by the configuration terminal, where the editing information corresponds to a target component, and the target component is any component;
The identifier obtaining module 302 is configured to obtain a target identifier of the target component;
a component determining module 303, configured to determine a component corresponding to the target identifier as a component to be modified;
the component editing module 304 is configured to edit each component to be modified according to the editing information.
The device provided in this embodiment may be used to implement the technical solution of the foregoing method embodiment, and its implementation principle and technical effects are similar, and this embodiment will not be described herein again.
In one possible implementation, the component editing module 304 is configured to edit the target component according to the editing information; copying the content of the target component to each component to be modified.
The device provided in this embodiment may be used to implement the technical solution of the foregoing method embodiment, and its implementation principle and technical effects are similar, and this embodiment will not be described herein again.
In one possible implementation, the component editing apparatus 300 further includes: component association module 305.
The component association module 305 is configured to copy the target component in response to receiving a copy instruction for the target component sent by the configuration terminal, so as to obtain a cloned component; acquiring a target identifier of a target component; the target identity is associated with the clone component.
The device provided in this embodiment may be used to implement the technical solution of the foregoing method embodiment, and its implementation principle and technical effects are similar, and this embodiment will not be described herein again.
In one possible implementation, the component association module 305 is configured to write the target identifier to the cloned component; or, establishing a corresponding relation between the target identifier and the identifier of the clone component.
The device provided in this embodiment may be used to implement the technical solution of the foregoing method embodiment, and its implementation principle and technical effects are similar, and this embodiment will not be described herein again.
In one possible implementation, the component editing apparatus 300 further includes: component highlighting module 306.
In response to receiving a selection instruction sent by the configuration terminal, determining a component corresponding to the selection instruction as a selected component;
Determining the identification corresponding to the selected component as the selected identification;
If the identification corresponding to any existing component is the selected identification, determining any existing component as a highlight component;
The highlighting component is highlighted.
The device provided in this embodiment may be used to implement the technical solution of the foregoing method embodiment, and its implementation principle and technical effects are similar, and this embodiment will not be described herein again.
In one possible implementation, the component editing apparatus 300 further includes: the identification adding module 306.
The identifier adding module 306 is configured to receive a selection instruction for at least two components sent by the configuration terminal; determining a component corresponding to the selected instruction as a selected component; and adding the same identification to the selected component in response to receiving a trigger signal of the configuration terminal to the link button.
The device provided in this embodiment may be used to implement the technical solution of the foregoing method embodiment, and its implementation principle and technical effects are similar, and this embodiment will not be described herein again.
In order to achieve the above embodiment, the embodiment of the present application further provides an electronic device.
Referring to fig. 4, there is shown a schematic structural diagram of an electronic device 400 suitable for implementing an embodiment of the present application, where the electronic device 400 may be a terminal device or a server. The terminal device may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a Personal Digital Assistant (PDA) or the like, a tablet computer (Portable Android Device) or the like, a Portable Multimedia Player (PMP) or the like, a car-mounted terminal (e.g., car navigation terminal) or the like, and a fixed terminal such as a digital TV or a desktop computer or the like. The electronic device shown in fig. 4 is only an example and should not be construed as limiting the functionality and scope of use of the embodiments of the application.
As shown in fig. 4, the electronic device 400 may include a processor (e.g., a central processing unit, a graphics processor, etc.) 401, and a Memory 402 communicatively connected to the processor, which may perform various suitable actions and processes according to a program stored in the Memory 402, a computer-executed instruction, or a program loaded from a storage 408 into a random access Memory (Random Access Memory, abbreviated as RAM) 403, implementing the component editing method in any of the above embodiments, where the Memory may be a Read Only Memory (abbreviated as ROM). In the RAM403, various programs and data necessary for the operation of the electronic device 400 are also stored. The processing device 401, the memory 402, and the RAM403 are connected to each other by a bus 404. An input/output (I/O) interface 405 is also connected to bus 404.
In general, the following devices may be connected to the I/O interface 405: input devices 406 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 407 including, for example, a Liquid Crystal Display (LCD) CRYSTAL DISPLAY, a speaker, a vibrator, and the like; storage 408 including, for example, magnetic tape, hard disk, etc.; and a communication device 409. The communication means 409 may allow the electronic device 400 to communicate with other devices wirelessly or by wire to exchange data. While fig. 4 shows an electronic device 400 having various means, it is to be understood that not all of the illustrated means are required to be implemented or provided. More or fewer devices may be implemented or provided instead.
In particular, according to embodiments of the present application, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present application include a computer program product comprising a computer program embodied on a computer readable storage medium, the computer program comprising program code for performing the method shown in the flowcharts. In such an embodiment, the computer program may be downloaded and installed from a network via communications device 409, or from storage 408, or from memory 402. The above-described functions defined in the method of the embodiment of the present application are performed when the computer program is executed by the processing means 401.
The computer readable storage medium of the present application may be a computer readable signal medium or a computer storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present application, however, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable storage medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable storage medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, fiber optic cables, RF (radio frequency), and the like, or any suitable combination of the foregoing.
The computer-readable storage medium may be contained in the electronic device; or may exist alone without being incorporated into the electronic device.
The computer-readable storage medium carries one or more programs which, when executed by the electronic device, cause the electronic device to perform the methods shown in the above-described embodiments.
Computer program code for carrying out operations of the present application may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a local area network (Local Area Network, LAN for short) or a wide area network (Wide Area Network, WAN for short), or may be connected to an external computer (e.g., through the internet using an internet service provider).
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules involved in the embodiments of the present application may be implemented in software or in hardware. The names of the units do not constitute limitations on the module itself in some cases, and for example, the information receiving module may also be described as "descriptive information receiving module".
The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: a Field Programmable Gate Array (FPGA), an Application Specific Integrated Circuit (ASIC), an Application Specific Standard Product (ASSP), a system on a chip (SOC), a Complex Programmable Logic Device (CPLD), and the like.
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 technical scheme of the component editing method in any of the above embodiments is implemented, and the implementation principle and the beneficial effects of the component editing method are similar to those of the component editing method, and can be seen, and the detailed description thereof is omitted herein.
In the context of the present application, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The application also provides a computer program product, which comprises a computer program, when the computer program is executed by a processor, the technical scheme of the component editing method in any of the above embodiments is realized, and the implementation principle and the beneficial effects of the method are similar to those of the component editing method, and can be seen, and the detailed description is omitted herein.
The above description is only illustrative of the preferred embodiments of the present application and of the principles of the technology employed. It will be appreciated by persons skilled in the art that the scope of the disclosure referred to in the present application is not limited to the specific combinations of technical features described above, but also covers other technical features formed by any combination of the technical features described above or their equivalents without departing from the spirit of the disclosure. Such as the above-mentioned features and the technical features disclosed in the present application (but not limited to) having similar functions are replaced with each other.
Other embodiments of the application will be apparent to those skilled in the art from consideration of the specification and practice of the application disclosed herein. This application is intended to cover any variations, uses, or adaptations of the application following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the application pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It is to be understood that the application is not limited to the precise arrangements and instrumentalities shown in the drawings, which have been described above, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (10)

1. A method of editing a component, comprising:
Receiving editing information sent by a configuration terminal, wherein the editing information corresponds to a target component, and the target component is any component;
Acquiring a target identifier of the target component;
Determining a component corresponding to the target identifier as a component to be modified;
And editing each component to be modified according to the editing information.
2. The method of claim 1, wherein editing each component to be modified according to the editing information comprises:
Editing the target component according to the editing information;
copying the content of the target component to each component to be modified.
3. The method of claim 1, further comprising, prior to said determining the component corresponding to the target identity as the component to be modified:
copying the target component to obtain a cloned component in response to receiving a copying instruction of the target component sent by the configuration terminal;
Acquiring a target identifier of the target component;
The target identity is associated with the cloning component.
4. A method according to claim 3, wherein said associating said target identity with said cloning component comprises:
Writing the target identification into the cloning component; or alternatively, the first and second heat exchangers may be,
And establishing a corresponding relation between the target identifier and the identifier of the cloning component.
5. The method of claim 3, further comprising, after said associating said target identity with said cloning component:
In response to receiving a selection instruction sent by a configuration terminal, determining a component corresponding to the selection instruction as a selected component;
determining the identification corresponding to the selected component as a selected identification;
if the identification corresponding to any existing component is the selected identification, determining the any existing component as a highlight component;
Highlighting the highlighting component.
6. The method according to any one of claims 1 to 5, further comprising, before said determining the component to which said target identity corresponds as the component to be modified:
receiving a selection instruction of at least two components sent by a configuration terminal;
Determining a component corresponding to the selected instruction as a selected component;
And adding the same identification to the selected component in response to receiving a trigger signal of the configuration terminal to the link button.
7. The method of claim 6, further comprising, after said adding the same identification to the selected component:
In response to receiving a selection instruction sent by a configuration terminal, determining a component corresponding to the selection instruction as a selected component;
determining the identification corresponding to the selected component as a selected identification;
if the identification corresponding to any existing component is the selected identification, determining the any existing component as a highlight component;
Highlighting the highlighting component.
8. A component editing apparatus, comprising:
the information receiving module is used for receiving editing information sent by the configuration terminal, wherein the editing information corresponds to a target component, and the target component is any component;
the identification acquisition module is used for acquiring the target identification of the target component;
the component determining module is used for determining the component corresponding to the target identifier as a component to be modified;
and the component editing module is used for editing each component to be modified according to the editing information.
9. An electronic device, comprising: a processor, and a memory communicatively coupled to the processor;
the memory stores computer-executable instructions;
The processor executes the computer-executable instructions stored in the memory, causing the processor to perform the component editing method of any of claims 1 to 7.
10. A computer readable storage medium having stored therein computer executable instructions which when executed by a processor are for implementing the component editing method of any of claims 1 to 7.
CN202311714347.8A 2023-12-13 2023-12-13 Component editing method, device, equipment and storage medium Pending CN118051216A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311714347.8A CN118051216A (en) 2023-12-13 2023-12-13 Component editing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311714347.8A CN118051216A (en) 2023-12-13 2023-12-13 Component editing method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN118051216A true CN118051216A (en) 2024-05-17

Family

ID=91050771

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311714347.8A Pending CN118051216A (en) 2023-12-13 2023-12-13 Component editing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN118051216A (en)

Similar Documents

Publication Publication Date Title
US11711441B2 (en) Method and apparatus for publishing video synchronously, electronic device, and readable storage medium
CN111399729A (en) Image drawing method and device, readable medium and electronic equipment
CN112073307B (en) Mail processing method, mail processing device, electronic equipment and computer readable medium
CN109491742B (en) Page table rendering method and device
CN111857720B (en) User interface state information generation method and device, electronic equipment and medium
CN113377366A (en) Control editing method, device, equipment, readable storage medium and product
CN111367516A (en) Application interface generation method and device and electronic equipment
CN111596991A (en) Interactive operation execution method and device and electronic equipment
CN111968648A (en) Voice recognition method and device, readable medium and electronic equipment
CN110806834A (en) Information processing method and device based on input method, electronic equipment and medium
CN111309304A (en) Method, device, medium and electronic equipment for generating IDL file
US20230401377A1 (en) Document creation method and apparatus, and device and storage medium
CN111756953A (en) Video processing method, device, equipment and computer readable medium
WO2023131263A1 (en) Group member adding method and apparatus, device, and medium
CN111752644A (en) Interface simulation method, device, equipment and storage medium
CN112307393A (en) Information issuing method and device and electronic equipment
CN118051216A (en) Component editing method, device, equipment and storage medium
CN114786069A (en) Video generation method, device, medium and electronic equipment
CN110472220B (en) Paste operation processing method and device, electronic equipment and computer-readable storage medium
CN113296771A (en) Page display method, device, equipment and computer readable medium
CN111538552A (en) Gift panel configuration method and device, readable medium and electronic equipment
CN111753238A (en) Data mapping method and device and electronic equipment
CN111787043A (en) Data request method and device
US20230409813A1 (en) Document processing method, apparatus and device, and medium
CN117151048A (en) Information processing method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination