CN115277745A - Service bus arrangement system and method supporting asynchronous scheduling - Google Patents

Service bus arrangement system and method supporting asynchronous scheduling Download PDF

Info

Publication number
CN115277745A
CN115277745A CN202210721784.1A CN202210721784A CN115277745A CN 115277745 A CN115277745 A CN 115277745A CN 202210721784 A CN202210721784 A CN 202210721784A CN 115277745 A CN115277745 A CN 115277745A
Authority
CN
China
Prior art keywords
service
arrangement
node
message
calling
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210721784.1A
Other languages
Chinese (zh)
Inventor
边耐政
刘旺
尹晋文
张小刚
王绍源
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hunan University
Original Assignee
Hunan University
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 Hunan University filed Critical Hunan University
Priority to CN202210721784.1A priority Critical patent/CN115277745A/en
Publication of CN115277745A publication Critical patent/CN115277745A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks

Abstract

The invention discloses a service bus arranging system supporting asynchronous scheduling, which comprises: the visual arrangement platform is used for providing a client interface for arrangement service of developers; the service calling layer is used for calling each service in the arrangement; the message callback layer is used for receiving callback messages; and the message analysis layer is used for analyzing the call return message after the service call. The invention also provides a service bus arranging method supporting asynchronous scheduling. The invention has the following beneficial effects: simultaneously, the support of synchronous requests and asynchronous requests is supported, and the service bus arrangement capacity is further expanded; the service arrangement scenes are enriched, and more scenes can use the service arrangement; the secondary development in the programming of the industrial robot is reduced, the workload of developers is further reduced, and the working efficiency is improved.

Description

Service bus arrangement system and method supporting asynchronous scheduling
[ technical field ] A method for producing a semiconductor device
The invention relates to the technical field of computer software development, in particular to a service bus arranging system and method supporting asynchronous scheduling.
[ background ] A method for producing a semiconductor device
With the rapid development of industrial manufacturing, "smart manufacturing" has penetrated deep into enterprise production, and industrial robots have been able to replace manual production in many scenarios. Service orchestration techniques can combine existing encapsulated single service permutations into larger services without the need for manual programming, thereby reducing the workload of service development. However, the current service arrangement aims at the arrangement of synchronous calling, and no support is provided for the asynchronous calling mode of part of industrial robots. How to integrate the asynchronous call mode into the service bus orchestration system is an urgent problem to be solved.
[ summary of the invention ]
The invention discloses a service bus arrangement system and method supporting asynchronous scheduling, which receive asynchronous callback messages through a message callback-based mode and support asynchronous scheduling arrangement, thereby expanding the arrangement capacity of a service bus, simplifying the programming development process of industrial robot development, further reducing the development workload, and further solving the technical problems related to the background technology.
In order to realize the purpose, the technical scheme of the invention is as follows:
a service bus orchestration system that supports asynchronous scheduling, comprising:
the visual arrangement platform is used for providing a client interface for arrangement service of developers;
the service calling layer is used for calling each service in the arrangement;
the message callback layer is used for receiving callback messages;
and the message analysis layer is used for analyzing the call return message after the service call.
As a preferred refinement of the present invention, the visualization orchestration platform comprises two data structures representing orchestration logic information, nodeList and routeList.
As a preferred improvement of the present invention, the nodeList stores node information, where the node information includes a node ID, a node name, node parameter information, and a node type; the routeList stores routing information of the nodes, which is used for representing the direct relationship of the nodes, and the routing information comprises the ID of the previous node, the ID of the next node and the service address of the node.
As a preferable improvement of the present invention, the node parameter information includes a parameter name, a parameter value, and a parameter type.
As a preferred improvement of the present invention, the message callback layer registers a listener for receiving Znode data change in the Zookeeper.
The invention also provides a service bus arrangement method supporting asynchronous scheduling based on the service bus arrangement system supporting asynchronous scheduling, which comprises the following steps:
for the service of synchronous call:
selecting node types on a visual arrangement platform, wherein the node types comprise synchronous calling and asynchronous calling, and inputting parameter information of services;
step two, after selecting the nodes needing arranging service, connecting the nodes to form an arranging sequential logic;
step three, starting the arrangement service;
step four, the service calling layer calls the service according to the arrangement logic;
analyzing the data of the message callback layer by the message analysis layer, and determining the next calling service according to the callback message;
for asynchronously invoked services:
selecting a node type on a visual arrangement platform, wherein the node type comprises synchronous calling and asynchronous calling, and inputting parameter information of service;
step two, after selecting the nodes needing arranging service, connecting the nodes to form an arranging sequential logic;
step three, starting the arrangement service;
step four, the service calling layer calls the service according to the arrangement logic;
step five, the message callback layer waits for receiving callback messages;
and step six, the message analysis layer analyzes the data of the message callback layer and determines the next step of calling service according to the callback message.
The invention has the following beneficial effects:
1. simultaneously, the support of synchronous requests and asynchronous requests is supported, and the service bus arrangement capacity is further expanded;
2. the method enriches the scenes for arranging the service, and has more scenes for arranging the service;
3. the secondary development in the industrial robot programming is reduced, the workload of developers is further reduced, and the working efficiency is improved.
[ description of the drawings ]
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without inventive efforts, wherein:
FIG. 1 is a block diagram of a service bus orchestration system supporting asynchronous scheduling according to the present invention;
FIG. 2 is an interface diagram of the visualization orchestration platform according to the present invention.
[ detailed description ] embodiments
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In addition, the technical solutions in the embodiments of the present invention may be combined with each other, but it must be based on the realization of those skilled in the art, and when the technical solutions are contradictory or cannot be realized, such a combination of technical solutions should not be considered to exist, and is not within the protection scope of the present invention.
Referring to fig. 1 and 2, the present invention provides a service bus orchestration system supporting asynchronous scheduling, including a visualization orchestration platform, a service call layer 1, a message callback layer 2, and a message parsing layer 3.
The visualization orchestration platform is configured to provide a client interface for developers to orchestrate services, and specifically, as shown in fig. 2, on the left side, there are service components (i.e., nodes) that are basic nodes for orchestration, where each node represents a service; the right side is a blank for arrangement by a user, and the user can select nodes on the left side and then connect the nodes and input parameter information on the right side to form arrangement logic.
Further, the visualization arrangement platform comprises a nodeList and a routeList which represent data structures for arranging logic information, wherein the nodeList stores node information, and the node information comprises a node ID, a node name, node parameter information and a node type; the routeList stores routing information of the nodes, which is used for representing the direct relationship of the nodes, and the routing information comprises the ID of the previous node, the ID of the next node and the service address of the node.
As a preferable improvement of the present invention, the node parameter information includes a parameter name, a parameter value, and a parameter type
The service calling layer 1 is used for calling each service in the arrangement.
The message callback layer 2 is configured to receive a callback message, and specifically, the message callback layer 2 has a main function of waiting for receiving the callback message, and meanwhile, a service belonging to the same flow should wait for receiving a callback message of a previous service, and a service not belonging to the same flow may continue to execute the scheduling logic without waiting. The system selects and uses the Zookeeper as a component for receiving and storing the callback message, and the Zookeeper is a distributed application program coordination service with a distributed and open source code and can be used for unified configuration management, unified naming service, distributed locks and cluster management. Meanwhile, the Zookeeper can monitor the data change and the increase and decrease change of Znode in the Zookeeper by matching with the monitor of the Zookeeper. Therefore, for the asynchronously called service, after the system calls the asynchronously called service, the message callback layer registers a listener to the Zookeeper to wait for the asynchronously called callback message. Meanwhile, the message callback layer provides an external callback interface to receive callback messages of the asynchronous call service. And after receiving the callback message, the callback receiving interface writes the callback message into the Znode of the Zookeeper. At this time, the listener registered in the message callback layer will receive the Znode data change (i.e. receive the callback message), and then the service call of the next step can be advanced.
The message parsing layer 3 is used for parsing the call return message after the service call.
The invention also provides a service bus arranging method supporting asynchronous scheduling based on the service bus arranging system supporting asynchronous scheduling, which comprises the following steps:
for the service of synchronous call:
selecting node types on a visual arrangement platform, wherein the node types comprise synchronous calling and asynchronous calling, and inputting parameter information of services;
step two, after selecting the nodes needing arranging service, connecting the nodes to form an arranging sequential logic;
step three, starting the arrangement service;
step four, the service calling layer calls the service according to the arrangement logic;
analyzing the data of the message callback layer by the message analysis layer, and determining the next calling service according to the callback message;
for asynchronously invoked services:
selecting node types on a visual arrangement platform, wherein the node types comprise synchronous calling and asynchronous calling, and inputting parameter information of services;
secondly, connecting the nodes after the nodes needing arranging service are selected to form arranging sequential logic;
step three, starting the arrangement service;
step four, the service calling layer calls the service according to the arrangement logic;
step five, the message callback layer waits for receiving callback messages;
and step six, the message analysis layer analyzes the data of the message callback layer and determines the next step of calling service according to the callback message.
The service bus arranging system supporting asynchronous scheduling has the advantages that:
1. simultaneously, the support of synchronous requests and asynchronous requests is supported, and the service bus arrangement capacity is further expanded;
2. the service arrangement scenes are enriched, and more scenes can use the service arrangement;
3. the secondary development in the industrial robot programming is reduced, the workload of developers is further reduced, and the working efficiency is improved.
While embodiments of the invention have been disclosed above, it is not limited to the applications set forth in the specification and the embodiments, which are fully applicable to various fields of endeavor for which the invention pertains, and further modifications may readily be made by those skilled in the art, it being understood that the invention is not limited to the details shown and described herein without departing from the general concept defined by the appended claims and their equivalents.

