[go: up one dir, main page]

TWI879074B - Operating method for electronic apparatus for processing information and electronic apparatus supporting thereof - Google Patents

Operating method for electronic apparatus for processing information and electronic apparatus supporting thereof Download PDF

Info

Publication number
TWI879074B
TWI879074B TW112134201A TW112134201A TWI879074B TW I879074 B TWI879074 B TW I879074B TW 112134201 A TW112134201 A TW 112134201A TW 112134201 A TW112134201 A TW 112134201A TW I879074 B TWI879074 B TW I879074B
Authority
TW
Taiwan
Prior art keywords
request information
processing model
service
information processing
api
Prior art date
Application number
TW112134201A
Other languages
Chinese (zh)
Other versions
TW202422451A (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
Priority claimed from KR1020220116220A external-priority patent/KR102918498B1/en
Application filed by 韓商韓領有限公司 filed Critical 韓商韓領有限公司
Publication of TW202422451A publication Critical patent/TW202422451A/en
Application granted granted Critical
Publication of TWI879074B publication Critical patent/TWI879074B/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • G06F9/505Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals considering the load
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4812Task transfer initiation or dispatching by interrupt, e.g. masked
    • G06F9/4831Task transfer initiation or dispatching by interrupt, e.g. masked with variable priority
    • G06F9/4837Task transfer initiation or dispatching by interrupt, e.g. masked with variable priority time dependent
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/50Indexing scheme relating to G06F9/50
    • G06F2209/5022Workload threshold

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • General Engineering & Computer Science (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Computer And Data Communications (AREA)
  • Stored Programmes (AREA)
  • Input From Keyboards Or The Like (AREA)

Abstract

根據本發明,揭示了一種資訊處理方法,其係藉由電子裝置而處理請求資訊者,其包括如下步驟:設定與藉由服務而獲得之請求資訊之處理相關之請求資訊處理模型;及基於上述請求資訊處理模型中包括之至少一個處理模型,處理藉由上述服務而獲得之請求資訊。According to the present invention, an information processing method is disclosed, which processes request information by an electronic device, and includes the following steps: setting a request information processing model related to the processing of request information obtained by a service; and processing the request information obtained by the above-mentioned service based on at least one processing model included in the above-mentioned request information processing model.

Description

處理資訊之電子裝置之動作方法及支持其之電子裝置Operation method of electronic device for processing information and electronic device supporting the same

本發明係關於一種處理資訊之方法及裝置,更具體而言,係關於一種用於處理藉由服務而獲得之請求資訊之方法及其電子裝置。 The present invention relates to a method and device for processing information, and more specifically, to a method and electronic device for processing request information obtained through a service.

隨著電子技術之發展,電子商務已成為購物之一個領域。顧客即便不直接去購物中心或市場,亦可於網上購買物品,於網上購買之物品將配送至顧客請求之配送地。 With the development of electronic technology, e-commerce has become a field of shopping. Customers can buy items online even if they do not go directly to shopping malls or markets. Items purchased online will be delivered to the delivery location requested by the customer.

於電子商務方面,由於對商品之詳細、準確之資訊之處理會對服務滿意度產生相當大之影響,故而正在討論更詳細、更準確地處理資訊之各種方案。 In the field of e-commerce, since the processing of detailed and accurate information about products will have a significant impact on service satisfaction, various solutions for more detailed and accurate information processing are being discussed.

相關內容可參照KR101756594B1或KR101500849B1等先前文獻。 For related content, please refer to previous documents such as KR101756594B1 or KR101500849B1.

根據本發明之方法,電子裝置可藉由設定請求資訊處理模型而處理藉由服務而獲得之請求資訊。 According to the method of the present invention, the electronic device can process the request information obtained through the service by setting the request information processing model.

本發明所欲實現之技術課題並不限於上述技術課題,本發明所屬之技術領域內具有常識者可根據以下記載而明確地理解未提及之其他技術課題。 The technical topics that this invention intends to achieve are not limited to the above-mentioned technical topics. People with common sense in the technical field to which this invention belongs can clearly understand other technical topics not mentioned based on the following description.

各種實施例可提供一種用於資訊處理之電子裝置之動作方法及支持其之電子裝置。 Various embodiments may provide an operation method of an electronic device for information processing and an electronic device supporting the same.

各種實施例之一種資訊處理方法,其係藉由電子裝置而處理請求(request)資訊者,其包括:設定與藉由服務而獲得之請求資訊之處理相關之請求資訊處理模型;及基於上述請求資訊處理模型中包括之至少一個處理模型,處理藉由上述服務而獲得之請求資訊,且上述請求資訊處理模型可包括如下模型:第1處理模型,其在與上述服務相關聯之一個以上之伺服器(server)中包括之各伺服器中,將每單位時間要處理之請求資訊之個數限制為第1臨界個數以下;第2處理模型,其對應於將與上述服務對應之複數個APIs(Application Programming Interfaces,應用程式介面)根據重要度來分類之複數個第一API組中之特定API組,於上述各伺服器中將每單位時間要處理之請求資訊之個數限制為第2臨界個數以下;及第3處理模型,其對應於將上述複數個APIs根據資源(resource)使用量來分類之複數個第二API組中包括之各API組,將要處理之各請求資訊之個數限制為為了上述各API組而設定之各臨界個數以下。 An information processing method of various embodiments, which processes request information by an electronic device, includes: setting a request information processing model related to the processing of request information obtained by a service; and processing the request information obtained by the service based on at least one processing model included in the request information processing model, and the request information processing model may include the following models: a first processing model, which limits the number of request information to be processed per unit time to less than a first critical number in each server included in one or more servers associated with the service; a second processing model, which corresponds to a plurality of APIs (Application Programming Interfaces) corresponding to the service. A specific API group in a plurality of first API groups classified by importance according to application programming interfaces (APIs) limits the number of request information to be processed per unit time in each of the above servers to less than a second critical number; and a third processing model, which corresponds to each API group included in a plurality of second API groups classified by resource usage according to the above plurality of APIs, limits the number of request information to be processed to less than each critical number set for each of the above API groups.

於示例之實施例中,上述請求資訊處理模型可包括如下模型:第4處理模型,其對應於上述服務之用戶,而將每單位時間要處理之請求資訊之個數限制為第3臨界個數以下。 In the exemplary embodiment, the request information processing model may include the following models: The fourth processing model corresponds to the user of the above service and limits the number of request information to be processed per unit time to less than the third critical number.

於示例之實施例中,可藉由與上述一個以上之伺服器共同 對應之一個外部快取(Cache)而確認自上述用戶每單位時間獲得之請求資訊之個數。 In the exemplary embodiment, the number of request information obtained from the above-mentioned user per unit time can be confirmed by an external cache corresponding to the above-mentioned one or more servers.

於示例之實施例中,可基於上述用戶之識別資訊及上述用戶正在使用中之API之資訊,確認自上述用戶每單位時間獲得之請求資訊之個數。 In the exemplary embodiment, the number of request information obtained from the user per unit time can be confirmed based on the identification information of the user and the information of the API being used by the user.

於示例之實施例中,上述資訊處理方法可進而包括如下步驟:藉由API標識符(Identifier)而確認上述API之資訊。 In the exemplary embodiment, the above information processing method may further include the following steps: confirming the information of the above API by using the API identifier.

於示例之實施例中,上述請求資訊處理模型可包括如下模型:第5處理模型,其中斷藉由上述服務而獲得之全部請求資訊之處理。 In the exemplary embodiment, the request information processing model may include the following models: The fifth processing model, which interrupts the processing of all request information obtained through the above service.

於示例之實施例中,可拒絕對如下之請求資訊進行處理:超過基於上述請求資訊處理模型中包括之各處理模型而限制之臨界個數。 In the exemplary embodiment, the following request information may be refused to be processed: the number of request information exceeding the critical number limited by each processing model included in the above request information processing model.

於示例之實施例中,上述資訊處理方法可進而包括如下步驟:設定與上述請求資訊處理模型中包括之各處理模型對應之各處理模型狀態識別資訊;及基於上述各處理模型狀態識別資訊,根據上述各處理模型而確認拒絕處理之請求資訊之個數。 In the exemplary embodiment, the information processing method may further include the following steps: setting each processing model state identification information corresponding to each processing model included in the request information processing model; and based on the each processing model state identification information, confirming the number of request information rejected for processing according to each processing model.

於示例之實施例中,上述至少一個處理模型可基於與上述電子裝置對應之管理者之第1輸入而選擇。 In the exemplary embodiment, the at least one processing model can be selected based on the first input of the administrator corresponding to the electronic device.

於示例之實施例中,上述第1臨界個數、上述第2臨界個數、及用於上述各API組之上述各臨界個數可基於與上述電子裝置對應之管理者之第2輸入而設定。 In the exemplary embodiment, the first critical number, the second critical number, and the critical numbers for each of the API groups can be set based on the second input of the administrator corresponding to the electronic device.

於示例之實施例中,上述第1臨界個數、上述第2臨界個數、及用於上述各API組之上述各臨界個數可基於與上述服務相關之環境參數資訊而設定。 In the exemplary embodiment, the first critical number, the second critical number, and the critical numbers for each of the API groups can be set based on the environmental parameter information related to the service.

於示例之實施例中,上述環境參數資訊可包括上述一個以上之伺服器之個數之資訊、用於上述服務之總資源容納量之資訊、及是否於預計請求資訊會增減之上述服務上進行促銷之資訊中的至少一者。 In an exemplary embodiment, the environmental parameter information may include at least one of information about the number of the one or more servers, information about the total resource capacity used for the service, and information about whether to conduct promotions on the service for which the request information is expected to increase or decrease.

於示例之實施例中,上述資訊處理方法進而包括如下步驟:設定與上述請求資訊處理模型對應之層(layer)構造;且基於上述層構造,上述請求資訊處理模型可應用於用於上述電子裝置之動作之演算法(Algorithm)中。 In the exemplary embodiment, the information processing method further includes the following steps: setting a layer structure corresponding to the request information processing model; and based on the layer structure, the request information processing model can be applied to the algorithm used for the action of the electronic device.

各種實施例之一種非暫時性電腦可讀記錄媒體,其係記錄用以於電腦中執行資訊處理方法之程式者,上述資訊處理方法包括如下步驟:設定與藉由服務而獲得之請求資訊之處理相關之請求資訊處理模型;及基於上述請求資訊處理模型中包括之至少一個處理模型,處理藉由上述服務而獲得之請求資訊;且上述請求資訊處理模型可包括如下模型:第1處理模型,其在與上述服務相關聯之一個以上之伺服器(server)中包括之各伺服器中,將每單位時間要處理之請求資訊之個數限制為第1臨界個數以下;第2處理模型,其對應於將與上述服務對應之複數個APIs(Application Programming Interfaces,應用程式介面)根據重要度來分類之複數個第一API組中之特定API組,於上述各伺服器中將每單位時間將處理之請求資訊之個數限制為第2臨界個數以下;及第3處理模型,其對應於將上述複數個APIs根據資源(resource)使用量來分類之複數個第二API組中包括之各API組,將要處理之各請求資訊之個數限制為為了上述各API組而設定之各臨界個數以下。 A non-transitory computer-readable recording medium of various embodiments records a program for executing an information processing method in a computer, wherein the information processing method comprises the following steps: setting a request information processing model related to processing of request information obtained through a service; and processing the request information obtained through the service based on at least one processing model included in the request information processing model; and the request information processing model may include the following models: a first processing model, which limits the number of request information to be processed per unit time to less than a first critical number in each server included in one or more servers associated with the service; a second processing model, which corresponds to a plurality of APIs (Application Programming Interfaces) corresponding to the service. Interfaces) according to the importance of a specific API group in the first plurality of API groups, in each of the above servers, limiting the number of request information to be processed per unit time to less than the second critical number; and a third processing model, corresponding to each API group included in the second plurality of API groups classified according to the resource usage of the above plurality of APIs, limiting the number of request information to be processed to less than each critical number set for each of the above API groups.

各種實施例之一種電子裝置,其係處理請求(request)資訊者,其包括:處理器(processor);及一個以上之記憶體(memory),其儲 存一個以上之指令(instruction);上述一個以上之指令於執行時,控制上述處理器以便實行如下步驟:設定與藉由服務而獲得之請求資訊之處理相關之請求資訊處理模型;及基於上述請求資訊處理模型中包括之至少一個處理模型,處理藉由上述服務而獲得之請求資訊;上述請求資訊處理模型可包括如下模型:第1處理模型,其在與上述服務相關聯之一個以上之伺服器(server)中包括之各伺服器中,將每單位時間要處理之請求資訊之個數限制為第1臨界個數以下;第2處理模型,其對應於將與上述服務對應之複數個APIs(Application Programming Interfaces,應用程式介面)根據重要度來分類之複數個第一API組中之特定API組,於上述各伺服器中將每單位時間要處理之請求資訊之個數限制為第2臨界個數以下;及第3處理模型,其對應於將上述複數個APIs根據資源(resource)使用量來分類之複數個第二API組中包括之各API組,將要處理之各請求資訊之個數限制為為了上述各API組而設定之各臨界個數以下。 An electronic device of various embodiments, which processes request information, includes: a processor; and one or more memories storing one or more instructions; when the one or more instructions are executed, the processor is controlled to perform the following steps: setting a request information processing model related to the processing of request information obtained through a service; and based on the request information At least one processing model included in the processing model processes the request information obtained by the above service; the above request information processing model may include the following models: a first processing model, which limits the number of request information to be processed per unit time to less than a first critical number in each server included in one or more servers associated with the above service; a second processing model, which corresponds to a plurality of APIs (Application Programming Interfaces) corresponding to the above service. Programming Interfaces) classifies the above-mentioned multiple APIs according to the importance of a specific API group in the first API group, and limits the number of request information to be processed per unit time in each of the above-mentioned servers to less than the second critical number; and a third processing model, which corresponds to each API group included in the second API group that classifies the above-mentioned multiple APIs according to the resource usage, and limits the number of each request information to be processed to less than each critical number set for each of the above-mentioned API groups.

上述本發明之各種實施例僅為本發明之較佳之實施例中之一部分,該技術領域內具有常識者可基於以下詳述之詳細說明來導出並理解反映本發明之各種實施例之技術特徵之各種實施例。 The various embodiments of the present invention described above are only part of the preferred embodiments of the present invention. People with common sense in the technical field can derive and understand various embodiments reflecting the technical features of the various embodiments of the present invention based on the detailed descriptions described below.

本發明提出了一種電子裝置藉由設定請求資訊處理模型而處理藉由服務而獲得之請求資訊之方法,具有可有效率地實行請求資訊之處理之方面之技術效果。 The present invention proposes a method for an electronic device to process request information obtained through a service by setting a request information processing model, which has the technical effect of efficiently implementing the processing of request information.

