CN113590170B - Service implementation-based cooperative control software development method, computer device and storage medium - Google Patents

Service implementation-based cooperative control software development method, computer device and storage medium Download PDF

Info

Publication number
CN113590170B
CN113590170B CN202010367070.6A CN202010367070A CN113590170B CN 113590170 B CN113590170 B CN 113590170B CN 202010367070 A CN202010367070 A CN 202010367070A CN 113590170 B CN113590170 B CN 113590170B
Authority
CN
China
Prior art keywords
cooperative
microservice
processing logic
cooperative control
tree
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
CN202010367070.6A
Other languages
Chinese (zh)
Other versions
CN113590170A (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.)
Shenzhen Zhongtong Internet Of Things Technology Co ltd
Original Assignee
Shenzhen Zhongtong Internet Of Things 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 Shenzhen Zhongtong Internet Of Things Technology Co ltd filed Critical Shenzhen Zhongtong Internet Of Things Technology Co ltd
Priority to CN202010367070.6A priority Critical patent/CN113590170B/en
Publication of CN113590170A publication Critical patent/CN113590170A/en
Application granted granted Critical
Publication of CN113590170B publication Critical patent/CN113590170B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Landscapes

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

Abstract

The invention provides a cooperative control software development method based on service realization, which comprises the following steps: providing a microservice, the microservice comprising program code configured with input data information elements and output data information elements; acquiring cooperative rule configuration information, wherein the cooperative rule configuration information comprises cooperative micro-services, and monitoring information elements and execution information elements required for realizing the cooperation of the micro-services; and generating one or more corresponding cooperative control micro services according to the cooperative rule configuration information. In addition, the invention also provides computer equipment and a storage medium applying the cooperative control software development method. The cooperative control software development method provided by the invention can be used for creating the cooperative control micro-service for cooperating each micro-service through the basic service on the basis of the service architecture according to the cooperative rule between each micro-service configured by the user, and can realize the cooperative control between each micro-service.

Description

