CN113377497B - Service development system based on service virtualization - Google Patents

Service development system based on service virtualization Download PDF

Info

Publication number
CN113377497B
CN113377497B CN202110634930.2A CN202110634930A CN113377497B CN 113377497 B CN113377497 B CN 113377497B CN 202110634930 A CN202110634930 A CN 202110634930A CN 113377497 B CN113377497 B CN 113377497B
Authority
CN
China
Prior art keywords
service
virtualized
virtual
executable method
dbms
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110634930.2A
Other languages
Chinese (zh)
Other versions
CN113377497A (en
Inventor
李君妍
朱硕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hubei University of Education
Original Assignee
Hubei University of Education
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 Hubei University of Education filed Critical Hubei University of Education
Priority to CN202110634930.2A priority Critical patent/CN113377497B/en
Publication of CN113377497A publication Critical patent/CN113377497A/en
Application granted granted Critical
Publication of CN113377497B publication Critical patent/CN113377497B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • 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/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/284Relational databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/31Programming languages or programming paradigms
    • G06F8/315Object-oriented languages
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Human Computer Interaction (AREA)
  • Computing Systems (AREA)
  • Stored Programmes (AREA)

Abstract

The invention provides a service development system based on service virtualization. Based on SpringMVC, springBoot principle, the invention abstracts the development flow by using virtualization technology, extracts the entity from the development flow, and completes the business requirement by setting the calling sequence among the flow entities and the parameter transmission mode, thereby completing the construction of the whole micro-service. By utilizing the service development system, the micro-service development and learning cost can be reduced, the learning period is greatly shortened, and the learning difficulty is reduced; the development efficiency and speed are improved; the service migration difficulty is low, and the service migration cost is low; transaction-level service migration may be performed.

Description

Service development system based on service virtualization
Technical Field
The present invention relates to the field of service architecture, and in particular, to a service development system based on service virtualization.
Background
The core of the micro-service is to simplify and zero, and decompose the application into small service modules for independent development. The feature of the micro service is that the micro service is convenient to be deployed in a container, revolutionary influence is generated on the whole development, test and operation and maintenance, the development of devops is supported forcefully, the quick development and automatic test are convenient, independent deployment, maintenance and upgrading and fault handling are facilitated, and a series of advantages are brought.
The idea of breaking down into zeros is not to develop a huge monolithic application, but rather to break down the application into small, interconnected micro-services. A micro-service typically performs a particular function, such as order management, customer management, etc. Each micro-service is a micro-hexagonal application with its own business logic and adapter. Some micro-services may also publish APIs for other micro-services and application clients to use. Other micro-services complete a WebUI, and each instance may be a cloud VM or a Docker container when running.
Spring Cloud is an excellent framework for micro-service development, and is developed on the basis of Spring Boot, and provides a developer with a development tool operating on a distributed system (such as configuration management, service discovery, circuit breakers, intelligent routing, micro-agents, control buses, disposable token. Global locks, decision elections, distributed sessions and cluster states). These modes can be quickly implemented using Spring Cloud developers.
Although the micro-service is developed by using Spring Cloud and Spring boot, the learning cost is high, the learning period is long, and the learning difficulty is relatively high. In addition, in the development process, repetitive work still exists, for example, copying and pasting of part of tool codes, the simple query service needs to write Service, serviceImp, dao according to the MVC specification, then write SQL queries and the like, and the development efficiency is reduced. During deployment maintenance, service migration is difficult, error rate is high, and transaction-level service migration may not be possible.
Disclosure of Invention
In view of the above drawbacks, the present invention addresses the above problems by developing a service development system based on service virtualization. By combining Spring Cloud, the construction and deployment work of the distributed micro-service back-end server can be completed rapidly. Based on SpringMVC, springBoot principle, the invention abstracts the development flow by using virtualization technology, extracts the entity from the development flow, and completes the business requirement by setting the calling sequence among the flow entities and the parameter transmission mode, thereby completing the construction of the whole micro-service.
According to the invention, through researching the principle and development flow of Spring MVC and Spring boot, a virtualization technology is applied, and an abstract development process is used for obtaining an entity: virtualProject, virtualService, runnableMethod. And building a relational database by analyzing the attribute of each entity and the entity calling relation, and recording the calling relation and the parameter transferring mode among the entities. When the service is built, a developer can input VirtualService, runnableMethod calling orders and parameter transmission rules through a virtualized DBMS graphical development platform to complete development work of various services. When the micro-service application is started, the virtualized service operation engine reads VirtualService, runnableMethod call relations from the virtualized relation database, generates a virtualized service call relation chain, and can enable the virtual service to be accessed and return data like the traditional service when the micro-service application is started.
In order to achieve the above purpose, the technical scheme provided by the invention is as follows: a service development system based on service virtualization, comprising the following modules:
the virtualized relational database module is used for storing parameters and configuration information of a virtual service call chain and a system virtual model;
the virtualized service operation engine module is used for initializing data from the virtual relation database module and generating a call chain of the service and the method; running a designated call chain according to a certain service request, and responding to the certain request, wherein the virtualized service running engine module is used for controlling the creation, execution, hot deployment and management of a system virtual model;
the virtual service DBMS graphical development platform is used for providing a graphical man-machine interaction interface to create, modify and delete one or more operations such as virtual micro-service, display project list, project details, service running details and the like; the virtualization service DBMS graphical development platform is divided into a front end and a rear end, the front end provides a graphical operation interface, and the rear end is responsible for operating a virtualization relational database according to the operation of the front end;
the executable method market module is used for downloading, installing, uploading, publishing, retrieving and authorizing the encryption executable method and installing and importing the executable method according to a user request;
and the virtualized entity code engine module is used for generating entity codes corresponding to the frame styles according to the call chains of the virtual services and the types of the codes and the frame types selected and exported by the user.
Further, the system virtual model includes VirtualProject, virtualService, runnableMethod;
wherein, the virtual project is a virtual project, and the virtual project comprises a plurality of virtual services, and the basic composition unit of the virtual services is the virtual service;
the virtual Service corresponds to the Service in the SpringMVC, one virtual Service is a virtual transaction, and the virtual services have atomicity, consistency, isolation and durability and can be called mutually;
runneblemethod is an executable method with entity code, the essence of which is a tool component Class with entity code for virtual service to call to implement transaction logic, the code implementation of Runneblemethod contains several Class files.
Further, the virtualized service operation engine module is developed by utilizing Java language, and performs pooling operation on database connection of the virtualized relational database by using a drud database connection pool.
Further, the virtualized service operation engine module comprises a plurality of parts including starting, initializing, operating and hot deploying;
when the system is started, the virtualized service operation engine module starts to start;
the initialization process is that after connection of the virtualized relational database module is established, firstly reading the information of the Runneblemethod, and downloading an entity class file of the Runneblemethod from a corresponding server by utilizing a remote class loading technology of Java and loading a Java object for generating the Runneblemethod; then reads VirtualProject, virtualService from the virtualized relational database and generates references between objects in conjunction with the Java objects of RunnableMethod.
Entering an operation process when the virtualized service operation engine module receives a request of a client;
the operation process is that after receiving the Http data request from the network, the virtualized service operation engine module distributes and executes the request by analyzing the type of the request and the address of the request, invokes the corresponding service, operates the execution relation chain of the service and obtains the final response result to be returned to the data request end; after the error occurs in the run-time execution relation chain, the virtualized service operation engine module needs to ensure the atomicity of the transaction, so as to trigger the operation rollback of the executed service or executable method, and if no error occurs, the operation submission is performed on the executed service or executable method;
the hot deployment process is that after a service change request is submitted on a user virtualization service DBMS graphical development platform, the back end of the DBMS updates the virtualized relation database module data firstly, and then corresponding virtual service or virtual project is unloaded; and then loading the data of the virtual service or the virtual project from the virtualized relational database module again, regenerating the relation and Mapping of the virtual service or the virtual project, and finally generating an execution chain of the virtual service according to the RunnebleMethod example in the system to complete the heat deployment function.
Further, the virtualized DBMS graphical development platform adopts Vue for development, uses Vue CLI 3 for quick construction, and adopts the modularized development function of the Vue for constructing a graphical interaction interface;
for the back end of the virtualized service DBMS graphical development platform, a virtualized service operation engine module is adopted for development, and virtual project creation, modification, deletion, query and virtual service creation, modification, deletion and query operations are realized through a preset virtual service and execution relation chain;
for the front end of the virtualized service DBMS graphical development platform, the state monitoring and control of each service in the application running process are also provided, and when the application runs, the rule of the service can be modified in real time and the virtualized service running engine is informed to update the execution relation chain of the corresponding service;
for the virtualized service DBMS graphical development platform, the platform is responsible for providing a graphical operation interface of virtual application and virtual service, data of the virtualized service DBMS graphical development platform is finally submitted to a virtualized relational database for storage through the rear end of the virtualized service DBMS graphical development platform, and hot deployment and modification of the service can be carried out after the virtualized service operation engine module is started so as to realize a agile development function, wherein the hot deployment is that the virtualized service DBMS graphical development platform calls the hot deployment function of the virtualized service operation engine module.
Further, the executable method market module is integrated in a virtualized service DBMS graphical development platform, but the back-end service runs in an executable method market server and is provided with an independent database;
the executable method market module is used for providing an executable method, the back end service of the executable method is a platform for carrying out executable method transaction for a developer, when a user cannot find an executable method meeting the requirement locally, the executable method can be searched in the executable method market module, the executable method meeting the requirement can be found for downloading and installing, and the executable method can be used in a virtualized service DBMS graphical development platform after downloading and installing; if the user does not find the executable method meeting the requirements after searching, submitting the executable method requirement to an executable method market module, or writing the executable method according to the API of the executable method by oneself, uploading the executable method to a local virtualized relational database through a virtualized service DBMS graphical development platform, so that the next project can conveniently reuse the executable method, or uploading the executable method to the executable method market, and providing the executable method for other developers to download for use;
for the executable method market module, an executable method is developed and issued by a developer, after the executable method market module passes the audit, all users are searched, the resource of the executable method is free or charged, and for a charging component, a one-time charging method is adopted for simplifying operation authentication;
after downloading and using the executable method, the user can participate in comments and suggestions of the executable method so as to ensure high availability and high quality of market resources of the executable method.
Further, the virtualized relational database module stores VirtualProject, virtualService information and execution relational chain information, and locally installed RunnebleMethod information;
the virtualized relational database is divided into two parts, one is a local virtualized relational database, and the function of the virtualized relational database is to provide a developer with development work of virtual services on a virtualized service DBMS graphical development platform, such as searching a locally available executable method, storing information and configuration of a virtualProject and an execution relation chain of the virtualService, and loading data into a virtualized service operation engine module when the virtualized service operation engine module is started; and the second is an official virtualized relational database, and provides basic function services of the system and executable methods in an executable method market module, wherein the basic function services comprise creating a modified virtual project and creating a modified virtual service.
The invention solves the following technical problems: (1) The method has the advantages of high learning cost, long learning period and high learning difficulty in the micro-service development process. (2) In the development process, repetitive work still exists, such as copying and pasting of part of tool codes, and a simple query service needs to write a plurality of formatted codes according to specifications and then write business logic and the like, so that development efficiency is reduced. (3) During deployment and maintenance, service migration is difficult, error rate is high, and transaction-level service migration cannot be performed.
Compared with the prior art, the invention has the following beneficial effects: (1) The micro-service development and learning cost is reduced, the learning period is greatly shortened, and the learning difficulty is reduced. (2) improving the development efficiency and speed. And (3) the service migration difficulty is small, and the service migration cost is low. Transaction-level service migration may be performed.
Drawings
FIG. 1 is a block diagram of a system according to the present invention.
Fig. 2 is a system configuration diagram of the present invention.
FIG. 3 is a virtualization service running engine initialization process.
FIG. 4 is a virtualization service running engine running process.
FIG. 5 is a virtualization service running engine hot deployment process.
Detailed Description
The technical scheme of the invention is further described below with reference to the accompanying drawings and examples.
The system structure module of the invention is as follows (fig. 1 is a diagram of the system module composition of the invention):
(1) the virtualization service running engine: the method comprises the steps of initializing data from a virtual relational database, and generating a call chain of services and methods; the specified call chain is run according to the XXX service request and responds to the XXX request. The virtualized service operation engine is used for controlling the creation, execution, hot deployment and management of a system virtual model.
(2) Virtualization service DBMS graphical development platform: and providing a graphical man-machine interaction interface for creating, modifying and deleting one or more operations of virtual micro-service, displaying a project list, project details, service operation details and the like. The development platform (virtualization service DBMS graphical development platform) is divided into a front end and a back end, the front end provides a graphical operation interface, and the back end is responsible for carrying out the operation of the virtualization relational database according to the operation of the front end. The development platform is a DBMS system that is built to facilitate the manipulation of virtualized relational databases.
(3) Executable methods market: the method is used for downloading, installing, uploading, publishing, retrieving and authorizing encryption executable methods, and installing and importing the executable methods according to user requests.
(4) Virtualized relational database: the virtual service call chain is used for storing information such as parameters, configuration and the like of the virtual service call chain.
(5) Virtualized entity code engine: the entity codes corresponding to the frame styles are generated according to the call chains of the virtual services and the types of the codes and the frame types which are selected and exported by the user.
Interpretation of the virtual model of the system:
(1) the virtual project is a virtual project, and a virtual project includes a plurality of virtual services, and the basic unit of the virtual services is the virtual service.
(2) The virtual Service corresponds to the Service in the SpringMVC, and one virtual Service is a virtual transaction, and has atomicity, consistency, isolation and durability. The virtual services can be called mutually.
(3) RunnebleMethod is an executable method with entity code, essentially a tool component class with entity code, for virtual service to call to implement transactional logic. Such as file upload and download, document import and export, remote service call, etc., the user can also customize the RunnableMethod to achieve his own special business needs. A RunnebleMethod is a function whose code implementation contains several Class files.
Each subsystem explains in detail:
(1) the virtualization service running engine: the virtualized service run engine may be developed using the Java language. Pooling is performed on database connections of the virtualized relational database by using a Druid database connection pool. As shown in fig. 3, in the initialization process of the virtualization service running engine, after connection of the virtualized relational database is established, the information of the runnabilemethod is read first, and the entity class file of the runnabilemethod is downloaded from the corresponding server by using the remote class loading technology of Java, and the Java object for generating the runnabilemethod is loaded. Then reads VirtualProject, virtualService from the virtualized relational database and generates references between objects in conjunction with the Java objects of RunnableMethod.
As shown in fig. 4, in order to implement the virtualized service operation engine, after receiving the Http data request from the network, the virtualized service operation engine analyzes the type of the request and the address of the request, performs distributed execution on the request, invokes a corresponding service, runs the service execution relationship chain, and obtains a final response result to be returned to the data request terminal.
For the virtualized service operation engine, after an error occurs in the runtime execution relation chain, the virtualized service operation engine needs to ensure the atomicity of the transaction, so as to trigger operation rollback on the executed service or the executable method. If no error occurs, the operation is submitted to the executed service or executable method.
For the virtualized service operation engine, each application running in the engine (A, B, C in fig. 2 is a program created by a user using the virtualized service DBMS graphical development platform, and running on the virtualized service operation engine) runs in a separate container, and the user can configure and manage each application independently through the virtualized service DBMS graphical development platform.
For the virtualized service operation engine, the functions of hot deployment, agile development and the like are also provided, so that the user can modify and edit the service at any time, and the functions of starting and stopping are ensured.
As shown in FIG. 5, when a user submits a service change request on the DBMS platform, the DBMS backend updates the virtualized relational database data and then uninstalls the corresponding VirtualService or VirtualProject. And then, loading the data of the virtual service or the virtual project from the virtualized relational database again, regenerating the relation and Mapping of the virtual service or the virtual project, and finally, generating an execution chain of the virtual service according to the RunnebleMethod example in the system to complete the heat deployment function.
(2) Virtualization service DBMS graphical development platform: the virtualized DBMS graphical development platform adopts Vue to develop in the project, and uses Vue CLI 3 to quickly build the project. And constructing a graphical interaction interface by adopting the modularized development function of the Vue. And (3) injection: this section may also be developed using other front-end technologies, such as React, angular, JQuery, html, and this example is only described with respect to Vue as an example.
And developing the back end of the virtualized service DBMS graphical development platform by adopting a virtualized service operation engine, and realizing operations such as creation, modification, deletion, query and the like of the virtual service through a preset virtual service and execution relation chain. And (3) injection: the part can also be developed by adopting other back-end technologies, such as Spring Boot, spring MVC, JSP and other back-end technologies, and the example only uses the development of a virtualized service operation engine as an example for illustration.
For a virtualized service DBMS graphical development platform, the platform also provides status monitoring and control of services when the application is running. The rules of the service may be modified in real-time and the virtualized service execution engine may be notified to update the execution relationship chains (service logic) of the corresponding service while the application is running.
For the virtualized DBMS graphical development platform, the platform is responsible for providing a graphical operation interface of virtual application and virtual service, and data of the virtualized operation interface is finally submitted to a virtualized relational database for storage through the rear end of the virtualized DBMS graphical development platform. And the hot deployment (the hot deployment is that the virtualized service DBMS graphical development platform calls the hot deployment function of the virtualized service operation engine) and modification of the service can be performed after the virtualized service operation engine is started so as to realize the agile development function.
(3) Executable methods market: the executable method market may be integrated in the virtualized DBMS graphical development platform, but its backend services run in the executable method market server and have separate databases.
The executable method market is mainly used for providing executable methods, the back-end service of the executable methods is a platform for carrying out executable method transaction for a developer, and when a user cannot find an executable method meeting the requirements locally, the executable method can be searched in the executable method market, and the executable method meeting the requirements can be found for downloading and installing. And the virtual DBMS graphical development platform can be used in the virtual DBMS graphical development platform after being downloaded and installed.
For the executable method market, the executable method is mainly developed and released by developers. After passing the audit, all users will be faced with searching. The executable method resource is free or charged, and for the charging component, a one-time charging method is adopted for simplifying the operation authentication.
For the executable method market, users can participate in comments and suggestions of the executable method after downloading and using the executable method. To ensure high availability and quality of the executable method market resources.
For the executable method market, if the user does not find the executable method meeting the requirements after searching, the executable method requirement can be submitted to the executable method market. And the method can also write the executable method according to the API of the executable method by itself, and upload the executable method to a locally virtualized relational database through a virtualized DBMS graphical development platform, thereby facilitating the multiplexing of the executable method in the next engineering. And the executable method can also be uploaded to an executable method market for other developers to download.
(4) Virtualized relational database: the virtualized relational database is used for storing VirtualProject, virtualService information, execution relation chains and other information, and locally installed RunnebleMethod information.
The virtualized relational database is divided into two parts, one of which is a locally virtualized relational database. The main function of the method is to provide a developer with development work of virtual services on a virtualized service DBMS graphical development platform. Such as searching locally available executable methods (Class files of executable methods), storing the information and configuration of the VirtualProject, executing the relation chain of the VirtualService, and loading data into the engine when the virtualized service operation engine is started. And the second is an official virtualized relational database, which provides basic function services of the system, such as creating modified virtual items (virtualprojects), creating modified virtual services (virtualservices), and the like, and executable methods in the executable method market.
(5) Virtualized entity code engine: the virtualized entity code engine is an engine for performing conversion between a virtualized service and entity code.
Specifically, the virtualized entity code engine generates policy codes by executing codes of executable nodes of each execution chain in the call chain according to the call chain of the virtual service and the code types and the frame types selected and exported by the user, and generates entity codes corresponding to the frame styles.
The specific embodiments described herein are offered by way of example only to illustrate the spirit of the invention. Those skilled in the art may make various modifications or additions to the described embodiments or substitutions thereof without departing from the spirit of the invention or exceeding the scope of the invention as defined in the accompanying claims.

Claims (4)

1. A service development system based on service virtualization, comprising the following modules:
the virtualized relational database module is used for storing parameters and configuration information of a virtual service call chain and a system virtual model;
the virtualized service operation engine module is used for initializing data from the virtual relation database module and generating a call chain of the service and the method; running a designated call chain according to a certain service request, and responding to the certain request, wherein the virtualized service running engine module is used for controlling the creation, execution, hot deployment and management of a system virtual model;
the system virtual model includes VirtualProject, virtualService, runnableMethod;
wherein, the virtual project is a virtual project, and the virtual project comprises a plurality of virtual services, and the basic composition unit of the virtual services is the virtual service;
the virtual Service corresponds to the Service in the SpringMVC, one virtual Service is a virtual transaction, and the virtual services have atomicity, consistency, isolation and durability and can be called mutually;
runneblemethod is an executable method with entity code, the essence of which is a tool component Class with entity code, which is called by VirtualService to realize transaction logic, and the code implementation of Runneblemethod comprises a plurality of Class files;
the virtualized service operation engine module comprises a starting part, an initializing part, an operation part and a hot deployment part;
when the system is started, the virtualized service operation engine module starts to start;
the initialization process is that after connection of the virtualized relational database module is established, firstly reading the information of the Runneblemethod, and downloading an entity class file of the Runneblemethod from a corresponding server by utilizing a remote class loading technology of Java and loading a Java object for generating the Runneblemethod; then, virtualProject, virtualService is read from the virtualized relational database and references among objects are generated by combining Java objects of RunnebleMethod;
entering an operation process when the virtualized service operation engine module receives a request of a client;
the operation process is that after receiving the Http data request from the network, the virtualized service operation engine module distributes and executes the request by analyzing the type of the request and the address of the request, invokes the corresponding service, operates the execution relation chain of the service and obtains the final response result to be returned to the data request end; after the error occurs in the run-time execution relation chain, the virtualized service operation engine module needs to ensure the atomicity of the transaction, so as to trigger the operation rollback of the executed service or executable method, and if no error occurs, the operation submission is performed on the executed service or executable method;
the hot deployment process is that after a service change request is submitted on a user virtualization service DBMS graphical development platform, the back end of the DBMS updates the virtualized relation database module data firstly, and then corresponding virtual service or virtual project is unloaded; then loading the data of the virtual service or the virtual project from the virtualized relational database module again, then regenerating the relation and Mapping of the virtual service or the virtual project, and finally generating an execution chain of the virtual service according to the RunnebleMethod example in the system to complete the heat deployment function;
the virtualized relational database module is used for storing VirtualProject, virtualService information or executing relational chain information and locally installed Runneblemethod information;
the virtualized relational database is divided into two parts, one is a local virtualized relational database, and the function of the virtualized relational database is to provide a developer with development work of virtual services on a virtualized service DBMS graphical development platform, such as searching a locally available executable method, storing information and configuration of a virtualProject and an execution relation chain of the virtualService, and loading data into a virtualized service operation engine module when the virtualized service operation engine module is started; the second is an official virtualized relational database, providing basic function services of the system and executable methods in an executable method market module, wherein the basic function services comprise creating a modified virtual project and creating a modified virtual service;
the virtual service DBMS graphical development platform is used for providing a graphical man-machine interaction interface to create, modify and delete one or more operations of virtual micro-service, display item list, item details, service details and service running details; the virtualization service DBMS graphical development platform is divided into a front end and a rear end, the front end provides a graphical operation interface, and the rear end is responsible for operating a virtualization relational database according to the operation of the front end;
the executable method market module is used for downloading, installing, uploading, publishing, retrieving and authorizing the encryption executable method and installing and importing the executable method according to a user request;
and the virtualized entity code engine module is used for generating entity codes corresponding to the frame styles according to the call chains of the virtual services and the types of the codes and the frame types selected and exported by the user.
2. A service development system based on service virtualization as recited in claim 1, wherein: the virtualized service operation engine module is developed by utilizing Java language, and performs pooling operation on database connection of the virtualized relational database by using a guide database connection pool.
3. A service development system based on service virtualization as recited in claim 1, wherein: the virtualized service DBMS graphical development platform adopts Vue to develop, uses Vue CLI 3 to quickly build, and adopts the modularized development function of the Vue to build a graphical interaction interface;
for the back end of the virtualized service DBMS graphical development platform, a virtualized service operation engine module is adopted for development, and virtual project creation, modification, deletion, query and virtual service creation, modification, deletion and query operations are realized through a preset virtual service and execution relation chain;
for the front end of the virtualized service DBMS graphical development platform, the state monitoring and control of each service in the application running process are also provided, and when the application runs, the rule of the service can be modified in real time and the virtualized service running engine is informed to update the execution relation chain of the corresponding service;
for the virtualized service DBMS graphical development platform, the platform is responsible for providing a graphical operation interface of virtual application and virtual service, data of the virtualized service DBMS graphical development platform is finally submitted to a virtualized relational database for storage through the rear end of the virtualized service DBMS graphical development platform, and hot deployment and modification of the service can be carried out after the virtualized service operation engine module is started so as to realize a agile development function, wherein the hot deployment is that the virtualized service DBMS graphical development platform calls the hot deployment function of the virtualized service operation engine module.
4. A service development system based on service virtualization as recited in claim 1, wherein: the executable method market module is integrated in a virtualized service DBMS graphical development platform, but the rear-end service runs in an executable method market server and is provided with an independent database;
the executable method market module is used for providing an executable method, the back end service of the executable method is a platform for carrying out executable method transaction for a developer, when a user cannot find an executable method meeting the requirement locally, the executable method can be searched in the executable method market module, the executable method meeting the requirement can be found for downloading and installing, and the executable method can be used in a virtualized service DBMS graphical development platform after downloading and installing; if the user does not find the executable method meeting the requirements after searching, submitting the executable method requirement to an executable method market module, or writing the executable method according to the API of the executable method by oneself, uploading the executable method to a local virtualized relational database through a virtualized service DBMS graphical development platform, so that the next project can conveniently reuse the executable method, or uploading the executable method to the executable method market, and providing the executable method for other developers to download for use;
for the executable method market module, an executable method is developed and issued by a developer, after the executable method market module passes the audit, all users are searched, the resource of the executable method is free or charged, and for a charging component, a one-time charging method is adopted for simplifying operation authentication;
after downloading and using the executable method, the user can participate in comments and suggestions of the executable method so as to ensure high availability and high quality of market resources of the executable method.
CN202110634930.2A 2021-06-08 2021-06-08 Service development system based on service virtualization Active CN113377497B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110634930.2A CN113377497B (en) 2021-06-08 2021-06-08 Service development system based on service virtualization

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110634930.2A CN113377497B (en) 2021-06-08 2021-06-08 Service development system based on service virtualization

Publications (2)

Publication Number Publication Date
CN113377497A CN113377497A (en) 2021-09-10
CN113377497B true CN113377497B (en) 2023-11-28

Family

ID=77576232

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110634930.2A Active CN113377497B (en) 2021-06-08 2021-06-08 Service development system based on service virtualization

Country Status (1)

Country Link
CN (1) CN113377497B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115185639B (en) * 2022-07-12 2023-06-23 安超云软件有限公司 Method and system for realizing virtualized API (application program interface)
CN116305713B (en) * 2022-09-07 2024-06-04 杭州未名信科科技有限公司 Chip simulation system and simulation method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107220007A (en) * 2017-06-14 2017-09-29 湖北第二师范学院 A kind of VTL system and method based on blue-ray storage equipment
CN108055248A (en) * 2017-11-30 2018-05-18 平安科技(深圳)有限公司 Remote invocation method, server and storage medium based on dubbo frames
CN111522661A (en) * 2020-04-22 2020-08-11 腾讯科技(深圳)有限公司 Micro-service management system, deployment method and related equipment
CN111880904A (en) * 2020-07-30 2020-11-03 北京浪潮数据技术有限公司 Method, system and related device for arranging virtualization platform resources
CN112000448A (en) * 2020-07-17 2020-11-27 北京计算机技术及应用研究所 Micro-service architecture-based application management method
CN112363704A (en) * 2021-01-12 2021-02-12 太极计算机股份有限公司 Service system based on micro-service architecture

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11403208B2 (en) * 2019-11-21 2022-08-02 Mastercard International Incorporated Generating a virtualized stub service using deep learning for testing a software module

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107220007A (en) * 2017-06-14 2017-09-29 湖北第二师范学院 A kind of VTL system and method based on blue-ray storage equipment
CN108055248A (en) * 2017-11-30 2018-05-18 平安科技(深圳)有限公司 Remote invocation method, server and storage medium based on dubbo frames
CN111522661A (en) * 2020-04-22 2020-08-11 腾讯科技(深圳)有限公司 Micro-service management system, deployment method and related equipment
CN112000448A (en) * 2020-07-17 2020-11-27 北京计算机技术及应用研究所 Micro-service architecture-based application management method
CN111880904A (en) * 2020-07-30 2020-11-03 北京浪潮数据技术有限公司 Method, system and related device for arranging virtualization platform resources
CN112363704A (en) * 2021-01-12 2021-02-12 太极计算机股份有限公司 Service system based on micro-service architecture

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"微服务架构和安全体系设计方案";韩道岐;《电子技术与软件工程》;199-201 *

Also Published As

Publication number Publication date
CN113377497A (en) 2021-09-10

Similar Documents

Publication Publication Date Title
US10324690B2 (en) Automated enterprise software development
CN110730951B (en) Containerized deployment of micro-services based on monolithic legacy applications
US10866791B2 (en) Transforming non-Apex code to Apex code
US5758351A (en) System and method for the creation and use of surrogate information system objects
Bauer et al. Java Persistance with Hibernate
US6427230B1 (en) System and method for defining and managing reusable groups software constructs within an object management system
US7890478B2 (en) Projected business objects
CN113377497B (en) Service development system based on service virtualization
De Oliveira et al. Data-Intensive Workflow Management
WO2018090529A1 (en) Method and system for mirror image package preparation and application operation
CN109740765B (en) Machine learning system building method based on Amazon network server
Tate et al. Ruby on Rails: Up and Running: Up and Running
CN115516443B (en) Generating optimization logic from architecture
US20230401214A1 (en) Graph database and methods with improved functionality
CN109960709B (en) Database driver processing method, device, equipment and storage medium
Wannipurage et al. A Framework to capture and reproduce the Absolute State of Jupyter Notebooks
Karau et al. Scaling Python with Ray
Paokin et al. Unified approach for provision of supercomputer center resources
Anh Real-time backend architecture using Node. js, Express and Google Cloud Platform
Gorman et al. Repository and Unit of Work Patterns
Marosi Challenges and formal aspects of volunteer computing
Späth et al. Spring Data Access with JDBC
Cosmina et al. Spring Data Access with JDBC
Nair et al. Cargo Tracker: Jakarta EE
McCall et al. Big Data Cloud Computing Infrastructure Framework

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