CN109460531B - Webpage management method and device and intelligent terminal - Google Patents

Webpage management method and device and intelligent terminal Download PDF

Info

Publication number
CN109460531B
CN109460531B CN201811323984.1A CN201811323984A CN109460531B CN 109460531 B CN109460531 B CN 109460531B CN 201811323984 A CN201811323984 A CN 201811323984A CN 109460531 B CN109460531 B CN 109460531B
Authority
CN
China
Prior art keywords
user
user identity
identity information
product
product version
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
CN201811323984.1A
Other languages
Chinese (zh)
Other versions
CN109460531A (en
Inventor
王建亮
杨东旭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Kingsoft Cloud Network Technology Co Ltd
Beijing Kingsoft Cloud Technology Co Ltd
Original Assignee
Beijing Kingsoft Cloud Network Technology Co Ltd
Beijing Kingsoft Cloud 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 Kingsoft Cloud Network Technology Co Ltd, Beijing Kingsoft Cloud Technology Co Ltd filed Critical Beijing Kingsoft Cloud Network Technology Co Ltd
Priority to CN201811323984.1A priority Critical patent/CN109460531B/en
Publication of CN109460531A publication Critical patent/CN109460531A/en
Application granted granted Critical
Publication of CN109460531B publication Critical patent/CN109460531B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The embodiment of the invention provides a webpage management method, a webpage management device and an intelligent terminal, wherein the method comprises the following steps: receiving a webpage access request; the webpage access request comprises user identity information; acquiring authority and product version information corresponding to the user identity information; downloading the resource file and the example product corresponding to the product version information according to the authority; generating a webpage based on the resource file and the example product; and feeding back a webpage. The invention can reduce the influence among a plurality of products and greatly improve the user experience.

Description

Webpage management method and device and intelligent terminal
Technical Field
The invention relates to the technical field of internet management, in particular to a webpage management method and device and an intelligent terminal.
Background
In the existing web page management, a single-page application structure is taken as a whole, a plurality of products inside the single-page application structure can affect each other, when a web page maintainer maintains a certain product of a web page, other products of the web page can be affected, when a user wants to access the product of the web page, the web page product accessed by the user can be correspondingly affected by other web page products, the web page can not provide resources and products required by the user, and the user experience is poor.
Disclosure of Invention
In view of the above, the present invention provides a method and an apparatus for web page management, and an intelligent terminal, which can enable a web page not to affect a user to access other products of the web page during product maintenance.
In a first aspect, an embodiment of the present invention provides a method for managing a web page, including: receiving a webpage access request; the webpage access request comprises user identity information; acquiring authority and product version information corresponding to the user identity information; downloading the resource file and the example product corresponding to the product version information according to the authority; generating a webpage based on the resource file and the example product; and feeding back a webpage.
With reference to the first aspect, an embodiment of the present invention provides a first possible implementation manner of the first aspect, where acquiring rights and product version information corresponding to user identity information includes: judging whether the user is accessed for the first time or not according to the webpage access request; if the user is in the initial access, extracting and recording user identity information from the webpage access request, and acquiring authority and product version information corresponding to the user identity information based on the user identity information; and if the user does not access for the first time, acquiring the stored authority and product version information corresponding to the user identity information.
With reference to the first possible implementation manner of the first aspect, an embodiment of the present invention provides a second possible implementation manner of the first aspect, where determining whether a user is accessed for the first time according to a web page access request includes: reading user identity information carried in a webpage access request; searching whether the read user identity information exists in the stored user access record; the user access records store user identity information of accessed users; if not, determining that the user is the initial access.
With reference to the second possible implementation manner of the first aspect, an embodiment of the present invention provides a third possible implementation manner of the first aspect, where the obtaining of the stored rights and product version information corresponding to the user identity information includes: and acquiring the authority and product version information corresponding to the user according to the pre-stored association record of the user identity information, the authority and the product version information.
With reference to the first aspect, an embodiment of the present invention provides a fourth possible implementation manner of the first aspect, where downloading, according to the permission, the resource file and the instance product corresponding to the product version information includes: generating routing information according to the authority corresponding to the user and the product version information; and downloading the resource file and the example product corresponding to the user identity information according to the generated routing information.
With reference to the first aspect, an embodiment of the present invention provides a fifth possible implementation manner of the first aspect, where the method further includes: when the stored product version is updated, releasing updated product version information; and updating the product version to be updated.
With reference to the fifth possible implementation manner of the first aspect, an embodiment of the present invention provides a sixth possible implementation manner of the first aspect, where the method further includes: and identifying the version information of the product to be released by using the storage file name.
With reference to the sixth possible implementation manner of the first aspect, an embodiment of the present invention provides a seventh possible implementation manner of the first aspect, where the method further includes: and uploading the product version information identified by the storage file name to a CDN content delivery network.
In a second aspect, an embodiment of the present invention further provides a web page management apparatus, where the apparatus includes: a request receiving unit for receiving a web page access request; the webpage access request comprises user identity information; the acquisition unit is used for acquiring the authority and product version information corresponding to the user identity information; the downloading unit is used for downloading the resource file and the example product corresponding to the product version information according to the authority; the webpage generating unit is used for generating a webpage based on the resource file and the example product; and the feedback unit is used for feeding back the webpage.
With reference to the second aspect, an embodiment of the present invention provides a first possible implementation manner of the second aspect, where the obtaining unit includes: the judging subunit is used for judging whether the user is accessed for the first time according to the webpage access request; the first obtaining subunit is used for extracting and recording user identity information from the webpage access request if the user is in initial access, and obtaining authority and product version information corresponding to the user identity information based on the user identity information; and the second acquisition subunit is used for acquiring the stored authority and product version information corresponding to the user identity information if the user does not access for the first time.
With reference to the first possible implementation manner of the second aspect, an embodiment of the present invention provides a second possible implementation manner of the second aspect, where the determining subunit is configured to: reading user identity information carried in a webpage access request; searching whether the read user identity information exists in the stored user access record; the user access records store user identity information of accessed users; if not, determining that the user is the initial access.
With reference to the second possible implementation manner of the second aspect, the embodiment of the present invention provides a third possible implementation manner of the second aspect, where the second obtaining subunit is configured to: and acquiring the authority and product version information corresponding to the user identity information according to the pre-stored association record of the user identity information, the authority and the product version information.
With reference to the second aspect, an embodiment of the present invention provides a fourth possible implementation manner of the second aspect, where the downloading unit is configured to: generating routing information according to the authority corresponding to the user and the product version information; and downloading the resource file and the example product corresponding to the user identity information according to the generated routing information.
With reference to the second aspect, an embodiment of the present invention provides a fifth possible implementation manner of the second aspect, where the apparatus further includes: an updating unit for issuing updated product version information when the stored product version is updated; and updating the product version to be updated.
With reference to the fifth possible implementation manner of the second aspect, an embodiment of the present invention provides a sixth possible implementation manner of the second aspect, where the apparatus further includes: and the identification unit is used for identifying the version information of the product to be released by using the storage file name.
With reference to the sixth possible implementation manner of the second aspect, an embodiment of the present invention provides an eighth possible implementation manner of the second aspect, where the apparatus further includes: and the uploading unit is used for uploading the product version information identified by the storage file name to the CDN content delivery network.
In a third aspect, an embodiment of the present invention further provides an intelligent terminal, including a memory and a processor, where the memory stores a computer program that is executable on the processor, and the processor implements the steps of the method in any one of the first aspect when executing the computer program.
In a fourth aspect, the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to perform the steps of the method in any one of the above first aspects.
The embodiment of the invention provides a webpage management method, a webpage management device and an intelligent terminal, which can receive a webpage access request containing user identity information, acquire the authority and product version information corresponding to the user identity information, download a resource file and an example product corresponding to the product version information according to the authority, and further generate and feed back a webpage based on the resource file and the example product. In the above manner provided by this embodiment, only files and products required by the user are downloaded according to the rights and product version information corresponding to the user and the web page is generated, so that mutual influence among multiple products in the whole web page in the related art can be effectively reduced, the user can access other products without being influenced during product maintenance, required resources can be provided for the user well, and user experience is greatly improved.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a schematic structural diagram of a unit application according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a single-page application publishing update according to an embodiment of the present invention;
fig. 3 is a flowchart of a web page management method according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a web server module according to an embodiment of the present invention;
fig. 5 is a schematic diagram of a user access timing sequence according to an embodiment of the present invention;
fig. 6 is a block diagram of a web page management apparatus according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of an intelligent terminal according to an embodiment of the present invention.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
At present, a single-page mode is often used in web Application development, and referring to a schematic structural diagram of a single-page Application shown in fig. 1, an APP (Application, Application program) is a main body of the single-page Application; the product is a product in a single-page application, and the single-page webpage contains a plurality of products; the router is a network protocol and executes functions required by communication between the product and the user application; common is responsible for the operation of the product for the application product operation library. In practical application, a browser usually only runs one APP instance, however, a single-page application structure is a whole, products cannot be isolated, and the single-page application structure can affect each other in the running process.
For understanding, in this embodiment, first, referring to a schematic flow chart of a single-page application publishing update shown in fig. 2, an exemplary flow of publishing an update to an existing single-page application is as follows: the developer submits version information to be updated to a source code warehouse based on an information submission mode of a main trunk (master) and a plurality of branches (e.g., fig. 2 simply illustrates a branch v1.1 to a branch v0.9), submits the version information to a publisher through an intranet, and then publishes the version information to a load balancing cluster designated by the extranet through the extranet (e.g., fig. 2 simply illustrates an extranet load balancing cluster a and an extranet load balancing cluster B). However, a source code conflict occurs when a developer performs branch maintenance, mutual influence also occurs between products when products are deployed online, and complexity of making multiple versions of multiple products in a single application is increased sharply. Meanwhile, when a product is deployed, if a multi-server cluster is adopted to distinguish the versions of the product, the maintenance cost is increased when a plurality of versions coexist. Moreover, when a user accesses a single page, the product accessed by the user is easily affected by other products, so that the single page cannot normally provide the product required to be accessed by the user to the user, and the user experience is reduced. In order to improve at least one of the above problems, embodiments of the present invention provide a method and an apparatus for web page management, and an intelligent terminal.
In an alternative manner, referring to a flowchart of a web page management method shown in fig. 3, the method may be applied to an intelligent terminal such as a web page server, and the following description takes the web page server as an example, and the method includes the following steps:
step S302, receiving a webpage access request; wherein the webpage access request comprises user identity information. In practical applications, the user request for accessing the web page may be to input a web address for the user or to click a web link for the user, and the user identity information may include information such as an IP address of the user and/or an account of the user, and may also include information such as a login time and a login location of the user.
And step S304, acquiring the authority and product version information corresponding to the user identity information.
It can be understood that the web server stores in advance the authority corresponding to each user identity information and the product version information accessible to it. For example, the rights corresponding to the user identity information may include product access rights of the user, download rights of the product version, and the like. The downloadable product version information of different user identity information can be the same or different. And S306, downloading the resource file and the example product corresponding to the product version information according to the authority.
After the authority and the product version information corresponding to the user are obtained, the content required by the user can be downloaded according to the user authority, specifically, the resource file and the example product corresponding to the product version information are downloaded. Step S308, generating a webpage based on the resource file and the example product. The generated webpage contains the resource files and the example products, and the specific deployment forms of the resource files and the example products in the webpage are not limited.
Step S310, feeding back the web page. For example, the web server may provide a web page including the resource file and the example product to the user, and in the implementation, the resource file and the example product required by the user may be displayed on the page of the web page, and the user may obtain the required content from the loaded web page. Products required by the user are directly provided to the webpage through the webpage server, so that mutual influence among the products is eliminated, and the user experience is improved.
The webpage management method provided by the embodiment of the invention can receive the webpage access request containing the user identity information, acquire the authority and the product version information corresponding to the user identity information, then download the resource file and the example product corresponding to the product version information according to the authority, and further generate and feed back the webpage based on the resource file and the example product. In the above manner provided by this embodiment, only files and products required by the user are downloaded according to the rights and product version information corresponding to the user and the web page is generated, so that mutual influence among multiple products in the whole web page in the related art can be effectively reduced, the user can access other products without being influenced during product maintenance, required resources can be provided for the user well, and user experience is greatly improved.
In a specific embodiment, the obtaining of the rights and the product version information corresponding to the user identity information may be implemented by referring to the following steps:
(1) and judging whether the user is accessed for the first time or not according to the webpage access request.
In specific implementation, user identity information carried in a webpage access request of a user can be read firstly; for example, the user identity information may include: the information such as the IP address of the user and/or the account number of the user, and certainly may also include the information such as the login time and the login location of the user; then searching whether the read user identity information exists in the stored user access records; and the user access record stores the user identity information of the accessed user.
It can be understood that, each time a user accesses a web page, the web server may store the access record of the user in the access record set in the designated area; wherein, the access record set contains the user identity information of the accessed user. If a webpage access request of a user is received, whether the identity information of the current access user exists can be searched from the access records (namely, the access record set) of the access users which are stored in advance. If the user identity information of the current access user exists in the stored user access records, the current access user is not accessed for the first time; and if the user identity information of the current access user does not exist in the user access record, the current access user is the initial access.
(2) And if the user is in the initial access, extracting and recording user identity information from the webpage access request, and acquiring the authority and product version information corresponding to the user identity information based on the user identity information. In particular, user identity information may be stored in a user access record.
(3) And if the user does not access for the first time, acquiring the stored authority and product version information corresponding to the user identity information. For example, the authority and product version information corresponding to the user may be obtained according to the pre-stored association record of the user identity information, the authority and the product version information.
In the step (2) and the step (3) of obtaining the authority and the product version information corresponding to the user identity information may be implemented specifically, the authority and the product version information corresponding to the user identity information may be searched for in a preset database, where the authority and the product version information that can be enjoyed corresponding to the user identity information of different levels (or categories) are recorded in the preset database. For example, if the user identity information includes a user IP address, different IP addresses may be classified into different categories in advance, and the permissions corresponding to the different categories of IP addresses are different. Or if the user identity information includes a user account, whether the user is a common user or a VIP user can be determined according to the user account, and users of different levels enjoy different rights. It should be noted that the above is merely illustrative and not restrictive.
In this embodiment, the same or different permissions and sharable product version information may be set for different users correspondingly, and after receiving a web access request of a user and acquiring the permissions and the product version information corresponding to the user identity information, the resource file and the instance product corresponding to the product version information may be downloaded according to the permissions, which mainly includes the following two steps:
step 1, generating routing information according to the authority corresponding to the user identity information and the product version information. The routing information is a network protocol in the webpage and is responsible for sending data packets in the network.
And 2, downloading the resource file and the example product corresponding to the user identity information according to the generated routing information. In specific implementation, the resource file and the example product required by the user can be downloaded according to the routing information, and the downloaded example is mounted to a designated DOM (Document Object Model) node, where the DOM node is a control area of the product and the web server can implement sending of the resource file and the example product in the control area.
In addition, in order to facilitate better transmission of related internal information when the web server performs web page management, the web server may further perform information distribution and information update, and based on this, the web page management method provided in this embodiment further includes: when the stored product version is updated, releasing updated product version information; and updating the product version to be updated.
Generally, the product version information is a static resource, so the product version information to be delivered may be identified using a storage file name, and the product version information identified using the storage file name is uploaded to the CDN content delivery network. The CDN (Content Delivery Network) is explained in detail below.
The CDN is a layer of intelligent virtual network on top of the existing internet, which is formed by placing node servers throughout the network. The CDN system can redirect a request of a user to a service node closest to the user in real time according to network traffic, connection of each node, a load condition, a distance to the user, response time, and other comprehensive information. The method aims to enable a user to obtain required contents nearby, solve the problem of congestion of the Internet network, improve the response speed of the user for accessing the website and save cluster resources. Moreover, the CDN can avoid bottlenecks and links on the internet that may affect the data transmission speed and stability, so that the content transmission is faster and more stable.
In order to more vividly represent the working principle of an intelligent terminal such as a web server executing the web page management method provided by the embodiment, taking the web server as an example, the embodiment further adopts a mode that a functional module is arranged on the web server for explanation. Referring to fig. 4, a schematic block diagram of a web server is shown. The webpage server comprises a main management module, a release module, a right management module, a notification module and each product module. The main management module is responsible for downloading the resource files and the example products corresponding to the product version information according to the authority corresponding to the user identity information, specifically, the main management module can generate routing information according to the authority and the product version information, and download the resource and the example products corresponding to the user identity information according to the routing information. In addition, the main management module is also responsible for creating, updating and destroying each example product, and in essence, the specific operation steps of the single-page application are mainly realized through the main management module. And the publishing module is responsible for publishing the example product and simultaneously recording the product version information. The right management module stores the corresponding relationship between the user identity information and each example product, and in practical application, the right management module can acquire the corresponding right and product version information according to the user identity information. And the notification module is responsible for notifying the main management module to update the product version to be updated. Each product module stores resource files and example products. Through the interaction among all modules in the webpage server, independent updating and mutual decoupling of multiple products can be realized, the influence among multiple products is reduced, a user can not be influenced to access other products during product maintenance, required resources can be better provided for the user, and the user experience is improved.
For convenience of understanding, the embodiment of the present invention further provides a user access timing diagram, which is shown in fig. 5. When a user accesses a webpage for the first time, namely when a main manager receives a request for accessing the web application initiated by the user, the main management module firstly identifies the user identity, acquires a corresponding version resource address and dependence in the authority management module according to the user identity and product routing information, and if the user identity cannot be identified, uses a default identity. The right management module provides all product versions and dependencies for the master manager, and the master manager downloads the resource files and instantiated products (content required by the user) required by the current route, mounts the downloaded resource files and instantiated products to the product control area, and provides the web pages mounted with the content required by the user to the user (corresponding to rendering to the user side in fig. 5). When the user accesses subsequently, the main management module acquires all product version information and dependency routing information in the memory, downloads the resource file and the instantiated product required by the current user, mounts the downloaded resource file and the instantiated product to the product control area, and provides the webpage mounted with the content required by the user for the user.
In summary, according to the method provided by the embodiment of the present invention, only the files and products required by the user are downloaded according to the authority corresponding to the user and the product version information, and the web page is generated, so that the mutual influence among multiple products in the whole web page in the related art can be effectively reduced, meanwhile, the independent update of multiple products can be realized, the cluster resources are saved, the complexity of the parallel operation of multiple products is reduced, and the user experience is greatly improved.
Corresponding to the above-mentioned web page management method, an embodiment of the present invention provides a web page management apparatus, referring to a structural block diagram of a web page management apparatus shown in fig. 6, which can be applied to an intelligent terminal such as a web page server, and the apparatus includes the following units:
a request receiving unit 602, configured to receive a web page access request; wherein the web page access request comprises user identity information.
An obtaining unit 604, configured to obtain rights and product version information corresponding to the user identity information;
a downloading unit 606, configured to download the resource file and the example product corresponding to the product version information according to the permission;
a web page generating unit 608 for generating a web page based on the resource file and the instance product.
And a feedback unit 610 for feeding back the web page.
The webpage management device provided by the embodiment of the invention can receive the webpage access request containing the user identity information, acquire the authority and the product version information corresponding to the user identity information, and then generate and feed back the webpage based on the resource file and the example product by downloading the resource file and the example product corresponding to the product version information according to the authority. In the above manner provided by this embodiment, only files and products required by the user are downloaded according to the rights and product version information corresponding to the user and the web page is generated, so that mutual influence among multiple products in the whole web page in the related art can be effectively reduced, the user can access other products without being influenced during product maintenance, required resources can be provided for the user well, and user experience is greatly improved.
Wherein, the above-mentioned acquisition unit includes:
and the judging subunit is used for judging whether the user is accessed for the first time according to the webpage access request.
And the first obtaining subunit is used for extracting and recording the user identity information from the webpage access request if the user is in the initial access, and obtaining the authority and the product version information corresponding to the user identity information based on the user identity information.
And the second acquisition subunit is used for acquiring the stored authority and product version information corresponding to the user identity information if the user does not access for the first time.
Further, the judging subunit is configured to:
reading user identity information carried in a webpage access request;
searching whether the read user identity information exists in the stored user access record; the user access records store user identity information of accessed users;
if not, determining that the user is the initial access.
The second obtaining subunit is further configured to: and acquiring the authority and product version information corresponding to the user according to the pre-stored association record of the user identity information, the authority and the product version information.
In an implementation, the download unit may be further configured to: generating routing information according to the authority corresponding to the user and the product version information; and downloading the resource file and the example product corresponding to the user identity information according to the generated routing information.
In an implementation manner, the web page management apparatus provided in this embodiment further includes:
an updating unit for issuing updated product version information when the stored product version is updated; and updating the product version to be updated.
Further, the apparatus may further include:
and the identification unit is used for identifying the version information of the product to be released by using the storage file name.
And the uploading unit is used for uploading the product version information identified by the storage file name to the CDN content delivery network.
The device provided by the embodiment has the same implementation principle and technical effect as the foregoing embodiment, and for the sake of brief description, reference may be made to the corresponding contents in the foregoing method embodiment for the portion of the embodiment of the device that is not mentioned.
Referring to fig. 7, an intelligent terminal 100 includes: a processor 70, a memory 71, a bus 72 and a communication interface 73, wherein the processor 70, the communication interface 73 and the memory 71 are connected through the bus 72; the processor 70 is arranged to execute executable modules, such as computer programs, stored in the memory 71.
The Memory 71 may include a high-speed Random Access Memory (RAM) and may further include a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. The communication connection between the network element of the system and at least one other network element is realized through at least one communication interface 73 (which may be wired or wireless), and the internet, a wide area network, a local network, a metropolitan area network, and the like can be used.
The bus 72 may be an ISA bus, PCI bus, EISA bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one double-headed arrow is shown in FIG. 7, but this does not indicate only one bus or one type of bus.
The memory 71 is configured to store a program 701, and the processor 70 executes the program 701 after receiving an execution instruction, where the method executed by the apparatus defined by the flow process disclosed in any of the foregoing embodiments of the present invention may be applied to the processor 70, or implemented by the processor 70.
The processor 70 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 70. The Processor 70 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the device can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA), or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in a memory 71, and the processor 70 reads the information in the memory 71 and completes the steps of the method in combination with the hardware thereof.
The method, the apparatus, and the computer program product for performing web page management according to the embodiments of the present invention include a computer-readable storage medium storing a non-volatile program code executable by a processor, where instructions included in the program code may be used to execute the method described in the foregoing method embodiments, and specific implementation may refer to the method embodiments, and will not be described herein again.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer-readable storage medium executable by a processor. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present invention, which are used for illustrating the technical solutions of the present invention and not for limiting the same, and the protection scope of the present invention is not limited thereto, although the present invention is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present invention, and they should be construed as being included therein. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (16)

