CN114217887A - Micro-service arranging method, micro-service executing method, micro-service arranging device and micro-service executing server - Google Patents

Micro-service arranging method, micro-service executing method, micro-service arranging device and micro-service executing server Download PDF

Info

Publication number
CN114217887A
CN114217887A CN202111562419.2A CN202111562419A CN114217887A CN 114217887 A CN114217887 A CN 114217887A CN 202111562419 A CN202111562419 A CN 202111562419A CN 114217887 A CN114217887 A CN 114217887A
Authority
CN
China
Prior art keywords
micro
service
file
data
interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111562419.2A
Other languages
Chinese (zh)
Inventor
宋少璞
葛旺
焦玉阳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Pingan Payment Technology Service Co Ltd
Original Assignee
Pingan Payment Technology Service Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Pingan Payment Technology Service Co Ltd filed Critical Pingan Payment Technology Service Co Ltd
Priority to CN202111562419.2A priority Critical patent/CN114217887A/en
Publication of CN114217887A publication Critical patent/CN114217887A/en
Pending legal-status Critical Current

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/448Execution paradigms, e.g. implementations of programming paradigms
    • G06F9/4482Procedural
    • 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
    • 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
    • G06F2009/45595Network integration; Enabling network access in virtual machine instances

Abstract

The invention belongs to the technical field of artificial intelligence, and particularly relates to a micro-service arranging method, a micro-service executing method, a micro-service arranging device and a micro-service server. The method comprises the following steps: configuring a template according to a preset script, and generating a configuration file corresponding to each micro service interface according to micro service interface information in a service arrangement file corresponding to a target micro service combination; wherein the content of the configuration file comprises data processing logic corresponding to the microservice interface; compiling the configuration file to obtain an executable class file corresponding to the configuration file; and hot loading the class file in a virtual machine, and executing the class file in the virtual machine according to the microservice interface information. By the method and the device, the processing function of the complex data types is realized; the dynamic hot loading and execution of the virtual machine can quickly complete the adaptation of the configuration file, code development is not needed, and the complexity and the development cost of the development process are reduced.

Description

