Small program publishing method and device, storage medium and program product

By obtaining development requirements information and adapted mini-program templates, formatting and reorganizing configuration information, the complex and error-prone problems of existing technology mini-program configurations are solved, and the efficient and accurate release of mini-programs is achieved.

CN120010902APending Publication Date: 2025-05-16BEIJING 58 INFORMATION TTECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510125437.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-26
Publication Date
2025-05-16

AI Technical Summary

Technical Problem

In the prior art, by adding developer-defined configuration information to the preset applet template to develop matrix applets, the configuration information is displayed in string form. Developers need to make complex string modifications, which often leads to configuration errors and cannot accurately and quickly publish matrix applets.

Method used

Provide a method for publishing small programs, which can obtain the adapted target small program templates and configuration information by obtaining development requirements, format the configuration information, display it to users, and reorganize the configuration information according to the template selected by the user to complete the release of the mini program matrix.

Benefits of technology

Through this method, users can efficiently and accurately configure parameters, reduce manual operations, and reduce the possibility of configuration errors, thereby achieving accurate and rapid release of applets.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120010902A_ABST
    Figure CN120010902A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides an applet publishing method and device, a storage medium and a program product. In the method, development demand information of an applet matrix can be obtained; obtaining a target applet template and multiple pieces of first configuration information according to the development demand information; any one piece of first configuration information in the multiple pieces of first configuration information is formatted into second configuration information in a target format, and the second configuration information and multiple preset parameter templates are displayed to the user; in response to the template selection operation, performing parameter recombination on the second configuration information according to a target template selected by the user to obtain third configuration information; performing parameter configuration on the target applet template by utilizing third configuration information to obtain any target applet in the applet matrix; and issuing any target applet to the target platform. Through the mode, the user can efficiently and accurately configure the configuration parameters, so that the applet is efficiently and accurately published to the target platform.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of Internet technology, and in particular to a method, device, storage medium and program product for publishing a small program. Background Art

[0002] Matrix Mini Program refers to a Mini Program cluster. Multiple Mini Programs in a Mini Program cluster are usually developed, released, and operated in a unified management mode. They are usually used within enterprises or organizations to achieve efficient management and collaboration of Mini Programs in multiple business lines and scenarios.

[0003] Developers of service providers can develop matrix mini-programs on third-party publishing platforms for users who have mini-program development needs. The third-party publishing platform is the management backend used by service providers. Users can report their matrix mini-program development needs to the third-party publishing platform. Developers can develop each mini-program that meets user needs on the third-party publishing platform and publish it on the mini-program platform.

[0004] In the prior art, different configuration information customized by the developer is added to the preset applet template to obtain different applet based on the applet template, and these different applet based on the same applet template are matrix applet. However, the configuration information is usually displayed in the form of a string for the developer to customize and modify. When the developer customizes and modifies the configuration information, it is also necessary to perform complex modifications on a large number of strings, and a large number of manual operations are required during the modification process, such as copying and pasting, which often leads to configuration errors, causing problems such as applet data anomalies or white screens, and thus it is impossible to publish the matrix applet more accurately and quickly. Summary of the invention

[0005] Multiple aspects of the present application provide a method, device, storage medium and program product for publishing a mini-program more accurately and quickly.

[0006] An embodiment of the present application provides a method for publishing mini-programs, including: obtaining development requirement information of a mini-program matrix to be developed; the development requirement information is at least used to describe the scenario attributes of the mini-program matrix; according to the development requirement information, obtaining a target mini-program template and multiple first configuration information adapted to the mini-program matrix; wherein different configuration information is used to configure the target mini-program template to obtain different mini-programs to form the mini-program matrix; formatting any one of the multiple first configuration information into second configuration information in a target format, and displaying the second configuration information and multiple preset parameter templates to the user; in response to a template selection operation, reorganizing the parameters of the second configuration information according to the target template selected by the user to obtain third configuration information; using the third configuration information to configure the parameters of the target mini-program template to obtain any one of the target mini-programs in the mini-program matrix; publishing any one of the target mini-programs to a target platform.