1. A method for web page management, comprising:
receiving a webpage access request; the webpage access request comprises user identity information;
acquiring authority and product version information corresponding to the user identity information;
downloading a resource file and an example product corresponding to the product version information according to the authority;
generating a web page based on the resource file and the instance product;
feeding back the webpage;
the acquiring of the authority and the product version information corresponding to the user identity information includes:
judging whether the user is accessed for the first time or not according to the webpage access request;
if the user is in initial access, extracting and recording the user identity information from the webpage access request, and acquiring authority and product version information corresponding to the user identity information based on the user identity information;
and if the user does not access for the first time, acquiring the stored authority and product version information corresponding to the user identity information.
2. The method of claim 1, wherein the determining whether the user is the initial access according to the webpage access request comprises:
reading user identity information carried in a webpage access request;
searching whether the read user identity information exists in a stored user access record; the user access record stores user identity information of an accessed user;
and if not, determining that the user is accessed for the first time.
3. The method of claim 2, wherein the obtaining the stored rights and product version information corresponding to the user identity information comprises:
and acquiring the authority and product version information corresponding to the user identity information according to the pre-stored association record of the user identity information, the authority and the product version information.
4. The method of claim 1, wherein the step of downloading the resource file and the instance product corresponding to the product version information according to the authority comprises:
generating routing information according to the authority corresponding to the user identity information and the product version information;
and downloading the resource file and the example product corresponding to the user identity information according to the generated routing information.
5. The method of claim 1, further comprising:
and when the stored product version is updated, releasing the updated product version information and updating the product version to be updated.
6. The method of claim 5, further comprising:
and identifying the version information of the product to be released by using the storage file name.
7. The method of claim 6, further comprising:
and uploading the product version information identified by the storage file name to a CDN content delivery network.
8. An apparatus for managing web pages, the apparatus comprising:
a request receiving unit for receiving a web page access request; the webpage access request comprises user identity information;
the acquisition unit is used for acquiring the authority and the product version information corresponding to the user identity information;
the downloading unit is used for downloading the resource file and the example product corresponding to the product version information according to the authority;
the webpage generating unit is used for generating a webpage based on the resource file and the example product;
the feedback unit is used for feeding back the webpage;
the acquisition unit includes:
the judging subunit is used for judging whether the user is accessed for the first time according to the webpage access request;
the first obtaining subunit is configured to, if the user is initially accessed, extract and record the user identity information from the web access request, and obtain, based on the user identity information, rights and product version information corresponding to the user identity information;
and the second acquiring subunit is used for acquiring the stored authority and product version information corresponding to the user identity information if the user does not access for the first time.
9. The apparatus of claim 8, wherein the determining subunit is configured to:
reading user identity information carried in a webpage access request;
searching whether the read user identity information exists in a stored user access record; the user access record stores user identity information of an accessed user;
and if not, determining that the user is accessed for the first time.
10. The apparatus of claim 9, wherein the second obtaining subunit is configured to: and acquiring the authority and product version information corresponding to the user identity information according to the pre-stored association record of the user identity information, the authority and the product version information.
11. The apparatus of claim 8, wherein the downloading unit is configured to:
generating routing information according to the authority corresponding to the user identity information and the product version information;
and downloading the resource file and the example product corresponding to the user identity information according to the generated routing information.
12. The apparatus of claim 8, further comprising:
an updating unit for issuing updated product version information when the stored product version is updated; and updating the product version to be updated.
13. The apparatus of claim 12, further comprising:
and the identification unit is used for identifying the version information of the product to be released by using the storage file name.
14. The apparatus of claim 13, further comprising:
and the uploading unit is used for uploading the product version information identified by the storage file name to a CDN content delivery network.
15. An intelligent terminal comprising a memory and a processor, the memory having stored thereon a computer program operable on the processor, wherein the processor, when executing the computer program, performs the steps of the method of any of claims 1 to 7.
16. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method according to any one of the claims 1 to 7.
CN201811323984.1A 2018-11-07 2018-11-07 Webpage management method and device and intelligent terminal Active CN109460531B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811323984.1A CN109460531B (en) 2018-11-07 2018-11-07 Webpage management method and device and intelligent terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811323984.1A CN109460531B (en) 2018-11-07 2018-11-07 Webpage management method and device and intelligent terminal

