CN113704665B - Dynamic service release method and device, electronic equipment and storage medium - Google Patents

Dynamic service release method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN113704665B
CN113704665B CN202111000944.5A CN202111000944A CN113704665B CN 113704665 B CN113704665 B CN 113704665B CN 202111000944 A CN202111000944 A CN 202111000944A CN 113704665 B CN113704665 B CN 113704665B
Authority
CN
China
Prior art keywords
service
release
request
release request
functional component
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111000944.5A
Other languages
Chinese (zh)
Other versions
CN113704665A (en
Inventor
秦露光
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kangjian Information Technology Shenzhen Co Ltd
Original Assignee
Kangjian Information Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kangjian Information Technology Shenzhen Co Ltd filed Critical Kangjian Information Technology Shenzhen Co Ltd
Priority to CN202111000944.5A priority Critical patent/CN113704665B/en
Publication of CN113704665A publication Critical patent/CN113704665A/en
Priority to PCT/CN2022/087814 priority patent/WO2023029509A1/en
Application granted granted Critical
Publication of CN113704665B publication Critical patent/CN113704665B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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

Abstract

The invention relates to the field of Internet development, and also relates to the field of artificial intelligence, and discloses a dynamic service release method, which comprises the following steps: receiving a service release request transmitted by a client, inquiring service data of the service release request, and identifying a service function of the service release request; calling a functional component for running a service function, identifying a circulation relation of the functional component, creating a release node of a service release request according to the flow relation and the functional component, and constructing a release template of the service release request in the release node; loading service data into a release template to generate a release file of a service release request; and uploading the release file to a server corresponding to the client so as to execute the service release of the service release request through the server. In addition, the service release request of the present invention may be a medical service release request. The invention can realize the dynamic release of the service and improve the efficiency of the service release.

Description

Dynamic service release method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of internet development, and in particular, to a dynamic service publishing method, a dynamic service publishing device, an electronic device, and a computer readable storage medium.
Background
Service publishing may be understood as publishing a data resource service of a service provider to a local or remote server, and achieving a resource sharing requirement service in a Web network form, where common services include an order query service, a page search service, an information query service, and the like.
At present, service release usually compiles program codes of services to be released by developers and releases the compiled program codes into a server to realize data sharing of the services to be released, but when the number of services to be released is large, a complete set of complex processes (such as forwarding load balancing, domain name application, system construction, monitoring configuration and the like) are involved in releasing the services in such a way, and the processes of configuring the services to be released one by one are required, so that the service release efficiency is low.
Disclosure of Invention
The invention provides a dynamic service release method, a device, electronic equipment and a computer readable storage medium, which mainly aim to realize dynamic release of service and improve the efficiency of service release.
In order to achieve the above object, the present invention provides a dynamic service publishing method, including:
receiving a service release request transmitted by a client, inquiring service data of the service release request, and identifying a service function of the service release request;
Invoking a functional component for running the service function, identifying the circulation relation of the functional component, creating a release node of the service release request according to the flow relation and the functional component, and constructing a release template of the service release request in the release node;
loading the service data into the release template to generate a release file of the service release request;
and uploading the release file to a server corresponding to the client so as to execute service release of the service release request through the server.
Optionally, the querying the service data of the service release request includes:
acquiring a service object of the service release request and a requirement document of the service release request;
and converting the service object into an object field, and inquiring service data of the object field from the requirement document.
Optionally, the service function for identifying the service release request includes:
inquiring a service event of the service release request according to the service object of the service release request;
and identifying the release effect of the service event and taking the release effect as the service function of the service release request.
Optionally, the calling the functional component running the service function includes:
acquiring an external system address for running the service function, and identifying an external system interface for running the service function;
and calling the external system interface according to the external system address to obtain a functional component for running the service function.
Optionally, the creating a release node of the service release request according to the flow relation and the functional component includes:
and according to the flow relation, the functional components are connected in series to obtain workflow nodes of the functional components, and the workflow nodes are used as the issuing nodes of the service issuing request.
Optionally, the building, in the publishing node, a publishing template of the service publishing request includes:
defining a release logic and a release mode of the service release request in the release node;
and creating a release template of the service release request at the release node according to the release logic and the release mode.
Optionally, the loading the service data into the release template to generate a release file of the service release request includes:
Matching the service data with the release nodes in the release template;
and transmitting the service data successfully matched to the release node by using a preset loading function so as to obtain a release file of the service release request.
In order to solve the above problems, the present invention also provides a dynamic service issuing apparatus, including:
the service request preprocessing module is used for receiving a service release request transmitted by a client, inquiring service data of the service release request and identifying a service function of the service release request;
the issuing template generation module is used for calling a functional component for running the service function, identifying the circulation relation of the functional component, creating an issuing node of the service issuing request according to the flow relation and the functional component, and constructing an issuing template of the service issuing request in the issuing node;
the release file generation module is used for loading the service data into the release template to generate a release file of the service release request;
and the service release module is used for uploading the release file to a server corresponding to the client so as to execute the service release of the service release request through the server.
In order to solve the above-mentioned problems, the present invention also provides an electronic apparatus including:
at least one processor; the method comprises the steps of,
a memory communicatively coupled to the at least one processor; wherein, the liquid crystal display device comprises a liquid crystal display device,
the memory stores a computer program executable by the at least one processor to implement the dynamic service delivery method described above.
In order to solve the above-mentioned problems, the present invention also provides a computer-readable storage medium having stored therein at least one computer program that is executed by a processor in an electronic device to implement the dynamic service distribution method described above.
It can be seen that, firstly, by identifying service data and service functions of a service release request transmitted by a client, the invention can ensure that a subsequent service release request corresponds to an access premise of a service to be released, and by combining the service functions, a release node of the service release request is created, an operation flow of the service functions in the subsequent service release request can be determined, a release template of the service release request is built in the release node, a loading mode and a loading rule of service data in the service release request can be determined, so that release services with the same bottom logic code can use the same set of release templates, the bottom logic configuration of a plurality of release services is reduced, and the service release efficiency is improved; secondly, the embodiment of the invention loads the service data into the release template to generate the release file of the service release request, and uploads the release file to the server corresponding to the client to execute the service release of the service release request, thereby realizing the online access of the service to be released corresponding to the service release request, and further realizing the data access and data sharing of the service to be released of the service release request. Therefore, the dynamic service release method, the device, the electronic equipment and the storage medium provided by the invention can realize dynamic release of the service and improve the efficiency of service release.
Drawings
FIG. 1 is a flow chart of a dynamic service publishing method according to an embodiment of the present invention;
FIG. 2 is a schematic block diagram of a dynamic service issuing apparatus according to an embodiment of the present invention;
fig. 3 is a schematic diagram of an internal structure of an electronic device for implementing a dynamic service publishing method according to an embodiment of the present invention;
the achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
The embodiment of the invention provides a dynamic service release method. The execution subject of the dynamic service publishing method includes, but is not limited to, at least one of a server, a terminal, and the like, which can be configured to execute the method provided by the embodiment of the invention. In other words, the dynamic service distribution method may be performed by software or hardware installed in a terminal device or a server device, and the software may be a blockchain platform. The service end 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 may be an independent server, or may be a cloud server that provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (ContentDelivery Network, CDN), and basic cloud computing services such as big data and artificial intelligence platforms.
Further, the present invention provides a dynamic service distribution method that can be used in a number of general-purpose or special-purpose computer system environments or configurations, such as: personal computers, server computers, hand-held or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like. A dynamic service delivery method of the present invention may be described in the general context of computer-executable instructions, such as program modules, being generally directed to performing particular tasks or implementing particular abstract data types, procedures, objects, components, data structures, and the like, and also being practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In such a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
Referring to fig. 1, a flow chart of a dynamic service publishing method according to an embodiment of the invention is shown. In the embodiment of the invention, the dynamic service release method comprises the following steps:
s1, receiving a service release request transmitted by a client, inquiring service data of the service release request, and identifying a service function of the service release request.
The Client (Client) or referred to as Client refers to a program corresponding to a server and providing local service for a Client, and in the present invention, the Client is configured to transmit a service publishing request to the server to implement service publishing, where the service publishing request is generated based on different user requirements, for example, the requirement of user a is a publishing information query service, and the requirement of user B is a publishing order query service.
It should be understood that, in the service release request, corresponding service data and service functions exist to ensure normal access of the service released later, where the service data refers to application data such as page data, configuration data and the like that loads the service release request, and the service functions refer to access functions such as a data query function, a data interaction function and the like that implement the service release request.
As one embodiment of the present invention, the querying the service data of the service release request includes: and acquiring a service object of the service release request and a requirement document of the service release request, converting the service object into an object field, and inquiring service data of the object field from the requirement document.
The service object refers to a page object, such as a page element, a page form, etc., which needs to be loaded in the service release request, the requirement document refers to a configuration file constructed before releasing the service, which can represent data resources, such as a system architecture, a compiling environment, etc., required by the service release request, and optionally, service data query of the object field can be realized through query statements, such as SQL statements.
As one embodiment of the present invention, the service function for identifying the service release request includes: and inquiring a service event of the service release request according to the service object of the service release request, identifying the release effect of the service event, and taking the release effect as the service function of the service release request.
The service event is used for representing the service type, such as a login event, a verification event and the like, existing in the service release request, the release effect can be understood as an effect which can be achieved when the service event is online, for example, the release effect of the verification event can be the validity of the verification user identity, and the service function of the verification event can be the user identity verification.
Based on the service data and the service function, the access premise that the subsequent service release request corresponds to the service to be released can be ensured.
S2, calling a functional component for running the service function, identifying the circulation relation of the functional component, creating a release node of the service release request according to the flow relation and the functional component, and constructing a release template of the service release request in the release node.
In the embodiment of the present invention, the functional component is an operation component for guaranteeing the service function, if the service function is a data asynchronous processing function, the functional component of the data asynchronous processing function may be an MQ component, and if the service function is an interface calling function, the functional component of the interface calling function may be a Dubbo component, and the circulation relationship is an order to be followed when the service is on line in the called functional component, and if the circulation relationship between the MQ component and the Dubbo component may be: the interface call of the Dubbo component is firstly carried out, and then the data asynchronous processing of the MQ component is carried out.
Alternatively, the call of the functional component may be obtained by accessing an open source database of the functional component through a URL address, and the creation of the publishing node of the service publishing request may be implemented through a manifold. The publishing node can be understood as a working node loading the service publishing request, such as a page configuration node, an interface calling node, a gateway node and the like, and further, the embodiment of the invention determines the operation flow of the service function in the subsequent service publishing request by creating the publishing node of the service publishing request.
As an embodiment of the present invention, the calling a functional component running the service function includes: and acquiring an external system address for running the service function, identifying an external system interface for running the service function, and calling the external system interface according to the external system address to obtain a functional component for running the service function.
The external system address refers to a URL address where the functional component exists, and the external system interface refers to a connection entry where the external system provides a call functional component to a third party platform, such as an API interface. Alternatively, the invocation of the external system interface may be implemented by a window function.
As one embodiment of the present invention, the identifying the circulation relationship of the functional component includes: and acquiring the functional attribute of the functional component, determining the dependency relationship of the functional component according to the functional attribute, and taking the dependency relationship as the circulation relationship of the functional component.
The functional attribute is functional information for representing the functional components, and according to the functional attribute, the dependency relationship among the functional components can be defined, wherein the dependency relationship comprises a parallel relationship, an inclusion relationship and a dependency relationship.
Further, in an embodiment of the present invention, the creating, according to the flow relation and the functional component, a publishing node of the service publishing request includes: and according to the flow relation, the functional components are connected in series to obtain workflow nodes of the functional components, and the workflow nodes are used as the issuing nodes of the service issuing request. Wherein the concatenation of the functional components may be compiled by a scripting language, such as JavaScript scripting language.
Further, in the embodiment of the invention, the release templates of the service release requests are constructed in the release nodes to determine the loading mode and the loading rule of the service data in the service release requests, so that release services with the same bottom logic codes can use the same set of release templates, the bottom logic configuration of a plurality of release services is reduced, and the service release efficiency is improved.
As one embodiment of the present invention, the constructing, in the publishing node, a publishing template of the service publishing request includes: and defining the release logic and release mode of the service release request in the release node, and creating a release template of the service release request in the release node according to the release logic and the release mode.
The issuing logic refers to a data rule to be followed by the service data during issuing, and the issuing mode refers to a mode adopted by the service data during issuing.
In the embodiment of the present invention, the issue logic is set based on different service scenarios, for example, in the login issue node, the issue logic may be set as follows: the login password of the user must be three different combinations and the password length is greater than ten bits, the release mode comprises that the release is stopped immediately when an error is encountered and the release is continued when the error is encountered, and the creation of the release template can be compiled through Java language.
S3, loading the service data into the release template to generate a release file of the service release request.
It should be understood that only the release rule (release logic and release mode) and the release node of the service release request exist in the release template, and no specific release data exists, so that the embodiment of the invention generates the release file of the service release request by loading the service data into the release template, so as to ensure the online access of the subsequent service release request corresponding to the service to be released.
As one embodiment of the present invention, the loading the service data into the release template to generate a release file of the service release request includes: and matching the service data with the release nodes in the release template, and transmitting the service data successfully matched to the release nodes by utilizing a preset loading function so as to obtain the release file of the service release request.
The matching between the service data and the release node in the release template may be implemented by a character matching algorithm, for example, a naive algorithm, and the preset loading function may be a load () function.
Further, in the embodiment of the invention, the release file can be stored in a BPMN file format so as to realize visual display of the release file and help a user to better update or modify data in the release file.
Further, to ensure the privacy and security of the published file, the published file may also be stored in a blockchain node.
S4, uploading the release file to a server corresponding to the client so as to execute service release of the service release request through the server.
According to the embodiment of the invention, the data access and data sharing of the service to be distributed of the service distribution request can be realized by uploading the distribution file to the server corresponding to the client so as to execute the distribution of the service corresponding to the service distribution request, and optionally, the uploading of the distribution file can be realized by a distribution machine, such as a Tomcat machine.
In the embodiment of the present invention, 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, an online medical payment release request, or the like.
It can be seen that, firstly, by identifying service data and service functions of a service release request transmitted by a client, the invention can ensure that a subsequent service release request corresponds to an access premise of a service to be released, and by combining the service functions, a release node of the service release request is created, an operation flow of the service functions in the subsequent service release request can be determined, a release template of the service release request is built in the release node, a loading mode and a loading rule of service data in the service release request can be determined, so that release services with the same bottom logic code can use the same set of release templates, the bottom logic configuration of a plurality of release services is reduced, and the service release efficiency is improved; secondly, the embodiment of the invention loads the service data into the release template to generate the release file of the service release request, and uploads the release file to the server corresponding to the client to execute the service release of the service release request, thereby realizing the online access of the service to be released corresponding to the service release request, and further realizing the data access and data sharing of the service to be released of the service release request. Therefore, the dynamic service release method provided by the invention can realize dynamic release of the service and improve the efficiency of service release.
As shown in fig. 2, a functional block diagram of the dynamic service delivery device according to the present invention is shown.
The dynamic service issuing apparatus 100 of the present invention may be installed in an electronic device. The dynamic service issuing apparatus may include a service request preprocessing module 101, an issue template generation module 102, an issue file generation module 103, and a service issue module 104 according to the implemented functions. The module according to the invention, which may also be referred to as a unit, refers to a series of computer program segments, which are stored in the memory of the electronic device, capable of being executed by the processor of the electronic device and of performing a fixed function.
In the present embodiment, the functions concerning the respective modules/units are 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 (Client) or referred to as Client refers to a program corresponding to a server and providing local service for a Client, and in the present invention, the Client is configured to transmit a service publishing request to the server to implement service publishing, where the service publishing request is generated based on different user requirements, for example, the requirement of user a is a publishing information query service, and the requirement of user B is a publishing order query service.
It should be understood that, in the service release request, corresponding service data and service functions exist to ensure normal access of the service released later, where the service data refers to application data such as page data, configuration data and the like that loads the service release request, and the service functions refer to access functions such as a data query function, a data interaction function and the like that implement the service release request.
As an embodiment of the present invention, the querying the service data of the service release request, the service request preprocessing module 101 performs the following manner: and acquiring a service object of the service release request and a requirement document of the service release request, converting the service object into an object field, and inquiring service data of the object field from the requirement document.
The service object refers to a page object, such as a page element, a page form, etc., which needs to be loaded in the service release request, the requirement document refers to a configuration file constructed before releasing the service, which can represent data resources, such as a system architecture, a compiling environment, etc., required by the service release request, and optionally, service data query of the object field can be realized through query statements, such as SQL statements.
As an embodiment of the present invention, the service function for identifying the service issue request, the service request preprocessing module 101 performs the following manner: and inquiring a service event of the service release request according to the service object of the service release request, identifying the release effect of the service event, and taking the release effect as the service function of the service release request.
The service event is used for representing the service type, such as a login event, a verification event and the like, existing in the service release request, the release effect can be understood as an effect which can be achieved when the service event is online, for example, the release effect of the verification event can be the validity of the verification user identity, and the service function of the verification event can be the user identity verification.
Based on the service data and the service function, the access premise that the subsequent service release request corresponds to the service to be released can be ensured.
The release template generating module 102 is configured to invoke a functional component that runs the service function, identify a flow relationship of the functional component, create a release node of the service release request according to the flow relationship and the functional component, and build a release template of the service release request in the release node.
In the embodiment of the present invention, the functional component is an operation component for guaranteeing the service function, if the service function is a data asynchronous processing function, the functional component of the data asynchronous processing function may be an MQ component, and if the service function is an interface calling function, the functional component of the interface calling function may be a Dubbo component, and the circulation relationship is an order to be followed when the service is on line in the called functional component, and if the circulation relationship between the MQ component and the Dubbo component may be: the interface call of the Dubbo component is firstly carried out, and then the data asynchronous processing of the MQ component is carried out.
Alternatively, the call of the functional component may be obtained by accessing an open source database of the functional component through a URL address, and the creation of the publishing node of the service publishing request may be implemented through a manifold. The publishing node can be understood as a working node loading the service publishing request, such as a page configuration node, an interface calling node, a gateway node and the like, and further, the embodiment of the invention determines the operation flow of the service function in the subsequent service publishing request by creating the publishing node of the service publishing request.
As an embodiment of the present invention, the call runs the functional component of the service function, and the publication template generation module 102 performs the following manner: and acquiring an external system address for running the service function, identifying an external system interface for running the service function, and calling the external system interface according to the external system address to obtain a functional component for running the service function.
The external system address refers to a URL address where the functional component exists, and the external system interface refers to a connection entry where the external system provides a call functional component to a third party platform, such as an API interface. Alternatively, the invocation of the external system interface may be implemented by a window function.
As an embodiment of the present invention, the identifying the circulation relationship of the functional components, the issuing template generating module 102 performs the following manner: and acquiring the functional attribute of the functional component, determining the dependency relationship of the functional component according to the functional attribute, and taking the dependency relationship as the circulation relationship of the functional component.
The functional attribute is functional information for representing the functional components, and according to the functional attribute, the dependency relationship among the functional components can be defined, wherein the dependency relationship comprises a parallel relationship, an inclusion relationship and a dependency relationship.
Further, in the embodiment of the present invention, the creating a release node of the service release request according to the flow relation and the functional component, the release template generating module 102 performs the following manner: and according to the flow relation, the functional components are connected in series to obtain workflow nodes of the functional components, and the workflow nodes are used as the issuing nodes of the service issuing request. Wherein the concatenation of the functional components may be compiled by a scripting language, such as JavaScript scripting language.
Further, in the embodiment of the invention, the release templates of the service release requests are constructed in the release nodes to determine the loading mode and the loading rule of the service data in the service release requests, so that release services with the same bottom logic codes can use the same set of release templates, the bottom logic configuration of a plurality of release services is reduced, and the service release efficiency is improved.
As an embodiment of the present invention, the publication template for the service publication request is constructed in the publication node, and the publication template generation module 102 performs the following manner: and defining the release logic and release mode of the service release request in the release node, and creating a release template of the service release request in the release node according to the release logic and the release mode.
The issuing logic refers to a data rule to be followed by the service data during issuing, and the issuing mode refers to a mode adopted by the service data during issuing.
In the embodiment of the present invention, the issue logic is set based on different service scenarios, for example, in the login issue node, the issue logic may be set as follows: the login password of the user must be three different combinations and the password length is greater than ten bits, the release mode comprises that the release is stopped immediately when an error is encountered and the release is continued when the error is encountered, and the creation of the release template can be compiled through Java language.
The release file generation module 103 is configured to load the service data into the release template to generate a release file of the service release request.
It should be understood that only the release rule (release logic and release mode) and the release node of the service release request exist in the release template, and no specific release data exists, so that the embodiment of the invention generates the release file of the service release request by loading the service data into the release template, 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 invention, the loading the service data into the publishing template to generate a publishing file of the service publishing request, and the publishing file generating module 103 performs the following manner: and matching the service data with the release nodes in the release template, and transmitting the service data successfully matched to the release nodes by utilizing a preset loading function so as to obtain the release file of the service release request.
The matching between the service data and the release node in the release template may be implemented by a character matching algorithm, for example, a naive algorithm, and the preset loading function may be a load () function.
Further, in the embodiment of the invention, the release file can be stored in a BPMN file format so as to realize visual display of the release file and help a user to better update or modify data in the release file.
Further, to ensure the privacy and security of the published file, the published file may also be stored in a blockchain node.
The service release module 104 is configured to upload the release file to a server corresponding to the client, so as to execute, by using the server, service release of the service release request.
According to the embodiment of the invention, the data access and data sharing of the service to be distributed of the service distribution request can be realized by uploading the distribution file to the server corresponding to the client so as to execute the distribution of the service corresponding to the service distribution request, and optionally, the uploading of the distribution file can be realized by a distribution machine, such as a Tomcat machine.
It can be seen that, firstly, by identifying service data and service functions of a service release request transmitted by a client, the invention can ensure that a subsequent service release request corresponds to an access premise of a service to be released, and by combining the service functions, a release node of the service release request is created, an operation flow of the service functions in the subsequent service release request can be determined, a release template of the service release request is built in the release node, a loading mode and a loading rule of service data in the service release request can be determined, so that release services with the same bottom logic code can use the same set of release templates, the bottom logic configuration of a plurality of release services is reduced, and the service release efficiency is improved; secondly, the embodiment of the invention loads the service data into the release template to generate the release file of the service release request, and uploads the release file to the server corresponding to the client to execute the service release of the service release request, thereby realizing the online access of the service to be released corresponding to the service release request, and further realizing the data access and data sharing of the service to be released of the service release request. Therefore, the dynamic service release device provided by the invention can realize dynamic release of the service and improve the efficiency of service release.
As shown in fig. 3, a schematic structural diagram of an electronic device 1 implementing a dynamic service distribution method according to the present invention is shown.
The electronic device 1 may comprise a processor 10, a memory 11, a communication bus 12 and a communication interface 13, and may further comprise a computer program, such as a dynamic service distribution program, stored in the memory 11 and executable on the processor 10.
The processor 10 may be formed by an integrated circuit in some embodiments, for example, a single packaged integrated circuit, or may be formed by a plurality of integrated circuits packaged with the same function or different functions, including one or more central processing units (Central Processing unit, CPU), a microprocessor, a digital processing chip, a graphics processor, a combination of various control chips, and so on. The processor 10 is a Control Unit (Control Unit) of the electronic device 1, connects respective components of the entire electronic device 1 using various interfaces and lines, executes programs or modules stored in the memory 11 (for example, executes a dynamic service distribution program or the like), and invokes data stored in the memory 11 to perform various functions of the electronic device 1 and process data.
The memory 11 includes at least one type of readable storage medium including flash memory, a removable hard disk, a multimedia card, a card type memory (e.g., SD or DX memory, etc.), a magnetic memory, a magnetic disk, an optical disk, etc. The memory 11 may in some embodiments be an internal storage unit of the electronic device 1, such as a removable hard disk of the electronic device 1. The memory 11 may in other embodiments also be an external storage device of the electronic device 1, such as a plug-in mobile hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or the like, which are provided on the electronic device 1. Further, the memory 11 may also include both an internal storage unit and an external storage device of the electronic device 1. The memory 11 may be used not only for storing application software installed in the electronic device 1 and various types of data, such as codes of dynamic service delivery programs, but also for temporarily storing data that has been output or is to be output.
The communication bus 12 may be a peripheral component interconnect standard (peripheral component interconnect, PCI) bus, or an extended industry standard architecture (extended industry standard architecture, EISA) bus, among others. The bus may be classified as an address bus, a data bus, a control bus, etc. The bus is arranged to enable a connection communication between the memory 11 and at least one processor 10 etc.
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 comprise a wired interface and/or a wireless interface (e.g. WI-FI interface, bluetooth interface, etc.), typically used to establish a communication connection between the electronic device 1 and other electronic devices 1. The employee interface may be a Display (Display), an input unit such as a Keyboard (Keyboard), or alternatively a standard wired interface, a wireless interface. Alternatively, 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) touch, or the like. The display may also be referred to as a display screen or display unit, as appropriate, for displaying information processed in the electronic device 1 and for displaying a visual staff interface.
Fig. 3 shows only an electronic device 1 with components, it being understood by a person skilled in the art that the structure shown in fig. 3 does not constitute a limitation of the electronic device 1, and may comprise fewer or more components than shown, or may combine certain components, or may be arranged in different components.
For example, although not shown, the electronic device 1 may further include a power source (such as a battery) for supplying power to each component, and preferably, the power source may be logically connected to the at least one processor 10 through a power management device, so that functions of charge management, discharge management, power consumption management, and the like are implemented through the power management device. The power supply may also include one or more of any of a direct current or alternating current power supply, recharging device, power failure detection circuit, power converter or inverter, power status indicator, etc. The electronic device 1 may further include various sensors, bluetooth modules, wi-Fi modules, etc., which will not be described herein.
It should be understood that the embodiments described are for illustrative purposes only and are not limited in scope by this configuration.
The dynamic service delivery program stored in the memory 11 of the electronic device 1 is a combination of a plurality of computer programs, which when run in the processor 10, can implement:
receiving a service release request transmitted by a client, inquiring service data of the service release request, and identifying a service function of the service release request;
invoking a functional component for running the service function, identifying the circulation relation of the functional component, creating a release node of the service release request according to the flow relation and the functional component, and constructing a release template of the service release request in the release node;
Loading the service data into the release template to generate a release file of the service release request;
and uploading the release file to a server corresponding to the client so as to execute service release of the service release request through the server.
In particular, the specific implementation method of the processor 10 on the computer program may refer to the description of the relevant steps in the corresponding embodiment of fig. 1, which is not repeated herein.
Further, the integrated modules/units of the electronic device 1 may be stored in a non-volatile computer readable storage medium if implemented in the form of software functional units and sold or used as a stand alone product. The computer readable storage medium may be volatile or nonvolatile. For example, the computer readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM).
The present invention also provides a computer readable storage medium storing a computer program which, when executed by a processor of an electronic device 1, may implement:
Receiving a service release request transmitted by a client, inquiring service data of the service release request, and identifying a service function of the service release request;
invoking a functional component for running the service function, identifying the circulation relation of the functional component, creating a release node of the service release request according to the flow relation and the functional component, and constructing a release template of the service release request in the release node;
loading the service data into the release template to generate a release file of the service release request;
and uploading the release file to a server corresponding to the client so as to execute service release of the service release request through the server.
In the several embodiments provided in the present invention, it should be understood that the disclosed apparatus, device and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is merely a logical function division, and there may be other manners of division when actually implemented.
The modules described as separate components may or may not be physically separate, and components shown as modules may or may not be physical units, may be located in one place, or may be distributed over multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional module in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units can be realized in a form of hardware or a form of hardware and a form of software functional modules.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential characteristics thereof.
The present embodiments are, therefore, to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference signs in the claims shall not be construed as limiting the claim concerned.
The blockchain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, consensus mechanism, encryption algorithm and the like. The Blockchain (Blockchain), which is essentially a decentralised database, is a string of data blocks that are generated by cryptographic means in association, each data block containing a batch of information of network transactions for verifying the validity of the information (anti-counterfeiting) and generating the next block. The blockchain may include a blockchain underlying platform, a platform product services layer, an application services layer, and the like.
The embodiment of the invention can acquire and process the related data based on the artificial intelligence technology. Among these, artificial intelligence (Artificial Intelligence, AI) is the theory, method, technique and application system that uses a digital computer or a digital computer-controlled machine to simulate, extend and extend human intelligence, sense the environment, acquire knowledge and use knowledge to obtain optimal results.
Furthermore, it is evident that the word "comprising" does not exclude other elements or steps, and that the singular does not exclude a plurality. A plurality of units or means recited in the system claims can also be implemented by means of software or hardware by means of one unit or means. The terms second, etc. are used to denote a name, but not any particular order.
Finally, it should be noted that the above-mentioned embodiments are merely for illustrating the technical solution of the present invention and not for limiting the same, and although the present invention has been described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications and equivalents may be made to the technical solution of the present invention without departing from the spirit and scope of the technical solution of the present invention.

