CN116578281B - Webpage development method, system, electronic equipment and storage medium based on code package - Google Patents

Webpage development method, system, electronic equipment and storage medium based on code package Download PDF

Info

Publication number
CN116578281B
CN116578281B CN202310855065.3A CN202310855065A CN116578281B CN 116578281 B CN116578281 B CN 116578281B CN 202310855065 A CN202310855065 A CN 202310855065A CN 116578281 B CN116578281 B CN 116578281B
Authority
CN
China
Prior art keywords
code
package
function
built
target
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
CN202310855065.3A
Other languages
Chinese (zh)
Other versions
CN116578281A (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.)
Jiangxi Financial Development Group Co ltd
Jiangxi Hanchen Information Technology Co ltd
Jiangxi Huazhang Hanchen Financing Guarantee Group Co ltd
Jiangxi Inclusive Financial Technology Research Institute
Jiangxi Jinfa Financial Information Service Co ltd
Shenzhen Jingfa Technology Holding Co ltd
Original Assignee
Jiangxi Financial Development Group Co ltd
Jiangxi Hanchen Information Technology Co ltd
Jiangxi Huazhang Hanchen Financing Guarantee Group Co ltd
Jiangxi Inclusive Financial Technology Research Institute
Shenzhen Jingfa Technology Holding Co ltd
Jiangxi Jinfa Financial Information Service 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 Jiangxi Financial Development Group Co ltd, Jiangxi Hanchen Information Technology Co ltd, Jiangxi Huazhang Hanchen Financing Guarantee Group Co ltd, Jiangxi Inclusive Financial Technology Research Institute, Shenzhen Jingfa Technology Holding Co ltd, Jiangxi Jinfa Financial Information Service Co ltd filed Critical Jiangxi Financial Development Group Co ltd
Priority to CN202310855065.3A priority Critical patent/CN116578281B/en
Publication of CN116578281A publication Critical patent/CN116578281A/en
Application granted granted Critical
Publication of CN116578281B publication Critical patent/CN116578281B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/31Programming languages or programming paradigms
    • G06F8/315Object-oriented languages

Landscapes

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

Abstract

The application provides a webpage development method, a system, electronic equipment and a storage medium based on a code package, and belongs to the technical field of system function development. Splitting a function request to be built to obtain a code module taking a code method package as a minimum unit, and calling a target function flow frame corresponding to the code module from a preset function flow frame library; selecting an object code package required by a function request to be built from a preset code package library based on an object function flow framework, and obtaining a corresponding configuration code package by carrying out parameterization configuration on the object code package; and combining the configuration code packages by adopting POM engineering of Maven to obtain the target system function which has corresponding application with the function request to be built. The application can directly pass code packages on pages based on the frame technology, and realize the target system function through the combination of the code packages, thereby saving development time and cost and improving the flexibility and the adaptation capability of the system.

Description

