CN115629741A - Method, device, equipment, medium and product for generating product structure tree - Google Patents

Method, device, equipment, medium and product for generating product structure tree Download PDF

Info

Publication number
CN115629741A
CN115629741A CN202211180792.6A CN202211180792A CN115629741A CN 115629741 A CN115629741 A CN 115629741A CN 202211180792 A CN202211180792 A CN 202211180792A CN 115629741 A CN115629741 A CN 115629741A
Authority
CN
China
Prior art keywords
product structure
structure tree
node
user
configuration information
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
CN202211180792.6A
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.)
China Construction Bank Corp
CCB Finetech Co Ltd
Original Assignee
China Construction Bank Corp
CCB Finetech Co Ltd
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 China Construction Bank Corp, CCB Finetech Co Ltd filed Critical China Construction Bank Corp
Priority to CN202211180792.6A priority Critical patent/CN115629741A/en
Publication of CN115629741A publication Critical patent/CN115629741A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application discloses a method, a device, equipment, a medium and a product for generating a product structure tree. The method comprises the steps that under the condition that a product structure tree editing interface is displayed, first input of a user for inputting a first product structure tree identifier is received; in response to the first input, obtaining a first product structure tree configuration information table identified with the first product structure tree, the first product structure tree configuration information table including the first product structure tree node configuration information; generating a first product structure tree according to the node configuration information of the first product structure tree; displaying the first product structure tree on the editing interface. According to the method and the device, the development efficiency of the product structure tree is improved, and the development cost of developers is reduced.

Description

