CN108563431B - Software development method and device, computer-readable storage medium and electronic equipment - Google Patents

Software development method and device, computer-readable storage medium and electronic equipment Download PDF

Info

Publication number
CN108563431B
CN108563431B CN201810364776.XA CN201810364776A CN108563431B CN 108563431 B CN108563431 B CN 108563431B CN 201810364776 A CN201810364776 A CN 201810364776A CN 108563431 B CN108563431 B CN 108563431B
Authority
CN
China
Prior art keywords
data
sub
service data
tree
root
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.)
Active
Application number
CN201810364776.XA
Other languages
Chinese (zh)
Other versions
CN108563431A (en
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.)
Aerospace Winhong Technology Guizhou Co ltd
Winhong Information Technology Co ltd
Original Assignee
Aerospace Winhong Technology Guizhou Co ltd
Winhong Information Technology 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 Aerospace Winhong Technology Guizhou Co ltd, Winhong Information Technology Co ltd filed Critical Aerospace Winhong Technology Guizhou Co ltd
Priority to CN201810364776.XA priority Critical patent/CN108563431B/en
Publication of CN108563431A publication Critical patent/CN108563431A/en
Application granted granted Critical
Publication of CN108563431B publication Critical patent/CN108563431B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design
    • G06F8/24Object-oriented
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the invention provides a software development method and a software development device. And then, at least one configuration file written by a developer is received, and the association of the at least one configuration file and the software front-end interface is realized, wherein the at least one configuration file comprises business logic codes for realizing the functions of the software front-end interface. For a developer, the developer only needs to classify various functions of a page to be developed, and then classification frame data is respectively filled in a database of a frame according to the classification, so that the frame can generate a software front-end interface of the page to be developed according to the filling of the developer and a service object tree encapsulated in the frame, and then the developer can write service logic codes of the page to be developed, wherein the functions of the page to be developed are to be realized, so that the functions of the page to be developed are realized.

Description

