CN109144487B - Method, device, computer equipment and storage medium for developing business of parts - Google Patents

Method, device, computer equipment and storage medium for developing business of parts Download PDF

Info

Publication number
CN109144487B
CN109144487B CN201811123595.4A CN201811123595A CN109144487B CN 109144487 B CN109144487 B CN 109144487B CN 201811123595 A CN201811123595 A CN 201811123595A CN 109144487 B CN109144487 B CN 109144487B
Authority
CN
China
Prior art keywords
node
preset
service node
service
identifier
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
CN201811123595.4A
Other languages
Chinese (zh)
Other versions
CN109144487A (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.)
Henan Zhirui Technology Co ltd
Original Assignee
Henan Zhirui Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Henan Zhirui Technology Co ltd filed Critical Henan Zhirui Technology Co ltd
Priority to CN201811123595.4A priority Critical patent/CN109144487B/en
Publication of CN109144487A publication Critical patent/CN109144487A/en
Application granted granted Critical
Publication of CN109144487B publication Critical patent/CN109144487B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design
    • G06F8/24Object-oriented

Abstract

The application relates to the distributed field and provides a method, a device, computer equipment and a storage medium for developing a feed service. The method comprises the following steps: receiving a development request of the business of the part, wherein the development request carries an application identifier, and acquiring a service node identifier corresponding to the business of the part and a function node identifier corresponding to the service node identifier according to the application identifier; acquiring corresponding preset service nodes and preset function nodes corresponding to the preset service nodes according to the service node identifiers and the function node identifiers corresponding to the service node identifiers; generating a corresponding configuration interface according to the preset service node and a preset function node corresponding to the preset service node, and acquiring configuration information through the configuration interface; and obtaining a target service node and a target function node according to the configuration information, the preset service node and the preset function node, and writing the target service node and the target function node into the business workflow of the business of the application identifier. By adopting the method, the development efficiency of loan application can be improved.

Description