[0007] Further optionally, based on the development requirement information, a target mini-program template adapted to the mini-program matrix is ​​obtained, including: selecting a target mini-program template matching the development requirement information from a plurality of mini-program templates adapted to different service scenarios; or, inputting the development requirement information into a pre-trained template generation model to generate a target mini-program template matching the development requirement information based on the development requirement information; or, based on the development requirement information, selecting multiple candidate mini-program templates from a plurality of mini-program templates adapted to different service scenarios, and displaying the multiple candidate mini-program templates to the user; in response to the user's template selection operation, using the candidate mini-program template selected by the user as the target mini-program template adapted to the mini-program matrix.

[0008] Further optionally, obtaining multiple first configuration information adapted to the mini-program matrix includes: using preset default configuration information as the multiple first configuration information; or, in response to the user's configuration operation, using the initial configuration information configured by the user as the multiple first configuration information.

[0009] Further optionally, different parameter templates have different parameter arrangement methods, and specify different target parameter types and parameter values; any parameter template specifies at least one target parameter type; in response to a template selection operation, the second configuration information is parameter-reorganized according to the target template selected by the user to obtain third configuration information, including: parsing the second configuration information into information segments corresponding to multiple parameter types; according to the target parameter type specified by the target template, extracting multiple target information segments with the target parameter type from the information segments corresponding to the multiple parameter types; according to the target parameter type specified by the target template, integrating the multiple target information segments to obtain the third configuration information.

[0010] Further optionally, it also includes: based on the development requirement information, displaying preview information of the mini-program matrix in the mini-program release list; the preview information includes the matrix name and / or matrix icon; displaying preview information and a retrieval control of the target mini-program template in the mini-program release list; the retrieval control is used to display detailed information of the target mini-program template in response to the user's trigger operation.

[0011] Further optionally, after obtaining multiple first configuration information adapted to the mini-program matrix, it also includes: generating preview information of any target mini-program according to any of the first configuration information; and displaying the preview information of any of the target mini-programs in the mini-program release list.

[0012] Further optionally, the third configuration information is used to perform parameter configuration on the target mini-program template to obtain any target mini-program in the mini-program matrix, including: visualizing the first parameter in any first configuration information and the second parameter in the third configuration information on a parameter comparison page; visualizing the difference between the first parameter and the second parameter on the parameter comparison page for the user to check the configuration information modification result; in response to the user's confirmation operation, the third configuration information is used to perform parameter configuration on the target mini-program template to obtain any target mini-program in the mini-program matrix.

[0013] An embodiment of the present application also provides a terminal device, comprising: a memory and a processor; wherein the memory is used to: store one or more computer instructions; the processor is used to execute the one or more computer instructions to: execute the steps in the mini-program publishing method.

[0014] An embodiment of the present application also provides a computer-readable storage medium, which, when the computer program is executed by a processor, enables the processor to implement the steps in the mini-program publishing method.

[0015] An embodiment of the present application also provides a computer program product, including a computer program / instruction. When the computer program / instruction is executed by a processor, the processor is enabled to implement the steps in the mini-program publishing method.

[0016] In this embodiment, the development requirement information of the mini-program matrix can be obtained; the target mini-program template and multiple first configuration information can be obtained according to the development requirement information; any one of the multiple first configuration information can be formatted into second configuration information in the target format, and the second configuration information and multiple preset parameter templates can be displayed to the user; in response to the template selection operation, the second configuration information is parameterized according to the target template selected by the user to obtain the third configuration information; the target mini-program template is parameterized using the third configuration information to obtain any one of the target mini-programs in the mini-program matrix; any one of the target mini-programs is published to the target platform. In this way, users can configure the configuration parameters more efficiently and accurately, so that the mini-program can be published to the target platform more efficiently and accurately. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0018] Figure 1 A flowchart of a method for publishing a mini-program provided as an exemplary embodiment of the present application;

[0019] Figure 2 A schematic diagram of an electronic device provided by an exemplary embodiment of the present application. DETAILED DESCRIPTION

[0020] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in combination with the specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.

[0021] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and provide corresponding operation portals for users to choose to authorize or refuse. In addition, the various models involved in this application (including but not limited to language models or large models) are in compliance with relevant laws and standards.