Software development method and device, computer-readable storage medium and electronic equipment
Technical Field
The invention relates to the technical field of software, in particular to a software development method, a software development device, a computer readable storage medium and electronic equipment.
Background
In an existing page development process, if a page is to be developed, a developer usually defines components (e.g., a text input box, a drop-down box, buttons, etc.) that the page needs to have according to a requirement of the page to be developed, for example, a drop-down box is defined first, then the developer writes codes corresponding to functions to be implemented by the drop-down box in the page, And then requests a background to obtain data of the drop-down box through Asynchronous JavaScript And XML (Asynchronous JavaScript And XML, abbreviated as Ajax).
In the existing development process, a large number of JavaScript service logic codes are introduced into a front-end page, such as page attribute generation verification, service control of an input box value, attribute hierarchy linkage, and the like, so that when one page is complex in function, the JavaScript service codes are gradually huge, the system is difficult to maintain in the later period, and the page response speed is also slowed down.
Disclosure of Invention
In view of the above, an object of the embodiments of the present invention is to provide a software development method, an apparatus, a computer-readable storage medium, and an electronic device.
In a first aspect, an embodiment of the present invention provides a software development method, where the method includes: receiving classification frame data input by a developer; generating a software front-end interface according to the classification frame data and the service object tree; receiving at least one configuration file written by a developer, and realizing the association of the at least one configuration file and the software front-end interface, wherein the at least one configuration file comprises business logic codes for realizing the functions of the software front-end interface.
Further, the construction method of the business object tree comprises the following steps: constructing a root node; constructing role nodes; and constructing the business object tree according to the root node and the role node.
Further, the constructing the root node includes: creating first service data; creating a first root business data manager; perfecting the first service data through supplementary data and quantity limiting processing to generate a first service data subtree; traversing a first service data subtree to perfect the first root service data manager; and recursively calling the first business data subtree and the first root business data manager so as to complete the construction of the root node.
Further, the constructing role nodes includes: adding sub-service data; calling the preprocessing of the superior object of the sub-service data in a recursive mode; perfecting the state data of the sub-service data; perfecting attributes and actions of the subordinate levels of the sub-service data and role instances of the subordinate levels; and completing the establishment of the component tree taking the sub-service data as a root, thereby completing the establishment of the role node.
In a second aspect, an embodiment of the present invention provides a software development apparatus, where the apparatus includes: the data receiving module is used for receiving the classified frame data input by the developer; the interface generating module is used for generating a software front-end interface according to the classified frame data and the business object tree; and the association establishing module is used for receiving at least one configuration file written by a developer and realizing the association between the at least one configuration file and the software front-end interface.
Further, the apparatus further comprises: the root node constructing module is used for constructing a root node; the role node construction module is used for constructing role nodes; and the object tree construction module is used for constructing the business object tree according to the root node and the role node.
Further, the root node constructing module comprises: the first business creating submodule is used for creating first business data; the first business manager submodule is used for creating a first root business data manager; the first service sub-tree generation sub-module is used for perfecting the first service data through supplementary data and quantity limiting processing to generate a first service data sub-tree; a data sub-tree traversal sub-module, configured to traverse the first service data sub-tree to complete the first root service data manager; and the recursive calling sub-module is used for recursively calling the first service data subtree and the first root service data manager so as to complete the construction of the root node.
Further, the role node construction module comprises: the sub-service data submodule is used for adding sub-service data; the preprocessing calling submodule is used for calling the preprocessing of the superior object of the sub-service data in a recursive mode; the state data submodule is used for perfecting the state data of the sub-service data; the instance perfecting submodule is used for perfecting the attributes and the actions of the subordinate levels of the sub-service data and the role instances of the subordinate levels; and the component tree building submodule is used for completing building of the component tree taking the sub-service data as a root so as to complete building of the role node.
In a third aspect, the present invention provides a computer-readable storage medium, in which computer instructions are stored, and when executed, the computer instructions perform the above-mentioned method.
In a fourth aspect, an embodiment of the present invention provides an electronic device, including: a processor, a computer readable storage medium having stored therein computer instructions which, when read and executed by the processor, perform the method described above.
The embodiment of the invention has the beneficial effects that:
the embodiment of the invention provides a software development method and a software development device. And then, at least one configuration file written by a developer is received, and the association of the at least one configuration file and the software front-end interface is realized, wherein the at least one configuration file comprises business logic codes for realizing the functions of the software front-end interface. For developers, the developers only need to classify various functions of the page to be developed, and then respectively fill classified frame data in a database of a frame according to the classification, the frame can generate a software front-end interface of the page to be developed according to the filling of the developers and a service object tree packaged in the frame, and then the developers can write service logic codes of the page to be developed, wherein the functions of the page to be developed are to be realized, so that the association between the software front-end interface and a background is completed, the functions of the page to be developed are to be realized, and the software development is completed.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the embodiments of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
FIG. 1 shows a schematic diagram of a front-end software interface;
FIG. 2 is a flowchart of a software development method according to an embodiment of the present invention;
fig. 3 is a flowchart of a method for constructing a business object tree according to an embodiment of the present invention;
FIG. 4 is a diagram illustrating the detailed steps of step S210 in FIG. 3;
FIG. 5 is a schematic diagram illustrating a detailed step of step S220 in FIG. 3;
fig. 6 is a schematic structural block diagram of a software development apparatus according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of a software front-end interface developed by the software development method according to the embodiment of the present invention;
fig. 8 is a schematic diagram of a specific structure of a business object tree.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present invention, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
Existing developers usually develop software by using computers, the computers are usually installed with Java development Management Information Systems (MIS), the back end of the systems mostly adopts SSH (Struts2+ Spring + Hibernate) or SSM (Struts2+ Spring + mybasic), and the front end mostly adopts JavaScript and Jquery Easy UI.
In an existing page development process, if a page is to be developed, a developer usually defines components (e.g., a text input box, a drop-down box, buttons, etc.) that the page needs to have according to a requirement of the page to be developed, for example, a button is defined first, then the developer writes a code corresponding to a function to be implemented by the button on the page, And then requests a background to obtain data of the button through Asynchronous JavaScript And XML (Asynchronous JavaScript And XML, abbreviated as Ajax).
Referring to fig. 1, for example, when a developer wants to develop a page as shown in fig. 1, components such as a "physical host IP" input box, a "user name" input box, a "password" input box, and a "host discovery" button in the page need to be defined on the page one by one, and then codes corresponding to functions to be implemented by the input box components and the button components are written on the page, for example, JavaScript is used to limit that only chinese characters can be filled in the "user name" input box, and only numbers and english letters can be filled in the "password" input box.
Because the codes corresponding to the functions to be realized by each component are written on the page, a large amount of codes are introduced into the page at the front end, so that the system is difficult to maintain at the later stage, and the response speed of the page is slow.
In order to solve the above technical problems, embodiments of the present application provide a software development method and a software development system, which will be described in detail below with reference to the accompanying drawings.
Referring to fig. 2, fig. 2 is a flowchart of a software development method according to an embodiment of the present invention, where the method includes the following steps:
and step S110, receiving the classification frame data input by the developer.
When developing the page to be realized, the developer can classify the page to be realized, and then fill the classified frame data in the database of the frame in sequence. Referring to fig. 7, if a developer wants to develop a page as shown in fig. 7, the developer may first classify components to be implemented, for example, the page "find physical host" may be used as a specification component, and the "virtualization platform" input box, the "physical host" input box, the "user name" input box, and the "password" input box may be used as attribute components; with the "find host" button as an action component, the categorized specification component, attribute component, and action component may be referred to as categorized frame data.
Wherein the classified types include: a component (Cmp), a Node (Node), a Role (Role), a specification (Spec), a property (Attr), an Action (Action), an Event (Event), a globally unique identifier (full _ id), an application level object (IApp), a session level object (Isession), and an Event processing object (EventMng).
Assembly (Cmp): a component is a core concept in a framework, all business objects are derived from the component (Cmp), a specification is a component, an attribute is a component, a button is a component, a description of one object is also a component, and a business rule itself is also componentized.
Node (Node): the nodes are important components in the object tree, and the node type templates on the object tree comprise specifications, roles, combined specifications, combined roles and the like. The nodes may have attributes, actions, subordinate nodes, etc.
Role (Role): the role is mainly used for function division in the object tree, and when the business object has a plurality of function points, a plurality of roles can be defined.
Specification (Spec): under role nodes, there are usually multiple specification nodes, business data (VO, i.e. mapping object of a library table) needs to be instantiated through specification, different specification data is defined for different business data, and personalized codes are written in specification classes.
Attribute (Attr): under the specification node, the model object can be converted into a plurality of attributes, and the acquisition, the change and the verification of the fields are all completed through the attributes.
Action (Action): in addition to the attribute's own actions, such as adding a new row of records, deleting a row of records is usually done by action.
Event (Event): in addition to providing attributes, actions to handle changes to the model data, an event listening mechanism is also provided. Before and after VO addition, attribute change allows writing of event processor and intervention processing of model data.
Globally unique identification (full _ id): in both the component and the component instance, there will be a globally unique identifier for facilitating the location of the desired object.
Application level object (IApp): IApp is a singleton object, and there is only one in the JVM instance for storing component (specification) data, reducing the number of reloads.
Session level object (isossing): corresponding to the SESSION objects of the WEB container one by one, and only one corresponding ISession is started for the existence of component (instance) data.
Event processing object (EventMng): event correlation and triggering of the corresponding processor are performed through this object, and EventMng also has a localized class processing object, EventMng _ LOCAl, that is placed on the same packet path by convention.
The developer can divide the functions of the page to be developed into one or more of the above components according to the needs.
Then, the developers fill in the classified frame data obtained after classification into a table preset by the frame. For example, for the "find physical host" specification component, the developer can fill it in the following table:
Figure BDA0001635817620000071
Figure BDA0001635817620000081
for the four attribute components of the "virtualization platform" input box, the "physical host" input box, the "user name" input box, and the "password" input box, the developer can fill them in the following table:
ATTR_ID ROLE_ID ATTR_TYPE TABLE_NAME FIELE_NAME ATTR_NAME
100 1000 Input Ws_host user user name
101 1000 Password Ws_host password Cipher code
102 1000 ip Ws_host ip Host IP
That is, the form is preset and given by the frame, and the developer needs to classify the components of the page to be developed first, and then fill the corresponding components into the form preset by the frame according to the classification.
And step S120, generating a software front-end interface according to the classification frame data and the business object tree.
After receiving the classification frame data input by the developer, the framework may generate a software front-end interface according to the business object tree and the classification frame data, as shown in fig. 7, the developer fills the contents filled in the form preset in the framework, and may generate the software front-end interface shown in fig. 7 under the action of the business object tree.
Compared with the existing mode that the front-end interface components need to be defined and drawn one by one, the software front-end interface can be generated quickly, and development efficiency is improved.
Referring to fig. 3, fig. 3 shows a method for constructing a business object tree, which includes:
step S210, a root node is constructed.
Referring to fig. 4, fig. 4 shows a schematic diagram of specific steps of step S210, and the specific steps of constructing the root node are as follows:
step S211, creating first service data.
Step S212, a first root business data manager is created.
The first root business data manager may manipulate the first business data.
Step S213, perfecting the first service data through the supplementary data and quantity limiting processing, and generating a first service data sub-tree.
The created first service data is not complete enough, so the first service data needs to be complete by means of supplementary data and quantity limitation processing, so as to generate a first service data sub-tree.
Step S214, traverse the first service data sub-tree, and complete the first root service data manager.
After the first business data sub-tree is generated, the first root business data manager is completed by traversing the first business data sub-tree.
Step S215, recursively invoking the first service data subtree and the first root service data manager, thereby completing the construction of the root node.
The number of the first service data may be multiple, and one first service data may be created first, and then the first service data is subjected to data supplement and number limitation processing, so that the first service data is complete, a first service data sub-tree is generated, and then the first service data sub-tree is traversed, so that the first root service data manager is complete. Subsequently, other first business data can be constructed by recursively calling the first business data subtree, and the first root business data manager gradually completes the construction of the first root business data manager along with the recursive calling of the first business data subtree, so that the construction of the root node is completed.
For example, the a service data may be created first, and the a service data is supplemented completely to generate an a service data sub-tree, and then the a service data sub-tree is traversed to generate an a' root service data manager. And then, the construction of a B service data subtree, a C service data subtree, a D service data subtree and an E service data subtree is completed by recursively calling the A service data subtree, and then a B 'root service data manager, a C' root service data manager, a D 'root service data manager and an E' root service data manager are generated, so that the construction of a root node is completed.
The source code of the root node establishment mode is as follows:
Figure BDA0001635817620000091
Figure BDA0001635817620000101
step S220, a role node is constructed.
Referring to fig. 5, fig. 5 shows a schematic diagram of specific steps of step S220, which specifically includes the following steps:
step S221, adding sub-service data.
Step S222, calling the preprocessing of the upper-level object of the sub-service data in a recursive manner.
And step S223, perfecting the state data of the sub-service data.
And step S224, perfecting the attributes, the actions and the role instances of the lower level of the sub-service data.
Step S225, completing the establishment of the component tree using the sub-service data as a root, thereby completing the establishment of the role node.
The source code of the role node establishment mode is as follows:
Figure BDA0001635817620000102
Figure BDA0001635817620000111
step S230, building the service object tree according to the root node and the role node.
The service tree formed by the root node may be directly connected to the service tree formed by the role node, please refer to fig. 8, and fig. 8 shows a specific structure of the service object tree, specifically, a in fig. 8 may be the root node, B may be the role node, and F may be the attribute node and the specification node. The root node, role node, and attribute node may be the same structure, the only difference may be that each structure has a corresponding field identification to indicate that the structure is a role or attribute.
Step S130, receiving at least one configuration file written by a developer, and implementing association between the at least one configuration file and the software front-end interface, where the at least one configuration file includes a business logic code implementing a function of the software front-end interface.
The software front-end interface generated by the framework does not have corresponding functions, and developers need to write business logic codes corresponding to the functions to be realized by the software front-end interface in a configuration file, so that the association between the configuration file and the software front-end interface is realized. For example, for the option of a user name input box, a dialog box for checking whether the format of the input value is Chinese characters or not can be written, and if not, a 'input format error' dialog box can be popped up. Developers do not need to write and modify any code on a software front-end interface, and only need to write and modify the code in the background, so that the logic of the whole service is moved backwards.
The software development method provided by the embodiment of the application can realize the configuration of the front-end interface of the software, and particularly, after the developer fills in the completion content in the form corresponding to the component of the corresponding type, the framework can automatically generate the corresponding interface; developers only need to write the service logic codes corresponding to the functions realized by the components in the background, and the backward movement of the service logic is realized. Based on the framework, the differences existing between different identity logics and interface requirements can be uniformly supported and managed in a modularized mode, the development amount is reduced, and the cost is controlled. And based on the framework provided by the software development method provided by the embodiment of the application, the data on the interface can be reduced, and the opening and response speeds of the interface are improved.
Referring to fig. 6, fig. 6 shows a software development apparatus provided in an embodiment of the present application, where the apparatus 300 includes:
and the data receiving module 310 is used for receiving the classification frame data input by the developer.
And an interface generating module 320, configured to generate a software front-end interface according to the classification frame data and the service object tree.
And the association establishing module 330 is configured to receive at least one configuration file written by a developer, and implement association between the at least one configuration file and the software front-end interface.
The device further comprises: the root node constructing module is used for constructing a root node; the role node construction module is used for constructing role nodes; and the object tree construction module is used for constructing the business object tree according to the root node and the role node.
The root node building module comprises: the first business creating submodule is used for creating first business data; the first business manager submodule is used for creating a first root business data manager; the first service sub-tree generation sub-module is used for perfecting the first service data through supplementary data and quantity limiting processing to generate a first service data sub-tree; a data sub-tree traversal sub-module, configured to traverse the first service data sub-tree to complete the first root service data manager; and the recursive calling sub-module is used for recursively calling the first service data subtree and the first root service data manager so as to complete the construction of the root node.
The role node construction module comprises: the sub-service data submodule is used for adding sub-service data; the preprocessing calling submodule is used for calling the preprocessing of the superior object of the sub-service data in a recursive mode; the state data submodule is used for perfecting the state data of the sub-service data; the instance perfecting submodule is used for perfecting the attributes and the actions of the subordinate levels of the sub-service data and the role instances of the subordinate levels; and the component tree building submodule is used for completing building of the component tree taking the sub-service data as a root so as to complete building of the role node.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working process of the apparatus described above may refer to the corresponding process in the foregoing method, and will not be described in too much detail herein.
The embodiment of the invention provides a software development method and a software development device. And then, at least one configuration file written by a developer is received, and the association of the at least one configuration file and the software front-end interface is realized, wherein the at least one configuration file comprises business logic codes for realizing the functions of the software front-end interface. For developers, the developers only need to classify various functions of the page to be developed, and then respectively fill classified frame data in a database of a frame according to the classification, the frame can generate a software front-end interface of the page to be developed according to the filling of the developers and a service object tree packaged in the frame, and then the developers can write service logic codes of the page to be developed, wherein the functions of the page to be developed are to be realized, so that the association between the software front-end interface and a background is completed, the functions of the page to be developed are to be realized, and the software development is completed.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present invention. 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.
In addition, the functional modules in the embodiments of the present invention may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention. It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
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 an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.

