CN110795454A - Service request method, device, server and storage medium - Google Patents

Service request method, device, server and storage medium Download PDF

Info

Publication number
CN110795454A
CN110795454A CN201911052709.5A CN201911052709A CN110795454A CN 110795454 A CN110795454 A CN 110795454A CN 201911052709 A CN201911052709 A CN 201911052709A CN 110795454 A CN110795454 A CN 110795454A
Authority
CN
China
Prior art keywords
service
component
database
request
information
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
CN201911052709.5A
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.)
Agricultural Bank of China
Original Assignee
Agricultural Bank of China
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 Agricultural Bank of China filed Critical Agricultural Bank of China
Priority to CN201911052709.5A priority Critical patent/CN110795454A/en
Publication of CN110795454A publication Critical patent/CN110795454A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/242Query formulation
    • G06F16/2433Query languages
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • G06F16/24553Query execution of query operations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/248Presentation of query results

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention provides a service request method, a device, a server and a storage medium, which are applied to an application developed based on a target architecture, wherein the target architecture consists of a service layer and a component layer, the service requested by the service request is determined by receiving the service request, at least one component called by the service is determined, the at least one component comprises a database component and/or a business function component, the database component is used for calling a database, the business function component is used for realizing the business logic function of the service, finally, a request result of the service request is generated by calling the at least one component through calculation and/or operation of the database, and when the request result comprises at least one piece of data information, an object carrying the request result is automatically constructed and returned. The technical scheme provided by the invention can not only greatly reduce the development requirement, but also reduce the development code amount, thereby improving the development efficiency.

Description