[0022] In an embodiment of the present application, a matrix applet (i.e., a mini-program matrix) refers to a mini-program cluster, in which multiple mini-programs are usually developed, released, and maintained in a unified management mode, and are usually used within an enterprise or organization to achieve efficient management and collaboration of mini-programs in multiple business lines and multiple scenarios. Developers of a service provider can develop matrix applet on a third-party publishing platform for users who have mini-program development needs. Among them, the third-party publishing platform is the management backend used by the service provider. Users can report their matrix applet development needs to the third-party publishing platform. Developers can develop each applet that meets user needs on the third-party publishing platform and publish it on the mini-program platform.

[0023] In the prior art, different configuration information customized by the developer is added to the preset applet template to obtain different applet based on the applet template, and these different applet based on the same applet template are matrix applet. However, the configuration information is usually displayed in the form of a string for the developer to customize and modify. When the developer customizes and modifies the configuration information, it is also necessary to perform complex modifications on a large number of strings, and a large number of manual operations are required during the modification process, such as copying and pasting, which often leads to configuration errors, causing problems such as applet data anomalies or white screens, and thus it is impossible to publish the matrix applet more accurately and quickly.

[0024] In view of the above technical problems, a technical solution is provided in the embodiments of the present application, which is used to publish the mini program to the target platform more efficiently and accurately. The technical solutions provided by the embodiments of the present application are described in detail below in conjunction with the accompanying drawings.

[0025] Figure 1 The mini-program publishing method provided by the exemplary embodiment of the present application is as follows: Figure 1 As shown, the method may include the following steps:

[0026] Step 11: Obtain development requirement information of the mini-program matrix to be developed; the development requirement information is at least used to describe the scenario attributes of the mini-program matrix.

[0027] Step 12: According to the development requirement information, obtain a target applet template and multiple first configuration information that are compatible with the applet matrix; wherein different configuration information is used to configure the target applet template to obtain different applet to form a applet matrix.

[0028] Step 13: Format any one of the plurality of first configuration information into second configuration information in a target format, and display the second configuration information and a plurality of preset parameter templates to the user.

[0029] Step 14: In response to the template selection operation, the second configuration information is reorganized according to the target template selected by the user to obtain third configuration information.

[0030] Step 15: Use the third configuration information to configure parameters of the target mini-program template to obtain any target mini-program in the mini-program matrix.

[0031] Step 16: Publish any target applet to the target platform.

[0032] This embodiment can be applicable to a mini-program publishing platform. The mini-program publishing platform can be deployed on a server or on a terminal device. The terminal device can be a mobile phone, a tablet computer, or a computer, etc. This embodiment does not impose any restrictions.

[0033] In this embodiment, the development requirement information can be used to at least describe the scenario attributes of the mini program matrix, and the scenario attributes are used to describe the application scenarios or business lines of the mini program matrix, such as takeaway scenarios, online shopping scenarios, housekeeping scenarios, etc., and for example, housekeeping business lines or online shopping business lines, etc., which are not limited in this embodiment. The development requirement information may include: scenario type, scenario name or other configuration items, etc., which are not limited in this embodiment.

[0034] Afterwards, a target applet template and a plurality of first configuration information adapted to the applet matrix may be obtained according to the development requirement information. Different applet templates may be applicable to different application scenarios or business lines. The applet template may be understood as the framework of the applet, which needs to be further combined with relevant configuration information to form an applet.

[0035] Among them, different configuration information is used to configure the target mini-program template to obtain different mini-programs to form a mini-program matrix. For example, there are five configuration information, namely configuration information L1-configuration information L5. The target mini-program template is configured using configuration information L1-configuration information L5, and five mini-programs, namely mini-program K1-mini-program K5, can be obtained respectively. These five mini-programs can form a mini-program matrix in a specific scenario. Among them, different mini-programs in the mini-program matrix can be used to provide different services in the corresponding scenarios of the mini-program matrix, and can also provide differentiated services for different users, which is not limited in this embodiment.

