WO2023029509A1 - Dynamic service publishing method and apparatus, and electronic device and storage medium - Google Patents

Dynamic service publishing method and apparatus, and electronic device and storage medium Download PDF

Info

Publication number
WO2023029509A1
WO2023029509A1 PCT/CN2022/087814 CN2022087814W WO2023029509A1 WO 2023029509 A1 WO2023029509 A1 WO 2023029509A1 CN 2022087814 W CN2022087814 W CN 2022087814W WO 2023029509 A1 WO2023029509 A1 WO 2023029509A1
Authority
WO
WIPO (PCT)
Prior art keywords
service
publishing
release
request
node
Prior art date
Application number
PCT/CN2022/087814
Other languages
French (fr)
Chinese (zh)
Inventor
秦露光
Original Assignee
康键信息技术(深圳)有限公司
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 康键信息技术(深圳)有限公司 filed Critical 康键信息技术(深圳)有限公司
Publication of WO2023029509A1 publication Critical patent/WO2023029509A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment

Definitions

  • the present application relates to the field of Internet development, and in particular to a dynamic service publishing method, device, electronic equipment and computer-readable storage medium.
  • Service publishing can be understood as publishing the data resource service of the business provider to a local or remote server, and meeting resource sharing needs in the form of a Web network.
  • Common services include order query service, page search service, and information query service.
  • service publishing is usually to compile the program code of the service to be released by the developer, and release the compiled program code to the server to realize the data sharing of the service to be released, but the inventor realizes that publishing the service in this way will involve A complete set of complex processes (such as pre-forwarding load balancing, domain name application, system construction, monitoring configuration, etc.), when there are a large number of services to be released, it is necessary to configure the process of the services to be released one by one, which will lead to service release. less efficient.
  • this application provides a method for publishing dynamic services, including:
  • the present application also provides a dynamic service release device, which includes:
  • the service request preprocessing module is used to receive the service release request transmitted by the client, query the service data of the service release request, and identify the service function of the service release request;
  • a release template generation module configured to call the functional components that run the service functions, identify the flow relationship of the functional components, create a release node for the service release request according to the process relationship and the functional components, and Constructing a publishing template of the service publishing request in the publishing node;
  • a release file generation module configured to load the service data into the release template to generate a release file for the service release request
  • a service release module configured to upload the release file to a server corresponding to the client, so as to execute the service release requested by the service release through the server.
  • the present application also provides an electronic device, the electronic device comprising:
  • the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor to implement the dynamic service publishing method as follows:
  • the present application also provides a computer-readable storage medium, wherein at least one computer program is stored in the computer-readable storage medium, and the at least one computer program is executed by a processor in an electronic device to implement dynamic service publication as described below method:
  • FIG. 1 is a schematic flowchart of a dynamic service publishing method provided by an embodiment of the present application
  • FIG. 2 is a schematic diagram of modules of a dynamic service release device provided by an embodiment of the present application
  • FIG. 3 is a schematic diagram of the internal structure of an electronic device implementing a method for publishing a dynamic service provided by an embodiment of the present application;
  • An embodiment of the present application provides a method for publishing a dynamic service.
  • the execution subject of the dynamic service publishing method includes but is not limited to at least one of electronic devices such as a server and a terminal that can be configured to execute the method provided by the embodiment of the present application.
  • the dynamic service publishing method can be executed by software or hardware installed on the terminal device or server device, and the software can be a block chain platform.
  • the server includes, but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, and the like.
  • the server can be an independent server, or it can provide cloud service, cloud database, cloud computing, cloud function, cloud storage, network service, cloud communication, middleware service, domain name service, security service, content distribution network (ContentDelivery Network) , CDN), and cloud servers for basic cloud computing services such as big data and artificial intelligence platforms.
  • a method for publishing dynamic services can be used in many general-purpose or special-purpose computer system environments or configurations, such as: personal computers, server computers, handheld devices or portable devices, tablet devices, multi-processor systems, Microprocessor-based systems, set-top boxes, programmable consumer electronics devices, network PCs, minicomputers, mainframe computers, distributed computing environments including any of the above systems or devices, and the like.
  • a dynamic service publishing method of the present application may be described in the general context of computer-executable instructions executed by a computer, such as program modules, generally, the program modules include routines that perform specific tasks or implement specific abstract data types,
  • the programs, objects, components, data structures, etc. can also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network.
  • the program modules may be located in local and remote computer storage media including storage devices.
  • the dynamic service publishing method includes:
  • S1 Receive a service release request transmitted by a client, query service data of the service release request, and identify a service function of the service release request.
  • the client refers to a program that corresponds to the server and provides local services for the client.
  • the client is used to transmit a service release request to the server to realize service delivery.
  • Publishing the service publishing request is generated based on different user needs, such as user A's demand for publishing information query service, and user B's demand for publishing order query service.
  • the service data refers to the application data that loads the service publishing request, such as page data , configuration data, etc.
  • the service function refers to an access function for implementing the service release request, such as a data query function, a data interaction function, and the like.
  • the querying the service data of the service release request includes: obtaining the service object of the service release request and the requirement document of the service release request, and converting the service object into an object field, and query the service data of the object field from the requirement document.
  • the service object refers to the page object that needs to be loaded in the service publishing request, such as page elements, page forms, etc.
  • the requirement document refers to the configuration file constructed before publishing the service, which can represent the service
  • the data resources required for publishing the request such as system architecture, compilation environment, etc.
  • the service data query of the object field can be implemented through query statements, such as SQL statements.
  • the identifying the service function of the service publishing request includes: querying the service event of the service publishing request according to the service object of the service publishing request, and identifying the publishing effect of the service event , and use the release effect as the service function of the service release request.
  • the service event is used to characterize the service type existing in the service release request, such as login event, verification event, etc.
  • the release effect can be understood as the effect that can be achieved when the service event goes online
  • the publishing effect of the verification event can be to verify the legitimacy of the user identity
  • the service function of the verification event can be user identity verification.
  • the subsequent service release request corresponds to the access premise of the service to be released.
  • the functional component refers to the running component used to guarantee the service function.
  • the service function is a data asynchronous processing function
  • the functional component of the data asynchronous processing function can be an MQ component.
  • the service function is an interface call function
  • the functional component of the interface call function can be a Dubbo component
  • the transfer relationship refers to the sequence to be followed when the service is launched in the called function components, such as the MQ component and the Dubbo component
  • the transfer relationship can be as follows: the interface call of the Dubbo component is called first, and then the data of the MQ component is asynchronously processed.
  • the invocation of the functional component can be obtained by accessing the open-source database of the functional component through the URL address, and the creation of the publishing node of the service publishing request can be implemented in a streaming form.
  • the publishing node can be understood as a working node that loads the service publishing request, such as a page configuration node, an interface calling node, and a gateway node. Further, the embodiment of the present application establishes the publishing node of the service publishing request to determine The operation process of the service function in the service release request described later.
  • the calling the functional component running the service function includes: obtaining the address of the external system running the service function, and identifying the interface of the external system running the service function, according to the The address of the external system is used to call the external system interface to obtain the functional component running the service function.
  • the external system address refers to the URL address where the functional component exists
  • the external system interface refers to the connection entry provided by the external system to the third-party platform to call the functional component, such as an API interface.
  • the calling of the external system interface may be implemented through a window function.
  • the identification of the flow relationship of the functional components includes: acquiring the functional attributes of the functional components, determining the dependency relationship of the functional components according to the functional attributes, and The relationship serves as the flow relationship of the functional components.
  • the functional attribute refers to the functional information used to characterize the functional component.
  • the dependency relationship between the functional components can be clarified, and the dependency relationship includes a parallel relationship, an inclusion relationship, and a dependency relationship. .
  • the creating the publishing node of the service release request according to the process relationship and the functional components includes: connecting the functional components in series according to the process relationship to obtain the The workflow node of the functional component is used as the publishing node of the service publishing request.
  • the series connection of the functional components can be compiled by scripting language, such as JavaScript scripting language.
  • the publishing template of the service publishing request in the publishing node determines the loading method and loading rules of the service data in the service publishing request, it is possible to make the publishing with the same underlying logic code Services use the same set of publishing templates, reducing the underlying logic configuration of multiple publishing services and improving service publishing efficiency.
  • the constructing the publishing template of the service publishing request in the publishing node includes: defining the publishing logic and publishing method of the service publishing request in the publishing node, according to the The publishing logic and the publishing method create a publishing template of the service publishing request on the publishing node.
  • the publishing logic refers to the data rule that the service data needs to follow when publishing
  • the publishing method refers to the method adopted when the service data is released.
  • the release logic is set based on different business scenarios.
  • the release logic can be set as follows: the user's login password must be in three different combinations, and the password length must be greater than ten digits , the publishing method includes stopping immediately when an error occurs and continuing publishing without stopping when an error occurs, and the creation of the publishing template can be compiled by Java language.
  • the embodiment of the present application uses the service data Loaded into the release template to generate the release file of the service release request, so as to ensure the online access of the subsequent service release request corresponding to the service to be released.
  • the loading of the service data into the publishing template to generate the publishing file of the service publishing request includes: combining the service data with the publishing node in the publishing template Matching is performed, and a preset loading function is used to transmit the successfully matched service data to the publishing node, so as to obtain the publishing file of the service publishing request.
  • the matching between the service data and the publishing nodes in the publishing template can be realized through a character matching algorithm, such as a naive algorithm, and the preset loading function can be a load() function.
  • the published file can be stored in the BPMN file format, so as to realize the visual display of the published file and help users better update or modify the data in the published file.
  • the published files can also be stored in a block chain node.
  • the uploading of the release file may be implemented through a release machine, such as a Tomcat machine.
  • the service release request may be a medical service release request
  • the medical service release request may be an online medical appointment registration release request, an online medical consultation release request, and an online medical payment payment request. post requests etc.
  • this application can firstly identify the service data and service functions of the service release request transmitted by the client to ensure that the subsequent service release request corresponds to the access premise of the service to be released, and create the service release request in combination with the service function
  • the release node of the service release request can determine the operation process of the service function in the subsequent service release request, and construct the release template of the service release request in the release node, and can determine the loading method and the method of service data in the service release request.
  • the loading rules can make publishing services with the same underlying logic code use the same set of publishing templates, reduce the underlying logic configuration of multiple publishing services, and improve service publishing efficiency;
  • the embodiment of this application loads the service data into the publishing In the template, the release file of the service release request is generated, and the release file is uploaded to the server corresponding to the client to execute the service release of the service release request, which can realize that the service release request corresponds to the service to be released online access, so that the data access and data sharing of the service to be released requested by the service release can be realized. Therefore, a dynamic service release method proposed in this application can realize the dynamic release of services and improve the efficiency of service release.
  • FIG. 2 it is a functional block diagram of the dynamic service release device of the present application.
  • the dynamic service publishing apparatus 100 described in this application can be installed in an electronic device.
  • the dynamic service publishing apparatus may include a service request preprocessing module 101 , a publishing template generating module 102 , a publishing file generating module 103 and a service publishing module 104 .
  • the module described in this application can also be called a unit, which refers to a series of computer program segments that can be executed by the processor of the electronic device and can complete fixed functions, and are stored in the memory of the electronic device.
  • each module/unit is as follows:
  • the service request preprocessing module 101 is configured to receive a service release request transmitted by a client, query service data of the service release request, and identify a service function of the service release request.
  • the client refers to a program that corresponds to the server and provides local services for the client.
  • the client is used to transmit a service release request to the server to realize service delivery.
  • Publishing the service publishing request is generated based on different user needs, such as user A's demand for publishing information query service, and user B's demand for publishing order query service.
  • the service data refers to the application data that loads the service publishing request, such as page data , configuration data, etc.
  • the service function refers to an access function for implementing the service release request, such as a data query function, a data interaction function, and the like.
  • the querying of the service data of the service publishing request is performed by the service request preprocessing module 101 in the following manner: obtaining the service object of the service publishing request, and the service object of the service publishing request convert the service object into an object field, and query the service data of the object field from the requirement document.
  • the service object refers to the page object that needs to be loaded in the service publishing request, such as page elements, page forms, etc.
  • the requirement document refers to the configuration file constructed before publishing the service, which can represent the service
  • the data resources required for publishing the request such as system architecture, compilation environment, etc.
  • the service data query of the object field can be implemented through query statements, such as SQL statements.
  • the service function of identifying the service publishing request is executed by the service request preprocessing module 101 in the following manner: querying the service publishing request according to the service object of the service publishing request The service event of the service event, identifying the publishing effect of the service event, and using the publishing effect as the service function of the service publishing request.
  • the service event is used to characterize the service type existing in the service release request, such as login event, verification event, etc.
  • the release effect can be understood as the effect that can be achieved when the service event goes online
  • the publishing effect of the verification event can be to verify the legitimacy of the user identity
  • the service function of the verification event can be user identity verification.
  • the subsequent service release request corresponds to the access premise of the service to be released.
  • the release template generating module 102 is configured to call the functional components that run the service functions, identify the flow relationship of the functional components, and create the release node of the service release request according to the process relationship and the functional components , and construct the publishing template of the service publishing request in the publishing node.
  • the functional component refers to the running component used to guarantee the service function.
  • the service function is a data asynchronous processing function
  • the functional component of the data asynchronous processing function can be an MQ component.
  • the service function is an interface call function
  • the functional component of the interface call function can be a Dubbo component
  • the transfer relationship refers to the sequence to be followed when the service is launched in the called function components, such as the MQ component and the Dubbo component
  • the transfer relationship can be as follows: the interface call of the Dubbo component is called first, and then the data of the MQ component is asynchronously processed.
  • the invocation of the functional component can be obtained by accessing the open-source database of the functional component through the URL address, and the creation of the publishing node of the service publishing request can be implemented in a streaming form.
  • the publishing node can be understood as a working node that loads the service publishing request, such as a page configuration node, an interface calling node, and a gateway node. Further, the embodiment of the present application establishes the publishing node of the service publishing request to determine The operation process of the service function in the service release request described later.
  • the publishing template generation module 102 executes in the following manner: obtain the address of the external system that runs the service function, and identify the function component that runs the service function The external system interface of the service function is called, and the external system interface is called according to the external system address to obtain the functional component running the service function.
  • the external system address refers to the URL address where the functional component exists
  • the external system interface refers to the connection entry provided by the external system to the third-party platform to call the functional component, such as an API interface.
  • the calling of the external system interface may be implemented through a window function.
  • the identifying the flow relationship of the functional components, the release template generating module 102 executes in the following manner: acquire the functional attributes of the functional components, and determine the The dependency relationship of the functional components is used as the flow relationship of the functional components.
  • the functional attribute refers to the functional information used to characterize the functional component.
  • the dependency relationship between the functional components can be clarified, and the dependency relationship includes a parallel relationship, an inclusion relationship, and a dependency relationship. .
  • the publishing node of the service publishing request is created according to the process relationship and the functional components, and the publishing template generation module 102 is executed in the following manner: according to the process relationship , connecting the functional components in series to obtain a workflow node of the functional component, and using the workflow node as an issuing node of the service publishing request.
  • the series connection of the functional components can be compiled by scripting language, such as JavaScript scripting language.
  • the publishing template of the service publishing request in the publishing node determines the loading method and loading rules of the service data in the service publishing request, it is possible to make the publishing with the same underlying logic code Services use the same set of publishing templates, reducing the underlying logic configuration of multiple publishing services and improving service publishing efficiency.
  • the publishing template of the service publishing request is constructed in the publishing node, and the publishing template generation module 102 is executed in the following manner: defining the service publishing in the publishing node
  • the release logic and release method of the request according to the release logic and the release method, create the release template of the service release request on the release node.
  • the publishing logic refers to the data rule that the service data needs to follow when publishing
  • the publishing method refers to the method adopted when the service data is released.
  • the release logic is set based on different business scenarios.
  • the release logic can be set as follows: the user's login password must be in three different combinations, and the password length must be greater than ten digits , the publishing method includes stopping immediately when an error occurs and continuing publishing without stopping when an error occurs, and the creation of the publishing template can be compiled by Java language.
  • the release file generating module 103 is configured to load the service data into the release template, so as to generate the release file of the service release request.
  • the embodiment of the present application uses the service data Loaded into the release template to generate the release file of the service release request, so as to ensure the online access of the subsequent service release request corresponding to the service to be released.
  • the loading of the service data into the release template to generate the release file of the service release request, the release file generation module 103 is executed in the following manner: the The service data is matched with the publishing nodes in the publishing template, and the service data that is successfully matched is transmitted to the publishing node by using a preset loading function, so as to obtain the publishing file of the service publishing request.
  • the matching between the service data and the publishing nodes in the publishing template can be realized through a character matching algorithm, such as a naive algorithm, and the preset loading function can be a load() function.
  • the published file can be stored in the BPMN file format, so as to realize the visual display of the published file and help users better update or modify the data in the published file.
  • the published files can also be stored in a block chain node.
  • the service release module 104 is configured to upload the release file to a server corresponding to the client, so as to execute the service release requested by the service release through the server.
  • the uploading of the release file may be implemented through a release machine, such as a Tomcat machine.
  • this application can firstly identify the service data and service functions of the service release request transmitted by the client to ensure that the subsequent service release request corresponds to the access premise of the service to be released, and create the service release request in combination with the service function
  • the release node of the service release request can determine the operation process of the service function in the subsequent service release request, and construct the release template of the service release request in the release node, and can determine the loading method and the method of service data in the service release request.
  • the loading rules can make publishing services with the same underlying logic code use the same set of publishing templates, reduce the underlying logic configuration of multiple publishing services, and improve service publishing efficiency;
  • the embodiment of this application loads the service data into the publishing In the template, the release file of the service release request is generated, and the release file is uploaded to the server corresponding to the client to execute the service release of the service release request, which can realize that the service release request corresponds to the service to be released online access, so that the data access and data sharing of the service to be released requested by the service release can be realized. Therefore, the device for publishing a dynamic service proposed in this application can realize the dynamic publishing of services and improve the efficiency of service publishing.
  • FIG. 3 it is a schematic structural diagram of an electronic device 1 implementing a method for publishing a dynamic service in the present application.
  • the electronic device 1 may include a processor 10, a memory 11, a communication bus 12, and a communication interface 13, and may also include a computer program stored in the memory 11 and operable on the processor 10, such as a dynamic service publishing program.
  • the processor 10 may be composed of integrated circuits in some embodiments, for example, may be composed of a single packaged integrated circuit, or may be composed of multiple integrated circuits with the same function or different functions packaged, including one or A combination of multiple central processing units (Central Processing unit, CPU), microprocessors, digital processing chips, graphics processors and various control chips, etc.
  • the processor 10 is the control core (Control Unit) of the electronic device 1, and uses various interfaces and lines to connect various components of the entire electronic device 1, and runs or executes programs or modules stored in the memory 11 ( For example, executing a dynamic service publishing program, etc.), and calling the data stored in the memory 11 to execute various functions of the electronic device 1 and process data.
  • Control Unit Control Unit
  • the memory 11 includes at least one type of readable storage medium, and the readable storage medium includes flash memory, mobile hard disk, multimedia card, card-type memory (for example: SD or DX memory, etc.), magnetic memory, magnetic disk, optical disk, etc. , the computer-readable storage medium may be non-volatile or volatile.
  • the storage 11 may be an internal storage unit of the electronic device 1 in some embodiments, such as a mobile hard disk of the electronic device 1 .
  • the memory 11 can also be an external storage device of the electronic device 1 in other embodiments, such as a plug-in mobile hard disk equipped on the electronic device 1, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital , SD) card, flash memory card (Flash Card), etc.
  • the memory 11 may also include both an internal storage unit of the electronic device 1 and an external storage device.
  • the memory 11 can not only be used to store application software and various data installed in the electronic device 1 , such as the code of the dynamic service publishing program, but also can be used to temporarily store data that has been output or will be output.
  • the communication bus 12 may be a peripheral component interconnection standard (peripheral component interconnect (PCI) bus or extended industry standard structure (extended industry standard architecture, referred to as EISA) bus, etc.
  • PCI peripheral component interconnection standard
  • EISA extended industry standard architecture
  • the bus can be divided into address bus, data bus, control bus and so on.
  • the bus is configured to realize connection and communication between the memory 11 and at least one processor 10 and the like.
  • the communication interface 13 is used for communication between the electronic device 1 and other devices, including a network interface and an employee interface.
  • the network interface may include a wired interface and/or a wireless interface (such as a WI-FI interface, a Bluetooth interface, etc.), which are generally used to establish a communication connection between the electronic device 1 and other electronic devices 1 .
  • the employee interface may be a display (Display) or an input unit (such as a keyboard (Keyboard)).
  • the employee interface may also be a standard wired interface or a wireless interface.
  • the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode, organic light-emitting diode) touch device, and the like.
  • the display may also be appropriately called a display screen or a display unit, and is used for displaying information processed in the electronic device 1 and for displaying a visualized employee interface.
  • Figure 3 only shows an electronic device 1 with components, and those skilled in the art can understand that the structure shown in Figure 3 does not constitute a limitation to the electronic device 1, and may include fewer or more components than those shown in the illustration. components, or combinations of certain components, or different arrangements of components.
  • the electronic device 1 may also include a power supply (such as a battery) for supplying power to various components.
  • the power supply may be logically connected to the at least one processor 10 through a power management device, so that through power management
  • the device implements functions such as charge management, discharge management, and power consumption management.
  • the power supply may also include one or more DC or AC power supplies, recharging devices, power failure detection circuits, power converters or inverters, power status indicators and other arbitrary components.
  • the electronic device 1 may also include various sensors, bluetooth modules, Wi-Fi modules, etc., which will not be repeated here.
  • the dynamic service publishing program stored in the memory 11 in the electronic device 1 is a combination of multiple computer programs, and when running in the processor 10, it can realize:
  • the integrated modules/units of the electronic device 1 are realized in the form of software function units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium.
  • the computer-readable storage medium may be volatile or non-volatile.
  • the computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, removable hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory).
  • the present application also provides a computer-readable storage medium, the readable storage medium stores a computer program, and when the computer program is executed by the processor of the electronic device 1, it can realize:
  • modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • each functional module in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated units can be implemented in the form of hardware, or in the form of hardware plus software function modules.
  • Blockchain essentially a decentralized database, is a series of data blocks associated with each other using cryptographic methods. Each data block contains a batch of network transaction information, which is used to verify its Validity of information (anti-counterfeiting) and generation of the next block.
  • the blockchain can include the underlying platform of the blockchain, the platform product service layer, and the application service layer.
  • AI artificial intelligence
  • the embodiments of the present application may acquire and process relevant data based on artificial intelligence technology.
  • artificial intelligence is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results. .