本發明中可獲得之效果並不限於上述效果,本發明所屬之技術領域內具有常識者可根據以下記載而明確地理解未提及之其他技術效果。 The effects that can be obtained in this invention are not limited to the above effects. People with common sense in the technical field to which this invention belongs can clearly understand other technical effects not mentioned based on the following description.

100:電子裝置 100: Electronic devices

200:用戶裝置 200: User device

210:輸入/輸出部 210: Input/output department

220:通訊部 220: Communications Department

230:儲存器 230: Storage

240:處理器 240:Processor

300:伺服器裝置 300: Server device

301:通訊設備 301: Communication equipment

303:控制部 303: Control Department

305:記憶體 305:Memory

401:動作 401:Action

403:動作 403:Action

500:藉由與服務相關聯之一個以上之伺服器對自利用服務之複數個用戶獲得之請求資訊進行處理 500: Request information received from multiple users of the service is processed by one or more servers associated with the service

600:將自利用服務之複數個用戶獲得之請求資訊區分為於服務上對應於具有較高重要度之API組而獲得之請求資訊、及對應於具有較低重要度之API組而獲得之請求資訊,且可藉由與服務相關聯之一個以上之伺服器對對應於各API組而獲得之請求資訊進行處理 600: The request information obtained from multiple users using the service is divided into the request information obtained corresponding to the API group with higher importance on the service and the request information obtained corresponding to the API group with lower importance, and the request information obtained corresponding to each API group can be processed by one or more servers associated with the service

700:將自利用服務之複數個用戶獲得之請求資訊區分為於服務上對應於具有較高資源使用量之API組而獲得之請求資訊、對應於具有中高等資源使用量之API組而獲得之請求資訊、及對應於具有較低資源使用量之API組而獲得之請求資訊,且藉由與服務相關聯之一個以上之伺服器對對應於各API組而獲得之請求資訊進行處理 700: Classify request information obtained from multiple users using the service into request information corresponding to an API group with higher resource usage, request information corresponding to an API group with medium to high resource usage, and request information corresponding to an API group with lower resource usage, and process the request information corresponding to each API group by one or more servers associated with the service

800:將自利用服務之複數個用戶獲得之請求資訊區分為對應於各用戶而獲得之請求資訊,且藉由與服務相關聯之一個以上之伺服器對對應於各用戶而獲得之請求資訊進行處理 800: Separate request information obtained from multiple users using the service into request information corresponding to each user, and process the request information corresponding to each user by one or more servers associated with the service

801:對應於根據識別資訊區分之特定用戶而獲得之請求資訊之個數不超過每1分鐘20個 801: The number of request messages corresponding to specific users distinguished by identification information shall not exceed 20 per minute

803:設定與一個以上之伺服器共同對應之一個外部快取 803: Set up an external cache that corresponds to more than one server

900:防止藉由各伺服器對藉由服務而獲得之全部請求資訊藉由各伺服器進行處理 900: Prevent all request information obtained through the service from being processed by each server.

1001:設定第1處理模型至第5處理模型之情形 1001: Setting the 1st to 5th processing models

1003:設定可應用上述第1處理模型至上述第5處理模型之展示層(Facade Layer)構造 1003: Set the display layer (Facade Layer) structure that can apply the above-mentioned first processing model to the above-mentioned fifth processing model

1005:Bucket4J核心(core)演算法 1005: Bucket4J core algorithm

1101:將第5處理模型設定為關(off) 1101: Set the 5th processing model to off

1103-1:每1分鐘需要處理之請求資訊之個數為100,000個以上之情形 1103-1: The number of request messages that need to be processed every minute is more than 100,000

1103-2:將每1分鐘要處理之請求資訊之個數限制為10,000個以下 1103-2: Limit the number of request messages to be processed per minute to less than 10,000

1201:將第5處理模型設定為關 1201: Set the 5th processing model to off

1203-1:將每1分鐘要處理之請求資訊之個數限制為10,000個以內 1203-1: Limit the number of request messages to be processed per minute to 10,000.

1203-2:將每1分鐘要處理之請求資訊之個數限制為10,000個以內 1203-2: Limit the number of request messages to be processed per minute to 10,000.

1205-1:自用戶獲得之請求資訊之個數為每1分鐘20個以上、或用於自用戶獲得之請求資訊之輸入為每1分鐘20次以上之情形 1205-1: The number of request information obtained from users is more than 20 per minute, or the number of inputs used for request information obtained from users is more than 20 per minute

1205-2:將對應於該用戶之每1分鐘要處理之請求資訊之個數限制為20個以下 1205-2: Limit the number of request messages to be processed per minute for this user to less than 20.

1301:將第5處理模型設定為關 1301: Set the 5th processing model to off

1303-1:將每1分鐘要處理之請求資訊之個數限制為10,000個以內 1303-1: Limit the number of request messages to be processed per minute to 10,000.

1303-2:將每1分鐘要處理之請求資訊之個數限制為10,000個以內 1303-2: Limit the number of request messages to be processed per minute to 10,000.

1305-1:將對應於該用戶之每1分鐘要處理之請求資訊之個數限制為20個以下 1305-1: Limit the number of request messages to be processed per minute for this user to less than 20.

1305-2:將對應於該用戶之每1分鐘要處理之請求資訊之個數限制為20個以下 1305-2: Limit the number of request messages to be processed per minute for this user to less than 20.

1307-1:判斷為超過需要 1307-1: Deemed excessive

1307-2:將每單位時間要處理之請求資訊之個數限制為8,000個以下,對應於具有較高重要度之API組,於各伺服器中可每單位時間處理2,000個請求資訊 1307-2: Limit the number of request information to be processed per unit time to less than 8,000. For API groups with higher importance, each server can process 2,000 request information per unit time.

1401:將第5處理模型設定為關 1401: Set the 5th processing model to off

1403-1:將每1分鐘要處理之請求資訊之個數限制為10,000個以內 1403-1: Limit the number of request messages to be processed per minute to 10,000.

1403-2:將每1分鐘要處理之請求資訊之個數限制為10,000個以內 1403-2: Limit the number of request messages to be processed per minute to 10,000.

1405-1:將對應於該用戶之每1分鐘要處理之請求資訊之個數限制為20個以下 1405-1: Limit the number of request messages to be processed per minute for this user to less than 20.

1405-2:將對應於該用戶之每1分鐘要處理之請求資訊之個數限制為20個以下 1405-2: Limit the number of request messages to be processed per minute for this user to less than 20.

1407-1:將每單位時間要處理之請求資訊之個數限制為8,000個以下,對應於具有較高重要度之API組,於各伺服器中可每單位時間處理2,000個請求資訊 1407-1: Limit the number of request information to be processed per unit time to less than 8,000. For API groups with higher importance, each server can process 2,000 request information per unit time.

1407-2:將每單位時間要處理之請求資訊之個數限制為8,000個以下,對應於具有較高重要度之API組,於各伺服器中可每單位時間處理2,000個請求資訊 1407-2: Limit the number of request information to be processed per unit time to less than 8,000. For API groups with higher importance, each server can process 2,000 request information per unit time.

1409-1:判斷為超過分配給具有較高資源使用量之API組之資源容量 1409-1: Determined to have exceeded the resource capacity allocated to the API group with higher resource usage

1409-2:基於第3處理模型,對應於分配給具有較高資源使用量之API組之資源容量,以可處理之請求資訊之臨界個數為1,000個以內之方式限制該API組之請求資訊處理,對應於具有較高資源使用量之API組,最多可處理1,000個請求資訊 1409-2: Based on the third processing model, for the resource capacity allocated to the API group with higher resource usage, the request information processing of the API group is limited to a critical number of processable request information within 1,000. For the API group with higher resource usage, a maximum of 1,000 request information can be processed.

圖1係用以說明能夠實現各種實施例之用於資訊處理之電子裝置之動作方法的資訊處理系統之圖。 FIG1 is a diagram of an information processing system for illustrating the operation method of an electronic device for information processing that can implement various embodiments.

圖2係示出各種實施例之裝置節點之構成之圖。 FIG2 is a diagram showing the configuration of device nodes of various embodiments.

圖3係示出實行本發明所提議之資訊處理方法之電子裝置之構造圖。 FIG3 is a structural diagram of an electronic device for implementing the information processing method proposed by the present invention.

圖4係示出各種實施例之用於資訊處理之電子裝置之動作方法的圖。 FIG. 4 is a diagram showing the operation method of the electronic device for information processing in various embodiments.

圖5係示出設定請求資訊處理模型中包括之第1處理模型之一示例之圖。 FIG5 is a diagram showing an example of the first processing model included in the setting request information processing model.

圖6係示出設定請求資訊處理模型中包括之第2處理模型之一示例之圖。 FIG6 is a diagram showing an example of a second processing model included in the setting request information processing model.

圖7係示出設定請求資訊處理模型中包括之第3處理模型之一示例之圖。 FIG. 7 is a diagram showing an example of a third processing model included in the setting request information processing model.

圖8係示出設定請求資訊處理模型中包括之第4處理模型之一示例之圖。 FIG8 is a diagram showing an example of the fourth processing model included in the setting request information processing model.

圖9係示出設定請求資訊處理模型中包括之第5處理模型之一示例之圖。 FIG. 9 is a diagram showing an example of the fifth processing model included in the setting request information processing model.

圖10係示出用以將請求資訊處理模型應用於用於電子裝置100之動作之演算法中之層構造的一示例之圖。 FIG. 10 is a diagram showing an example of a layer structure for applying the request information processing model to an algorithm for the operation of the electronic device 100.

圖11至圖14係示出基於包括第1處理模型至第5處理模型之請求資訊處理模型而處理請求資訊之一示例之圖。 Figures 11 to 14 are diagrams showing an example of processing request information based on a request information processing model including the first processing model to the fifth processing model.

以下之實施例係將各種實施例之構成要素與特徵以特定之 形態結合。除非另有明確說明,否則可認為各構成要素或特徵具有選擇性。各構成要素或特徵能夠以不與其他構成要素或特徵結合之形態實施。又,亦可結合一部分構成要素及特徵來構成各種實施例。各種實施例中說明之動作之順序可改變。某個實施例之部分構成或特徵可包括於其他實施例中,或者可替換其他實施例之對應之構成或特徵。 The following embodiments combine the components and features of various embodiments in a specific form. Unless otherwise explicitly stated, each component or feature can be considered to be optional. Each component or feature can be implemented in a form that is not combined with other components or features. In addition, some components and features can be combined to form various embodiments. The order of the actions described in various embodiments can be changed. Some components or features of a certain embodiment can be included in other embodiments, or can replace the corresponding components or features of other embodiments.

於對圖式之說明中,未記述可能混淆各種實施例之主旨之程序或步驟,亦未記述以該技術領域內具有常識者之水準能夠理解之程序或步驟。 In the description of the drawings, no procedures or steps are described that may confuse the main points of various embodiments, nor are any procedures or steps that can be understood by a person with common sense in the technical field.

於整篇說明書中,於記載為某個部分「包括(comprising或including)」某個構成要素時,若未特別記載相反之內容,則意味著可進而包括其他構成要素,而並非排除其他構成要素。又,說明書中記載之「...部」、「...器」、「模組」等用語係指對至少一個功能或動作進行處理之單位,其可由硬體、軟體、或硬體與軟體之組合來實現。又,於記述各種實施例之文中(特別是以下之發明申請專利範圍中),若未於本說明書中另作指示或未於文中明確地反駁,則「一(a或an)」、「一個(one)」、「該(the)」及相似之相關詞能夠以包括單數及複數兩者之含義來使用。 Throughout the specification, when a certain component is described as "comprising or including" a certain component, if there is no special content to the contrary, it means that other components can be further included, but other components are not excluded. In addition, the terms "...part", "...device", "module" and the like described in the specification refer to a unit that processes at least one function or action, which can be implemented by hardware, software, or a combination of hardware and software. In addition, in the text describing various embodiments (especially in the scope of the invention application below), if there is no other indication in this specification or no clear rebuttal in the text, "a (or an)", "one (one)", "the (the)" and similar related words can be used in a meaning including both the singular and the plural.

以下,參照附圖,詳細地對各種實施例之較佳之實施方式進行說明。連同附圖一併揭示於下文中之詳細說明係對各種實施例之例示性之實施方式進行說明,並非意欲表示唯一之實施方式。 Below, with reference to the attached drawings, the preferred implementation methods of various embodiments are described in detail. The detailed description disclosed below together with the attached drawings is an explanation of the exemplary implementation methods of various embodiments, and is not intended to represent the only implementation method.

又,各種實施例中使用之特定(specific)用語係為了有助於理解各種實施例而提供者,此種特定用語之使用可於不脫離各種實施例之技術思想之範圍內變更為其他形態。 In addition, the specific terms used in various embodiments are provided to help understand the various embodiments. The use of such specific terms can be changed into other forms without departing from the technical ideas of the various embodiments.

圖1係用以說明能夠實現各種實施例之用於資訊處理之電 子裝置之動作方法的資訊處理系統之圖。 FIG. 1 is a diagram of an information processing system for illustrating the operation method of an electronic device for information processing that can implement various embodiments.

參照圖1,各種實施例之資訊處理系統可於各種類型之裝置中實現。例如,資訊處理系統可在與服務相關之電子裝置100、能夠利用服務之用戶裝置200及用於服務之伺服器裝置300中實現。換言之,與服務相關之電子裝置100、用戶裝置200及伺服器裝置300可基於各個裝置中實現之資訊處理系統,實行本發明之各種實施例之動作。另一方面,各種實施例之資訊處理系統不僅侷限於上述圖1所示,亦可於更多樣之裝置中實現。 Referring to FIG. 1 , the information processing system of various embodiments can be implemented in various types of devices. For example, the information processing system can be implemented in an electronic device 100 related to the service, a user device 200 capable of utilizing the service, and a server device 300 used for the service. In other words, the electronic device 100 related to the service, the user device 200, and the server device 300 can implement the actions of various embodiments of the present invention based on the information processing system implemented in each device. On the other hand, the information processing system of various embodiments is not limited to that shown in FIG. 1 above, but can also be implemented in more diverse devices.

各種實施例之電子裝置100可對應於如下裝置,其實行與服務相關之本發明中提議之資訊處理方法,且管理於用戶裝置200、伺服器裝置300及服務之間收發之資訊之處理。於本發明中,電子裝置100可構成為包含用戶裝置200或伺服器裝置300之功能。 The electronic device 100 of various embodiments may correspond to the following device, which implements the information processing method proposed in the present invention related to the service and manages the processing of information sent and received between the user device 200, the server device 300 and the service. In the present invention, the electronic device 100 may be configured to include the functions of the user device 200 or the server device 300.

