CN110990000A - Data request processing method, device and equipment for MVC (model view controller) pattern design model layer - Google Patents

Data request processing method, device and equipment for MVC (model view controller) pattern design model layer Download PDF

Info

Publication number
CN110990000A
CN110990000A CN201911094275.5A CN201911094275A CN110990000A CN 110990000 A CN110990000 A CN 110990000A CN 201911094275 A CN201911094275 A CN 201911094275A CN 110990000 A CN110990000 A CN 110990000A
Authority
CN
China
Prior art keywords
data
yaml
template
program
data request
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.)
Granted
Application number
CN201911094275.5A
Other languages
Chinese (zh)
Other versions
CN110990000B (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.)
CVIC Software Engineering Co Ltd
Original Assignee
CVIC Software Engineering 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 CVIC Software Engineering Co Ltd filed Critical CVIC Software Engineering Co Ltd
Priority to CN201911094275.5A priority Critical patent/CN110990000B/en
Publication of CN110990000A publication Critical patent/CN110990000A/en
Application granted granted Critical
Publication of CN110990000B publication Critical patent/CN110990000B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • G06F9/44526Plug-ins; Add-ons

Landscapes

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

Abstract

The invention discloses a data request processing method of an MVC pattern design model layer, which comprises the following steps: receiving a data request, and analyzing the data request to obtain data module identification information of data to be processed corresponding to the data request; calling each program component of YAML grammar matched with the data module identification information by using a template analysis program to obtain a YAML template constructed by each program component; and carrying out data interaction operation with the bottom database by using the YAML template so as to process the data to be processed. By applying the technical scheme provided by the embodiment of the invention, the requirement on the user program coding technology is greatly reduced, and the development and maintenance difficulty of the service model is greatly reduced. The invention also discloses a data request processing device, equipment and a storage medium of the MVC pattern design model layer, and the data request processing device, the equipment and the storage medium have corresponding technical effects.

Description

