A digital model generation and publishing method and device
By using a modular design for digital model generation and publishing, users can select and configure digital model templates, solving the problem that operational software cannot adapt to diverse activities and enabling efficient development of operational activities and parameter adjustments.
Patent Information
- Application Number
- CN202310654725.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-05
- Publication Date
- 2024-11-01
- Estimated Expiration
- 2043-06-05
AI Technical Summary
Existing operational software cannot adapt to diverse operational activities, resulting in a huge workload for operational staff and problems such as insufficient human resources and increased development cycles for operational activities.
It adopts a modular design and provides methods for generating and publishing digital models. Multiple different types of digital model templates are defined through configuration files. The template list is displayed after receiving user instructions. Users select the target template and configure the parameters. The model instance is generated and previewed, and finally the model is published.
It improved the efficiency of operational activities, reduced the need for human resources, shortened the development cycle, and improved the accuracy and efficiency of parameter adjustments.
Smart Images

Figure CN116700698B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of operation and promotion, and in particular to a method and device for generating and publishing a digital model. Background Art
[0002] With the development of Internet technology, enterprises are investing more and more energy in the application promotion and operation of software. With the development of enterprises, similar operation activities are gradually increasing, and the task of producing operation activities is gradually increasing. Existing operation software all use fixed templates and cannot adapt to the increasingly diverse operation activities. It is often necessary for operators to manually set the activity interface and each button on the interface according to a single operation activity. The workload is huge, and it is easy for enterprises to have insufficient human resources and high pressure on operation supply, which leads to a longer development cycle of operation activities and delayed activities. Summary of the invention
[0003] In order to improve the operational efficiency of an enterprise, the present application provides a method and device for generating and publishing a digital model.
[0004] The present application provides a method and device for generating and publishing a digital model, which adopts the following technical solutions:
[0005] A digital model generation and publishing method, which determines multiple different types of digital model templates based on a configuration file;
[0006] Receiving a new information instruction from a user and then displaying a list of the plurality of different types of digital model templates to the user for selection by the user;
[0007] Determine the target digital model template according to the user's selection instruction and display a parameter configuration interface associated with the target digital model template to the user;
[0008] Determine the configuration items corresponding to the target digital model template based on the target parameters input by the user on the parameter configuration interface;
[0009] Generate and display a preview of the digital model instance corresponding to the target digital model template according to the configuration item so that the user can adjust the target parameters in a visual manner;
[0010] Receive the user's configuration completion instruction to confirm the target configuration item, generate the target digital model instance based on the target configuration item and the target digital model template, and then receive the user's release instruction to implement the release operation
[0011] In the above technical solution, multiple different types of digital model templates are displayed according to the user's new information instruction, and then the parameter configuration interface is displayed according to the target digital template selected by the user. The user modifies the configuration items corresponding to the parameter configuration interface through the target parameters, and generates an instance according to the modified configuration items, so that the user can adjust the target parameters while viewing the examples, realize real-time interactive display, and improve the accuracy of target parameter adjustment. After receiving the configuration completion instruction, the current configuration item is solidified as the target configuration item, and the corresponding target digital model instance is generated and published under the user's publishing instruction.
[0012] This case adopts a modular design to ensure that activity operators can quickly find the template that is closest to the activity they are about to operate and select it, so as to realize the construction of the operation activity model instance by adjusting and modifying the configuration of the target parameters of the template. Compared with the model construction completely by the user, this case can obviously improve the user's work efficiency by making modifications based on the template.
[0013] Optionally, the determining of a plurality of different types of digital model templates based on the configuration file includes, after generating a target digital model instance based on the target configuration item and the target digital model template, the method further includes:
[0014] Determine a plurality of digital model templates based on the configuration file, and allocate the plurality of digital model templates to a fixed template set and a reference template set according to their types, wherein each type of digital model template in the fixed template set is a fixed template and cannot be changed, and each type of digital model template in the reference template set is a reference template and can be changed;
[0015] The usage rates of the reference templates of various types in the reference template set are periodically counted, and the reference templates with low usage rates are deleted according to the last-place elimination rule.
[0016] In this case, there are two types of digital model templates, namely fixed template sets and reference template sets. Fixed template sets are usually preset fixed templates, while reference template sets are various customized templates. In this case, it is set that before the user creates a target digital model template and publishes the target digital model instance corresponding to the target digital model template, the user can also store the target digital model template in the reference template set, so that later users can choose the template according to their own needs. This scheme expands the richness of the entire digital model template, making the digital model generation and publishing method more and more convenient when applied. In addition, in this case, considering that the data storage capacity of digital model templates will become larger and larger, in order to ensure the smooth operation of the system, the usage rate of each digital model template is counted according to the preset rules, and the last-place elimination is performed according to the type, so as to ensure that the use of commonly used digital model templates is not affected under the greatest circumstances.
[0017] Optionally, periodically counting the usage rates of the reference templates of each type in the reference template set, and deleting reference templates with low usage rates according to a last-place elimination rule, includes:
[0018] The reference template periodically counts the usage rate of the digital templates corresponding to each type, and / or calculates the remaining data structure of the storage data structure corresponding to the reference template, and counts the usage rate of the digital model templates corresponding to each type when the remaining data structure is lower than a preset minimum data structure value.
[0019] By adopting the above technical solution, the timing of reducing the burden of digital model templates is grasped. It can be to regularly count the usage rate according to the time period and eliminate and delete the digital model templates with low usage rate in each category, or to eliminate and delete the digital model templates with low usage rate in each category when the remaining storage space is insufficient. Avoid the data volume of the digital model template being too large, occupying too much memory and reducing the overall operating efficiency of the method.
[0020] Optionally, the receiving of a new information instruction from a user and then displaying a list of the plurality of different types of digital model templates to the user for selection by the user includes:
[0021] Receive new information instructions from users;
[0022] The user identity information in the new information instruction is extracted, and when the user identity information is consistent with any one of the preset authority identity information, a list of the multiple different types of digital model templates is displayed to the user for the user to select.
[0023] By adopting the above technical solution, the user's identity verification is performed before the list is displayed. After the identity verification is passed, various types of digital model templates are displayed. Adding the identity verification procedure strengthens the overall confidentiality.
[0024] Optionally, generating and displaying a preview of the digital model instance corresponding to the target digital model template according to the configuration item so that the user can adjust the target parameter in a visual manner includes:
[0025] After the preview display time of the digital model instance corresponding to the target digital model template reaches a preset maximum adjustment time, the target parameter is updated according to the parameter corresponding to the current preview of the digital model instance.
[0026] By adopting the above technical solution, when the preview display time reaches the maximum adjustment time, it is directly set as the user confirming the configuration corresponding to the current digital model instance, that is, the configuration item corresponding to the preview of the digital model instance is used as the target configuration item, and the parameter corresponding to the preview of the current digital model instance updates the target parameter, and then is implemented and released according to the user's instructions.
[0027] Optionally, the target parameters include detail adjustment parameters and background information parameters, the configuration items include detail items and background items, and the determining of the configuration items corresponding to the target digital model template based on the target parameters input by the user on the parameter configuration interface includes:
[0028] When the user inputs a target detail adjustment parameter on the parameter configuration interface, the target detail adjustment parameter is stored in a first data structure corresponding to the detail item;
[0029] When the user inputs the background information parameters on the parameter configuration interface, the background information parameters are stored in the second data structure corresponding to the background item.
[0030] By adopting the above technical solution, parameter configuration is divided into detail adjustment parameters and background information parameters. The position and content of the digital model instance are adjusted by adjusting the detail adjustment parameters, and the background image of the digital model instance is changed by the background information parameters. By entering the target detail adjustment parameters and background information parameters on the target configuration interface, the digital model template can be fully modified to obtain the corresponding digital model instance.
[0031] Optionally, generating a target digital model instance based on the target configuration item and the target digital model template includes:
[0032] Substitute the detail reference parameters in the first data structure corresponding to the detail item into the target digital model, and substitute the background information parameters in the second data structure corresponding to the background information parameter into the target digital model to form the target digital model instance.
[0033] By adopting the above technical solution, the detail reference parameters and background information parameters are stored separately to avoid information confusion between the two. The detail reference parameters are substituted into the target digital model template to modify its detail items, and the background information parameters are substituted into the target digital model template to modify its background items. The target digital model template with updated background items and detail items is used as the target digital model instance.
[0034] Optionally, the digital model template includes a collection activity template, a lottery activity template, a question answering activity template, and a voting activity template, and the background information parameter includes a background picture.
[0035] The present invention also provides a digital model generation and publishing device, the device comprising:
[0036] A template generation unit, used for determining a plurality of different types of digital model templates based on a configuration file;
[0037] An instance initialization unit, configured to receive a new information instruction from a user and then display a list of the plurality of different types of digital model templates to the user for selection by the user, determine a target digital model template according to the user's selection instruction and display a parameter configuration interface associated with the target digital model template to the user, and determine a configuration item corresponding to the target digital model template based on the target parameter input by the user on the parameter configuration interface;
[0038] A configuration adjustment unit, configured to generate and display a preview of the digital model instance corresponding to the target digital model template according to the configuration item so that the user can adjust the target parameter in a visual manner;
[0039] The instance generation and publishing unit is used to receive the user's configuration completion instruction to confirm the target configuration item, generate the target digital model instance based on the target configuration item and the target digital model template, and then receive the user's publishing instruction to implement the publishing operation.
[0040] By adopting the above technical solution, multiple different types of digital model templates are displayed according to the user's new information instructions, and then the parameter configuration interface is displayed according to the target digital template selected by the user. The user modifies the configuration items corresponding to the parameter configuration interface through the target parameters, and generates an instance according to the modified configuration items, so that the user can adjust the target parameters while viewing the examples, realizing real-time interactive display and improving the accuracy of target parameter adjustment. After receiving the configuration completion instruction, the current configuration item is solidified as the target configuration item, and the corresponding target digital model instance is generated and published under the user's publishing instruction.
[0041] The present invention also provides a computer-readable storage medium storing a computer program that can be run on a processor, wherein when the computer program is executed by the processor, the digital model generation and publishing method as described in any one of the above items is implemented.
[0042] In summary, the present application includes at least one of the following beneficial technical effects:
[0043] 1. This case adopts a modular design, modularizing the entire operation and promotion process to facilitate user operation and improve user work efficiency.
[0044] 2. This case supports inputting target parameters to modify multiple configuration items of the digital model template, as well as previewing the digital model instances generated by the configuration items, so as to achieve simultaneous preview and modification, which is conducive to improving the accuracy of the modification. Compared with the current blind modification without knowing the instance, the modification of the target parameters in this case can obviously make customers more accurate, reduce the time occupied by the overall process, and improve the adjustment efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 It is a flowchart of a digital model generation and publishing method provided by the first embodiment of the present invention;
[0046] Figure 2 It is a module schematic diagram of a digital model generation and publishing device provided by the second embodiment of the present invention;
[0047] Figure 3 yes Figure 2 Schematic diagram of the interface for configuring the adjustment unit. DETAILED DESCRIPTION
[0048] The present application is further described in detail below in conjunction with the accompanying drawings. 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.
[0049] In the following description, for the purpose of explanation, many specific details are set forth in order to provide a thorough understanding of the inventive concept. As part of this specification, some of the drawings in the drawings of the present disclosure represent structures and devices in the form of block diagrams to avoid making the disclosed principles complicated and difficult to understand. For the sake of clarity, not all features of the actual implementation are necessarily described. References to "one specific implementation" or "specific implementations" in this disclosure mean that the specific features, structures, or characteristics described in conjunction with the specific implementation are included in at least one specific implementation, and multiple references to "one specific implementation" or "specific implementations" should not be understood as necessarily all referring to the same specific implementation.
[0050] Unless expressly limited, the terms "a", "an", and "the" are not intended to refer to a singular entity, but rather to include general categories of which specific examples may be used for illustration. Thus, the use of the terms "a" or "an" may mean any number of at least one, including "one", "one or more", "at least one", and "one or more than one". The term "or" means any of the alternatives and any combination of the alternatives, including all alternatives, unless the alternatives are expressly indicated to be mutually exclusive. The phrase "at least one of" when combined with a list of items refers to a single item in the list or any combination of the items in the list. The phrase does not require all of the listed items unless expressly limited to that.
[0051] First embodiment:
[0052] The first embodiment of the present invention provides a digital model generation and publishing method, the method comprising: determining a plurality of different types of digital model templates based on a configuration file; receiving a new information instruction from a user and then displaying a list of the plurality of different types of digital model templates to the user for the user to select; determining a target digital model template according to the user's selection instruction and displaying a parameter configuration interface associated with the target digital model template to the user; determining a configuration item corresponding to the target digital model template based on the target parameters input by the user on the parameter configuration interface; generating and displaying a preview of a digital model instance corresponding to the target digital model template according to the configuration item so that the user can adjust the target parameter in a visual manner; receiving a configuration completion instruction from the user to confirm the target configuration item, and generating a target digital model instance based on the target configuration item and the target digital model template, and then receiving a publishing instruction from the user to implement a publishing operation.
[0053] According to the user's new information instruction, multiple different types of digital model templates are displayed, and then the parameter configuration interface is displayed according to the target digital template selected by the user. The user modifies the corresponding configuration items of the parameter configuration interface through the target parameters, and generates an instance based on the modified configuration items, so that the user can view the example while adjusting the target parameters, realizing real-time interactive display and improving the accuracy of target parameter adjustment. After receiving the configuration completion instruction, the current configuration item is solidified as the target configuration item, and the corresponding target digital model instance is generated and published under the user's publishing instruction.
[0054] The following is a detailed description of the implementation details of the digital model generation and publishing method of this embodiment. The following content is only for the convenience of understanding the implementation details provided, and is not necessary for the implementation of this solution. The specific process of this embodiment is as follows Figure 1 As shown, the following steps are included:
[0055] Step 101: determine a plurality of different types of digital model templates based on a configuration file.
[0056] Specifically, this step 101 is implemented in the early preparation stage, and multiple different types of digital model templates are determined based on the configuration file. The digital model templates are stored in advance according to the type, and each digital model template is provided with one or more corresponding configuration files. This step 101 aims to bind the configuration file with the digital model template.
[0057] Step 102, receiving a new information instruction from a user and then displaying a list of the plurality of different types of digital model templates to the user for selection.
[0058] Specifically, the operation of step 102 generally includes:
[0059] S2-1, receiving a new information instruction from a user;
[0060] S2-2, extracting the user identity information in the new information instruction, and when the user identity information is consistent with any one of the preset authority identity information, displaying a list of the multiple different types of digital model templates to the user for the user to select.
[0061] The new message instruction of the user in step S2-1 is usually sent by the user. The user can send the new message instruction through his own terminal or directly input it into the input interface or port of the carrier of the method.
[0062] The new information instruction includes user identity information, which has two forms: one is the user account and password, and the other is the user's mobile phone number and the verification code received by the mobile phone number. The corresponding step S2-2 is consistent with any one of the preset permission identity information as follows: (1) If the user identity information is a user account and password, the preset permission identity information is all user accounts with permissions in the system database and the passwords of the corresponding user accounts. When the user account is consistent with any user account in the system database, and the password is consistent with the password corresponding to the user account in the system database, it is determined that "the user identity information is consistent with any one of the preset permission identity information"; (2) If the user identity account is a user's mobile phone number and verification code, the preset permission identity information is the mobile phone numbers of all users in the system database and the verification code sent by the system to the user's mobile phone. When the mobile phone number of the user identity account is consistent with the mobile phone number of any user in the system database, and the verification code sent by the system to the mobile phone corresponding to the user's mobile phone number is consistent with the received verification code, it is determined that "the user identity information is consistent with any one of the preset permission identity information".
[0063] Specifically, a list of multiple digital model templates of different types is displayed to the user for selection by the user, and all digital model templates in the displayed list are displayed in the form of a list according to type.
[0064] Step 103: determine the target digital model template according to the user's selection instruction and display a parameter configuration interface associated with the target digital model template to the user.
[0065] Specifically, the user selection instruction in step 103 is generated by the user's selection after the list of digital models is displayed in step 102. After receiving the user selection instruction, the target digital model template is determined, and the target digital model template is the template selected by the user. At this time, the template is fully displayed, and the parameter configuration interface associated with it is displayed.
[0066] In some examples, the display screen can be divided into a first area and a second area, wherein the target digital model template is displayed in the first area and the parameter configuration interface is displayed in the second area. In this way, the parameter configuration interface and the target digital template can be displayed simultaneously, so that the user can input the target parameters in the parameter configuration interface in the second area and view the impact of the input target parameters on the target digital model template through the first area.
[0067] In some examples, the digital model templates include a solicitation activity template, a lottery activity template, a question answering activity template, and a voting activity template.
[0068] Specifically, when the digital model template is a solicitation activity template, the configuration items on the parameter configuration interface include: basic configuration (including activity name configuration, activity status configuration, top and sort value modification configuration, activity time configuration, questionnaire configuration, sharing configuration), form configuration (including multi-type form configuration, form basic settings configuration, single-select and multiple-select configuration, upload type configuration), style configuration (including global style configuration, form style configuration, button style configuration), etc.
[0069] Specifically, when the digital model template is a question-answering activity template, the configuration items on the parameter configuration interface include: basic configuration, question bank configuration (upload configuration, download configuration, single question addition and deletion configuration, form configuration, score configuration, missed selection status score configuration), advanced configuration (daily answer number configuration, whether to display answer configuration, question drawing configuration, standard score configuration, user organization information collection configuration), style configuration (cover image style configuration, answer page configuration), etc.
[0070] Specifically, when the digital model template is a voting activity template, the configuration items on the parameter configuration interface include: basic configuration, work management configuration (document import configuration, document modification configuration, document preview configuration, document deletion configuration, document attribute addition and deletion configuration), advanced configuration (vote counting configuration, sorting configuration, details display configuration), style configuration, sharing configuration, etc.
[0071] Specifically, when the digital model template is a lottery activity template, the configuration items on the parameter configuration interface include: basic configuration, prize management configuration (including prize addition and deletion configuration, prize type configuration, prize probability configuration), advanced configuration (including lottery frequency configuration, points redemption configuration), style configuration, sharing configuration, etc.
[0072] Step 104: determining configuration items corresponding to the target digital model template based on the target parameters input by the user on the parameter configuration interface.
[0073] Specifically, the parameter configuration interface displayed in step 103 includes multiple configuration items, each of which is provided with multiple parameters to be filled in. In this step 104, the target parameter is input on the parameter configuration interface, and the corresponding configuration item is found according to the position of the input target parameter.
[0074] In some examples, the target parameter includes a detail adjustment parameter and a background information parameter, and the configuration item includes a detail item and a background item. If the target parameter entered by the user on the parameter configuration interface is a detail adjustment parameter, then the configuration item corresponding to the target digital model template is determined to be a detail item, and the determining the configuration item corresponding to the target digital model template based on the target parameter entered by the user on the parameter configuration interface includes:
[0075] When the user inputs a target detail adjustment parameter on the parameter configuration interface, storing the target detail adjustment parameter in a first data structure corresponding to the detail item;
[0076] When the user inputs background information parameters on the parameter configuration interface, the background information parameters are stored in a second data structure corresponding to the background item.
[0077] In this solution, parameter configuration is divided into detail adjustment parameters and background information parameters. The position and content of the digital model instance are adjusted through the detail adjustment parameters, and the background image of the digital model instance is changed through the background information parameters. The digital model template is fully modified through the configuration items to obtain the corresponding digital model instance.
[0078] Step 105 : generating and displaying a preview of the digital model instance corresponding to the target digital model template according to the configuration items so that the user can adjust the target parameters in a visual manner.
[0079] Specifically, this step 105 is implemented after step 104 is implemented. After the configuration items are generated according to the target parameters in step 104, the generated configuration items are brought into the target digital model template to obtain the corresponding digital model instance. Then, the preview interface of the digital model instance is displayed for the user to view, so that the user can return to step 104 to readjust the target parameters to form new configuration items, and then regenerate a new digital model instance for preview. Until the user interrupts the cycle by inputting the configuration completion instruction or staying on the preview interface for a predetermined time in step 106, the adjusted configuration item is used as the target configuration item, and the digital model instance corresponding to the target configuration item is used as the target digital model instance.
[0080] In some examples, generating a target digital model instance based on the target configuration item and the target digital model template includes:
[0081] Substitute the detail reference parameters in the first data structure corresponding to the detail item into the target digital model, and substitute the background information parameters in the second data structure corresponding to the background information parameter into the target digital model to form the target digital model instance.
[0082] The detail reference parameters and background information parameters are stored separately to avoid information confusion between the two. The detail reference parameters are substituted into the target digital model template to modify its detail items, and the background information parameters are substituted into the target digital model template to modify its background items. The target digital model template with updated background items and detail items is used as the target digital model instance.
[0083] In some examples, the digital model template includes a collection activity template, a lottery activity template, a question answering activity template, and a voting activity template, and the background information parameter includes a background picture.
[0084] Step 106, receiving a configuration completion instruction from the user to confirm the target configuration item, generating a target digital model instance based on the target configuration item and the target digital model template, and then receiving a publishing instruction from the user to implement a publishing operation.
[0085] Specifically, the implementation of step 106 includes: S6-1, receiving the user's configuration completion instruction to confirm the target configuration item; S6-2, generating a target digital model instance based on the target configuration item and the target digital model template; S6-3, receiving the user's publishing instruction; S6-4, implementing the publishing of the target digital model instance and operating.
[0086] In S6-1 receiving the configuration completion instruction from the user, the configuration completion instruction is generated by the user confirming after the preview of the digital model instance corresponding to the target digital model template is displayed in step 105. That is, after receiving the configuration completion instruction from the user, step 105 directly executes step 106, rather than continuing to modify the target parameters and returning to step 104.
[0087] In S6-2, a target digital model instance is generated based on the target configuration items and the target digital model template, and its working process is the same as "generating and displaying a digital model instance corresponding to the target digital model template according to the configuration items" in step 105. Specifically, the detail reference parameters in the first data structure corresponding to the detail items are substituted into the target digital model template, and the background information parameters in the second data structure corresponding to the background information parameters are substituted into the target digital model template to form the target digital model instance. After the target configuration items are confirmed in S6-1 and no modifications are made, the target digital model instance is generated based on these target configuration items in combination with the target digital model template.
[0088] In S6-3, only after the target digital model instance is completed in step S6-2, the user's publishing instruction will be received, so that step S6-3 can be operated according to the instruction, that is, the target digital model instance is published and implemented.
[0089] In S6-4, the specific measures for the user to publish the target digital model instance can be various, and the publication is carried out according to the publication method specified in the user's publication instruction. For example, if the user's publication instruction is link publication, this S6-4 will generate a hyperlink based on the target digital model instance for the user to copy and spread.
[0090] In some examples, determining a plurality of different types of digital model templates based on the configuration file includes, after generating a target digital model instance based on the target configuration item and the target digital model template, the method further includes:
[0091] S6-5, determining a plurality of digital model templates based on the configuration file, and assigning the plurality of digital model templates to a fixed template set and a reference template set according to their types, wherein each type of digital model template in the fixed template set is a fixed template and cannot be changed, and each type of digital model template in the reference template set is a reference template and can be changed;
[0092] The usage rates of the reference templates of various types in the reference template set are periodically counted, and the reference templates with low usage rates are deleted according to the last-place elimination rule.
[0093] In this example, there are two types of digital model templates, namely a fixed template set and a reference template set. The fixed template set is usually a preset fixed template, while the reference template set is a set of various customized templates. In this case, it is set that before the user makes a target digital model template and publishes the target digital model instance corresponding to the target digital model template, the user can also store the target digital model template in the reference template set, so that later users can choose the template according to their own needs. This scheme expands the richness of the entire digital model template, making the digital model generation and publishing method more and more convenient when applied. In addition, in this case, considering that the data storage capacity of digital model templates will become larger and larger, in order to ensure the smooth operation of the system, the usage rate of each digital model template is counted according to the preset rules, and the last-place elimination is performed according to the type, so as to ensure that the use of commonly used digital model templates is not affected under the greatest circumstances.
[0094] Furthermore, the periodic statistics of usage rates of the reference templates of each type in the reference template set and the deletion of reference templates with low usage rates according to the last-in-first-out rule include: the reference templates periodically statistics the usage rates of the digital templates corresponding to each type, and / or, calculate the remaining space of the storage space corresponding to the reference templates, and when the remaining space is lower than a preset minimum space value, statistics the usage rates of the digital model templates corresponding to each type.
[0095] In this example, the usage rate can be counted periodically and the digital model templates with low usage rate in each category can be eliminated and deleted, or the digital model templates with low usage rate in each category can be eliminated and deleted when the remaining storage space is insufficient. Avoid the data volume of the digital model template being too large, occupying too much memory and reducing the overall operation efficiency of the method.
[0096] Furthermore, the usage rates of the reference templates of each type in the reference template set are periodically counted, and the reference templates with low usage rates are deleted according to the last-place elimination rule, including: sorting the digital model templates of each category according to the category and the number corresponding to the category, and the level of usage rate, and deleting the digital model templates that exceed the category corresponding number and have low usage rate. The category corresponding number corresponding to each category is preset by the staff and is set according to the daily work tendency of the enterprise.
[0097] In some examples, after step 105, step S6-2 may be performed after step S6-6 is performed. Specifically, after the preview display duration of the digital model instance corresponding to the target digital model template reaches the preset maximum adjustment duration, the target parameter is updated according to the parameter corresponding to the preview of the current digital model instance.
[0098] When the preview display time reaches the maximum adjustment time, it is directly set as the user confirming the configuration corresponding to the current digital model instance, that is, the configuration item corresponding to the preview of the digital model instance is used as the target configuration item, and the parameter corresponding to the preview of the current digital model instance updates the target parameter, and then implemented and released according to the user's instructions.
[0099] The step division of the above-mentioned various methods indicates that for the sake of clear description, they can be combined into one step or some steps can be split and decomposed into multiple steps during implementation. As long as they include the same logical relationship, they are all within the scope of protection of this patent. Adding insignificant modifications to the algorithm or process or introducing insignificant designs without changing the core design of the algorithm and process are all within the scope of protection of this patent.
[0100] Second implementation method:
[0101] The second embodiment of the present invention provides a digital model generation and publishing device, such as Figure 2 As shown, including:
[0102] A template generating unit 211 is used to determine a plurality of different types of digital model templates based on a configuration file;
[0103] The instance initialization unit 212 is used to receive a new information instruction from the user and then display a list of the multiple different types of digital model templates to the user for the user to select, and determine the target digital model template according to the user's selection instruction and display a parameter configuration interface associated with the target digital model template to the user, and determine the configuration items corresponding to the target digital model template based on the target parameters input by the user on the parameter configuration interface;
[0104] A configuration adjustment unit 213, configured to generate and display a preview of the digital model instance corresponding to the target digital model template according to the configuration item so that the user can adjust the target parameters in a visual manner;
[0105] The instance generation and publishing unit 214 is used to receive the user's configuration completion instruction to confirm the target configuration item, generate the target digital model instance based on the target configuration item and the target digital model template, and then receive the user's publishing instruction to implement the publishing operation.
[0106] According to the user's new creation instruction, multiple different types of digital model templates are displayed, and then the parameter configuration interface is displayed according to the target digital template selected by the user. The user modifies the corresponding configuration items of the parameter configuration interface through the target parameters, and generates an instance based on the modified configuration items. In this way, the user can adjust the target parameters while viewing the examples, realizing real-time interactive display and improving the accuracy of target parameter adjustment. After receiving the configuration completion instruction, the current configuration item is solidified as the target configuration item, and the corresponding target digital model instance is generated and published under the user's publishing instruction.
[0107] Further, if Figure 3 As shown, the configuration adjustment unit 213 includes a first display unit 2051 and a second display unit 2052 which can be displayed simultaneously in two areas that do not interfere with each other. The first display unit 2051 displays a digital model instance for the user to adjust the target parameters in a visual manner, and the second display unit 2052 displays a parameter configuration interface for the user to input the target parameters in the parameter configuration interface.
[0108] By adopting the above technical solution, the first display unit 2051 displays the digital model instance, and the second display unit 2052 displays the parameter configuration interface. The first display unit 2051 and the second display unit 2052 display simultaneously, so that the user can input the target parameters while viewing the configuration changes and modify the instance, which can effectively improve the user's work efficiency.
[0109] In a specific example, Figure 3 As shown, during the implementation, the configuration adjustment unit 213 is provided with a first display unit 2051 for viewing the digital model instance and a second display unit 2052 for displaying the parameter configuration interface. In the specific implementation, the first display unit 2051 and the second display unit 2052 can be displayed on the screen at the same time, and the left side of the screen display screen is the display area of the first display unit 2051, and the right side of the screen is the display area of the second display unit 2052.
[0110] The display area of the first display unit 2051 is provided with a plurality of displayable sub-areas, each of which has its own unique number, for example, the unique number of the title area is 1, and the unique number of the overall introduction area is 2. The display area of the second display unit 2052 is also provided with a plurality of editable sub-areas, each of which has a unique fixed number, which is synchronized with the unique number of the displayable sub-area in the first display unit 2051, that is, the content displayed in the displayable sub-area in the first display unit 2051 is determined by the editable sub-area in the second display unit 2052.
[0111] A detailed example is as follows: the user views the display area that needs to be modified / edited at the first display unit 2051 on the left, and learns the unique numbers "1" and "3" in all the displayable sub-areas in the display area, and then views the editable sub-areas with fixed numbers corresponding to the unique numbers "1" and "3" in the second display unit 2052 displayed synchronously on the right, and modifies the corresponding detail reference parameters (including the detail reference parameter "title" with a fixed number "1", and the detail reference parameter "Project A Introduction" with a fixed number "3") and background parameters (including the background information parameter "background image" with a fixed number "1", and the background information parameter "background image" with a fixed number "3") in the editable sub-area to achieve the modification of the target parameters. As the user modifies the content of the editable sub-area in the second display unit 2052, the first display unit 2051 will also synchronously update and display the latest digital model instance at a preset frequency (displaying the digital model instances corresponding to all the target parameters in the editable sub-areas in the second display unit 2052 in the displayable sub-area).
[0112] Third embodiment:
[0113] The third embodiment of the present invention also provides a computer-readable storage medium, on which a computer program that can be run on a processor is stored. When the computer program is executed by the processor, the digital model generation and publishing method as described in any one of the above items is implemented.
[0114] It should be noted that, in this article, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a..." does not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved. For example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0115] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present application.
[0116] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. A method for generating and publishing a digital model, characterized in that: The method comprises: Determine multiple different types of digital model templates based on the configuration file; Receiving a new information instruction from a user and then displaying a list of the plurality of different types of digital model templates to the user for selection by the user; Determine the target digital model template according to the user's selection instruction and display a parameter configuration interface associated with the target digital model template to the user; Determine the configuration items corresponding to the target digital model template based on the target parameters input by the user on the parameter configuration interface; Generate and display a preview of the digital model instance corresponding to the target digital model template according to the configuration item so that the user can adjust the target parameters in a visual manner; Receive a configuration completion instruction from a user to confirm a target configuration item, generate a target digital model instance based on the target configuration item and the target digital model template, and then receive a publishing instruction from the user to implement a publishing operation; The generating and displaying a preview of the digital model instance corresponding to the target digital model template according to the configuration item so that the user can adjust the target parameter in a visual manner includes: After the preview display time of the digital model instance corresponding to the target digital model template reaches a preset maximum adjustment time, updating the target parameter according to the parameter corresponding to the current preview of the digital model instance; The target parameters include detail adjustment parameters and background information parameters, the configuration items include detail items and background items, and the configuration items corresponding to the target digital model template are determined based on the target parameters input by the user on the parameter configuration interface, including: When the user inputs a target detail adjustment parameter on the parameter configuration interface, storing the target detail adjustment parameter in a first data structure corresponding to the detail item; When the user inputs background information parameters on the parameter configuration interface, storing the background information parameters in a second data structure corresponding to the background item; The generating a target digital model instance based on the target configuration item and the target digital model template includes: Substitute the detail reference parameters in the first data structure corresponding to the detail item into the target digital model template, and substitute the background information parameters in the second data structure corresponding to the background information parameter into the target digital model template to form the target digital model instance.
2. The digital model generation and publishing method according to claim 1, characterized in that: The determining of a plurality of different types of digital model templates based on the configuration file includes generating a target digital model instance based on the target configuration item and the target digital model template, and the method further includes: Determine a plurality of digital model templates based on the configuration file, and allocate the plurality of digital model templates to a fixed template set and a reference template set according to their types, wherein each type of digital model template in the fixed template set is a fixed template and cannot be changed, and each type of digital model template in the reference template set is a reference template and can be changed; The usage rates of the reference templates of various types in the reference template set are periodically counted, and the reference templates with low usage rates are deleted according to the last-place elimination rule.
3. The method for generating and publishing a digital model according to claim 2, characterized in that: The periodic counting of usage rates of the reference templates of each type in the reference template set and deleting the reference templates with low usage rates according to the last-place elimination rule includes: Periodically counting the usage rate of digital templates corresponding to each type, and / or calculating the remaining space of the storage space corresponding to the reference template, and counting the usage rate of digital model templates corresponding to each type when the remaining space is lower than a preset minimum space value.
4. The method for generating and publishing a digital model according to claim 1, characterized in that: The receiving of a new information instruction from a user and then displaying a list of a plurality of different types of digital model templates to the user for selection by the user comprises: Receive new information instructions from users; The user identity information in the new information instruction is extracted, and when the user identity information is consistent with any one of the preset authority identity information, a list of the multiple different types of digital model templates is displayed to the user for the user to select.
5. The digital model generation and publishing method according to claim 1, characterized in that: The digital model templates include a collection activity template, a lottery activity template, a question answering activity template, and a voting activity template, and the background information parameters include a background picture.
6. A digital model generation and publishing device, characterized in that: The device comprises: A template generation unit, used for determining a plurality of different types of digital model templates based on a configuration file; An instance initialization unit, configured to receive a new information instruction from a user and then display a list of the plurality of different types of digital model templates to the user for selection by the user, determine a target digital model template according to the user's selection instruction and display a parameter configuration interface associated with the target digital model template to the user, and determine a configuration item corresponding to the target digital model template based on the target parameter input by the user on the parameter configuration interface; A configuration adjustment unit, configured to generate and display a preview of the digital model instance corresponding to the target digital model template according to the configuration item so that the user can adjust the target parameter in a visual manner; An instance generation and publishing unit, configured to receive a configuration completion instruction from a user to confirm a target configuration item, generate a target digital model instance based on the target configuration item and the target digital model template, and subsequently receive a publishing instruction from a user to implement a publishing operation; The generating and displaying a preview of the digital model instance corresponding to the target digital model template according to the configuration item so that the user can adjust the target parameter in a visual manner includes: After the preview display time of the digital model instance corresponding to the target digital model template reaches a preset maximum adjustment time, updating the target parameter according to the parameter corresponding to the current preview of the digital model instance; The target parameters include detail adjustment parameters and background information parameters, the configuration items include detail items and background items, and the configuration items corresponding to the target digital model template are determined based on the target parameters input by the user on the parameter configuration interface, including: When the user inputs a target detail adjustment parameter on the parameter configuration interface, storing the target detail adjustment parameter in a first data structure corresponding to the detail item; When the user inputs background information parameters on the parameter configuration interface, storing the background information parameters in a second data structure corresponding to the background item; The generating a target digital model instance based on the target configuration item and the target digital model template includes: Substitute the detail reference parameters in the first data structure corresponding to the detail item into the target digital model template, and substitute the background information parameters in the second data structure corresponding to the background information parameter into the target digital model template to form the target digital model instance.
7. A computer-readable storage medium having stored thereon a computer program that can be run on a processor, characterized in that: When the computer program is executed by the processor, the digital model generation and publishing method according to any one of claims 1 to 5 is implemented.