[0036] The first configuration information mentioned above can be understood as an initial configuration information that has not been modified by the user. The first configuration information is usually in the form of a complex string, which is usually not conducive to user customized editing and does not meet the requirements of mini-program generation.

[0037] Based on the above steps, any one of the multiple first configuration information can be formatted into the second configuration information of the target format, and the second configuration information and the preset multiple parameter templates can be displayed to the user. Among them, the target format can be set to any format according to the actual needs of the user, and the present embodiment does not limit it. For example, centering or left-aligning, for example, wrapping after each preset special identifier, and so on. Special identifiers can be semicolons or special characters, and so on, and the present embodiment does not limit it. Optionally, any one of the first configuration information can be formatted into the second configuration information of the target format using a specified formatting function. When formatting, the formatted data can be checked in real time to see if it meets the specifications. If it does not meet the specifications, the number of error lines and other specific error information can be prompted to the user.

[0038] Among them, different parameter templates have different parameter arrangements, and specify different target parameter types and parameter values. Any parameter template specifies at least one target parameter type. Among them, the parameter type may include at least one of the following: mini program name, business style, theme color, AppID (Application Identifier), login source, embedding configuration, search box keywords, login status, positioning configuration, protocol subject name and address, etc. Taking the login status as an example, the parameter value under this type can be 1 (logged in) or 0 (not logged in).

[0039] After that, the user can select a corresponding template. Correspondingly, the second configuration information can be reorganized according to the target template selected by the user in response to the template selection operation to obtain the third configuration information. In this way, the user does not need to edit complex strings, and the configuration information can be configured based on the template, which is more efficient and accurate.

[0040] The third configuration information is used to configure the parameters of the target mini-program template to obtain any target mini-program in the mini-program matrix, thereby publishing any target mini-program to the target platform.

[0041] In this embodiment, the development requirement information of the mini-program matrix can be obtained; the target mini-program template and multiple first configuration information can be obtained according to the development requirement information; any one of the multiple first configuration information can be formatted into second configuration information in the target format, and the second configuration information and multiple preset parameter templates can be displayed to the user; in response to the template selection operation, the second configuration information is parameterized according to the target template selected by the user to obtain the third configuration information; the target mini-program template is parameterized using the third configuration information to obtain any one of the target mini-programs in the mini-program matrix; any one of the target mini-programs is published to the target platform. In this way, users can configure the configuration parameters more efficiently and accurately, so that the mini-program can be published to the target platform more efficiently and accurately.

[0042] In some optional embodiments, when acquiring a target mini-program template adapted to the mini-program matrix according to development requirement information, it can be implemented based on the following implementation methods:

[0043] Implementation method 1: Select a target mini-program template that matches the development requirement information from a variety of mini-program templates adapted to different service scenarios.

[0044] Implementation method 2: input the development requirement information into a pre-trained template generation model to generate a target mini-program template that matches the development requirement information according to the development requirement information. The template generation model may include a feature extraction layer and a template generation layer; the feature extraction layer may extract features from the development requirement information to obtain target features, and the template generation layer may generate a target mini-program template that matches the development requirement information based on the target features.

[0045] The template generation model can be trained based on the following methods: obtaining sample development requirement information and sample applet templates;

[0046] The sample development requirement information and the sample mini-program template are input into the preset template generation network. Under the supervision of the sample mini-program template, the sample generation network is trained with the sample development requirement information, with the goal of converging the loss function of the template generation network to the target range, to obtain a sample generation model. Among them, the loss function is used to calculate the error between the mini-program template generated by the template generation network based on the sample development requirement information and the sample mini-program template.

[0047] Implementation method three: based on development requirement information, select multiple candidate mini-program templates from a variety of mini-program templates adapted to different service scenarios, and display multiple candidate mini-program templates to users; in response to the user's template selection operation, use the candidate mini-program template selected by the user as the target mini-program template adapted to the mini-program matrix.

[0048] The above-mentioned various implementations can be executed separately or in combination, and this embodiment does not limit it. Through the above-mentioned various implementations, the target mini-program template adapted to the mini-program matrix can be obtained more accurately.