各種實施例之用戶裝置200可為諸如台式電腦、平板電腦、行動終端之類之能夠被個人用戶利用之裝置。此外,實行類似之功能之其他裝置亦可用作用戶裝置200。 The user device 200 of various embodiments may be a device that can be used by a personal user, such as a desktop computer, a tablet computer, a mobile terminal, etc. In addition, other devices that implement similar functions may also be used as the user device 200.

各種實施例之伺服器裝置300可為如下裝置:與複數個用戶裝置200實行無線及有線通訊,且包括具有大單位之儲存容量之儲存器。例如,伺服器裝置300可包括與複數個用戶裝置200連接之雲設備(Cloud Device)。 The server device 300 of various embodiments may be a device that performs wireless and wired communication with a plurality of user devices 200 and includes a storage device with a large unit of storage capacity. For example, the server device 300 may include a cloud device connected to a plurality of user devices 200.

各種實施例之資訊處理系統可包括用於動作之各種模組。資訊處理系統中包括之模組可為實現資訊處理系統之(或者,包括於物理裝置中之)物理裝置(例如:電子裝置100、用戶裝置200及伺服器裝置300)能夠實行之指定動作之電腦代碼或一個以上之指令(instruction)。換言 之,實現資訊處理系統之物理裝置以電腦代碼之形態將複數個模組儲存於記憶體中,且於執行儲存於記憶體中之複數個模組時,複數個模組可由物理裝置實行對應於複數個模組之指定動作。 The information processing system of various embodiments may include various modules for actions. The modules included in the information processing system may be computer codes or one or more instructions for a specified action that can be performed by a physical device (e.g., electronic device 100, user device 200, and server device 300) that implements the information processing system (or, included in the physical device). In other words, the physical device that implements the information processing system stores multiple modules in the form of computer codes in the memory, and when executing the multiple modules stored in the memory, the multiple modules can be implemented by the physical device to perform the specified actions corresponding to the multiple modules.

圖2係示出各種實施例之裝置節點之構成之圖。 FIG2 is a diagram showing the configuration of device nodes of various embodiments.

圖2之裝置節點可包括構成圖1之資訊處理系統之電子裝置100、用戶裝置200及伺服器裝置300,且圖2之裝置節點可包括輸入/輸出部210、通訊部220、儲存器230及處理器240。 The device node of FIG. 2 may include an electronic device 100, a user device 200, and a server device 300 constituting the information processing system of FIG. 1, and the device node of FIG. 2 may include an input/output unit 210, a communication unit 220, a storage unit 230, and a processor 240.

輸入/輸出部210可為接收用戶輸入或向用戶輸出資訊之各種介面或連接埠等。輸入/輸出部210可包括輸入模組及輸出模組,輸入模組自用戶接收用戶輸入。用戶輸入能夠以鍵輸入、觸控輸入、語音輸入等各種形態實現。作為可接收此種用戶輸入之輸入模組之示例,當然包括傳統形態之小鍵盤或鍵盤、滑鼠,此外亦包括感知用戶之觸控之觸控感測器、接收聲音信號之麥克風、藉由影像識別來識別手勢等之相機、包括感知用戶接近之照度感測器或紅外線感測器中之至少一者之接近感測器、藉由加速度感測器或陀螺儀感測器等而識別用戶動作之運動感測器及感知或接收其他各種形態之用戶輸入之各種形態的輸入機構,本發明之實施例之輸入模組可包括以上所列出之裝置中之至少一者。此處,觸控感測器可藉由如下方式實現,即,藉由貼附於顯示器面板上之觸控面板或觸控膜來感知觸控之壓電式或靜電式觸控感測器、藉由光學方式來感知觸控之光學式觸控感測器等。此外,輸入模組亦能夠以與接收用戶輸入之外部輸入裝置連接之輸入介面(USB(Universal Serial Bus,通用序列匯流排)埠、PS/2(Personal System 2,第2代個人系統)埠等)形態來實現,以此代替自身感知用戶輸入之裝置。又,輸出模組可輸出各種資訊。輸出模組可包括 輸出影像之顯示器、輸出聲音之揚聲器、產生振動之觸覺裝置及其他各種形態之輸出機構中之至少一者。進而,輸出模組亦能夠以連接上述各個輸出機構之埠型輸出介面之形態實現。 The input/output unit 210 may be various interfaces or ports for receiving user input or outputting information to the user. The input/output unit 210 may include an input module and an output module, and the input module receives user input from the user. User input can be implemented in various forms such as key input, touch input, and voice input. Examples of input modules that can receive such user input include traditional keypads or keyboards, mice, touch sensors that sense user touch, microphones that receive sound signals, cameras that recognize gestures by image recognition, proximity sensors that include at least one of an illumination sensor or an infrared sensor that senses user approach, motion sensors that recognize user movements by means of an accelerometer or a gyroscope sensor, and various forms of input mechanisms that sense or receive other forms of user input. The input module of the embodiments of the present invention may include at least one of the devices listed above. Here, the touch sensor can be implemented in the following ways, that is, a piezoelectric or electrostatic touch sensor that senses touch by a touch panel or touch film attached to a display panel, an optical touch sensor that senses touch by an optical method, etc. In addition, the input module can also be implemented in the form of an input interface (USB (Universal Serial Bus) port, PS/2 (Personal System 2) port, etc.) connected to an external input device that receives user input, thereby replacing a device that senses user input itself. In addition, the output module can output various information. The output module may include at least one of a display for outputting images, a speaker for outputting sounds, a tactile device for generating vibrations, and other output mechanisms of various forms. Furthermore, the output module can also be implemented in the form of a port-type output interface that connects the above-mentioned output mechanisms.

作為一例,顯示器形態之輸出模組可顯示文本、靜態圖像及視訊。顯示器可包括液晶顯示器(LCD:Liquid Crystal Display)、發光二極體(LED:Light Emitting Diode)顯示器、有機發光二極體(OLED:Organic Light Emitting Diode)顯示器、平板顯示器(FPD:Flat Panel Display)、透明顯示器(Transparent Display)、曲面顯示器(Curved Display)、可撓式顯示器(Flexible Display)、三維顯示器(3D Display)、全像顯示器(Holographic Display)、投影儀等可實行影像輸出功能之各種形態之裝置中之至少一種。此種顯示器亦可為與輸入模組之觸控感測器一體地構成之觸控顯示器之形態。 For example, an output module in the form of a display can display text, static images, and videos. The display may include a liquid crystal display (LCD), a light emitting diode (LED), an organic light emitting diode (OLED), a flat panel display (FPD), a transparent display, a curved display, a flexible display, a three-dimensional display (3D Display), a holographic display, a projector, and at least one of various types of devices that can implement image output functions. Such a display may also be in the form of a touch display that is integrally formed with a touch sensor of an input module.

通訊部220可與其他裝置進行通訊。因此,與服務相關之裝置節點可藉由通訊部而與其他裝置收發資訊。例如,裝置節點可利用通訊部來實行彼此間之通訊,或與其他裝置實行通訊。 The communication unit 220 can communicate with other devices. Therefore, the device nodes associated with the service can send and receive information with other devices through the communication unit. For example, the device nodes can use the communication unit to communicate with each other or with other devices.

此處,通訊即資料之收發可藉由有線或無線來實現。為此,通訊部可構成為:經由LAN(Local Area Network,區域網路)而連接網際網路等之有線通訊模組、經由行動通訊基地台而連接行動通訊網路來收發資料之行動通訊模組、利用如無線保真(Wi-Fi)之WLAN(Wireless Local Area Network,無線區域網路)系通訊方式或如藍牙(Bluetooth)、紫蜂(Zigbee)之WPAN(Wireless Personal Area Network,無線個人區域網路)系通訊方式之近距離通訊模組、利用如GPS(Global Positioning System,全球定位系統)之GNSS(Global Navigation Satellite System,全 球導航衛星系統)之衛星通訊模組或其等之組合。 Here, communication means the sending and receiving of data which can be realized by wired or wireless. For this purpose, the communication unit can be constituted as: a wired communication module connected to the Internet via a LAN (Local Area Network), a mobile communication module connected to a mobile communication network via a mobile communication base station to send and receive data, a short-range communication module using a WLAN (Wireless Local Area Network) system communication method such as Wireless Fidelity (Wi-Fi) or a WPAN (Wireless Personal Area Network) system communication method such as Bluetooth or Zigbee, a satellite communication module using a GNSS (Global Navigation Satellite System) such as GPS (Global Positioning System), or a combination thereof.

儲存器230可儲存各種資訊。儲存器230可暫時或半永久性地儲存資料。例如,裝置節點之儲存器230中可儲存與用以驅動裝置節點之作業系統(OS:Operating System)、用以代管網站之資料或用以產生點字之程式或應用程式(例如,網站應用程式)相關之資料等。又,儲存器230可如上所述以電腦代碼之形態儲存模組。 The memory 230 can store various information. The memory 230 can store data temporarily or semi-permanently. For example, the memory 230 of the device node can store data related to the operating system (OS) used to drive the device node, data used to host the website, or programs or applications used to generate Braille (for example, website applications). In addition, the memory 230 can store modules in the form of computer code as described above.

作為儲存器230之示例,可包括:硬式磁碟機(HDD:Hard Disk Drive)、SSD(Solid State Drive,固態硬碟)、快閃記憶體(Flash Memory)、唯讀記憶體(ROM:Read-Only Memory)、隨機存取記憶體(RAM:Random Access Memory)等。此種儲存器230能夠以內置類型或可裝卸類型提供。 Examples of the memory 230 include: a hard disk drive (HDD), a solid state drive (SSD), a flash memory, a read-only memory (ROM), a random access memory (RAM), etc. Such a memory 230 can be provided in a built-in type or a removable type.

處理器240對裝置節點之整體動作進行控制。為此,處理器240可實行各種資訊之運算及處理,並對裝置節點之各構成要素之動作進行控制。例如,處理器240可執行用於資訊處理之程式及應用程式。處理器240可根據硬體、軟體或其等之組合,藉由電腦或與其類似之裝置來實現。於硬體方面而言,處理器240能夠以對電信號進行處理並實行控制功能之電路之形態來實現,於軟體方面而言,能夠以驅動硬體處理器240之程式之形態來實現。另一方面,於以下之說明中未特別提及之情形時,裝置節點之動作可解釋為藉由處理器240之控制來實行。即,可解釋為於執行上述資訊處理系統中實現之模組之情形時,模組控制處理器240來使裝置節點實行以下之動作。 The processor 240 controls the overall operation of the device node. To this end, the processor 240 can perform various information calculations and processing, and control the operation of each component of the device node. For example, the processor 240 can execute programs and applications for information processing. The processor 240 can be implemented by a computer or a similar device based on hardware, software, or a combination thereof. In terms of hardware, the processor 240 can be implemented in the form of a circuit that processes electrical signals and performs control functions, and in terms of software, it can be implemented in the form of a program that drives the hardware processor 240. On the other hand, in the case where no specific mention is made in the following description, the action of the device node can be interpreted as being performed by the control of the processor 240. That is, it can be interpreted as when executing the module implemented in the above-mentioned information processing system, the module controls the processor 240 to make the device node perform the following actions.

簡言之,各種實施例可藉由各種機構實現。例如,各種實施例可藉由硬體、韌體(firmware)、軟體或其等之組合來實現。 In short, various embodiments can be implemented by various mechanisms. For example, various embodiments can be implemented by hardware, firmware, software, or a combination thereof.

於藉由硬體實現之情形時,各種實施例之方法可藉由一個或一個以上之ASICs(application specific integrated circuits,特定應用積體電路)、DSPs(digital signal processors,數位信號處理器)、DSPDs(digital signal processing devices,數位信號處理裝置)、PLDs(programmable logic devices,可程式邏輯裝置)、FPGAs(field programmable gate arrays,場域可程式閘陣列)、處理器、控制器、微控制器、微處理器等實現。 In the case of hardware implementation, the methods of various embodiments may be implemented by one or more ASICs (application specific integrated circuits), DSPs (digital signal processors), DSPDs (digital signal processing devices), PLDs (programmable logic devices), FPGAs (field programmable gate arrays), processors, controllers, microcontrollers, microprocessors, etc.

於藉由韌體或軟體實現之情形時,各種實施例之方法可由實行以下說明之功能或動作之模組、程序或函數等形態實現。例如,軟體代碼可儲存於記憶體中並由處理器驅動。上述記憶體可位於處理器之內部或外部,可藉由公知之各種機構而與上述處理器交換資料。 When implemented by firmware or software, the methods of various embodiments may be implemented in the form of modules, programs, or functions that implement the functions or actions described below. For example, the software code may be stored in a memory and driven by a processor. The memory may be located inside or outside the processor and may exchange data with the processor through various known mechanisms.

以下,基於上述技術思想而對各種實施例進行更詳細之說明。以下說明之各種實施例可應用上述內容。例如,於以下說明之各種實施例中未定義之動作、功能、用語等可基於上述說明之內容來實行並加以說明。 Below, various embodiments are described in more detail based on the above technical ideas. The various embodiments described below can apply the above content. For example, actions, functions, terms, etc. that are not defined in the various embodiments described below can be implemented and explained based on the content of the above description.

於以下之說明中,以與服務相關之電子裝置100實行用於資訊處理方法之動作為前提,記述了各種實施例。 In the following description, various embodiments are described based on the premise that the service-related electronic device 100 implements actions used in the information processing method.

圖3係示出實行本發明所提議之資訊處理方法之電子裝置之構造圖。 FIG3 is a structural diagram of an electronic device for implementing the information processing method proposed by the present invention.

於圖3中,實行資訊處理方法之電子裝置100可包括通訊設備301、控制部303及記憶體305。圖3之電子裝置100中包括之各構成要素可對應於圖2之裝置節點之構成,或者圖3之電子裝置100可包括圖2之裝置節點之構成。作為一例,圖3之電子裝置100中包括之通訊設備301可對 應於圖2之裝置節點之構成中包括之通訊部220。 In FIG3 , the electronic device 100 implementing the information processing method may include a communication device 301, a control unit 303, and a memory 305. Each component included in the electronic device 100 of FIG3 may correspond to the structure of the device node of FIG2 , or the electronic device 100 of FIG3 may include the structure of the device node of FIG2 . As an example, the communication device 301 included in the electronic device 100 of FIG3 may correspond to the communication unit 220 included in the structure of the device node of FIG2 .