Webpage development method, system, electronic equipment and storage medium based on code package
Technical Field
The application belongs to the technical field of system function development, and particularly relates to a webpage development method, a system, electronic equipment and a storage medium based on a code package.
Background
20% of the functions in a web page are special, 80% of the functions are conventional, and the operation mode is also conventional. Programmers often have to spend a great deal of time copying, pasting, modifying, and page development is slow. For example, the way pages are manually developed is to develop corresponding pages for different scenarios, most of which are scenario-based custom developments, with each scenario being useful for much the same content. That is, a large amount of similar content needs to be developed in the flow of page development.
At present, the interface of an external provider or a channel provider needs to be docked in a webpage layer, and the system is often required to be modified and upgraded according to the condition of the interface of the opposite side so as to realize automatic docking. However, most of the interfacing is a code level operation without a page, and most of the direct writing codes require repeated issuing if interface variation occurs, so that updating or upgrading can be realized, but the operation configuration on the page cannot be performed. Meanwhile, if the original codes are updated frequently, the original codes are required to be modified directly, so that the maintenance difficulty is high.
Therefore, how to flexibly combine and configure the common code packets to meet the continuously changing function demands of users by improving the multiplexing rate of the code packets, and further reduce the development period and development cost is a subject to be solved by those skilled in the art.
Disclosure of Invention
In order to solve the technical problems, the application provides a webpage development method, a system, electronic equipment and a storage medium based on a code package, wherein the code package is directly transferred on a webpage based on a frame technology, and a target system function is realized through the combined configuration of the code package, so that development time and cost are saved, the flexibility and adaptation capability of the webpage are improved, and the original content can be preserved and the webpage is easy to maintain.
In a first aspect, the present application provides a method for developing a web page based on a code package, including:
disassembling the flow nodes obtained by modularized splitting of the function request to be built to obtain a code module taking the code method package as the minimum unit; wherein, the code method package at least comprises an identifier or a standard structure for matching the functional framework flow nodes; the code method package ensures the practicability of the code method package through a preset naming rule, wherein the preset naming rule is an entity name+a function+a control abbreviation name;
retrieving a target function flow frame corresponding to a result required by the function request to be built from a preset function flow frame library;
selecting a target code package required by the function request to be built from a preset code package library based on the identifier or the standard structure and according to the target function flow framework;
the corresponding configuration code package is obtained through carrying out model parameterization configuration on the object code package subjected to loading processing;
and combining the configuration code packages by adopting POM engineering of Maven to obtain the target system function which has corresponding application with the function request to be built.
Preferably, the process node obtained by modularized splitting for the function request to be built is disassembled to obtain a code module taking a code method package as a minimum unit; the step of at least including an identifier or a standard structure for matching the functional framework flow node in the code method packet specifically includes:
defining actual development logic and detailed design based on the function request to be built, which is edited based on the related development requirements;
carrying out modularized splitting according to the development logic and the detailed design to obtain a plurality of corresponding flow nodes;
and disassembling the functions to be realized in the flow nodes to obtain code method packages corresponding to the function requests to be built.
Preferably, the step of retrieving the target function flow frame corresponding to the result required by the function request to be built from the preset function flow frame library specifically includes:
searching whether a target function flow frame corresponding to a result required by the function request to be built exists in a preset function flow frame library;
if not, frame combination or new addition is carried out according to the function request to be built to obtain a target function flow frame, the target function flow frame is added into the preset function flow frame library, and then the target function flow frame is called from the preset function flow frame library;
if yes, the target function flow frame is directly called from the preset function flow frame library.
Preferably, the step of selecting the target code package required by the to-be-built function request from a preset code package library based on the identifier or the standard structure and according to the target function flow framework specifically includes:
displaying an application item corresponding to the identifier or the standard structure based on the identifier or the standard structure;
acquiring corresponding identification information from the application item according to the target function flow frame;
determining a plurality of code packages matched with the identification information in a preset code package library;
and selecting an object code packet from the plurality of code packets according to the functional framework flow node.
Preferably, the step of obtaining the corresponding configuration code packet by performing model parameterized configuration on the object code packet subjected to loading processing specifically includes:
according to the content of the target function flow frame, calling a corresponding method loading attribute and event for the target code packet;
and carrying out corresponding parameter configuration on the object code package loaded with the attribute and the event to obtain a configuration code package.
Preferably, the target function flow framework is specifically java engineering, and a plurality of configuration code packages can be aggregated by calling jar packages based on a framework technology.
In a second aspect, the present application provides a web page development system based on a code package, including:
the disassembly module is used for disassembling the flow nodes obtained by modularized disassembly of the function request to be built to obtain a code module taking the code method package as the minimum unit; wherein, the code method package at least comprises an identifier or a standard structure for matching the functional framework flow nodes; the code method package ensures the practicability of the code method package through a preset naming rule, wherein the preset naming rule is an entity name+a function+a control abbreviation name;
the calling module is used for calling a target function flow frame corresponding to the result required by the function request to be built from a preset function flow frame library;
the selecting module is used for selecting the target code package required by the function request to be built from a preset code package library based on the identifier or the standard structure and according to the target function flow framework;
the configuration module is used for obtaining a corresponding configuration code packet by carrying out model parameterization configuration on the object code packet subjected to the loading processing;
and the combining module is used for combining the configuration code packages by adopting POM engineering of Maven to obtain the target system function which has corresponding application with the function request to be built.
Preferably, the disassembling module includes:
the definition unit is used for defining actual development logic and detailed design based on the function request to be built, which is edited based on the related development requirements;
the splitting unit is used for carrying out modularized splitting according to the development logic and the detailed design to obtain a plurality of corresponding flow nodes;
and the disassembly unit is used for disassembling the functions to be realized in the process nodes to obtain code method packages corresponding to the function requests to be built.
Preferably, the calling module includes:
the searching unit is used for searching whether a target function flow frame corresponding to a result required by the function request to be built exists in a preset function flow frame library;
the first calling unit is used for carrying out frame combination or new addition according to the function request to be built to obtain a target function flow frame if a target function flow frame corresponding to a result required by the function request to be built does not exist in a preset function flow frame library, adding the target function flow frame into the preset function flow frame library, and calling the target function flow frame from the preset function flow frame library;
and the second calling unit is used for directly calling the target function flow frame from the preset function flow frame library if the target function flow frame corresponding to the result required by the function request to be built exists in the preset function flow frame library.
Preferably, the selecting module includes:
a display unit for displaying an application item corresponding to the identifier or the standard structure based on the identifier or the standard structure;
the acquisition unit is used for acquiring corresponding identification information from the application item according to the target function flow framework;
the matching unit is used for determining a plurality of code packages matched with the identification information in a preset code package library;
and the selecting unit is used for selecting the target code packet from the code packets according to the functional framework flow node.
Preferably, the configuration module includes:
the calling unit is used for calling corresponding method loading attributes and events for the target code package according to the content of the target function flow frame;
and the configuration unit is used for carrying out corresponding parameter configuration on the object code package loaded with the attribute and the event to obtain a configuration code package.
In a third aspect, the present application provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the code package based web page development method according to the first aspect when executing the computer program.
In a fourth aspect, the present application provides a storage medium having stored thereon a computer program which, when executed by a processor, implements the code package based web page development method of the first aspect.
Compared with the prior art, the application provides a webpage development method, a system, electronic equipment and a storage medium based on a code package: firstly, splitting a function request to be built to obtain a code module taking a code method package as a minimum unit, and calling a corresponding target function flow frame from a preset function flow frame library; secondly, selecting an object code package required by a function request to be built from a preset code package library based on an object function flow framework, and obtaining a corresponding configuration code package by carrying out parameterization configuration on the object code package; and finally, combining the configuration code packages by adopting POM engineering of Maven to obtain the target system function which has corresponding application with the function request to be built. The code package can be directly transferred on the page based on the frame technology, the target system function is realized through the combined configuration of the code package, and the original content can be reserved for easy page maintenance; the method can effectively avoid repeated development of basic functions in the development process of Web products, saves development time and cost, and improves flexibility and adaptation capability of pages.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments or the description of the prior art will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flowchart of a method for developing a code package-based web page according to embodiment 1 of the present application;
fig. 2 is a specific flowchart of step S102 in the code packet based web page development method provided in embodiment 1 of the present application;
FIG. 3 is a block diagram of a code package-based web development system corresponding to the method of embodiment 1 according to embodiment 2 of the present application;
fig. 4 is a specific flowchart of step S202 in the code packet based web page development method provided in embodiment 3 of the present application;
FIG. 5 is a block diagram illustrating a retrieval module in a code package-based web development system according to embodiment 4 of the present application, which corresponds to the method of embodiment 3;
fig. 6 is a schematic hardware structure of an electronic device according to embodiment 5 of the present application.
Reference numerals illustrate:
10-disassembling modules, 11-defining units, 12-disassembling units and 13-disassembling units;
the system comprises a 20-calling module, a 21-searching unit, a 22-first calling unit and a 23-second calling unit;
30-selecting module, 31-display unit, 32-obtaining unit, 33-matching unit, 34-selecting unit;
40-configuration module, 41-calling unit and 42-configuration unit;
50-a combination module;
60-bus, 61-processor, 62-memory, 63-communication interface.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. However, the exemplary embodiments may be embodied in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of the example embodiments to those skilled in the art.
Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the disclosure. One skilled in the relevant art will recognize, however, that the disclosed aspects may be practiced without one or more of the specific details, or with other methods, components, devices, steps, etc. In other instances, well-known methods, devices, implementations, or operations are not shown or described in detail to avoid obscuring aspects of the disclosure.
The block diagrams depicted in the figures are merely functional entities and do not necessarily correspond to physically separate entities. That is, the functional entities may be implemented in software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor devices and/or microcontroller devices.
The flow diagrams depicted in the figures are exemplary only, and do not necessarily include all of the elements and operations/steps, nor must they be performed in the order described. For example, some operations/steps may be decomposed, and some operations/steps may be combined or partially combined, so that the order of actual execution may be changed according to actual situations.
Example 1
Specifically, fig. 1 is a flow chart of a web page development method based on a code package according to the present embodiment.
As shown in fig. 1, the method for developing a web page based on a code package of the present embodiment includes the following steps:
s101, disassembling the flow nodes obtained by modularized splitting of the function request to be built to obtain a code module taking the code method package as the minimum unit.
The code method package at least comprises an identifier or a standard structure for matching the functional framework flow nodes.
Specifically, the code method package ensures the practicability of the code method package through a preset naming rule, wherein the preset naming rule is an entity name, a function and a control abbreviation name. Further, the functional framework is often used for testing the grammatical features of a word or similar words, which is a structural format that grammatically refers to that words of the same word class can enter a certain gap; the adjectives that can enter the space of the two functional frameworks such as 'very' and 'than N' are Chinese adjectives are "(very) beautiful" "(very) square", "(than little king) beautiful" "(than little king) square"; nouns and action verbs etc. cannot enter, such as "+ (very) table" + (little king) run.
It should be noted that: the natural attribute of the flow nodes is that the key point of the whole flow is that a series of nodes are experienced from the beginning to the end of the flow, each node is completed by different people, each person is separated into different roles, different time is used, and each node of some flows can flow to the next node or return to any one of the previous nodes. A particular condition is required to flow from one node to the next. The process of formulating the flow is to set the natural attribute of each node, and connect each node through the attribute, thereby realizing the purposes of circulation and flow control of the defined flow.
Further, the specific steps of S101 in this embodiment include:
s1011, defining actual development logic and detailed design based on the function request to be built, which is edited by the relevant development requirements.
Specifically, a request for a function to be built is developed, firstly, the style type of the function to be built, such as a software and hardware combination, a game type, a mall type, a news information type, an interaction type, a chat type and the like, needs to be known, and as the development difference of the request for the function to be built of each type is very large, the function to be built is mainly supported by different types. Secondly, knowing the basic functions, dividing the blocks, and knowing the basic functions and classifying the blocks can refer to similar functional modules in the market. Finally, the development logic and detailed combination design actually required are selected through analysis of basic functions and modules.
And S1012, carrying out modularized splitting according to the development logic and the detailed design to obtain a plurality of corresponding flow nodes.
In particular, the modular structure refers to splitting a complex program into different folders or different modules of a file, which modules are independent and can be associated with each other. The common list page is provided with components, routes and vuex in the upper structural division according to functions, and also provided with a packing inlet, which can be regarded as modules, and each module is respectively responsible for different functions; finally, the modules with different functions are combined into a complete page structure.
S1013, disassembling the functions to be realized in the process nodes to obtain code method packages corresponding to the function requests to be built.
Specifically, the code method package of the present embodiment is constructed with the code modules in the smallest unit. Further, the code method package at least comprises an identifier or a standard structure for matching the functional framework flow nodes; wherein the identifier may take the form of a flow chart symbol, such as a circle representing a start or end, a diamond representing a judgment or branch, and a rectangle representing a procedure; the minimum functional point can be found by a picture thinking and diagram guiding mode. The standard structure is mainly used for technical implementation guidance on the research and development level, and the system layering and implementation structure division can be clear.
S102, a target function flow frame corresponding to the result required by the function request to be built is fetched from a preset function flow frame library.
Specifically, the target function flow framework is specifically java engineering, and a plurality of configuration code packages can be aggregated by calling jar packages based on a framework technology; for the functions to be used, such as interface call, an interface call flow is selected, and the related configuration items comprise addresses, in-parameters and out-parameters. Wherein the Framework is a verified semi-finished product software with specific functions; framework technology is directed to specific functions, but is not a complete set of software that can be run, and developers need to add specific business logic based on the functions or architecture provided by the framework. The framework technology can save a great amount of basic code writing work, thereby improving the working efficiency and the development speed and providing great convenience for constructing new application programs. Based on the application program developed by the framework technology, the framework is the 'framework' of the application program, and developers can add things on the 'framework' to combine the application program meeting the needs of the developers.
Further, as shown in fig. 2, the specific steps of S102 in this embodiment include:
s1021, searching whether a target function flow frame corresponding to a result required by the function request to be built exists in a preset function flow frame library.
Specifically, the preset function flow frame library is a function flow frame library formed by collecting conventional function flow frames which are frequently used by a developer according to the requirement of the work of the developer. The subsequent development work only needs to make corresponding calls, and the workload of copying, pasting and modifying which takes a great deal of time in the conventional programming operation is saved. Of course, in order to improve the development efficiency of the web page, the preset function flow framework library adopted in the embodiment may be added or subtracted according to the actual work of the developer.
S1022, if not, performing frame combination or new addition according to the function request to be built to obtain a target function flow frame, and adding the target function flow frame into the preset function flow frame library; and then the target function flow frame is called from the preset function flow frame library.
S103, selecting the target code package required by the function request to be built from a preset code package library based on the identifier or the standard structure and according to the target function flow framework.
Specifically, code package checking is performed according to the selected functions and the functional requirements related to the actual scene, and the code package checking executed by different encryption or signature modes corresponding to the out-going and in-going parameters is performed by combining the target function flow frame. The code package is a tool for dividing the whole code structure, which is helpful for defining the service field and highlighting the core concept, so that the system is better and faster understood from the service perspective. Systems that are difficult to understand can be difficult to modify and the results of the modification are difficult to predict; the definition of the code package is from the business domain or core concept and should be taken as the first principle of defining the code package.
Further, the specific steps of S103 in this embodiment include:
s1031, based on the identifier or the standard structure, displaying an application item corresponding to the identifier or the standard structure;
s1032, acquiring corresponding identification information from the application item according to the target function flow frame;
s1033, determining a plurality of code packages matched with the identification information in a preset code package library;
s1034, selecting an object code packet from the code packets according to the functional framework flow node.
S104, carrying out model parameterization configuration on the object code package subjected to loading processing to obtain a corresponding configuration code package.
Specifically, when external credit information is docked, since the products are mostly non-standardized products, the page function development is very complex, the page function is only a basic docking framework, namely an access address, a parameter outputting content and a parameter inputting content configuration, the contents in a single module are not in a customized development mode, and are combined through the code package, for example, three-element MD5 encryption information is required to be provided for parameter inputting, and meanwhile, the encrypted code package is directly selected for json form transmission, namely the json is assembled with the code package, and the parameter inputting generation function is directly realized.
Further, the specific steps of S104 in this embodiment include:
s1041, according to the content of the target function flow frame, calling a corresponding method loading attribute and event for the target code package.
Specifically, for any class, its uniqueness in the Java virtual machine needs to be established by the class loader that loads it and the class itself, each with a separate class name space. Comparing whether two classes are "equal" makes sense only if the two classes are loaded by the same Class loader, otherwise, even if the two classes are loaded by the same virtual machine from the same Class file, the two classes must not be equal as long as the Class loaders loading it are different. The term "equality" as used herein includes the case where the return results of the methods of equal () method, issignaleFrom () method, and isstandance () method of Class objects representing classes, and also includes the case where the object belongs to a relationship determination using an instanceof key.
S1042, carrying out corresponding parameter configuration on the object code package loading the attribute and the event to obtain a configuration code package.
In particular, if the model uses multiple parameters of the same class and these parameters have no uniqueness requirements, the model parameters may be considered to configure default code generation settings. Default code generation settings for parameters may reduce the effort of preparing a model for code generation, especially if the model has a large number of parameters and needs to interact with the generated code as it executes; selecting the configuration settings once, the code generator will apply these settings to the parameters in the overall model.
S105, combining the configuration code packages by adopting POM engineering of Maven to obtain a target system function which has corresponding application with the function request to be built.
In particular, a plurality of the configuration code packages can be aggregated through mamen's POM engineering based on a framework technique. Wherein the Maven tool is realized based on the POM mode, each item in the Maven is equivalent to an object, and the object (item) are related; the relationship comprises: depending, inheriting and aggregating, the Maven project can be realized, and the effects of leading jar packages, splitting projects and the like can be realized more conveniently. When the developed project has more than 2 modules, each module is an independent function set, and each platform can be independently compiled, tested and operated during development, so that an aggregate project is needed. In the process of creating the aggregate Project, the total Project must be a POM Project (Maven Project) (the aggregate Project must be a POM type Project, and the jar Project war Project has no way to do the aggregate Project), and each sub-Module may be any type of Module (Maven Module).
In summary, in this embodiment, the code module with the code method package as the minimum unit is obtained by splitting the function request to be built, and the target function flow frame corresponding to the code module is called from the preset function flow frame library; selecting an object code package required by a function request to be built from a preset code package library based on an object function flow framework, and obtaining a corresponding configuration code package by carrying out parameterization configuration on the object code package; and combining the configuration code packages by adopting POM engineering of Maven to obtain the target system function which has corresponding application with the function request to be built. The code package can be directly transferred on the page based on the frame technology, and the target system function is realized through the combination of the code packages, so that the development time and the cost are saved, the flexibility and the adaptation capability of the system are improved, and the original content can be preserved and the system maintenance is easy.
Example 2
This embodiment provides a block diagram of a system corresponding to the method described in embodiment 1. Fig. 3 is a block diagram of the structure of a code package-based web page development system according to the present embodiment, as shown in fig. 3, including:
the disassembly module 10 is used for disassembling the flow nodes obtained by modularized disassembly of the function request to be built to obtain a code module taking the code method package as the minimum unit; wherein, the code method package at least comprises an identifier or a standard structure for matching the functional framework flow nodes;
specifically, the code method package ensures the practicability of the code method package through a preset naming rule, wherein the preset naming rule is an entity name, a function and a control abbreviation name.
The retrieving module 20 is configured to retrieve a target function flow frame corresponding to a result required by the function request to be built from a preset function flow frame library;
specifically, the target function flow framework is specifically java engineering, and a plurality of configuration code packages can be aggregated by calling jar packages based on a framework technology.
And the selecting module 30 is configured to select, from a preset code package library, an object code package required by the function request to be built based on the identifier or the standard structure and according to the object function flow framework.
The configuration module 40 is configured to obtain a corresponding configuration code packet by performing model parameterization configuration on the object code packet subjected to loading processing.
And the combining module 50 is used for combining the configuration code packages by adopting the POM engineering of Maven to obtain the target system function which has corresponding application with the function request to be built.
Further, the dismantling module 10 includes:
a definition unit 11, configured to define actual development logic and detailed design based on the to-be-built function request edited by the relevant development requirements;
the splitting unit 12 is configured to perform modular splitting according to the development logic and the detailed design to obtain a plurality of corresponding flow nodes;
and the disassembly unit 13 is used for disassembling the functions to be realized in the flow nodes to obtain code method packages corresponding to the function requests to be built.
Further, the retrieving module 20 includes:
a searching unit 21, configured to search whether a target function flow frame corresponding to a result required by the function request to be built exists in a preset function flow frame library;
the first retrieving unit 22 is configured to, if a target function flow frame corresponding to a result required by the to-be-built function request does not exist in a preset function flow frame library, perform frame combination or newly add a target function flow frame according to the to-be-built function request, add the target function flow frame to the preset function flow frame library, and retrieve the target function flow frame from the preset function flow frame library.
Further, the selecting module 30 includes:
a display unit 31 for displaying an application item corresponding to the identifier or the standard structure based on the identifier or the standard structure;
an obtaining unit 32, configured to obtain corresponding identification information from the application item according to the target function flow framework;
a matching unit 33, configured to determine a plurality of code packages in a preset code package library, where the code packages are matched with the identification information;
and the selecting unit 34 is configured to select an object code packet from the plurality of code packets according to the functional framework process node.
Further, the configuration module 40 includes:
a calling unit 41, configured to call, according to the content of the target function flow framework, a corresponding method loading attribute and event for the target code package;
the configuration unit 42 is configured to perform corresponding parameter configuration for the object code package loaded with the attribute and the event to obtain a configuration code package.
The above-described respective modules may be functional modules or program modules, and may be implemented by software or hardware. For modules implemented in hardware, the various modules described above may be located in the same processor; or the above modules may be located in different processors in any combination.
Example 3
Specifically, this embodiment is different from embodiment 1 in that: step S202 is different from the specific step of S102 of embodiment 1. As shown in fig. 4, the specific steps of S202 in this embodiment include:
s2021, searching whether a target function flow frame corresponding to a result required by the function request to be built exists in a preset function flow frame library;
s2022, if yes, directly calling the target function flow frame from the preset function flow frame library.
Example 4
Specifically, this embodiment is different from embodiment 3 in that: the specific function of the call module of this embodiment is different from that of the call module of embodiment 3. As shown in fig. 5, the calling module 20 of the present embodiment includes:
a searching unit 21, configured to search whether a target function flow frame corresponding to a result required by the function request to be built exists in a preset function flow frame library;
the second retrieving unit 23 is configured to directly retrieve the target function flow frame from the preset function flow frame library if the target function flow frame corresponding to the result required by the function request to be set up exists in the preset function flow frame library.
Example 5
The code package based web page development method described in connection with fig. 1 and 3 may be implemented by an electronic device. Fig. 6 is a schematic diagram of the hardware structure of the electronic device according to the present embodiment.
The electronic device may comprise a processor 61 and a memory 62 storing computer program instructions.
In particular, the processor 61 may include a Central Processing Unit (CPU), or an application specific integrated circuit (Application Specific Integrated Circuit, abbreviated as ASIC), or may be configured to implement one or more integrated circuits of the present embodiment.
Memory 62 may include, among other things, mass storage for data or instructions. By way of example, and not limitation, memory 62 may comprise a Hard Disk Drive (HDD), floppy Disk Drive, solid state Drive (Solid State Drive, SSD), flash memory, optical Disk, magneto-optical Disk, tape, or universal serial bus (Universal Serial Bus, USB) Drive, or a combination of two or more of these. The memory 62 may include removable or non-removable (or fixed) media, where appropriate. The memory 62 may be internal or external to the data processing apparatus, where appropriate. In a particular embodiment, the memory 62 is a Non-Volatile (Non-Volatile) memory. In particular embodiments, memory 62 includes Read-Only Memory (ROM) and random access Memory (Random Access Memory, RAM). Where appropriate, the ROM may be a mask-programmed ROM, a programmable ROM (Programmable Read-Only Memory, abbreviated PROM), an erasable PROM (Erasable Programmable Read-Only Memory, abbreviated EPROM), an electrically erasable PROM (Electrically Erasable Programmable Read-Only Memory, abbreviated EEPROM), an electrically rewritable ROM (Electrically Alterable Read-Only Memory, abbreviated EAROM), or a FLASH Memory (FLASH), or a combination of two or more of these. The RAM may be Static Random-Access Memory (SRAM) or dynamic Random-Access Memory (Dynamic Random Access Memory DRAM), where the DRAM may be a fast page mode dynamic Random-Access Memory (Fast Page Mode Dynamic Random Access Memory FPMDRAM), extended data output dynamic Random-Access Memory (Extended Date Out Dynamic Random Access Memory EDODRAM), synchronous dynamic Random-Access Memory (Synchronous Dynamic Random-Access Memory SDRAM), or the like, as appropriate.
Memory 62 may be used to store or cache various data files that need to be processed and/or communicated, as well as possible computer program instructions for execution by processor 61.
The processor 61 implements the code package-based web page development methods of the above-described embodiments 1, 3 by reading and executing the computer program instructions stored in the memory 62.
In some of these embodiments, the electronic device may also include a communication interface 63 and a bus 60. As shown in fig. 6, the processor 61, the memory 62, and the communication interface 63 are connected to each other through the bus 60 and perform communication with each other.
The communication interface 63 is used to implement communication between the modules, devices, units and/or units in the present embodiment. Communication interface 63 may also enable communication with other components such as: and the external equipment, the image/data acquisition equipment, the database, the external storage, the image/data processing workstation and the like are used for data communication.
Bus 60 includes hardware, software, or both, that couple the components of the device to one another. Bus 60 includes, but is not limited to, at least one of: data Bus (Data Bus), address Bus (Address Bus), control Bus (Control Bus), expansion Bus (Expansion Bus), local Bus (Local Bus). By way of example, and not limitation, bus 60 may include a graphics acceleration interface (Accelerated Graphics Port), abbreviated AGP, or other graphics Bus, an enhanced industry standard architecture (Extended Industry Standard Architecture, abbreviated EISA) Bus, a Front Side Bus (FSB), a HyperTransport (HT) interconnect, an industry standard architecture (Industry Standard Architecture, ISA) Bus, a wireless bandwidth (InfiniBand) interconnect, a Low Pin Count (LPC) Bus, a memory Bus, a micro channel architecture (Micro Channel Architecture, abbreviated MCa) Bus, a peripheral component interconnect (Peripheral Component Interconnect, abbreviated PCI) Bus, a PCI-Express (PCI-X) Bus, a serial advanced technology attachment (Serial Advanced Technology Attachment, abbreviated SATA) Bus, a video electronics standards association local (Video Electronics Standards Association Local Bus, abbreviated VLB) Bus, or other suitable Bus, or a combination of two or more of the foregoing. Bus 60 may include one or more buses, where appropriate. Although this embodiment describes and illustrates a particular bus, the present application contemplates any suitable bus or interconnect.
The apparatus may execute the code package based web page development method of the present embodiments 1, 3 based on the acquired code package based web page development system.
In addition, in combination with the code package-based web page development methods of the above embodiments 1 and 3, the present embodiment may be implemented by providing a storage medium. The storage medium having stored thereon computer program instructions; the computer program instructions, when executed by a processor, implement the code package-based web page development methods of embodiments 1 and 3 described above.
The technical features of the above-described embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above-described embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The foregoing description of the preferred embodiments of the application is not intended to be limiting, but rather is intended to cover all modifications, equivalents, and alternatives falling within the spirit and principles of the application.