Abstract

The present method relates to the field of Internet development, and further relates to the field of artificial intelligence. Disclosed is a dynamic service publishing method, comprising: receiving a service publishing request transmitted by a client, querying service data of the service publishing request, and recognizing a service function of the service publishing request (S1); calling a functional component that runs the service function, recognizing a flow relationship of the functional component, creating a publishing node of the service publishing request according to the flow relationship and the functional component, and constructing a publishing template of the service publishing request in the publishing node (S2); loading the service data into the publishing template, so as to generate a publishing file of the service publishing request (S3); and uploading the publishing file to a server which corresponds to the client, so as to execute the service publishing of the service publishing request by using the server (S4). In addition, a service publishing request may be a medical service publishing request. By means of the present method, the dynamic service publishing can be realized, thereby improving the efficiency of service publishing.

Description

动态服务发布方法、装置、电子设备及存储介质Dynamic service publishing method, device, electronic device and storage medium
本申请要求于2021年08月30日提交中国专利局、申请号为202111000944.5,发明名称为“动态服务发布方法、装置、电子设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number 202111000944.5 filed on August 30, 2021, and the title of the invention is "Dynamic Service Publishing Method, Device, Electronic Equipment, and Storage Medium", the entire content of which is incorporated by reference incorporated in this application.
技术领域technical field
本申请涉及互联网开发领域,尤其涉及一种动态服务发布方法、装置、电子设备及计算机可读存储介质。The present application relates to the field of Internet development, and in particular to a dynamic service publishing method, device, electronic equipment and computer-readable storage medium.
背景技术Background technique
服务发布可以理解为将业务提供方的数据资源服务发布到本地或远程服务器上,以Web网络形式达到资源共享需求业务,常见的服务如订单查询服务、页面搜索服务以及信息查询服务等。Service publishing can be understood as publishing the data resource service of the business provider to a local or remote server, and meeting resource sharing needs in the form of a Web network. Common services include order query service, page search service, and information query service.
目前,服务发布通常是将开发人员编译好待发布服务的程序代码,并将编译好的程序代码发布到服务器中,实现待发布服务的数据共享,但是发明人意识到利用这样方式发布服务会涉及一整套的复杂流程(如前置转发负载均衡、申请域名、系统构建、监控配置等),当需要发布的服务数量较多时,需要进行一一配置待发布服务的流程,这样会导致服务发布的效率较低。At present, service publishing is usually to compile the program code of the service to be released by the developer, and release the compiled program code to the server to realize the data sharing of the service to be released, but the inventor realizes that publishing the service in this way will involve A complete set of complex processes (such as pre-forwarding load balancing, domain name application, system construction, monitoring configuration, etc.), when there are a large number of services to be released, it is necessary to configure the process of the services to be released one by one, which will lead to service release. less efficient.
技术解决方案technical solution
为实现上述目的,本申请提供的一种动态服务发布方法,包括:In order to achieve the above purpose, this application provides a method for publishing dynamic services, including:
接收客户端传输的服务发布请求,查询所述服务发布请求的服务数据,及识别所述服务发布请求的服务功能;Receive the service release request transmitted by the client, query the service data of the service release request, and identify the service function of the service release request;
调用运行所述服务功能的功能组件,并识别所述功能组件的流转关系,根据所述流程关系和所述功能组件,创建所述服务发布请求的发布节点,并在所述发布节点中构建所述服务发布请求的发布模板;Invoking the functional component that runs the service function, and identifying the flow relationship of the functional component, creating the publishing node of the service publishing request according to the process relationship and the functional component, and constructing the publishing node in the publishing node release template for the service release request;
将所述服务数据加载至所述发布模板中,以生成所述服务发布请求的发布文件;Loading the service data into the release template to generate a release file of the service release request;
将所述发布文件上传到所述客户端对应的服务器中,以通过所述服务器执行所述服务发布请求的服务发布。uploading the release file to the server corresponding to the client, so as to execute the service release requested by the service release through the server.
本申请还提供一种动态服务发布装置,所述装置包括:The present application also provides a dynamic service release device, which includes:
服务请求预处理模块,用于接收客户端传输的服务发布请求,查询所述服务发布请求的服务数据,及识别所述服务发布请求的服务功能;The service request preprocessing module is used to receive the service release request transmitted by the client, query the service data of the service release request, and identify the service function of the service release request;
发布模板生成模块,用于调用运行所述服务功能的功能组件,并识别所述功能组件的流转关系,根据所述流程关系和所述功能组件,创建所述服务发布请求的发布节点,并在所述发布节点中构建所述服务发布请求的发布模板;A release template generation module, configured to call the functional components that run the service functions, identify the flow relationship of the functional components, create a release node for the service release request according to the process relationship and the functional components, and Constructing a publishing template of the service publishing request in the publishing node;
发布文件生成模块,用于将所述服务数据加载至所述发布模板中,以生成所述服务发布请求的发布文件;a release file generation module, configured to load the service data into the release template to generate a release file for the service release request;
服务发布模块,用于将所述发布文件上传到所述客户端对应的服务器中,以通过所述服务器执行所述服务发布请求的服务发布。A service release module, configured to upload the release file to a server corresponding to the client, so as to execute the service release requested by the service release through the server.
本申请还提供一种电子设备,所述电子设备包括:The present application also provides an electronic device, the electronic device comprising:
至少一个处理器;以及,at least one processor; and,
与所述至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein,
所述存储器存储有可被所述至少一个处理器执行的计算机程序,所述计算机程序被所述至少一个处理器执行,以实现如下所述的动态服务发布方法:The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor to implement the dynamic service publishing method as follows:
接收客户端传输的服务发布请求,查询所述服务发布请求的服务数据,及识别所述服务发布请求的服务功能;Receive the service release request transmitted by the client, query the service data of the service release request, and identify the service function of the service release request;
调用运行所述服务功能的功能组件,并识别所述功能组件的流转关系,根据所述流程关系和所述功能组件,创建所述服务发布请求的发布节点,并在所述发布节点中构建所述服务发布请求的发布模板;Invoking the functional component that runs the service function, and identifying the flow relationship of the functional component, creating the publishing node of the service publishing request according to the process relationship and the functional component, and constructing the publishing node in the publishing node release template for the service release request;
将所述服务数据加载至所述发布模板中,以生成所述服务发布请求的发布文件;Loading the service data into the release template to generate a release file of the service release request;
将所述发布文件上传到所述客户端对应的服务器中,以通过所述服务器执行所述服务发布请求的服务发布。uploading the release file to the server corresponding to the client, so as to execute the service release requested by the service release through the server.
本申请还提供一种计算机可读存储介质,所述计算机可读存储介质中存储有至少一个计算机程序,所述至少一个计算机程序被电子设备中的处理器执行以实现如下所述的动态服务发布方法:The present application also provides a computer-readable storage medium, wherein at least one computer program is stored in the computer-readable storage medium, and the at least one computer program is executed by a processor in an electronic device to implement dynamic service publication as described below method:
接收客户端传输的服务发布请求,查询所述服务发布请求的服务数据,及识别所述服务发布请求的服务功能;Receive the service release request transmitted by the client, query the service data of the service release request, and identify the service function of the service release request;
调用运行所述服务功能的功能组件,并识别所述功能组件的流转关系,根据所述流程关系和所述功能组件,创建所述服务发布请求的发布节点,并在所述发布节点中构建所述服务发布请求的发布模板;Invoking the functional component that runs the service function, and identifying the flow relationship of the functional component, creating the publishing node of the service publishing request according to the process relationship and the functional component, and constructing the publishing node in the publishing node release template for the service release request;
将所述服务数据加载至所述发布模板中,以生成所述服务发布请求的发布文件;Loading the service data into the release template to generate a release file of the service release request;
将所述发布文件上传到所述客户端对应的服务器中,以通过所述服务器执行所述服务发布请求的服务发布。uploading the release file to the server corresponding to the client, so as to execute the service release requested by the service release through the server.
附图说明Description of drawings
图1为本申请一实施例提供的动态服务发布方法的流程示意图;FIG. 1 is a schematic flowchart of a dynamic service publishing method provided by an embodiment of the present application;
图2为本申请一实施例提供的动态服务发布装置的模块示意图;FIG. 2 is a schematic diagram of modules of a dynamic service release device provided by an embodiment of the present application;
图3为本申请一实施例提供的实现动态服务发布方法的电子设备的内部结构示意图;FIG. 3 is a schematic diagram of the internal structure of an electronic device implementing a method for publishing a dynamic service provided by an embodiment of the present application;
本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The realization, functional features and advantages of the present application will be further described in conjunction with the embodiments and with reference to the accompanying drawings.
本发明的实施方式Embodiments of the present invention
应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application.
本申请实施例提供一种动态服务发布方法。所述动态服务发布方法的执行主体包括但不限于服务端、终端等能够被配置为执行本申请实施例提供的该方法的电子设备中的至少一种。换言之,所述动态服务发布方法可以由安装在终端设备或服务端设备的软件或硬件来执行,所述软件可以是区块链平台。所述服务端包括但不限于:单台服务器、服务器集群、云端服务器或云端服务器集群等。所述服务器可以是独立的服务器,也可以是提供云服务、云数据库、云计算、云函数、云存储、网络服务、云通信、中间件服务、域名服务、安全服务、内容分发网络(ContentDelivery Network,CDN)、以及大数据和人工智能平台等基础云计算服务的云服务器。An embodiment of the present application provides a method for publishing a dynamic service. The execution subject of the dynamic service publishing method includes but is not limited to at least one of electronic devices such as a server and a terminal that can be configured to execute the method provided by the embodiment of the present application. In other words, the dynamic service publishing method can be executed by software or hardware installed on the terminal device or server device, and the software can be a block chain platform. The server includes, but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, and the like. The server can be an independent server, or it can provide cloud service, cloud database, cloud computing, cloud function, cloud storage, network service, cloud communication, middleware service, domain name service, security service, content distribution network (ContentDelivery Network) , CDN), and cloud servers for basic cloud computing services such as big data and artificial intelligence platforms.
进一步地,本申请提供的一种动态服务发布方法可用于众多通用或专用的计算机系统环境或配置中,例如:个人计算机、服务器计算机、手持设备或便携式设备、平板型设备、多处理器系统、基于微处理器的系统、置顶盒、可编程的消费电子设备、网络PC、小型计算机、大型计算机、包括以上任何系统或设备的分布式计算环境等等。本申请的一种动态服务发布方法可以在由计算机执行的计算机可执行指令的一般上下文中描述,例如程序模块,一般地,所述程序模块包括执行特定任务或实现特定抽象数据类型的例程、程序、对象、组件、数据结构等等,也可以在分布式计算环境中实践本申请,在所述分布式计算环境中,由通过通信网络而被连接的远程处理设备来执行任务。其中,在所述分布式计算环境中,所述程序模块可以位于包括存储设备在内的本地和远程计算机存储介质中。Furthermore, a method for publishing dynamic services provided by the present application can be used in many general-purpose or special-purpose computer system environments or configurations, such as: personal computers, server computers, handheld devices or portable devices, tablet devices, multi-processor systems, Microprocessor-based systems, set-top boxes, programmable consumer electronics devices, network PCs, minicomputers, mainframe computers, distributed computing environments including any of the above systems or devices, and the like. A dynamic service publishing method of the present application may be described in the general context of computer-executable instructions executed by a computer, such as program modules, generally, the program modules include routines that perform specific tasks or implement specific abstract data types, The programs, objects, components, data structures, etc., can also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. Wherein, in the distributed computing environment, the program modules may be located in local and remote computer storage media including storage devices.
参照图1所示,为本申请一实施例提供的动态服务发布方法的流程示意图。在本申请实施例中,所述动态服务发布方法包括:Referring to FIG. 1 , it is a schematic flowchart of a method for publishing a dynamic service provided by an embodiment of the present application. In the embodiment of this application, the dynamic service publishing method includes:
S1、接收客户端传输的服务发布请求,查询所述服务发布请求的服务数据,及识别所述服务发布请求的服务功能。S1. Receive a service release request transmitted by a client, query service data of the service release request, and identify a service function of the service release request.
所述客户端(Client)或称为用户端,是指与服务器相对应,为客户提供本地服务的程序,在本申请中,所述客户端用于向服务器传输服务发布请求,以实现服务的发布,所述服务发布请求基于不同用户需求产生,如用户A的需求为发布信息查询服务,用户B的需求为发布订单查询服务。The client (Client), or client, refers to a program that corresponds to the server and provides local services for the client. In this application, the client is used to transmit a service release request to the server to realize service delivery. Publishing, the service publishing request is generated based on different user needs, such as user A's demand for publishing information query service, and user B's demand for publishing order query service.
应该了解的是,在所述服务发布请求中会存在对应的服务数据和服务功能,以保障后续发布的服务正常访问,所述服务数据是指加载所述服务发布请求的应用数据,如页面数据、配置数据等,所述服务功能是指实现所述服务发布请求的访问功能,如数据查询功能、数据交互功能等。It should be understood that there will be corresponding service data and service functions in the service publishing request to ensure the normal access of the subsequently released services. The service data refers to the application data that loads the service publishing request, such as page data , configuration data, etc., and the service function refers to an access function for implementing the service release request, such as a data query function, a data interaction function, and the like.
作为本申请的一个实施例,所述查询所述服务发布请求的服务数据,包括:获取所述服务发布请求的服务对象,及所述服务发布请求的需求文档,将所述服务对象转换为对象字段,从所述需求文档中查询所述对象字段的服务数据。As an embodiment of the present application, the querying the service data of the service release request includes: obtaining the service object of the service release request and the requirement document of the service release request, and converting the service object into an object field, and query the service data of the object field from the requirement document.
其中,所述服务对象是指在所述服务发布请求中需要加载的页面对象,如页面元素、页面表单等,所述需求文档是指在发布服务之前构造的配置文件,其可以表征所述服务发布请求所需的数据资源,如系统架构、编译环境等,可选的,所述对象字段的服务数据查询可以通过查询语句实现,如SQL语句。Wherein, the service object refers to the page object that needs to be loaded in the service publishing request, such as page elements, page forms, etc., and the requirement document refers to the configuration file constructed before publishing the service, which can represent the service The data resources required for publishing the request, such as system architecture, compilation environment, etc. Optionally, the service data query of the object field can be implemented through query statements, such as SQL statements.
作为本申请的一个实施例,所述识别所述服务发布请求的服务功能,包括:根据所述服务发布请求的服务对象,查询所述服务发布请求的服务事件,识别所述服务事件的发布效果,并将所述发布效果作为所述服务发布请求的服务功能。As an embodiment of the present application, the identifying the service function of the service publishing request includes: querying the service event of the service publishing request according to the service object of the service publishing request, and identifying the publishing effect of the service event , and use the release effect as the service function of the service release request.
其中,所述服务事件用于表征在所述服务发布请求中所存在的服务类型,如登录事件、验证事件等,所述发布效果可以理解为在所述服务事件上线的时候可以达到的效果,如验证事件的发布效果可以为验证用户身份的合法性,则该验证事件的服务功能可以为用户身份验证。Wherein, the service event is used to characterize the service type existing in the service release request, such as login event, verification event, etc., and the release effect can be understood as the effect that can be achieved when the service event goes online, If the publishing effect of the verification event can be to verify the legitimacy of the user identity, then the service function of the verification event can be user identity verification.
基于所述服务数据和服务功能的获取,可以保障后续服务发布请求对应需要待发布服务的访问前提。Based on the acquisition of the service data and service functions, it can be guaranteed that the subsequent service release request corresponds to the access premise of the service to be released.
S2、调用运行所述服务功能的功能组件,并识别所述功能组件的流转关系,根据所述流程关系和所述功能组件,创建所述服务发布请求的发布节点,并在所述发布节点中构建所述服务发布请求的发布模板。S2. Invoking the functional component that runs the service function, and identifying the flow relationship of the functional component, creating a publishing node for the service publishing request according to the process relationship and the functional component, and in the publishing node A publishing template of the service publishing request is constructed.
本申请实施例中,所述功能组件是指用于保障所述服务功能的运行组件,如所述服务功能为数据异步处理功能,则该数据异步处理功能的功能组件可以为MQ组件,所述服务功能为接口调用功能,则该接口调用功能的功能组件可以为Dubbo组件,所述流转关系是指调用的功能组件中在服务上线时所要遵循的顺序,如所述MQ组件和所述Dubbo组件的流转关系可以为:先进行Dubbo组件的接口调用再进行MQ组件的数据异步处理。In the embodiment of the present application, the functional component refers to the running component used to guarantee the service function. If the service function is a data asynchronous processing function, then the functional component of the data asynchronous processing function can be an MQ component. If the service function is an interface call function, then the functional component of the interface call function can be a Dubbo component, and the transfer relationship refers to the sequence to be followed when the service is launched in the called function components, such as the MQ component and the Dubbo component The transfer relationship can be as follows: the interface call of the Dubbo component is called first, and then the data of the MQ component is asynchronously processed.
可选的,所述功能组件的调用可以通过URL地址访问所述功能组件的开源数据库得到,所述服务发布请求的发布节点创建可以通过流形式实现。所述发布节点可以理解为加载所述服务发布请求的工作节点,如页面配置节点、接口调用节点以及网关节点等,进一步地,本申请实施例通过创建所述服务发布请求的发布节点,以确定后续所述服务发布请求中服务功能的运行流程。Optionally, the invocation of the functional component can be obtained by accessing the open-source database of the functional component through the URL address, and the creation of the publishing node of the service publishing request can be implemented in a streaming form. The publishing node can be understood as a working node that loads the service publishing request, such as a page configuration node, an interface calling node, and a gateway node. Further, the embodiment of the present application establishes the publishing node of the service publishing request to determine The operation process of the service function in the service release request described later.
作为本申请的一个实施例,所述调用运行所述服务功能的功能组件,包括:获取运行所述服务功能的外部系统地址,并识别所述运行所述服务功能的外部系统接口,根据所述外部系统地址,调用所述外部系统接口,以得到运行所述服务功能的功能组件。As an embodiment of the present application, the calling the functional component running the service function includes: obtaining the address of the external system running the service function, and identifying the interface of the external system running the service function, according to the The address of the external system is used to call the external system interface to obtain the functional component running the service function.
其中,所述外部系统地址是指所述功能组件所存在的URL地址,所述外部系统接口是指外部系统向第三方平台提供调用功能组件的连接入口,常见的如API接口。可选的,所述外部系统接口的调用可以通过窗口函数实现。Wherein, the external system address refers to the URL address where the functional component exists, and the external system interface refers to the connection entry provided by the external system to the third-party platform to call the functional component, such as an API interface. Optionally, the calling of the external system interface may be implemented through a window function.
作为本申请的一个实施例,所述识别所述功能组件的流转关系,包括:获取所述功能组件的功能属性,根据所述功能属性,确定所述功能组件的依存关系,并将所述依存关系作为所述功能组件的流转关系。As an embodiment of the present application, the identification of the flow relationship of the functional components includes: acquiring the functional attributes of the functional components, determining the dependency relationship of the functional components according to the functional attributes, and The relationship serves as the flow relationship of the functional components.
其中,所述功能属性是指用于表征所述功能组件的功能信息,根据所述功能属性,可以明确所述功能组件之间的依存关系,所述依存关系包括并列关系、包含关系以及依赖关系。Wherein, the functional attribute refers to the functional information used to characterize the functional component. According to the functional attribute, the dependency relationship between the functional components can be clarified, and the dependency relationship includes a parallel relationship, an inclusion relationship, and a dependency relationship. .
进一步地,本申请实施例中,所述根据所述流程关系和所述功能组件,创建所述服务发布请求的发布节点,包括:根据所述流程关系,将所述功能组件进行串联,得到所述功能组件的工作流程节点,将所述工作流程节点作为所述服务发布请求的发布节点。其中,所述功能组件的串联可以通过脚本语言进行编译,如JavaScript脚本语言。Further, in the embodiment of the present application, the creating the publishing node of the service release request according to the process relationship and the functional components includes: connecting the functional components in series according to the process relationship to obtain the The workflow node of the functional component is used as the publishing node of the service publishing request. Wherein, the series connection of the functional components can be compiled by scripting language, such as JavaScript scripting language.
进一步地,本申请实施例通过在所述发布节点中构建所述服务发布请求的发布模板,以确定所述服务发布请求中服务数据的加载方式和加载规则,可以使得具有相同底层逻辑代码的发布服务使用同一套发布模板,减少多个发布服务的底层逻辑配置,提高服务发布效率。Further, in the embodiment of the present application, by constructing the publishing template of the service publishing request in the publishing node to determine the loading method and loading rules of the service data in the service publishing request, it is possible to make the publishing with the same underlying logic code Services use the same set of publishing templates, reducing the underlying logic configuration of multiple publishing services and improving service publishing efficiency.
作为本申请的一个实施例,所述在所述发布节点中构建所述服务发布请求的发布模板,包括:在所述发布节点中定义所述服务发布请求的发布逻辑和发布方式,根据所述发布逻辑和所述发布方式,创建所述服务发布请求在所述发布节点的发布模板。As an embodiment of the present application, the constructing the publishing template of the service publishing request in the publishing node includes: defining the publishing logic and publishing method of the service publishing request in the publishing node, according to the The publishing logic and the publishing method create a publishing template of the service publishing request on the publishing node.
其中,所述发布逻辑是指所述服务数据在发布时需要遵循的数据规则,所述发布方式是指所述服务数据在发布时所采用的方式。Wherein, the publishing logic refers to the data rule that the service data needs to follow when publishing, and the publishing method refers to the method adopted when the service data is released.
本申请实施例中,所述发布逻辑基于不同业务场景设置,例如在登录发布节点中,所述发布逻辑可以设置为:用户的登录密码必须为三种不同组合方式,且密码长度要大于十位,所述发布方式包括遇见错误立刻停止和遇见错误不停止继续发布,所述发布模板的创建可以通过Java语言编译。In the embodiment of this application, the release logic is set based on different business scenarios. For example, in the login release node, the release logic can be set as follows: the user's login password must be in three different combinations, and the password length must be greater than ten digits , the publishing method includes stopping immediately when an error occurs and continuing publishing without stopping when an error occurs, and the creation of the publishing template can be compiled by Java language.
S3、将所述服务数据加载至所述发布模板中,以生成所述服务发布请求的发布文件。S3. Load the service data into the publishing template to generate a publishing file of the service publishing request.
应该了解,在所述发布模板中只存在所述服务发布请求的发布规则(发布逻辑和发布方式)和发布节点,并不存在具体的发布数据,因此,本申请实施例通过将所述服务数据加载至所述发布模板中,以生成所述服务发布请求的发布文件,以保障后续服务发布请求对应待发布服务的上线访问。It should be understood that there are only publishing rules (publishing logic and publishing methods) and publishing nodes of the service publishing request in the publishing template, and there is no specific publishing data. Therefore, the embodiment of the present application uses the service data Loaded into the release template to generate the release file of the service release request, so as to ensure the online access of the subsequent service release request corresponding to the service to be released.
作为本申请的一个实施例,所述将所述服务数据加载至所述发布模板中,以生成所述服务发布请求的发布文件,包括:将所述服务数据与所述发布模板中的发布节点进行匹配,利用预设的加载函数将匹配成功的所述服务数据传输至所述发布节点中,以得到所述服务发布请求的发布文件。As an embodiment of the present application, the loading of the service data into the publishing template to generate the publishing file of the service publishing request includes: combining the service data with the publishing node in the publishing template Matching is performed, and a preset loading function is used to transmit the successfully matched service data to the publishing node, so as to obtain the publishing file of the service publishing request.
其中,所述服务数据与所述发布模板中的发布节点的匹配可以通过字符匹配算法实现,如朴素算法,所述预设的加载函数可以为load()函数。Wherein, the matching between the service data and the publishing nodes in the publishing template can be realized through a character matching algorithm, such as a naive algorithm, and the preset loading function can be a load() function.
进一步地,本申请实施例中,所述发布文件可以通过BPMN文件格式进行存储,以实现所述发布文件的直观展示,帮助用户更好的对所述发布文件中的数据进行更新或修改。Further, in the embodiment of the present application, the published file can be stored in the BPMN file format, so as to realize the visual display of the published file and help users better update or modify the data in the published file.
进一步,为保障所述发布文件的隐私性和安全性,所述发布文件还可存储于一区块链节点中。Further, in order to ensure the privacy and security of the published files, the published files can also be stored in a block chain node.
S4、将所述发布文件上传到所述客户端对应的服务器中,以通过所述服务器执行所述服务发布请求的服务发布。S4. Upload the release file to the server corresponding to the client, so as to execute the service release requested by the service release through the server.
本申请实施例通过将所述发布文件上传到所述客户端对应的服务器,以执行所述服务发布请求对应服务的发布,可以实现所述服务发布请求的待发布服务的数据访问和数据共享,可选的,所述将所述发布文件的上传可以通过发布机器实现,如Tomcat机器。In this embodiment of the present application, by uploading the release file to the server corresponding to the client to execute the release of the service corresponding to the service release request, the data access and data sharing of the service to be released in the service release request can be realized. Optionally, the uploading of the release file may be implemented through a release machine, such as a Tomcat machine.
需要说明的是,本申请实施例中,所述服务发布请求可以为医疗服务发布请求,所述医疗服务发布请求可以为线上医疗预约挂号发布请求、线上医疗咨询发布请求以及线上医疗缴费发布请求等。It should be noted that, in this embodiment of the application, the service release request may be a medical service release request, and the medical service release request may be an online medical appointment registration release request, an online medical consultation release request, and an online medical payment payment request. post requests etc.
可以看出,本申请首先通过识别客户端传输的服务发布请求的服务数据和服务功能,可以保障后续服务发布请求对应需要待发布服务的访问前提,结合所述服务功能,创建所述服务发布请求的发布节点,可以确定后续所述服务发布请求中服务功能的运行流程,并在所述发布节点中构建所述服务发布请求的发布模板,可以确定所述服务发布请求中服务数据的加载方式和加载规则,可以使得具有相同底层逻辑代码的发布服务使用同一套发布模板,减少多个发布服务的底层逻辑配置,提高服务发布效率;其次,本申请实施例将所述服务数据加载至所述发布模板中,以生成所述服务发布请求的发布文件,并将所述发布文件上传到所述客户端对应的服务器,以执行所述服务发布请求的服务发布,可以实现服务发布请求对应待发布服务的上线访问,从而可以实现所述服务发布请求的待发布服务的数据访问和数据共享。因此,本申请提出的一种动态服务发布方法可以实现服务的动态发布,提高服务发布的效率。It can be seen that this application can firstly identify the service data and service functions of the service release request transmitted by the client to ensure that the subsequent service release request corresponds to the access premise of the service to be released, and create the service release request in combination with the service function The release node of the service release request can determine the operation process of the service function in the subsequent service release request, and construct the release template of the service release request in the release node, and can determine the loading method and the method of service data in the service release request. The loading rules can make publishing services with the same underlying logic code use the same set of publishing templates, reduce the underlying logic configuration of multiple publishing services, and improve service publishing efficiency; secondly, the embodiment of this application loads the service data into the publishing In the template, the release file of the service release request is generated, and the release file is uploaded to the server corresponding to the client to execute the service release of the service release request, which can realize that the service release request corresponds to the service to be released online access, so that the data access and data sharing of the service to be released requested by the service release can be realized. Therefore, a dynamic service release method proposed in this application can realize the dynamic release of services and improve the efficiency of service release.
如图2所示,是本申请动态服务发布装置的功能模块图。As shown in FIG. 2 , it is a functional block diagram of the dynamic service release device of the present application.
本申请所述动态服务发布装置100可以安装于电子设备中。根据实现的功能,所述动态服务发布装置可以包括服务请求预处理模块101、发布模板生成模块102、发布文件生成模块103以及服务发布模块104。本申请所述模块也可以称之为单元,是指一种能够被电子设备的处理器所执行,并且能够完成固定功能的一系列计算机程序段,其存储在电子设备的存储器中。The dynamic service publishing apparatus 100 described in this application can be installed in an electronic device. According to the realized functions, the dynamic service publishing apparatus may include a service request preprocessing module 101 , a publishing template generating module 102 , a publishing file generating module 103 and a service publishing module 104 . The module described in this application can also be called a unit, which refers to a series of computer program segments that can be executed by the processor of the electronic device and can complete fixed functions, and are stored in the memory of the electronic device.
在本实施例中,关于各模块/单元的功能如下:In this embodiment, the functions of each module/unit are as follows:
所述服务请求预处理模块101,用于接收客户端传输的服务发布请求,查询所述服务发布请求的服务数据,及识别所述服务发布请求的服务功能。The service request preprocessing module 101 is configured to receive a service release request transmitted by a client, query service data of the service release request, and identify a service function of the service release request.
所述客户端(Client)或称为用户端,是指与服务器相对应,为客户提供本地服务的程序,在本申请中,所述客户端用于向服务器传输服务发布请求,以实现服务的发布,所述服务发布请求基于不同用户需求产生,如用户A的需求为发布信息查询服务,用户B的需求为发布订单查询服务。The client (Client), or client, refers to a program that corresponds to the server and provides local services for the client. In this application, the client is used to transmit a service release request to the server to realize service delivery. Publishing, the service publishing request is generated based on different user needs, such as user A's demand for publishing information query service, and user B's demand for publishing order query service.
应该了解的是,在所述服务发布请求中会存在对应的服务数据和服务功能,以保障后续发布的服务正常访问,所述服务数据是指加载所述服务发布请求的应用数据,如页面数据、配置数据等,所述服务功能是指实现所述服务发布请求的访问功能,如数据查询功能、数据交互功能等。It should be understood that there will be corresponding service data and service functions in the service publishing request to ensure the normal access of the subsequently released services. The service data refers to the application data that loads the service publishing request, such as page data , configuration data, etc., and the service function refers to an access function for implementing the service release request, such as a data query function, a data interaction function, and the like.
作为本申请的一个实施例,所述查询所述服务发布请求的服务数据,所述服务请求预处理模块101采用下述方式执行:获取所述服务发布请求的服务对象,及所述服务发布请求的需求文档,将所述服务对象转换为对象字段,从所述需求文档中查询所述对象字段的服务数据。As an embodiment of the present application, the querying of the service data of the service publishing request is performed by the service request preprocessing module 101 in the following manner: obtaining the service object of the service publishing request, and the service object of the service publishing request convert the service object into an object field, and query the service data of the object field from the requirement document.
其中,所述服务对象是指在所述服务发布请求中需要加载的页面对象,如页面元素、页面表单等,所述需求文档是指在发布服务之前构造的配置文件,其可以表征所述服务发布请求所需的数据资源,如系统架构、编译环境等,可选的,所述对象字段的服务数据查询可以通过查询语句实现,如SQL语句。Wherein, the service object refers to the page object that needs to be loaded in the service publishing request, such as page elements, page forms, etc., and the requirement document refers to the configuration file constructed before publishing the service, which can represent the service The data resources required for publishing the request, such as system architecture, compilation environment, etc. Optionally, the service data query of the object field can be implemented through query statements, such as SQL statements.
作为本申请的一个实施例,所述识别所述服务发布请求的服务功能,所述服务请求预处理模块101采用下述方式执行:根据所述服务发布请求的服务对象,查询所述服务发布请求的服务事件,识别所述服务事件的发布效果,并将所述发布效果作为所述服务发布请求的服务功能。As an embodiment of the present application, the service function of identifying the service publishing request is executed by the service request preprocessing module 101 in the following manner: querying the service publishing request according to the service object of the service publishing request The service event of the service event, identifying the publishing effect of the service event, and using the publishing effect as the service function of the service publishing request.
其中,所述服务事件用于表征在所述服务发布请求中所存在的服务类型,如登录事件、验证事件等,所述发布效果可以理解为在所述服务事件上线的时候可以达到的效果,如验证事件的发布效果可以为验证用户身份的合法性,则该验证事件的服务功能可以为用户身份验证。Wherein, the service event is used to characterize the service type existing in the service release request, such as login event, verification event, etc., and the release effect can be understood as the effect that can be achieved when the service event goes online, If the publishing effect of the verification event can be to verify the legitimacy of the user identity, then the service function of the verification event can be user identity verification.
基于所述服务数据和服务功能的获取,可以保障后续服务发布请求对应需要待发布服务的访问前提。Based on the acquisition of the service data and service functions, it can be guaranteed that the subsequent service release request corresponds to the access premise of the service to be released.
所述发布模板生成模块102,用于调用运行所述服务功能的功能组件,并识别所述功能组件的流转关系,根据所述流程关系和所述功能组件,创建所述服务发布请求的发布节点,并在所述发布节点中构建所述服务发布请求的发布模板。The release template generating module 102 is configured to call the functional components that run the service functions, identify the flow relationship of the functional components, and create the release node of the service release request according to the process relationship and the functional components , and construct the publishing template of the service publishing request in the publishing node.
本申请实施例中,所述功能组件是指用于保障所述服务功能的运行组件,如所述服务功能为数据异步处理功能,则该数据异步处理功能的功能组件可以为MQ组件,所述服务功能为接口调用功能,则该接口调用功能的功能组件可以为Dubbo组件,所述流转关系是指调用的功能组件中在服务上线时所要遵循的顺序,如所述MQ组件和所述Dubbo组件的流转关系可以为:先进行Dubbo组件的接口调用再进行MQ组件的数据异步处理。In the embodiment of the present application, the functional component refers to the running component used to guarantee the service function. If the service function is a data asynchronous processing function, then the functional component of the data asynchronous processing function can be an MQ component. If the service function is an interface call function, then the functional component of the interface call function can be a Dubbo component, and the transfer relationship refers to the sequence to be followed when the service is launched in the called function components, such as the MQ component and the Dubbo component The transfer relationship can be as follows: the interface call of the Dubbo component is called first, and then the data of the MQ component is asynchronously processed.
可选的,所述功能组件的调用可以通过URL地址访问所述功能组件的开源数据库得到,所述服务发布请求的发布节点创建可以通过流形式实现。所述发布节点可以理解为加载所述服务发布请求的工作节点,如页面配置节点、接口调用节点以及网关节点等,进一步地,本申请实施例通过创建所述服务发布请求的发布节点,以确定后续所述服务发布请求中服务功能的运行流程。Optionally, the invocation of the functional component can be obtained by accessing the open-source database of the functional component through the URL address, and the creation of the publishing node of the service publishing request can be implemented in a streaming form. The publishing node can be understood as a working node that loads the service publishing request, such as a page configuration node, an interface calling node, and a gateway node. Further, the embodiment of the present application establishes the publishing node of the service publishing request to determine The operation process of the service function in the service release request described later.
作为本申请的一个实施例,所述调用运行所述服务功能的功能组件,所述发布模板生成模块102采用下述方式执行:获取运行所述服务功能的外部系统地址,并识别所述运行所述服务功能的外部系统接口,根据所述外部系统地址,调用所述外部系统接口,以得到运行所述服务功能的功能组件。As an embodiment of the present application, when calling the functional component that runs the service function, the publishing template generation module 102 executes in the following manner: obtain the address of the external system that runs the service function, and identify the function component that runs the service function The external system interface of the service function is called, and the external system interface is called according to the external system address to obtain the functional component running the service function.
其中,所述外部系统地址是指所述功能组件所存在的URL地址,所述外部系统接口是指外部系统向第三方平台提供调用功能组件的连接入口,常见的如API接口。可选的,所述外部系统接口的调用可以通过窗口函数实现。Wherein, the external system address refers to the URL address where the functional component exists, and the external system interface refers to the connection entry provided by the external system to the third-party platform to call the functional component, such as an API interface. Optionally, the calling of the external system interface may be implemented through a window function.
作为本申请的一个实施例,所述识别所述功能组件的流转关系,所述发布模板生成模块102采用下述方式执行:获取所述功能组件的功能属性,根据所述功能属性,确定所述功能组件的依存关系,并将所述依存关系作为所述功能组件的流转关系。As an embodiment of the present application, the identifying the flow relationship of the functional components, the release template generating module 102 executes in the following manner: acquire the functional attributes of the functional components, and determine the The dependency relationship of the functional components is used as the flow relationship of the functional components.
其中,所述功能属性是指用于表征所述功能组件的功能信息,根据所述功能属性,可以明确所述功能组件之间的依存关系,所述依存关系包括并列关系、包含关系以及依赖关系。Wherein, the functional attribute refers to the functional information used to characterize the functional component. According to the functional attribute, the dependency relationship between the functional components can be clarified, and the dependency relationship includes a parallel relationship, an inclusion relationship, and a dependency relationship. .
进一步地,本申请实施例中,所述根据所述流程关系和所述功能组件,创建所述服务发布请求的发布节点,所述发布模板生成模块102采用下述方式执行:根据所述流程关系,将所述功能组件进行串联,得到所述功能组件的工作流程节点,将所述工作流程节点作为所述服务发布请求的发布节点。其中,所述功能组件的串联可以通过脚本语言进行编译,如JavaScript脚本语言。Further, in the embodiment of the present application, the publishing node of the service publishing request is created according to the process relationship and the functional components, and the publishing template generation module 102 is executed in the following manner: according to the process relationship , connecting the functional components in series to obtain a workflow node of the functional component, and using the workflow node as an issuing node of the service publishing request. Wherein, the series connection of the functional components can be compiled by scripting language, such as JavaScript scripting language.
进一步地,本申请实施例通过在所述发布节点中构建所述服务发布请求的发布模板,以确定所述服务发布请求中服务数据的加载方式和加载规则,可以使得具有相同底层逻辑代码的发布服务使用同一套发布模板,减少多个发布服务的底层逻辑配置,提高服务发布效率。Further, in the embodiment of the present application, by constructing the publishing template of the service publishing request in the publishing node to determine the loading method and loading rules of the service data in the service publishing request, it is possible to make the publishing with the same underlying logic code Services use the same set of publishing templates, reducing the underlying logic configuration of multiple publishing services and improving service publishing efficiency.
作为本申请的一个实施例,所述在所述发布节点中构建所述服务发布请求的发布模板,所述发布模板生成模块102采用下述方式执行:在所述发布节点中定义所述服务发布请求的发布逻辑和发布方式,根据所述发布逻辑和所述发布方式,创建所述服务发布请求在所述发布节点的发布模板。As an embodiment of the present application, the publishing template of the service publishing request is constructed in the publishing node, and the publishing template generation module 102 is executed in the following manner: defining the service publishing in the publishing node The release logic and release method of the request, according to the release logic and the release method, create the release template of the service release request on the release node.
其中,所述发布逻辑是指所述服务数据在发布时需要遵循的数据规则,所述发布方式是指所述服务数据在发布时所采用的方式。Wherein, the publishing logic refers to the data rule that the service data needs to follow when publishing, and the publishing method refers to the method adopted when the service data is released.
本申请实施例中,所述发布逻辑基于不同业务场景设置,例如在登录发布节点中,所述发布逻辑可以设置为:用户的登录密码必须为三种不同组合方式,且密码长度要大于十位,所述发布方式包括遇见错误立刻停止和遇见错误不停止继续发布,所述发布模板的创建可以通过Java语言编译。In the embodiment of this application, the release logic is set based on different business scenarios. For example, in the login release node, the release logic can be set as follows: the user's login password must be in three different combinations, and the password length must be greater than ten digits , the publishing method includes stopping immediately when an error occurs and continuing publishing without stopping when an error occurs, and the creation of the publishing template can be compiled by Java language.
所述发布文件生成模块103,用于将所述服务数据加载至所述发布模板中,以生成所述服务发布请求的发布文件。The release file generating module 103 is configured to load the service data into the release template, so as to generate the release file of the service release request.
应该了解,在所述发布模板中只存在所述服务发布请求的发布规则(发布逻辑和发布方式)和发布节点,并不存在具体的发布数据,因此,本申请实施例通过将所述服务数据加载至所述发布模板中,以生成所述服务发布请求的发布文件,以保障后续服务发布请求对应待发布服务的上线访问。It should be understood that there are only publishing rules (publishing logic and publishing methods) and publishing nodes of the service publishing request in the publishing template, and there is no specific publishing data. Therefore, the embodiment of the present application uses the service data Loaded into the release template to generate the release file of the service release request, so as to ensure the online access of the subsequent service release request corresponding to the service to be released.
作为本申请的一个实施例,所述将所述服务数据加载至所述发布模板中,以生成所述服务发布请求的发布文件,所述发布文件生成模块103采用下述方式执行:将所述服务数据与所述发布模板中的发布节点进行匹配,利用预设的加载函数将匹配成功的所述服务数据传输至所述发布节点中,以得到所述服务发布请求的发布文件。As an embodiment of the present application, the loading of the service data into the release template to generate the release file of the service release request, the release file generation module 103 is executed in the following manner: the The service data is matched with the publishing nodes in the publishing template, and the service data that is successfully matched is transmitted to the publishing node by using a preset loading function, so as to obtain the publishing file of the service publishing request.
其中,所述服务数据与所述发布模板中的发布节点的匹配可以通过字符匹配算法实现,如朴素算法,所述预设的加载函数可以为load()函数。Wherein, the matching between the service data and the publishing nodes in the publishing template can be realized through a character matching algorithm, such as a naive algorithm, and the preset loading function can be a load() function.
进一步地,本申请实施例中,所述发布文件可以通过BPMN文件格式进行存储,以实现所述发布文件的直观展示,帮助用户更好的对所述发布文件中的数据进行更新或修改。Further, in the embodiment of the present application, the published file can be stored in the BPMN file format, so as to realize the visual display of the published file and help users better update or modify the data in the published file.
进一步,为保障所述发布文件的隐私性和安全性,所述发布文件还可存储于一区块链节点中。Further, in order to ensure the privacy and security of the published files, the published files can also be stored in a block chain node.
所述服务发布模块104,用于将所述发布文件上传到所述客户端对应的服务器中,以通过所述服务器执行所述服务发布请求的服务发布。The service release module 104 is configured to upload the release file to a server corresponding to the client, so as to execute the service release requested by the service release through the server.
本申请实施例通过将所述发布文件上传到所述客户端对应的服务器,以执行所述服务发布请求对应服务的发布,可以实现所述服务发布请求的待发布服务的数据访问和数据共享,可选的,所述将所述发布文件的上传可以通过发布机器实现,如Tomcat机器。In this embodiment of the present application, by uploading the release file to the server corresponding to the client to execute the release of the service corresponding to the service release request, the data access and data sharing of the service to be released in the service release request can be realized. Optionally, the uploading of the release file may be implemented through a release machine, such as a Tomcat machine.
可以看出,本申请首先通过识别客户端传输的服务发布请求的服务数据和服务功能,可以保障后续服务发布请求对应需要待发布服务的访问前提,结合所述服务功能,创建所述服务发布请求的发布节点,可以确定后续所述服务发布请求中服务功能的运行流程,并在所述发布节点中构建所述服务发布请求的发布模板,可以确定所述服务发布请求中服务数据的加载方式和加载规则,可以使得具有相同底层逻辑代码的发布服务使用同一套发布模板,减少多个发布服务的底层逻辑配置,提高服务发布效率;其次,本申请实施例将所述服务数据加载至所述发布模板中,以生成所述服务发布请求的发布文件,并将所述发布文件上传到所述客户端对应的服务器,以执行所述服务发布请求的服务发布,可以实现服务发布请求对应待发布服务的上线访问,从而可以实现所述服务发布请求的待发布服务的数据访问和数据共享。因此,本申请提出的一种动态服务发布装置可以实现服务的动态发布,提高服务发布的效率。It can be seen that this application can firstly identify the service data and service functions of the service release request transmitted by the client to ensure that the subsequent service release request corresponds to the access premise of the service to be released, and create the service release request in combination with the service function The release node of the service release request can determine the operation process of the service function in the subsequent service release request, and construct the release template of the service release request in the release node, and can determine the loading method and the method of service data in the service release request. The loading rules can make publishing services with the same underlying logic code use the same set of publishing templates, reduce the underlying logic configuration of multiple publishing services, and improve service publishing efficiency; secondly, the embodiment of this application loads the service data into the publishing In the template, the release file of the service release request is generated, and the release file is uploaded to the server corresponding to the client to execute the service release of the service release request, which can realize that the service release request corresponds to the service to be released online access, so that the data access and data sharing of the service to be released requested by the service release can be realized. Therefore, the device for publishing a dynamic service proposed in this application can realize the dynamic publishing of services and improve the efficiency of service publishing.
如图3所示,是本申请实现动态服务发布方法的电子设备1的结构示意图。As shown in FIG. 3 , it is a schematic structural diagram of an electronic device 1 implementing a method for publishing a dynamic service in the present application.
所述电子设备1可以包括处理器10、存储器11、通信总线12以及通信接口13,还可以包括存储在所述存储器11中并可在所述处理器10上运行的计算机程序,如动态服务发布程序。The electronic device 1 may include a processor 10, a memory 11, a communication bus 12, and a communication interface 13, and may also include a computer program stored in the memory 11 and operable on the processor 10, such as a dynamic service publishing program.
其中,所述处理器10在一些实施例中可以由集成电路组成,例如可以由单个封装的集成电路所组成,也可以是由多个相同功能或不同功能封装的集成电路所组成,包括一个或者多个中央处理器(Central Processing unit,CPU)、微处理器、数字处理芯片、图形处理器及各种控制芯片的组合等。所述处理器10是所述电子设备1的控制核心(Control Unit),利用各种接口和线路连接整个电子设备1的各个部件,通过运行或执行存储在所述存储器11内的程序或者模块(例如执行动态服务发布程序等),以及调用存储在所述存储器11内的数据,以执行电子设备1的各种功能和处理数据。Wherein, the processor 10 may be composed of integrated circuits in some embodiments, for example, may be composed of a single packaged integrated circuit, or may be composed of multiple integrated circuits with the same function or different functions packaged, including one or A combination of multiple central processing units (Central Processing unit, CPU), microprocessors, digital processing chips, graphics processors and various control chips, etc. The processor 10 is the control core (Control Unit) of the electronic device 1, and uses various interfaces and lines to connect various components of the entire electronic device 1, and runs or executes programs or modules stored in the memory 11 ( For example, executing a dynamic service publishing program, etc.), and calling the data stored in the memory 11 to execute various functions of the electronic device 1 and process data.
所述存储器11至少包括一种类型的可读存储介质,所述可读存储介质包括闪存、移动硬盘、多媒体卡、卡型存储器(例如:SD或DX存储器等)、磁性存储器、磁盘、光盘等,所述计算机可读存储介质可以是非易失性的,也可以是易失性的。所述存储器11在一些实施例中可以是电子设备1的内部存储单元,例如该电子设备1的移动硬盘。所述存储器11在另一些实施例中也可以是电子设备1的外部存储设备,例如电子设备1上配备的插接式移动硬盘、智能存储卡(Smart Media Card, SMC)、安全数字(Secure Digital, SD)卡、闪存卡(Flash Card)等。进一步地,所述存储器11还可以既包括电子设备1的内部存储单元也包括外部存储设备。所述存储器11不仅可以用于存储安装于电子设备1的应用软件及各类数据,例如动态服务发布程序的代码等,还可以用于暂时地存储已经输出或者将要输出的数据。The memory 11 includes at least one type of readable storage medium, and the readable storage medium includes flash memory, mobile hard disk, multimedia card, card-type memory (for example: SD or DX memory, etc.), magnetic memory, magnetic disk, optical disk, etc. , the computer-readable storage medium may be non-volatile or volatile. The storage 11 may be an internal storage unit of the electronic device 1 in some embodiments, such as a mobile hard disk of the electronic device 1 . The memory 11 can also be an external storage device of the electronic device 1 in other embodiments, such as a plug-in mobile hard disk equipped on the electronic device 1, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital , SD) card, flash memory card (Flash Card), etc. Further, the memory 11 may also include both an internal storage unit of the electronic device 1 and an external storage device. The memory 11 can not only be used to store application software and various data installed in the electronic device 1 , such as the code of the dynamic service publishing program, but also can be used to temporarily store data that has been output or will be output.
所述通信总线12可以是外设部件互连标准(peripheral component interconnect,简称PCI)总线或扩展工业标准结构(extended industry standard architecture,简称EISA)总线等。该总线可以分为地址总线、数据总线、控制总线等。所述总线被设置为实现所述存储器11以及至少一个处理器10等之间的连接通信。The communication bus 12 may be a peripheral component interconnection standard (peripheral component interconnect (PCI) bus or extended industry standard structure (extended industry standard architecture, referred to as EISA) bus, etc. The bus can be divided into address bus, data bus, control bus and so on. The bus is configured to realize connection and communication between the memory 11 and at least one processor 10 and the like.
所述通信接口13用于上述电子设备1与其他设备之间的通信,包括网络接口和员工接口。可选地,所述网络接口可以包括有线接口和/或无线接口(如WI-FI接口、蓝牙接口等),通常用于在该电子设备1与其他电子设备1之间建立通信连接。所述员工接口可以是显示器(Display)、输入单元(比如键盘(Keyboard)),可选地,员工接口还可以是标准的有线接口、无线接口。可选地,在一些实施例中,显示器可以是LED显示器、液晶显示器、触控式液晶显示器以及OLED(Organic Light-Emitting Diode,有机发光二极管)触摸器等。其中,显示器也可以适当的称为显示屏或显示单元,用于显示在电子设备1中处理的信息以及用于显示可视化的员工界面。The communication interface 13 is used for communication between the electronic device 1 and other devices, including a network interface and an employee interface. Optionally, the network interface may include a wired interface and/or a wireless interface (such as a WI-FI interface, a Bluetooth interface, etc.), which are generally used to establish a communication connection between the electronic device 1 and other electronic devices 1 . The employee interface may be a display (Display) or an input unit (such as a keyboard (Keyboard)). Optionally, the employee interface may also be a standard wired interface or a wireless interface. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode, organic light-emitting diode) touch device, and the like. Wherein, the display may also be appropriately called a display screen or a display unit, and is used for displaying information processed in the electronic device 1 and for displaying a visualized employee interface.
图3仅示出了具有部件的电子设备1,本领域技术人员可以理解的是,图3示出的结构并不构成对所述电子设备1的限定,可以包括比图示更少或者更多的部件,或者组合某些部件,或者不同的部件布置。Figure 3 only shows an electronic device 1 with components, and those skilled in the art can understand that the structure shown in Figure 3 does not constitute a limitation to the electronic device 1, and may include fewer or more components than those shown in the illustration. components, or combinations of certain components, or different arrangements of components.
例如,尽管未示出,所述电子设备1还可以包括给各个部件供电的电源(比如电池),优选地,电源可以通过电源管理装置与所述至少一个处理器10逻辑相连,从而通过电源管理装置实现充电管理、放电管理、以及功耗管理等功能。电源还可以包括一个或一个以上的直流或交流电源、再充电装置、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。所述电子设备1还可以包括多种传感器、蓝牙模块、Wi-Fi模块等,在此不再赘述。For example, although not shown, the electronic device 1 may also include a power supply (such as a battery) for supplying power to various components. Preferably, the power supply may be logically connected to the at least one processor 10 through a power management device, so that through power management The device implements functions such as charge management, discharge management, and power consumption management. The power supply may also include one or more DC or AC power supplies, recharging devices, power failure detection circuits, power converters or inverters, power status indicators and other arbitrary components. The electronic device 1 may also include various sensors, bluetooth modules, Wi-Fi modules, etc., which will not be repeated here.
应该了解,所述实施例仅为说明之用,在专利发明范围上并不受此结构的限制。It should be understood that the embodiments are only for illustration, and are not limited by the structure in the scope of the patented invention.
所述电子设备1中的所述存储器11存储的动态服务发布程序是多个计算机程序的组合,在所述处理器10中运行时,可以实现:The dynamic service publishing program stored in the memory 11 in the electronic device 1 is a combination of multiple computer programs, and when running in the processor 10, it can realize:
接收客户端传输的服务发布请求,查询所述服务发布请求的服务数据,及识别所述服务发布请求的服务功能;Receive the service release request transmitted by the client, query the service data of the service release request, and identify the service function of the service release request;
调用运行所述服务功能的功能组件,并识别所述功能组件的流转关系,根据所述流程关系和所述功能组件,创建所述服务发布请求的发布节点,并在所述发布节点中构建所述服务发布请求的发布模板;Invoking the functional component that runs the service function, and identifying the flow relationship of the functional component, creating the publishing node of the service publishing request according to the process relationship and the functional component, and constructing the publishing node in the publishing node release template for the service release request;
将所述服务数据加载至所述发布模板中,以生成所述服务发布请求的发布文件;Loading the service data into the release template to generate a release file of the service release request;
将所述发布文件上传到所述客户端对应的服务器中,以通过所述服务器执行所述服务发布请求的服务发布。uploading the release file to the server corresponding to the client, so as to execute the service release requested by the service release through the server.
具体地,所述处理器10对上述计算机程序的具体实现方法可参考图1对应实施例中相关步骤的描述,在此不赘述。Specifically, for a specific implementation method of the above computer program by the processor 10, reference may be made to the description of relevant steps in the embodiment corresponding to FIG. 1 , and details are not repeated here.
进一步地,所述电子设备1集成的模块/单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个非易失性计算机可读取存储介质中。所述计算机可读存储介质可以是易失性的,也可以是非易失性的。例如,所述计算机可读介质可以包括:能够携带所述计算机程序代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器(ROM,Read-Only Memory)。Further, if the integrated modules/units of the electronic device 1 are realized in the form of software function units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium. The computer-readable storage medium may be volatile or non-volatile. For example, the computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, removable hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory).
本申请还提供一种计算机可读存储介质,所述可读存储介质存储有计算机程序,所述计算机程序在被电子设备1的处理器所执行时,可以实现:The present application also provides a computer-readable storage medium, the readable storage medium stores a computer program, and when the computer program is executed by the processor of the electronic device 1, it can realize:
接收客户端传输的服务发布请求,查询所述服务发布请求的服务数据,及识别所述服务发布请求的服务功能;Receive the service release request transmitted by the client, query the service data of the service release request, and identify the service function of the service release request;
调用运行所述服务功能的功能组件,并识别所述功能组件的流转关系,根据所述流程关系和所述功能组件,创建所述服务发布请求的发布节点,并在所述发布节点中构建所述服务发布请求的发布模板;Invoking the functional component that runs the service function, and identifying the flow relationship of the functional component, creating the publishing node of the service publishing request according to the process relationship and the functional component, and constructing the publishing node in the publishing node release template for the service release request;
将所述服务数据加载至所述发布模板中,以生成所述服务发布请求的发布文件;Loading the service data into the release template to generate a release file of the service release request;
将所述发布文件上传到所述客户端对应的服务器中,以通过所述服务器执行所述服务发布请求的服务发布。uploading the release file to the server corresponding to the client, so as to execute the service release requested by the service release through the server.
在本申请所提供的几个实施例中,应该理解到,所揭露的设备,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。In the several embodiments provided in this application, it should be understood that the disclosed devices, devices and methods can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the modules is only a logical function division, and there may be other division methods in actual implementation.
所述作为分离部件说明的模块可以是或者也可以不是物理上分开的,作为模块显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本申请各个实施例中的各功能模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能模块的形式实现。In addition, each functional module in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware, or in the form of hardware plus software function modules.
对于本领域技术人员而言,显然本申请不限于上述示范性实施例的细节,而且在不背离本申请的精神或基本特征的情况下,能够以其他的具体形式实现本申请。It will be apparent to those skilled in the art that the present application is not limited to the details of the exemplary embodiments described above, but that the present application can be implemented in other specific forms without departing from the spirit or essential characteristics of the present application.
因此,无论从哪一点来看,均应将实施例看作是示范性的,而且是非限制性的,本申请的范围由所附权利要求而不是上述说明限定,因此旨在将落在权利要求的等同要件的含义和范围内的所有变化涵括在本申请内。不应将权利要求中的任何附关联图标记视为限制所涉及的权利要求。Therefore, the embodiments should be regarded as exemplary and not restrictive in all points of view, and the scope of the application is defined by the appended claims rather than the foregoing description, and it is intended that the scope of the present application be defined by the appended claims rather than by the foregoing description. All changes within the meaning and range of equivalents of the elements are embraced in this application. Any reference sign in a claim should not be construed as limiting the claim concerned.
本申请所指区块链是分布式数据存储、点对点传输、共识机制、加密算法等计算机技术的新型应用模式。区块链(Blockchain),本质上是一个去中心化的数据库,是一串使用密码学方法相关联产生的数据块,每一个数据块中包含了一批次网络交易的信息,用于验证其信息的有效性(防伪)和生成下一个区块。区块链可以包括区块链底层平台、平台产品服务层以及应用服务层等。The blockchain referred to in this application is a new application mode of computer technologies such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithm. Blockchain (Blockchain), essentially a decentralized database, is a series of data blocks associated with each other using cryptographic methods. Each data block contains a batch of network transaction information, which is used to verify its Validity of information (anti-counterfeiting) and generation of the next block. The blockchain can include the underlying platform of the blockchain, the platform product service layer, and the application service layer.
本申请实施例可以基于人工智能技术对相关的数据进行获取和处理。其中,人工智能(Artificial Intelligence,AI)是利用数字计算机或者数字计算机控制的机器模拟、延伸和扩展人的智能,感知环境、获取知识并使用知识获得最佳结果的理论、方法、技术及应用系统。The embodiments of the present application may acquire and process relevant data based on artificial intelligence technology. Among them, artificial intelligence (AI) is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results. .
此外,显然“包括”一词不排除其他单元或步骤,单数不排除复数。系统权利要求中陈述的多个单元或装置也可以由一个单元或装置通过软件或者硬件来实现。第二等词语用来表示名称,而并不表示任何特定的顺序。In addition, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or devices stated in the system claims may also be realized by one unit or device through software or hardware. Secondary terms are used to denote names without implying any particular order.
最后应说明的是,以上实施例仅用以说明本申请的技术方案而非限制,尽管参照较佳实施例对本申请进行了详细说明,本领域的普通技术人员应当理解,可以对本申请的技术方案进行修改或等同替换,而不脱离本申请技术方案的精神和范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application without limitation. Although the present application has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present application can be Make modifications or equivalent replacements without departing from the spirit and scope of the technical solutions of the present application.