Publications (2)

Publication Number Publication Date
CN109460531A CN109460531A (en) 2019-03-12
CN109460531B true CN109460531B (en) 2020-11-13

Family

ID=65609729

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811323984.1A Active CN109460531B (en) 2018-11-07 2018-11-07 Webpage management method and device and intelligent terminal

Country Status (1)

Country Link
CN (1) CN109460531B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110597764A (en) * 2019-10-10 2019-12-20 深圳前海微众银行股份有限公司 File management method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8667487B1 (en) * 2010-05-18 2014-03-04 Google Inc. Web browser extensions
CN107357890A (en) * 2017-07-12 2017-11-17 腾讯科技(深圳)有限公司 A kind of web page files processing method, apparatus and system and storage device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103020155A (en) * 2012-11-23 2013-04-03 中国电信股份有限公司云计算分公司 Web front end resource request processing method and device
CN105207989B (en) * 2015-08-12 2018-10-09 中国南方电网有限责任公司 A kind of work system and its control method of various dimensions user
CN105978933B (en) * 2016-04-25 2019-09-17 青岛海信电器股份有限公司 A kind of web-page requests and response method, terminal, server and system
CN108255847B (en) * 2016-12-28 2021-03-26 腾讯科技(深圳)有限公司 Page generation method and device
CN108132991A (en) * 2017-12-20 2018-06-08 上海斐讯数据通信技术有限公司 A kind of H5 pages loading method and system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8667487B1 (en) * 2010-05-18 2014-03-04 Google Inc. Web browser extensions
CN107357890A (en) * 2017-07-12 2017-11-17 腾讯科技(深圳)有限公司 A kind of web page files processing method, apparatus and system and storage device