[0049] In some optional embodiments, when obtaining multiple first configuration information adapted to the mini-program matrix, the preset default configuration information may be used as multiple first configuration information; or, in response to the user's configuration operation, the initial configuration information configured by the user may be used as multiple first configuration information, which is not limited in this embodiment.

[0050] In some optional embodiments, different parameter templates have different parameter arrangements, and specify different target parameter types and parameter values; any parameter template specifies at least one target parameter type.

[0051] Based on this, step 14 of the aforementioned embodiment, "responding to the template selection operation, reorganizing the parameters of the second configuration information according to the target template selected by the user to obtain the third configuration information", can be implemented based on the following steps 141 to 143:

[0052] Step 141: parse the second configuration information into information segments corresponding to multiple parameter types. For example, the second configuration information can be parsed into the following multiple information segments: information segment H1 corresponding to the mini-program name type, information segment H2 corresponding to the search box keyword type, and information segment H3 corresponding to the login status type. In other words, this step aims to: split the second configuration information according to the parameter type, so as to obtain information segments corresponding to multiple parameter types.

[0053] Step 142: extract multiple target information segments of the target parameter type from the information segments corresponding to the multiple parameter types according to the target parameter type specified by the target template. The target parameter type specified by the target template may be one or more types, which is not limited in this embodiment.

[0054] Continuing with the above example, the target template specifies two target parameter types: mini-program name type and search box keyword type. Then, the information segment H1 with the parameter type of mini-program name type and the information segment H2 with the parameter type of search box keyword type can be extracted from the information segments H1, H2 and H3 as target information segments.

[0055] Step 143: Integrate multiple target information segments according to the parameter arrangement of the target template to obtain third configuration information. The parameter arrangement can be used to limit the arrangement order and arrangement position of each target information segment, for example, a certain target information segment is located in front of another target information segment.

[0056] In this way, the parameters of the second configuration information can be reorganized more efficiently to obtain the third configuration information, and the setting of the configuration information can be completed without the user having to perform manual custom editing.

[0057] Optionally, after obtaining the third configuration information, the third configuration information may be compressed and submitted. When submitting, the compressed third configuration information may be bound to the identification number of the target template, and the data of the mini-program release list may be synchronously updated.

[0058] In this embodiment, information visualization can also be performed based on the following method so that users can perceive the mini-program publishing process based on the visualization results, which will be described in detail below.

[0059] In some optional embodiments, preview information of the mini-program matrix may also be displayed in the mini-program release list based on development requirement information; the preview information may include at least one of a matrix name and a matrix icon.

[0060] Correspondingly, the preview information and search control of the target mini program template can also be displayed in the mini program release list. The search control can be used to display the detailed information of the target mini program template in response to the user's trigger operation. The preview information of the target mini program template can be at least one of the template name and the template icon. The preview information of the target mini program template may include at least one of the template identification number, the version name of the template, the description information of the template, the creator and the creation time, so that the user can trace the mini program version based on the search control.

[0061] In some optional embodiments, after obtaining multiple first configuration information adapted to the mini-program matrix, preview information of any target mini-program may be generated according to any first configuration information; and the preview information of any target mini-program may be displayed in the mini-program release list. The preview information of the target mini-program may include at least one of the mini-program name and the mini-program icon.

[0062] In some optional embodiments, when the target mini-program template is configured with parameters using the third configuration information and any target mini-program in the mini-program matrix is ​​obtained, the first parameter in any first configuration information and the second parameter in the third configuration information can be visualized on a parameter comparison page; the difference between the first parameter and the second parameter is visualized on the parameter comparison page for the user to check the configuration information modification results.

[0063] Afterwards, in response to the user's confirmation operation, the third configuration information can be used to configure the parameters of the target mini-program template to obtain any target mini-program in the mini-program matrix.

[0064] In this way, users can check the configuration information modification results more efficiently through differential comparison, so as to generate the mini program more accurately, thereby reducing the failure rate of mini program release.

[0065] In some optional embodiments, publishing any target mini program to the target platform may include the following process: the target mini program is reviewed, and the target mini program can be successfully published after the target platform passes the review. This embodiment does not limit the type of target platform, which can be a short video platform or any other platform. After publishing any target mini program to the target platform, a search control for the published target mini program can also be generated, and in response to the user's trigger operation, the detailed information of the published target mini program, template ID, version name, description, creator, and creation time are displayed.

