CN109144615B - Information publishing method, device, equipment and storage medium - Google Patents

Information publishing method, device, equipment and storage medium Download PDF

Info

Publication number
CN109144615B
CN109144615B CN201811150572.2A CN201811150572A CN109144615B CN 109144615 B CN109144615 B CN 109144615B CN 201811150572 A CN201811150572 A CN 201811150572A CN 109144615 B CN109144615 B CN 109144615B
Authority
CN
China
Prior art keywords
information
page
component
sub
display
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811150572.2A
Other languages
Chinese (zh)
Other versions
CN109144615A (en
Inventor
武明礼
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Chengshi Wanglin Information Technology Co Ltd
Original Assignee
Beijing Chengshi Wanglin Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Chengshi Wanglin Information Technology Co Ltd filed Critical Beijing Chengshi Wanglin Information Technology Co Ltd
Priority to CN201811150572.2A priority Critical patent/CN109144615B/en
Publication of CN109144615A publication Critical patent/CN109144615A/en
Application granted granted Critical
Publication of CN109144615B publication Critical patent/CN109144615B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • G06F9/4451User profiles; Roaming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Abstract

The invention discloses an information issuing method, an information issuing device, information issuing equipment and a storage medium, wherein the method comprises the following steps: configuring page information to be issued of the sub-application program; adding a component for displaying the page information, and performing display configuration on the component; and when an information acquisition request of the sub-application program is received, opening the acquisition permission of the page information, the assembly and the display configuration information to the sub-application program. And the sub application program calls the component to enable the component to render a page according to the page information and the display configuration information of the component, and the page is displayed. According to the scheme provided by the invention, when the specific page content needs to be dynamically displayed, the specific page content and the component for displaying the specific page content are only needed to be configured, and the specific page content can be read by the sub-application program and displayed and issued. When the scheme is used for releasing the specific content, the repeated version releasing process is not needed, and the information releasing efficiency is improved.

Description

Information publishing method, device, equipment and storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to an information distribution method, apparatus, device, and storage medium.
Background
WeChat applets work in WeChat applications, with releases controlled by WeChat authorities. The applet issuer must use the data interface provided by the WeChat applet API (application Programming interface) to complete the applet issuance. The process of publishing the edition needs to go through the processes of testing, experiencing, reviewing, online and the like. However, even if a simple operation is released in an applet, the issuing process is carried out and the applet can be normally on-line. Therefore, a small program needs to display a specific page and needs to go through a large amount of development work such as development, testing and publishing, and the efficiency of information publishing is greatly influenced.
Disclosure of Invention
In view of the above problems, embodiments of the present invention are proposed to provide an information distribution method, apparatus, device, and storage medium that solve the above problems.
According to an aspect of an embodiment of the present invention, there is provided an information distribution method, including:
configuring page information to be issued by the sub-application;
adding a component for displaying the page information, and performing display configuration on the component;
and when an information acquisition request of the sub-application program is received, opening the acquisition permission of the page information, the components and the display configuration information to the sub-application program.
Optionally, in this embodiment of the present invention, the page information includes one or more of the following information:
the method comprises the following steps of page content title, page content classification, page state, whether the sharing function of the current page is started or not, page sharing scheme, jump path and log point burying field.
Optionally, in the embodiment of the present invention, the displaying and configuring the component includes: configuring data, presentation effects, and supported operational capabilities exposed in the component, the operational capabilities including: interaction capability and/or jump capability.
Optionally, in the embodiment of the present invention, the page information, the component, and the display configuration information of the component are stored in a database;
the opening of the acquisition permission of the page information, the component and the display configuration information to the sub-application program comprises the following steps: and opening the access and data reading permission of the database to the sub-application program.
According to another aspect of the embodiments of the present invention, there is provided an information distribution method, including:
sending an information acquisition request to a page information storage party to acquire page information to be issued, a component for displaying the page information and display configuration information of the component;
and calling the component to enable the component to render a page according to the page information and the display configuration information of the component, and displaying the page.
Optionally, in this embodiment of the present invention, before invoking the component, further includes:
judging whether the current page is closed or not according to the page state carried in the page information, if so, ending the issuing process; otherwise, executing the operation of calling the component.
Optionally, in the embodiment of the present invention, rendering a page by the component according to the page information and the display configuration information of the component specifically includes:
the component determines display data in the page information according to the configuration of the display data in the display configuration information;
and the component renders the page according to the display data and the configuration of the presentation effect and the supported operation capability in the display configuration information.
According to a third aspect of the embodiments of the present invention, there is provided an information distribution apparatus including:
the first configuration module is used for configuring the page information to be issued;
the second configuration module is used for adding a component for displaying the page information and performing display configuration on the component;
and the request processing module is used for opening the acquisition permission of the page information, the components and the display configuration information to the sub-application program when receiving an information acquisition request of the sub-application program.
Optionally, in this embodiment of the present invention, the page information includes one or more of the following information:
the method comprises the steps of page content title, page content classification, page state, whether a sharing function of a current page is started or not, a page sharing file, a skip path and a log point burying field.
Optionally, in this embodiment of the present invention, the second configuration module is specifically configured to configure the data, the presentation effect, and the supported operation capability shown in the component, so as to implement the display configuration of the component; the operational capabilities include: interaction capability and/or jump capability.
Optionally, in an embodiment of the present invention, the apparatus further includes: a database;
the database is used for storing the page information, the components and the display configuration information of the components;
the request processing module is specifically configured to open access and data reading permissions of the database to the sub-application when receiving an information acquisition request of the sub-application.
According to a fourth aspect of the embodiments of the present invention, there is provided an information distribution apparatus including:
the information acquisition module is used for sending an information acquisition request to a page information storage party so as to acquire page information to be issued, a component for displaying the page information and display configuration information of the component;
and the information issuing module is used for calling the assembly so as to enable the assembly to render a page according to the page information and the display configuration information of the assembly and display the page.
Optionally, in the embodiment of the present invention, the information publishing module is further configured to determine whether the current page is closed according to a page state carried in the page information, and if so, end the publishing process; otherwise, calling the component to enable the component to render the page according to the page information and the display configuration information of the component.
Optionally, in the embodiment of the present invention, the information publishing module is configured to call the component, so that the component determines, according to the configuration of the display data in the display configuration information, the display data in the page information; and according to the display data, rendering the page according to the configuration of the display effect and the supported operation capacity in the display configuration information.
According to the scheme of the embodiment of the invention, when the specific page content needs to be dynamically displayed, the specific page content and the component for displaying the specific page content are only needed to be configured, and the specific page content can be read by the sub-application program and displayed and issued. According to the scheme, when the specific content is released, the process of repeated version release is not needed, the version release processes of testing, experience, submission, online and the like are omitted when the sub-application program needs to display different interfaces, the content can be released at any time according to the needs, and the information release efficiency is greatly improved.
The foregoing description is only an overview of the technical solutions of the embodiments of the present invention, and the embodiments of the present invention can be implemented according to the content of the description in order to make the technical means of the embodiments of the present invention more clearly understood, and the detailed description of the embodiments of the present invention is provided below in order to make the foregoing and other objects, features, and advantages of the embodiments of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the embodiments of the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a flowchart of an information distribution method according to a first embodiment of the present invention;
fig. 2 is a flowchart of an information distribution method according to a second embodiment of the present invention;
fig. 3 is a flowchart of an information distribution method according to a third embodiment of the present invention;
fig. 4 is a flowchart of an information distribution method according to a fourth embodiment of the present invention;
fig. 5 is a flowchart of an information publishing method according to a fifth embodiment of the present invention;
fig. 6 is a block diagram of an information distribution apparatus according to a sixth embodiment of the present invention;
fig. 7 is a block diagram of a further information distribution apparatus according to a sixth embodiment of the present invention;
fig. 8 is a block diagram of an information distribution apparatus according to a seventh embodiment of the present invention;
fig. 9 is a block diagram of an information distribution apparatus according to an eighth embodiment and a ninth embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
In a first embodiment of the present invention, an information publishing method is provided, as shown in fig. 1, the method in the embodiment of the present invention includes the following steps:
s101, configuring page information to be issued by a sub-application program;
in the embodiment of the present invention, the sub application refers to an applet, and more specifically, to an applet that can operate in other applications. Such as a WeChat applet.
In the embodiment of the present invention, the page may refer to any page of operation activities formulated for the sub-application, for example, some publicity pages, time-sensitive promotion pages, and the like.
In the embodiment of the present invention, the page information includes: the method comprises the following steps of page content title, page content classification, page state, whether the sharing function of the current page is started or not, page sharing scheme, jump path, log point-burying field and the like. Wherein, the page state includes: whether to close the page. That is, the active publication pages of the operation activity are all time-efficient, the page status is normal during time-efficient, and the page status is closed outside time-efficient, that is, the activity is closed, and at this time, the page publication may not be needed.
Those skilled in the art may add or delete the above information as needed, but the scope of the protection idea of the embodiments of the present invention is within the scope of the present invention.
Step S102, adding a component for displaying the page information, and performing display configuration on the component;
in the embodiment of the invention, the added components are one or more, the components are different from < web-view > components provided by the authority of the sub-application, and the < web-view > components provided by the authority can only carry out very limited interaction capacity such as route jumping of the current sub-application. The component in the embodiment of the invention is developed secondarily based on a native < web-view > component provided by a sub-application program. Specifically, in this embodiment, the component may be configured to perform a display configuration, where the display configuration includes: configuring data, presentation effects, and supported operational capabilities exposed in the component.
The data displayed in the component is configured to be the data required to be displayed by the component, and the page information is configured to be the data required to be displayed by the component in this embodiment.
The operational capabilities include: interaction capability and/or jump capability. Illustratively, the jumping capability includes jumping to a certain specified page inside the applet and carrying parameters; the interactive capability includes: and (3) utilizing the API provided by the applet to carry out interaction, such as sharing to a group, opening the applet setting page and the like.
Step S103, when receiving the information acquisition request of the sub-application program, opening the acquisition permission of the page information, the components and the display configuration information to the sub-application program.
In the embodiment of the present invention, the obtaining permission for opening the page information, the component and the display configuration information includes but is not limited to: allowing the sub-application to read various information; alternatively, the requested information is returned to the sub-application upon request.
In the embodiment of the present invention, the information acquisition request carries an identifier ID of the sub-application, and the acquisition right of the information corresponding to the identifier ID is opened to the sub-application according to the identifier ID.
The method of the embodiment of the invention can be applied to an operation activity background for activity page development, but not limited to the application.
In summary, when the specific page content needs to be dynamically displayed, the method according to the embodiment of the present invention only needs to configure the specific page content and the component for displaying the specific page content, and can be read by the sub-application program and implement the display and issue of the specific page content. According to the scheme, when the specific content is released, the process of repeated version release is not needed, the version release processes of testing, experience, submission, online and the like are omitted when the sub-application program needs to display different interfaces, the content can be released at any time according to the needs, and the information release efficiency is greatly improved.
In a second embodiment of the present invention, an information publishing method is provided, as shown in fig. 2, the method in the embodiment of the present invention includes the following steps:
step S201, configuring page information to be issued by a sub-application program, and storing the page information into a database;
the same parts in this step as those in the first embodiment can be referred to in the first embodiment, and this embodiment is not described again.
Step S202, adding a component for displaying the page information, performing display configuration on the component, and storing the component and the display configuration information of the component in a database;
the same parts in this step as those in the first embodiment can be referred to in the first embodiment, and this embodiment is not described again.
Step S203, when receiving the information acquisition request of the sub application program, opening the access and data reading permissions of the database to the sub application program.
In the embodiment of the invention, the information acquisition request carries the identifier ID of the sub-application program, and the acquisition permission of the information corresponding to the identifier ID is opened to the sub-application program according to the identifier ID.
According to the scheme of the embodiment of the invention, when the specific page content needs to be dynamically displayed, only the specific page content and the component for displaying the specific page content need to be configured, and each configured information is stored in the database for being read by the corresponding sub-application program, and when the sub-application program reads each configured information, the display and release of the specific page content in the sub-application program can be realized. According to the scheme, when the specific content is released, the process of repeated version release is not needed, the version release processes of testing, experiencing, reviewing, online and the like when the sub-application program needs to display different interfaces are omitted, the content can be released at any time according to the needs, and the information release efficiency is greatly improved.
In a third embodiment of the present invention, an information publishing method is provided, where the method is applied to a sub-application, and as shown in fig. 3, the method in the embodiment of the present invention includes the following steps:
step S301, sending an information acquisition request to a page information storage party to acquire page information to be issued, a component for displaying the page information and display configuration information of the component;
in an optional embodiment of the present invention, the page information storage party is an operation activity background for activity page development.
In the embodiment of the present invention, the sub application may determine, according to the configuration, an opportunity to send the information acquisition request. And when the sub application program sends the information acquisition request, the identification ID of the sub application program is carried in the information acquisition request so as to acquire the page information to be issued corresponding to the identification ID.
Step S302, the component is called, so that the component renders a page according to the page information and the display configuration information of the component, and the page is displayed.
In the embodiment of the present invention, the display configuration information of the component includes: configuration information of data, configuration information of presentation effects and configuration information of supported operation capabilities are shown in the component.
In the embodiment of the present invention, rendering a page by a component according to the page information and the display configuration information of the component specifically includes:
the component determines display data in the page information according to the configuration of the display data in the display configuration information;
and the component renders the page according to the display data and the configuration of the presentation effect and the supported operation capability in the display configuration information.
According to the method, when the specific information content needs to be issued, the sub-application program only needs to acquire the page information to be issued, the component for displaying the page information and the display configuration information of the component, and the page can be rendered and displayed according to the acquired information. The process saves the publishing processes of testing, experiencing, reviewing, online and the like when the sub-application program needs to display different interfaces, and can publish the content at any time according to the needs, thereby greatly improving the information publishing efficiency.
In a fourth embodiment of the present invention, an information publishing method is provided, where the method in this embodiment is applied to a sub application, and as shown in fig. 4, the method in the embodiment of the present invention includes the following steps:
step S401, sending an information acquisition request to a page information storage party to acquire page information to be issued, a component for displaying the page information and display configuration information of the component;
step S402, judging whether the current page is closed or not according to the page state carried in the page information, if so, executing step S403; otherwise, go to step S404;
step S403, ending the release flow;
and S404, calling the component to enable the component to render a page according to the page information and the display configuration information of the component, and displaying the page.
In the embodiment of the present invention, rendering a page by a component according to the page information and the display configuration information of the component specifically includes:
the component determines display data in the page information according to the configuration of the display data in the display configuration information;
and the component renders the page according to the display data and the configuration of the presentation effect and the supported operation capability in the display configuration information.
According to the method, when the specific information content needs to be issued, the sub-application program only needs to acquire the page information to be issued, the component for displaying the page information and the display configuration information of the component, and the page can be rendered and displayed according to the acquired information. The process saves the publishing processes of testing, experiencing, reviewing, online and the like when the sub-application program needs to display different interfaces, and can publish the content at any time according to the needs, thereby greatly improving the information publishing efficiency.
In a fifth embodiment of the present invention, an information publishing method is provided, and the information publishing method will be described in more detail with reference to specific application examples. In the embodiment of the invention, the operation activities are dynamically displayed according to the data of the small program components configured by the operator in the background of the operation activities, and the complete capability of interacting with the small programs is provided.
As shown in fig. 5, the method according to the embodiment of the present invention includes the following steps:
1, entering an operation activity background;
2, basic configuration of operation activities, such as activity titles, activity classification, whether to close the operation activities, whether to start the sharing function of the current operation activities, a case in sharing, a skip pagePath, a log point-burying field and the like;
3, storing the data in the step 2 into a MongoDB database;
4, entering activity details, adding the components provided by the operation activity, and configuring data, presentation effect and supported operation capacity shown in the components;
specifically, in this embodiment, the added component is to expose different applet components by using JSON data generated by configuration in the operation page (i.e., basic configuration data in step 2) based on the native component provided by the applet. The component displays the styles such as < div >, < img/> and the like provided by HTML in a mobile webpage, and displays the components such as < block >, < image > | < swap > (carousel graph) and the like in an applet.
In this embodiment, the capabilities supported by the component are: jumping to a certain designated page in the applet and carrying parameters; or utilizing the api provided by the applet to interact, such as sharing to a group, opening an applet setting page and the like.
5, storing the data in the step 4 into a MongoDB database;
and 6, reading basic data configuration of the operation activity, the added components and data configuration of each component in the small program.
7, according to the basic data configuration, judging the current operation activity state, namely judging whether to close the activity page, and if the activity page is closed, directly not displaying any content; and if the activity state is normal, calling each component so that each component performs page rendering of the operation activity according to the data items in the step 6, sequentially displaying rendered pictures, characters and the like in the applet, and performing interaction according to the selected interaction behavior in the applet.
Specifically, in this embodiment, in the applet, a wx.request method provided by the applet is used to read a data item under the topic ID in the operation activity background, and an interaction behavior of the component may be specified in the data item, such as a jump to a certain route of the applet, an open of another applet, and the like. Therefore, the page rendered by the embodiment has the capability of interacting with the applet configured by the operation activity in the operation activity background.
In summary, the method according to the embodiment of the present invention can achieve the following effects:
the method has the advantages that 1, the update of the operation activity page in the small program can be realized without publishing, so that a great amount of repeated development work such as development, test, publishing and the like is omitted when the small program needs to display different interfaces, the hands of developers are liberated, and the working efficiency is greatly improved;
2, the operation activities are generated in an operation activity background and can be called by small programs, an entrance is provided for dynamically displaying the operation activities, and support is provided for online new operation activities at any time;
and 3, based on the hot update function of the applet, dynamically displaying static content on hot update is realized, that is, the configured data items are changed on the background of the operation activity, and the Page of the applet can display different content according to the corresponding data items and has different applet interaction behaviors (such as jumping to different applet pages and the like).
4, the embodiment of the invention can close the operation activities which are ended or need manual intervention at any time through configuration.
In a sixth embodiment of the present invention, there is provided an information distribution apparatus, as shown in fig. 6, including:
a first configuration module 610, configured to configure page information to be published;
a second configuration module 620, configured to add a component for displaying the page information, and perform display configuration on the component;
the request processing module 630 is configured to, when receiving an information acquisition request of a sub-application, open the acquisition permission of the page information, the component, and the display configuration information to the sub-application.
In a specific embodiment of the present invention, the page information includes one or more of the following information:
the method comprises the following steps of page content title, page content classification, page state, whether the sharing function of the current page is started or not, page sharing scheme, jump path and log point burying field.
In an embodiment of the present invention, the second configuration module 620 is specifically configured to configure the data, the presentation effect, and the supported operation capability shown in the component, so as to implement the display configuration of the component; the operational capabilities include: interaction capability and/or jump capability.
In an alternative embodiment of the present invention, as shown in fig. 7, the apparatus further comprises: a database 640;
the database 640 is used for storing the page information, the components and the display configuration information of the components;
the request processing module 630 is specifically configured to, when receiving an information acquisition request of a sub-application, open access and data reading permissions of the database to the sub-application.
The detailed implementation process of each module in this embodiment can be referred to in the first and second embodiments, and is not described in detail in this embodiment.
In summary, when the device according to the embodiment of the present invention needs to dynamically display a specific page content, the specific page content and the component for displaying the specific page content only need to be configured, and the specific page content can be read by the sub application program and displayed and published. According to the scheme, when the specific content is released, the process of repeated version release is not needed, the version release processes of testing, experience, submission, online and the like are omitted when the sub-application program needs to display different interfaces, the content can be released at any time according to the needs, and the information release efficiency is greatly improved.
In a seventh embodiment of the present invention, there is provided an information distribution apparatus applied to a sub-application or a device equipped with a sub-application, as shown in fig. 8, the apparatus including:
the information acquisition module 810 is configured to send an information acquisition request to a page information storage party to acquire page information to be published, an assembly used for displaying the page information, and display configuration information of the assembly;
and the information publishing module 820 is configured to invoke the component, so that the component renders a page according to the page information and the display configuration information of the component, and displays the page.
Optionally, in this embodiment of the present invention, the information publishing module 820 is further configured to determine whether the current page is closed according to a page state carried in the page information, and if so, end the publishing process; otherwise, calling the component to enable the component to render the page according to the page information and the display configuration information of the component.
Optionally, in this embodiment of the present invention, the information publishing module 820 is configured to invoke the component, so that the component determines, according to the configuration of the display data in the display configuration information, the display data in the page information; and according to the display data, rendering the page according to the configuration of the display effect and the supported operation capacity in the display configuration information.
The detailed implementation process of each module in this embodiment can be referred to in the third and fourth embodiments, and is not described in detail in this embodiment.
According to the device, when specific information content needs to be issued for the sub-application, only the page information to be issued, the component for displaying the page information and the display configuration information of the component need to be acquired, and the page can be rendered and displayed according to the acquired information. The process saves the publishing processes of testing, experiencing, reviewing, online and the like when the sub-application program needs to display different interfaces, and can publish the content at any time according to the needs, thereby greatly improving the information publishing efficiency.
In an eighth embodiment of the present invention, there is provided a computing device, as shown in fig. 9, including: memory 910, processor 920, and communication bus 930; the communication bus 930 is used for realizing connection communication between the processor 920 and the memory 910;
specifically, in this embodiment of the present invention, the Processor 920 may be a general-purpose Processor, such as a Central Processing Unit (CPU), a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits configured to implement the embodiments of the present invention. Wherein, the memory 910 is used for storing the executable instructions of the processor 920;
a memory 910 for storing program code and transferring the program code to the processor 920. Memory 910 may include Volatile Memory (Volatile Memory), such as Random Access Memory (RAM); the Memory 910 may also include a Non-Volatile Memory (Non-Volatile Memory), such as a Read-Only Memory (ROM), a Flash Memory (Flash Memory), a Hard Disk (Hard Disk Drive, HDD), or a Solid-State Drive (SSD); the memory 910 may also include a combination of the above types of memory.
Specifically, in the embodiment of the present invention, the processor 920 is configured to execute an information distribution program in an application program stored in the memory 910, so as to implement the following method steps:
step 1, configuring page information to be issued by a sub-application program;
step 2, adding a component for displaying the page information, and displaying and configuring the component;
and step 3, opening the acquisition permission of the page information, the assembly and the display configuration information to the sub-application program when receiving the information acquisition request of the sub-application program.
The implementation process of each step in this embodiment can be referred to in the first to second embodiments, and is not described in detail in this embodiment.
In a ninth embodiment of the present invention, there is provided a computing device, continuing from fig. 9, comprising: memory 910, processor 920, and communication bus 930; the communication bus 930 is used for realizing connection communication between the processor 920 and the memory 910;
specifically, in the embodiment of the present invention, the Processor 920 may be a general-purpose Processor, such as a Central Processing Unit (CPU), a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits configured to implement the embodiment of the present invention. Wherein, the memory 910 is used for storing the executable instructions of the processor 920;
a memory 910 for storing program code and transferring the program code to the processor 920. Memory 910 may include Volatile Memory (Volatile Memory), such as Random Access Memory (RAM); the Memory 910 may also include a Non-Volatile Memory (Non-Volatile Memory), such as a Read-Only Memory (ROM), a Flash Memory (Flash Memory), a Hard Disk (Hard Disk Drive, HDD), or a Solid-State Drive (SSD); the memory 910 may also include a combination of the above types of memory.
Specifically, in the embodiment of the present invention, the processor 920 is configured to execute an information distribution program in an application program stored in the memory 910, so as to implement the following method steps:
step 11, sending an information acquisition request to a page information storage party to acquire page information to be issued, a component for displaying the page information and display configuration information of the component;
and step 12, calling the component to enable the component to render a page according to the page information and the display configuration information of the component, and displaying the page.
The implementation process of each step in this embodiment can be referred to in the third to fourth embodiments, and is not described in detail in this embodiment.
In a tenth embodiment of the invention, a computer-readable storage medium is provided, on which a computer program is stored which, when being executed by a processor, carries out the method steps of:
step 1, configuring page information to be issued by a sub-application program;
step 2, adding a component for displaying the page information, and displaying and configuring the component;
and 3, when receiving an information acquisition request of the sub application program, opening the acquisition permission of the page information, the assembly and the display configuration information to the sub application program.
The implementation process of each step in this embodiment can be referred to in the first to second embodiments, and this embodiment is not described again.
In an eleventh embodiment of the invention, a computer-readable storage medium is provided, on which a computer program is stored which, when being executed by a processor, carries out the method steps of:
step 11, sending an information acquisition request to a page information storage party to acquire page information to be issued, a component for displaying the page information and display configuration information of the component;
and step 12, calling the component to enable the component to render a page according to the page information and the display configuration information of the component, and displaying the page.
The implementation process of each step in this embodiment can be referred to in the third to fourth embodiments, and is not described in detail in this embodiment.
Wherein the computer storage medium may be RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, the functional modules in the embodiments of the present invention may be integrated together to form an independent part, or each module may exist alone, or two or more modules may be integrated to form an independent part.
In short, the above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (18)

1. An information distribution method, comprising:
configuring page information to be issued by a sub-application program, wherein the sub-application program is an applet program capable of working in other application programs;
adding a component for displaying the page information, and performing display configuration on the component;
and when an information acquisition request of the sub-application program is received, opening the acquisition permission of the page information, the component and the display configuration information to the sub-application program, and finishing the rendering and display of the page by the sub-application program according to the acquired page information, the component and the display configuration information.
2. The method of claim 1, wherein the page information includes one or more of the following information:
the method comprises the following steps of page content title, page content classification, page state, whether the sharing function of the current page is started or not, page sharing scheme, jump path and log point burying field.
3. The method of claim 1, wherein exposing the component comprises: configuring data, presentation effects, and supported operational capabilities exposed in the component, the operational capabilities including: interaction capability and/or jump capability.
4. The method of claim 1, wherein the page information, components, exposure configuration information for components are stored in a database;
the opening of the acquisition permission of the page information, the component and the display configuration information to the sub-application program comprises the following steps: and opening the access and data reading permission of the database to the sub-application program.
5. An information distribution method applied to a sub-application that is an applet operable in another application, the method comprising:
sending an information acquisition request to a page information storage party to acquire page information to be issued, a component for displaying the page information and display configuration information of the component;
and calling the component to enable the component to render a page according to the page information and the display configuration information of the component, and displaying the page.
6. The method of claim 5, prior to invoking the component, further comprising:
judging whether the current page is closed or not according to the page state carried in the page information, if so, ending the issuing process; otherwise, executing the operation of calling the component.
7. The method according to claim 5 or 6, wherein the rendering of the page by the component according to the page information and the display configuration information of the component specifically comprises:
the component determines display data in the page information according to the configuration of the display data in the display configuration information;
and the component renders the page according to the display data and the configuration of the presentation effect and the supported operation capability in the display configuration information.
8. An information distribution apparatus applied to a sub-application or a device equipped with a sub-application, the sub-application being an applet operable in other applications, the apparatus comprising:
the first configuration module is used for configuring the page information to be issued;
the second configuration module is used for adding a component for displaying the page information and performing display configuration on the component;
and the request processing module is used for opening the acquisition permission of the page information, the component and the display configuration information to the sub-application program when receiving an information acquisition request of the sub-application program, and the sub-application program finishes the rendering and display of the page according to the acquired page information, the component and the display configuration information.
9. The apparatus of claim 8, wherein the page information comprises one or more of the following information:
the method comprises the following steps of page content title, page content classification, page state, whether the sharing function of the current page is started or not, page sharing scheme, jump path and log point burying field.
10. The apparatus of claim 8, wherein the second configuration module is specifically configured to configure data, presentation effects, and supported operational capabilities exhibited in the component to enable an exhibited configuration of the component; the operational capabilities include: interaction capability and/or jump capability.
11. The apparatus of claim 8, further comprising: a database;
the database is used for storing the page information, the components and the display configuration information of the components;
the request processing module is specifically configured to open access and data reading permissions of the database to the sub-application when receiving an information acquisition request of the sub-application.
12. An information distribution apparatus for a sub-application or a device equipped with a sub-application, the sub-application being an applet operable in other applications, the apparatus comprising:
the information acquisition module is used for sending an information acquisition request to a page information storage party so as to acquire page information to be issued, a component for displaying the page information and display configuration information of the component;
and the information issuing module is used for calling the assembly so as to enable the assembly to render a page according to the page information and the display configuration information of the assembly and display the page.
13. The apparatus of claim 12, wherein the information publishing module is further configured to determine whether a current page is closed according to a page state carried in the page information, and if so, end a publishing process; otherwise, calling the component to enable the component to render the page according to the page information and the display configuration information of the component.
14. The apparatus according to claim 12 or 13, wherein the information publishing module is configured to invoke the component, so that the component determines the display data in the page information according to the configuration of the display data in the display configuration information; and according to the display data, rendering the page according to the configuration of the display effect and the supported operation capacity in the display configuration information.
15. A computing device, wherein the computing device comprises: a memory, a processor, and a communication bus; the communication bus is used for realizing connection communication between the processor and the memory;
the processor is configured to execute the information distribution program stored in the memory to implement the steps of the information distribution method according to any one of claims 1 to 4.
16. A computing device, wherein the computing device comprises: a memory, a processor, and a communication bus; the communication bus is used for realizing connection communication between the processor and the memory;
the processor is configured to execute the information distribution program stored in the memory to implement the steps of the information distribution method according to any one of claims 5 to 7.
17. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a computer program which, when being executed by a processor, carries out the steps of the information distribution method according to any one of claims 1 to 4.
18. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a computer program which, when being executed by a processor, carries out the steps of the information distribution method according to any one of claims 5 to 7.
CN201811150572.2A 2018-09-29 2018-09-29 Information publishing method, device, equipment and storage medium Active CN109144615B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811150572.2A CN109144615B (en) 2018-09-29 2018-09-29 Information publishing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811150572.2A CN109144615B (en) 2018-09-29 2018-09-29 Information publishing method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109144615A CN109144615A (en) 2019-01-04
CN109144615B true CN109144615B (en) 2022-05-10

Family

ID=64813879

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811150572.2A Active CN109144615B (en) 2018-09-29 2018-09-29 Information publishing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109144615B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109857506B (en) * 2019-02-19 2022-02-08 天津字节跳动科技有限公司 Method and device for realizing guide information, electronic equipment and storage medium
CN110187879B (en) * 2019-05-30 2022-06-21 四川长虹电器股份有限公司 Method for realizing 3D carousel picture assembly based on WeChat applet
CN110458646A (en) * 2019-07-05 2019-11-15 深圳壹账通智能科技有限公司 Page display method, device, computer equipment and storage medium
CN110569050A (en) * 2019-08-01 2019-12-13 阿里巴巴集团控股有限公司 Applet updating method and device
CN110659057B (en) * 2019-09-24 2021-10-22 腾讯科技(深圳)有限公司 Application program hot updating method and device, storage medium and computer equipment
CN111045707B (en) * 2019-12-20 2024-04-09 深圳市珍爱捷云信息技术有限公司 Method, apparatus, computer device and storage medium for updating applet
CN111338690A (en) * 2020-03-25 2020-06-26 北京顺达同行科技有限公司 Method and device for configuring pages of small program shop, computer equipment and storage medium
CN111562939A (en) * 2020-04-26 2020-08-21 特瓦特能源科技有限公司 Activity publishing method and device
CN111766992B (en) * 2020-05-29 2022-04-22 维沃移动通信有限公司 Information display method and device, electronic equipment and storage medium
CN111931102A (en) * 2020-07-01 2020-11-13 华为技术有限公司 Method, device and system for constructing page
CN114741017A (en) * 2022-05-09 2022-07-12 北京字跳网络技术有限公司 Small component processing method, device, equipment and medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104346346A (en) * 2013-07-25 2015-02-11 腾讯科技(深圳)有限公司 Service issuing method and system, service updating method and client
CN104424266A (en) * 2013-08-29 2015-03-18 北大方正集团有限公司 Web page publishing method and system
CN105681471A (en) * 2016-03-25 2016-06-15 广东中标数据科技股份有限公司 Information issuing management method and system
CN107102880A (en) * 2017-05-11 2017-08-29 腾讯科技(深圳)有限公司 Message treatment method, device, storage medium and computer equipment
CN107577455A (en) * 2017-08-03 2018-01-12 千寻位置网络有限公司 Customize the activity management display platform and methods of exhibiting of component Configuration
CN107784120A (en) * 2017-11-17 2018-03-09 深圳泉眼体育运营管理有限公司 The method and device of issue operation active web pages
CN107957911A (en) * 2016-10-18 2018-04-24 腾讯科技(深圳)有限公司 Method and apparatus, the method and apparatus of module data processing of component call
CN108196832A (en) * 2018-01-09 2018-06-22 安徽小马创意科技股份有限公司 It is a kind of to realize the method that wechat small routine is made to support the exploitation of Custom component formula
CN108255847A (en) * 2016-12-28 2018-07-06 腾讯科技(深圳)有限公司 Page generation method and device

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9852398B1 (en) * 2014-06-06 2017-12-26 Massachusetts Mutual Life Insurance Company Systems and methods for managing data in remote huddle sessions
US20170116638A1 (en) * 2015-10-23 2017-04-27 Microsoft Technology Licensing, Llc A/b experiment validation
CN106569900B (en) * 2016-10-28 2019-08-23 腾讯科技(深圳)有限公司 Applied program processing method and device
CN108108205B (en) * 2016-11-25 2019-07-05 腾讯科技(深圳)有限公司 Application page surface treatment method and apparatus
CN108153798B (en) * 2016-12-02 2022-02-18 阿里巴巴集团控股有限公司 Page information processing method, device and system
CN106598655B (en) * 2016-12-05 2020-02-14 腾讯科技(深圳)有限公司 Application page processing method and device
CN108228873B (en) * 2018-01-17 2022-02-18 腾讯科技(深圳)有限公司 Object recommendation and release content pushing method and device, storage medium and equipment

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104346346A (en) * 2013-07-25 2015-02-11 腾讯科技(深圳)有限公司 Service issuing method and system, service updating method and client
CN104424266A (en) * 2013-08-29 2015-03-18 北大方正集团有限公司 Web page publishing method and system
CN105681471A (en) * 2016-03-25 2016-06-15 广东中标数据科技股份有限公司 Information issuing management method and system
CN107957911A (en) * 2016-10-18 2018-04-24 腾讯科技(深圳)有限公司 Method and apparatus, the method and apparatus of module data processing of component call
CN108255847A (en) * 2016-12-28 2018-07-06 腾讯科技(深圳)有限公司 Page generation method and device
CN107102880A (en) * 2017-05-11 2017-08-29 腾讯科技(深圳)有限公司 Message treatment method, device, storage medium and computer equipment
CN107577455A (en) * 2017-08-03 2018-01-12 千寻位置网络有限公司 Customize the activity management display platform and methods of exhibiting of component Configuration
CN107784120A (en) * 2017-11-17 2018-03-09 深圳泉眼体育运营管理有限公司 The method and device of issue operation active web pages
CN108196832A (en) * 2018-01-09 2018-06-22 安徽小马创意科技股份有限公司 It is a kind of to realize the method that wechat small routine is made to support the exploitation of Custom component formula

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
《运营活动配置指引》;腾讯开放平台;《https://wiki.open.qq.com/wiki/%E8%BF%90%E8%90%A5%E6%B4%BB%E5%8A%A8%E9%85%8D%E7%BD%AE%E6%8C%87%E5%BC%95》;20180112;正文第1页第1段-第8页最后一段 *

Also Published As

Publication number Publication date
CN109144615A (en) 2019-01-04

Similar Documents

Publication Publication Date Title
CN109144615B (en) Information publishing method, device, equipment and storage medium
CN108345535B (en) mock testing method, device and equipment
CN109325195B (en) Rendering method and system for browser, computer device and computer storage medium
CN108182131B (en) Method and device for monitoring application running state, storage medium and electronic equipment
CN108280027B (en) Concurrent debugging rendering method and device for script
CN107045438B (en) Application top view processing method, device and component
US10019598B2 (en) Dynamic service discovery
US9286142B2 (en) Methods and systems for supporting a rendering API using a runtime environment
EP3955107B1 (en) Sub-application development method, apparatus, computer device, and storage medium
US9558014B2 (en) System, method and apparatus for transparently enabling software applications with adaptive user interfaces
US9075601B1 (en) Providing a scripting interface to existing code
CN107479868B (en) Interface loading method, device and equipment
CN108121650B (en) Method and device for testing page user interface
US9696990B2 (en) Method and apparatus for implementing inter-component function calls
US20240078072A1 (en) Method and apparatus for displaying message box, terminal device and non-transitory computer-readable storage medium
CN111797387A (en) Method and device for intercepting plug-in
CN106203087B (en) Injection protection method, system, terminal and storage medium
CN113282363A (en) Method and device for optimizing hybrid APP
US8918582B2 (en) Simulating EEPROM in virtual distributed switches
US9146720B1 (en) Binary file application processing
CN111459481A (en) Page sideslip method and device, electronic equipment and storage medium
CN112506592A (en) Method, device, equipment and storage medium for determining page loading duration
CN114115875A (en) Page data processing method and device and electronic equipment
CN114238871A (en) Class member function protection method in SO, storage medium, electronic device and system
CN113626000A (en) Method and device for automatically switching page layout according to access mode

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant