CN112131504B - Webpage editing and displaying method, device, equipment and storage medium - Google Patents

Webpage editing and displaying method, device, equipment and storage medium Download PDF

Info

Publication number
CN112131504B
CN112131504B CN202010889616.4A CN202010889616A CN112131504B CN 112131504 B CN112131504 B CN 112131504B CN 202010889616 A CN202010889616 A CN 202010889616A CN 112131504 B CN112131504 B CN 112131504B
Authority
CN
China
Prior art keywords
protocol
protocol information
link
information
static webpage
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010889616.4A
Other languages
Chinese (zh)
Other versions
CN112131504A (en
Inventor
杨向荣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Changsha Youheng Network Technology Co Ltd
Original Assignee
Changsha Youheng Network 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 Changsha Youheng Network Technology Co Ltd filed Critical Changsha Youheng Network Technology Co Ltd
Priority to CN202010889616.4A priority Critical patent/CN112131504B/en
Publication of CN112131504A publication Critical patent/CN112131504A/en
Application granted granted Critical
Publication of CN112131504B publication Critical patent/CN112131504B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • 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]
    • G06F16/9558Details of hyperlinks; Management of linked annotations
    • 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/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching

Abstract

The invention discloses a webpage editing and displaying method, device, equipment and storage medium. The method comprises the following steps: acquiring a protocol number and determining a corresponding protocol link; acquiring a display object containing protocol information based on the protocol link; editing the display object into a preset static webpage; and storing the edited preset static webpage to a local cache. According to the technical scheme, when the static webpage is edited and generated, the content of the protocol information is not edited into the webpage of the display object directly, but the protocol information written by the user is stored into the special data end, and then the protocol information is written into the display object in the form of the static webpage according to the protocol information link; when the user wants to modify the protocol content, the protocol information can be modified at any time without affecting the normal display of the protocol information. The scheme can effectively improve the webpage editing efficiency while meeting the requirement of quick display.

Description