圖3之電子裝置100可具有如下功能:藉由通訊設備301而與其他裝置進行通訊。 The electronic device 100 in FIG. 3 may have the following functions: communicating with other devices via the communication device 301.

控制部303可控制電子裝置100,以便實行包括下文敍述之圖4至圖14之各種實施例之資訊輸出方法。作為一例,控制部303可控制電子裝置100實行下文敍述之圖4之各動作401至403,且控制電子裝置100儲存及收發實行圖4之動作401至403所需之各種資訊。 The control unit 303 can control the electronic device 100 to implement the information output method of various embodiments including Figures 4 to 14 described below. As an example, the control unit 303 can control the electronic device 100 to implement the various actions 401 to 403 of Figure 4 described below, and control the electronic device 100 to store and send and receive various information required to implement the actions 401 to 403 of Figure 4.

記憶體305可為揮發性記憶體或非揮發性記憶體,使控制部303執行用以實行資訊輸出方法之程式所需之程式之代碼可儲存於記憶體305中。 The memory 305 can be a volatile memory or a non-volatile memory, so that the control unit 303 can store the program code required to execute the program for implementing the information output method in the memory 305.

於本發明中,實行資訊輸出方法之電子裝置100並不限定於圖3之構成,且除圖3所示之各種構成要素之外,本發明之電子裝置100中亦可包括其他通用之構成要素。 In the present invention, the electronic device 100 for implementing the information output method is not limited to the structure shown in FIG. 3, and in addition to the various components shown in FIG. 3, the electronic device 100 of the present invention may also include other common components.

圖4係示出各種實施例之用於資訊處理之電子裝置之動作方法的圖。 FIG. 4 is a diagram showing the operation method of the electronic device for information processing in various embodiments.

根據圖4,電子裝置100可為了處理請求資訊,而實行處理請求資訊之動作,可設定與藉由服務而獲得之請求資訊之處理相關之請求資訊處理模型401,且可基於請求資訊處理模型中包括之至少一個處理模型,處理藉由服務而獲得之請求資訊403。 According to FIG. 4 , the electronic device 100 can perform an action of processing request information in order to process request information, can set a request information processing model 401 related to the processing of request information obtained through a service, and can process request information 403 obtained through a service based on at least one processing model included in the request information processing model.

根據圖4,電子裝置100設定請求資訊處理模型並處理請求資訊之動作可為了與電子裝置100相關之服務而實行,且上述服務可對應於利用服務之複數個用戶訂購及購買服務中銷售之複數個物品之服務。於服務中銷售之複數個物品可包括賣方為了銷售物品而註冊之各種種類或類 型之物品,而不限制於物品之類型或類型。 According to FIG. 4 , the electronic device 100 may set a request information processing model and process request information for a service related to the electronic device 100, and the service may correspond to a service in which a plurality of users utilizing the service order and purchase a plurality of items sold in the service. The plurality of items sold in the service may include various types or categories of items registered by the seller for the purpose of selling items, and are not limited to the types or categories of items.

根據各種實施例,於動作401中,電子裝置100可設定與藉由服務而獲得之請求資訊之處理相關之請求資訊處理模型。 According to various embodiments, in action 401, the electronic device 100 may set a request information processing model related to the processing of request information obtained through the service.

例如,根據動作401由電子裝置100設定之請求資訊處理模型可包括第1處理模型,該第1處理模型在與服務相關聯之一個以上之伺服器(server)中所包括之各伺服器中,將每單位時間將處理之請求資訊之個數限制為第1臨界個數以下。以下,下文敍述之一個以上之伺服器或各伺服器可理解為與圖1中之伺服器裝置300對應之概念。 For example, the request information processing model set by the electronic device 100 according to action 401 may include a first processing model, which limits the number of request information to be processed per unit time to less than a first critical number in each server included in one or more servers associated with the service. Hereinafter, the one or more servers or each server described below may be understood as a concept corresponding to the server device 300 in FIG. 1

如上所述之第1處理模型相當於用以防止在與服務相關聯之一個以上之伺服器(server)中包括之各伺服器中處理請求資訊時產生之負荷之處理模型,且第1處理模型能夠設定為根據應用第1處理模型之管理者之選擇輸入來應用。作為一例,於一個以上之伺服器每單位時間要處理之請求資訊之個數被確認為固定個數以上,且電子裝置100之管理者判斷各伺服器中每單位時間要處理之請求資訊之個數過多之情形時,管理者可進行選擇輸入以應用第1處理模型,藉由利用管理者之選擇輸入來應用第1處理模型,可將各伺服器中每單位時間要處理之請求資訊之個數限制為第1臨界個數以下。 The first processing model described above is equivalent to a processing model for preventing a load from being generated when processing request information in each server included in one or more servers associated with a service, and the first processing model can be set to be applied according to the selection input of the administrator who applies the first processing model. As an example, when the number of request information to be processed per unit time by one or more servers is confirmed to be greater than a fixed number, and the administrator of the electronic device 100 determines that the number of request information to be processed per unit time in each server is too large, the administrator can select input to apply the first processing model. By applying the first processing model using the administrator's selection input, the number of request information to be processed per unit time in each server can be limited to less than the first critical number.

或者,除了管理者之選擇輸入之外,電子裝置100亦能夠以如下方式設定:於滿足一定條件之情況下應用第1處理模型。作為一例,可將一個以上之伺服器每單位時間要處理之請求資訊之個數設定成固定個數以上之條件而用於第1處理模型,電子裝置100能夠以如下方式管理:於滿足上述之條件之情形時,自動應用第1處理模型,將各伺服器中每單位時間要處理之請求資訊之個數限制為第1臨界個數以下。 Alternatively, in addition to the administrator's selection input, the electronic device 100 can also be set in the following manner: the first processing model is applied when a certain condition is met. As an example, the number of request information to be processed by one or more servers per unit time can be set to a condition of more than a fixed number and used in the first processing model. The electronic device 100 can be managed in the following manner: when the above conditions are met, the first processing model is automatically applied to limit the number of request information to be processed per unit time in each server to less than the first critical number.

此處,為了第1處理模型而設定之第1臨界個數可為藉由管理者之輸入而設定之值。 Here, the first critical number set for the first processing model may be a value set by the administrator's input.

圖5係示出設定請求資訊處理模型中包括之第1處理模型之一示例之圖。 FIG5 is a diagram showing an example of the first processing model included in the setting request information processing model.

於圖5中,電子裝置100係以如下方式管理:藉由與服務相關聯之一個以上之伺服器對自利用服務之複數個用戶獲得之請求資訊進行處理(500),此時,第1處理模型能夠以與501相同之形態應用,該第1處理模型將在各伺服器中每單位時間要處理之請求資訊之個數限制為特定之臨界個數以內。 In FIG. 5 , the electronic device 100 is managed as follows: request information obtained from a plurality of users utilizing the service is processed by one or more servers associated with the service ( 500 ). At this time, the first processing model can be applied in the same form as 501 , and the first processing model limits the number of request information to be processed per unit time in each server to within a specific critical number.

於圖5中,藉由應用第1處理模型,可將各伺服器每1分鐘要處理之請求資訊之個數限制為10,000個以內,且此種第1處理模型亦能夠基於如下情況藉由管理者之選擇輸入或自動應用而設定:一個以上之伺服器每1分鐘要處理之請求資訊之個數被確認為30,000個以上。 In FIG. 5 , by applying the first processing model, the number of request information to be processed by each server per minute can be limited to within 10,000, and this first processing model can also be set by administrator selection input or automatic application based on the following situation: the number of request information to be processed by one or more servers per minute is confirmed to be more than 30,000.

例如,根據動作401由電子裝置100設定之請求資訊處理模型可包括第2處理模型,該第2處理模型對應於將與服務對應之複數個APIs(Application Programming Interfaces,應用程式介面)根據重要度來分類之複數個第一API組中之特定API組,於上述各伺服器中將每單位時間將處理之請求資訊之個數限制為第2臨界個數以下。 For example, the request information processing model set by the electronic device 100 according to action 401 may include a second processing model, which corresponds to a specific API group in a plurality of first API groups that classify a plurality of APIs (Application Programming Interfaces) corresponding to the service according to importance, and limits the number of request information to be processed per unit time in each of the above servers to less than the second critical number.

如上所述之第2處理模型相當於用以防止在與服務相關聯之一個以上之伺服器(server)中包括之各伺服器中處理與具有特定之重要度之API組對應之請求資訊時產生的負荷之處理模型,且第2處理模型能夠設定為根據應用第2處理模型之管理者之選擇輸入來應用。 The second processing model described above corresponds to a processing model for preventing a load from being generated when processing request information corresponding to an API group having a specific importance in each server included in one or more servers associated with the service, and the second processing model can be set to be applied according to the selection input of an administrator who applies the second processing model.

服務上之各種APIs可具有相互不同之重要度,電子裝置 100以如下方式管理非常重要,即,能夠主要處理由具有較高重要度之APIs獲得之請求資訊。因此,電子裝置100根據服務上之各種APIs之重要度而區分為具有較高重要度之API組與具有較低重要度之API組,且可限制對應於具有較低重要度之API組而獲得之請求資訊之處理,以便可主要處理對應於具有較高重要度之API組而獲得之請求資訊。 Various APIs on the service may have different importance from each other, and it is very important for the electronic device 100 to manage in such a way that request information obtained by APIs with higher importance can be mainly processed. Therefore, the electronic device 100 is divided into an API group with higher importance and an API group with lower importance according to the importance of various APIs on the service, and the processing of request information obtained corresponding to the API group with lower importance can be limited so that request information obtained corresponding to the API group with higher importance can be mainly processed.

作為一例,於對應於具有較低重要度之API組,一個以上之伺服器每單位時間要處理之請求資訊之個數被確認為固定個數以上,電子裝置100之管理者判斷於各伺服器中對應於具有較低重要度之API組而處理之請求資訊的個數增加,從而在與具有較高重要度之API組對應之請求資訊之處理中產生負荷之情形時,管理者可進行選擇輸入以應用第2處理模型,藉由利用管理者之選擇輸入來應用第2處理模型,可於各伺服器中對應於具有較低重要度之API組,將每單位時間要處理之請求資訊之個數限制為第2臨界個數以下。藉由應用此種第2處理模型,可於各伺服器中確保用於與具有較高重要度之API組對應之請求資訊之一定水準以上的每單位時間處理容量。 For example, when the number of request information to be processed per unit time by one or more servers corresponding to an API group with a lower importance is confirmed to be greater than a fixed number, and the administrator of the electronic device 100 determines that the number of request information processed in each server corresponding to the API group with a lower importance has increased, thereby generating a load in the processing of request information corresponding to the API group with a higher importance, the administrator can make a selection input to apply the second processing model. By using the administrator's selection input to apply the second processing model, the number of request information to be processed per unit time corresponding to the API group with a lower importance in each server can be limited to below the second critical number. By applying this second processing model, a processing capacity per unit time of a certain level or more for request information corresponding to an API group with a higher importance can be ensured in each server.

或者,除了管理者之選擇輸入之外,電子裝置100亦能夠以如下方式設定:於滿足一定條件之情況下應用第2處理模型。作為一例,可對應於具有較低重要度之API組,將一個以上之伺服器每單位時間要處理之請求資訊之個數設定為固定個數以上之條件而用於第2處理模型,電子裝置100能夠以如下方式管理:於滿足上述之條件之情形時,自動應用第2處理模型,對應於各伺服器中具有較低重要度之API組,將每單位時間要處理之請求資訊之個數限制為第2臨界個數以下。 Alternatively, in addition to the administrator's selection input, the electronic device 100 can also be set in the following manner: the second processing model is applied when a certain condition is met. As an example, the number of request information to be processed by one or more servers per unit time can be set to a fixed number or more for the second processing model corresponding to the API group with lower importance. The electronic device 100 can be managed in the following manner: when the above conditions are met, the second processing model is automatically applied, and the number of request information to be processed per unit time is limited to less than the second critical number corresponding to the API group with lower importance in each server.

此處,為了第2處理模型而設定之第2臨界個數可為藉由管 理者之輸入而設定之值。又,為了第2處理模型,電子裝置100可預先確認並管理關於各API之重要度之資訊,且亦可基於關於各API之重要度之資訊來實行如下動作,即,將服務上之各種APIs區分為具有較高重要度之API組與具有較低重要度之API組。 Here, the second critical number set for the second processing model may be a value set by the administrator's input. Furthermore, for the second processing model, the electronic device 100 may confirm and manage information about the importance of each API in advance, and may also perform the following actions based on the information about the importance of each API, that is, to divide various APIs on the service into an API group with a higher importance and an API group with a lower importance.

關於第2處理模型,重要度較高之API之示例包括購買物品時用於提供結算頁面之API、用於向購物車追加物品之API等,重要度較低之API之示例包括用於確認用戶之結算機制之API、用於物品訂購時請求保鮮袋之API等。 Regarding the second processing model, examples of APIs with higher importance include APIs for providing a checkout page when purchasing items, APIs for adding items to a shopping cart, etc. Examples of APIs with lower importance include APIs for the checkout mechanism to confirm users, APIs for requesting fresh-keeping bags when ordering items, etc.

圖6係示出設定請求資訊處理模型中包括之第2處理模型之一示例之圖。 FIG6 is a diagram showing an example of a second processing model included in the setting request information processing model.

於圖6中,電子裝置100能夠以如下方式管理:將自利用服務之複數個用戶獲得之請求資訊區分為於服務上對應於具有較高重要度之API組而獲得之請求資訊、及對應於具有較低重要度之API組而獲得之請求資訊,且可藉由與服務相關聯之一個以上之伺服器對對應於各API組而獲得之請求資訊進行處理(600)。此時,第2處理模型能夠以與601相同之形態應用,該第2處理模型於各伺服器中對應於具有較低重要度之API組,將每單位時間要處理之請求資訊之個數限制為特定之臨界個數以內。 In FIG. 6 , the electronic device 100 can manage the request information obtained from multiple users using the service in the following manner: the request information obtained corresponding to the API group with higher importance on the service and the request information obtained corresponding to the API group with lower importance can be divided, and the request information obtained corresponding to each API group can be processed by one or more servers associated with the service ( 600 ). At this time, the second processing model can be applied in the same form as 601 , and the second processing model limits the number of request information to be processed per unit time to within a specific critical number corresponding to the API group with lower importance in each server.

