CN111796821A - Page updating method and device - Google Patents

Page updating method and device Download PDF

Info

Publication number
CN111796821A
CN111796821A CN202010553771.9A CN202010553771A CN111796821A CN 111796821 A CN111796821 A CN 111796821A CN 202010553771 A CN202010553771 A CN 202010553771A CN 111796821 A CN111796821 A CN 111796821A
Authority
CN
China
Prior art keywords
page
area
updated
updating
target
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.)
Withdrawn
Application number
CN202010553771.9A
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.)
Beijing Sankuai Online Technology Co Ltd
Original Assignee
Beijing Sankuai Online Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Sankuai Online Technology Co Ltd filed Critical Beijing Sankuai Online Technology Co Ltd
Priority to CN202010553771.9A priority Critical patent/CN111796821A/en
Publication of CN111796821A publication Critical patent/CN111796821A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • 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/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking

Abstract

The specification discloses a page updating method and device, which are used for determining a page area needing to be updated in a page to be updated as a target page area according to a page updating request after receiving the page updating request aiming at the page to be updated. And then, displaying a data editing page aiming at the target page area, wherein the data editing area contained in the data editing page at least displays part of page original data corresponding to the target page area. And then, acquiring page updating data aiming at the target page area through the data editing page, and updating the page content displayed in the target page area of the page to be updated on line according to the page updating data. According to the method, if the page needs to be updated in the local area of the page, developers only need to modify the page codes corresponding to the local area of the page on line, and then can quickly complete the on-line update of the page to be updated, so that the page update efficiency of the developers is effectively improved.

Description