Claims (20)

  1. 一种动态服务发布方法,其中,所述方法包括:A method for publishing a dynamic service, wherein the method includes:
    接收客户端传输的服务发布请求,查询所述服务发布请求的服务数据,及识别所述服务发布请求的服务功能;Receive the service release request transmitted by the client, query the service data of the service release request, and identify the service function of the service release request;
    调用运行所述服务功能的功能组件,并识别所述功能组件的流转关系,根据所述流程关系和所述功能组件,创建所述服务发布请求的发布节点,并在所述发布节点中构建所述服务发布请求的发布模板;Invoking the functional component that runs the service function, and identifying the flow relationship of the functional component, creating the publishing node of the service publishing request according to the process relationship and the functional component, and constructing the publishing node in the publishing node release template for the service release request;
    将所述服务数据加载至所述发布模板中,以生成所述服务发布请求的发布文件;Loading the service data into the release template to generate a release file of the service release request;
    将所述发布文件上传到所述客户端对应的服务器中,以通过所述服务器执行所述服务发布请求的服务发布。uploading the release file to the server corresponding to the client, so as to execute the service release requested by the service release through the server.
  2. 如权利要求1所述的动态服务发布方法,其中,所述查询所述服务发布请求的服务数据,包括:The dynamic service release method according to claim 1, wherein said querying the service data of the service release request comprises:
    获取所述服务发布请求的服务对象,及所述服务发布请求的需求文档;Obtaining the service object of the service release request and the requirement document of the service release request;
    将所述服务对象转换为对象字段,从所述需求文档中查询所述对象字段的服务数据。The service object is converted into an object field, and the service data of the object field is queried from the requirement document.
  3. 如权利要求1所述的动态服务发布方法,其中,所述识别所述服务发布请求的服务功能,包括:The dynamic service publishing method according to claim 1, wherein said identifying the service function of said service publishing request comprises:
    根据所述服务发布请求的服务对象,查询所述服务发布请求的服务事件;Querying the service event of the service publishing request according to the service object of the service publishing request;
    识别所述服务事件的发布效果,并将所述发布效果作为所述服务发布请求的服务功能。A publishing effect of the service event is identified, and the publishing effect is used as a service function of the service publishing request.
  4. 如权利要求1所述的动态服务发布方法,其中,所述调用运行所述服务功能的功能组件,包括:The method for publishing dynamic services according to claim 1, wherein said invoking a functional component running said service function comprises:
    获取运行所述服务功能的外部系统地址,并识别所述运行所述服务功能的外部系统接口;Obtaining the address of the external system running the service function, and identifying the interface of the external system running the service function;
    根据所述外部系统地址,调用所述外部系统接口,以得到运行所述服务功能的功能组件。According to the external system address, the external system interface is invoked to obtain a functional component running the service function.
  5. 如权利要求1所述的动态服务发布方法,其中,所述根据所述流程关系和所述功能组件,创建所述服务发布请求的发布节点,包括:The dynamic service publishing method according to claim 1, wherein said creating the publishing node of the service publishing request according to the process relationship and the functional components comprises:
    根据所述流程关系,将所述功能组件进行串联,得到所述功能组件的工作流程节点,将所述工作流程节点作为所述服务发布请求的发布节点。According to the process relationship, the functional components are connected in series to obtain a workflow node of the functional component, and the workflow node is used as the publishing node of the service publishing request.
  6. 如权利要求1至5中任意一项所述的动态服务发布方法,其中,所述在所述发布节点中构建所述服务发布请求的发布模板,包括:The method for publishing a dynamic service according to any one of claims 1 to 5, wherein said constructing the publishing template of said service publishing request in said publishing node includes:
    在所述发布节点中定义所述服务发布请求的发布逻辑和发布方式;Define the release logic and release method of the service release request in the release node;
    根据所述发布逻辑和所述发布方式,创建所述服务发布请求在所述发布节点的发布模板。Create a publishing template of the service publishing request on the publishing node according to the publishing logic and the publishing method.
  7. 如权利要求6所述的动态服务发布方法,其中,所述将所述服务数据加载至所述发布模板中,以生成所述服务发布请求的发布文件,包括:The dynamic service publishing method according to claim 6, wherein said loading said service data into said publishing template to generate a publishing file of said service publishing request comprises:
    将所述服务数据与所述发布模板中的发布节点进行匹配;matching the service data with the release nodes in the release template;
    利用预设的加载函数将匹配成功的所述服务数据传输至所述发布节点中,以得到所述服务发布请求的发布文件。The service data that is successfully matched is transmitted to the publishing node by using a preset loading function, so as to obtain the publishing file of the service publishing request.
  8. 一种动态服务发布装置,其中,所述装置包括:A device for publishing dynamic services, wherein the device includes:
    服务请求预处理模块,用于接收客户端传输的服务发布请求,查询所述服务发布请求的服务数据,及识别所述服务发布请求的服务功能;The service request preprocessing module is used to receive the service release request transmitted by the client, query the service data of the service release request, and identify the service function of the service release request;
    发布模板生成模块,用于调用运行所述服务功能的功能组件,并识别所述功能组件的流转关系,根据所述流程关系和所述功能组件,创建所述服务发布请求的发布节点,并在所述发布节点中构建所述服务发布请求的发布模板;A release template generation module, configured to call the functional components that run the service functions, identify the flow relationship of the functional components, create a release node for the service release request according to the process relationship and the functional components, and Constructing a publishing template of the service publishing request in the publishing node;
    发布文件生成模块,用于将所述服务数据加载至所述发布模板中,以生成所述服务发布请求的发布文件;a release file generation module, configured to load the service data into the release template to generate a release file for the service release request;
    服务发布模块,用于将所述发布文件上传到所述客户端对应的服务器中,以通过所述服务器执行所述服务发布请求的服务发布。A service release module, configured to upload the release file to a server corresponding to the client, so as to execute the service release requested by the service release through the server.
  9. 一种电子设备,其中,所述电子设备包括:An electronic device, wherein the electronic device includes:
    至少一个处理器;以及,at least one processor; and,
    与所述至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein,
    所述存储器存储有可被所述至少一个处理器执行的计算机程序,所述计算机程序被所述至少一个处理器执行,以使所述至少一个处理器能够执行如下所述的动态服务发布方法:The memory stores a computer program executable by the at least one processor, the computer program is executed by the at least one processor, so that the at least one processor can execute the dynamic service publishing method as follows:
    接收客户端传输的服务发布请求,查询所述服务发布请求的服务数据,及识别所述服务发布请求的服务功能;Receive the service release request transmitted by the client, query the service data of the service release request, and identify the service function of the service release request;
    调用运行所述服务功能的功能组件,并识别所述功能组件的流转关系,根据所述流程关系和所述功能组件,创建所述服务发布请求的发布节点,并在所述发布节点中构建所述服务发布请求的发布模板;Invoking the functional component that runs the service function, and identifying the flow relationship of the functional component, creating the publishing node of the service publishing request according to the process relationship and the functional component, and constructing the publishing node in the publishing node release template for the service release request;
    将所述服务数据加载至所述发布模板中,以生成所述服务发布请求的发布文件;Loading the service data into the release template to generate a release file of the service release request;
    将所述发布文件上传到所述客户端对应的服务器中,以通过所述服务器执行所述服务发布请求的服务发布。uploading the release file to the server corresponding to the client, so as to execute the service release requested by the service release through the server.
  10. 如权利要求9所述的电子设备,其中,所述查询所述服务发布请求的服务数据,包括:The electronic device according to claim 9, wherein the querying the service data of the service publication request comprises:
    获取所述服务发布请求的服务对象,及所述服务发布请求的需求文档;Obtaining the service object of the service release request and the requirement document of the service release request;
    将所述服务对象转换为对象字段,从所述需求文档中查询所述对象字段的服务数据。The service object is converted into an object field, and the service data of the object field is queried from the requirement document.
  11. 如权利要求9所述的电子设备,其中,所述识别所述服务发布请求的服务功能,包括:The electronic device according to claim 9, wherein the service function for identifying the service publishing request comprises:
    根据所述服务发布请求的服务对象,查询所述服务发布请求的服务事件;Querying the service event of the service publishing request according to the service object of the service publishing request;
    识别所述服务事件的发布效果,并将所述发布效果作为所述服务发布请求的服务功能。A publishing effect of the service event is identified, and the publishing effect is used as a service function of the service publishing request.
  12. 如权利要求9所述的电子设备,其中,所述调用运行所述服务功能的功能组件,包括:The electronic device according to claim 9, wherein said invoking a functional component for running said service function comprises:
    获取运行所述服务功能的外部系统地址,并识别所述运行所述服务功能的外部系统接口;Obtaining the address of the external system running the service function, and identifying the interface of the external system running the service function;
    根据所述外部系统地址,调用所述外部系统接口,以得到运行所述服务功能的功能组件。According to the external system address, the external system interface is invoked to obtain a functional component running the service function.
  13. 如权利要求9所述的电子设备,其中,所述根据所述流程关系和所述功能组件,创建所述服务发布请求的发布节点,包括:The electronic device according to claim 9, wherein, according to the process relationship and the functional components, creating the publishing node of the service publishing request comprises:
    根据所述流程关系,将所述功能组件进行串联,得到所述功能组件的工作流程节点,将所述工作流程节点作为所述服务发布请求的发布节点。According to the process relationship, the functional components are connected in series to obtain a workflow node of the functional component, and the workflow node is used as the publishing node of the service publishing request.
  14. 如权利要求9所述的电子设备,其中,所述在所述发布节点中构建所述服务发布请求的发布模板,包括:The electronic device according to claim 9, wherein said constructing the release template of the service release request in the release node comprises:
    在所述发布节点中定义所述服务发布请求的发布逻辑和发布方式;Define the release logic and release method of the service release request in the release node;
    根据所述发布逻辑和所述发布方式,创建所述服务发布请求在所述发布节点的发布模板。Create a publishing template of the service publishing request on the publishing node according to the publishing logic and the publishing method.
  15. 一种计算机可读存储介质,存储有计算机程序,其中,所述计算机程序被处理器执行时实现如下所述的动态服务发布方法:A computer-readable storage medium, storing a computer program, wherein, when the computer program is executed by a processor, the following dynamic service publishing method is implemented:
    接收客户端传输的服务发布请求,查询所述服务发布请求的服务数据,及识别所述服务发布请求的服务功能;Receive the service release request transmitted by the client, query the service data of the service release request, and identify the service function of the service release request;
    调用运行所述服务功能的功能组件,并识别所述功能组件的流转关系,根据所述流程关系和所述功能组件,创建所述服务发布请求的发布节点,并在所述发布节点中构建所述服务发布请求的发布模板;Invoking the functional component that runs the service function, and identifying the flow relationship of the functional component, creating the publishing node of the service publishing request according to the process relationship and the functional component, and constructing the publishing node in the publishing node release template for the service release request;
    将所述服务数据加载至所述发布模板中,以生成所述服务发布请求的发布文件;Loading the service data into the release template to generate a release file of the service release request;
    将所述发布文件上传到所述客户端对应的服务器中,以通过所述服务器执行所述服务发布请求的服务发布。uploading the release file to the server corresponding to the client, so as to execute the service release requested by the service release through the server.
  16. 如权利要求15所述的计算机可读存储介质,其中,所述查询所述服务发布请求的服务数据,包括:The computer-readable storage medium according to claim 15, wherein the querying the service data of the service publishing request comprises:
    获取所述服务发布请求的服务对象,及所述服务发布请求的需求文档;Obtaining the service object of the service release request and the requirement document of the service release request;
    将所述服务对象转换为对象字段,从所述需求文档中查询所述对象字段的服务数据。The service object is converted into an object field, and the service data of the object field is queried from the requirement document.
  17. 如权利要求15所述的计算机可读存储介质,其中,所述识别所述服务发布请求的服务功能,包括:The computer-readable storage medium of claim 15, wherein the service function identifying the service publication request comprises:
    根据所述服务发布请求的服务对象,查询所述服务发布请求的服务事件;Querying the service event of the service publishing request according to the service object of the service publishing request;
    识别所述服务事件的发布效果,并将所述发布效果作为所述服务发布请求的服务功能。A publishing effect of the service event is identified, and the publishing effect is used as a service function of the service publishing request.
  18. 如权利要求15所述的计算机可读存储介质,其中,所述调用运行所述服务功能的功能组件,包括:The computer-readable storage medium according to claim 15, wherein said invoking a functional component running said service function comprises:
    获取运行所述服务功能的外部系统地址,并识别所述运行所述服务功能的外部系统接口;Obtaining the address of the external system running the service function, and identifying the interface of the external system running the service function;
    根据所述外部系统地址,调用所述外部系统接口,以得到运行所述服务功能的功能组件。According to the external system address, the external system interface is invoked to obtain a functional component running the service function.
  19. 如权利要求15所述的计算机可读存储介质,其中,所述根据所述流程关系和所述功能组件,创建所述服务发布请求的发布节点,包括:The computer-readable storage medium according to claim 15, wherein, according to the process relationship and the functional components, creating the publishing node of the service publishing request comprises:
    根据所述流程关系,将所述功能组件进行串联,得到所述功能组件的工作流程节点,将所述工作流程节点作为所述服务发布请求的发布节点。According to the process relationship, the functional components are connected in series to obtain a workflow node of the functional component, and the workflow node is used as the publishing node of the service publishing request.
  20. 如权利要求15所述的计算机可读存储介质,其中,所述在所述发布节点中构建所述服务发布请求的发布模板,包括:The computer-readable storage medium according to claim 15, wherein said constructing the publishing template of the service publishing request in the publishing node comprises:
    在所述发布节点中定义所述服务发布请求的发布逻辑和发布方式;Define the release logic and release method of the service release request in the release node;
    根据所述发布逻辑和所述发布方式,创建所述服务发布请求在所述发布节点的发布模板。Create a publishing template of the service publishing request on the publishing node according to the publishing logic and the publishing method.
