CN107861765B - Product configuration method, apparatus, and computer-readable storage medium - Google Patents

Product configuration method, apparatus, and computer-readable storage medium Download PDF

Info

Publication number
CN107861765B
CN107861765B CN201710497345.6A CN201710497345A CN107861765B CN 107861765 B CN107861765 B CN 107861765B CN 201710497345 A CN201710497345 A CN 201710497345A CN 107861765 B CN107861765 B CN 107861765B
Authority
CN
China
Prior art keywords
node
product configuration
called
product
interface
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
CN201710497345.6A
Other languages
Chinese (zh)
Other versions
CN107861765A (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.)
Ping An Puhui Enterprise Management Co Ltd
Original Assignee
Ping An Puhui Enterprise Management 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 Ping An Puhui Enterprise Management Co Ltd filed Critical Ping An Puhui Enterprise Management Co Ltd
Priority to CN201710497345.6A priority Critical patent/CN107861765B/en
Publication of CN107861765A publication Critical patent/CN107861765A/en
Application granted granted Critical
Publication of CN107861765B publication Critical patent/CN107861765B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a product configuration method, which comprises the following steps: when a product configuration request is received, entering a piece-entering node based on the product configuration request; calling a workflow engine interface in the incoming node to read a workflow in a preset resource pool, determining a node to be called through the workflow, and providing an interface corresponding to the node to be called; and if the node to be called is not the solution node, acquiring product configuration parameters from the resource pool, transmitting the product configuration parameters to an interface of the node to be called until the node to be called is the signing node, and configuring the product in the signing node. The invention also discloses a product configuration device and a computer readable storage medium. The invention improves the intelligence of product configuration and also reduces the maintenance cost of the product configuration.

Description