於圖6中,藉由應用第2處理模型,可於各伺服器中對應於具有較低重要度之API組,將每1分鐘要處理之請求資訊之個數限制為8,000個以內,且此種第2處理模型亦能夠基於如下情況根據管理者之選擇輸入或自動應用而設定:一個以上之伺服器對應於具有較低重要度之API組每1分鐘要處理之請求資訊之個數被確認為24,000個以上。藉由應用與601相同之第2處理模型,可於各伺服器中確保用於與具有較高重要度之 API組對應之請求資訊之一定水準以上的每單位時間處理容量。 In FIG. 6, by applying the second processing model, the number of request information to be processed per minute in each server corresponding to the API group with lower importance can be limited to within 8,000, and this second processing model can also be set based on the administrator's selection input or automatic application based on the following situation: the number of request information to be processed per minute in one or more servers corresponding to the API group with lower importance is confirmed to be more than 24,000. By applying the same second processing model as 601, a processing capacity per unit time of more than a certain level for request information corresponding to the API group with higher importance can be ensured in each server.

例如,根據動作401由電子裝置100設定之請求資訊處理模型可包括第3處理模型,該第3處理模型對應於將複數個APIs(Application Programming Interfaces,應用程式介面)根據資源(resource)使用量來分類之複數個第二API組中包括之各API組,將要處理之各請求資訊之個數限制為為了上述各API組而設定之各臨界個數以下。 For example, the request information processing model set by the electronic device 100 according to action 401 may include a third processing model, which corresponds to each API group included in a plurality of second API groups that classify a plurality of APIs (Application Programming Interfaces) according to resource usage, and limits the number of each request information to be processed to less than each critical number set for each of the above API groups.

如上所述之第3處理模型相當於在與服務相關聯之一個以上之伺服器(server)中包括之各伺服器中,處理與根據資源使用量來分類之複數個第二API組分別對應之請求資訊之過程中,用以防止所管理之各API組之剩餘資源容量為0之處理模型,且第3處理模型能夠設定為根據應用第3處理模型之管理者之選擇輸入來應用。 The third processing model described above is equivalent to a processing model for preventing the remaining resource capacity of each managed API group from being 0 in the process of processing request information corresponding to a plurality of second API groups classified according to resource usage in each server included in one or more servers associated with the service, and the third processing model can be set to be applied according to the selection input of the administrator who applies the third processing model.

服務上之各種APIs可消耗相互不同之資源使用量,電子裝置100以不超過用於各APIs之資源使用量之方式管理可能非常重要。因此,電子裝置100能夠以如下方式管理:根據其資源使用量將服務上之各種APIs區分為具有較高資源使用量之API組、具有中等資源使用量之API組、及具有較低資源使用量之API組,可對應於API組而分配固定之資源容量,且可於不超過所分配之資源容量之範圍內主要處理對應於各API組而獲得之請求資訊。 Various APIs on the service may consume different resource usages, and it may be very important for the electronic device 100 to manage in a manner that does not exceed the resource usage used for each API. Therefore, the electronic device 100 can manage in the following manner: the various APIs on the service are divided into an API group with a higher resource usage, an API group with a medium resource usage, and an API group with a lower resource usage according to their resource usage, a fixed resource capacity can be allocated corresponding to the API group, and the request information obtained corresponding to each API group can be mainly processed within the range of not exceeding the allocated resource capacity.

作為一例,可1)為具有較高資源使用量之API組分配固定之資源容量,確認可根據所分配之資源容量來處理之請求資訊之臨界個數1值;2)為具有中等資源容量之API組分配固定之資源容量,確認可根據所分配之資源容量來處理之請求資訊之臨界個數n值;3)為具有較低資源使用量之API組分配固定之資源容量,確認可根據所分配之資源容量來處 理之請求資訊之臨界個數m值。於電子裝置100之管理者欲管理不超過分配至各API組之資源容量之情形時,管理者可進行選擇輸入以應用第3處理模型,藉由利用管理者之選擇輸入來應用第3處理模型,可對應於各API組將已處理之請求資訊之個數限制為已確認之各API組之各臨界個數以內。 For example, 1) a fixed resource capacity may be allocated to an API group with a high resource usage, and a critical number 1 of request information that can be processed based on the allocated resource capacity may be determined; 2) a fixed resource capacity may be allocated to an API group with a medium resource capacity, and a critical number n of request information that can be processed based on the allocated resource capacity may be determined; 3) a fixed resource capacity may be allocated to an API group with a low resource usage, and a critical number m of request information that can be processed based on the allocated resource capacity may be determined. When the administrator of the electronic device 100 wants to manage the resource capacity allocated to each API group, the administrator can select input to apply the third processing model. By using the administrator's selection input to apply the third processing model, the number of processed request information can be limited to within the critical number of each API group that has been confirmed.

此處,為了第3處理模型而設定之各臨界個數可為藉由管理者之輸入而設定之值。又,為了第3處理模型,電子裝置100可預先確認並管理關於各API之資源使用量之資訊,且亦可基於關於各API之資源使用量之資訊來實行如下動作,即,將服務上之各種APIs區分為具有較高資源使用量之API組、具有中等資源使用量之API組、及具有較低資源使用量之API組。 Here, each critical number set for the third processing model can be a value set by the administrator's input. In addition, for the third processing model, the electronic device 100 can confirm and manage the information about the resource usage of each API in advance, and can also perform the following actions based on the information about the resource usage of each API, that is, to classify various APIs on the service into an API group with higher resource usage, an API group with medium resource usage, and an API group with lower resource usage.

關於第3處理模型,具有較高資源使用量之API之示例可包括著陸API、用於與購買按鈕輸入對應之購買進行API等,具有中等資源使用量之API之示例可包括用於設定配送預定日期等日程之API等。又,具有較低資源使用量之API之示例可包括變更配送地址之API、用以輸入與海外直購相關之個人通關編碼之API等。 Regarding the third processing model, examples of APIs with high resource usage may include landing APIs, purchase APIs corresponding to purchase button inputs, etc., and examples of APIs with medium resource usage may include APIs for setting schedules such as delivery schedule dates, etc. In addition, examples of APIs with low resource usage may include APIs for changing delivery addresses, APIs for inputting personal pass codes related to overseas direct purchases, etc.

圖7係示出設定請求資訊處理模型中包括之第3處理模型之一示例之圖。 FIG. 7 is a diagram showing an example of a third processing model included in the setting request information processing model.

於圖7中,電子裝置100能夠以如下方式管理:將自利用服務之複數個用戶獲得之請求資訊區分為於服務上對應於具有較高資源使用量之API組而獲得之請求資訊、對應於具有中高等資源使用量之API組而獲得之請求資訊、及對應於具有較低資源使用量之API組而獲得之請求資訊,且藉由與服務相關聯之一個以上之伺服器對對應於各API組而獲得之 請求資訊進行處理(700)。此時,第3處理模型能夠以與701相同之形態應用,該第3處理模型對應於各API組將要處理之請求資訊之個數限制為為了各API組而設定之各臨界個數以內。 In FIG. 7 , the electronic device 100 can manage the request information obtained from multiple users using the service in the following manner: the request information obtained corresponding to the API group with higher resource usage, the request information obtained corresponding to the API group with medium and high resource usage, and the request information obtained corresponding to the API group with lower resource usage on the service, and the request information obtained corresponding to each API group is processed by one or more servers associated with the service ( 700 ). At this time, the third processing model can be applied in the same form as 701, and the third processing model limits the number of request information to be processed corresponding to each API group to within the critical number set for each API group.

於圖7中,藉由應用第3處理模型,可對應於具有較高資源使用量之API組將要處理之請求資訊之個數限制為1,000個以內,可對應於具有中等資源使用量之API組將要處理之請求資訊之個數限制為5,000個以內,可對應於具有較低資源使用量之API組將要處理之請求資訊之個數限制為10,000個以內,因此,用於各API組之資源容量能夠以不能為0之方式管理。又,此種第3處理模型能夠設定為藉由管理者之選擇輸入來應用。 In FIG. 7, by applying the third processing model, the number of request information to be processed for the API group with high resource usage can be limited to within 1,000, the number of request information to be processed for the API group with medium resource usage can be limited to within 5,000, and the number of request information to be processed for the API group with low resource usage can be limited to within 10,000. Therefore, the resource capacity for each API group can be managed in a manner that cannot be zero. In addition, this third processing model can be set to be applied by the administrator's selection input.

例如,根據動作401由電子裝置100設定之請求資訊處理模型可包括第4處理模型,該第4處理模型對應於服務之用戶而將每單位時間要處理之請求資訊之個數限制為第3臨界個數以下。 For example, the request information processing model set by the electronic device 100 according to action 401 may include a fourth processing model, which limits the number of request information to be processed per unit time to less than the third critical number corresponding to the user of the service.

如上所述之第4處理模型相當於在與服務相關聯之一個以上之伺服器(server)中包括之各伺服器中,用於防止因特定用戶之重複輸入而於短時間內獲得過多之請求資訊所產生負荷之處理模型,且第4處理模型能夠設定為根據應用第4處理模型之管理者之選擇輸入來應用。 The fourth processing model described above is equivalent to a processing model for preventing a load from being generated by excessive request information being obtained in a short period of time due to repeated input from a specific user in each of the one or more servers associated with the service, and the fourth processing model can be set to be applied according to the selection input of the administrator who applies the fourth processing model.

於服務上,用戶可藉由各種APIs進行各種輸入,產生與用戶之輸入對應之請求資訊,由各伺服器進行處理,但若用戶進行反覆多次點擊(click)或觸摸(touch)等輸入、或使用宏(macro)等而於短時間內產生大量之請求資訊,即便放任伺服器全部處理,亦會產生不必要之負荷,因此電子裝置100以避免出現相同之問題之方式管理可能非常重要。因此,電子裝置100能夠以如下方式管理:對應於服務上之各用戶,確認每單位 時間獲得之請求資訊之個數,必要時將各用戶之每單位時間要處理之請求資訊之個數限制為第3臨界個數以下。 On the service, users can use various APIs to perform various inputs, generate request information corresponding to the user's input, and each server processes it. However, if the user repeatedly clicks or touches, or uses macros to generate a large amount of request information in a short period of time, even if the server is allowed to process all of them, it will generate unnecessary load. Therefore, it may be very important to manage the electronic device 100 in a way to avoid the same problem. Therefore, the electronic device 100 can be managed in the following way: corresponding to each user on the service, confirm the number of request information obtained per unit time, and limit the number of request information to be processed per unit time of each user to less than the third critical number when necessary.

此處,為了第4處理模型而設定之第3臨界個數可為藉由管理者之輸入來設定之值。 Here, the third critical number set for the fourth processing model can be a value set by the administrator's input.

例如,自用戶每單位時間獲得之請求資訊之個數可藉由與服務相關聯之一個以上之伺服器共同對應之一個外部快取(Cache)而進行確認。即,於應用其他處理模型時,與在一個以上之伺服器中包括之各伺服器中分別設定之快取有所不同,於第4處理模型之情況下,設定了與一個以上之伺服器共同對應之一個外部快取,從而可容易地追蹤自用戶獲得之請求資訊之個數。 For example, the number of request information obtained from a user per unit time can be confirmed by an external cache that corresponds to one or more servers associated with the service. That is, unlike caches that are set separately in each server included in one or more servers when applying other processing models, in the case of the fourth processing model, an external cache that corresponds to one or more servers is set, so that the number of request information obtained from a user can be easily tracked.

例如,自用戶每單位時間獲得之請求資訊之個數可基於用戶之識別資訊及用戶正在使用中之API之資訊而進行確認。即,由於用戶藉由重複輸入而產生大量之請求資訊很可能為在特定之API中實行之動作,因此電子裝置100可有效利用用戶之識別資訊與用戶正在使用中之API之資訊來追蹤藉由與此相同之用戶之動作而確認之請求資訊。 For example, the number of request information obtained from a user per unit time can be confirmed based on the user's identification information and the information of the API that the user is using. That is, since a large amount of request information generated by the user through repeated input is likely to be an action implemented in a specific API, the electronic device 100 can effectively use the user's identification information and the information of the API that the user is using to track the request information confirmed by the same user's action.

例如,電子裝置100可藉由API標識符(Identifier)而確認與上述相同之用戶正在使用中之API之資訊。各API中使用之用語之定義、資訊處理途徑、事件名稱等可能會有所不同,因此電子裝置100可設定識別各API之標識符,且藉由已設定之標識符來追蹤用戶正在使用中之API之資訊。 For example, the electronic device 100 can confirm the information of the API that the user is using by the same API identifier as above. The definitions of terms used in each API, information processing paths, event names, etc. may be different, so the electronic device 100 can set an identifier to identify each API, and use the set identifier to track the information of the API that the user is using.

圖8係示出設定請求資訊處理模型中包括之第4處理模型之一示例之圖。 FIG8 is a diagram showing an example of the fourth processing model included in the setting request information processing model.

於圖8中,電子裝置100能夠以如下方式管理:可將自利用 服務之複數個用戶獲得之請求資訊區分為對應於各用戶而獲得之請求資訊,且藉由與服務相關聯之一個以上之伺服器對對應於各用戶而獲得之請求資訊進行處理(800)。 In FIG. 8 , the electronic device 100 can manage in the following manner: request information obtained from a plurality of users utilizing the service can be divided into request information corresponding to each user, and the request information corresponding to each user is processed by one or more servers associated with the service (800).

於圖8中,藉由應用第4處理模型,而以如下方式進行管理,即,對應於根據識別資訊區分之特定用戶而獲得之請求資訊之個數不超過每1分鐘20個(801),為了確認各用戶每單位時間獲得之請求資訊,可設定與一個以上之伺服器共同對應之一個外部快取(803)。此種第4處理模型能夠以根據管理者之選擇輸入來應用之方式設定。 In FIG8 , by applying the fourth processing model, management is performed in the following manner, that is, the number of request information corresponding to a specific user distinguished by identification information does not exceed 20 per minute (801), and in order to confirm the request information obtained per unit time for each user, an external cache (803) corresponding to one or more servers can be set. This fourth processing model can be set in a manner that is applied according to the administrator's selection input.

例如,根據動作401由電子裝置100設定之請求資訊處理模型可包括第5處理模型,該第5處理模型中斷藉由服務而獲得之全部請求資訊之處理。 For example, the request information processing model set by the electronic device 100 according to action 401 may include a fifth processing model, which interrupts the processing of all request information obtained through the service.

如上所述之第5處理模型相當於在發生藉由與服務相關聯之一個以上之伺服器(server)來處理請求資訊之問題時,中斷用以處理全部請求資訊之處理模型,且第5處理模型能夠設定為根據應用第5處理模型之管理者之選擇輸入來應用。 The fifth processing model described above is equivalent to interrupting the processing model for processing all request information when a problem occurs in processing request information by one or more servers associated with the service, and the fifth processing model can be set to be applied according to the selection input of the administrator who applies the fifth processing model.