Claims (6)

1. A software development method applied to a software development apparatus, the method comprising:
receiving classification frame data input by a developer; the classification frame data includes: the classified specification component, attribute component and action component;
generating a software front-end interface according to the classification frame data and the service object tree;
receiving at least one configuration file written by a developer, and realizing the association of the at least one configuration file and the software front-end interface, wherein the at least one configuration file comprises business logic codes for realizing the functions of the software front-end interface;
wherein, the generating a software front-end interface according to the classification frame data and the service object tree includes: filling the classified frame data obtained after classification into a table preset by the frame, and generating a software front-end interface by combining a service object tree;
the construction method of the business object tree comprises the following steps: constructing a root node; constructing role nodes; constructing the business object tree according to the root node and the role node;
the constructing the root node includes: creating first service data; creating a first root business data manager; perfecting the first service data through supplementary data and quantity limiting processing to generate a first service data subtree; traversing the first service data subtree to perfect the first root service data manager; and recursively calling the first business data subtree and the first root business data manager so as to complete the construction of the root node.
2. The method of claim 1, wherein constructing the role node comprises:
adding sub-service data;
calling the preprocessing of the superior object of the sub-service data in a recursive mode;
perfecting the state data of the sub-service data;
perfecting attributes and actions of the subordinate levels of the sub-service data and role instances of the subordinate levels;
and completing the establishment of the component tree taking the sub-service data as a root, thereby completing the establishment of the role node.
3. A software development apparatus, characterized in that the apparatus comprises:
the data receiving module is used for receiving the classified frame data input by the developer; the classification frame data includes: the classified specification component, attribute component and action component;
the interface generating module is used for generating a software front-end interface according to the classified frame data and the business object tree; the step of generating a software front-end interface according to the classification frame data and the business object tree includes: filling the classified frame data obtained after classification into a table preset by the frame, and generating a software front-end interface by combining a service object tree;
the association establishing module is used for receiving at least one configuration file written by a developer and realizing the association between the at least one configuration file and the software front-end interface; the at least one configuration file comprises business logic code for realizing the function of the software front-end interface;
further comprising: the root node constructing module is used for constructing a root node; the root node building module comprises: the first business creating submodule is used for creating first business data; the first business manager submodule is used for creating a first root business data manager; the first service sub-tree generation sub-module is used for perfecting the first service data through supplementary data and quantity limiting processing to generate a first service data sub-tree; a data sub-tree traversal sub-module, configured to traverse the first service data sub-tree to complete the first root service data manager; a recursive calling sub-module, configured to recursively call the first service data sub-tree and the first root service data manager, so as to complete construction of the root node;
the role node construction module is used for constructing role nodes;
and the object tree construction module is used for constructing the business object tree according to the root node and the role node.
4. The apparatus of claim 3, wherein the role node construction module comprises:
the sub-service data submodule is used for adding sub-service data;
the preprocessing calling submodule is used for calling the preprocessing of the superior object of the sub-service data in a recursive mode;
the state data submodule is used for perfecting the state data of the sub-service data;
the instance perfecting submodule is used for perfecting the attributes and the actions of the subordinate levels of the sub-service data and the role instances of the subordinate levels;
and the component tree building submodule is used for completing building of the component tree taking the sub-service data as a root so as to complete building of the role node.
5. A computer-readable storage medium having stored thereon computer instructions which, when executed, perform the method of any one of claims 1-2.
6. An electronic device, comprising: a processor, a computer readable storage medium having stored therein computer instructions which, when read and executed by the processor, perform the method of any of claims 1-2.
CN201810364776.XA 2018-04-20 2018-04-20 Software development method and device, computer-readable storage medium and electronic equipment Active CN108563431B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810364776.XA CN108563431B (en) 2018-04-20 2018-04-20 Software development method and device, computer-readable storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810364776.XA CN108563431B (en) 2018-04-20 2018-04-20 Software development method and device, computer-readable storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN108563431A CN108563431A (en) 2018-09-21
CN108563431B true CN108563431B (en) 2021-09-10

