CN106202547B - Site management method and device and website system - Google Patents

Site management method and device and website system Download PDF

Info

Publication number
CN106202547B
CN106202547B CN201610597089.3A CN201610597089A CN106202547B CN 106202547 B CN106202547 B CN 106202547B CN 201610597089 A CN201610597089 A CN 201610597089A CN 106202547 B CN106202547 B CN 106202547B
Authority
CN
China
Prior art keywords
static
webpage
server
page
dynamic
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.)
Expired - Fee Related
Application number
CN201610597089.3A
Other languages
Chinese (zh)
Other versions
CN106202547A (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.)
Guangzhou Wangyue Information Technology Co ltd
Original Assignee
Guangzhou Wangyue Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Wangyue Information Technology Co Ltd filed Critical Guangzhou Wangyue Information Technology Co Ltd
Priority to CN201610597089.3A priority Critical patent/CN106202547B/en
Publication of CN106202547A publication Critical patent/CN106202547A/en
Application granted granted Critical
Publication of CN106202547B publication Critical patent/CN106202547B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching
    • 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
    • G06F16/986Document structures and storage, e.g. HTML extensions

Abstract

The invention discloses a site management method, a site management device and a website system, wherein the site management method comprises the following steps: receiving webpage request information sent by a client; judging whether the webpage resources corresponding to the webpage request information are static resources or not; if so, jumping to a corresponding static server; receiving static page resources returned by the static server, and returning the static page resources to the client side so that the client side can display a webpage; if not, jumping to a corresponding dynamic server; and receiving the dynamic page resource returned by the dynamic server, and returning the dynamic page resource to the client so that the client can display the webpage. The invention has the effects of improving the response speed and the management efficiency.

Description