Webpage editing and displaying method, device, equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of Internet, in particular to a webpage editing and displaying method, device, equipment and storage medium.
Background
With the development of internet technology, more and more application scenes are transferred from offline to online. Users often need to confirm terms related to a service, inform them of possible risks, rules to be adhered to, responsibilities to be taken, etc. while participating in some service activities. These pages are typically presented in web pages before the user begins to use.
In the prior art, the notification manner of some protocol contents may include: one is dynamic real-time presentation, and the other is editing and typesetting the content into static pages. If the dynamic real-time display is carried out, if the concurrency of the access quantity is too high, the performance of the service with excessive display contents becomes a bottleneck; if the content is displayed through a static page, the modification of the content of the protocol is unfavorable.
Therefore, a solution capable of efficiently and conveniently displaying web page information is needed.
Disclosure of Invention
The embodiment of the invention provides a webpage editing and displaying method, device, equipment and storage medium, which are used for realizing efficient and convenient webpage information display.
In a first aspect, an embodiment of the present invention provides a method for editing a web page, including:
acquiring a protocol number and determining a corresponding protocol link;
acquiring a display object containing protocol information based on the protocol link;
editing the display object into a preset static webpage;
and storing the edited preset static webpage to a local cache.
In a second aspect, an embodiment of the present invention provides a web page display method, where the method includes:
responding to an authentication request sent by a user, and acquiring a protocol number for authenticating the user;
determining protocol information corresponding to the effective protocol link based on the protocol number;
and sending the static webpage containing the protocol information to the corresponding client.
In a third aspect, an embodiment of the present invention provides a web page editing apparatus, including:
the determining module is used for acquiring the protocol number and determining the corresponding protocol link;
the acquisition module is used for acquiring the display object containing the protocol information based on the protocol link;
the editing module is used for editing the display object into a preset static webpage;
and the storage module is used for storing the edited preset static webpage into a local cache.
In a fourth aspect, an embodiment of the present invention provides an electronic device, including a processor, and a memory, where the memory is configured to store one or more computer instructions, and the one or more computer instructions implement the method for editing a web page according to the first aspect when executed by the processor.
In a fifth aspect, embodiments of the present invention provide a computer-readable storage medium storing a computer program that, when executed by one or more processors, causes the one or more processors to perform actions comprising: acquiring a protocol number and determining a corresponding protocol link; acquiring a display object containing protocol information based on the protocol link; editing the display object into a preset static webpage; and storing the edited preset static webpage to a local cache.
In the embodiment of the invention, when editing the webpage, the protocol number is acquired, and the corresponding protocol link is determined; acquiring a display object containing protocol information based on the protocol link; editing the display object into a preset static webpage; and storing the edited preset static webpage to a local cache. According to the technical scheme, the corresponding protocol numbers are associated with each protocol information, when the static webpage is edited and generated, the content of the protocol information is not directly edited into the webpage of the display object, the protocol information written by the user is stored in the special data end, and then the protocol information is written into the display object in the form of the static webpage according to the protocol information link; when the user wants to modify the protocol content, the protocol information can be modified at any time without affecting the normal display of the protocol information. The scheme can effectively improve the webpage editing efficiency while meeting the requirement of quick display.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, a brief description will be given below of the drawings required for the embodiments or the prior art descriptions, and it is obvious that the drawings in the following description are some embodiments of the present invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flow chart of a web page editing method according to an embodiment of the present application;
fig. 2 is a flowchart of a web page display method according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a web page display process according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a web page editing apparatus according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device corresponding to the web page editing apparatus provided in the embodiment shown in fig. 4.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The terminology used in the embodiments of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in this application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise, the "plurality" generally includes at least two.
It should be understood that the term "and/or" as used herein is merely one relationship describing the association of the associated objects, meaning that there may be three relationships, e.g., a and/or B, may represent: a exists alone, A and B exist together, and B exists alone. In addition, the character "/" herein generally indicates that the front and rear associated objects are an "or" relationship.
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 product or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such product or system. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a commodity or system comprising such elements.
In the existing related scheme for displaying protocol information, for example, a static webpage can be used for displaying, and when the protocol content needs to be changed, the static webpage needs to be modified, so that the current static webpage is temporarily unusable. The content is fixed, the interactivity is poor, and the content update and maintenance are complex. Without automated tools, it is impractical to maintain a large number of static pagefiles. The user/client requirements (appearance selection, browser support, cookie) cannot be adequately supported. In addition, if the dynamic web page is adopted to display the related protocol information, when a simultaneous multi-user request is met, related problems such as network blocking can occur. Therefore, a technical solution is needed that can meet the requirements of quick display and also can be edited quickly.
Fig. 1 is a flow chart of a web page editing method provided in an embodiment of the present application, which is applied to a server, as shown in fig. 1, and the method includes the following steps:
101: and acquiring a protocol number and determining a corresponding protocol link.
102: and acquiring the display object containing the protocol information based on the protocol link.
103: and editing the display object into a preset static webpage.
104: and storing the edited preset static webpage to a local cache.
For ease of understanding, the following is specifically exemplified.
The user is required to perform account registration when the user wants to use a service provided by an application. At the registration interface, relevant protocol information is typically popped up, which may be some service rules, violation penalty measures, etc. that require knowledge by the user. When the user finishes reading and accepts the protocol content, the user clicks the accept control, and then the account registration of the user is completed. However, with the development of services, the content of the protocol information may need to be adjusted and optimized periodically, and the number of users is increased, so that the number of accesses is obviously increased. Thus, protocol information can be separated from static web pages that need to be presented.
Specifically, a storage address for storing protocol information is specially set in the data server, and the content of the protocol information is not directly written into the corresponding static webpage. After the user edits the content of the protocol information, the protocol links are associated with the static web page. Once the web page content is published to the web site server, whether or not accessed by a user, the content of each static web page is stored on the web site server, that is, the static web page is a file that is actually stored on the server, and each web page is a separate file. The static webpage is not supported by a database, and has large workload in the aspects of website production and maintenance, so that when the information content of the website is large, the static webpage is difficult to produce completely.
The static webpage is a standard HTML file, and the file extension of the static webpage is HTML, and the HTML file can comprise texts, images, sounds, FLASH animations, client scripts, activeX controls, JAVA applets and the like. Although the Web page can be made to be quite dynamic after the objects are used on the Web page, the Web page does not contain any script running on the server side, each line of codes on the Web page is arranged on the Web server after being pre-compiled by a Web page designer, and no change occurs after the codes are sent to a browser of the client side. However, in the present application, the protocol link is edited into the static web page, that is, the protocol link is written into the static web page, and when the user wants to change the content of the protocol information, the modified protocol information may be stored in a new storage address. When a change is required, only the links in the static web page need to be replaced. Therefore, the webpage modification efficiency can be effectively improved, and the workload and the work difficulty of background workers are reduced.
In one or more embodiments of the present application, before acquiring the protocol link, the method further includes: establishing an association relation between the protocol information and the protocol number; the protocol link is generated based on a first memory address of the protocol information in a database.
In practical application, in order to facilitate the modification of the content of the protocol information, editing and storing of the protocol information in a static web page are separated. In order to facilitate the service personnel to accurately reference the protocol information, a corresponding protocol number may be set for each protocol information. Generally, the protocol numbers are set according to the service types, and a plurality of protocol information corresponding to a certain type of service may occur, and the protocol information may have the same master number and different slave numbers, for example, the protocol information corresponding to a type a service is a-1, a-2, a-3, and so on. When the business personnel need to quote, the corresponding protocol information can be found only by inputting the corresponding protocol number, then the corresponding protocol link is found, and the editing of the static webpage is completed by writing the protocol link into the corresponding preset static webpage. The user can see the protocol information in the form of a static web page at the time of access.
Further, after the user edits the protocol information content, it may be stored in a dedicated first storage address. It should be noted that, the first storage address is not a storage address in the website server, so as to facilitate the user to modify the content of the protocol information.
In one or more embodiments of the present application, further comprising: if the content of the protocol information is changed, generating new protocol information; establishing an association relation between the new protocol information and the protocol number; and generating a new protocol link based on a second storage address of the new protocol information in the database.
In practical applications, if the user modifies the content of the protocol information, it is necessary to display new protocol information in the web page. Because the original protocol information and the new protocol information are all protocol information belonging to the same service type, the new protocol information needs to be associated with a protocol number. It should be further noted that, in order to facilitate the query of the historical protocol information, the new protocol information needs to be additionally stored in the second storage address, and a new protocol link is generated based on the second storage address, so that the new protocol link is edited into the static web page. The modification of each version of the protocol information is stored in a new memory address and a new corresponding protocol link is generated, but the protocol number corresponding to the same service remains unchanged.
In one or more embodiments of the present application, the editing the presentation object into a preset static webpage includes: if the content of the protocol information is not changed, establishing an association relationship between the protocol link and the preset static webpage; and if the protocol information content is changed, establishing an association relationship between the new protocol link and the preset static webpage.
It should be noted that, the establishment of the association relationship is understood as editing the protocol link or the new protocol link into the preset static web page. Each static webpage only establishes an association relation with one version of protocol link, so that the information displayed by the static webpage can be ensured to be the latest protocol information content.
In one or more embodiments of the present application, after storing the edited preset static web page in the local cache, the method further includes: receiving a user authentication request; determining the corresponding protocol number based on the user identification carried in the authentication request; acquiring the edited preset static webpage according to the protocol number; the display object is displayed in the preset static webpage.
After the editing work of the display object is completed, if a user requests to display the preset static webpage, the method specifically comprises the following steps: the user sends an authentication request through the client, and when the user fills in a user identifier (such as a login account), the user identifies the service type to which the user belongs. As described above, each service type corresponds to a protocol number. The display object is in the form of a static webpage corresponding to the protocol information.
In one or more embodiments of the present application, after generating the new protocol link, further includes: storing the protocol information in the first memory address; and releasing the association relation between the protocol link and the preset static webpage.
As previously described, each static web page is associated with only one version of protocol information. For the protocol information of the outdated version, the association relationship between the protocol link and the preset static webpage can be relieved, so that the user is prevented from receiving the protocol information of the outdated version. To facilitate the trace-source lookup, even the protocol information of the failed version may still be stored in the corresponding first memory address. When needed, different versions corresponding to each protocol and protocol links corresponding to each protocol can be searched according to the protocol numbers. Because the protocol information is separated from the static webpage, even if the static webpage is updated, no interference is generated on the protocol information of the failure version.
Through the scheme, when the webpage is edited, the protocol number is acquired, and the corresponding protocol link is determined; acquiring a display object containing protocol information based on the protocol link; editing the display object into a preset static webpage; and storing the edited preset static webpage to a local cache. According to the technical scheme, the corresponding protocol numbers are associated with each protocol information, when the static webpage is edited and generated, the content of the protocol information is not directly edited into the webpage of the display object, the protocol information written by the user is stored in the special data end, and then the protocol information is written into the display object in the form of the static webpage according to the protocol information link; when the user wants to modify the protocol content, the protocol information can be modified at any time without affecting the normal display of the protocol information. The scheme can effectively improve the webpage editing efficiency while meeting the requirement of quick display.
Based on the same thought, the embodiment of the application also provides a webpage display method which is applied to the website server. Fig. 2 is a flowchart of a web page display method according to an embodiment of the present application. As can be seen from fig. 2, the method comprises the steps of:
201: and responding to the authentication request sent by the user, and acquiring a protocol number for authenticating the user.
202: and determining the protocol information corresponding to the effective protocol link based on the protocol number.
203: and sending the static webpage containing the protocol information to the corresponding client.
For ease of understanding, the following is specifically exemplified. Fig. 3 is a schematic structural diagram of a web page displaying process according to an embodiment of the present application. As can be seen from fig. 3, after a user sends an authentication request through a client, a website server obtains a protocol number corresponding to the authentication request, that is, the protocol information corresponding to the service type required by the current user needs to be confirmed. And the website server determines the effective protocol information corresponding to the protocol link according to the protocol number. The effective protocol link is that the protocol information is updated in the use process, and each time the protocol content is updated, the protocol link is correspondingly updated. The protocol information is firstly edited by a staff and then stored in a database, and then the protocol link is edited into a corresponding static webpage. The static web page may be stored in a cache on the web site server. And the website server side sends the static webpage to the corresponding client side according to the authentication request of the user.
Based on the same thought, the embodiment of the application also provides a webpage editing device, which is applied to a website server. Fig. 4 is a schematic structural diagram of a web page editing apparatus according to an embodiment of the present application. As can be seen from fig. 4, the device comprises:
the determining module 41 is configured to obtain the protocol number and determine a corresponding protocol link.
And the obtaining module 42 is configured to obtain the display object containing the protocol information based on the protocol link.
And the editing module 43 is used for editing the display object into a preset static webpage.
The storage module 44 is configured to store the edited preset static web page in a local cache.
Optionally, a determining module 41 is configured to establish an association relationship between the protocol information and the protocol number; the protocol link is generated based on a first memory address of the protocol information in a database.
Optionally, the determining module 41 is configured to generate new protocol information if the content of the protocol information is changed; establishing an association relation between the new protocol information and the protocol number; and generating a new protocol link based on a second storage address of the new protocol information in the database.
Optionally, the editing module 43 is configured to establish an association relationship between the protocol link and the preset static web page if the content of the protocol information is not changed; and if the protocol information content is changed, establishing an association relationship between the new protocol link and the preset static webpage.
Optionally, a storage module 44 for receiving a user authentication request; determining the corresponding protocol number based on the user identification carried in the authentication request; acquiring the edited preset static webpage according to the protocol number; the display object is displayed in the preset static webpage.
Optionally, after generating the new protocol link, the method further includes: storing the protocol information in the first memory address; and releasing the association relation between the protocol link and the preset static webpage.
The apparatus shown in fig. 4 may perform the steps related to the server in fig. 1, and the detailed implementation process and technical effects are referred to the description in the foregoing embodiments, which are not repeated herein.
In one possible design, the structure of the information recommending apparatus shown in fig. 4 may be implemented as an electronic device, and as shown in fig. 5, a schematic structural diagram of an electronic device corresponding to the target sorting apparatus provided in the embodiment shown in fig. 4 may include: the system comprises a processor 51 and a memory 52, wherein the memory 52 is used for storing one or more computer instructions, and the one or more computer instructions realize the steps executed by the service end in the previous embodiments when being executed by the processor 51.
Optionally, the electronic device may further include a communication interface 53 for communicating with other devices.
In addition, an embodiment of the present invention provides a computer storage medium storing a computer program, where the computer program makes a server execute the webpage editing method in each embodiment.
The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by adding necessary general purpose hardware platforms, or may be implemented by a combination of hardware and software. Based on such understanding, the foregoing aspects, in essence and portions contributing to the art, may be embodied in the form of a computer program product, which 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, etc.) 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 flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations 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 resource updating apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable resource updating 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 resource updating device 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 resource updating 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 one typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of computer-readable media.
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 storage media for a computer 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, which can be used to store information that can be accessed by a computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (7)