Micro-service arranging method, micro-service executing method, micro-service arranging device and micro-service executing server
Technical Field
The invention belongs to the technical field of artificial intelligence, and particularly relates to a micro-service arranging method, a micro-service executing method, a micro-service arranging device and a micro-service server.
Background
With the development of a distributed micro-service software architecture, in the whole system service system structure, the application is decomposed into a plurality of small micro-services, and each micro-service is developed, deployed and maintained by an independent team; under the architecture mode, a complete business process is realized through cooperation among the micro services, and the independent micro services are assembled through service arrangement to realize a complete business function and provide services to the outside in a unified manner.
However, the existing service orchestration method adopts Domain-Specific Language (DSL) to configure, and completes the processing of service logic in the service orchestration process; aiming at simple data types and business logics, the processing process of service arrangement can be realized through the configuration of the specific language in the field; with the increasing complexity and changeability of business requirements, the complex data types and business logic are limited by established rules, so that effective arrangement of services cannot be performed, re-development is required to be performed, and the research and development cost and the complexity degree are increased.
Disclosure of Invention
In view of this, embodiments of the present invention provide a micro-service orchestration method, an execution method, an apparatus, and a server, which can reduce the complexity of a research and development process and the research and development cost.
A first aspect of an embodiment of the present invention provides a micro service orchestration method, which may include:
configuring a template according to a preset script, and generating a configuration file corresponding to each micro service interface according to micro service interface information in a service arrangement file corresponding to a target micro service combination; wherein the content of the configuration file comprises data processing logic corresponding to the microservice interface;
compiling the configuration file to obtain an executable class file corresponding to the configuration file;
and hot loading the class file in a virtual machine, and executing the class file in the virtual machine according to the microservice interface information.
In a specific implementation manner of the first aspect, the configuration file is used for processing parameters associated with the micro service interface, and the parameters associated with the micro service interface include input parameters before the micro service interface is called and response data after the micro service interface is called;
correspondingly, the processing the parameters associated with the micro service interface comprises:
checking the input parameters;
processing the input parameters according to the input parameter data format of the micro service interface based on the data processing logic;
after the response data are obtained, verifying the response data;
processing the response data according to the response data format of the micro service interface based on the data processing logic;
wherein the data processing logic comprises one or more of data population, format conversion, data assembly, and data filtering.
In a specific implementation manner of the first aspect, the configuration file further includes response code conversion logic; the response code conversion logic is used for performing conversion processing on the response code generated by the calling micro-service interface based on the response code conversion logic when the calling micro-service interface is abnormal;
correspondingly, the conversion processing of the response code generated by the calling microservice interface based on the response code conversion logic includes:
converting the response code based on a preset mapping relation in the response code conversion logic to obtain an error response code with a uniform format;
correspondingly, before the response code is subjected to the conversion processing, the micro-service arranging method further comprises the following steps:
and if the response code generated by calling the micro service interface is a null value, filling the response code through a logic for executing data filling when the response data is processed based on the data processing logic.
A second aspect of an embodiment of the present invention provides a method for executing a micro service, which may include:
responding to a micro-service calling request sent by a client, and acquiring a service arrangement file of a target micro-service combination corresponding to the micro-service calling request; the service arrangement file comprises a configuration file corresponding to at least one micro service interface;
loading an executable class file corresponding to the configuration file in the process of calling the micro service interface in the target micro service combination according to the service arrangement file, and executing the class file aiming at the parameter associated with the micro service interface according to the micro service interface information in the service arrangement file;
after all the micro services in the target micro service combination are executed according to the service layout file, outputting result information and feeding back the result information to the client;
the configuration file is a preset script configuration template, and a script file corresponding to each micro service interface is generated according to micro service interface information in a service arrangement file corresponding to a target micro service combination; the content of the configuration file comprises: the data processing logic corresponds to the micro service interface; the executable class file is obtained by compiling the configuration file and is hot loaded and executed through a virtual machine.
In a specific implementation manner of the second aspect, the parameters associated with the micro service interface comprise input parameters before the micro service interface is called and response data after the micro service interface is called;
correspondingly, according to the micro service interface information in the service orchestration file, executing the class file for the parameters associated with the micro service interface includes:
checking the input parameters;
after the verification processing is passed, processing the input parameters based on the data processing logic according to the input parameter data format of the micro service interface;
after the response data are obtained, verifying the response data;
after the verification processing is passed, processing the response data based on the data processing logic according to the response data format of the micro service interface;
wherein the data processing logic comprises one or more of data population, format conversion, data assembly, and data filtering.
In a specific implementation manner of the second aspect, the configuration file further includes response code conversion logic; before outputting and feeding back the result information to the client, the micro-service execution method further includes:
based on the response code conversion logic, the response code generated by the calling micro-service interface is converted to obtain an error response code with a uniform format;
correspondingly, before the response code is subjected to the conversion processing, the micro-service arranging method further comprises the following steps:
and if the response code generated by calling the micro service interface is null, executing the data filling logic to fill the response code when the response data is processed based on the data processing logic.
A third aspect of the embodiments of the present invention provides a microservice orchestration device, which may include:
the configuration unit is used for configuring the template according to a preset script and generating a configuration file corresponding to each micro service interface according to the micro service interface information in the service arrangement file corresponding to the target micro service combination; wherein the content of the configuration file comprises data processing logic corresponding to the microservice interface;
the compiling unit is used for compiling the configuration file to obtain an executable class file corresponding to the configuration file;
and the loading unit is used for hot loading the class file in the virtual machine and executing the class file in the virtual machine according to the microservice interface information.
In a specific implementation manner of the third aspect, the configuration file is used for processing parameters associated with the micro service interface, and the parameters associated with the micro service interface include input parameters before the micro service interface is called and response data after the micro service interface is called;
correspondingly, the device further comprises:
the first checking unit is used for checking the input parameters;
the first processing unit is used for processing the input parameters according to the input parameter data format of the micro service interface based on the data processing logic;
the second checking unit is used for checking the response data after the response data are obtained;
the second processing unit is used for processing the response data according to the response data format of the micro service interface based on the data processing logic;
wherein the data processing logic comprises one or more of data population, format conversion, data assembly, and data filtering.
In a specific implementation manner of the third aspect, the configuration file further includes response code conversion logic; the response code conversion logic is used for performing conversion processing on the response code generated by the calling micro-service interface based on the response code conversion logic when the calling micro-service interface is abnormal;
correspondingly, the device further comprises:
the response code conversion unit is used for converting the response code based on a preset mapping relation in the response code conversion logic to obtain an error response code with a uniform format;
correspondingly, before the response code is subjected to the conversion processing, the device further comprises:
and the filling unit is used for filling the response code by the logic for executing data filling when the response data is processed based on the data processing logic if the response code generated by calling the micro service interface is a null value.
A fourth aspect of the embodiments of the present invention provides a variety of microservice editing and executing apparatuses, which may include:
the system comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for responding to a micro-service calling request sent by a client and acquiring a service arrangement file of a target micro-service combination corresponding to the micro-service calling request; the service arrangement file comprises a configuration file corresponding to at least one micro service interface;
the execution unit is used for loading an executable class file corresponding to the configuration file in the process of calling the micro service interface in the target micro service combination according to the service arrangement file, and executing the class file aiming at the parameter associated with the micro service interface according to the micro service interface information in the service arrangement file;
the output unit is used for outputting result information and feeding back the result information to the client after all the micro services in the target micro service combination are executed according to the service layout file;
the configuration file is a preset script configuration template, and a script file corresponding to each micro service interface is generated according to micro service interface information in a service arrangement file corresponding to a target micro service combination; the content of the configuration file comprises: the data processing logic corresponds to the micro service interface; the executable class file is obtained by compiling the configuration file, and is hot loaded and executed through a virtual machine.
In a specific implementation manner of the fourth aspect, the parameters associated with the microservice interface comprise input parameters before the microservice interface is called and response data after the microservice interface is called;
correspondingly, the execution unit comprises:
the first checking module is used for checking the input parameters;
the first processing module is used for processing the input parameters based on the data processing logic according to the input parameter data format of the micro service interface after the verification processing is passed;
the second checking module is used for checking the response data after the response data are obtained;
the second processing module is used for processing the response data based on the data processing logic according to the response data format of the micro-service interface after the verification processing is passed;
wherein the data processing logic comprises one or more of data population, format conversion, data assembly, and data filtering.
In a specific implementation manner of the fourth aspect, the configuration file further includes response code conversion logic; before outputting the result information and feeding back to the client, the micro-service execution device further includes:
the conversion unit is used for carrying out conversion processing on the response codes generated by the calling micro-service interface based on the response code conversion logic to obtain error response codes with uniform formats;
correspondingly, before the response code is subjected to the conversion processing, the micro-service execution device further comprises:
and the filling unit is used for executing the data filling logic and filling the response code when the response data is processed based on the data processing logic if the response code generated by calling the micro service interface is a null value.
A fifth aspect of embodiments of the present invention provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of any of the methods described above.
A fourth aspect of embodiments of the present invention provides a server, including a memory, a processor, and a computer program stored in the memory and executable on the processor, the processor implementing the steps of any of the above methods when executing the computer program.
A fifth aspect of embodiments of the present invention provides a computer program product, which, when run on a server, causes the server to perform the steps of any of the methods described above.
Compared with the prior art, the embodiment of the invention has the following beneficial effects: the embodiment of the invention generates a corresponding configuration file corresponding to each micro-service interface in the target micro-service combination according to a preset script configuration template, and processes the parameters associated with the calling micro-service interface according to the data processing logic of the configuration file, so that the processing function of complex data types can be realized based on the self-defined configuration file or the script expansion based on the script configuration template; the adaptation of the configuration file can be completed quickly through the dynamic hot loading and execution of the virtual machine, code development is not needed, the complexity of a research and development process and the research and development cost are reduced, and the subsequent maintenance and expansion of a system are facilitated; has strong usability and practicability.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic flow chart illustrating an implementation of a micro-service orchestration method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a script processing flow provided by an embodiment of the present invention;
fig. 3 is a relational diagram of mapping processing performed on response data according to an embodiment of the present invention;
fig. 4 is a schematic flow chart illustrating an implementation of a micro service execution method according to an embodiment of the present invention;
fig. 5 is a schematic diagram of a micro service execution flow according to an embodiment of the present invention;
FIG. 6 is a block diagram illustrating a micro-service orchestration process performed according to an embodiment of the present invention;
FIG. 7 is a schematic structural diagram of a microservice orchestration device according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a microserver execution apparatus according to an embodiment of the present invention;
fig. 9 is a schematic block diagram of a server according to an embodiment of the present invention.
Detailed Description
In order to make the objects, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the embodiments described below are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention can acquire and process related data based on an artificial intelligence technology. Among them, Artificial Intelligence (AI) is a theory, method, technique and application system that simulates, extends and expands human Intelligence using a digital computer or a machine controlled by a digital computer, senses the environment, acquires knowledge and uses the knowledge to obtain the best result.
The artificial intelligence infrastructure generally includes technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, big data processing technologies, operation/interaction systems, mechatronics, and the like. The artificial intelligence software technology mainly comprises a computer vision technology, a robot technology, a biological recognition technology, a voice processing technology, a natural language processing technology, machine learning/deep learning and the like.
The execution subject of the embodiment of the present invention may be an artificial intelligence-based server, and is used for executing the micro-service orchestration and execution method in the embodiment of the present invention. The server may be an independent server, or may be a cloud server that provides basic cloud computing services such as a cloud service, a cloud database, cloud computing, a cloud function, cloud storage, a Network service, cloud communication, a middleware service, a domain name service, a security service, a Content Delivery Network (CDN), a big data and artificial intelligence platform, and the like.
Referring to fig. 1, an embodiment of a method for orchestrating micro services according to an embodiment of the present invention may include:
step S101, configuring a template according to a preset script, and generating a configuration file corresponding to each micro service interface according to micro service interface information in a service arrangement file corresponding to a target micro service combination; wherein the content of the configuration file comprises: and the data processing logic corresponds to the micro service interface.
For example, the script configuration template may be a script template class abstract openapipalayladaparser. In the actual application process, tasks called by corresponding micro service interfaces in the micro service arrangement file can be realized according to requirements, and task nodes needing custom processing can be customized; therefore, the script expansion and the logic of custom processing of the micro-service arrangement can be supported. And the complex data format requirement and the complexity are met.
Illustratively, the target microservice assembly is a set of multiple microservices that need to be invoked to complete a complete business process. The service arrangement file calls the processing logic of each micro service node for a corresponding complete service flow, and the configuration can be described based on a DSL language. The service arrangement file comprises information of the micro service interface corresponding to each micro service node. The micro-service interface information may include an entry specification and an exit specification. And generating a configuration file corresponding to each micro service interface according to the micro service interface information, wherein the configuration file can be realized based on a custom script. The server receives code information input by a user or a developer based on the script configuration template.
For example, as shown in (b) of fig. 2, the context environment for receiving code information input by a user or a developer based on a script configuration template may include: the current step request response data stepInputOutput, the current step flow context flowStepContext, the current step configuration flowStepConfig, and the orchestration flow context openApiFlowContext.
As shown in fig. 2 (a), the configuration file corresponding to each micro service interface is implemented based on the script extension, and the processing flow node corresponding to the script extension may include: input parameter check validatelnput, request parameter assembly assemblyInput, response data check validateOutput, response data assembly assemblyioutput, and response data fill paddingoutput. And carrying out data processing on the parameters associated with the micro service interface through the data processing logic of the configuration file.
For example, data processing logic may include data population, data type conversion, data assembly, response data type conversion, and response data filtering, among others; for example, parameter padding reqParamPadding, parameter type conversion reqParamTypeMapping, request parameter assembly associationinput, response data assembly associationoutput, response data type conversion respParamTypeMapping, response data filtering respParamList, and the like.
Illustratively, data assembly may also include data serialization, deserialization, format conversion, and the like, such as: object obj ═ parsejson (jsonstr)// deserializing json string format into json objects; string json String (toson obj)// serializing json object into json String; converting BigDecimal account into FenToYuan (value)/amount format, and converting into element.
S102, compiling the configuration file to obtain an executable class file corresponding to the configuration file.
For example, the server may compile the configuration file through the virtual machine to obtain an executable class file, where the class file may be a binary code file that the server may execute. Therefore, according to the service requirement, complex data, logic and the like in the micro-service arrangement process can be processed through the self-defined configuration file; the stability of the server system is realized, and the requirements of different micro-service calling interfaces and the service requirements of the client can be met.
S103, the class file is hot loaded in the virtual machine, and the class file is executed in the virtual machine according to the microservice interface information.
Illustratively, the server may hot-load the class file through a class loading mechanism of the virtual machine, while executing the process of micro-service orchestration, start a thread through the virtual machine in the background, periodically detect a change in a timestamp of the class file, and reload the class file if the timestamp of the class file changes.
Or after the configuration file is generated, generating the identification information of the response at the same time, and compiling the configuration file to obtain a class file for caching; when the configuration file needs to be executed next time, the class file in the cache can be inquired according to the identification information, if the class file is inquired, the class file is directly executed without compiling again and then loading; dynamic calling and execution are realized, execution events are saved, and execution efficiency is improved.
In some embodiments, the configuration file is used for processing parameters associated with the micro service interface, the parameters associated with the micro service interface including input parameters before the micro service interface is called and response data after the micro service interface is called;
correspondingly, the processing the parameters associated with the micro service interface comprises:
checking the input parameters;
processing the input parameters according to the input parameter data format of the micro service interface based on the data processing logic;
after the response data are obtained, verifying the response data;
processing the response data according to the response data format of the micro service interface based on the data processing logic;
wherein the data processing logic comprises one or more of data population, format conversion, data assembly, and data filtering.
For example, when the input parameter is checked, the necessity and format check may be performed on the requested input parameter, for example:
get ("merNo"); // obtaining the value of the specified field from the reference
isEmpty(merNo){
return false; if it is null, an error response message is returned
}。
Illustratively, assembling the requested input parameters according to the entry specifications of the internal micro-service interface; the data of the input parameters can be request data from the outside, and can also be input parameters or output parameters in the pre-arrangement task, such as:
set ("mno", reqdata. get ("merNo")); // obtaining the value of the specified field from the reference
set ("uid", context.getstepipput ("findUserstep", "uid")); obtaining values for specified fields from inputs to other steps
set ("diameter", context.getStepOutput ("findUserStep", "diameter")); // obtaining the value of the specified field from the other step outputs.
When data assembly is performed, processing may be performed on corresponding values, such as data serialization, deserialization, format conversion, and the like, for example:
object obj ═ parsejson (jsonstr); deserializing json string format into json objects
String jsonstring ═ tojsonstring (jsonobj); serializing the json object into a json string big decimal amount fentoyuan (value); v/amount format conversion, divide into Yuan.
Illustratively, the verification processing of the response data is to verify the response data after the internal microservice is called.
For example, the data assembly processing on the response data may be to reprocess the response data after the internal microservice is invoked, and perform data format conversion, field filtering, and the like as required. For example:
remove ("tid") output; // remove a certain field
Format time ("createTime"); // time formatting.
For example, the data filling processing on the response data may be to assemble the fields of the response data according to the input and output in other steps and the requirement of the call response, and output a complete response data message.
Processing the parameter field data in the arranging process is completed through each self-defined link, and format or field name conversion is performed on the external parameter field according to the specific service interface and the requirement of the internal interface; and realizing the processing of replying the miscellaneous data.
In some embodiments, the configuration file further comprises response transcoding logic; the response code conversion logic is used for performing conversion processing on the response code generated by the calling micro-service interface based on the response code conversion logic when the calling micro-service interface is abnormal;
correspondingly, the conversion processing of the response code generated by the calling microservice interface based on the response code conversion logic includes:
converting the response code based on a preset mapping relation in the response code conversion logic to obtain an error response code with a uniform format;
correspondingly, before the response code is subjected to the conversion processing, the micro-service arranging method further comprises the following steps:
and if the response code generated by calling the micro service interface is a null value, filling the response code through a logic for executing data filling when the response data is processed based on the data processing logic.
For example, since different micro services may be maintained and developed by different research and development teams, the corresponding interface response message formats may have a certain difference, and the server is further required to shield the difference of internal responses from the outside during the process of arranging and processing the micro services, and standardizes the external responses by using the format of the uniform response code, so that the client can process the service response result through consistent processing logic.
For example, when a micro-service in the target micro-service combination is called, an abnormal condition may occur, and the server may generate a response code for prompting an error. The abnormal conditions existing due to the micro service call comprise system call communication abnormity (such as network timeout and the like) and business abnormity (such as normal processing of the system, but failure of business processing).
For example, for call communication abnormity between systems, a corresponding error prompting response code can be defined by the gateway arrangement service platform; such as: the response code corresponding to the service connection timeout is 500001, the response code corresponding to the service call timeout is 500001, and the response code corresponding to the service call exception is 500999.
Illustratively, for a service exception, different internal applications correspond to their own response code specifications, for example, application a corresponds to a parameter represented by a six-digit number 020005 and application B corresponds to a parameter represented by 026011.
Illustratively, as shown in fig. 3, the mapping rule relationship shown in the mapping relationship diagram preset in the transcoding logic is responded. And mapping the type code and the service interface response code corresponding to the scene into a unified response code.
The scene may use an interface dimension (such as an interface number) or a service dimension (such as a service category code) as a reference, and may be flexibly set according to a need. For example, for an interface dimension, the interface number is: c0001. a5013; the internal response code 020006 may be mapped to 0007 at the c0001.a5013 interface, representing an incorrect parameter; the internal response code 020006 may be mapped to 0025 at the p0001.a5013 interface, representing authentication code failure.
In addition, one type of error exists and maps the same response code; for example, the application a corresponds to a six-digit number 020005 to represent that the parameter is illegal, the application B corresponds to 026011 to represent that the parameter is illegal, and the 020005 corresponding to the application a can be mapped to 0008 to represent that the parameter is illegal; 026011 for application B is also mapped to 0008, representing an illegal parameter.
For example, in an actual application, there may be a case that a response code of the service interface does not exist or returns to be empty, and the padding output link corresponding to the response data may also perform padding of the response code according to other response fields.
It should be noted that, it may be selected to perform conversion according to an interface or a service dimension according to a difference of an actual interface, and meanwhile, mapping configuration needs to be performed in advance according to a corresponding interface number or a service code. If the internal error information needs to be responded as external, the internal information needs to be replaced by using a preset placeholder when the mapping description information is configured. For example: the parameters are illegal- { innerMsg }, and the parameters are converted into: parameters are illegal-the mobile phone number format is incorrect.
According to the embodiment of the invention, service interfaces with different specifications and standards, such as stock historical interfaces and newly-built systems, exist in the arranging process of the internal micro-services, the arranging system is required to be compatible, the configuration file cannot achieve the flexibility of the script due to the limitation of an implementation mode, and under the condition that the configuration file cannot be met, the adaptation can be quickly completed through a self-defined script without code development, so that the complicated online process of research, development, test and release is reduced, and the influence of system change on the system stability is reduced. As different teams maintain and develop each micro service, certain difference exists in the interface response message format specification, the difference is used as the difference of the service arranging system needing to shield the inside, the external response is specified through the uniform response code, and the consumer can process the service response result through the consistent response processing logic rule.
Referring to fig. 4, an embodiment of a method for executing a micro service according to an embodiment of the present invention may include:
s401, responding to a micro-service calling request sent by a client, and acquiring a service arrangement file of a target micro-service combination corresponding to the micro-service calling request; the service arrangement file comprises a configuration file corresponding to at least one micro service interface.
S402, loading an executable class file corresponding to the configuration file in the process of calling the micro service interface in the target micro service combination according to the service layout file, and executing the class file according to the micro service interface information in the service layout file and aiming at the parameter associated with the micro service interface.
And S403, outputting result information and feeding back the result information to the client after all the micro services in the target micro service combination are executed according to the service layout file.
The configuration file is a preset script configuration template, and a script file corresponding to each micro service interface is generated according to micro service interface information in a service arrangement file corresponding to a target micro service combination; the content of the configuration file comprises: the data processing logic corresponds to the micro service interface; the executable class file is obtained by compiling the configuration file, and is hot loaded and executed through a virtual machine.
Illustratively, in the process of service call by a client accessing a server, the client initiates a micro-service call request according to the interface protocol specification of a gateway, an internal gateway of the server executes a plurality of internal micro-services according to service arrangement configuration (such as a service arrangement file), and a final processing result is responded to the client according to the gateway message specification to complete the whole request interaction.
As shown in fig. 5, the server receives a micro service invocation request sent by the client, wherein the micro service invocation request comprises parameters input in the form of Json. And after receiving the micro-service calling request, the server decrypts and checks the micro-service calling request, and executes a service calling process based on the input parameters. And in the process of executing the service call, executing a service arrangement process of the called target micro-service combination, after all micro-services in the target micro-service combination are executed, carrying out encryption signature on an execution result by the server to generate a Json-type response result, feeding the Json-type response result back to the client and finishing the processing process of the whole service request.
In some embodiments, the parameters associated with the microservice interface include input parameters prior to invoking the microservice interface and response data after invoking the microservice interface;
correspondingly, according to the micro service interface information in the service orchestration file, executing the class file for the parameters associated with the micro service interface includes:
checking the input parameters;
after the verification processing is passed, processing the input parameters based on the data processing logic according to the input parameter data format of the micro service interface;
after the response data are obtained, verifying the response data;
after the verification processing is passed, processing the response data based on the data processing logic according to the response data format of the micro service interface;
wherein the data processing logic comprises one or more of data population, format conversion, data assembly, and data filtering.
Illustratively, as shown in fig. 6, the server executes the processing flow of the micro-services according to the dependency relationship between the individual micro-services in the service orchestration file. As shown, the process flow of the service orchestration task may include: based on the configuration in the service arrangement file, whether the current micro service needs to be executed is judged, if the current micro service needs to be executed, the parameters (ClientInput) input by the client and the access or access of the pre-micro service are processed according to the data processing logic in the configuration file, for example, data is assembled and processed at an access task node (taskfode. input), and parameters are checked, if the parameters are checked to be passed, the service flow of the current micro service is executed, and if the parameters are not checked to be passed, whether the current micro service can be degraded is judged based on the configuration in the service arrangement file.
When the business process of the current micro service is executed, if the execution service is abnormal, whether the current micro service can be degraded or not is judged based on the configuration in the service arrangement file, for example, if the number of interfaces for accessing the current micro service is too large and the execution abnormal condition occurs, whether the current micro service is degraded or not is selected, and the on-hook condition of the current micro service is prevented. If the execution service is normal, outputting response data through a task node, performing parameter verification on the response data based on a configuration file in the service arrangement file, if the verification is passed, judging whether the execution is terminated based on the service arrangement file, if the execution is terminated, ending the service calling process, and if the execution is not terminated, continuing to execute the next micro-service calling task based on the service arrangement file. And if the parameter verification of the response data does not pass, judging whether the current micro service can be degraded or not based on the service arrangement file. If the current micro service can be degraded, continuing to execute the next micro service calling task based on the service arranging file; and if the current micro service can not be degraded, ending the process of the current calling service.
For example, in the process flow of executing the micro-service, the server may selectively execute the configuration item in the service orchestration file according to a system property (system properties), for example, determine whether to execute, enter into the check process, exit from the check process, terminate the check process, and the like.
In some embodiments, the configuration file further comprises response transcoding logic; before outputting the result information and feeding back to the client, the micro-service execution method further includes:
based on the response code conversion logic, the response code generated by the calling micro-service interface is converted to obtain an error response code with a uniform format;
correspondingly, before the response code is subjected to the conversion processing, the micro-service arranging method further comprises the following steps:
and if the response code generated by calling the micro service interface is null, executing the data filling logic to fill the response code when the response data is processed based on the data processing logic.
In summary, in the embodiments of the present invention, a corresponding configuration file corresponding to each micro service interface in a target micro service combination is generated according to a preset script configuration template, and parameters associated with calling the micro service interfaces are processed according to a data processing logic of the configuration file, so that a processing function for complex data types can be implemented based on a customized configuration file or script extension based on the script configuration template; the dynamic hot loading and execution of the virtual machine can quickly complete the adaptation of the configuration file, code development is not needed, the complexity of a research and development process and the research and development cost are reduced, and the subsequent maintenance and expansion of the system are facilitated.
In some application scenarios, service interfaces with different specifications and standards exist in the process of arranging the internal micro-services, such as stock historical interfaces and newly-built systems, the arranging systems are required to be compatible, the configuration files cannot achieve the flexibility of scripts due to the limitation of implementation modes, under the condition that the configuration files cannot be met, the adaptation can be quickly completed through self-defined scripts, code development is not needed, the complicated online process of research, development, test and release is reduced, and the influence of system change on the system stability is reduced. Due to maintenance and development of different teams, each micro-service has certain difference on the interface response message format specification, the difference is used as the difference that the service arranging system needs to shield the inside, the external response is specified through the uniform response code, and the client can process the service response result through the consistent processing logic rule.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
Fig. 7 shows a structural diagram of an embodiment of a micro-service orchestration device according to an embodiment of the present invention, corresponding to the micro-service orchestration method described in the above embodiment.
In this embodiment, a micro-service orchestration device may include:
the configuration unit 71 is configured to configure the template according to a preset script, and generate a configuration file corresponding to each micro service interface according to the micro service interface information in the service arrangement file corresponding to the target micro service combination; wherein the content of the configuration file comprises data processing logic corresponding to the microservice interface;
a compiling unit 72, configured to compile the configuration file to obtain an executable class file corresponding to the configuration file;
and the loading unit 73 is configured to hot load the class file in the virtual machine, and execute the class file in the virtual machine according to the microservice interface information.
In a specific implementation manner of the embodiment of the present invention, the configuration file is configured to process parameters associated with the micro service interface, where the parameters associated with the micro service interface include input parameters before the micro service interface is called and response data after the micro service interface is called;
correspondingly, the device further comprises:
the first checking unit is used for checking the input parameters;
the first processing unit is used for processing the input parameters according to the input parameter data format of the micro service interface based on the data processing logic;
the second checking unit is used for checking the response data after the response data are obtained;
the second processing unit is used for processing the response data according to the response data format of the micro service interface based on the data processing logic;
wherein the data processing logic comprises one or more of data population, format conversion, data assembly, and data filtering.
In a specific implementation manner of the embodiment of the present invention, the configuration file further includes response code conversion logic; the response code conversion logic is used for performing conversion processing on the response code generated by the calling micro-service interface based on the response code conversion logic when the calling micro-service interface is abnormal;
correspondingly, the device further comprises:
the response code conversion unit is used for converting the response code based on a preset mapping relation in the response code conversion logic to obtain an error response code with a uniform format;
correspondingly, before the response code is subjected to the conversion processing, the device further comprises:
and the filling unit is used for filling the response code by the logic for executing data filling when the response data is processed based on the data processing logic if the response code generated by calling the micro service interface is a null value.
Fig. 8 is a block diagram of an embodiment of a micro-service execution apparatus according to an embodiment of the present invention, which corresponds to the micro-service execution method described in the foregoing embodiment.
In this embodiment, a micro service execution apparatus may include:
an obtaining unit 81, configured to, in response to a micro-service invocation request sent by a client, obtain a service arrangement file of a target micro-service combination corresponding to the micro-service invocation request; the service arrangement file comprises a configuration file corresponding to at least one micro service interface;
an executing unit 82, configured to load an executable class file corresponding to the configuration file in a process of calling a micro service interface in the target micro service combination according to the service orchestration file, and execute the class file according to micro service interface information in the service orchestration file and for a parameter associated with the micro service interface;
the output unit 83 is configured to output result information and feed back the result information to the client after all the micro services in the target micro service combination are executed according to the service layout file;
the configuration file is a preset script configuration template, and a script file corresponding to each micro service interface is generated according to micro service interface information in a service arrangement file corresponding to a target micro service combination; the content of the configuration file comprises: the data processing logic corresponds to the micro service interface; the executable class file is obtained by compiling the configuration file, and is hot loaded and executed through a virtual machine.
In a specific implementation manner of the embodiment of the present invention, the parameters associated with the micro service interface include input parameters before the micro service interface is called and response data after the micro service interface is called;
correspondingly, the execution unit comprises:
the first checking module is used for checking the input parameters;
the first processing module is used for processing the input parameters based on the data processing logic according to the input parameter data format of the micro service interface after the verification processing is passed;
the second checking module is used for checking the response data after the response data are obtained;
the second processing module is used for processing the response data based on the data processing logic according to the response data format of the micro-service interface after the verification processing is passed;
wherein the data processing logic comprises one or more of data population, format conversion, data assembly, and data filtering.
In a specific implementation manner of the embodiment of the present invention, the configuration file further includes response code conversion logic; before outputting the result information and feeding back to the client, the micro-service execution device further includes:
the conversion unit is used for carrying out conversion processing on the response codes generated by the calling micro-service interface based on the response code conversion logic to obtain error response codes with uniform formats;
correspondingly, before the response code is subjected to the conversion processing, the micro-service execution device further comprises:
and the filling unit is used for executing the data filling logic and filling the response code when the response data is processed based on the data processing logic if the response code generated by calling the micro service interface is a null value.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses, modules and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Fig. 9 shows a schematic block diagram of a server provided in an embodiment of the present invention, and for convenience of explanation, only the parts related to the embodiment of the present invention are shown.
In this embodiment, the server 9 may include: a processor 90, a memory 91, and computer readable instructions 92 stored in the memory 91 and executable on the processor 90, such as computer readable instructions to perform the presentation generation method described above. The processor 90, when executing the computer readable instructions 92, implements the steps in the various presentation generation method embodiments described above, such as steps S101 to S103 or S401 to S403 shown in fig. 1. Alternatively, the processor 90, when executing the computer readable instructions 92, implements the functions of the modules/units in the device embodiments described above, such as the functions of the units 71 to 73 shown in fig. 7 or the units 81 to 83 shown in fig. 8.
Illustratively, the computer readable instructions 92 may be partitioned into one or more modules/units that are stored in the memory 91 and executed by the processor 90 to implement the present invention. The one or more modules/units may be a series of computer-readable instruction segments capable of performing specific functions, which are used to describe the execution of the computer-readable instructions 92 in the server 9.
Those skilled in the art will appreciate that fig. 9 is merely an example of a server 9 and does not constitute a limitation of the server 9 and may include more or fewer components than shown, or some components in combination, or different components, e.g., the server 9 may also include input output devices, network access devices, buses, etc.
The Processor 90 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The storage 91 may be an internal storage unit of the server 9, such as a hard disk or a memory of the server 9. The memory 91 may also be an external storage device of the server 9, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) and the like provided on the server 9. Further, the memory 91 may also include both an internal storage unit of the server 9 and an external storage device. The memory 91 is used to store the computer readable instructions and other instructions and data required by the server 9. The memory 91 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/server and method may be implemented in other ways. For example, the above-described apparatus/server embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow in the method of the embodiments described above can be realized by a computer program, which can be stored in a computer-readable storage medium and can realize the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable storage medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable storage medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable storage media that does not include electrical carrier signals and telecommunications signals in accordance with legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1.A method of microservice orchestration, comprising:
configuring a template according to a preset script, and generating a configuration file corresponding to each micro service interface according to micro service interface information in a service arrangement file corresponding to a target micro service combination; wherein the content of the configuration file comprises data processing logic corresponding to the microservice interface;
compiling the configuration file to obtain an executable class file corresponding to the configuration file;
and hot loading the class file in a virtual machine, and executing the class file in the virtual machine according to the microservice interface information.
2. The method of claim 1, wherein the configuration file is used for processing parameters associated with the microservice interface, and wherein the parameters associated with the microservice interface comprise input parameters before the microservice interface is called and response data after the microservice interface is called;
correspondingly, the processing the parameters associated with the micro service interface comprises:
checking the input parameters;
processing the input parameters according to the input parameter data format of the micro service interface based on the data processing logic;
after the response data are obtained, verifying the response data;
processing the response data according to the response data format of the micro service interface based on the data processing logic;
wherein the data processing logic comprises one or more of data population, format conversion, data assembly, and data filtering.
3. The method of claim 1 or 2, wherein the configuration file further comprises response transcoding logic; the response code conversion logic is used for performing conversion processing on the response code generated by the calling micro-service interface based on the response code conversion logic when the calling micro-service interface is abnormal;
correspondingly, the conversion processing of the response code generated by the calling microservice interface based on the response code conversion logic includes:
converting the response code based on a preset mapping relation in the response code conversion logic to obtain an error response code with a uniform format;
correspondingly, before the response code is subjected to the conversion processing, the micro-service arranging method further comprises the following steps:
and if the response code generated by calling the micro service interface is a null value, filling the response code through a logic for executing data filling when the response data is processed based on the data processing logic.
4. A method for performing microservice, comprising:
responding to a micro-service calling request sent by a client, and acquiring a service arrangement file of a target micro-service combination corresponding to the micro-service calling request; the service arrangement file comprises a configuration file corresponding to at least one micro service interface;
loading an executable class file corresponding to the configuration file in the process of calling the micro service interface in the target micro service combination according to the service arrangement file, and executing the class file aiming at the parameter associated with the micro service interface according to the micro service interface information in the service arrangement file;
after all the micro services in the target micro service combination are executed according to the service layout file, outputting result information and feeding back the result information to the client;
the configuration file is a preset script configuration template, and a script file corresponding to each micro service interface is generated according to micro service interface information in a service arrangement file corresponding to a target micro service combination; the content of the configuration file comprises: the data processing logic corresponds to the micro service interface; the executable class file is obtained by compiling the configuration file, and is hot loaded and executed through a virtual machine.
5. The method of claim 4, wherein the parameters associated with the microservice interface include input parameters prior to invoking the microservice interface and response data after invoking the microservice interface;
correspondingly, according to the micro service interface information in the service orchestration file, executing the class file for the parameters associated with the micro service interface includes:
checking the input parameters;
after the verification processing is passed, processing the input parameters based on the data processing logic according to the input parameter data format of the micro service interface;
after the response data are obtained, verifying the response data;
after the verification processing is passed, processing the response data based on the data processing logic according to the response data format of the micro service interface;
wherein the data processing logic comprises one or more of data population, format conversion, data assembly, and data filtering.
6. The method of claim 4 or 5, wherein the configuration file further comprises response transcoding logic; before outputting and feeding back the result information to the client, the micro-service execution method further includes:
based on the response code conversion logic, the response code generated by the calling micro-service interface is converted to obtain an error response code with a uniform format;
correspondingly, before the response code is subjected to conversion processing, the micro-service execution method further comprises the following steps:
and if the response code generated by calling the micro service interface is null, executing the data filling logic to fill the response code when the response data is processed based on the data processing logic.
7. A microservice orchestration device, comprising:
the configuration unit is used for configuring the template according to a preset script and generating a configuration file corresponding to each micro service interface according to the micro service interface information in the service arrangement file corresponding to the target micro service combination; wherein the content of the configuration file comprises data processing logic corresponding to the microservice interface;
the compiling unit is used for compiling the configuration file to obtain an executable class file corresponding to the configuration file;
and the loading unit is used for hot loading the class file in the virtual machine and executing the class file in the virtual machine according to the microservice interface information.
8. A microservice execution apparatus, comprising:
the system comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for responding to a micro-service calling request sent by a client and acquiring a service arrangement file of a target micro-service combination corresponding to the micro-service calling request; the service arrangement file comprises a configuration file corresponding to at least one micro service interface;
the execution unit is used for loading an executable class file corresponding to the configuration file in the process of calling the micro service interface in the target micro service combination according to the service arrangement file, and executing the class file aiming at the parameter associated with the micro service interface according to the micro service interface information in the service arrangement file;
the output unit is used for outputting result information and feeding back the result information to the client after all the micro services in the target micro service combination are executed according to the service layout file;
the configuration file is a preset script configuration template, and a script file corresponding to each micro service interface is generated according to micro service interface information in a service arrangement file corresponding to a target micro service combination; the content of the configuration file comprises: the data processing logic corresponds to the micro service interface; the executable class file is obtained by compiling the configuration file, and is hot loaded and executed through a virtual machine.
9. A computer readable storage medium storing computer readable instructions, wherein the computer readable instructions, when executed by a processor, implement the steps of the method of any of claims 1 to 3 or claims 4 to 6.
10. A server comprising a memory, a processor and computer readable instructions stored in the memory and executable on the processor, wherein the processor when executing the computer readable instructions implements the steps of the method of any one of claims 1 to 3 or claims 4 to 6.
CN202111562419.2A 2021-12-20 2021-12-20 Micro-service arranging method, micro-service executing method, micro-service arranging device and micro-service executing server Pending CN114217887A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111562419.2A CN114217887A (en) 2021-12-20 2021-12-20 Micro-service arranging method, micro-service executing method, micro-service arranging device and micro-service executing server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111562419.2A CN114217887A (en) 2021-12-20 2021-12-20 Micro-service arranging method, micro-service executing method, micro-service arranging device and micro-service executing server

