Flowchart canvas generation method and apparatus, electronic device, and storage medium
By comparing marketing campaign information with preset process canvases, obtaining similar canvases and associating them with their audience sets, the problem of network bandwidth consumption during process canvas generation was solved, thus improving efficiency.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- SENSOR NETWORKS TECH BEIJING CO LTD
- Filing Date
- 2022-10-21
- Publication Date
- 2026-08-04
AI Technical Summary
The process canvas generation requires requesting a crowd set from an external computing server, resulting in excessive network bandwidth consumption.
The system generates an initial canvas by receiving canvas creation requests, compares marketing campaign information with preset process canvases, obtains similar canvases and associates them with their marketing audience sets, thereby reducing the number of requests to external servers.
This reduces the number of data transmissions, lowers the network bandwidth consumption, and improves the efficiency of workflow canvas generation.
Smart Images

Figure CN115599354B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of canvas generation technology, specifically to a workflow canvas generation method, apparatus, electronic device, and storage medium. Background Technology
[0002] A process canvas is a commonly used visual marketing tool for businesses. It allows for automated marketing to target specific demographics at designated times, effectively reducing marketing costs.
[0003] However, when creating a new process canvas, the target needs to request a set of people to be filtered from an external audience computing server and associate this set of people with the process canvas so that the target audience can be filtered from this set when conducting marketing. Each time a new process canvas is created, a request needs to be made to the audience computing server once, and the creation process will consume a lot of network bandwidth resources. Summary of the Invention
[0004] This application provides a process canvas generation method, apparatus, electronic device, and storage medium, aiming to solve the computational problem that current process canvas generation methods consume a large amount of network bandwidth resources when creating a new process canvas.
[0005] Firstly, this application provides a method for generating a workflow canvas, including:
[0006] Receive a canvas creation request and generate an initial canvas, wherein the initial canvas contains marketing activity information corresponding to the canvas creation request;
[0007] The marketing activity information is compared with the activity information in the preset process canvas, and the same type of canvas corresponding to the initial canvas is obtained from the preset process canvas.
[0008] Obtain the set of marketing audiences associated with the aforementioned similar canvases;
[0009] The marketing audience set is associated with the initial canvas to obtain the marketing process canvas.
[0010] In one possible implementation of this application, after associating the marketing audience set with the initial canvas to obtain the marketing process canvas, the method further includes:
[0011] Receive an attribute query request for the marketing process canvas and obtain the target audience corresponding to the attribute query request;
[0012] The target audience attributes of the target audience can be obtained from the marketing audience set associated with the marketing process canvas.
[0013] In one possible implementation of this application, comparing the marketing activity information with the activity information in a preset process canvas, and obtaining a similar canvas corresponding to the initial canvas from the preset process canvas, includes:
[0014] The marketing activity information is hashed to obtain the target feature value corresponding to the initial canvas.
[0015] Multiple preset canvas index nodes are obtained, as well as the identification feature value corresponding to each canvas index node. Each canvas index node is associated with a preset process canvas. The preset process canvas associated with each canvas index node is determined based on the activity information of the preset process canvas. The identification feature value corresponding to each canvas index node is calculated from the activity information of the associated preset process canvas.
[0016] The target feature value is compared with the identifier feature value corresponding to each canvas index node to obtain the target node whose similarity to the identifier feature value is greater than or equal to a preset threshold. The preset process canvas associated with the target node is taken as the same type canvas corresponding to the initial canvas.
[0017] In one possible implementation of this application, before obtaining the plurality of preset canvas index nodes and the identifier feature value corresponding to each canvas index node, the method further includes:
[0018] Obtain a preset process canvas and the marketing time category of the preset process canvas;
[0019] If the marketing time category is periodic marketing, then for each preset node, based on the marketing activity number and marketing rule text in the activity information of the preset process canvas, the preset process canvas associated with each preset node is determined, resulting in multiple canvas index nodes associated with the preset process canvas.
[0020] For each canvas index node, the target time period corresponding to each canvas index node is determined based on the marketing time period in the activity information of each associated preset process canvas.
[0021] Based on the target time period, marketing campaign number, and marketing rule text corresponding to each canvas index node, the identifier feature value corresponding to each canvas index node is calculated.
[0022] In one possible implementation of this application, determining the target time period corresponding to each canvas index node based on the marketing time period in the activity information of each associated preset process canvas includes:
[0023] For each canvas index node, the marketing time period in the activity information of each associated preset process canvas is statistically analyzed to obtain the shortest time period containing each of the aforementioned marketing time periods.
[0024] The shortest time period is set as the target time period corresponding to each canvas index node.
[0025] In one possible implementation of this application, after obtaining the preset process canvas and the marketing time category of the preset process canvas, the method further includes:
[0026] If the marketing time category is non-periodic marketing, then for each preset node, based on the marketing activity number, marketing time point and marketing rule text in the activity information of the preset process canvas, the preset process canvas associated with each preset node is determined, resulting in multiple canvas index nodes associated with preset process canvases.
[0027] Based on the marketing campaign number, marketing time point, and marketing rule text corresponding to each canvas index node, the identifier feature value corresponding to each canvas index node is calculated.
[0028] In one possible implementation of this application, before obtaining the plurality of preset canvas index nodes and the identifier feature value corresponding to each canvas index node, the method further includes:
[0029] Receive a canvas deletion request, determine the node to be deleted corresponding to the canvas deletion request in each preset canvas index node, and the canvas to be deleted corresponding to the canvas deletion request in the preset process canvas associated with the node to be deleted.
[0030] Obtain the number of canvases other than the canvas to be deleted in the preset process canvas associated with the node to be deleted;
[0031] If the number of canvases is zero, then the node to be deleted is deleted from each of the canvas index nodes to obtain the deleted canvas index nodes.
[0032] Secondly, this application provides a process canvas generation apparatus, comprising:
[0033] A generation unit is used to receive a canvas creation request and generate an initial canvas, wherein the initial canvas contains marketing activity information corresponding to the canvas creation request;
[0034] The comparison unit is used to compare the marketing activity information with the activity information in the preset process canvas, and to obtain the same type of canvas corresponding to the initial canvas from the preset process canvas.
[0035] The acquisition unit is used to acquire the marketing audience set associated with the same type of canvas;
[0036] The association unit is used to associate the marketing audience set with the initial canvas to obtain the marketing process canvas.
[0037] In one possible implementation of this application, the associated unit is further used for:
[0038] Receive an attribute query request for the marketing process canvas and obtain the target audience corresponding to the attribute query request;
[0039] The target audience attributes of the target audience can be obtained from the marketing audience set associated with the marketing process canvas.
[0040] In one possible implementation of this application, the comparison unit is further used for:
[0041] The marketing activity information is hashed to obtain the target feature value corresponding to the initial canvas.
[0042] Multiple preset canvas index nodes are obtained, as well as the identification feature value corresponding to each canvas index node. Each canvas index node is associated with a preset process canvas. The preset process canvas associated with each canvas index node is determined based on the activity information of the preset process canvas. The identification feature value corresponding to each canvas index node is calculated from the activity information of the associated preset process canvas.
[0043] The target feature value is compared with the identifier feature value corresponding to each canvas index node to obtain the target node whose similarity to the identifier feature value is greater than or equal to a preset threshold. The preset process canvas associated with the target node is taken as the same type canvas corresponding to the initial canvas.
[0044] In one possible implementation of this application, the comparison unit is further used for:
[0045] Obtain a preset process canvas and the marketing time category of the preset process canvas;
[0046] If the marketing time category is periodic marketing, then for each preset node, based on the marketing activity number and marketing rule text in the activity information of the preset process canvas, the preset process canvas associated with each preset node is determined, resulting in multiple canvas index nodes associated with the preset process canvas.
[0047] For each canvas index node, the target time period corresponding to each canvas index node is determined based on the marketing time period in the activity information of each associated preset process canvas.
[0048] Based on the target time period, marketing campaign number, and marketing rule text corresponding to each canvas index node, the identifier feature value corresponding to each canvas index node is calculated.
[0049] In one possible implementation of this application, the comparison unit is further used for:
[0050] For each canvas index node, the marketing time period in the activity information of each associated preset process canvas is statistically analyzed to obtain the shortest time period containing each of the aforementioned marketing time periods.
[0051] The shortest time period is set as the target time period corresponding to each canvas index node.
[0052] In one possible implementation of this application, the comparison unit is further used for:
[0053] If the marketing time category is non-periodic marketing, then for each preset node, based on the marketing activity number, marketing time point and marketing rule text in the activity information of the preset process canvas, the preset process canvas associated with each preset node is determined, resulting in multiple canvas index nodes associated with preset process canvases.
[0054] Based on the marketing campaign number, marketing time point, and marketing rule text corresponding to each canvas index node, the identifier feature value corresponding to each canvas index node is calculated.
[0055] In one possible implementation of this application, the comparison unit is further used for:
[0056] Receive a canvas deletion request, determine the node to be deleted corresponding to the canvas deletion request in each preset canvas index node, and the canvas to be deleted corresponding to the canvas deletion request in the preset process canvas associated with the node to be deleted.
[0057] Obtain the number of canvases other than the canvas to be deleted in the preset process canvas associated with the node to be deleted;
[0058] If the number of canvases is zero, then the node to be deleted is deleted from each of the canvas index nodes to obtain the deleted canvas index nodes.
[0059] Thirdly, this application also provides an electronic device, which includes a processor, a memory, and a computer program stored in the memory and executable on the processor. When the processor calls the computer program in the memory, it executes the steps in any of the flowchart canvas generation methods provided in this application.
[0060] Fourthly, this application also provides a storage medium storing a computer program, which, when executed by a processor, implements the steps in any of the flowchart canvas generation methods provided in this application.
[0061] In summary, the process canvas generation method provided in this application includes: receiving a canvas creation request and generating an initial canvas, wherein the initial canvas contains marketing activity information corresponding to the canvas creation request; comparing the marketing activity information with activity information in a preset process canvas and obtaining a similar canvas corresponding to the initial canvas from the preset process canvas; obtaining a marketing audience set associated with the similar canvas; and associating the marketing audience set with the initial canvas to obtain a marketing process canvas.
[0062] Therefore, the process canvas generation method provided in this application embodiment can obtain similar canvases with similar activity information and marketing activity information, and use the marketing audience set associated with similar canvases as the audience set to be associated with the initial canvas. It does not need to send a request to the audience calculation system every time a new canvas is created, which can greatly reduce the number of data transmissions and thus reduce the amount of bandwidth resources occupied. Attached Figure Description
[0063] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0064] Figure 1 This is a schematic diagram illustrating an application scenario of the flowchart generation method provided in this application embodiment;
[0065] Figure 2 This is a schematic diagram of a process canvas provided in an embodiment of this application;
[0066] Figure 3 This is a flowchart illustrating a method for generating a process canvas provided in an embodiment of this application.
[0067] Figure 4 This is a schematic diagram of a process for obtaining a similar canvas provided in an embodiment of this application;
[0068] Figure 5 This is a schematic diagram of a process for obtaining a canvas index node provided in an embodiment of this application;
[0069] Figure 6 This is a schematic diagram of an embodiment of the process canvas generation device provided in this application.
[0070] Figure 7 This is a schematic diagram of an embodiment of the electronic device provided in this application. Detailed Implementation
[0071] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0072] In the description of the embodiments of this application, it should be understood that the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Therefore, features defined with "first" and "second" may explicitly or implicitly include one or more of the stated features. In the description of the embodiments of this application, "multiple" means two or more, unless otherwise explicitly specified.
[0073] To enable any person skilled in the art to implement and use this application, the following description is provided. In this description, details are set forth for purposes of explanation. It should be understood that those skilled in the art will recognize that this application can be implemented without using these specific details. In other instances, well-known processes will not be described in detail to avoid obscuring the description of the embodiments of this application with unnecessary detail. Therefore, this application is not intended to be limited to the embodiments shown, but is consistent with the broadest scope of the principles and features disclosed in the embodiments of this application.
[0074] This application provides a method, apparatus, electronic device, and storage medium for generating a workflow canvas. The workflow canvas generation apparatus can be integrated into an electronic device, which may be a server or a terminal, etc.
[0075] The execution subject of the flowchart generation method in this application embodiment can be the flowchart generation device provided in this application embodiment, or different types of electronic devices such as server equipment, physical host, or user equipment (UE) that integrate the flowchart generation device. The flowchart generation device can be implemented in hardware or software. The UE can be a terminal device such as a smartphone, tablet computer, laptop computer, handheld computer, desktop computer, or personal digital assistant (PDA).
[0076] The electronic device can operate independently or in a cluster.
[0077] See Figure 1 , Figure 1 This is a schematic diagram of a process canvas generation system provided in an embodiment of this application. The process canvas generation system may include an electronic device 101, which integrates a process canvas generation device.
[0078] In addition, such as Figure 1 As shown, the process canvas generation system may also include a memory 102 for storing data, such as text data.
[0079] It should be noted that, Figure 1 The schematic diagram of the process canvas generation system shown is merely an example. The process canvas generation system and scenario described in this application embodiment are for the purpose of more clearly illustrating the technical solutions of this application embodiment and do not constitute a limitation on the technical solutions provided in this application embodiment. As those skilled in the art will know, with the evolution of the process canvas generation system and the emergence of new business scenarios, the technical solutions provided in the embodiments of this invention are also applicable to similar technical problems.
[0080] The following describes the process canvas generation method provided in this application embodiment. In this application embodiment, an electronic device is used as the execution subject. For simplicity and ease of description, the execution subject will be omitted in subsequent method embodiments. The process canvas generation method includes: receiving a canvas creation request and generating an initial canvas, wherein the initial canvas contains marketing activity information corresponding to the canvas creation request; comparing the marketing activity information with activity information in a preset process canvas, and obtaining a similar canvas corresponding to the initial canvas from the preset process canvas; obtaining a marketing audience set associated with the similar canvas; and associating the marketing audience set with the initial canvas to obtain a marketing process canvas.
[0081] To facilitate understanding, the application scenario of this application embodiment is first described: In a marketing scenario, to automatically determine the audience for marketing activities, a process canvas is typically used as a marketing tool. A process canvas is a visual marketing tool similar to a flowchart, as described above. Figure 2 , Figure 2 The diagram shows a workflow canvas 200, within which there is an audience rules node 201 containing marketing campaign information. This marketing campaign information primarily includes audience selection rules, the time the marketing campaign was triggered, and the campaign's campaign number. For example, in... Figure 2In the marketing campaign information, the audience filtering rule is "registered users," and the campaign trigger time is "April 1, 2022, 6 PM." The campaign ID is not shown, but it can be obtained by reading the marketing campaign information contained in audience rule node 201. The workflow canvas tool can automate and schedule audience filtering, saving merchants time. Understandably, to obtain the audience for a marketing campaign, each workflow canvas's audience rule node should correspond to a filtered audience set, containing audience attributes such as ID and gender. When creating a new workflow canvas, the filtered audience set can be requested from an external audience calculation system based on the audience rules. The filtered audience set returned by the audience calculation system can then be associated with the new canvas to obtain a workflow canvas usable for marketing. However, this method of building workflow canvases requires sending a request to the audience calculation system every time a new workflow canvas is created, resulting in numerous data transmissions and wasting bandwidth resources.
[0082] Reference Figure 3 , Figure 3 This is a flowchart illustrating a method for generating a flowchart according to an embodiment of this application. It should be noted that although a logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than that shown here. Specifically, the flowchart generation method may include the following steps 301-304, wherein:
[0083] 301. Receive a canvas creation request and generate an initial canvas, wherein the initial canvas contains marketing activity information corresponding to the canvas creation request.
[0084] A canvas creation request refers to a computer-generated request used to generate a workflow canvas. For example, a merchant can trigger a canvas creation request by clicking a virtual control used to generate the workflow canvas within the workflow canvas tool. Understandably, the canvas creation request should include the workflow canvas's style information, layout information, and marketing campaign information. The style information may include the color and font information of the nodes in the workflow canvas, etc.; the layout information may include the relative position information of each node in the workflow canvas on the corresponding interface; and the marketing campaign information can be referred to the above description, which will not be elaborated upon here.
[0085] The initial canvas refers to the process canvas of an unconnected group of people. Electronic devices can construct a process canvas of an unconnected group of people based on the style information, layout information, and marketing campaign information in the canvas creation request.
[0086] 302. Compare the marketing activity information with the activity information in the preset process canvas, and obtain the same type of canvas corresponding to the initial canvas from the preset process canvas.
[0087] A preset workflow canvas refers to a workflow canvas that is already associated with a set of target audiences in the workflow canvas tool's database. Understandably, the activity information in a preset workflow canvas can also include audience selection rules, the timing of the marketing campaign, and the campaign's activity number.
[0088] The initial canvas corresponding to a similar canvas can refer to a preset process canvas where the activity information and marketing activity information are similar. For example, the marketing activity information and the activity information in the preset process canvas can be converted into vectors respectively, and the similarity between the vectors can be compared to obtain similar canvases with higher similarity. Alternatively, the hash values corresponding to the activity information in the marketing activity information and the preset process canvas can be calculated separately, and the similarity between the hash values can be compared to obtain similar canvases with higher similarity.
[0089] Understandably, the purpose of obtaining similar canvases is to acquire the set of audiences to be associated with the initial canvas. If the marketing campaign information of the initial canvas is similar to the campaign information of a pre-defined process canvas, then after sending a request to the audience calculation system based on audience rules for both the initial canvas and the aforementioned pre-defined process canvas, the audience calculation system should return the same set of audiences. Therefore, if similar canvases can be obtained, there is no need to send another request to the audience calculation system; instead, the set of audiences associated with similar canvases can be used as the set of audiences to be associated with the initial canvas.
[0090] 303. Obtain the set of marketing audiences associated with the aforementioned similar canvases.
[0091] The marketing audience set associated with the same type of canvas is the set of people associated with the same type of canvas, which includes audience attributes such as audience ID and gender.
[0092] 304. Associate the marketing audience set with the initial canvas to obtain the marketing process canvas.
[0093] The marketing process canvas refers to a process canvas that has been associated with a set of people.
[0094] The set of people associated with similar canvases is used as the set of people to be associated with the initial canvas. After associating the initial canvas with the set of people to be associated, a marketing process canvas with associated people can be obtained.
[0095] It should be noted that if a canvas of the same type as the initial canvas is not obtained in step 302, in order to obtain the marketing process canvas, a request needs to be sent to the audience calculation system based on the audience rules, and the audience set returned by the audience calculation system needs to be associated with the initial canvas to obtain the marketing process canvas.
[0096] As can be seen, the method in steps 301-304 does not require sending a request to the audience computing system every time a new canvas is created, which can greatly reduce the number of data transmissions and thus reduce the amount of bandwidth resources consumed.
[0097] After obtaining the marketing process canvas, marketing campaigns can be implemented based on it. At this point, after the step "associate the marketing audience set with the initial canvas to obtain the marketing process canvas," the process further includes:
[0098] (A) Receive an attribute query request for the marketing process canvas and obtain the target audience corresponding to the attribute query request.
[0099] The attribute query request is used to query the audience attributes of the target audience. For example, a merchant can enter the target audience's ID in the interface corresponding to the marketing process canvas to trigger an attribute query request to the marketing process canvas and query the target audience's attributes. These audience attributes may include factors such as audience gender and age, which are already stored in the population set associated with the marketing process canvas, i.e., the marketing audience set.
[0100] (B) Query the target audience attributes of the target audience from the marketing audience set associated with the marketing process canvas.
[0101] In summary, the process canvas generation method provided in this application includes: receiving a canvas creation request and generating an initial canvas, wherein the initial canvas contains marketing activity information corresponding to the canvas creation request; comparing the marketing activity information with activity information in a preset process canvas and obtaining a similar canvas corresponding to the initial canvas from the preset process canvas; obtaining a marketing audience set associated with the similar canvas; and associating the marketing audience set with the initial canvas to obtain a marketing process canvas.
[0102] Therefore, the process canvas generation method provided in this application embodiment can obtain similar canvases with similar activity information and marketing activity information, and use the marketing audience set associated with similar canvases as the audience set to be associated with the initial canvas. It does not need to send a request to the audience calculation system every time a new canvas is created, which can greatly reduce the number of data transmissions and thus reduce the amount of bandwidth resources occupied.
[0103] While steps 301-304 can reduce bandwidth consumption, step 302 requires comparing the activity information of each preset process canvas with the marketing activity information. Given a large number of preset process canvases, and the possibility of multiple preset process canvases having similar activity information, this results in numerous comparisons, potentially leading to duplicate comparisons and consuming significant computational resources. Therefore, to address this issue, we can first construct associated canvas index nodes for preset process canvases with similar activity information. Based on the activity information of the associated preset process canvases, we calculate the feature values of the canvas index nodes. These feature values are then compared with the feature values corresponding to the marketing activity information to identify the canvas index nodes whose activity information is similar to the marketing activity information. The preset process canvases associated with these canvas index nodes are then used as the initial canvases of the same type.
[0104] refer to Figure 4 At this point, the step "comparing the marketing activity information with the activity information in the preset process canvas, and obtaining the same type of canvas corresponding to the initial canvas from the preset process canvas" includes:
[0105] 401. Perform hash value calculation on the marketing activity information to obtain the target feature value corresponding to the initial canvas.
[0106] As is understandable, the target feature value corresponding to the initial canvas refers to the target hash value obtained after hashing the marketing campaign information. The specific process of hash value calculation is not limited in this embodiment.
[0107] 402. Obtain multiple preset canvas index nodes and the identification feature value corresponding to each canvas index node, wherein each canvas index node is associated with a preset process canvas, the preset process canvas associated with each canvas index node is determined based on the activity information of the preset process canvas, and the identification feature value corresponding to each canvas index node is calculated from the activity information of the associated preset process canvas.
[0108] As explained above, each canvas index node is associated with at least one preset process canvas, and the activity information of the preset process canvases associated with each canvas index node is similar.
[0109] As explained above, process canvases with similar activity information should be associated with the same set of people. Therefore, for each canvas index node, the set of people associated with the preset process canvas should be the same, that is, each canvas index node corresponds to a set of people.
[0110] The identifier feature value is calculated based on the activity information of the associated preset process canvas and is used to determine whether the activity information of the associated preset process canvas is similar to the marketing activity information. When the target feature value refers to a hash value, the identifier feature value also refers to a hash value.
[0111] For example, when determining the preset process canvas associated with each canvas index node, all preset process canvases stored in the preset database can be obtained first, and then preset process canvases that have the same information in the activity information as preset process canvases associated with the same preset node can be obtained. For example, for a pre-defined process canvas where the marketing time is periodic (i.e., the marketing time includes multiple periodic time points or periodic time periods), since the audience selection rules are the same and the marketing activity numbers are the same, but the marketing activities with different marketing times may still target the same audience, the pre-defined process canvases with the same audience selection rules and the same marketing activity numbers in the activity information can be regarded as pre-defined process canvases associated with the same pre-defined node, thus obtaining canvas index nodes associated with the pre-defined process canvases. Then, based on the marketing time in the pre-defined process canvases associated with each canvas index node, the target marketing time used to characterize the overall marketing time of the pre-defined process canvases associated with each canvas index node is statistically obtained. Finally, based on the audience selection rules, marketing activity numbers, and target marketing time corresponding to each canvas index node of the associated pre-defined process canvases, the identifier feature value corresponding to each canvas index node is calculated.
[0112] At this point, before the step "obtaining multiple preset canvas index nodes and the corresponding identifier feature value of each canvas index node", the following is also included:
[0113] (1.1) Obtain the preset process canvas and the marketing time category of the preset process canvas.
[0114] The marketing time category can be either periodic marketing or non-periodic marketing. Periodic marketing refers to marketing time encompassing multiple periodic points in time or periodic time intervals. For example, if the marketing time in the activity message of the preset workflow canvas is 00:00 from the 1st to the 15th of the month, the marketing time category of that preset workflow canvas is periodic marketing. Non-periodic marketing refers to marketing time being a fixed point in time, such as... Figure 2 The marketing period for Midstream Canvas 200 is from 6 PM on April 1, 2022. Figure 2 The marketing time category for the Mid-Process Canvas 200 is non-periodic marketing.
[0115] For example, the marketing time category can be manually marked when the preset process canvas is generated. When step (1.1) is executed, the electronic device can directly obtain the marketing time category of the preset process canvas.
[0116] (1.2) If the marketing time category is periodic marketing, then for each preset node, based on the marketing activity number and marketing rule text in the activity information of the preset process canvas, the preset process canvas associated with each preset node is determined, and multiple canvas index nodes associated with the preset process canvas are obtained.
[0117] The marketing campaign number refers to the campaign number of the marketing campaign mentioned above, and the marketing rule text refers to the audience selection rules mentioned above.
[0118] For example, the electronic device can convert the marketing campaign number and marketing rule text of each preset process canvas into vectors, and by comparing the vectors, preset process canvases with the same marketing campaign number and the same marketing rule text are associated with the same preset node, so as to obtain multiple canvas index nodes associated with preset process canvases.
[0119] (1.3) For each canvas index node, the target time period corresponding to each canvas index node is determined based on the marketing time period in the activity information of each associated preset process canvas.
[0120] In step (1.3), the marketing time period is the marketing time mentioned above. For example, in step (1.1), for the preset process canvas with a marketing time of 0:00 from the 1st to the 15th of the month, the marketing time period in the activity information contained therein is 0:00 from the 1st to the 15th of the month.
[0121] For each canvas index node, the shortest time period containing all marketing time periods can be obtained based on the marketing time periods in the activity information of each associated preset process canvas. This shortest time period is then used as the target time period. Alternatively, the target time period can be obtained by fine-tuning the shortest time period. The specific range of fine-tuning can be set according to the actual scenario requirements, and this application embodiment does not impose any limitations on this. When using the shortest time period as the target time period, the step "For each canvas index node, determine the target time period corresponding to each canvas index node based on the marketing time periods in the activity information of each associated preset process canvas" includes:
[0122] (1.31) For each canvas index node, the marketing time period in the activity information of each associated preset process canvas is statistically analyzed to obtain the shortest time period containing each of the marketing time periods.
[0123] For example, for a certain canvas index node, if the marketing time period in the activity information of the associated preset process canvas A is from the 1st to the 15th of the month at 0:00, and the marketing time period in the activity information of the associated preset process canvas B is from the 10th to the 29th of the month at 0:00, then the shortest time period containing each marketing time period is from the 1st to the 29th of the month at 0:00.
[0124] (1.32) Set the shortest time period as the target time period corresponding to each canvas index node.
[0125] By following steps (1.31)-(1.32), the target time period corresponding to each canvas index node can be obtained.
[0126] (1.4) Calculate the identifier feature value corresponding to each canvas index node based on the target time period, marketing activity number and marketing rule text corresponding to each canvas index node.
[0127] When the target feature value corresponding to the initial canvas is a hash value, the identifier feature value corresponding to each canvas index node is also a hash value. The method for calculating the identifier feature value will not be elaborated here.
[0128] To facilitate understanding, the following specific example illustrates steps (1.1) to (1.4):
[0129] Assume there exists a pre-defined flow canvas (AD), and,
[0130] For user a, the marketing campaign number is 10, the marketing rule text is "registered user", and the marketing period is "0:00 on the 1st to the 15th of the month".
[0131] For b, the marketing campaign number is 10, the marketing rule text is "is a registered user", and the marketing period is "from the 10th to the 29th of the month at 0:00".
[0132] For c, the marketing campaign number is 12, the marketing rule text is "user attributes meet the condition that Email is not empty", and the marketing time is "0:00 on the 2nd to the 8th of the month";
[0133] For d, the marketing campaign number is 12, the marketing rule text is "user attributes meet the condition that Email is not empty", and the marketing time is "0:00 on the 3rd to the 9th of the month";
[0134] Then, through steps (1.1) to (1.4), it can be determined that the marketing time category of the preset process canvas ad is periodic marketing, and the first canvas index node associated with preset process canvas a and b, and the second canvas index node associated with preset process canvas c and d are obtained. The target time period corresponding to the first canvas index node is 0:00 on the 1st to the 29th of the month, and the target time period corresponding to the second canvas index node is 0:00 on the 2nd to the 9th of the month.
[0135] When the marketing time category is non-periodic marketing, since marketing activities with fixed marketing times may not necessarily target the same audience even if the activity number and audience selection rules are the same, there is no need to obtain the target time period. In this case, after the step "obtain the preset process canvas and the marketing time category of the preset process canvas", the following is also included:
[0136] (2.1) If the marketing time category is non-periodic marketing, then for each preset node, based on the marketing activity number, marketing time point and marketing rule text in the activity information of the preset process canvas, the preset process canvas associated with each preset node is determined, and multiple canvas index nodes associated with preset process canvases are obtained.
[0137] For explanations of non-periodic marketing and obtaining canvas index nodes, please refer to the above text; further details will not be elaborated upon here.
[0138] (2.2) Calculate the identifier feature value corresponding to each canvas index node based on the marketing campaign number, marketing time point and marketing rule text corresponding to each canvas index node.
[0139] Since the activity information of the preset process canvas associated with each canvas index node is the same, the marketing activity number, marketing time point and marketing rule text corresponding to each canvas index node can be understood as the marketing activity number, marketing time point and marketing rule text of the preset process canvas associated with each canvas index node.
[0140] When the target feature value corresponding to the initial canvas is a hash value, the identifier feature value corresponding to each canvas index node is also a hash value. The method for calculating the identifier feature value will not be elaborated here.
[0141] 403. Compare the target feature value with the identifier feature value corresponding to each of the canvas index nodes to obtain target nodes whose similarity between the identifier feature value and the target feature value is greater than or equal to a preset threshold, and use the preset process canvas associated with the target node as the same type canvas corresponding to the initial canvas.
[0142] The specific value of the preset threshold can be set according to the actual scenario requirements. For example, the preset threshold can be set to 100%, that is, step 403 is to obtain the target node whose identification feature value is equal to the target feature value, and use the preset process canvas associated with the target node as the same type canvas corresponding to the initial canvas.
[0143] After obtaining similar canvases, the electronic device can obtain the marketing audience set of similar canvases. It should be noted that since each canvas index node corresponds to a set of people (as explained in step 402), when constructing canvas index nodes, each canvas index node can also be associated with the corresponding set of people. When obtaining the marketing audience set of similar canvases, the set of people associated with the target node can be directly obtained as the marketing audience set of similar canvases.
[0144] In some embodiments, to save storage space, merchants may delete expired preset process canvases. If, after deletion, there are canvas index nodes no longer associated with preset process canvases, these canvas index nodes can be deleted to further save storage space. (See reference) Figure 5 At this point, before the step "obtaining multiple preset canvas index nodes and the corresponding identifier feature values of each canvas index node", the method further includes:
[0145] 501. Receive a canvas deletion request, determine the node to be deleted corresponding to the canvas deletion request in each preset canvas index node, and the canvas to be deleted corresponding to the canvas deletion request in the preset process canvas associated with the node to be deleted.
[0146] A canvas deletion request is a computer-generated request used to delete a workflow canvas. For example, a merchant can trigger a canvas deletion request by clicking a virtual control within the workflow canvas tool. Understandably, the canvas deletion request should include information about the canvas to be deleted, as well as the canvas index node associated with the canvas to be deleted, i.e., the node to be deleted.
[0147] 502. Obtain the number of canvases other than the canvas to be deleted in the preset process canvas associated with the node to be deleted.
[0148] The purpose of step 502 is to determine whether the node to be deleted is associated with other preset process canvases besides the canvas to be deleted. If the number of canvases is zero, it means that the node to be deleted is only associated with the canvas to be deleted. If the number of canvases is not zero, it means that the node to be deleted is also associated with other preset process canvases besides the canvas to be deleted.
[0149] 503. If the number of canvases is zero, then delete the node to be deleted from each of the canvas index nodes to obtain the deleted canvas index nodes.
[0150] If the number of canvases is zero, it means that after deleting the canvas to be deleted, the node to be deleted is no longer associated with any other preset process canvases. Therefore, in order to save storage space, the node to be deleted can be deleted to obtain the deleted canvas index node. At this time, if step 402 is executed, the multiple canvas index nodes obtained refer to the deleted canvas index nodes.
[0151] To better implement the process canvas generation method in the embodiments of this application, based on the process canvas generation method, the embodiments of this application also provide a process canvas generation device, such as... Figure 6 The diagram shown is a schematic representation of an embodiment of the flowchart canvas generation device 600 in this application. The flowchart canvas generation device 600 includes:
[0152] The generation unit 601 is used to receive a canvas creation request and generate an initial canvas, wherein the initial canvas contains marketing activity information corresponding to the canvas creation request;
[0153] The comparison unit 602 is used to compare the marketing activity information with the activity information in the preset process canvas, and obtain the same type of canvas corresponding to the initial canvas from the preset process canvas;
[0154] Acquisition unit 603 is used to acquire the marketing audience set associated with the same type of canvas;
[0155] The association unit 604 is used to associate the marketing audience set with the initial canvas to obtain the marketing process canvas.
[0156] In one possible implementation of this application, the associated unit 604 is further configured to:
[0157] Receive an attribute query request for the marketing process canvas and obtain the target audience corresponding to the attribute query request;
[0158] The target audience attributes of the target audience can be obtained from the marketing audience set associated with the marketing process canvas.
[0159] In one possible implementation of this application, the comparison unit 602 is further used for:
[0160] The marketing activity information is hashed to obtain the target feature value corresponding to the initial canvas.
[0161] Multiple preset canvas index nodes are obtained, as well as the identification feature value corresponding to each canvas index node. Each canvas index node is associated with a preset process canvas. The preset process canvas associated with each canvas index node is determined based on the activity information of the preset process canvas. The identification feature value corresponding to each canvas index node is calculated from the activity information of the associated preset process canvas.
[0162] The target feature value is compared with the identifier feature value corresponding to each canvas index node to obtain the target node whose similarity to the identifier feature value is greater than or equal to a preset threshold. The preset process canvas associated with the target node is taken as the same type canvas corresponding to the initial canvas.
[0163] In one possible implementation of this application, the comparison unit 602 is further used for:
[0164] Obtain a preset process canvas and the marketing time category of the preset process canvas;
[0165] If the marketing time category is periodic marketing, then for each preset node, based on the marketing activity number and marketing rule text in the activity information of the preset process canvas, the preset process canvas associated with each preset node is determined, resulting in multiple canvas index nodes associated with the preset process canvas.
[0166] For each canvas index node, the target time period corresponding to each canvas index node is determined based on the marketing time period in the activity information of each associated preset process canvas.
[0167] Based on the target time period, marketing campaign number, and marketing rule text corresponding to each canvas index node, the identifier feature value corresponding to each canvas index node is calculated.
[0168] In one possible implementation of this application, the comparison unit 602 is further used for:
[0169] For each canvas index node, the marketing time period in the activity information of each associated preset process canvas is statistically analyzed to obtain the shortest time period containing each of the aforementioned marketing time periods.
[0170] The shortest time period is set as the target time period corresponding to each canvas index node.
[0171] In one possible implementation of this application, the comparison unit 602 is further used for:
[0172] If the marketing time category is non-periodic marketing, then for each preset node, based on the marketing activity number, marketing time point and marketing rule text in the activity information of the preset process canvas, the preset process canvas associated with each preset node is determined, resulting in multiple canvas index nodes associated with preset process canvases.
[0173] Based on the marketing campaign number, marketing time point, and marketing rule text corresponding to each canvas index node, the identifier feature value corresponding to each canvas index node is calculated.
[0174] In one possible implementation of this application, the comparison unit 602 is further used for:
[0175] Receive a canvas deletion request, determine the node to be deleted corresponding to the canvas deletion request in each preset canvas index node, and the canvas to be deleted corresponding to the canvas deletion request in the preset process canvas associated with the node to be deleted.
[0176] Obtain the number of canvases other than the canvas to be deleted in the preset process canvas associated with the node to be deleted;
[0177] If the number of canvases is zero, then the node to be deleted is deleted from each of the canvas index nodes to obtain the deleted canvas index nodes.
[0178] In practice, each of the above units can be implemented as an independent entity or can be arbitrarily combined to be implemented as the same or several entities. For the specific implementation of each of the above units, please refer to the previous method embodiments, which will not be repeated here.
[0179] Since the process canvas generation device can execute the steps in the process canvas generation method in any embodiment, it can achieve the beneficial effects that the process canvas generation method in any embodiment of this application can achieve, as detailed in the preceding description, and will not be repeated here.
[0180] Furthermore, to better implement the flowchart canvas generation method in the embodiments of this application, based on the flowchart canvas generation method, the embodiments of this application also provide an electronic device, see below. Figure 7 , Figure 7 This illustration shows a structural diagram of an electronic device according to an embodiment of this application. Specifically, the electronic device provided in this embodiment includes a processor 701. The processor 701 is used to execute a computer program stored in a memory 702 to implement each step of the flowchart canvas generation method in any embodiment; or, the processor 701 is used to execute a computer program stored in a memory 702 to implement, for example... Figure 6 The functions of each unit in the corresponding embodiment.
[0181] For example, a computer program can be divided into one or more modules / units, one or more of which are stored in memory 702 and executed by processor 701 to complete the embodiments of this application. One or more modules / units can be a series of computer program instruction segments capable of performing a specific function, which describe the execution process of the computer program in a computer device.
[0182] The electronic device may include, but is not limited to, processor 701 and memory 702. Those skilled in the art will understand that the illustrations are merely examples of an electronic device and do not constitute a limitation on the electronic device. It may include more or fewer components than illustrated, or combine certain components, or use different components.
[0183] The processor 701 can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor can be a microprocessor or any conventional processor. The processor is the control center of the electronic device, connecting various parts of the electronic device through various interfaces and lines.
[0184] The memory 702 can be used to store computer programs and / or modules. The processor 701 implements various functions of the computer device by running or executing the computer programs and / or modules stored in the memory 702 and by calling data stored in the memory 702. The memory 702 may mainly include a program storage area and a data storage area. The program storage area may store the operating system, application programs required for at least one function (such as sound playback function, image playback function, etc.), etc.; the data storage area may store data created according to the use of the electronic device (such as audio data, video data, etc.). In addition, the memory may include high-speed random access memory, and may also include non-volatile memory, such as hard disk, RAM, plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, at least one disk storage device, flash memory device, or other volatile solid-state storage device.
[0185] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process of the process canvas generation device, electronic device and its corresponding units described above can be referred to the description of the process canvas generation method in any embodiment, and will not be repeated here.
[0186] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be accomplished by instructions, or by instructions controlling related hardware. These instructions can be stored in a storage medium and loaded and executed by a processor.
[0187] Therefore, this application provides a storage medium storing a computer program. When the computer program is executed by a processor, it performs the steps in the flowchart canvas generation method in any embodiment of this application. For specific operations, please refer to the description of the flowchart canvas generation method in any embodiment, which will not be repeated here.
[0188] The storage medium may include: read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.
[0189] Since the instructions stored in the storage medium can execute the steps in the process canvas generation method in any embodiment of this application, the beneficial effects that the process canvas generation method in any embodiment of this application can achieve can be realized, as detailed in the preceding description, and will not be repeated here.
[0190] The above provides a detailed description of a flowchart canvas generation method, apparatus, storage medium, and electronic device provided in the embodiments of this application. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the above embodiments are only for the purpose of helping to understand the method and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.
Claims
1. A method for generating a workflow canvas, characterized in that, include: Receive a canvas creation request and generate an initial canvas, wherein the initial canvas contains marketing activity information corresponding to the canvas creation request; The marketing activity information is hashed to obtain the target feature value corresponding to the initial canvas. Obtain a preset process canvas and the marketing time category of the preset process canvas; If the marketing time category is periodic marketing, then for each preset node, based on the marketing activity number and marketing rule text in the activity information of the preset process canvas, the preset process canvas associated with each preset node is determined, resulting in multiple canvas index nodes associated with the preset process canvas. For each canvas index node, the target time period corresponding to each canvas index node is determined based on the marketing time period in the activity information of each associated preset process canvas. Based on the target time period, marketing campaign number, and marketing rule text corresponding to each canvas index node, the identifier feature value corresponding to each canvas index node is calculated. If the marketing time category is non-periodic marketing, then for each preset node, based on the marketing activity number, marketing time point and marketing rule text in the activity information of the preset process canvas, the preset process canvas associated with each preset node is determined, resulting in multiple canvas index nodes associated with preset process canvases. Based on the marketing campaign number, marketing time point, and marketing rule text corresponding to each canvas index node, the identification feature value corresponding to each canvas index node is calculated. Multiple preset canvas index nodes are obtained, as well as the identification feature value corresponding to each canvas index node. Each canvas index node is associated with a preset process canvas. The preset process canvas associated with each canvas index node is determined based on the activity information of the preset process canvas. The identification feature value corresponding to each canvas index node is calculated from the activity information of the associated preset process canvas. The target feature value is compared with the identifier feature value corresponding to each canvas index node to obtain the target node whose similarity between the identifier feature value and the target feature value is greater than or equal to a preset threshold. The preset process canvas associated with the target node is taken as the same type canvas corresponding to the initial canvas. Obtain the set of marketing audiences associated with the aforementioned similar canvases; The marketing audience set is associated with the initial canvas to obtain the marketing process canvas.
2. The process canvas generation method according to claim 1, characterized in that, After associating the marketing audience set with the initial canvas to obtain the marketing process canvas, the process further includes: Receive an attribute query request for the marketing process canvas and obtain the target audience corresponding to the attribute query request; The target audience attributes of the target audience can be obtained from the marketing audience set associated with the marketing process canvas.
3. The process canvas generation method according to claim 1, characterized in that, For each canvas index node, the target time period corresponding to each canvas index node is determined based on the marketing time period in the activity information of each associated preset process canvas, including: For each canvas index node, the marketing time period in the activity information of each associated preset process canvas is statistically analyzed to obtain the shortest time period containing each of the aforementioned marketing time periods. The shortest time period is set as the target time period corresponding to each canvas index node.
4. The process canvas generation method according to claim 1, characterized in that, Before obtaining the multiple preset canvas index nodes and the corresponding identifier feature values of each canvas index node, the method further includes: Receive a canvas deletion request, determine the node to be deleted corresponding to the canvas deletion request in each preset canvas index node, and the canvas to be deleted corresponding to the canvas deletion request in the preset process canvas associated with the node to be deleted. Obtain the number of canvases other than the canvas to be deleted in the preset process canvas associated with the node to be deleted; If the number of canvases is zero, then the node to be deleted is deleted from each of the canvas index nodes to obtain the deleted canvas index nodes.
5. A process canvas generation device, characterized in that, include: A generation unit is used to receive a canvas creation request and generate an initial canvas, wherein the initial canvas contains marketing activity information corresponding to the canvas creation request; Comparison unit, used for: The marketing activity information is hashed to obtain the target feature value corresponding to the initial canvas. Obtain a preset process canvas and the marketing time category of the preset process canvas; If the marketing time category is periodic marketing, then for each preset node, based on the marketing activity number and marketing rule text in the activity information of the preset process canvas, the preset process canvas associated with each preset node is determined, resulting in multiple canvas index nodes associated with the preset process canvas. For each canvas index node, the target time period corresponding to each canvas index node is determined based on the marketing time period in the activity information of each associated preset process canvas. Based on the target time period, marketing campaign number, and marketing rule text corresponding to each canvas index node, the identifier feature value corresponding to each canvas index node is calculated. If the marketing time category is non-periodic marketing, then for each preset node, based on the marketing activity number, marketing time point and marketing rule text in the activity information of the preset process canvas, the preset process canvas associated with each preset node is determined, resulting in multiple canvas index nodes associated with preset process canvases. Based on the marketing campaign number, marketing time point, and marketing rule text corresponding to each canvas index node, the identification feature value corresponding to each canvas index node is calculated. Multiple preset canvas index nodes are obtained, as well as the identification feature value corresponding to each canvas index node. Each canvas index node is associated with a preset process canvas. The preset process canvas associated with each canvas index node is determined based on the activity information of the preset process canvas. The identification feature value corresponding to each canvas index node is calculated from the activity information of the associated preset process canvas. The target feature value is compared with the identifier feature value corresponding to each canvas index node to obtain the target node whose similarity between the identifier feature value and the target feature value is greater than or equal to a preset threshold. The preset process canvas associated with the target node is taken as the same type canvas corresponding to the initial canvas. The acquisition unit is used to acquire the marketing audience set associated with the same type of canvas; The association unit is used to associate the marketing audience set with the initial canvas to obtain the marketing process canvas.
6. An electronic device, characterized in that, The electronic device includes a processor, a memory, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the steps of the flowchart generation method as described in any one of claims 1 to 4.
7. A storage medium, characterized in that, The storage medium stores a computer program, which, when executed by a processor, implements the steps of the flowchart generation method according to any one of claims 1 to 4.