Claims (9)

1. A dynamic service distribution method, the method comprising:
Receiving a service release request transmitted by a client, inquiring service data of the service release request, and identifying a service function of the service release request;
calling a functional component for running the service function, identifying the flow relation of the functional component, creating a release node of the service release request according to the flow relation and the functional component, and constructing a release template of the service release request in the release node;
loading the service data into the release template to generate a release file of the service release request;
uploading the release file to a server corresponding to the client so as to execute service release of the service release request through the server;
wherein the identifying the flow relationship of the functional component comprises: acquiring the functional attribute of the functional component, determining the dependency relationship of the functional component according to the functional attribute, and taking the dependency relationship as the flow relationship of the functional component;
the creating a release node of the service release request according to the flow relation and the functional component includes: and according to the flow relation, the functional components are connected in series to obtain workflow nodes of the functional components, and the workflow nodes are used as the issuing nodes of the service issuing request.
2. The dynamic service distribution method according to claim 1, wherein the querying the service data of the service distribution request includes:
acquiring a service object of the service release request and a requirement document of the service release request;
and converting the service object into an object field, and inquiring service data of the object field from the requirement document.
3. The dynamic service distribution method according to claim 1, wherein the identifying the service function of the service distribution request includes:
inquiring a service event of the service release request according to the service object of the service release request;
and identifying the release effect of the service event and taking the release effect as the service function of the service release request.
4. The dynamic service distribution method according to claim 1, wherein the calling a function component that runs the service function includes:
acquiring an external system address for running the service function, and identifying an external system interface for running the service function;
and calling the external system interface according to the external system address to obtain a functional component for running the service function.
5. The dynamic service distribution method according to any one of claims 1 to 4, wherein said constructing a distribution template of the service distribution request in the distribution node includes:
defining a release logic and a release mode of the service release request in the release node;
and creating a release template of the service release request at the release node according to the release logic and the release mode.
6. The dynamic service distribution method according to claim 5, wherein the loading the service data into the distribution template to generate the distribution file of the service distribution request includes:
matching the service data with the release nodes in the release template;
and transmitting the service data successfully matched to the release node by using a preset loading function so as to obtain a release file of the service release request.
7. A dynamic service distribution apparatus for implementing the dynamic service distribution method according to any one of claims 1 to 6, characterized in that the apparatus comprises:
the service request preprocessing module is used for receiving a service release request transmitted by a client, inquiring service data of the service release request and identifying a service function of the service release request;
The release template generation module is used for calling a functional component for running the service function, identifying the flow relation of the functional component, creating a release node of the service release request according to the flow relation and the functional component, and constructing a release template of the service release request in the release node;
the release file generation module is used for loading the service data into the release template to generate a release file of the service release request;
and the service release module is used for uploading the release file to a server corresponding to the client so as to execute the service release of the service release request through the server.
8. An electronic device, the electronic device comprising:
at least one processor; the method comprises the steps of,
a memory communicatively coupled to the at least one processor; wherein, the liquid crystal display device comprises a liquid crystal display device,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the dynamic service distribution method according to any one of claims 1 to 6.
9. A computer readable storage medium storing a computer program, wherein the computer program when executed by a processor implements the dynamic service distribution method according to any one of claims 1 to 6.
CN202111000944.5A 2021-08-30 2021-08-30 Dynamic service release method and device, electronic equipment and storage medium Active CN113704665B (en)