Service implementation-based cooperative control software development method, computer device and storage medium
Technical Field
The invention relates to the technical field of computers, in particular to a cooperative control software development method based on service implementation, computer equipment and a storage medium.
Background
With the development of internet technology in the enterprise application field, and in order to reduce cost and mass production, enterprises gradually adopt product informatization. Accordingly, the market is continuously developing new ones from the construction of basic finance, HR, OA and CRM systems to mobile office, decision analysis and other systems.
Product informatization is mainly used for information communication. The information communication is to eliminate the uncertainty factor. The existing information products can not achieve the main purpose of effectively transmitting information because data between different product services are often isolated. With the advance of services, rapid and accurate cooperative operation is often needed, rapid deployment among different departments, personnel and resources is needed, and accurate feedback needs to be made on each operation, so that cooperative control is smoother, faster and more accurate.
Therefore, how to realize cooperative control among enterprise services in information products becomes a problem to be solved urgently.
Disclosure of Invention
In view of this, there is a need for a collaborative control software development method, a computer device, and a storage medium based on service implementation.
In a first aspect, the present invention provides a cooperative control soft development method implemented based on a service, where the cooperative control soft development method includes:
providing a microservice, the microservice comprising program code configured with input data information elements and output data information elements;
acquiring cooperative rule configuration information, wherein the cooperative rule configuration information comprises cooperative micro-services, and monitoring information elements and execution information elements required for realizing the cooperation of the micro-services;
and generating one or more corresponding cooperative control micro-services according to the cooperative rule configuration information, wherein each cooperative control micro-service comprises a cooperative node or a plurality of interconnected cooperative nodes, each cooperative node is provided with a monitoring information element and an execution information element, and the monitoring information element or the execution information element comprises a micro-service related to the cooperative node and/or an input information element of the related micro-service and/or the output information element of the related micro-service.
In a second aspect, the present invention also provides a computer device, comprising:
a memory for storing a computer executable program; and
and the processor is used for executing the executable program to realize the cooperative control soft development method.
In a third aspect, a storage medium stores a computer-executable program that is executed by a processor to implement the above-described cooperative control soft development method.
The cooperative control software development method provided by the invention can be used for creating the cooperative control micro-service for cooperating each micro-service through the basic service on the basis of the service architecture according to the cooperative rule between each micro-service configured by the user, and can realize the cooperative control between each micro-service.
Drawings
Fig. 1 is a schematic view of an operating environment of a cooperative control soft development program according to a first embodiment.
Fig. 2 is a schematic diagram of an internal structure of a computer device according to a first embodiment.
Fig. 3 is a schematic flow chart of a cooperative control soft development method according to a first embodiment.
Fig. 4a is a schematic diagram of a microservice tree according to a first embodiment.
Fig. 4b is a schematic diagram of a user-configured tree-structured microservice tree according to the first embodiment.
Fig. 5a is a schematic diagram of tree structure intelligence elements configured by a user according to the first embodiment.
Fig. 5b is a schematic diagram of an information tree provided in the first embodiment.
Fig. 6 is a schematic diagram of a service architecture for implementing a cooperative control software development program according to the first embodiment.
Fig. 7 is a sub-flow diagram of a method for implementing cooperative control software development according to the first embodiment.
Fig. 8 is a schematic user interface diagram for implementing a cooperative control software development method according to the first embodiment.
Fig. 9 is a schematic view of another user interface for implementing the cooperative control software development method according to the first embodiment.
Fig. 10 is another sub-flow diagram illustrating a method for implementing cooperative control software development according to the first embodiment.
FIG. 11 is a flowchart illustrating a method for creating a data processing logic microservice according to a first embodiment.
FIG. 12 is a sub-flow diagram illustrating a method for creating a data processing logic microservice according to a first embodiment.
FIG. 13 is a schematic diagram of a user interface for creating a data processing logic microservice provided by the first embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, belong to the protection scope of the present invention.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims of the present application and in the drawings described above, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be implemented in other sequences than those illustrated or described herein. Moreover, 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 should be noted that the description relating to "first", "second", etc. in the present invention is for descriptive purposes only and is not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In addition, technical solutions between the embodiments may be combined with each other, but must be based on the realization of the technical solutions by a person skilled in the art, and when the technical solutions are contradictory to each other or cannot be realized, such a combination should not be considered to exist, and is not within the protection scope of the present invention.
Please refer to fig. 1, which is a schematic diagram of a cooperative control software development system architecture according to a first embodiment. The cooperative control software development system 1000 includes a client 1001 and a server 1002. The server 1002 communicates with the client 1001 through a network 1003. In this embodiment, the server 1002 provides basic services and micro services required for the development of cooperative control software; the client 1001 provides visual elements required by a user for developing the cooperative control software, and the user can configure visual graphics corresponding to the cooperative control program through the visual graphic elements; the server 1002 analyzes the visual graph according to a preset rule to obtain configuration information, and develops a system control program required by a user by using a basic service and a micro service according to the analyzed configuration information. Wherein the micro-service is created by a base service that controls the execution of the micro-service. The development of how the cooperative control software is specifically implemented will be described in detail below.
Please refer to fig. 2 in combination, which is a diagram illustrating an internal structure of a computer apparatus 800 according to a first embodiment. In this embodiment, the client 1001 and the server 1002 are installed with computer devices having client and server programs, respectively. The computer device may be a tablet computer, a desktop computer, a notebook computer. The computer device may be loaded with an operating system such as windows r, IOSR, or android. The computer device 800 includes a storage medium 801, a processor 802, and a bus 803. The storage medium 801 includes at least one type of readable storage medium, which includes a flash memory, a hard disk, a multimedia card, a card type memory (e.g., SD or DX memory, etc.), a magnetic memory, a magnetic disk, an optical disk, and the like. The storage medium 801 may in some embodiments be an internal storage unit of the computer device 800, such as a hard disk of the computer device 800. The storage medium 801 may in other embodiments be an external computer device 800 storage device, such as a plug-in hard drive, Smart Media Card (SMC), Secure Digital (SD) Card, Flash memory Card (Flash Card), etc. provided on the computer device 800. Further, the storage medium 801 may also include both an internal storage unit and an external storage device of the computer apparatus 800. The storage medium 801 may be used not only to store application software installed in the computer apparatus 800 and various types of data such as cooperative control software development instructions, but also to temporarily store data that has been output or is to be output.
The bus 803 may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 2, but it is not intended that there be only one bus or one type of bus.
Further, computer device 800 can also include a display component 804. The display module 804 may be an LED (Light Emitting Diode) display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light Emitting Diode) touch panel, or the like. The display component 804 may also be referred to as a display device or display unit, as appropriate, for displaying information processed in the computer apparatus 800 and for displaying a visualized user interface, among other things.
Further, the computer device 800 may also include a communication component 805, and the communication component 805 may optionally include a wired communication component and/or a wireless communication component (e.g., a WI-FI communication component, a bluetooth communication component, etc.), which are generally used to establish a communication connection between the computer device 800 and other computer devices.
The processor 802 may be, in some embodiments, a Central Processing Unit (CPU), controller, microcontroller, microprocessor or other data Processing chip that executes program codes stored in the storage medium 801 or processes data. Specifically, the processor 802 executes a cooperative control software development program to control the computer device 800 to implement the cooperative control software development method.
It is understood that fig. 2 only shows the computer device 800 having the components 801 and 805 and implementing the cooperative control software development method 01, and those skilled in the art will understand that the structure shown in fig. 2 does not constitute a limitation of the computer device 800, and may include fewer or more components than those shown, or a combination of certain components, or a different arrangement of components.
Please refer to fig. 3, which is a flowchart illustrating a method for developing cooperative control software according to a first embodiment. In the present embodiment, the cooperative control software development instruction is executed by the computer apparatus 800. The cooperative control software development instruction is stored in the storage medium 801. The processor 802 executes the cooperative control software development method to implement the cooperative control software development method. The cooperative control software development method comprises the following steps.
Step S301, providing a plurality of micro-services, each micro-service comprising a program code, the program code being configured with input data information elements and output data information elements. The program code is executed to implement the corresponding functions. In the present embodiment, each microservice uses a tree data structure to store and form a corresponding microservice tree T0 (as shown in fig. 4 a), and the process of specifically forming the microservice tree T0 will be described in detail below. The input data intelligence elements and the output data intelligence elements of each microservice are stored using a corresponding tree data storage structure to form an information tree T2 (see fig. 5 b), and the process of forming the information tree T2 will be described below.
Please refer to fig. 6 in combination, which schematically illustrates a service architecture. In the present embodiment, the cooperative control software development method is implemented based on the service framework 50. Service architecture 50 includes a base service 51 and a microservice 52 created by base service 51. Microservice 52 includes data processing logic microservice 520 and cooperative control microservice 522. The number of data processing logic microservices 520 and coordinated control microservices 522 may be 1 or more. The data processing logic microservice 520 includes processing logic program code, and the data processing logic microservice 520 is configured to perform logic processing on input data information elements to obtain output data information elements. Cooperative control microservice 522 includes cooperative control program code, and cooperative control microservice 522 is used to perform cooperative work between data processing logic microservice 520 and/or cooperative control microservice 522 via base service 51. Specifically, the cooperative control microservice 522 is configured to monitor whether the cooperative data processing logic microservice 520 or another cooperative control microservice 522 and/or the respective input data intelligence elements and/or output data intelligence elements meet a cooperation condition, and cooperate with the corresponding data processing logic microservice 520 or cooperative control microservice 522 to execute when the cooperation condition is met. Wherein: processing logic micro service data processing logic micro service 520 includes a system processing logic micro service that is self-contained by base service 51, and a data processing logic micro service that is created by base service 51 according to a user's configuration. Wherein the creation process of the data processing logic microservice will be described below. System processing logic microservices include, but are not limited to, clock services, electronic map services, weather services, and the like; the cooperative control microservice 522 is created by the base service 51 according to user configuration.
Step S303, obtaining the coordination rule configuration information, where the coordination rule configuration information includes the coordinated microservice 52, and the monitoring information element and the execution information element required for implementing coordination of each microservice 52. In this embodiment, the collaboration rule configuration information is a collaboration rule that provides a visual graphic element for a user to configure, and how to configure the collaboration rule through the visual graphic element will be specifically described below. In some possible embodiments, the collaborative rule configuration information may also be implemented by a developer using programming.
Step S305, generating one or more corresponding cooperative control microservices 522 according to the cooperative rule configuration information, where each cooperative control microservice 522 includes one cooperative node or a plurality of interconnected cooperative nodes, and each cooperative node is associated with one microservice 52; each cooperative node is configured with monitoring information elements and execution information elements, and the monitoring information elements and the execution information elements comprise micro-services 52 related to the cooperative node and/or input information elements of the related micro-services 52 and/or output information elements of the related micro-services.
Referring to FIG. 8, the tree data structure of data processing logic microservice 520 and cooperative control microservice 522 are stored in microservice 52. It is to be understood that when the coordinated control schematic 62 has only one node pattern 620, it represents only one of the coordinated microservices 52. It is to be understood that when the coordinated control schematic 62 is a plurality of interconnected node patterns 620, the input representing the micro-service 52 corresponding to one node pattern 620 is the output of the micro-service 52 corresponding to another node pattern 620, i.e., one micro-service 52 triggers the next micro-service 52. In this embodiment, the cooperative nodes include a listening node and a traveling node. The listening node is the sequentially previous cooperative node in the cooperative control microservice 522. For example, when the cooperative control microservice 522 has only one cooperative node, the cooperative node is a listening node. When a cooperative control microservice 522 consists of multiple cooperative nodes, the first cooperative node is a listening node, such as cooperative control node 6202, and the rest are traveling nodes.
Firstly, the cooperative control software development method provided by the invention can establish the cooperative control micro-service cooperating with each micro-service through the basic service on the basis of the service architecture according to the cooperative rule between each micro-service configured by the user, and can realize the cooperative control between each micro-service.
Secondly, since each microservice and the information elements thereof are stored by adopting a tree data storage structure, the monitoring information elements and the execution information elements of the cooperative control microservice also adopt the tree data storage structure. It can be understood that, for one object, the tree structure is used for decomposition, and the decomposition can be performed infinitely, that is, the information elements (data) of the information required in the business scene can be covered. For example, when describing a government of a certain country, the division can be performed according to a tree structure, and then the division can be performed into a certain specific group, such as a family. Therefore, the monitoring intelligence element and the execution intelligence element of the tree storage structure can provide any service scene needing cooperation for the user. Therefore, the cooperative control method provided by the invention can realize the cooperative control among the services.
Thirdly, the cooperative control software development method adopts a graphical configuration mode, so that the method is suitable for a wider crowd range, and the development threshold is greatly reduced.
Referring to fig. 7-9 in combination, fig. 7 is a schematic flowchart illustrating a method for obtaining collaboration rule configuration information. Fig. 8-9 are schematic diagrams illustrating user interfaces corresponding to the method for acquiring the collaborative rule configuration information. In this embodiment, the method for acquiring the cooperation rule configuration information is acquired through user graphic configuration. Specifically, the method for acquiring the cooperation rule configuration information specifically includes the following steps.
Step S701, providing a cooperative control configuration interface 60 for a user to configure the cooperative control diagram 62, wherein the cooperative control diagram 62 includes one or more interconnected node diagrams 620, listening intelligence elements 630 corresponding to the node diagrams 620, and execution intelligence elements 640, and each node diagram 620 is associated with a microservice 52.
In this embodiment, the node graph 620 includes a processing logical node 6201 and a coordinated control node 6202. The snoop intelligence elements 630 and execution intelligence elements 640 configured with the processing logic node 6201 include the data processing logic microservice 520 and input data intelligence elements and/or output intelligence elements associated with the data processing logic microservice 520. The monitored intelligence element 630 and the execution intelligence element 640 configured by the cooperative control node 6202 include the monitored intelligence element and the execution intelligence element of the cooperative control node 6202. Specifically, snoop intelligence element 630 indicates whether the configured data processing logic microservice 520 provides a service, or whether microservice 52 provides a service, and whether the input data intelligence element and/or output data intelligence element required by the configured data processing logic microservice 520 to provide a service is snoop intelligence element 630. The execution intelligence element is used to indicate what service is executed. The visual graphical elements provided by collaborative control interface 60 are icons 61 associated with microservice 52, node graph 620 associated with icons 61, and configuration lines 621 connecting node graphs 620. Configuration lines 621 between node patterns 620 are used to represent a collaborative precedence relationship between two microservices 52. The user may generate a corresponding node graphic 620 by dragging the icon 61. The user may generate a corresponding configuration line 621 to connect between two node patterns 620 by connecting between the two node patterns 620. In addition, the coordinated control interface 60 also provides a configuration window 634 for configuring listening intelligence elements 630 and executing intelligence elements 640.
Referring to fig. 8 and 9 in combination, since the microservices and the intelligence elements of each microservice are stored in a tree data structure, and since the interception intelligence elements 630 and the execution intelligence elements 640 of the cooperative control microservice 522 are stored in a tree data structure and are arranged such that the intelligence elements of the microservices and each microservice are stored in a tree data structure, the data storage structure of the interception intelligence elements 630 and the execution intelligence elements 640 of the cooperative control microservice 522 is also a tree data structure.
Step S703, parsing the cooperative control diagram 62 configured by the user to form cooperative rule configuration information. In this embodiment, the cooperative rule configuration information shown in the cooperative control diagram 62 is parsed according to a preset parsing rule, that is, the preset rule is a mapping/corresponding/association rule between the cooperative control diagram 62 and the micro service 52. For example, node graph 620 in the coordinated control diagram 62 is used to indicate that the micro-service 52 needs to be coordinated. The snoop intelligence element 630 and the execution intelligence element 640 configured by the graph node 620 are used to represent coordination conditions and execution events of the coordinated microservices 52.
Fig. 5a, 8-10 schematically illustrate the storage structure of the cooperative control microservice. FIG. 10 schematically illustrates a method flow diagram for configuring snoop intelligence elements and execute intelligence elements of a tree data structure of a cooperative control microservice. The cooperative control software development method further comprises the following steps.
In step S1001, the cooperative control creation interface 70 is provided, and the cooperative control creation interface 70 includes the cooperative creation window 72 that restricts the user from configuring the cooperative control microservice 522 using the tree structure.
In step S1003, if the cooperative control microservice configured by the user is in the first tree structure, the cooperative control microservice created by the user is stored as the microservice tree T1 in the first tree data storage structure.
Referring now to FIG. 11, a flow diagram is shown illustrating a data processing logic microserver development method for generating a data processing logic microserver 520 from a base service having a coordinating control microserver 522. Namely, the cooperative control software development method also comprises a data processing logic microservice development method. The data processing logic micro-service development method comprises the following steps.
In step S1101, a plurality of instruction programming statement frameworks are provided. In this embodiment, the instruction programming statement framework is a programming statement, i.e., a syntax structure, for which the in-call and out-call are not configured. The instruction programming statement framework includes, but is not limited to, instruction programming statement frameworks such as register statements, assignment statements, judgment statements, and call statements.
Step S1103, obtaining data processing logic configuration information input by the user, where the processing logic configuration information includes an instruction programming statement frame required for configuration, a data intelligence element required for the instruction programming statement frame, and/or an association relationship between the instruction programming statement frames. In the present embodiment, the logic configuration information may be processed by graphically configuring data. In some possible embodiments, the data processing logic configuration information may also be input in an encoded manner.
Step S1105, creating one or more data processing logic micro services stored by using the tree data structure according to the configuration information of the data processing logic, wherein the data processing logic micro services include an instruction processing logic micro service and/or a block processing logic service formed by a plurality of instruction processing logic micro services interconnected according to the incidence relation. It will be appreciated that the instruction processing logic microservice includes an instruction programming statement framework, i.e., instruction programming statements, that configures input data intelligence elements and output data intelligence elements. The block processing logic service comprises a program block formed by arranging a plurality of instruction programming statements according to a certain sequence.
Referring to fig. 5a-5b, 12-13 in conjunction, fig. 12 is a flow chart illustrating an exemplary method for obtaining user-entered data processing logic configuration information. Fig. 4b and 13 are schematic diagrams illustrating user interfaces corresponding to methods for configuring information by using data processing logic. In this embodiment, the data processing logic configuration information provides a data processing logic configuration interface 80 including visual graphical elements for a user to configure a visual data processing logic diagram 82. Specifically, step S1103 includes the following steps.
In step S1201, a data processing logic configuration interface 80 is provided for a user to configure a data processing logic diagram 82, the data processing logic diagram 82 includes one or more interconnected node diagrams 820, input data intelligence elements and output data intelligence elements 822 corresponding to the node diagrams 820, and each node diagram 820 is associated with an instruction programming statement framework or a combination framework.
In the present embodiment, the node graph 820 includes an instruction processing logical framework node 8202 and a block processing logical framework node 8204. The input data intelligence and output data intelligence element 822 is used to indicate input data and output data required for the configured instruction programming statement framework node 8202 or logic body framework node 8204. The logical body framework node 8204 refers to a block framework of executable business data processing logic formed using a programming statement framework configuration. The visual graphical elements include icons 830 associated with instruction programming statements or logics, node graphs 820 associated with the icons 830, and configuration lines 840 connecting between the node graphs 820. The configuration lines 840 between the node graphs 820 are used to represent the precedence relationships between instruction programming statement frameworks and/or logic volumes.
The data processing logic configuration interface 80 also provides a configuration interface 850 that configures the input and output data intelligence elements 822. Specifically, the configuration interface 850 includes a configuration window 823 that restricts the input data intelligence elements and output data intelligence elements configured by the user to a tree structure. If the input data information elements and the output data information elements arranged by the user are in the second tree structure T2, the input data information elements and the output data information elements arranged by the user are stored in the information tree of the second tree data structure T2.
Step S1203, parsing the processing logic schematic diagram configured by the user to form data processing logic configuration information. In this embodiment, the processing logic diagram is analyzed according to a preset rule to form data processing logic configuration information, that is, the preset rule is a mapping/corresponding/association rule between the processing logic diagram 82 and the data processing logic microservice 520. For example, node graph 820 in processing logic diagram 82 is used to represent that collaboration of data processing logic microservice 520 is required. The node pattern 820 is configured with input information elements and output information elements for representing the input information elements and output information elements required by the data processing logic microservice 520.
Turning to fig. 4a and 4b, schematic diagrams of data processing logic microservice storage architectures are illustrated. In this embodiment, the method for developing a micro service of data processing logic further includes: step 1401, providing a data processing logic creation interface 90, wherein the data processing logic creation interface 90 comprises a processing logic creation window 91 for limiting the data processing logic microservice created by the user to be in a tree structure; in step S1403, if the data processing logic microservices configured by the user are in the third tree structure T3, the data processing logic microservices created by the user are stored as the service tree T3 stored in the third tree structure.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product.
The computer program product includes one or more computer instructions. The procedures or functions according to the embodiments of the invention are all or partially generated when the computer program instructions are loaded and executed on a computer. The computer apparatus may be a general purpose computer, a special purpose computer, a network of computers, or other programmable devices. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can store or a data storage device, such as a server, a data center, etc., that is integrated with one or more available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the unit is only one logical functional division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or 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 unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes 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 of the embodiments of the present application. And the aforementioned storage medium includes: a U disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It should be noted that the above-mentioned numbers of the embodiments of the present invention are merely for description, and do not represent the merits of the embodiments. And the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, apparatus, article, or method that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, apparatus, article, or method. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, apparatus, article, or method that includes the element.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention, and all equivalent structures or equivalent processes performed by the present invention or directly or indirectly applied to other related technical fields are also included in the scope of the present invention.