Claims (8)

1. A method for developing a web page based on a code package, comprising:
disassembling the flow nodes obtained by modularized splitting of the function request to be built to obtain a code module taking the code method package as the minimum unit; wherein, the code method package at least comprises an identifier or a standard structure for matching the functional framework flow nodes; the code method package ensures the practicability of the code method package through a preset naming rule, wherein the preset naming rule is an entity name+a function+a control abbreviation name;
retrieving a target function flow frame corresponding to a result required by the function request to be built from a preset function flow frame library;
selecting a target code package required by the function request to be built from a preset code package library based on the identifier or the standard structure and according to the target function flow framework;
the corresponding configuration code package is obtained through carrying out model parameterization configuration on the object code package subjected to loading processing;
combining the configuration code packages by adopting POM engineering of Maven to obtain a target system function which has corresponding application with the function request to be built;
the step of selecting the target code package required by the function request to be built from a preset code package library based on the identifier or the standard structure and according to the target function flow framework specifically comprises the following steps:
displaying an application item corresponding to the identifier or the standard structure based on the identifier or the standard structure;
acquiring corresponding identification information from the application item according to the target function flow frame;
determining a plurality of code packages matched with the identification information in a preset code package library;
and selecting an object code packet from the plurality of code packets according to the functional framework flow node.
2. The method for developing a web page based on a code package according to claim 1, wherein the step of disassembling the flow node obtained by modular splitting for the function request to be built to obtain the code module with the code method package as the minimum unit specifically comprises:
defining actual development logic and detailed design based on the function request to be built, which is edited based on the related development requirements;
carrying out modularized splitting according to the development logic and the detailed design to obtain a plurality of corresponding flow nodes;
and disassembling the functions to be realized in the flow nodes to obtain code method packages corresponding to the function requests to be built.
3. The method for developing a web page based on a code package according to claim 1, wherein the step of retrieving a target function flow frame corresponding to a result required by the to-be-built function request from a preset function flow frame library specifically comprises:
searching whether a target function flow frame corresponding to a result required by the function request to be built exists in a preset function flow frame library;
if not, frame combination or new addition is carried out according to the function request to be built to obtain a target function flow frame, the target function flow frame is added into the preset function flow frame library, and then the target function flow frame is called from the preset function flow frame library;
if yes, the target function flow frame is directly called from the preset function flow frame library.
4. The method for developing a web page based on a code package according to claim 1, wherein the step of obtaining a corresponding configuration code package by performing model parameterization configuration on the object code package subjected to the loading process specifically comprises:
according to the content of the target function flow frame, calling a corresponding method loading attribute and event for the target code packet;
and carrying out corresponding parameter configuration on the object code package loaded with the attribute and the event to obtain a configuration code package.
5. The method for developing a web page based on a code package according to any one of claims 1 to 4, wherein the target function flow framework is specifically java engineering, and a plurality of configuration code packages can be aggregated by invoking jar packages based on a framework technology.
6. A code package based web page development system, comprising:
the disassembly module is used for disassembling the flow nodes obtained by modularized disassembly of the function request to be built to obtain a code module taking the code method package as the minimum unit; wherein, the code method package at least comprises an identifier or a standard structure for matching the functional framework flow nodes; the code method package ensures the practicability of the code method package through a preset naming rule, wherein the preset naming rule is an entity name+a function+a control abbreviation name;
the calling module is used for calling a target function flow frame corresponding to the result required by the function request to be built from a preset function flow frame library;
the selecting module is used for selecting the target code package required by the function request to be built from a preset code package library based on the identifier or the standard structure and according to the target function flow framework;
the configuration module is used for obtaining a corresponding configuration code packet by carrying out model parameterization configuration on the object code packet subjected to the loading processing;
the combining module is used for combining the configuration code packages by adopting POM engineering of Maven to obtain a target system function which has corresponding application with the function request to be built;
the selecting module comprises:
a display unit for displaying an application item corresponding to the identifier or the standard structure based on the identifier or the standard structure;
the acquisition unit is used for acquiring corresponding identification information from the application item according to the target function flow framework;
the matching unit is used for determining a plurality of code packages matched with the identification information in a preset code package library;
and the selecting unit is used for selecting the target code packet from the code packets according to the functional framework flow node.
7. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the code package based web page development method of any one of claims 1-5 when the computer program is executed.
8. A storage medium having stored thereon a computer program which, when executed by a processor, implements a method of code package based web page development as claimed in any one of claims 1 to 5.
CN202310855065.3A 2023-07-13 2023-07-13 Webpage development method, system, electronic equipment and storage medium based on code package Active CN116578281B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310855065.3A CN116578281B (en) 2023-07-13 2023-07-13 Webpage development method, system, electronic equipment and storage medium based on code package

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310855065.3A CN116578281B (en) 2023-07-13 2023-07-13 Webpage development method, system, electronic equipment and storage medium based on code package