Page updating method and device
Technical Field
The present disclosure relates to the field of computers, and in particular, to a method and an apparatus for updating a page.
Background
Currently, front-end development techniques are essential in the field of information technology.
In the prior art, if a partial area of a front-end page needs to be updated, a developer needs to download all front-end page codes into a terminal (e.g., a notebook computer) of the developer, and then modify a part of the front-end page codes that need to be modified, and the developer uploads all the modified front-end page codes to complete the updating of the partial area of the front-end page.
It can be seen that, in the prior art, although a developer only needs to modify codes of a partial area of a front-end page, the developer needs to download and upload all the codes of the front-end page to complete the update of the front-end page, which reduces the page update efficiency of the developer.
Therefore, how to effectively improve the page updating efficiency of developers when updating partial areas of the front-end page is an urgent problem to be solved.
Disclosure of Invention
The present specification provides a method and an apparatus for updating a page, so as to partially solve the above problems in the prior art.
The technical scheme adopted by the specification is as follows:
the present specification provides a page updating method, including:
receiving a page updating request aiming at a page to be updated;
determining a page area needing to be updated in the page to be updated as a target page area according to the page updating request;
displaying a data editing page aiming at the target page area, wherein the data editing area contained in the data editing page at least displays part of page original data corresponding to the target page area;
acquiring page updating data aiming at the target page area through the data editing page;
and updating the page content displayed in the target page area of the page to be updated on line according to the page updating data.
Optionally, determining, according to the page update request, a page area that needs to be updated in the page to be updated, as a target page area, specifically including:
and determining a page area needing to be updated in the page to be updated as a target page area according to the page area identification carried in the page updating request.
Optionally, displaying the data editing page for the target page area specifically includes:
determining a component code and component configuration information corresponding to the target page area according to the page component identifier corresponding to the target page area carried in the page updating request;
and displaying the component codes and/or the component configuration information in a data editing area contained in the data editing page.
Optionally, displaying the data editing page for the target page area specifically includes:
and synchronously displaying the data editing area and a dynamic page content area in the data editing page, wherein the dynamic page content area is used for displaying the page content displayed by the page to be updated in the target page area.
Optionally, the method further comprises:
and if the data displayed in the data editing area is monitored to be changed, dynamically adjusting the page content displayed in the dynamic page content area.
The present specification provides a page updating method, including:
generating a page updating request according to the monitored specified operation aiming at the page to be updated;
sending the page updating request to a page updating platform, so that the page updating platform determines a page area needing to be updated in the page to be updated as a target page area according to the page updating request, and displays a data editing page aiming at the target page area, wherein the data editing area contained in the data editing page at least displays part of page original data corresponding to the target page area;
and determining page updating data for the target page area through the displayed data editing page and sending the page updating data to the page updating platform, so that the page updating platform updates the page content displayed in the target page area by the page to be updated on line according to the page updating data.
Optionally, generating a page update request according to the monitored specified operation for the page to be updated, which specifically includes:
monitoring the designated operation aiming at the page area contained in the page to be updated according to a pre-installed monitoring plug-in;
and generating a page updating request according to the specified operation.
Optionally, the method further comprises:
sending a page browsing request aiming at the page to be updated;
and acquiring an updated page after the page content displayed in the target page area in the page to be updated is updated online according to the page browsing request, and displaying the page content of the updated page.
This specification provides a page update apparatus, including:
the device comprises a receiving module, a processing module and a sending module, wherein the receiving module is used for receiving a page updating request aiming at a page to be updated;
the determining module is used for determining a page area needing to be updated in the page to be updated as a target page area according to the page updating request;
the display module is used for displaying a data editing page aiming at the target page area, and the data editing area contained in the data editing page at least displays part of page original data corresponding to the target page area;
the acquisition module is used for acquiring page updating data aiming at the target page area through the data editing page;
and the updating module is used for updating the page content displayed by the page to be updated in the target page area on line according to the page updating data.
This specification provides a page update apparatus, including:
the generating module is used for generating a page updating request according to the monitored specified operation aiming at the page to be updated;
a sending module, configured to send the page update request to a page update platform, so that the page update platform determines, according to the page update request, a page area to be updated in the page to be updated, where the page area needs to be updated, and uses the page area as a target page area, and displays a data editing page for the target page area, where a data editing area included in the data editing page at least displays a part of original page data corresponding to the target page area;
and the determining module is used for determining page updating data aiming at the target page area through the displayed data editing page and sending the page updating data to the page updating platform so that the page updating platform can update the page content displayed by the page to be updated in the target page area on line according to the page updating data.
The present specification provides a computer-readable storage medium storing a computer program which, when executed by a processor, implements the above-described method of page updating.
The present specification provides an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the above-mentioned page updating method when executing the program.
The technical scheme adopted by the specification can achieve the following beneficial effects:
in the page updating method provided by the present specification, after the page updating platform receives a page updating request for a page to be updated, a page area to be updated in the page to be updated is determined according to the page updating request, and the page area is used as a target page area. And then, displaying a data editing page aiming at the target page area, wherein the data editing area contained in the data editing page at least displays part of page original data corresponding to the target page area. And then, acquiring page updating data aiming at the target page area through the data editing page, and updating the page content displayed in the target page area of the page to be updated on line according to the page updating data.
According to the method, if the page updating needs to be carried out on the local area in the page, the developer only needs to modify the page codes corresponding to the local area in the page on line, and the on-line updating of the page to be updated can be rapidly completed.
Drawings
The accompanying drawings, which are included to provide a further understanding of the specification and are incorporated in and constitute a part of this specification, illustrate embodiments of the specification and together with the description serve to explain the specification and not to limit the specification in a non-limiting sense. In the drawings:
FIG. 1 is a schematic flow chart of a method for updating a page in the present specification;
FIG. 2 is a schematic diagram of a data editing page provided herein;
FIG. 3 is a schematic flow chart of a method for updating a page in the present specification;
FIG. 4 is a diagram illustrating an update operation performed on a page to be updated according to the present disclosure;
FIG. 5 is a schematic diagram of a complete interaction flow of page update provided by the present specification;
FIG. 6 is a schematic diagram of a page update apparatus provided herein;
FIG. 7 is a schematic diagram of a page update apparatus provided herein;
fig. 8 is a schematic diagram of an electronic device corresponding to fig. 1 or fig. 3 provided in the present specification.
Detailed Description
In order to make the objects, technical solutions and advantages of the present disclosure more clear, the technical solutions of the present disclosure will be clearly and completely described below with reference to the specific embodiments of the present disclosure and the accompanying drawings. It is to be understood that the embodiments described are only a few embodiments of the present disclosure, and not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present specification without any creative effort belong to the protection scope of the present specification.
The technical solutions provided by the embodiments of the present description are described in detail below with reference to the accompanying drawings.
Fig. 1 is a schematic flowchart of a page updating method in this specification, which specifically includes the following steps:
s101: a page update request for a page to be updated is received.
In order to update the page content in the page in time and ensure the page browsing experience of the user, in this specification, a developer performs page update on the page according to the actual page update requirement. Based on this, the developer can send a page update request to the page update platform through the terminal, and then the page update platform receives the page update request for the page, and can use the page as a page to be updated. That is to say, the page to be updated is the page determined by the page updating platform and required to be updated online by the developer. In this specification, a terminal used by a developer to update a page may be an electronic device such as a desktop computer or a notebook computer.
For example, if a developer needs to modify the font of a text in an area of a web page on line according to an actual page update requirement, the developer may perform an update operation on the web page in a used terminal, so as to send a page update request to a page update platform through the terminal, where the page update request may indicate to the page update platform that the developer needs to update the web page, and further use the page as a page to be updated.
S102: and determining a page area needing to be updated in the page to be updated as a target page area according to the page updating request.
After receiving the page updating request, the page updating platform can determine a page area to be updated in the page to be updated as a target page area according to the page updating request. Specifically, in order to facilitate quick update of a page, when a page is developed, each page area may be divided in the page, and relative independence of page codes corresponding to each page area in the page is ensured. That is, when a certain page area in the page is updated, only the page code of the page area needs to be acquired and modified, and not all the page codes of the page need to be acquired. Correspondingly, when the user browses the page, the user needs to send a corresponding page browsing request for the page content of each page area in the page, so as to obtain the page content of each page area in the page.
Therefore, in this specification, a developer can select a page area to be updated from the page to be updated according to an actual requirement, and perform a specified operation on the page area, and accordingly, a terminal used by the developer can send a page update request to the page update platform according to the specified operation. After receiving the page updating request, the page updating platform can determine a page area to be updated in the page to be updated as a target page area according to the page area identifier carried in the page updating request. The page area identifier mentioned here is used to uniquely identify the page area in the page to be updated, that is, the page areas in the page to be updated are different, and the corresponding page area identifiers are also different.
Of course, the page area identifier may also refer to a page component identifier corresponding to each component corresponding to the target page area, but in this case, the page component identifier corresponding to each component used in the page to be updated needs to be globally unique. For example, if the a page area and the B page area both use the same component, it is correspondingly necessary to distinguish the page component identifier corresponding to the component used in the a page area from the page component identifier corresponding to the same component used in the B page area, that is, although the a page area and the B page area both use the same component, the component identifiers corresponding to the two components in the page to be updated are different.
S103: and displaying a data editing page aiming at the target page area, wherein the data editing area contained in the data editing page at least displays part of page original data corresponding to the target page area.
And after the page updating platform determines the target page area, displaying a data editing page aiming at the target page area to the developer through the terminal of the developer. The data editing area included in the data editing page at least displays a part of page original data corresponding to the target page area, that is, the data editing area can display a part of page codes corresponding to the target page area, and can also display all page codes corresponding to the target page area. The page original data mentioned here may be an original page code corresponding to the target page area before the target page area is updated this time.
For example, the page updating platform may display the framed page code in the data editing area, among all the page codes corresponding to the target page area, on line; for another example, the page update platform may determine, according to the page component identifier corresponding to the target page area carried in the page update request, the component code and the component configuration information corresponding to the target page area, and display the determined component code and/or component configuration information on the data editing area in the data editing page on line.
The component code mentioned herein is used to embody the functions that can be realized by the component after execution, and the component configuration information is used to represent the specific content and details that can be embodied by the component code after execution. For example, executing the component code corresponding to the a component can realize jumping to a certain website from the current page, then the component code is used for realizing the website jumping function of the a component, and the component configuration information is used for indicating the specific address of the website.
In this specification, the data editing page may only include a data editing area, and in order to facilitate a developer to perform a page update operation, the data editing page may include a corresponding dynamic page content area in addition to the data editing area. Specifically, in this specification, the page update platform may perform online synchronous display on a data editing area and a dynamic page content area in a data editing page, where the data editing area is an editable area, and a developer may edit a page code displayed in the data editing area. And the dynamic page content area is used for dynamically displaying the page content displayed by the page to be updated in the target page area. The page content mentioned here refers to the specific content displayed in the target page area, which includes the information of specific characters, pictures, etc. displayed in the page, and also includes the information of specific character format, page layout, etc.
The above-mentioned dynamic page content area may dynamically display the page content displayed in the target page area by the page to be updated, which means that the page content corresponding to the page code in the data editing area after execution is dynamically displayed. That is, if the page update platform monitors that the data displayed in the data editing area changes, the page content displayed in the dynamic page content area may be dynamically adjusted, so that the page content displayed in the dynamic page content area may be adapted to the data displayed in the data editing area, as shown in fig. 2.
Fig. 2 is a schematic diagram of a data editing page provided in this specification.
For example, the left area in the data editing page in fig. 2 is a data editing area, and the data editing area is used for showing the component codes and the component configuration information in the target page area. And the developer can update the component codes or the component configuration information in the data editing area according to the actual requirements. And after monitoring that a developer performs an updating operation on the component code or the component configuration information in the data editing area, the page updating platform can determine updated page content corresponding to the updated component code or the component configuration information according to the updated component code or the updated component configuration information, and display the updated page content in a dynamic page content area on the right side of the data editing page. That is, the data in the left area changes, and the page content in the right area changes accordingly. Therefore, developers can quickly check the page content after the updating operation is carried out on the component codes or the component configuration information in the data editing area through the dynamic page content area.
That is, if the component code in the data editing area changes, the page content in the right area also changes, and if the component configuration information in the data editing area changes, the page content in the right area also changes. If the website in the component configuration information is changed and the component code is still used to implement the function of page jump, the website displayed in the right area after executing the component code should be the website after the change.
S104: and acquiring page updating data aiming at the target page area through the data editing page.
After the page updating platform displays the data editing page, page updating data aiming at the target page area can be obtained through the data editing page. Specifically, the page update platform may obtain the page update data in the data editing area for the target page area by monitoring the operation of the developer on the data editing page. For example, as shown in fig. 2, a submit button is set in the data editing page for the data editing area, and if the page updating platform monitors that the developer clicks the submit button, it indicates that the developer wishes to submit the data in the data editing area at that time, and then the page updating platform may obtain the data in the data editing area at that time as the page updating data for the target page area.
S105: and updating the page content displayed in the target page area of the page to be updated on line according to the page updating data.
After the page updating platform obtains the page updating data, the page content displayed by the page to be updated in the target page area can be updated online. Specifically, the page update platform may update the page code corresponding to the target page area of the page to be updated according to the page update data. That is to say, the page update data is a page code written by a developer for updating the target page area, and the original page data (i.e., the original page code) corresponding to the target page area of the page to be updated may be replaced with the page update data.
And after the page updating platform updates the page code corresponding to the target page area of the page to be updated, the page content of the target page area in the page to be updated is updated accordingly, and if the user browses the page to be updated subsequently, the page content in the target page area is the updated page content.
The above process is mainly described in terms of a page update platform, and the page update method provided in this specification is described, but it should be noted that, in an actual page update process, a developer needs to perform a series of operations on a terminal used to complete the entire page update, and the page update method provided in this specification will be described in terms of a terminal used by the developer.
Fig. 3 is a schematic flowchart of a page updating method in this specification, which specifically includes the following steps:
s301: and generating a page updating request according to the monitored specified operation aiming at the page to be updated.
If the terminal monitors that a developer using the terminal executes specified operation aiming at the page to be updated, a corresponding page updating request can be generated. The specified operation mentioned here is used for triggering the terminal to determine a page area that the developer needs to update in the page to be updated, and generate a page update request for the page area, as shown in fig. 4.
Fig. 4 is a schematic diagram of performing an update operation on a page to be updated according to this specification.
For example, the page to be updated in fig. 4 is divided into 3 page regions, where each page region corresponds to an "online editing" button, and when the page to be updated is just opened, the "online editing" button may be hidden, and a developer may view each "online editing" button by clicking a shortcut key or a designated instruction preset in a browser. If the developer clicks the 'online editing' button corresponding to the page A area, the developer indicates that the developer is going to perform page updating on the page A area, the terminal can generate a page updating request for the page A area, and the page updating platform can take the page A area as a target page area after receiving the page updating request.
In this specification, a developer may install a monitoring plug-in a browser of a terminal in advance. Accordingly, when the developer needs to update the currently displayed page of the browser of the terminal, the monitoring plug-in may be started to view the "online edit" buttons shown in fig. 4. When a developer operates an online editing button in a certain page area, the terminal can monitor that the developer performs a specified operation on the page area (namely, clicks the online editing button of the page area) through the monitoring plug-in, and further generates a page updating request aiming at the page area according to the specified operation.
S302: sending the page updating request to a page updating platform, so that the page updating platform determines a page area needing to be updated in the page to be updated according to the page updating request, and takes the page area as a target page area, and displays a data editing page aiming at the target page area, wherein the data editing area contained in the data editing page at least displays part of page original data corresponding to the target page area.
After the terminal generates the page updating request, the page updating request can be sent to a page updating platform, so that the page updating platform determines a page area needing to be updated in the page to be updated according to the page updating request, and the page area is used as a target page area. Then, the terminal may acquire and display a data editing page generated by the page updating platform for the target page area from the page updating platform, where the data editing area included in the data editing page may display at least a part of page original data corresponding to the target page area to a developer. The detailed process is described in the flow of fig. 1, and is not described in detail here.
S303: and determining page updating data for the target page area through the displayed data editing page and sending the page updating data to the page updating platform, so that the page updating platform updates the page content displayed in the target page area by the page to be updated on line according to the page updating data.
After the page updating platform displays the data editing page to the developer through the terminal, the terminal can determine page updating data aiming at the target page area through the data editing page and send the page updating data to the page updating platform. The page updating platform can update the page content displayed by the page to be updated in the target page area on line according to the page updating data.
The terminal can determine and send the page updating data aiming at the target page area by monitoring the operation of a developer on the data editing page. For example, when the terminal monitors that the developer clicks the submit button in the data editing page in fig. 2, the data in the data editing area in the data editing page at this time may be used as page update data and sent to the page update platform.
When the page updating platform updates the page to be updated, the user views the page through the used terminal, and the page content of the page viewed by the user refers to the page content of the whole page after the page content of the target page area in the page to be updated is updated. Specifically, a user may use a terminal to send a page browsing request to obtain a page after online updating of page content in a target page area in a page to be updated is completed, and the page is used as an updated page. The updated page mentioned here refers to an entire page that can be displayed by the page to be updated after the page to be updated is updated online by the page updating platform. The terminal used by the user may be an electronic device such as a mobile phone, a notebook computer, a desktop computer, and the like.
According to the method, if the page needs to be updated in the local area of the page, developers only need to modify the page codes corresponding to the local area of the page on line, and then the page to be updated can be updated on line quickly. That is to say, when the page is constructed, not all page components related in the page are tightly coupled with the page, but split updating of each page component in the page is realized, that is, when the page is updated, only one or a part of page components included in the page can be updated online, and the page does not need to be downloaded locally as a whole, and is uploaded to a page updating platform after the page is updated as a whole. Therefore, compared with the method for updating the page content of the local area in the page to be updated by downloading and uploading all the page codes of the page to be updated in the prior art, the method simplifies the work flow of developers, thereby effectively improving the page updating efficiency of the developers.
And the page updating platform is provided with a data editing area and a dynamic page content area in a data editing page displayed to developers through the terminal, and the dynamic page content area can display page content after page codes in the data editing area are executed in real time, so that the developers can see the execution effect of the edited page codes while editing the page codes, thereby bringing great convenience to the page updating of the developers and further improving the page updating efficiency of the developers.
It should be noted that the page update platform may receive page update data for updating a page code of a target page area in a page to be updated, and receive a page browsing request for the page to be updated, that is, the page update platform is responsible for displaying a required page to a user, and providing an online platform for page update to a developer. Of course, the page update platform may also receive only page update data for updating the page code of the target page area in the page to be updated, and may receive a page browsing request sent by the user and perform page display to the user.
The specific implementation of the page updating method provided in this specification needs the interaction between the terminal of the developer and the page updating platform, as shown in fig. 5.
Fig. 5 is a schematic diagram of a complete interaction flow of page update provided in this specification.
For example, in fig. 5, a terminal of a developer may send a page update request for a page to be updated to a page update platform, and the page update platform may determine, according to the page update request, a target page area that the developer needs to perform online update. Then, the page update platform may obtain, according to the page component identifier carried in the page update request, the component code corresponding to the target page area from the storage center, and obtain, from the configuration center, the component configuration information of the component corresponding to the target page area.
Subsequently, the page updating platform may return the data editing page for the target page area to the terminal, so that the terminal displays the data editing page. The developer may modify the component code and the component configuration information in a data editing area included in the data editing page. When a developer modifies the component codes and the component configuration information in the data editing area, the modified page content is synchronously displayed in a dynamic page content area contained in the data editing page displayed by the terminal.
When monitoring that the developer finishes modifying the component codes and the component configuration information in the data editing area, the terminal can send the modified component codes and the component configuration information to the page updating platform, so that the page updating platform sends the modified component codes to the storage center for storage, and sends the modified component configuration information to the configuration center for storage, and then online updating of the target page area in the page to be updated is finished.
It should be noted that, in fig. 5, the page update platform may first obtain the component code from the storage center, and then obtain the component configuration information from the configuration center, or first obtain the component configuration information from the configuration center, and then obtain the component code from the storage center, or obtain the component code and the component configuration information from the storage center and the configuration center synchronously.
Based on the same idea, the present specification further provides a corresponding page updating apparatus, as shown in fig. 6 and fig. 7, for the method for page updating provided in one or more embodiments of the present specification.
Fig. 6 is a schematic diagram of a page updating apparatus provided in this specification, which specifically includes:
a receiving module 601, configured to receive a page update request for a page to be updated;
a determining module 602, configured to determine, according to the page update request, a page area that needs to be updated in the page to be updated, as a target page area;
a display module 603, configured to display a data editing page for the target page area, where a data editing area included in the data editing page at least displays a part of page original data corresponding to the target page area;
an obtaining module 604, configured to obtain, through the data editing page, page update data for the target page area;
the updating module 605 is configured to perform online updating on the page content displayed in the target page area of the page to be updated according to the page updating data.
Optionally, the determining module 602 is specifically configured to determine, according to a page area identifier carried in the page updating request, a page area that needs to be updated in the page to be updated, as a target page area.
Optionally, the presentation module 603 is specifically configured to determine, according to the page component identifier corresponding to the target page area and carried in the page update request, a component code and component configuration information corresponding to the target page area; and displaying the component codes and/or the component configuration information in a data editing area contained in the data editing page.
Optionally, the displaying module 603 is specifically configured to synchronously display the data editing area and a dynamic page content area in the data editing page, where the dynamic page content area is used to display page content displayed in the target page area by the page to be updated.
Optionally, the display module 603 is further configured to dynamically adjust the page content displayed in the dynamic page content area if it is monitored that the data displayed in the data editing area changes.
Fig. 7 is a schematic diagram of a page updating apparatus provided in this specification, which specifically includes:
a generating module 701, configured to generate a page update request according to a monitored specified operation for a page to be updated;
a sending module 702, configured to send the page update request to a page update platform, so that the page update platform determines, according to the page update request, a page area that needs to be updated in the page to be updated, where the page area is used as a target page area, and displays a data editing page for the target page area, where a data editing area included in the data editing page at least displays a part of page original data corresponding to the target page area;
the determining module 703 is configured to determine, through the displayed data editing page, page update data for the target page area and send the page update data to the page update platform, so that the page update platform performs online update on the page content displayed in the target page area on the page to be updated according to the page update data.
Optionally, the generating module 701 is specifically configured to monitor, according to a monitoring plug-in installed in advance, a specified operation for a page area included in the page to be updated; and generating a page updating request according to the specified operation.
The device also comprises a control device for controlling the operation of the device,
a presentation module 704, configured to send a page browsing request for the page to be updated; and acquiring an updated page after the page content displayed in the target page area in the page to be updated is updated online according to the page browsing request, and displaying the page content of the updated page.
The present specification also provides a computer-readable storage medium storing a computer program, which can be used to execute the method for page update provided in fig. 1 or fig. 3.
This specification also provides a schematic block diagram of the electronic device shown in fig. 8. As shown in fig. 8, at the hardware level, the electronic device includes a processor, an internal bus, a network interface, a memory, and a non-volatile memory, but may also include hardware required for other services. The processor reads the corresponding computer program from the non-volatile memory into the memory and then runs the computer program to implement the page updating method described in fig. 1 or fig. 3. Of course, besides the software implementation, the present specification does not exclude other implementations, such as logic devices or a combination of software and hardware, and the like, that is, the execution subject of the following processing flow is not limited to each logic unit, and may be hardware or logic devices.
In the 90 s of the 20 th century, improvements in a technology could clearly distinguish between improvements in hardware (e.g., improvements in circuit structures such as diodes, transistors, switches, etc.) and improvements in software (improvements in process flow). However, as technology advances, many of today's process flow improvements have been seen as direct improvements in hardware circuit architecture. Designers almost always obtain the corresponding hardware circuit structure by programming an improved method flow into the hardware circuit. Thus, it cannot be said that an improvement in the process flow cannot be realized by hardware physical modules. For example, a Programmable Logic Device (PLD), such as a Field Programmable Gate Array (FPGA), is an integrated circuit whose Logic functions are determined by programming the Device by a user. A digital system is "integrated" on a PLD by the designer's own programming without requiring the chip manufacturer to design and fabricate application-specific integrated circuit chips. Furthermore, nowadays, instead of manually making an integrated Circuit chip, such Programming is often implemented by "logic compiler" software, which is similar to a software compiler used in program development and writing, but the original code before compiling is also written by a specific Programming Language, which is called Hardware Description Language (HDL), and HDL is not only one but many, such as abel (advanced Boolean Expression Language), ahdl (alternate Language Description Language), traffic, pl (core unified Programming Language), HDCal, JHDL (Java Hardware Description Language), langue, Lola, HDL, laspam, hardsradware (Hardware Description Language), vhjhd (Hardware Description Language), and vhigh-Language, which are currently used in most common. It will also be apparent to those skilled in the art that hardware circuitry that implements the logical method flows can be readily obtained by merely slightly programming the method flows into an integrated circuit using the hardware description languages described above.
The controller may be implemented in any suitable manner, for example, the controller may take the form of, for example, a microprocessor or processor and a computer-readable medium storing computer-readable program code (e.g., software or firmware) executable by the (micro) processor, logic gates, switches, an Application Specific Integrated Circuit (ASIC), a programmable logic controller, and an embedded microcontroller, examples of which include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320, the memory controller may also be implemented as part of the control logic for the memory. Those skilled in the art will also appreciate that, in addition to implementing the controller as pure computer readable program code, the same functionality can be implemented by logically programming method steps such that the controller is in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers and the like. Such a controller may thus be considered a hardware component, and the means included therein for performing the various functions may also be considered as a structure within the hardware component. Or even means for performing the functions may be regarded as being both a software module for performing the method and a structure within a hardware component.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. One typical implementation device is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smartphone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functions of the various elements may be implemented in the same one or more software and/or hardware implementations of the present description.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions 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 instructions, 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 instructions 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 instructions stored in the computer-readable memory 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 computer program instructions 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 instructions 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.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present description may be provided as a method, system, or computer program product. Accordingly, the description may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the description may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
This description may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only an example of the present specification, and is not intended to limit the present specification. Various modifications and alterations to this description will become apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present specification should be included in the scope of the claims of the present specification.