[0066] In some optional embodiments, the published target mini program may be referred to as an online version mini program, and the target mini program before publication may be referred to as a trial version mini program. After any target mini program is published to the target platform, the configuration information of the online version mini program may be generated and compared with the configuration information of the trial version mini program, so as to further ensure that the configuration information is accurate.

[0067] It should be noted that the execution subject of each step of the method provided in the above embodiment can be the same device, or the method can be executed by different devices. For example, the execution subject of steps 11 to 16 can be device A; for another example, the execution subject of steps 11 to 13 can be device A, and the execution subject of steps 14 to 16 can be device B; and so on.

[0068] In addition, in some of the processes described in the above embodiments and the accompanying drawings, multiple operations appearing in a specific order are included, but it should be clearly understood that these operations may not be executed in the order in which they appear in this document or may be executed in parallel, and the sequence numbers of the operations, such as 12, 13, etc., are only used to distinguish between different operations, and the sequence numbers themselves do not represent any execution order. In addition, these processes may include more or fewer operations, and these operations may be executed in sequence or in parallel.

[0069] It should be noted that the descriptions such as “first” and “second” in this article are used to distinguish different messages, devices, modules, etc., and do not represent the order of precedence, nor do they limit “first” and “second” to different types.

[0070] Figure 2 is a schematic diagram of the structure of an electronic device provided by an exemplary embodiment of the present application, and the electronic device is applicable to the small program publishing method provided by the aforementioned embodiment, such as Figure 2As shown, the electronic device may include: a memory 201 , a processor 202 and a communication component 303 .

[0071] The memory 201 is used to store computer programs and can be configured to store various other data to support operations on the electronic device. Examples of such data include instructions for any application or method operating on the electronic device, contact data, phone book data, messages, pictures, videos, etc.

[0072] In some exemplary embodiments, the processor 202 is coupled to the memory 201 and is used to execute a computer program in the memory 201 to: obtain development requirement information of a mini-program matrix to be developed; the development requirement information is at least used to describe the scenario attributes of the mini-program matrix; according to the development requirement information, obtain a target mini-program template and multiple first configuration information adapted to the mini-program matrix; wherein different configuration information is used to configure the target mini-program template to obtain different mini-programs to form the mini-program matrix; format any first configuration information among the multiple first configuration information into second configuration information in a target format, and display the second configuration information and multiple preset parameter templates to the user; in response to a template selection operation, reorganize the parameters of the second configuration information according to the target template selected by the user to obtain third configuration information; use the third configuration information to configure the parameters of the target mini-program template to obtain any target mini-program in the mini-program matrix; publish any target mini-program to the target platform.

[0073] Further optionally, when the processor 202 obtains the target mini-program template adapted to the mini-program matrix based on the development requirement information, it is specifically used to: select the target mini-program template that matches the development requirement information from a plurality of mini-program templates adapted to different service scenarios; or, input the development requirement information into a pre-trained template generation model to generate a target mini-program template that matches the development requirement information based on the development requirement information; or, based on the development requirement information, select multiple candidate mini-program templates from a plurality of mini-program templates adapted to different service scenarios, and display the multiple candidate mini-program templates to the user; in response to the user's template selection operation, use the candidate mini-program template selected by the user as the target mini-program template adapted to the mini-program matrix.

[0074] Further optionally, when the processor 202 obtains multiple first configuration information adapted to the mini-program matrix, it is specifically used to: use the preset default configuration information as the multiple first configuration information; or, in response to the user's configuration operation, use the initial configuration information configured by the user as the multiple first configuration information.

[0075] Further optionally, different parameter templates have different parameter arrangement methods, and specify different target parameter types and parameter values; any parameter template specifies at least one target parameter type; the processor 202 responds to the template selection operation, and reorganizes the parameters of the second configuration information according to the target template selected by the user, and when obtaining the third configuration information, it is specifically used to: parse the second configuration information into information segments corresponding to multiple parameter types; according to the target parameter type specified by the target template, extract multiple target information segments with the parameter type of the target parameter type from the information segments corresponding to the multiple parameter types; according to the target parameter type specified by the target template, integrate the multiple target information segments according to the parameter arrangement method of the target template to obtain the third configuration information.

