CN112631696B - Service arranging method, arranging device, processor and service arranging system - Google Patents

Service arranging method, arranging device, processor and service arranging system Download PDF

Info

Publication number
CN112631696B
CN112631696B CN202011608260.9A CN202011608260A CN112631696B CN 112631696 B CN112631696 B CN 112631696B CN 202011608260 A CN202011608260 A CN 202011608260A CN 112631696 B CN112631696 B CN 112631696B
Authority
CN
China
Prior art keywords
service
language
database
compiling
dsl
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011608260.9A
Other languages
Chinese (zh)
Other versions
CN112631696A (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.)
Smart Shenzhou Beijing Technology Co ltd
Original Assignee
Smart Shenzhou Beijing Technology 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 Smart Shenzhou Beijing Technology Co ltd filed Critical Smart Shenzhou Beijing Technology Co ltd
Priority to CN202011608260.9A priority Critical patent/CN112631696B/en
Publication of CN112631696A publication Critical patent/CN112631696A/en
Application granted granted Critical
Publication of CN112631696B publication Critical patent/CN112631696B/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/448Execution paradigms, e.g. implementations of programming paradigms
    • G06F9/4482Procedural
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • 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/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • G06F9/4451User profiles; Roaming

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Stored Programmes (AREA)

Abstract

The application provides a service arranging method, an arranging device, a processor and a service arranging system, wherein the method comprises the following steps: establishing a database of DSL language, wherein the DSL language is a natural language for describing service, and the DSL language comprises an input node, an output node, flow control, exception handling and authority management of the service; according to customer service requirements, calling DSL language from a database to perform visual service arrangement so as to form a prepared service; the provisioning service is compiled to obtain a service, the service being generated from computer executable code. The method ensures that the non-professional can know the operation process of the whole service according to the natural language, realizes the readability of the non-professional, ensures the use feeling of the non-professional to be higher, and solves the problem that the readability of the service arrangement description language for the non-professional is poor in the prior art.

Description

Service arranging method, arranging device, processor and service arranging system
Technical Field
The present application relates to the field of service orchestration, and in particular, to a service orchestration method, an orchestration device, a computer-readable storage medium, a processor, and a service orchestration system.
Background
The current Service orchestration product mainly includes a traditional ESB (Enterprise Service Bus), represented by Mule, and a Service orchestration tool generated in a micro-Service context, represented by Netflix Conductor. The Mule and the factor respectively adopt XML and Json as service arrangement description languages, configure and integrate service interfaces, and realize complex service which needs a plurality of service interfaces to finish. XML and Json service orchestration description languages are poorly readable by non-professionals.
The above information disclosed in this background section is only for enhancement of understanding of the background of the technology described herein and, therefore, certain information may be included in the background that does not form the prior art that is already known in this country to a person of ordinary skill in the art.
Disclosure of Invention
The present application mainly aims to provide a service arrangement method, an arrangement device, a computer-readable storage medium, a processor, and a service arrangement system, so as to solve the problem in the prior art that the readability of a service arrangement description language for non-professionals is poor.
According to an aspect of an embodiment of the present invention, there is provided a service orchestration method, including: establishing a database of DSL language, wherein the DSL language is natural language for describing service, and the DSL language comprises an input node, an output node, process control, exception handling and authority management of the service; calling the DSL language from the database according to customer service requirements, and performing visual service arrangement to form a prepared service; compiling the provisioning service to obtain the service, the service being generated by computer executable code.
Optionally, after establishing the database in DSL language, before forming the provisioning service, the method further comprises: creating an application program interface, wherein the application program interface comprises an interface address, an interface protocol, an interface calling parameter and interface return data.
Optionally, invoking the DSL language from the database according to customer service requirements to perform visualized service orchestration to form a provisioning service, including: calling the input node, the output node, the process control, the exception handling and the authority management from the database in a dragging mode according to the customer service requirement to form a plurality of basic services; and combining a plurality of basic services according to the customer service requirements and the application program interface to obtain the prepared service in a directed graph form.
Optionally, compiling the provisioning service to obtain the service includes: building a compiler for converting the natural language into the computer executable code; and compiling the prepared service according to the compiler to obtain the service.
Optionally, compiling the provisioning service according to the compiler to obtain the service, where the compiling includes: and compiling the prepared service according to the compiler to obtain the service and compiling information, wherein the compiling information comprises completion information, warning information or error information.
According to another aspect of the embodiments of the present invention, there is also provided a service orchestration apparatus, including: the system comprises an establishing unit, a database and a service management unit, wherein the establishing unit is used for establishing a DSL language which is a natural language for describing services, and the DSL language comprises an input node, an output node, flow control, exception handling and authority management of the services; the arrangement unit is used for calling the DSL language from the database according to the customer service requirement to perform visual service arrangement so as to form a prepared service; a compiling unit for compiling the provisioning service to obtain the service, the service being generated by computer executable code.
Optionally, the apparatus further comprises: the creating unit is used for creating an application program interface after the database of the DSL language is established and before the preparation service is formed, wherein the application program interface comprises an interface address, an interface protocol, an interface calling parameter and interface return data.
According to still another aspect of embodiments of the present invention, there is also provided a computer-readable storage medium including a stored program, wherein the program executes any one of the methods.
According to still another aspect of the embodiments of the present invention, there is further provided a processor, configured to execute a program, where the program executes any one of the methods.
According to another aspect of the embodiments of the present invention, there is also provided a service orchestration system, including: one or more processors, memory, a display device, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including instructions for performing any of the methods.
In the embodiment of the present invention, the method for arranging services includes first establishing a database of a DSL language, where the DSL language is a natural language describing services, and the DSL language includes an input node, an output node, flow control, exception handling, and rights management of the services; then, according to customer service requirements, calling the DSL language from the database to perform visual service arrangement so as to form a prepared service; finally, the provisioning service is compiled to obtain the service, the service being generated from computer executable code. In the arranging method of the service, a database of a DSL language is established, wherein the DSL language is a natural language for describing the service, then visual service arrangement is carried out according to the customer service requirement to form a prepared service, and the prepared service is compiled to obtain the service.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this application, illustrate embodiments of the application and, together with the description, serve to explain the application and are not intended to limit the application. In the drawings:
FIG. 1 shows a flow diagram of a method of orchestration of services according to one embodiment of the present application;
fig. 2 shows a schematic diagram of an orchestration device of services according to an embodiment of the application.
Detailed Description
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all 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 application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the application described herein may be used. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It will be understood that when an element such as a layer, film, region, or substrate is referred to as being "on" another element, it can be directly on the other element or intervening elements may also be present. Also, in the specification and claims, when an element is described as being "connected" to another element, the element may be "directly connected" to the other element or "connected" to the other element through a third element.
As mentioned in the background, in order to solve the problem of poor readability of the service orchestration description language by non-professionals in the prior art, in an exemplary embodiment of the present application, a service orchestration method, an orchestration device, a computer readable storage medium, a processor and a service orchestration system are provided.
According to an embodiment of the present application, a method of orchestration of services is provided.
Fig. 1 is a flowchart of an orchestration method of services according to an embodiment of the application. As shown in fig. 1, the method comprises the steps of:
step S101, establishing a database of DSL language, wherein the DSL language is a natural language for describing service, and the DSL language comprises an input node, an output node, process control, exception handling and authority management of the service;
step S102, according to customer service requirement, calling the DSL language from the database to perform visual service arrangement to form a prepared service;
step S103, compiling the prepared service to obtain the service, wherein the service is generated by a computer executable code.
In the method for arranging the service, firstly, a database of a DSL language is established, wherein the DSL language is a natural language for describing the service, and the DSL language comprises an input node, an output node, flow control, exception handling and authority management of the service; calling the DSL language from the database according to customer service requirements, and performing visual service arrangement to form a prepared service; compiling the preliminary service to obtain the service, the service being generated by computer executable code. In the arranging method of the service, a database of a DSL language is established, wherein the DSL language is a natural language for describing the service, then visual service arrangement is carried out according to the customer service requirement to form a prepared service, and the prepared service is compiled to obtain the service.
It should be noted that the steps illustrated in the flowcharts of the figures may be performed in a computer system such as a set of computer-executable instructions and that, although a logical order is illustrated in the flowcharts, in some cases, the steps illustrated or described may be performed in an order different than presented herein.
In an embodiment of the present application, after the database of the DSL language is established, before the provisioning service is formed, the method further includes: and creating an application program interface, wherein the application program interface comprises an interface address, an interface protocol, an interface calling parameter and interface return data. The connection among different components of the service can be realized through the application program interface, so that a non-professional can conveniently understand details of a working mechanism of the service according to an interface address, an interface protocol, an interface calling parameter and interface return data, the readability of the non-professional is further ensured to be good, and the arranging efficiency of the service is improved.
In another embodiment of the present application, invoking the DSL language from the database according to a customer service requirement to perform visualized service arrangement to form a provisioning service, includes: calling the input node, the output node, the process control, the exception handling and the authority management from the database in a dragging mode according to the customer service requirement to form a plurality of basic services; and combining a plurality of basic services according to the customer service requirements and the application program interface to obtain the prepared service in a directed graph form. In this embodiment, a plurality of basic services are combined according to the customer service requirement and the application program interface to obtain the preparation service in a directed graph form, so that the obtained preparation service is more intuitive, and the readability of business personnel is further ensured.
In a more specific embodiment of the present application, after the preparation service is formed, the method further includes debugging and monitoring the flow of the preparation service, so that the running quality of the service is guaranteed through debugging, and the user can be guaranteed to know the running times, running conditions and the like of the service in real time through monitoring.
In another embodiment of the present application, compiling the provisioning service to obtain the service includes: establishing a compiler, wherein the compiler is used for converting the natural language into the computer executable code; and compiling the prepared service according to the compiler to obtain the service. In this embodiment, a compiler for converting the natural language into the computer executable code is established, and the prepared service is compiled according to the compiler to obtain the service, so that the computer executable code is obtained, and the computer works according to the corresponding executable code to obtain the service.
In a specific embodiment, the computer executable code includes code similar to the XML format or Json format in the prior art, but the computer visibility code may also include code in other formats.
In a more specific embodiment of the present application, the compiling process includes: firstly, loading service arrangement described by DSL language; then, analyzing the service arrangement described by the DSL, starting a service flow according to the DSL, and executing the service arrangement; then, calling a service interface to process return data; and finally, combining the returned data to finish service arrangement. Through the above-described processes, the service described by the natural language is compiled into a computer-readable service, so that the computer operates according to the corresponding executable code.
In another embodiment of the present application, compiling the provisioning service according to the compiler to obtain the service includes: and compiling the preliminary service according to the compiler to obtain the service and compilation information, wherein the compilation information comprises completion information, warning information or error information. According to the compiling information, the business personnel can be helped to know whether the service is successfully converted into the computer executable code from the natural language description, and can be helped to lock the place where the error occurs so as to further modify and optimize the prepared service.
The embodiment of the present application further provides a service orchestration device, and it should be noted that the service orchestration device according to the embodiment of the present application may be used to execute the service orchestration method provided by the embodiment of the present application. The following describes a service orchestration device provided in an embodiment of the present application.
Fig. 2 is a schematic diagram of an orchestration device of services according to an embodiment of the application. As shown in fig. 2, the apparatus includes:
a building unit 10, configured to build a database of a DSL language, where the DSL language is a natural language describing a service, and the DSL language includes an input node, an output node, flow control, exception handling, and rights management of the service;
an arranging unit 20, configured to invoke the DSL language from the database according to a customer service requirement, and perform visual service arrangement to form a provisioning service;
a compiling unit 30, configured to compile the prepared service to obtain the service, where the service is generated by a computer executable code.
In the service arrangement device, an establishing unit is used for establishing a database of a DSL language, the DSL language is a natural language for describing services, and the DSL language comprises an input node, an output node, flow control, exception handling and authority management of the services; the arrangement unit is used for calling the DSL language from the database according to the customer service requirement, and performing visual service arrangement to form a prepared service; the compiling unit is used for compiling the preparation service to obtain the service, and the service is generated by computer executable codes. In the arrangement device of the service, a database of DSL language is established, wherein the DSL language is natural language for describing the service, then visual service arrangement is carried out according to the customer service requirement to form a prepared service, and the prepared service is compiled to obtain the service.
In an embodiment of the present application, the apparatus further includes: and the creating unit is used for creating an application program interface after the database of the DSL language is established and before the preparation service is formed, wherein the application program interface comprises an interface address, an interface protocol, an interface calling parameter and interface return data. The connection among different components of the service can be realized through the application program interface, so that a non-professional can conveniently understand details of a working mechanism of the service according to an interface address, an interface protocol, an interface calling parameter and interface return data, the readability of the non-professional is further ensured to be good, and the arranging efficiency of the service is improved.
In another embodiment of the present application, the orchestration unit further includes a calling module and a combining module, where the calling module is configured to call the input node, the output node, the process control, the exception handling, and the authority management in a dragging manner from the database according to the customer service requirement, so as to form a plurality of basic services; the combination module is used for combining a plurality of basic services according to the customer service requirements and the application program interface to obtain the prepared service in a directed graph form. In this embodiment, a plurality of basic services are combined according to the customer service requirement and the application program interface to obtain the preparation service in a directed graph form, so that the obtained preparation service is more intuitive, and the readability of business personnel is further ensured.
In a more specific embodiment of the present application, after the preparation service is formed, the method further includes debugging and monitoring the flow of the preparation service, so that the running quality of the service is guaranteed through debugging, and the user can be guaranteed to know the running times, running conditions and the like of the service in real time through monitoring.
In another embodiment of the present application, the compiling unit further includes an establishing module and a compiling module, wherein the establishing module is configured to establish a compiler, and the compiler is configured to convert the natural language into the computer executable code; and the compiling module is used for compiling the prepared service according to the compiler to obtain the service. In this embodiment, a compiler for converting the natural language into the computer executable code is established, and the prepared service is compiled according to the compiler to obtain the service, so that the computer executable code is obtained, and the computer works according to the corresponding executable code to obtain the service.
In a specific embodiment, the computer executable code includes code similar to the XML format or Json format in the prior art, but the computer visibility code may also include code in other formats.
In a more specific embodiment of the present application, the compiling process includes: firstly, loading service arrangement described by DSL language; then, analyzing the service arrangement described by the DSL, starting a service flow according to the DSL, and executing the service arrangement; then, calling a service interface to process return data; and finally, combining the returned data to finish service arrangement. Through the above-described processes, the service described by the natural language is compiled into a computer-readable service, so that the computer operates according to the corresponding executable code.
In yet another embodiment of the application, the compiling module further includes a compiling sub-module, configured to compile the preliminary service according to the compiler to obtain the service and compiling information, where the compiling information includes completion information, warning information, or error information. According to the compiling information, the business personnel can be helped to know whether the service is successfully converted into the computer executable code from the natural language description, and can be helped to lock the place where the error occurs so as to further modify and optimize the prepared service.
The arrangement device of the service comprises a processor and a memory, the establishment unit, the arrangement unit, the compiling unit and the like are stored in the memory as program units, and the processor executes the program units stored in the memory to realize corresponding functions.
The processor comprises a kernel, and the kernel calls the corresponding program unit from the memory. The kernel can be set to be one or more than one, and the problem that the readability of the service arrangement description language for non-professionals in the prior art is poor is solved by adjusting the kernel parameters.
The memory may include volatile memory in a computer readable medium, Random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip.
An embodiment of the present invention provides a computer-readable storage medium, on which a program is stored, which, when executed by a processor, implements the arrangement method of the above-described service.
The embodiment of the invention provides a processor, which is used for running a program, wherein the program executes the arranging method of the service when running.
The embodiment of the invention also provides a service arranging system, which comprises: one or more processors, memory, a display device, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including instructions for performing any of the above-described methods.
The service arrangement system can execute any one of the service arrangement methods, in the service arrangement method, a DSL language database is established, the DSL language is a natural language for describing the service, then visual service arrangement is carried out according to customer service requirements to form a preparation service, and the preparation service is compiled to obtain the service.
The embodiment of the invention provides equipment, which comprises a processor, a memory and a program which is stored on the memory and can run on the processor, wherein when the processor executes the program, at least the following steps are realized:
step S101, establishing a database of DSL language, wherein the DSL language is a natural language for describing service, and the DSL language comprises an input node, an output node, process control, exception handling and authority management of the service;
step S102, according to the customer service requirement, the DSL language is called from the database to perform visual service arrangement to form a prepared service
Step S103, compiling the prepared service to obtain the service, wherein the service is generated by a computer executable code.
The device herein may be a server, a PC, a PAD, a mobile phone, etc.
The present application further provides a computer program product adapted to perform a program of initializing at least the following method steps when executed on a data processing device:
step S101, establishing a database of DSL language, wherein the DSL language is a natural language for describing service, and the DSL language comprises an input node, an output node, process control, exception handling and authority management of the service;
step S102, according to the customer service requirement, the DSL language is called from the database to perform visual service arrangement to form a prepared service
Step S103, compiling the prepared service to obtain the service, wherein the service is generated by a computer executable code.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the above-described division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple 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, units or modules, and may be in an electrical 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 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 invention 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 unit may be stored in a computer-readable storage medium if it is implemented in the form of a software functional unit and sold or used as a separate product. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a computer-readable storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
From the above description, it can be seen that the above-described embodiments of the present application achieve the following technical effects:
1) firstly, establishing a database of DSL language, wherein the DSL language is a natural language for describing service, and the DSL language comprises an input node, an output node, flow control, exception handling and authority management of the service; then, according to customer service requirements, calling the DSL language from the database to perform visual service arrangement so as to form a prepared service; finally, the prepared service is compiled to obtain the service, and the service is generated by computer executable codes. In the arranging method of the service, a database of a DSL language is established, wherein the DSL language is a natural language for describing the service, then visual service arrangement is carried out according to the customer service requirement to form a prepared service, and the prepared service is compiled to obtain the service.
2) The establishment unit is used for establishing a database of a DSL language, the DSL language is a natural language for describing services, and the DSL language comprises an input node, an output node, flow control, exception handling and authority management of the services; the arrangement unit is used for calling the DSL language from the database according to the customer service requirement, and performing visual service arrangement to form a prepared service; the compiling unit is used for compiling the preparation service to obtain the service, and the service is generated by computer executable codes. In the arrangement device of the service, a database of DSL language is established, wherein the DSL language is natural language for describing the service, then visual service arrangement is carried out according to the customer service requirement to form a prepared service, and the prepared service is compiled to obtain the service.
3) The method ensures that non-professionals can know the operation process of the whole service according to the natural language, readability of the non-professionals is achieved, high use feeling of the non-professionals is guaranteed, and therefore the problem that readability of the service arrangement description language for the non-professionals in the prior art is poor is solved.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (7)