第5處理模型能夠以如下方式設定:於各伺服器單位中指示中斷請求資訊處理,以免於各伺服器中處理請求資訊,或者對於在請求資訊傳達至各伺服器之前之前端指示中斷請求資訊處理,以免於各伺服器中處理請求資訊。 The fifth processing model can be set as follows: instructing each server unit to interrupt the processing of request information so as not to process the request information in each server, or instructing the front end to interrupt the processing of request information before the request information is transmitted to each server so as not to process the request information in each server.

圖9係示出設定請求資訊處理模型中包括之第5處理模型之一示例之圖。 FIG9 is a diagram showing an example of the fifth processing model included in the setting request information processing model.

於圖9中,電子裝置100能夠以如下方式藉由第5處理模型而進行管理,即,防止藉由各伺服器對藉由服務而獲得之全部請求資訊進 行處理(900),且此種第5處理模型能夠設定為根據管理者之選擇輸入來應用。 In FIG. 9 , the electronic device 100 can be managed by the fifth processing model in the following manner, that is, preventing each server from processing all request information obtained by the service (900), and this fifth processing model can be set to be applied according to the administrator's selection input.

例如,可拒絕對如下之請求資訊進行處理:超過基於請求資訊處理模型中包括之各處理模型而限制之臨界個數。 For example, you may refuse to process a request message that exceeds a critical number of restrictions imposed by each processing model included in the request message processing model.

例如,電子裝置100可根據請求資訊處理模型中包括之各處理模型而確認拒絕處理之請求資訊之個數。具體而言,電子裝置100可設定與請求資訊處理模型中包括之各處理模型對應之各處理模型狀態識別資訊,且基於各處理模型狀態識別資訊,根據各處理模型而確認拒絕處理之請求資訊之個數。 For example, the electronic device 100 can confirm the number of request information that is rejected according to each processing model included in the request information processing model. Specifically, the electronic device 100 can set each processing model state identification information corresponding to each processing model included in the request information processing model, and based on each processing model state identification information, confirm the number of request information that is rejected according to each processing model.

根據各種實施例,於動作403中,電子裝置100可基於請求資訊處理模型中包括之至少一個處理模型,處理藉由服務而獲得之請求資訊。 According to various embodiments, in action 403, the electronic device 100 may process the request information obtained through the service based on at least one processing model included in the request information processing model.

例如,根據動作403,電子裝置100可有效利用處理請求資訊之至少一個處理模型,於上述第1處理模型至上述第5處理模型中藉由電子裝置100之管理者之第1輸入來選擇。即,電子裝置100之管理者可根據情況而選擇應用處理請求資訊之處理模型。 For example, according to action 403, the electronic device 100 can effectively utilize at least one processing model for processing request information, which is selected by the first input of the administrator of the electronic device 100 from the first processing model to the fifth processing model. That is, the administrator of the electronic device 100 can select the processing model to be applied for processing request information according to the situation.

例如,根據動作403,電子裝置100可基於電子裝置100之管理者之第2輸入,而設定在為了處理請求資訊而設定之請求資訊處理模型中包括之各處理模型中限制之各臨界個數。即,電子裝置100之管理者可根據情況而設定用於各處理模型之請求資訊處理之臨界個數。 For example, according to action 403, the electronic device 100 can set the critical number of restrictions in each processing model included in the request information processing model set for processing the request information based on the second input of the administrator of the electronic device 100. That is, the administrator of the electronic device 100 can set the critical number of request information processing used for each processing model according to the situation.

例如,根據動作403,電子裝置100可基於與服務相關之環境參數資訊,而設定在為了處理請求資訊而設定之請求資訊處理模型中包括之各處理模型中限制之各臨界個數。即,電子裝置100能夠以如下方式 管理:電子裝置100之管理者不設定用於各處理模型之請求資訊處理之臨界個數,而根據與服務相關之環境參數資訊來設定用於各處理模型之請求資訊處理之臨界個數。 For example, according to action 403, the electronic device 100 can set the critical numbers of restrictions in each processing model included in the request information processing model set for processing the request information based on the environmental parameter information related to the service. That is, the electronic device 100 can be managed in the following manner: the administrator of the electronic device 100 does not set the critical number of request information processing for each processing model, but sets the critical number of request information processing for each processing model based on the environmental parameter information related to the service.

例如,如上所述之環境參數資訊可包括能夠影響伺服器之請求資訊處理之參數之資訊中之至少一種資訊,例如上述一個以上之伺服器之個數之資訊、用於上述服務之總資源容納量之資訊、及/或是否於預計請求資訊會增減之上述服務上進行促銷之資訊。 For example, the environmental parameter information as described above may include at least one of the information of parameters that can affect the request information processing of the server, such as information on the number of the above-mentioned one or more servers, information on the total resource capacity used for the above-mentioned service, and/or information on whether to conduct promotions on the above-mentioned service for which the request information is expected to increase or decrease.

另一方面,電子裝置100亦可設定層(layer)構造,將根據圖4為了處理請求資訊而設定之請求資訊處理模型應用於通用演算法(Algorithm)中。即,電子裝置100可設定與請求資訊處理模型對應之層(layer)構造,且根據已設定之層構造,請求資訊處理模型可應用於用於電子裝置100之動作之通用演算法中。 On the other hand, the electronic device 100 can also set a layer structure to apply the request information processing model set according to FIG. 4 for processing request information to a general algorithm. That is, the electronic device 100 can set a layer structure corresponding to the request information processing model, and according to the set layer structure, the request information processing model can be applied to the general algorithm used for the action of the electronic device 100.

圖10係示出用以將請求資訊處理模型應用於用於電子裝置100之動作之演算法中之層構造的一示例之圖。 FIG. 10 is a diagram showing an example of a layer structure for applying the request information processing model to an algorithm for the operation of the electronic device 100.

於圖10中,於電子裝置100為了處理請求資訊而設定第1處理模型至第5處理模型之情形時(1001),可在用於電子裝置100之動作之演算法中之一個示例演算法、即Bucket4J核心(core)演算法1005中設定可應用上述第1處理模型至上述第5處理模型之展示層(Facade Layer)構造(1003)。 In FIG. 10 , when the electronic device 100 sets the first to fifth processing models to process request information (1001), a facade layer structure (1003) that can apply the first to fifth processing models can be set in Bucket4J core algorithm 1005, which is an example algorithm among algorithms used for the operation of the electronic device 100.

由圖10可知,第1處理模型對應於「伺服器速率限制(Server Rate Limit)」,第2處理模型對應於「保留速率限制(Reserved Rate Limit)」,第3處理模型對應於「並發速率限制(Concurrent Rate Limit)」,第4處理模型對應於「API+客戶端速率限制(API+Client Rate Limit)」,第5處理模型對應於「自毀開關(Kill Switch)」。 As shown in Figure 10, the first processing model corresponds to "Server Rate Limit", the second processing model corresponds to "Reserved Rate Limit", the third processing model corresponds to "Concurrent Rate Limit", the fourth processing model corresponds to "API+Client Rate Limit", and the fifth processing model corresponds to "Kill Switch".

毋庸贅言,根據圖4至圖10,電子裝置100在用於實行資訊處理之動作方法之過程中設定或處理之各資訊能夠以各種形態來結合。 Needless to say, according to FIGS. 4 to 10 , each information set or processed by the electronic device 100 in the process of implementing the action method for information processing can be combined in various forms.

圖11至圖14係示出基於包括第1處理模型至第5處理模型之請求資訊處理模型而處理請求資訊之一示例之圖。例如,圖11至圖14之示例可於伺服器裝置300中處理對應於用戶裝置200之輸入而產生之請求資訊,且可於圖4至圖10中基於上述電子裝置100之動作而實行以下圖式中說明之各實施例。 Figures 11 to 14 are diagrams showing an example of processing request information based on a request information processing model including the first processing model to the fifth processing model. For example, the examples of Figures 11 to 14 can process request information generated in response to input from the user device 200 in the server device 300, and can implement the various embodiments described in the following figures based on the actions of the above-mentioned electronic device 100 in Figures 4 to 10.

具體而言,以下圖式中說明之各實施例能夠以如下形態實行:於用戶裝置200自用戶接收輸入資訊並將與上述輸入資訊相關之請求資訊傳輸至伺服器裝置300時,伺服器裝置300可於圖4至圖10中基於電子裝置100之動作來處理請求資訊。然而,以下圖式中說明之各實施例並不限定於此種形態,能夠以可實現各實施例之所有形態實行。 Specifically, each embodiment described in the following figures can be implemented in the following form: when the user device 200 receives input information from the user and transmits request information related to the input information to the server device 300, the server device 300 can process the request information based on the action of the electronic device 100 in Figures 4 to 10. However, each embodiment described in the following figures is not limited to this form, and can be implemented in all forms that can implement each embodiment.

圖11係示出基於各種實施例之請求資訊處理模型而處理請求資訊之一示例的圖。 FIG. 11 is a diagram showing an example of processing request information based on a request information processing model of various embodiments.

於圖11中,可確認基於請求資訊處理模型,應用相當於「自毀開關」之第5處理模型與相當於「伺服器速率限制」之第1處理模型。與電子裝置100對應之管理者將第5處理模型設定為關(off)(1101),於視需要中斷對全部請求資訊之處理之情形時,可再次將其設定為開(on)。 In FIG. 11 , it can be confirmed that the fifth processing model equivalent to the "self-destruct switch" and the first processing model equivalent to the "server rate limit" are applied based on the request information processing model. The administrator corresponding to the electronic device 100 sets the fifth processing model to off (1101), and can set it to on again when it is necessary to interrupt the processing of all request information.

又,於圖11中,與電子裝置100對應之管理者於可確認各伺服器中之請求資訊之處理將產生負荷,例如於每1分鐘需要處理之請求資訊之個數為100,000個以上之情形時(1103-1),基於第1處理模型,可在各伺服器中將每1分鐘要處理之請求資訊之個數限制為10,000個以下 (1103-2)。 In addition, in FIG. 11 , the administrator corresponding to the electronic device 100 can confirm that the processing of request information in each server will generate a load. For example, when the number of request information to be processed per minute is more than 100,000 (1103-1), based on the first processing model, the number of request information to be processed per minute in each server can be limited to less than 10,000 (1103-2).

此時,如上所述之各處理模型之應用並不限制於圖11中所示之順序,可根據與電子裝置100對應之管理者之輸入或各處理模型是否滿足預設之條件等來應用各處理模型。 At this time, the application of each processing model as described above is not limited to the order shown in FIG. 11 , and each processing model can be applied according to the input of the administrator corresponding to the electronic device 100 or whether each processing model meets the preset conditions.

圖12係示出基於各種實施例之請求資訊處理模型而處理請求資訊之另一示例的圖。為了方便起見,圖12之示例示出了追加應用至圖11之示例之第4處理模型,但第4處理模型之應用形態並不限定於圖12,第4處理模型可單獨應用或與各種其他處理模型組合而一併應用。 FIG. 12 is a diagram showing another example of processing request information based on the request information processing model of various embodiments. For convenience, the example of FIG. 12 shows the fourth processing model added to the example of FIG. 11, but the application form of the fourth processing model is not limited to FIG. 12, and the fourth processing model can be applied alone or in combination with various other processing models.

於圖12中,可確認基於請求資訊處理模型,應用相當於「自毀開關」之第5處理模型、相當於「伺服器速率限制」之第1處理模型及相當於「API+客戶端速率限制」之第4處理模型。與圖11中記述同樣地,圖12中與電子裝置100對應之管理者:1)將第5處理模型設定為關(1201),2)對應於每1分鐘要處理之請求資訊之個數為100,000個以上之情形,可根據第1處理模型,於各伺服器中將每1分鐘要處理之請求資訊之個數限制為10,000個以內(1203-1、1203-2)。 In FIG12, it can be confirmed that the fifth processing model equivalent to the "self-destruct switch", the first processing model equivalent to the "server rate limit", and the fourth processing model equivalent to the "API+client rate limit" are applied based on the request information processing model. As described in FIG11, the administrator corresponding to the electronic device 100 in FIG12: 1) sets the fifth processing model to off (1201), 2) corresponding to the situation where the number of request information to be processed per minute is more than 100,000, the number of request information to be processed per minute in each server can be limited to within 10,000 according to the first processing model (1203-1, 1203-2).

又,於圖12中,與電子裝置100對應之管理者於自用戶獲得之請求資訊之個數為每1分鐘20個以上、或用於自用戶獲得之請求資訊之輸入為每1分鐘20次以上之情形時(1205-1),基於第4處理模型,可將對應於該用戶之每1分鐘要處理之請求資訊之個數限制為20個以下(1205-2)。 Furthermore, in FIG. 12 , when the number of request information obtained from the user by the administrator corresponding to the electronic device 100 is more than 20 per minute, or the input for the request information obtained from the user is more than 20 times per minute (1205-1), based on the fourth processing model, the number of request information to be processed per minute corresponding to the user can be limited to less than 20 (1205-2).

此時,如上所述之各處理模型之應用並不限制於圖12中所示之順序,可根據與電子裝置100對應之管理者之輸入或各處理模型是否滿足預設之條件等來應用各處理模型。 At this time, the application of each processing model as described above is not limited to the order shown in FIG. 12 , and each processing model can be applied according to the input of the administrator corresponding to the electronic device 100 or whether each processing model meets the preset conditions.

圖13係示出基於各種實施例之請求資訊處理模型而處理請求資訊之另一示例的圖。為了方便起見,圖13之示例示出了追加應用至圖12之示例之第2處理模型,但第2處理模型之應用形態並不限定於圖13,第2處理模型可單獨應用或與各種其他處理模型組合而一併應用。 FIG. 13 is a diagram showing another example of processing request information based on the request information processing model of various embodiments. For convenience, the example of FIG. 13 shows the second processing model added to the example of FIG. 12, but the application form of the second processing model is not limited to FIG. 13, and the second processing model can be applied alone or in combination with various other processing models.