Claims (9)

1. A cooperative control software development method based on service implementation is characterized by comprising the following steps:
providing a microservice, the microservice comprising program code configured with input data information elements and output data information elements;
acquiring cooperative rule configuration information, wherein the cooperative rule configuration information comprises cooperative micro services, and monitoring information elements and execution information elements required for realizing the cooperation of each micro service, and the acquiring of the cooperative rule configuration information comprises the following steps: providing a cooperative control configuration interface for a user to configure a cooperative control schematic diagram, wherein the cooperative control schematic diagram comprises one or more interconnected node graphs and monitoring information elements and execution information elements corresponding to the node graphs, each node graph is associated with one micro service, and when the cooperative control schematic diagram is a plurality of interconnected node graphs, the input of the micro service corresponding to one node graph is the output of the micro service corresponding to another node graph, namely one micro service triggers the next micro service;
analyzing the cooperative control schematic diagram configured by the user to form the cooperative rule configuration information;
generating one or more corresponding cooperative control microservices according to the cooperative rule configuration information, wherein each cooperative control microservice comprises one cooperative node or a plurality of interconnected cooperative nodes, each cooperative node is configured with a monitoring information element and an execution information element, the monitoring information element or the execution information element comprises a microservice related to the cooperative node and/or an input data information element of the related microservice and/or the output data information element of the related microservice, and the monitoring information element represents whether the configured microservice provides services and whether the input data information element and/or the output data information element required when the configured microservice provides services is the monitoring information element; the execution intelligence element is used to indicate what service is executed.
2. The cooperative control software development method according to claim 1, wherein each of said microservices is a microservice tree stored using a tree data structure; the input data information elements and the output data information elements of each microservice are stored by using a corresponding tree data storage structure to form an information tree.
3. The collaborative control software development method of claim 2, wherein the microservice tree comprises a collaborative control microservice tree, the collaborative control software development method further comprising:
providing the cooperative control creation interface, wherein the cooperative control creation interface comprises a cooperative creation window for limiting a user to configure a cooperative control microservice by using a tree structure;
and if the cooperative control micro service configured by the user is in the first tree structure, storing the cooperative control micro service created by the user into a micro service tree stored by using the first tree data structure.
4. The collaborative control software development method of claim 2, wherein the microservice comprises a data processing logic microservice, the collaborative control software development method further comprising:
providing a plurality of instruction programming statement frameworks;
acquiring data processing logic configuration information input by a user, wherein the microservice configuration information comprises an instruction programming statement frame required by configuration, a data intelligence element required by the instruction programming statement frame and/or an incidence relation between instruction coding statement frames;
creating one or more data processing logic micro services stored by using a tree data structure according to the data processing logic configuration information, wherein the data processing logic micro services comprise instruction processing logic and/or block processing logic formed by interconnecting a plurality of instruction processing logic according to the incidence relation; the instruction processing logic includes an instruction programming statement framework and input data intelligence elements and output data intelligence elements associated with the instruction programming statement framework.
5. The collaborative control software development method of claim 4, wherein the microservice tree comprises a process logic microservice tree, the collaborative control software development method further comprising:
providing a data processing logic creation interface comprising a processing logic creation window that restricts the data processing logic microservices created by a user to a tree structure;
and if the data processing logic micro service configured by the user is in a second tree structure, storing each data processing logic micro service created by the user into a service tree stored by using the second tree data structure.
6. The cooperative control software development method according to claim 5, further comprising:
providing a data processing logic configuration interface, wherein the data processing logic creation interface comprises a configuration window which limits input data information elements and output data information elements configured by a user into a tree structure;
and if the input data information elements and the output data information elements configured by the user are in a third tree structure, storing the input data information elements and the output data information elements configured by the user into an information tree stored by using the third tree structure.
7. The collaborative control software development method of claim 1, wherein the micro-services include data processing logic micro-services and/or collaborative control micro-services; or the cooperative nodes comprise a listening node and a traveling node.
8. A computer device, characterized in that the computer device comprises:
a memory for storing a computer executable program; and
a processor for executing the executable program to implement the cooperative control software development method as claimed in any one of claims 1 to 7.
9. A storage medium for storing a computer-executable program for execution by a processor to implement the collaborative control software development method according to any one of claims 1 to 7.
CN202010367070.6A 2020-04-30 2020-04-30 Service implementation-based cooperative control software development method, computer device and storage medium Active CN113590170B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010367070.6A CN113590170B (en) 2020-04-30 2020-04-30 Service implementation-based cooperative control software development method, computer device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010367070.6A CN113590170B (en) 2020-04-30 2020-04-30 Service implementation-based cooperative control software development method, computer device and storage medium

