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

Service development system based on service virtualization Download PDF

Info

Publication number
CN113377497A
CN113377497A CN202110634930.2A CN202110634930A CN113377497A CN 113377497 A CN113377497 A CN 113377497A CN 202110634930 A CN202110634930 A CN 202110634930A CN 113377497 A CN113377497 A CN 113377497A
Authority
CN
China
Prior art keywords
service
virtual
virtualization
virtualized
executable
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110634930.2A
Other languages
Chinese (zh)
Other versions
CN113377497B (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

Images

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. The method is based on the principles of SpringMVC and SpringBoot, applies virtualization technology, abstracts the development flow through virtualization technology, extracts entities 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 microservice. By utilizing the service development system, the development and learning cost of the micro-service 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 small, 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 invention relates to the field of service architecture, in particular to a service development system based on service virtualization.
Background
The micro-service is the most advanced architecture design concept at present, is successfully applied to a plurality of big internet companies at home and abroad, and has the core of simplifying the traditional method and breaking the whole into parts and decomposing the application into small service modules for independent development. The characteristics of the micro-service enable the micro-service to be conveniently deployed to a container, revolutionary influence is generated on the whole development, test and operation and maintenance, the devops development is powerfully supported, agile development and automatic test are facilitated, independent deployment, maintenance and upgrading and fault processing are facilitated, efficiency and quality are improved, and a series of advantages are brought.
The break-up idea is not to develop a huge monolithic application, but to break up the application into small, interconnected microservices. A microservice typically performs a specific function such as order management, customer management, etc. Each microservice is a miniature hex application with its own business logic and adapter. Some microservices also publish APIs for use by other microservices and application clients. Other microservices complete a WebUI and at runtime, each instance may be a cloud VM or a Docker container.
Spring Cloud is an excellent framework for micro-service development, and is developed on the basis of Spring Boot, and provides developers with development tools operating in distributed systems (such as configuration management, service discovery, breakers, intelligent routing, micro-agents, control buses, one-time token. These modes can be quickly implemented using Spring Cloud developers.
Although the development of micro services by using Spring Cloud and Spring boot is very mature, the learning cost is high, the learning period is long, and the learning difficulty is large. In the development process, some repetitive work still exists, for example, copying and pasting of part of tool codes, the simple query Service needs to write Service, ServiceImp and Dao according to the MVC specification, and then SQL query can be written, and the like, so that the development efficiency is reduced. During the period of deployment and maintenance, the service migration is difficult, the error rate is high, and the transaction-level service migration can not be carried out.
Disclosure of Invention
In view of the above disadvantages, the present invention is directed to the above problems, and a service development system based on service virtualization is developed. And by combining the Spring Cloud, the construction and deployment work of the distributed micro-service back-end server can be rapidly completed. The method is based on the principles of SpringMVC and SpringBoot, applies virtualization technology, abstracts the development flow through virtualization technology, extracts entities 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 microservice.
By researching the principles and development flows of Spring MVC and Spring boot, the invention obtains an entity in an abstract development process by applying a virtualization technology: VirtualProject, VirtualService, runnable method. And a relational database is established by analyzing the attributes of the entities and the entity calling relationship so as to record the calling relationship and the parameter transmission mode among the entities. When the service is built, developers can input VirtualService, RunnablMethod calling order and parameter transmission rule through a virtual service DBMS graphical development platform to complete the development work of each service. When the micro-service application is started, the virtualized service running engine reads the call relations of VirtualService and RunnableMethod from the virtualized relational database to generate a call relation chain of VirtualService, and the virtualized service running engine can make the virtual service accessed and returned data like the traditional service when the micro-service runs.
In order to achieve the purpose, the invention provides the technical scheme that: a service development system based on service virtualization comprises the following modules:
the virtualized relation database module is used for storing parameters and configuration information of the virtual service call chain and the system virtual model;
the virtualization 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; according to a certain service request, operating a specified call chain and responding to a certain request, wherein the virtualization service operation 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 human-computer interaction interface so as to create, modify and delete one or more operations such as virtual micro-services, display item lists, item details, service operation details and the like; the 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 operating a virtualization relational database according to the operation of the front end;
the executable method market module is used for downloading, installing, uploading, releasing, retrieving and authorizing the encrypted executable methods, and installing and importing the executable methods according to the user request;
and the virtualized entity code engine module is used for generating entity codes corresponding to the frame style according to the call chain of the virtual service and the code type and the frame type selected and derived by the user.
Further, the system virtual model comprises VirtualProject, VirtualService and RunnableMethod;
the virtual project comprises a plurality of virtual services, wherein the virtual project comprises a plurality of virtual services, and the basic component unit of the virtual project is the virtual service;
VirtualServices correspond to the Services in SpringMVC, one VirtualService is a virtual transaction, the VirtualServices have atomicity, consistency, isolation and durability, and the VirtualServices can be mutually called;
the RunnableMethod is an executable method with entity code, and is essentially a tool component Class with entity code, which is called by VirtualService to realize the business logic, and the code implementation of the RunnableMethod comprises a plurality of Class files.
Further, the virtualization service running engine module is developed by using Java language, and performs pooling operation on the database connection of the virtualized relational database by using the managed database connection pool.
Further, the virtualization service operation engine module comprises a starting part, an initialization part, an operation part and a heat deployment part;
when the system is started, starting a virtualization service running engine module;
after establishing the connection of the virtualized relational database module, reading information of the RunnableMethod, downloading an entity class file of the RunnableMethod from a corresponding server by using a Java remote class loading technology, and loading a Java object for generating the RunnableMethod; the VirtualProject, VirtualService are then read from the virtualized relational database and references between the objects are generated in conjunction with the runnable method Java objects.
Entering a running process when the virtualization service running engine module receives a request of a client;
the operation process is that after receiving an Http data request from a network, the virtualization service operation engine module distributes and executes the request by analyzing the type of the request and the address of the request, calls a corresponding service, operates an execution relation chain of the service and obtains a final response result to return to the data request end; after an error occurs in the execution relation chain during running, the virtualization service running engine module needs to ensure the atomicity of the transaction, so as to trigger operation rollback on the executed service or the executed method, and if no error occurs, operation submission is performed on the executed service or the executed method;
the hot deployment process is that after a service change request is submitted on a graphical development platform of a user virtualization service DBMS, the back end of the DBMS updates the data of a virtualization relation database, and then unloads a corresponding Virtualservice or VirtualProject; and then loading the VirtualService or VirtualProject data from the virtualization relational database module again, regenerating the VirtualService or VirtualProject relationship and Mapping, and finally generating a VirtualService execution chain according to a RunnableMethod example in the system to complete the hot deployment function.
Further, the virtualized service DBMS graphical development platform is developed by adopting Vue, quickly constructed by using Vue CLI 3, and a graphical interaction interface is constructed by adopting a Vue modular development function;
for the back end of a virtual service DBMS graphical development platform, a virtual service operation engine module is adopted for development, and the creation, modification, deletion, query of virtual items and the creation, modification, deletion and query operation of virtual services are realized through a preset virtual service and execution relation chain;
for the front end of the graphical development platform of the virtual service DBMS, the state monitoring and control of each service during the application running are also provided, and during the application running, the rules of the service can be modified in real time and a virtual 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 graphical operation interfaces of virtual applications and virtual services, data of the platform can be submitted to a virtualized relational database for storage through the back end of the virtualized service DBMS graphical development platform, and hot deployment and modification of the services can be carried out after the virtualized service operation engine module is started, so that an agile development function is realized, wherein the hot deployment is a hot deployment function of calling the virtualized service operation engine module by the virtualized service DBMS graphical development platform.
Furthermore, the executable method market module is integrated in a virtual service DBMS graphical development platform, but the back-end service of the executable method market module runs in an executable method market server and has an independent database;
the executable method market module is used for providing executable methods, the back-end service of the executable methods is a platform for executing executable method transaction for developers, when a user cannot find the executable methods meeting requirements locally, the user can search in the executable method market module, find the executable methods meeting the requirements of the user for downloading and installation, and the executable methods can be used in a virtualized service DBMS graphical development platform after downloading and installation; if the user does not find the executable method meeting the requirement after retrieval, the user can submit the requirement of the executable method to the market module of the executable method, or self compile the executable method according to the API of the executable method, and upload the executable method to the local virtualized relational database through the graphical development platform of the virtualization service DBMS, so that the next project can conveniently reuse the executable method, or upload the executable method to the market of the executable method for downloading and using by other developers;
for the executable method market module, the executable method is developed and issued by a developer, after the executable method passes the audit, all users are faced to search, 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;
after downloading and using the executable method, the user can participate in the comment and suggestion of the executable method so as to ensure the high availability and high quality of the market resources of the executable method.
Further, the virtualized relation database module is used for storing VirtualProject, VirtualService information and execution relation chain information, and locally installed RunnableMethod information;
the virtualized relational database is divided into two parts, one is a local virtualized relational database, the function of which is to provide developers with virtual service development work on a virtualized service DBMS graphical development platform, such as searching for locally available executable methods, storing VirtualProject information and configuration, VirtualService execution relation chain, 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 which provides basic function services of the system and executable methods in an executable method market module, wherein the basic function services comprise creating and modifying virtual project VirtualProject and creating and modifying virtual service VirtualService.
The invention solves the following technical problems: (1) the problems of high learning cost, long learning period and high learning difficulty in the micro-service development process are solved. (2) In the development process, some repetitive work still exists, such as copying and pasting of part of tool codes, a simple query service needs to write many formatted codes according to specifications and then can write business logic, and the like, so that the development efficiency is reduced. (3) During the period of deployment and maintenance, the service migration is difficult, the error rate is high, and the transaction-level service migration cannot be performed.
Compared with the prior art, the invention has the following beneficial effects: (1) the development and learning cost of the micro-service is reduced, the learning period is greatly shortened, and the learning difficulty is reduced. (2) The efficiency and the speed of development are improved. (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 block diagram of the system of the present invention.
FIG. 3 is a virtualization service run engine initialization process.
FIG. 4 is a virtualization service run engine run process.
FIG. 5 is a virtualization service run engine hot deployment process.
Detailed Description
The technical solution of the present invention is further explained with reference to the drawings and the embodiments.
The system structure module of the invention is as follows (fig. 1 is the system module composition diagram of the invention):
the virtualization service operation engine: the system is used for initializing data from the virtual relational database and generating a call chain of services and methods; running the specified call chain according to the XXX service request and responding to the XXX request. The virtualization service operation engine is used for controlling the creation, execution, heat deployment and management of a system virtual model.
A virtual service DBMS graphical development platform: and providing a graphical man-machine interaction interface for creating, modifying and deleting the 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, wherein the front end provides a graphical operation interface, and the back end is responsible for performing operation of a virtualization relational database according to the operation of the front end. The development platform is a DBMS system which is conveniently manufactured by operating a virtualized relational database.
③ executable method market: the encryption system is used for downloading, installing, uploading, releasing, retrieving and authorizing the encryption executable method, and installing and importing the executable method according to the user request.
Fourthly, the virtualized relational database: the virtual service call chain is used for storing information such as the virtual service call chain and parameters and configuration thereof.
The virtualized entity code engine: and generating entity codes corresponding to the frame style according to the calling chain of the virtual service and the code type and the frame type derived by the user selection.
Interpretation of the system virtual model:
the virtual project comprises a plurality of virtual services, and the basic composition unit of the virtual project is the virtual service.
VirtualService corresponds to Service in SpringMVC, one VirtualService is a virtual transaction, and the VirtualService has atomicity, consistency, isolation and durability. VirtualService can be called each other.
The RunnableMethod is an executable method with entity codes, and is essentially a tool component class with entity codes, which is called by VirtualService to realize business logic. Such as file uploading and downloading, document importing and exporting, remote service calling and the like, the user can also customize the runnable method to realize own special business requirements. A runnable method is a function whose code implementation contains several Class files.
The various subsystems are explained in detail:
the virtualization service operation engine: the virtualization service execution engine may be developed using the Java language. Pooling the database connections of the virtualized relational database by using a Druid database connection pool. As shown in fig. 3, for the initialization process of the virtualization service execution engine, after establishing the connection of the virtualized relational database, first read the information of the runnable method and download the entity class file of the runnable method from the corresponding server by using the remote class loading technology of Java and load the Java object generating the runnable method. The VirtualProject, VirtualService are then read from the virtualized relational database and references between the objects are generated in conjunction with the runnable method Java objects.
As shown in fig. 4, for the execution process of the virtualization service operation engine, after receiving an Http data request from a network, the virtualization service operation engine distributes and executes the request by analyzing the type of the request and the address of the request, invokes a corresponding service, runs an execution relation chain of the service, and obtains a final response result to return to the data request end.
For the virtualization service running engine, after an error occurs in the execution relationship chain during running, the virtualization service running engine needs to ensure the atomicity of the transaction, so as to trigger operation rollback on the executed service or the executable method. And if no error occurs, performing operation submission on the executed service or the executable method.
For the virtualization service running engine, each application running in the engine (A, B, C in fig. 2 is a program created by a user using a virtualization service DBMS graphical development platform and running on the virtualization service running engine) runs in an independent container, and the user can perform independent configuration and management on each application through the virtualization service DBMS graphical development platform.
For the operation engine of the virtualization service, functions of thermal deployment, agile development and the like are provided, and it is guaranteed that a user can modify and edit the service at any time and start functions of deactivation and the like.
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 first, and then unloads the corresponding VirtualService or VirtualProject. And then loading the VirtualService or VirtualProject data from the virtualization relational database again, regenerating the VirtualService or VirtualProject relationship and Mapping, and finally generating a VirtualService execution chain according to a RunnableMethod example in the system to finish the thermal deployment function.
A virtual service DBMS graphical development platform: the virtualization service DBMS graphical development platform is developed by adopting Vue in the example, and the Vue CLI 3 is used for quickly building the engineering example. And a graphical interactive interface is constructed by adopting the modular development function of Vue. Note: the section may also be developed by using other front-end technologies, such as React, Angular, JQuery, Html, etc., and this example is merely illustrated by Vue as an example.
For the back end of a virtual service DBMS graphical development platform, a virtual service running engine is adopted for development, and the operations of creating, modifying, deleting, inquiring, creating, modifying, deleting, inquiring and the like of virtual items are realized through a preset virtual service and execution relation chain. Note: the part can also be developed by adopting other backend technologies, such as various backend technologies like Spring Boot, Spring MVC, JSP, etc., and this example is only described by taking development of a virtualization service running engine as an example.
For a virtualized service DBMS graphical development platform, the platform also provides state monitoring and control of each service when the application runs. At application runtime, the rules of the service may be modified in real time and the virtualization service runtime engine notified to update the execution relationship chain (service logic) of the corresponding service.
For the virtual service DBMS graphical development platform, the platform is responsible for providing graphical operation interfaces of virtual applications and virtual services, and data of the platform can be submitted to a virtualized relational database for storage through the back end of the virtual service DBMS graphical development platform. And the hot deployment and modification of the service can be carried out after the virtualization service running engine is started (the hot deployment refers to the hot deployment function of the virtualization service DBMS graphical development platform calling the virtualization service running engine) so as to realize the agile development function.
③ executable method market: the executable method market can be integrated in a virtualized service DBMS graphical development platform, but the backend service of the executable method market is operated in an executable method market server and has an independent database.
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 developers, and when a user cannot find an executable method meeting requirements locally, the user can search in the executable method market and find an executable method meeting the requirements of the user for downloading and installation. After being downloaded and installed, the virtual service DBMS graphic development platform can be used in the virtual service DBMS graphic development platform.
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 the search. The executable method resource is free or charged, and for a charging component, a one-time charging method is adopted to simplify the operation authentication.
For the executable method marketplace, users may participate in comments and suggestions of executable methods after downloading and using the executable methods. To ensure high availability and quality of executable process market resources.
For the executable method market, if the user does not find an executable method meeting the requirements of the user after searching, the executable method requirement can be submitted to the executable method market. And the executable method can be written according to the API of the executable method, and uploaded to a locally virtualized relational database through a virtualization service DBMS graphical development platform, so that the next project can be conveniently reused. The executable method can also be uploaded to the executable method market and downloaded to other developers for use.
Fourthly, the virtualized relational database: the virtualized relational database is used for storing information of VirtualProject, VirtualService or execution relation chain and the like, and information of locally installed RunnableMethod.
The virtualized relational database is divided into two parts, one of which is a locally virtualized relational database. The main function of the system is to provide developers with virtual service development work on a virtual service DBMS graphical development platform. Such as finding locally available executable methods (Class files of executable methods), storing VirtualProject information and configuration, and VirtualService's execution relationship chain, and loading data into the engine when the virtualization service execution engine is started. The second is an official virtualized relational database, which provides basic function services of the system, such as creating and modifying virtual items (VirtualProject), creating and modifying virtual services (VirtualService), and executable methods in the market of executable methods.
The virtualized entity code engine: the virtualized entity code engine is an engine for translating between virtualized services and entity code.
Specifically, the virtualized entity code engine may generate a policy code 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 type and the frame type derived by the user selection, and generate an entity code corresponding to the frame style.
The specific embodiments described herein are merely illustrative of the spirit of the invention. Various modifications or additions may be made to the described embodiments or alternatives may be employed by those skilled in the art without departing from the spirit or ambit of the invention as defined in the appended claims.

Claims (7)

1. A service development system based on service virtualization is characterized by comprising the following modules:
the virtualized relation database module is used for storing parameters and configuration information of the virtual service call chain and the system virtual model;
the virtualization 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; according to a certain service request, operating a specified call chain and responding to a certain request, wherein the virtualization service operation 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 human-computer interaction interface so as to create, modify and delete one or more operations such as virtual micro-services, display item lists, item details, service operation details and the like; the 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 operating a virtualization relational database according to the operation of the front end;
the executable method market module is used for downloading, installing, uploading, releasing, retrieving and authorizing the encrypted executable methods, and installing and importing the executable methods according to the user request;
and the virtualized entity code engine module is used for generating entity codes corresponding to the frame style according to the call chain of the virtual service and the code type and the frame type selected and derived by the user.
2. The service development system based on service virtualization of claim 1, wherein: the system virtual model comprises VirtualProject, VirtualService and RunnablMethod;
the virtual project comprises a plurality of virtual services, wherein the virtual project comprises a plurality of virtual services, and the basic component unit of the virtual project is the virtual service;
VirtualServices correspond to the Services in SpringMVC, one VirtualService is a virtual transaction, the VirtualServices have atomicity, consistency, isolation and durability, and the VirtualServices can be mutually called;
the RunnableMethod is an executable method with entity code, and is essentially a tool component Class with entity code, which is called by VirtualService to realize the business logic, and the code implementation of the RunnableMethod comprises a plurality of Class files.
3. The service development system based on service virtualization of claim 1, wherein: the virtualization service operation engine module is developed by using Java language, and performs pooling operation on database connection of a virtualized relational database by using a Druid database connection pool.
4. The service development system based on service virtualization according to claim 2, wherein: the virtualization service operation engine module comprises a starting part, an initializing part, an operating part and a heat deploying part;
when the system is started, starting a virtualization service running engine module;
after establishing the connection of the virtualized relational database module, reading information of the RunnableMethod, downloading an entity class file of the RunnableMethod from a corresponding server by using a Java remote class loading technology, and loading a Java object for generating the RunnableMethod; the VirtualProject, VirtualService are then read from the virtualized relational database and references between the objects are generated in conjunction with the runnable method Java objects.
Entering a running process when the virtualization service running engine module receives a request of a client;
the operation process is that after receiving an Http data request from a network, the virtualization service operation engine module distributes and executes the request by analyzing the type of the request and the address of the request, calls a corresponding service, operates an execution relation chain of the service and obtains a final response result to return to the data request end; after an error occurs in the execution relation chain during running, the virtualization service running engine module needs to ensure the atomicity of the transaction, so as to trigger operation rollback on the executed service or the executed method, and if no error occurs, operation submission is performed on the executed service or the executed method;
the hot deployment process is that after a service change request is submitted on a graphical development platform of a user virtualization service DBMS, the back end of the DBMS updates the data of a virtualization relation database, and then unloads a corresponding Virtualservice or VirtualProject; and then loading the VirtualService or VirtualProject data from the virtualization relational database module again, regenerating the VirtualService or VirtualProject relationship and Mapping, and finally generating a VirtualService execution chain according to a RunnableMethod example in the system to complete the hot deployment function.
5. The service development system based on service virtualization of claim 1, wherein: the virtualization service DBMS graphical development platform is developed by adopting Vue, quickly constructed by using Vue CLI 3, and adopts Vue modular development functions to construct a graphical interactive interface;
for the back end of a virtual service DBMS graphical development platform, a virtual service operation engine module is adopted for development, and the creation, modification, deletion, query of virtual items and the creation, modification, deletion and query operation of virtual services are realized through a preset virtual service and execution relation chain;
for the front end of the graphical development platform of the virtual service DBMS, the state monitoring and control of each service during the application running are also provided, and during the application running, the rules of the service can be modified in real time and a virtual 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 graphical operation interfaces of virtual applications and virtual services, data of the platform can be submitted to a virtualized relational database for storage through the back end of the virtualized service DBMS graphical development platform, and hot deployment and modification of the services can be carried out after the virtualized service operation engine module is started, so that an agile development function is realized, wherein the hot deployment is a hot deployment function of calling the virtualized service operation engine module by the virtualized service DBMS graphical development platform.
6. The service development system based on service virtualization of claim 1, wherein: the executable method market module is integrated in a virtual service DBMS graphical development platform, but the back-end service of the executable method market module runs in an executable method market server and has an independent database;
the executable method market module is used for providing executable methods, the back-end service of the executable methods is a platform for executing executable method transaction for developers, when a user cannot find the executable methods meeting requirements locally, the user can search in the executable method market module, find the executable methods meeting the requirements of the user for downloading and installation, and the executable methods can be used in a virtualized service DBMS graphical development platform after downloading and installation; if the user does not find the executable method meeting the requirement after retrieval, the user can submit the requirement of the executable method to the market module of the executable method, or self compile the executable method according to the API of the executable method, and upload the executable method to the local virtualized relational database through the graphical development platform of the virtualization service DBMS, so that the next project can conveniently reuse the executable method, or upload the executable method to the market of the executable method for downloading and using by other developers;
for the executable method market module, the executable method is developed and issued by a developer, after the executable method passes the audit, all users are faced to search, 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;
after downloading and using the executable method, the user can participate in the comment and suggestion of the executable method so as to ensure the high availability and high quality of the market resources of the executable method.
7. The service development system based on service virtualization according to claim 2, wherein: the virtualized relation database module is used for storing VirtualProject and VirtualService information or execution relation chain information and locally installed RunnableMethod information;
the virtualized relational database is divided into two parts, one is a local virtualized relational database, the function of which is to provide developers with virtual service development work on a virtualized service DBMS graphical development platform, such as searching for locally available executable methods, storing VirtualProject information and configuration, VirtualService execution relation chain, 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 which provides basic function services of the system and executable methods in an executable method market module, wherein the basic function services comprise creating and modifying virtual project VirtualProject and creating and modifying virtual service VirtualService.
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 true CN113377497A (en) 2021-09-10
CN113377497B 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)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115185639A (en) * 2022-07-12 2022-10-14 江苏安超云软件有限公司 Method and system for realizing virtualized API
CN116305713A (en) * 2022-09-07 2023-06-23 杭州未名信科科技有限公司 Chip simulation system and simulation method

Citations (7)

* 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
US20210157712A1 (en) * 2019-11-21 2021-05-27 Mastercard International Incorporated Generating a virtualized stub service using deep learning for testing a software module

Patent Citations (7)

* 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
US20210157712A1 (en) * 2019-11-21 2021-05-27 Mastercard International Incorporated Generating a virtualized stub service using deep learning for testing a software module
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
韩道岐: ""微服务架构和安全体系设计方案"", 《电子技术与软件工程》, pages 199 - 201 *

Cited By (3)

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

Also Published As

Publication number Publication date
CN113377497B (en) 2023-11-28

Similar Documents

Publication Publication Date Title
US10324690B2 (en) Automated enterprise software development
US10162612B2 (en) Method and apparatus for inventory analysis
US10866791B2 (en) Transforming non-Apex code to Apex code
US7890478B2 (en) Projected business objects
CN113377497B (en) Service development system based on service virtualization
CN109740765B (en) Machine learning system building method based on Amazon network server
CN115516443B (en) Generating optimization logic from architecture
US20230401214A1 (en) Graph database and methods with improved functionality
WO2000038073A1 (en) System for expressing complex data relationships using simple language constructs
CN109960709B (en) Database driver processing method, device, equipment and storage medium
Werner et al. An evaluation of serverless data processing frameworks
CN114968192A (en) Project creation method and device, computer equipment and storage medium
JP7373587B2 (en) Service management in DBMS
CN115469860B (en) Method and system for automatically generating demand-to-software field model based on instruction set
CN115951970A (en) Heterogeneous multi-simulation software integrated development environment
Thomas et al. Simulation factory: Taming application configuration and workflow on high-end resources
Wannipurage et al. A Framework to capture and reproduce the Absolute State of Jupyter Notebooks
CN113609633A (en) Complex system collaborative simulation and verification evaluation system and method based on model
CN112363700A (en) Cooperative creation method and device of intelligent contract, computer equipment and storage medium
Sheng et al. The micro-service architecture design research of financial trading system based on domain engineering
Suresh et al. Synthesizing cluster management code for distributed systems
Anh Real-time backend architecture using Node. js, Express and Google Cloud Platform
CN112948228B (en) Multi-mode database evaluation benchmark system for stream data and construction method thereof
EP0831406A2 (en) Implementing a workflow engine in a database management system
US20230297346A1 (en) Intelligent data processing system with metadata generation from iterative data analysis

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