Business demand processing method and device, equipment, storage medium and program product
By orchestrating the business flow chart and configuring the business fields in the software development toolkit, the configuration efficiency problem caused by the diversified business needs of advertisers is solved, and the rapid configuration and processing of business needs is achieved, and back-end code development is avoided.
Patent Information
- Application Number
- CN202411365140.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-27
- Publication Date
- 2024-12-31
AI Technical Summary
Advertisers have diversified business needs for promotion management services, resulting in low configuration efficiency for new business needs and back-end service personnel need to carry out code development.
Provide a business requirement processing method, arrange the business flow chart in the software development toolkit by displaying the business configuration page, displaying configuration items in response to configuration instructions, and configure business fields to obtain configuration information. The software development toolkit calls configuration information processing services. Avoid back-end code development.
It improves the configuration efficiency of new business needs, reduces dependence on back-end service personnel, and achieves rapid configuration and processing of target services.
Smart Images

Figure CN119225798A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer technology, and in particular to a method, device, equipment, storage medium and program product for processing business needs. Background Art
[0002] With the rapid development of business, advertisers' business needs for promotion management services are becoming more and more diversified. In related technologies, advertisers' business needs for promotion management services are mostly support for new business fields, and the support of new business fields requires back-end service personnel to develop corresponding codes, resulting in low configuration efficiency for new business needs. Summary of the invention
[0003] In view of this, the present disclosure provides a method, apparatus, device, storage medium and program product for processing business requirements to solve the problem of low configuration efficiency of new business requirements.
[0004] In a first aspect, the present disclosure provides a method for processing business requirements, the method comprising:
[0005] Displaying a business configuration page, the business configuration page is used to arrange a business flow diagram of a target business in a software development kit, the business flow diagram including at least one business node;
[0006] In response to a configuration instruction for a target service node, displaying at least one configuration item on a configuration details page;
[0007] In response to the configuration operation for the at least one configuration item, the service field of the target service node is configured and displayed to obtain the configuration information of the target service, and the software development kit is used to call the configuration information of the target service to process the target service.
[0008] In a second aspect, the present disclosure provides a device for processing business requirements, the device comprising:
[0009] A first display module, used to display a business configuration page, wherein the business configuration page is used to arrange a business flow diagram of a target business in a software development kit, wherein the business flow diagram includes at least one business node;
[0010] A second display module, configured to display at least one configuration item on a configuration details page in response to a configuration instruction for a target service node;
[0011] The business configuration module is used to configure and display the business field of the target business node in response to the configuration operation for the at least one configuration item to obtain the configuration information of the target business, and the software development kit is used to call the configuration information of the target business to process the target business.
[0012] In a third aspect, the present disclosure provides an electronic device, comprising: a memory and a processor, the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the method for processing the business needs of the first aspect mentioned above by executing the computer instructions.
[0013] In a fourth aspect, the present disclosure provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the method for processing the business requirements of the first aspect.
[0014] In a fifth aspect, the present disclosure provides a computer program product, including computer instructions, where the computer instructions are used to enable a computer to execute the method for processing the business requirements of the first aspect.
[0015] The method for processing business needs provided by the embodiment of the present disclosure displays a business configuration page to arrange the business flow diagram of the target business in the software development kit through the business configuration page, so as to characterize the business processing flow of the target business through the business flow diagram. Then, in response to the configuration instruction for the target business node in the business flow diagram, at least one configuration item is displayed on the configuration details page. And in response to the configuration operation for at least one configuration item, the business field of the target business node is configured and displayed to obtain the configuration information of the target business. Therefore, it is possible to quickly configure the configuration information for the software development kit to process the target business through the configuration service of the business field, so that the software development kit calls the configuration information of the target business to process the target business, thereby eliminating the need for back-end service personnel to develop corresponding code for the target business, and effectively improving the configuration efficiency of new business needs. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the specific embodiments of the present disclosure or the technical solutions in the prior art, the drawings required for use in the specific embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0017] Figure 1 is a flowchart of a method for processing a first business requirement according to an embodiment of the present disclosure;
[0018] Figure 2 is a schematic diagram of a service configuration page according to an embodiment of the present disclosure;
[0019] Figure 3 is a schematic diagram of an implementation method of a target service according to an embodiment of the present disclosure;
[0020] Figure 4 is a functional schematic diagram of a software development kit according to an embodiment of the present disclosure;
[0021] Figure 5 is a flowchart of a method for processing a second business requirement according to an embodiment of the present disclosure;
[0022] Figure 6 is a schematic diagram of a first configuration details page according to an embodiment of the present disclosure;
[0023] Figure 7 is a schematic diagram of a second configuration details page according to an embodiment of the present disclosure;
[0024] Figure 8 is a schematic diagram of a third configuration details page according to an embodiment of the present disclosure;
[0025] Fig. 9 is a schematic diagram of output data of a service node according to an embodiment of the present disclosure;
[0026] Fig.10 is a schematic diagram of output data of each processing link in a service node according to an embodiment of the present disclosure;
[0027] Fig.11 is a flowchart of a method for processing a third business requirement according to an embodiment of the present disclosure;
[0028] Fig.12 is a schematic diagram of a node information page according to an embodiment of the present disclosure;
[0029] Fig.13 is a schematic diagram of a promotion management service page according to an embodiment of the present disclosure;
[0030] Fig.14 is a structural block diagram of a device for processing business requirements according to an embodiment of the present disclosure;
[0031] Fig.15 is a structural block diagram of an electronic device according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0032] In order to make the purpose, technical solution and advantages of the embodiments of the present disclosure clearer, the technical solution in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, rather than all the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present disclosure.
[0033] It is understandable that before using the technical solutions disclosed in the embodiments of the present disclosure, the types, scope of use, usage scenarios, etc. of the personal information involved in the present disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.
[0034] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly prompt the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can autonomously choose whether to provide personal information to software or hardware such as an electronic device, application, server, or storage medium that performs the operation of the technical solution of the present disclosure according to the prompt message.
[0035] As an optional but non-limiting implementation, in response to receiving an active request from the user, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.
[0036] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet the relevant laws and regulations may also be applied to the implementation of the present disclosure.
[0037] It is understandable that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) shall comply with the requirements of relevant laws, regulations and relevant provisions.
[0038] In the promotion management service, the downstream client usually processes the business data and then feeds it back to the upstream server. The upstream does not maintain data itself. All the data provided comes from the downstream. The upstream only provides read services for business data. The requester can request business data of a certain dimension through the promotion management service. For example, if the business data of the project dimension is requested, the business data of the dimension will be provided, including dimension identifiers, indicators, attributes, etc.
[0039] With the rapid development of business, advertisers' business needs for promotion management services are becoming more and more diversified. In related technologies, advertisers' business needs for promotion management services are mostly support for new business fields, and the support of new business fields requires back-end service personnel to develop corresponding codes, resulting in low configuration efficiency for new business needs.
[0040] In view of this, according to an embodiment of the present disclosure, an embodiment of a method for processing business needs is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0041] In this embodiment, a first method for processing business requirements is provided, which can be used to configure the platform. Figure 1 is a flowchart of a method for processing a first business requirement according to an embodiment of the present disclosure, such as Figure 1 As shown, the process includes the following steps:
[0042] Step S101, displaying a business configuration page, where the business configuration page is used to arrange a business flow diagram of a target business in a software development kit, where the business flow diagram includes at least one business node.
[0043] Specifically, a business flow graph of the target business can be constructed in the business configuration page according to the business requirements of the target business. The business flow graph is a directed acyclic graph (DAG). Figure 2 As shown in FIG. 1 , the business flow diagram includes business nodes such as input parameter reading, preset parameters, project information, activity type information, budget update information, etc. In the actual business processing process, the business nodes are processed according to the dependency relationship between the business nodes in the business flow diagram to obtain the business processing information of the target business.
[0044] Specifically, the service flow graph is described by the standard ACPI source language (ACPI Source language, referred to as ASL). That is, the description information of the service node in the service flow graph is described by ASL, and the description information includes at least one of the node type, data source, and downstream service node of the service node.
[0045] Step S102: in response to a configuration instruction for a target service node, display at least one configuration item on a configuration details page.
[0046] It should be noted that the target business node is the business node selected in the business flow diagram. Configuration instructions can be generated in response to interactive operations on the target business node. Alternatively, a configuration control is displayed on the business configuration page, and a configuration instruction for the target business node is generated in response to interactive operations on the configuration control. Furthermore, in response to the configuration instruction, the configuration details page is displayed through a pop-up window, a drawer, a jump page, or other display methods. Since most of the new business requirements in the promotion management service are support for new business fields and the development model is relatively fixed, configuration items for configuring business fields can be provided in the configuration details page to configure the business fields.
[0047] Step S103, in response to the configuration operation for at least one configuration item, the service field of the target service node is configured and displayed to obtain the configuration information of the target service, and the software development kit is used to call the configuration information of the target service to process the target service.
[0048] Specifically, the configuration platform responds to the configuration operation for at least one configuration item, configures the business field of the target business node and the business data corresponding to the business field (i.e., the data source of the business field), and obtains the field configuration information of the business field corresponding to the target business node. Then, based on the business flow diagram and the field configuration information of each business node in the business flow diagram, the configuration information of the target business is obtained. Figure 3 As shown, the software development kit processes the target business by calling the configuration information of the configuration platform.
[0049] The method for processing business requirements provided in this embodiment displays a business configuration page to arrange the business flow diagram of the target business in the software development kit through the business configuration page, so as to characterize the business processing flow of the target business through the business flow diagram. Then, in response to the configuration instruction for the target business node in the business flow diagram, at least one configuration item is displayed on the configuration details page. And in response to the configuration operation for at least one configuration item, the business field of the target business node is configured and displayed to obtain the configuration information of the target business. Therefore, through the configuration service of the business field, the configuration information for the software development kit to process the target business can be quickly configured, so that the software development kit calls the configuration information of the target business to process the target business, thereby eliminating the need for back-end service personnel to develop corresponding code for the target business, and effectively improving the configuration efficiency of new business requirements.
[0050] It is worth noting that if Figure 4 As shown, in the method for processing business needs of the present disclosure, the software development kit provides the following functions: server-side generalization, client-side generalization, node orchestration of business flow graphs, and configuration of business nodes. Among them, the server-side generalization is used to start the server-side generalization service when calling new configuration information to process the target business, and realize the automatic update of the interface description language (IDL) of the server, so that the server can adaptively support new business fields without restarting the server. The client-side generalization is used to start the client-side generalization service when calling new configuration information to process the target business, and realize the automatic update of the interface description language of the client, so that the client can adaptively support new business fields without restarting the client. The node orchestration of the business flow graph is to encapsulate the process orchestration capability of the business flow graph in the software development kit, so that the software development kit can determine the business processing flow of the target business through the business flow graph. For example Figure 2 As shown, in Figure 2 In the business flow diagram shown, the target business needs to execute the business node for reading input parameters first, then execute the business node for presetting parameters, and so on, until all the business nodes in the business flow diagram are executed in sequence. The configuration of the business node means that the software development toolkit completes the function of the business node according to the configuration information of the configuration platform.
[0051] This embodiment also provides a second method for processing business requirements, which can be used to configure the platform. Figure 5 is a flow chart of a method for processing a second business requirement according to an embodiment of the present invention. Figure 5 As shown, the process includes the following steps:
[0052] Step S501, displaying a service configuration page, which is used to arrange a service flow diagram of a target service in a software development kit, wherein the service flow diagram includes at least one service node. Please refer to the above step S101, which will not be described in detail here.
[0053] Step S502, in response to the configuration instruction for the target business node, at least one configuration item is displayed on the configuration details page, the at least one configuration item comprising a first configuration item for configuring a business field and a second configuration item for calling business data corresponding to the business field.
[0054] Specifically, the second configuration item is used to configure a remote procedure call (RPC) service, and the remote procedure call service is used to call business data corresponding to the business field.
[0055] Step S503, in response to the configuration operation for at least one configuration item, the service field of the target service node is configured and displayed to obtain the configuration information of the target service, and the software development kit is used to call the configuration information of the target service to process the target service.
[0056] In the method for processing business requirements provided in this embodiment, the configuration details page displays a first configuration item for configuring a business field and a second configuration item for calling business data corresponding to the business field. Therefore, while configuring the business field through the first configuration item, the service for calling the business data of the business field can be configured using the second configuration item, so as to ensure that the software development kit can effectively call the required business data of the target business through the final configuration information, and ensure the normal operation of the target business processing.
[0057] In some optional implementations, in response to the configuration operation on at least one configuration item in step S503, configuring and displaying the business field of the target business node includes:
[0058] Step S5031: in response to the configuration operation on the first configuration item, configure and display the business field of the target business node and the business data corresponding to the business field.
[0059] It is worth noting that the business data corresponding to the business field is the business data returned by the client, that is, the business data returned by the client is assigned to the business field so that the software development toolkit performs mapping between the business field and the business data returned by the client.
[0060] Step S5032: In response to the configuration operation for the second configuration item, a remote procedure call service for the business data is configured, and configuration information of the remote procedure call service is displayed.
[0061] It is worth noting that since the data provided in the software management service mainly comes from the downstream, in addition to configuring the business fields and business data, it is also necessary to configure the remote procedure call service for calling the business data, so that the software development kit can call the business data of the business field through the remote procedure call service when processing the target business based on the configuration information.
[0062] The method for processing business requirements provided in this embodiment configures the business field of the target business node and the business data of the business field through the first configuration item, so that the business field information required by the target business can be configured. At the same time, the remote procedure call service for calling the business data is configured through the second configuration item, so that the business data of the business field can be effectively obtained through the remote procedure call service.
[0063] In some optional implementations, the area corresponding to the first configuration item on the configuration details page displays a first configuration control for configuring the business field and a second configuration control for configuring the business data of the business field. Then, in response to the configuration operation for the first configuration item in step S5031, configuring and displaying the business field of the target business node and the business data corresponding to the business field includes:
[0064] Step a1: in response to a configuration operation on a first configuration control, configure and display a service field of a target service node.
[0065] It is worth noting that the first configuration control is an input control, which can configure and display the business field of the target business node in response to the data input in the first configuration control. Alternatively, in response to the interactive operation of the first configuration control, the optional field is displayed to determine the business field in the optional field.
[0066] Step a2: in response to the configuration operation on the second configuration control, configure and display the business data corresponding to the business field.
[0067] It should be noted that the configured business data is the data returned by the downstream. In addition, the business data can also be some constants.
[0068] The method for processing business requirements provided in this embodiment configures business fields and business data through different configuration controls, thereby effectively avoiding configuration errors and improving configuration efficiency.
[0069] For example, Figure 6 As shown, the business field and the corresponding business data, such as business field 1 and business data 1 corresponding to business field 1, can be configured through the first configuration control and the second configuration control.
[0070] In some optional implementations, a first delete control is displayed in an area of the configuration details page corresponding to the display entry where the business field is located. The first delete control is used to delete the business field of the display entry and the corresponding business data.
[0071] In some optional implementations, a first add control is displayed in an area corresponding to the first configuration item on the configuration details page, and the first add control is used to add a business field and business data corresponding to the business field.
[0072] In some optional implementations, the area corresponding to the first configuration item on the configuration details page displays a third configuration control for configuring the project identifier of the project to which the business field belongs and a fourth configuration control for configuring the data source of the business field. Then, the method for processing business needs of the present disclosure further includes: in response to the configuration operation on the third configuration control, configuring and displaying the project identifier; in response to the configuration operation on the fourth configuration control, configuring and displaying the data source corresponding to the business field.
[0073] In some optional implementations, in response to the configuration operation on the first configuration control in step a1, configuring and displaying the service field of the target service node includes:
[0074] Step a11: In response to an interactive operation on the first configuration control, display a corresponding optional field.
[0075] For example, Figure 6 As shown, in response to an interactive operation on the first configuration control, optional fields related to the target business, for example, optional field 1 and optional field 2, are displayed in the area where the first configuration control is located.
[0076] Step a12, in response to the selection instruction for the optional field, determining and displaying the business field.
[0077] Specifically, the selected optional field is determined as a business field. Figure 6 , select Optional Field 2 as the Business Field.
[0078] The method for processing business requirements provided in this embodiment provides optional fields to configure business fields, thereby improving the configuration efficiency of business requirements and reducing the probability of field configuration errors.
[0079] In some optional implementations, the second configuration item includes a sub-configuration item corresponding to a processing link of a remote procedure call service. Then, in response to a configuration operation on the second configuration item, configuring a remote procedure call service for business data and displaying configuration information of the remote procedure call service in the above step S5032 includes: in response to a configuration operation on a configurable first sub-configuration item, configuring and displaying configuration information corresponding to the first sub-configuration item.
[0080] It is worth noting that the processing link of the remote procedure call service includes at least one of the processing link of the request data processing of the remote procedure call, the processing link of the request data of the remote procedure call, the processing link of the generalized request of the remote procedure call, and the processing link of the return data processing of the remote procedure call. Among them, the processing link of the request data processing of the remote procedure call is used to trigger the software development toolkit to call the function set (also known as the PreRPC function) executed by the business node in the preprocessing stage of the remote procedure call. The return result of the PreRPC function is recorded in the first field name (such as PreRPCOutput) of the output result name identifier (such as OutputName), and the first field name is used to characterize the output data in the preprocessing stage of the remote procedure call. The processing link of the request data of the remote procedure call is used to trigger the software development toolkit to construct the remote procedure call downstream of the request to call the target data that the business node can currently use. The target data includes at least one of the interface input parameters, the data generated by the business node as the parent node, and the data recorded by the first field name. That is, the request field is extracted from the interface request data, the field is extracted from the data generated by the business node as the parent node, and the field is extracted from the first field name. The processing link of the generalized request of remote procedure call is used to trigger the software development toolkit to request the downstream, and record the downstream return result in the second field name (such as RPCOutput) identified by the output result name. The second field name is used to represent the output data in the calling process of the remote procedure call. The downstream return data includes the requested business service (also known as PSM) 、At least one of the interface definition language version (i.e., the version of the configuration information) and the name of the requested method. The processing link of the remote procedure call return data processing is used to trigger the software development toolkit to call the function set (also known as PostRPC function) executed in the post-processing stage of the business node. The result returned by the PostRPC function is recorded in the third field name (such as PostRPCOutput) identified by the output result name. The third field name is used to represent the output data in the post-processing stage of the remote procedure call.
[0081] It should be noted that the configurable first sub-configuration item includes a sub-configuration item corresponding to at least one of a processing link for constructing remote procedure call request data and a processing link for a remote procedure call generalized request.
[0082] The method for processing business requirements provided in this embodiment divides the sub-configuration items corresponding to the processing links of the remote procedure call service, and configures the configuration information corresponding to the first sub-configuration item through the configuration operation on the configurable first sub-configuration item. Therefore, it is convenient to maintain the configuration of each processing link in the remote procedure call service, so as to flexibly configure the call of the required business data, thereby meeting the needs of complex business scenarios.
[0083] In some optional implementations, the area corresponding to the first sub-configuration item on the configuration details page displays a configuration field. Then, in response to a configuration operation on the configurable first sub-configuration item, configuring and displaying configuration information corresponding to the first sub-configuration item includes: in response to a configuration operation on the configuration field, determining and displaying field data of the configuration field.
[0084] It is worth noting that for the processing link of constructing the request data of the remote procedure call, the configuration field includes the request field corresponding to the request data and the field value of the request field, for example Figure 7 As shown, configuration field 1 is the request field, and configuration field 2 is the field value of the request field. For the processing link of the remote procedure call generalized request, the configuration field includes the configuration attributes of the remote procedure call generalized request, such as the requested business service, the interface definition language version (i.e., the version of the configuration information), the requested method name and other configuration attributes.
[0085] In the method for processing business requirements provided in this embodiment, the area corresponding to the first sub-configuration item on the configuration details page displays a configuration field, so that the field data of the configuration field can be configured through configuration operations on the configuration field. Therefore, the probability of configuration errors can be reduced and configuration efficiency can be improved.
[0086] In some optional implementations, in response to the configuration operation on the configuration field, determining and displaying the field data of the configuration field includes:
[0087] Step b1: In response to an interactive operation on a configuration field, display corresponding optional data.
[0088] For example, Figure 7 As shown, by clicking the configuration control corresponding to the configuration field, optional data related to the configuration field is displayed, for example, optional data 1 and optional data 2.
[0089] Step b2, in response to a selection instruction for optional data, determining and displaying field data of the configuration field.
[0090] Specifically, the selected optional data is determined as field data, for example, Figure 7 The optional data 2 shown is determined as field data of the configuration field 1.
[0091] The method for processing business requirements provided in this embodiment provides optional data to determine the field data of the configuration field, thereby improving configuration efficiency and reducing the probability of configuration errors.
[0092] In some optional implementations, a second delete control is displayed in an area corresponding to the first sub-configuration item on the configuration details page, and the second delete control is used to delete the configuration field and field data of the configuration field.
[0093] In some optional implementations, a second add control is displayed in an area corresponding to the first sub-configuration item on the configuration details page, and the second add control is used to add a configuration field and field data of the configuration field.
[0094] In some optional implementations, for a preconfigured second sub-configuration item, an area corresponding to the second sub-configuration item on the configuration details page displays preset configuration information of the second sub-configuration item.
[0095] It is worth noting that the second sub-configuration item includes at least one of a processing link of request data processing of a remote procedure call and a processing link of return data processing of a remote procedure call.
[0096] It should be noted that Figure 7 The display order of the first sub-configuration item and the second sub-configuration item in the configuration details page is only an example. The display order of the first sub-configuration item and the second sub-configuration item in the configuration details page can be determined according to the processing order of the processing links of the remote procedure call service. Specifically, according to the processing order of the processing link of the remote procedure call request data processing, the processing link of the remote procedure call request data construction, the processing link of the remote procedure call generalized request, and the processing link of the remote procedure call return data processing, the first sub-configuration item and the second sub-configuration item corresponding to these four links are displayed.
[0097] In some optional implementations, at least one configuration item includes a third configuration item for verifying the target business node, and a verification field is displayed in an area corresponding to the third configuration item on the configuration details page. The method for processing business requirements of the present disclosure also includes: in response to a configuration instruction corresponding to the verification field, configuring verification data corresponding to the verification field.
[0098] Specifically, Figure 8 As shown, a fifth configuration control is configured in the area corresponding to the check field on the configuration details page, and a configuration instruction is generated in response to the configuration operation of the fifth configuration control. In response to the configuration instruction, the check data corresponding to the check field is configured. For example, check data 1 corresponding to check field 1 is configured.
[0099] Specifically, the verification field includes the input parameters of the business node, and the verification data is a field that needs to exist in the input parameters, for example, a project identifier.
[0100] In the method for processing business requirements provided in this embodiment, at least one configuration item includes a third configuration item for verifying the target business node, and a verification field is displayed in the area corresponding to the third configuration item on the configuration details page to configure verification data of the verification field. Therefore, the accuracy of the configuration information can be ensured.
[0101] It is worth noting that the configuration of the verification data is used to trigger the software development tool to check the fields that need to exist in the business node input parameters, such as the project ID. If there is no project ID in the input parameters, and the function of the current business node is to obtain the business fields based on the project ID, there is no need to execute the current business node.
[0102] In some optional implementations, a third delete control is displayed in an area corresponding to the verification data on the configuration details page, and the third delete control is used to delete the verification data.
[0103] In some optional implementations, a third add control is displayed in an area corresponding to the third configuration item on the configuration details page, and the third add control is used to add verification data.
[0104] It is worth noting that, according to the processing logic of the target business node, the execution order of the configuration information of each configuration item is the third configuration item, the second configuration item, and the first configuration item. Each configuration item can be displayed in sequence on the configuration details page according to the execution order of the configuration items.
[0105] It is worth noting that data is transmitted between service nodes through input and output parameters. Figure 2 Take the business branch corresponding to the activity type information in the business flow diagram as an example, Fig. 9As shown, the output data of the business node of "input parameter reading" includes the interface input parameters and the configuration information of "input parameter reading". The output data of the business node of "preset parameters" includes the interface input parameters, the configuration information of "input parameter reading" and the configuration information of "preset parameters". The output data of the business node of "project information" includes the interface input parameters, the configuration information of "input parameter reading", the configuration information of "preset parameters" and the configuration information of "project information". The output data of the business node of "activity type information" includes the interface input parameters, the configuration information of "input parameter reading", the configuration information of "preset parameters", the configuration information of "project information" and the configuration information of "activity type information", and so on.
[0106] It is worth noting that in the processing method of the business needs disclosed in the present invention, the business node mainly includes the following processing links: 1. "Parameter input" processing link; 2. "Read business node configuration" processing link; 3. "Business node verification" processing link; 4. "Remote procedure call request data processing" processing link; 5. "Construct remote procedure call request data" processing link; 6. "Remote procedure call generalized request" processing link; 7. "Remote procedure call return data processing" processing link; 8. "Business field configuration" processing link. Among them, Fig.10 As shown, the data of the processing link of "input parameter" includes the interface input parameter and the configuration information of "input parameter". The data of the processing link of "remote procedure call request data processing" includes the interface input parameter, the configuration information of "input parameter" and the configuration information of "remote procedure call request data processing". The data of the processing link of "remote procedure call generalized request" includes the interface input parameter, the configuration information of "input parameter", the configuration information of "remote procedure call request data processing" and the configuration information of "remote procedure call generalized request". The data of the processing link of "remote procedure call return data processing" includes the interface input parameter, the configuration information of "input parameter", the configuration information of "remote procedure call request data processing", the configuration information of "remote procedure call generalized request" and the configuration information of "remote procedure call return data processing". The data of the processing link of "business field configuration" includes the interface input parameter, the configuration information of "input parameter", the configuration information of "remote procedure call request data processing", the configuration information of "remote procedure call generalized request", the configuration information of "remote procedure call return data processing" and the configuration information of "business field configuration".
[0107] This embodiment also provides a third method for processing business requirements, which can be used to configure the platform. Fig.11 is a flow chart of a method for processing a third business requirement according to an embodiment of the present invention. Fig.11 As shown, the process includes the following steps:
[0108] Step S1101, displaying a service configuration page, which is used to arrange a service flow diagram of a target service in a software development kit, wherein the service flow diagram includes at least one service node. Please refer to the above step S101, which will not be described in detail here.
[0109] Step S1102: in response to the configuration instruction for the target service node, display at least one configuration item on the configuration details page.
[0110] Specifically, in response to the configuration instruction for the target service node in the above step S1102, at least one configuration item is displayed on the configuration details page, including:
[0111] Step S11021: In response to an interactive operation on a target service node, attribute information of the target service node is displayed on a node information page.
[0112] Specifically, the attribute information includes the node name, data source, communication mode, and description information of the target service node.
[0113] For example, Fig.12 As shown, assuming that in response to the interactive operation of the project information, the node information page is displayed through a pop-up window or a drawer to display the node name, data source, communication method, description information and other attribute information corresponding to the business node of the project information. For example, the node name is project information, and the communication method is asynchronous communication (see Fig.12 asynchronous node as shown).
[0114] Step S11022: generating a configuration instruction in response to an interactive operation on a configuration control in the node information page.
[0115] Specifically, the node information page displays a configuration control, and the configuration control can be clicked to generate a configuration instruction.
[0116] Step S11023: In response to the configuration instruction for the target service node, at least one configuration item is displayed on the configuration details page.
[0117] Specifically, the configuration details page may be displayed through a pop-up window, a drawer, a jump page, or the like, and at least one configuration item is displayed on the configuration details page.
[0118] Step S1103, in response to the configuration operation for at least one configuration item, configure and display the service field of the target service node to obtain the configuration information of the target service, and the software development kit is used to call the configuration information of the target service to process the target service. Please refer to the above step S503, which will not be repeated here.
[0119] The method for processing business requirements provided in this embodiment displays the attribute information of the target business node on the node information page, and then displays at least one configuration item on the configuration details page in response to the configuration instruction for the target business node. Therefore, the function of the target business node can be clarified to better configure the business field of the target business node.
[0120] It is worth mentioning that in the method for processing business needs disclosed in the present invention, the configuration platform provides the following capabilities: 1. Configuration information storage; 2. Business flow diagram orchestration visualization; 3. Configuration management of business nodes; 4. Tools to improve efficiency and stability, such as business flow diagram legality check (represented by verification data), intelligent prompts when configuring business fields (represented by optional fields and optional data), configuration correctness testing, multi-business line impact check, etc.
[0121] As a specific application example, the configuration platform is installed with a target program, which is used to generate configuration information of the target business through the processing method of the business requirements of the present disclosure. The software development kit processes the target business by calling the configuration information generated by the configuration platform. For example, Fig.13 As shown, the software development kit processes business 1 to obtain business data 11 of business field 1, business data 12 of business field 2, and business data 13 of business field 3. Also, the software development kit processes business 2 to obtain business data 21 of business field 1, business data 22 of business field 2, and business data 23 of business field 3. Furthermore, the business data of each business corresponding to each business field is displayed on the promotion management service page, so that the user can know the business data of each business.
[0122] It is worth noting that in the method for processing business needs disclosed in the present invention, a configurable service for promoting management services is built through a configurable architecture between a software development toolkit and a configuration platform. It supports configuring configuration information of new business needs on the configuration platform, and then the software development toolkit calls the configuration information to process the new business needs. Therefore, there is no need to develop code, recompile, and redeploy services for each new business. By changing the configuration information through the configuration platform, the software development toolkit can call the modified configuration information to support the new business needs.
[0123] It can be understood that by adopting the processing method of business requirements disclosed in the present invention, the configurable capability can be abstracted to construct a configurable software development kit, so as to support the construction of configurable services for new businesses. Therefore, in the promotion management service, it can support the orchestration of complex business processes, support the field configuration of complex data processing, and support the rapid construction of configurable new services.
[0124] It is worth noting that, based on the processing method of the business needs disclosed in the present invention, generalized processing, business flow diagram arrangement, configured call, field mapping configuration (i.e., the mapping relationship between business fields and business data), and configuration platform can be integrated into a software development kit to provide configuration services, thereby realizing the configuration of business needs. The configuration platform supports configuration functions and function nesting through field configuration capabilities, and supports conditional judgment in the configuration, so it can support the configuration implementation of complex data processing logic. When faced with new business needs, new business needs can be realized by only changing the configuration information. After the configuration is completed, there is no need to redeploy new business needs. By configuring the configuration information online on the configuration platform, the new business needs are configured, and the configuration of configured business needs can be quickly completed based on the configured software development kit.
[0125] In this embodiment, a processing device for business needs is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware of a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0126] This embodiment provides a device for processing business needs, such as Fig.14 As shown, including:
[0127] A first display module 1401 is used to display a business configuration page, where the business configuration page is used to arrange a business flow diagram of a target business in a software development kit, where the business flow diagram includes at least one business node;
[0128] A second display module 1402, configured to display at least one configuration item on a configuration details page in response to a configuration instruction for a target service node;
[0129] The service configuration module 1403 is used to configure and display the service fields of the target service node in response to the configuration operation on at least one configuration item to obtain the configuration information of the target service. The software development kit is used to call the configuration information of the target service to process the target service.
[0130] In some optional implementations, the second display module 1402 includes:
[0131] A first display unit, configured to display attribute information of the target service node on a node information page in response to an interactive operation on the target service node;
[0132] An instruction generation unit, configured to generate a configuration instruction in response to an interactive operation on a configuration control in a node information page;
[0133] The second display unit is configured to display at least one configuration item on a configuration details page in response to a configuration instruction for a target service node.
[0134] In some optional implementations, at least one configuration item in the second display module 1402 includes a first configuration item for configuring a business field, and a second configuration item for calling business data corresponding to the business field.
[0135] In some optional implementations, the service configuration module 1403 includes:
[0136] A first configuration unit, configured to configure and display a business field of a target business node and business data corresponding to the business field in response to a configuration operation on a first configuration item;
[0137] The second configuration unit is used to configure the remote procedure call service for the business data in response to the configuration operation for the second configuration item, and display the configuration information of the remote procedure call service.
[0138] In some optional implementations, the area corresponding to the first configuration item on the configuration details page displays a first configuration control for configuring the business field and a second configuration control for configuring the business data of the business field. Then, the first configuration unit includes:
[0139] A field configuration subunit, configured to configure and display a business field of a target business node in response to a configuration operation on a first configuration control;
[0140] The data configuration subunit is used to configure and display the business data corresponding to the business field in response to the configuration operation on the second configuration control.
[0141] In some optional implementations, the field configuration subunit is specifically used to: display the corresponding optional field in response to an interactive operation on the first configuration control; and determine and display the business field in response to a selection instruction on the optional field.
[0142] In some optional implementations, the second configuration item includes sub-configuration items corresponding to the processing link of the remote procedure call service. Then, the second configuration unit includes:
[0143] The remote calling configuration subunit is used to configure and display configuration information corresponding to the first sub-configuration item in response to a configuration operation on the configurable first sub-configuration item.
[0144] In some optional implementations, the configuration details page displays a configuration field in an area corresponding to the first sub-configuration item. Then, the remote call configuration subunit is specifically used to: determine and display field data of the configuration field in response to a configuration operation on the configuration field.
[0145] In some optional embodiments, the configuration field configuration subunit is specifically used to determine and display the field data of the configuration field in response to the configuration operation on the configuration field, including: displaying the corresponding optional data in response to the interactive operation on the configuration field; determining and displaying the field data of the configuration field in response to the selection instruction for the optional data.
[0146] In some optional implementations, at least one configuration item includes a third configuration item for verifying the target service node, and a verification field is displayed in an area corresponding to the third configuration item on the configuration details page.
[0147] Then, the processing device for the business requirements of the present disclosure further includes:
[0148] The verification configuration module is used to configure the verification data corresponding to the verification field in response to the configuration instruction corresponding to the verification field.
[0149] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.
[0150] The business demand processing device in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.
[0151] The present disclosure also provides an electronic device having the above Fig.14 A processing device for the business needs shown.
[0152] See also Fig.15 , Fig.15 is a structural block diagram of an electronic device provided by an optional embodiment of the present disclosure, such as Fig.15 As shown, the electronic device includes: one or more processors 1501, memory 1502, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process instructions executed in the electronic device, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output device (such as a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple electronic devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Fig.15A processor 1501 is taken as an example.
[0153] The processor 1501 may be a central processing unit, a network processor or a combination thereof. The processor 1501 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable logic gate array, a general purpose array logic or any combination thereof.
[0154] The memory 1502 stores instructions executable by at least one processor 1501 so as to enable at least one processor 1501 to implement the method shown in the above embodiment.
[0155] The memory 1502 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the electronic device, etc. In addition, the memory 1502 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 1502 may optionally include a memory remotely arranged relative to the processor 1501, and these remote memories may be connected to the electronic device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0156] The memory 1502 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 1502 may also include a combination of the above types of memory.
[0157] The electronic device also includes an input device 1503 and an output device 1504. The processor 1501, the memory 1502, the input device 1503 and the output device 1504 may be connected via a bus or other means. Fig.15 The example of connecting through bus is taken in the following.
[0158] The input device 1503 can receive input digital or character information, and generate key signal input related to the user settings and function control of the electronic device, such as a touch screen, a keypad, a mouse, a track pad, a touch pad, an indicator rod, one or more mouse buttons, a trackball, a joystick, etc. The output device 1504 may include a display device, an auxiliary lighting device (e.g., an LED) and a tactile feedback device (e.g., a vibration motor), etc. The above-mentioned display device includes but is not limited to a liquid crystal display, a light emitting diode, a display and a plasma display. In some optional embodiments, the display device can be a touch screen.
[0159] The embodiments of the present disclosure also provide a computer-readable storage medium. The above-mentioned method according to the embodiments of the present disclosure can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium and downloaded through a network, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state drive, etc.; further, the storage medium can also include a combination of the above-mentioned types of memory. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.
[0160] A part of the present disclosure may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present disclosure through the operation of the computer. Those skilled in the art should understand that the existence of computer program instructions in computer-readable media includes, but is not limited to, source files, executable files, installation package files, etc., and accordingly, the way in which computer program instructions are executed by a computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium can be any available computer-readable storage medium or communication medium accessible to the computer.
[0161] Although the embodiments of the present disclosure have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present disclosure, and such modifications and variations are all within the scope defined by the appended claims.
Claims
1. A method for processing business requirements, characterized in that: The method comprises: Displaying a business configuration page, the business configuration page is used to arrange a business flow diagram of a target business in a software development kit, the business flow diagram including at least one business node; In response to a configuration instruction for a target service node, displaying at least one configuration item on a configuration details page; In response to the configuration operation for the at least one configuration item, the service field of the target service node is configured and displayed to obtain the configuration information of the target service, and the software development kit is used to call the configuration information of the target service to process the target service.
2. The method according to claim 1, characterized in that The at least one configuration item includes a first configuration item for configuring the business field and a second configuration item for calling business data corresponding to the business field.
3. The method according to claim 2, characterized in that The configuring and displaying the service field of the target service node in response to the configuration operation on the at least one configuration item includes: In response to the configuration operation on the first configuration item, configuring and displaying the business field of the target business node and the business data corresponding to the business field; In response to the configuration operation on the second configuration item, a remote procedure call service for the business data is configured, and configuration information of the remote procedure call service is displayed.
4. The method according to claim 3, characterized in that The area of the configuration details page corresponding to the first configuration item displays a first configuration control for configuring the business field and a second configuration control for configuring the business data of the business field; The configuring and displaying the business field of the target business node and the business data corresponding to the business field in response to the configuration operation on the first configuration item includes: In response to a configuration operation on the first configuration control, configuring and displaying a service field of the target service node; In response to the configuration operation on the second configuration control, the business data corresponding to the business field is configured and displayed.
5. The method according to claim 4, characterized in that The configuring and displaying the service field of the target service node in response to the configuration operation on the first configuration control includes: In response to an interactive operation on the first configuration control, displaying a corresponding optional field; In response to a selection instruction for the optional field, the business field is determined and displayed.
6. The method according to claim 3, characterized in that The second configuration item includes a sub-configuration item corresponding to a processing link of the remote procedure call service; the configuration of the remote procedure call service for the business data in response to the configuration operation on the second configuration item, and displaying the configuration information of the remote procedure call service, including: In response to a configuration operation on a configurable first sub-configuration item, configuration information corresponding to the first sub-configuration item is configured and displayed.
7. The method according to claim 6, characterized in that The configuration details page displays a configuration field in an area corresponding to the first sub-configuration item; and in response to a configuration operation on the configurable first sub-configuration item, configuring and displaying configuration information corresponding to the first sub-configuration item includes: In response to a configuration operation for the configuration field, field data of the configuration field is determined and displayed.
8. The method according to claim 7, characterized in that The step of determining and displaying field data of the configuration field in response to the configuration operation on the configuration field comprises: In response to an interactive operation on the configuration field, displaying corresponding optional data; In response to a selection instruction for the selectable data, field data of the configuration field is determined and displayed.
9. The method according to claim 1, characterized in that: The at least one configuration item includes a third configuration item for verifying the target service node, and a verification field is displayed in an area of the configuration details page corresponding to the third configuration item; the method further includes: In response to a configuration instruction corresponding to the check field, check data corresponding to the check field is configured.
10. The method according to claim 1, characterized in that The step of displaying at least one configuration item on a configuration details page in response to a configuration instruction for a target service node includes: In response to an interactive operation on the target service node, displaying attribute information of the target service node on a node information page; generating the configuration instruction in response to an interactive operation on a configuration control in the node information page; In response to the configuration instruction for the target service node, at least one configuration item is displayed on the configuration details page.
11. A device for processing business requirements, characterized in that: The device comprises: A first display module, used to display a business configuration page, wherein the business configuration page is used to arrange a business flow diagram of a target business in a software development kit, wherein the business flow diagram includes at least one business node; A second display module, configured to display at least one configuration item on a configuration details page in response to a configuration instruction for a target service node; The business configuration module is used to configure and display the business field of the target business node in response to the configuration operation for the at least one configuration item to obtain the configuration information of the target business, and the software development kit is used to call the configuration information of the target business to process the target business.
12. An electronic device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the method for processing business requirements described in any one of claims 1 to 10 by executing the computer instructions.
13. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the method for processing business requirements according to any one of claims 1 to 10.
14. A computer program product, characterized in that The method comprises computer instructions, wherein the computer instructions are used to enable a computer to execute the method for processing business requirements according to any one of claims 1 to 10.