1. A method of orchestrating a service, comprising:
establishing a database of DSL language, wherein the DSL language is natural language for describing service, and the DSL language comprises an input node, an output node, process control, exception handling and authority management of the service;
calling the DSL language from the database according to customer service requirements, and performing visual service arrangement to form a prepared service;
compiling the provisioning service to obtain the service, the service being generated by computer executable code;
after building the database in DSL language, before forming the provisioning service, the method further comprises:
creating an application program interface, wherein the application program interface comprises an interface address, an interface protocol, an interface calling parameter and interface return data;
calling the DSL language from the database according to customer service requirements to perform visual service arrangement so as to form a prepared service, wherein the method comprises the following steps:
calling the input node, the output node, the process control, the exception handling and the authority management from the database in a dragging mode according to the customer service requirement to form a plurality of basic services;
and combining a plurality of basic services according to the customer service requirements and the application program interface to obtain the prepared service in a directed graph form.
2. The method of claim 1, wherein compiling the provisioning service to obtain the service comprises:
building a compiler for converting the natural language into the computer executable code;
and compiling the prepared service according to the compiler to obtain the service.
3. The method of claim 2, wherein compiling the provisioning service according to the compiler to obtain the service comprises:
and compiling the prepared service according to the compiler to obtain the service and compiling information, wherein the compiling information comprises completion information, warning information or error information.
4. An arrangement of services, comprising:
the system comprises an establishing unit, a database and a service management unit, wherein the establishing unit is used for establishing a DSL language which is a natural language for describing services, and the DSL language comprises an input node, an output node, flow control, exception handling and authority management of the services;
the arrangement unit is used for calling the DSL language from the database according to the customer service requirement to perform visual service arrangement so as to form a prepared service;
a compiling unit for compiling the provisioning service to obtain the service, the service being generated by computer executable code;
the device comprises a creating unit, a sending unit and a receiving unit, wherein the creating unit is used for creating an application program interface after a database of the DSL language is established and before the preparation service is formed, and the application program interface comprises an interface address, an interface protocol, an interface calling parameter and interface return data;
the arranging unit further comprises a calling module and a combination module, wherein the calling module is used for calling the input node, the output node, the process control, the exception handling and the authority management from the database in a dragging mode according to the customer service requirement so as to form a plurality of basic services; and the combination module is used for combining a plurality of basic services according to the customer service requirements and the application program interface to obtain the prepared service in a directed graph form.
5. A computer-readable storage medium, characterized in that the computer-readable storage medium comprises a stored program, wherein the program performs the method of any one of claims 1 to 3.
6. A processor, characterized in that the processor is configured to run a program, wherein the program when running performs the method of any of claims 1 to 3.
7. A system for orchestrating services, comprising: one or more processors, memory, and one or more programs stored in the memory and configured to be executed by the one or more processors, the one or more programs including instructions for performing the method of any of claims 1-3.
CN202011608260.9A 2020-12-29 2020-12-29 Service arranging method, arranging device, processor and service arranging system Active CN112631696B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011608260.9A CN112631696B (en) 2020-12-29 2020-12-29 Service arranging method, arranging device, processor and service arranging system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011608260.9A CN112631696B (en) 2020-12-29 2020-12-29 Service arranging method, arranging device, processor and service arranging system