1. A web page editing method, which is applied to a web site server, the method comprising:
before acquiring the protocol link, the method further comprises: establishing an association relation between protocol information and protocol numbers; generating the protocol link based on a first storage address of the protocol information in a database;
acquiring a protocol number and determining a corresponding protocol link;
acquiring a display object containing protocol information based on the protocol link; wherein the protocol information is stored in a special data terminal;
when the concurrent access amount is high and the dynamic page service performance is exceeded, editing the display object into a preset static webpage specifically comprises the following steps: if the content of the protocol information is not changed, establishing an association relationship between the protocol link and the preset static webpage; if the protocol information content is changed, establishing an association relationship between a new protocol link and the preset static webpage;
wherein, the display object is in a static webpage form corresponding to the protocol information;
the protocol information is stored in a special data end; storing the edited preset static webpage to a local cache of the website server;
further comprises: if the content of the protocol information is changed, generating new protocol information; establishing an association relation between the new protocol information and the protocol number; and generating a new protocol link based on a second storage address of the new protocol information in the database.
2. The method of claim 1, further comprising, after storing the edited preset static web page in a local cache:
receiving a user authentication request;
determining the corresponding protocol number based on the user identification carried in the authentication request;
acquiring the edited preset static webpage according to the protocol number; the display object is displayed in the preset static webpage.
3. The method of claim 1, further comprising, after generating the new protocol link:
storing the protocol information in the first memory address;
and releasing the association relation between the protocol link and the preset static webpage.
4. A web page display method, applied to a web server, the method comprising:
responding to an authentication request sent by a user, and acquiring a protocol number for authenticating the user;
determining protocol information corresponding to the effective protocol link based on the protocol number; the generation mode of the protocol link comprises the following steps: establishing an association relation between the protocol information and the protocol number; generating the protocol link based on a first storage address of the protocol information in a database; wherein the protocol information is stored in a special data terminal; when the concurrent access amount is high and the dynamic page service performance is exceeded, editing the display object into a preset static webpage, wherein the method specifically comprises the following steps: if the content of the protocol information is not changed, establishing an association relationship between the protocol link and the preset static webpage; if the protocol information content is changed, establishing an association relationship between a new protocol link and the preset static webpage; the display object is in a static webpage form corresponding to the protocol information;
transmitting a static webpage containing the protocol information to a corresponding client; the protocol information is stored in a special data end; the static webpage is stored in a local cache of a website server;
further comprises: if the content of the protocol information is changed, generating new protocol information; establishing an association relation between the new protocol information and the protocol number; and generating a new protocol link based on a second storage address of the new protocol information in the database.
5. A web page editing apparatus for application to a web server, the apparatus comprising:
the determining module is used for acquiring the protocol number and determining the corresponding protocol link; before acquiring the protocol link, the method further comprises: establishing an association relation between protocol information and the protocol number; generating the protocol link based on a first storage address of the protocol information in a database;
the acquisition module is used for acquiring the display object containing the protocol information based on the protocol link, and specifically comprises the following steps: if the content of the protocol information is not changed, establishing an association relationship between the protocol link and a preset static webpage; if the protocol information content is changed, establishing an association relationship between a new protocol link and the preset static webpage;
wherein, the display object is in a static webpage form corresponding to the protocol information;
the editing module is used for editing the display object into a preset static webpage when the concurrent access amount is high and the dynamic page service performance is exceeded;
the storage module is used for storing the protocol information in a special data end; storing the edited preset static webpage to a local cache;
further comprises: if the content of the protocol information is changed, generating new protocol information; establishing an association relation between the new protocol information and the protocol number; and generating a new protocol link based on a second storage address of the new protocol information in the database.
6. An electronic device, comprising: a processor, a memory for storing one or more computer instructions, wherein the one or more computer instructions when executed by the processor implement the web page editing method of any of claims 1 to 3.
7. A computer-readable storage medium storing a computer program, which when executed by one or more processors causes the one or more processors to perform acts comprising:
before acquiring the protocol link, the method further comprises: establishing an association relation between protocol information and protocol numbers; generating the protocol link based on a first storage address of the protocol information in a database;
acquiring a protocol number and determining a corresponding protocol link;
acquiring a display object containing protocol information based on the protocol link;
when the concurrent access amount is high and the dynamic page service performance is exceeded, editing the display object into a preset static webpage specifically comprises the following steps: if the content of the protocol information is not changed, establishing an association relationship between the protocol link and the preset static webpage; if the protocol information content is changed, establishing an association relationship between a new protocol link and the preset static webpage;
wherein, the display object is in a static webpage form corresponding to the protocol information;
the protocol information is stored in a special data end; storing the edited preset static webpage to a local cache;
further comprises: if the content of the protocol information is changed, generating new protocol information; establishing an association relation between the new protocol information and the protocol number; and generating a new protocol link based on a second storage address of the new protocol information in the database.
CN202010889616.4A 2020-08-28 2020-08-28 Webpage editing and displaying method, device, equipment and storage medium Active CN112131504B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010889616.4A CN112131504B (en) 2020-08-28 2020-08-28 Webpage editing and displaying method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010889616.4A CN112131504B (en) 2020-08-28 2020-08-28 Webpage editing and displaying method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112131504A CN112131504A (en) 2020-12-25
CN112131504B true CN112131504B (en) 2024-03-26

