CN115375262A - Data generation method, apparatus, device, computer readable medium and program product - Google Patents

Data generation method, apparatus, device, computer readable medium and program product Download PDF

Info

Publication number
CN115375262A
CN115375262A CN202210900790.3A CN202210900790A CN115375262A CN 115375262 A CN115375262 A CN 115375262A CN 202210900790 A CN202210900790 A CN 202210900790A CN 115375262 A CN115375262 A CN 115375262A
Authority
CN
China
Prior art keywords
configuration information
information
flow
flow configuration
process configuration
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.)
Pending
Application number
CN202210900790.3A
Other languages
Chinese (zh)
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.)
Beijing Jingdong Century Trading Co Ltd
Beijing Wodong Tianjun Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Wodong Tianjun Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jingdong Century Trading Co Ltd, Beijing Wodong Tianjun Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN202210900790.3A priority Critical patent/CN115375262A/en
Publication of CN115375262A publication Critical patent/CN115375262A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/08Construction

Landscapes

  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Strategic Management (AREA)
  • Engineering & Computer Science (AREA)
  • General Business, Economics & Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Quality & Reliability (AREA)
  • Operations Research (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Primary Health Care (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

Embodiments of the present disclosure disclose data generation methods, apparatuses, devices, computer readable media and program products. One embodiment of the method comprises: responding to a received floor data request which is sent by a client and aims at a target page, and acquiring floor configuration information; determining at least one flow configuration information to be executed in a current flow configuration information set; responding to the successful loading of at least one flow configuration information, and determining a field service information set corresponding to each flow configuration information in the at least one flow configuration information; and for each flow configuration information in the at least one flow configuration information, responding to the fact that the flow configuration information has at least one corresponding execution rule information, and generating floor data aiming at the target page according to the plurality of pieces of callable service information and the at least one piece of execution rule information corresponding to the target field business information set. This embodiment is related to digital marketing, and can efficiently generate floor data for a target page.

Description

Data generation method, device, equipment, computer readable medium and program product
Technical Field
Embodiments of the present disclosure relate to the field of computer technologies, and in particular, to a data generation method, apparatus, device, computer-readable medium, and program product.
Background
In information presentation, the rich content of a page is typically presented in a hierarchical fashion. For the dynamic configuration of floors in a page, the following methods are generally adopted: and developing the configuration information of the floor to be adjusted in the page to obtain the adjustment configuration information aiming at the floor to be adjusted. And adjusting each floor by adjusting the configuration content of the configuration information.
However, the inventor finds that when the dynamic configuration of floors in a page is performed in the above manner, the following technical problems often occur:
the dynamic floor configuration efficiency of the page is low by adopting a mode of adjusting the configuration content of the configuration information, and the speed of the dynamic floor configuration is influenced.
The above information disclosed in this background section is only for enhancement of understanding of the background of the inventive concept and, therefore, it may contain information that does not form the prior art that is already known to a person of ordinary skill in the art in this country.
Disclosure of Invention
This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the detailed description. This summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
Some embodiments of the present disclosure propose data generation methods, apparatuses, devices, computer readable media and program products to solve the technical problems mentioned in the background section above.
In a first aspect, some embodiments of the present disclosure provide a data generation method, including: responding to a received floor data request which is sent by a client and aims at a target page, and acquiring floor configuration information, wherein the floor configuration information comprises: a process configuration information set; determining at least one flow configuration information to be executed in the current flow configuration information set by utilizing a rule engine called in advance; responding to the successful loading of the at least one flow configuration information, and determining a domain service information set corresponding to each flow configuration information in the at least one flow configuration information; and for each flow configuration information in the at least one flow configuration information, in response to determining that the flow configuration information has corresponding at least one execution rule information, generating floor data for the target page according to a plurality of pieces of callable service information corresponding to a target field service information set and the at least one execution rule information, wherein the callable service information is service information of services called by a pre-called preset flow engine from the field service, and the target field service information set is a field service information set corresponding to the flow configuration information.
Optionally, the method further includes: generating a floor data set aiming at the flow configuration information set according to the obtained floor data set, and taking the floor data set as a floor data set to be returned; and sending the data set of the floor to be returned to the client.
Optionally, the determining, by using a pre-called rule engine, at least one piece of process configuration information to be executed in the current process configuration information set includes: in response to determining that the flow configuration information to be executed is configuration information which does not satisfy a dependency condition, determining a flow configuration information subset as at least one flow configuration information to be executed, where the flow configuration information in the flow configuration information subset is configuration information which does not satisfy the dependency condition in the flow configuration information set, and the dependency condition is: the flow configuration information is the configuration information with dependency relationship.
Optionally, the determining, by using a pre-called rule engine, at least one piece of process configuration information to be executed in the current process configuration information set includes: in response to the fact that the process configuration information to be executed is determined to be the configuration information meeting the dependency condition, screening process configuration information which corresponds to the executed processes and has direct dependency relationship and is not executed from the process configuration information in a centralized mode, and taking the process configuration information as target process configuration information to obtain at least one piece of target process configuration information; for each target process configuration information in the at least one target process configuration information, executing a candidate process configuration information determining step: determining process configuration information having the direct dependency relationship with the target process configuration information as dependent process configuration information to obtain at least one dependent process configuration information; screening out dependent process configuration information which is not executed by a corresponding process from the at least one dependent process configuration information, and taking the dependent process configuration information as candidate dependent process configuration information to obtain a candidate dependent process configuration information set; and determining the obtained at least one candidate dependent process configuration information set as at least one process configuration information to be executed.
Optionally, the determining a domain service information set corresponding to each piece of process configuration information in the at least one piece of process configuration information includes: determining domain service determination rule information corresponding to the process configuration information as target domain service determination rule information, wherein the domain service determination rule information is rule information for determining required domain service information from all domain service information in a centralized manner; and executing the rule corresponding to the target domain business determination rule information by using the rule engine to obtain a domain business information set corresponding to the process configuration information.
Optionally, the generating floor data for the target page according to the plurality of pieces of callable service information corresponding to the target domain service information set and the at least one piece of execution rule information includes: calling the floor data to be processed corresponding to the flow configuration information; according to the plurality of the callable services and the at least one execution rule information, performing data adjustment on the floor data to be processed to obtain adjusted floor data; and determining the adjusted floor data as the floor data aiming at the target page.
Optionally, the method further includes: responding to the at least one piece of flow configuration information that the loading of the flow configuration information fails, and determining a flow configuration information set with the loading failure; and for each loading failure flow configuration information in the loading failure flow configuration information set, canceling the information loading of the loading failure flow configuration information and loading default flow configuration information.
Optionally, each piece of process configuration information in the process configuration information set includes a process start identifier, a process end identifier, and/or a next step identifier.
In a second aspect, some embodiments of the present disclosure provide a data generation apparatus, including: the system comprises an acquisition unit, a display unit and a display unit, wherein the acquisition unit is configured to respond to a received floor data request which is sent by a client and aims at a target page, and acquire floor configuration information, wherein the floor configuration information comprises: a flow configuration information set; the first determining unit is configured to determine at least one piece of process configuration information to be executed in the current process configuration information set by utilizing a rule engine called in advance; a second determining unit, configured to determine, in response to successful loading of the at least one piece of process configuration information, a domain service information set corresponding to each piece of process configuration information in the at least one piece of process configuration information; and a generating unit configured to, for each of the at least one flow configuration information, in response to determining that there is at least one execution rule information corresponding to the flow configuration information, generate floor data for the target page according to a plurality of pieces of callable service information corresponding to a target domain service information set and the at least one execution rule information, where the callable service information is service information of a service called by a pre-called preset flow engine from a domain service, and the target domain service information set is a domain service information set corresponding to the flow configuration information.
Optionally, the apparatus further comprises: generating a floor data set aiming at the flow configuration information set according to the obtained floor data set, and taking the floor data set as a floor data set to be returned; and sending the data set of the floor to be returned to the client.
Optionally, the first determination unit is configured to: in response to determining that the flow configuration information to be executed is configuration information which does not satisfy a dependency condition, determining a flow configuration information subset as at least one flow configuration information to be executed, where the flow configuration information in the flow configuration information subset is configuration information which does not satisfy the dependency condition in the flow configuration information set, and the dependency condition is: the flow configuration information is the configuration information with dependency relationship.
Optionally, the first determination unit is configured to: in response to determining that the process configuration information to be executed is the configuration information meeting the dependency condition, screening process configuration information which is executed corresponding to the processes and has no process execution of a direct dependency relationship from the process configuration information set, and taking the process configuration information as target process configuration information to obtain at least one target process configuration information; for each target process configuration information in the at least one target process configuration information, executing a candidate process configuration information determining step: determining process configuration information having the direct dependency relationship with the target process configuration information as dependent process configuration information to obtain at least one dependent process configuration information; screening out the dependent process configuration information which is not executed by the corresponding process from the at least one dependent process configuration information, and taking the dependent process configuration information as candidate dependent process configuration information to obtain a candidate dependent process configuration information set; and determining the obtained at least one candidate dependent process configuration information set as at least one process configuration information to be executed.
Optionally, the second determination unit is configured to: determining domain service determination rule information corresponding to the process configuration information as target domain service determination rule information, wherein the domain service determination rule information is rule information for determining required domain service information from all domain service information in a centralized manner; and executing the rule corresponding to the target domain business determination rule information by using the rule engine to obtain a domain business information set corresponding to the process configuration information.
Optionally, the generating unit is configured to: calling the floor data to be processed corresponding to the flow configuration information; performing data adjustment on the floor data to be processed according to the plurality of the callable services and the at least one piece of execution rule information to obtain adjusted floor data; and determining the adjusted floor data as the floor data aiming at the target page.
Optionally, the apparatus further comprises: responding to the at least one piece of flow configuration information that the loading of the flow configuration information fails, and determining a flow configuration information set with the loading failure; and for each piece of flow configuration information which fails to be loaded in the flow configuration information set which fails to be loaded, canceling the information loading of the flow configuration information which fails to be loaded, and loading default flow configuration information.
Optionally, each piece of process configuration information in the process configuration information set includes a process start identifier, a process end identifier, and/or a next step identifier.
In a third aspect, some embodiments of the present disclosure provide an electronic device, comprising: one or more processors; a storage device having one or more programs stored thereon, which when executed by one or more processors, cause the one or more processors to implement the method as described in any of the implementations of the first aspect.
In a fourth aspect, some embodiments of the disclosure provide a computer readable medium having a computer program stored thereon, where the program when executed by a processor implements a method as described in any of the implementations of the first aspect.
In a fifth aspect, some embodiments of the present disclosure provide a computer program product comprising a computer program that, when executed by a processor, implements the method described in any of the implementations of the first aspect above.
The above embodiments of the present disclosure have the following beneficial effects: the data generation method of some embodiments of the present disclosure can efficiently implement dynamic floor configuration, and further, can efficiently generate floor data for a target page. Specifically, the reasons for the inefficient generation of floor data are: the dynamic floor configuration efficiency of the page is low by adopting a mode of adjusting the configuration content of the configuration information, and the speed of the dynamic floor configuration is influenced. Based on this, the data generation method of some embodiments of the present disclosure first obtains floor configuration information in response to receiving a floor data request for a target page sent by a client, so as to be used for dynamic adjustment of subsequent floor data. Then, at least one piece of process configuration information to be executed in the current process configuration information set can be efficiently and accurately determined by utilizing a rule engine called in advance. And then, in response to the successful loading of the at least one flow configuration information, determining a domain service information set corresponding to each flow configuration information in the at least one flow configuration information. Here, the generation of the floor data is performed by determining a set of domain service information corresponding to each flow configuration information for subsequent invocation of a plurality of callable services. And finally, for each flow configuration information in the at least one flow configuration information, in response to determining that the flow configuration information has at least one corresponding execution rule information, generating floor data for the target page accurately according to the plurality of pieces of callable service information corresponding to the target field service information set and the at least one execution rule information. In the generation process of the floor data for the target page, the execution efficiency of the flow corresponding to the flow configuration information can be greatly improved by using the preset flow engine and the rule engine, and the dynamic floor configuration speed of the page is improved.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and elements are not necessarily drawn to scale.
FIG. 1 is a schematic diagram of one application scenario of a data generation method according to some embodiments of the present disclosure;
FIG. 2 is a flow diagram of some embodiments of a data generation method according to the present disclosure;
FIG. 3 is a flow diagram of further embodiments of a data generation method according to the present disclosure;
FIG. 4 is a page floor schematic in some embodiments of a data generation method according to the present disclosure;
FIG. 5 is a schematic block diagram of some embodiments of a data generation apparatus according to the present disclosure;
FIG. 6 is a schematic structural diagram of an electronic device suitable for use in implementing some embodiments of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and the embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings. The embodiments and features of the embodiments in the present disclosure may be combined with each other without conflict.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
The present disclosure will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
FIG. 1 is a schematic diagram of one application scenario of a data generation method according to some embodiments of the present disclosure.
In the application scenario of fig. 1, first, in response to receiving a floor data request for a target page sent by a client, the electronic device 101 may acquire floor configuration information. In this application scenario, the floor arrangement information 102 includes: the flow configuration information set 103. In the application scenario, the flow configuration information set 103 may include: process configuration information 1031, process configuration information 1032, and process configuration information 1033. Then, the electronic device 101 may determine, by using the rule engine 104 called in advance, at least one piece of process configuration information 105 to be executed in the current process configuration information set 103. In this application scenario, the at least one flow configuration information 105 may include: flow configuration information 1031, and flow configuration information 1032. Next, in response to the successful loading of the at least one process configuration information 105, the electronic device 101 may determine a set of domain service information corresponding to each process configuration information in the at least one process configuration information 105. In the application scenario, the domain service information set 106 corresponding to the flow configuration information 1031 includes: domain service information 1061 and domain service information 1062. The domain service information set 107 corresponding to the flow configuration information 1032 includes: domain service information 1071 and domain service information 1072. Finally, for each flow configuration information in the at least one flow configuration information 105, in response to determining that the flow configuration information has the corresponding at least one execution rule information, generating floor data for the target page according to the plurality of pieces of callable service information corresponding to the target domain service information set and the at least one execution rule information. The called service information is service information of a service called by a preset process engine from a field service, and the target field service information set is a field service information set corresponding to the process configuration information. In this application scenario, for the flow configuration information 1031, the corresponding at least one execution rule information 109 includes: execution rule information 1091 and execution rule information 1092. The plurality of pieces of callable information 110 corresponding to the domain service information set 106 corresponding to the process configuration information 1031 include: callable service information 1101 and callable service information 1102. Based on the at least one execution rule information 109 and the plurality of callable information 110, floor data 113 corresponding to the process configuration information 1031 for the target page may be generated. For the flow configuration information 1032, the corresponding at least one execution rule information 108 includes: execution rules information 1081 and execution rules information 1082. The plurality of pieces of callable information 111 corresponding to the domain service information set 107 corresponding to the flow configuration information 1032 includes: service information 1111 may be invoked and service information 1112 may be invoked. Floor data 112 corresponding to the process configuration information 1032 for the target page may be generated based on the at least one enforcement rule information 108 and the plurality of callable information 111.
The electronic device 101 may be hardware or software. When the electronic device is hardware, the electronic device may be implemented as a distributed cluster formed by a plurality of servers or terminal devices, or may be implemented as a single server or a single terminal device. When the electronic device is embodied as software, it may be installed in the above-listed hardware devices. It may be implemented, for example, as multiple software or software modules to provide distributed services, or as a single software or software module. And is not particularly limited herein.
It should be understood that the number of electronic devices in fig. 1 is merely illustrative. There may be any number of electronic devices, as desired for implementation.
With continued reference to fig. 2, a flow 200 of some embodiments of a data generation method according to the present disclosure is shown. The data generation method comprises the following steps:
step 201, responding to a received floor data request for a target page sent by a client, obtaining floor configuration information.
In some embodiments, in response to receiving a floor data request for a target page sent by a client, an execution subject of the data generation method (e.g., the electronic device 101 shown in fig. 1) may obtain the floor configuration information through a wired connection manner or a wireless connection manner. The client may be a client that displays the target page. The target page can be a page to be dynamically configured for the floor. For example, the target page may be a merchant detail page for a promotional program. The merchant detail page can be a commodity detail page, is a page for displaying at least one commodity relevant information, and can comprise commodity names, prices, coupons, sales promotion information, image-text details, videos, evaluation information and the like. The floor data request is a request for acquiring dynamically configured floor data. The floor data may be data of each page floor in the display target page. The floor configuration information may be floor configuration information of a page floor to be dynamically adjusted in the target page. In practice, the floor configuration information may include: floor layout information, process configuration information sets and floor template information. The floor layout information may be layout information of floors of each page in the target page. The process configuration information may be configuration information of a process to be executed by the page floor to be adjusted. The configuration information of the process may characterize the process content of the process.
Optionally, the configuration content of the flow configuration information may be in the form of an identifier. The floor template information may characterize the templates of the various floors in the destination page. The flow configuration information set may be a set of information in the form of a list. The process configuration information set includes at least two process configuration information sets. The flow configuration information set at least comprises a pair of flow configuration information with dependency relationship. For example, the flow configuration information set includes: first flow configuration information, second flow configuration information, and third flow configuration information. The second process configuration information may be configuration information for performing parameter processing on the page parameter. The third flow configuration information may be configuration information for performing parameter verification on the adjusted page parameter. Thus, a dependency relationship exists between the second flow configuration information and the third flow configuration information. The implementation of the configuration content of the third flow configuration information depends on the configuration content of the second flow configuration content. That is, the process configuration information having the post-dependency relationship corresponding to the second process configuration information is the third process configuration information. That is, the flow configuration information having the pre-dependency relationship corresponding to the third flow configuration information is the second flow configuration information.
Referring to fig. 3, a product detail page for "living smart home" is shown, wherein the floor corresponding to the product detail page shown in fig. 3 includes: a head floor, a coupon floor, and a hot-pin item floor. The head floor corresponds to the page subject content of the item detail page (e.g., "live smart home"). The coupon floors correspond to the respective coupon information of the item detail pages. Wherein the coupon information characterizes the item's depletion information (e.g., when the consumption is full 199, a 10-dollar coupon may be received for the offer). The hot-pin item floor may correspond to at least one hot-pin item information of a merchandise detail page (e.g., desk lamp, window covering, television, stereo, etc.).
In some optional implementation manners of some embodiments, each piece of flow configuration information in the flow configuration information set includes a flow start identifier, a flow end identifier, and/or a next-step flow identifier. Wherein, the flow start identifier may characterize the start of the flow. The end-of-flow indicator may characterize the end-of-flow execution. The next process identification can characterize the next process to be executed in dependence relationship with the current process. Optionally, the next process identifier may further represent the next batch of process configuration information in the set of execution process configuration information. The process configuration information of the current batch in the process configuration information set is at least one process configuration information.
Step 202, determining at least one piece of process configuration information to be executed in the current process configuration information set by using a rule engine called in advance.
In some embodiments, the execution agent may determine, by using a rule engine called in advance, at least one piece of process configuration information to be executed in the current process configuration information set. The rule engine may be an integrated tool for rule matching and rule execution according to a specified algorithm. The rule may be a rule corresponding to the rule information to be executed. The information of the rules to be executed represents the rules which need to be executed in the process of executing the corresponding flow of the flow configuration information. The at least one piece of process configuration information to be executed may be configuration information of at least one process corresponding to the at least one piece of process configuration information to be executed currently.
In practice, the execution agent may call the rule engine through the rule engine information by the IOC (Inversion off control) function of the printing. Specifically, the rule engine information may be name information of the rule engine, and may also be an engine identifier of the rule engine.
It should be noted that each piece of process configuration information in the process configuration information set may be completed in batches according to the dependency relationship. The batch process set corresponding to each batch process configuration information is executed in a thread pool isolation mode.
In some optional implementations of some embodiments, in response to determining that the process configuration information to be executed is configuration information that does not satisfy the dependency condition, the execution main body may determine the subset of the process configuration information as the at least one process configuration information to be executed. Wherein, the flow configuration information in the flow configuration information subset is configuration information that does not satisfy the dependency condition in the flow configuration information set, and the dependency condition is: the flow configuration information is configuration information with a pre-dependency relationship. The pre-dependency relationship may be a result of execution of a flow that does not depend on any flow when execution of the flow corresponding to the flow configuration information is executed.
For example, the flow configuration information set includes: first flow configuration information, second flow configuration information, and third flow configuration information. The execution of the flow corresponding to the first flow configuration information does not depend on the flow execution result of any flow. The execution of the flow corresponding to the second flow configuration information depends on the flow execution result of the flow corresponding to the first flow configuration information. Similarly, the execution of the flow corresponding to the third flow configuration information depends on the flow execution result of the flow corresponding to the first flow configuration information. Then, the first flow configuration information is determined as the flow configuration information in the at least one flow configuration information to be executed.
Optionally, the determining, by using a pre-called rule engine, at least one piece of process configuration information to be executed in the current process configuration information set may include the following steps:
in the first step, in response to determining that the process configuration information to be executed is the configuration information satisfying the dependency condition, the execution main body may screen, from the process configuration information set, process configuration information that corresponds to processes that have been executed and that have a direct dependency relationship and are not executed, as target process configuration information, to obtain at least one target process configuration information.
As an example, the set of flow configuration information includes: the first flow configuration information, the second flow configuration information and the third flow configuration information. And executing the flow corresponding to the second flow configuration information according to the flow execution result of the flow corresponding to the first flow configuration information. The execution of the flow corresponding to the third flow configuration information depends on the flow execution result of the flow corresponding to the second flow configuration information. The first flow configuration information corresponds to the end of the execution of the flow. The second process configuration information corresponds to a process that has not been executed. And determining the first flow configuration information as the target flow configuration information because the flow having the direct dependency relationship with the first flow configuration information is the flow corresponding to the second flow configuration information. In addition, an indirect dependency relationship exists between the process corresponding to the first process configuration information and the process corresponding to the third process configuration information.
A second step of executing a candidate process configuration information determination step for each of the at least one target process configuration information:
in the first substep, the execution agent may determine process configuration information having the direct dependency relationship with the target process configuration information, and obtain at least one dependent process configuration information as dependent process configuration information.
For example, the execution of the flow corresponding to the second flow configuration information depends on the flow execution result of the flow corresponding to the first flow configuration information. The execution of the flow corresponding to the third flow configuration information depends on the flow execution result of the flow corresponding to the second flow configuration information. The execution of the flow corresponding to the fourth flow configuration information depends on the flow execution result of the flow corresponding to the first flow configuration information. The execution of the flow corresponding to the fifth flow configuration information depends on the flow execution result of the flow corresponding to the first flow configuration information. And the flow corresponding to the fourth flow configuration information is not executed. The fourth process configuration information corresponds to the process executed. The first process configuration information is target process configuration information. The at least one dependent flow configuration information includes: second flow configuration information, fourth flow configuration information, and fifth flow configuration information.
In the second sub-step, the execution main body may filter dependent process configuration information that is not executed by a corresponding process from the at least one dependent process configuration information, and obtain the dependent process configuration information as candidate dependent process configuration information.
For example, the at least one dependent flow configuration information includes: second flow configuration information, fourth flow configuration information, and fifth flow configuration information. And the flow corresponding to the second flow configuration information and the flow corresponding to the fourth flow configuration information are not executed. But the process corresponding to the fifth process configuration information is executed. The candidate dependent process configuration information set includes: second flow configuration information and fourth flow configuration information.
Thirdly, the executing agent may determine the obtained at least one candidate dependent process configuration information set as at least one process configuration information to be executed.
Step 203, in response to the successful loading of the at least one process configuration information, determining a domain service information set corresponding to each process configuration information in the at least one process configuration information.
In some embodiments, in response to successful loading of the at least one process configuration information, the execution subject may determine a domain service information set corresponding to each process configuration information in the at least one process configuration information. Wherein each flow configuration information corresponds to at least one domain service information. Each flow configuration information and the corresponding domain service information set are pre-bound. In practice, the domain service information may be identification information of the domain service, or may be name information of the domain service. A domain service may be execution logic that implements multiple scenario functions for a scenario. For example, the domain business correspondence scenario is a "banking transaction scenario". The target scenario function may be a "bank transfer function". The domain service may be transfer logic corresponding to a bank transfer function (i.e., transfer service).
As an example, in response to that the at least one piece of process configuration information is successfully loaded, the execution main body may determine, in a manner of binding information query, a domain service information set corresponding to each piece of process configuration information in the at least one piece of process configuration information.
In some optional implementation manners of some embodiments, the determining a set of domain service information corresponding to each piece of the at least one piece of process configuration information may include the following steps:
first, determining domain service determination rule information corresponding to the process configuration information as target domain service determination rule information.
The domain service determining rule information is rule information for determining required domain service information from a full domain service information set. The full-volume domain service information set is all domain service information stored in the server.
Optionally, the target domain service determination rule information may be information in a form of a rule tag, and may also be a rule name of the target domain service determination rule.
And secondly, executing a rule corresponding to the target domain business determination rule information by using the rule engine to obtain a domain business information set corresponding to the process configuration information.
As an example, first, the execution agent may identify a domain business determination rule corresponding to the target domain business determination rule information using a rule engine. Then, the executing entity may obtain a domain service information set corresponding to the flow configuration information by executing the domain service determination rule.
And 204, for each flow configuration information in the at least one flow configuration information, in response to determining that the flow configuration information has at least one corresponding execution rule information, generating floor data for the target page according to the plurality of pieces of callable service information corresponding to the target field service information set and the at least one execution rule information.
In some embodiments, for each of the at least one flow configuration information, in response to determining that the corresponding at least one execution rule information exists in the flow configuration information, the execution subject may generate floor data for the target page in various ways according to a plurality of pieces of callable service information corresponding to the target domain service information set and the at least one execution rule information.
The called service information is service information of a service called by a preset process engine from a field service, and the target field service information set is a field service information set corresponding to the process configuration information. In practice, the execution rule information may be a rule identifier of the execution rule, or may be a rule name of the execution rule. The execution rule is used for judging logic in the process of executing the process corresponding to the process configuration information. For example, the flow configuration information corresponds to a flow of "data processing on page data". One execution rule corresponding to the flow configuration information is a judgment logic for checking whether the processed data is checked.
The flow configuration information may be information that at least one corresponding execution rule exists, or may be information that no corresponding execution rule exists. At least one piece of execution rule information corresponding to the process configuration information exists, and the execution rule corresponding to the execution rule information can be executed at each execution stage of the process corresponding to the process configuration information. For example, at the execution start stage of the flow, the rule corresponding to the execution rule information may be executed. In the execution process of the flow, the rule corresponding to the execution rule information may be executed. At the execution end stage of the flow, the rule corresponding to the execution rule information may be executed. The invokable service information may be information of a service that can be invoked in the domain service. In practice, the service information may be name information of a service that can be called in the domain service, and may also be identification information of a service that can be called in the domain service. Here, the domain service may include at least one service. The number of target domain service information included in the target domain service information set may not be equal to the number of invokable service information included in the plurality of invokable service information.
The preset process engine can be preset and can be an engine for realizing services in the rationalized scheduling field business. The preset process engine may be an integrated tool that drives the business flow according to the set process.
In some optional implementations of some embodiments, after step 204, the step further comprises:
in the first step, the execution main body may generate a floor data set for the process configuration information set according to the obtained floor data set, as a floor data set to be returned.
As an example, in response to determining that at least one flow configuration information is the last flow configuration information in the floor data set, the execution main body may determine the obtained floor data set as the floor data set to be returned. And in response to the fact that the at least one flow configuration information is not the last flow configuration information in the floor data set, determining the next flow configuration information of the at least one flow configuration information according to the floor data set aiming at the flow configuration information set, and obtaining the next flow data set. And repeating the steps until determining the floor data set corresponding to the last batch of flow configuration information in the flow configuration information set. And determining the floor data set corresponding to the last batch of flow configuration information as a floor data set to be returned.
And secondly, the execution main body can send the data set of the floor to be returned to the client in a wired mode or a wireless mode.
In some optional implementations of some embodiments, after step 204, the step further comprises:
in a first step, in response to a failure in loading process configuration information in the at least one process configuration information, the execution subject may determine a process configuration information set that has failed to be loaded.
And a second step, for each failed loading flow configuration information in the failed loading flow configuration information set, the execution main body may cancel the information loading of the failed loading flow configuration information and load default flow configuration information.
The default process configuration information may be preset process configuration information. The default flow corresponding to the default flow configuration information is a local configuration flow and a flow which is built in a code, so that the system abnormity caused by external configuration loading abnormity is avoided.
The above embodiments of the present disclosure have the following advantages: by the data generation method of some embodiments of the present disclosure, dynamic floor configuration can be efficiently realized, and further, floor data for a target page can be efficiently generated. Specifically, the reasons for the inefficient generation of floor data are: the dynamic floor configuration efficiency of the page is low by adopting a mode of adjusting the configuration content of the configuration information, and the speed of the dynamic floor configuration is influenced. Based on this, the data generation method of some embodiments of the present disclosure first obtains floor configuration information in response to receiving a floor data request for a target page sent by a client, so as to be used for dynamic adjustment of subsequent floor data. Then, at least one piece of process configuration information to be executed in the current process configuration information set can be efficiently and accurately determined by utilizing a rule engine called in advance. And then, in response to the successful loading of the at least one flow configuration information, determining a domain service information set corresponding to each flow configuration information in the at least one flow configuration information. Here, the generation of the floor data is performed by determining a set of domain service information corresponding to each flow configuration information for subsequent invocation of a plurality of callable services. And finally, for each flow configuration information in the at least one flow configuration information, in response to determining that the flow configuration information has at least one corresponding execution rule information, generating floor data for the target page accurately according to the plurality of pieces of callable service information corresponding to the target field service information set and the at least one execution rule information. In the generation process of the floor data for the target page, the execution efficiency of the flow corresponding to the flow configuration information can be greatly improved by using the preset flow engine and the rule engine, and the dynamic floor configuration speed of the page is improved.
With further reference to fig. 4, a flow 400 of further embodiments of a data generation method according to the present disclosure is shown. The data generation method comprises the following steps:
step 401, responding to a received floor data request for a target page sent by a client, obtaining floor configuration information.
Step 402, determining at least one piece of process configuration information to be executed in the current process configuration information set by using a rule engine called in advance.
Step 403, in response to the successful loading of the at least one flow configuration information, determining a domain service information set corresponding to each flow configuration information in the at least one flow configuration information.
In some embodiments, the specific implementation of steps 401 to 403 and the technical effect thereof may refer to steps 201 to 203 in the embodiment corresponding to fig. 2, which are not described herein again.
Step 404, for each flow configuration information in the at least one flow configuration information, in response to determining that the flow configuration information has the corresponding at least one execution rule information, invoking floor data to be processed corresponding to the flow configuration information.
In some embodiments, for each of the at least one flow configuration information, in response to determining that the corresponding at least one execution rule information exists for the flow configuration information, an execution principal (e.g., the electronic device 101 shown in fig. 1) may invoke to-be-processed floor data corresponding to the flow configuration information. And the floor data to be processed is floor data which is not subjected to flow adjustment corresponding to the flow configuration information.
Step 405, for each flow configuration information in the at least one flow configuration information, in response to determining that the flow configuration information has the corresponding at least one execution rule information, performing data adjustment on the floor data to be processed according to the plurality of callable services and the at least one execution rule information to obtain adjusted floor data.
In some embodiments, for each flow configuration information in the at least one flow configuration information, in response to determining that the flow configuration information has the corresponding at least one execution rule information, the execution main body may perform data adjustment on the floor data to be processed according to the plurality of callable services and the at least one execution rule information, so as to obtain adjusted floor data.
As an example, first, the execution principal described above may determine an execution order between the plurality of callable services and the at least one execution rule corresponding to the at least one execution rule information, respectively. Then, according to the execution sequence, the execution main body can sequentially execute a plurality of the callable services and at least one execution rule according to the execution sequence of each callable service and the execution sequence of each execution rule, so as to perform data adjustment on the floor data to be processed, and obtain adjusted floor data.
For example, the plurality of callable services includes: a first callable service, a second callable service, and a third callable service. The at least one execution rule corresponding to the at least one execution rule information includes: a first execution rule and a second execution rule. The execution sequence corresponding to the first callable service is a first sequence, the execution sequence corresponding to the second callable service is a third sequence, the execution sequence corresponding to the third callable service is a fifth sequence, the execution sequence corresponding to the first execution rule is a second sequence, and the execution sequence corresponding to the second execution rule is a fourth execution sequence. The order in which the execution agent may execute the callable service may be: first, a first callable service is executed. Then, the first execution rule is executed. Further, a second callable service is executed. Further, the second execution rule is executed, and finally, a third callable service is executed.
And 406, for each piece of flow configuration information in the at least one piece of flow configuration information, in response to determining that the corresponding at least one piece of execution rule information exists in the flow configuration information, determining the adjusted floor data as the floor data for the target page.
In some embodiments, for each of the at least one flow configuration information, in response to determining that the corresponding at least one execution rule information exists in the flow configuration information, the execution main body may determine the adjusted floor data as the floor data for the target page.
As can be seen from fig. 4, compared with the description of some embodiments corresponding to fig. 2, the flow 400 of the data generation method in some embodiments corresponding to fig. 4 describes the step of dynamically processing the data of the floor to be processed through the plurality of callable services and the at least one execution rule corresponding to each flow configuration information. Based on the above, the processing of the floor data to be processed can be efficiently and accurately realized through the plurality of callable services and the at least one execution rule.
With further reference to fig. 5, as an implementation of the methods illustrated in the above figures, the present disclosure provides some embodiments of a data generating apparatus, which correspond to those of the method embodiments illustrated in fig. 2, and which may be applied in particular to various electronic devices.
As shown in fig. 5, a data generation apparatus 500 includes: an acquisition unit 501, a first determination unit 502, a second determination unit 503, and a generation unit 504. The obtaining unit 501 is configured to obtain floor configuration information in response to receiving a floor data request for a target page sent by a client, where the floor configuration information includes: a process configuration information set; a first determining unit 502, configured to determine, by using a rule engine called in advance, at least one piece of process configuration information to be executed in the current process configuration information set; a second determining unit 503, configured to determine, in response to that the at least one piece of process configuration information is successfully loaded, a domain service information set corresponding to each piece of process configuration information in the at least one piece of process configuration information; a generating unit 504, configured to, for each of the at least one flow configuration information, in response to determining that there is at least one execution rule information corresponding to the flow configuration information, generate floor data for the target page according to a plurality of pieces of callable service information corresponding to a target domain service information set and the at least one execution rule information, where the callable service information is service information of a service called from a domain service by a pre-called preset flow engine, and the target domain service information set is a domain service information set corresponding to the flow configuration information.
In some optional implementations of some embodiments, the apparatus 500 further includes: a data set generation unit and a transmission unit (not shown in the figure). Wherein the data set generating unit may be configured to: and generating a floor data set aiming at the flow configuration information set according to the obtained floor data set, and taking the floor data set as a floor data set to be returned. The transmitting unit may be configured to: and sending the floor data set to be returned to the client.
In some optional implementations of some embodiments, the first determining unit 502 in the apparatus 500 may be further configured to: in response to determining that the flow configuration information to be executed is configuration information which does not satisfy a dependency condition, determining a flow configuration information subset as at least one flow configuration information to be executed, where the flow configuration information in the flow configuration information subset is configuration information which does not satisfy the dependency condition in the flow configuration information set, and the dependency condition is: the flow configuration information is the configuration information with dependency relationship.
In some optional implementations of some embodiments, the first determining unit 502 in the apparatus 500 may be further configured to: in response to determining that the process configuration information to be executed is the configuration information meeting the dependency condition, screening process configuration information which is executed corresponding to the processes and has no process execution of a direct dependency relationship from the process configuration information set, and taking the process configuration information as target process configuration information to obtain at least one target process configuration information; for each target process configuration information in the at least one target process configuration information, executing a candidate process configuration information determining step: determining process configuration information having the direct dependency relationship with the target process configuration information as dependent process configuration information to obtain at least one dependent process configuration information; screening out the dependent process configuration information which is not executed by the corresponding process from the at least one dependent process configuration information, and taking the dependent process configuration information as candidate dependent process configuration information to obtain a candidate dependent process configuration information set; and determining the obtained at least one candidate dependent process configuration information set as at least one process configuration information to be executed.
In some optional implementations of some embodiments, the second determining unit 503 in the apparatus 500 may be further configured to: determining domain service determination rule information corresponding to the process configuration information as target domain service determination rule information, wherein the domain service determination rule information is rule information for determining required domain service information from a full domain service information set; and executing the rule corresponding to the target domain business determination rule information by using the rule engine to obtain a domain business information set corresponding to the process configuration information.
In some optional implementations of some embodiments, the generating unit 504 in the apparatus 500 described above may be further configured to: calling the floor data to be processed corresponding to the flow configuration information; according to the plurality of the callable services and the at least one execution rule information, performing data adjustment on the floor data to be processed to obtain adjusted floor data; and determining the adjusted floor data as the floor data aiming at the target page.
In some optional implementations of some embodiments, the apparatus 500 further includes: a flow configuration information determination unit and a load cancel and load unit (not shown in the figure). Wherein the flow configuration information determining unit may be configured to: and determining the flow configuration information set with loading failure in response to the flow configuration information loading failure in the at least one piece of flow configuration information. The load kill and load unit may be configured to: and for each loading failure flow configuration information in the loading failure flow configuration information set, canceling the information loading of the loading failure flow configuration information and loading default flow configuration information.
In some optional implementation manners of some embodiments, each piece of flow configuration information in the flow configuration information set has a flow start identifier, a flow end identifier, and/or a next step identifier.
It will be understood that the elements described in the apparatus 500 correspond to various steps in the method described with reference to fig. 2. Thus, the operations, features and resulting advantages described above with respect to the method are also applicable to the apparatus 500 and the units included therein, and are not described herein again.
Referring now to FIG. 6, a block diagram of an electronic device (e.g., electronic device 101 of FIG. 1) 600 suitable for use in implementing some embodiments of the present disclosure is shown. The electronic device shown in fig. 6 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 6, the electronic device 600 may include a processing means (e.g., central processing unit, graphics processor, etc.) 601 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM) 602 or a program loaded from a storage means 608 into a Random Access Memory (RAM) 603. In the RAM603, various programs and data necessary for the operation of the electronic apparatus 600 are also stored. The processing device 601, the ROM 602, and the RAM603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
Generally, the following devices may be connected to the I/O interface 605: input devices 606 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 607 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 608 including, for example, tape, hard disk, etc.; and a communication device 609. The communication means 609 may allow the electronic device 600 to communicate with other devices wirelessly or by wire to exchange data. While fig. 6 illustrates an electronic device 600 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided. Each block shown in fig. 6 may represent one device or may represent multiple devices as desired.
In particular, according to some embodiments of the present disclosure, the processes described above with reference to the flow diagrams may be implemented as computer software programs. For example, some embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer-readable medium, the computer program comprising program code for performing the method illustrated by the flow chart. In some such embodiments, the computer program may be downloaded and installed from a network through the communication device 609, or installed from the storage device 608, or installed from the ROM 602. The computer program, when executed by the processing device 601, performs the above-described functions defined in the methods of some embodiments of the present disclosure.
It should be noted that the computer readable medium described above in some embodiments of the present disclosure may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In some embodiments of the disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In some embodiments of the present disclosure, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may be separate and not incorporated into the electronic device. The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: responding to a received floor data request which is sent by a client and aims at a target page, and acquiring floor configuration information, wherein the floor configuration information comprises: a process configuration information set; determining at least one flow configuration information to be executed in the current flow configuration information set by utilizing a rule engine called in advance; responding to the successful loading of the at least one flow configuration information, and determining a field service information set corresponding to each flow configuration information in the at least one flow configuration information; and for each flow configuration information in the at least one flow configuration information, in response to determining that the flow configuration information has corresponding at least one execution rule information, generating floor data for the target page according to a plurality of pieces of callable service information corresponding to a target field service information set and the at least one execution rule information, wherein the callable service information is service information of services called by a pre-called preset flow engine from the field service, and the target field service information set is a field service information set corresponding to the flow configuration information.
Computer program code for carrying out operations for embodiments of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in some embodiments of the present disclosure may be implemented by software, and may also be implemented by hardware. The described units may also be provided in a processor, and may be described as: a processor comprising: the device comprises an acquisition unit, a first determination unit, a second determination unit and a generation unit. The names of the units do not form a limitation on the units themselves in some cases, for example, the first determining unit may also be described as a "unit that determines at least one piece of process configuration information to be executed in the above process configuration information set currently by using a rule engine called in advance".
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems on a chip (SOCs), complex Programmable Logic Devices (CPLDs), and the like.
Some embodiments of the present disclosure also provide a computer program product comprising a computer program which, when executed by a processor, implements any of the data generation methods described above.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention in the embodiments of the present disclosure is not limited to the specific combination of the above-mentioned features, but also encompasses other embodiments in which any combination of the above-mentioned features or their equivalents is made without departing from the inventive concept as defined above. For example, the above features and (but not limited to) technical features with similar functions disclosed in the embodiments of the present disclosure are mutually replaced to form the technical solution.

Claims (12)

1. A method of data generation, comprising:
responding to a received floor data request which is sent by a client and aims at a target page, and acquiring floor configuration information, wherein the floor configuration information comprises: a flow configuration information set;
determining at least one piece of flow configuration information to be executed in the current flow configuration information set by utilizing a pre-called rule engine;
responding to the successful loading of the at least one flow configuration information, and determining a domain service information set corresponding to each flow configuration information in the at least one flow configuration information;
and for each flow configuration information in the at least one flow configuration information, in response to determining that the flow configuration information has corresponding at least one execution rule information, generating floor data for the target page according to a plurality of pieces of callable service information corresponding to a target domain business information set and the at least one execution rule information, wherein the callable service information is service information of a service called by a pre-called preset flow engine from the domain business, and the target domain business information set is a domain business information set corresponding to the flow configuration information.
2. The method of claim 1, wherein the method further comprises:
generating a floor data set aiming at the flow configuration information set according to the obtained floor data set, and taking the floor data set as a floor data set to be returned;
and sending the to-be-returned floor data set to the client.
3. The method of claim 1, wherein the determining, by using a pre-invoked rules engine, at least one piece of process configuration information to be executed in the current set of process configuration information comprises:
in response to determining that the to-be-executed process configuration information is configuration information which does not satisfy a dependency condition, determining a process configuration information subset as at least one piece of process configuration information to be executed, where the process configuration information in the process configuration information subset is configuration information which does not satisfy the dependency condition in the process configuration information set, and the dependency condition is: the flow configuration information is the configuration information with a pre-dependency relationship.
4. The method of claim 3, wherein the determining, using a pre-invoked rules engine, at least one flow configuration information to be executed in the current flow configuration information set comprises:
in response to determining that the process configuration information to be executed is the configuration information meeting the dependency condition, screening process configuration information which is executed corresponding to the processes and has no process execution of a direct dependency relationship from the process configuration information set, and taking the process configuration information as target process configuration information to obtain at least one target process configuration information;
for each target process configuration information of the at least one target process configuration information, performing a candidate process configuration information determining step:
determining process configuration information having the direct dependency relationship with the target process configuration information, and obtaining at least one piece of dependent process configuration information as dependent process configuration information;
screening out the dependent process configuration information which is not executed by the corresponding process from the at least one dependent process configuration information, and taking the dependent process configuration information as candidate dependent process configuration information to obtain a candidate dependent process configuration information set;
and determining the obtained at least one candidate dependent process configuration information set as at least one process configuration information to be executed.
5. The method of claim 1, wherein the determining a set of domain service information corresponding to each flow configuration information in the at least one flow configuration information comprises:
determining domain service determination rule information corresponding to the process configuration information as target domain service determination rule information, wherein the domain service determination rule information is rule information for determining required domain service information from a full domain service information set;
and executing the rule corresponding to the target domain service determination rule information by using the rule engine to obtain a domain service information set corresponding to the process configuration information.
6. The method of claim 1, wherein the generating floor data for the target page according to the plurality of pieces of callable service information corresponding to the target domain service information set and the at least one piece of execution rule information comprises:
calling the floor data to be processed corresponding to the flow configuration information;
according to the plurality of callable services and the at least one execution rule information, performing data adjustment on the floor data to be processed to obtain adjusted floor data;
and determining the adjusted floor data as the floor data aiming at the target page.
7. The method of claim 1, wherein the method further comprises:
responding to the at least one flow configuration information to determine a flow configuration information set with loading failure;
and for each piece of flow configuration information which fails to be loaded in the flow configuration information set which fails to be loaded, canceling the information loading of the flow configuration information which fails to be loaded, and loading default flow configuration information.
8. The method of claim 1, wherein each process configuration information in the process configuration information set has a process start identifier, a process end identifier, and/or a next process identifier.
9. A data generation apparatus, comprising:
the system comprises an acquisition unit, a display unit and a display unit, wherein the acquisition unit is configured to respond to a received floor data request which is sent by a client and aims at a target page, and acquire floor configuration information, wherein the floor configuration information comprises: a process configuration information set;
the first determining unit is configured to determine at least one piece of process configuration information to be executed in the current process configuration information set by utilizing a rule engine called in advance;
a second determining unit, configured to determine, in response to successful loading of the at least one piece of process configuration information, a domain service information set corresponding to each piece of process configuration information in the at least one piece of process configuration information;
and the generating unit is configured to generate floor data for a target page according to a plurality of pieces of callable service information corresponding to a target domain business information set and the at least one piece of execution rule information in response to determining that the flow configuration information has the corresponding at least one piece of execution rule information, wherein the callable service information is service information of a service called by a pre-called preset flow engine from a domain business, and the target domain business information set is a domain business information set corresponding to the flow configuration information.
10. An electronic device, comprising:
one or more processors;
a storage device having one or more programs stored thereon,
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method recited in any of claims 1-8.
11. A computer-readable medium, on which a computer program is stored, wherein the program, when executed by a processor, implements the method of any one of claims 1-8.
12. A computer program product comprising a computer program which, when executed by a processor, implements the method according to any one of claims 1-8.
CN202210900790.3A 2022-07-28 2022-07-28 Data generation method, apparatus, device, computer readable medium and program product Pending CN115375262A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210900790.3A CN115375262A (en) 2022-07-28 2022-07-28 Data generation method, apparatus, device, computer readable medium and program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210900790.3A CN115375262A (en) 2022-07-28 2022-07-28 Data generation method, apparatus, device, computer readable medium and program product

Publications (1)

Publication Number Publication Date
CN115375262A true CN115375262A (en) 2022-11-22

Family

ID=84064200

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210900790.3A Pending CN115375262A (en) 2022-07-28 2022-07-28 Data generation method, apparatus, device, computer readable medium and program product

Country Status (1)

Country Link
CN (1) CN115375262A (en)

Similar Documents

Publication Publication Date Title
US10417066B2 (en) Adapting legacy endpoints to modern APIs
CN111581291A (en) Data processing method and device, electronic equipment and readable medium
CN110781373B (en) List updating method and device, readable medium and electronic equipment
CN111459364B (en) Icon updating method and device and electronic equipment
CN112559898B (en) Item information sending method, item information sending device, electronic equipment and computer readable medium
CN111596992B (en) Navigation bar display method and device and electronic equipment
CN108804442B (en) Serial number generation method and device
CN111626802A (en) Method and apparatus for processing information
CN111460020B (en) Method, device, electronic equipment and medium for resolving message
CN115375262A (en) Data generation method, apparatus, device, computer readable medium and program product
CN115292635A (en) Page floor data display method, device, equipment and computer readable medium
CN112182400B (en) Message processing method, message processing device, electronic equipment and storage medium
CN110781523B (en) Method and apparatus for processing information
CN113486749A (en) Image data collection method, device, electronic equipment and computer readable medium
CN112929453A (en) Method and device for sharing session data
CN111580890A (en) Method, apparatus, electronic device, and computer-readable medium for processing features
CN112685075A (en) Gray scale distribution method and device, electronic equipment and computer readable medium
CN111598544A (en) Method and apparatus for processing information
CN111680754A (en) Image classification method and device, electronic equipment and computer-readable storage medium
CN113468487B (en) Interface watermark rendering method and device, electronic equipment and computer readable medium
CN111291644B (en) Method and apparatus for processing information
CN117806737A (en) Flow calling method, device, electronic equipment and storage medium
CN113760401A (en) Target data sending method, device, electronic equipment and computer readable medium
CN112328603A (en) User request processing method, device, equipment and computer readable medium
CN113835796A (en) Method and apparatus for processing information

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