Data request processing method, device and equipment for MVC (model view controller) pattern design model layer
Technical Field
The present invention relates to the field of computer application technologies, and in particular, to a method, an apparatus, a device, and a computer-readable storage medium for processing a data request of an MVC pattern design model layer.
Background
MVC (Model-View-Controller) is a software design paradigm that organizes code using a method that separates business logic, data, and interface display, aggregates business logic into one component, and does not require rewriting of business logic while improving and personalizing custom interfaces and user interactions. MVC was uniquely developed to map traditional input, processing, and output functions into a logical graphical user interface structure.
At present, in the system designed and realized based on the MVC mode in the industry, a model (model) layer is basically realized based on coding, and the functions of the model layers such as service logic, data conversion and the like are realized by writing program codes such as Java, PHP and the like, so that the codes are difficult to understand visually, the requirements on the program coding technology of a user are high, and the development and maintenance difficulty of the service model is high.
In summary, how to effectively solve the problems that codes are difficult to understand intuitively, the requirements on program coding technology of users are high, the development and maintenance difficulty of business models is high, and the like, is a problem that needs to be solved urgently by technical personnel in the field at present.
Disclosure of Invention
The invention aims to provide a data request processing method of an MVC mode design model layer, which greatly reduces the requirement on a user program coding technology and greatly reduces the development and maintenance difficulty of a service model; another object of the present invention is to provide a data request processing device, apparatus, and computer-readable storage medium for MVC pattern design model layers.
In order to solve the technical problems, the invention provides the following technical scheme:
a data request processing method of an MVC pattern design model layer comprises the following steps:
receiving a data request, and analyzing the data request to obtain data module identification information of data to be processed corresponding to the data request;
calling each program component of YAML grammar matched with the data module identification information by using a template analysis program to obtain a YAML template constructed by each program component;
and performing data interaction operation by using the YAML template and a bottom database so as to process the data to be processed.
In a specific embodiment of the present invention, when the data request is a data acquisition request, performing data interaction operation with an underlying database by using the YAML template to process the to-be-processed data, includes:
loading the data to be processed from the bottom database by using the YAML template;
and converting the data to be processed into a Map data object according to a predefined YAML data format.
In a specific embodiment of the present invention, parsing the data request to obtain data module identification information of to-be-processed data corresponding to the data request includes:
analyzing the data request to obtain data module identification information and requester identity information of the data to be processed corresponding to the data request;
before calling each program component of the YAML grammar matched with the data module identification information by using a template analysis program, the method further comprises the following steps:
carrying out identity verification on the identity information of the requesting party;
and when the identity verification is successful, executing the step of calling each program component of the YAML grammar matched with the data module identification information by using a template analysis program.
In a specific embodiment of the present invention, the obtaining of the YAML template constructed by each program component by using a template parsing program to call each program component of the YAML syntax matched with the data module identification information includes:
and calling each program component of YAML grammar matched with the data module identification information by using the template analysis program according to a preset hierarchical relationship to obtain a YAML template which is constructed by each program component and corresponds to the preset hierarchical relationship.
A data request processing apparatus of an MVC pattern design model layer, comprising:
the request analysis module is used for receiving a data request and analyzing the data request to obtain data module identification information of the data to be processed corresponding to the data request;
the template obtaining module is used for calling each program component of the YAML grammar matched with the data module identification information by using a template analysis program to obtain a YAML template constructed by each program component;
and the data interaction module is used for performing data interaction operation with a bottom database by using the YAML template so as to process the data to be processed.
In a specific embodiment of the present invention, the data interaction module includes:
the data loading submodule is used for loading the data to be processed from the bottom database by utilizing the YAML template;
and the data conversion module is used for converting the data to be processed into the Map data object according to a predefined YAML data format.
In a specific embodiment of the present invention, the request parsing module is a module that parses the data request to obtain data module identification information and requester identity information of the to-be-processed data corresponding to the data request;
further comprising:
the identity verification module is used for verifying the identity of the requester before calling each program component of the YAML grammar matched with the data module identification information by using a template analysis program;
and the data loading submodule is specifically a module for calling each program component of the YAML grammar matched with the data module identification information by using a template analysis program when the identity verification is successful.
In a specific embodiment of the present invention, the template obtaining module is a module that calls, according to a preset hierarchical relationship, each program component of the YAML syntax that matches the data module identification information by using the template parsing program to obtain a YAML template that is constructed by each program component and corresponds to the preset hierarchical relationship.
A data request processing device of an MVC pattern design model layer, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the data request processing method for the MVC pattern design model layer as described above when executing the computer program.
A computer readable storage medium having stored thereon a computer program which, when being executed by a processor, realizes the steps of the data request processing method of the MVC pattern design model layer as described above.
By applying the method provided by the embodiment of the invention, the data request is received and analyzed to obtain the data module identification information of the data to be processed corresponding to the data request; calling each program component of YAML grammar matched with the data module identification information by using a template analysis program to obtain a YAML template constructed by each program component; and carrying out data interaction operation with the bottom database by using the YAML template so as to process the data to be processed. By fully utilizing the advantages of easy reading, understanding and use of the YAML language, each program component of the predefined YAML grammar can be directly called according to the identification information of the data module to form the YAML template, the YAML template and the underlying database are utilized to carry out data interaction operation to complete the processing of the data to be processed, and the adaptive coding is not required to be carried out according to different coding languages used by the data to be processed, so that the requirements on the user program coding technology are greatly reduced, and the development and maintenance difficulty of the service model is greatly reduced.
Accordingly, embodiments of the present invention further provide a data request processing apparatus, a device, and a computer-readable storage medium for an MVC pattern design model layer corresponding to the data request processing method for an MVC pattern design model layer, which have the above technical effects and are not described herein again.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flowchart of an implementation of a data request processing method for an MVC pattern design model layer according to an embodiment of the present invention;
FIG. 2 is a flowchart of another embodiment of a data request processing method for an MVC pattern design model layer according to the present invention;
FIG. 3 is a block diagram of a data request processing device of an MVC pattern design model layer according to an embodiment of the present invention;
fig. 4 is a block diagram of a data request processing device of an MVC pattern design model layer according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the disclosure, the invention will be described in further detail with reference to the accompanying drawings and specific embodiments. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The first embodiment is as follows:
referring to fig. 1, fig. 1 is a flowchart of an implementation of a data request processing method for an MVC pattern design model layer according to an embodiment of the present invention, where the method may include the following steps:
s101: and receiving the data request, and analyzing the data request to obtain the data module identification information of the data to be processed corresponding to the data request.
When data processing tasks such as data query, data writing, data acquisition and the like with a bottom database are required, a data request may be sent to a model layer data processing center of MVC, where the data request may include data module identification information of data to be processed corresponding to the data request, and is used to distinguish different data modules. And the data processing center of the model layer receives the data request and analyzes the data request to obtain the data module identification information of the data to be processed corresponding to the data request.
The data request may be a data query request, a data write request, a data fetch request, etc.
The data module identification information may include application scenario information related to the to-be-processed data corresponding to the current data request.
S102: and calling each program component of the YAML grammar matched with the data module identification information by using a template analysis program to obtain the YAML template constructed by each program component.
The program components of the YAML syntax can be preset according to the actual application scenarios possibly related to the data request, and the corresponding relationship between the data module identification information and the program components is deployed in advance, which is generally a one-to-many corresponding relationship. After the data module identification information of the data to be processed is obtained through analysis, the template analysis program can be used for calling each program component of the YAML grammar matched with the data module identification information, and the YAML template constructed by each program component is obtained.
YAML represents the hierarchy (attribute) relationship by using a colon plus indentation mode, emphasizes that data is taken as the center, and identification language is not taken as the key point, and various program components of YAML grammar are deployed in advance, and after the program components are called, YAML templates are constructed by the program components, so that the advantages of simple, readable, understandable and easy-to-use YAML definition are fully utilized.
The template analysis program can be specifically a java template analysis program, each program component is a java program component, and each invoked java program component realized by using java language is written in the template analysis program in advance.
S103: and carrying out data interaction operation with the bottom database by using the YAML template so as to process the data to be processed.
After the YAML template constructed by the program components is obtained, the YAML template can be used for performing data interaction operation with the underlying database, so as to process the data to be processed. The adaptive coding is not needed according to different coding languages used for the data to be processed, so that the requirement on a user program coding technology is greatly reduced, and the development and maintenance difficulty of a service model is greatly reduced.
By applying the method provided by the embodiment of the invention, the data request is received and analyzed to obtain the data module identification information of the data to be processed corresponding to the data request; calling each program component of YAML grammar matched with the data module identification information by using a template analysis program to obtain a YAML template constructed by each program component; and carrying out data interaction operation with the bottom database by using the YAML template so as to process the data to be processed. By fully utilizing the advantages of easy reading, understanding and use of the YAML language, each program component of the predefined YAML grammar can be directly called according to the identification information of the data module to form the YAML template, the YAML template and the underlying database are utilized to carry out data interaction operation to complete the processing of the data to be processed, and the adaptive coding is not required to be carried out according to different coding languages used by the data to be processed, so that the requirements on the user program coding technology are greatly reduced, and the development and maintenance difficulty of the service model is greatly reduced.
It should be noted that, based on the first embodiment, the embodiment of the present invention further provides a corresponding improvement scheme. In the following embodiments, steps that are the same as or correspond to those in the first embodiment may be referred to each other, and corresponding advantageous effects may also be referred to each other, which are not described in detail in the following modified embodiments.
Example two:
referring to fig. 2, fig. 2 is a flowchart of another implementation of a data request processing method for an MVC pattern design model layer according to an embodiment of the present invention, where the method may include the following steps:
s201: and receiving a data acquisition request, and analyzing the data acquisition request to obtain data module identification information and requester identity information of the to-be-processed data corresponding to the data acquisition request.
The data request may specifically be a data acquisition request, and the data acquisition request may include identification information of a data module of the data to be processed, and may also include identity information of a requester. After the data acquisition request is received, the data acquisition request is analyzed, and data module identification information and requester identity information of the to-be-processed data corresponding to the data acquisition request can be obtained.
S202: and carrying out identity verification on the identity information of the requesting party.
After the requestor identity information is parsed, identity verification may be performed on the requestor identity information. For example, the identity of the requester can be verified according to the user name and the password of the requester, so that whether the requester is legal or not is determined, and the security of data is ensured.
S203: and when the identity verification is successful, calling each program component of the YAML grammar matched with the data module identification information by using a template analysis program according to the preset hierarchical relationship to obtain the YAML template which is constructed by each program component and corresponds to the preset hierarchical relationship.
The hierarchical relationship of the YAML template constructed by the program components can be preset, and when the identity verification of the identity information of the requester is successful, the program components of the YAML grammar matched with the data module identification information are called by the template analysis program according to the preset hierarchical relationship to obtain the YAML template constructed by the program components and corresponding to the preset hierarchical relationship. The YAML template with the hierarchical relationship is constructed by utilizing the called program components, so that the requirements on the user program coding technology are further reduced, the development and maintenance difficulty of a service model is reduced, and even the data acquisition and transmission functions from the foreground to the database are realized through 0 programming.
YAML template three-level types are defined, typically in terms of parent-child relationships. A first layer: and the top level node is a data module identifier and is used for distinguishing different data modules. When the program components are called, the data module identification is transmitted, the template analysis program finds the sub item definition according to the data module identification, and data processing is carried out in the sub item range. A second layer: the immediate children of the top level node are defined for the program component. Where the program component name or flow definition is filled in. The program component name is the same as the program component name in the template parser. Its sub-element is that this program component requires the incoming parameter Map name. The definition of the process defines the program processing process, and each item in the square brackets is a program component. The program components are generally callable methods implemented using JAVA language, written in the template parser. The template parser will call the program components in order from front to back, as defined by the brackets herein. And a third layer: all subordinate nodes of the program component definition require an incoming parameter definition for the program component.
S204: and loading the data to be processed from the bottom database by using the YAML template.
After the YAML templates constructed by the component programs are obtained, the YAML templates can be used for loading the data to be processed from the underlying database.
S205: and converting the data to be processed into a Map data object according to a predefined YAML data format.
After the data to be processed is loaded, the data to be processed can be converted into Map data objects according to the predefined YAML data format. By analogy, when data is written, the data to be processed can also be converted into a Map data object, that is: and for each row of data format of the database, the data format is in a key + value format, the key is the name of the database field, and the value is the value of the database field. All incoming or outgoing data are of a Map type and serve as a basic data type, if the data are multi-row data in a database, List < Map > is used for conversion, and the Map of each row is added into the List, so that a unified data standard is established, and effective data transmission between a foreground database and a bottom-layer database is guaranteed.
The definition is made in YAML templates, for example:
# csconnect is a table name, connected is a query condition field name, and the value of the query condition field is passed in when called by an external program. In the template parser, according to the three elements, the SQL statements for the database query are assembled, for example: from cs extract connected ═ 123'
cscontract:[contractid]
In one specific example implementation, the following YAML template sample is illustrated:
data module identification: to distinguish different data modules. This identification is passed in when an external program calls.
And (4) finding out the sub-item definition of the # java template analysis program according to the identifier, and processing data in the sub-item range.
accountsReceiableContract:
Program process flow # Each item in brackets is a process element.
The # component is a callable method implemented using a language, written in the template parser.
The # template parser calls the program components sequentially from front to back in the order defined by the brackets herein.
Process:[getBasicField,queryDBDiction,queryBasicTable,queryDetailTable,totalCalc]
# obtains externally-incoming parameter data. getBasicField is the name of the program component, which is the same as the name of the JAVA program component of the template parser. Its child element is the name of the parameter Map that the program component needs to enter.
Figure BDA0002267817760000081
Figure BDA0002267817760000091
Figure BDA0002267817760000101
Corresponding to the above method embodiments, the present invention further provides a data request processing device for MVC pattern design model layers, and the data request processing device for MVC pattern design model layers described below and the data request processing method for MVC pattern design model layers described above may be referred to correspondingly.
Referring to fig. 3, fig. 3 is a block diagram of a data request processing device of an MVC pattern design model layer according to an embodiment of the present invention, where the device may include:
the request analysis module 31 is configured to receive the data request, and analyze the data request to obtain data module identification information of the to-be-processed data corresponding to the data request;
the template obtaining module 32 is used for calling each program component of the YAML grammar matched with the data module identification information by using a template analysis program to obtain a YAML template constructed by each program component;
and the data interaction module 33 is configured to perform data interaction operation with the underlying database by using the YAML template, so as to process the data to be processed.
By applying the method provided by the embodiment of the invention, the data request is received and analyzed to obtain the data module identification information of the data to be processed corresponding to the data request; calling each program component of YAML grammar matched with the data module identification information by using a template analysis program to obtain a YAML template constructed by each program component; and carrying out data interaction operation with the bottom database by using the YAML template so as to process the data to be processed. By fully utilizing the advantages of easy reading, understanding and use of the YAML language, each program component of the predefined YAML grammar can be directly called according to the identification information of the data module to form the YAML template, the YAML template and the underlying database are utilized to carry out data interaction operation to complete the processing of the data to be processed, and the adaptive coding is not required to be carried out according to different coding languages used by the data to be processed, so that the requirements on the user program coding technology are greatly reduced, and the development and maintenance difficulty of the service model is greatly reduced.
In one embodiment of the present invention, the data interaction module 33 includes:
the data loading submodule is used for loading data to be processed from the bottom database by using the YAML template;
and the data conversion module is used for converting the data to be processed into the Map data object according to the predefined YAML data format.
In a specific embodiment of the present invention, the request parsing module 31 is a module that parses the data request to obtain data module identification information and requester identity information of the to-be-processed data corresponding to the data request;
further comprising:
the identity verification module is used for verifying the identity of the requester before calling each program component of the YAML grammar matched with the data module identification information by using the template analysis program;
the data loading submodule is specifically a module for calling each program component of the YAML grammar matched with the data module identification information by using a template analysis program when the identity verification is successful.
In a specific embodiment of the present invention, the template obtaining module 32 is a module that calls, according to a preset hierarchical relationship, each program component of the YAML syntax matched with the data module identification information by using a template parsing program to obtain a YAML template corresponding to the preset hierarchical relationship and constructed by each program component.
Corresponding to the above method embodiment, referring to fig. 4, fig. 4 is a schematic diagram of a data request processing device of an MVC pattern design model layer provided by the present invention, and the device may include:
a memory 41 for storing a computer program;
the processor 42, when executing the computer program stored in the memory 41, may implement the following steps:
receiving a data request, and analyzing the data request to obtain data module identification information of data to be processed corresponding to the data request; calling each program component of YAML grammar matched with the data module identification information by using a template analysis program to obtain a YAML template constructed by each program component; and carrying out data interaction operation with the bottom database by using the YAML template so as to process the data to be processed.
For the introduction of the device provided by the present invention, please refer to the above method embodiment, which is not described herein again.
Corresponding to the above method embodiment, the present invention further provides a computer-readable storage medium having a computer program stored thereon, the computer program, when executed by a processor, implementing the steps of:
receiving a data request, and analyzing the data request to obtain data module identification information of data to be processed corresponding to the data request; calling each program component of YAML grammar matched with the data module identification information by using a template analysis program to obtain a YAML template constructed by each program component; and carrying out data interaction operation with the bottom database by using the YAML template so as to process the data to be processed.
The computer-readable storage medium may include: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
For the introduction of the computer-readable storage medium provided by the present invention, please refer to the above method embodiments, which are not described herein again.
The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts among the embodiments are referred to each other. The device, the apparatus and the computer-readable storage medium disclosed in the embodiments correspond to the method disclosed in the embodiments, so that the description is simple, and the relevant points can be referred to the description of the method.
The principle and the implementation of the present invention are explained in the present application by using specific examples, and the above description of the embodiments is only used to help understanding the technical solution and the core idea of the present invention. It should be noted that, for those skilled in the art, it is possible to make various improvements and modifications to the present invention without departing from the principle of the present invention, and those improvements and modifications also fall within the scope of the claims of the present invention.