Method, device, equipment, medium and product for generating product structure tree
Technical Field
The present application relates to the field of computer product development technologies, and in particular, to a method, an apparatus, a device, a medium, and a product for generating a product structure tree.
Background
With the rapid development of the information-based society, the modules and operations involved in the generation of the product structure tree of the system are more and more complex, and a good parameter configuration and operation are more and more important for the generation of the product structure tree.
In the related art, development of functional modules of an existing product structure tree requires a developer to develop gradually point by point, different codes are developed according to different product structure trees, development of personalized node expansion functions is not involved, and the development period of the product structure tree is long due to the fact that the codes are written repeatedly.
Therefore, the existing generation method of the product structure tree can cause low development efficiency and high development cost of the product structure tree, and users cannot perform personalized setting according to own requirements.
Disclosure of Invention
The embodiment of the application provides a method, a device, equipment, a medium and a product for generating a product structure tree, which can improve the development efficiency of the product structure tree, reduce the development cost and enable a user to perform personalized setting according to own requirements.
In a first aspect, an embodiment of the present application provides a method for generating a product structure tree, where the method includes:
under the condition that a product structure tree editing interface is displayed, receiving first input of a user for inputting a first product structure tree identifier;
in response to the first input, obtaining a first product structure tree configuration information table corresponding to the first product structure tree identifier, the first product structure tree configuration information table including first product structure tree node configuration information;
generating a first product structure tree according to the node configuration information of the first product structure tree;
and displaying the first product structure tree on the editing interface.
In a second aspect, an embodiment of the present application provides an apparatus for generating a product structure tree, where the apparatus includes:
the receiving module is used for receiving a first input of a user for inputting a first product structure tree identifier under the condition that a product structure tree editing interface is displayed;
an obtaining module, configured to obtain, in response to a first input, a first product structure tree configuration information table identified with a first product structure tree, the first product structure tree configuration information table including first product structure tree node configuration information;
the generation module is used for generating a first product structure tree according to the node configuration information of the first product structure tree;
and the display module is used for displaying the first product structure tree on the editing interface.
In a third aspect, an embodiment of the present application provides an electronic device, including:
a processor and a memory storing computer program instructions;
the steps of the method of generating a product structure tree as in the first aspect or any embodiment of the first aspect are implemented when the processor executes the computer program instructions.
In a fourth aspect, the present application provides a computer storage medium having computer program instructions stored thereon, where the computer program instructions, when executed by a processor, implement the steps of the method for generating a product structure tree as in the first aspect or any embodiment of the first aspect.
In a fifth aspect, the present application provides a computer program product, and when executed by a processor of an electronic device, the instructions of the computer program product cause the electronic device to perform the steps of the method for generating a product structure tree as in any embodiment of the first aspect.
Based on the method, the device, the equipment, the medium and the product for generating the product structure tree, the configuration table corresponding to the first product structure tree identification input by the user is obtained according to the first product structure tree identification, and then the structure tree is generated based on the node configuration information in the configuration table. The configuration information in the configuration table can be set individually by the user according to the requirement, so the method can generate the product structure tree meeting the individual requirement of the user based on the configuration table.
Therefore, based on the method, developers do not need to develop different codes according to different product structure trees, the development efficiency of the product structure trees is improved, and the development cost of the developers is reduced.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the embodiments of the present application will be briefly described below, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of a method for generating a product structure tree according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of another method for generating a product structure tree according to an embodiment of the present disclosure;
fig. 3 is a schematic flowchart of another method for generating a product structure tree according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a product structure tree generating device according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
Features of various aspects and exemplary embodiments of the present application will be described in detail below, and in order to make objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail below with reference to the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are intended to be illustrative only and are not intended to be limiting. It will be apparent to one skilled in the art that the present application may be practiced without some of these specific details. The following description of the embodiments is merely intended to provide a better understanding of the present application by illustrating examples thereof.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising … …" does not exclude the presence of another identical element in a process, method, article, or apparatus that comprises the element.
According to the technical scheme, the data acquisition, storage, use, processing and the like meet the relevant regulations of national laws and regulations.
At present, the development of functional modules of the existing product structure tree requires developers to develop gradually point by point, different codes are developed according to different product structure trees, the development of personalized node expansion functions is not involved, the writing of the codes is repeated for a large amount, and the development period of the product structure tree is long. The development efficiency of the product structure tree is low, the development cost is high, and a user cannot perform personalized setting according to the self requirement.
In order to solve the problem of the prior art, an embodiment of the present application provides a method for generating a product structure tree, where a configuration table corresponding to a first product structure tree identifier input by a user is obtained according to the first product structure tree identifier, and then a structure tree is generated based on node configuration information in the configuration table. The configuration information in the configuration table can be set individually by the user according to the requirements of the user, so that the method can generate the product structure tree meeting the individual requirements of the user based on the configuration table, and based on the method, developers do not need to develop different codes according to different product structure trees, the development efficiency of the product structure tree is improved, and the development cost of the developers is reduced.
The data annotation method provided in the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Fig. 1 is a schematic flow diagram of a method for generating a product structure tree according to an embodiment of the present disclosure, and as shown in fig. 1, the method for generating a product structure tree according to an embodiment of the present disclosure may include the following steps:
s110, receiving a first input of a user for inputting a first product structure tree identifier under the condition that a product structure tree editing interface is displayed;
s120, responding to the first input, and acquiring a first product structure tree configuration information table identified by a first product structure tree, wherein the first product structure tree configuration information table comprises first product structure tree node configuration information;
s130, generating a first product structure tree according to the node configuration information of the first product structure tree;
and S140, displaying the first product structure tree on the editing interface.
Therefore, according to the first product structure tree identification input by the user, the configuration table corresponding to the first product structure tree identification is obtained, and then the structure tree is generated based on the node configuration information in the configuration table. The configuration information in the configuration table can be set individually by the user according to the requirement, so the method can generate the product structure tree meeting the individual requirement of the user based on the configuration table.
Therefore, based on the method, developers do not need to develop different codes according to different product structure trees, the development efficiency of the product structure trees is improved, and the development cost of the developers is reduced.
Specific implementations of the above steps are described below.
In some embodiments, in S110, the first product structure tree identifier related to the embodiments of the present application is used to distinguish different product structure trees, and each product structure tree has a specific identifier.
As an example, for example, with the PJF front end framework, an editing interface may be generated and displayed based on the PJF front end framework, and an option for inputting the product structure tree identifier is displayed on the editing interface, so that the user may select or input the product structure tree identifier according to the option, so that in the case that the product structure tree editing interface is displayed, a first input of the user for inputting the first product structure tree identifier may be received.
In some embodiments, in S120, in response to the first input, a first product structure tree configuration information table of the first product structure tree identification may be retrieved.
As an example, in order to enable the user to generate the first product structure tree according to the personalized configuration of the user's own needs, the configuration information table of the product structure tree is configured in advance, the user may configure the configuration information of the product structure tree based on the configuration information table of the product structure tree, where all the node configuration information in the configuration information table may be used to configure the first product structure tree, and the node configuration information includes at least one of: node identification, node number, node hierarchy, superior node number, node sequence, node state, node display, node update time and node creation time.
The tree structure is verified according to the node hierarchy, such as a root node, a secondary node and a child node, or according to the node number and a superior node number, the node sequence is used for displaying the sequence of all nodes under the same node, and the condition that the nodes of the product structure tree are disordered is prevented.
There are two cases of node status, where "0" indicates that the node is abnormal and "1" indicates that the node is normal.
There are two cases of node display, where "0" indicates no display and "1" indicates display.
The update time and the creation time for the node may be generated according to the configuration or modification time of the node by the user.
The user configures the configuration information table of the product structure tree in advance according to the own requirement and stores the configuration information table in the database, so that the first product structure tree configuration information table identified by the first product structure tree can be acquired after responding to the first input.
Based on the first product structure tree configuration information table, different product structure tree identifications are provided, and a user can obtain the corresponding product structure tree configuration information table according to the identifications.
In some embodiments, in S130, the user generates the first product structure tree according to the node configuration information of the first product structure tree.
As an example, for example, the node configuration information table of the first product structure tree is stored in a database, and the first product structure tree can be dynamically generated by reading data in the database table.
In some embodiments, in S140, the first product structure tree is displayed on the editing interface.
As an example, after the configuration is completed and the first product structure tree is generated, the first product structure tree can be completely displayed in an editing interface so as to facilitate the subsequent personalized operation processing.
In order to further enrich the node configuration information of the product structure tree, the application also provides another implementation manner of the product structure tree generation method, and the following embodiments are specifically referred to.
As shown in fig. 2, the method includes, after S140, in addition to S110 to S140, the steps of:
s250, receiving the selected input of a user to a first node of the first product structure tree, wherein the first node is any node on the first product structure tree;
in some embodiments, for example, after displaying the first product structure tree on the editing interface, the user may see a plurality of nodes of the product structure tree, select any one of the nodes, and perform a personalized operation on the node.
S260, responding to the selected input, and displaying a user-defined configuration interface of the target node based on the URL of the target node;
in some embodiments, any node of the first product structure tree may configure a url link for personalized operation, and provide a personalized operation extension for each node, different url links correspond to different parameters of the url link, and a user may customize configuration parameters of the node according to own needs.
S270, receiving the editing input of a user to the custom configuration interface;
in some embodiments, after displaying the custom configuration interface of the target node based on the PJF front-end framework, the processor needs to receive user editing input on the custom configuration interface.
S280, responding to the editing input, and editing the configuration parameters of the target node;
in some embodiments, after receiving an instruction input by a user for editing the custom configuration interface, the processor may edit the target node according to its own requirement.
In order to present the personalized result to the user better, the personalized configuration of the target node by different users will produce different results, so before S140, the following steps are further included:
acquiring the authority of a user;
and displaying a first product structure tree of a structure corresponding to the authority on the editing interface according to the authority.
In some embodiments, for example, when any node of the first product structure tree is configured in a personalized manner, different users have different permissions, permission information of the users needs to be acquired, the visualization result is presented in a personalized manner, and after the permission information of the users is acquired, the first product structure tree corresponding to the permission information of the users can be displayed on an editing interface.
In order to further shorten the development period and the development flow of the product structure tree, the present application further provides another implementation manner of the product structure tree generation method, which is specifically referred to in the following embodiments.
Referring to fig. 3, the method includes, after S140, the following steps in addition to S110 to S140:
s350, receiving dragging input of a user to a second node of the first product structure tree, wherein the second node is any node on the first product structure tree;
in some embodiments, based on the PJF front-end page, the editing interface may be generated and displayed based on the PJF front-end frame, after the editing interface displays the first product structure tree, the processor receives a drag input instruction of a user for a second node, and the user may drag the second node according to a need of the user, where the second node is any node on the first product structure tree.
S360, responding to the dragging input, and adjusting the node level relation of the first product structure tree;
and S370, updating the structure of the first product structure tree based on the adjusted node hierarchical relation.
In some embodiments, in order to enable a user to drag a second node on the first product structure tree according to a need of the user, after receiving a drag input instruction, the processor may add or delete a tree node through manual operation by the user having the authority, adjust a node hierarchical relationship of the first product structure tree, update and store the adjusted product structure tree in the database.
Therefore, based on the PJF front-end framework, the first product structure tree is dragged on the editing interface, a user wants to slightly modify the first product structure tree, and the tree nodes of the first product structure tree can be modified by manual operation on the front-end page, so that the development period and the development process of the product structure tree are greatly shortened, the development efficiency of the product structure tree is improved, and the development cost of developers is reduced.
It should be noted that the application scenario described in the embodiment of the present application is for more clearly explaining the technical solution of the embodiment of the present application, and does not constitute a limitation on the technical solution provided in the embodiment of the present application. As can be known to those skilled in the art, with the emergence of new application scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
Based on the same inventive concept, the present application further provides a device for generating a product structure tree, which is specifically described in detail with reference to fig. 4.
Fig. 4 is a schematic structural diagram of a product structure tree generating device according to an embodiment of the present application.
As shown in fig. 4, the product structure tree generating apparatus 400 may include:
a receiving module 401, configured to receive a first input of a user for inputting a first product structure tree identifier when a product structure tree editing interface is displayed;
an obtaining module 402, configured to obtain, in response to a first input, a first product structure tree configuration information table identified with a first product structure tree, the first product structure tree configuration information table including first product structure tree node configuration information;
a generating module 403, configured to generate a first product structure tree according to node configuration information of the first product structure tree;
a display module 404, configured to display the first product structure tree on the editing interface.
Therefore, according to the first product structure tree identification input by the user, the configuration table corresponding to the first product structure tree identification is obtained, and then the structure tree is generated based on the node configuration information in the configuration table. The configuration information in the configuration table can be set individually by the user according to the requirement, so the method can generate the product structure tree meeting the individual requirement of the user based on the configuration table.
Therefore, based on the method, developers do not need to develop different codes according to different product structure trees, the development efficiency of the product structure trees is improved, and the development cost of the developers is reduced.
In some embodiments, to further enrich the node configuration information of the product structure tree, the product structure tree apparatus 400 may further include the following modules:
the first receiving module is used for receiving the selected input of a user to a first node of the first product structure tree after the first product structure tree is displayed on the editing interface, wherein the first node is any node on the first product structure tree;
a display module 404, further configured to respond to the selected input, and display a custom configuration interface of the target node based on a uniform resource locator URL of a user-defined configuration node parameter of the target node;
the second receiving module is used for receiving the editing input of the user to the user-defined configuration interface;
and the editing module is used for responding to the editing input and editing the configuration parameters of the target node.
In some embodiments, in order to present the personalized result to the user better, the product structure tree device 400 may further include the following modules:
an obtaining module 402, configured to obtain a right of a user;
the display module 404 is specifically configured to display, on the editing interface, the first product structure tree of the structure corresponding to the authority according to the authority.
In some embodiments, in order to further shorten the development period and process of the product structure tree, the product structure tree apparatus 400 may further include the following modules:
the receiving module 401 is configured to receive a drag input of a user to a second node of the first product structure tree after the first product structure tree is displayed on the editing interface, where the second node is any node on the first product structure tree;
the adjusting module is used for responding to dragging input and adjusting the node hierarchical relation of the first product structure tree;
and the updating module is used for updating the structure of the first product structure tree based on the adjusted node hierarchical relationship.
Therefore, according to the first product structure tree identification input by the user, the configuration table corresponding to the first product structure tree identification is obtained, and then the structure tree is generated based on the node configuration information in the configuration table. The configuration information in the configuration table can be set individually by the user according to the requirement, so the method can generate the product structure tree meeting the individual requirement of the user based on the configuration table.
Therefore, based on the method, developers do not need to develop different codes according to different product structure trees, the development efficiency of the product structure trees is improved, and the development cost of the developers is reduced.
Fig. 5 shows a schematic structural diagram of an electronic device provided in an embodiment of the present application.
The electronic device 500 may include a processor 501 and a memory 502 that stores computer program instructions.
Specifically, the processor 501 may include a Central Processing Unit (CPU), or an Application Specific Integrated Circuit (ASIC), or may be configured to implement one or more Integrated circuits of the embodiments of the present Application.
Memory 502 may include mass storage for data or instructions. By way of example, and not limitation, memory 502 may include a Hard Disk Drive (HDD), a floppy Disk Drive, flash memory, an optical Disk, a magneto-optical Disk, magnetic tape, or a Universal Serial Bus (USB) Drive or a combination of two or more of these. Memory 502 may include removable or non-removable (or fixed) media, where appropriate. The memory 502 may be internal or external to the integrated gateway disaster recovery device, where appropriate. In a particular embodiment, the memory 502 is non-volatile solid-state memory.
In a particular embodiment, the memory 502 includes Read Only Memory (ROM). Where appropriate, the ROM may be mask-programmed ROM, programmable ROM (PROM), erasable PROM (EPROM), electrically Erasable PROM (EEPROM), electrically rewritable ROM (EAROM), or flash memory, or a combination of two or more of these. The memory may include Read Only Memory (ROM), random Access Memory (RAM), magnetic disk storage media devices, optical storage media devices, flash memory devices, electrical, optical, or other physical/tangible memory storage devices. Thus, in general, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) encoded with software comprising computer-executable instructions and when the software is executed (e.g., by one or more processors), it is operable to perform operations described with reference to the methods according to an aspect of the present disclosure.
The processor 501 reads and executes the computer program instructions stored in the memory 502 to implement any one of the product structure tree generation methods in the above embodiments.
In one example, electronic device 500 may also include a communication interface 503 and a bus 510. As shown in fig. 5, the processor 501, the memory 502, and the communication interface 503 are connected to each other through a bus 510 to complete communication therebetween.
The communication interface 503 is mainly used for implementing communication between modules, apparatuses, units and/or devices in the embodiments of the present application.
The bus 510 includes hardware, software, or both that couple the components of the product structure tree device to each other. By way of example, and not limitation, a bus may include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a Hypertransport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an infiniband interconnect, a Low Pin Count (LPC) bus, a memory bus, a Micro Channel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a video electronics standards association local (VLB) bus, or other suitable bus or a combination of two or more of these. Bus 510 may include one or more buses, where appropriate. Although specific buses are described and shown in the embodiments of the application, any suitable buses or interconnects are contemplated by the application.
Illustratively, the electronic device 500 may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like.
The electronic device 500 may execute the method for generating the product structure tree in the embodiment of the present application, so as to implement the method and apparatus for generating the product structure tree described in conjunction with fig. 1 and 4.
In addition, in combination with the method for generating the product structure tree in the foregoing embodiment, the embodiment of the present application may provide a computer storage medium to implement the method. The computer storage medium having computer program instructions stored thereon; the computer program instructions, when executed by a processor, implement the method for generating a product structure tree of any of the above embodiments.
It is to be understood that the present application is not limited to the particular arrangements and instrumentality described above and shown in the attached drawings. A detailed description of known methods is omitted herein for the sake of brevity. In the above embodiments, several specific steps are described and shown as examples. However, the method processes of the present application are not limited to the specific steps described and illustrated, and those skilled in the art can make various changes, modifications, and additions or change the order between the steps after comprehending the spirit of the present application.
The functional blocks shown in the above-described structural block diagrams may be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, it may be, for example, an electronic circuit, an Application Specific Integrated Circuit (ASIC), suitable firmware, plug-in, function card, or the like. When implemented in software, the elements of the present application are the programs or code segments used to perform the required tasks. The program or code segments may be stored in a machine-readable medium or transmitted by a data signal carried in a carrier wave over a transmission medium or a communication link. A "machine-readable medium" may include any medium that can store or transfer information. Examples of a machine-readable medium include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, radio Frequency (RF) links, and so forth. The code segments may be downloaded via computer networks such as the internet, intranet, etc.
It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, the present application is not limited to the order of the above-described steps, that is, the steps may be performed in the order mentioned in the embodiments, may be performed in an order different from the order in the embodiments, or may be performed simultaneously.
Aspects of the present disclosure are described above with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the disclosure. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, enable the implementation of the functions/acts specified in the flowchart and/or block diagram block or blocks. Such a processor may be, but is not limited to, a general purpose processor, a special purpose processor, an application specific processor, or a field programmable logic circuit. It will also be understood 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 for performing the specified functions or acts, or combinations of special purpose hardware and computer instructions.
As described above, only the specific embodiments of the present application are provided, and it can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the system, the module and the unit described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again. It should be understood that the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive various equivalent modifications or substitutions within the technical scope of the present application, and these modifications or substitutions should be covered within the scope of the present application.

