CN111782180A - Page generation method and device, electronic equipment and storage medium - Google Patents

Page generation method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN111782180A
CN111782180A CN202010587575.3A CN202010587575A CN111782180A CN 111782180 A CN111782180 A CN 111782180A CN 202010587575 A CN202010587575 A CN 202010587575A CN 111782180 A CN111782180 A CN 111782180A
Authority
CN
China
Prior art keywords
application software
layer
page
design drawing
determining
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010587575.3A
Other languages
Chinese (zh)
Inventor
李健东
劭诚
赵江
秦国梁
季申
沈海寅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhicheauto Technology Beijing Co ltd
Original Assignee
Zhicheauto Technology Beijing 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 Zhicheauto Technology Beijing Co ltd filed Critical Zhicheauto Technology Beijing Co ltd
Priority to CN202010587575.3A priority Critical patent/CN111782180A/en
Publication of CN111782180A publication Critical patent/CN111782180A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/10Requirements analysis; Specification techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code

Abstract

The embodiment of the disclosure discloses a page generation method and device, electronic equipment and a storage medium, wherein the method comprises the following steps: acquiring requirement information of application software; respectively determining at least one page design drawing of the application software and a data model layer, a logic layer and a display layer of the application software based on the requirement information of the application software; and generating at least one page of the application software based on the corresponding relation between at least one page design drawing of the application software and the data model layer, the logic layer and the display layer of the application software. Therefore, the method and the device for designing and developing the page can enable designers and developers to design and develop the page synchronously after the requirements are obtained, the time period of page development is effectively shortened, in addition, the developers can directly modify errors found in subsequent tests through the corresponding relation between the page design drawing and each layer, and the labor cost is saved.

Description