Family

ID=73847585

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010889616.4A Active CN112131504B (en) 2020-08-28 2020-08-28 Webpage editing and displaying method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112131504B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112596817B (en) * 2020-12-29 2024-04-12 微医云(杭州)控股有限公司 Application program starting method, device, equipment and storage medium
CN112906355A (en) * 2021-01-20 2021-06-04 长沙市到家悠享网络科技有限公司 Collaborative editing method, device, equipment and storage medium
CN113051512A (en) * 2021-03-09 2021-06-29 上海嵩恒网络科技股份有限公司 Webpage adjusting method, system, electronic equipment and storage medium
CN113360195A (en) * 2021-06-07 2021-09-07 挂号网(杭州)科技有限公司 Protocol loading method and device, electronic equipment and storage medium
CN113672836B (en) * 2021-07-16 2024-03-15 上海硬通网络科技有限公司 Method, device, equipment and storage medium for setting dynamic special effects of web pages

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101131746A (en) * 2006-08-25 2008-02-27 鸿富锦精密工业(深圳)有限公司 Compact clause editing system and method thereof
CN101860533A (en) * 2010-05-26 2010-10-13 卓望数码技术(深圳)有限公司 Data transmission method based on C/S architecture browser and server
CN106875303A (en) * 2016-11-15 2017-06-20 阿里巴巴集团控股有限公司 The method and apparatus for realizing electronic protocol signing
CN106992892A (en) * 2017-05-10 2017-07-28 广东美的制冷设备有限公司 Agreement input method and device based on WIFI module
CN107145490A (en) * 2016-03-01 2017-09-08 腾讯科技(深圳)有限公司 Webpage loads methods of exhibiting and webpage loading exhibiting device
US10079854B1 (en) * 2015-12-18 2018-09-18 Amazon Technologies, Inc. Client-side protective script to mitigate server loading
CN108664554A (en) * 2018-04-03 2018-10-16 微梦创科网络科技(中国)有限公司 The method and device of webpage view is loaded in a kind of application program
CN109284452A (en) * 2018-09-17 2019-01-29 北京京东金融科技控股有限公司 The online methods of exhibiting of electronic protocol, device, electronic equipment, storage medium
CN109766501A (en) * 2019-01-14 2019-05-17 北京搜狗科技发展有限公司 Crawler protocol managerial approach and device, crawler system
CN110096278A (en) * 2019-04-24 2019-08-06 南京东源磐能能源科技股份有限公司 A kind of expansible embedded man-machine interface facility implementation method
WO2019174613A1 (en) * 2018-03-14 2019-09-19 Beijing Didi Infinity Technology And Development Co., Ltd. Systems and methods for cloud computing
CN111066012A (en) * 2016-08-09 2020-04-24 阿菲利亚有限公司 Web presentation pages of links associated with top-level domains
CN111177251A (en) * 2020-01-16 2020-05-19 创意信息技术股份有限公司 Data visualization display platform
CN111279336A (en) * 2017-05-04 2020-06-12 蒙蒂塞洛企业有限公司 Providing cryptocurrency payment through a browser application programming interface
CN111325621A (en) * 2020-02-24 2020-06-23 中国工商银行股份有限公司 Protocol processing method, device, computer system and medium
CN111368194A (en) * 2020-03-03 2020-07-03 北京三快在线科技有限公司 Information pushing method, system and equipment for hotel

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140129927A1 (en) * 2012-11-02 2014-05-08 Tencent Technology (Shenzhen) Company Limited Page browsing method and browser

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101131746A (en) * 2006-08-25 2008-02-27 鸿富锦精密工业(深圳)有限公司 Compact clause editing system and method thereof
CN101860533A (en) * 2010-05-26 2010-10-13 卓望数码技术(深圳)有限公司 Data transmission method based on C/S architecture browser and server
US10079854B1 (en) * 2015-12-18 2018-09-18 Amazon Technologies, Inc. Client-side protective script to mitigate server loading
CN107145490A (en) * 2016-03-01 2017-09-08 腾讯科技(深圳)有限公司 Webpage loads methods of exhibiting and webpage loading exhibiting device
CN111066012A (en) * 2016-08-09 2020-04-24 阿菲利亚有限公司 Web presentation pages of links associated with top-level domains
CN106875303A (en) * 2016-11-15 2017-06-20 阿里巴巴集团控股有限公司 The method and apparatus for realizing electronic protocol signing
CN111279336A (en) * 2017-05-04 2020-06-12 蒙蒂塞洛企业有限公司 Providing cryptocurrency payment through a browser application programming interface
CN106992892A (en) * 2017-05-10 2017-07-28 广东美的制冷设备有限公司 Agreement input method and device based on WIFI module
WO2019174613A1 (en) * 2018-03-14 2019-09-19 Beijing Didi Infinity Technology And Development Co., Ltd. Systems and methods for cloud computing
CN108664554A (en) * 2018-04-03 2018-10-16 微梦创科网络科技(中国)有限公司 The method and device of webpage view is loaded in a kind of application program
CN109284452A (en) * 2018-09-17 2019-01-29 北京京东金融科技控股有限公司 The online methods of exhibiting of electronic protocol, device, electronic equipment, storage medium
CN109766501A (en) * 2019-01-14 2019-05-17 北京搜狗科技发展有限公司 Crawler protocol managerial approach and device, crawler system
CN110096278A (en) * 2019-04-24 2019-08-06 南京东源磐能能源科技股份有限公司 A kind of expansible embedded man-machine interface facility implementation method
CN111177251A (en) * 2020-01-16 2020-05-19 创意信息技术股份有限公司 Data visualization display platform
CN111325621A (en) * 2020-02-24 2020-06-23 中国工商银行股份有限公司 Protocol processing method, device, computer system and medium
CN111368194A (en) * 2020-03-03 2020-07-03 北京三快在线科技有限公司 Information pushing method, system and equipment for hotel

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Constructing Novel Block Layouts for Webpage Analysis;Zexun Jiang 等;《Transactions on Internet Technology》;20190710;1–18 *
公平电子合同签署协议的研究 杨善军;杨善军;《信息科技》;20180415;1-77 *