Claims (10)

1. A data request processing method for an MVC pattern design model layer is characterized by comprising the following steps:
receiving a data request, and analyzing the data request to obtain data module identification information of data to be processed corresponding to the data request;
calling each program component of YAML grammar matched with the data module identification information by using a template analysis program to obtain a YAML template constructed by each program component;
and performing data interaction operation by using the YAML template and a bottom database so as to process the data to be processed.
2. The method as claimed in claim 1, wherein when the data request is a data acquisition request, performing data interaction with an underlying database by using the YAML template to process the data to be processed, comprises:
loading the data to be processed from the bottom database by using the YAML template;
and converting the data to be processed into a Map data object according to a predefined YAML data format.
3. The method as claimed in claim 1 or 2, wherein the analyzing the data request to obtain the data module identification information of the to-be-processed data corresponding to the data request comprises:
analyzing the data request to obtain data module identification information and requester identity information of the data to be processed corresponding to the data request;
before calling each program component of the YAML grammar matched with the data module identification information by using a template analysis program, the method further comprises the following steps:
carrying out identity verification on the identity information of the requesting party;
and when the identity verification is successful, executing the step of calling each program component of the YAML grammar matched with the data module identification information by using a template analysis program.
4. The method for processing data request of MVC pattern design model layer as claimed in claim 3, wherein the step of calling each program component of YAML syntax matching with said data module identification information by using a template parser to obtain YAML template constructed by each said program component comprises:
and calling each program component of YAML grammar matched with the data module identification information by using the template analysis program according to a preset hierarchical relationship to obtain a YAML template which is constructed by each program component and corresponds to the preset hierarchical relationship.
5. A data request processing apparatus of an MVC pattern design model layer, comprising:
the request analysis module is used for receiving a data request and analyzing the data request to obtain data module identification information of the data to be processed corresponding to the data request;
the template obtaining module is used for calling each program component of the YAML grammar matched with the data module identification information by using a template analysis program to obtain a YAML template constructed by each program component;
and the data interaction module is used for performing data interaction operation with a bottom database by using the YAML template so as to process the data to be processed.
6. The MVC pattern design model layer data request processing device of claim 5, wherein the data interaction module comprises:
the data loading submodule is used for loading the data to be processed from the bottom database by utilizing the YAML template;
and the data conversion module is used for converting the data to be processed into the Map data object according to a predefined YAML data format.
7. The apparatus as claimed in claim 6, wherein the request parsing module is a module for parsing the data request to obtain the identity information of the requesting party and the data module identifier information of the data to be processed corresponding to the data request;
further comprising:
the identity verification module is used for verifying the identity of the requester before calling each program component of the YAML grammar matched with the data module identification information by using a template analysis program;
and the data loading submodule is specifically a module for calling each program component of the YAML grammar matched with the data module identification information by using a template analysis program when the identity verification is successful.
8. The apparatus for processing a data request for an MVC pattern design model layer as claimed in any one of claims 5 to 7, wherein the template obtaining module is specifically a module that calls each of the program components of YAML syntax matching with the data module identification information by the template parser according to a preset hierarchical relationship to obtain a YAML template corresponding to the preset hierarchical relationship and constructed by each of the program components.
9. A data request processing device of an MVC pattern design model layer, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the data request processing method for the MVC pattern design model layer as claimed in any one of claims 1 to 4 when executing the computer program.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a computer program which, when being executed by a processor, realizes the steps of the data request processing method for MVC pattern design model layers according to any one of claims 1 to 4.
CN201911094275.5A 2019-11-11 2019-11-11 Data request processing method, device and equipment of MVC pattern design model layer Active CN110990000B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911094275.5A CN110990000B (en) 2019-11-11 2019-11-11 Data request processing method, device and equipment of MVC pattern design model layer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911094275.5A CN110990000B (en) 2019-11-11 2019-11-11 Data request processing method, device and equipment of MVC pattern design model layer