Page generation method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to computer technologies, and in particular, to a page generation method and apparatus, an electronic device, and a storage medium.
Background
The page design is particularly important in the front-end development of application software, and usually, a designer needs to draw a design drawing first and then writes codes through the design drawing.
In carrying out the present disclosure, the inventors found that: when a developer writes a page program, the developer generally writes a program frame of application software according to files provided by the designer by using design software, such as the size (length, width and position) and color of a page, the development mode wastes a great deal of energy of the developer and is easy to make mistakes, and after a tester is reported, if errors occur, rework and checking are needed, so that the labor cost and the time cost are increased.
Disclosure of Invention
The present disclosure is proposed to solve the above technical problems. The embodiment of the disclosure provides a page generation method and device, electronic equipment and a storage medium.
According to an aspect of the embodiments of the present disclosure, there is provided a page generation method, including:
acquiring requirement information of application software;
respectively determining at least one page design drawing of the application software and a data model layer, a logic layer and a display layer of the application software based on the requirement information of the application software;
and generating at least one page of the application software based on the corresponding relation between at least one page design drawing of the application software and the data model layer, the logic layer and the display layer of the application software.
Optionally, in each of the method embodiments of the present disclosure, the determining at least one page design drawing of the application software and a data model layer, a logic layer, and a display layer of the application software based on the requirement information of the application software includes:
determining the data flow direction and business logic in the application software based on the requirement information of the application software;
determining a data model layer of the application software based on the data flow direction in the application software;
determining a logic layer of the application software based on a data model layer and business logic in the application software;
and determining the display layer of the application software based on the logic layer of the application software.
Optionally, in each method embodiment of the present disclosure, the determining, based on the requirement information of the application software, a correspondence between at least one page design drawing of the application software and a data model layer, a logic layer, and a display layer of the application software, and the generating, based on the at least one page design drawing of the application software and the data model layer, the logic layer, and the display layer of the application software, further includes:
determining a dynamic effect file of the application software based on at least one page design drawing of the application software;
and obtaining the extensible markup language based on the dynamic effect file of the application software.
Optionally, in each of the method embodiments of the present disclosure, the generating at least one page of the application software based on a correspondence between at least one page design drawing of the application software and a data model layer, a logic layer, and a display layer of the application software includes:
determining an interface of the data model layer, an interface of the logic layer and an interface of the display layer corresponding to at least one page design drawing of the application software based on at least one page design drawing of the application software;
and importing the extensible markup language of the at least one page design drawing of the application software based on the interface of the data model layer, the interface of the logic layer and the interface of the display layer corresponding to the at least one page design drawing of the application software, and generating at least one page of the application software.
Optionally, in each of the method embodiments of the present disclosure, the method further includes:
acquiring an identifier of the at least one page design drawing;
modifying the extensible markup language in response to a change in information in a display layer of the application software;
updating the at least one page design drawing based on the modified extensible markup language and the identification of the at least one page design drawing.
Alternatively, in each of the above method embodiments of the present disclosure,
according to another aspect of the embodiments of the present disclosure, there is provided a page generating apparatus including:
the first acquisition module is used for acquiring the requirement information of the application software;
the first determining module is used for respectively determining at least one page design drawing of the application software and a data model layer, a logic layer and a display layer of the application software based on the requirement information of the application software;
and the generating module is used for generating at least one page of the application software based on the corresponding relation between at least one page design drawing of the application software and the data model layer, the logic layer and the display layer of the application software.
Optionally, in each of the apparatus embodiments of the present disclosure, the first determining module includes:
the first determining unit is used for determining the data flow direction and the business logic in the application software based on the requirement information of the application software;
the second determining unit is used for determining the data model layer of the application software based on the data flow direction in the application software;
a third determining unit, configured to determine a logic layer of the application software based on a data model layer and a service logic in the application software;
and the fourth determining unit is used for determining the display layer of the application software based on the logic layer of the application software.
Optionally, in each of the apparatus embodiments of the present disclosure, between the first determining module and the generating module, further includes:
the second determination module is used for determining a dynamic effect file of the application software based on at least one page design drawing of the application software;
and the obtaining module is used for obtaining the extensible markup language based on the dynamic effect file of the application software.
Optionally, in each of the apparatus embodiments of the present disclosure, the generating module includes:
a fifth determining unit, configured to determine, based on at least one page design drawing of the application software, an interface of the data model layer, an interface of the logic layer, and an interface of the display layer, which correspond to the at least one page design drawing of the application software;
and the generating unit is used for importing the extensible markup language of the at least one page design drawing of the application software based on the interface of the data model layer, the interface of the logic layer and the interface of the display layer corresponding to the at least one page design drawing of the application software, and generating the at least one page of the application software.
Optionally, in each of the above apparatus embodiments of the present disclosure, the method further includes:
the second acquisition module is used for acquiring the identifier of the at least one page design drawing;
the modification module is used for responding to the change of the information in the display layer of the application software and modifying the extensible markup language;
and the updating module is used for updating the at least one page design drawing based on the modified extensible markup language and the identification of the at least one page design drawing.
According to still another aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium storing a computer program for executing the page generating method according to any of the above embodiments of the present disclosure.
According to still another aspect of an embodiment of the present disclosure, there is provided an electronic apparatus including: a processor; a memory for storing the processor-executable instructions; the processor is configured to read the executable instruction from the memory and execute the instruction to implement the page generation method according to any of the above embodiments.
Based on the page generation method and device, the electronic device and the storage medium provided by the embodiment of the disclosure, the demand information of the application software is acquired; respectively determining at least one page design drawing of the application software and a data model layer, a logic layer and a display layer of the application software based on the requirement information of the application software; and generating at least one page of the application software based on the corresponding relation between at least one page design drawing of the application software and the data model layer, the logic layer and the display layer of the application software. Therefore, the method and the device for designing and developing the page can enable designers and developers to design and develop the page synchronously after the requirements are obtained, the time period of page development is effectively shortened, in addition, the developers can directly modify errors found in subsequent tests through the corresponding relation between the page design drawing and each layer, and the labor cost is saved.
The technical solution of the present disclosure is further described in detail by the accompanying drawings and examples.
Drawings
The above and other objects, features and advantages of the present disclosure will become more apparent by describing in more detail embodiments of the present disclosure with reference to the attached drawings. The accompanying drawings are included to provide a further understanding of the embodiments of the disclosure and are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the description serve to explain the principles of the disclosure and not to limit the disclosure. In the drawings, like reference numbers generally represent like parts or steps.
Fig. 1 is a flowchart illustrating a page generation method according to an exemplary embodiment of the present disclosure.
Fig. 2 is a flowchart illustrating a page generation method according to another exemplary embodiment of the present disclosure.
Fig. 3 is a flowchart illustrating a page generation method according to another exemplary embodiment of the present disclosure.
Fig. 4 is a flowchart illustrating a page generation method according to still another exemplary embodiment of the present disclosure.
Fig. 5 is a flowchart illustrating a page generation method according to still another exemplary embodiment of the present disclosure.
Fig. 6 is a schematic structural diagram of a page generation apparatus according to an exemplary embodiment of the present disclosure.
Fig. 7 is a block diagram of an electronic device provided in an exemplary embodiment of the present disclosure.
Detailed Description
Hereinafter, example embodiments according to the present disclosure will be described in detail with reference to the accompanying drawings. It is to be understood that the described embodiments are merely a subset of the embodiments of the present disclosure and not all embodiments of the present disclosure, with the understanding that the present disclosure is not limited to the example embodiments described herein.
It should be noted that: the relative arrangement of the components and steps, the numerical expressions, and numerical values set forth in these embodiments do not limit the scope of the present disclosure unless specifically stated otherwise.
It will be understood by those of skill in the art that the terms "first," "second," and the like in the embodiments of the present disclosure are used merely to distinguish one element from another, and are not intended to imply any particular technical meaning, nor is the necessary logical order between them.
It is also understood that in embodiments of the present disclosure, "a plurality" may refer to two or more and "at least one" may refer to one, two or more.
It is also to be understood that any reference to any component, data, or structure in the embodiments of the disclosure, may be generally understood as one or more, unless explicitly defined otherwise or stated otherwise.
In addition, the term "and/or" in the present disclosure is only one kind of association relationship describing an associated object, and means that three kinds of relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" in the present disclosure generally indicates that the former and latter associated objects are in an "or" relationship.
It should also be understood that the description of the various embodiments of the present disclosure emphasizes the differences between the various embodiments, and the same or similar parts may be referred to each other, so that the descriptions thereof are omitted for brevity.
Meanwhile, it should be understood that the sizes of the respective portions shown in the drawings are not drawn in an actual proportional relationship for the convenience of description.
The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the disclosure, its application, or uses.
Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail but are intended to be part of the specification where appropriate.
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, further discussion thereof is not required in subsequent figures.
The disclosed embodiments may be applied to electronic devices such as terminal devices, computer systems, servers, etc., which are operational with numerous other general purpose or special purpose computing system environments or configurations. Examples of well known terminal devices, computing systems, environments, and/or configurations that may be suitable for use with electronic devices, such as terminal devices, computer systems, servers, and the like, include, but are not limited to: personal computer systems, server computer systems, thin clients, thick clients, hand-held or laptop devices, microprocessor-based systems, set-top boxes, programmable consumer electronics, networked personal computers, minicomputer systems, mainframe computer systems, distributed cloud computing environments that include any of the above, and the like.
Electronic devices such as terminal devices, computer systems, servers, etc. may be described in the general context of computer system-executable instructions, such as program modules, being executed by a computer system. Generally, program modules may include routines, programs, objects, components, logic, data structures, etc. that perform particular tasks or implement particular abstract data types. The computer system/server may be practiced in distributed cloud computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed cloud computing environment, program modules may be located in both local and remote computer system storage media including memory storage devices.
Fig. 1 is a flowchart of a page generation method according to an exemplary embodiment of the present disclosure. The present embodiment can be applied to an electronic device, and as shown in fig. 1, the page generating method includes the following steps:
s102, acquiring the requirement information of the application software.
The requirement information is used to indicate functions required by the application software.
For example, a product manager of an enterprise designs a certain product, and first conceives each function of the product, service logic among each function, and a page for a user to operate, and then the product manager and a web page designer perform page design, and communicate each function required by the product with a developer, and the developer designs a program framework of the product according to the product requirement.
S104, respectively determining at least one page design drawing of the application software and a data model layer, a logic layer and a display layer of the application software based on the requirement information of the application software.
The data Model layer is used to represent the data flow in the program framework of the application software, for example, the Model layer (M layer) in the Model-View Model (MVVM) and the Model layer (M layer) in the Model-View-logic controller (MVP). The logical layer is used to represent business logic and entity objects of the application framework, such as a logical layer (ViewModel) in a Model-View Model (MVVM) and a logical layer (Presenter) in a Model-View-logical controller (MVP). The display layer is used to represent a display of a program framework of the application software, such as a display layer (View) in a Model-View Model (MVVM) and a display layer (View) in a Model-View-logic controller (MVP).
S106, generating at least one page of the application software based on the corresponding relation between at least one page design drawing of the application software and the data model layer, the logic layer and the display layer of the application software.
The display layer View corresponds to a page design drawing and is responsible for converting the information of the data model layer into pages to be displayed. The data Model layer Model corresponds to the information in the page design drawing. The logical layer Presenter/ViewModel corresponds to listening for changes in information in the model data layer and controlling view behavior.
Based on the page generation method provided by the embodiment of the disclosure, the demand information of the application software is obtained; respectively determining at least one page design drawing of the application software and a data model layer, a logic layer and a display layer of the application software based on the requirement information of the application software; and generating at least one page of the application software based on the corresponding relation between at least one page design drawing of the application software and the data model layer, the logic layer and the display layer of the application software. Therefore, the method and the device for designing and developing the page can enable designers and developers to design and develop the page synchronously after the requirements are obtained, the time period of page development is effectively shortened, in addition, the developers can directly modify errors found in subsequent tests through the corresponding relation between the page design drawing and each layer, and the labor cost is saved.
As shown in fig. 2, based on the embodiment shown in fig. 1, in some optional implementations, step S104 may specifically include:
s201, determining data flow direction and business logic in the application software based on the requirement information of the application software.
S202, determining a data model layer of the application software based on the data flow direction in the application software.
S203, determining the logic layer of the application software based on the data model layer and the service logic in the application software.
S204, determining the display layer of the application software based on the logic layer of the application software.
In a specific example, under an MVVM architecture, a concept of "data Model data bidirectional binding" is taken as a core, and the interaction between the display layer View and the data Model layer Model is not direct, but is performed through the logic layer View Model, and the interaction between the data Model layer Model and the logic layer View Model is bidirectional, so that the change of the information of the page design drawing modifies the data source at the same time, and the change of the data source immediately reacts to the display layer View, and correspondingly, the change of the View data of the display layer synchronizes to the data Model layer Model, and similarly, if the information in the data Model layer Model changes, the change of the information immediately reacts to the View of the display layer.
Therefore, the embodiment of the disclosure can simplify subsequent testing, the View of the display layer and the Model of the data Model layer are changed simultaneously, and testing links can be reduced only by ensuring the correctness of any level, so that the testing efficiency is improved.
As shown in fig. 3, on the basis of the embodiment shown in fig. 1, in some optional implementations, the step S104 and the step S106 may further include:
s301, determining a dynamic effect file of the application software based on at least one page design drawing of the application software.
The dynamic effect file is composed of a plurality of page design drawings, such as switching, entering, exiting, clicking and the like among the page design drawings.
S302, obtaining extensible markup language based on the dynamic effect file of the application software.
For example, a designer can use sketch software to give a page design graph file, and use a sketch plug-in written by js script to import the page design graph file to determine a dynamic effect file, and obtain the required xml through the dynamic file.
As shown in fig. 4, based on the embodiment shown in fig. 1, in some optional implementations, step S106 may specifically include:
s401, determining an interface of a data model layer, an interface of a logic layer and an interface of a display layer corresponding to at least one page design drawing of the application software based on the at least one page design drawing of the application software.
S402, importing the extensible markup language of the at least one page design drawing of the application software based on the interface of the data model layer, the interface of the logic layer and the interface of the display layer corresponding to the at least one page design drawing of the application software, and generating at least one page of the application software.
For example, while a designer designs a page, the developer can develop a data Model layer Model, a logic layer Presenter and a corresponding interface in an MVP framework, and after the designer generates a page design drawing and a dynamic effect file, the dynamic effect file is converted and exported into an xml interface which can be recognized by a system and a dynamic effect layer represented by java codes through scripts, the exported file is integrated into the system, and the interfaces of a display layer view and the logic layer Presenter are debugged and imported.
Therefore, the development speed can be increased, and when the demand of the page changes, only the data in the view of the display layer needs to be replaced, so that the data in the page can be flexibly opened, the development process is saved, and the construction period is shortened.
As shown in fig. 5, on the basis of the above embodiment shown in fig. 1, in some optional implementations, the present invention may further include:
s501, acquiring an identifier of at least one page design drawing.
S502, responding to the information change in the display layer of the application software, and modifying the extensible markup language.
S503, updating at least one page design drawing based on the modified extensible markup language and the identification of at least one page design drawing.
For example, when a page design diagram is generated through the extensible markup language xml, one page design diagram corresponds to one unique identifier, and at this time, when a developer adjusts a page or a designer modifies a design, the designer can reversely generate a page design diagram file as long as the developer provides the designer with the modified extensible markup language xml. If a certain page design drawing needs to be modified, the extensible markup language xml can be reversely imported into the sketch software, and a corresponding identifier is selected for each appointed page design drawing, so that the identifier of the page design drawing in the exported extensible markup language xml is synchronized with the modification.
Any page generation method provided by the embodiments of the present disclosure may be executed by any suitable device with data processing capability, including but not limited to: terminal equipment, a server and the like. Alternatively, any of the page generation methods provided by the embodiments of the present disclosure may be executed by a processor, for example, the processor may execute any of the page generation methods mentioned in the embodiments of the present disclosure by calling a corresponding instruction stored in a memory. And will not be described in detail below.
Fig. 6 is a schematic structural diagram of a page generation apparatus according to an exemplary embodiment of the present disclosure. The test device may be disposed in an electronic device such as a terminal device or a server, and executes the page generation method according to any of the embodiments of the disclosure. As shown in fig. 6, the page generating apparatus includes:
a first obtaining module 61, configured to obtain requirement information of the application software;
a first determining module 62, configured to determine at least one page design drawing of the application software and a data model layer, a logic layer, and a display layer of the application software, respectively, based on the requirement information of the application software;
a generating module 63, configured to generate at least one page of the application software based on a correspondence between at least one page design drawing of the application software and the data model layer, the logic layer, and the display layer of the application software.
Based on the page generating device provided by the above embodiment of the present disclosure, the demand information of the application software is acquired; respectively determining at least one page design drawing of the application software and a data model layer, a logic layer and a display layer of the application software based on the requirement information of the application software; and generating at least one page of the application software based on the corresponding relation between at least one page design drawing of the application software and the data model layer, the logic layer and the display layer of the application software. Therefore, the method and the device for designing and developing the page can enable designers and developers to design and develop the page synchronously after the requirements are obtained, the time period of page development is effectively shortened, in addition, the developers can directly modify errors found in subsequent tests through the corresponding relation between the page design drawing and each layer, and the labor cost is saved.
In some embodiments, the first determining module 62 includes:
the first determining unit is used for determining the data flow direction and the business logic in the application software based on the requirement information of the application software;
the second determining unit is used for determining the data model layer of the application software based on the data flow direction in the application software;
a third determining unit, configured to determine a logic layer of the application software based on a data model layer and a service logic in the application software;
and the fourth determining unit is used for determining the display layer of the application software based on the logic layer of the application software.
In some embodiments, between the first determining module 62 and the generating module 63, further comprising:
the second determination module is used for determining a dynamic effect file of the application software based on at least one page design drawing of the application software;
and the obtaining module is used for obtaining the extensible markup language based on the dynamic effect file of the application software.
In some embodiments, the generating module includes:
a fifth determining unit, configured to determine, based on at least one page design drawing of the application software, an interface of the data model layer, an interface of the logic layer, and an interface of the display layer, which correspond to the at least one page design drawing of the application software;
and the generating unit is used for importing the extensible markup language of the at least one page design drawing of the application software based on the interface of the data model layer, the interface of the logic layer and the interface of the display layer corresponding to the at least one page design drawing of the application software, and generating the at least one page of the application software.
In some embodiments, the method further comprises:
the second acquisition module is used for acquiring the identifier of the at least one page design drawing;
the modification module is used for responding to the change of the information in the display layer of the application software and modifying the extensible markup language;
and the updating module is used for updating the at least one page design drawing based on the modified extensible markup language and the identification of the at least one page design drawing.
In addition, an embodiment of the present disclosure also provides an electronic device, which includes: a processor; a memory for storing the processor-executable instructions;
the processor is configured to read the executable instruction from the memory and execute the instruction to implement the page generation method according to any of the above embodiments of the present disclosure.
Next, an electronic apparatus according to an embodiment of the present disclosure is described with reference to fig. 7. The electronic device may be either or both of the first device and the second device, or a stand-alone device separate from them, which stand-alone device may communicate with the first device and the second device to receive the acquired input signals therefrom. FIG. 6 illustrates a block diagram of an electronic device in accordance with an embodiment of the disclosure. As shown in fig. 7, the electronic device includes one or more processors 71 and a memory 72.
The processor 71 may be a Central Processing Unit (CPU) or other form of processing unit having data processing capabilities and/or instruction execution capabilities, and may control other components in the electronic device to perform desired functions.
Memory 72 may include one or more computer program products that may include various forms of computer-readable storage media, such as volatile memory and/or non-volatile memory. The volatile memory may include, for example, Random Access Memory (RAM), cache memory (cache), and/or the like. The non-volatile memory may include, for example, Read Only Memory (ROM), hard disk, flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium and executed by the processor 61 to implement the page generation method of the software program of the various embodiments of the present disclosure described above and/or other desired functions. In one example, the electronic device may further include: an input device 73 and an output device 74, which are interconnected by a bus system and/or other form of connection mechanism (not shown).
The input device 73 may also include, for example, a keyboard, a mouse, and the like.
The output device 74 may output various information to the outside. The output devices 74 may include, for example, a display, speakers, a printer, and a communication network and remote output devices connected thereto, among others.
Of course, for simplicity, only some of the components of the electronic device relevant to the present disclosure are shown in fig. 7, omitting components such as buses, input/output interfaces, and the like. In addition, the electronic device may include any other suitable components, depending on the particular application.
In addition to the above methods and apparatus, embodiments of the present disclosure may also be a computer program product comprising computer program instructions which, when executed by a processor, cause the processor to perform the steps in the page generation methods of the software programs of the various embodiments described above in this specification.
The computer program product may write program code for carrying out operations for embodiments of the present disclosure in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server.
Furthermore, embodiments of the present disclosure may also be a computer-readable storage medium having stored thereon computer program instructions, which, when executed by a processor, cause the processor to perform the steps in the page generation method of the software program of the various embodiments described above in this specification.
The computer-readable storage medium may take any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may include, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The foregoing describes the general principles of the present disclosure in conjunction with specific embodiments, however, it is noted that the advantages, effects, etc. mentioned in the present disclosure are merely examples and are not limiting, and they should not be considered essential to the various embodiments of the present disclosure. Furthermore, the foregoing disclosure of specific details is for the purpose of illustration and description and is not intended to be limiting, since the disclosure is not intended to be limited to the specific details so described.
In the present specification, the embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts in the embodiments are referred to each other. For the system embodiment, since it basically corresponds to the method embodiment, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The block diagrams of devices, apparatuses, systems referred to in this disclosure are only given as illustrative examples and are not intended to require or imply that the connections, arrangements, configurations, etc. must be made in the manner shown in the block diagrams. These devices, apparatuses, devices, systems may be connected, arranged, configured in any manner, as will be appreciated by those skilled in the art. Words such as "including," "comprising," "having," and the like are open-ended words that mean "including, but not limited to," and are used interchangeably therewith. The words "or" and "as used herein mean, and are used interchangeably with, the word" and/or, "unless the context clearly dictates otherwise. The word "such as" is used herein to mean, and is used interchangeably with, the phrase "such as but not limited to".
The methods and apparatus of the present disclosure may be implemented in a number of ways. For example, the methods and apparatus of the present disclosure may be implemented by software, hardware, firmware, or any combination of software, hardware, and firmware. The above-described order for the steps of the method is for illustration only, and the steps of the method of the present disclosure are not limited to the order specifically described above unless specifically stated otherwise. Further, in some embodiments, the present disclosure may also be embodied as programs recorded in a recording medium, the programs including machine-readable instructions for implementing the methods according to the present disclosure. Thus, the present disclosure also covers a recording medium storing a program for executing the method according to the present disclosure.
It is also noted that in the devices, apparatuses, and methods of the present disclosure, each component or step can be decomposed and/or recombined. These decompositions and/or recombinations are to be considered equivalents of the present disclosure.
The previous description of the disclosed aspects is provided to enable any person skilled in the art to make or use the present disclosure. Various modifications to these aspects will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other aspects without departing from the scope of the disclosure. Thus, the present disclosure is not intended to be limited to the aspects shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
The foregoing description has been presented for purposes of illustration and description. Furthermore, this description is not intended to limit embodiments of the disclosure to the form disclosed herein. While a number of example aspects and embodiments have been discussed above, those of skill in the art will recognize certain variations, modifications, alterations, additions and sub-combinations thereof.