Publications (1)

Publication Number Publication Date
CN114217887A true CN114217887A (en) 2022-03-22

Family

ID=80704334

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111562419.2A Pending CN114217887A (en) 2021-12-20 2021-12-20 Micro-service arranging method, micro-service executing method, micro-service arranging device and micro-service executing server

Country Status (1)

Country Link
CN (1) CN114217887A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115580646A (en) * 2022-09-08 2023-01-06 中国建设银行股份有限公司 Middleware configuration method, device, server, medium and product
CN116192784A (en) * 2023-03-03 2023-05-30 广州三七极耀网络科技有限公司 Message notification method, device and equipment based on broadcast robot
WO2024019996A1 (en) * 2022-07-18 2024-01-25 Fisher-Rosemount Systems, Inc. Field device digital twins in process control and automation systems

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024019996A1 (en) * 2022-07-18 2024-01-25 Fisher-Rosemount Systems, Inc. Field device digital twins in process control and automation systems
CN115580646A (en) * 2022-09-08 2023-01-06 中国建设银行股份有限公司 Middleware configuration method, device, server, medium and product
CN116192784A (en) * 2023-03-03 2023-05-30 广州三七极耀网络科技有限公司 Message notification method, device and equipment based on broadcast robot
CN116192784B (en) * 2023-03-03 2023-11-03 广州三七极耀网络科技有限公司 Message notification method, device and equipment based on broadcast robot