Method, device, computer equipment and storage medium for developing business of parts
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method and apparatus for developing a business of a part, a computer device, and a storage medium.
Background
At present, loans are increasingly in line with social demands through internet, and development of different loan applications on the internet requires development of business of proceeding parts, wherein proceeding parts refers to a process of submitting loan application data to loan companies or banks for auditing after preparing the loan application data. Because different loan applications use different production lines to develop the business of feeding parts, codes of the business of feeding parts are bloated, a large amount of manpower and material resources are wasted, and the development efficiency of the loan applications is low.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a method, apparatus, computer device, and storage medium for developing a business-in-process capable of improving the development efficiency of loan applications.
A method of feed business development, the method comprising:
receiving a development request of a business of a part, wherein the development request carries an application identifier, and acquiring a service node identifier corresponding to the business of the part and a function node identifier corresponding to the service node identifier according to the application identifier;
acquiring a corresponding preset service node and a preset functional node corresponding to the preset service node according to the service node identifier and the functional node identifier corresponding to the service node identifier;
Generating a corresponding configuration interface according to a preset service node and a preset function node corresponding to the preset service node, and acquiring configuration information through the configuration interface;
and obtaining a target service node and a target function node corresponding to the target service node according to the configuration information, the preset service node and the preset function node corresponding to the preset service node, and writing the target service node and the target function node corresponding to the target service node into the business workflow of the application identifier.
In one embodiment, the business development request is received through a unified application interface; before receiving a development request of the business of the part, wherein the development request carries an application identifier, and acquiring a service node identifier and a functional node identifier corresponding to the business of the part according to the application identifier, the method further comprises the following steps:
acquiring business process information of the incoming call, and micro-servicing the business according to the business process information of the incoming call to obtain the preset service node;
micro-servicing the preset service node to obtain a preset function node corresponding to the preset service node;
and establishing a business micro-service cluster of the incoming part according to the preset service node and the preset function node corresponding to the preset service node, and establishing a unified application interface.
In one embodiment, the micro-servicing the service according to the service flow information to obtain the preset service node includes:
and acquiring a calling class code, a preset input parameter and a processing logic code of the preset service node according to the business process information, and packaging the calling class code, the preset input parameter and the processing logic code to obtain the preset service node.
In one embodiment, the micro-servicing the preset service node to obtain a preset function node corresponding to the preset service node includes:
and acquiring processing logic of the preset service node, acquiring calling class codes, preset input parameters and processing logic codes of the preset function node according to the processing logic, and packaging the calling class codes, the preset input parameters and the processing logic codes of the preset function node to obtain the preset function node.
In one embodiment, after writing the target service node and the target function node into the application-identified feed service workflow, the method further includes:
receiving an update request of the incoming service, the update request carrying an update node identification and update content, acquiring a corresponding target node in the business workflow according to the updated node identifier;
The update content is written to the target node using delta updates.
In one embodiment, the obtaining, according to the application identifier, a service node identifier corresponding to the service and a function node identifier corresponding to the service node identifier includes:
searching the application identifier in a preset application permission table, and acquiring a service node identifier corresponding to the service and a function node identifier corresponding to the service node identifier when the application identifier exists in the preset application permission table.
In one embodiment, after writing the target service node and the target function node into the application-identified feed service workflow, the method further includes:
acquiring a preset monitoring script, and writing the preset monitoring script into a business workflow of an inlet;
and starting the preset monitoring script to monitor the target service node and the target function node and generating a monitoring log.
A feed service development device, the device comprising:
an identification acquisition module for receiving a development request of the business of the incoming part, wherein the development request carries an application identification, acquiring a service node identifier corresponding to the service in the service and a function node identifier corresponding to the service node identifier according to the application identifier;
The node acquisition module is used for acquiring a corresponding preset service node and a preset functional node corresponding to the preset service node according to the service node identifier and the functional node identifier corresponding to the service node identifier;
the configuration module is used for generating a corresponding configuration interface according to a preset service node and a preset function node corresponding to the preset service node, and acquiring configuration information through the configuration interface;
and the node writing module is used for obtaining a target service node and a target function node corresponding to the target service node according to the configuration information, the preset service node and the preset function node corresponding to the preset service node, and writing the target service node and the target function node corresponding to the target service node into the business workflow of the application identifier.
A computer device comprising a memory storing a computer program and a processor which when executing the computer program performs the steps of:
receiving a development request of a business of a part, wherein the development request carries an application identifier, and acquiring a service node identifier corresponding to the business of the part and a function node identifier corresponding to the service node identifier according to the application identifier;
Acquiring a corresponding preset service node and a preset functional node corresponding to the preset service node according to the service node identifier and the functional node identifier corresponding to the service node identifier;
generating a corresponding configuration interface according to a preset service node and a preset function node corresponding to the preset service node, and acquiring configuration information through the configuration interface;
and obtaining a target service node and a target function node corresponding to the target service node according to the configuration information, the preset service node and the preset function node corresponding to the preset service node, and writing the target service node and the target function node corresponding to the target service node into the business workflow of the application identifier.
A computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of:
receiving a development request of a business of a part, wherein the development request carries an application identifier, and acquiring a service node identifier corresponding to the business of the part and a function node identifier corresponding to the service node identifier according to the application identifier;
acquiring a corresponding preset service node and a preset functional node corresponding to the preset service node according to the service node identifier and the functional node identifier corresponding to the service node identifier;
Generating a corresponding configuration interface according to a preset service node and a preset function node corresponding to the preset service node, and acquiring configuration information through the configuration interface;
and obtaining a target service node and a target function node corresponding to the target service node according to the configuration information, the preset service node and the preset function node corresponding to the preset service node, and writing the target service node and the target function node corresponding to the target service node into the business workflow of the application identifier.
The method, the device, the computer equipment and the storage medium for developing the business of the parts, receiving a development request of a business of a part, wherein the development request carries an application identifier, acquiring a service node identifier corresponding to the service in the service and a function node identifier corresponding to the service node identifier according to the application identifier; acquiring a corresponding preset service node and a preset functional node corresponding to the preset service node according to the service node identifier and the functional node identifier corresponding to the service node identifier; generating a corresponding configuration interface according to a preset service node and a preset function node corresponding to the preset service node, and acquiring configuration information through the configuration interface; obtaining a target service node and a target function node corresponding to the target service node according to the configuration information, the preset service node and the preset function node corresponding to the preset service node, writing the target service node and the target function node corresponding to the target service node into the business workflow of the application identifier, and when developing loan products, the method and the system can directly acquire the preset service node and the function node corresponding to the service node to obtain the target service node and the target function node corresponding to the target service node, and then write the target service node and the target function node corresponding to the target service node into the preset business workflow of the part feeding, so that the efficiency of the business development of the part feeding can be improved, and further the application development efficiency of the loan is improved.
Drawings
FIG. 1 is an application scenario diagram of a method for development of a feed service in one embodiment;
FIG. 2 is a flow chart of a method for developing a business for parts in one embodiment;
FIG. 3 is a flow diagram of a method for establishing a package business micro service cluster in one embodiment;
FIG. 4 is a flow diagram of updating nodes in one embodiment;
FIG. 5 is a flow diagram of a monitoring node in one embodiment;
FIG. 6 is a block diagram of an embodiment of a device for development of a feed service;
fig. 7 is an internal structural diagram of a computer device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
The method for developing the business of the incoming part can be applied to an application environment shown in figure 1. Wherein the terminal 102 communicates with the server 104 via a network. The terminal 102 receives a development request of the business of the part, wherein the development request carries an application identifier, and obtains a service node identifier corresponding to the business of the part and a function node identifier corresponding to the service node identifier according to the application identifier; acquiring corresponding preset service nodes and preset function nodes corresponding to the preset service nodes according to the service node identifiers and the function node identifiers corresponding to the service node identifiers; generating a corresponding configuration interface according to the preset service node and a preset function node corresponding to the preset service node, and acquiring configuration information through the configuration interface; obtaining a target service node and a target function node corresponding to the target service node according to the configuration information, the preset service node and the preset function node corresponding to the preset service node, the target service node and the target function node corresponding to the target service node are written into the business workflow of the application identifier, and the business workflow of the business is carried in the server 104. The terminal 102 may be, but not limited to, various personal computers, notebook computers, smartphones, tablet computers, and portable wearable devices, and the server 104 may be implemented by a stand-alone server or a server cluster composed of a plurality of servers.
In one embodiment, as shown in fig. 2, a method for developing a feed service is provided, and the method is applied to the terminal in fig. 1 for illustration, and includes the following steps:
s202, receiving a development request of the business of the incoming part, wherein the development request carries an application identifier, and acquiring the service node identification corresponding to the business of the incoming call and the function node identification corresponding to the service node identification according to the application identification.
Wherein the application identification is used to identify a loan application to be developed. The service node identifier is used for identifying a node obtained after the service of the incoming call is micro-serviced, and the functional node identifier is used for identifying a node obtained after the service node is further micro-serviced, and each micro-serviced node is an independent deployment unit.
Specifically, the terminal receives a request from a developer to develop a loan application, wherein the request carries an identifier of the loan application to be developed, and the loan application is a part to be developed in the loan application. At this time, service node identifiers and functional node identifiers corresponding to the service node identifiers are obtained according to the loan application identifiers to be developed, wherein the node identifiers are node identifiers required in the loan application business development.
S204, obtaining corresponding preset service nodes and preset function nodes corresponding to the preset service nodes according to the service node identifiers and the function node identifiers corresponding to the service node identifiers.
Wherein the preset service node is a service node obtained by micro-servicing the feed business in advance, and then further micro-servicing the service node to obtain a preset function node, and obtaining the business micro-servicing cluster of the incoming business.
Specifically, corresponding nodes are found in the micro-servitization cluster according to the node identifiers required by the loan application development, namely corresponding preset service nodes and preset function nodes corresponding to the preset service nodes are obtained from the business micro-servitization cluster according to the service node identifiers and the function node identifiers corresponding to the service node identifiers.
S206, generating a corresponding configuration interface according to the preset service node and the preset function node corresponding to the preset service node, and acquiring configuration information through the configuration interface.
Wherein, the liquid crystal display device comprises a liquid crystal display device, a configuration interface for configuring the application identifier the parameter information of the nodes of the feed service,
specifically, the corresponding configuration interface is generated according to the preset service node and the preset function node corresponding to the preset service node, so that the developer can modify the parameter information of the node to be modified in the configuration interface, and can also use the parameter information preset by the node, namely, the parameter information is not modified. The terminal obtains the configured parameter information through the configuration interface.
S208, obtaining a target service node and a target function node corresponding to the target service node according to the configuration information, the preset service node and the preset function node corresponding to the preset service node, and writing the target service node and the target function node corresponding to the target service node into the business workflow of the business of the application identifier.
The target service node and the target function node are nodes required by the development of the business of the application identification. The business workflow of the part feeding refers to the business workflow of the part feeding of the loan application corresponding to the application identifier, wherein the business workflow of the part feeding refers to the business workflow of the part feeding of the application identifier, and the business workflow of the part feeding of the application identifier is formed by establishing the execution sequence of the target service node and the target function node in advance and establishing the corresponding thread for each target service node or target function node.
Specifically, according to configuration information, preset service nodes and preset function nodes corresponding to the preset service nodes, target service nodes and target function nodes corresponding to the target service nodes are obtained, namely, service nodes and function nodes corresponding to the service nodes for obtaining modification parameter information according to the configuration information, the target service nodes and the target function nodes are obtained, and then the obtained target service nodes and target function nodes are written into a pre-established business workflow of the part. When the development of the loan application is completed, and when a proceeding business using the loan application is proceeding, and sequentially executing the target service node and the target function node according to the business workflow of the business, and realizing the business of the business.
In the method for developing the loan service, the preset service node and the preset function node corresponding to the preset service node required by the loan service are obtained, the preset service node and the preset function node corresponding to the preset service node are configured through the configuration interface, the target service node and the target function node corresponding to the target service node are obtained, and the obtained target service node and the target function node corresponding to the target service node are written into the workflow of the loan service, so that the development of the loan service of the application identifier is completed, the development efficiency of the loan service is improved, and the development efficiency of the loan application is improved.
In one embodiment, as shown in FIG. 3, a request for development of a feed service is received through a unified application interface; before step S202, that is, before receiving the development request of the service in the package, the development request carries the application identifier, and before obtaining the service node identifier and the function node identifier corresponding to the service in the package according to the application identifier, the method further includes:
s302, acquiring the business process information of the incoming call, and micro-servicing the business of the incoming call according to the business process information of the incoming call to obtain a preset service node.
Wherein the business process information of the business in the business is that the user divides the business into specific realization processes according to the requirement, for example, the feed business process may include channel services identity recognition service, information input service credit giving and quota increasing service, credit investigation and approval service, subscription service and the like.
Specifically, the business process information of the incoming business is obtained, and the incoming business is micro-served according to the business process information of the incoming business, so that a preset service node is obtained. For example, the preset service nodes include a channel service node, an identity identification service node, an information input service node, a credit and quota service node, a credit and trust increase service node, a wind control approval service node and a subscription service node.
S304, the preset service node is micro-served to obtain a preset function node corresponding to the preset service node.
Specifically, the preset service node can be further subjected to micro-service, and the preset service node is split into preset functional nodes with smaller granularity. For example, the channel service node may be micro-served, and the obtained preset function node may include a store information function node, a product selection function node, an in-transit check function node, an application number generation function node, a product information storage function node, a money card information setting function node, and a city popularization check function node.
S306, establishing a business micro-service cluster of the incoming part according to the preset service node and the preset function node corresponding to the preset service node, and establishing a unified application interface.
Specifically, the obtained preset service nodes and preset function nodes corresponding to the preset service nodes are distributed and deployed to obtain a service micro-service cluster, a unified application interface is established, the unified application interface is used for receiving application requests of the nodes, and the nodes in the micro-service cluster can be obtained through the unified application interface. In one embodiment, a node information document can be generated according to a preset service node and a preset function node corresponding to the preset service node, and provided for a developer to use, wherein the node information document records the name, the function, the calling class name, the database information and the like of the node
In the above embodiment, the service of the package is micro-served according to the service flow information by obtaining the service flow information of the package, to obtain the preset service node, and the preset service node is micro-served to obtain the preset function node corresponding to the preset service node, and the service micro-service cluster of the package is built according to the preset service node and the preset function node corresponding to the preset service node, and the unified application interface is built. Through presetting the established service node and the function node, the established service node and function node can be directly used when the loan application development is carried out, so that the loan application development efficiency is improved.
In one embodiment, step S304, i.e. micro-servicing the feed service according to the feed service flow information, obtaining a preset service node, which comprises the following steps:
and acquiring a calling class code, a preset input parameter and a processing logic code of the preset service node according to the business process information of the incoming part, and packaging the calling class code, the preset input parameter and the processing logic code to obtain the preset service node.
The method comprises the steps of calling class codes to realize the called method of the service node, presetting input parameters which are parameter information required by the service node when the service node executes, and setting a database corresponding to the service node information. The processing logic code is configured to implement logic specific to the service node. For example, the preset service node may be a credit line service node, the calling class code realizes the calling of the node through a calling class, the preset input parameters may include an application result and a wind control result, the implementation processing logic includes implementing storing the credit line information and storing the rate information, and the implementation of storing the credit line information includes implementing parameter information obtaining and writing specific information corresponding to the parameter information into a credit line table. The method comprises the steps of obtaining parameter information of the saved rate information and writing the parameter information into an air control rate table.
Specifically, according to the business process information of the incoming call, the calling class code, the preset input parameter and the processing logic code of each preset service node are obtained, and the calling class code, the preset input parameter and the processing logic code are packaged to obtain the preset service node. Each preset service node can be independently tested and deployed, and the like, is high in cohesion and low in coupling, and is isolated in process.
In the embodiment, the calling class code, the preset input parameter and the processing logic code of the preset service node are obtained according to the business process information, the calling class code, the preset input parameter and the processing logic code are packaged to obtain the preset service node, and the service node is obtained by carrying out service micro-service in advance, so that the service node can be directly used when the loan application business is developed, and the development efficiency of the loan application business is improved.
In one embodiment, step S304, the micro-servicing the preset service node to obtain a preset function node corresponding to the preset service node, includes:
acquiring processing logic of a preset service node, acquiring calling class codes, preset input parameters and processing logic codes of the preset function node according to the processing logic, and packaging the calling class codes, the preset input parameters and the processing logic codes of the preset function node to obtain the preset function node.
Specifically, processing logic of a preset service node is obtained, splitting is carried out according to the processing logic of the preset service node and service requirements, calling class codes, preset input parameters and processing logic codes of split functional nodes are obtained, and the calling class codes, the preset input parameters and the processing logic codes of the preset functional nodes are subjected to service encapsulation to obtain the preset functional nodes. For example, the function node for generating the application number may obtain a calling class code of the function node, the preset input parameters include a channel code and a client type, and the processing logic may be a sequence of adding 2 bits before the channel code and 3 bits before the client type to a database to generate the application number, where the database sequence is read from the database.
In the above embodiment, the processing logic of the preset service node is obtained, and the calling class code, the preset input parameter and the processing logic code of the preset function node are obtained according to the processing logic, so that the calling class code, the preset input parameter and the processing logic code of the preset function node are packaged, and the preset function node is obtained. By further carrying out micro-service splitting on the service nodes, the function nodes with smaller granularity are obtained, the flow of the business of the member entering can be clearer, a developer can more conveniently select the required function nodes when carrying out loan application development, and the loan application development efficiency is improved.
In one embodiment, step S208, after writing the target service node and the target function node into the service workflow of the application identifier, further includes:
s402, receiving an update request of the business of the part, wherein the update request carries an update node identifier and update content, and acquiring a corresponding target node in the business workflow of the part according to the updated node identification.
S404, writing the updated content into the target node by using the increment update.
The incremental update refers to that only the place which needs to be changed is updated when the update operation is performed, and the place which does not need to be updated or is updated is not updated repeatedly.
Specifically, when the business needs to be updated, the server receives the update request of the business, the update request carries the update node identification and the update content which need to be updated, the server obtains a corresponding target node in the business workflow of the feed according to the update node identification, replaces the to-be-updated content corresponding to the update content in the target node with the update content, and writes the update content into the target node.
In the above embodiment, by receiving an update request of the service in the part, where the update request carries an update node identifier and update content, obtaining a corresponding target node in the workflow of the service in the part according to the update node identifier, the incremental update is used to write the update content into the target node, so that the service node which needs to be updated can be updated independently when the business of the incoming call is updated.
In one embodiment, step S202, that is, obtaining, according to the application identifier, the service node identifier corresponding to the incoming service and the function node identifier corresponding to the service node identifier, includes:
searching an application identifier in a preset application authority table, and acquiring a service node identifier corresponding to the business of the incoming part and a function node identifier corresponding to the service node identifier when the application identifier exists in the preset application authority table.
Specifically, an application permission table is preset in the terminal, and an application identifier is stored in the application permission table and is used for authorizing the application identifier to call the service node and the function node. When the application identifier is acquired, the acquired application identifier is searched in a preset application authority table, and when the application identifier can be searched in the preset application authority table, the application corresponding to the application identifier is indicated to call the service node and the function node, and then the service node identifier corresponding to the business in the part and the function node identifier corresponding to the service node identifier are acquired. When the application identifier is not found in the preset application authority list, the application identifier is indicated to have no authority to call the service node and the function node, and the prompt weight is insufficient, so that the authorized application can call the service node and the function node in development, thereby ensuring the security of the node
In one embodiment, after step S208, i.e. after writing the target service node and the target function node into the application-identified feed service workflow, the method further includes:
s502, acquiring a preset monitoring script, and writing the preset monitoring script into the business workflow of the inlet.
S504, starting a preset monitoring script to monitor the target service node and the target function node and generating a monitoring log.
The preset monitoring script is a shell script for monitoring the running states of the service node and the functional node.
Specifically, the server acquires a preset monitoring script, writes the monitoring script into the business workflow of the inlet, starts the monitoring script written into the business workflow of the inlet, monitors the running states of the target service node and the target function node in the business workflow of the inlet, and generates a monitoring log, for example, when the node running is abnormal, the monitoring script can timely discover the abnormal node and generate the monitoring log, abnormal node information, abnormal time, abnormal content and the like recorded in the log can be quickly positioned according to the monitoring log by a developer, and the subsequent abnormal solution is facilitated.
It should be understood that, although the steps in the flowcharts of fig. 2-5 are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in fig. 2-5 may include multiple sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, nor do the order in which the sub-steps or stages are performed necessarily occur sequentially, but may be performed alternately or alternately with at least a portion of the sub-steps or stages of other steps or steps.
In one embodiment, as shown in fig. 6, there is provided a feed service development apparatus 600, including: an identification acquisition module 602, a node acquisition module 604, a configuration module 606, and a node writing module 608, wherein:
the identifier obtaining module 602 is configured to receive a development request of a service of the service, where the development request carries an application identifier, and obtain a service node identifier corresponding to the service of the service and a functional node identifier corresponding to the service node identifier according to the application identifier;
The node obtaining module 604 is configured to obtain a corresponding preset service node and a preset function node corresponding to the preset service node according to the service node identifier and a function node identifier corresponding to the service node identifier;
the configuration module 606 is configured to generate a corresponding configuration interface according to the preset service node and a preset function node corresponding to the preset service node, and obtain configuration information through the configuration interface;
the node writing module 608 is configured to obtain a target service node and a target function node corresponding to the target service node according to the configuration information, the preset service node and the preset function node corresponding to the preset service node, and write the target service node and the target function node corresponding to the target service node into the business workflow of the application identifier.
In one embodiment, the identifier obtaining module 602 is further configured to receive a request for development of a business of a part through a unified application interface; the feed service development apparatus 600 further includes:
the service node obtaining module is used for obtaining the business process information of the incoming business, and micro-servicing the business according to the business process information of the incoming business to obtain a preset service node;
the function node obtaining module is used for micro-servicing the preset service node to obtain a preset function node corresponding to the preset service node;
The cluster building module is used for building a business micro-service cluster of the incoming part according to the preset service node and the preset function node corresponding to the preset service node, and building a unified application interface.
In one embodiment, the service node obtaining module includes:
the service node code acquisition module is used for acquiring calling class codes, preset input parameters and processing logic codes of preset service nodes according to the business process information of the parts, and packaging the calling class codes, the preset input parameters and the processing logic codes to obtain the preset service nodes.
In one embodiment, the functional node obtaining module includes:
the function node code acquisition module is used for acquiring processing logic of the preset service node, acquiring calling class codes, preset input parameters and processing logic codes of the preset function node according to the processing logic, and packaging the calling class codes, the preset input parameters and the processing logic codes of the preset function node to obtain the preset function node.
In one embodiment, the device 600 for developing a feed service further includes:
an update request receiving module for receiving an update request of the service, wherein the update request carries an update node identifier and update content, acquiring a corresponding target node in the business workflow of the part according to the updated node identification;
And the increment updating module is used for writing the updating content into the target node by using increment updating.
In one embodiment, the identification acquisition module 602 includes:
and the permission verification module is used for searching the application identifier in the preset application permission table, and acquiring the service node identifier corresponding to the business of the incoming part and the function node identifier corresponding to the service node identifier when the application identifier exists in the preset application permission table.
In one embodiment, the device 600 for developing a feed service further includes:
the script writing module is used for acquiring a preset monitoring script and writing the preset monitoring script into the business workflow of the part;
and the script monitoring module is used for starting a preset monitoring script to monitor the target service node and the target function node and generating a monitoring log.
Specific limitations regarding the feed service development apparatus can be found in the limitations on the feed service development method hereinabove, and will not be described in detail herein. The above-mentioned various modules in the feed service development device may be implemented in whole or in part by software, hardware, and combinations thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a computer device is provided, which may be a terminal, and the internal structure of which may be as shown in fig. 7. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program, when executed by a processor, implements a method of development of a feed service. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, can also be keys, a track ball or a touch pad arranged on the shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by those skilled in the art that the structure shown in fig. 7 is merely a block diagram of some of the structures associated with the present application and is not limiting of the computer device to which the present application may be applied, and that a particular computer device may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided comprising a memory storing a computer program and a processor that when executing the computer program performs the steps of: receiving a development request of the business of the part, wherein the development request carries an application identifier, and acquiring a service node identifier corresponding to the business of the part and a function node identifier corresponding to the service node identifier according to the application identifier; acquiring corresponding preset service nodes and preset function nodes corresponding to the preset service nodes according to the service node identifiers and the function node identifiers corresponding to the service node identifiers; generating a corresponding configuration interface according to the preset service node and a preset function node corresponding to the preset service node, and acquiring configuration information through the configuration interface; and according to the configuration information, the preset service node and the preset function node corresponding to the preset service node, obtaining a target service node and a target function node corresponding to the target service node, and writing the target service node and the target function node corresponding to the target service node into the business workflow of the business of the application identifier.
In one embodiment, the processor when executing the computer program further performs the steps of: acquiring business process information of the incoming business, and micro-servicing the business according to the business process information of the incoming business to obtain a preset service node; micro-servicing the preset service node to obtain a preset function node corresponding to the preset service node; and establishing a business micro-service cluster of the incoming part according to the preset service node and the preset functional node corresponding to the preset service node, and establishing a unified application interface.
In one embodiment, the processor when executing the computer program further performs the steps of: the service node code acquisition module is used for acquiring calling class codes, preset input parameters and processing logic codes of preset service nodes according to the business process information of the parts, and packaging the calling class codes, the preset input parameters and the processing logic codes to obtain the preset service nodes.
In one embodiment, the processor when executing the computer program further performs the steps of: acquiring processing logic of a preset service node, acquiring calling class codes, preset input parameters and processing logic codes of the preset function node according to the processing logic, and packaging the calling class codes, the preset input parameters and the processing logic codes of the preset function node to obtain the preset function node.
In one embodiment, the processor when executing the computer program further performs the steps of: receiving an update request of the business of the part, wherein the update request carries an update node identifier and update content, acquiring a corresponding target node in the business workflow of the part according to the updated node identification; the update content is written to the target node using incremental updates.
In one embodiment, the processor when executing the computer program further performs the steps of: searching an application identifier in a preset application authority table, and acquiring a service node identifier corresponding to the business of the incoming part and a function node identifier corresponding to the service node identifier when the application identifier exists in the preset application authority table.
In one embodiment, the processor when executing the computer program further performs the steps of: acquiring a preset monitoring script, and writing the preset monitoring script into the business workflow of the part; and starting a preset monitoring script to monitor the target service node and the target function node and generating a monitoring log.
In one embodiment, a computer readable storage medium is provided having a computer program stored thereon, which when executed by a processor, performs the steps of: receiving a development request of the business of the part, wherein the development request carries an application identifier, and acquiring a service node identifier corresponding to the business of the part and a function node identifier corresponding to the service node identifier according to the application identifier; acquiring corresponding preset service nodes and preset function nodes corresponding to the preset service nodes according to the service node identifiers and the function node identifiers corresponding to the service node identifiers; generating a corresponding configuration interface according to the preset service node and a preset function node corresponding to the preset service node, and acquiring configuration information through the configuration interface; and according to the configuration information, the preset service node and the preset function node corresponding to the preset service node, obtaining a target service node and a target function node corresponding to the target service node, and writing the target service node and the target function node corresponding to the target service node into the business workflow of the business of the application identifier.
In one embodiment, the computer program when executed by the processor further performs the steps of: acquiring business process information of the incoming business, and micro-servicing the business according to the business process information of the incoming business to obtain a preset service node; micro-servicing the preset service node to obtain a preset function node corresponding to the preset service node; and establishing a business micro-service cluster of the incoming part according to the preset service node and the preset functional node corresponding to the preset service node, and establishing a unified application interface.
In one embodiment, the computer program when executed by the processor further performs the steps of: the service node code acquisition module is used for acquiring calling class codes, preset input parameters and processing logic codes of preset service nodes according to the business process information of the parts, and packaging the calling class codes, the preset input parameters and the processing logic codes to obtain the preset service nodes.
In one embodiment, the computer program when executed by the processor further performs the steps of: acquiring processing logic of a preset service node, acquiring calling class codes, preset input parameters and processing logic codes of the preset function node according to the processing logic, and packaging the calling class codes, the preset input parameters and the processing logic codes of the preset function node to obtain the preset function node.
In one embodiment, the computer program when executed by the processor further performs the steps of: receiving an update request of the business of the part, wherein the update request carries an update node identifier and update content, acquiring a corresponding target node in the business workflow of the part according to the updated node identification; the update content is written to the target node using incremental updates.
In one embodiment, the computer program when executed by the processor further performs the steps of: searching an application identifier in a preset application authority table, and acquiring a service node identifier corresponding to the business of the incoming part and a function node identifier corresponding to the service node identifier when the application identifier exists in the preset application authority table.
In one embodiment, the computer program when executed by the processor further performs the steps of: acquiring a preset monitoring script, and writing the preset monitoring script into the business workflow of the part; and starting a preset monitoring script to monitor the target service node and the target function node and generating a monitoring log.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the various embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), memory bus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples merely represent a few embodiments of the present application, which are described in more detail and are not to be construed as limiting the scope of the invention. It should be noted that it would be apparent to those skilled in the art that various modifications and improvements could be made without departing from the spirit of the present application, which would be within the scope of the present application. Accordingly, the scope of protection of the present application is to be determined by the claims appended hereto.