Claims (10)

1. A page generation method is characterized by comprising the following steps:
acquiring requirement information of application software;
respectively determining at least one page design drawing of the application software and a data model layer, a logic layer and a display layer of the application software based on the requirement information of the application software;
and generating at least one page of the application software based on the corresponding relation between at least one page design drawing of the application software and the data model layer, the logic layer and the display layer of the application software.
2. The method according to claim 1, wherein the determining at least one page design drawing of the application software and a data model layer, a logic layer and a display layer of the application software based on the requirement information of the application software comprises:
determining the data flow direction and business logic in the application software based on the requirement information of the application software;
determining a data model layer of the application software based on the data flow direction in the application software;
determining a logic layer of the application software based on a data model layer and business logic in the application software;
and determining the display layer of the application software based on the logic layer of the application software.
3. The method according to claim 1 or 2, wherein the determining at least one page design drawing of the application software and the corresponding relationship between the at least one page design drawing of the application software and the data model layer, the logic layer, and the display layer of the application software respectively based on the requirement information of the application software, and generating at least one page of the application software, further comprises:
determining a dynamic effect file of the application software based on at least one page design drawing of the application software;
and obtaining the extensible markup language based on the dynamic effect file of the application software.
4. The method according to any one of claims 1 to 3, wherein the generating at least one page of the application software based on the correspondence between the at least one page plan of the application software and the data model layer, the logic layer, and the display layer of the application software comprises:
determining an interface of the data model layer, an interface of the logic layer and an interface of the display layer corresponding to at least one page design drawing of the application software based on at least one page design drawing of the application software;
and importing the extensible markup language of the at least one page design drawing of the application software based on the interface of the data model layer, the interface of the logic layer and the interface of the display layer corresponding to the at least one page design drawing of the application software, and generating at least one page of the application software.
5. A page generating apparatus, comprising:
the first acquisition module is used for acquiring the requirement information of the application software;
the first determining module is used for respectively determining at least one page design drawing of the application software and a data model layer, a logic layer and a display layer of the application software based on the requirement information of the application software;
and the generating module is used for generating at least one page of the application software based on the corresponding relation between at least one page design drawing of the application software and the data model layer, the logic layer and the display layer of the application software.
6. The apparatus of claim 5, wherein the first determining module comprises:
the first determining unit is used for determining the data flow direction and the business logic in the application software based on the requirement information of the application software;
the second determining unit is used for determining the data model layer of the application software based on the data flow direction in the application software;
a third determining unit, configured to determine a logic layer of the application software based on a data model layer and a service logic in the application software;
and the fourth determining unit is used for determining the display layer of the application software based on the logic layer of the application software.
7. The apparatus of claim 5 or 6, wherein between the first determining module and the generating module, further comprising:
the second determination module is used for determining a dynamic effect file of the application software based on at least one page design drawing of the application software;
and the obtaining module is used for obtaining the extensible markup language based on the dynamic effect file of the application software.
8. The apparatus of any of claims 5-7, wherein the generating means comprises:
a fifth determining unit, configured to determine, based on at least one page design drawing of the application software, an interface of the data model layer, an interface of the logic layer, and an interface of the display layer, which correspond to the at least one page design drawing of the application software;
and the generating unit is used for importing the extensible markup language of the at least one page design drawing of the application software based on the interface of the data model layer, the interface of the logic layer and the interface of the display layer corresponding to the at least one page design drawing of the application software, and generating the at least one page of the application software.
9. A computer-readable storage medium, characterized in that the storage medium stores a computer program for executing the page generating method of any of the above claims 1-4.
10. An electronic device, characterized in that the electronic device comprises:
a processor;
a memory for storing the processor-executable instructions;
the processor is used for reading the executable instruction from the memory and executing the instruction to realize the page generation method of any one of the claims 1 to 4.
CN202010587575.3A 2020-06-24 2020-06-24 Page generation method and device, electronic equipment and storage medium Pending CN111782180A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010587575.3A CN111782180A (en) 2020-06-24 2020-06-24 Page generation method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010587575.3A CN111782180A (en) 2020-06-24 2020-06-24 Page generation method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111782180A true CN111782180A (en) 2020-10-16