Family

ID=63536303

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810364776.XA Active CN108563431B (en) 2018-04-20 2018-04-20 Software development method and device, computer-readable storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN108563431B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110308904B (en) * 2019-05-30 2024-02-02 杭州微时信息技术有限公司 Aggregation method and device for multi-type front-end frames and computer equipment
CN110275701B (en) * 2019-06-19 2023-05-23 网易传媒科技(北京)有限公司 Data processing method, device, medium and computing equipment
CN111045675B (en) * 2019-12-20 2023-06-06 深圳乐信软件技术有限公司 Page generation method, device, equipment and storage medium based on Flutter
CN111427560B (en) * 2020-02-27 2022-05-20 平安医疗健康管理股份有限公司 Method and device for creating visualization of rule code and computer equipment
CN113495839A (en) * 2020-04-08 2021-10-12 百度在线网络技术(北京)有限公司 Test page generation method and device, electronic equipment and storage medium
CN116931889B (en) * 2023-09-18 2023-12-12 浙江工企信息技术股份有限公司 Software modeling method and system based on object tree
CN117270825A (en) * 2023-10-25 2023-12-22 苏州工业职业技术学院 Flexible software development method and suite for industrial complex business requirements

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101699393A (en) * 2009-10-09 2010-04-28 中国电子科技集团公司第二十八研究所 Intelligent software interface dynamic generation method facing network
CN102541561A (en) * 2011-12-29 2012-07-04 广州杰赛科技股份有限公司 Method for developing configuration type software and device
CN107908390A (en) * 2017-10-12 2018-04-13 武汉中地数码科技有限公司 A kind of extended method and system of WebGIS applications

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140316841A1 (en) * 2013-04-23 2014-10-23 Kofax, Inc. Location-based workflows and services
CN103488479A (en) * 2013-09-04 2014-01-01 用友软件股份有限公司 Dynamic generating device for client end interface and dynamic generating method for client end interface
CN104267941B (en) * 2014-09-18 2018-01-23 用友优普信息技术有限公司 The method and device of dynamic generation response type webpage

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101699393A (en) * 2009-10-09 2010-04-28 中国电子科技集团公司第二十八研究所 Intelligent software interface dynamic generation method facing network
CN102541561A (en) * 2011-12-29 2012-07-04 广州杰赛科技股份有限公司 Method for developing configuration type software and device
CN107908390A (en) * 2017-10-12 2018-04-13 武汉中地数码科技有限公司 A kind of extended method and system of WebGIS applications