Product configuration method, apparatus, and computer-readable storage medium
Technical Field
The present invention relates to the field of computer application technologies, and in particular, to a product configuration method, device, and computer-readable storage medium.
Background
Traditional product configuration needs to be completed through a plurality of nodes together, and because each node has different product information maintenance modes, each node needs to store relevant information of products. Because each node needs to store the relevant information of the product, redundant storage of the information is easily caused, and subsequently, if the relevant information of the product needs to be changed, the information stored in each node needs to be changed respectively, so that the intelligence is poor, and the maintenance cost of a product configuration system is increased.
Disclosure of Invention
The invention mainly aims to provide a product configuration method, a device and a computer readable storage medium, and aims to solve the technical problems of the existing product configuration mode, redundant storage of product information, poor intelligence for changing product parameters and high maintenance cost.
In order to achieve the above object, the present invention provides a product configuration method, including:
when a product configuration request is received, entering a piece-entering node based on the product configuration request;
calling a workflow engine interface in the incoming node to read a workflow in a preset resource pool, determining a node to be called through the workflow, and providing an interface corresponding to the node to be called;
and if the node to be called is not the solution node, acquiring product configuration parameters from the resource pool, transmitting the product configuration parameters to an interface of the node to be called until the node to be called is the signing node, and configuring the product in the signing node.
Preferably, before the step of entering the incoming node based on the product configuration request when the product configuration request is received, the product configuration method includes:
defining interfaces to be called when each node related to the product configuration process is successfully and unsuccessfully imported in a management node;
recording the interface to be called of each node into a workflow, and storing the workflow into the resource pool.
Preferably, before the step of calling the workflow engine interface in the import node to read the workflow in the preset resource pool, the product configuration method further includes:
identifying, in the feed node, a product to be configured based on the product configuration request;
based on the product identification of the product to be configured, acquiring field information and a display mode corresponding to the product identification from a cache library, and assembling a configuration interface based on the field information and the display mode;
receiving input of product configuration parameters based on the configuration interface;
storing the product configuration parameters in the resource pool.
For a user to input product configuration parameters based on the configuration interface;
and storing the product configuration parameters input by the user into the resource pool.
Preferably, the method for determining the node to be invoked through the workflow includes:
detecting a piece feeding link of the piece feeding node;
when the condition that the part entering link is normal is detected, determining a node to be called as an application node through the workflow;
and when the abnormal condition of the piece feeding link is detected, determining the node to be called as a list node through the workflow.
Preferably, when the node to be called is a singleton node, after the step of providing the interface corresponding to the node to be called, the product configuration method further includes:
and calling a statement interface corresponding to the statement node to finish the product configuration.
Preferably, the step of obtaining the product configuration parameters from the resource pool and transferring the product configuration parameters to the interface of the node to be called until the node to be called is a signed node, and the step of configuring the product in the signed node includes:
transmitting the acquired product configuration parameters to an interface of an application node associated with the article-entering node, and detecting an application link of the application node;
when the application link is detected to be normal, judging whether the calling of the node is required to be continued according to a preset configuration table;
and if so, continuously calling the to-be-called node associated with the application node based on the workflow engine interface until the to-be-called node is a signed node, and configuring products in the signed node.
Preferably, after the step of determining whether to continue the invocation of the node from the preset configuration table, the product configuration method further includes:
and if not, directly jumping from the application node to the signing node for configuration signing to finish the configuration process of the product.
Preferably, after the step of detecting the application link of the application node, the product configuration method further includes:
and when the application node is detected to be abnormal, calling a statement settlement interface based on the workflow engine interface to finish the process, and calling a short message interface to output statement settlement information.
Furthermore, to achieve the above object, the present invention further provides a product configuration device, which includes a memory, a processor and a product configuration program stored on the memory and executable on the processor, wherein the product configuration program, when executed by the processor, implements the steps of the product configuration method as described above.
Furthermore, to achieve the above object, the present invention also provides a computer readable storage medium having stored thereon a product configuration program, which when executed by a processor, implements the steps of the product configuration method as described above.
According to the product configuration method, the product configuration device and the computer readable storage medium, when a product configuration request is received, a piece entering node is entered based on the product configuration request, then a workflow engine interface is called in the piece entering node to read a workflow in a preset resource pool, the node to be called is determined through the workflow, an interface corresponding to the node to be called is provided, if the node to be called is not a solution node, product configuration parameters are obtained from the resource pool and are transmitted to the interface of the node to be called until the node to be called is a signing node, and product configuration is carried out in the signing node. When the product is configured, each node does not need to maintain the product parameter information and the workflow by itself, and only needs to call and obtain the product parameter information and the workflow from the resource pool, so that redundant storage of the information is avoided, even if the parameters need to be changed subsequently, only needs to be changed uniformly from the resource pool, the intelligence is higher, and the maintenance cost is reduced.
Drawings
FIG. 1 is a schematic diagram of an apparatus architecture of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flow chart illustrating a preferred embodiment of a product placement method according to the present invention;
fig. 3 is a detailed flowchart of step S30 in fig. 2.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The solution of the embodiment of the invention is mainly as follows: when a product configuration request is received, a part entering node is entered based on the product configuration request, then a workflow engine interface is called in the part entering node to read a workflow in a preset resource pool, the node to be called is determined through the workflow, an interface corresponding to the node to be called is provided, if the node to be called is not a solution node, product configuration parameters are obtained from the resource pool and are transmitted to the interface of the node to be called until the node to be called is a signing node, and product configuration is carried out in the signing node. The problems that an existing product configuration mode is poor in intelligence and high in maintenance cost are solved.
As shown in fig. 1, fig. 1 is a schematic structural diagram of a product configuration device of a hardware operating environment according to an embodiment of the present invention.
The device of the embodiment of the invention can be a PC, and can also be a mobile terminal device with a display function, such as a smart phone, a tablet computer, an electronic book reader, a portable computer and the like.
As shown in fig. 1, the apparatus may include: a processor 1001, such as a CPU, a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Optionally, the device may also include a camera, RF (Radio Frequency) circuitry, sensors, audio circuitry, WiFi modules, and so forth.
Those skilled in the art will appreciate that the configuration of the apparatus shown in fig. 1 is not intended to be limiting of the apparatus and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer-readable storage medium, may include therein an operating system, a network communication module, a user interface module, and a product configuration program. The operating system is a program for managing and controlling product configuration equipment and software resources, and supports the running of a network communication module, a user interface module, a product configuration program and other programs or software; the network communication module is used to manage and control the network interface 1004; the user interface module is used to manage and control the user interface 1003.
In the device shown in fig. 1, the network interface 1004 is mainly used for connecting the product configuration management platform and performing data communication with the product configuration management platform; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; the product configuration apparatus calls a product configuration program stored in the memory 1005 by the processor 1001 and performs the following operations:
when a product configuration request is received, entering a piece-entering node based on the product configuration request;
calling a workflow engine interface in the incoming node to read a workflow in a preset resource pool, determining a node to be called through the workflow, and providing an interface corresponding to the node to be called;
and if the node to be called is not the solution node, acquiring product configuration parameters from the resource pool, transmitting the product configuration parameters to an interface of the node to be called until the node to be called is the signing node, and configuring the product in the signing node.
Further, before the step of entering the product configuration node based on the product configuration request when the product configuration request is received, the product configuration device calls, through the processor 1001, the product configuration program stored in the memory 1005, so as to implement the following steps:
defining interfaces to be called when each node related to the product configuration process is successfully and unsuccessfully imported in a management node;
recording the interface to be called of each node into a workflow, and storing the workflow into the resource pool.
Further, before the step of calling the workflow engine interface in the middleware node to read the workflow in the preset resource pool, the product configuration device calls, by the processor 1001, the product configuration program stored in the memory 1005, so as to implement the following steps:
identifying, in the feed node, a product to be configured based on the product configuration request;
based on the product identification of the product to be configured, acquiring field information and a display mode corresponding to the product identification from a cache library, and assembling a configuration interface based on the field information and the display mode;
receiving input of product configuration parameters based on the configuration interface;
storing the product configuration parameters in the resource pool.
Further, the product configuration device calls, through the processor 1001, the product configuration program stored in the memory 1005 to implement the step of determining, through the workflow, the node to be called:
detecting a piece feeding link of the piece feeding node;
when the condition that the part entering link is normal is detected, determining a node to be called as an application node through the workflow;
and when the abnormal condition of the piece feeding link is detected, determining the node to be called as a list node through the workflow.
Further, when the node to be called is a node to be singled, after the step of providing the interface corresponding to the node to be called, the product configuration device calls, by using the processor 1001, the product configuration program stored in the memory 1005, so as to implement the following steps:
and calling a statement interface corresponding to the statement node to finish the product configuration.
Further, the product configuration device calls, through the processor 1001, a product configuration program stored in the memory 1005, to obtain a product configuration parameter from the resource pool, and transfers the product configuration parameter to the interface of the node to be called, until the node to be called is a signed node, and performs a step of configuring a product in the signed node:
transmitting the acquired product configuration parameters to an interface of an application node associated with the article-entering node, and detecting an application link of the application node;
when the application link is detected to be normal, judging whether the calling of the node is required to be continued according to a preset configuration table;
and if so, continuously calling the to-be-called node associated with the application node based on the workflow engine interface until the to-be-called node is a signed node, and configuring products in the signed node.
Further, after the step of determining whether to proceed with the calling of the node from the preset configuration table, the product configuration device calls, through the processor 1001, the product configuration program stored in the memory 1005, so as to implement the following steps:
and if not, directly jumping from the application node to the signing node for configuration signing to finish the configuration process of the product.
Further, after the step of detecting the application link of the application node, the product configuration device calls, through the processor 1001, the product configuration program stored in the memory 1005, so as to implement the following steps:
and when the application node is detected to be abnormal, calling a statement settlement interface based on the workflow engine interface to finish the process, and calling a short message interface to output statement settlement information.
According to the scheme, when a product configuration request is received, a piece entering node is entered based on the product configuration request, then a workflow engine interface is called in the piece entering node to read a workflow in a preset resource pool, so that a node to be called is determined through the workflow, an interface corresponding to the node to be called is provided, if the node to be called is not a solution node, product configuration parameters are obtained from the resource pool and are transmitted to the interface of the node to be called until the node to be called is a signing node, and product configuration is performed in the signing node. When the product is configured, each node does not need to maintain the product parameter information and the workflow by itself, and only needs to call and obtain the product parameter information and the workflow from the resource pool, so that redundant storage of the information is avoided, even if the parameters need to be changed subsequently, only needs to be changed uniformly from the resource pool, the intelligence is higher, and the maintenance cost is reduced.
Based on the hardware structure of the device, the embodiment of the product configuration method is provided.
Referring to fig. 2, fig. 2 is a flow chart illustrating a product configuration method according to a preferred embodiment of the invention.
In this embodiment, the product configuration method includes:
when a product configuration request is received, entering a piece-entering node based on the product configuration request; calling a workflow engine interface in the incoming node to read a workflow in a preset resource pool, determining a node to be called through the workflow, and providing an interface corresponding to the node to be called; and if the node to be called is not the solution node, acquiring product configuration parameters from the resource pool, transmitting the product configuration parameters to an interface of the node to be called until the node to be called is the signing node, and configuring the product in the signing node.
In this embodiment, the product configuration method is applied to a product configuration management platform, where the product configuration management platform is provided with a preset resource pool, such as a product configuration resource pool, and the product configuration resource pool is used for storing product configuration parameters and workflows; the workflow stores interface calling rules of each node, namely interfaces to be called when each node succeeds in entering a piece and fails to enter the piece respectively.
In this embodiment, the products include loan-type products and application-type products, and the loan-type products are explained as an example below.
In an embodiment of the present invention, before the step of "entering a package entry node based on a product configuration request when the product configuration request is received", the product configuration method includes:
step A, defining interfaces to be called of each node related to a product configuration process when the incoming is successful and the incoming is failed in a management node;
and B, recording the interface to be called of each node into a workflow, and storing the workflow into the resource pool.
That is, before product configuration, each node involved in the product configuration process is defined in the management node, and interfaces to be called are respectively defined when the incoming is successful and the incoming is failed. The nodes involved in the product configuration process include, but are not limited to: the system comprises a part feeding node, an application node, a wind control node, a credit node, an approval node, a backspacing node, a signing node, a money releasing node and a statement node.
In this embodiment, when the piece is successfully entered, the corresponding calling sequence of each node is as follows: the method comprises the steps that a piece feeding node = > an application node = > a wind control node = > a credit node = > an approval node = > a backspacing node = > a signing node = > a deposit node. For example, when the piece-in is successful in the piece-in node, the interface to be called is the interface of the application node, and when the piece-in is successful in the application node, the interface to be called is the interface of the wind control node. And when the entry of each node fails, the interface to be called by each node is the interface corresponding to the node.
After interfaces to be called of each node when the node successfully enters the work and the node fails to enter the work are defined, the interfaces to be called of each node are recorded into a workflow, the workflow is stored into a resource pool, and the workflow is read by calling a workflow engine interface.
The following are specific steps for implementing product configuration in this embodiment:
step S10, when a product configuration request is received, entering a piece-entering node based on the product configuration request;
in this embodiment, the triggering manner of the product configuration request is as follows: and the user touches a preset product configuration control in an App interface of the terminal to trigger a product configuration request. And then, the terminal sends the product configuration request to a product configuration management platform. After configuring the product configuration parameters and the workflow in the resource pool, if the product configuration management platform receives a product configuration request, the product configuration management platform enters a piece-entering node based on the product configuration request.
After entering the incoming node, the product configuration method further comprises:
step C, in the piece inlet node, identifying a product to be configured based on the product configuration request;
step D, based on the product identification of the product to be configured, acquiring field information and a display mode corresponding to the product identification from a cache library, and assembling a configuration interface based on the field information and the display mode;
step E, receiving product configuration parameters input based on the configuration interface;
and F, storing the product configuration parameters into the resource pool.
After entering a piece-entering node, identifying a product to be configured based on the product configuration request, specifically, the product configuration request carries a product identifier corresponding to the product to be configured, extracting the product identifier from the product configuration request when receiving the product configuration request, and then acquiring field information and a display mode of the product to be configured from a cache library according to the product identifier of the product to be configured; the field information of the product to be configured comprises field information such as interest rate of the product, claim interest of the product, and accounting of the product, and the display modes comprise pull-down boxes, check boxes, text boxes and the like. After the field information and the display mode of the product to be configured are acquired, the configuration interface is assembled based on the field information and the display mode, and the assembled configuration interface is displayed on the terminal so that a user can input configuration parameters of the product in the configuration interface, for example, if the current display mode is a drop-down box, the user can complete the input of the configuration parameters as long as the user selects the configuration parameters of the product in the configuration interface. And finally, storing the product configuration parameters input by the user into the resource pool.
Step S20, calling a workflow engine interface in the incoming node to read a workflow in a preset resource pool, so as to determine a node to be called through the workflow and provide an interface corresponding to the node to be called;
after the product configuration parameters input by the user are stored in the resource pool, the product configuration management platform is located in a piece-entering node, then a workflow engine interface is called in the piece-entering node to read the workflow in the product configuration resource pool, so that the node to be called is determined through the workflow, and an interface corresponding to the node to be called is provided.
In the embodiment of the present invention, the determining, by the workflow, a node to be called includes:
detecting a piece feeding link of the piece feeding node;
when the condition that the part entering link is normal is detected, determining a node to be called as an application node through the workflow;
and when the abnormal condition of the piece feeding link is detected, determining the node to be called as a list node through the workflow.
In this embodiment, the piece feeding link of the piece feeding node is detected first, specifically, the piece feeding link is detected first according to a preset monitoring mechanism, where the monitoring mechanism is set in advance, and may be a preset program segment, so as to detect whether the system in the piece feeding link can process data normally, if the processing data utilization rate of the system is less than the preset utilization rate, it indicates that the system is normal if the processing data utilization rate of the system detected by the monitoring mechanism is less than the preset utilization rate, that is, the piece feeding link is normal, and otherwise, the piece feeding link is abnormal.
That is to say, after the incoming node is detected, if the incoming link is found to be normal, at this time, it is determined through the workflow that the terminal successfully enters the incoming node in the link of the incoming node, and the application flow is transferred to the application node in the next step, that is, the node to be called is the application node, so that an interface of the application node can be provided for the incoming node. It should be noted that, at this time, the terminal recognizes that the file-entering data should be sent to the application node, and ends the file-entering link, and the application node performs the next operation.
Further, after the step of providing an interface corresponding to the node to be called when the node to be called is a node to be singled, the product configuration method further includes:
and calling a statement interface corresponding to the statement node to finish the product configuration.
That is to say, after the piece entering node is detected, if the piece entering link is found to be abnormal, if the piece entering fails, at this time, the piece entering failure of the terminal in the piece entering node link is determined through the workflow, and the flow should be ended next, then an interface of the order forming node can be provided for the piece entering node. It should be noted that, at this time, the terminal recognizes that the statement making interface should be called, and ends the process.
Step S30, if the node to be called is not the solution node, obtaining the product configuration parameter from the resource pool, and transmitting to the interface of the node to be called until the node to be called is the signing node, and configuring the product in the signing node.
In this embodiment, if the node to be called is not the solution node, the product configuration parameter is obtained from the resource pool, and then the obtained product configuration parameter is transferred to the interface of the node to be called until the node to be called is the sign node, and the product configuration is performed in the sign node.
In this embodiment, referring to fig. 3, the step of "obtaining a product configuration parameter from the resource pool, and transferring the product configuration parameter to the interface of the node to be called until the node to be called is a signed node and performing product configuration in the signed node" includes:
step S31, transmitting the acquired product configuration parameters to an interface of an application node associated with the article feeding node, and detecting an application link of the application node;
step S32, when detecting that the application link is normal, judging whether the calling of the node needs to be continued according to a preset configuration table;
and step S33, if necessary, continuing to call the to-be-called node associated with the application node based on the workflow engine interface until the to-be-called node is a signed node, and configuring products in the signed node.
In this embodiment, after the acquired product configuration parameters are transferred to the interface of the application node associated with the pickup node, the application link of the application node is detected, and a mechanism for detecting the application link is consistent with a mechanism for detecting the pickup link, which is not described herein again. If the application link is detected to be normal, whether the node is required to be called continuously is judged according to a preset configuration table, wherein the preset configuration table is set in advance according to actual needs, if the application link of the application node is set to be signed directly after success, the application link of the application node can also be set to be checked continuously after success, and specific limitations are not required. And then, when the application link is detected to be normal, checking a preset configuration table to confirm whether the application node is successfully set in the configuration table and then the next node needs to be continuously entered, and if so, determining that the node needs to be continuously called.
If the fact that the node is required to be called continuously at present is determined from a preset configuration table, the wind control node related to the application node is called continuously based on the workflow engine interface, at the moment, the incoming data is transmitted to the wind control node, the credit node related to the wind control node is called continuously through the workflow engine interface, circulation is performed until the node to be called is the signing node, the signing link of the signing node is detected through the workflow, when the signing link is detected to be normal, product configuration is performed in the signing node, a contract is generated, and the contract is sent to the terminal.
And subsequently, when the contract signing success is detected, calling a money deposit node associated with the signing node to complete money deposit.
Further, after the step S32, the method further includes:
and G, if not, directly jumping from the application node to the signing node for configuration signing to finish the configuration process of the product.
That is, after the application node is set in the preset configuration table, the configuration process of the product can be completed by directly jumping to the signing node for configuration and signing without calling other nodes for verification.
Further, after the step S31, the method further includes:
and step H, when the application node is detected to be abnormal, calling a statement settlement interface based on the workflow engine interface to finish the process, and calling a short message interface to output statement settlement information.
According to the product configuration method provided by the embodiment, when a product configuration request is received, a piece entry node is entered based on the product configuration request, then a workflow engine interface is called in the piece entry node to read a workflow in a preset resource pool, a node to be called is determined through the workflow, an interface corresponding to the node to be called is provided, if the node to be called is not a solution node, product configuration parameters are obtained from the resource pool and are transmitted to the interface of the node to be called until the node to be called is a signing node, and product configuration is performed in the signing node. When the product is configured, each node does not need to maintain the product parameter information and the workflow by itself, and only needs to call and obtain the product parameter information and the workflow from the resource pool, so that redundant storage of the information is avoided, even if the parameters need to be changed subsequently, only needs to be changed uniformly from the resource pool, the intelligence is higher, and the maintenance cost is reduced.
It should be understood that, in this embodiment, a workflow is configured first, the workflow is configured with a calling rule of each node, that is, an interface that each node needs to call, when each node in the product configuration management platform starts and runs, incoming data is transmitted in each node to complete the entire configuration process, if there is incoming data in the forward node, a workflow engine interface is called from a resource pool according to a request to call a next node associated with the forward node through the workflow, so that data of the current forward node is automatically transferred to the next node, and finally the configuration process of the product is completed. In the whole process, the configuration process of the product is activated to form a common and diversified product process, the product process can be modified quickly and flexibly to achieve the final aim of responding to changes in time, and the configuration process has high expansibility and flexibility, so that different products are automatically configured finally, the efficiency of product configuration is improved, and the intelligence of product configuration is also improved.
Furthermore, an embodiment of the present invention further provides a computer-readable storage medium, where a product configuration program is stored on the computer-readable storage medium, and when executed by a processor, the product configuration program implements the following operations:
when a product configuration request is received, entering a piece-entering node based on the product configuration request;
calling a workflow engine interface in the incoming node to read a workflow in a preset resource pool, determining a node to be called through the workflow, and providing an interface corresponding to the node to be called;
and if the node to be called is not the solution node, acquiring product configuration parameters from the resource pool, transmitting the product configuration parameters to an interface of the node to be called until the node to be called is the signing node, and configuring the product in the signing node.
Further, before the step of entering the product configuration node based on the product configuration request when the product configuration request is received, the product configuration program when executed by the processor further implements the following steps:
defining interfaces to be called when each node related to the product configuration process is successfully and unsuccessfully imported in a management node;
recording the interface to be called of each node into a workflow, and storing the workflow into the resource pool.
Further, before the step of calling the workflow engine interface in the middleware node to read the workflow in the preset resource pool, when the product configuration program is executed by the processor, the following steps are also implemented:
identifying, in the feed node, a product to be configured based on the product configuration request;
based on the product identification of the product to be configured, acquiring field information and a display mode corresponding to the product identification from a cache library, and assembling a configuration interface based on the field information and the display mode;
receiving input of product configuration parameters based on the configuration interface;
storing the product configuration parameters in the resource pool.
Further, the product configuration program, when executed by the processor, further implements the step of determining a node to be invoked through the workflow:
detecting a piece feeding link of the piece feeding node;
when the condition that the part entering link is normal is detected, determining a node to be called as an application node through the workflow;
and when the abnormal condition of the piece feeding link is detected, determining the node to be called as a list node through the workflow.
Further, when the node to be called is a list node, after the step of providing the interface corresponding to the node to be called, the product configuration program further implements the following operations when executed by the processor:
and calling a statement interface corresponding to the statement node to finish the product configuration.
Further, when executed by the processor, the product configuration program further implements a step of obtaining product configuration parameters from the resource pool, and transferring the product configuration parameters to an interface of the node to be called, until the node to be called is a signed node, and configuring a product in the signed node:
transmitting the acquired product configuration parameters to an interface of an application node associated with the article-entering node, and detecting an application link of the application node through the workflow;
when the application link is detected to be normal, judging whether the calling of the node is required to be continued according to a preset configuration table;
and if so, continuously calling the to-be-called node associated with the application node based on the workflow engine interface until the to-be-called node is a signed node, and configuring products in the signed node.
Further, after the step of determining whether to continue the call of the node from the preset configuration table, when the product configuration program is executed by the processor, the following steps are also implemented:
and if not, directly jumping from the application node to the signing node for configuration signing to finish the configuration process of the product.
Further, after the step of detecting the application link of the application node, the product configuration program when executed by the processor further implements the following operations:
and when the application node is detected to be abnormal, calling a statement settlement interface based on the workflow engine interface to finish the process, and calling a short message interface to output statement settlement information.
According to the scheme, when a product configuration request is received, a piece entering node is entered based on the product configuration request, then a workflow engine interface is called in the piece entering node to read a workflow in a preset resource pool, so that a node to be called is determined through the workflow, an interface corresponding to the node to be called is provided, if the node to be called is not a solution node, product configuration parameters are obtained from the resource pool and are transmitted to the interface of the node to be called until the node to be called is a signing node, and product configuration is performed in the signing node. When the product is configured, each node does not need to maintain the product parameter information and the workflow by itself, and only needs to call and obtain the product parameter information and the workflow from the resource pool, so that redundant storage of the information is avoided, even if the parameters need to be changed subsequently, only needs to be changed uniformly from the resource pool, the intelligence is higher, and the maintenance cost is reduced.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A product configuration method, characterized in that the product configuration method comprises:
when a product configuration request is received, entering a piece-entering node based on the product configuration request;
calling a workflow engine interface in the incoming node to read a workflow in a preset resource pool, determining a node to be called through the workflow, and providing an interface corresponding to the node to be called, wherein the interface of the node to be called is called when the node to be called is successfully and unsuccessfully incoming;
and if the node to be called is not the solution node, acquiring product configuration parameters from the resource pool, transmitting the product configuration parameters to an interface of the node to be called until the node to be called is the signing node, and configuring the product in the signing node.
2. The product configuration method of claim 1, wherein prior to the step of entering a product configuration node based on the product configuration request upon receiving the product configuration request, the product configuration method comprises:
defining interfaces to be called when each node related to the product configuration process is successfully and unsuccessfully imported in a management node;
recording the interface to be called of each node into a workflow, and storing the workflow into the resource pool.
3. The product configuration method of claim 1, wherein prior to the step of invoking a workflow engine interface in the in-progress node to read a workflow in a preset resource pool, the product configuration method further comprises:
identifying, in the feed node, a product to be configured based on the product configuration request;
based on the product identification of the product to be configured, acquiring field information and a display mode corresponding to the product identification from a cache library, and assembling a configuration interface based on the field information and the display mode;
receiving input of product configuration parameters based on the configuration interface;
storing the product configuration parameters in the resource pool.
4. The product configuration method of claim 1, wherein the determining the node to be invoked by the workflow comprises:
detecting a piece feeding link of the piece feeding node;
when the condition that the part entering link is normal is detected, determining a node to be called as an application node through the workflow;
and when the abnormal condition of the piece feeding link is detected, determining the node to be called as a list node through the workflow.
5. The product configuration method according to claim 4, wherein after the step of providing the interface corresponding to the node to be called when the node to be called is a singleton node, the product configuration method further comprises:
and calling a statement interface corresponding to the statement node to finish the product configuration.
6. The product configuration method according to any one of claims 1 to 5, wherein the step of obtaining the product configuration parameters from the resource pool and transferring the product configuration parameters to the interface of the node to be called until the node to be called is a signed node, and the step of configuring the product in the signed node comprises:
transmitting the acquired product configuration parameters to an interface of an application node associated with the article-entering node, and detecting an application link of the application node;
when the application link is detected to be normal, judging whether the calling of the node is required to be continued according to a preset configuration table;
and if so, continuously calling the to-be-called node associated with the application node based on the workflow engine interface until the to-be-called node is a signed node, and configuring products in the signed node.
7. The product configuration method of claim 6, wherein after the step of determining from a preset configuration table whether to proceed with the invocation of the node, the product configuration method further comprises:
and if not, directly jumping from the application node to the signing node for configuration signing to finish the configuration process of the product.
8. The product configuration method according to claim 6, wherein after the step of detecting the application link of the application node, the product configuration method further comprises:
and when the application node is detected to be abnormal, calling a statement settlement interface based on the workflow engine interface to finish the process, and calling a short message interface to output statement settlement information.
9. A product configuration device, characterized in that the product configuration device comprises a memory, a processor and a product configuration program stored on the memory and executable on the processor, which when executed by the processor implements the steps of the product configuration method according to any of claims 1 to 8.
10. A computer-readable storage medium, having stored thereon a product configuration program which, when executed by a processor, implements the steps of the product configuration method of any of claims 1 to 8.
CN201710497345.6A 2017-06-26 2017-06-26 Product configuration method, apparatus, and computer-readable storage medium Active CN107861765B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710497345.6A CN107861765B (en) 2017-06-26 2017-06-26 Product configuration method, apparatus, and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710497345.6A CN107861765B (en) 2017-06-26 2017-06-26 Product configuration method, apparatus, and computer-readable storage medium