Claims (10)

1. A method of feed business development, the method comprising:
receiving a development request of a business of a part, wherein the development request carries an application identifier, and acquiring a service node identifier corresponding to the business of the part and a function node identifier corresponding to the service node identifier according to the application identifier;
acquiring a corresponding preset service node and a preset functional node corresponding to the preset service node according to the service node identifier and the functional node identifier corresponding to the service node identifier;
Generating a corresponding configuration interface according to a preset service node and a preset function node corresponding to the preset service node, and acquiring configuration information through the configuration interface;
and obtaining a target service node and a target function node corresponding to the target service node according to the configuration information, the preset service node and the preset function node corresponding to the preset service node, and writing the target service node and the target function node corresponding to the target service node into the business workflow of the application identifier.
2. The method of claim 1, wherein the incoming service development request is received through a unified application interface; before receiving a development request of the business of the part, wherein the development request carries an application identifier, and acquiring a service node identifier and a functional node identifier corresponding to the business of the part according to the application identifier, the method further comprises the following steps:
acquiring business process information of the incoming call, and micro-servicing the business according to the business process information of the incoming call to obtain the preset service node;
micro-servicing the preset service node to obtain a preset function node corresponding to the preset service node;
And establishing a business micro-service cluster of the incoming part according to the preset service node and the preset function node corresponding to the preset service node, and establishing a unified application interface.
3. The method of claim 2, wherein the microservizing the feed service according to the feed service flow information to obtain the preset service node comprises:
and acquiring a calling class code, a preset input parameter and a processing logic code of the preset service node according to the business process information, and packaging the calling class code, the preset input parameter and the processing logic code to obtain the preset service node.
4. The method according to claim 2, wherein the micro-servicing the preset service node to obtain a preset function node corresponding to the preset service node comprises:
and acquiring processing logic of the preset service node, acquiring calling class codes, preset input parameters and processing logic codes of the preset function node according to the processing logic, and packaging the calling class codes, the preset input parameters and the processing logic codes of the preset function node to obtain the preset function node.
5. The method of claim 1, wherein after writing the target service node and the target function node into the application-identified feed service workflow, further comprising:
receiving an update request of the incoming service, the update request carrying an update node identification and update content, acquiring a corresponding target node in the business workflow according to the updated node identifier;
the update content is written to the target node using delta updates.
6. The method of claim 1, wherein obtaining, according to the application identifier, a service node identifier corresponding to the incoming service and a function node identifier corresponding to the service node identifier, comprises:
searching the application identifier in a preset application permission table, and acquiring a service node identifier corresponding to the service and a function node identifier corresponding to the service node identifier when the application identifier exists in the preset application permission table.
7. The method of claim 1, wherein after writing the target service node and the target function node into the application-identified feed service workflow, further comprising:
Acquiring a preset monitoring script, and writing the preset monitoring script into a business workflow of an inlet;
and starting the preset monitoring script to monitor the target service node and the target function node and generating a monitoring log.
8. A device for developing a feed service, the device comprising:
an identification acquisition module for receiving a development request of the business of the incoming part, wherein the development request carries an application identification, acquiring a service node identifier corresponding to the service in the service and a function node identifier corresponding to the service node identifier according to the application identifier;
the node acquisition module is used for acquiring a corresponding preset service node and a preset functional node corresponding to the preset service node according to the service node identifier and the functional node identifier corresponding to the service node identifier;
the configuration module is used for generating a corresponding configuration interface according to a preset service node and a preset function node corresponding to the preset service node, and acquiring configuration information through the configuration interface;
and the node writing module is used for obtaining a target service node and a target function node corresponding to the target service node according to the configuration information, the preset service node and the preset function node corresponding to the preset service node, and writing the target service node and the target function node corresponding to the target service node into the business workflow of the application identifier.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any of claims 1 to 7 when the computer program is executed.
10. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 7.
CN201811123595.4A 2018-09-26 2018-09-26 Method, device, computer equipment and storage medium for developing business of parts Active CN109144487B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811123595.4A CN109144487B (en) 2018-09-26 2018-09-26 Method, device, computer equipment and storage medium for developing business of parts

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811123595.4A CN109144487B (en) 2018-09-26 2018-09-26 Method, device, computer equipment and storage medium for developing business of parts

Publications (2)

Publication Number Publication Date
CN109144487A CN109144487A (en) 2019-01-04
CN109144487B true CN109144487B (en) 2024-02-13

Family

ID=64812631

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811123595.4A Active CN109144487B (en) 2018-09-26 2018-09-26 Method, device, computer equipment and storage medium for developing business of parts

Country Status (1)

Country Link
CN (1) CN109144487B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110750267B (en) * 2019-09-26 2023-09-01 浙江大搜车软件技术有限公司 Service information updating method, device, computer equipment and storage medium
CN111429260B (en) * 2020-03-19 2023-06-06 重庆富民银行股份有限公司 User experience improving method and system for wind control system
CN111638904B (en) * 2020-05-11 2023-12-22 贝壳技术有限公司 Data configuration restoration method and device and readable storage medium
CN112650911A (en) * 2020-12-17 2021-04-13 平安普惠企业管理有限公司 Service message issuing method, device, computer equipment and storage medium
CN115291877A (en) * 2022-10-10 2022-11-04 深圳市明源云客电子商务有限公司 Service development method, device, terminal equipment and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107861765A (en) * 2017-06-26 2018-03-30 平安普惠企业管理有限公司 Product configuration method, equipment and computer-readable recording medium
CN108156236A (en) * 2017-12-22 2018-06-12 平安养老保险股份有限公司 Service request processing method, device, computer equipment and storage medium
CN108282484A (en) * 2018-01-30 2018-07-13 平安普惠企业管理有限公司 Password acquisition methods, device, computer equipment and storage medium
CN108512689A (en) * 2017-12-15 2018-09-07 中国平安财产保险股份有限公司 Micro services business monitoring method and server

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040078105A1 (en) * 2002-09-03 2004-04-22 Charles Moon System and method for workflow process management
US9276959B2 (en) * 2013-11-11 2016-03-01 Amazon Technologies, Inc. Client-configurable security options for data streams

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107861765A (en) * 2017-06-26 2018-03-30 平安普惠企业管理有限公司 Product configuration method, equipment and computer-readable recording medium
CN108512689A (en) * 2017-12-15 2018-09-07 中国平安财产保险股份有限公司 Micro services business monitoring method and server
CN108156236A (en) * 2017-12-22 2018-06-12 平安养老保险股份有限公司 Service request processing method, device, computer equipment and storage medium
CN108282484A (en) * 2018-01-30 2018-07-13 平安普惠企业管理有限公司 Password acquisition methods, device, computer equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"面向服务集成的工作流模型及其实现方法";张型龙 等;《计算机应用》;第第35卷卷(第第7期期);第1993-1998页 *