Similar Documents

Publication Publication Date Title
CN114217887A (en) Micro-service arranging method, micro-service executing method, micro-service arranging device and micro-service executing server
CN113065656B (en) Rule engine configuration method and device, server and readable storage medium
US8904353B1 (en) Highly reusable test frameworks and tests for web services
CN114115852A (en) Visual service arranging method, device, equipment and medium
CN113946321B (en) Processing method of computing logic, electronic device and readable storage medium
US20220383222A1 (en) Anonymous distributed consensus regarding the verification of protocols
Gómez et al. A model-based approach for developing event-driven architectures with asyncapi
CN114610598A (en) Test method, test device, electronic equipment and computer readable storage medium
CN105302556A (en) Calculation realization method and system and server apparatus
CN116339690A (en) Method and device for executing business process, electronic equipment and storage medium
CN112230911B (en) Model deployment method, device, computer equipment and storage medium
CN111190750B (en) Data processing method and system
CN116719627B (en) Data processing method, device, equipment and storage medium
CN117435177B (en) Application program interface construction method, system, equipment and storage medium
Cansado et al. Unifying architectural and behavioural specifications of distributed components
CN117420991A (en) Code generation method and device, storage medium and electronic device
CN116112479A (en) http interface implementation method, device, equipment and storage medium
CN116627814A (en) Service processing method and device, storage medium and electronic device
CN116700754A (en) Process scheduling method and system based on JSON dynamic configuration
Kraemer et al. An automated method for web service orchestration based on reusable building blocks
Albarrán et al. From Maude Specifications to SOAP Distributed Implementations: A Smooth Transition.
CN112230898A (en) Model application interaction system, method, readable storage medium and electronic device
CN115857881A (en) API (application program interface) arranging and managing method and device, electronic equipment and storage medium
CN116755677A (en) Atomic service arrangement method, device, equipment and storage medium
CN117608708A (en) Back-end interface calling method, device, computing equipment and storage medium

Legal Events

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