Publications (2)

Publication Number Publication Date
CN110990000A true CN110990000A (en) 2020-04-10
CN110990000B CN110990000B (en) 2023-06-02

Family

ID=70083637

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911094275.5A Active CN110990000B (en) 2019-11-11 2019-11-11 Data request processing method, device and equipment of MVC pattern design model layer

Country Status (1)

Country Link
CN (1) CN110990000B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112069788A (en) * 2020-09-10 2020-12-11 杭州安恒信息技术股份有限公司 Method, device and equipment for analyzing yaml file and storage medium
CN114691128A (en) * 2020-12-29 2022-07-01 苏州国双软件有限公司 Front-end page generation method and device, electronic equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104281441A (en) * 2013-07-09 2015-01-14 腾讯科技(深圳)有限公司 Data extraction method and device based on MVC
US20160078128A1 (en) * 2014-09-12 2016-03-17 General Electric Company Systems and methods for semantically-informed querying of time series data stores
US20160124722A1 (en) * 2014-10-31 2016-05-05 Oracle International Corporation Json stylesheet language transformation
US20170242667A1 (en) * 2016-02-24 2017-08-24 Helix Data Solutions LLC Software development tool using a workflow pattern that describes software applications
CN108319661A (en) * 2018-01-10 2018-07-24 链家网(北京)科技有限公司 A kind of structured storage method and device of spare part information
CN108334322A (en) * 2017-12-30 2018-07-27 方正璞华软件(武汉)股份有限公司 A kind of data request method and system of MVC frames
CN109783085A (en) * 2019-02-02 2019-05-21 北京顺丰同城科技有限公司 A kind of application program generation method, device and electronic equipment
CN110347953A (en) * 2019-05-20 2019-10-18 中国平安财产保险股份有限公司 Page generation method, device, computer equipment and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104281441A (en) * 2013-07-09 2015-01-14 腾讯科技(深圳)有限公司 Data extraction method and device based on MVC
US20160078128A1 (en) * 2014-09-12 2016-03-17 General Electric Company Systems and methods for semantically-informed querying of time series data stores
US20160124722A1 (en) * 2014-10-31 2016-05-05 Oracle International Corporation Json stylesheet language transformation
US20170242667A1 (en) * 2016-02-24 2017-08-24 Helix Data Solutions LLC Software development tool using a workflow pattern that describes software applications
CN108334322A (en) * 2017-12-30 2018-07-27 方正璞华软件(武汉)股份有限公司 A kind of data request method and system of MVC frames
CN108319661A (en) * 2018-01-10 2018-07-24 链家网(北京)科技有限公司 A kind of structured storage method and device of spare part information
CN109783085A (en) * 2019-02-02 2019-05-21 北京顺丰同城科技有限公司 A kind of application program generation method, device and electronic equipment
CN110347953A (en) * 2019-05-20 2019-10-18 中国平安财产保险股份有限公司 Page generation method, device, computer equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
尹彦均;王普;李亚芬;: "基于J2EE开源框架的业务组件代码生成器设计", 微型机与应用, no. 1 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112069788A (en) * 2020-09-10 2020-12-11 杭州安恒信息技术股份有限公司 Method, device and equipment for analyzing yaml file and storage medium
CN114691128A (en) * 2020-12-29 2022-07-01 苏州国双软件有限公司 Front-end page generation method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN110990000B (en) 2023-06-02