Claims (6)

1. A service bus orchestration system supporting asynchronous scheduling, comprising:
the visual arrangement platform is used for providing a client interface for arrangement service of developers;
the service calling layer is used for calling each service in the arrangement;
the message callback layer is used for receiving callback messages;
and the message analysis layer is used for analyzing the call return message after the service call.
2. The system of claim 1, wherein the visual orchestration platform comprises two data structures representing orchestration logic information, nodeList and routeList.
3. The service bus orchestration system supporting asynchronous scheduling according to claim 2, wherein the nodeList stores therein node information, the node information comprising a node ID, a node name, node parameter information, and a node type; the routeList stores routing information of the nodes, which is used for representing the direct relationship of the nodes, and the routing information comprises the ID of the previous node, the ID of the next node and the service address of the node.
4. The service bus orchestration system supporting asynchronous scheduling according to claim 3, wherein the node parameter information comprises parameter name, parameter value, and parameter type.
5. The service bus orchestration system supporting asynchronous scheduling according to claim 1, wherein the message callback layer registers a listener for receiving Znode data changes in a Zookeeper.
6. A service bus orchestration method supporting asynchronous scheduling based on the service bus orchestration system supporting asynchronous scheduling of any one of claims 1-5, the method comprising the steps of:
for the service of synchronous call:
selecting node types on a visual arrangement platform, wherein the node types comprise synchronous calling and asynchronous calling, and inputting parameter information of services;
secondly, connecting the nodes after the nodes needing arranging service are selected to form arranging sequential logic;
step three, starting the arrangement service;
step four, the service calling layer calls the service according to the arrangement logic;
analyzing the data of the message callback layer by the message analysis layer, and determining the next calling service according to the callback message;
for asynchronously invoked services:
selecting node types on a visual arrangement platform, wherein the node types comprise synchronous calling and asynchronous calling, and inputting parameter information of services;
step two, after selecting the nodes needing arranging service, connecting the nodes to form an arranging sequential logic;
step three, starting the arrangement service;
step four, the service calling layer calls the service according to the arrangement logic;
step five, the message callback layer waits for receiving callback messages;
and step six, the message analysis layer analyzes the data of the message callback layer and determines the next step of calling service according to the callback message.
CN202210721784.1A 2022-06-24 2022-06-24 Service bus arrangement system and method supporting asynchronous scheduling Pending CN115277745A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210721784.1A CN115277745A (en) 2022-06-24 2022-06-24 Service bus arrangement system and method supporting asynchronous scheduling

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210721784.1A CN115277745A (en) 2022-06-24 2022-06-24 Service bus arrangement system and method supporting asynchronous scheduling

Publications (1)

Publication Number Publication Date
CN115277745A true CN115277745A (en) 2022-11-01

Family

ID=83761986

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210721784.1A Pending CN115277745A (en) 2022-06-24 2022-06-24 Service bus arrangement system and method supporting asynchronous scheduling

Country Status (1)