Service request method, device, server and storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a service request method, apparatus, server, and storage medium.
Background
J2 EE: the Java platform is designed for a large enterprise host level computing type, and is an enterprise version of Java for enterprise level application service development. At present, J2EE Web application development based on Spring generally adopts a traditional four-layer design structure model of a service layer, an application logic layer, a data access layer and a field model layer.
The existing traditional four-layer design structure model requires that codes developed by developers must meet the design specifications of each layer, and simultaneously requires that the developers have the capability of reasonably decomposing services into each layer, thereby having higher requirements on the development capability of the developers. In a large-scale team and large-scale software development scene, at least 4 files respectively corresponding to a service layer, an application logic layer, a data access layer and a field model layer are needed for one service function, and a large number of code files are generated, so that the problems of complicated development process of application and large code redundancy are caused.
Disclosure of Invention
In view of the above, to solve the above problems, the present invention provides a service request method, an apparatus, a server and a storage medium, which provide a simpler development platform for developers to solve the problems of complicated development process and large code redundancy caused by the need to follow the design of each layer when developing applications based on the traditional four-layer design structure model. The technical scheme is as follows:
the first aspect of the present invention discloses a service request method, which is applied to an application developed based on a target architecture, wherein the target architecture is composed of a service layer and a component layer, and the method comprises the following steps:
receiving a service request, and determining a service requested by the service request;
determining at least one component of the service call, wherein the at least one component comprises a database component and/or a business function component, the database component is used for calling a database, and the business function component is used for realizing the business logic function of the service;
invoking the at least one component to generate a request result of the service request through calculation and/or operation of a database;
and when the request result comprises at least one piece of data information, automatically constructing and returning an object carrying the request result.
Optionally, when the at least one component includes the database component, the invoking the at least one component to generate the result of the service request through calculation and/or operating a database includes:
running the database component;
detecting database operation statement information called when the database component runs, wherein the database operation statement information comprises database operation statement identification and a parameter sequence, the parameter sequence comprises at least one parameter information which is sequentially ordered, and the parameter information comprises parameters and parameter values;
acquiring a database operation statement template corresponding to the database operation statement identifier, wherein the database operation statement template carries at least one target variable;
searching a preset corresponding relation between parameters and variables, assigning parameter values of the parameters corresponding to the target variables in the parameter sequence to the target variables in the database operation statement template, and generating database operation statements;
calling a database interface to execute the database operation statement operation database to generate a data operation result;
and obtaining a request result of the service request based on the data operation result.
Optionally, a parameter in the parameter information is related to the order of the parameter information in the at least one parameter information.
Optionally, the database operation statement information further includes an object structure identifier, and when the request result includes at least one piece of data information, automatically constructing and returning an object carrying the request result, including:
when the request result comprises at least one piece of data information, acquiring an object structure which is corresponding to the object structure identification and is used for bearing the data information, wherein the object structure is generated according to a table structure of a data table in a database operated when the database operation statement is executed;
constructing an object list, wherein the object list comprises at least one data object, and the data object is an object structure carrying one piece of data information;
and returning the object list.
Optionally, the building the object list includes:
obtaining paging information carried in the service request, wherein the paging information indicates the information quantity displayed on each page and the page number of the request;
paging the data information in the request result by using the information quantity displayed on each page to obtain a paging result;
determining data information in the page number according to the paging result;
constructing an object list by using the determined data information;
the returning the object list includes returning page information, the page information being generated based on the pagination result and the object list.
Optionally, when the service indication requested by the service request detects the application, the method further includes:
for each service in the application, acquiring all calling relations in the service based on the script of the service;
judging whether the calling relation meets a preset condition, wherein the preset condition comprises that one service in the application does not call a non-shared component of other services in the application, the component in the application does not call the non-shared component, the component in the application does not call a service, and the service in the application does not call the service;
and when the calling relation meets a preset condition, determining that the application is legal.
Optionally, the obtaining, by the script based on the service, all invocation relations in the service includes:
acquiring a called service class and a called component class in the script of the service;
analyzing the service class to obtain the service to which the service belongs and a first attribute of the service, wherein the first attribute comprises a calling relation in the service;
and analyzing the component class to obtain a second attribute of the component called in the service, wherein the second attribute comprises a calling relation in the component called by the service.
A second aspect of the present invention discloses a service request apparatus, including:
the receiving unit is used for receiving a service request and determining the service requested by the service request;
a first determining unit, configured to determine at least one component called by the service, where the at least one component includes a database component and/or a business function component, the database component is configured to call a database, and the business function component is configured to implement a business logic function of the service;
the calling unit is used for calling the at least one component to generate a request result of the service request through calculation and/or operation of a database;
and the construction unit is used for automatically constructing and returning the object carrying the request result when the request result comprises at least one piece of data information.
A third aspect of the present invention discloses a server, comprising: at least one memory and at least one processor; the memory stores a program, and the processor invokes the program stored in the memory, the program being for implementing the service request method as disclosed in any one of the first aspects of the invention.
A fourth aspect of the present invention discloses a storage medium having stored therein computer-executable instructions for performing a service request method as disclosed in any one of the first aspects of the present invention above.
Compared with the prior art, the invention has the following beneficial effects:
the service request method, the service request device, the server and the storage medium are applied to an application developed based on a target architecture, the target architecture consists of a service layer and a component layer, the service requested by the service request is determined by receiving the service request, at least one component called by the service is determined, the at least one component comprises a database component and/or a business function component, the database component is used for calling a database, the business function component is used for realizing the business logic function of the service, finally, the request result of the service request is generated by calling the at least one component through calculation and/or operation of the database, and when the request result comprises at least one piece of data information, an object bearing the request result is automatically constructed and returned. According to the technical scheme provided by the invention, at least one component for service calling is determined, and then the at least one component is called to generate the request result of the service request through calculation and/or operation of the database, so that the request result of the service request can be obtained only by realizing two types of objects of service and component, the development structure is simple, the development requirement can be greatly reduced, the development code amount can be reduced, and the development efficiency is further improved.
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 embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a schematic flowchart of a service request method according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a request result for generating a service request according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of a method for constructing an object list according to an embodiment of the present invention;
fig. 4 is a schematic flowchart of another method for building an object list according to an embodiment of the present invention;
fig. 5 is a flowchart illustrating a method for detecting application legality according to an embodiment of the present invention;
fig. 6 is a schematic flowchart of a method for obtaining all call relations in a service according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a service request apparatus according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a server according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. 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.
In the present invention, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
From the above background, J2 EE: the Java platform is designed for a large enterprise host level computing type, and is an enterprise version of Java for enterprise level application service development. In addition, currently, for J2EE Web application development based on Spring, a server adopts a traditional four-layer design structure model of 'a service layer + an application logic layer + a data access layer + a domain model layer'. In a traditional four-layer design structure model, a code developed by a developer is required to meet the design specification of each layer, and development technicians are required to have the capability of reasonably decomposing a service into each layer, so that the development capability of the developer is higher, and in a large-scale team and large-scale software development scene, at least 4 files corresponding to a service layer, an application logic layer, a data access layer and a field model layer are required for one service, a large number of code files are generated, so that the problems of complicated application development process and large code redundancy are caused.
Therefore, the embodiment of the invention provides a new development platform, and from the original realization of the 4-class object of the service layer, the application logic layer, the data access layer and the field model layer to the realization of the 2-class object of the service-to-component, the development structure is simple, so that the development requirement can be greatly reduced, the development code amount can be reduced, and the development efficiency can be further improved.
The development platform provided by the invention comprises two layers of target frameworks, specifically: the service layer and the component layer can perform data transfer between the service layer and the component layer through a simple Java Object (POJO) or a Java basic data type. In order to better understand the target architecture related to the embodiments of the present invention described below, the following detailed explanation is provided.
It should be noted that the service layer and the component layer respectively need to meet certain forms and specifications in organization, structure and implementation, and the details are as follows:
and (3) a service layer: used for providing services for the outside and bearing part of business logic. In the implementation aspect, the service layer provides a basic service function and externally exposes an interface called by the service; structurally, top-level interfaces of all service classes are IService interfaces, and the IService interfaces and all extended service classes are realized by inheriting a service class abstract parent class CnfAppService; in organization, all service classes are under the appservice package.
Assembly layer: for providing core resource services to the service layer. The component layer comprises a database component and a business function component, wherein the database component is used for accessing the database, and the business function component is used for realizing the business logic function of the service. In terms of implementation, the component layer is a single functional body and can only perform special processing on corresponding resources; structurally, the component layer comprises an ICnfComponent interface and a shared component type interface, the top layer interfaces of all the component types are the ICnfComponent interface, the ICnfComponent interface and the CnfComponent of the component type abstract parent class are inherited by the realization of all the component types, and a plurality of modules can call an identification component through the shared component type interface to be used as a special case for breaking through isolation control; in organization, all component classes are under the cmpt package, and the top layer is the componengt package.
It should be noted that, in implementation, a component class only provides services for a service class, and an instance object of the service class may hold one or more component class instances.
Furthermore, it should be noted that the unified agreement should be made on the directory structure of the project, i.e., the directory structure of the application, the directory names of the service layer and the component layer, and the names of the service class and the component class. The service layer under one module can not call the non-shared components of other modules, the service layer can not call the service layer, the component layer can not call the service layer, and the components in the component layer can not call the non-shared components of other services.
POJO class object: for passing data between the service layer and the component layer. The POJO class objects are organized, all the POJO classes are placed under the POJO package, and the POJO package is parallel to the appservice package.
Based on the two-layer target architecture in the development platform provided by the invention, an application developed based on the two-layer target architecture is generated, and the application provides services to the outside.
The invention discloses a service request method and a service request device, which are applied to the application based on target architecture development, can greatly reduce the development requirement, can also reduce the development code amount, and further improve the research and development efficiency.
Referring to fig. 1, a flowchart of a service request method according to an embodiment of the present invention is shown. The service request method comprises the following steps:
s101: and receiving the service request, and determining the service requested by the service request.
It should be noted that the service requested by the service request may be a login service, a registration service, and the like, and the embodiment of the present invention is not limited thereto.
In specifically performing the process of step S101, a service request sent by a user through the service invocation interface is received, and a service requested by the service request is determined. For example, if the service request sent through the service call interface is received as a login request, it is determined that the service requested by the service request is a login service.
S102: at least one component of the service invocation is determined.
At least one component comprises a database component and/or a business function component, wherein the database component is used for calling a database, and the business component is used for realizing the business logic function of the service.
It should be noted that the service may be a user information management service, a data processing service, or the like. One service includes a plurality of services, and the user information management service includes a plurality of services such as a login service and a registration service. The present invention can be set according to practical applications, and the embodiments of the present invention are not limited.
In the specific implementation of step S102, by determining the service requested by the service request and further determining at least one component called by the service, the at least one component may only include the database component, or only include the business function component, or include both the database component and the business function component. For example, when the service requested by the service request is determined to be a login service, at least one component called by the login service is determined, the component called by the login service may include only a database component, or the component called by the login service includes only a business function component, or the component called by the login service includes both a database component and a business function component.
It should be noted that a plurality of business function components can be called in one service.
Further, in the embodiment of the present invention, when it is determined that the service requested by the service request is a simple function, that is, when the operation on the database is not involved and the business operation is not involved, the operation of the function may be completed according to the service itself, so as to obtain the request result of the service request, and the request result of the service request is obtained without calculating and/or operating the database through the invoked at least one component. For example, when it is determined that the service requested by the service request is a logical calculation, the calculation result may be obtained by performing the logical calculation according to the service itself, and the request result of the service request may not be obtained by at least one component called by the service through calculation and/or operating the database.
S103: invoking at least one component to generate a request result for the service request via the computation and/or manipulation of the database.
In the specific execution process of step S103, when it is determined that the component called by the service only includes the database component, calling the database component to generate a data operation result through operating the database, where the data operation result is a request result of the service request; or when the component for calling the service only comprises the business function component, calling the business function component to generate a result of the service request through calculation; or, when the component for calling the service comprises the database component and the business function component, the database is operated by calling the database component and the business function component is called to generate the request result of the service request through calculation.
S104: and when the request result comprises at least one piece of data information, automatically constructing and returning an object carrying the request result.
In the specific process of executing step S104, it is determined whether an object carrying a request result needs to be automatically constructed and returned by determining the number of data information in the request result of invoking at least one component to generate a service request through calculation and/or operating a database. And when the request result generated by calling at least one component through calculation and/or operation of the database comprises at least one piece of data information, automatically constructing and returning an object carrying the request result.
On the contrary, if the request result generated by calling at least one component through calculation and/or operation of the database does not contain data information, that is, the number of the data information in the request result is 0, the object bearing the request result is not constructed.
The invention provides a service request method, which comprises the steps of receiving a service request, determining a request requested by the service request, and determining at least one component called by the service, wherein the at least one component comprises a database component and/or a business function component, the database component is used for calling a database, the business function component is used for realizing the business logic function of the service, and when the request result comprises at least one piece of data information, an object carrying the request result is automatically constructed and returned. According to the technical scheme provided by the invention, at least one component for service calling is determined, and then the at least one component is called to generate the request result of the service request through calculation and/or operation of the database, so that the request result of the service request can be obtained only by realizing two types of objects of service and component, the development structure is simple, the development requirement can be greatly reduced, the development code amount can be reduced, and the development efficiency is further improved.
In the above embodiment of the present invention, step S103 disclosed in fig. 1 invokes at least one component to generate a request result of the service request through calculating and/or operating the database, and when the at least one component includes a database component, as shown in fig. 2, the method includes the following steps:
s201: the database component is run.
It should be noted that the database component is constructed by paging processing, sql preprocessing, parameter mapping filling, total query preprocessing, data result mapping, data result judging, and the like.
S202: and detecting database operation statement information called when the database component operates, wherein the database operation statement information comprises a database operation statement mark and a parameter sequence.
The parameter sequence comprises at least one piece of parameter information which is sequentially ordered, and the parameter information comprises parameters and parameter values.
It should be noted that the database operation statement identifier included in the database operation statement information is used to uniquely identify one database operation statement template, for example, the database operation statement template may be an sql statement template.
For example, the database operation statement information called by the database component runtime is: a String sinstname (String) dbcmpt. search object (QRY _ GETINSINAME, sintcode 1 sintcode 2 sintcode 3), a database operation statement in the database operation statement information is identified as QRY _ GETINSINAME, the QRY _ GETINSINAME is used for uniquely identifying a database operation statement template, a parameter sequence in the database operation statement information includes at least one parameter information, and the at least one parameter information is ordered in the parameter sequence as parameter information 1, parameter information 2 and parameter information 3, wherein the parameter information 1 includes parameter value sintcode 1 corresponding to parameter a and parameter a, the parameter information 2 includes parameter value sintcode 2 corresponding to parameter B and parameter B, and the parameter information 3 includes parameter value sintcode 3 corresponding to parameter C and parameter C.
Further, it should be noted that the parameters in the parameter information are related to the order of the parameter information in at least one parameter information.
As a preferred implementation manner of the embodiment of the present application, for each piece of parameter information in at least one piece of parameter information, a sequence number of the piece of parameter information sorted in the at least one piece of parameter information may be obtained, and a preset parameter corresponding to the sequence number is used as a parameter of the piece of parameter information.
For example, when the at least one parameter information is sequenced in the parameter sequence as parameter information 1, parameter information 2 and parameter information 3, the sequence number of the parameter information 1 sequenced in the at least one parameter is 0, the sequence number of the parameter information 2 sequenced in the at least one parameter is 1, and the sequence number of the parameter information 3 sequenced in the at least one parameter is 2; if the preset parameter corresponding to 0 is parameter a, the parameter corresponding to 1 is parameter B, and the parameter corresponding to 2 is parameter C, the parameter in parameter information 1 is parameter a, the parameter in parameter information 2 is parameter B, and the parameter in parameter information 3 is parameter C.
As a preferred implementation manner of the embodiment of the present application, for each piece of parameter information in at least one piece of parameter information, a sequence number of the piece of parameter information sorted in the at least one piece of parameter information may be obtained, and the sequence number of the piece of parameter information sorted in the at least one piece of parameter information is used as a parameter in the piece of parameter information.
For example, when the at least one parameter information is sequenced in the parameter sequence as parameter information 1, parameter information 2 and parameter information 3, the sequence number of the parameter information 1 sequenced in the at least one parameter is 0, the sequence number of the parameter information 2 sequenced in the at least one parameter is 1, and the sequence number of the parameter information 3 sequenced in the at least one parameter is 2; the parameter in the parameter information 1 is 0, the parameter in the parameter information 2 is 1, and the parameter in the parameter information 3 is 2.
S203: and acquiring a database operation statement template corresponding to the database operation statement identifier.
It should be noted that the database operation statement template carries at least one target variable.
It should be noted that a plurality of database operation statement templates are preset, and each database operation statement template carries at least one target variable.
S204: and searching a preset corresponding relation between the parameters and the variables, assigning the parameter values of the parameters corresponding to the target variables in the parameter sequence to the target variables in the data operation statement template, and generating the database operation statements.
In the specific process of executing step S204, after the database operation statement template corresponding to the data operation statement identifier is obtained, at least one target variable carried in the database operation statement template is determined, a preset correspondence between a parameter and a variable is searched, and a parameter value of a parameter corresponding to the target variable in the parameter sequence is assigned to the target variable in the database operation statement template, thereby generating the database operation statement.
As a preferred embodiment of the present application, a preset corresponding relationship between a parameter and a variable may be provided, for example, a corresponding relationship between a parameter a and a variable 0, a corresponding relationship between a parameter B and a variable 1, and a corresponding relationship between a parameter C and a variable 2; if the sequencing of at least one parameter information in the parameter sequence is sequentially parameter information 1, parameter information 2 and parameter information 3, the sequence number of the parameter information 1 in the at least one parameter is 0, the sequence number of the parameter information 2 in the at least one parameter is 1, and the sequence number of the parameter information 3 in the at least one parameter is 2; if the preset parameter corresponding to 0 is a parameter a, the parameter corresponding to 1 is a parameter B, and the parameter corresponding to 2 is a parameter C, the parameter in the parameter information 1 is the parameter a, the parameter in the parameter information 2 is the parameter B, and the parameter in the parameter information 3 is the parameter C; when the database operation statement template corresponding to the database operation statement identifier includes 5 variables, and the 5 variables include 1 variable 0, 2 variables 1 and 2 variables 2, the preset corresponding relationship between the parameters and the variables can be searched, the parameter corresponding to the variable 0 is determined to be the parameter a, the parameter of the parameter information 1 in the parameter sequence is the parameter a, and the parameter value sintcode 1 of the parameter information 1 is assigned to the variable 0 in the database operation statement template; searching a preset corresponding relation between parameters and variables, determining that the parameter corresponding to the variable 1 is a parameter B, the parameter of the parameter information 2 in the parameter sequence is the parameter B, and respectively assigning the parameter value sinstcode2 of the parameter information 2 to each variable 1 in the database operation statement template; searching a preset corresponding relation between the parameters and the variables, determining that the parameter corresponding to the variable 2 is a parameter C, determining that the parameter of the parameter information 3 in the parameter sequence is the parameter C, and respectively assigning the parameter value sinstcode3 of the parameter information 3 to each variable 2 in the database operation statement template.
The preset corresponding relationship between the parameters and the variables can be set by the inventor according to the requirement of the inventor, and is not limited herein.
S205: and calling a database interface to execute the database operation statement operation database to generate a data operation result.
It should be noted that the database interface is a mybatis core interface, which can be set according to practical applications, and the embodiment of the present invention is not limited thereto.
In the specific process of executing step S205, a mybatis core interface is called to execute the database operation statement operation database, so as to generate a data operation result.
S206: and obtaining a request result of the service request based on the data operation result.
It should be noted that, when at least one component only includes a database component, the data operation result is a request result of the service request. However, when at least one component includes not only the database component but also the business function group price, the data operation result is obtained by operating the database through the database component, and the request result of the service request is obtained by further calculating the data operation result through the business function component.
In the embodiment of the invention, the database operation statement information called when the detection database component operates may only include the database operation statement identifier, at this time, the database operation statement template found according to the database operation statement identifier in the database operation statement information is a static database operation statement template, the static database operation statement template does not carry variables, and the static database operation statement template is a database operation statement, so that a database interface can be directly called to execute the static database operation statement template (database operation statement) to operate the database to generate a data operation result, and then a request result of the service request is obtained according to the data operation result.
In the embodiment of the invention, after determining a parameter and a parameter value corresponding to at least one parameter information in database operation statement information and at least one target variable carried in a database operation statement template corresponding to a database operation statement identifier in the database operation statement information, searching a preset corresponding relation between the parameter and the variable, assigning the parameter value of the parameter corresponding to the target variable in a parameter sequence to the target variable in the database operation statement template to generate a database operation statement, calling a database interface to execute the database operation statement operation database to generate a database operation result, and further obtaining a request result of a service request based on the database operation result.
The database operation statement information disclosed in the embodiment of the present invention further includes an object structure identifier, and when the request result includes at least one piece of data information, step S104 disclosed in fig. 1 in the embodiment of the present invention automatically constructs and returns an object carrying the request result, as shown in fig. 3, includes the following steps:
s301: and when the request result comprises at least one piece of data information, acquiring an object structure corresponding to the object structure identification and used for bearing the data information.
Wherein the object structure is generated from a table structure of a data table in the database operated on when the database operation statement is executed.
Note that both the object structure in the database and the table structure of the data table are constructed in advance.
In the embodiment of the present invention, the object structure for carrying data information not only includes a field corresponding to the table structure, but also includes an additional service attribute.
It should be noted that, when the database operation statement is a query statement, the request result includes at least one piece of data information.
In the process of specifically executing step S301, data information is carried by obtaining the POJO class (object structure) corresponding to the object structure identifier, and if the type of the data information in the request result is the basic type, the java basic type object may be directly invoked to carry the data information.
Furthermore, it should be noted that, when the database component runs the database operation statement to operate the database, the returned data information may be specified to be carried by the corresponding POJO class, and when the returned data information is specified to be carried by the corresponding POJO class, the database component may automatically fill the accessed data information into the corresponding POJO class.
S302: and constructing an object list, wherein the object list comprises at least one data object, and the data object is an object structure carrying one piece of data information.
In the specific process of performing step S302, the data information in the request result is stored in the object structure, so as to obtain the data object corresponding to the data information in the request result, for example, when the number of the data information included in the request result is 10, the 10 pieces of data information are stored in the object structure, so as to obtain 10 data objects corresponding to the 10 pieces of data information, and then an object list is generated based on the 10 data objects.
S303: the object list is returned.
For a better understanding of the above, the following examples are given.
For example, when the request result includes 10 pieces of data information, an object structure for carrying the data information corresponding to the object structure identifier is obtained, the data information is stored in the object structure for each piece of data information to obtain a data object corresponding to the data information, thereby obtaining 10 data objects corresponding to the 10 pieces of data information, and then an object list is generated based on the 10 data objects.
In the embodiment of the application, when the request result includes a plurality of pieces of data information, the data object is obtained according to the object structure for bearing the data information, which is obtained and corresponds to the object structure identifier, and then the object list is constructed according to the obtained data object, where the returned object list includes at least one object structure.
And when the request result only comprises one piece of data information and the data information comprises a plurality of pieces of field information, according to the object structure which is obtained and corresponds to the object structure identification and is used for bearing the piece of data information, returning the object structure. Of course, an object list may also be constructed according to the data objects obtained by the object structure, and the returned object list includes only one data object.
And when the request result only comprises one piece of data information and the data information only comprises one piece of field information, acquiring a Java basic object for bearing the data information and returning the Java basic object.
For example, if the service request requested by the user is to query all school information read by the user, invoking at least one component to generate a request result of the service request including at least one piece of data information through calculation and/or operating a database, obtaining a data object according to an object structure for bearing the data information, which corresponds to the object structure identifier, further constructing an object list according to the obtained data object, and returning the object list.
If the service request requested by the user is to inquire the unit information (unit name, unit address and the like) where the user is located at present, calling at least one component to generate a request result of the service request through calculation and/or operation of a database, wherein the request result only comprises one piece of data information, and returning the object structure according to an object structure which is used for bearing the piece of data information and corresponds to the object structure identification.
If the service request requested by the user is to inquire the unit name or the unit address where the user is located at present, calling at least one component to generate a request result of the service request as field information, namely the unit name or the unit address, through calculation and/or operation of the database, acquiring a Java basic object for bearing the data information, and returning the Java basic object.
In the embodiment of the invention, the data object is obtained by obtaining the object structure which is corresponding to the object structure identification and used for bearing the data information, and then the object list is constructed according to the obtained data object.
As shown in fig. 4, the building object list related in step S303 disclosed in fig. 3 in the embodiment of the present invention is a schematic flowchart illustrating a process of building an object list provided in the embodiment of the present invention, and includes the following steps:
s401: and obtaining paging information carried in the service request, wherein the paging information indicates the information quantity displayed on each page and the requested page number.
In the specific execution of step S401, the number of pieces of information displayed per page refers to how many pieces of information are displayed per page. Therefore, by acquiring the paging information carried in the service request, it is possible to determine how many pieces of information need to be displayed per page and the page number requested to be queried by the user.
S402: and paging the data information in the request result by using the information quantity displayed in each page to obtain a paging result.
It should be noted that, when the number of pages requested to be queried by the user exceeds the preset number of pages to be queried, the query request of the user is rejected.
In the specific implementation of step S402, the data information in the request result is paged by using the quantity of information displayed per page to obtain a paging result, for example, 10 pieces of information need to be displayed per page, and if there are 100 pieces of data information in the request result, the paging result obtained by paging the data information in the request result by using the quantity of information displayed per page is 10 pages.
S403: and determining data information in the page number according to the paging result.
In the specific process of step S403, it can be determined from the paging result that the data information in the page number used for requesting query is, for example, 10 pieces of information need to be displayed per page, and there are 100 pieces of data information in the request result, then the paging result obtained by paging the data information in the request result by using the amount of information displayed per page is 10 pages, and the page number requested to be queried by the user is the 5 th page, and then the data information in the page number requested to be queried by the user is determined to be the 40 th to 50 th pages according to the paging result.
S404: and constructing an object list by using the determined data information.
It should be noted that the returned object list includes returned page information, and the page information is generated based on the paging result and the object list.
In the specific process of executing step S404, the object list includes at least one data object, and each data object is an object structure carrying one piece of data information, for example, the number of data information in the request result is determined to be 10, and since each data object is an object structure carrying one piece of data information, the determined data information is used to construct the object list, which includes 10 data objects.
In the embodiment of the invention, the data information in the request result is paged by utilizing the displayed information quantity of each page in the paging information carried in the acquired service request and the requested page number to obtain the paging result, and the data information in the page number is determined according to the paging result to further construct the object list.
Optionally, on the basis of the service request method disclosed above in the present invention, when the indication requested by the service request detects an application, as shown in fig. 5, the method further includes:
s501: for each service in the application, all calling relations in the service are obtained based on the script of the service.
It should be noted that the service indication detection application refers to: the method is used for requesting to detect the legality of the application, and the legality of the application can be determined only under the condition that the legality of the application is met, so that the application can be used.
S502: and judging whether the calling relation meets a preset condition or not.
It should be noted that, when the calling relationship satisfies the preset condition, step S503 is executed.
It should be noted that the preset conditions include that one service in the application does not call a non-shared component of other services in the application, a component in the application does not call a non-shared component, a component in the application does not call a service, and a service in the application does not call a service.
It should be noted that, a component carries identification information, when the identification information indicates sharing, the component is indicated as a shared component, and when the identification information indicates non-sharing, the component is indicated as a non-shared component.
Further, it should be noted that, when the component is a database component, the database component serves as a common basic component and can be called by any service and component.
S503: the application is determined to be legitimate.
In the process of specifically executing step S503, when all the call relations in the service in the application satisfy the preset conditions that the service does not call the non-shared component of other services in the application, the component in the application does not call the non-shared component, the component in the application does not call the service, the service in the application does not call the service, and the like, it is determined that the application is legal.
On the contrary, as long as all the calling relations in the service in the application have the condition that the service does not call the non-shared components of other services in the application, the components in the application do not call the non-shared components, the components in the application do not call the service, and the service in the application does not call any one or more of the services, the application is determined to be illegal.
In the embodiment of the invention, whether the application is legal or not can be determined by judging whether all the calling relations in the obtained service meet the preset condition or not, and further whether the application can be used or not can be determined.
In the above embodiment of the present invention, step S501 disclosed in fig. 5 obtains all call relations in the service based on the script of the service, as shown in fig. 6, includes the following steps:
s601: and acquiring the called service class and the component class in the script of the service.
In the specific implementation of step S601, the service class is composed of a plurality of program segments (method names), and the component class is also composed of a plurality of program segments (method names).
S602: and analyzing the service class to obtain the service to which the service belongs and the first attribute of the service, wherein the first attribute comprises the calling relation in the service.
It should be noted that the first attribute of the service can be obtained by parsing the service class through the Java reflection mechanism. The present invention can be set according to practical applications, and the embodiments of the present invention are not limited.
In the specific process of executing step S602, the calling relationship in the service refers to the calling relationship between components in the service and the calling relationship of components inside the components called by the service, for example, the service calls component 1, component 2, component 3, and component 4 at runtime, component 2 needs to call component 5 at runtime for implementation, component 3 needs to call component 6 and component 7 at runtime, then the calling relationship of the service is that the service calls component 1, component 2, component 3, and component 4, the calling relationship of the component in the service calls component 5 for component 2, and component 3 calls component 6 and component 7.
S603: and analyzing the component class to obtain a second attribute of the component called in the service, wherein the second attribute comprises a calling relation in the component called in the service.
In the process of specifically executing step S603, the calling relationship in the service-called component refers to the calling relationship of the component inside the service-called component, the service calls component 1, component 2, component 3, and component 4 during running, the component 2 needs to call component 5 during running to implement, and the component 3 needs to call component 6 and component 7 during running, where the calling relationship of the service-called component calls component 5 for the component 2, and the component 3 calls component 6 and component 7.
In the embodiment of the invention, the calling relation in the service and the calling relation of the components in the service can be obtained by analyzing the called service class and the component class in the acquired script of the service, and when the calling relation in the service and the calling relation of the components in the service meet the preset conditions, the application can be determined to be legal, so that the application can be determined to be used.
In order to better understand the above, the application code of the service layer and the application code of the component layer are exemplified below.
Example 1: application code of the service layer.
It should be noted that all Service classes are located under the appservice packet, and are annotated with @ Service.
Taking the service calling service function component and the direct calling database component dbcmp as an example, the specific application code is as follows:
Figure BDA0002255719170000181
further, corresponding to the sql map.xml file, the Service file and the application code are required to be located in the same directory, and the specific application code is as follows:
Figure BDA0002255719170000182
example 2: application code at the component level.
It should be noted that all Component classes are under the cmpt packet, and the top layer is the Component packet, and @ Component is added for annotation.
Further, it should be noted that, for a component that supports access by other modules, an implementation idle interface ISharedComponent needs to be added when being accessed.
The application code for the component layer is as follows:
Figure BDA0002255719170000183
Figure BDA0002255719170000191
further, the corresponding sql map. xml file is required to be located in the same directory as the component, and the specific codes are as follows:
Figure BDA0002255719170000192
corresponding to the service request method disclosed in the embodiment of the present invention, referring to fig. 7, an embodiment of the present invention further provides a schematic structural diagram of a service request apparatus, where the service request apparatus 700 includes:
a receiving unit 701, configured to receive the service request and determine a service requested by the service request.
A first determining unit 702, configured to determine at least one component of the service call, where the at least one component includes a database component and/or a business function component, the database component is used to call a database, and the business function component is used to implement a business logic function of the service.
The invoking unit 703 is configured to invoke at least one component to generate a request result of the service request through computing and/or operating the database.
And the constructing unit 704 is used for automatically constructing and returning the object carrying the request result when the request result comprises at least one piece of data information.
The specific principle and the execution process of each unit in the service request device disclosed in the above embodiment of the present invention are the same as those of the service request method disclosed in the above embodiment of the present invention, and reference may be made to corresponding parts in the service request method disclosed in the above embodiment of the present invention, which are not described herein again.
The invention provides a service request device, which is characterized in that at least one component for calling service is determined, and then the at least one component is called to generate a request result of a service request through calculation and/or operation of a database, so that the request result of the service request can be obtained only by realizing two types of objects of the service and the component, the development structure is simple, the development requirement can be greatly reduced, the development code amount can be reduced, and the development efficiency is improved.
Preferably, the invoking unit 703 includes: first operation unit 7031, detection unit 7032, first obtaining unit 7033, assignment unit 7034, first calling subunit 7035, and first request result obtaining unit 7036.
First operating unit 7031: for running the database component.
Detection unit 7032: the database operation statement detection method is used for detecting database operation statement information called when a database component runs, the database operation statement information comprises database operation statement identification and a parameter sequence, the parameter sequence comprises at least one parameter information which is sequentially sequenced, and the parameter information comprises parameters and parameter values.
First obtaining unit 7033: the database operation statement template is used for acquiring a database operation statement template corresponding to the database operation statement identifier, and the database operation statement template carries at least one target variable.
Assignment unit 7034: and searching a preset corresponding relation between the parameters and the variables, assigning the parameter values of the parameters corresponding to the target variables in the parameter sequence to the target variables in the database operation statement template, and generating the database operation statements.
First call subunit 7035: the database interface is used for calling the database interface to execute the database operation statement operation database to generate a data operation result.
First request result obtaining unit 7036: and the request result is used for obtaining the service request based on the data operation result.
In the embodiment of the invention, after determining a parameter and a parameter value corresponding to at least one parameter information in database operation statement information and at least one target variable carried in a database operation statement template corresponding to a database operation statement identifier in the database operation statement information, searching a preset corresponding relation between the parameter and the variable, assigning the parameter value of the parameter corresponding to the target variable in a parameter sequence to the target variable in the database operation statement template to generate a database operation statement, calling a database interface to execute the database operation statement operation database to generate a database operation result, and further obtaining a request result of a service request based on the database operation result.
Preferably, the database operation statement information further includes an object structure identifier, and the constructing unit 704 includes: a second obtaining unit 7041, a generating unit 7042, a first constructing sub-unit 7043, and a returning unit 7044.
A second obtaining unit 7041, configured to, when the request result includes at least one piece of data information, obtain an object structure corresponding to the object structure identifier and used for carrying the data information, where the object structure is generated according to a table structure of a data table in the database that is operated when the database operation statement is executed.
A first constructing subunit 7043, configured to construct an object list, where the object list includes at least one data object, and the data object is an object structure carrying a piece of data information.
A returning unit 7044 is configured to return the object list.
In the embodiment of the invention, the data object is obtained by obtaining the object structure which is corresponding to the object structure identification and used for bearing the data information, and then the object list is constructed according to the obtained data object.
Preferably, the first building subunit 7043 includes: a third fetch unit 70431, a paging unit 70432, a second determination unit 70433, and a second construction subunit 70434.
A third obtaining unit 70431, configured to obtain paging information carried in the service request, where the paging information indicates an amount of information displayed per page and a requested page number.
And a paging unit 70432, for paging the data information in the request result by using the information amount displayed per page to obtain a paging result.
A second determining unit 70433, configured to determine the data information located in the page number according to the paging result.
A second construction sub-unit 70434 for constructing the object list using the determined data information.
In the embodiment of the invention, the data information in the request result is paged by utilizing the displayed information quantity of each page in the paging information carried in the acquired service request and the requested page number to obtain the paging result, and the data information in the page number is determined according to the paging result to further construct the object list.
Preferably, when the service indication requested by the service request detects the application, the service request apparatus further includes: a fourth acquisition unit 705, a judgment unit 706, and a third determination unit 707.
A fourth obtaining unit 705, configured to obtain, for each service in the application, all invocation relations in the service based on the script of the service.
The determining unit 706 is configured to determine whether the call relation satisfies a preset condition.
It should be noted that the preset conditions include that one service in the application does not call a non-shared component of other services in the application, a component in the application does not call a non-shared component, a component in the application does not call a service, and a service in the application does not call a service.
A third determining unit 707 configured to determine that the application is legal when the call relation satisfies a preset condition.
In the embodiment of the invention, whether the application is legal or not can be determined by judging whether all the calling relations in the obtained service meet the preset condition or not, and further whether the application can be used or not can be determined.
Preferably, the fourth obtaining unit 705 includes: fifth obtaining unit 7051, first parsing unit 7052, and second parsing unit 7053.
A fifth obtaining unit 7051, configured to obtain a service class and a component class called in the script of the service.
A first parsing unit 7052, configured to parse the service class to obtain a service to which the service belongs and a first attribute of the service, where the first attribute includes a call relationship in the service.
A second parsing unit 7053, configured to parse the component class to obtain a second attribute of the component called in the service, where the second attribute includes a calling relationship in the component called in the service.
In the embodiment of the invention, the calling relation in the service and the calling relation of the components in the service can be obtained by analyzing the called service class and the component class in the acquired script of the service, and when the calling relation in the service and the calling relation of the components in the service meet the preset conditions, the application can be determined to be legal, so that the application can be determined to be used.
An embodiment of the present invention provides a server, referring to fig. 8, including a memory 801 and a processor 802, where:
the memory 801 stores programs; the processor 802 is configured to execute the program stored in the memory, and in particular, to perform the service request method according to any embodiment of the present invention.
Embodiments of the present invention provide a storage medium, where the storage medium stores computer-executable instructions, and is used to implement a service request method according to any embodiment of the present invention.
The service request method, the service request device, the server and the storage medium provided by the invention are described in detail, and a specific example is applied in the description to explain the principle and the implementation of the invention, and the description of the above embodiment is only used to help understanding the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.
It should be noted that, in the present specification, the embodiments are all described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
It is further noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include or include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A service request method is applied to an application developed based on a target architecture, wherein the target architecture consists of a service layer and a component layer, and the method comprises the following steps:
receiving a service request, and determining a service requested by the service request;
determining at least one component of the service call, wherein the at least one component comprises a database component and/or a business function component, the database component is used for calling a database, and the business function component is used for realizing the business logic function of the service;
invoking the at least one component to generate a request result of the service request through calculation and/or operation of a database;
and when the request result comprises at least one piece of data information, automatically constructing and returning an object carrying the request result.
2. The method of claim 1, wherein when the at least one component comprises the database component, the invoking the at least one component to generate the request result of the service request via computation and/or manipulation of the database comprises:
running the database component;
detecting database operation statement information called when the database component runs, wherein the database operation statement information comprises database operation statement identification and a parameter sequence, the parameter sequence comprises at least one parameter information which is sequentially ordered, and the parameter information comprises parameters and parameter values;
acquiring a database operation statement template corresponding to the database operation statement identifier, wherein the database operation statement template carries at least one target variable;
searching a preset corresponding relation between parameters and variables, assigning parameter values of the parameters corresponding to the target variables in the parameter sequence to the target variables in the database operation statement template, and generating database operation statements;
calling a database interface to execute the database operation statement operation database to generate a data operation result;
and obtaining a request result of the service request based on the data operation result.
3. The method of claim 2, wherein a parameter of the parameter information is related to an ordering of the parameter information in the at least one parameter information.
4. The method according to any one of claims 2 to 3, wherein the database operation statement information further includes an object structure identifier, and when the request result includes at least one piece of data information, automatically building and returning an object carrying the request result includes:
when the request result comprises at least one piece of data information, acquiring an object structure which is corresponding to the object structure identification and is used for bearing the data information, wherein the object structure is generated according to a table structure of a data table in a database operated when the database operation statement is executed;
constructing an object list, wherein the object list comprises at least one data object, and the data object is an object structure carrying one piece of data information;
and returning the object list.
5. The method of claim 4, wherein building the list of objects comprises:
obtaining paging information carried in the service request, wherein the paging information indicates the information quantity displayed on each page and the page number of the request;
paging the data information in the request result by using the information quantity displayed on each page to obtain a paging result;
determining data information in the page number according to the paging result;
constructing an object list by using the determined data information;
the returning the object list includes returning page information, the page information being generated based on the pagination result and the object list.
6. The method of claim 5, wherein when the service requested by the service request indicates to detect the application, the method further comprises:
for each service in the application, acquiring all calling relations in the service based on the script of the service;
judging whether the calling relation meets a preset condition, wherein the preset condition comprises that one service in the application does not call a non-shared component of other services in the application, the component in the application does not call the non-shared component, the component in the application does not call a service, and the service in the application does not call the service;
and when the calling relation meets a preset condition, determining that the application is legal.
7. The method of claim 6, wherein the obtaining all call relations in the service based on the script of the service comprises:
acquiring a called service class and a called component class in the script of the service;
analyzing the service class to obtain the service to which the service belongs and a first attribute of the service, wherein the first attribute comprises a calling relation in the service;
and analyzing the component class to obtain a second attribute of the component called in the service, wherein the second attribute comprises a calling relation in the component called by the service.
8. A service request apparatus applied to an application developed based on a target architecture, the apparatus comprising:
the receiving unit is used for receiving a service request and determining the service requested by the service request;
a first determining unit, configured to determine at least one component called by the service, where the at least one component includes a database component and/or a business function component, the database component is configured to call a database, and the business function component is configured to implement a business logic function of the service;
the calling unit is used for calling the at least one component to generate a request result of the service request through calculation and/or operation of a database;
and the construction unit is used for automatically constructing and returning the object carrying the request result when the request result comprises at least one piece of data information.
9. A server, comprising: at least one memory and at least one processor; the memory stores a program that the processor calls, the processor invokes, the program implementing the service request method of any one of claims 1-7.
10. A storage medium having stored thereon computer-executable instructions for performing the service request method of any one of claims 1-7.
CN201911052709.5A 2019-10-31 2019-10-31 Service request method, device, server and storage medium Pending CN110795454A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911052709.5A CN110795454A (en) 2019-10-31 2019-10-31 Service request method, device, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911052709.5A CN110795454A (en) 2019-10-31 2019-10-31 Service request method, device, server and storage medium

