CN116304416A - Preview method of configuration page, processing method, device and storage medium of configuration data - Google Patents

Preview method of configuration page, processing method, device and storage medium of configuration data Download PDF

Info

Publication number
CN116304416A
CN116304416A CN202310145135.6A CN202310145135A CN116304416A CN 116304416 A CN116304416 A CN 116304416A CN 202310145135 A CN202310145135 A CN 202310145135A CN 116304416 A CN116304416 A CN 116304416A
Authority
CN
China
Prior art keywords
configuration
page
data
server
preview
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.)
Pending
Application number
CN202310145135.6A
Other languages
Chinese (zh)
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.)
Tencent Music Entertainment Technology Shenzhen Co Ltd
Original Assignee
Tencent Music Entertainment Technology Shenzhen 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 Tencent Music Entertainment Technology Shenzhen Co Ltd filed Critical Tencent Music Entertainment Technology Shenzhen Co Ltd
Priority to CN202310145135.6A priority Critical patent/CN116304416A/en
Publication of CN116304416A publication Critical patent/CN116304416A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9577Optimising the visualization of content, e.g. distillation of HTML documents
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]

Abstract

The present application relates to a preview method of configuration pages, a processing method of configuration data, an electronic device, a computer storage medium and a computer program product. The preview method comprises the following steps: responding to an access instruction of a user account to a resource agent link, and generating a data acquisition request aiming at the access instruction; the data acquisition request is an acquisition request of configuration data of a configuration page, and the configuration page is bound with the resource agent link; the data acquisition request is sent to a server, and configuration data of a configuration page corresponding to the data acquisition request returned by the server is acquired; rendering a preview page corresponding to the configuration page based on the configuration data; the configuration page carries a plurality of option identifications associated with the external function programs, and each option identification is used for indicating the corresponding external function program to respond to the corresponding interactive function. By the aid of the scheme, preview scenes of the application interaction page can be enriched, and accuracy of checking the preview interaction page is improved.

Description