Publications (2)

Publication Number Publication Date
CN113590170A CN113590170A (en) 2021-11-02
CN113590170B true CN113590170B (en) 2022-09-30

Family

ID=78237582

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010367070.6A Active CN113590170B (en) 2020-04-30 2020-04-30 Service implementation-based cooperative control software development method, computer device and storage medium

Country Status (1)

Country Link
CN (1) CN113590170B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108259243A (en) * 2018-01-12 2018-07-06 深圳市卓讯信息技术有限公司 Data processing method, terminal and computer storage media based on micro services Technical Architecture
CN108762769A (en) * 2018-06-04 2018-11-06 万惠投资管理有限公司 Micro services application layout and dispositions method, device and terminal
CN109614092A (en) * 2018-10-23 2019-04-12 深圳壹账通智能科技有限公司 Atomic service method of combination and device, electronic equipment based on micro services framework
CN110347421A (en) * 2019-05-31 2019-10-18 上海芯与网络科技有限公司 A kind of graphical interface allocation engine based on micro services
CN110532020A (en) * 2019-09-04 2019-12-03 中国工商银行股份有限公司 A kind of data processing method of micro services layout, apparatus and system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10735509B2 (en) * 2018-01-31 2020-08-04 Ca, Inc. Systems and methods for synchronizing microservice data stores
CN108681451A (en) * 2018-05-14 2018-10-19 浪潮软件集团有限公司 Visual kubernets micro-service arrangement implementation method
CN109308582A (en) * 2018-09-25 2019-02-05 中国兵器装备集团自动化研究所 A kind of manufacturing execution system framework based on modularization Yu serviceization
US11055192B2 (en) * 2018-09-27 2021-07-06 International Business Machines Corporation Logging implementation in micro-service applications
CN111078315B (en) * 2019-12-12 2020-12-08 拉扎斯网络科技(上海)有限公司 Microservice arranging and executing method and system, architecture, equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108259243A (en) * 2018-01-12 2018-07-06 深圳市卓讯信息技术有限公司 Data processing method, terminal and computer storage media based on micro services Technical Architecture
CN108762769A (en) * 2018-06-04 2018-11-06 万惠投资管理有限公司 Micro services application layout and dispositions method, device and terminal
CN109614092A (en) * 2018-10-23 2019-04-12 深圳壹账通智能科技有限公司 Atomic service method of combination and device, electronic equipment based on micro services framework
CN110347421A (en) * 2019-05-31 2019-10-18 上海芯与网络科技有限公司 A kind of graphical interface allocation engine based on micro services
CN110532020A (en) * 2019-09-04 2019-12-03 中国工商银行股份有限公司 A kind of data processing method of micro services layout, apparatus and system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Distributed software development of a cloud solution for collaborative manufacturing networks;Dan Bendas等;《2017 International Conference on Engineering, Technology and Innovation (ICE/ITMC)》;20180205;第741-749页 *
基于微服务架构的铁路招标采购管理***研究及设计;陶承;《铁路计算机应用》;20190225;第28卷(第2期);第49-52、55页 *

Also Published As

Publication number Publication date
CN113590170A (en) 2021-11-02

Similar Documents

Publication Publication Date Title
CN109460664B (en) Risk analysis method and device, electronic equipment and computer readable medium
US20170372442A1 (en) Healthcare workflow system
US10929567B2 (en) Parallel access to running electronic design automation (EDA) application
US9104774B2 (en) Consistent web application presentation
US11803466B2 (en) Codeless logging in an integration platform
WO2021217661A1 (en) Method and platform for implementing graphical code-free software development, computer device and storage medium
CN113590104A (en) Platform and method for realizing graphical code-free software development, computer equipment and storage medium
WO2019075845A1 (en) Construction method and device for link call relationship, computer device and storage medium
US9280407B2 (en) Program development in a distributed server environment
US9317947B2 (en) Graphical user interface for efficiently visualizing multiple messages of different severities in a tabular format
CN115145560A (en) Business orchestration method, device, equipment, computer readable medium and program product
US20200249914A1 (en) Flow analysis in an integration platform
CN113590170B (en) Service implementation-based cooperative control software development method, computer device and storage medium
WO2021217655A1 (en) Software development cooperative control method implemented on basis of service, and computer device and storage medium
US20180150786A1 (en) Efficient task planning using past performance
CN113966502A (en) Graphical code-free programming method, computer equipment and storage medium
US20200210245A1 (en) Method and device for aiding decision-making for the allocation of computing means on a high performance computing infrastructure
US11132374B2 (en) Property painter
WO2021217656A1 (en) Method for rapidly developing software, computer device and storage medium
US20230333882A1 (en) Systems and methods for creating workflows by chaining microapps in a workspace platform
CN113590087A (en) Method for quickly developing software, computer equipment and storage medium
CN113590085B (en) Processing method of multi-source heterogeneous data, computer equipment and storage medium
WO2021217657A1 (en) Software rapid development method, computer device, and storage medium
CN113590086B (en) Method for rapidly developing software, computer device and storage medium
JP2023093354A (en) Cloud triggers for scheduling robots

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