Family

ID=72759901

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010587575.3A Pending CN111782180A (en) 2020-06-24 2020-06-24 Page generation method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111782180A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114003228A (en) * 2021-11-04 2022-02-01 腾讯科技(深圳)有限公司 Interface updating method and device, computer equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107908398A (en) * 2017-11-08 2018-04-13 四川长虹电器股份有限公司 Method based on React technique constructions web applications
WO2018077085A1 (en) * 2016-10-28 2018-05-03 腾讯科技(深圳)有限公司 Application processing method, device and storage medium
CN108228183A (en) * 2018-01-12 2018-06-29 北京三快在线科技有限公司 Front-end interface code generating method, device, electronic equipment and storage medium
CN108345456A (en) * 2018-03-07 2018-07-31 平安普惠企业管理有限公司 Page code generation method, device, computer equipment and storage medium
CN109445794A (en) * 2018-11-12 2019-03-08 北京中电普华信息技术有限公司 A kind of page building method and device
CN109783094A (en) * 2018-12-15 2019-05-21 深圳壹账通智能科技有限公司 Front end page generation method, device, computer equipment and storage medium
CN111124409A (en) * 2019-12-24 2020-05-08 深圳乐信软件技术有限公司 Sketch-based business page generation method, device, equipment and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018077085A1 (en) * 2016-10-28 2018-05-03 腾讯科技(深圳)有限公司 Application processing method, device and storage medium
CN107908398A (en) * 2017-11-08 2018-04-13 四川长虹电器股份有限公司 Method based on React technique constructions web applications
CN108228183A (en) * 2018-01-12 2018-06-29 北京三快在线科技有限公司 Front-end interface code generating method, device, electronic equipment and storage medium
CN108345456A (en) * 2018-03-07 2018-07-31 平安普惠企业管理有限公司 Page code generation method, device, computer equipment and storage medium
CN109445794A (en) * 2018-11-12 2019-03-08 北京中电普华信息技术有限公司 A kind of page building method and device
CN109783094A (en) * 2018-12-15 2019-05-21 深圳壹账通智能科技有限公司 Front end page generation method, device, computer equipment and storage medium
CN111124409A (en) * 2019-12-24 2020-05-08 深圳乐信软件技术有限公司 Sketch-based business page generation method, device, equipment and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
欧阳李青;张之江;: "基于MVVM模式的嵌入式系统通用数据可视化工具设计与实现", 工业控制计算机, no. 03 *
黄冰;: "基于MVVM的高校团委网站设计与开发", 电脑知识与技术, no. 11, pages 1 - 3 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114003228A (en) * 2021-11-04 2022-02-01 腾讯科技(深圳)有限公司 Interface updating method and device, computer equipment and storage medium
CN114003228B (en) * 2021-11-04 2023-07-21 腾讯科技(深圳)有限公司 Interface updating method, device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
US20230367559A1 (en) Development environment for real-time dataflow programming language
WO2018228211A1 (en) Application conversion method, apparatus and device
US9442700B2 (en) API notebook tool
CN109739478A (en) Front end project automated construction method, device, storage medium and electronic equipment
CN110955409B (en) Method and device for creating resources on cloud platform
CN113760729A (en) Code detection method and device
CN110737631A (en) data analysis method and device based on Flink engine
CN114579452A (en) Interface influence detection method and related equipment
CN113407882A (en) Component generation method and device, computer-readable storage medium and electronic equipment
CN109582317A (en) Method and apparatus for debugging boarding application
CN115904989A (en) Interface testing method, device, equipment and readable storage medium
US20140282123A1 (en) Executable guidance experiences based on implicitly generated guidance models
US11604662B2 (en) System and method for accelerating modernization of user interfaces in a computing environment
CN114048415A (en) Form generation method and device, electronic equipment and computer readable storage medium
CN114217789A (en) Function component expansion method, device, equipment, storage medium and program product
CN111782180A (en) Page generation method and device, electronic equipment and storage medium
CN112667219A (en) Code generation method and device, equipment and computer readable storage medium
CN109189388A (en) Page configuration method, server and computer-readable medium
CN112631563A (en) System development method and device based on framework, computer equipment and storage medium
KR20130068564A (en) Terminal apparatus having operating system based on web and method for providing service using thereof
CN111475156B (en) Page code generation method and device, electronic equipment and storage medium
CN114816246A (en) Proto file processing method and device
CN110765003B (en) Code detection method, device and equipment and storage medium
CN114115855A (en) Code multiplexing method and device, computer readable storage medium and electronic equipment
CN111782196A (en) MVP architecture-based development 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