Publications (2)

Publication Number Publication Date
CN107861765A CN107861765A (en) 2018-03-30
CN107861765B true CN107861765B (en) 2020-11-17

Family

ID=61699127

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710497345.6A Active CN107861765B (en) 2017-06-26 2017-06-26 Product configuration method, apparatus, and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN107861765B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109144487B (en) * 2018-09-26 2024-02-13 河南智锐科技有限公司 Method, device, computer equipment and storage medium for developing business of parts
CN109710402A (en) * 2018-12-17 2019-05-03 平安普惠企业管理有限公司 Method, apparatus, computer equipment and the storage medium of process resource acquisition request
CN109754228A (en) * 2019-01-04 2019-05-14 深圳壹账通智能科技有限公司 Product configuration data processing method, device, computer equipment and storage medium
CN110502343B (en) * 2019-08-23 2022-05-06 深圳市新系区块链技术有限公司 Resource allocation method, system, device and computer readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101777148A (en) * 2010-01-14 2010-07-14 中国建设银行股份有限公司 Management method, management system for bill receiving commercial customers and management server equipment for commercial customers
CN101882255A (en) * 2009-05-07 2010-11-10 中兴通讯股份有限公司 Workflow device, system and configuration method based on service-oriented architecture
CN102254246A (en) * 2011-06-17 2011-11-23 中国建设银行股份有限公司 Workflow managing method and system
CN102831122A (en) * 2011-06-15 2012-12-19 阿里巴巴集团控股有限公司 Data storage method, inquiring method and inquiring device for workflow table
CN103700026A (en) * 2013-11-30 2014-04-02 北京科东电力控制系统有限责任公司 Free node transfer processing method for intelligent power grid dispatching

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10073881B2 (en) * 2015-07-21 2018-09-11 Autodesk, Inc. Platform for authoring, storing, and searching workflows

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101882255A (en) * 2009-05-07 2010-11-10 中兴通讯股份有限公司 Workflow device, system and configuration method based on service-oriented architecture
CN101777148A (en) * 2010-01-14 2010-07-14 中国建设银行股份有限公司 Management method, management system for bill receiving commercial customers and management server equipment for commercial customers
CN102831122A (en) * 2011-06-15 2012-12-19 阿里巴巴集团控股有限公司 Data storage method, inquiring method and inquiring device for workflow table
CN102254246A (en) * 2011-06-17 2011-11-23 中国建设银行股份有限公司 Workflow managing method and system
CN103700026A (en) * 2013-11-30 2014-04-02 北京科东电力控制系统有限责任公司 Free node transfer processing method for intelligent power grid dispatching

