TWI775532B - Web server and method for reducing server load - Google Patents

Web server and method for reducing server load Download PDF

Info

Publication number
TWI775532B
TWI775532B TW110125937A TW110125937A TWI775532B TW I775532 B TWI775532 B TW I775532B TW 110125937 A TW110125937 A TW 110125937A TW 110125937 A TW110125937 A TW 110125937A TW I775532 B TWI775532 B TW I775532B
Authority
TW
Taiwan
Prior art keywords
advertisement
overload
update time
module
display area
Prior art date
Application number
TW110125937A
Other languages
Chinese (zh)
Other versions
TW202303416A (en
Inventor
陳贊元
蔡明諭
楊育湧
洪麗梅
Original Assignee
網路家庭國際資訊股份有限公司
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 網路家庭國際資訊股份有限公司 filed Critical 網路家庭國際資訊股份有限公司
Priority to TW110125937A priority Critical patent/TWI775532B/en
Application granted granted Critical
Publication of TWI775532B publication Critical patent/TWI775532B/en
Publication of TW202303416A publication Critical patent/TW202303416A/en

Links

Images

Abstract

The present invention discloses a web server for reducing server load, which includes an interface module, a banner refreshing module and a flow analysis module. The interface module provides a webpage, which includes a banner area. The banner refreshing module stores a preset refreshing time and an overload refreshing time, and the overload refreshing time is greater than the preset refreshing time. The banner refreshing module notifies the interface module according to the preset refreshing time to replace the advertisement information of the banner area. The flow analysis module analyzes a visit flow of the webpage. When the visit flow exceeds an overload value, the banner refreshing module notifies the interface module according to the overload refreshing time to replace the advertisement information of the banner area.

Description

減少伺服器負載的網頁伺服器及方法Web server and method for reducing server load

本發明是關於一種網頁伺服器,特別是關於一種可減少伺服器負載的網頁伺服器及方法。The present invention relates to a web server, and more particularly, to a web server and method capable of reducing server load.

隨著通訊及網路相關產業的高度發展,亦帶動網路廣告的發展。許多網頁都具有呈現廣告的區域。尤其是電商平台(例如網路購物平台)的網頁,其橫幅(banner)處經常展示網路廣告。With the high development of communication and Internet-related industries, it also drives the development of Internet advertising. Many web pages have areas where advertisements are rendered. Especially the webpages of e-commerce platforms (such as online shopping platforms) often display online advertisements on their banners.

在一般的情況下,伺服器可以承受展示網路廣告所造成的負載(loading)。然而,在一些特殊情況下,例如網路購物平台舉行促銷活動的時間點、或是購票平台開放售票的時間點等,會湧入大量的訪客(網路使用者)。此時,網路廣告的展示也會增加伺服器的負載,實有改良的必要。Under normal circumstances, the server can withstand the loading caused by displaying web ads. However, in some special circumstances, such as when online shopping platforms hold promotional activities, or when ticketing platforms open for ticket sales, a large number of visitors (Internet users) will flood in. At this time, the display of online advertisements will also increase the load of the server, so it is necessary to improve.

有鑑於上述課題,本發明之主要目的是在提供一種減少伺服器負載的網頁伺服器及方法,藉由依據訪問流量而調整更新時間,以解決習知網路廣告的展示方法會增加伺服器負載的問題。In view of the above-mentioned problems, the main purpose of the present invention is to provide a web server and method for reducing server load. By adjusting the update time according to the access traffic, it is possible to solve the problem that the display method of the conventional network advertisement will increase the server load. The problem.

為達成上述之目的,本發明提供一種減少伺服器負載的網頁伺服器,其包括一介面模組、一廣告更新模組以及一流量分析模組。介面模組提供一網頁。網頁包括一第一廣告展示區,第一廣告展示區顯示一廣告資訊。廣告更新模組與介面模組電性連接。廣告更新模組儲存第一廣告展示區的一第一預設更新時間及一第一過載更新時間,且第一過載更新時間大於第一預設更新時間。廣告更新模組依據第一預設更新時間通知介面模組,以替換第一廣告展示區的廣告資訊。流量分析模組與廣告更新模組電性連接。流量分析模組分析網頁的一訪問流量。當訪問流量超過一第一過載值時,廣告更新模組變更為依據第一過載更新時間通知介面模組,以替換第一廣告展示區的廣告資訊。In order to achieve the above object, the present invention provides a web server for reducing server load, which includes an interface module, an advertisement updating module and a traffic analysis module. The interface module provides a web page. The webpage includes a first advertisement display area, and the first advertisement display area displays an advertisement information. The advertisement update module is electrically connected with the interface module. The advertisement update module stores a first preset update time and a first overload update time of the first advertisement display area, and the first overload update time is greater than the first preset update time. The advertisement update module notifies the interface module according to the first preset update time to replace the advertisement information in the first advertisement display area. The traffic analysis module is electrically connected with the advertisement update module. The traffic analysis module analyzes a visit traffic of the web page. When the access traffic exceeds a first overload value, the advertisement update module is changed to notify the interface module according to the first overload update time, so as to replace the advertisement information in the first advertisement display area.

為達成上述之目的,本發明另提供一種減少網頁伺服器負載的方法,其應用於一網頁伺服器。網頁伺服器包括一介面模組、一廣告更新模組及一流量分析模組。減少網頁伺服器負載的方法包括下列步驟:介面模組提供一網頁,網頁包括一第一廣告展示區,以顯示一廣告資訊;廣告更新模組依據一第一預設更新時間通知介面模組,以替換第一廣告展示區的廣告資訊;流量分析模組分析網頁的一訪問流量;以及當訪問流量超過一第一過載值時,廣告更新模組變更為依據一第一過載更新時間通知介面模組,以替換第一廣告展示區的廣告資訊,其中第一過載更新時間大於第一預設更新時間。In order to achieve the above object, the present invention further provides a method for reducing the load of a web server, which is applied to a web server. The web server includes an interface module, an advertisement updating module and a traffic analysis module. The method for reducing the load of a webpage server includes the following steps: the interface module provides a webpage, and the webpage includes a first advertisement display area to display advertisement information; the advertisement update module notifies the interface module according to a first preset update time, to replace the advertisement information in the first advertisement display area; the traffic analysis module analyzes a visit flow of the webpage; and when the visit flow exceeds a first overload value, the advertisement update module changes to notify the interface module according to a first overload update time group to replace the advertisement information in the first advertisement display area, wherein the first overload update time is greater than the first preset update time.

根據本發明之一實施例,第一過載更新時間大於等於2倍的第一預設更新時間。According to an embodiment of the present invention, the first overload update time is greater than or equal to twice the first preset update time.

根據本發明之一實施例,網頁包括一第二廣告展示區。廣告更新模組儲存第二廣告展示區的一第二預設更新時間及一第二過載更新時間,且廣告更新模組依據第二預設更新時間通知介面模組,以替換第二廣告展示區的廣告資訊。當訪問流量超過一第二過載值時,廣告更新模組變更為依據第二過載更新時間通知介面模組,以替換第二廣告展示區的廣告資訊。According to an embodiment of the present invention, the webpage includes a second advertisement display area. The advertisement update module stores a second preset update time and a second overload update time of the second advertisement display area, and the advertisement update module notifies the interface module according to the second preset update time to replace the second advertisement display area advertising information. When the access traffic exceeds a second overload value, the advertisement update module is changed to notify the interface module according to the second overload update time, so as to replace the advertisement information in the second advertisement display area.

根據本發明之一實施例,第二過載更新時間大於等於2倍的第二預設更新時間。According to an embodiment of the present invention, the second overload update time is greater than or equal to twice the second preset update time.

根據本發明之一實施例,第一過載值等於第二過載值。According to an embodiment of the present invention, the first overload value is equal to the second overload value.

承上所述,依據本發明之減少伺服器負載的網頁伺服器及方法,網頁伺服器包括一介面模組、一廣告更新模組以及一流量分析模組。廣告更新模組儲存(第一)廣告展示區的(第一)預設更新時間及(第一)過載更新時間,且過載更新時間大於預設更新時間。在一般的情況下,廣告更新模組依據預設更新時間通知介面模組,以替換廣告展示區的廣告資訊。當流量分析模組分析並判斷訪問流量超過(第一)過載值時,廣告更新模組變更為依據過載更新時間通知介面模組,以替換廣告展示區的廣告資訊。由於過載更新時間大於預設更新時間,使得廣告展示區的廣告資訊更新的時間變長,進而可達到減少網頁伺服器負載的效果。As mentioned above, according to the web server and method for reducing server load of the present invention, the web server includes an interface module, an advertisement updating module and a traffic analysis module. The advertisement update module stores the (first) preset update time and the (first) overload update time of the (first) advertisement display area, and the overload update time is greater than the preset update time. Under normal circumstances, the advertisement update module notifies the interface module according to the preset update time to replace the advertisement information in the advertisement display area. When the traffic analysis module analyzes and determines that the access traffic exceeds the (first) overload value, the advertisement update module is changed to notify the interface module according to the overload update time, so as to replace the advertisement information in the advertisement display area. Since the overload update time is longer than the preset update time, the update time of the advertisement information in the advertisement display area becomes longer, thereby reducing the load of the web server.

為能更瞭解本發明之技術內容,特舉較佳具體實施例說明如下。In order to better understand the technical content of the present invention, preferred specific embodiments are given as follows.

圖1為本發明之一實施例之網頁伺服器的方塊示意圖,圖2為本發明之一實施例之減少伺服器負載的方法的步驟流程圖,圖3為圖1所示之介面模組所提供之網頁的示意圖,請參考圖1、圖2及圖3所示。本實施例之網頁伺服器1為提供電商平台的網頁運作的伺服器,或稱伺服主機。其中,電商平台可例如但不限於網路購物平台、或售票平台等。網頁伺服器1可藉由執行如圖2所示之減少伺服器負載的方法,以減少訪問流量大對其的負載(loading),其細節於後詳細說明。1 is a block diagram of a web server according to an embodiment of the present invention, FIG. 2 is a flow chart of steps of a method for reducing server load according to an embodiment of the present invention, and FIG. 3 is a schematic diagram of the interface module shown in FIG. 1 . Please refer to Figure 1, Figure 2 and Figure 3 for schematic diagrams of the provided webpage. The web server 1 in this embodiment is a server that provides the web page operation of the e-commerce platform, or is called a server host. The e-commerce platform may be, for example, but not limited to, an online shopping platform, or a ticketing platform. The web server 1 can reduce the loading of the large access traffic by executing the method of reducing the server load as shown in FIG. 2 , the details of which will be described in detail later.

如圖1所示,網頁伺服器1包括一介面模組11、一廣告更新模組12以及一流量分析模組13。具體而言,網頁伺服器1可包括一處理裝置10。處理裝置10可例如但不限於一或多個中央處理單元(central processing unit,CPU)、微控制器(micro control unit, MCU)、數位訊號處理器(digital signal processor,DSP)、或其他具有信號處理、邏輯運算與電子裝置控制能力的電子元件或積體電路(IC)。其中,處理裝置包括由多個模組(如介面模組11、廣告更新模組12及流量分析模組13)所形成的晶片組(chip set)。依據處理裝置10所運作之功能的不同,分為介面模組11、廣告更新模組12及流量分析模組13等多個處理模組,且其相互電性連接。As shown in FIG. 1 , the web server 1 includes an interface module 11 , an advertisement updating module 12 and a traffic analysis module 13 . Specifically, the web server 1 may include a processing device 10 . The processing device 10 can be, for example, but not limited to, one or more central processing units (CPUs), microcontrollers (MCUs), digital signal processors (DSPs), or other devices with signal Electronic components or integrated circuits (ICs) capable of processing, logical operations, and control of electronic devices. The processing device includes a chip set formed by a plurality of modules (eg, the interface module 11 , the advertisement updating module 12 , and the traffic analysis module 13 ). The processing device 10 is divided into a plurality of processing modules such as an interface module 11 , an advertisement updating module 12 , and a traffic analysis module 13 according to different functions of the processing device 10 , and they are electrically connected to each other.

本實施例之網頁伺服器1更包括一傳輸模組20。處理裝置10與傳輸模組20電性連接。使用者(訪客)可透過操作智慧型手機、或電腦等通訊裝置,並經由傳輸模組20而與網頁伺服器1進行資料傳輸。網頁伺服器1與通訊裝置間的資料傳輸的方式是依據彼此相互配合的硬體架構不同而有不同,具體來說可以透過符合例如乙太網絡、3G、Wi-Fi或4G LTE等傳輸資料技術實現。The web server 1 of this embodiment further includes a transmission module 20 . The processing device 10 is electrically connected to the transmission module 20 . The user (visitor) can transmit data with the web server 1 through the transmission module 20 by operating a communication device such as a smart phone or a computer. The way of data transmission between the web server 1 and the communication device is different according to the different hardware structures that cooperate with each other. accomplish.

以下按照減少伺服器負載的方法的步驟流程,進一步說明網頁伺服器1的實施方式。The embodiment of the web server 1 is further described below according to the step flow of the method for reducing server load.

步驟S10:介面模組11提供一網頁W,網頁W包括至少一廣告展示區,以顯示一廣告資訊。Step S10: The interface module 11 provides a web page W, and the web page W includes at least one advertisement display area to display an advertisement information.

首先,本實施例所稱之「廣告展示區」是指電商平台的網頁W中所呈現的銷售商品、服務或售票等內容(廣告資訊)的區域,又經常被稱為網路廣告橫幅(banner)。一般而言,網頁W可呈現多個廣告展示區,如圖3所示之廣告展示區A至H,以下第一廣告展示區A及第二廣告展示區B為例說明。First of all, the “advertising display area” referred to in this embodiment refers to the area where the content (advertising information) such as the sale of goods, services or tickets is presented on the webpage W of the e-commerce platform, and is often referred to as an online advertisement banner ( banner). Generally speaking, the webpage W can present multiple advertisement display areas, such as the advertisement display areas A to H shown in FIG. 3 . The first advertisement display area A and the second advertisement display area B are described as examples below.

一般而言,不同的廣告展示區,可呈現不同的廣告資訊。以網路購物台的網頁W為例,第一廣告展示區A可例如顯示手機商品的廣告資訊;而第二廣告展示區B可例如顯示特定品牌優惠的廣告資訊。使用者(訪客)點選廣告展示區A、B的圖樣後,即可進入該商品的販賣資訊、或是該特定品牌的販賣資訊。Generally speaking, different advertisement display areas can present different advertisement information. Taking the webpage W of the online shopping platform as an example, the first advertisement display area A may display advertisement information of mobile phone products, for example; and the second advertisement display area B may display advertisement information of a specific brand promotion, for example. After the user (visitor) clicks the patterns in the advertisement display areas A and B, they can enter the sales information of the product or the sales information of the specific brand.

步驟S20:廣告更新模組12依據一第一預設更新時間通知介面模組11,以替換第一廣告展示區A的廣告資訊;並依據一第二預設更新時間通知介面模組11,替換第二廣告展示區B的廣告資訊。Step S20 : the advertisement update module 12 notifies the interface module 11 according to a first preset update time to replace the advertisement information in the first advertisement display area A; and notifies the interface module 11 according to a second preset update time to replace the advertisement information in the first advertisement display area A; Advertisement information of the second advertisement display area B.

在本實施例中,廣告更新模組12與介面模組11電性連接,且廣告更新模組12儲存有廣告展示區A~H所分別對應的預設更新時間。其中,預設更新時間是指廣告展示區A~H的廣告資訊所預設的更新時間。一般而言,不同的廣告展示區A~H,其所對應的預設更新時間不相同。例如,廣告更新模組12儲存有第一廣告展示區A的一第一預設更新時間,而第一預設更新時間可以為1分鐘。同樣的,廣告更新模組12儲存有第二廣告展示區B的一第二預設更新時間,第二預設更新時間則可例如為2分鐘。In this embodiment, the advertisement updating module 12 is electrically connected with the interface module 11 , and the advertisement updating module 12 stores preset update times corresponding to the advertisement display areas A to H respectively. The preset update time refers to the preset update time of the advertisement information in the advertisement display areas A-H. Generally speaking, the preset update times corresponding to different advertisement display areas A to H are different. For example, the advertisement update module 12 stores a first preset update time of the first advertisement display area A, and the first preset update time may be 1 minute. Similarly, the advertisement update module 12 stores a second preset update time of the second advertisement display area B, and the second preset update time may be, for example, 2 minutes.

具體來說,廣告展示區A~H分別具有其特定的統一資源定位符(Uniform Resource Locator, URL),並可對不同的URL設定不同預設更新時間。其中,在第一廣告展示區A的URL設定為1分鐘;在第二廣告展示區B的URL設定為2分鐘。Specifically, the advertisement display areas A to H respectively have their specific uniform resource locators (Uniform Resource Locator, URL), and different preset update times can be set for different URLs. The URL in the first advertisement display area A is set to 1 minute; the URL in the second advertisement display area B is set to be 2 minutes.

又,廣告更新模組12可依據第一預設更新時間通知介面模組11,以替換第一廣告展示區A的廣告資訊。意即,廣告更新模組12每間隔1分鐘通知介面模組11,使介面模組11可替換第一廣告展示區A的廣告資訊。同理,廣告更新模組12依據第二預設更新時間通知介面模組11,以替換第二廣告展示區B的廣告資訊。意即,廣告更新模組12每間隔2分鐘通知介面模組11,使介面模組11替換第二廣告展示區B的廣告資訊。換言之,第一廣告展示區A預設為每1分鐘更新1次,而第二廣告展示區B預設為每2分鐘更新1次。In addition, the advertisement update module 12 can notify the interface module 11 according to the first preset update time to replace the advertisement information in the first advertisement display area A. That is, the advertisement update module 12 notifies the interface module 11 every 1 minute, so that the interface module 11 can replace the advertisement information of the first advertisement display area A. Similarly, the advertisement update module 12 notifies the interface module 11 according to the second preset update time to replace the advertisement information in the second advertisement display area B. That is, the advertisement update module 12 notifies the interface module 11 every 2 minutes, so that the interface module 11 replaces the advertisement information of the second advertisement display area B. In other words, the first advertisement display area A is preset to be updated every 1 minute, and the second advertisement display area B is preset to be updated every 2 minutes.

在其他實施例中,預設更新時間還可設定在一特定時間,例如為下午4點。對應的,第一預設更新時間為16:00+1分鐘(在第一廣告展示區A的URL設定為16:00+1分鐘);第二預設更新時間可以為16:00+2分鐘(在第一廣告展示區A的URL設定為16:00+2分鐘)。意即,第一廣告展示區A預設為16:00開始每1分鐘更新1次,而第二廣告展示區B預設為16:00開始每2分鐘更新1次,本發明並不限制預設更新時間的態樣。In other embodiments, the preset update time can also be set at a specific time, such as 4:00 pm. Correspondingly, the first preset update time is 16:00+1 minute (the URL in the first advertisement display area A is set to 16:00+1 minute); the second preset update time may be 16:00+2 minutes (The URL in the first advertisement display area A is set to 16:00+2 minutes). That is, the first advertisement display area A is preset to be updated every 1 minute starting from 16:00, and the second advertisement display area B is preset to be updated every 2 minutes starting from 16:00. Set the state of the update time.

步驟S30:流量分析模組13分析網頁W的一訪問流量,並判斷訪問流量是否超過一過載值?Step S30: The traffic analysis module 13 analyzes an access traffic of the webpage W, and determines whether the access traffic exceeds an overload value?

在本實施例中,流量分析模組13儲存一過載值,其是指訪問流量可能會造成網頁伺服器1過度負擔(即,增加過多負載)的一閾值。另外,本實施例之流量分析模組13可監控網頁W的一訪問流量,意即,監控瀏覽網頁W的使用者(或稱訪客)數量。例如,每秒分析1次網頁W的訪問流量。接著,流量分析模組13判斷該訪問流量是否超過前述的過載值。流量分析模組13與廣告更新模組12電性連接。當訪問流量超過過載值時,流量分析模組13可發出一過載通知至廣告更新模組12,以執行步驟S40的減少伺服器負載的步驟。In this embodiment, the traffic analysis module 13 stores an overload value, which refers to a threshold value at which the access traffic may cause excessive load (ie, increase the excessive load) of the web server 1 . In addition, the traffic analysis module 13 of this embodiment can monitor a visit traffic of the webpage W, that is, monitor the number of users (or visitors) who browse the webpage W. For example, the access traffic of web page W is analyzed once per second. Next, the traffic analysis module 13 determines whether the access traffic exceeds the aforementioned overload value. The traffic analysis module 13 is electrically connected with the advertisement update module 12 . When the access traffic exceeds the overload value, the traffic analysis module 13 can send an overload notification to the advertisement update module 12 to perform the step of reducing the server load in step S40.

在其他實施例中,流量分析模組13可儲存有複數過載值以分別對應於不同的廣告展示區A~H。例如,流量分析模組13可儲存對應於第一廣告展示區A的一第一過載值、及對應於第二廣告展示區B的一第二過載值。另需說明的是,本實施例之第一過載值等於第二過載值,故前述步驟S30的說明先統一以「過載值」稱之。In other embodiments, the traffic analysis module 13 may store a plurality of overload values corresponding to different advertisement display areas A to H, respectively. For example, the traffic analysis module 13 may store a first overload value corresponding to the first advertisement display area A and a second overload value corresponding to the second advertisement display area B. It should be further noted that the first overload value in this embodiment is equal to the second overload value, so the description of the aforementioned step S30 is uniformly referred to as "overload value".

在第一過載值與第二過載值不相同的實施例中,步驟S40可依序判斷訪問流量是否超過第一過載值、及訪問流量是否超過第二過載值。當訪問流量超過第一過載值、第二過載值時,流量分析模組13可發出一第一過載通知或一第二過載通知至廣告更新模組12,以執行步驟S40的減少伺服器負載的步驟。In the embodiment in which the first overload value is different from the second overload value, step S40 may sequentially determine whether the access traffic exceeds the first overload value and whether the access traffic exceeds the second overload value. When the access traffic exceeds the first overload value and the second overload value, the traffic analysis module 13 can send a first overload notification or a second overload notification to the advertisement update module 12 to perform step S40 of reducing the server load step.

步驟S40(是):廣告更新模組12變更為依據一第一過載更新時間通知介面模組11,以替換第一廣告展示區A的廣告資訊;並依據一第二過載更新時間通知介面模組11,以替換第二廣告展示區B的廣告資訊。Step S40 (Yes): the advertisement update module 12 is changed to notify the interface module 11 according to a first overload update time to replace the advertisement information of the first advertisement display area A; and notify the interface module according to a second overload update time 11, to replace the advertisement information of the second advertisement display area B.

首先,廣告更新模組12儲存有廣告展示區A~H所分別對應的過載更新時間。其中,過載更新時間是指,當訪客流量超過前述的過載值(閾值)時,廣告展示區A~H的廣告資訊的更新時間。在本實施例中,過載更新時間大於預設更新時間。較佳的,過載更新時間大於等於2倍的預設更新時間。First, the advertisement update module 12 stores the overload update times corresponding to the advertisement display areas A to H respectively. The overload update time refers to the update time of the advertisement information in the advertisement display areas A to H when the visitor traffic exceeds the aforementioned overload value (threshold). In this embodiment, the overload update time is greater than the preset update time. Preferably, the overload update time is greater than or equal to 2 times the preset update time.

例如,若第一廣告展示區A的第一預設更新時間為1分鐘,則第一廣告展示區A的第一過載更新時間大於1分鐘,較佳可大於等於為2分鐘(即2倍的第一預設更新時間)。又例如,若第二廣告展示區B的第二預設更新時間為2分鐘,則第二廣告展示區B的第二過載更新時間大於2分鐘,較佳可大於等於為4分鐘(即2倍的第二預設更新時間)。For example, if the first preset update time of the first advertisement display area A is 1 minute, the first overload update time of the first advertisement display area A is greater than 1 minute, preferably greater than or equal to 2 minutes (that is, 2 times the the first preset update time). For another example, if the second preset update time of the second advertisement display area B is 2 minutes, the second overload update time of the second advertisement display area B is greater than 2 minutes, preferably greater than or equal to 4 minutes (that is, 2 times the second preset update time).

當廣告更新模組12接收到過載通知時(即步驟S30判斷訪問流量超過一過載值時),廣告更新模組12則變更為依據一第一過載更新時間(例如2分鐘)通知介面模組11,以替換第一廣告展示區A的廣告資訊,並依據第二過載更新時間(例如4分鐘)通知介面模組11,以替換第二廣告展示區B的廣告資訊。換言之,第一廣告展示區A與第二廣告展示區B(或是廣告展示區A~H的全體)的廣告資訊更新的時間皆變長,進而可減少網頁伺服器1的負載。When the advertisement update module 12 receives the overload notification (that is, when it is determined in step S30 that the access traffic exceeds an overload value), the advertisement update module 12 changes to notify the interface module 11 according to a first overload update time (for example, 2 minutes). , to replace the advertisement information of the first advertisement display area A, and notify the interface module 11 to replace the advertisement information of the second advertisement display area B according to the second overload update time (for example, 4 minutes). In other words, the time for updating the advertisement information of the first advertisement display area A and the second advertisement display area B (or the whole of the advertisement display areas A to H) becomes longer, thereby reducing the load of the web server 1 .

在第一過載值與第二過載值不相同的實施例中,當廣告更新模組12接收到第一過載通知時,表示訪問流量超過第一過載值。此時,廣告更新模組12變更為依據第一過載更新時間(例如2分鐘)替換第一廣告展示區A的廣告資訊。又,當廣告更新模組12接收到第二過載通知時,表示訪問流量超過第二過載值。此時,廣告更新模組12變更為依據第二過載更新時間替換第二廣告展示區B的廣告資訊。同樣的,第一廣告展示區A及/或第二廣告展示區B的廣告資訊更新的時間變長,可達到減少網頁伺服器1負載的效果。In the embodiment where the first overload value is different from the second overload value, when the advertisement updating module 12 receives the first overload notification, it indicates that the access traffic exceeds the first overload value. At this time, the advertisement update module 12 is changed to replace the advertisement information of the first advertisement display area A according to the first overload update time (for example, 2 minutes). In addition, when the advertisement updating module 12 receives the second overload notification, it indicates that the access traffic exceeds the second overload value. At this time, the advertisement update module 12 is changed to replace the advertisement information of the second advertisement display area B according to the second overload update time. Similarly, the update time of the advertisement information in the first advertisement display area A and/or the second advertisement display area B becomes longer, which can reduce the load of the web server 1 .

綜上所述,依據本發明之減少伺服器負載的網頁伺服器及方法,網頁伺服器包括一介面模組、一廣告更新模組以及一流量分析模組。廣告更新模組儲存(第一)廣告展示區的(第一)預設更新時間及(第一)過載更新時間,且過載更新時間大於預設更新時間。在一般的情況下,廣告更新模組依據預設更新時間通知介面模組,以替換廣告展示區的廣告資訊。當流量分析模組分析並判斷訪問流量超過(第一)過載值時,廣告更新模組變更為依據過載更新時間通知介面模組,以替換廣告展示區的廣告資訊。由於過載更新時間大於預設更新時間,使得廣告展示區的廣告資訊更新的時間變長,進而可達到減少網頁伺服器負載的效果。To sum up, according to the web server and method for reducing server load of the present invention, the web server includes an interface module, an advertisement updating module and a traffic analysis module. The advertisement update module stores the (first) preset update time and the (first) overload update time of the (first) advertisement display area, and the overload update time is greater than the preset update time. Under normal circumstances, the advertisement update module notifies the interface module according to the preset update time to replace the advertisement information in the advertisement display area. When the traffic analysis module analyzes and determines that the access traffic exceeds the (first) overload value, the advertisement update module is changed to notify the interface module according to the overload update time, so as to replace the advertisement information in the advertisement display area. Since the overload update time is longer than the preset update time, the update time of the advertisement information in the advertisement display area becomes longer, thereby reducing the load of the web server.

應注意的是,上述諸多實施例係為了便於說明而舉例,本發明所主張之權利範圍自應以申請專利範圍所述為準,而非僅限於上述實施例。It should be noted that the above-mentioned embodiments are given as examples for the convenience of description, and the scope of the claims claimed in the present invention should be based on the scope of the patent application, rather than being limited to the above-mentioned embodiments.

1:網頁伺服器10:處理裝置 11:介面模組12:廣告更新模組 13:流量分析模組20:傳輸模組 A~H:廣告展示區W:網頁 1: Web server 10: Processing device 11: Interface Module 12: Advertisement Update Module 13: Traffic analysis module 20: Transmission module A~H: Advertising display area W: Web page

圖1為本發明之一實施例之網頁伺服器的方塊示意圖。 圖2為本發明之一實施例之減少伺服器負載的方法的步驟流程圖。 圖3為圖1所示之介面模組所提供之網頁的示意圖。 FIG. 1 is a block diagram of a web server according to an embodiment of the present invention. FIG. 2 is a flow chart of steps of a method for reducing server load according to an embodiment of the present invention. FIG. 3 is a schematic diagram of a webpage provided by the interface module shown in FIG. 1 .

1:網頁伺服器 1: Web server

10:處理裝置 10: Processing device

11:介面模組 11: Interface module

12:廣告更新模組 12:Ad update module

13:流量分析模組 13: Traffic analysis module

20:傳輸模組 20: Transmission module

Claims (10)

一種減少伺服器負載的網頁伺服器,包括:一介面模組,提供一電商平台網頁,該電商平台網頁包括一第一廣告展示區,該第一廣告展示區顯示一廣告資訊;一廣告更新模組,與該介面模組電性連接,該廣告更新模組儲存該第一廣告展示區的一第一預設更新時間及一第一過載更新時間,且該第一過載更新時間大於該第一預設更新時間,該廣告更新模組依據該第一預設更新時間通知該介面模組,以替換該第一廣告展示區的該廣告資訊;以及一流量分析模組,與該廣告更新模組電性連接,該流量分析模組分析該電商平台網頁的一訪問流量,當該訪問流量超過一第一過載值時,該廣告更新模組變更為依據該第一過載更新時間通知該介面模組,以替換該第一廣告展示區的該廣告資訊。 A web server for reducing server load, comprising: an interface module that provides an e-commerce platform webpage, the e-commerce platform webpage includes a first advertisement display area, the first advertisement display area displays an advertisement information; an advertisement an update module electrically connected to the interface module, the advertisement update module stores a first preset update time and a first overload update time of the first advertisement display area, and the first overload update time is greater than the a first preset update time, the advertisement update module notifies the interface module according to the first preset update time to replace the advertisement information in the first advertisement display area; and a traffic analysis module, updated with the advertisement The module is electrically connected, the traffic analysis module analyzes a visit flow of the e-commerce platform webpage, and when the visit flow exceeds a first overload value, the advertisement update module is changed to notify the user according to the first overload update time an interface module to replace the advertisement information in the first advertisement display area. 如請求項1所述之網頁伺服器,其中該第一過載更新時間大於或等於2倍的該第一預設更新時間。 The web server of claim 1, wherein the first overload update time is greater than or equal to twice the first default update time. 如請求項1所述之網頁伺服器,其中該電商平台網頁包括一第二廣告展示區;該廣告更新模組儲存該第二廣告展示區的一第二預設更新時間及一第二過載更新時間,且該廣告更新模組依據該第二預設更新時間通知該介面模組,以替換該第二廣告展示區的該廣告資訊;以及當該訪問流量超過一第二過載值時, 該廣告更新模組變更為依據該第二過載更新時間通知該介面模組,以替換該第二廣告展示區的該廣告資訊。 The web server of claim 1, wherein the e-commerce platform web page includes a second advertisement display area; the advertisement update module stores a second preset update time and a second overload of the second advertisement display area update time, and the advertisement update module notifies the interface module according to the second preset update time to replace the advertisement information in the second advertisement display area; and when the access traffic exceeds a second overload value, The advertisement update module is changed to notify the interface module according to the second overload update time to replace the advertisement information in the second advertisement display area. 如請求項3所述之網頁伺服器,其中該第二過載更新時間大於或等於2倍的該第二預設更新時間。 The web server of claim 3, wherein the second overload update time is greater than or equal to twice the second default update time. 如請求項3所述之網頁伺服器,其中該第一過載值等於該第二過載值。 The web server of claim 3, wherein the first overload value is equal to the second overload value. 一種減少網頁伺服器負載的方法,應用於一網頁伺服器,該網頁伺服器包括一介面模組、一廣告更新模組及一流量分析模組,該減少網頁伺服器負載的方法包括下列步驟:該介面模組提供一電商平台網頁,該電商平台網頁包括一第一廣告展示區,以顯示一廣告資訊;該廣告更新模組依據一第一預設更新時間通知該介面模組,以替換該第一廣告展示區的該廣告資訊;該流量分析模組分析該電商平台網頁的一訪問流量;以及當該訪問流量超過一第一過載值時,該廣告更新模組變更為依據一第一過載更新時間通知該介面模組,以替換該第一廣告展示區的該廣告資訊,其中該第一過載更新時間大於該第一預設更新時間。 A method for reducing the load of a web server is applied to a web server. The web server includes an interface module, an advertisement updating module and a traffic analysis module. The method for reducing the load of the web server comprises the following steps: The interface module provides an e-commerce platform webpage, and the e-commerce platform webpage includes a first advertisement display area to display advertisement information; the advertisement update module notifies the interface module according to a first preset update time to replacing the advertisement information in the first advertisement display area; the traffic analysis module analyzes a visit flow of the e-commerce platform webpage; and when the visit flow exceeds a first overload value, the advertisement update module changes to a basis of a The interface module is notified of a first overload update time to replace the advertisement information in the first advertisement display area, wherein the first overload update time is greater than the first preset update time. 如請求項6所述之減少網頁伺服器負載的方法,其中該第一過載更新時間大於或等於2倍的該第一預設更新時間。 The method for reducing the load of a web server as described in claim 6, wherein the first overload update time is greater than or equal to twice the first preset update time. 如請求項6所述之減少網頁伺服器負載的方法,其中該電商平台網頁包括一第二廣告展示區;該廣告更新模組依據一第二預設更新時間通知該介面模組,以替換該第二廣告展示區的該廣告資訊;以及當該訪問流量超過一第二過載值時,該廣告更新模組變更為依據一第二過載更新時間通知該介面模組,以替換該第二廣告展示區的該廣告資訊。 The method for reducing web server load according to claim 6, wherein the e-commerce platform web page includes a second advertisement display area; the advertisement update module notifies the interface module according to a second preset update time to replace The advertisement information in the second advertisement display area; and when the access traffic exceeds a second overload value, the advertisement update module changes to notify the interface module according to a second overload update time to replace the second advertisement Information about this ad in the display area. 如請求項8所述之減少網頁伺服器負載的方法,其中該第二過載更新時間大於或等於2倍的該第二預設更新時間。 The method for reducing the load of a web server as described in claim 8, wherein the second overload update time is greater than or equal to twice the second preset update time. 如請求項8所述之減少網頁伺服器負載的方法,其中該第一過載值等於該第二過載值。 The method for reducing the load of a web server as described in claim 8, wherein the first overload value is equal to the second overload value.
TW110125937A 2021-07-14 2021-07-14 Web server and method for reducing server load TWI775532B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW110125937A TWI775532B (en) 2021-07-14 2021-07-14 Web server and method for reducing server load

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW110125937A TWI775532B (en) 2021-07-14 2021-07-14 Web server and method for reducing server load

Publications (2)

Publication Number Publication Date
TWI775532B true TWI775532B (en) 2022-08-21
TW202303416A TW202303416A (en) 2023-01-16

Family

ID=83807231

Family Applications (1)

Application Number Title Priority Date Filing Date
TW110125937A TWI775532B (en) 2021-07-14 2021-07-14 Web server and method for reducing server load

Country Status (1)

Country Link
TW (1) TWI775532B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090099934A1 (en) * 2006-06-16 2009-04-16 Nhn Corporation Method and software for displaying advertisements on a web page
TW200923816A (en) * 2007-07-30 2009-06-01 Yahoo Inc Textual and visual interactive advertisements in videos
CN101499156A (en) * 2008-01-31 2009-08-05 上海亿动信息技术有限公司 Advertisement issuance control method and apparatus based on multi-advertisement information issuing apparatus
CN104574160A (en) * 2015-01-29 2015-04-29 深圳市英威诺科技有限公司 Smooth advertisement traffic control method
CN110533457A (en) * 2019-07-31 2019-12-03 威富通科技有限公司 A kind of advertisement push system, method and server
CN112446726A (en) * 2019-09-04 2021-03-05 中移物联网有限公司 Advertisement pushing method, gateway equipment and advertisement platform
TWM619598U (en) * 2021-07-14 2021-11-11 網路家庭國際資訊股份有限公司 Webpage server of reducing server loads

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090099934A1 (en) * 2006-06-16 2009-04-16 Nhn Corporation Method and software for displaying advertisements on a web page
TW200923816A (en) * 2007-07-30 2009-06-01 Yahoo Inc Textual and visual interactive advertisements in videos
CN101499156A (en) * 2008-01-31 2009-08-05 上海亿动信息技术有限公司 Advertisement issuance control method and apparatus based on multi-advertisement information issuing apparatus
CN104574160A (en) * 2015-01-29 2015-04-29 深圳市英威诺科技有限公司 Smooth advertisement traffic control method
CN110533457A (en) * 2019-07-31 2019-12-03 威富通科技有限公司 A kind of advertisement push system, method and server
CN112446726A (en) * 2019-09-04 2021-03-05 中移物联网有限公司 Advertisement pushing method, gateway equipment and advertisement platform
TWM619598U (en) * 2021-07-14 2021-11-11 網路家庭國際資訊股份有限公司 Webpage server of reducing server loads

Also Published As

Publication number Publication date
TW202303416A (en) 2023-01-16

Similar Documents

Publication Publication Date Title
US6934743B2 (en) Method and apparatus for displaying intermediate content messages in the unused portion of a web browser display space
US20160335680A1 (en) Securing expandable display advertisements in a display advertising environment
US8689117B1 (en) Webpages with conditional content
US20110071911A1 (en) Advertising system and method
US20140229271A1 (en) System and method to analyze and rate online advertisement placement quality and potential value
US20100299205A1 (en) Protected serving of electronic content
US20100223126A1 (en) Advertising system and method
US20110010235A1 (en) Method and System for Setting an Online Coupon Cookie
US9888280B2 (en) Method and system for providing contextual information during video buffering
US11276087B2 (en) Systems and methods for providing targeted content across user channels
US20100131339A1 (en) System and Method to Transform Website User Information into Sales Prospects, Sales Leads and Sales Intelligence
US10783527B2 (en) Providing seamless online video advertisements
US9785955B2 (en) Optimization of yield for advertising inventory
TWM619598U (en) Webpage server of reducing server loads
TWI775532B (en) Web server and method for reducing server load
CN107436743B (en) Method and device for pushing information
CN107346505A (en) Information-pushing method and device
US20100169173A1 (en) System and Method for Action-Based Advertising
US20110282946A1 (en) Personal unique url access processing system
JP7382516B2 (en) Advertising service system that provides advertisements to local signage and user terminals using signage content and extended content
US20170287008A1 (en) Method and Electronic Device for Promoting Website Traffic of a Website by Regularly Replacing Webpage Skins
US11258845B2 (en) Browser management system, browser management method, browser management program, and client program
CN112051952A (en) Picture dynamic browsing method and device, electronic equipment and readable storage medium
US20140200971A1 (en) System and method for matching informative content to a multimedia content element based on concept recognition of the multimedia content
JP7458106B1 (en) Information provision device, information provision method, and information provision program

Legal Events

Date Code Title Description
GD4A Issue of patent certificate for granted invention patent