於圖13中,可確認基於請求資訊處理模型,應用相當於「自毀開關」之第5處理模型、相當於「伺服器速率限制」之第1處理模型、相當於「API+客戶端速率限制」之第4處理模型及相當於「保留速率限制」之第2處理模型。與圖12中記述同樣地,圖13中與電子裝置100對應之管理者:1)將第5處理模型設定為關(1301),2)於每1分鐘要處理之請求資訊之個數為100,000個以上之情形時,根據第1處理模型,於各伺服器中將每1分鐘要處理之請求資訊之個數限制為10,000個以內(1303-1、1303-2),3)於自用戶獲得之請求資訊之個數為每1分鐘20個以上、或用於自用戶獲得之請求資訊之輸入為每1分鐘20次以上之情形時,基於第4處理模型,可將對應於該用戶之每1分鐘要處理之請求資訊之個數限制為20個以下(1305-1、1305-2)。 In FIG. 13 , it can be confirmed that based on the request information processing model, the fifth processing model equivalent to the “self-destruct switch”, the first processing model equivalent to the “server rate limit”, the fourth processing model equivalent to the “API+client rate limit”, and the second processing model equivalent to the “retention rate limit” are applied. As described in FIG. 12 , the administrator corresponding to the electronic device 100 in FIG. 13 : 1) sets the fifth processing model to off ( 1301 ), 2) when the number of request information to be processed per minute is more than 100,000, according to the first processing model, the number of request information to be processed per minute in each server is limited to within 10,000 ( 1 303-1, 1303-2), 3) When the number of request information obtained from the user is more than 20 per minute, or the input for the request information obtained from the user is more than 20 times per minute, based on the fourth processing model, the number of request information to be processed per minute corresponding to the user can be limited to less than 20 (1305-1, 1305-2).

又,於圖13中,與電子裝置100對應之管理者能夠以如下方式管理:將與服務對應之複數個APIs(Application Programming Interfaces,應用程式介面)根據重要度分類為具有較高重要度之API組與具有較低重要度之API組時,由於對應於具有較低重要度之API組而處理之請求資訊之個數為8,000個以上,故而判斷為超過需要(1307-1),基於第2處理模型,可對應於具有較低重要度之API組,於各伺服器中將每單位時間要處理之請求資訊之個數限制為8,000個以下,對應於具有較高重要度之API組,於各伺服器中可每單位時間處理2,000個請求資訊(1307- 2)。 Furthermore, in FIG. 13 , the administrator corresponding to the electronic device 100 can manage in the following manner: when the multiple APIs (Application Programming Interfaces) corresponding to the service are classified into an API group with a higher importance and an API group with a lower importance according to the importance, since the number of request information processed corresponding to the API group with a lower importance is more than 8,000, it is judged that it is excessive (1307-1). Based on the second processing model, the number of request information to be processed per unit time in each server can be limited to less than 8,000 corresponding to the API group with a lower importance, and 2,000 request information can be processed per unit time in each server corresponding to the API group with a higher importance (1307- 2).

此時,如上所述之各處理模型之應用並不限制於圖13中所示之順序,可根據與電子裝置100對應之管理者之輸入或各處理模型是否滿足預設之條件等來應用各處理模型。 At this time, the application of each processing model as described above is not limited to the order shown in FIG. 13 , and each processing model can be applied according to the input of the administrator corresponding to the electronic device 100 or whether each processing model meets the preset conditions.

圖14係示出基於各種實施例之請求資訊處理模型而處理請求資訊之另一示例的圖。為了方便起見,圖14之示例示出了追加應用至圖13之示例之第3處理模型,但第3處理模型之應用形態並不限定於圖14,第3處理模型可單獨應用或與各種其他處理模型組合而一併應用。 FIG. 14 is a diagram showing another example of processing request information based on the request information processing model of various embodiments. For convenience, the example of FIG. 14 shows the third processing model added to the example of FIG. 13, but the application form of the third processing model is not limited to FIG. 14, and the third processing model can be applied alone or in combination with various other processing models.

於圖14中,可確認基於請求資訊處理模型,應用相當於「自毀開關」之第5處理模型、相當於「伺服器速率限制」之第1處理模型、相當於「API+客戶端速率限制」之第4處理模型、相當於「保留速率限制」之第2處理模型及相當於「並發限制(Concurrent Limit)」之第3處理模型。與圖13中記述同樣地,圖14中與電子裝置100對應之管理者:1)將第5處理模型設定為關(1401),2)於每1分鐘要處理之請求資訊之個數為100,000個以上之情形時,根據第1處理模型,可於各伺服器中將每1分鐘要處理之請求資訊之個數限制為10,000個以內(1403-1、1403-2,3)於自用戶獲得之請求資訊之個數為每1分鐘20個以上、或自用戶獲得之請求資訊之輸入為每1分鐘20次以上之情形時,基於第4處理模型,可將對應於該用戶之每1分鐘要處理之請求資訊之個數限制為20個以下(1405-1、1405-2)。又,與電子裝置100對應之管理者能夠以如下方式管理:4)確認對應於具有較低重要度之API組而處理之請求資訊之個數為8,000個以上時,根據第2處理模型,對應於具有較低重要度之API組,於各伺服器中將每單位時間要處理之請求資訊之個數限制為8,000個以下,對應於具有 較高重要度之API組,於各伺服器中可每單位時間處理2,000個請求資訊(1407-1、1407-2)。 In FIG. 14 , it can be confirmed that based on the request information processing model, the 5th processing model equivalent to the “self-destruct switch”, the 1st processing model equivalent to the “server rate limit”, the 4th processing model equivalent to the “API+client rate limit”, the 2nd processing model equivalent to the “retention rate limit” and the 3rd processing model equivalent to the “concurrent limit” are applied. Similar to the description in FIG. 13 , the administrator corresponding to the electronic device 100 in FIG. 14 : 1) sets the fifth processing model to off (1401); 2) when the number of request information to be processed per minute is more than 100,000, the number of request information to be processed per minute can be limited to 10,000 or less in each server according to the first processing model (1403-1, 1403-2); 3) when the number of request information obtained from the user is more than 20 per minute, or the input of the request information obtained from the user is more than 20 times per minute, based on the fourth processing model, the number of request information to be processed per minute corresponding to the user can be limited to less than 20 (1405-1, 1405-2). Furthermore, the administrator corresponding to the electronic device 100 can manage as follows: 4) When it is confirmed that the number of request information processed corresponding to the API group with lower importance is more than 8,000, according to the second processing model, the number of request information to be processed per unit time in each server corresponding to the API group with lower importance is limited to less than 8,000, and the number of request information to be processed per unit time in each server corresponding to the API group with higher importance is limited to 2,000 (1407-1, 1407-2).