Site management method and device and website system
Technical Field
The present invention relates to the field of network technologies, and in particular, to a method and an apparatus for managing a website, and a website system.
Background
With the continuous development of economy, the existing website often needs to support multiple languages, and in the existing website framework scheme, websites with different language versions are provided for different regions, the websites with different language versions are located on different servers, and the servers are mutually independent.
Due to the fact that the plurality of independent servers exist, not only is maintenance cost high, but also server resources are wasted, and management efficiency is low.
Disclosure of Invention
The invention mainly aims to provide a site management method, a site management device and a website system, aiming at stripping dynamic page resources and static page resources so as to improve response speed and management efficiency.
In order to achieve the above object, the site management method provided by the present invention comprises the following steps:
receiving webpage request information sent by a client;
judging whether the webpage resources corresponding to the webpage request information are static resources or not;
if so, jumping to a corresponding static server;
receiving static page resources returned by the static server, and returning the static page resources to the client side so that the client side can display a webpage;
if not, jumping to a corresponding dynamic server;
and receiving the dynamic page resource returned by the dynamic server, and returning the dynamic page resource to the client so that the client can display the webpage.
Preferably, the step of "jumping to the corresponding static server" specifically includes:
acquiring a language requirement corresponding to the webpage request information;
and skipping to a static server which is prestored with the language requirement matched with the language requirement.
The station management device provided by the invention comprises:
the receiving module is used for receiving webpage request information sent by a client;
the judging module is used for judging whether the webpage resources corresponding to the webpage request information are static webpage resources or not;
the first skipping module is used for skipping to the corresponding static server when the static webpage resource is judged;
the first returning module is used for receiving the static page resources returned by the static server and returning the static page resources to the client so that the client can display the webpage;
the second skipping module is used for skipping to the corresponding dynamic server when the static webpage resource is judged not to be the static webpage resource;
and the second returning module is used for receiving the dynamic page resources returned by the dynamic server and returning the dynamic page resources to the client so that the client can display the webpage.
Preferably, the first skip module includes:
the language judging unit is used for acquiring the language requirement corresponding to the webpage request information;
and the skipping unit is used for skipping to a static server which is prestored with the language requirement matched.
The invention provides a website system, which comprises a website management device, and a static server and a dynamic server which are respectively connected with the website management device;
the station management apparatus includes:
the receiving module is used for receiving webpage request information sent by a client;
the judging module is used for judging whether the webpage resources corresponding to the webpage request information are static webpage resources or not;
the first skipping module is used for skipping to the corresponding static server when the static webpage resource is judged;
the first returning module is used for receiving the static page resources returned by the static server and returning the static page resources to the client so that the client can display the webpage;
the second skipping module is used for skipping to the corresponding dynamic server when the static webpage resource is judged not to be the static webpage resource;
and the second returning module is used for receiving the dynamic page resources returned by the dynamic server and returning the dynamic page resources to the client so that the client can display the webpage.
The static server is used for returning the corresponding static page resource to the site management device;
and the dynamic server is used for returning the corresponding dynamic page resource to the site management device.
Preferably, the number of the static servers is multiple, wherein each static server is preset with a static webpage resource of one language and is arranged at a geographic position corresponding to the language;
the first skip module includes:
the language judging unit is used for acquiring the language requirement corresponding to the webpage request information;
and the skipping unit is used for skipping to a static server which is prestored with the language requirement matched.
Preferably, the number of the site management devices is multiple, and each site management device is connected to one static server and is located at the same geographical position.
Preferably, the system also comprises a static page manager connected with the static server,
the static page manager is used for storing the webpage file backups corresponding to the static servers one by one; the static page manager includes:
the display module is used for receiving a viewing instruction sent by an operation terminal, searching a webpage file backup corresponding to the viewing instruction, and sending the webpage file backup to the operation terminal so as to allow the operation terminal to browse a webpage;
the modification module is used for receiving the editing instruction sent by the operation terminal and modifying and updating the corresponding webpage file backup according to the editing instruction;
the synchronization module is used for receiving the issuing instruction sent by the operation terminal and synchronizing the corresponding webpage file backup to the corresponding static server according to the issuing instruction;
and the static server is also used for receiving the webpage file backup and updating the local static webpage resources according to the webpage file backup.
Preferably, the number of the static page managers is one; the number of the dynamic servers is one; the dynamic server and the static page manager are disposed in the same geographic location.
Preferably, the dynamic server includes:
the data source module is used for storing data;
the dynamic page module is used for receiving webpage request information sent by the site management device and performing data interaction with the data source module to acquire corresponding dynamic page resources;
the language module is used for acquiring the language requirement corresponding to the webpage request information and translating the dynamic page resource through a preset language package;
the dynamic page module is further configured to return the translated dynamic page resource to the site management device.
According to the technical scheme, the content of the website is divided into a static page and a dynamic page, and the static page and the dynamic page are respectively stored in corresponding servers; when a client initiates a request, a static page is required to acquire static webpage resources for corresponding display; and the dynamic page is required to perform data processing through the dynamic server, so that corresponding dynamic webpage resources are obtained to perform corresponding display. The scheme can realize the stripping treatment of the static page resources and the dynamic page resources of the website, and achieve the service separation of the whole website, thereby not only meeting the requirement of access speed, but also reducing the workload of website maintenance.
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, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the structures shown in the drawings without creative efforts.
Fig. 1 is a schematic flowchart of a site management method according to an embodiment of the present invention;
fig. 2 is a detailed flowchart illustrating step S300 of the site management method shown in fig. 1;
FIG. 3 is a schematic view of a modular structure of an embodiment of a site management apparatus according to the present invention;
fig. 4 is a schematic view of a modular structure of a first skip module of the site management apparatus shown in fig. 3;
FIG. 5 is a schematic block diagram of a website system according to a first embodiment of the present invention;
FIG. 6 is a system framework diagram of the website system shown in FIG. 5;
FIG. 7 is a block diagram of a website system according to a second embodiment of the present invention;
FIG. 8 is a system framework diagram of the website system shown in FIG. 7;
FIG. 9 is a block diagram of a static page manager of the website system shown in FIG. 7;
fig. 10 is a schematic diagram of a modular structure of a dynamic server of the website system shown in fig. 7.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in themselves. Thus, "module" and "component" may be used in a mixture.
The invention provides a site management method.
Fig. 1 and 2 show an embodiment of the site management method of the present invention.
Among them, client, static server and dynamic server are involved; the client, the static server and the dynamic server are connected and communicated in a wired or wireless mode. The client may be any terminal device with a network access function, including but not limited to a mobile phone, a tablet computer, a desktop computer, a notebook computer, and the like. The static server and the dynamic server can be a single server or a server end composed of several functional servers.
Referring to fig. 1, the site management method provided in this embodiment includes the following steps:
step S100: and receiving webpage request information sent by the client.
Step S200: and judging whether the webpage resources corresponding to the webpage request information are static resources. Wherein, each site is distinguished through the site mark carried in the webpage request information, such as the website code siteId. When a client accesses a link such as: http:// www.nubia.com/cn, making a site filtering rule through the proxy server nginx, namely judging that the site accessed by the user is a Chinese site, and whether the accessed page is a static page or a dynamic page, and making different webpage response strategies through the judgment.
Step S300: and if so, jumping to the corresponding static server.
Step S400: and receiving the static page resources returned by the static server, and returning the static page resources to the client so that the client can display the webpage. The static page exists actually, and is directly loaded to a browser of the client side to be displayed without compiling by the server. Because the static page is static, one page corresponds to one content, namely, one-to-one relation, and script calculation and background database reading are not performed, the method has the advantage of high response speed. Taking the http:// www.nubia.com/cn site as an example, in the page of the nubia official website, a module which does not need to generate data interaction with the server can be arranged, and the module can include but is not limited to a home page, a mobile phone list page, an accessory list page and the like.
Step S500: if not, jumping to the corresponding dynamic server.
Step S600: and receiving the dynamic page resource returned by the dynamic server, and returning the dynamic page resource to the client so that the client can display the webpage. The dynamic webpage is opposite to the static webpage, the data interaction between the dynamic webpage and the database is required to be generated when the dynamic webpage is displayed, and then the complete webpage is returned after the data is spliced; compared with a static webpage, the dynamic webpage is based on a database technology, and the workload of website maintenance can be greatly reduced. Taking the nubia site as an example, the dynamic web page may include, but is not limited to, a shopping cart page, an order page, a user information page, a background page, and the like.
The website management method provided by the invention divides the content of the website into a static page and a dynamic page, and respectively stores the static page and the dynamic page in corresponding servers; when a client initiates a request, a static page is required to acquire static webpage resources for corresponding display; and the dynamic page is required to perform data processing through the dynamic server, so that corresponding dynamic webpage resources are obtained to perform corresponding display. The scheme can realize the stripping treatment of the static page resources and the dynamic page resources of the website, and achieve the service separation of the whole website, thereby not only meeting the requirement of access speed, but also reducing the workload of website maintenance.
Referring to fig. 2, further, the step S300: the step of jumping to the corresponding static server "specifically includes:
step S310: and acquiring the language requirement corresponding to the webpage request information. The Language requirement of the client can be judged through the client IP, HTTP Headers, Host, Accept-Language, Cookie information and the like.
Step S320: and skipping to a static server which is prestored with the language requirement matched with the language requirement. That is, the static server with the same language is jumped to by matching the language requirement, so as to return the static webpage resource with the same language, thereby enabling the site to meet different language requirements. It should be noted that, in the embodiment, the static web page resources in different languages are pre-stored in different static servers, so that the corresponding static server is selected according to the target language. For example, the client accesses a webpage with http:// www.nubia.com/in/index. html in India, judges that the webpage corresponds to a static resource through siteId, and further judges that the webpage corresponds to an India regional language, and at this time, the http request directly accesses a static server with a preset India regional language. Or when the client accesses http:// www.nubia.com in India, the static resource corresponding to the webpage is judged through the siteId, and the language requirement of the client is judged to be the Indian regional language according to the client IP. The http request thus directly accesses the static server of static web page resources in the preset indian local language, which is preferably deployed in india.
In the embodiment, the language requirement of the client is further judged, so that the static server of the corresponding language is jumped to, and the effect of the requested website can be displayed in multiple languages.
The invention also provides a station management device.
Fig. 3 and 4 show an embodiment of the station management apparatus of the present invention.
The method comprises the following steps that a client, a site management device, a static server and a dynamic server are involved; the client, the site management device, the static server and the dynamic server are connected and communicated in a wired or wireless mode. The client may be any terminal device with a network access function, including but not limited to a mobile phone, a tablet computer, a desktop computer, a notebook computer, and the like. The site management device, the static server and the dynamic server can be a single server or a server side formed by several functional servers.
Referring to fig. 3, the station management apparatus 100 provided by the present invention includes:
the receiving module 110 is configured to receive webpage request information sent by a client.
The determining module 120 is configured to determine whether the web resource corresponding to the web request information is a static web resource. Wherein, each site is distinguished through the site mark carried in the webpage request information, such as the website code siteId. When a client accesses a link such as: http:// www.nubia.com/cn, making a site filtering rule through the proxy server nginx, namely judging that the site accessed by the user is a Chinese site, and whether the accessed page is a static page or a dynamic page, and making different webpage response strategies through the judgment.
And the first skipping module 130 is configured to skip to the corresponding static server when the static web page resource is determined to be a static web page resource.
The first returning module 140 is configured to receive the static page resource returned by the static server, and return the static page resource to the client, so that the client displays a web page. The static page exists actually, and is directly loaded to a browser of the client side to be displayed without compiling by the server. Because the static page is static, one page corresponds to one content, namely, one-to-one relation, and script calculation and background database reading are not performed, the method has the advantage of high response speed. Taking the http:// www.nubia.com/cn site as an example, in the page of the nubia official website, a module which does not need to generate data interaction with the server can be arranged, and the module can include but is not limited to a home page, a mobile phone list page, an accessory list page and the like.
And a second jumping module 150 for jumping to the corresponding dynamic server 300 when it is determined that the web page is not a static web page resource.
The second returning module 160 is configured to receive the dynamic page resource returned by the dynamic server 300, and return the dynamic page resource to the client, so that the client 910 can display a web page. The dynamic webpage is opposite to the static webpage, the data interaction between the dynamic webpage and the database is required to be generated when the dynamic webpage is displayed, and then the complete webpage is returned after the data is spliced; compared with a static webpage, the dynamic webpage is based on a database technology, and the workload of website maintenance can be greatly reduced. Taking the nubia site as an example, the dynamic web page may include, but is not limited to, a shopping cart page, an order page, a user information page, a background page, and the like.
The website management device divides the content of the website into a static page and a dynamic page, and respectively stores the static page and the dynamic page in the corresponding server; when a client initiates a request, a static page is required to acquire static webpage resources for corresponding display; and the dynamic page is required to perform data processing through the dynamic server, so that corresponding dynamic webpage resources are obtained to perform corresponding display. The scheme can realize the stripping treatment of the static page resources and the dynamic page resources of the website, and achieve the service separation of the whole website, thereby not only meeting the requirement of access speed, but also reducing the workload of website maintenance.
Referring to fig. 4, further, the first skip module 130 includes:
the language determining unit 131 is configured to obtain a language requirement corresponding to the webpage request information. The information of the Cookie can be obtained through the client IP, HTTP Headers, Host, Accept-Language, and the like.
The jumping unit 132 is configured to jump to the static server 200 pre-stored with the language requirement. That is, the static server with the same language is jumped to by matching the language requirement, so as to return the static webpage resource with the same language, thereby enabling the site to meet different language requirements. It should be noted that, in the embodiment, the static web page resources in different languages are pre-stored in different static servers, so that the corresponding static server is selected according to the target language. For example, the client accesses a webpage with http:// www.nubia.com/in/index. html in India, judges that the webpage corresponds to a static resource through siteId, and further judges that the webpage corresponds to an India regional language, and at this time, the http request directly accesses a static server with a preset India regional language. Or when the client accesses http:// www.nubia.com in India, the static resource corresponding to the webpage is judged through the siteId, and the language requirement of the client is judged to be the Indian regional language according to the client IP. The http request thus directly accesses the static server of static web page resources in the preset indian local language, which is preferably deployed in india.
In the embodiment, the language requirement of the client is further judged, so that the static server of the corresponding language is jumped to, and the effect of the requested website can be displayed in multiple languages.
The invention also provides a website system.
Fig. 5 and 6 show a first embodiment of the website system of the present invention.
The system comprises a client, an operation terminal, a site management device, a static server and a dynamic server, wherein the client, the operation terminal, the site management device, the static server and the dynamic server are involved; the client, the site management device, the static server and the dynamic server are connected and communicated in a wired or wireless mode. The client and the operator can be any terminal device with a network access function, including but not limited to a mobile phone, a tablet computer, a desktop computer, a notebook computer, and the like. The site management device, the static server and the dynamic server can be a single server or a server side formed by several functional servers.
Referring to fig. 5, the website system includes a first site management apparatus 101, and a first static server 200 and a dynamic server 300 respectively connected to the first site management apparatus 101.
The scheme of the first site management apparatus 101 adopts the site management apparatus 100 in the above embodiment, where the first site management apparatus 101 includes:
a receiving module, configured to receive web page request information sent by the client 910.
And the judging module is used for judging whether the webpage resources corresponding to the webpage request information are static webpage resources.
And the first skipping module is used for skipping to the corresponding static server 200 when the static webpage resource is judged.
A first returning module, configured to receive the static page resource returned by the static server 200, and return the static page resource to the client 910, so that the client 910 can display a web page.
And a second jumping module, configured to jump to the corresponding dynamic server 300 when it is determined that the web page is not a static web page resource.
A second returning module, configured to receive the dynamic page resource returned by the dynamic server 300, and return the dynamic page resource to the client 910, so that the client 910 can display a web page.
Since the first site management apparatus 101 is the same as the site management apparatus 100 in the above embodiment, detailed structures and functions thereof are not repeated herein, please refer to the above embodiment specifically.
The static server 200 is configured to return the corresponding static page resource to the first site management apparatus 101.
The dynamic server 300 is configured to return the corresponding dynamic page resource to the first site management apparatus 101.
The website system provided by the invention divides the content of the website into a static page and a dynamic page, and respectively stores the static page and the dynamic page in the corresponding server; when a client initiates a request, a static page is required to acquire static webpage resources for corresponding display; and the dynamic page is required to perform data processing through the dynamic server, so that corresponding dynamic webpage resources are obtained to perform corresponding display. The scheme can realize the stripping treatment of the static page resources and the dynamic page resources of the website, and achieve the service separation of the whole website, thereby not only meeting the requirement of access speed, but also reducing the workload of website maintenance.
Referring to fig. 6, in addition, the network system in this embodiment further includes a second static server 201 and a third static server 202, and different static servers preset with static web page resources in different languages to adapt to different geographic locations.
Preferably, each static server is located at a geographic location corresponding to the language. Thereby reducing the web page response time from the local client.
The first skip module includes: and the language judging unit is used for acquiring the language requirement corresponding to the webpage request information. And the skipping unit is used for skipping to a static server which is prestored with the language requirement matched.
When the client 910 sends an http access request through the network 930, the DNS automatically resolves to the first site management apparatus 200, and then the first site management apparatus 200 determines the resource accessed by the user and the language requirement, so as to jump to the corresponding static server.
In the embodiment, the language requirement of the client is further judged, so that the static server of the corresponding language is jumped to, and the effect of the requested website can be displayed in multiple languages.
Fig. 7 to 10 show a second embodiment of the website system of the present invention.
The second embodiment of the website system is based on the first embodiment, and further adds management devices, in comparison with the first embodiment, each of the site management devices is connected to one of the static servers and is located at the same geographical location. For the sake of consistency, the same structures in this embodiment and the previous embodiment are labeled with the same numbers.
Specifically, in this embodiment, the network system further includes a second site management apparatus 102 and a third site management apparatus 103. The second static server 201 is connected to the second site management apparatus 102, and the third static server 202 is connected to the third site management apparatus 103; the second site management apparatus 102 and the third site management apparatus 103 are connected to the client 910 and the dynamic server 300 via a network.
The present embodiment takes geographical locations india, germany and usa as examples: the first static server 200 presets static web page resources in indian regional language, the second static server 201 presets static web page resources in german regional language, and the third static server 202 presets static web page resources in american regional language.
The first static server 200 is preferably located in india, thereby reducing the response time of web pages from indian clients; furthermore, the first site management device 101 is preferably located in india, so as to further reduce the response time of the web page from india clients;
similarly, the second static server 201 and the second site management apparatus 102 are preferably provided in germany;
the third static server 202 and the third site management apparatus 103 are preferably provided in the united states.
If the client 910 accesses http:// www.nubia.com/in/index. html in india, the http request directly accesses the indian server node, and the resource accessed by the user and the language requirement are judged through the first site management device 200 pre-configured on the proxy server nginx on the node.
And judging that the webpage corresponds to the static resource through the siteId, and further judging that the webpage corresponds to the Indian regional language, at this time, the http request directly accesses the first static server 200 with the preset Indian regional language.
The arrangement of the present embodiment is a preferred arrangement for implementing multi-lingual site support, but is not necessarily so limited. For example, in other embodiments, the static server and the site management apparatus may be arranged in the following manner: for example, in the united states, four sets of a site management apparatus and a static server are provided, each set including one site management apparatus and one static server; four groups are located in the east, west, south and north of the united states, respectively. In the European region, a site management device and a plurality of static servers are arranged, and the plurality of static servers are connected with a network through the site management device; the plurality of static servers respectively prestore languages such as French, English or German.
Referring to fig. 9 in a further aspect, the website system further includes a static page manager 400 connected to the static server 200, where the static page manager 400 is configured to store page file backups corresponding to the static servers 200 one by one. Preferably, the classification is performed by dividing the region into pages. For example, the indian region: a home page, a mobile phone accessory page and a mobile phone detail page; in the Germany region: a home page, a mobile phone accessory page and a mobile phone detail page; in the united states: home page, mobile phone accessory page and mobile phone detail page.
Wherein the static page manager 400 includes:
the display module 410 is configured to receive a viewing instruction sent by the operation end 920, search for a web file backup corresponding to the viewing instruction, and send the web file backup to the operation end 920, so that the operation end 920 performs web browsing.
The modifying module 420 is configured to receive the editing instruction sent by the operator 920, and modify and update the corresponding webpage file backup according to the editing instruction.
The synchronization module 430 is configured to receive the issue instruction sent by the operator 920, and synchronize the corresponding web file backup to the corresponding static server 200 according to the issue instruction.
The static server 200 is further configured to receive the web page file backup, and update the local static web page resource according to the web page file backup.
Taking the indian area as an example, if the home page of the nubia official website of the indian area needs to be modified, the operator only needs to log in the static page manager 400 through the operator 920 to search for the backup of the webpage files related to india, so that the related resources can be obtained and visualized operation is performed. Then, editing the home page, finishing editing and storing, and then automatically storing the updated home page file into the home page file corresponding to the lower part of the India website in the static page manager 400; and then the point immediately releases or conditionally releases, the modified indian website is synchronized to the indian static server.
As can be seen from the above, in this embodiment, by adding the static page manager 400, it is possible to obtain the required static page resource without interacting with the static servers in various places. Therefore, the present embodiment has the effect of improving the operation management efficiency.
Preferably, the number of the static page managers 400 is one; the number of the dynamic servers 300 is one; the dynamic server 300 and the static page manager 400 are disposed in the same geographical location. Wherein the geographical location set by the dynamic server 300 and the geographical location set by the static page manager 400 may be set to overlap, for example, the dynamic server 300 and the static page manager 400 are both disposed in the united states.
By providing only one static page manager 400, it is only necessary to manage a plurality of static servers in one place, thereby achieving an effect of increasing management efficiency. In this embodiment, the dynamic server 300 and the static page manager 400 are both disposed in the same geographic location, so that the management difficulty of the operator can be reduced, and the management efficiency of the website can be further improved. Moreover, as for the arrangement of a plurality of dynamic servers, a database needs to be arranged in each place; when the interactive service of a website background, a shopping cart, an order system and an account center is processed, a plurality of scattered databases are easy to photograph to cause data confusion, and the data synchronization difficulty among the databases is large. Therefore, in this embodiment, one dynamic server is adopted, that is, only one set of dynamic page system is deployed, so that the problem of cross-region data synchronization can be solved.
Referring to fig. 10 in conjunction, the website system includes:
a data source module 310 for storing data.
The dynamic page module 320 is configured to receive webpage request information sent by the site management apparatus 100, and perform data interaction with the data source module 310 to obtain a corresponding dynamic page resource.
The language module 330 is configured to obtain a language requirement corresponding to the web page request information, and translate the dynamic page resource through a preset language package.
The dynamic page module 320 is further configured to return the translated dynamic page resource to the site management apparatus 100.
According to the scheme provided by the embodiment, the dynamic webpage is translated through the preset language template, so that the dynamic webpage with different language versions is displayed. For set up one set of dynamic server alone to each language, this embodiment can reach the effect of avoiding the repeated development, effectual reduction human cost's input.
In particular, the information of the dynamic web page is: important information such as website background, shopping cart, order system and account center. Compared with other embodiments, translating the dynamic web page through a third-party translation system easily causes great risks in the translation accuracy of some important information such as shopping carts and order pages. Therefore, in the embodiment, translation is performed through the translation packet pre-stored in the dynamic server and pre-developed by the operator, so that more accurate translation expression can be obtained, and a safer effect is achieved.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (which may be a mobile terminal, a computer, a service node, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (3)

1. A website system is characterized by comprising a website management device, and a static server and a dynamic server which are respectively connected with the website management device;
the station management apparatus includes:
the receiving module is used for receiving webpage request information sent by a client;
the judging module is used for judging whether the webpage resources corresponding to the webpage request information are static webpage resources or not;
the first skipping module is used for skipping to the corresponding static server when the static webpage resource is judged;
the first returning module is used for receiving the static page resources returned by the static server and returning the static page resources to the client so that the client can display the webpage;
the second skipping module is used for skipping to the corresponding dynamic server when the static webpage resource is judged not to be the static webpage resource;
the second returning module is used for receiving the dynamic page resources returned by the dynamic server and returning the dynamic page resources to the client so that the client can display the webpage;
the static server is used for returning the corresponding static page resource to the site management device;
the dynamic server is used for returning the corresponding dynamic page resource to the site management device; the number of the static servers is multiple, wherein each static server is respectively preset with static webpage resources of one language and is arranged at a geographic position corresponding to the language;
the first skip module includes:
the language judging unit is used for acquiring the language requirement corresponding to the webpage request information;
the skipping unit is used for skipping to a static server which is prestored with the language requirement matched;
the website system further comprises a static page manager connected to the static server,
the static page manager is used for storing the webpage file backups corresponding to the static servers one by one; the static page manager includes:
the display module is used for receiving a viewing instruction sent by an operation terminal, searching a webpage file backup corresponding to the viewing instruction, and sending the webpage file backup to the operation terminal so as to allow the operation terminal to browse a webpage;
the modification module is used for receiving the editing instruction sent by the operation terminal and modifying and updating the corresponding webpage file backup according to the editing instruction;
the synchronization module is used for receiving the issuing instruction sent by the operation terminal and synchronizing the corresponding webpage file backup to the corresponding static server according to the issuing instruction;
and the static server is also used for receiving the webpage file backup and updating the local static webpage resources according to the webpage file backup.
2. The website system of claim 1, wherein the site management apparatus is plural in number, and each site management apparatus is connected to one static server and is located at the same geographical location.
3. A website system according to any one of claims 1 or 2, wherein the dynamic server comprises:
the data source module is used for storing data;
the dynamic page module is used for receiving webpage request information sent by the site management device and performing data interaction with the data source module to acquire corresponding dynamic page resources;
the language module is used for acquiring the language requirement corresponding to the webpage request information and translating the dynamic page resource through a preset language package;
the dynamic page module is further configured to return the translated dynamic page resource to the site management device.
CN201610597089.3A 2016-07-26 2016-07-26 Site management method and device and website system Expired - Fee Related CN106202547B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610597089.3A CN106202547B (en) 2016-07-26 2016-07-26 Site management method and device and website system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610597089.3A CN106202547B (en) 2016-07-26 2016-07-26 Site management method and device and website system

Publications (2)

Publication Number Publication Date
CN106202547A CN106202547A (en) 2016-12-07
CN106202547B true CN106202547B (en) 2020-06-16

Family

ID=57495931

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610597089.3A Expired - Fee Related CN106202547B (en) 2016-07-26 2016-07-26 Site management method and device and website system

Country Status (1)

Country Link
CN (1) CN106202547B (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107329958B (en) * 2017-06-08 2021-03-26 努比亚技术有限公司 Language conversion method and device based on webpage
CN109976840B (en) * 2017-12-27 2022-03-04 航天信息股份有限公司 Method and system for realizing multi-language automatic adaptation based on foreground and background separation platform
CN108881396B (en) * 2018-05-24 2022-04-15 平安普惠企业管理有限公司 Network data loading method, device, equipment and computer storage medium
CN108833517A (en) * 2018-06-05 2018-11-16 中国平安人寿保险股份有限公司 Data processing system, method, electronic equipment and storage medium
CN109324858B (en) * 2018-09-20 2022-03-22 郑州云海信息技术有限公司 Method and device for acquiring display content in webpage
CN108900558B (en) * 2018-09-21 2021-03-23 郑州昂视信息科技有限公司 Access request processing method and system
CN109446088A (en) * 2018-10-29 2019-03-08 新华三技术有限公司 A kind of method and device for business processing
CN110647700A (en) * 2019-08-13 2020-01-03 平安普惠企业管理有限公司 Page resource loading method and device, computer equipment and storage medium
CN110737856A (en) * 2019-09-10 2020-01-31 苏宁云计算有限公司 page acquisition method, device and system
CN111031111B (en) * 2019-11-29 2022-12-09 苏宁云计算有限公司 Page static resource access method, device and system
CN111274512A (en) * 2020-01-16 2020-06-12 深圳市元征科技股份有限公司 Page loading method, device and medium
CN111355612A (en) * 2020-02-28 2020-06-30 中国工商银行股份有限公司 CDN node emergency processing method and system for source station fault

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1479221A (en) * 2003-08-01 2004-03-03 威盛电子股份有限公司 Management method and device of translanguage enterprise network station data and its storage medium
CN103051706A (en) * 2012-12-19 2013-04-17 新浪网技术(中国)有限公司 Dynamic webpage request processing system and method for dynamic website
CN104182425A (en) * 2013-05-28 2014-12-03 北京信威通信技术股份有限公司 Static page generation method for multi-language website

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1479221A (en) * 2003-08-01 2004-03-03 威盛电子股份有限公司 Management method and device of translanguage enterprise network station data and its storage medium
CN103051706A (en) * 2012-12-19 2013-04-17 新浪网技术(中国)有限公司 Dynamic webpage request processing system and method for dynamic website
CN104182425A (en) * 2013-05-28 2014-12-03 北京信威通信技术股份有限公司 Static page generation method for multi-language website

Also Published As

Publication number Publication date
CN106202547A (en) 2016-12-07

Similar Documents

Publication Publication Date Title
CN106202547B (en) Site management method and device and website system
US10412176B2 (en) Website access method, apparatus, and website system
US10091628B2 (en) Message based application state and card sharing methods for user devices
CN109308255B (en) Method and device for A/B test experiment
US11563674B2 (en) Content based routing method and apparatus
CN102779167B (en) The method and system of display web page in the terminal
CN106911693B (en) Method and device for detecting hijacking of webpage content and terminal equipment
US9251223B2 (en) Alternative web pages suggestion based on language
JP2019530921A (en) Method and system for server-side rendering of native content for presentation
CN106331149A (en) Webpage code adapting method applicable to client environment
CN106250454B (en) Page script loading method and device
US20140006924A1 (en) Methods and Systems for Secure In-Network Insertion of Web Content and Web Services
CN104426925A (en) Webpage resource obtaining method and apparatus
CN109194714B (en) File pushing method and device, terminal device and storage medium
WO2010094927A1 (en) Content access platform and methods and apparatus providing access to internet content for heterogeneous devices
CN111428163A (en) Page access method and device
CN107229653A (en) Pseudo- static Web page generation method and device
CN104077117A (en) Information processing method and control point equipment
JP2008071116A (en) Information delivery system, information delivery device, information delivery method and information delivery program
WO2016011699A1 (en) Method and device for use in configuring navigation page of browser
US20060155817A1 (en) Web services integration systems and methods
CN105701231A (en) Network resource search system and method
CN105808628A (en) Webpage transcoding method, apparatus and system
JP6776406B2 (en) Signage presentation system
JP6358049B2 (en) Local storage synchronization method, local storage synchronization apparatus, and local storage synchronization program

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200520

Address after: 510000 room 206-9, zone 2, building 2, Fanshan business center, Panyu energy saving science and Technology Park, No. 537, North Panyu Avenue, Donghuan street, Panyu District, Guangzhou City, Guangdong Province

Applicant after: Guangzhou Wangyue Information Technology Co.,Ltd.

Address before: 518000 Guangdong Province, Shenzhen high tech Zone of Nanshan District City, No. 9018 North Central Avenue's innovation building A, 6-8 layer, 10-11 layer, B layer, C District 6-10 District 6 floor

Applicant before: NUBIA TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200616

Termination date: 20210726