CN113407176A - Visual service arrangement method and device - Google Patents

Visual service arrangement method and device Download PDF

Info

Publication number
CN113407176A
CN113407176A CN202110706297.3A CN202110706297A CN113407176A CN 113407176 A CN113407176 A CN 113407176A CN 202110706297 A CN202110706297 A CN 202110706297A CN 113407176 A CN113407176 A CN 113407176A
Authority
CN
China
Prior art keywords
service
component
type
target
target arrangement
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
CN202110706297.3A
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.)
Shanghai Zhongtongji Network Technology Co Ltd
Original Assignee
Shanghai Zhongtongji Network 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 Shanghai Zhongtongji Network Technology Co Ltd filed Critical Shanghai Zhongtongji Network Technology Co Ltd
Priority to CN202110706297.3A priority Critical patent/CN113407176A/en
Publication of CN113407176A publication Critical patent/CN113407176A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/10Requirements analysis; Specification techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/35Creation or generation of source code model driven
    • 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)
  • Information Transfer Between Computers (AREA)

Abstract

The invention relates to a visual service arranging method and device. The method comprises the following steps: receiving a service request instruction sent by a client; determining the service content and the service type contained in the service request instruction; determining the type of the target arrangement component according to the service type; calling a target arrangement component in the target arrangement component type according to the service content; and combining all the target arrangement components to obtain a service system required by the client. According to the method, the service arrangement is carried out through the visual arrangement tool, repeated program development is not needed, and the production and research efficiency is improved.

Description