Claims (12)

1. A method for updating a page, comprising:
receiving a page updating request aiming at a page to be updated;
determining a page area needing to be updated in the page to be updated as a target page area according to the page updating request;
displaying a data editing page aiming at the target page area, wherein the data editing area contained in the data editing page at least displays part of page original data corresponding to the target page area;
acquiring page updating data aiming at the target page area through the data editing page;
and updating the page content displayed in the target page area of the page to be updated on line according to the page updating data.
2. The method according to claim 1, wherein determining, according to the page update request, a page area that needs to be updated in the page to be updated, as a target page area, specifically includes:
and determining a page area needing to be updated in the page to be updated as a target page area according to the page area identification carried in the page updating request.
3. The method according to claim 1, wherein displaying the data editing page for the target page area specifically comprises:
determining a component code and component configuration information corresponding to the target page area according to the page component identifier corresponding to the target page area carried in the page updating request;
and displaying the component codes and/or the component configuration information in a data editing area contained in the data editing page.
4. The method according to claim 1 or 3, wherein presenting the data editing page for the target page area specifically comprises:
and synchronously displaying the data editing area and a dynamic page content area in the data editing page, wherein the dynamic page content area is used for displaying the page content displayed by the page to be updated in the target page area.
5. The method of claim 4, wherein the method further comprises:
and if the data displayed in the data editing area is monitored to be changed, dynamically adjusting the page content displayed in the dynamic page content area.
6. A method for updating a page, comprising:
generating a page updating request according to the monitored specified operation aiming at the page to be updated;
sending the page updating request to a page updating platform, so that the page updating platform determines a page area needing to be updated in the page to be updated as a target page area according to the page updating request, and displays a data editing page aiming at the target page area, wherein the data editing area contained in the data editing page at least displays part of page original data corresponding to the target page area;
and determining page updating data for the target page area through the displayed data editing page and sending the page updating data to the page updating platform, so that the page updating platform updates the page content displayed in the target page area by the page to be updated on line according to the page updating data.
7. The method of claim 6, wherein generating a page update request according to the monitored specified operation for the page to be updated specifically comprises:
monitoring the designated operation aiming at the page area contained in the page to be updated according to a pre-installed monitoring plug-in;
and generating a page updating request according to the specified operation.
8. The method of claim 6, wherein the method further comprises:
sending a page browsing request aiming at the page to be updated;
and acquiring an updated page after the page content displayed in the target page area in the page to be updated is updated online according to the page browsing request, and displaying the page content of the updated page.
9. An apparatus for updating a page, comprising:
the device comprises a receiving module, a processing module and a sending module, wherein the receiving module is used for receiving a page updating request aiming at a page to be updated;
the determining module is used for determining a page area needing to be updated in the page to be updated as a target page area according to the page updating request;
the display module is used for displaying a data editing page aiming at the target page area, and the data editing area contained in the data editing page at least displays part of page original data corresponding to the target page area;
the acquisition module is used for acquiring page updating data aiming at the target page area through the data editing page;
and the updating module is used for updating the page content displayed by the page to be updated in the target page area on line according to the page updating data.
10. An apparatus for updating a page, comprising:
the generating module is used for generating a page updating request according to the monitored specified operation aiming at the page to be updated;
a sending module, configured to send the page update request to a page update platform, so that the page update platform determines, according to the page update request, a page area to be updated in the page to be updated, where the page area needs to be updated, and uses the page area as a target page area, and displays a data editing page for the target page area, where a data editing area included in the data editing page at least displays a part of original page data corresponding to the target page area;
and the determining module is used for determining page updating data aiming at the target page area through the displayed data editing page and sending the page updating data to the page updating platform so that the page updating platform can update the page content displayed by the page to be updated in the target page area on line according to the page updating data.
11. A computer-readable storage medium, characterized in that the storage medium stores a computer program which, when executed by a processor, implements the method of any of the preceding claims 1-5 or 6-8.
12. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of any of claims 1 to 5 or 6 to 8 when executing the program.
CN202010553771.9A 2020-06-17 2020-06-17 Page updating method and device Withdrawn CN111796821A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010553771.9A CN111796821A (en) 2020-06-17 2020-06-17 Page updating method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010553771.9A CN111796821A (en) 2020-06-17 2020-06-17 Page updating method and device