PCT/CN2022/087814 2021-08-30 2022-04-20 Dynamic service publishing method and apparatus, and electronic device and storage medium WO2023029509A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111000944.5 2021-08-30
CN202111000944.5A CN113704665B (en) 2021-08-30 2021-08-30 Dynamic service release method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
WO2023029509A1 true WO2023029509A1 (en) 2023-03-09

Family

ID=78656502

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/087814 WO2023029509A1 (en) 2021-08-30 2022-04-20 Dynamic service publishing method and apparatus, and electronic device and storage medium

Country Status (2)

Country Link
CN (1) CN113704665B (en)
WO (1) WO2023029509A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117608554A (en) * 2023-11-24 2024-02-27 上海浦东发展银行股份有限公司 Visual voice flow one-key release method, system and medium

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113704665B (en) * 2021-08-30 2023-10-13 康键信息技术(深圳)有限公司 Dynamic service release method and device, electronic equipment and storage medium
CN114445047A (en) * 2022-01-29 2022-05-06 北京百度网讯科技有限公司 Workflow generation method and device, electronic equipment and storage medium
CN116302294B (en) * 2023-05-18 2023-09-01 安元科技股份有限公司 Method and system for automatically identifying component attribute through interface

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050160104A1 (en) * 2004-01-20 2005-07-21 Datasource, Inc. System and method for generating and deploying a software application
CN103777931A (en) * 2012-10-22 2014-05-07 北大方正集团有限公司 Dynamic page generation method and system with loose relation to business logic
CN104699471A (en) * 2013-12-09 2015-06-10 中国商用飞机有限责任公司 Technical publication content distribution system and method
CN112507725A (en) * 2020-12-09 2021-03-16 建信金融科技有限责任公司 Static publishing method, device, equipment and storage medium of financial information
CN112528051A (en) * 2019-09-19 2021-03-19 聚好看科技股份有限公司 Singing work publishing method, display device and server
CN112632936A (en) * 2020-12-24 2021-04-09 山东中创软件工程股份有限公司 Electronic form generation method, system and related device
US20210318857A1 (en) * 2020-04-09 2021-10-14 Modak Technologies FZE Platform for web services development and method therefor
CN113704665A (en) * 2021-08-30 2021-11-26 康键信息技术(深圳)有限公司 Dynamic service publishing method, device, electronic equipment and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105847231A (en) * 2016-02-23 2016-08-10 乐视体育文化产业发展(北京)有限公司 Service publishing method, device and system
CN111641706A (en) * 2020-05-28 2020-09-08 深圳壹账通智能科技有限公司 Micro service system creating method and device, electronic equipment and storage medium
CN113268272B (en) * 2021-05-28 2024-03-01 中国工商银行股份有限公司 Application delivery method, device and system based on private cloud

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050160104A1 (en) * 2004-01-20 2005-07-21 Datasource, Inc. System and method for generating and deploying a software application
CN103777931A (en) * 2012-10-22 2014-05-07 北大方正集团有限公司 Dynamic page generation method and system with loose relation to business logic
CN104699471A (en) * 2013-12-09 2015-06-10 中国商用飞机有限责任公司 Technical publication content distribution system and method
CN112528051A (en) * 2019-09-19 2021-03-19 聚好看科技股份有限公司 Singing work publishing method, display device and server
US20210318857A1 (en) * 2020-04-09 2021-10-14 Modak Technologies FZE Platform for web services development and method therefor
CN112507725A (en) * 2020-12-09 2021-03-16 建信金融科技有限责任公司 Static publishing method, device, equipment and storage medium of financial information
CN112632936A (en) * 2020-12-24 2021-04-09 山东中创软件工程股份有限公司 Electronic form generation method, system and related device
CN113704665A (en) * 2021-08-30 2021-11-26 康键信息技术(深圳)有限公司 Dynamic service publishing method, device, electronic equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117608554A (en) * 2023-11-24 2024-02-27 上海浦东发展银行股份有限公司 Visual voice flow one-key release method, system and medium