Also Published As

Publication number Publication date
CN108563431A (en) 2018-09-21

Similar Documents

Publication Publication Date Title
CN108563431B (en) Software development method and device, computer-readable storage medium and electronic equipment
US11650970B2 (en) Extracting structure and semantics from tabular data
US7912826B2 (en) Apparatus, computer program product, and method for supporting construction of ontologies
US10419568B2 (en) Manipulation of browser DOM on server
US10977031B2 (en) Method for a software development system
CN112650533B (en) Interface document generation method and device and terminal equipment
US10885087B2 (en) Cognitive automation tool
CN110705237A (en) Automatic document generation method, data processing device, and storage medium
CN102622219A (en) Method, device and system for rendering execution result of dynamic transfer service
US20190188297A1 (en) Automatic core data service view generator
CN110347984B (en) Policy page changing method and device, computer equipment and storage medium
CN116360879A (en) Method and device for creating multi-level information framework
CN112035555B (en) Information display method, device and equipment
CN113572630A (en) Method and device for generating network configuration information, electronic equipment and medium
US11163959B2 (en) Cognitive predictive assistance for word meanings
US11847443B2 (en) Constraints-based refactoring of monolith applications through attributed graph embeddings
US20220309276A1 (en) Automatically classifying heterogenous documents using machine learning techniques
CN114490578A (en) Data model management method, device and equipment
CN115248891A (en) Page display method and device, electronic equipment and storage medium
US10067749B2 (en) Generating consumer-oriented APIs from a UI model
Dhar et al. Learning from prototypes
CN110780996B (en) Process optimization method and device, storage medium and computer equipment
CN110908647B (en) Building block type programmed object variable presenting method, device, terminal and storage medium
US9824170B1 (en) Message filtering for electronic design automation systems
Sobecki XML-based interface model for socially adaptive web-based systems user interfaces

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
GR01 Patent grant
GR01 Patent grant