Preview method of configuration page, processing method, device and storage medium of configuration data
Technical Field
The present invention relates to the field of internet technologies, and in particular, to a preview method of a configuration page, a processing method of configuration data, an electronic device, a storage medium, and a computer program product.
Background
With the development of internet technology, intelligent terminals are widely popularized, information sharing is more and more convenient, and information interaction is more and more. To accommodate a more intuitive experience of information interaction, a great deal of editing and preview processing techniques for interactive pages, such as HTML5 pages, are used.
In a traditional preview mode of an interactive page, configuration data of the interactive page is generally edited on a page configuration platform of a page configuration system by a programmer, and is stored in a project form of the page configuration system, and then the programmer acquires a form of the corresponding interactive page from the project form through a preset preview webpage, so that the preview webpage analyzes and renders the configuration data of the interactive page, and the interactive page is displayed.
However, in the current preview mode, the interactive page with the UI effect can only be displayed in the preset preview web page, so that the interactive page cannot respond to some client events, so that a programmer cannot check some interactive pages with the H5 interactive effect on a real client terminal, and the preview scene of the application interactive page and the accuracy of checking the preview interactive page are limited.
Disclosure of Invention
The disclosure provides a preview method of configuration pages, a processing method of configuration data, electronic equipment, a storage medium and a computer program product, so as to at least solve the problem that a user cannot check an interactive page with an interactive effect in the related art. The technical scheme of the present disclosure is as follows:
according to a first aspect of an embodiment of the present disclosure, there is provided a preview method of a configuration page, including:
responding to an access instruction of a user account to a resource agent link, and generating a data acquisition request aiming at the access instruction; the data acquisition request is an acquisition request of configuration data of a configuration page, and the configuration page is bound with the resource agent link;
the data acquisition request is sent to a server, and configuration data of a configuration page corresponding to the data acquisition request returned by the server is acquired;
rendering a preview page corresponding to the configuration page based on the configuration data; the configuration page carries a plurality of option identifications associated with external function programs, and each option identification is used for indicating the corresponding external function program to respond to the corresponding interactive function.
In an exemplary embodiment, the responding to the access instruction of the user account to a resource agent link includes:
responding to the access instruction, and acquiring an access address of the configuration page; the access address comprises a first address corresponding to the configuration state of the configuration page as a release state or a second address corresponding to the configuration state of the configuration page as an edit state;
and determining the configuration state of the configuration page based on the access address of the configuration page.
In an exemplary embodiment, the generating, in response to an access instruction linked to a resource agent by a user account, a data acquisition request for the access instruction includes:
responding to the access instruction, and acquiring index information of a configuration page bound with the resource agent link;
and generating a data acquisition request aiming at the access instruction based on the index information and the configuration state of the configuration page.
In an exemplary embodiment, the obtaining the configuration data of the configuration page corresponding to the data obtaining request returned by the server includes one of the following two items:
if the configuration state is the release state, acquiring configuration data extracted from a first database by the server based on index information of the configuration page; the first database is used for storing configuration data of the online published configuration page;
If the configuration state is the editing state, acquiring configuration data extracted from a second database by the server based on index information of the configuration page; the second database is used for storing configuration data of the configuration page in editing.
In an exemplary embodiment, before the rendering, based on the configuration data, of the preview page corresponding to the configuration page, the method further includes:
if the configuration state of the configuration page is the editing state, maintaining a message subscription state with the server for notifying to change the configuration data of the configuration page; the server is used for changing the configuration data in the second database under editing;
after rendering the preview page corresponding to the configuration page based on the configuration data, the method further comprises:
acquiring a subscription message about the notification change sent by the server under the condition that the configuration data in editing stored in the second database is changed;
and sending a data change request to the server based on the subscription message, and acquiring changed configuration data extracted from the second database by the server based on the data change request.
According to a second aspect of the embodiments of the present disclosure, there is provided a method for processing configuration data, including:
responding to the editing operation of a user account on a configuration page, and acquiring configuration data of the configuration page;
sending a data storage request carrying the configuration data to a server, and indicating the server to store the configuration data;
the configuration data stored by the server are indicated to be used for rendering a preview page corresponding to the configuration page by the terminal, and the preview page is displayed based on the preview method of the configuration page.
In an exemplary embodiment, after the acquiring the configuration data of the configuration page, the method further includes:
rendering an initial preview page corresponding to the configuration page in a web page interface based on the configuration data of the configuration page;
the initial preview page carries a resource agent link bound with the configuration page;
the resource agent link is used for executing the access instruction of the terminal.
In an exemplary embodiment, after the instructing the server to store the configuration data, the method further includes:
responding to an editing completion instruction of the user account on the configuration data of the configuration page, sending the edited configuration data to the server, and indicating the server to store the edited configuration data in a first database; or alternatively
And responding to a pause editing instruction of the user account on the configuration data of the configuration page, sending the configuration data of pause editing to the server, and instructing the server to store the configuration data of pause editing in a second database.
According to a third aspect of an embodiment of the present disclosure, there is provided a preview apparatus of a configuration page, including:
a data request unit configured to execute an access instruction linked to a resource agent in response to a user account, and generate a data acquisition request for the access instruction; the data acquisition request is an acquisition request of configuration data of a configuration page, and the configuration page is bound with the resource agent link;
the first acquisition unit is configured to send the data acquisition request to a server and acquire configuration data of a configuration page corresponding to the data acquisition request returned by the server;
the page preview unit is configured to execute rendering of a preview page corresponding to the configuration page based on the configuration data; the configuration page carries a plurality of option identifications associated with external function programs, and each option identification is used for indicating the corresponding external function program to respond to the corresponding interactive function.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a processing apparatus for configuration data, including:
the second acquisition unit is configured to execute an editing operation of responding to a user account on a configuration page and acquire configuration data of the configuration page;
a data storage unit configured to perform sending a data storage request carrying the configuration data to a server, instructing the server to store the configuration data;
the configuration data stored by the server are indicated to be used for rendering a preview page corresponding to the configuration page by the terminal, and the preview page is displayed based on the preview method of the configuration page.
According to a fifth aspect of embodiments of the present disclosure, there is provided an electronic device comprising:
a processor;
a memory for storing executable instructions of the processor;
wherein the processor is configured to execute the executable instructions to implement the preview method of the configuration page as described in any one of the above and/or the processing method of the configuration data as described in any one of the above.
According to a sixth aspect of embodiments of the present disclosure, there is provided a computer readable storage medium, in which a computer program is included, which when executed by a processor of an electronic device, enables the electronic device to perform a preview method of a configuration page as set forth in any one of the above, and/or a processing method of configuration data as set forth in any one of the above.
According to a seventh aspect of embodiments of the present disclosure, there is provided a computer program product comprising program instructions therein, which when executed by a processor of an electronic device, enable the electronic device to perform the method of previewing configuration pages as described in any one of the above and/or the method of processing configuration data as described in any one of the above.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
the method comprises the steps of firstly, responding to an access instruction of a user account to a resource agent link, and generating a data acquisition request aiming at the access instruction; the data acquisition request is an acquisition request of configuration data of a configuration page, and the configuration page is bound with the resource agent link; then, sending the data acquisition request to a server, and acquiring configuration data of a configuration page corresponding to the data acquisition request returned by the server; finally, rendering a preview page corresponding to the configuration page based on the configuration data; the configuration page carries a plurality of option identifications associated with the external function programs, and each option identification is used for indicating the corresponding external function program to respond to the corresponding interactive function. In this way, in the first aspect, configuration data of the configuration page and preview display of the configuration data of the configuration page are automatically obtained only through access of the user account to the resource agent link, so that the flow of previewing the configuration page is optimized, and the consumption of manpower and time cost is reduced; in the second aspect, configuration data of a configuration page returned by a server is obtained by using a set resource agent link and rendered, and the method is different from the preview page displayed in the prior art, which is required to depend on the connection state between a page configuration platform and a preset preview webpage, so that a user account can watch the preview page of the configuration page at any time and place, and the flexibility and convenience of displaying the preview page are improved; in the third aspect, since the configuration page is provided with the plurality of option identifiers related to the external function program, a user can verify the interactive function displayed in the preview page on the terminal device, so that the preview scene of the application interactive page is enriched, and the accuracy of verifying the previewed interactive page is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure and do not constitute an undue limitation on the disclosure.
Fig. 1 is an application environment diagram illustrating a preview method of a configuration page according to an exemplary embodiment.
Fig. 2 is a flow chart illustrating a preview method of a configuration page according to an exemplary embodiment.
FIG. 3 is a flowchart illustrating the steps of determining a configuration status of a configuration page, according to an exemplary embodiment.
FIG. 4 is a flowchart illustrating a step of generating a data acquisition request, according to an exemplary embodiment.
FIG. 5 is a flowchart illustrating steps for retrieving altered configuration data according to an exemplary embodiment.
Fig. 6 is a flowchart illustrating a method of processing configuration data according to an exemplary embodiment.
Fig. 7 is a schematic diagram of an interface for displaying an initial preview page, according to an example embodiment.
Fig. 8 is a flowchart illustrating a method of editing and previewing a first configuration page according to an exemplary embodiment.
Fig. 9 is a flowchart illustrating a method of editing and previewing a second configuration page according to an exemplary embodiment.
Fig. 10 is a flowchart illustrating an editing and previewing method of a third configuration page according to an exemplary embodiment.
Fig. 11 is a block diagram of a preview device of a configuration page, according to an example embodiment.
Fig. 12 is a block diagram of a processing device for configuration data according to an exemplary embodiment.
FIG. 13 is a block diagram of an electronic device for configuring previews of pages according to an exemplary embodiment.
FIG. 14 is a block diagram of a computer-readable storage medium for configuring previews of pages according to an exemplary embodiment.
FIG. 15 is a block diagram illustrating a computer program product for configuring previews of pages according to an exemplary embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
The term "and/or" in embodiments of the present application refers to any and all possible combinations including one or more of the associated listed items. Also described are: as used in this specification, the terms "comprises/comprising" and/or "includes" specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, and/or components, and/or groups thereof.
The terms "first," "second," and the like in this application are used for distinguishing between different objects and not for describing a particular sequential order. Furthermore, the terms "comprise" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those listed steps or elements but may include other steps or elements not listed or inherent to such process, method, article, or apparatus.
In addition, although the terms "first," "second," etc. may be used several times in this application to describe various operations (or various elements or various applications or various instructions or various data) etc., these operations (or elements or applications or instructions or data) should not be limited by these terms. These terms are only used to distinguish one operation (or element or application or instruction or data) from another operation (or element or application or instruction or data). For example, a first database may be referred to as a second database, which may also be referred to as a first database, with only the scope encompassed by both being different without departing from the scope of the present application, the first database and the second database both being sets of configuration data for storing various configuration pages, with only the two not being sets of configuration data for the same configuration page.
The preview method of the configuration page and/or the processing method of the configuration data provided by the embodiment of the application can be applied to an application environment shown in fig. 1. Wherein the terminal 102 communicates with the server 104 via a communication network. The data storage system may store data that the server 104 needs to process. The data storage system may be integrated on the server 104 or may be located on a cloud or other network server.
In some embodiments, referring to fig. 1, the terminal 102 first generates a data acquisition request for an access instruction in response to the access instruction of a user account to a resource agent link; the data acquisition request is an acquisition request of configuration data of a configuration page, and the configuration page is bound with the resource agent link; then, the terminal 102 sends the data acquisition request to the server, and acquires configuration data of a configuration page corresponding to the data acquisition request returned by the server; finally, the terminal 102 renders a preview page corresponding to the configuration page based on the configuration data; the configuration page carries a plurality of option identifications associated with the external function programs, and each option identification is used for indicating the corresponding external function program to respond to the corresponding interactive function.
In some embodiments, the terminal 102 (e.g., mobile terminal, fixed terminal) may be implemented in various forms. The terminal 102 may be a mobile terminal including a data acquisition request such as a mobile phone, a smart phone, a notebook computer, a portable handheld device, a personal digital assistant (PDA, personal Digital Assistant), a tablet (PAD), etc. that may send a configuration status corresponding to a configuration page to a server and acquire configuration data of the configuration page corresponding to the data acquisition request returned by the server, or the terminal 102 may be a fixed terminal of an automatic teller machine (Automated Teller Machine, ATM), an automatic all-in-one machine, a digital TV, a desktop computer, a fixed computer, etc. that may send a data acquisition request corresponding to the configuration status of the configuration page to the server and acquire configuration data of the configuration page corresponding to the data acquisition request returned by the server.
In the following, it is assumed that the terminal 102 is a fixed terminal. However, it will be understood by those skilled in the art that the configuration according to the embodiments disclosed herein can also be applied to a mobile type terminal 102 if there are operations or elements specifically for the purpose of movement.
In some embodiments, the data processing components run by the terminal 102 may load what is being executed may include various additional Server applications, including Server push Events (Server-send Events), HTTP (HyperText transfer protocol), FTP (File transfer protocol), CGI (general gateway interface), RDBMS (relational database management System), and so forth. And/or any of the intermediate layer applications
In some embodiments, the server 104 may be implemented as a stand-alone server or as a cluster of servers. The terminal 102 may be adapted to run one or more application services or software components that provide the additional server applications described in the foregoing disclosure.
In some embodiments, the application services may include a service interface that provides the user with a production configuration page and a preview configuration page (e.g., an editing interface for producing the page, a presentation interface for previewing the page), and corresponding program services (e.g., a server for storing, updating, and distributing configuration data for the configuration page), and so forth. Among other things, the software components may include, for example, an application (SDK) or a client (APP) having functionality to display a corresponding UI view effect and/or H5 animation effect according to the received configuration data of the configuration page.
In some embodiments, the application program or client provided by the terminal 102 with the function of displaying the corresponding UI view effect and/or H5 animation effect according to the received configuration data of the configuration page includes a portal port for providing one-to-one application service to the user in the foreground and a plurality of business systems for performing data processing in the background, so as to extend the function application of the configuration page to the APP or client, so that the user can use and access the function of the configuration page at any time and any place.
In some embodiments, the displayed configuration page function of the APP or client may be a computer program running in user mode to accomplish some specific task or tasks, which may interact with the user and have a visual user interface. Wherein, APP or client may include two parts: a Graphical User Interface (GUI) and an engine (engine) with which a user can be provided with a digitized client system of various application services in the form of a user interface.
In some embodiments, a user may input corresponding code data or control parameters to the APP or client through an input device in the terminal 102 to execute application services of a computer program in the server 104 and display application services in a user interface.
As an example, when a user needs to preview a configuration page with an H5 animation effect in a terminal 102, the user may input a corresponding access instruction to a proxy link corresponding to the configuration page through an input device in the terminal 102, after the terminal 102 generates a corresponding data acquisition request based on the access instruction input by the user and sends the data acquisition request to the server 104, the server 104 returns configuration data corresponding to the configuration page to the terminal 102, and then the terminal 102 displays the H5 preview animation effect corresponding to the configuration page to the user in real time in an animation interface of a corresponding display device. Optionally, the input mode corresponding to the input device may be a picture input, a touch screen input, a key input, a voice input, or an input of a related control program, etc.
In some embodiments, the APP or client-running operating system may include various versions of Microsoft Windows
Figure BDA0004088930370000081
Apple />
Figure BDA0004088930370000082
And/or Linux operating system, various commercial or quasi +.>
Figure BDA0004088930370000083
Operating systems (including but not limited to various GNU/Linux operating systems, google +.>
Figure BDA0004088930370000084
OS, etc.) and/or a mobile operating system, such as
Figure BDA0004088930370000085
Figure BDA0004088930370000086
Phone、/>
Figure BDA0004088930370000087
OS、/>
Figure BDA0004088930370000088
OS、/>
Figure BDA0004088930370000089
The OS operating system, as well as other online or offline operating systems, is not particularly limited herein.
In some embodiments, as shown in fig. 2, a preview method of a configuration page is provided, and the method is applied to the terminal 102 in fig. 1 for illustration, and the method includes the following steps:
in step S11, in response to an access instruction of the user account to a resource agent link, a data acquisition request for the access instruction is generated.
In some embodiments, the resource proxy link is a trigger link (e.g., a web page link, a two-dimensional code, or a proxy program) for the terminal to display the configuration page, that is, the user account may cause the terminal to display the preview page corresponding to the corresponding configuration page by triggering the resource proxy link.
In some embodiments, the current display of the terminal may be an operation interface (e.g., various applications or clients with trigger resource agent link functions) that performs access operations to the user account, where the user account may perform access operations to the resource agent link. Or, the current display screen of the terminal may be an initial preview page of the configuration page, that is, a display screen on which layout information of the configuration page and a resource agent link are displayed.
The layout information includes option identifiers of various external functional programs, but the option identifiers of the various external functional programs cannot respond to the corresponding interactive functions.
In some embodiments, the resource agent links are created and distributed by the resource agent platform. A resource agent link is uniquely bound to a configuration page, and each configuration page has corresponding configuration information. The configuration information includes, for example, a configuration ID (Identity), an access address, a configuration state, index information, etc. of the configuration page, and the resource agent platform associates the configuration information of each configuration page with the resource agent link setting, so as to bind the resource agent link with the configuration page.
In some embodiments, the access instructions are to instruct the resource agent platform agent to forward configuration information for a configuration page bound to the resource agent link.
As an example, the user account triggers the resource agent link through the terminal to generate an access instruction of the user account to the resource agent link, then the terminal acquires the access instruction to instruct the resource agent platform agent to forward the configuration information of the configuration page bound with the resource agent link, then the terminal generates a data acquisition request for the access instruction according to the configuration information of the configuration page, and the preview page corresponding to the configuration page is displayed through the resource agent link skip according to the data acquisition request.
In some embodiments, the terminal determines, according to the configuration information of the configuration page forwarded by the resource agent platform agent, a configuration state in which the configuration page is currently in. Wherein the configuration state includes a release state or an edit state.
In some embodiments, the release state characterizes the corresponding configuration page as having been edited by the design engineer and as having been formally released to the online application; the edit status characterizes that the corresponding configuration page is being edited or paused in editing by the design engineer.
Step S12, the data acquisition request is sent to the server, and configuration data of a configuration page corresponding to the data acquisition request returned by the server is acquired.
In some embodiments, after the terminal determines the configuration information corresponding to the configuration page and the configuration state in which the configuration page is currently located, the terminal sends a data acquisition request corresponding to the configuration state of the configuration page to the server.
The data acquisition request is used for indicating the server to return configuration data corresponding to the configuration state of the configuration page.
For example, if the configuration state of the configuration page is a release state, the data acquisition request is used for indicating the server to return the configuration data which corresponds to the configuration page and is formally released to the online application; if the configuration state of the configuration page is an editing state, the data acquisition request is used for indicating the server to return the configuration data corresponding to the configuration page in editing.
In some embodiments, the data acquisition request includes configuration information (such as a configuration ID of the configuration page, a storage address of the configuration data, index information, etc.) of the configuration page, so that the server can extract and return the configuration data corresponding to the configuration state of the configuration page to the terminal according to the configuration information.
In some embodiments, the configuration data of the configuration page is page data edited by a development engineer or designer based on a page configuration system, the page data including screen information describing one or more number of frames of the page.
The screen information may be layout information, structure information, component information (e.g., type of component, number of frames of component, associated text information of component, etc.), among others.
And step S13, rendering a preview page corresponding to the configuration page based on the configuration data.
In some embodiments, after the terminal obtains the configuration data of the configuration page returned by the server, the terminal uploads the configuration data of the configuration page to a display program or a display platform (e.g., a Web page), so that the terminal displays a preview page including screen information of the configuration page based on the display program or the display platform agent.
In some embodiments, the display program or the display platform may each perform rendering by loading controls by the interactive page or by the interactive page rendering program. For example, a Web view (WebView) control, which may be a carrier control that carries interactive pages (e.g., HTML5 Web pages), is installed in a Web page, and a WebKit rendering engine in WebView may be used to load preview pages (e.g., HTML5 pages) that display configuration pages.
In some embodiments, the display program of the terminal or the preview page of the configuration page displayed in the display platform may be a preview interface or a publishing interface of the configuration page. The preview interface and the release interface are respectively provided with a plurality of option identifications associated with external function programs, and each option identification is used for indicating the corresponding function program to respond to the corresponding interactive function.
Different from the initial preview page of the configuration page, the option identifiers of various external functional programs displayed in the preview interface or the release interface corresponding to the configuration page can respond to the corresponding interaction functions.
In one implementation scenario, the resource agent links as a two-dimensional code B bound to configuration page a. The two-dimension code B is displayed in a simulation interface of the configuration system, a user account scans and authenticates the two-dimension code B in the simulation interface through a terminal, and after the scanning and the authentication are successful, the user account triggers an access instruction to the two-dimension code B; then, the terminal acquires the configuration information and the configuration state of the configuration page A which are bound to the two-dimensional code B and forwarded by the resource agent platform agent based on the access instruction, and then the terminal generates a data acquisition request C corresponding to the configuration state of the configuration page A according to the configuration information of the configuration page A, and the terminal sends the data acquisition request C to the server; then, the server extracts configuration data of the configuration page A according to the data acquisition request C and returns the configuration data to the terminal; and finally, uploading the configuration data of the configuration page A to the Web page by the terminal so that a WebView control in the Web page reads the configuration data and renders a preview page corresponding to the configuration page A.
In the preview process of the configuration page, the terminal firstly generates a data acquisition request aiming at an access instruction by responding to the access instruction of the user account to a resource agent link; the data acquisition request is an acquisition request of configuration data of a configuration page, and the configuration page is bound with the resource agent link; then, the terminal sends a data acquisition request to the server, and acquires configuration data of a configuration page corresponding to the data acquisition request returned by the server; finally, rendering a preview page corresponding to the configuration page by the terminal based on the configuration data; the configuration page carries a plurality of option identifications associated with the external function programs, and each option identification is used for indicating the corresponding external function program to respond to the corresponding interactive function. In this way, in the first aspect, configuration data of the configuration page and preview display of the configuration data of the configuration page are automatically obtained only through access of the user account to the resource agent link, so that the flow of previewing the configuration page is optimized, and the consumption of manpower and time cost is reduced; in the second aspect, configuration data of a configuration page returned by a server is obtained by using a set resource agent link and rendered, and the method is different from the preview page displayed in the prior art, which is required to depend on the connection state between a page configuration platform and a preset preview webpage, so that a user account can watch the preview page of the configuration page at any time and place, and the flexibility and convenience of displaying the preview page are improved; in the third aspect, since the configuration page is provided with the plurality of option identifiers related to the external function program, a user can verify the interactive function displayed in the preview page on the terminal device, so that the preview scene of the application interactive page is enriched, and the accuracy of verifying the previewed interactive page is improved.
It will be appreciated by those skilled in the art that in the above-described methods of the embodiments, the disclosed methods may be implemented in a more specific manner. For example, the above-described embodiment in which the terminal acquires the configuration data corresponding to the data acquisition request returned by the server is merely illustrative.
In an exemplary embodiment, referring to fig. 3, fig. 3 is a flowchart illustrating an embodiment of determining a configuration status of a configuration page in the present application. In step S11, the process of the terminal responding to the access instruction of the user account to a resource agent link may be specifically implemented by the following manner:
step S111, responding to the access instruction, and acquiring the access address of the configuration page.
In some embodiments, the access address includes a first access address corresponding to a configuration state of the configuration page being a published state or a second access address corresponding to a configuration state of the configuration page being an edited state.
The configuration page corresponding to the release state characterization is edited by a design engineer and formally released to the online application; the edit status characterizes that the corresponding configuration page is being edited or paused in editing by the design engineer.
In some embodiments, the terminal responds to the access instruction linked to the resource agent and sends a request for acquiring the access address of the configuration page to the resource agent platform, and then the resource agent platform returns the first access address or the second access address applicable to the configuration state of the current configuration page to the terminal.
Step S112, based on the access address of the configuration page, the configuration state of the configuration page is determined.
In some embodiments, if the resource proxy platform returns a first access address applicable to the configuration state of the current configuration page to the terminal, the terminal determines that the current configuration state of the configuration page is a release state; if the resource agent platform returns a second access address applicable to the configuration state of the current configuration page to the terminal, the terminal determines that the current configuration state of the configuration page is an editing state.
In an exemplary embodiment, referring to fig. 4, fig. 4 is a flow chart illustrating an embodiment of generating a data acquisition request in the present application. In step S11, the process of generating the data acquisition request for the access instruction by the terminal in response to the access instruction of the user account to a resource agent link may be specifically implemented by the following manner:
Step S113, in response to the access instruction, obtaining index information of the configuration page bound with the resource agent link.
In some embodiments, the index information is character information (including a configuration ID, a configuration data address, etc.) that indicates a configuration data location of the index configuration page.
In some embodiments, the configuration page's index information and configuration state are carried in a resource agent link that is binding to the configuration page, or published in a resource agent platform. That is, when the terminal responds to the access instruction to the resource agent link, it sends a request for obtaining the access address and the index information of the configuration page to the resource agent platform, and then the resource agent platform directly carries the index information and the access address of the configuration page in the resource agent link to extract the index information and the access address of the configuration page from the database stored in the resource agent link or itself.
Step S114, a data acquisition request for the access instruction is generated based on the index information and the configuration status of the configuration page.
The data acquisition request is used for indicating a processing end (such as a server) of the request to execute the data acquisition request, for example, the data acquisition request may be in the form of a byte code, the byte code includes index information corresponding to a configuration page and configuration data of a configuration state, and the processing end of the request executes logic of the byte code after receiving the byte code corresponding to the data acquisition request to execute the data acquisition request.
In some embodiments, a communication network of HTTP (hypertext transfer protocol), FTP (file transfer protocol), CGI (common gateway interface) is established between the terminal and the server. When the terminal responds to an access instruction of a user account to a resource agent link, the terminal sends a data acquisition request to a server through a corresponding communication network; and when the server extracts the configuration data corresponding to the resource agent link, the server returns to the terminal through the corresponding communication network.
In one embodiment, the terminal acquires configuration data of a configuration page corresponding to a data acquisition request returned by a server, including: if the configuration state is the release state, the acquisition server extracts the configuration data from the first database based on the index information of the configuration page.
The first database is used for storing configuration data of the online published configuration page;
as an example, configuration data for a configuration page has been previously published on-line by a development engineer and has been indicated by a server for storage in a dedicated first database; when the server analyzes the data acquisition request sent by the terminal, if the configuration state of the configuration page corresponding to the data acquisition request is determined to be the release state, the server extracts the configuration data corresponding to the completion of editing from the first database according to the index information of the configuration page.
In another embodiment, the terminal acquires configuration data corresponding to the data acquisition request returned by the server, including: and if the configuration state is an editing state, acquiring configuration data extracted from the second database by the server based on the index information of the configuration page.
Wherein the second database is used for storing configuration data of the configuration page in editing.
As an example, the configuration data of the configuration page has been edited in advance by the development engineer, but has not been edited and has been instructed by the server to be stored in a dedicated second database; when the server analyzes the data acquisition request sent by the terminal, if the configuration state of the configuration page corresponding to the data acquisition request is determined to be an editing state, the server extracts the configuration data which is not completed in the corresponding editing from the second database according to the index information of the configuration page.
In an embodiment, before rendering the display page corresponding to the configuration page based on the configuration data, the terminal further includes: if the configuration state of the configuration page is an editing state, the configuration page and the server maintain a message subscription state about notifying configuration data of the configuration page change.
Wherein the server is used for changing the configuration data in the second database under editing.
In some embodiments, the server may make corresponding changes to configuration data of the corresponding stored configuration page in the database (including a first database dedicated to storing edited completion configuration data and a second database dedicated to storing unedited completion configuration data) based on the design engineer's change operation to the configuration data of the configuration page on the configuration system.
In some embodiments, before the terminal renders the preview page corresponding to the configuration page based on the configuration data, an SSE (Server-event push event protocol) may be used between the terminal and the Server to maintain a message subscription state about notifying the configuration data of the configuration page of the change. That is, when the server changes the configuration data in the database (including the first database dedicated to storing the edited completion configuration data and the second database dedicated to storing the unedited completion configuration data), the server notifies the terminal that the corresponding configuration data has been changed through the SSE subscription message.
In an exemplary embodiment, referring to fig. 5, fig. 5 is a flowchart illustrating an embodiment of obtaining changed configuration data in the present application. After step S13, the terminal may further perform the following:
And a step a1 of acquiring a subscription message about notifying the change sent by the server when the configuration data in editing stored in the second database is changed.
In some embodiments, if the configuration data stored in the database (including a first database dedicated to storing edited completion configuration data and a second database dedicated to storing unedited completion configuration data) is changed based on a control modification of the server, the server sends a subscription message to the terminal regarding notification of the configuration data change.
And a step a2 of sending a data change request to the server based on the subscription message and acquiring changed configuration data extracted from the second database by the server based on the data change request.
In some embodiments, the terminal sends a data change request to the server through one of HTTP (hypertext transfer protocol), FTP (file transfer protocol), CGI (common gateway interface); and the server returns the changed configuration data extracted from the second database to the terminal through one of communication networks of HTTP (hypertext transfer protocol), FTP (file transfer protocol), CGI (common gateway interface).
In some embodiments, as shown in fig. 6, a method for processing configuration data is provided, and the method is applied to a configuration system for editing configuration data for illustration, and the method includes the following steps:
step S21, responding to the editing operation of the page to be configured by the user account, and acquiring the configuration data of the page to be configured.
In some embodiments, the configuration system extracts configuration data for a configuration page in the editing interface in response to a user account editing the configuration data for the configuration page.
The editing operation of the user account on the configuration data of the configuration page can comprise a start editing operation on the newly created configuration page, a continuous editing operation on the configuration page with intermediate pause editing and a re-editing operation on the configuration page with end editing.
In an exemplary embodiment, after step S21, that is, after the configuration system acquires the configuration data of the page to be configured, the following manner may be specifically implemented:
step one, a resource agent link is generated.
In one embodiment, the resource agent links are bound to configuration data of the configuration page.
The resource agent link may be a triggered agent link, for example, a web page link, a two-dimensional code, or an agent program.
And step two, distributing the resource agent link to the terminal.
In some embodiments, the configuration system may send the resource agent link to one or at least one of the terminals to execute access instructions for the resource agent link by the user account in the terminal; the configuration system may also place the resource agent link on a sharing platform (e.g., in a UI preview interface of the configuration system or in a presentation interface of an application program, or in a resource data packet), so that the terminal may obtain the resource agent link bound to the configuration data of the configuration page at any time and any place.
In some embodiments, after obtaining the configuration data of the configuration page, the configuration system further comprises: and rendering an initial preview page corresponding to the configuration page in the webpage interface based on the configuration data of the configuration page.
In some embodiments, the initial preview page carries a resource agent link bound to the configuration page, the resource agent link being used to execute access instructions of the terminal.
In an exemplary embodiment, referring to fig. 7, fig. 7 is an interface schematic diagram illustrating an embodiment of an initial preview page in the present application. The left image and the right image are interface schematic diagrams of a preview method of a configuration page not executed by the terminal. In the left diagram, the initial preview page corresponding to the configuration page rendered by the web page interface includes the access identifier P1 of the resource agent link. The user account selects an access identifier P1 of the resource agent link, a two-dimensional code P3 corresponding to the resource agent link as shown in the right graph can be popped up in the initial preview page, and the user account can execute a preview method of the configuration page by executing an access instruction to the two-dimensional code P3; the option identifiers P2 of the external function programs are displayed in the left and right diagrams, the option identifier P2 of the external function program in the initial preview page is only an exemplary option identifier, and cannot be used for corresponding interaction functions through selection operation of a user account, and the application can be performed in the preview page of the configuration page displayed by the terminal only after the user account executes an access instruction to the two-dimensional code P3 to execute the preview method of the configuration page.
Step S22, a data storage request carrying configuration data is sent to a server, and the server is instructed to store the configuration data.
In an embodiment, the configuration system instructs the configuration data stored in the server to be used for rendering the preview page corresponding to the configuration page by the terminal.
As an example, after the design engineer edits configuration data of a configuration page in the configuration system, the configuration system sends the edited configuration data to the server to instruct the server to store the edited configuration data in a corresponding database, or instruct the server to update the configuration data of the page to be configured that has been stored in the corresponding database in advance.
In some embodiments, after instructing the server to store the configuration data, the configuration system further comprises: the configuration system responds to an editing completion instruction of the configuration data of the page to be configured by the user account, and sends the edited configuration data to the server to instruct the server to store the edited configuration data in the first database.
The first database is used for storing configuration data of the edited page to be configured.
In some embodiments, after instructing the server to store the configuration data, the configuration system further comprises: the configuration system responds to a pause editing instruction of the user account on the configuration data of the configuration page, and the configuration system sends the configuration data of pause editing to the server to instruct the server to store the configuration data of pause editing in the second database.
The second database is used for storing configuration data of the unedited page to be configured.
In order to more clearly clarify the preview method of the configuration page and/or the processing method of the configuration data provided by the embodiments of the present disclosure, a specific embodiment is described below specifically. In an exemplary embodiment, referring to fig. 8, 9 and 10, fig. 8 is a flowchart of an editing and previewing method of a first configuration page according to another exemplary embodiment, fig. 9 is a flowchart of an editing and previewing method of a second configuration page according to another exemplary embodiment, and fig. 10 is a flowchart of an editing and previewing method of a third configuration page according to another exemplary embodiment, the editing and previewing method of the configuration page being used in a processing system of the configuration page, wherein the processing system comprises a terminal, a resource agent platform, a configuration system, a server, a first database and a second database, and specifically comprises:
step S31, displaying the proxy two-dimension code about the configuration page in an application interface of the configuration system.
The configuration system can display a first preview page related to the configuration page in the web page through the iframe frame, and display a proxy two-dimensional code related to the configuration page in the first preview page.
The first preview page is an h5 page or a UI page, and a plurality of function identifiers of external application programs are displayed.
If the corresponding function option is selected in the first preview page, the first preview page cannot respond to the effect of the interactive function corresponding to the external application program.
Specifically, when the user clicks the function option "go to completion" in the first preview page, the first preview page cannot respond to the interaction effect (where the interaction effect corresponding to the button is a page that jumps to one client).
When the user clicks a real-time preview button at the upper right corner of the first preview page, a proxy link is displayed.
The proxy link is an access link created by a resource proxy platform; the terminal accesses a second preview page related to the configuration page through the access link.
The proxy platform is a proxy experience platform, and the platform can create a proxy link to realize proxy and forwarding of the second preview page of the configuration page.
The proxy links comprise a first type link and a second type link, and the first type link and the second type link are both bound to the configuration ID of the configuration page.
The resource agent platform is used for acting on the terminal and forwarding an access interface of the configuration page which is formally released on line through the first type of links.
The second type link is used for representing that the current preview environment of the configuration page is that the configuration data of the configuration page is being edited on line, and the agent platform agents and forwards a preview interface of the configuration page in the on-line editing to the terminal through the second type link.
The second preview page is an H5 page, and comprises an access page of the formally released configuration page and a preview page of the configuration page in editing.
And embedding a front end SDK in the second preview page, wherein the front end SDK is used for acquiring configuration data of the configuration page from a database and responding to the interactive function effect of the corresponding function option in the second preview page.
The proxy link may be a proxy two-dimensional code related to the configuration page.
Step S32, the terminal scans the proxy two-dimension code to access the preview page of the configuration page.
The terminal scans the proxy two-dimension code to obtain an access address about the configuration page sent by a proxy platform, and the terminal accesses the access address to access a second preview page of the configuration page.
After the terminal accesses a second preview page of the configuration page, a front-end SDK preset in the second preview page acquires a configuration ID of the configuration page bound with the proxy two-dimensional code. The front-end SDK then identifies the configuration ID of the configuration page to determine the current preview environment of the configuration page to which the configuration ID is bound.
In step S33, the preset SDK in the preview page generates a data acquisition request about the configuration page, and sends the data acquisition request to the server side through the HTTP protocol.
And responding to the current preview environment of the configuration page to formally issue the configuration data on line or edit the configuration data off line, generating a data acquisition request about the configuration page by a preset SDK in the preview page, and sending the data acquisition request to a server side through an HTTP protocol.
In step S34, the server side extracts the configuration data of the configuration page from the database according to the data acquisition request, and returns to the preset SDK in the preview page.
If the current preview environment of the configuration page is that the configuration data is formally released on line, the server side extracts the formally released configuration data of the configuration page corresponding to the configuration ID from the formal database according to the data acquisition request, so as to return to the preset SDK in the preview page.
If the current preview environment of the configuration page is that the configuration data is being edited online, the server side extracts the configuration data which is not edited and is corresponding to the configuration ID and is in the configuration page from the informal database according to the data acquisition request, so as to return to the preset SDK in the preview page.
In step S35, the preset SDK in the preview page uploads the configuration data to the web page to render the preview page on the web page.
The preset SDK in the preview page uploads the configuration data of the configuration page to the web page, so that the web page renders a corresponding dom structure according to the configuration data, and the preview page of the configuration page corresponding to the configuration page in editing or the release page of the configuration page released on a formal line is displayed in the web page.
The method comprises the steps of responding to input of control data corresponding to ' skip client page ', call client playing capability, pull up client login ' and the like in a preview page or a release page, and responding to corresponding interaction effect in real time by a preset SDK in the displayed preview page or release page.
In step S36, the preset SDK in the preview page and the server end establish a subscription notification service related to the SSE protocol.
The step of establishing the subscription notification service about the SSE protocol between the preset SDK and the server in the preview page may be any time after step S32 and before step S37.
The subscription notification service monitors change notification of configuration data about the configuration page for a preset SDK in the preview page.
Step S37, in response to the developer editing the configuration data of the configuration page in the configuration system, the configuration system sends the edited configuration data to the server side through the HTTP protocol.
Step S38, the server stores the edited configuration data into a database; and the server generates configuration change information and sends the configuration change information to the preset SDK in the preview page through subscription notification service of SSE protocol.
In step S39, the preset SDK in the preview page sends a data acquisition request about the edited configuration data corresponding to the configuration change information to the server through the HTTP protocol.
Step S40, the server side extracts the corresponding edited configuration data from the database according to the data acquisition request and sends the configuration data to the preset SDK in the preview page.
And S41, re-rendering the preview page in the web page by the preset SDK in the preview page according to the edited configuration data.
In step S42, in response to the developer confirming completion of the editing operation of the configuration data of the configuration page in the configuration system, the configuration system sends the confirmed configuration data to the server side through the HTTP protocol.
Step S43, the server stores the confirmed configuration data into a formal database, and ends the configuration flow.
According to the scheme, in the first aspect, the configuration data of the configuration page and the preview display of the configuration data of the configuration page are automatically obtained only through the access of the user account to the resource agent link, so that the flow of previewing the configuration page is optimized, and the consumption of manpower and time cost is reduced; in the second aspect, configuration data of a configuration page returned by a server is obtained by using a set resource agent link and rendered, and the method is different from the preview page displayed in the prior art, which is required to depend on the connection state between a page configuration platform and a preset preview webpage, so that a user account can watch the preview page of the configuration page at any time and place, and the flexibility and convenience of displaying the preview page are improved; in the third aspect, since the configuration page is provided with the plurality of option identifiers related to the external function program, a user can verify the interactive function displayed in the preview page on the terminal device, so that the preview scene of the application interactive page is enriched, and the accuracy of verifying the previewed interactive page is improved.
It should be understood that, although the steps in the flowcharts of fig. 2 to 10 are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least a portion of the steps of fig. 2-10 may include multiple steps or stages that are not necessarily performed at the same time, but may be performed at different times, nor does the order in which the steps or stages are performed necessarily occur sequentially, but may be performed alternately or alternately with other steps or at least a portion of the steps or stages in other steps.
It should be understood that the same/similar parts of the embodiments of the method described above in this specification may be referred to each other, and each embodiment focuses on differences from other embodiments, and references to descriptions of other method embodiments are only needed.
Fig. 11 is a block diagram of a preview device for a configuration page according to an embodiment of the present application. Referring to fig. 11, the preview apparatus 10 of the configuration page includes: a data requesting unit 11, a first acquiring unit 12, and a page display unit 13.
Wherein the data request unit 11 is configured to execute an access instruction linked to a resource agent in response to a user account, and generate a data acquisition request for the access instruction; the data acquisition request is an acquisition request of configuration data of a configuration page, and the configuration page is bound with the resource agent link.
Wherein the first obtaining unit 12 is configured to send the data obtaining request to a server, and obtain configuration data of a configuration page corresponding to the data obtaining request returned by the server.
The page display unit 13 is configured to execute rendering of a preview page corresponding to the configuration page based on the configuration data; the configuration page carries a plurality of option identifications associated with external function programs, and each option identification is used for indicating the corresponding external function program to respond to the corresponding interactive function.
In some embodiments, in terms of the access instruction in response to a user account linking to a resource agent, the data request unit 11 is specifically configured to:
responding to the access instruction, and acquiring an access address of the configuration page; the access address comprises a first address corresponding to the configuration state of the configuration page as a release state or a second address corresponding to the configuration state of the configuration page as an edit state;
and determining the configuration state of the configuration page based on the access address of the configuration page.
In some embodiments, in terms of the generation of the data acquisition request for the access instruction in response to the access instruction of the user account to a resource agent link, the data request unit 11 is further specifically configured to:
responding to the access instruction, and acquiring index information of a configuration page bound with the resource agent link;
and generating a data acquisition request aiming at the access instruction based on the index information and the configuration state of the configuration page.
In some embodiments, in terms of the acquiring configuration data of the configuration page returned by the server and corresponding to the data acquisition request, the first acquiring unit 12 is specifically configured to:
If the configuration state is the release state, acquiring configuration data extracted from a first database by the server based on index information of the configuration page; the first database is used for storing configuration data of the online published configuration page; or alternatively
If the configuration state is the editing state, acquiring configuration data extracted from a second database by the server based on index information of the configuration page; the second database is used for storing configuration data of the configuration page in editing.
In some embodiments, before the rendering of the preview page corresponding to the configuration page based on the configuration data, the preview apparatus 10 for the configuration page is specifically further configured to:
if the configuration state of the configuration page is the editing state, maintaining a message subscription state with the server for notifying to change the configuration data of the configuration page; the server is used for changing the configuration data in the second database under editing;
after rendering the preview page corresponding to the configuration page based on the configuration data, the preview device 10 for the configuration page is specifically further configured to:
Acquiring a subscription message about the notification change sent by the server under the condition that the configuration data in the editing process in the second database is changed;
and sending a data change request to the server based on the subscription message, and acquiring changed configuration data extracted from the second database by the server based on the data change request.
Fig. 12 is a block diagram of a processing device for configuration data according to an embodiment of the present application. Referring to fig. 12, the processing apparatus 10A of the configuration data includes: the third acquisition unit 11A and the data storage unit 12A.
Wherein the third obtaining unit 11A is configured to perform an editing operation on a configuration page in response to a user account, and obtain configuration data of the configuration page.
Wherein the data storage unit 12A is configured to perform sending a data storage request carrying the configuration data to a server, instructing the server to store the configuration data.
The configuration data stored by the server are indicated to be used for rendering a preview page corresponding to the configuration page by the terminal, and the preview page is displayed based on the preview method of the configuration page.
In some embodiments, after the configuration data of the page to be configured is obtained, the processing device 10A of the configuration data is specifically further configured to:
rendering an initial preview page corresponding to the configuration page in a web page interface based on the configuration data of the configuration page;
the initial preview page carries a resource agent link bound with the configuration page;
the resource agent link is used for executing the access instruction of the terminal.
In some embodiments, after said instructing said server to store said configuration data, the processing means 10A of this configuration data are specifically further configured to:
responding to an editing completion instruction of the user account on the configuration data of the configuration page, sending the edited configuration data to the server, and indicating the server to store the edited configuration data in a first database; or alternatively
And responding to a pause editing instruction of the user account on the configuration data of the configuration page, sending the configuration data of pause editing to the server, and instructing the server to store the configuration data of pause editing in a second database.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
Fig. 13 is a block diagram of an electronic device 20 provided in an embodiment of the present application. For example, the electronic device 20 may be a server, an electronic component, or an array of servers, etc. Referring to fig. 13, the electronic device 20 comprises a processor 21, which further processor 21 may be a processor set, which may comprise one or more processors, and the server 20 comprises memory resources represented by a memory 22, wherein the memory 22 has stored thereon a computer program, such as an application program. The computer program stored in the memory 22 may include one or more modules each corresponding to a set of executable instructions. Further, the processor 21 is configured to implement the preview method of the configuration page and/or the processing method of the configuration data as described above when executing the computer program.
In some embodiments, electronic device 20 is a server in which a computing system may run one or more operating systems, including any of the operating systems discussed above, as well as any commercially available server operating systems. The electronic device 20 may also run any of a variety of additional server applications and/or middle tier applications, including HTTP (hypertext transfer protocol) servers, FTP (file transfer protocol) servers, CGI (common gateway interface) servers, super servers, database servers, and the like. Exemplary database servers include, but are not limited to, those commercially available from (International Business machines) and the like.
In some embodiments, the processor 21 generally controls overall operation of the electronic device 20, such as operations associated with display, data processing, data communication, and recording operations. The processor 21 may comprise one or more processors to execute a computer program to perform all or part of the steps of the methods described above. Further, the processor 21 may include one or more modules to facilitate interaction between the processor 21 and other components. For example, the processor 21 may include a multimedia module to facilitate controlling interactions between the consumer electronic device 20 and the processor 21 using the multimedia component.
In some embodiments, the processor components in the processor 21 may also be referred to as CPUs (Central Processing Unit, central processing units). The processor 21 may be an electronic chip with signal processing capabilities. The processor 21 may also be a general purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a Field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components. The general purpose processor may be a microprocessor or the processor 21 may be any conventional processor or the like. In addition, the processor 21 may be commonly implemented by an integrated circuit chip.
In some embodiments, memory 22 is configured to store various types of data to support operations at electronic device 20. Examples of such data include instructions, collected data, messages, pictures, videos, etc. for any application or method operating on electronic device 20. The memory 22 may be implemented by any type of volatile or non-volatile memory device or combination thereof, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk, optical disk, or graphene memory.
In some embodiments, the memory 22 may be a memory bank, a TF card, or the like, and may store all information in the electronic device 20, including input raw data, computer programs, intermediate operation results, and final operation results, in the memory 22. In some embodiments, it stores and retrieves information based on the location specified by the processor. In some embodiments, with memory 22, electronic device 20 has memory capabilities to ensure proper operation. In some embodiments, the memory 22 of the electronic device 20 may be divided into a main memory (memory) and an auxiliary memory (external memory) according to purposes, and there is a classification method that is divided into an external memory and an internal memory. The external memory is usually a magnetic medium, an optical disk, or the like, and can store information for a long period of time. The memory refers to a storage component on the motherboard for storing data and programs currently being executed, but is only used for temporarily storing programs and data, and the data is lost when the power supply is turned off or the power is turned off.
In some embodiments, the electronic device 20 may further include: the power supply assembly 23 is configured to perform power management of the server 20, and the wired or wireless network interface 24 is configured to connect the electronic device 20 to a network, and an input output (I/O) interface 25. The electronic device 20 may operate based on an operating system stored in the memory 22, such as Windows Server, mac OS X, unix, linux, freeBSD, or the like.
In some embodiments, power supply assembly 23 provides power to the various components of electronic device 20. Power supply components 23 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for electronic device 20.
In some embodiments, wired or wireless network interface 24 is configured to facilitate wired or wireless communication between electronic device 20 and other devices. The electronic device 20 may access a wireless network based on a communication standard, such as WiFi, an operator network (e.g., 2G, 3G, 4G, or 5G), or a combination thereof.
In some embodiments, the wired or wireless network interface 24 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the wired or wireless network interface 24 also includes a Near Field Communication (NFC) module to facilitate short range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In some embodiments, input output (I/O) interface 25 provides an interface between processor 21 and peripheral interface modules, which may be keyboards, click wheels, buttons, and the like. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
Fig. 14 is a block diagram of a computer-readable storage medium 30 provided in an embodiment of the present application. The computer readable storage medium 30 has stored thereon a computer program 31, wherein the computer program 31, when executed by a processor, enables an electronic device to implement a preview method of a configuration page and/or a processing method of configuration data as described above.
The units integrated with the functional units in the various embodiments of the present application may be stored in the computer-readable storage medium 30 if implemented in the form of software functional units and sold or used as separate products. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or all or part of the technical solution, or in a software product, and the computer readable storage medium 30 includes several instructions in a computer program 31 to enable a computer device (may be a personal computer, a system server, or a network device, etc.), an electronic device (such as MP3, MP4, etc., also may be a smart terminal such as a mobile phone, a tablet computer, a wearable device, etc., also may be a desktop computer, etc.), or a processor (processor) to perform all or part of the steps of the methods of the embodiments of the present application.
Fig. 15 is a block diagram of a computer program product 40 provided by an embodiment of the present application. The computer program product 40 comprises program instructions 41 which, when executed by a processor of the electronic device, enable the electronic device to perform a preview method of a configuration page and/or a processing method of configuration data as described above.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided with a preview method of a configuration page, a processing method of configuration data, a preview apparatus 10 of a configuration page, a processing apparatus 10A of configuration data, an electronic device 20, a computer readable storage medium 30 or a computer program product 40. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product 40 embodied on one or more computer program instructions 41 (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of a preview method of configuration pages, a processing method of configuration data, a preview apparatus 10 of configuration pages, a processing apparatus 10A of configuration data, an electronic device 20, a computer-readable storage medium 30, or a computer program product 40 according to embodiments of the present application. It will be understood that each flowchart and/or block of the flowchart illustrations and/or block diagrams, and combinations of flowcharts and/or block diagrams, can be implemented by computer program product 40. These computer program products 40 may 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 program instructions 41, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program products 40 may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the program instructions 41 stored in the computer program product 40 produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These program instructions 41 may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the program instructions 41 which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It should be noted that the descriptions of the above methods, apparatuses, electronic devices, computer-readable storage media, computer program products and the like according to the method embodiments may further include other implementations, and specific implementations may refer to descriptions of related method embodiments, which are not described herein in detail.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any adaptations, uses, or adaptations of the disclosure following the general principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (11)

1. A preview method of a configuration page, the method comprising:
responding to an access instruction of a user account to a resource agent link, and generating a data acquisition request aiming at the access instruction; the data acquisition request is an acquisition request of configuration data of a configuration page, and the configuration page is bound with the resource agent link;
the data acquisition request is sent to a server, and configuration data of a configuration page corresponding to the data acquisition request returned by the server is acquired;
Rendering a preview page corresponding to the configuration page based on the configuration data; the configuration page carries a plurality of option identifications associated with external function programs, and each option identification is used for indicating the corresponding external function program to respond to the corresponding interactive function.
2. The method of claim 1, wherein responding to the user account access instruction to a resource agent link comprises:
responding to the access instruction, and acquiring an access address of the configuration page; the access address comprises a first address corresponding to the configuration state of the configuration page as a release state or a second address corresponding to the configuration state of the configuration page as an edit state;
and determining the configuration state of the configuration page based on the access address of the configuration page.
3. The method of claim 2, wherein generating a data acquisition request for a resource agent link in response to an access instruction for a user account for the access instruction comprises:
responding to the access instruction, and acquiring index information of a configuration page bound with the resource agent link;
and generating a data acquisition request aiming at the access instruction based on the index information and the configuration state of the configuration page.
4. A method according to claim 3, wherein the obtaining the configuration data of the configuration page returned by the server corresponding to the data obtaining request includes one of:
if the configuration state is the release state, acquiring configuration data extracted from a first database by the server based on index information of the configuration page; the first database is used for storing configuration data of the online published configuration page;
if the configuration state is the editing state, acquiring configuration data extracted from a second database by the server based on index information of the configuration page; the second database is used for storing configuration data of the configuration page in editing.
5. The method of claim 4, wherein the step of determining the position of the first electrode is performed,
before the rendering of the preview page corresponding to the configuration page based on the configuration data, the method further comprises:
if the configuration state of the configuration page is the editing state, maintaining a message subscription state with the server for notifying to change the configuration data of the configuration page; the server is used for changing the configuration data in the second database under editing;
After rendering the preview page corresponding to the configuration page based on the configuration data, the method further comprises:
acquiring a subscription message about the notification change sent by the server under the condition that the configuration data in editing stored in the second database is changed;
and sending a data change request to the server based on the subscription message, and acquiring changed configuration data extracted from the second database by the server based on the data change request.
6. A method of processing configuration data, the method comprising:
responding to the editing operation of a user account on a configuration page, and acquiring configuration data of the configuration page;
sending a data storage request carrying the configuration data to a server, and indicating the server to store the configuration data;
the configuration data stored by the server are indicated to be used for rendering a preview page corresponding to the configuration page by the terminal, and the preview page is displayed based on the preview method of the configuration page according to any one of claims 1-5.
7. The method of claim 6, further comprising, after the obtaining the configuration data of the configuration page:
Rendering an initial preview page corresponding to the configuration page in a web page interface based on the configuration data of the configuration page;
the initial preview page carries a resource agent link bound with the configuration page; the resource agent link is used for executing the access instruction of the terminal.
8. The method of claim 6, further comprising, after the instructing the server to store the configuration data:
responding to an editing completion instruction of the user account on the configuration data of the configuration page, sending the edited configuration data to the server, and indicating the server to store the edited configuration data in a first database; or alternatively
And responding to a pause editing instruction of the user account on the configuration data of the configuration page, sending the configuration data of pause editing to the server, and instructing the server to store the configuration data of pause editing in a second database.
9. An electronic device, comprising:
a processor;
a memory for storing executable instructions of the processor;
wherein the processor is configured to execute the executable instructions to implement the preview method of the configuration page of any of claims 1 to 5 and/or the processing method of the configuration data of any of claims 6 to 8.
10. A computer readable storage medium having a computer program embodied therein, characterized in that the computer program, when executed by a processor of an electronic device, enables the electronic device to perform the preview method of a configuration page according to any one of claims 1 to 5 and/or the processing method of configuration data according to any one of claims 6 to 8.
11. A computer program product comprising program instructions which, when executed by a processor of an electronic device, enable the electronic device to perform the method of previewing configuration pages according to any one of claims 1 to 5 and/or the method of processing configuration data according to any one of claims 6 to 8.
CN202310145135.6A 2023-02-07 2023-02-07 Preview method of configuration page, processing method, device and storage medium of configuration data Pending CN116304416A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310145135.6A CN116304416A (en) 2023-02-07 2023-02-07 Preview method of configuration page, processing method, device and storage medium of configuration data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310145135.6A CN116304416A (en) 2023-02-07 2023-02-07 Preview method of configuration page, processing method, device and storage medium of configuration data

Publications (1)

Publication Number Publication Date
CN116304416A true CN116304416A (en) 2023-06-23

Family

ID=86823244

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310145135.6A Pending CN116304416A (en) 2023-02-07 2023-02-07 Preview method of configuration page, processing method, device and storage medium of configuration data

Country Status (1)

Country Link
CN (1) CN116304416A (en)

Similar Documents

Publication Publication Date Title
US11164220B2 (en) Information processing method, server, and computer storage medium
US10754668B2 (en) Media file presentation method, client application, and plug-in
US10362359B2 (en) Video player framework for a media distribution and management platform
CA3022570C (en) Dynamic content and cloud based content within collaborative electronic content creation and management tools
WO2022037336A1 (en) Document processing method, apparatus and device, and medium
CN113225572B (en) Page element display method, device and system of live broadcasting room
CN107943547B (en) Multi-service integration method and device, intelligent terminal, server and operating system
US20140282398A1 (en) Platform for developing and distributing mobile applications
US11416538B1 (en) System and method for sharing trimmed versions of digital media items
US20090307602A1 (en) Systems and methods for creating and sharing a presentation
KR20150095738A (en) Automated delivery of multimedia content
JP2023527250A (en) Video processing method, apparatus, electronic equipment and computer readable storage medium
TWI638321B (en) System and method of an enterprise instant
CN102937999A (en) Dynamic browser icon
KR20160106128A (en) Offline content sharing
US20150143210A1 (en) Content Stitching Templates
WO2016150388A1 (en) Interface processing method, apparatus, and system
US10795633B2 (en) Desktop sharing method and mobile terminal
JP2014505299A (en) Method and apparatus for processing microweb log messages
US20220078502A1 (en) Techniques for obtaining and distributing user-generated content to internet-based content providers
CN105095360A (en) Method and device for processing user requests for browser
CN104811485A (en) Resource sharing method
US9940645B1 (en) Application installation using in-video programming
CN112764746B (en) Data processing method, device, electronic equipment and storage medium
CN112055164A (en) Information interaction method, device, terminal and storage medium

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