Visual service arrangement method and device
Technical Field
The invention relates to the technical field of visualization arrangement, in particular to a visualization service arrangement method and device.
Background
With the deep development of the internet industry, a new industry trend appears in the field of system research and development, wherein a low-code platform is also one of the industry trends, and the visualized service arrangement can reduce the code amount and improve the production and research efficiency.
In the existing system product research and development process, the requirement for business is generally completed in a coding mode, and the same is true when a plurality of services are needed, so that the existing technical scheme causes that a business party needs to perform joint debugging test with a plurality of service providers, the communication is coordinated, the efficiency is low, and the research and development period is prolonged; in addition, the provider and the user of the service do not establish a clear relationship, which is not beneficial to the governance of the service.
Disclosure of Invention
In view of the above, the present invention provides a method and an apparatus for visually arranging services to overcome the shortcomings of the prior art. The problem of low research and development efficiency of the current business system is solved.
In order to achieve the purpose, the invention adopts the following technical scheme:
a visualization service orchestration method, comprising:
receiving a service request instruction sent by a client;
determining the service content and the service type contained in the service request instruction;
determining the type of a target arrangement component according to the service type;
calling a target arrangement component in the target arrangement component type according to the service content;
and combining all the target arrangement components to obtain a service system required by the client.
Optionally, the service category includes: service traffic and message traffic.
Optionally, the service includes: dubbo service and Http service; the message service comprises: an Event message.
Optionally, the determining the category of the target orchestration component according to the service category includes:
when the service type is the service, the target arrangement component type is a service component; and when the service type is the message service, the target editing component type is a message service component.
Optionally, the service content is identity authentication, and the service type is the service;
the calling of the target arrangement component in the target arrangement component type according to the service content comprises the following steps:
traversing the service business component according to the identity authentication;
and acquiring a corresponding identity verification component in the service business component.
A visualization service orchestration device, comprising:
the service request instruction receiving module is used for receiving a service request instruction sent by a client;
a service content type determining module, configured to determine the service content and the service type included in the service request instruction;
the component type determining module is used for determining the type of the target arrangement component according to the service type;
the target component determining module is used for calling the target arrangement components in the target arrangement component types according to the service contents;
and the target component combination module is used for combining all the target arrangement components to obtain the service system required by the client.
The technical scheme provided by the application can comprise the following beneficial effects:
the application discloses a visual service arranging method and a visual service arranging device, wherein the method comprises the following steps: receiving a service request instruction sent by a client; determining the service content and the service type contained in the service request instruction; determining the type of a target arrangement component according to the service type; calling a target arrangement component in the target arrangement component type according to the service content; and combining all the target arrangement components to obtain a service system required by the client. According to the method, the low-code implementation requirement is realized by calling the service arrangement system, the service arrangement is adjusted at any time to meet the requirement of a business party, version release is not relied on, common service arrangement meets a plurality of business scenes, repeated development is not needed, and the production and research efficiency is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flowchart of a visualization service orchestration method according to an embodiment of the present invention;
FIG. 2 is a block diagram of a visualization service orchestration apparatus according to an embodiment of the present invention;
FIG. 3 is a schematic interface diagram of a service component in a calling service orchestration system according to an embodiment of the present invention;
fig. 4 is a structural diagram of a visualization service orchestration device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be described in detail below. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the examples given herein without any inventive step, are within the scope of the present invention.
Fig. 1 is a flowchart of a visualization service orchestration method according to an embodiment of the present invention. Referring to fig. 1, a visualization service orchestration method comprises:
step 101: and receiving a service request instruction sent by the client.
Step 102: and determining the service content and the service type contained in the service request instruction. The service types include: service traffic and message traffic. The service business comprises the following steps: dubbo service and Http service; the message traffic includes an Event message.
A plurality of service components are pre-constructed in the service orchestration system, and when research and development personnel research and develop products, the service components in the service orchestration system can be directly called according to customer requirements. For example: a Dubbo service component, an http service component. And calling the corresponding service component according to the functional requirements in the programming process.
Step 103: and determining the type of the target arrangement component according to the service type. When the service type is the service, the target arrangement component type is a service component; and when the service type is the message service, the target editing component type is a message service component. And selecting different kinds of arrangement components according to different service kinds.
Step 104: and calling the target arrangement component in the target arrangement component type according to the service content.
Step 105: and combining all the target arrangement components to obtain a service system required by the client.
In order to describe the specific implementation process of the visualization service orchestration method in the present application in more detail, taking a service request as an example of identity verification, the orchestration process is described in detail. The method comprises the following specific steps:
after the research and development personnel know the service requirements of the customers, product research and development can be carried out according to the service requirements of the customers. Firstly, a client sends a service request instruction to a research and development platform, and the service request instruction contains product requirement information of a client, namely target service.
And then, determining that the service is the identity verification of the client according to the service request instruction.
Specifically, the method comprises the following steps: when information interaction is carried out among the systems, the information interaction is realized through request interaction, and when the information interaction is carried out, a request instruction sent by a client side comprises identity information of a sender. In the application, the address information protected in the service request instruction is obtained, then the latitude and longitude analysis is carried out on the address information, and if the address information contains the latitude and longitude information, the relevant operation is directly carried out according to the request of the client. If the address information does not contain latitude and longitude information, the empty set is directly returned to the client, so that the condition that the identity authentication is not passed is indicated, and a service request instruction of the client cannot be corresponded.
When the longitude and latitude resolution is carried out, the longitude and latitude resolution is determined to be service business, and then the longitude and latitude resolution component in the Dubbo service component is adopted to identify the longitude and latitude in the address information. At this time, the corresponding longitude and latitude analysis component in the Dubbo service component is called.
It should be noted that the means used for identifying the latitude and longitude of the address is not limited to the Dubbo service, and may be determined according to the actual situation of service component grouping.
For a more detailed and clear description of the procedure for retrieving service components in the present application, reference will now be made by way of example. Fig. 3 is a schematic interface diagram of a service component in a calling service orchestration system according to an embodiment of the present invention. With reference to figure 3 of the drawings,
and when the service component in the service arranging system is called, determining a target arranging component according to the service content and the service type in the service request instruction. The service request instruction in this embodiment is: the copy shorthand queries for two-hour appointments. Then according to a preset flow: start-call service component-end.
After the execution starts, according to the content of the service request instruction, firstly checking the identity of the client, calling a longitude and latitude analysis component in the Dubbo service at the moment, adding the longitude and latitude analysis component, further carrying out address longitude and latitude analysis through the component, and when carrying out the longitude and latitude analysis, specifically realizing the process as shown in figure 3, setting a specific analysis process on a component configuration interface, wherein the service name is address longitude and latitude analysis, and then needing research and development personnel to select specific services: and the data development platform and the address resolution service are subjected to related setting according to interface requirements, after the setting is finished, the calling of a latitude resolution component in the Dubbo service is finished, and then the latitude and longitude resolution of the address is carried out through the latitude and longitude resolution component. Therefore, the identity verification of the client is realized.
After the longitude and latitude resolution is finished, whether the express hand supports the two-hour reservation is judged, and the function is realized in the following process: firstly, determining whether a service for judging whether the express supports a two-hour reservation belongs to a service, then determining that the request belongs to a Dubbo service in the service, traversing a Dubbo service assembly, searching a functional assembly of a corresponding function for judging whether the express supports the two-hour reservation, and adding the functional assembly to realize the function of judging whether the express supports the two-hour reservation.
Therefore, according to the above implementation process principle, a target arrangement component for "inquiring two-hour reservation" in the service component, a target arrangement component for "acquiring two-hour reservation", and a target arrangement component for "returning to an empty set" in the message component, a target arrangement component for "not supporting two-hour reservation", a target arrangement component for "returning to an uncontrolled amount result", and a target arrangement component for "supporting two-hour reservation" are added.
And then all the target editing components are combined to realize the function of inquiring the two-hour reservation by the copy fast hand.
On the basis of the above embodiment, in the present application, when performing visualization service orchestration, a service request instruction is identified, service content and service type of a client are determined, then a target orchestration component type is determined according to the service type, a target orchestration component in the target orchestration component type is called by using the service content, and then all the target orchestration components are combined to realize a service request of the client. The embodiment improves the research and development efficiency of products and realizes the low code requirement; meanwhile, unified service management and visualization of the relation between a business party and a service provider are realized, service arrangement is adjusted at any time to meet the requirements of the business party, a plurality of business scenes are met without version release and common service arrangement, and repeated development is not needed.
Corresponding to the visual service arranging method provided by the embodiment of the invention, the embodiment of the invention also provides a visual service arranging device. Please see the examples below.
Fig. 2 is a block diagram of a visualization service orchestration apparatus according to an embodiment of the present invention. Referring to fig. 2, a visualization service orchestration device comprises:
a service request instruction receiving module 201, configured to receive a service request instruction sent by a client.
A service content category determining module 202, configured to determine the service content and the service category included in the service request instruction. The service categories include: service traffic and message traffic. The service business comprises the following steps: dubbo service and Http service, the message traffic including: an Event message.
A component type determining module 203, configured to determine a target arrangement component type according to the service type.
And the target component determining module 204 is configured to invoke a target arrangement component in the target arrangement component category according to the service content.
And the target component combination module 205 is configured to combine all the target orchestration components to obtain a service system required by the client.
The component type determining module 203 is specifically configured to: when the service type is the service, the target arrangement component type is a service component; and when the service type is the message service, the target editing component type is a message service component.
The relationship between a service provider and a caller is displayed in a visual form in the device; the service arrangement is completed in a visual form, the business requirements are realized by low codes, and the production efficiency is improved; the business party accesses the service arrangement platform, the platform finishes the visual arrangement of a plurality of services, and the business party does not need to be connected with each party.
In order to more clearly introduce a hardware system for implementing the embodiment of the present invention, an embodiment of the present invention further provides a visualization service orchestration device, which corresponds to the visualization service orchestration method provided by the embodiment of the present invention. Please see the examples below.
Fig. 4 is a structural diagram of a visualization service orchestration device according to an embodiment of the present invention. Referring to fig. 4, a visualization service orchestration device comprises:
a processor 401 and a memory 402 connected to the processor 401;
the memory 402 is used for storing a computer program for at least the visualization service orchestration method described above;
the processor 401 is used to call and execute the computer program in the memory 402.
It is understood that the same or similar parts in the above embodiments may be mutually referred to, and the same or similar parts in other embodiments may be referred to for the content which is not described in detail in some embodiments.
It should be noted that the terms "first," "second," and the like in the description of the present invention are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. Further, in the description of the present invention, the meaning of "a plurality" means at least two unless otherwise specified.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, various steps or methods may be implemented in software or firmware stored in the memory 402 and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory 402, a magnetic or optical disk, etc.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.