Publications (1)

Publication Number Publication Date
CN111796821A true CN111796821A (en) 2020-10-20

Family

ID=72804098

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010553771.9A Withdrawn CN111796821A (en) 2020-06-17 2020-06-17 Page updating method and device

Country Status (1)

Country Link
CN (1) CN111796821A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112416401A (en) * 2020-11-23 2021-02-26 北京奇艺世纪科技有限公司 Data updating method, device and equipment
CN112433741A (en) * 2020-11-24 2021-03-02 北京奇艺世纪科技有限公司 Page processing method, device and system, electronic equipment and storage medium
CN112632428A (en) * 2020-12-25 2021-04-09 北京奇艺世纪科技有限公司 Page partial refreshing method, device, equipment and storage medium
CN113065082A (en) * 2021-02-26 2021-07-02 北京达佳互联信息技术有限公司 Data processing method and device, electronic equipment and storage medium
CN113094046A (en) * 2021-03-31 2021-07-09 青岛海尔科技有限公司 Method, device and terminal for product page development
CN114090146A (en) * 2021-10-28 2022-02-25 青岛海尔科技有限公司 Data loading completion determining method, device and equipment
CN112433741B (en) * 2020-11-24 2024-05-17 北京奇艺世纪科技有限公司 Page processing method, device and system, electronic equipment and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102193933A (en) * 2010-03-10 2011-09-21 北大方正集团有限公司 Method and system for webpage editing
CN103020237A (en) * 2012-12-14 2013-04-03 北京新媒传信科技有限公司 Webpage updating method and device
US20140195892A1 (en) * 2013-01-07 2014-07-10 International Business Machines Corporation In-line editing of webpages
US20140304682A1 (en) * 2007-12-05 2014-10-09 Adobe Systems Incorporated Systems and methods for run-time editing of a web page
CN106126557A (en) * 2016-06-16 2016-11-16 乐视控股(北京)有限公司 Page processing method and device
CN106201489A (en) * 2016-06-30 2016-12-07 乐视控股(北京)有限公司 A kind of page editing method and apparatus
CN106293765A (en) * 2016-08-23 2017-01-04 乐视控股(北京)有限公司 A kind of layout updates method and device
CN109492176A (en) * 2018-10-30 2019-03-19 天脉聚源(北京)教育科技有限公司 A kind of page info update method and device
CN110442821A (en) * 2019-08-01 2019-11-12 上海麦克风文化传媒有限公司 Renewal of the page device during a kind of webpage development
CN110457037A (en) * 2019-08-01 2019-11-15 上海麦克风文化传媒有限公司 A kind of method for updating pages

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140304682A1 (en) * 2007-12-05 2014-10-09 Adobe Systems Incorporated Systems and methods for run-time editing of a web page
CN102193933A (en) * 2010-03-10 2011-09-21 北大方正集团有限公司 Method and system for webpage editing
CN103020237A (en) * 2012-12-14 2013-04-03 北京新媒传信科技有限公司 Webpage updating method and device
US20140195892A1 (en) * 2013-01-07 2014-07-10 International Business Machines Corporation In-line editing of webpages
CN106126557A (en) * 2016-06-16 2016-11-16 乐视控股(北京)有限公司 Page processing method and device
CN106201489A (en) * 2016-06-30 2016-12-07 乐视控股(北京)有限公司 A kind of page editing method and apparatus
CN106293765A (en) * 2016-08-23 2017-01-04 乐视控股(北京)有限公司 A kind of layout updates method and device
CN109492176A (en) * 2018-10-30 2019-03-19 天脉聚源(北京)教育科技有限公司 A kind of page info update method and device
CN110442821A (en) * 2019-08-01 2019-11-12 上海麦克风文化传媒有限公司 Renewal of the page device during a kind of webpage development
CN110457037A (en) * 2019-08-01 2019-11-15 上海麦克风文化传媒有限公司 A kind of method for updating pages

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112416401A (en) * 2020-11-23 2021-02-26 北京奇艺世纪科技有限公司 Data updating method, device and equipment
CN112416401B (en) * 2020-11-23 2023-10-27 北京奇艺世纪科技有限公司 Data updating method, device and equipment
CN112433741A (en) * 2020-11-24 2021-03-02 北京奇艺世纪科技有限公司 Page processing method, device and system, electronic equipment and storage medium
CN112433741B (en) * 2020-11-24 2024-05-17 北京奇艺世纪科技有限公司 Page processing method, device and system, electronic equipment and storage medium
CN112632428A (en) * 2020-12-25 2021-04-09 北京奇艺世纪科技有限公司 Page partial refreshing method, device, equipment and storage medium
CN112632428B (en) * 2020-12-25 2023-10-10 北京奇艺世纪科技有限公司 Page local refreshing method, device, equipment and storage medium
CN113065082A (en) * 2021-02-26 2021-07-02 北京达佳互联信息技术有限公司 Data processing method and device, electronic equipment and storage medium
CN113094046A (en) * 2021-03-31 2021-07-09 青岛海尔科技有限公司 Method, device and terminal for product page development
CN113094046B (en) * 2021-03-31 2023-12-05 青岛海尔科技有限公司 Method, device and terminal for developing product page
CN114090146A (en) * 2021-10-28 2022-02-25 青岛海尔科技有限公司 Data loading completion determining method, device and equipment
CN114090146B (en) * 2021-10-28 2023-06-16 青岛海尔科技有限公司 Method, device and equipment for determining completion of data loading