Also Published As

Publication number Publication date
CN107861765A (en) 2018-03-30

Similar Documents

Publication Publication Date Title
CN107861765B (en) Product configuration method, apparatus, and computer-readable storage medium
CN106873961B (en) Method and device for awakening APP through mobile browser
US20190158626A1 (en) Method, apparatus and computer readable storage medium for processing service
CN105101122A (en) Verification code inputting method and device
CN104767756A (en) Equipment information processing method, client side device and server side device
CN112288577B (en) Transaction processing method, device, electronic equipment and medium for distributed service
CN112232794A (en) Payment method and device, storage medium and electronic equipment
CN111737334A (en) Data reporting method, device, equipment and storage medium
CN111651140B (en) Service method and device based on workflow
CN113765714A (en) Equipment network distribution method and device, storage medium and electronic equipment
CN110267215B (en) Data detection method, equipment and storage medium
CN112308590B (en) Parameter processing method and device, computing equipment and storage medium
CN108346095B (en) Management and control method, device and equipment of combined system and computer readable storage medium
CN109828830B (en) Method and apparatus for managing containers
CN108804120B (en) Page construction method, device, equipment and storage medium
CN106095886B (en) Data processing method and device
CN112559124A (en) Model management system and target operation instruction processing method and device
CN112235124A (en) Method and device for configuring pico-cell, storage medium and electronic device
CN108600242B (en) Account registration method, device and equipment of application software and readable storage medium
CN114237634A (en) Application release risk identification method, device, equipment, medium and program product
US9870217B2 (en) Toolkit event configuration of applets on a card computing device with installation parameters
CN115061785A (en) Information issuing method and device, storage medium and server
CN112740230B (en) Data annotation system, method and data annotation manager
CN110533432B (en) Service processing method, device, server and client
CN110286907B (en) Display method and device of public button assembly

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