Publications (2)

Publication Number Publication Date
CN116578281A CN116578281A (en) 2023-08-11
CN116578281B true CN116578281B (en) 2023-11-24

Family

ID=87536324

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310855065.3A Active CN116578281B (en) 2023-07-13 2023-07-13 Webpage development method, system, electronic equipment and storage medium based on code package

Country Status (1)

Country Link
CN (1) CN116578281B (en)

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104317590A (en) * 2014-10-22 2015-01-28 中国建设银行股份有限公司 Embedded configuration system and embedded review process configuration method
CN109597610A (en) * 2018-12-10 2019-04-09 南京华苏科技有限公司 A kind of application structure modularization construction method based on micro services framework
CN111625218A (en) * 2020-05-14 2020-09-04 中电工业互联网有限公司 Big data processing method and system for custom library development
CN112181417A (en) * 2020-10-19 2021-01-05 中国工商银行股份有限公司 Front-end research and development configuration device and method
CN112596714A (en) * 2020-12-10 2021-04-02 车巴达(苏州)网络科技有限公司 Webpage development method, device, terminal, server and storage medium
CN112835572A (en) * 2021-01-29 2021-05-25 山东浪潮通软信息科技有限公司 Method and equipment for customizing reference flow depending on project management tool
CN113268224A (en) * 2021-06-07 2021-08-17 上海数禾信息科技有限公司 Jar package caching method and device for Maven warehouse and computer equipment
CN114756277A (en) * 2022-05-09 2022-07-15 中国银行股份有限公司 Page configuration method and device
CN114879939A (en) * 2022-04-27 2022-08-09 深圳市惟客数据科技有限公司 Method, system, electronic device and storage medium for generating micro service
CN114995803A (en) * 2022-05-31 2022-09-02 中国电信股份有限公司 Development method of human-computer interface, low-code development platform, terminal and medium
CN116048517A (en) * 2023-03-31 2023-05-02 杭州城市大数据运营有限公司 API (application program interface) generating method, system and device based on B/S (browser/Server) architecture application system
CN116302054A (en) * 2023-01-31 2023-06-23 北京水滴科技集团有限公司 Development method and device of software project, storage medium and electronic equipment
WO2023122344A1 (en) * 2021-12-23 2023-06-29 Comake, Inc. Methods and systems for shared language framework for composability of software translativity of information
CN116360763A (en) * 2023-03-31 2023-06-30 中国建设银行股份有限公司 Method and device for rapidly generating RPA application

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104317590A (en) * 2014-10-22 2015-01-28 中国建设银行股份有限公司 Embedded configuration system and embedded review process configuration method
CN109597610A (en) * 2018-12-10 2019-04-09 南京华苏科技有限公司 A kind of application structure modularization construction method based on micro services framework
CN111625218A (en) * 2020-05-14 2020-09-04 中电工业互联网有限公司 Big data processing method and system for custom library development
CN112181417A (en) * 2020-10-19 2021-01-05 中国工商银行股份有限公司 Front-end research and development configuration device and method
CN112596714A (en) * 2020-12-10 2021-04-02 车巴达(苏州)网络科技有限公司 Webpage development method, device, terminal, server and storage medium
CN112835572A (en) * 2021-01-29 2021-05-25 山东浪潮通软信息科技有限公司 Method and equipment for customizing reference flow depending on project management tool
CN113268224A (en) * 2021-06-07 2021-08-17 上海数禾信息科技有限公司 Jar package caching method and device for Maven warehouse and computer equipment
WO2023122344A1 (en) * 2021-12-23 2023-06-29 Comake, Inc. Methods and systems for shared language framework for composability of software translativity of information
CN114879939A (en) * 2022-04-27 2022-08-09 深圳市惟客数据科技有限公司 Method, system, electronic device and storage medium for generating micro service
CN114756277A (en) * 2022-05-09 2022-07-15 中国银行股份有限公司 Page configuration method and device
CN114995803A (en) * 2022-05-31 2022-09-02 中国电信股份有限公司 Development method of human-computer interface, low-code development platform, terminal and medium
CN116302054A (en) * 2023-01-31 2023-06-23 北京水滴科技集团有限公司 Development method and device of software project, storage medium and electronic equipment
CN116048517A (en) * 2023-03-31 2023-05-02 杭州城市大数据运营有限公司 API (application program interface) generating method, system and device based on B/S (browser/Server) architecture application system
CN116360763A (en) * 2023-03-31 2023-06-30 中国建设银行股份有限公司 Method and device for rapidly generating RPA application

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
An Empirical Study of Package Management Issues via Stack Overflow;Islam, S.等;《arXiv》;全文 *
一种可视化代码生成器的研究及应用;阳林;及俊川;李新;;科研信息化技术与应用(02);全文 *
基于模型设计的电动车整车控制器开发研究;田韶鹏;阙同亮;;自动化与仪表(09);全文 *