[0076] Further optionally, the processor 202 is also used to: display preview information of the mini-program matrix in the mini-program release list according to the development requirement information; the preview information includes the matrix name and / or the matrix icon; display preview information and a retrieval control of the target mini-program template in the mini-program release list; the retrieval control is used to display detailed information of the target mini-program template in response to the user's trigger operation.

[0077] Further optionally, after the processor 202 obtains multiple first configuration information adapted to the mini-program matrix, it is also used to: generate preview information of any target mini-program according to any of the first configuration information; and display the preview information of any of the target mini-programs in the mini-program release list.

[0078] Further optionally, when the processor 202 uses the third configuration information to perform parameter configuration on the target mini-program template to obtain any target mini-program in the mini-program matrix, it is specifically used to: visualize the first parameter in any first configuration information and the second parameter in the third configuration information on a parameter comparison page; visualize the difference between the first parameter and the second parameter on the parameter comparison page for the user to check the configuration information modification result; in response to the user's confirmation operation, use the third configuration information to perform parameter configuration on the target mini-program template to obtain any target mini-program in the mini-program matrix.

[0079] Further, if Figure 2 As shown, the electronic device also includes: a display 204, a power component 205, an audio component 206 and other components. Figure 2 Only some components are shown schematically, which does not mean that the electronic device only includes Figure 2 Components shown.

[0080] An embodiment of the present application also provides a computer-readable storage medium, which, when the computer program is executed by a processor, enables the processor to implement the steps in the mini-program publishing method.

[0081] An embodiment of the present application also provides a computer program product, including a computer program / instruction. When the computer program / instruction is executed by a processor, the steps in the mini-program publishing method are executed.

[0082] In this embodiment, the development requirement information of the mini-program matrix can be obtained; the target mini-program template and multiple first configuration information can be obtained according to the development requirement information; any one of the multiple first configuration information can be formatted into second configuration information in the target format, and the second configuration information and multiple preset parameter templates can be displayed to the user; in response to the template selection operation, the second configuration information is parameterized according to the target template selected by the user to obtain the third configuration information; the target mini-program template is parameterized using the third configuration information to obtain any one of the target mini-programs in the mini-program matrix; any one of the target mini-programs is published to the target platform. In this way, users can configure the configuration parameters more efficiently and accurately, so that the mini-program can be published to the target platform more efficiently and accurately.

[0083] The above-mentioned memory can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable programmable read only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk or optical disk.

[0084] The above-mentioned communication component is configured to facilitate wired or wireless communication between the device where the communication component is located and other devices. The device where the communication component is located can access a wireless network based on a communication standard, such as WiFi, 2G, 3G, 4G / LTE, 5G and other mobile communication networks, or a combination thereof. In an exemplary embodiment, the communication component receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be based on Radio Frequency Identification (RFID) technology, Infrared Data Association (IrDA) technology, Ultra Wide Band (UWB) technology, Bluetooth (BT) technology and other technologies.

[0085] The above-mentioned display includes a screen, and the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation.

[0086] The power supply assembly provides power to various components of the device where the power supply assembly is located. The power supply assembly may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the device where the power supply assembly is located.

[0087] The above-mentioned audio component can be configured to output and / or input audio signals. For example, the audio component includes a microphone (Microphone, MIC), and when the device where the audio component is located is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in a memory or sent via a communication component. In some embodiments, the audio component also includes a speaker for outputting an audio signal.

[0088] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-readable storage media (including but not limited to disk storage, compact disc read-only memory (Compact Disc Read-Only Memory, CD-ROM), optical storage, etc.) containing computer-usable program code.

[0089] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0090] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0091] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0092] In a typical configuration, a computing device includes one or more processors (Central Processing Unit, CPU), input / output interface, network interface and memory.

[0093] Memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.