Publications (1)

Publication Number Publication Date
CN110795454A true CN110795454A (en) 2020-02-14

Family

ID=69442358

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911052709.5A Pending CN110795454A (en) 2019-10-31 2019-10-31 Service request method, device, server and storage medium

Country Status (1)

Country Link
CN (1) CN110795454A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113268230A (en) * 2021-05-18 2021-08-17 深圳希施玛数据科技有限公司 Feedback information generation method, device, terminal and storage medium
CN113485686A (en) * 2021-07-22 2021-10-08 苏州万戈软件科技有限公司 Method and device for generating information system program, electronic device and storage medium
CN113765868A (en) * 2020-08-17 2021-12-07 北京沃东天骏信息技术有限公司 Service processing method and device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003070505A2 (en) * 2002-02-22 2003-08-28 Volkswagen Ag Service controller for computer systems, especially for a motor vehicle
CN101196926A (en) * 2007-12-29 2008-06-11 中国建设银行股份有限公司 Database access platform and access method thereof
US20090158237A1 (en) * 2007-12-14 2009-06-18 International Business Machines Corporation Method and apparatus for the design and development of service-oriented architecture (soa) solutions
CN101551742A (en) * 2008-03-31 2009-10-07 上海宝信软件股份有限公司 Guidance assembly for assisting building applying system for service
CN101706738A (en) * 2009-10-29 2010-05-12 中国联合网络通信集团有限公司 Flow application system
CN102271156A (en) * 2011-07-20 2011-12-07 武汉爱迪智能工程有限公司 Data sharing service system based on internet of things
CN106921688A (en) * 2015-12-24 2017-07-04 阿里巴巴集团控股有限公司 The service providing method and distributed system of distributed system
CN108737324A (en) * 2017-04-13 2018-11-02 腾讯科技(深圳)有限公司 Generate the method, apparatus and relevant device, system of artificial intelligence serviced component

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003070505A2 (en) * 2002-02-22 2003-08-28 Volkswagen Ag Service controller for computer systems, especially for a motor vehicle
US20090158237A1 (en) * 2007-12-14 2009-06-18 International Business Machines Corporation Method and apparatus for the design and development of service-oriented architecture (soa) solutions
CN101196926A (en) * 2007-12-29 2008-06-11 中国建设银行股份有限公司 Database access platform and access method thereof
CN101551742A (en) * 2008-03-31 2009-10-07 上海宝信软件股份有限公司 Guidance assembly for assisting building applying system for service
CN101706738A (en) * 2009-10-29 2010-05-12 中国联合网络通信集团有限公司 Flow application system
CN102271156A (en) * 2011-07-20 2011-12-07 武汉爱迪智能工程有限公司 Data sharing service system based on internet of things
CN106921688A (en) * 2015-12-24 2017-07-04 阿里巴巴集团控股有限公司 The service providing method and distributed system of distributed system
CN108737324A (en) * 2017-04-13 2018-11-02 腾讯科技(深圳)有限公司 Generate the method, apparatus and relevant device, system of artificial intelligence serviced component

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
乔容: "基于J2EE平台的SOA服务分析框架设计与实现", 《中国优秀博硕士学位论文全文数据库(硕士)信息科技辑》 *
朱颖芳等: "基于SOA的数字林业业务定制技术研究", 《中国农学通报》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113765868A (en) * 2020-08-17 2021-12-07 北京沃东天骏信息技术有限公司 Service processing method and device
CN113765868B (en) * 2020-08-17 2023-08-08 北京沃东天骏信息技术有限公司 Service processing method and device
CN113268230A (en) * 2021-05-18 2021-08-17 深圳希施玛数据科技有限公司 Feedback information generation method, device, terminal and storage medium
CN113268230B (en) * 2021-05-18 2023-09-08 深圳希施玛数据科技有限公司 Feedback information generation method and device, terminal and storage medium
CN113485686A (en) * 2021-07-22 2021-10-08 苏州万戈软件科技有限公司 Method and device for generating information system program, electronic device and storage medium
CN113485686B (en) * 2021-07-22 2023-10-20 苏州万戈软件科技有限公司 Information system program generation method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
WO2021098148A1 (en) Software compiling method and apparatus, and electronic device and storage medium
US10324909B2 (en) Omega names: name generation and derivation utilizing nested three or more attributes
US7114148B2 (en) Runtime services for network software platform
US9772890B2 (en) Sophisticated run-time system for graph processing
CN108874924B (en) Method and device for creating search service and computer-readable storage medium
RU2611966C2 (en) Data enrichment recommending system
WO2020015190A1 (en) Method for generating business rule, electronic device, and readable storage medium
US9304835B1 (en) Optimized system for analytics (graphs and sparse matrices) operations
CN110795454A (en) Service request method, device, server and storage medium
CN111970267B (en) Data protocol conversion method and device, electronic equipment and storage medium
US20060184568A1 (en) Having a single set of object relational mappings across different instances of the same schemas
EP2779582B1 (en) Automatic mobile application discovery and integration in a mobile telecommunication device
TW201826120A (en) Managing, using, and updating application resources
JPH0926924A (en) Method and apparatus for interpretation of exception in distributed object system
US9075634B2 (en) Minimizing overhead in resolving operating system symbols
CN106648569B (en) Target serialization realization method and device
CN110365724B (en) Task processing method and device and electronic equipment
US8589945B2 (en) Method for locating, resolving and invoking software functions
CN111813385B (en) Page plug-in method, device and equipment based on Web application
CN111651221B (en) Annotation internationalization method and device, storage medium and electronic equipment
US20080141219A1 (en) Multiple inheritance facility for java script language
CN116560683A (en) Software updating method, device, equipment and storage medium
JP2012529711A (en) Software extension analysis method and system
CN113625998A (en) Request processing method and device
CN106502707B (en) Code generation 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200214

RJ01 Rejection of invention patent application after publication