Publications (2)

Publication Number Publication Date
CN112631696A CN112631696A (en) 2021-04-09
CN112631696B true CN112631696B (en) 2021-10-22

Family

ID=75286556

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011608260.9A Active CN112631696B (en) 2020-12-29 2020-12-29 Service arranging method, arranging device, processor and service arranging system

Country Status (1)

Country Link
CN (1) CN112631696B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115412606B (en) * 2022-08-31 2024-01-23 上海得帆信息技术有限公司 iPaaS service arrangement method and system based on open source mule integration platform

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109002362A (en) * 2017-06-06 2018-12-14 阿里巴巴集团控股有限公司 A kind of method of servicing, device, system and electronic equipment
CN111078315A (en) * 2019-12-12 2020-04-28 拉扎斯网络科技(上海)有限公司 Microservice arranging and executing method and system, architecture, equipment and storage medium
CN111580793A (en) * 2020-04-30 2020-08-25 微民保险代理有限公司 Method, apparatus, computer device and storage medium for executing service
CN112051993A (en) * 2020-08-17 2020-12-08 腾讯科技(深圳)有限公司 State machine template generation and task processing method, device, medium and equipment

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7779396B2 (en) * 2005-08-10 2010-08-17 Microsoft Corporation Syntactic program language translation
EP1818816A1 (en) * 2006-01-24 2007-08-15 Alcatel Lucent Method to create a service, program product and informatics system executing this method
US9395956B2 (en) * 2008-09-30 2016-07-19 International Business Machines Corporation Declarative representation of networked applications
US10521286B2 (en) * 2017-03-23 2019-12-31 Rathinasabapathy Arumugam System and method for interoperable cloud DSL to orchestrate multiple cloud platforms and services
US9946514B1 (en) * 2017-07-27 2018-04-17 Huma.Ai Systems and methods for generating functional application designs
US20190163463A1 (en) * 2017-11-30 2019-05-30 International Business Machines Corporation Relational patch orchestration
CN110609675B (en) * 2018-06-14 2023-08-08 中兴通讯股份有限公司 Workflow modeling method and device and computer readable storage medium
CN110147236B (en) * 2019-04-30 2023-01-31 创新先进技术有限公司 Code compiling method and device
CN111209092A (en) * 2020-01-09 2020-05-29 江苏艾佳家居用品有限公司 Distributed transaction processing method based on Saga mode

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109002362A (en) * 2017-06-06 2018-12-14 阿里巴巴集团控股有限公司 A kind of method of servicing, device, system and electronic equipment
CN111078315A (en) * 2019-12-12 2020-04-28 拉扎斯网络科技(上海)有限公司 Microservice arranging and executing method and system, architecture, equipment and storage medium
CN111580793A (en) * 2020-04-30 2020-08-25 微民保险代理有限公司 Method, apparatus, computer device and storage medium for executing service
CN112051993A (en) * 2020-08-17 2020-12-08 腾讯科技(深圳)有限公司 State machine template generation and task processing method, device, medium and equipment