Priority Applications (2)

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

Applications Claiming Priority (1)

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

Publications (2)

Publication Number Publication Date
CN113704665A CN113704665A (en) 2021-11-26
CN113704665B true CN113704665B (en) 2023-10-13

Family

ID=78656502

Family Applications (1)

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

Country Status (2)

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

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
CN116302294B (en) * 2023-05-18 2023-09-01 安元科技股份有限公司 Method and system for automatically identifying component attribute through interface
CN117608554A (en) * 2023-11-24 2024-02-27 上海浦东发展银行股份有限公司 Visual voice flow one-key release method, system and medium

Citations (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
CN113268272A (en) * 2021-05-28 2021-08-17 中国工商银行股份有限公司 Application delivery method, device and system based on private cloud

Family Cites Families (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
CN103777931B (en) * 2012-10-22 2017-05-10 北大方正集团有限公司 Dynamic page generation method and system with loose relation to business logic
CN104699471B (en) * 2013-12-09 2018-07-27 中国商用飞机有限责任公司 A kind of technical publications content delivering system and method
CN112528051B (en) * 2019-09-19 2022-10-14 聚好看科技股份有限公司 Singing work publishing method, display device and server
US11281438B2 (en) * 2020-04-09 2022-03-22 Modak Technologies FZE Platform for web services development and method therefor
CN112507725B (en) * 2020-12-09 2023-06-20 建信金融科技有限责任公司 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
CN113704665B (en) * 2021-08-30 2023-10-13 康键信息技术(深圳)有限公司 Dynamic service release method and device, electronic equipment and storage medium

Patent Citations (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
CN113268272A (en) * 2021-05-28 2021-08-17 中国工商银行股份有限公司 Application delivery method, device and system based on private cloud

Also Published As

Publication number Publication date
CN113704665A (en) 2021-11-26
WO2023029509A1 (en) 2023-03-09

Similar Documents

Publication Publication Date Title
CN113704665B (en) Dynamic service release method and device, electronic equipment and storage medium
WO2023056943A1 (en) Internet of things rule engine-based terminal control method and apparatus, and device and medium
CN112528307A (en) Service request checking method and device, electronic equipment and storage medium
CN113407997A (en) Data desensitization method and device, computer equipment and storage medium
CN113806434A (en) Big data processing method, device, equipment and medium
CN110147507A (en) A kind of method, apparatus obtaining short chained address and server
CN111694844A (en) Enterprise operation data analysis method and device based on configuration algorithm and electronic equipment
CN111651121A (en) Data logic calculation method and device, electronic equipment and storage medium
CN114519084A (en) Block chain-based medical data inspection method, device, equipment and medium
CN114356530A (en) Task scheduling method and device, electronic equipment and storage medium
CN114185776A (en) Big data point burying method, device, equipment and medium for application program
CN113382017A (en) Permission control method and device based on white list, electronic equipment and storage medium
CN112235409A (en) File uploading method and device, electronic equipment and computer readable storage medium
CN113535565B (en) Interface use case generation method, device, equipment and medium
CN111651509B (en) Hbase database-based data importing method and device, electronic equipment and medium
CN114036068A (en) Update detection method, device, equipment and storage medium based on privacy security
CN112667244A (en) Data verification method and device, electronic equipment and computer readable storage medium
CN113127109A (en) Interface calling method and device, electronic equipment and readable storage medium
CN112686759A (en) Account checking monitoring method, device, equipment and medium
CN111598544A (en) Method and apparatus for processing information
CN114640666B (en) File sharing downloading method, electronic equipment and readable storage medium
CN116934263B (en) Product batch admittance method, device, equipment and medium
CN112328960B (en) Optimization method and device for data operation, electronic equipment and storage medium
CN112637280B (en) Data transmission method, device, electronic equipment and storage medium
CN114006877A (en) Message transmission method and device, electronic equipment and storage medium

Legal Events

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