Also Published As

Publication number Publication date
CN113704665B (en) 2023-10-13
CN113704665A (en) 2021-11-26

Similar Documents

Publication Publication Date Title
WO2023029509A1 (en) Dynamic service publishing method and apparatus, and electronic device and storage medium
CN110781082B (en) Method, device, medium and equipment for generating test case of interface
WO2023056943A1 (en) Internet of things rule engine-based terminal control method and apparatus, and device and medium
US20210336994A1 (en) Attestation support for elastic cloud computing environments
CN111209557A (en) Cross-domain single sign-on method and device, electronic equipment and storage medium
CN112948723A (en) Interface calling method and device and related equipment
CN113806434A (en) Big data processing method, device, equipment and medium
CN110147507A (en) A kind of method, apparatus obtaining short chained address and server
CN115129753A (en) Data blood relationship analysis method and device, electronic equipment and storage medium
CN114827161A (en) Service calling request sending method and device, electronic equipment and readable storage medium
CN114356530A (en) Task scheduling method and device, electronic equipment and storage medium
CN114519084A (en) Block chain-based medical data inspection method, device, equipment and medium
CN111651509B (en) Hbase database-based data importing method and device, electronic equipment and medium
CN115292516A (en) Block chain-based distributed knowledge graph construction method, device and system
WO2021232860A1 (en) Communication method, apparatus and system
CN113127109A (en) Interface calling method and device, electronic equipment and readable storage medium
CN112487400A (en) Single sign-on method and device based on multiple pages, electronic equipment and storage medium
CN113923218A (en) Distributed deployment method, device, equipment and medium for coding and decoding plug-ins
CN112667244A (en) Data verification method and device, electronic equipment and computer readable storage medium
CN112235409A (en) File uploading method and device, electronic equipment and computer readable storage medium
CN114614993B (en) System interaction method and device, electronic equipment and storage medium
CN115174698B (en) Market data decoding method, device, equipment and medium based on table entry index
CN113704109B (en) Front-end and back-end data interaction method and device, electronic equipment and storage medium
CN112328960B (en) Optimization method and device for data operation, electronic equipment and storage medium
CN116401319B (en) Data synchronization method and device, electronic equipment and computer readable storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22862655

Country of ref document: EP

Kind code of ref document: A1