Similar Documents

Publication Publication Date Title
CN111796821A (en) Page updating method and device
CN111796823A (en) Method and device for updating page and displaying page and page maintenance system
CN108924029B (en) Method and device for sending customer service data
CN111639289A (en) Webpage loading method and device
CN107479868B (en) Interface loading method, device and equipment
CN111177621B (en) Web page development method, device and system
CN110496395B (en) Component operation method, system and equipment for illusion engine
CN112364277A (en) Webpage loading method and device
CN112559935A (en) Method and device for creating page
CN111831387A (en) Page processing method, device and equipment
CN111240788A (en) Method, device and equipment for generating small program page
CN112947969A (en) Page off-screen rendering method, device, equipment and readable medium
CN111898056A (en) Webpage display method and device, storage medium and electronic equipment
CN112631679A (en) Preloading method and device for micro-application
CN113672323A (en) Page display method and device
CN110806847A (en) Distributed multi-screen display method, device, equipment and system
CN112559934A (en) Page popup display method and device
CN110262749B (en) Webpage operation method, device, container, equipment and medium
CN112035117A (en) Page display system, method and device
CN113360385A (en) Test method, device, equipment and medium
CN106970872B (en) Information point burying method and device
CN111538667A (en) Page testing method and device
US11126410B2 (en) Method and apparatus for building pages, apparatus and non-volatile computer storage medium
CN111881393A (en) Page rendering method, device, medium and electronic equipment
CN116245051A (en) Simulation software rendering method and device, storage medium and electronic equipment

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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20201020