Claims (10)

1. A method for generating a product structure tree, the method comprising:
receiving a first input of a user for inputting a first product structure tree identifier under the condition that a product structure tree editing interface is displayed;
responding to the first input, and acquiring a first product structure tree configuration information table corresponding to the first product structure tree identification, wherein the first product structure tree configuration information table comprises node configuration information of the first product structure tree;
generating a first product structure tree according to the node configuration information of the first product structure tree;
and displaying the first product structure tree on the editing interface.
2. The method of claim 1, wherein the node configuration information comprises a Uniform Resource Locator (URL) for a user-defined configuration node parameter, and wherein after displaying the first product structure tree on the editing interface, the method further comprises:
receiving a user's selected input to a first node of the first product structure tree, the first node being any node on the first product structure tree;
in response to the selected input, displaying a custom configuration interface of the target node based on the URL of the target node;
receiving the editing input of the user to the user-defined configuration interface;
and responding to the editing input, and editing the configuration parameters of the target node.
3. The method of claim 1, wherein prior to displaying the first product structure tree on the editing interface, the method further comprises:
acquiring the authority of the user;
the displaying the first product structure tree on the editing interface includes:
and displaying a first product structure tree of a structure corresponding to the authority on the editing interface according to the authority.
4. The method of claim 1, wherein after displaying the first product structure tree on the editing interface, the method further comprises:
receiving a drag input of a user to a second node of the first product structure tree, wherein the second node is any node on the first product structure tree;
adjusting a node hierarchy of the first product structure tree in response to the drag input;
and updating the structure of the first product structure tree based on the adjusted node hierarchical relationship.
5. The method of claim 2, wherein the node configuration information further comprises at least one of: node identification, node number, node hierarchy, superior node number, node order, node state, node display, node update time, and node creation time.
6. An apparatus for generating a product structure tree, the apparatus comprising:
the receiving module is used for receiving a first input of a user for inputting a first product structure tree identifier under the condition that a product structure tree editing interface is displayed;
an obtaining module, configured to obtain, in response to the first input, a first product structure tree configuration information table identified with the first product structure tree, where the first product structure tree configuration information table includes the first product structure tree node configuration information;
the generating module is used for generating a first product structure tree according to the node configuration information of the first product structure tree;
and the display module is used for displaying the first product structure tree on the editing interface.
7. The apparatus of claim 6, wherein the node configuration information comprises a Uniform Resource Locator (URL) for a user-defined configuration node parameter, and wherein the apparatus further comprises:
a first receiving module, configured to receive a user's selected input to a first node of the first product structure tree after the first product structure tree is displayed on the editing interface, where the first node is any node on the first product structure tree;
the display module is used for responding to the selected input and displaying a customized personalized configuration interface of the target node based on the URL of the user customized configuration node parameter of the target node;
the second receiving module is used for receiving the editing input of the user to the user-defined configuration interface;
and the editing module is used for responding to the editing input and editing the configuration parameters of the target node.
8. An electronic device, characterized in that the electronic device comprises:
a processor and a memory storing computer program instructions; the processor, when executing the computer program instructions, implements a method of generating a product structure tree according to any of claims 1-5.
9. A computer storage medium, characterized in that the computer storage medium has stored thereon computer program instructions which, when executed by a processor, implement the method of generating a product structure tree according to any one of claims 1 to 5.
10. A computer program product, wherein instructions in the computer program product, when executed by a processor of an electronic device, enable the electronic device to perform the method of generating a product structure tree according to any one of claims 1 to 5.
CN202211180792.6A 2022-09-27 2022-09-27 Method, device, equipment, medium and product for generating product structure tree Pending CN115629741A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211180792.6A CN115629741A (en) 2022-09-27 2022-09-27 Method, device, equipment, medium and product for generating product structure tree

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211180792.6A CN115629741A (en) 2022-09-27 2022-09-27 Method, device, equipment, medium and product for generating product structure tree

Publications (1)

Publication Number Publication Date
CN115629741A true CN115629741A (en) 2023-01-20

Family

ID=84903819

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211180792.6A Pending CN115629741A (en) 2022-09-27 2022-09-27 Method, device, equipment, medium and product for generating product structure tree

Country Status (1)

Country Link
CN (1) CN115629741A (en)

Similar Documents

Publication Publication Date Title
CN108090198B (en) Graph database creating method, graph database creating device, graph database loading device, and graph database loading medium
CN105718534B (en) Information pushing apparatus, information pushing method and client
CN115222361A (en) Business process flow transfer method, device, equipment and computer storage medium
CN117454817B (en) Engineering processing method and device based on FPGA, electronic equipment and storage medium
CN115629741A (en) Method, device, equipment, medium and product for generating product structure tree
CN112947907A (en) Method for creating code branch
CN111949655A (en) Form display method and device, electronic equipment and medium
CN114677211A (en) Credit parameter updating method, apparatus, electronic device, medium, and program product
CN114095332A (en) Information processing method, device, equipment and computer storage medium
CN111835913B (en) Equipment information collection method, intelligent terminal, server and system
CN113328891A (en) Data communication method, device, equipment and storage medium
CN114648013A (en) Quotation creating method, system, equipment, medium and product
CN112579451A (en) Test method, device and equipment based on test element sequencing
CN115981621A (en) Page generation method, device, equipment, medium and product
CN117170548A (en) Page generation method, device, equipment, medium and program product
CN114090009A (en) Form field configuration method, device, equipment, medium and product
CN118170379A (en) Page display method, device, equipment, storage medium and program product
CN114418533A (en) Questionnaire processing method, apparatus, device, storage medium and computer program product
CN107404464B (en) Signaling decoding method and system
CN110874444B (en) URL conversion model building method and device and electronic equipment
CN115203207A (en) Data acquisition method, device, equipment, medium and product
CN114218917A (en) Chart report generation method, device, equipment, medium and program product
CN115859410A (en) Model management method and device
CN115936647A (en) Method, device, equipment and medium for generating personnel data management system
CN115374069A (en) Data storage and reading method and device

Legal Events

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