Also Published As

Publication number Publication date
CN109460531A (en) 2019-03-12

Similar Documents

Publication Publication Date Title
CN110263275B (en) Method and device for accessing webpage, mobile terminal and storage medium
WO2021184824A1 (en) Application program interface gateway based method for separating front and back ends and related device
CN109274722B (en) Data sharing method and device and electronic equipment
CN114008994B (en) Method and system for proxy server to receive request from client to network server and response from network server to client corresponding to the request
US20150019676A1 (en) Methods and devices for exchanging data
CN107239701B (en) Method and device for identifying malicious website
US10783317B2 (en) Generation of combined documents from content and layout documents based on semantically neutral elements
WO2017136742A1 (en) Hydrid application system to utilize native device features of a mobile device
CN111897564A (en) Application updating method and system
CN109657434B (en) Application access method and device
Soni Nginx
US20160188717A1 (en) Network crawling prioritization
US20170230258A1 (en) Managing network communication protocols
CN109460531B (en) Webpage management method and device and intelligent terminal
CN112527459B (en) Log analysis method and device based on Kubernetes cluster
WO2015183235A1 (en) Response based on browser engine
US10284628B2 (en) Distribution method and resource acquisition method
EP3748493B1 (en) Method and device for downloading installation-free application
CN115080147A (en) H5 page loading method, device, equipment and medium based on artificial intelligence
CN110474954B (en) Block chain-based file sharing method and device, computer equipment and readable storage medium
CN113849125A (en) Method, device and system for reading disk of CDN server
Sheltren et al. High Performance Drupal: Fast and Scalable Designs
CN113486025A (en) Data storage method, data query method and device
CN110020076B (en) Method and device for crawling webpage data
US11599636B1 (en) Systems and methods for managing and providing software packages which have undergone malware and/or vulnerability analysis

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