Country Link
CN (1) CN115277745A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050027871A1 (en) * 2003-06-05 2005-02-03 William Bradley Interoperable systems and methods for peer-to-peer service orchestration
CN101184056A (en) * 2007-12-04 2008-05-21 浙江大学 Distributed enterprise service bus message switching method
US20110302254A1 (en) * 2010-06-04 2011-12-08 Xiben New Line Stock Co., Ltd. Enterprise service bus and message processing method thereof
CN106484548A (en) * 2016-10-20 2017-03-08 济南浪潮高新科技投资发展有限公司 A kind of choreography request response processing method based on asynchronism callback mechanism
CN112243032A (en) * 2020-10-15 2021-01-19 江苏云坤信息科技有限公司 Service calling method and system based on access gateway
WO2021056813A1 (en) * 2019-09-28 2021-04-01 同程网络科技股份有限公司 Distributed asynchronous remote service arrangement and calling system and method
CN112929431A (en) * 2021-02-01 2021-06-08 深圳市科漫达智能管理科技有限公司 Message synchronous and asynchronous response conversion method and device based on micro-service framework
CN114143191A (en) * 2021-11-30 2022-03-04 招商局金融科技有限公司 Distributed gateway-based micro-service arranging method and device and related equipment
CN114595075A (en) * 2020-12-04 2022-06-07 中盈优创资讯科技有限公司 Network scheduling asynchronous task execution method based on distributed scheduling

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050027871A1 (en) * 2003-06-05 2005-02-03 William Bradley Interoperable systems and methods for peer-to-peer service orchestration
CN101184056A (en) * 2007-12-04 2008-05-21 浙江大学 Distributed enterprise service bus message switching method
US20110302254A1 (en) * 2010-06-04 2011-12-08 Xiben New Line Stock Co., Ltd. Enterprise service bus and message processing method thereof
CN106484548A (en) * 2016-10-20 2017-03-08 济南浪潮高新科技投资发展有限公司 A kind of choreography request response processing method based on asynchronism callback mechanism
WO2021056813A1 (en) * 2019-09-28 2021-04-01 同程网络科技股份有限公司 Distributed asynchronous remote service arrangement and calling system and method
CN112243032A (en) * 2020-10-15 2021-01-19 江苏云坤信息科技有限公司 Service calling method and system based on access gateway
CN114595075A (en) * 2020-12-04 2022-06-07 中盈优创资讯科技有限公司 Network scheduling asynchronous task execution method based on distributed scheduling
CN112929431A (en) * 2021-02-01 2021-06-08 深圳市科漫达智能管理科技有限公司 Message synchronous and asynchronous response conversion method and device based on micro-service framework
CN114143191A (en) * 2021-11-30 2022-03-04 招商局金融科技有限公司 Distributed gateway-based micro-service arranging method and device and related equipment

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
张光宇;应时;贾向阳;骆慧;: "元数据驱动的多样化服务的混合编排方法", 计算机应用研究, no. 03 *
李飞: "Web服务异步调用的研究与实现", 微机发展, no. 11 *
袁珊;黄淑敏;喻乐平;: "基于ESB的各系统服务编排解决方案", 电子世界, no. 09 *
袁珊;黄淑敏;喻乐平;: "基于ESB的各系统服务编排解决方案", 电子世界, no. 09, 8 May 2019 (2019-05-08) *
马聪: "基于OSB的企业服务总线平台设计与实现", 山西电子技术 *

Similar Documents

Publication Publication Date Title
JPH08314836A (en) Managing service object providing method
CN113298503A (en) Government affair-oriented workflow management system and database and table dividing method thereof
CN110764752B (en) System and method for realizing graphic service arrangement of Restful service
WO2021139778A1 (en) System scheduling workflow generation method, system, apparatus, and computer readable storage medium
CN110633959A (en) Method, device, equipment and medium for creating approval task based on graph structure
CN111522840B (en) Label configuration method, device, equipment and computer readable storage medium
CN110704099B (en) Alliance chain construction method and device and electronic equipment
CN115277745A (en) Service bus arrangement system and method supporting asynchronous scheduling
CN111309558B (en) Method, device, equipment and storage medium for collecting vue event data in frame
CN111290868B (en) Task processing method, device and system and flow engine
CN110109912A (en) A kind of identifier generation method and device
CN113098960A (en) Service operation method, device, server and storage medium
CN112180817B (en) Method, device, equipment and storage medium for transforming ladder diagram into binary tree
Filippone et al. Towards the synthesis of context-aware choreographies
CN112506497B (en) Data processing method and data processing system
CN117076508B (en) Method for supporting batch data processing by stream data processing system
CN114237837B (en) Program calling method, program calling device, program calling equipment and computer readable storage medium
CN112995304B (en) Method and device for processing routing service node by two-stage distributed transaction
WO2023207213A1 (en) Data processing method, and apparatus
CN116756460A (en) Combined data acquisition method and device and related equipment
CN117111894A (en) Method for converting data based on ETL module of low code development
CN116628917A (en) Control flow modeling and fault recovery method based on hierarchical level
CN116991562A (en) Data processing method and device, electronic equipment and storage medium
CN115421710A (en) LVC-DE distributed synthesis environment and DDS system data exchange method
CN115437623A (en) Process engine implementation method and tool based on office software

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