Also Published As

Publication number Publication date
CN116578281A (en) 2023-08-11

Similar Documents

Publication Publication Date Title
CN107665228B (en) Associated information query method, terminal and equipment
CN111045655A (en) Page rendering method and device, rendering server and storage medium
CN111722839B (en) Code generation method and device, electronic equipment and storage medium
CN111427561A (en) Service code generation method and device, computer equipment and storage medium
CN111324396A (en) Block chain intelligent contract execution method, device and equipment
US20200050533A1 (en) Observer for simulation test and verification
CN106843901B (en) Page rendering and verification method and device
CN113641338B (en) Method and device for dynamically generating view component
CN113268260A (en) Routing method and device for web front end
CN111159301A (en) Data creating method, device, equipment and storage medium based on intelligent contract
CN110888972A (en) Sensitive content identification method and device based on Spark Streaming
CN116578281B (en) Webpage development method, system, electronic equipment and storage medium based on code package
CN116755669A (en) Low code development method and tool based on DSL language operation model
CN111880801A (en) Application program dynamic method and device and electronic equipment
CN114911541B (en) Processing method and device of configuration information, electronic equipment and storage medium
CN115599401A (en) Publishing method, device, equipment and medium of user-defined model
CN111666201A (en) Regression testing method, device, medium and electronic equipment
CN114186958A (en) Method, computing device and storage medium for exporting list data as spreadsheet
CN110765003B (en) Code detection method, device and equipment and storage medium
CN113741878A (en) GraphQL-based interface construction method and system, electronic equipment and storage medium
CN112925523A (en) Object comparison method, device, equipment and computer readable medium
Madeira et al. When even the interface evolves...
KR20200103133A (en) Method and apparatus for performing extract-transfrom-load procedures in a hadoop-based big data processing system
CN114553688B (en) Cloud computing deployment method, device, equipment and computer readable storage medium
CN110069514B (en) Message processing 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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20230928

Address after: Room 602-142, Building 2, Yangming International Center, No. 18 Xinganzhou Avenue, Zhanggong District, Ganzhou City, Jiangxi Province, 341000

Applicant after: Jiangxi Jinfa Financial Information Service Co.,Ltd.

Applicant after: Jiangxi Hanchen Information Technology Co.,Ltd.

Applicant after: Jiangxi Huazhang Hanchen Financing Guarantee Group Co.,Ltd.

Applicant after: Shenzhen Jingfa Technology Holding Co.,Ltd.

Applicant after: Jiangxi Financial Development Group Co.,Ltd.

Applicant after: Jiangxi Inclusive Financial Technology Research Institute

Address before: Rooms A301 and A302, 3rd Floor, Building 1, Nanchang University Science Park, No. 589, Gaoxin Avenue, Nanchang High-tech Industrial Development Zone, Jiangxi Province, 330000

Applicant before: Jiangxi Hanchen Information Technology Co.,Ltd.

GR01 Patent grant
GR01 Patent grant