CN113741870A - Method, system, equipment and storage medium for acquiring data in Spring framework - Google Patents
Method, system, equipment and storage medium for acquiring data in Spring framework Download PDFInfo
- Publication number
- CN113741870A CN113741870A CN202110960787.6A CN202110960787A CN113741870A CN 113741870 A CN113741870 A CN 113741870A CN 202110960787 A CN202110960787 A CN 202110960787A CN 113741870 A CN113741870 A CN 113741870A
- Authority
- CN
- China
- Prior art keywords
- data
- providing service
- data providing
- acquiring
- service
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 41
- 230000004048 modification Effects 0.000 claims abstract description 30
- 238000012986 modification Methods 0.000 claims abstract description 30
- 230000006870 function Effects 0.000 claims description 60
- 238000005034 decoration Methods 0.000 claims description 8
- 238000004590 computer program Methods 0.000 claims description 7
- 238000010586 diagram Methods 0.000 description 7
- 230000000694 effects Effects 0.000 description 3
- 235000006719 Cassia obtusifolia Nutrition 0.000 description 2
- 235000014552 Cassia tora Nutrition 0.000 description 2
- 244000201986 Cassia tora Species 0.000 description 2
- 230000008901 benefit Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000013329 compounding Methods 0.000 description 1
- 230000008878 coupling Effects 0.000 description 1
- 238000010168 coupling process Methods 0.000 description 1
- 238000005859 coupling reaction Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000014509 gene expression Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000012216 screening Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/31—Programming languages or programming paradigms
Abstract
The invention provides a method, a system, equipment and a storage medium for acquiring data in a Spring framework, wherein the method comprises the following steps: defining a plurality of data types according to requirements, and defining the types of the data types provided by the data providing service through a modification function; responding to a received query request of a user, determining a query object according to the query request, acquiring a uniform resource identifier of the query object, and reading a mode character of the uniform resource identifier; determining data providing services according to the mode characters, and sending the query request to the data providing services corresponding to the mode characters; and acquiring data of the data type corresponding to the data providing service from the data providing service through an acquiring function. The invention limits the data type provided by the third party through the modification function, acquires data from the third party service through the uniform acquisition function, and ensures that the data can be accurately and efficiently acquired and displayed through the settings of the return value and the query condition.
Description
Technical Field
The present invention relates to the field of Spring frameworks, and in particular, to a method, a system, a device, and a storage medium for acquiring data in a Spring framework.
Background
The Spring framework is an open source framework that is created to address the complexities of enterprise application development. Spring uses the basic JAVA Bean to accomplish what was previously only possible with EJBs (business application component technology Enterprise JAVA Bean in JAVA). However, the use of Spring is not limited to server-side development. Any Java application may benefit from Spring from the point of view of simplicity, testability and loose coupling. In brief, Spring is a lightweight container frame that controls inversion (IoC) and cut-out face (AOP).
The Spring framework is a commonly used network framework, which provides data presentation views by means of MVC (Model, View, Controller). Spring MVC belongs to a subsequent product of a Spring framework and is fused in Spring Web Flow. Spring MVC separates the roles of controller, model objects, dispatcher, and handler objects, making them easier to customize. Modern large-scale network projects not only require cooperation among departments of a company, but also possibly require mutual cooperation among different enterprises, so that a Spring framework developed by one company needs to be combined with a third-party company. However, each third-party company may have its own data type, and it is time-consuming and labor-consuming to design the data type of each third-party company in a targeted manner to obtain the data in the Spring.
Disclosure of Invention
In view of this, an object of embodiments of the present invention is to provide a method, a system, a computer device, and a computer readable storage medium for acquiring data in a Spring framework, where the method and the system define a data type provided by a third party through a modification function, perform data query distribution through registration type analysis, acquire data from a third party service through a uniform acquisition function, and through setting a return value and a query condition, ensure that the data can be accurately and efficiently acquired and displayed, improve the extensibility of the Spring application, embed the third party data service into an existing Spring application, and implement hot plug of the data service without modifying the original Spring application.
Based on the above purpose, an aspect of the embodiments of the present invention provides a method for acquiring data in a Spring frame, including the following steps: defining a plurality of data types according to requirements, and defining the types of the data types provided by the data providing service through a modification function; responding to a received query request of a user, determining a query object according to the query request, acquiring a uniform resource identifier of the query object, and reading a mode character of the uniform resource identifier; determining data providing services according to the mode characters, and sending the query request to the data providing services corresponding to the mode characters; and acquiring data of the data type corresponding to the data providing service from the data providing service through an acquisition function.
In some embodiments, the defining the category of the data type provided by the data providing service through the decoration function includes: and setting a data type set of the data providing service, and adding the data type corresponding to the data providing service into the data type set through the modification function.
In some embodiments, the obtaining, by the obtaining function, data of a data type corresponding to the data providing service from the data providing service includes: and acquiring service characters and object characters of the uniform resource identifiers, and determining the target object of the data type according to the service characters and the object characters.
In some embodiments, said determining a query object from said query request comprises: the range of the target object is defined by the id condition, the attribute name of the data type and the relationship between different data types.
In another aspect of the embodiments of the present invention, a system for acquiring data in a Spring framework is provided, including: the definition module is configured for defining a plurality of data types according to requirements and limiting the types of the data types provided by the data providing service through a modification function; the identification module is configured to respond to a received query request of a user, determine a query object according to the query request, acquire a uniform resource identifier of the query object, and read a mode character of the uniform resource identifier; the sending module is configured to determine a data providing service according to the mode character and send the query request to the data providing service corresponding to the mode character; and the acquisition module is configured to acquire data of a data type corresponding to the data providing service from the data providing service through an acquisition function.
In some embodiments, the definition module is configured to: and setting a data type set of the data providing service, and adding the data type corresponding to the data providing service into the data type set through the modification function.
In some embodiments, the obtaining module is configured to: and acquiring service characters and object characters of the uniform resource identifiers, and determining the target object of the data type according to the service characters and the object characters.
In some embodiments, the identification module is configured to: the range of the target object is defined by the id condition, the attribute name of the data type and the relationship between different data types.
In another aspect of the embodiments of the present invention, there is also provided a computer device, including: at least one processor; and a memory storing computer instructions executable on the processor, the instructions when executed by the processor implementing the steps of the method as above.
In a further aspect of the embodiments of the present invention, a computer-readable storage medium is also provided, in which a computer program for implementing the above method steps is stored when the computer program is executed by a processor.
The invention has the following beneficial technical effects: the data types provided by the third party are limited through the modification function, data query is distributed through registration type analysis, data are obtained from the third party service through the unified obtaining function, accurate and efficient obtaining and displaying of the data are guaranteed through setting of the return value and the query condition, the expansibility of the Spring application can be improved, the third party data service is embedded into the existing Spring application, the original Spring application does not need to be modified, and hot plug of the data service is achieved.
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, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other embodiments can be obtained by using the drawings without creative efforts.
Fig. 1 is a schematic diagram of an embodiment of a method for acquiring data in a Spring framework according to the present invention;
FIG. 2 is a schematic diagram of an embodiment of a system for acquiring data in a Spring framework according to the present invention;
fig. 3 is a schematic hardware structure diagram of an embodiment of the computer device for acquiring data in a Spring framework according to the present invention;
fig. 4 is a schematic diagram of an embodiment of a computer storage medium for acquiring data in a Spring framework according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the following embodiments of the present invention are described in further detail with reference to the accompanying drawings.
It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are used for distinguishing two entities with the same name but different names or different parameters, and it should be noted that "first" and "second" are merely for convenience of description and should not be construed as limitations of the embodiments of the present invention, and they are not described in any more detail in the following embodiments.
In a first aspect of the embodiments of the present invention, an embodiment of a method for acquiring data in a Spring framework is provided. Fig. 1 is a schematic diagram illustrating an embodiment of a method for acquiring data in a Spring framework according to the present invention. As shown in fig. 1, the embodiment of the present invention includes the following steps:
s1, defining a plurality of data types according to requirements, and defining the types of the data types provided by the data providing service through a modification function;
s2, responding to a received query request of a user, determining a query object according to the query request, acquiring a uniform resource identifier of the query object, and reading a mode character of the uniform resource identifier;
s3, determining data providing service according to the mode character, and sending the query request to the data providing service corresponding to the mode character; and
and S4, acquiring data of the data type corresponding to the data providing service from the data providing service through an acquiring function.
The embodiment of the invention limits the data type provided by a third party through a modification function in the data providing service, determines the distribution of data query through registration type analysis, acquires data from the third party service through a uniform acquisition function (such as getData), and ensures that the data can be accurately and efficiently acquired and displayed through the setting of a return value and a query condition.
A plurality of data types are defined according to requirements, and the types of the data types provided by the data providing service are limited through a decoration function. The third party defines various data types according to the needs, and the data types can be completely the third party, and can also be the customization of public data. The third party needs to specify the type of data provided by the data providing service through a decoration function (e.g., @ type) on the implemented data providing service.
In some embodiments, the defining the category of the data type provided by the data providing service through the decoration function includes: and setting a data type set of the data providing service, and adding the data type corresponding to the data providing service into the data type set through the modification function. For example, the data type set of the data providing service is set to be an empty set, and the data type corresponding to the data providing service is added to the data type set to form the data type set corresponding to the data providing service.
Responding to a received query request of a user, determining a query object according to the query request, acquiring a uniform resource identifier of the query object, and reading a mode character of the uniform resource identifier.
In some embodiments, said determining a query object from said query request comprises: the range of the target object is defined by the id condition, the attribute name of the data type and the relationship between different data types. To ensure efficient and effective querying, the screening can be narrowed by implementing the following four constraints: (1) id restriction: uniquely restricting the query object by an id condition; (2) and attribute limitation: querying by using the attribute name of the data type as a limiting condition; (3) and (3) limiting the relation: querying through relationships between different types; (4) and (3) compounding limitation: for the combination of the above three restrictions, the above three restrictions may be arranged and combined by a logical command.
The front end ui (user interface) determines query objects by user selection, each object having its uniquely identified uri (Uniform Resource Identifier). The format of uri is as follows:
schema:type:serverGuid:objectId
the schema represents mode characters, different third parties need to specify unique mode characters, and the Spring framework distributes data query services through the schema; type represents a type character, indicating the type of data; the serverGuid represents a service character and is used for identifying the Spring server, so that the expansion is facilitated; the objectId represents an object character and is a unique identifier of the data type object.
And determining a data providing service according to the mode character, and sending the query request to the data providing service corresponding to the mode character. The data providing service needs to register a type analysis program with a Spring framework, a third party locates the data type by specifying a specific uri, and the Spring can dispatch the data query to the data providing service of the third party through the schema of the uri.
And acquiring data of the data type corresponding to the data providing service from the data providing service through an acquiring function.
In some embodiments, the obtaining, by the obtaining function, data of a data type corresponding to the data providing service from the data providing service includes: and acquiring service characters and object characters of the uniform resource identifiers, and determining the target object of the data type according to the service characters and the object characters. And acquiring a service character serverGuid and an object character objectId of the uniform resource identifier, and determining a target object of the data type according to the service character and the object character.
The embodiment of the invention limits the data type provided by the third party through the modification function, performs data query distribution through registration type analysis, acquires data from the third party service through the uniform acquisition function, ensures that the data can be accurately and efficiently acquired and displayed through the setting of the return value and the query condition, can improve the expansibility of Spring application, embeds the third party data service into the existing Spring application, does not need to modify the original Spring application, and realizes the hot plug of the data service.
It should be particularly noted that, the steps in the embodiments of the method for acquiring data in a Spring frame described above may be mutually intersected, replaced, added, and deleted, so that these methods for acquiring data in a Spring frame, which are transformed by reasonable permutation and combination, should also belong to the scope of the present invention, and should not limit the scope of the present invention to the embodiments.
In view of the above object, according to a second aspect of the embodiments of the present invention, a system for acquiring data in a Spring framework is provided. As shown in fig. 2, the system 200 includes the following modules: the definition module is configured for defining a plurality of data types according to requirements and limiting the types of the data types provided by the data providing service through a modification function; the identification module is configured to respond to a received query request of a user, determine a query object according to the query request, acquire a uniform resource identifier of the query object, and read a mode character of the uniform resource identifier; the sending module is configured to determine a data providing service according to the mode character and send the query request to the data providing service corresponding to the mode character; and the acquisition module is configured to acquire data of a data type corresponding to the data providing service from the data providing service through an acquisition function.
In some embodiments, the definition module is configured to: and setting a data type set of the data providing service, and adding the data type corresponding to the data providing service into the data type set through the modification function.
In some embodiments, the obtaining module is configured to: and acquiring service characters and object characters of the uniform resource identifiers, and determining the target object of the data type according to the service characters and the object characters.
In some embodiments, the identification module is configured to: the range of the target object is defined by the id condition, the attribute name of the data type and the relationship between different data types.
The embodiment of the invention limits the data type provided by the third party through the modification function, performs data query distribution through registration type analysis, acquires data from the third party service through the uniform acquisition function, ensures that the data can be accurately and efficiently acquired and displayed through the setting of the return value and the query condition, can improve the expansibility of Spring application, embeds the third party data service into the existing Spring application, does not need to modify the original Spring application, and realizes the hot plug of the data service.
In view of the above object, a third aspect of the embodiments of the present invention provides a computer device, including: at least one processor; and a memory storing computer instructions executable on the processor, the instructions being executable by the processor to perform the steps of: s1, defining a plurality of data types according to requirements, and defining the types of the data types provided by the data providing service through a modification function; s2, responding to a received query request of a user, determining a query object according to the query request, acquiring a uniform resource identifier of the query object, and reading a mode character of the uniform resource identifier; s3, determining data providing service according to the mode character, and sending the query request to the data providing service corresponding to the mode character; and S4, acquiring data of the data type corresponding to the data providing service from the data providing service through an acquiring function.
In some embodiments, the defining the category of the data type provided by the data providing service through the decoration function includes: and setting a data type set of the data providing service, and adding the data type corresponding to the data providing service into the data type set through the modification function.
In some embodiments, the obtaining, by the obtaining function, data of a data type corresponding to the data providing service from the data providing service includes: and acquiring service characters and object characters of the uniform resource identifiers, and determining the target object of the data type according to the service characters and the object characters.
In some embodiments, said determining a query object from said query request comprises: the range of the target object is defined by the id condition, the attribute name of the data type and the relationship between different data types.
The embodiment of the invention limits the data type provided by the third party through the modification function, performs data query distribution through registration type analysis, acquires data from the third party service through the uniform acquisition function, ensures that the data can be accurately and efficiently acquired and displayed through the setting of the return value and the query condition, can improve the expansibility of Spring application, embeds the third party data service into the existing Spring application, does not need to modify the original Spring application, and realizes the hot plug of the data service.
Fig. 3 is a schematic diagram of a hardware structure of an embodiment of the computer device for acquiring data in a Spring framework according to the present invention.
Taking the device shown in fig. 3 as an example, the device includes a processor 301 and a memory 302.
The processor 301 and the memory 302 may be connected by a bus or other means, such as the bus connection in fig. 3.
The memory 302 is a non-volatile computer-readable storage medium, and can be used for storing non-volatile software programs, non-volatile computer-executable programs, and modules, such as program instructions/modules corresponding to the method for acquiring data in a Spring framework in the embodiments of the present application. The processor 301 executes various functional applications of the server and data processing by running the nonvolatile software program, instructions and modules stored in the memory 302, that is, implements the method for acquiring data in the Spring framework of the above method embodiment.
The method for acquiring the data in the Spring frame comprises the following steps: defining a plurality of data types according to requirements, and defining the types of the data types provided by the data providing service through a modification function; responding to a received query request of a user, determining a query object according to the query request, acquiring a uniform resource identifier of the query object, and reading a mode character of the uniform resource identifier; determining data providing services according to the mode characters, and sending the query request to the data providing services corresponding to the mode characters; and acquiring data of the data type corresponding to the data providing service from the data providing service through an acquisition function.
In some embodiments, the defining the category of the data type provided by the data providing service through the decoration function includes: and setting a data type set of the data providing service, and adding the data type corresponding to the data providing service into the data type set through the modification function.
In some embodiments, the obtaining, by the obtaining function, data of a data type corresponding to the data providing service from the data providing service includes: and acquiring service characters and object characters of the uniform resource identifiers, and determining the target object of the data type according to the service characters and the object characters.
In some embodiments, said determining a query object from said query request comprises: the range of the target object is defined by the id condition, the attribute name of the data type and the relationship between different data types.
The embodiment of the invention limits the data type provided by the third party through the modification function, performs data query distribution through registration type analysis, acquires data from the third party service through the uniform acquisition function, ensures that the data can be accurately and efficiently acquired and displayed through the setting of the return value and the query condition, can improve the expansibility of Spring application, embeds the third party data service into the existing Spring application, does not need to modify the original Spring application, and realizes the hot plug of the data service.
The memory 302 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the method of acquiring data in the Spring frame, and the like. Further, the memory 302 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some embodiments, memory 302 optionally includes memory located remotely from processor 301, which may be connected to a local module via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
One or more computer instructions 303 corresponding to a method for acquiring data in a Spring frame are stored in the memory 302, and when being executed by the processor 301, the method for acquiring data in a Spring frame in any of the above-mentioned method embodiments is executed.
Any embodiment of the computer device executing the method for acquiring data in the Spring framework can achieve the same or similar effects as any corresponding embodiment of the method.
The present invention also provides a computer-readable storage medium storing a computer program which, when executed by a processor, performs the method of acquiring data in a Spring framework as described above.
The method for acquiring the data in the Spring frame comprises the following steps: defining a plurality of data types according to requirements, and defining the types of the data types provided by the data providing service through a modification function; responding to a received query request of a user, determining a query object according to the query request, acquiring a uniform resource identifier of the query object, and reading a mode character of the uniform resource identifier; determining data providing services according to the mode characters, and sending the query request to the data providing services corresponding to the mode characters; and acquiring data of the data type corresponding to the data providing service from the data providing service through an acquisition function.
In some embodiments, the defining the category of the data type provided by the data providing service through the decoration function includes: and setting a data type set of the data providing service, and adding the data type corresponding to the data providing service into the data type set through the modification function.
In some embodiments, the obtaining, by the obtaining function, data of a data type corresponding to the data providing service from the data providing service includes: and acquiring service characters and object characters of the uniform resource identifiers, and determining the target object of the data type according to the service characters and the object characters.
In some embodiments, said determining a query object from said query request comprises: the range of the target object is defined by the id condition, the attribute name of the data type and the relationship between different data types.
The embodiment of the invention limits the data type provided by the third party through the modification function, performs data query distribution through registration type analysis, acquires data from the third party service through the uniform acquisition function, ensures that the data can be accurately and efficiently acquired and displayed through the setting of the return value and the query condition, can improve the expansibility of Spring application, embeds the third party data service into the existing Spring application, does not need to modify the original Spring application, and realizes the hot plug of the data service.
Fig. 4 is a schematic diagram of an embodiment of the computer storage medium for acquiring data in a Spring framework according to the present invention. Taking the computer storage medium as shown in fig. 4 as an example, the computer readable storage medium 401 stores a computer program 402 which, when executed by a processor, performs the method as described above.
Finally, it should be noted that, as one of ordinary skill in the art can appreciate that all or part of the processes of the methods of the above embodiments can be implemented by a computer program to instruct related hardware, and the program of the method for acquiring data in the Spring frame can be stored in a computer readable storage medium, and when executed, the program can include the processes of the embodiments of the methods described above. The storage medium of the program may be a magnetic disk, an optical disk, a Read Only Memory (ROM), a Random Access Memory (RAM), or the like. The embodiments of the computer program may achieve the same or similar effects as any of the above-described method embodiments.
The foregoing is an exemplary embodiment of the present disclosure, but it should be noted that various changes and modifications could be made herein without departing from the scope of the present disclosure as defined by the appended claims. The functions, steps and/or actions of the method claims in accordance with the disclosed embodiments described herein need not be performed in any particular order. Furthermore, although elements of the disclosed embodiments of the invention may be described or claimed in the singular, the plural is contemplated unless limitation to the singular is explicitly stated.
It should be understood that, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly supports the exception. It should also be understood that "and/or" as used herein is meant to include any and all possible combinations of one or more of the associated listed items.
The numbers of the embodiments disclosed in the embodiments of the present invention are merely for description, and do not represent the merits of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
Those of ordinary skill in the art will understand that: the discussion of any embodiment above is meant to be exemplary only, and is not intended to intimate that the scope of the disclosure, including the claims, of embodiments of the invention is limited to these examples; within the idea of an embodiment of the invention, also technical features in the above embodiment or in different embodiments may be combined and there are many other variations of the different aspects of the embodiments of the invention as described above, which are not provided in detail for the sake of brevity. Therefore, any omissions, modifications, substitutions, improvements, and the like that may be made without departing from the spirit and principles of the embodiments of the present invention are intended to be included within the scope of the embodiments of the present invention.
Claims (10)
1. A method for acquiring data in a Spring frame is characterized by comprising the following steps:
defining a plurality of data types according to requirements, and defining the types of the data types provided by the data providing service through a modification function;
responding to a received query request of a user, determining a query object according to the query request, acquiring a uniform resource identifier of the query object, and reading a mode character of the uniform resource identifier;
determining data providing services according to the mode characters, and sending the query request to the data providing services corresponding to the mode characters; and
and acquiring data of the data type corresponding to the data providing service from the data providing service through an acquiring function.
2. The method of claim 1, wherein the defining the category of the data type provided by the data providing service through the decoration function comprises:
and setting a data type set of the data providing service, and adding the data type corresponding to the data providing service into the data type set through the modification function.
3. The method according to claim 1, wherein the obtaining data of the data type corresponding to the data providing service from the data providing service through the obtaining function comprises:
and acquiring service characters and object characters of the uniform resource identifiers, and determining the target object of the data type according to the service characters and the object characters.
4. The method of claim 3, wherein determining a query object from the query request comprises:
the range of the target object is defined by the id condition, the attribute name of the data type and the relationship between different data types.
5. A system for acquiring data in a Spring framework, comprising:
the definition module is configured for defining a plurality of data types according to requirements and limiting the types of the data types provided by the data providing service through a modification function;
the identification module is configured to respond to a received query request of a user, determine a query object according to the query request, acquire a uniform resource identifier of the query object, and read a mode character of the uniform resource identifier;
the sending module is configured to determine a data providing service according to the mode character and send the query request to the data providing service corresponding to the mode character; and
and the acquisition module is configured to acquire data of a data type corresponding to the data providing service from the data providing service through an acquisition function.
6. The system of claim 5, wherein the definition module is configured to:
and setting a data type set of the data providing service, and adding the data type corresponding to the data providing service into the data type set through the modification function.
7. The system of claim 5, wherein the acquisition module is configured to:
and acquiring service characters and object characters of the uniform resource identifiers, and determining the target object of the data type according to the service characters and the object characters.
8. The system of claim 7, wherein the identification module is configured to:
the range of the target object is defined by the id condition, the attribute name of the data type and the relationship between different data types.
9. A computer device, comprising:
at least one processor; and
a memory storing computer instructions executable on the processor, the instructions when executed by the processor implementing the steps of the method of any one of claims 1 to 4.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110960787.6A CN113741870B (en) | 2021-08-20 | 2021-08-20 | Method, system, equipment and storage medium for acquiring data in Spring framework |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110960787.6A CN113741870B (en) | 2021-08-20 | 2021-08-20 | Method, system, equipment and storage medium for acquiring data in Spring framework |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113741870A true CN113741870A (en) | 2021-12-03 |
CN113741870B CN113741870B (en) | 2023-07-14 |
Family
ID=78732084
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110960787.6A Active CN113741870B (en) | 2021-08-20 | 2021-08-20 | Method, system, equipment and storage medium for acquiring data in Spring framework |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113741870B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106648682A (en) * | 2016-12-29 | 2017-05-10 | 中南大学 | Dynamic-data general framework facing embedded system development |
CN107391153A (en) * | 2017-07-31 | 2017-11-24 | 深圳乐信软件技术有限公司 | A kind of code generating method and device based on Spring Yu MyBatis framework integrations |
CN110069297A (en) * | 2019-03-28 | 2019-07-30 | 平安科技(深圳)有限公司 | Abnormality eliminating method, device, computer equipment and storage medium based on Spring MVC |
CN112434189A (en) * | 2020-12-02 | 2021-03-02 | 新华三大数据技术有限公司 | Data query method, device and equipment |
-
2021
- 2021-08-20 CN CN202110960787.6A patent/CN113741870B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106648682A (en) * | 2016-12-29 | 2017-05-10 | 中南大学 | Dynamic-data general framework facing embedded system development |
CN107391153A (en) * | 2017-07-31 | 2017-11-24 | 深圳乐信软件技术有限公司 | A kind of code generating method and device based on Spring Yu MyBatis framework integrations |
CN110069297A (en) * | 2019-03-28 | 2019-07-30 | 平安科技(深圳)有限公司 | Abnormality eliminating method, device, computer equipment and storage medium based on Spring MVC |
CN112434189A (en) * | 2020-12-02 | 2021-03-02 | 新华三大数据技术有限公司 | Data query method, device and equipment |
Also Published As
Publication number | Publication date |
---|---|
CN113741870B (en) | 2023-07-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11799711B2 (en) | Service layer resource management for generic interworking and extensibility | |
US11163851B2 (en) | Method, apparatus, computer device and storage medium of page displaying | |
KR101770320B1 (en) | Lightweight iot information model | |
AU2009296436B2 (en) | Trickle sync protocol | |
US20050204367A1 (en) | Integration architecture for non-integrated tools | |
CN107294750B (en) | Cloud cluster energy self-identification distributed configuration management method and device | |
CN105049256B (en) | A kind of general self defined interface message realization method and system | |
JP6734404B2 (en) | Enable Semantics Inference Service in M2M/IOT Service Layer | |
US20130060924A1 (en) | Granular client inventory management with conflict resolution | |
JP2014527729A (en) | Method, device and system for managing mobile broadband devices | |
CN104461531A (en) | Implementing method for self-defined functions of reporting system | |
CN111381820A (en) | Method and device for automatically generating API based on GUI | |
CN113505996A (en) | Authority management method and device | |
CN105516269A (en) | Application configuration method and application configuration device | |
CN106371848B (en) | A kind of web Development Framework supports the implementation method of Odata | |
KR101698184B1 (en) | The home network virtualization apparatus and method therefor | |
CN113741870A (en) | Method, system, equipment and storage medium for acquiring data in Spring framework | |
CN114493185A (en) | Approval processing method, device, system, electronic equipment, storage medium and product | |
CN114546410A (en) | Code optimization method based on design mode and related equipment | |
CN110324722B (en) | Method, device, equipment and storage medium for acquiring data in live broadcast room | |
CN112416995B (en) | Data statistics method, device, computer equipment and storage medium | |
JP7059916B2 (en) | Information processing systems, methods and programs | |
CN117009327B (en) | Data processing method and device, computer equipment and medium | |
WO2023155487A1 (en) | Code refactoring method and device | |
CN111367867B (en) | Log information processing method and device, electronic 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 |