Claims (6)

1. A visualization service orchestration method, comprising:
receiving a service request instruction sent by a client;
determining the service content and the service type contained in the service request instruction;
determining the type of a target arrangement component according to the service type;
calling a target arrangement component in the target arrangement component type according to the service content;
and combining all the target arrangement components to obtain a service system required by the client.
2. The method of claim 1, wherein the traffic classes comprise: service traffic and message traffic.
3. The method of claim 1, wherein the service traffic comprises: dubbo service and Http service;
the message service comprises: an Event message.
4. The method of claim 2, wherein determining a target orchestration component class according to the traffic class comprises:
when the service type is the service, the target arrangement component type is a service component;
and when the service type is the message service, the target editing component type is a message service component.
5. The method of claim 4, wherein the service content is authentication, and the service category is the service;
the calling of the target arrangement component in the target arrangement component type according to the service content comprises the following steps:
traversing the service business component according to the identity authentication;
and acquiring a corresponding identity verification component in the service business component.
6. A visualization service orchestration apparatus, comprising:
the service request instruction receiving module is used for receiving a service request instruction sent by a client;
a service content type determining module, configured to determine the service content and the service type included in the service request instruction;
the component type determining module is used for determining the type of the target arrangement component according to the service type;
the target component determining module is used for calling the target arrangement components in the target arrangement component types according to the service contents;
and the target component combination module is used for combining all the target arrangement components to obtain the service system required by the client.
CN202110706297.3A 2021-06-24 2021-06-24 Visual service arrangement method and device Pending CN113407176A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110706297.3A CN113407176A (en) 2021-06-24 2021-06-24 Visual service arrangement method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110706297.3A CN113407176A (en) 2021-06-24 2021-06-24 Visual service arrangement method and device

