Crowd package component generation method and device, computer equipment and storage medium
By obtaining and configuring the crowd package component toolkit and generating the crowd package component configuration code, the problems of high cost and low stability in the existing technology are solved, efficient and stable component generation and data processing are achieved, development and maintenance costs are reduced, and data accuracy and component performance are improved.
Patent Information
- Application Number
- CN202510272259.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-07
- Publication Date
- 2025-07-04
AI Technical Summary
The existing crowd package component generation method has high cost or low component stability, which cannot meet efficient and stable business needs.
Provide a method for generating crowd package components. By obtaining configuration toolkits, displaying code templates, and inputting operations in the business scenario parameter code configuration area, it generates crowd package component configuration code, including configurations of quantity selection mode, search function, filtering conditions and deletion functions, avoiding duplicate network requests and code development, and unifying the expansion of interfaces and plug-in mechanisms.
It reduces component development and maintenance costs, improves data processing efficiency and accuracy, enhances component stability and performance, and simplifies the configuration process of different business scenarios.
Smart Images

Figure CN120255974A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of Internet technologies, and in particular, to a method, apparatus, computer device, and storage medium for generating a population package component. Background Art
[0002] On existing network platforms, population package selection is a very common operation. When formulating and managing business strategies, in order to improve management efficiency, multiple users are often grouped as a whole, and the execution objects of business strategies are aggregated in the form of population packages. Different business scenarios, such as marketing campaigns, data analysis, and user outreach, all require the use of the population package selection function.
[0003] However, current methods for generating population package components have problems such as high costs or low component stability. Summary of the Invention
[0004] Based on this, in view of the above technical problems, it is necessary to provide a method, apparatus, computer device, and storage medium for generating a population package component that can reduce costs and improve component stability.
[0005] In a first aspect, a method for generating a population package component is provided. The method is applied to a business usage terminal and includes:
[0006] Obtain a population package component configuration toolkit;
[0007] In response to a click operation on the population package component configuration toolkit, display a population package component configuration code template;
[0008] In response to a code input operation in the business scenario parameter code configuration area of the population package component configuration code template, generate a population package component configuration code according to the result of the code input operation and the population package component configuration code template; wherein, the business scenario parameter code configuration area includes a population package quantity selection mode code configuration area, a population package search function code configuration area, a population package filtering condition code configuration area, and a population package deletion function code configuration area;
[0009] Generate a population package component according to the population package component configuration code.
[0010] In one embodiment, the result of the code input operation includes a population package quantity selection mode configuration parameter, a population package search function configuration parameter, a population package filtering condition configuration parameter, and a population package deletion function configuration parameter;
[0011] Among them, in response to a code input operation on the business scenario parameter code configuration area of the audience package component configuration code template, an audience package component configuration code is generated according to the result of the code input operation and the audience package component configuration code template, including: in response to a code input operation on the audience package quantity selection mode code configuration area, determining the audience package quantity selection mode configuration parameter; the audience package quantity selection mode configuration parameter includes the audience package single-selection mode configuration parameter or the audience package multi-selection mode configuration parameter; in response to a code input operation on the audience package search function code configuration area, determining the audience package search function configuration parameter; the audience package search function configuration parameter includes the audience package with search function configuration parameter or the audience package without search function configuration parameter; in response to a code input operation on the audience package filtering condition code configuration area, determining the audience package filtering condition configuration parameter; the audience package filtering condition configuration parameter includes the dynamic audience package filtering condition configuration parameter or the static audience package filtering condition configuration parameter; in response to a code input operation on the audience package deletion function code configuration area, determining the audience package deletion function configuration parameter; the audience package deletion function configuration parameter includes the audience package with deletion function configuration parameter or the audience package without deletion function configuration parameter; generating an audience package component configuration code according to the audience package quantity selection mode configuration parameter, the audience package search function configuration parameter, the audience package filtering condition configuration parameter, the audience package deletion function configuration parameter and the audience package component configuration code template.
[0012] In one embodiment, the method further includes: in response to an initialization operation on the audience package component, sending an audience package data request corresponding to the audience package component to a data server, so that the data server feeds back a data source list according to the audience package data request; in response to receiving the data source list, loading the audience package component.
[0013] In one embodiment, the method further includes: in response to the completion of loading the audience package component, rendering the audience package selection interface of the audience package component; in response to the audience package quantity selection mode configuration parameter being the audience package single-selection mode configuration parameter, displaying each first candidate audience package on the audience package selection interface; in response to a selection operation on each first candidate audience package, determining a first target audience package, and sending a first population detail data request to the data server according to the first target audience package, so that the data server feeds back first population detail data according to the first population detail data request; receiving and displaying the first population detail data.
[0014] In one embodiment, the method further includes: in response to the crowd package quantity selection mode configuration parameter being the crowd package multiple selection mode configuration parameter, presenting each second candidate crowd package on the crowd package selection interface; in response to a selection operation being performed on each second candidate crowd package, determining the corresponding second target crowd package, and sending a second crowd details data request to the data server according to each second target crowd package, so that the data server feeds back the second crowd details data corresponding to each second target crowd package according to the second crowd details data request; receiving and presenting each second crowd details data.
[0015] In one embodiment, the method further includes: performing statistical analysis according to the first crowd details data or each second crowd details data to obtain a crowd details data statistical table; outputting an activity prompt message to the members of the first target crowd package according to the first crowd details data; or, outputting an activity prompt message to the members of the second target crowd package according to each second crowd details data.
[0016] In one embodiment, the method further includes: in response to a data refresh operation being performed on the first crowd details data, re-sending a first crowd details data request to the data server, and receiving the updated first crowd details data; in response to a data refresh operation being performed on the second crowd details data, re-sending a second crowd details data request to the data server, and receiving each updated second crowd details data.
[0017] In a second aspect, a crowd package component generation device is provided. The device is applied to a service use terminal, and the device includes a toolkit acquisition module, a template display module, a code input module, and a component generation module.
[0018] Among them, the toolkit acquisition module is used to acquire a crowd package component configuration toolkit; the template display module is used to present a crowd package component configuration code template in response to a click operation being performed on the crowd package component configuration toolkit; the code input module is used to generate a crowd package component configuration code according to the result of the code input operation and the crowd package component configuration code template in response to a code input operation being performed on the business scenario parameter code configuration area of the crowd package component configuration code template; among them, the business scenario parameter code configuration area includes a crowd package quantity selection mode code configuration area, a crowd package search function code configuration area, a crowd package filtering condition code configuration area, and a crowd package deletion function code configuration area; the component generation module is used to generate a crowd package component according to the crowd package component configuration code.
[0019] In a third aspect, a computer device is provided. The computer device includes a memory and a processor. The memory stores a computer program, and when the processor executes the computer program, the steps of any one of the methods in the above method embodiments are implemented.
[0020] Fourthly, a computer-readable storage medium is provided. A computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, the steps of any one of the methods in the above method embodiments are implemented.
[0021] For the above method, device, computer equipment and storage medium for generating a population package component, obtain a population package component configuration toolkit; then, in response to a click operation on the population package component configuration toolkit, display a population package component configuration code template; next, in response to a code input operation on the business scenario parameter code configuration area of the population package component configuration code template, generate a population package component configuration code according to the result of the code input operation and the population package component configuration code template; wherein, the business scenario parameter code configuration area includes a population package quantity selection mode code configuration area, a population package search function code configuration area, a population package filtering condition code configuration area, and a population package deletion function code configuration area; finally, generate a population package component according to the population package component configuration code, avoiding repeated network requests caused by different components calling different interfaces to obtain data, thereby increasing the data processing time, improving the data processing efficiency and data accuracy, also avoiding the need to re-develop all codes for different business scenarios, reducing the component development cost and maintenance cost, and at the same time facilitating a unified extension interface and plug-in mechanism, improving the testing efficiency. Only by simply configuring the business scenario parameter code configuration area can the population package component required for the corresponding scenario be generated, avoiding uneven code quality caused by repeated development of similar functions, and improving the stability and performance of the component. Description of the Drawings
[0022] Figure 1 It is an application environment diagram of the method for generating a population package component in an embodiment;
[0023] Figure 2 It is a first process schematic diagram of the method for generating a population package component in an embodiment;
[0024] Figure 3 It is a process schematic diagram of generating a population package component configuration code according to the result of a code input operation and a population package component configuration code template in response to a code input operation on the business scenario parameter code configuration area of the population package component configuration code template in an embodiment;
[0025] Figure 4 It is a second process schematic diagram of the method for generating a population package component in an embodiment;
[0026] Figure 5 It is a third process schematic diagram of the method for generating a population package component in an embodiment;
[0027] Figure 6 It is a structural block diagram of the device for generating a population package component in an embodiment;
[0028] Figure 7 It is the internal structure diagram of a computer device in an embodiment. Detailed implementation manners
[0029] In order to make the objectives, technical solutions and advantages of the present application clearer, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0030] To facilitate the understanding of the present application, the present application will be described more comprehensively below with reference to the relevant accompanying drawings. Embodiments of the present application are shown in the drawings. However, the present application can be implemented in many different forms and is not limited to the embodiments described herein. On the contrary, these embodiments are provided so that the disclosure of the present application is more thorough and comprehensive.
[0031] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the technical field to which the present application belongs. The terms used in the specification of the present application herein are only for the purpose of describing specific embodiments and are not intended to limit the present application.
[0032] It can be understood that the terms "first", "second", etc. used in the present application can be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish a first element from another element. For example, without departing from the scope of the present application, a first resistor can be called a second resistor, and similarly, a second resistor can be called a first resistor. Both the first resistor and the second resistor are resistors, but they are not the same resistor.
[0033] It can be understood that in the following embodiments, "connection", if there is an electrical signal or data transfer between the connected circuits, modules, units, etc., should be understood as "electrical connection", "communication connection", etc.
[0034] As used herein, the singular forms "a", "an" and "the" may also include the plural forms unless the context clearly dictates otherwise. It should also be understood that the terms "comprises / include" or "has" etc. specify the presence of the stated features, wholes, steps, operations, components, parts or combinations thereof, but do not preclude the presence or addition of one or more other features, wholes, steps, operations, components, parts or combinations thereof.
[0035] The method for generating a population package component provided by the present application can be applied to, for example Figure 1In the application environment shown. Among them, the service usage terminal 102 communicates with the data server 104 through the network. Among them, the service usage terminal 102 can be, but is not limited to, various personal computers, laptop computers, smart phones, tablet computers, and portable wearable devices, and the data server 104 can be implemented by an independent server or a server cluster composed of multiple servers.
[0036] In one embodiment, as Figure 2 shown, a method for generating a population package component is provided. Taking the service usage terminal 102 in Figure 1 as an example, the method includes the following steps 201 to step 204.
[0037] Step 201, obtain a population package component configuration toolkit.
[0038] Among them, the population package component configuration toolkit is used to store files required for configuring population package components. Specifically, the service usage terminal 102 can obtain the population package component configuration toolkit.
[0039] Step 202, in response to a click operation on the population package component configuration toolkit, display a population package component configuration code template.
[0040] Specifically, the service usage terminal 102, in response to a click operation on the population package component configuration toolkit, displays a population package component configuration code template.
[0041] Step 203, in response to a code input operation on the business scenario parameter code configuration area of the population package component configuration code template, generate a population package component configuration code according to the result of the code input operation and the population package component configuration code template.
[0042] Among them, the business scenario parameter code configuration area includes a population package quantity selection mode code configuration area, a population package search function code configuration area, a population package filtering condition code configuration area, and a population package deletion function code configuration area.
[0043] Specifically, the service usage terminal 102, in response to a code input operation on the business scenario parameter code configuration area of the population package component configuration code template, generates a population package component configuration code according to the result of the code input operation and the population package component configuration code template.
[0044] In one of the embodiments, as Figure 3As shown, the results of the code input operation include the configuration parameters of the population package quantity selection mode, the configuration parameters of the population package search function, the configuration parameters of the population package filtering conditions, and the configuration parameters of the population package deletion function. Among them, in response to a code input operation on the business scenario parameter code configuration area of the population package component configuration code template, the population package component configuration code is generated based on the results of the code input operation and the population package component configuration code template, including steps 301 to 305.
[0045] Step 301, in response to a code input operation on the population package quantity selection mode code configuration area, determine the configuration parameters of the population package quantity selection mode;
[0046] Step 302, in response to a code input operation on the population package search function code configuration area, determine the configuration parameters of the population package search function;
[0047] Step 303, in response to a code input operation on the population package filtering condition code configuration area, determine the configuration parameters of the population package filtering conditions;
[0048] Step 304, in response to a code input operation on the population package deletion function code configuration area, determine the configuration parameters of the population package deletion function;
[0049] Step 305, generate the population package component configuration code based on the configuration parameters of the population package quantity selection mode, the configuration parameters of the population package search function, the configuration parameters of the population package filtering conditions, the configuration parameters of the population package deletion function, and the population package component configuration code template.
[0050] Among them, the configuration parameters of the population package quantity selection mode include the configuration parameters of the single-selection mode of the population package or the configuration parameters of the multi-selection mode of the population package; the configuration parameters of the population package search function include the configuration parameters of the population package with a search function or the configuration parameters of the population package without a search function; the configuration parameters of the population package filtering conditions include the configuration parameters of the dynamic population package filtering conditions or the configuration parameters of the static population package filtering conditions; the configuration parameters of the population package deletion function include the configuration parameters of the population package with a deletion function or the configuration parameters of the population package without a deletion function.
[0051] Specifically, the service use terminal 102 determines the configuration parameters of the population package quantity selection mode in response to a code input operation on the code configuration area of the population package quantity selection mode; then, determines the configuration parameters of the population package search function in response to a code input operation on the code configuration area of the population package search function; next, determines the configuration parameters of the population package filtering conditions in response to a code input operation on the code configuration area of the population package filtering conditions; then, determines the configuration parameters of the population package deletion function in response to a code input operation on the code configuration area of the population package deletion function; finally, generates the configuration code of the population package component according to the configuration parameters of the population package quantity selection mode, the configuration parameters of the population package search function, the configuration parameters of the population package filtering conditions, the configuration parameters of the population package deletion function, and the configuration code template of the population package component, thereby avoiding the need to re-develop all codes for different business scenarios, reducing the component development cost and maintenance cost. At the same time, it is also beneficial to the unified extension interface and plug-in mechanism, improving the testing efficiency. Only by simply configuring the code configuration area of the business scenario parameters can the population package components required for the corresponding scenario be generated, avoiding the uneven code quality caused by repeated development of similar functions, and improving the stability and performance of the components.
[0052] In this embodiment, the service use terminal 102 determines the configuration parameters of the population package quantity selection mode in response to a code input operation on the code configuration area of the population package quantity selection mode; then, determines the configuration parameters of the population package search function in response to a code input operation on the code configuration area of the population package search function; next, determines the configuration parameters of the population package filtering conditions in response to a code input operation on the code configuration area of the population package filtering conditions; then, determines the configuration parameters of the population package deletion function in response to a code input operation on the code configuration area of the population package deletion function; finally, generates the configuration code of the population package component according to the configuration parameters of the population package quantity selection mode, the configuration parameters of the population package search function, the configuration parameters of the population package filtering conditions, the configuration parameters of the population package deletion function, and the configuration code template of the population package component, thereby avoiding the need to re-develop all codes for different business scenarios, reducing the component development cost and maintenance cost. At the same time, it is also beneficial to the unified extension interface and plug-in mechanism, improving the testing efficiency. Only by simply configuring the code configuration area of the business scenario parameters can the population package components required for the corresponding scenario be generated, avoiding the uneven code quality caused by repeated development of similar functions, and improving the stability and performance of the components.
[0053] Step 204, generate a population package component according to the configuration code of the population package component.
[0054] Specifically, the service usage terminal 102 can generate a population package component according to the population package component configuration code, avoiding repeated network requests caused by different components calling different interfaces to obtain data, thereby increasing the data processing time, improving the data processing efficiency and data accuracy, and also avoiding the need to re-develop all codes for different business scenarios, reducing the component development cost and maintenance cost. At the same time, it is beneficial to a unified extension interface and plug-in mechanism, improving the testing efficiency. Only by simply configuring the business scenario parameter code configuration area can the population package component required for the corresponding scenario be generated, avoiding uneven code quality caused by repeated development of similar functions, and improving the stability and performance of the component.
[0055] In the above method for generating a population package component, obtain the population package component configuration toolkit; then, in response to a click operation on the population package component configuration toolkit, display the population package component configuration code template; next, in response to a code input operation on the business scenario parameter code configuration area of the population package component configuration code template, generate the population package component configuration code according to the result of the code input operation and the population package component configuration code template; wherein, the business scenario parameter code configuration area includes a population package quantity selection mode code configuration area, a population package search function code configuration area, a population package filtering condition code configuration area, and a population package deletion function code configuration area; finally, generate the population package component according to the population package component configuration code, avoiding repeated network requests caused by different components calling different interfaces to obtain data, thereby increasing the data processing time, improving the data processing efficiency and data accuracy, and also avoiding the need to re-develop all codes for different business scenarios, reducing the component development cost and maintenance cost. At the same time, it is beneficial to a unified extension interface and plug-in mechanism, improving the testing efficiency. Only by simply configuring the business scenario parameter code configuration area can the population package component required for the corresponding scenario be generated, avoiding uneven code quality caused by repeated development of similar functions, and improving the stability and performance of the component.
[0056] In one embodiment, as Figure 4 shown, the method further includes step 401 and step 402.
[0057] Step 401, in response to an initialization operation on the population package component, send a population package data request corresponding to the population package component to the data server, so that the data server feeds back a data source list according to the population package data request;
[0058] Step 402, in response to receiving the data source list, load the population package component.
[0059] Specifically, in response to an initialization operation on the population package component, the service usage terminal 102 sends a population package data request corresponding to the population package component to the data server, so that the data server feeds back a data source list according to the population package data request; then, in response to receiving the data source list, the population package component is loaded, avoiding repeated network requests caused by each component needing to call different interfaces to obtain data, thereby increasing the data processing time, and improving the convenience and efficiency of initializing the population package component.
[0060] In this embodiment, in response to an initialization operation on the population package component, a population package data request corresponding to the population package component is sent to the data server, so that the data server feeds back a data source list according to the population package data request; then, in response to receiving the data source list, the population package component is loaded, avoiding repeated network requests caused by each component needing to call different interfaces to obtain data, thereby increasing the data processing time, and improving the convenience and efficiency of initializing the population package component.
[0061] In one embodiment, as Figure 5 shown, the method further includes steps 501 to 504.
[0062] Step 501, in response to the completion of loading the population package component, render the population package selection interface of the population package component;
[0063] Step 502, in response to the population package quantity selection mode configuration parameter being the population package single-selection mode configuration parameter, display each first candidate population package on the population package selection interface;
[0064] Step 503, in response to a selection operation on each first candidate population package, determine the first target population package, and send a first population details data request to the data server according to the first target population package, so that the data server feeds back the first population details data according to the first population details data request;
[0065] Step 504, receive and display the first population details data.
[0066] Specifically, in response to the completion of loading the population package component, the service usage terminal 102 renders the population package selection interface of the population package component; then, in response to the population package quantity selection mode configuration parameter being the population package single-selection mode configuration parameter, display each first candidate population package on the population package selection interface; then, in response to a selection operation on each first candidate population package, determine the first target population package, and send a first population details data request to the data server according to the first target population package, so that the data server feeds back the first population details data according to the first population details data request; then, receive and display the first population details data, improving the convenience, efficiency, and accuracy of obtaining the population details data
[0067] In a specific example, receive and display the details data of the first population, including:
[0068] In response to receiving the details data of the first population and the population package filtering condition configuration parameter being a dynamic population package filtering condition configuration parameter, perform dynamic filtering processing on the details data of the first population according to the dynamic population package filtering condition configuration parameter to obtain the dynamically filtered details data of the first population;
[0069] Update the details data of the first population to the dynamically filtered details data of the first population;
[0070] Display the details data of the first population. The above is only a specific example, and in actual applications, it is flexibly set according to user needs and is not limited here.
[0071] In a specific example, receive and display the details data of the first population, including:
[0072] In response to receiving the details data of the first population and the population package filtering condition configuration parameter being a static population package filtering condition configuration parameter, perform static filtering processing on the details data of the first population according to the static population package filtering condition configuration parameter to obtain the statically filtered details data of the first population;
[0073] Update the details data of the first population to the statically filtered details data of the first population;
[0074] Display the details data of the first population. The above is only a specific example, and in actual applications, it is flexibly set according to user needs and is not limited here.
[0075] In this embodiment, in response to the completion of loading the population package component, render the population package selection interface of the population package component; then, in response to the population package quantity selection mode configuration parameter being a single-selection mode configuration parameter for the population package, display each first candidate population package on the population package selection interface; then, in response to a selection operation on each first candidate population package, determine the first target population package, and send a first population details data request to the data server according to the first target population package, so that the data server feeds back the first population details data according to the first population details data request; then, receive and display the first population details data, improving the convenience, efficiency, and accuracy of obtaining the population details data.
[0076] In one of the embodiments, as Figure 5 shown, the method further includes steps 505 to 507.
[0077] Step 505, in response to the population package quantity selection mode configuration parameter being a multiple-selection mode configuration parameter for the population package, display each second candidate population package on the population package selection interface;
[0078] Step 506: In response to a selection operation on each second candidate population package, determine the corresponding second target population package, and send a second population details data request to the data server according to each second target population package, so that the data server feeds back the second population details data corresponding to each second target population package according to the second population details data request;
[0079] Step 507: Receive and display each second population details data.
[0080] Specifically, the service use terminal 102, in response to the population package quantity selection mode configuration parameter being the population package multiple selection mode configuration parameter, displays each second candidate population package on the population package selection interface; then, in response to a selection operation on each second candidate population package, determines the corresponding second target population package, and sends a second population details data request to the data server according to each second target population package, so that the data server feeds back the second population details data corresponding to each second target population package according to the second population details data request; then, receives and displays each second population details data, improving the convenience, efficiency, and accuracy of obtaining population details data.
[0081] In a specific example, receiving and displaying the first population details data includes:
[0082] In response to receiving each second population details data and the population package filtering condition configuration parameter being the dynamic population package filtering condition configuration parameter, perform dynamic filtering processing on each second population details data according to the dynamic population package filtering condition configuration parameter to obtain the corresponding dynamically filtered second population details data;
[0083] Update each second population details data to the corresponding dynamically filtered second population details data;
[0084] Display each second population details data. The above is only a specific example, and it is flexibly set according to user needs in actual applications, and is not limited here.
[0085] In a specific example, receiving and displaying the first population details data includes:
[0086] In response to receiving each second population details data and the population package filtering condition configuration parameter being the static population package filtering condition configuration parameter, perform static filtering processing on each second population details data according to the static population package filtering condition configuration parameter to obtain the corresponding statically filtered second population details data;
[0087] Update each second population details data to the corresponding statically filtered second population details data;
[0088] Display each second population details data. The above is only a specific example, and it is flexibly set according to user needs in actual applications, and is not limited here.
[0089] In this embodiment, in response to the population package quantity selection mode configuration parameter being the population package multiple selection mode configuration parameter, each second candidate population package is displayed on the population package selection interface; then, in response to a selection operation being performed on each second candidate population package, the corresponding second target population package is determined, and a second population details data request is sent to the data server according to each second target population package, so that the data server feeds back the second population details data corresponding to each second target population package according to the second population details data request; then, each second population details data is received and displayed, improving the convenience, efficiency, and accuracy of obtaining population details data.
[0090] In one of the embodiments, the method further includes:
[0091] Statistical analysis is performed according to the first population details data or each second population details data to obtain a population details data statistical table;
[0092] Activity prompt information is output to the members of the first target population package according to the first population details data; or, activity prompt information is output to the members of the second target population package according to each second population details data.
[0093] Specifically, the service use terminal 102 performs statistical analysis according to the first population details data or each second population details data to obtain a population details data statistical table; then, activity prompt information is output to the members of the first target population package according to the first population details data; or, activity prompt information is output to the members of the second target population package according to each second population details data, improving the convenience of the population package component.
[0094] In this embodiment, statistical analysis is performed according to the first population details data or each second population details data to obtain a population details data statistical table; then, activity prompt information is output to the members of the first target population package according to the first population details data; or, activity prompt information is output to the members of the second target population package according to each second population details data, improving the convenience of the population package component.
[0095] In one of the embodiments, the method further includes:
[0096] In response to a data refresh operation being performed on the first population details data, a first population details data request is resent to the data server, and the updated first population details data is received;
[0097] In response to a data refresh operation being performed on the second population details data, a second population details data request is resent to the data server, and each updated second population details data is received.
[0098] Specifically, in response to a data refresh operation on the first population detail data, the service use terminal 102 resends a first population detail data request to the data server and receives the updated first population detail data; then, in response to a data refresh operation on the second population detail data, the service use terminal 102 resends a second population detail data request to the data server and receives each updated second population detail data, improving the efficiency, convenience, and accuracy of data refreshing.
[0099] In this embodiment, in response to a data refresh operation on the first population detail data, a first population detail data request is resent to the data server and the updated first population detail data is received; then, in response to a data refresh operation on the second population detail data, a second population detail data request is resent to the data server and each updated second population detail data is received, improving the efficiency, convenience, and accuracy of data refreshing.
[0100] It should be understood that although Figures 2 - 5 the steps in the flowchart of Figures 2 - 5 are shown in sequence according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise clearly stated in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover,
[0101] In a second aspect, as Figure 6 shown, a population package component generation device is provided. The device is applied to a service use terminal and includes a toolkit acquisition module 610, a template display module 620, a code input module 630, and a component generation module 640.
[0102] Among them, the toolkit acquisition module 610 is used to acquire the population package component configuration toolkit; the template display module 620 is used to display the population package component configuration code template in response to a click operation on the population package component configuration toolkit; the code input module 630 is used to generate the population package component configuration code according to the result of the code input operation and the population package component configuration code template in response to a code input operation on the business scenario parameter code configuration area of the population package component configuration code template; among them, the business scenario parameter code configuration area includes the population package quantity selection mode code configuration area, the population package search function code configuration area, the population package filtering condition code configuration area, and the population package deletion function code configuration area; the component generation module 640 is used to generate the population package component according to the population package component configuration code.
[0103] In one embodiment, the result of the code input operation includes the population package quantity selection mode configuration parameter, the population package search function configuration parameter, the population package filtering condition configuration parameter, and the population package deletion function configuration parameter.
[0104] Among them, the code input module 630 includes a code input unit.
[0105] Among them, the code input unit is used to determine the population package quantity selection mode configuration parameter in response to a code input operation on the population package quantity selection mode code configuration area; the population package quantity selection mode configuration parameter includes the population package single-selection mode configuration parameter or the population package multi-selection mode configuration parameter.
[0106] The code input unit is used to determine the population package search function configuration parameter in response to a code input operation on the population package search function code configuration area; the population package search function configuration parameter includes the population package has search function configuration parameter or the population package has no search function configuration parameter; the code input unit is used to determine the population package filtering condition configuration parameter in response to a code input operation on the population package filtering condition code configuration area; the population package filtering condition configuration parameter includes the dynamic population package filtering condition configuration parameter or the static population package filtering condition configuration parameter; the code input unit is used to determine the population package deletion function configuration parameter in response to a code input operation on the population package deletion function code configuration area; the population package deletion function configuration parameter includes the population package has deletion function configuration parameter or the population package has no deletion function configuration parameter; the code input unit is used to generate the population package component configuration code according to the population package quantity selection mode configuration parameter, the population package search function configuration parameter, the population package filtering condition configuration parameter, the population package deletion function configuration parameter, and the population package component configuration code template.
[0107] In one embodiment, the device further includes a component initialization module.
[0108] Among them, the component initialization module is used to send a population package data request corresponding to the population package component to the data server in response to an initialization operation on the population package component, so that the data server feeds back a data source list according to the population package data request; the component initialization module is used to load the population package component in response to receiving the data source list.
[0109] In one embodiment, the device further includes a population details data acquisition module.
[0110] Among them, the population details data acquisition module is used to render the population package selection interface of the population package component in response to the completion of loading the population package component; the population details data acquisition module is used to display each first candidate population package on the population package selection interface in response to the population package quantity selection mode configuration parameter being the population package single-selection mode configuration parameter; the population details data acquisition module is used to determine a first target population package in response to a selection operation on each first candidate population package, and send a first population details data request to the data server according to the first target population package, so that the data server feeds back first population details data according to the first population details data request; the population details data acquisition module is used to receive and display the first population details data.
[0111] In one embodiment, the population details data acquisition module is used to display each second candidate population package on the population package selection interface in response to the population package quantity selection mode configuration parameter being the population package multi-selection mode configuration parameter; the population details data acquisition module is used to determine corresponding second target population packages in response to a selection operation on each second candidate population package, and send a second population details data request to the data server according to each second target population package, so that the data server feeds back second population details data corresponding to each second target population package according to the second population details data request; the population details data acquisition module is used to receive and display each second population details data.
[0112] In one embodiment, the device further includes an activity prompt module.
[0113] Among them, the activity prompt module is used to perform statistical analysis according to the first population details data or each second population details data to obtain a population details data statistical table; the activity prompt module is used to output activity prompt information to the members of the first target population package according to the first population details data; or, the activity prompt module is used to output activity prompt information to the members of the second target population package according to each second population details data.
[0114] In one embodiment, the method device further includes a data refresh module.
[0115] Among them, the data refresh module is used to respond to the data refresh operation on the first population detail data, resend the first population detail data request to the data server, and receive the updated first population detail data; the data refresh module is used to respond to the data refresh operation on the second population detail data, resend the second population detail data request to the data server, and receive each updated second population detail data.
[0116] For the specific limitations of the population package component generation device, reference can be made to the limitations of the population package component generation method in the above text, which will not be elaborated here. Each module in the above population package component generation device can be implemented in whole or in part by software, hardware, and their combination. The above modules can be embedded in the processor in the computer device in hardware form or independent of it, or stored in the memory in the computer device in software form, so that the processor can call and execute the operations corresponding to the above modules.
[0117] In one embodiment, a computer device is provided. The computer device can be a terminal, and its internal structure diagram can be as Figure 7 shown. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, it implements a population package component generation method. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen. The input device of the computer device can be a touch layer covering the display screen, or a button, a trackball, or a touchpad provided on the computer device housing, or an external keyboard, touchpad, or mouse, etc.
[0118] Those skilled in the art can understand that the structure shown in Figure Y is only a block diagram of some structures related to the solution of this application, and does not constitute a limitation on the computer device to which the solution of this application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine some components, or have a different component layout.
[0119] In a third aspect, a computer device is provided. The computer device includes a memory and a processor. The memory stores a computer program, and when the processor executes the computer program, it implements the steps of any one of the methods in the above method embodiments.
[0120] In a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of any one of the methods in the above method embodiments are implemented.
[0121] Those of ordinary skill in the art can understand that all or part of the processes in the above method embodiments can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above various methods. Among them, any reference to a memory, storage, database, or other medium used in the various embodiments provided in this application can include non-volatile and / or volatile memories. Non-volatile memories can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memories can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), Rambus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and Rambus dynamic RAM (RDRAM), etc.
[0122] The technical features of the above embodiments can be combined arbitrarily. For the sake of concise description, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered as the scope described in this specification.
[0123] The above-described embodiments merely represent several implementation manners of this application. The description is relatively specific and detailed, but it should not be construed as a limitation on the scope of the invention patent. It should be noted that for those of ordinary skill in the art, without departing from the concept of this application, several modifications and improvements can still be made, and these all belong to the protection scope of this application. Therefore, the protection scope of the patent of this application should be subject to the appended claims.
Claims
1. A method for generating a population package component, which is applied to a business usage terminal, and the method includes: Obtain a population package component configuration toolkit; In response to a click operation on the population package component configuration toolkit, display a population package component configuration code template; In response to a code input operation on the business scenario parameter code configuration area of the population package component configuration code template, generate a population package component configuration code according to the result of the code input operation and the population package component configuration code template; wherein, the business scenario parameter code configuration area includes a population package quantity selection mode code configuration area, a population package search function code configuration area, a population package filtering condition code configuration area, and a population package deletion function code configuration area; Generate a population package component according to the population package component configuration code.
2. The method according to claim 1, wherein The result of the code input operation includes a population package quantity selection mode configuration parameter, a population package search function configuration parameter, a population package filtering condition configuration parameter, and a population package deletion function configuration parameter; Wherein, the step of in response to a code input operation on the business scenario parameter code configuration area of the population package component configuration code template, generating a population package component configuration code according to the result of the code input operation and the population package component configuration code template includes: In response to a code input operation on the population package quantity selection mode code configuration area, determine the population package quantity selection mode configuration parameter; the population package quantity selection mode configuration parameter includes a population package single selection mode configuration parameter or a population package multiple selection mode configuration parameter; In response to a code input operation on the population package search function code configuration area, determine the population package search function configuration parameter; the population package search function configuration parameter includes a population package having a search function configuration parameter or a population package having no search function configuration parameter; In response to a code input operation on the population package filtering condition code configuration area, determine the population package filtering condition configuration parameter; the population package filtering condition configuration parameter includes a dynamic population package filtering condition configuration parameter or a static population package filtering condition configuration parameter; In response to a code input operation on the population package deletion function code configuration area, determine the population package deletion function configuration parameter; the population package deletion function configuration parameter includes a population package having a deletion function configuration parameter or a population package having no deletion function configuration parameter; Generate a population package component configuration code according to the population package quantity selection mode configuration parameter, the population package search function configuration parameter, the population package filtering condition configuration parameter, the population package deletion function configuration parameter, and the population package component configuration code template.
3. The method according to claim 2, wherein The method further includes: In response to an initialization operation on the population package component, send a population package data request corresponding to the population package component to a data server, so that the data server feeds back a data source list according to the population package data request; In response to receiving the data source list, load the population package component.
4. The method according to claim 3, wherein The method further includes: In response to the completion of loading the population package component, render the population package selection interface of the population package component. In response to the population pack quantity selection mode configuration parameter being the single-selection mode configuration parameter for population packs, display each first candidate population pack on the population pack selection interface; In response to a selection operation being performed on each of the first candidate population packs, determine a first target population pack, and send a first population details data request to the data server according to the first target population pack, so that the data server feeds back first population details data according to the first population details data request; Receive and display the first population details data.
5. The method according to claim 4, characterized in that The method further includes: In response to the population pack quantity selection mode configuration parameter being the multi-selection mode configuration parameter for population packs, display each second candidate population pack on the population pack selection interface; In response to a selection operation being performed on each of the second candidate population packs, determine corresponding second target population packs, and send a second population details data request to the data server according to each of the second target population packs, so that the data server feeds back second population details data corresponding to each of the second target population packs according to the second population details data request; Receive and display each of the second population details data.
6. The method according to claim 5, characterized in that, The method further includes: Perform statistical analysis according to the first population details data or each of the second population details data to obtain a population details data statistical table; Output activity prompt information to the members of the first target population pack according to the first population details data; or, Output activity prompt information to the members of the second target population pack according to each of the second population details data.
7. The method according to claim 5, characterized in that, The method further includes: In response to a data refresh operation being performed on the first population details data, re-send the first population details data request to the data server, and receive the updated first population details data; In response to a data refresh operation being performed on the second population details data, re-send the second population details data request to the data server, and receive each of the updated second population details data.
8. A device for generating a population package component, characterized in that, The device is applied to a service use terminal, and the device includes: A toolkit acquisition module, configured to acquire a population pack component configuration toolkit; A template display module, configured to display a population pack component configuration code template in response to a click operation being performed on the population pack component configuration toolkit; A code input module, configured to generate a population pack component configuration code according to the result of the code input operation and the population pack component configuration code template in response to a code input operation being performed on the business scenario parameter code configuration area of the population pack component configuration code template; wherein, the business scenario parameter code configuration area includes a population pack quantity selection mode code configuration area, a population pack search function code configuration area, a population pack filtering condition code configuration area, and a population pack deletion function code configuration area; A component generation module, configured to generate a population pack component according to the population pack component configuration code.
9. A computer device, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, the steps of the method according to any one of claims 1 to 7 are implemented.