A configuration method, device and equipment of an applet plug-in
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- ALIPAY (HANGZHOU) INFORMATION TECH CO LTD
- Filing Date
- 2022-12-30
- Publication Date
- 2026-08-07
AI Technical Summary
[0049] By providing the mini-program administrator with a plugin configuration page that displays preset controls for setting business data and display styles for target plugins, and by determining the plugin configuration information for the target plugin in the target mini-program based on the plugin setting operations performed by the mini-program administrator using each preset control, this solution allows the mini-program administrator to directly deploy the target plugin in the target mini-program or other applications after instructing the release of the target plugin. In this solution, the mini-program administrator can easily develop and configure the target plugin in the target mini-program by manipulating the preset controls in the plugin configuration page, without needing to develop the target plugin's program files using preset interfaces. This significantly improves the ease of use and efficiency of the mini-program administrator's plugin configuration process.
Smart Images

Figure CN116302049B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of plug-in technology, and in particular to a method, apparatus and device for configuring a mini-program plug-in. Background Technology
[0002] With the rapid development of software technology, mini-programs have become widely used. A mini-program is an application that can be used without downloading or installation. Users can invoke mini-programs from their host applications to access various services offered by the mini-program, which is very convenient. Currently, with increasingly frequent business updates, mini-program administrators typically need to develop plugin program files for the target mini-program using the various preset interfaces provided by the mini-program platform. These newly developed plugins then provide users with additional business services to meet their business needs.
[0003] Therefore, improving the ease of operation and efficiency of configuring mini-program plugins has become an urgent technical problem to be solved. Summary of the Invention
[0004] The embodiments of this specification provide a method, apparatus, and device for configuring mini-program plugins, which can improve the ease of operation and efficiency of the configuration process for mini-program plugins.
[0005] To solve the above-mentioned technical problems, the embodiments in this specification are implemented as follows:
[0006] This specification provides an embodiment of a method for configuring a mini-program plugin, including:
[0007] Obtain operation information of the plugin settings operation performed by the mini-program administrator in the plugin configuration page of the target mini-program; the plugin settings operation is performed by triggering a preset control used to set the business data or business data display style of the target plugin.
[0008] Based on the operation information of the plugin settings, determine the plugin configuration information for the target plugin in the target mini-program; the plugin configuration information is used to instruct the target business data to be displayed in the target plugin according to the target display style;
[0009] Obtain the release instructions from the mini-program administrator for the target plugin;
[0010] In response to the release command, a plugin page access address for the target plugin is generated based on the plugin configuration information; when the plugin page access address is accessed by a terminal device, it is used to instruct the terminal device to display the page of the target plugin according to the plugin configuration information.
[0011] Send the plugin page access address for the target plugin to the device of the mini-program administrator.
[0012] This specification provides an embodiment of a method for configuring a mini-program plugin, including:
[0013] The plugin setting operation performed by the mini-program administrator in the plugin configuration page of the target mini-program is obtained; the plugin setting operation is performed by triggering a preset control used to set the business data or business data display style of the target plugin.
[0014] The operation information for the plugin settings is sent to the target server; the target server is used to determine the plugin configuration information for the target plugin in the target mini-program based on the operation information; the plugin configuration information is used to instruct the target business data to be displayed in the target plugin according to the target display style;
[0015] Obtain the publishing operation of the mini-program administrator for the target plugin;
[0016] In response to the release operation, a release instruction for the target plugin is sent to the target server;
[0017] The system receives the plugin page access address for the target plugin from the target server; when the plugin page access address is accessed by the terminal device, it is used to instruct the terminal device to display the page of the target plugin according to the plugin configuration information.
[0018] This specification provides an embodiment of a configuration device for a mini-program plugin, comprising:
[0019] The first acquisition module is used to acquire operation information of the plugin setting operation performed by the mini-program administrator in the plugin configuration page of the target mini-program; the plugin setting operation is performed by triggering a preset control used to set the business data or business data display style of the target plugin.
[0020] The plugin configuration information determination module is used to determine the plugin configuration information for the target plugin in the target mini-program based on the operation information of the plugin settings; the plugin configuration information is used to instruct the target business data to be displayed in the target plugin according to the target display style;
[0021] The second acquisition module is used to acquire the release instructions from the mini-program administrator for the target plugin;
[0022] The first generation module is used to respond to the release instruction and generate a plugin page access address for the target plugin according to the plugin configuration information; when the plugin page access address is accessed by the terminal device, it is used to cause the terminal device to display the page of the target plugin according to the plugin configuration information.
[0023] The sending module is used to send the plugin page access address for the target plugin to the device of the mini-program manager.
[0024] This specification provides an embodiment of a configuration device for a mini-program plugin, comprising:
[0025] The first acquisition module is used to acquire the plugin setting operation performed by the mini-program administrator in the plugin configuration page for the target mini-program; the plugin setting operation is performed by triggering a preset control used to set the business data or business data display style of the target plugin.
[0026] The first sending module is used to send the operation information of the plugin setting operation to the target server; the target server is used to determine the plugin configuration information of the target plugin for the target mini-program based on the operation information; the plugin configuration information is used to instruct the target business data to be displayed in the target plugin according to the target display style;
[0027] The second acquisition module is used to acquire the publishing operation of the mini-program manager for the target plugin;
[0028] The second sending module is used to send a publishing instruction for the target plugin to the target server in response to the publishing operation;
[0029] The receiving module is used to receive the plugin page access address for the target plugin fed back by the target server; when the plugin page access address is accessed by the terminal device, it is used to instruct the terminal device to display the page of the target plugin according to the plugin configuration information.
[0030] This specification provides an embodiment of a configuration device for a mini-program plugin, comprising:
[0031] At least one processor; and,
[0032] A memory communicatively connected to the at least one processor; wherein,
[0033] The memory stores instructions executable by the at least one processor, which, when executed by the at least one processor, enable the at least one processor to:
[0034] Obtain operation information of the plugin settings operation performed by the mini-program administrator in the plugin configuration page of the target mini-program; the plugin settings operation is performed by triggering a preset control used to set the business data or business data display style of the target plugin.
[0035] Based on the operation information of the plugin settings, determine the plugin configuration information for the target plugin in the target mini-program; the plugin configuration information is used to instruct the target business data to be displayed in the target plugin according to the target display style;
[0036] Obtain the release instructions from the mini-program administrator for the target plugin;
[0037] In response to the release command, a plugin page access address for the target plugin is generated based on the plugin configuration information; when the plugin page access address is accessed by a terminal device, it is used to instruct the terminal device to display the page of the target plugin according to the plugin configuration information.
[0038] Send the plugin page access address for the target plugin to the device of the mini-program administrator.
[0039] This specification provides an embodiment of a configuration device for a mini-program plugin, comprising:
[0040] At least one processor; and,
[0041] A memory communicatively connected to the at least one processor; wherein,
[0042] The memory stores instructions executable by the at least one processor, which, when executed by the at least one processor, enable the at least one processor to:
[0043] The plugin setting operation performed by the mini-program administrator in the plugin configuration page of the target mini-program is obtained; the plugin setting operation is performed by triggering a preset control used to set the business data or business data display style of the target plugin.
[0044] The operation information for the plugin settings is sent to the target server; the target server is used to determine the plugin configuration information for the target plugin in the target mini-program based on the operation information; the plugin configuration information is used to instruct the target business data to be displayed in the target plugin according to the target display style;
[0045] Obtain the publishing operation of the mini-program administrator for the target plugin;
[0046] In response to the release operation, a release instruction for the target plugin is sent to the target server;
[0047] The system receives the plugin page access address for the target plugin from the target server; when the plugin page access address is accessed by the terminal device, it is used to instruct the terminal device to display the page of the target plugin according to the plugin configuration information.
[0048] At least one embodiment provided in this specification can achieve the following beneficial effects:
[0049] By providing the mini-program administrator with a plugin configuration page that displays preset controls for setting business data and display styles for target plugins, and by determining the plugin configuration information for the target plugin in the target mini-program based on the plugin setting operations performed by the mini-program administrator using each preset control, this solution allows the mini-program administrator to directly deploy the target plugin in the target mini-program or other applications after instructing the release of the target plugin. In this solution, the mini-program administrator can easily develop and configure the target plugin in the target mini-program by manipulating the preset controls in the plugin configuration page, without needing to develop the target plugin's program files using preset interfaces. This significantly improves the ease of use and efficiency of the mini-program administrator's plugin configuration process. Attached Figure Description
[0050] To more clearly illustrate the technical solutions in the embodiments or prior art of this specification, the drawings used in the description of the embodiments or prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0051] Figure 1 This is a schematic diagram illustrating an application scenario of a reward resource distribution method provided in the embodiments of this specification;
[0052] Figure 2 A flowchart illustrating a method for distributing reward resources, provided as an embodiment of this specification;
[0053] Figure 3 A flowchart illustrating another method for distributing reward resources provided in the embodiments of this specification;
[0054] Figure 4 This is a schematic diagram of a plugin configuration page for a target mini-program, provided as an embodiment of this specification.
[0055] Figure 5 The embodiments provided in this specification correspond to Figure 2 and Figure 3 A swimlane flowchart illustrating the reward resource distribution method in the game;
[0056] Figure 6 The embodiments provided in this specification correspond to Figure 2 A schematic diagram of a reward resource distribution device;
[0057] Figure 7 The embodiments provided in this specification correspond to Figure 3 A schematic diagram of a reward resource distribution device;
[0058] Figure 8 The embodiments provided in this specification correspond to Figure 2 A schematic diagram of a reward resource distribution device;
[0059] Figure 9 The embodiments provided in this specification correspond to Figure 3 A schematic diagram of the structure of a reward resource distribution device. Detailed Implementation
[0060] To make the objectives, technical solutions, and advantages of one or more embodiments of this specification clearer, the technical solutions of one or more embodiments of this specification will be clearly and completely described below in conjunction with specific embodiments and corresponding drawings. Obviously, the described embodiments are only a part of the embodiments of this specification, and not all of them. Based on the embodiments in this specification, all other embodiments obtained by those skilled in the art without creative effort are within the protection scope of one or more embodiments of this specification.
[0061] The technical solutions provided in the various embodiments of this specification are described in detail below with reference to the accompanying drawings.
[0062] In existing technologies, mini-program platforms typically expose some of their interface capabilities to mini-program administrators, allowing administrators to develop plugin program files for the target mini-program using pre-defined interfaces. This enables them to provide new business services to users through these newly developed plugins. However, this mini-program configuration approach is not only costly to implement, difficult to operate, and inefficient, but it also generally only applies to mini-program administrators with R&D capabilities. It fails to meet the needs of mini-program administrators without R&D capabilities to deploy new plugins in their managed mini-programs, resulting in poor versatility and limited application scope.
[0063] To address the shortcomings of existing technologies, this solution provides the following embodiments:
[0064] Figure 1This is a schematic diagram illustrating an application scenario of a configuration method for a mini-program plugin provided in an embodiment of this specification.
[0065] like Figure 1 As shown, the mini-program administrator can perform plugin setting operations on the plugin configuration page for the target mini-program displayed on device 101. These plugin setting operations can be performed by triggering preset controls used to set the business data or business data display style of the target plugin. Device 101 can then send the operation information of the plugin setting operation to the target server 102, allowing the target server 102 to determine the plugin configuration information of the target plugin for the target mini-program based on this information. The plugin configuration information can be used to instruct the target business data to be displayed in the target plugin according to the target display style.
[0066] Subsequently, when the target server 102 receives the release instruction for the target plugin sent by the mini-program manager from the device 101, it can respond to the release instruction and generate a plugin page access address for the target plugin according to the plugin configuration information. When the plugin page access address is accessed by the terminal device, it can be used to make the terminal device display the page of the target plugin according to the plugin configuration information. In addition, the plugin page access address for the target plugin is sent to the mini-program manager's device 101.
[0067] The mini-program administrator can generate a deployment instruction for the target plugin based on the plugin page access address in device 101. This deployment instruction can be used to instruct the establishment of a calling relationship between the target application control and the target plugin. This calling relationship allows the terminal device to display the target plugin's page based on the plugin page access address after detecting that the target application control has been triggered. Furthermore, the mini-program administrator can also use device 101 to send the deployment instruction to device 103 at the organization managing the target application control, enabling the organization to establish a calling relationship between the target application control and the target plugin based on the plugin page access address. Subsequently, when a user triggers the target application control at terminal device 104, terminal device 104 can invoke the target plugin according to the calling relationship between the target application control and the plugin page access address to display the target business data according to the target display style configured by the mini-program administrator.
[0068] Next, a configuration method for a mini-program plugin provided in the embodiments of the specification will be described in detail with reference to the accompanying drawings:
[0069] Figure 2This is a flowchart illustrating a method for configuring a mini-program plugin as provided in an embodiment of this specification. From a program perspective, the executing entity of this process can be a target server providing mini-program plugin configuration services, or an application hosted on the target server. Figure 2 As shown, the process may include the following steps:
[0070] Step 202: Obtain the operation information of the plugin setting operation performed by the mini-program administrator in the plugin configuration page for the target mini-program; the plugin setting operation is performed by triggering a preset control used to set the business data or business data display style of the target plugin.
[0071] In the embodiments described in this specification, the mini-program manager can be an organization or individual that deploys new plugins on the target mini-program to meet business needs. Typically, the mini-program manager can be the owner of the target mini-program.
[0072] Plugin management organizations can provide plugin configuration applications to mini-program administrators, allowing mini-program administrators to display plugin configuration pages for specific mini-programs within these applications. Furthermore, plugin management organizations can pre-configure the target server (i.e., the server providing the mini-program plugin configuration service) for this purpose. Figure 2 The implementation entity of the solution utilizes the target server to communicate with the plugin configuration application used by the mini-program administrator to meet the mini-program administrator's configuration requirements for the target plugin.
[0073] In this embodiment of the specification, when the mini-program administrator needs to add a target plugin to the target mini-program, they can display a visual plugin configuration page for the target mini-program in the plugin configuration application. This plugin configuration page can display preset controls for setting business data or business data display styles for the target plugin. The mini-program administrator can trigger these preset controls through methods such as clicking, inputting information, or uploading data to perform plugin setting operations for the target plugin, which is convenient and quick. Subsequently, after detecting the plugin setting operation performed by the mini-program administrator, the plugin configuration application can send operation information reflecting this plugin setting operation to the target server, so that the target server can obtain the operation information of the plugin setting operation mentioned in step 202.
[0074] In practical applications, the types of operation information for the plugin setting operation can be varied. For example, if each preset control has a unique control identifier, and the plugin setting operation is an operation performed by the mini-program administrator using the preset control to input target business data, then the operation information for the plugin setting operation can include: the unique control identifier of the preset control and the target business data. Alternatively, if the plugin setting operation is an operation performed by the mini-program administrator using the preset control to select the desired target display style, then the operation information for the plugin setting operation can include: the unique control identifier of the preset control and the unique style identifier of the target display style. When the target plugin is composed of preset components, each preset component can have a preset control for setting the business data it needs to display. In this case, the operation information for the plugin setting operation can also include: the unique component identifier of the preset component to which the user-triggered preset control belongs, without specific limitations.
[0075] Step 204: Based on the operation information of the plugin settings operation, determine the plugin configuration information for the target plugin at the target mini-program; the plugin configuration information is used to instruct the target business data to be displayed at the target plugin according to the target display style.
[0076] In the embodiments of this specification, the plugin setting operation performed by the mini-program administrator is typically used to input the target business data to be displayed at the target plugin, as well as the target display style to be used when displaying the target business data. Therefore, the target server can determine the plugin configuration information for instructing the target business data to be displayed at the target plugin according to the target display style based on the operation information of the plugin setting operation.
[0077] Step 206: Obtain the release instruction from the mini-program administrator for the target plugin.
[0078] In this embodiment of the specification, after the mini-program administrator has completed the configuration of the business data and the display style of the business data to be displayed at the target plugin, it can use the plugin configuration application to generate and send the release instruction of the target plugin at the target mini-program to the target server.
[0079] Step 208: In response to the release command, generate a plugin page access address for the target plugin based on the plugin configuration information; when the plugin page access address is accessed by the terminal device, it is used to instruct the terminal device to display the page of the target plugin according to the plugin configuration information.
[0080] In this embodiment of the specification, after receiving a release instruction for a target plugin in a target mini-program, the target server can generate the data resources and program code resources required to run the target plugin based on the plugin configuration information, and determine the plugin page access address for the target plugin. This enables the terminal device to obtain the data resources and program code resources required to run the target plugin after accessing the plugin page access address for the target plugin, and then display the page of the target plugin to provide business services to the user.
[0081] Step 210: Send the plugin page access address for the target plugin to the device of the mini-program manager.
[0082] In the embodiments described in this specification, the target server can also provide the mini-program administrator with the plugin page access address for the target plugin, so that the mini-program administrator can bind the plugin page access address for the target plugin to the target application control, so that the page of the target plugin can be displayed after the user triggers the target application control, thereby completing the deployment of the target plugin for the target mini-program.
[0083] Figure 2 The method described above allows mini-program administrators to easily develop and configure target plugins for target mini-programs by manipulating preset controls in a visual plugin configuration page, without needing to develop the target plugin's program files using preset interfaces. This reduces plugin development costs and complexity, and improves the ease of use and efficiency of the plugin configuration process for mini-program administrators. Furthermore, it expands the applicability of the plugin configuration solution.
[0084] based on Figure 2 In addition to the method described in the embodiments of this specification, some specific implementation schemes of the method are also provided, which will be described below.
[0085] In the embodiments of this specification, the target plugin can typically be composed of one or more preset components, so that the first organization can publish a subscription activity for the preset component set according to actual needs, and the mini-program administrator can use the preset components in the preset component set to build the target plugin for the target mini-program by participating in the subscription activity for the preset component set.
[0086] Based on this, before step 202: obtaining the operation information of the plugin settings operation performed by the mini-program administrator in the plugin configuration page for the target mini-program, it may also include:
[0087] Obtain the ordering activity release request generated by the first organization for a preset component set; the preset component set contains at least one preset component.
[0088] In response to the order activity release request, an order activity for the preset component set is released.
[0089] Obtain the participation request from the mini-program administrator for the ordering activity; the participation request is used to request the deployment of the target plugin in the target mini-program using at least some of the preset components in the preset component set.
[0090] If the participation request is approved, the page access address of the plugin configuration page of the target mini-program is sent to the mini-program administrator's device.
[0091] In this embodiment of the specification, the first organization can publish a subscription activity for one or more preset components based on the technical capabilities provided by each preset component. After successfully participating in the subscription activity, the mini-program administrator can use the preset components bound to the subscription activity to build the target plugin for the target mini-program.
[0092] Specifically, the first organization can initiate a subscription campaign and set up various pre-built components for the campaign, as well as information that the mini-program administrator needs to submit to participate. This allows the target server to publish a subscription campaign for the set of pre-built components for the first organization. The mini-program administrator can view the campaign description information for the pre-built component set in a designated application and choose whether to participate based on actual needs. If participating, a participation request can be sent to the target server for review. In practical applications, the campaign description information for the pre-built component set subscription campaign may include: functional information of each bound pre-built component. For example, the campaign description information could be: "This subscription campaign allows subscription of pre-built components for issuing electronic coupons and pre-built components for conducting membership business," so that mini-program administrators can decide whether to participate in the campaign.
[0093] The first organization can be the same as or a different organization from the aforementioned plugin management organization; no specific limitation is made in this regard. Similarly, the designated application used to obtain the activity introduction information can be the same as or a different application from the aforementioned plugin configuration application; no specific limitation is made in this regard.
[0094] In the embodiments of this specification, the ordering activity for the preset component set can be a paid activity, requiring the mini-program administrator to pay a certain amount of payment resources to participate in the ordering activity and then use the preset components bound to the ordering activity to build the target plugin; or, the ordering activity for the preset component set can be a free activity, allowing the mini-program administrator to use the preset components bound to the ordering activity to build the target plugin for free. No specific limitation is made in this regard.
[0095] In this embodiment of the specification, in order to ensure the operational security of the target plugin that the mini-program administrator needs to deploy, it is also necessary to review the information carried by the mini-program administrator's participation request for the ordering activity.
[0096] Specifically, the participation request may include the identity information of the mini-program administrator, the unique program identifier of the target mini-program, and introductory information about the target business data.
[0097] Based on this, after obtaining the participation request from the mini-program administrator for the ordering activity, it may also include:
[0098] Based on the identity information of the mini-program administrator and the unique program identifier of the target mini-program, it is determined whether the mini-program administrator has the authority to deploy plugins for the target mini-program, and a first determination result is obtained.
[0099] If the first judgment result indicates that the mini-program administrator does not have the permission to deploy plugins for the target mini-program, then an audit result is generated to indicate that the participation request has failed to pass the audit.
[0100] If the first judgment result indicates that the mini-program administrator has the permission to deploy plugins for the target mini-program, then based on the description information of the target business data, it is determined whether to allow the target business data to be displayed at the target plugin deployed using the preset component set, and a second judgment result is obtained.
[0101] If the second judgment result indicates that the target business data is allowed to be displayed at the target plugin deployed using the preset component set, then an audit result is generated to indicate that the participation request has been approved.
[0102] If the second judgment result indicates that the target business data is not allowed to be displayed at the target plugin deployed using the preset component set, then an audit result is generated to indicate that the participation request has failed the audit.
[0103] In this embodiment of the specification, when participating in the ordering activity, the mini-program administrator needs to submit the mini-program administrator's identity information and the target mini-program's unique program identifier. The target server can obtain the identity information of any organization / individual that has set up a plugin in the target mini-program. If the mini-program administrator's identity information matches that of any organization / individual that has set up a plugin in the target mini-program, it indicates that the risk of the mini-program administrator deploying a plugin in the target mini-program is low, and thus their participation request can be approved. The mini-program administrator's identity information may include the mini-program administrator's name, account ID (IdentityDocument), etc., while the target mini-program's unique program identifier can be used to uniquely identify the target mini-program; for example, it can be the target mini-program's name or ID, etc., without specific limitations.
[0104] In this embodiment of the specification, when participating in the ordering activity, the mini-program administrator may also need to submit introductory information about the target business data that it intends to display on the target plugin. This allows the target server to review whether the target business data intended to be displayed by the mini-program administrator contains any illegal information, and whether the various preset components bound to the ordering activity are suitable for displaying the target business data. If so, it indicates that the risk of the mini-program administrator deploying the plugin on the target mini-program is low, and thus its participation request can be approved. The introductory information about the target business data can be of various types, such as image data, text data, etc., and is not specifically limited thereto.
[0105] In this embodiment of the specification, since the description information of the target business data of the target plugin submitted by the mini program administrator in the early stage may not be consistent with the target business data actually configured in the plugin configuration page, it is also necessary to review the target business data actually set by the mini program administrator.
[0106] Based on this, before step 208: in response to the release instruction, before generating the plugin page access address for the target plugin according to the plugin configuration information, it may further include:
[0107] The target business data is reviewed to obtain the review results.
[0108] Step 208: In response to the release command, generate a plugin page access address for the target plugin based on the plugin configuration information, which may specifically include:
[0109] If the review result for the target business data indicates that the target business data has passed the review, then in response to the release instruction, a plugin page access address for the target plugin is generated based on the plugin configuration information.
[0110] If the review result for the target business data indicates that the review of the target business data is unsuccessful, then the generation of plugin page access address for the target plugin can be prohibited.
[0111] In this embodiment of the specification, before the target server publishes an ordering activity for a preset set of components, it also needs to obtain the plugin configuration page data corresponding to the ordering activity in advance, so as to use the plugin configuration page data to display the plugin configuration page for configuring the target plugin to the mini-program manager who has successfully participated in the ordering activity.
[0112] Based on this, before responding to the order activity release request and releasing the order activity for the preset component set, the process may further include:
[0113] The plugin configuration page data provided by the second organization is stored; the plugin configuration page data is the data required to display the plugin configuration page.
[0114] Determine the first data access address for the configuration page data of the plugin.
[0115] If the participation request is approved, the page access address of the plugin configuration page of the target mini-program is sent to the mini-program administrator's device, specifically including:
[0116] If the participation request is approved, a first data access address for the plugin configuration page data is sent to the device of the mini-program manager; the device of the mini-program manager is used to access the first data access address to obtain the plugin configuration page data, and to display the plugin configuration page using the plugin configuration page data.
[0117] In this embodiment, the second organization can encapsulate the technical capabilities to be opened, such as coupon issuance capabilities, flash sale capabilities, data consulting capabilities, membership management capabilities, etc., into preset components and provide them to the target server. Specifically, the second organization needs to develop component program files for each preset component in the preset component set and generate page data (i.e., plugin configuration page data) for the plugin configuration page required when configuring the preset component set. In practical applications, depending on the actual situation, the second organization can also develop program files required to display the plugin configuration page. In this case, the plugin configuration page data can also include the program files required to display the plugin configuration page, which is not specifically limited. The second organization and the aforementioned plugin management organization or the first organization can be the same organization or different organizations, which is not specifically limited.
[0118] Subsequently, the second organization needs to send the plugin configuration page data to the target server, allowing the target server to store the plugin configuration page data locally and determine the first data access address for the locally stored plugin configuration page data. Once the mini-program administrator successfully participates in the ordering activity for the preset component set, the target server can communicate with the plugin configuration application installed on the mini-program administrator's device. By sending the first data access address for the plugin configuration page data to the plugin configuration application used by the mini-program administrator, the plugin configuration application can obtain the plugin configuration page data and display the plugin configuration page when it detects the mini-program administrator's instruction to access the first data access address. Alternatively, the plugin configuration application can automatically obtain the plugin configuration page data upon receiving the first data access address to directly display the plugin configuration page, thereby reducing the operations required from the mini-program administrator and making the process more convenient and faster.
[0119] In this embodiment of the specification, the target plugin can be a plugin built using one or more preset components from a preset component set. Therefore, the plugin configuration page can specifically display preset controls for setting business data or business data display styles at each preset component. Correspondingly, the plugin setting operation can be an operation performed by triggering the preset controls for setting business data or business data display styles at preset components; and the plugin configuration information is used to instruct the target business data to be displayed at the preset components included in the target plugin according to the target display style.
[0120] In practical applications, the plugin configuration page may include a first area for displaying each of the preset controls and a second area for displaying a preview page of each of the preset components; wherein, the preset controls may include at least one of a first control for inputting the target business data and a second control for selecting the target display style from multiple preset display styles, which is beneficial to improving the user experience.
[0121] In the embodiments of this specification, since the target plugin may contain one or more preset components, and each preset component may have one or more pages, the mini-program administrator may specify the homepage of the target plugin, thereby generating address data for displaying the homepage of the target plugin, which serves as the plugin page access address for the target plugin.
[0122] Specifically, step 208: In response to the release instruction, based on the plugin configuration information, generate a plugin page access address for the target plugin, which may include:
[0123] Based on the plugin configuration information, the homepage of the target plugin is determined from the component pages of the preset components included in the target plugin.
[0124] Based on the unique program identifier of the target mini-program, the unique plugin identifier of the target plugin, and the preset page access address of the homepage, a plugin page access address for the target plugin is generated.
[0125] In the embodiments described in this specification, the mini-program administrator can designate any component page of the preset components included in the target plugin as the homepage of the target plugin. Alternatively, when the mini-program administrator does not manually designate the homepage of the target plugin, the homepage of the target plugin can be automatically determined according to preset rules. No specific limitations are imposed on this. In practical applications, a unique plugin page access address can be pre-set for each component page of the preset components. This allows the preset page access address of the target plugin's homepage to be included in the plugin page access address of the target plugin, enabling the terminal device to determine the page of the target plugin (i.e., the homepage of the target plugin) to be displayed first based on the preset page access address of the target plugin's homepage.
[0126] In addition, since the target plugin is a plugin set up by the mini-program administrator for the target mini-program, in order to prevent the mini-program administrator from abusing the target plugin, the unique program identifier of the target mini-program and the unique plugin identifier of the target plugin can be included in the plugin page access address of the target plugin.
[0127] In the embodiments of this specification, since the terminal device needs not only the plugin page access address, but also the program code of the target plugin and the page data to be displayed when displaying the target plugin, an implementation scheme that enables the terminal device to obtain the program code of the target plugin and the page data to be displayed is also provided.
[0128] Specifically, after obtaining the release instructions from the mini-program administrator for the target plugin in step 206, it may also include:
[0129] Based on the plugin configuration information, the plugin page data of the target plugin is stored to the first server; the plugin page data includes the target business data and the style identifier data of the target display style required to display the target business data.
[0130] Based on the second data access address of the plugin page data and the component program files of the preset components contained in the target plugin, a plugin program file package of the target plugin is generated.
[0131] Store the plugin program file package of the target plugin to the second server.
[0132] Specifically, when the plugin page access address is accessed by the terminal device, it is used to cause the terminal device to download the plugin program file package from the second server, and to obtain the plugin page data by running the plugin program file package to access the second data access address, so as to display the homepage of the target plugin using the plugin page data.
[0133] In the embodiments described in this specification, the target plugin can be an independently packaged software module used to carry the capabilities or services of the service provider, facilitating quick integration by other applications. Unlike ordinary components, a target plugin can have an independent application and context. That is, the target plugin and the application deploying it each have their own independent server. Therefore, when a user needs to use the target plugin to obtain a service, the application deploying the target plugin must load and run the target plugin's plugin program file package and use the target plugin to access the service provider's server to provide the service. This plugin implementation encapsulates the technical capabilities required for marketing / business cooperation into a mini-program component. Compared to traditional open interfaces, the component-based approach is more mature, more stable in performance, provides a more unified user experience, and is easier to scale.
[0134] In the embodiments described in this specification, the plugin configuration information typically includes the plugin page data of the target plugin. The mini-program administrator can specify a first server for storing the plugin page data according to actual needs, allowing the target application to store the plugin page data on the first server and determine a second data access address for the plugin page data stored on the first server. When displaying the target plugin's page, the terminal device can use the second data access address to download the plugin page data from the first server to display the target plugin's page. In practical applications, the first server can typically include the server of the target mini-program or the server of the target mini-program's host application; of course, it can also be other servers, without specific limitations.
[0135] In this embodiment of the specification, the target server may also store component program files of various preset components provided by the second organization. Since the mini-program administrator can select some or all of the preset components from the preset component set to build the target plugin, the plugin program file package of the target plugin can be generated using the component program files of the preset components actually selected by the mini-program administrator when building the target plugin, and the plugin program file package of the target plugin can be stored on the second server. In practical applications, the second server used to store the plugin program files of the target plugin can usually be the server of the target mini-program or the server of the host application of the target mini-program, and there is no specific limitation on this.
[0136] In practical applications, since the data access addresses of the plugin page data required by the target plugins built by different mini-program administrators are usually different, in order to ensure that the plugin program file package of the target plugin in the target mini-program can accurately obtain the required plugin page data during operation, the second data access address of the plugin page data set by the mini-program administrator for the target plugin can also be written into the plugin program file package of the target plugin.
[0137] When a terminal device accesses the plugin page access address of a target plugin within a target mini-program, the terminal device can determine the homepage of the target plugin based on the parsing result of the plugin page access address, and download the plugin program file of the target plugin from the second server in real time. By running the plugin program file of the target plugin, the second data access address it carries can be used to download the target business data to be displayed on the homepage of the target plugin and the style identifier data of the target display style to be used from the first server, ultimately generating the homepage of the target plugin used to display the target business data according to the target display style. Subsequently, based on the same principle, users can also trigger the target plugin to view and control other pages of the target plugin, which is convenient and quick.
[0138] In practical applications, if the terminal device has previously opened the target plugin, the terminal device may already have the target plugin program file stored locally. In this case, it is not necessary to download the target plugin program file from the second server, but can directly call the local target plugin program file, which helps to save device resources.
[0139] As can be seen from the embodiments of this specification, the terminal device can download the plugin program file of the target plugin in real time when running the target mini-program or its host application, without having to update the application version of the target mini-program or its host application. The plugin program file of the target plugin is carried in the application installation package of the target mini-program or its host application in advance, which is convenient and fast.
[0140] In practical applications, it may be necessary for certain controls on the target plugin's page to redirect to a specific page within the target mini-program upon triggering, enabling users to access business services through the mini-program. Based on this, mini-program administrators can utilize third-party controls within the plugin configuration page to configure the calling relationship between controls on the target plugin's page and the specified page within the target mini-program. This allows the plugin configuration information and plugin page data for the target mini-program to also carry information reflecting the calling relationship between controls on the target plugin's page and the specified page within the target mini-program. No specific limitations are imposed on this.
[0141] Figure 3 This is a flowchart illustrating another method for configuring a mini-program plugin provided in an embodiment of this specification. From a program perspective, the entity executing this process can be the mini-program administrator's device, or the application installed on the mini-program administrator's device. Figure 3 As shown, the process may include the following steps:
[0142] Step 302: Obtain the plugin setting operation performed by the mini-program administrator in the plugin configuration page for the target mini-program; the plugin setting operation is performed by triggering a preset control used to set the business data or business data display style of the target plugin.
[0143] In the embodiments of this specification, step 302 and... Figure 2 The plugin configuration page and plugin settings operation mentioned in step 202 of the solution can be the same, so we will not go into details about it.
[0144] Step 304: Send the operation information of the plugin setting operation to the target server; the target server is used to determine the plugin configuration information of the target plugin for the target mini-program based on the operation information; the plugin configuration information is used to instruct the target business data to be displayed in the target plugin according to the target display style.
[0145] Step 304 and Figure 2 The operation information for the plugin settings mentioned in step 202 of the solution can be consistent, and the target server in step 304 can be the execution subject of the solution in the figure, which will not be elaborated further.
[0146] Step 306: Obtain the publishing operation of the target plugin by the mini-program administrator.
[0147] In the embodiments of this specification, after configuring the business data and business data display style required to be displayed by the target plugin in the target mini-program, the mini-program administrator can also perform a publishing operation for the target plugin in the plugin configuration page of the target mini-program to indicate that the setting for the target plugin is complete and the plugin page access address of the target plugin needs to be obtained.
[0148] Step 308: In response to the release operation, send a release instruction for the target plugin to the target server.
[0149] In the embodiments of this specification, step 308 and... Figure 2 The release instructions for the target plugin mentioned in step 206 of the Chinese solution can be the same, so we will not elaborate on them.
[0150] Step 310: Receive the plugin page access address for the target plugin from the target server; when the plugin page access address is accessed by the terminal device, it is used to instruct the terminal device to display the page of the target plugin according to the plugin configuration information.
[0151] In the embodiments of this specification, step 310 and... Figure 2 The plugin page access address for the target plugin mentioned in steps 208 and 210 of the solution can be the same, so this will not be elaborated further.
[0152] Figure 3 The method described above provides the mini-program administrator with a plugin configuration page that displays preset controls for setting business data and display styles for target plugins. Based on the plugin setting operations performed by the mini-program administrator using these preset controls, the plugin configuration information for the target plugin within the target mini-program can be determined. Therefore, when the mini-program administrator instructs the release of the target plugin, a plugin page access address can be generated based on the plugin configuration information, allowing the mini-program administrator to directly deploy the target plugin in the target mini-program or other applications. In this solution, the mini-program administrator can easily develop and configure target plugins for the target mini-program by manipulating the preset controls in the plugin configuration page, without needing to develop the target plugin's program files using preset interfaces. This significantly improves the ease of use and efficiency of the mini-program administrator's plugin configuration process.
[0153] based on Figure 3 In addition to the method described in the embodiments of this specification, some specific implementation schemes of the method are also provided, which will be described below.
[0154] The plugin management organization can pre-publish subscription activities for a set of preset components. If the mini-program administrator needs to use the preset components in the preset component set to build the target plugin for the target mini-program, they can subscribe to the subscription activity to obtain access to the plugin configuration page for the target mini-program.
[0155] Based on this, before step 302: obtaining the plugin settings operation performed by the mini-program administrator in the plugin configuration page for the target mini-program, it may also include:
[0156] The target trigger operation executed by the mini-program manager for the ordering activity of the preset component set is obtained; the preset component set contains at least one preset component.
[0157] In response to the target triggering operation, the mini-program manager sends a participation request for the ordering activity to the target server; the participation request is used to request the deployment of the target plugin in the target mini-program using at least some of the preset components in the preset component set.
[0158] Receive the page access address for the plugin configuration page of the target mini-program, fed back by the target server; the page access address is information fed back by the target server after determining that the participation request has been approved. Alternatively,
[0159] The system receives a notification message from the target server indicating that the user cannot participate in the ordering activity; the notification message is sent by the target server after determining that the participation request has failed the review.
[0160] Specifically, obtaining the target trigger operation executed by the mini-program manager for the ordering activity of the preset component set may include:
[0161] The system retrieves the submission operation of the data to be reviewed set by the mini-program administrator for the ordering activity; the data to be reviewed includes the identity information of the mini-program administrator, the unique program identifier of the target mini-program, and introductory information for the target business data.
[0162] In response to the target triggering operation, sending the mini-program administrator's participation request for the ordering activity to the target server may specifically include:
[0163] In response to the submission operation, a participation request for the ordering activity, carrying the data to be reviewed, is sent to the target server.
[0164] In the embodiments of this specification, when a mini-program administrator requests to participate in an ordering activity for a preset set of components, it typically needs to submit information such as the mini-program administrator's identity information, the unique identifier of the target mini-program, and the introductory information of the target business data to be displayed at the target plugin. The target application server can then decide whether to allow the mini-program administrator to successfully participate in the ordering activity based on the information submitted by the mini-program administrator.
[0165] In practical applications, the identity information of the mini-program administrator may include the mini-program administrator's name, ID, application account information, etc. The unique program identifier of the target mini-program may include the target mini-program's name, ID, application version, etc. The description information of the target business data to be displayed at the target plugin should be consistent with the technical capabilities provided by the preset components used by the mini-program administrator. For example, if the preset component used by the mini-program administrator is a component for issuing electronic coupons, the description information of the target business data to be displayed at the target plugin may include the description information of the electronic coupons that the mini-program administrator expects to issue. When the preset component used by the mini-program administrator is a component for managing members, the description information of the target business data to be displayed at the target plugin may include the description information of the member data that needs to be displayed to members, etc. There are no specific limitations on this.
[0166] In this embodiment of the specification, the plugin configuration page may include a first area for displaying each of the preset controls; the preset controls include at least one of a first control for inputting the target business data to be displayed at a preset component in the target plugin and a second control for selecting the target display style from a plurality of preset display styles.
[0167] Step 302: Obtain the plugin settings operations performed by the mini-program administrator in the plugin configuration page for the target mini-program, which may specifically include:
[0168] Obtain the input operation performed by the mini-program administrator using the first control for the target business data; or...
[0169] Obtain the first selection operation for the target display style performed by the mini-program administrator using the second control.
[0170] In practical applications, the plugin configuration page may also include a second area for displaying preview pages of each of the preset components.
[0171] Step 302: Before obtaining the plugin settings operations performed by the mini-program administrator in the plugin configuration page for the target mini-program, it may also include:
[0172] The second selection operation of the preview page of any of the preset components displayed in the second area is obtained by the mini-program administrator.
[0173] In response to the second selection operation, the preset control for setting any of the preset components is displayed in the first area.
[0174] Figure 4 This is a schematic diagram of a plugin configuration page for a target mini-program, provided as an embodiment of this specification. Figure 4 As shown, the plugin configuration page 41 for the target mini-program can include a first area 401 and a second area 402. The second area 402 displays preview pages of two preset components: a preset component 403 for issuing coupons and a preset component 404 for displaying member information. Assuming that the mini-program administrator performs a second selection operation on the preset component 403 for issuing coupons, the first area 401 can display a first control 406 for inputting the target business data to be displayed by the preset component 403 and a second control 405 for selecting the target display style from multiple preset display styles.
[0175] In practical applications, when users need to be redirected to a specific page of the target mini-program by triggering the target plugin, the component page of the preset component can also display an "Action Point Control," and the first area 401 can display a third control 407 for setting the specific page of the target mini-program to be displayed after the "Action Point Control" is triggered. In addition, if users need to be directly redirected to a specific page of the target mini-program by triggering a redeemed coupon, a control for configuring the specific page of the target mini-program to be redirected to for that coupon can be added to the "Add Coupon" section. Figure 4 (Not shown in the image), convenient and quick.
[0176] In the embodiments of this specification, after obtaining the plugin page access address for the target plugin, the merchant usually needs to use the plugin page access address to establish the calling relationship between the target plugin and the target application control, so that each user can call the target plugin to obtain the business services it provides after triggering the target application control.
[0177] Based on this, step 310: after receiving the plugin page access address for the target plugin from the target server, may further include:
[0178] Based on the plugin page access address, a deployment instruction is generated for the target plugin; the deployment instruction is used to instruct the establishment of a calling relationship between the target application control and the target plugin; the calling relationship is used to enable the terminal device to display the page of the target plugin based on the plugin page access address after detecting that the target application control has been triggered; wherein, the target application control can be a control in the target mini-program or a control in the host application of the target mini-program.
[0179] The deployment command is sent to the device at the organization that manages the target application controls.
[0180] In this embodiment of the specification, the plugin page access address is generated based on the unique program identifier of the target mini-program, the unique plugin identifier of the target plugin, and the preset page access address of the target plugin's homepage. Specifically, the terminal device, upon detecting that the target application control has been triggered, obtains the plugin program file package of the target plugin based on the plugin page access address, and obtains the plugin page data of the target plugin by running the plugin program file package, so as to display the homepage of the target plugin using the plugin page data. The plugin page data includes the target business data and style identifier data of the target display style required to display the target business data. The plugin program file package is generated based on the data access address for the plugin page data and the component program files of each preset component contained in the target plugin.
[0181] In practical applications, the target application control can be a control in the target mini-program or a control in the host application of the target mini-program, so that users can call the target plugin while using the target mini-program or the host application of the target mini-program, which helps to improve the user experience.
[0182] Specifically, in the first implementation method, when it is necessary to establish a calling relationship between the target application control and the target plugin within the target mini-program, the mini-program administrator can send a deployment instruction for the target plugin to the server of the target mini-program. Based on the deployment instruction, the server of the target mini-program can establish a binding relationship between the target application control and the plugin page access address for the target plugin. Thus, when a user performs a trigger operation on the target application control within the target mini-program, the target mini-program can obtain the plugin page access address for the target plugin bound to the target application control from its server.
[0183] If the target plugin's plugin program file package is stored on the target mini-program's server, the target mini-program can download and run the target plugin's plugin program file to access the data access interface for the plugin page data carried in the plugin program file (e.g., Figure 2 The second data access interface shown in the Chinese solution is used to download the plugin page data of the target plugin, and then display the various pages of the target plugin.
[0184] Alternatively, to ensure the secure operation of the target plugin, the plugin program file can be stored on the host application's server. This allows the host application to obtain the plugin page access address for the target plugin from the target mini-program after detecting that a control in the target application has been triggered. After parsing the plugin page access address, the host application can download the target plugin's plugin program file from its server and run the plugin program file to display the target plugin's page.
[0185] In the second implementation method, when it is necessary to establish a calling relationship between the target application control and the target plugin in the host application, the mini-program administrator can send a deployment instruction for the target plugin to the host application's server. Based on the deployment instruction, the host application's server can establish a binding relationship between the target application control and the plugin page access address for the target plugin. Thus, when a user performs a trigger operation on the target application control in the host application, the host application can obtain the plugin page access address for the target plugin bound to the target application control from its server. By parsing the plugin page access address, the plugin program file of the target plugin is downloaded and run, thereby displaying the various pages of the target plugin.
[0186] Figure 5 The embodiments provided in this specification correspond to Figure 2 and Figure 3 The swimlane flowchart illustrates the configuration method for mini-program plugins. (Example:) Figure 5 As shown, the configuration process of this mini-program plugin may involve the mini-program administrator's device and the target server, among other execution entities.
[0187] During the ordering campaign execution phase, the mini-program administrator's device can obtain the pending review data set by the mini-program administrator in the ordering campaign targeting a preset set of components, and also obtain the mini-program administrator's submission operation for the pending review data. This allows the administrator to send a participation request carrying the pending review data for the ordering campaign to the target server. The pending review data may include the mini-program administrator's identity information, the target mini-program's unique identifier, and introductory information about the target business data to be displayed and in the target plugin.
[0188] The target server can review the data to be reviewed and obtain the review result for the participation request. If the review result indicates that the participation request has passed, the server will send the page access address of the plugin configuration page of the target mini-program to the mini-program administrator's device.
[0189] During the plugin configuration phase, the mini-program administrator's device can display the plugin configuration page based on the page access address of the plugin configuration page for the target mini-program. If a second selection operation is obtained from the preview page of any preset component displayed in the second area of the plugin configuration page, a preset control for configuring the selected preset component can be displayed in the first area of the plugin configuration page. Subsequently, if the mini-program administrator obtains the plugin setting operation performed on the target plugin using the preset control, the operation information of the plugin setting operation can be sent to the target server, so that the target server can determine the plugin configuration information of the target plugin for the target mini-program based on the operation information.
[0190] Furthermore, the device of the mini-program administrator can also send a release instruction for the target plugin to the target server based on the release operation of the mini-program administrator for the target plugin. This allows the target server to respond to the release instruction, store the plugin page data of the target plugin to the first server according to the plugin configuration information, and generate a plugin program file package for the target plugin based on the second data access address of the plugin page data and the component program files of the preset components contained in the target plugin, and store the plugin program file package to the second server. Additionally, the target server can also generate and send a plugin page access address for the target plugin to the mini-program administrator's device based on the program unique identifier of the target mini-program, the plugin unique identifier of the target plugin, and the preset page access address of the target plugin's homepage. This allows the mini-program administrator to generate a deployment instruction for the target plugin based on the plugin page access address on its device and send the deployment instruction to the device at the organization used to manage the target application controls, thereby realizing the configuration and deployment of the target plugin for the target mini-program.
[0191] Based on the same idea, embodiments of this specification also provide apparatus corresponding to the above methods. Figure 6 The embodiments provided in this specification correspond to Figure 2 A schematic diagram of the structure of a configuration device for a mini-program plugin. (Example) Figure 6 As shown, the device may include:
[0192] The first acquisition module 602 is used to acquire operation information of the plugin setting operation performed by the mini-program administrator in the plugin configuration page for the target mini-program; the plugin setting operation is performed by triggering a preset control used to set the business data or business data display style of the target plugin.
[0193] The plugin configuration information determination module 604 is used to determine the plugin configuration information of the target plugin for the target mini-program based on the operation information of the plugin setting operation; the plugin configuration information is used to instruct the target business data to be displayed at the target plugin according to the target display style.
[0194] The second acquisition module 606 is used to acquire the release instructions from the mini-program administrator for the target plugin.
[0195] The first generation module 608 is used to respond to the release command and generate a plugin page access address for the target plugin according to the plugin configuration information; when the plugin page access address is accessed by the terminal device, it is used to cause the terminal device to display the page of the target plugin according to the plugin configuration information.
[0196] The sending module 610 is used to send the plugin page access address for the target plugin to the device of the mini-program manager.
[0197] based on Figure 6 The embodiments of this specification also provide some specific implementations of the device, which will be described below.
[0198] Optionally, the plugin configuration page may include a first area for displaying each of the preset controls and a second area for displaying a preview page of each preset component; wherein, the preset controls include at least one of a first control for inputting the target business data to be displayed at the preset component and a second control for selecting the target display style from a plurality of preset display styles; the plugin configuration information is used to instruct the target business data to be displayed at the preset component included in the target plugin according to the target display style.
[0199] Optionally, the first generation module can be specifically used for:
[0200] Based on the plugin configuration information, the homepage of the target plugin is determined from the component pages of the preset components included in the target plugin.
[0201] Based on the unique program identifier of the target mini-program, the unique plugin identifier of the target plugin, and the preset page access address of the homepage, a plugin page access address for the target plugin is generated.
[0202] Optional, Figure 6 The device may further include:
[0203] The first storage module is used to store the plugin page data of the target plugin to the first server according to the plugin configuration information; the plugin page data includes the target business data and the style identifier data of the target display style required to display the target business data.
[0204] The second generation module is used to generate a plugin program file package for the target plugin based on the second data access address of the plugin page data and the component program files of the preset components contained in the target plugin.
[0205] The second storage module is used to store the plugin program file package of the target plugin to the second server.
[0206] Specifically, when the plugin page access address is accessed by the terminal device, it is used to cause the terminal device to download the plugin program file package from the second server, and to obtain the plugin page data by running the plugin program file package to access the second data access address, so as to display the homepage of the target plugin using the plugin page data.
[0207] Optional, Figure 6 The device may further include:
[0208] The request acquisition module is used to acquire the ordering activity release request generated by the first organization for a preset component set; the preset component set includes at least one preset component.
[0209] The order activity publishing module is used to publish an order activity for the preset component set in response to the order activity publishing request.
[0210] The participation request acquisition module is used to acquire the participation request from the mini-program administrator for the ordering activity; the participation request is used to request the deployment of the target plugin in the target mini-program using at least some of the preset components in the preset component set.
[0211] The page access address distribution module is used to send the page access address of the plugin configuration page of the target mini-program to the device of the mini-program administrator if it is determined that the participation request has been approved.
[0212] Optionally, the participation request may include the identity information of the mini-program manager, the unique program identifier of the target mini-program, and introductory information about the target business data.
[0213] Optional, Figure 6 The device may further include:
[0214] The first judgment module is used to determine whether the mini-program manager has the authority to deploy plugins for the target mini-program based on the identity information of the mini-program manager and the program unique identifier of the target mini-program, and obtain the first judgment result.
[0215] The second judgment module is used to determine whether to allow the target business data to be displayed at the target plugin deployed using the preset component set, based on the description information of the target business data, if the first judgment result indicates that the mini-program administrator has the permission to deploy a plugin for the target mini-program, and thus obtain the second judgment result.
[0216] The review result generation module is used to generate a review result indicating that the review of the participation request has been approved if the second judgment result indicates that the target business data is allowed to be displayed at the target plugin deployed using the preset component set.
[0217] Optional, Figure 6 The device may further include:
[0218] The target business data review module is used to review the target business data and obtain the review results for the target business data.
[0219] The first generation module 608 can be specifically used to: if the review result of the target business data indicates that the target business data has been approved, then in response to the release instruction, generate a plugin page access address for the target plugin according to the plugin configuration information.
[0220] Based on the same idea, embodiments of this specification also provide apparatus corresponding to the above methods. Figure 7 The embodiments provided in this specification correspond to Figure 3 A schematic diagram of the structure of a configuration device for a mini-program plugin. (Example) Figure 7 As shown, the device may include:
[0221] The first acquisition module 702 is used to acquire the plugin setting operation performed by the mini-program administrator in the plugin configuration page for the target mini-program; the plugin setting operation is performed by triggering a preset control used to set the business data or business data display style of the target plugin.
[0222] The first sending module 704 is used to send the operation information of the plugin setting operation to the target server; the target server is used to determine the plugin configuration information of the target plugin for the target mini-program according to the operation information; the plugin configuration information is used to instruct the target business data to be displayed in the target plugin according to the target display style.
[0223] The second acquisition module 706 is used to acquire the publishing operation of the mini-program manager for the target plugin.
[0224] The second sending module 708 is used to send a publishing instruction for the target plugin to the target server in response to the publishing operation.
[0225] The receiving module 710 is used to receive the plugin page access address for the target plugin fed back by the target server; when the plugin page access address is accessed by the terminal device, it is used to instruct the terminal device to display the page of the target plugin according to the plugin configuration information.
[0226] based on Figure 7 The embodiments of this specification also provide some specific implementations of the device, which will be described below.
[0227] Optionally, the plugin configuration page may include a first area for displaying various preset controls; the preset controls include at least one of a first control for inputting the target business data to be displayed at a preset component in the target plugin and a second control for selecting the target display style from multiple preset display styles.
[0228] The first acquisition module can be specifically used for:
[0229] Obtain the input operation performed by the mini-program administrator using the first control for the target business data; or...
[0230] Obtain the first selection operation for the target display style performed by the mini-program administrator using the second control.
[0231] Optionally, the plugin configuration page may also include a second area for displaying preview pages of each of the preset components. Figure 7 The device also includes:
[0232] The third acquisition module is used to acquire the second selection operation of the preview page of any of the preset components displayed in the second area by the mini program administrator.
[0233] A preset control display module is used to display the preset control for setting any of the preset components in the first area in response to the second selection operation.
[0234] Optional, Figure 7 The device may further include:
[0235] The deployment instruction generation module is used to generate a deployment instruction for the target plugin based on the plugin page access address; the deployment instruction is used to instruct the establishment of a calling relationship between the target application control and the target plugin; the calling relationship is used to instruct the terminal device to display the page of the target plugin based on the plugin page access address after detecting that the target application control has been triggered; the target application control is a control in the target mini-program or a control in the host application of the target mini-program.
[0236] The third sending module is used to send the deployment instruction to the device at the organization that manages the target application control;
[0237] The plugin page access address is generated based on the unique program identifier of the target mini-program, the unique plugin identifier of the target plugin, and the preset page access address of the target plugin's homepage. Specifically, the terminal device, upon detecting that the target application control is triggered, retrieves the plugin program file package of the target plugin based on the plugin page access address, and retrieves the plugin page data of the target plugin by running the plugin program file package, so as to display the homepage of the target plugin using the plugin page data. The plugin page data includes the target business data and style identifier data of the target display style required to display the target business data. The plugin program file package is generated based on the data access address for the plugin page data and the component program files of each preset component contained in the target plugin.
[0238] Optional, Figure 7 The device may further include:
[0239] The target trigger operation acquisition module is used to acquire the target trigger operation executed by the mini program manager for the ordering activity of a preset component set; the preset component set includes at least one preset component.
[0240] The participation request sending module is used to send a participation request from the mini-program administrator for the ordering activity to the target server in response to the target triggering operation; the participation request is used to request the deployment of the target plugin in the target mini-program using at least some of the preset components in the preset component set.
[0241] The page access address receiving module is used to receive the page access address of the plugin configuration page for the target mini-program fed back by the target server; the page access address is the information fed back by the target server after determining that the participation request has been approved.
[0242] Optionally, the target trigger operation acquisition module can be used for:
[0243] The system retrieves the submission operation of the data to be reviewed set by the mini-program administrator for the ordering activity; the data to be reviewed includes the identity information of the mini-program administrator, the unique program identifier of the target mini-program, and introductory information for the target business data.
[0244] The request sending module can be used specifically for:
[0245] In response to the submission operation, a participation request for the ordering activity, carrying the data to be reviewed, is sent to the target server.
[0246] Based on the same idea, this specification also provides devices corresponding to the above methods in its embodiments.
[0247] Figure 8 The embodiments provided in this specification correspond to Figure 2 A schematic diagram of the configuration device for a mini-program plugin. (Example) Figure 8 As shown, device 800 may include:
[0248] At least one processor 810; and,
[0249] Memory 830 communicatively connected to the at least one processor; wherein,
[0250] The memory 830 stores instructions 820 that can be executed by the at least one processor 810, the instructions being executed by the at least one processor 810 to enable the at least one processor 810 to:
[0251] Obtain operation information of the plugin settings operation performed by the mini-program administrator in the plugin configuration page of the target mini-program; the plugin settings operation is performed by triggering a preset control used to set the business data or business data display style of the target plugin.
[0252] Based on the operation information of the plugin settings, determine the plugin configuration information for the target plugin in the target mini-program; the plugin configuration information is used to instruct the target business data to be displayed in the target plugin according to the target display style.
[0253] Obtain the release instructions from the mini-program administrator for the target plugin.
[0254] In response to the release command, a plugin page access address for the target plugin is generated based on the plugin configuration information; when the plugin page access address is accessed by a terminal device, it is used to instruct the terminal device to display the page of the target plugin according to the plugin configuration information.
[0255] Send the plugin page access address for the target plugin to the device of the mini-program administrator.
[0256] Based on the same idea, this specification also provides devices corresponding to the above methods in its embodiments.
[0257] Figure 9 The embodiments provided in this specification correspond to Figure 2 A schematic diagram of the configuration device for a mini-program plugin. (Example) Figure 9 As shown, device 900 may include:
[0258] At least one processor 910; and,
[0259] Memory 930 communicatively connected to the at least one processor; wherein,
[0260] The memory 930 stores instructions 920 that can be executed by the at least one processor 910, the instructions being executed by the at least one processor 910 to enable the at least one processor 910 to:
[0261] The plugin setting operation performed by the mini-program administrator on the plugin configuration page of the target mini-program is obtained; the plugin setting operation is performed by triggering a preset control used to set the business data or business data display style of the target plugin.
[0262] The operation information for the plugin settings is sent to the target server; the target server is used to determine the plugin configuration information for the target plugin in the target mini-program based on the operation information; the plugin configuration information is used to instruct the target business data to be displayed in the target plugin according to the target display style.
[0263] Obtain the publishing operation of the target plugin by the mini-program administrator.
[0264] In response to the release operation, a release instruction for the target plugin is sent to the target server.
[0265] The system receives the plugin page access address for the target plugin from the target server; when the plugin page access address is accessed by the terminal device, it is used to instruct the terminal device to display the page of the target plugin according to the plugin configuration information.
[0266] The various embodiments in this specification are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on its differences from other embodiments. In particular, for... Figure 8 and Figure 9As the device shown is basically similar to the method embodiment, the description is relatively simple, and relevant parts can be found in the description of the method embodiment.
[0267] In the 1990s, improvements to a technology could be clearly distinguished as either hardware improvements (e.g., improvements to the circuit structure of diodes, transistors, switches, etc.) or software improvements (improvements to the methodology). However, with technological advancements, many methodological improvements today can be considered direct improvements to the hardware circuit structure. Designers almost always obtain the corresponding hardware circuit structure by programming the improved methodology into the hardware circuit. Therefore, it cannot be said that a methodological improvement cannot be implemented using hardware physical modules. For example, a Programmable Logic Device (PLD) (such as a Field Programmable Gate Array (FPGA)) is such an integrated circuit whose logic function is determined by the user programming the device. Designers can program and "integrate" a digital system onto a PLD themselves, without needing chip manufacturers to design and manufacture dedicated integrated circuit chips. Moreover, nowadays, instead of manually manufacturing integrated circuit chips, this programming is mostly implemented using "logic compiler" software, which is similar to the software compiler used when writing program development code. The original code before compilation must also be written in a specific programming language, which is called a Hardware Description Language (HDL). There is not just one HDL, but many, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description Language), etc. Currently, the most commonly used are VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should also understand that by simply performing some logic programming on the method flow using the aforementioned hardware description languages and programming it into an integrated circuit, the hardware circuit that implements the logic method flow can be easily obtained.
[0268] The controller can be implemented in any suitable manner. For example, it can take the form of a microprocessor or processor and a computer-readable medium storing computer-readable program code (e.g., software or firmware) executable by the (micro)processor, logic gates, switches, application-specific integrated circuits (ASICs), programmable logic controllers, and embedded microcontrollers. Examples of controllers include, but are not limited to, the following microcontrollers: ARC625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicon Labs C8051F320. A memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art will also recognize that, in addition to implementing the controller in purely computer-readable program code form, the same functionality can be achieved by logically programming the method steps to make the controller take the form of logic gates, switches, ASICs, programmable logic controllers, and embedded microcontrollers. Therefore, such a controller can be considered a hardware component, and the means included therein for implementing various functions can also be considered as structures within the hardware component. Alternatively, the means for implementing various functions can be considered as both software modules implementing the method and structures within the hardware component.
[0269] The systems, devices, modules, or units described in the above embodiments can be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, a computer can be, for example, a personal computer, laptop computer, cellular phone, camera phone, smartphone, personal digital assistant, media player, navigation device, email device, game console, tablet computer, wearable device, or any combination of these devices.
[0270] For ease of description, the above devices are described separately by function as various units. Of course, in implementing this application, the functions of each unit can be implemented in one or more software and / or hardware.
[0271] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0272] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0273] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0274] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0275] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0276] Memory may include non-persistent storage in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.
[0277] Computer-readable media include both permanent and non-permanent, removable and non-removable media that can store information by any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change 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 technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.
[0278] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0279] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0280] This application can be described in the general context of computer-executable instructions, such as program modules, that are executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc., that perform a specific task or implement a specific abstract data type. This application can also be practiced in distributed computing environments where tasks are performed by remote processing devices connected via a communication network. In distributed computing environments, program modules can reside in local and remote computer storage media, including storage devices.
[0281] The above description is merely an embodiment of this application and is not intended to limit the scope of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of the claims of this application.
Claims
1. A method for configuring a WeChat Mini Program plugin, comprising: Obtain operation information of the plugin settings performed by the mini-program administrator in the plugin configuration page for the target mini-program; The plugin setting operation is performed by triggering a preset control used to set the business data or business data display style at the target plugin. Based on the operation information of the plugin settings, determine the plugin configuration information for the target plugin in the target mini-program; the plugin configuration information is used to instruct the target business data to be displayed in the target plugin according to the target display style; Obtain the release instructions from the mini-program administrator for the target plugin; In response to the release command, based on the plugin configuration information, a plugin page access address for the target plugin is generated, along with the data resources and program code resources required to run the target plugin; when the plugin page access address is accessed by a terminal device, it is used to instruct the terminal device to display the page of the target plugin according to the plugin configuration information. Send the plugin page access address for the target plugin to the device of the mini-program administrator.
2. The method as described in claim 1, further comprising, before obtaining the operation information of the plugin setting operation performed by the mini-program administrator in the plugin configuration page of the target mini-program: Obtain a subscription activity release request generated by a first organization for a preset component set; the preset component set contains at least one preset component. In response to the order activity release request, an order activity for the preset component set is released; Obtain the participation request from the mini-program administrator for the ordering activity; The participation request is used to request the deployment of the target plugin in the target mini-program using at least a portion of the preset components in the preset component set. If the participation request is approved, the page access address of the plugin configuration page of the target mini-program is sent to the mini-program administrator's device.
3. The method as described in claim 2, wherein the participation request carries the identity information of the mini-program administrator, the unique program identifier of the target mini-program, and introductory information regarding the target business data; After obtaining the participation request from the mini-program administrator for the ordering activity, the process further includes: Based on the identity information of the mini-program administrator and the unique program identifier of the target mini-program, determine whether the mini-program administrator has the authority to deploy plugins for the target mini-program, and obtain the first determination result; If the first judgment result indicates that the mini-program manager has the permission to deploy a plugin for the target mini-program, then based on the description information of the target business data, it is determined whether to allow the target business data to be displayed at the target plugin deployed using the preset component set, and a second judgment result is obtained. If the second judgment result indicates that the target business data is allowed to be displayed at the target plugin deployed using the preset component set, then an audit result is generated to indicate that the participation request has been approved.
4. The method of claim 2, further comprising, before publishing the subscription activity for the preset component set in response to the subscription activity publication request: Stores the plugin configuration page data provided by the second organization; The plugin configuration page data is the data required to display the plugin configuration page. Determine the first data access address for the plugin configuration page data; If the participation request is approved, the page access address of the plugin configuration page of the target mini-program is sent to the mini-program administrator's device, specifically including: If the participation request is approved, the first data access address for the plugin configuration page data is sent to the device of the mini-program manager. The device of the mini-program manager is used to access the first data access address to obtain the plugin configuration page data, and to display the plugin configuration page using the plugin configuration page data.
5. The method as described in claim 1, wherein the plugin setting operation is performed by triggering a preset control for setting the business data or business data display style at a preset component; the plugin configuration information is used to instruct the target business data to be displayed at the preset component included in the target plugin according to the target display style; In response to the release command, the process of generating a plugin page access address for the target plugin based on the plugin configuration information specifically includes: Based on the plugin configuration information, the homepage of the target plugin is determined from the component pages of the preset components included in the target plugin; Based on the unique program identifier of the target mini-program, the unique plugin identifier of the target plugin, and the preset page access address of the homepage, a plugin page access address for the target plugin is generated.
6. The method as described in claim 5, further comprising, after obtaining the release instruction from the mini-program administrator for the target plugin: Based on the plugin configuration information, the plugin page data of the target plugin is stored to the first server. The plugin page data includes the target business data and style identifier data of the target display style required to display the target business data; Based on the second data access address of the plugin page data and the component program files of the preset components contained in the target plugin, a plugin program file package of the target plugin is generated. Store the plugin program file package of the target plugin to the second server; Specifically, when the plugin page access address is accessed by the terminal device, it is used to cause the terminal device to download the plugin program file package from the second server, and to obtain the plugin page data by running the plugin program file package to access the second data access address, so as to display the homepage of the target plugin using the plugin page data.
7. The method as described in claim 5, wherein the plugin configuration page includes a first area for displaying each of the preset controls and a second area for displaying a preview page of each of the preset components; wherein, The preset control includes at least one of a first control for inputting the target business data and a second control for selecting the target display style from a plurality of preset display styles.
8. The method of claim 1, further comprising, before generating the plugin page access address for the target plugin based on the plugin configuration information in response to the release instruction, the method includes: The target business data is reviewed to obtain the review results for the target business data. In response to the release command, the process of generating a plugin page access address for the target plugin based on the plugin configuration information specifically includes: If the review result for the target business data indicates that the target business data has passed the review, then in response to the release instruction, a plugin page access address for the target plugin is generated based on the plugin configuration information.
9. A method for configuring a WeChat Mini Program plugin, comprising: The plugin setting operation performed by the mini-program administrator in the plugin configuration page of the target mini-program is obtained; the plugin setting operation is performed by triggering a preset control used to set the business data or business data display style of the target plugin. The operation information for the plugin settings is sent to the target server; the target server is used to determine the plugin configuration information for the target plugin in the target mini-program based on the operation information; the plugin configuration information is used to instruct the target business data to be displayed in the target plugin according to the target display style; Obtain the publishing operation of the mini-program administrator for the target plugin; In response to the release operation, a release instruction for the target plugin is sent to the target server; The system receives the plugin page access address for the target plugin, as well as the data resources and program code resources required to run the target plugin, from the target server. When the plugin page access address is accessed by the terminal device, it is used to instruct the terminal device to display the page of the target plugin according to the plugin configuration information.
10. The method as described in claim 9, further comprising, before obtaining the plugin setting operation performed by the mini-program administrator in the plugin configuration page of the target mini-program: Obtain the target trigger operation executed by the mini-program manager for the ordering activity of the preset component set; The preset component set includes at least one preset component; In response to the target triggering operation, the mini-program administrator sends a participation request for the ordering activity to the target server. The participation request is used to request the deployment of the target plugin in the target mini-program using at least a portion of the preset components in the preset component set. Receive the page access address of the plugin configuration page for the target mini-program from the target server; The page access address is the information returned by the target server after it determines that the participation request has been approved.
11. The method as described in claim 10, wherein obtaining the target trigger operation executed by the mini-program manager for the ordering activity of the preset component set specifically includes: Obtain the submission operation of the pending data set by the mini-program administrator in the ordering activity; The data to be reviewed includes the identity information of the mini-program administrator, the unique identifier of the target mini-program, and introductory information about the target business data; In response to the target triggering operation, sending the mini-program administrator's participation request for the ordering activity to the target server specifically includes: In response to the submission operation, a participation request for the ordering activity, carrying the data to be reviewed, is sent to the target server.
12. The method of claim 9, wherein the plugin configuration page includes a first area for displaying each of the preset controls; the preset controls include at least one of a first control for inputting the target business data to be displayed at a preset component in the target plugin and a second control for selecting the target display style from a plurality of preset display styles; The acquisition of plugin settings operations performed by the mini-program administrator in the plugin configuration page for the target mini-program specifically includes: Obtain the input operation performed by the mini-program administrator using the first control for the target business data; or, Obtain the first selection operation for the target display style performed by the mini-program administrator using the second control.
13. The method of claim 12, wherein the plugin configuration page further includes a second area for displaying preview pages of each of the preset components; Before obtaining the plugin settings operation performed by the mini-program administrator on the plugin configuration page of the target mini-program, the method further includes: Obtain the second selection operation of the preview page of any of the preset components displayed in the second area by the mini-program administrator; In response to the second selection operation, the preset control for setting any of the preset components is displayed in the first area.
14. The method of claim 9, further comprising, after receiving the plugin page access address for the target plugin from the target server, the method as follows: Based on the plugin page access address, a deployment instruction for the target plugin is generated; The deployment command is used to instruct the establishment of a calling relationship between the target application control and the target plugin; The calling relationship is used to enable the terminal device to display the page of the target plugin based on the plugin page access address after detecting that the target application control has been triggered; The deployment command is sent to the device at the organization that manages the target application controls.
15. The method as described in claim 14, wherein the target application control is a control in the target mini-program or a control in the host application of the target mini-program.
16. The method as described in claim 14, wherein the plugin page access address is generated based on the program unique identifier of the target mini-program, the plugin unique identifier of the target plugin, and the preset page access address of the homepage of the target plugin; The terminal device is specifically used to, after detecting that the target application control is triggered, obtain the plugin program file package of the target plugin based on the plugin page access address, and obtain the plugin page data of the target plugin by running the plugin program file package, so as to display the homepage of the target plugin using the plugin page data; in, The plugin page data includes the target business data and style identifier data of the target display style required to display the target business data. The plugin program file package is generated based on the data access address of the plugin page data and the component program files of each preset component contained in the target plugin.
17. A configuration device for a mini-program plugin, comprising: The first acquisition module is used to acquire operation information of the plugin settings operation performed by the mini-program administrator in the plugin configuration page for the target mini-program; The plugin setting operation is performed by triggering a preset control used to set the business data or business data display style at the target plugin. The plugin configuration information determination module is used to determine the plugin configuration information for the target plugin in the target mini-program based on the operation information of the plugin settings; the plugin configuration information is used to instruct the target business data to be displayed in the target plugin according to the target display style; The second acquisition module is used to acquire the release instructions from the mini-program administrator for the target plugin; The first generation module is used to respond to the release instruction, generate a plugin page access address for the target plugin and generate the data resources and program code resources required to run the target plugin according to the plugin configuration information; when the plugin page access address is accessed by the terminal device, it is used to cause the terminal device to display the page of the target plugin according to the plugin configuration information. The sending module is used to send the plugin page access address for the target plugin to the device of the mini-program manager.
18. The apparatus of claim 17, wherein the plug-in configuration page includes a first area for displaying each of the preset controls and a second area for displaying a preview page of each preset component; wherein, The preset control includes at least one of a first control for inputting the target business data to be displayed at the preset component and a second control for selecting the target display style from a plurality of preset display styles; the plugin configuration information is used to instruct the target business data to be displayed at the preset component included in the target plugin according to the target display style; The first generation module is specifically used for: Based on the plugin configuration information, the homepage of the target plugin is determined from the component pages of the preset components included in the target plugin; Based on the unique program identifier of the target mini-program, the unique plugin identifier of the target plugin, and the preset page access address of the homepage, a plugin page access address for the target plugin is generated.
19. The apparatus of claim 18, further comprising: The first storage module is used to store the plugin page data of the target plugin to the first server according to the plugin configuration information; The plugin page data includes the target business data and style identifier data of the target display style required to display the target business data; The second generation module is used to generate a plugin program file package for the target plugin based on the second data access address of the plugin page data and the component program files of the preset components contained in the target plugin. The second storage module is used to store the plug-in program file package of the target plug-in to the second server. Specifically, when the plugin page access address is accessed by the terminal device, it is used to cause the terminal device to download the plugin program file package from the second server, and to obtain the plugin page data by running the plugin program file package to access the second data access address, so as to display the homepage of the target plugin using the plugin page data.
20. A configuration device for a mini-program plugin, comprising: The first acquisition module is used to acquire the plugin settings operations performed by the mini-program administrator in the plugin configuration page for the target mini-program; The plugin setting operation is performed by triggering a preset control used to set the business data or business data display style at the target plugin. The first sending module is used to send the operation information of the plugin setting operation to the target server; the target server is used to determine the plugin configuration information of the target plugin for the target mini-program based on the operation information; the plugin configuration information is used to instruct the target business data to be displayed in the target plugin according to the target display style; The second acquisition module is used to acquire the publishing operation of the mini-program manager for the target plugin; The second sending module is used to send a publishing instruction for the target plugin to the target server in response to the publishing operation; The receiving module is used to receive the plugin page access address for the target plugin, as well as the data resources and program code resources required to run the target plugin, fed back by the target server; when the plugin page access address is accessed by the terminal device, it is used to instruct the terminal device to display the page of the target plugin according to the plugin configuration information.
21. The apparatus of claim 20, wherein the plug-in configuration page includes a first area for displaying each of the preset controls; the preset controls include at least one of a first control for inputting the target business data to be displayed at a preset component in the target plug-in and a second control for selecting the target display style from a plurality of preset display styles; The first acquisition module is specifically used for: Obtain the input operation performed by the mini-program administrator using the first control for the target business data; or... Obtain the first selection operation for the target display style performed by the mini-program administrator using the second control.
22. The apparatus of claim 21, wherein the plug-in configuration page further includes a second area for displaying preview pages of each of the preset components; The device further includes: The third acquisition module is used to acquire the second selection operation of the mini-program manager on the preview page of any of the preset components displayed in the second area; A preset control display module is used to display the preset control for setting any of the preset components in the first area in response to the second selection operation.
23. The apparatus of claim 21, further comprising: The deployment instruction generation module is used to generate a deployment instruction for the target plugin based on the plugin page access address; the deployment instruction is used to instruct the establishment of a calling relationship between the target application control and the target plugin; the calling relationship is used to instruct the terminal device to display the page of the target plugin based on the plugin page access address after detecting that the target application control has been triggered; the target application control is a control in the target mini-program or a control in the host application of the target mini-program; The third sending module is used to send the deployment instruction to the device at the organization that manages the target application control; The plugin page access address is generated based on the unique program identifier of the target mini-program, the unique plugin identifier of the target plugin, and the preset page access address of the target plugin's homepage. Specifically, the terminal device, upon detecting that the target application control is triggered, retrieves the plugin program file package of the target plugin based on the plugin page access address, and retrieves the plugin page data of the target plugin by running the plugin program file package, so as to display the homepage of the target plugin using the plugin page data. The plugin page data includes the target business data and style identifier data of the target display style required to display the target business data. The plugin program file package is generated based on the data access address for the plugin page data and the component program files of each preset component contained in the target plugin.
24. A configuration device for a mini-program plugin, comprising: At least one processor; as well as, A memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor, which, when executed by the at least one processor, enable the at least one processor to: Obtain operation information of the plugin settings operation performed by the mini-program administrator in the plugin configuration page of the target mini-program; the plugin settings operation is performed by triggering a preset control used to set the business data or business data display style of the target plugin. Based on the operation information of the plugin settings, determine the plugin configuration information for the target plugin in the target mini-program; the plugin configuration information is used to instruct the target business data to be displayed in the target plugin according to the target display style; Obtain the release instructions from the mini-program administrator for the target plugin; In response to the release command, based on the plugin configuration information, a plugin page access address for the target plugin is generated, along with the data resources and program code resources required to run the target plugin; when the plugin page access address is accessed by a terminal device, it is used to instruct the terminal device to display the page of the target plugin according to the plugin configuration information. Send the plugin page access address for the target plugin to the device of the mini-program administrator.
25. A configuration device for a mini-program plugin, comprising: At least one processor; as well as, A memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor, which, when executed by the at least one processor, enable the at least one processor to: The plugin setting operation performed by the mini-program administrator in the plugin configuration page of the target mini-program is obtained; the plugin setting operation is performed by triggering a preset control used to set the business data or business data display style of the target plugin. The operation information for the plugin settings is sent to the target server; the target server is used to determine the plugin configuration information for the target plugin in the target mini-program based on the operation information; the plugin configuration information is used to instruct the target business data to be displayed in the target plugin according to the target display style; Obtain the publishing operation of the mini-program administrator for the target plugin; In response to the release operation, a release instruction for the target plugin is sent to the target server; The system receives the plugin page access address for the target plugin, as well as the data resources and program code resources required to run the target plugin, from the target server. When the plugin page access address is accessed by the terminal device, it is used to instruct the terminal device to display the page of the target plugin according to the plugin configuration information.
26. A computer program product, characterized in that, Includes computer instructions that, when executed by a processor, implement the method described in any one of claims 1-8 or 9-16.
Citation Information
Patent Citations
Program document generation method based on vehicle business development platform and development platform
CN114296727A
URL (Uniform Resource Locator)-based access authority control method and device
CN114444094A