Also Published As

Publication number Publication date
CN109144487A (en) 2019-01-04

Similar Documents

Publication Publication Date Title
CN109144487B (en) Method, device, computer equipment and storage medium for developing business of parts
CN110008118B (en) Page data testing method and device, computer equipment and storage medium
CN109474578B (en) Message checking method, device, computer equipment and storage medium
WO2020253061A1 (en) Page generating method and apparatus, computer device, and storage medium
CN108804618B (en) Database configuration method, device, computer equipment and storage medium
CN110908778B (en) Task deployment method, system and storage medium
CN111708586B (en) Application starting configuration item loading method and device, computer equipment and storage medium
CN114531477B (en) Method and device for configuring functional components, computer equipment and storage medium
WO2020199594A1 (en) Service component loading method and apparatus, and computer device and storage medium
CN108418797B (en) Webpage access method and device, computer equipment and storage medium
CN111598575A (en) Business process control method and device, electronic equipment and readable storage medium
CN112527357A (en) Service hot loading updating method and device, computer equipment and storage medium
CN109542764B (en) Webpage automatic testing method and device, computer equipment and storage medium
CN111209061A (en) Method and device for filling in user information, computer equipment and storage medium
CN114327374A (en) Business process generation method and device and computer equipment
CN114003432A (en) Parameter checking method and device, computer equipment and storage medium
CN112527416A (en) Task processing method and device, computer equipment and storage medium
CN112862449A (en) Structural chemical industry bill generation method and device, computer equipment and storage medium
CN108848165B (en) Service request processing method and device, computer equipment and storage medium
CN111177624B (en) Website front-end and back-end communication method, device, computer equipment and storage medium
CN113742023A (en) Authority configuration method and device, computer equipment and storage medium
CN111552551A (en) User management method and device based on master-slave system, computer equipment and medium
CN112783866A (en) Data reading method and device, computer equipment and storage medium
CN113568652A (en) Application system processing method and device, computer equipment and storage medium
CN111597240A (en) Data export method, data export device, computer 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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20240118

Address after: No. C3100, 3rd Floor, Zhihui City, No. 59 Dongfeng Road, Jinshui District, Zhengzhou City, Henan Province, 450011

Applicant after: Henan Zhirui Technology Co.,Ltd.

Address before: 518052 Room 201, building A, 1 front Bay Road, Shenzhen Qianhai cooperation zone, Shenzhen, Guangdong

Applicant before: PING AN PUHUI ENTERPRISE MANAGEMENT Co.,Ltd.

GR01 Patent grant
GR01 Patent grant