[0094] Computer readable media include permanent and non-permanent, removable and non-removable media that can be used to store information by any method or technology. Information can be computer-readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase-change random access memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, read-only compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0095] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0096] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.

Claims

1. A method for publishing a mini program, characterized in that: include: Obtain development requirement information for the mini-program matrix to be developed; The development requirement information is at least used to describe the scene attributes of the mini-program matrix; According to the development requirement information, a target applet template adapted to the applet matrix and a plurality of first configuration information are acquired; wherein different configuration information is used to configure the target applet template to obtain different applet to form the applet matrix; Formatting any one of the plurality of first configuration information into second configuration information in a target format, and displaying the second configuration information and a plurality of preset parameter templates to a user; In response to the template selection operation, the second configuration information is reorganized according to the target template selected by the user to obtain third configuration information; Perform parameter configuration on the target mini-program template using the third configuration information to obtain any target mini-program in the mini-program matrix; Publish any of the target mini-programs to the target platform.

2. The method according to claim 1, characterized in that According to the development requirement information, a target mini-program template adapted to the mini-program matrix is ​​obtained, including: Selecting a target mini-program template that matches the development requirement information from a variety of mini-program templates adapted to different service scenarios; or, Inputting the development requirement information into a pre-trained template generation model to generate a target applet template matching the development requirement information according to the development requirement information; or, According to the development requirement information, multiple candidate mini-program templates are selected from a variety of mini-program templates adapted to different service scenarios, and the multiple candidate mini-program templates are displayed to the user; in response to the user's template selection operation, the candidate mini-program template selected by the user is used as the target mini-program template adapted to the mini-program matrix.

3. The method according to claim 2, characterized in that Acquiring a plurality of first configuration information adapted to the mini-program matrix, including: The preset default configuration information is used as the multiple first configuration information; or, in response to the configuration operation of the user, the initial configuration information configured by the user is used as the multiple first configuration information.

4. The method according to claim 1, characterized in that: Different parameter templates have different parameter arrangements and specify different target parameter types and parameter values. Any parameter template specifies at least one target parameter type. In response to the template selection operation, the second configuration information is reorganized according to the target template selected by the user to obtain third configuration information, including: Parsing the second configuration information into information segments corresponding to respective parameter types; According to the target parameter type specified by the target template, extracting a plurality of target information segments whose parameter types are the target parameter types from the information segments corresponding to the plurality of parameter types respectively; The plurality of target information fragments are integrated according to the parameter arrangement of the target template to obtain the third configuration information.

5. The method according to claim 1, characterized in that Also includes: According to the development requirement information, preview information of the mini-program matrix is ​​displayed in the mini-program release list; the preview information includes a matrix name and / or a matrix icon; The preview information and search control of the target mini-program template are displayed in the mini-program release list; the search control is used to display the detailed information of the target mini-program template in response to the user's trigger operation.

6. The method according to claim 5, characterized in that After acquiring a plurality of first configuration information adapted to the mini-program matrix, the method further includes: Generate preview information of any target mini-program according to any one of the first configuration information; and display the preview information of any one of the target mini-program in the mini-program release list.

7. The method according to any one of claims 1 to 6, characterized in that: Parameter configuration of the target mini-program template is performed using the third configuration information to obtain any target mini-program in the mini-program matrix, including: The first parameter in any one of the first configuration information and the second parameter in the third configuration information are visualized on a parameter comparison page; the difference between the first parameter and the second parameter is visualized on the parameter comparison page so that the user can check the configuration information modification result; in response to the user's confirmation operation, the third configuration information is used to perform parameter configuration on the target mini-program template to obtain any one of the target mini-programs in the mini-program matrix.

8. A terminal device, characterized in that: include: A memory and a processor; wherein the memory is used to: store one or more computer instructions; The processor is configured to execute the one or more computer instructions to perform the steps in the method according to any one of claims 1 to 7.

9. A computer-readable storage medium, characterized in that: When the computer program is executed by a processor, the processor is enabled to implement the steps of the method according to any one of claims 1 to 7.

10. A computer program product, characterized in that The method comprises a computer program / instruction, which, when executed by a processor, enables the processor to implement the steps of the method according to any one of claims 1 to 7.