Also Published As

Publication number Publication date
CN112631696A (en) 2021-04-09

Similar Documents

Publication Publication Date Title
CN111078315B (en) Microservice arranging and executing method and system, architecture, equipment and storage medium
CN103077024B (en) A kind of device and method supporting the on-demand customization of SaaS application flow and operation
CN114115852A (en) Visual service arranging method, device, equipment and medium
US20040139176A1 (en) Systems and methods for improving service delivery
US10996997B2 (en) API-based service command invocation
CN104484189A (en) Construction and design method of application interface
CN101162428A (en) Method for acquiring and converting the state of component in the time of operation during software dynamic evolvement
US11847509B2 (en) Infrastructure base model API
CN110532041A (en) Regulation engine method for parameter configuration, device, computer equipment and storage medium
CN112799659A (en) Method, device and terminal for automatically generating data interface without programming
WO2023179725A1 (en) Application integration method and device
CN113010332A (en) Remote service calling method, device, equipment and storage medium
CN110633959A (en) Method, device, equipment and medium for creating approval task based on graph structure
CN112631696B (en) Service arranging method, arranging device, processor and service arranging system
CN108446371A (en) Data return guiding method, device, computer equipment and storage medium
CN111897799A (en) Hydrological model service system based on process engine
JP6909877B2 (en) White Box How to Realize OTN Hardware Devices, Devices, Storage Media
US10558514B2 (en) Error handling in a cloud based hybrid application integration
CN111522617B (en) Method and device for maintaining system and electronic equipment
CN111176724B (en) Computer implementation method and device for software architecture analysis
CN111190750A (en) Data processing method and system
CN115934076A (en) Cross-platform client micro-service providing device and method and electronic equipment
CN110599112A (en) Method and device for developing and maintaining network page
CN115202623A (en) Service capability using method, device and equipment
CN108520063A (en) Processing method, device and the terminal device of event log

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