Publications (1)

Publication Number Publication Date
CN113407176A true CN113407176A (en) 2021-09-17

Family

ID=77683082

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110706297.3A Pending CN113407176A (en) 2021-06-24 2021-06-24 Visual service arrangement method and device

Country Status (1)

Country Link
CN (1) CN113407176A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110310034A (en) * 2019-06-28 2019-10-08 京东数字科技控股有限公司 A kind of service orchestration applied to SaaS, business flow processing method and apparatus
US20190394285A1 (en) * 2018-06-22 2019-12-26 Adp, Llc Devices and methods for enabling communication between a single client computer and multiple different services on a server computer, each service having a different, incompatible client profile
CN111104182A (en) * 2019-12-17 2020-05-05 深圳前海环融联易信息科技服务有限公司 Method and device for quickly arranging business based on componentization, computer equipment and storage medium
CN111966335A (en) * 2020-08-20 2020-11-20 支付宝(杭州)信息技术有限公司 Platform creation method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190394285A1 (en) * 2018-06-22 2019-12-26 Adp, Llc Devices and methods for enabling communication between a single client computer and multiple different services on a server computer, each service having a different, incompatible client profile
CN110310034A (en) * 2019-06-28 2019-10-08 京东数字科技控股有限公司 A kind of service orchestration applied to SaaS, business flow processing method and apparatus
CN111104182A (en) * 2019-12-17 2020-05-05 深圳前海环融联易信息科技服务有限公司 Method and device for quickly arranging business based on componentization, computer equipment and storage medium
CN111966335A (en) * 2020-08-20 2020-11-20 支付宝(杭州)信息技术有限公司 Platform creation method and device

Similar Documents

Publication Publication Date Title
US20120047506A1 (en) Resource abstraction via enabler and metadata
US20070100943A1 (en) Systems and methods for enhanced message support of common model interface
CN113360519A (en) Data processing method, device, equipment and storage medium
CN111209060A (en) Capability development platform processing method and device
US20130304431A1 (en) Automatically asessing maturity of custom application for standard-governed computing environment
CN113553260B (en) Test method, test apparatus, device, and medium
US9760841B2 (en) ABAP Unified connectivity
CN107315672B (en) Method and device for monitoring server
US20130127863A1 (en) Determining an optimal sequence of status transitions for business objects
US20190294974A1 (en) Voice prompt avatar
JP2023510528A (en) Secure Processing of Federated Message Flows in Multitenant Containers
CN113407176A (en) Visual service arrangement method and device
CN110719325A (en) Method and device for responding to user request
CN112491943A (en) Data request method, device, storage medium and electronic equipment
WO2018200167A1 (en) Managing asynchronous analytics operation based on communication exchange
US10282732B2 (en) Analysis of customer feedback for applications executing on distributed computational systems
CN116980526A (en) Method, device and equipment for realizing multi-channel queuing machine applied to converged communication
CN113434382A (en) Database performance monitoring method and device, electronic equipment and computer readable medium
CN113743630A (en) Method and device for executing intelligent call reservation
CN114239511A (en) Method and apparatus for filling data
CN113553379A (en) Data acquisition method and device
CN110955599A (en) Object creation method and device, electronic equipment and computer-readable storage medium
CN108206894B (en) Service processing system, method and device
US11601389B1 (en) Email system with action required and follow-up features
CN113094268B (en) Test method, test device, test equipment and test medium

Legal Events

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