Similar Documents

Publication Publication Date Title
CN107092535B (en) Method and apparatus for data storage of test interface
CN107330014B (en) Data table creating method and device
EP3279816A1 (en) Data analysis processing method, apparatus, computer device, and storage medium
CN104461531A (en) Implementing method for self-defined functions of reporting system
CN110990000B (en) Data request processing method, device and equipment of MVC pattern design model layer
CN109062906B (en) Translation method and device for program language resources
CN108664546B (en) XML data structure conversion method and device
CN111506579A (en) Method, program and equipment for generating intelligent contract code
CN113703862A (en) Configuration-based interface calling method, device, equipment and storage medium
CN113923268B (en) Resolution method, device and storage medium for multi-version communication protocol
CN115328569A (en) Method, system, electronic device and computer readable storage medium for processing data conflict
CN114327493A (en) Data processing method and device, electronic equipment and computer readable medium
CN111198678A (en) Method and device for generating GraphQL front-end operation interface
CN112883088B (en) Data processing method, device, equipment and storage medium
CN116450655A (en) Tree structure data processing method and device, electronic equipment and storage medium
CN108959508B (en) SQL data generation method and device
CN112433933A (en) Method and equipment for automatically testing interface
CN113050987B (en) Method and device for generating interface document, storage medium and electronic equipment
CN110443202B (en) System, method and storage medium for real-time analysis of paper font regularity
CN114282895A (en) Data processing method and device, electronic equipment and storage medium
CN109241158B (en) Data source definition method and device for rule management
CN112445811A (en) Data service method, device, storage medium and component based on SQL configuration
CN111222015A (en) Method for generating document by heterogeneous XML mapping
CN114499759B (en) Message generation method and device, electronic equipment and storage medium
CN117435177B (en) Application program interface construction method, system, equipment and storage medium

Legal Events

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