Also Published As

Publication number Publication date
CN112131504A (en) 2020-12-25

Similar Documents

Publication Publication Date Title
CN112131504B (en) Webpage editing and displaying method, device, equipment and storage medium
US10356156B2 (en) Method and device for loading webpage
US7949999B1 (en) Providing support for multiple interface access to software services
US8234627B2 (en) System and method for expediting information display
US20180276720A1 (en) Advertising creative processing method, advertising creative processing apparatus, and storage medium
CN106897053B (en) Code publishing method and device
CN114253535A (en) H5 page multi-language rendering method and device
WO2009072145A1 (en) Templating system and method for updating content in real time
EP3425882A1 (en) Client device, method and computer-readable medium for token piggybacking
CN110968824A (en) Page data processing method and device
CN106528578B (en) Information display method and device
US20080281754A1 (en) Systems and methods for facilitating affiliate-based transactions
US10417317B2 (en) Web page profiler
CN104798094A (en) Determining a configuration of a content item display environment
CN112346717A (en) Micro service system creating method, device, equipment, medium and micro service system
EP3528474B1 (en) Webpage advertisement anti-shielding methods and content distribution network
CN108021564A (en) A kind of method and apparatus of page reorientation
CN115827084A (en) Data processing method, device, equipment and storage medium
CN102004729A (en) Method and system for showing website webpage and website server
CN111800511B (en) Synchronous login state processing method, system, equipment and readable storage medium
CN112036974A (en) Service commodity online method, device, equipment and storage medium
US10530709B2 (en) Container contract for data dependencies
CN110704777A (en) Method and system for implementing gray scale publishing
CN115758016A (en) Webpage content staticizing processing method and system
RU2571577C2 (en) Method of outputting web pages to user equipment and system therefor

Legal Events

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