此外,於圖14中,與電子裝置100對應之管理者能夠以如下方式管理:根據資源使用量,將與服務對應之複數個APIs(Application Programming Interfaces,應用程式介面)分類為具有較高資源使用量之API組、具有中等資源使用量之API組及具有較低資源使用量之API組時,根據對應於具有較高資源使用量之API組而處理之請求資訊之個數,判斷為超過分配給具有較高資源使用量之API組之資源容量(1409-1),基於第3處理模型,對應於分配給具有較高資源使用量之API組之資源容量,以可處理之請求資訊之臨界個數為1,000個以內之方式限制該API組之請求資訊處理,對應於具有較高資源使用量之API組,最多可處理1,000個請求資訊(1409-2)。 In addition, in FIG. 14 , the administrator corresponding to the electronic device 100 can manage the following manner: according to the resource usage, the multiple APIs (Application Programming When the API groups (Application Programming Interfaces) are classified into API groups with high resource usage, API groups with medium resource usage, and API groups with low resource usage, the number of request messages processed corresponding to the API groups with high resource usage is judged to exceed the resource capacity allocated to the API groups with high resource usage (1409-1). Based on the third processing model, the resource capacity allocated to the API groups with high resource usage is used to limit the request message processing of the API groups to a critical number of 1,000 request messages that can be processed. For the API groups with high resource usage, a maximum of 1,000 request messages can be processed (1409-2).

此時,如上所述之各處理模型之應用並不限制於圖14中所示之順序,可根據與電子裝置100對應之管理者之輸入或各處理模型是否滿足預設之條件等來應用各處理模型。 At this time, the application of each processing model as described above is not limited to the order shown in FIG. 14 , and each processing model can be applied according to the input of the administrator corresponding to the electronic device 100 or whether each processing model meets the preset conditions.

圖11至圖14之示例可與圖4至圖10中記述之電子裝置100之動作相關聯地實行,圖11至圖14之示例係用於揭示本發明之一個示例,本發明之各種實施例不限定於圖11至圖14之示例形態,可根據能夠實現本發明之各種實施例之所有形態來實行。 The examples of Figures 11 to 14 can be implemented in association with the actions of the electronic device 100 described in Figures 4 to 10. The examples of Figures 11 to 14 are used to disclose an example of the present invention. Various embodiments of the present invention are not limited to the example forms of Figures 11 to 14, and can be implemented according to all forms of various embodiments that can implement the present invention.

本說明書與圖式中所公開之本發明之實施例僅為用以容易地說明本發明之技術內容且幫助理解本發明之特定例,並非為了限定本發明之範圍。即,對於本發明所屬之技術領域內具有常識者而言,當然明白可實施基於本發明之技術思想之其他變化例。又,上述每個實施例可視需 要而相互組合並運用。例如,本發明之所有實施例中,可將一部分相互組合,藉由系統而實現。 The embodiments of the present invention disclosed in this specification and drawings are only used to easily explain the technical content of the present invention and help understand the specific examples of the present invention, and are not intended to limit the scope of the present invention. That is, for those with common sense in the technical field to which the present invention belongs, it is clear that other variations based on the technical ideas of the present invention can be implemented. In addition, each of the above embodiments can be combined and used as needed. For example, among all the embodiments of the present invention, some can be combined with each other and implemented through the system.

又,本發明之系統等之方法能夠以藉由各種電腦機構而實行之程式命令形態來實現,且記錄於電腦可讀媒體。 Furthermore, the system and methods of the present invention can be implemented in the form of program commands executed by various computer mechanisms and recorded in computer-readable media.

如上所述,於特定觀點下,本發明之各種實施例可於電腦可讀記錄媒體(computer readable recording medium)中實現為電腦可讀代碼(computer readable code)。電腦可讀記錄媒體係能夠儲存可藉由電腦系統而讀取之資料之任意資料儲存設備。電腦可讀記錄媒體之示例可包括:唯讀記憶體(read only memory,ROM)、隨機存取記憶體(random access memory,RAM)、光碟唯讀記憶體(compact disk-read only memory,CD-ROM)、磁帶(magnetic tape)、軟碟(floppy disk)、光資料儲存設備及載波(carrier wave)(藉由網際網路進行之資料發送等)。電腦可讀記錄媒體亦可藉由連接於網路之電腦系統而分散,因此以分散方式儲存並執行電腦可讀代碼。又,用以達成本發明之各種實施例之功能性程式、代碼及片段(segment)可由應用本發明之領域之熟練程式設計師容易地解釋。 As described above, in certain aspects, various embodiments of the present invention may be implemented as computer readable code in a computer readable recording medium. A computer readable recording medium is any data storage device capable of storing data that can be read by a computer system. Examples of computer readable recording media may include: read only memory (ROM), random access memory (RAM), compact disk-read only memory (CD-ROM), magnetic tape, floppy disk, optical data storage device, and carrier wave (data transmission via the Internet, etc.). The computer-readable recording medium can also be distributed through computer systems connected to a network, thereby storing and executing computer-readable codes in a distributed manner. In addition, the functional programs, codes, and segments used to implement various embodiments of the present invention can be easily explained by skilled programmers in the field of application of the present invention.

又,可知本發明之各種實施例之裝置及方法能夠以硬體、軟體、或硬體與軟體之組合之形態來實現。此種軟體例如可與是否可刪除或可再次記錄無關地儲存於如ROM等儲存裝置之揮發性或非揮發性儲存裝置、或例如RAM、記憶體晶片、裝置或積體電路之記憶體、或例如光碟(compact disk,CD)、DVD(Digital Versatile Disc,數位多功能光碟)、磁碟或磁帶等可光學或磁性地記錄並且可由機器(例如電腦)讀取之儲存媒體。可知本發明之各種實施例之方法可藉由包括控制部及記憶體之電腦或包括如上所述之記憶體或電腦之車輛等而實現,此種記憶體係包括 實現本發明之實施例之命令之程式或可由適於儲存程式之機器讀取之儲存媒體的一例。 Furthermore, it is known that the apparatus and methods of various embodiments of the present invention can be implemented in the form of hardware, software, or a combination of hardware and software. Such software can be stored, for example, in a volatile or non-volatile storage device such as a ROM, or a memory such as a RAM, a memory chip, a device or an integrated circuit, or a storage medium such as a compact disk (CD), a DVD (Digital Versatile Disc), a disk or a tape that can be recorded optically or magnetically and can be read by a machine (such as a computer), regardless of whether it can be deleted or recorded again. It is known that the methods of various embodiments of the present invention can be implemented by a computer including a control unit and a memory or a vehicle including the memory or computer as described above, and such a memory is an example of a storage medium that includes a program for implementing the commands of the embodiments of the present invention or can be read by a machine suitable for storing the program.

因此,本發明包括:用以實現本說明書之發明申請專利範圍中記載之裝置或方法之代碼的程式、及可由儲存此種程式之機器(電腦等)讀取之儲存媒體。又,此種程式可藉由如藉由有線或無線連接來傳輸之通訊信號之任意媒體而進行電子移送,本發明適當地包括其均等物。 Therefore, the present invention includes: a program of code for implementing the device or method described in the scope of the invention application of this specification, and a storage medium that can be read by a machine (computer, etc.) storing such a program. In addition, such a program can be electronically transferred through any medium such as a communication signal transmitted by a wired or wireless connection, and the present invention appropriately includes its equivalents.

又,可理解為上述說明之本發明之實施例僅為示例,於本領域內具有常識者可據此實現各種變化及均等範圍之實施例。因此,本發明之真正之技術保護範圍應根據以下之發明申請專利範圍而界定。 In addition, it can be understood that the embodiments of the present invention described above are only examples, and those with common sense in the field can realize various variations and equivalent embodiments based on them. Therefore, the true technical protection scope of the present invention should be defined according to the following invention patent application scope.

401:動作 401:Action

403:動作 403:Action

Claims (15)

一種資訊處理方法,其係藉由電子裝置而處理請求資訊者,其包括如下步驟:設定與藉由服務而獲得之請求資訊之處理相關之請求資訊處理模型;及基於上述請求資訊處理模型中包括之至少一個處理模型,處理藉由上述服務而獲得之請求資訊;上述請求資訊處理模型包括如下模型:第1處理模型,其在與上述服務相關聯之一個以上之伺服器中包括之各伺服器中,將每單位時間要處理之請求資訊之個數限制為第1臨界個數以下;第2處理模型,其對應於將與上述服務對應之複數個APIs根據重要度來分類之複數個第一API組中之特定API組,於上述各伺服器中將每單位時間要處理之請求資訊之個數限制為第2臨界個數以下;及第3處理模型,其對應於將上述複數個APIs根據資源使用量來分類之複數個第二API組中包括之各API組,將要處理之各請求資訊之個數限制為為了上述各API組而設定之各臨界個數以下。 An information processing method for processing request information by an electronic device comprises the following steps: setting a request information processing model related to the processing of request information obtained by a service; and processing the request information obtained by the service based on at least one processing model included in the request information processing model; the request information processing model comprises the following models: a first processing model, which limits the number of request information to be processed per unit time to a first critical number in each server included in one or more servers associated with the service. The second processing model corresponds to a specific API group in the plurality of first API groups that classify the plurality of APIs corresponding to the above service according to importance, and limits the number of request information to be processed per unit time in each of the above servers to less than the second critical number; and the third processing model corresponds to each API group included in the plurality of second API groups that classify the plurality of APIs corresponding to the above service according to resource usage, and limits the number of each request information to be processed to less than each critical number set for each of the above API groups. 如請求項1之資訊處理方法,其中上述請求資訊處理模型包括如下模型:第4處理模型,其對應於上述服務之用戶而將每單位時間要處理之 請求資訊之個數限制為第3臨界個數以下。 The information processing method of claim 1, wherein the request information processing model includes the following models: the fourth processing model, which corresponds to the user of the above service and limits the number of request information to be processed per unit time to less than the third critical number. 如請求項2之資訊處理方法,其中藉由與上述一個以上之伺服器共同對應之一個外部快取而確認自上述用戶每單位時間獲得之請求資訊之個數。 The information processing method of request item 2, wherein the number of request information obtained from the above-mentioned user per unit time is confirmed by an external cache corresponding to the above-mentioned one or more servers. 如請求項2之資訊處理方法,其中基於上述用戶之識別資訊及上述用戶正在使用中之API之資訊,確認自上述用戶每單位時間獲得之請求資訊之個數。 The information processing method of request item 2, wherein based on the identification information of the above user and the information of the API being used by the above user, the number of request information obtained from the above user per unit time is confirmed. 如請求項4之資訊處理方法,其進而包括如下步驟:藉由API標識符而確認上述API之資訊。 The information processing method of claim 4 further includes the following steps: confirming the information of the above API by using the API identifier. 如請求項1之資訊處理方法,其中上述請求資訊處理模型包括如下模型:第5處理模型,其中斷藉由上述服務而獲得之全部請求資訊之處理。 The information processing method of request item 1, wherein the request information processing model includes the following models: the fifth processing model, which interrupts the processing of all request information obtained through the above service. 如請求項1之資訊處理方法,其中拒絕對如下之請求資訊進行處理:超過基於上述請求資訊處理模型中包括之各處理模型而限制之臨界個數。 The information processing method of request item 1, wherein the following request information is refused to be processed: exceeding the critical number limited by each processing model included in the above request information processing model. 如請求項1之資訊處理方法,其進而包括如下步驟:設定與上述請求資訊處理模型中包括之各處理模型對應之各處理 模型狀態識別資訊;及基於上述各處理模型狀態識別資訊,根據上述各處理模型而確認拒絕處理之請求資訊之個數。 The information processing method of request item 1 further includes the following steps: setting each processing model state identification information corresponding to each processing model included in the above-mentioned request information processing model; and based on the above-mentioned each processing model state identification information, confirming the number of request information that is rejected for processing according to the above-mentioned each processing model. 如請求項1之資訊處理方法,其中上述至少一個處理模型係基於與上述電子裝置對應之管理者之第1輸入而選擇。 An information processing method as claimed in claim 1, wherein the at least one processing model is selected based on a first input from a manager corresponding to the electronic device. 如請求項1之資訊處理方法,其中上述第1臨界個數、上述第2臨界個數、及用於上述各API組之上述各臨界個數係基於與上述電子裝置對應之管理者之第2輸入而設定。 The information processing method of claim 1, wherein the first critical number, the second critical number, and the critical numbers for each of the API groups are set based on the second input of the administrator corresponding to the electronic device. 如請求項1之資訊處理方法,其中上述第1臨界個數、上述第2臨界個數、及用於上述各API組之上述各臨界個數係基於與上述服務相關之環境參數資訊而設定。 The information processing method of claim 1, wherein the first critical number, the second critical number, and the critical numbers for each of the API groups are set based on the environment parameter information related to the service. 如請求項11之資訊處理方法,其中上述環境參數資訊包括上述一個以上之伺服器之個數之資訊、用於上述服務之總資源容納量之資訊、及是否於預計請求資訊會增減之上述服務上進行促銷之資訊中的至少一者。 The information processing method of claim 11, wherein the environmental parameter information includes at least one of information about the number of the one or more servers, information about the total resource capacity used for the service, and information about whether to conduct promotions on the service for which the request information is expected to increase or decrease. 如請求項1之資訊處理方法,其進而包括如下步驟:設定與上述請求資訊處理模型對應之層構造;且基於上述層構造,上述請求資訊處理模型應用於用於上述電子裝置之動作之演算法中。 The information processing method of claim 1 further includes the following steps: setting a layer structure corresponding to the above-mentioned request information processing model; and based on the above-mentioned layer structure, the above-mentioned request information processing model is applied to the algorithm used for the action of the above-mentioned electronic device. 一種非暫時性電腦可讀記錄媒體,其係記錄用以於電腦中執行資訊處理方法之程式者,上述資訊處理方法包括如下步驟:設定與藉由服務而獲得之請求資訊之處理相關之請求資訊處理模型;及基於上述請求資訊處理模型中包括之至少一個處理模型,處理藉由上述服務而獲得之請求資訊;上述請求資訊處理模型包括如下模型:第1處理模型,其在與上述服務相關聯之一個以上之伺服器中包括之各伺服器中,將每單位時間要處理之請求資訊之個數限制為第1臨界個數以下;第2處理模型,其對應於將與上述服務對應之複數個APIs根據重要度來分類之複數個第一API組中之特定API組,於上述各伺服器中將每單位時間要處理之請求資訊之個數限制為第2臨界個數以下;及第3處理模型,其對應於將上述複數個APIs根據資源使用量來分類之複數個第二API組中包括之各API組,將要處理之各請求資訊之個數限制為為了上述各API組而設定之各臨界個數以下。 A non-transitory computer-readable recording medium records a program for executing an information processing method in a computer, the information processing method comprising the following steps: setting a request information processing model related to the processing of request information obtained through a service; and processing the request information obtained through the service based on at least one processing model included in the request information processing model; the request information processing model comprises the following models: a first processing model that, in each of the one or more servers associated with the service, processes the request information to be processed per unit time. The number is limited to be below the first critical number; the second processing model corresponds to a specific API group in the first API groups in which the plurality of APIs corresponding to the above service are classified according to importance, and the number of request information to be processed per unit time in each of the above servers is limited to be below the second critical number; and the third processing model corresponds to each API group included in the second API groups in which the plurality of APIs corresponding to the above service are classified according to resource usage, and the number of each request information to be processed is limited to be below the critical number set for each of the above API groups. 一種電子裝置,其係處理請求資訊者,其包括:處理器;及一個以上之記憶體,其儲存一個以上之指令; 上述一個以上之指令於執行時,控制上述處理器以便實行如下步驟:設定與藉由服務而獲得之請求資訊之處理相關之請求資訊處理模型;及基於上述請求資訊處理模型中包括之至少一個處理模型,處理藉由上述服務而獲得之請求資訊;上述請求資訊處理模型包括如下模型:第1處理模型,其在與上述服務相關聯之一個以上之伺服器中包括之各伺服器中,將每單位時間要處理之請求資訊之個數限制為第1臨界個數以下;第2處理模型,其對應於將與上述服務對應之複數個APIs根據重要度來分類之複數個第一API組中之特定API組,於上述各伺服器中將每單位時間要處理之請求資訊之個數限制為第2臨界個數以下;及第3處理模型,其對應於將上述複數個APIs根據資源使用量來分類之複數個第二API組中包括之各API組,將要處理之各請求資訊之個數限制為為了上述各API組而設定之各臨界個數以下。 An electronic device for processing request information, comprising: a processor; and one or more memories storing one or more instructions; when the one or more instructions are executed, the processor is controlled to perform the following steps: setting a request information processing model related to the processing of request information obtained through a service; and processing the request information obtained through the service based on at least one processing model included in the request information processing model; the request information processing model includes the following models: a first processing model, in each server included in one or more servers associated with the service, The number of request information to be processed per unit time is limited to less than the first critical number; the second processing model corresponds to a specific API group in a plurality of first API groups in which the plurality of APIs corresponding to the above service are classified according to importance, and the number of request information to be processed per unit time in each of the above servers is limited to less than the second critical number; and the third processing model corresponds to each API group included in a plurality of second API groups in which the plurality of APIs corresponding to the above service are classified according to resource usage, and the number of each request information to be processed is limited to less than each critical number set for each of the above API groups.
TW112134201A 2022-09-15 2023-09-08 Operating method for electronic apparatus for processing information and electronic apparatus supporting thereof TWI879074B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020220116220A KR102918498B1 (en) 2022-09-15 Operating method for electronic apparatus for processing information and electronic apparatus supporting thereof
KR10-2022-0116220 2022-09-15

Publications (2)

Publication Number Publication Date
TW202422451A TW202422451A (en) 2024-06-01
TWI879074B true TWI879074B (en) 2025-04-01

Family

ID=90275355

Family Applications (2)

Application Number Title Priority Date Filing Date
TW112134201A TWI879074B (en) 2022-09-15 2023-09-08 Operating method for electronic apparatus for processing information and electronic apparatus supporting thereof
TW114107719A TWI894110B (en) 2022-09-15 2023-09-08 Operating method for electronic apparatus for processing information and electronic apparatus supporting thereof

Family Applications After (1)

Application Number Title Priority Date Filing Date
TW114107719A TWI894110B (en) 2022-09-15 2023-09-08 Operating method for electronic apparatus for processing information and electronic apparatus supporting thereof

Country Status (2)

Country Link
TW (2) TWI879074B (en)
WO (1) WO2024058294A1 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040024817A1 (en) * 2002-07-18 2004-02-05 Binyamin Pinkas Selectively restricting access of automated agents to computer services
TW200731136A (en) * 2005-10-20 2007-08-16 Microsoft Corp Load balancing
US20090307353A1 (en) * 2008-06-10 2009-12-10 International Business Machines Corporation Requester-Side Autonomic Governor Method
US9313215B2 (en) * 2011-09-26 2016-04-12 Visa International Service Association Monitoring and limiting requests to access system resources
TW201722109A (en) * 2015-12-01 2017-06-16 廣達電腦股份有限公司 Server resource management system and management method thereof
WO2020000944A1 (en) * 2018-06-25 2020-01-02 星环信息科技(上海)有限公司 Preemptive scheduling based resource sharing use method, system and
CN113326107A (en) * 2020-02-28 2021-08-31 中科星图股份有限公司 Kubernetes cluster-based periodic task scheduling method and electronic equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7634542B1 (en) * 2005-07-01 2009-12-15 Sprint Communications Company L.P. System and method to manage service instances for request processing
KR20080079343A (en) * 2006-12-15 2008-09-01 주식회사 케이티프리텔 Server and method for monitoring middleware server in mobile communication network

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040024817A1 (en) * 2002-07-18 2004-02-05 Binyamin Pinkas Selectively restricting access of automated agents to computer services
TW200731136A (en) * 2005-10-20 2007-08-16 Microsoft Corp Load balancing
US20090307353A1 (en) * 2008-06-10 2009-12-10 International Business Machines Corporation Requester-Side Autonomic Governor Method
US9313215B2 (en) * 2011-09-26 2016-04-12 Visa International Service Association Monitoring and limiting requests to access system resources
TW201722109A (en) * 2015-12-01 2017-06-16 廣達電腦股份有限公司 Server resource management system and management method thereof
WO2020000944A1 (en) * 2018-06-25 2020-01-02 星环信息科技(上海)有限公司 Preemptive scheduling based resource sharing use method, system and
CN113326107A (en) * 2020-02-28 2021-08-31 中科星图股份有限公司 Kubernetes cluster-based periodic task scheduling method and electronic equipment

Also Published As

Publication number Publication date
TW202526783A (en) 2025-07-01
KR20240037558A (en) 2024-03-22
WO2024058294A1 (en) 2024-03-21
TWI894110B (en) 2025-08-11
TW202422451A (en) 2024-06-01

Similar Documents

Publication Publication Date Title
TWI901037B (en) Operating method for electronic apparatus for providing information and electronic apparatus supporting thereof
KR20240110915A (en) Operating method for providing information related to item and electronic apparatus supporting thereof
TW202411912A (en) Method for providing membership page and electronic device supporting thereof
TWI879074B (en) Operating method for electronic apparatus for processing information and electronic apparatus supporting thereof
TWI900910B (en) Operating method for electronic apparatus for providing information and electronic apparatus supporting thereof
TWI875282B (en) Operating method for electronic apparatus for providing information and electronic apparatus supporting thereof
KR102918498B1 (en) Operating method for electronic apparatus for processing information and electronic apparatus supporting thereof
TWI862111B (en) Operating method for electronic apparatus for providing information and electronic apparatus supporting thereof
TWI871045B (en) Operating method for electronic apparatus for providing information and electronic apparatus supporting thereof
TWI864836B (en) Operating method for electronic apparatus for providing information and electronic apparatus supporting thereof
TWI875039B (en) Operating method for electronic apparatus for performing cashe update and electronic apparatus supporting thereof
TWI904908B (en) Operating method for electronic apparatus for configuring performing of test and electronic apparatus supporting thereof
TWI897071B (en) Operating method for electronic apparatus for providing information and electronic apparatus supporting thereof
KR102630699B1 (en) Operating method for electronic apparatus for transmitting data and electronic apparatus supporting thereof
KR102787009B1 (en) Operating method for electronic apparatus for configuring information and electronic apparatus supporting thereof
TWI875172B (en) Method for managing log information and electronic apparatus thereof
TWI899784B (en) Operating method for electronic apparatus for configuring assignment of delivery task and electronic apparatus supporting thereof
TWI892223B (en) Operating method for electronic apparatus for providing information and electronic apparatus supporting thereof
KR102369857B1 (en) Operating method for electronic apparatus for providing advertisement message and electronic apparatus supporting thereof
TW202441417A (en) Operating method for electronic apparatus for providing information and electronic apparatus supporting thereof
TW202431185A (en) Method for detecting abnormal users and electronic apparatus supporting thereof
TW202443465A (en) Promotion information management method and electronic apparatus thereof
TW202433376A (en) Operating method for electronic apparatus for providing information and electronic apparatus supporting thereof
TW202433378A (en) Method for managing account information and electronic device supporting thereof
TW202514485A (en) Operating method for electronic apparatus for providing information and electronic apparatus supporting thereof