[go: up one dir, main page]

TWI864521B - Operating method for configuring data serving structure and electronic apparatus supporting thereof - Google Patents

Operating method for configuring data serving structure and electronic apparatus supporting thereof Download PDF

Info

Publication number
TWI864521B
TWI864521B TW111147086A TW111147086A TWI864521B TW I864521 B TWI864521 B TW I864521B TW 111147086 A TW111147086 A TW 111147086A TW 111147086 A TW111147086 A TW 111147086A TW I864521 B TWI864521 B TW I864521B
Authority
TW
Taiwan
Prior art keywords
data
service structure
service
data service
information
Prior art date
Application number
TW111147086A
Other languages
Chinese (zh)
Other versions
TW202324093A (en
Inventor
普拉卡敘 卡戴爾
金度賢
金基賢
金泰伊
Original Assignee
韓商韓領有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 韓商韓領有限公司 filed Critical 韓商韓領有限公司
Publication of TW202324093A publication Critical patent/TW202324093A/en
Application granted granted Critical
Publication of TWI864521B publication Critical patent/TWI864521B/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/54Interprogram communication
    • G06F9/546Message passing systems or structures, e.g. queues
    • 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/30Arrangements for executing machine instructions, e.g. instruction decode
    • 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/54Interprogram communication
    • 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/54Interprogram communication
    • G06F9/541Interprogram communication via adapters, e.g. between incompatible applications
    • 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/54Interprogram communication
    • G06F9/545Interprogram communication where tasks reside in different layers, e.g. user- and kernel-space
    • 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]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • General Engineering & Computer Science (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Storage Device Security (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

Disclosed is a method of configuring a data serving structure by an electronic apparatus providing a service, the method including identifying information on a frontend including a plurality of customer page domains for the service and information on a backend including a plurality of backend data domains related to a database for the service, obtaining configuration information for configuring a data serving structure between the frontend and the backend, and based on the configuration information, configuring the data serving structure including a main data serving structure for serving data requested by the frontend.

Description

用於架構資料服務結構之操作方法及支援該操作方法之電子設備Operation method for constructing data service structure and electronic equipment supporting the operation method

本發明係關於一種架構一資料服務結構之方法及其設備,且更特定言之,本發明係關於一種基於用於資料服務之一可選擇性應用之服務結構來架構一資料服務結構之方法及其電子設備。The present invention relates to a method and an apparatus for constructing a data service structure, and more particularly, the present invention relates to a method and an electronic apparatus for constructing a data service structure based on a service structure of a selectable application for data service.

隨著電子技術之發展,電子商務已變成一購物領域。客戶可線上購買物品,無需親自去一購物中心或市場,且線上購買之物品被遞送至客戶要求之遞送位址。With the development of electronic technology, e-commerce has become a shopping field. Customers can purchase items online without having to go to a shopping mall or market in person, and the items purchased online are delivered to the delivery address requested by the customer.

就電子商務而言,由於提供關於產品之詳細及準確資訊對服務滿意度具有重要影響,因此用於提供更詳細及準確資訊之各種方法正在被討論。In the context of e-commerce, since providing detailed and accurate information about products has a significant impact on service satisfaction, various methods for providing more detailed and accurate information are being discussed.

在此方面,可參考相關領域之文件,諸如KR101756594B1或KR101500849B1。In this regard, reference may be made to documents in related fields, such as KR101756594B1 or KR101500849B1.

[技術目標][Technical objectives]

一態樣提供一種基於一可選擇性應用之服務結構來架構一資料服務結構之電子設備。One aspect provides an electronic device for constructing a data service structure based on a service structure with selectable applications.

本發明要達成之技術目標不限於上文所提及之技術態樣,且本發明所屬技術之熟習者將自以下描述清楚地理解未提及之其他技術態樣。 [技術解決方案] The technical objectives to be achieved by the present invention are not limited to the technical aspects mentioned above, and those familiar with the technology to which the present invention belongs will clearly understand other technical aspects not mentioned from the following description. [Technical Solution]

各種實例實施例可提供一種操作用於架構一資料服務結構之一電子設備之方法及支援該方法之電子設備。Various example embodiments may provide a method of operating an electronic device for constructing a data service structure and an electronic device supporting the method.

根據一態樣中,提供一種藉由一電子設備提供一服務來架構一資料服務結構之方法,該方法包含:識別關於包含用於該服務之複數個客戶頁面域之一前端之資訊及關於包含與用於該服務之一資料庫相關之複數個後端資料域之一後端之資訊;獲得用於架構該前端與該後端之間的一資料服務結構之架構資訊;及基於該架構資訊,架構該資料服務結構包含用於服務由該前端請求之資料之一主資料服務結構。According to one aspect, a method for constructing a data service structure by providing a service through an electronic device is provided, the method comprising: identifying information about a front end including a plurality of client page domains used for the service and information about a back end including a plurality of back end data domains associated with a database used for the service; obtaining architecture information for constructing a data service structure between the front end and the back end; and based on the architecture information, constructing the data service structure to include a master data service structure for serving data requested by the front end.

在一態樣中,該架構資訊可包含用於架構該主資料服務結構之主架構資訊,且該主資料服務結構包含對應於該複數個後端資料域之複數個資料佇列、其中儲存透過該複數個資料佇列傳輸之資料之一儲存器及自該儲存器調用該請求資料且將該請求資料傳輸至該前端之一服務層。In one embodiment, the architecture information may include main architecture information for constructing the main data service structure, and the main data service structure includes a plurality of data queues corresponding to the plurality of backend data domains, a storage device storing data transmitted through the plurality of data queues, and a service layer that calls the request data from the storage device and transmits the request data to the front end.

在一態樣中,該架構資訊可進一步包含用於架構一第一額外資料服務結構添加至該主資料服務結構之第一額外架構資訊或用於架構一第二額外資料服務結構添加至該主資料服務結構之第二額外架構資訊。In one aspect, the architecture information may further include first additional architecture information for architecture a first additional data service structure to be added to the main data service structure or second additional architecture information for architecture a second additional data service structure to be added to the main data service structure.

在一態樣中,該第一額外資料服務結構可包含:一快取區,其經架構以自該儲存器獲得及儲存包含於儲存於該儲存器中之資料中之資料之至少一部分;一更新資料佇列,其經架構以在該儲存器中識別對應於包含於資料之該至少一部分中之第一資料之更新第一資料時將該更新第一資料傳輸至該快取區;及一快取更新管理器,其經架構以管理透過該更新資料佇列傳輸至該快取區之該更新第一資料。該第二額外資料服務結構可包含:一即時快取區,其經架構以透過該複數個資料佇列中與第二資料相關之一特定資料佇列來獲得及儲存對應於該第二資料之即時更新第二資料,該第二資料在儲存於該資料庫中之資料中被判定為需要即時更新;及一即時快取更新管理器,其經架構以管理透過該特定資料佇列傳輸至該即時快取區之該即時更新第二資料。In one embodiment, the first additional data service structure may include: a cache area, which is configured to obtain and store at least a portion of the data contained in the data stored in the storage; an update data queue, which is configured to transmit the updated first data to the cache area when the updated first data corresponding to the first data contained in the at least a portion of the data is identified in the storage; and a cache update manager, which is configured to manage the updated first data transmitted to the cache area through the update data queue. The second additional data service structure may include: a real-time cache area, which is constructed to obtain and store real-time updated second data corresponding to the second data through a specific data queue related to the second data among the multiple data queues, and the second data is determined to require real-time update in the data stored in the database; and a real-time cache update manager, which is constructed to manage the real-time updated second data transmitted to the real-time cache area through the specific data queue.

在一態樣中,該架構資訊可包含用於使該第一額外資料服務結構及該第二額外資料服務結構與該主資料服務結構之間相互作用之資訊。In one aspect, the architecture information may include information for enabling the first additional data service structure and the second additional data service structure to interact with the main data service structure.

在一態樣中,當更新該第一資料時,基於對應於該儲存器之一更新週期之一第一週期,可透過該複數個資料佇列中與該第一資料相關之一資料佇列將該更新第一資料傳輸至該儲存器,且當根據該第一週期在該儲存器及該更新資料佇列中識別該更新第一資料時,可指示該快取更新管理器透過該更新資料佇列將該更新第一資料傳輸至該快取區。In one aspect, when the first data is updated, based on a first cycle corresponding to an update cycle of the memory, the updated first data can be transmitted to the memory through a data queue related to the first data among the plurality of data queues, and when the updated first data is identified in the memory and the update data queue according to the first cycle, the cache update manager can be instructed to transmit the updated first data to the cache area through the update data queue.

在一態樣中,架構該資料服務結構可包含基於該第一額外架構資訊來架構包含該主資料服務結構及該第一額外資料服務結構之該資料服務結構。該服務層可優先自該快取區調用該請求資料且將該請求資料傳輸至該前端。當在該快取區中未識別該請求資料時,該服務層可自該儲存器調用該請求資料且將該請求資料傳輸至該前端。In one embodiment, constructing the data service structure may include constructing the data service structure including the main data service structure and the first additional data service structure based on the first additional architecture information. The service layer may preferentially call the request data from the cache and transmit the request data to the front end. When the request data is not recognized in the cache, the service layer may call the request data from the memory and transmit the request data to the front end.

在一態樣中,可基於儲存於該儲存器中之資料中之一資料調用優先權來選擇儲存於該快取區中之該資料之該至少一部分儲存於該快取區中,且可基於來自該服務層之資料調用次數來判定該資料調用優先權。In one aspect, the at least a portion of the data stored in the cache may be selected to be stored in the cache based on a data call priority among the data stored in the memory, and the data call priority may be determined based on the number of data calls from the service layer.

在一態樣中,當在該儲存器中識別該更新第一資料且在該快取區中識別未更新之該第一資料時,針對該第一資料之更新請求資訊可由該服務層傳輸。In one aspect, when the updated first data is identified in the memory and the unupdated first data is identified in the cache, an update request message for the first data may be transmitted by the service layer.

在一態樣中,當更新該第二資料時,可基於對應於即時之一第二週期、透過該特定資料佇列將該即時更新第二資料傳輸至該即時快取區。In one aspect, when the second data is updated, the real-time updated second data may be transmitted to the real-time cache through the specific data queue based on a second cycle corresponding to the real-time.

在一態樣中,架構該資料服務結構可包含基於該第二額外架構資訊來架構包含該主資料服務結構及該第二額外資料服務結構之該資料服務結構。基於該請求資料是否對應於需要即時更新之資料,該服務層可自該即時快取區調用該請求資料且將其傳輸至該前端。In one embodiment, constructing the data service structure may include constructing the data service structure including the main data service structure and the second additional data service structure based on the second additional architecture information. Based on whether the request data corresponds to data that needs to be updated in real time, the service layer may call the request data from the real-time cache and transmit it to the front end.

在一態樣中,架構該資料服務結構可包含基於該第一額外架構資訊及該第二額外架構資訊來架構該資料服務結構包含該主資料服務結構、該第一額外資料服務結構及該第二額外資料服務結構。當該請求資料對應於需要即時更新之資料時,該服務層可自該快取區及該即時快取區兩者調用該請求資料。由該服務層自該快取區及該即時快取區調用之資料中之最新資料可傳輸至該前端。In one embodiment, constructing the data service structure may include constructing the data service structure including the main data service structure, the first additional data service structure, and the second additional data service structure based on the first additional architecture information and the second additional architecture information. When the request data corresponds to data that needs to be updated in real time, the service layer may call the request data from both the cache area and the real-time cache area. The latest data of the data called by the service layer from the cache area and the real-time cache area may be transmitted to the front end.

在一態樣中,當該請求資料不對應於需要即時更新之資料,該服務層可自該快取區調用該請求資料且將其傳輸至該前端。In one aspect, when the request data does not correspond to data that needs to be updated in real time, the service layer can call the request data from the cache and transmit it to the front end.

在一態樣中,該方法可進一步包含獲得關於該請求資料是否對應於需要即時更新之資料之資訊。In one aspect, the method may further include obtaining information about whether the requested data corresponds to data that needs to be updated in real time.

在一態樣中,當該前端請求包含複數個資料之一資料集且該請求資料包含於該複數個資料中時,可基於所有該複數個資料由該服務層在該儲存器、該快取區或該即時快取區中調用來將該請求資料傳輸至該前端。In one aspect, when the front-end request includes a data set of a plurality of data and the request data is included in the plurality of data, the request data may be transmitted to the front-end based on all of the plurality of data being called by the service layer in the storage, the cache, or the real-time cache.

在一態樣中,對應於該資料集之識別資訊經架構用於該複數個資料,且該識別資訊可用於識別所有該複數個資料自該儲存器、該快取區或該即時快取區調用。In one aspect, identification information corresponding to the data set is constructed for the plurality of data, and the identification information can be used to identify all of the plurality of data to be called from the memory, the cache, or the immediate cache.

在一態樣中,獲得該架構資訊可包含:識別關於與該服務相關之一第一服務域之資訊;識別關於該複數個後端資料域中與該第一服務域相關之一或多個後端資料域之資訊;基於關於該一或多個後端資料域之該資訊,識別關於是否將架構該第一額外資料服務結構之第一資訊及關於是否將架構該第二額外資料服務結構之第二資訊;及基於該第一資訊及該第二資訊,獲得判定為包含該第一額外架構資訊或該第二額外架構資訊之該架構資訊。In one embodiment, obtaining the architecture information may include: identifying information about a first service domain associated with the service; identifying information about one or more backend data domains among the plurality of backend data domains that are associated with the first service domain; based on the information about the one or more backend data domains, identifying first information about whether the first additional data service structure will be constructed and second information about whether the second additional data service structure will be constructed; and based on the first information and the second information, obtaining the architecture information determined to include the first additional architecture information or the second additional architecture information.

在一態樣中,該請求資料可自對應於包含於該複數個客戶頁面域中之一第一客戶頁面域之一第一客戶頁面請求。In one aspect, the request data may be from a first customer page request corresponding to a first customer page domain included in the plurality of customer page domains.

根據另一態樣,亦提供一種用於架構與一服務相關之一資料服務結構之電子設備,該電子設備包含一處理器及其中儲存一或多個指令之一或多個記憶體,其中該一或多個指令在被執行時控制該處理器執行:識別關於包含用於該服務之複數個客戶頁面域之一前端之資訊及關於包含與用於該服務之一資料庫相關之複數個後端資料域之一後端之資訊;獲得用於架構該前端與該後端之間的一資料服務結構之架構資訊;及基於該架構資訊,架構該資料服務結構包含用於服務由該前端請求之資料之一主資料服務結構。According to another aspect, an electronic device for constructing a data service structure associated with a service is also provided, the electronic device including a processor and one or more memories storing one or more instructions, wherein the one or more instructions, when executed, control the processor to execute: identifying information about a front end including a plurality of client page domains for the service and information about a back end including a plurality of back end data domains associated with a database for the service; obtaining architectural information for constructing a data service structure between the front end and the back end; and based on the architectural information, constructing the data service structure including a master data service structure for serving data requested by the front end.

本發明之上述各種實例實施例僅係本發明之一些實例實施例,且熟習技術者可基於下文將描述之詳細描述來獲得及理解其中反映本發明之各種實例實施例之技術特徵之各種實例實施例。 [效應] The above-mentioned various exemplary embodiments of the present invention are only some exemplary embodiments of the present invention, and those skilled in the art can obtain and understand various exemplary embodiments reflecting the technical features of various exemplary embodiments of the present invention based on the detailed description to be described below. [Effect]

本發明提供一種基於可選擇性應用於架構一資料服務結構之一電子設備之一服務結構來架構一資料服務結構之方法,使得其在減少用於資料服務之處理延遲及最佳化資料服務方面具有一技術效應。The present invention provides a method for constructing a data service structure based on a service structure of an electronic device that can be selectively applied to construct a data service structure, so that it has a technical effect in reducing the processing delay used for data services and optimizing data services.

本發明中可獲得之效應不限於上文所提及之效應,且本發明所屬技術之熟習者將自以下描述清楚地理解未提及之其他效應。The effects that can be obtained in the present invention are not limited to the effects mentioned above, and those skilled in the art to which the present invention belongs will clearly understand other effects that are not mentioned from the following description.

以下實例實施例以一預定形式組合各種實例性實施例之組件及特徵。各組件或特徵可被視為選用的,除非另有明確說明。各組件或特徵可以不與其他組件或特徵組合之一形式實施。另外,各種實例實施例可藉由組合一些組件及特徵來架構。在各種實例實施例中描述之操作順序可改變。一個實例實施例之一些架構或特徵可包含於另一實例實施例中,或可用另一實例實施例之對應架構或特徵替換。The following example embodiments combine components and features of various example embodiments in a predetermined form. Each component or feature may be considered optional unless otherwise explicitly stated. Each component or feature may be implemented in a form that is not combined with other components or features. In addition, various example embodiments may be constructed by combining some components and features. The order of operations described in various example embodiments may be changed. Some structures or features of one example embodiment may be included in another example embodiment, or may be replaced with corresponding structures or features of another example embodiment.

在圖式之描述中,未描述會使各種實例實施例之主旨不清楚之程序或操作,且亦未描述一般技術者可理解之程序或操作。In the description of the drawings, processes or operations that would make the subject matter of various exemplary embodiments unclear are not described, and processes or operations that can be understood by a person of ordinary skill in the art are not described.

在整個說明書中,當一部件被稱為「包括或包含」一特定組件時,除非另有說明,否則其意謂可進一步包含其他組件,而非排除其他組件。另外,說明書中描述之諸如「...部件」、「...群組」及「模組」之術語意謂處理至少一個功能或操作之一單元,其可經實施為硬體或軟體或硬體及軟體之一組合。此外,「一」、「一個」、「該」及其類似相關術語可在描述各種實例實施例之背景中(尤其在以下申請專利範圍之背景中)用於意指包含單數及複數兩者,除非另有指示或與背景明顯矛盾。Throughout the specification, when a component is referred to as "including or comprising" a specific component, unless otherwise specified, it means that other components may be further included, rather than excluding other components. In addition, terms such as "...component", "...group" and "module" described in the specification mean a unit that processes at least one function or operation, which can be implemented as hardware or software or a combination of hardware and software. In addition, "a", "an", "the" and similar related terms may be used in the context of describing various example embodiments (especially in the context of the following patent application scope) to include both the singular and the plural, unless otherwise indicated or clearly contradictory to the context.

在下文中,將參考附圖詳細描述一些實例實施例。下文結合附圖闡述之詳細描述意欲描述各種實例實施例之例示性實施例,而非意欲表示唯一實施例。In the following, some example embodiments will be described in detail with reference to the accompanying drawings. The detailed description below in conjunction with the accompanying drawings is intended to describe exemplary embodiments of various example embodiments, but is not intended to represent the only embodiment.

另外,在各種實例實施例中使用之特定術語供於理解各種實例實施例,且在不背離各種實例實施例之技術精神之情況下,此等特定術語之使用可變為其他形式。In addition, specific terms used in various exemplary embodiments are provided for understanding the various exemplary embodiments, and the use of these specific terms may be changed to other forms without departing from the technical spirit of the various exemplary embodiments.

圖1係繪示根據各種實例實施例之用於實施操作一電子設備用於架構一資料服務結構之一方法之一資料服務結構架構系統的一圖式。FIG. 1 is a diagram illustrating a data service structure architecture system for implementing a method of operating an electronic device for constructing a data service structure according to various example embodiments.

參考圖1,根據各種實例實施例之一資料服務結構架構系統可在各種類型之電子設備中實施。例如,資料服務結構架構系統可在一伺服器裝置100及與伺服器裝置100相互作用之一裝置200中實施。換言之,伺服器裝置100及與伺服器裝置100相互作用之裝置200可基於在各設備中實施之資料服務結構架構系統來執行根據本發明之各種實例實施例之操作。同時,根據各種實例實施例之資料服務結構架構系統不限於圖1中所展示之系統,而是可在更多各種電子設備及伺服器中實施。Referring to FIG. 1 , a data service structure architecture system according to various example embodiments can be implemented in various types of electronic devices. For example, the data service structure architecture system can be implemented in a server device 100 and a device 200 that interacts with the server device 100. In other words, the server device 100 and the device 200 that interacts with the server device 100 can perform operations according to various example embodiments of the present invention based on the data service structure architecture system implemented in each device. At the same time, the data service structure architecture system according to various example embodiments is not limited to the system shown in FIG. 1 , but can be implemented in more various electronic devices and servers.

根據各種實例實施例之伺服器裝置100可為執行與伺服器裝置100相互作用之裝置200之無線及有線通信且包含具有一大儲存容量之儲存器之一設備。例如,伺服器裝置100可為連接至與伺服器裝置100相互作用之裝置200之一雲裝置。The server device 100 according to various example embodiments may be a device that performs wireless and wired communications with the device 200 interacting with the server device 100 and includes a storage having a large storage capacity. For example, the server device 100 may be a cloud device connected to the device 200 interacting with the server device 100.

根據各種實例實施例之與伺服器裝置100相互作用之裝置200可為可由一個人使用者使用之一設備,諸如一桌上型個人電腦(PC)、一平板PC或一行動終端機及其類似者。另外,執行類似功能之其他電子設備可用作與伺服器裝置100相互作用之裝置200。The device 200 interacting with the server device 100 according to various exemplary embodiments may be a device that can be used by a human user, such as a desktop personal computer (PC), a tablet PC, or a mobile terminal and the like. In addition, other electronic devices performing similar functions may be used as the device 200 interacting with the server device 100.

根據各種實例實施例之一資料服務結構架構系統可包含用於操作之各種模組。包含於資料服務結構架構系統中之模組可為經實施使得其中實施(或實體設備中包含)資料服務結構架構系統之一實體設備(例如伺服器裝置100)可執行一指定操作之電腦代碼或一或多個指令。換言之,其中實施資料服務結構架構系統之實體設備可以電腦代碼之形式將複數個模組儲存於記憶體中,且當執行儲存於記憶體中之複數個模組時,複數個模組可引起實體設備執行對應於複數個模組之指定操作。According to various example embodiments, a data service structure architecture system may include various modules for operation. The modules included in the data service structure architecture system may be computer codes or one or more instructions implemented so that a physical device (e.g., server device 100) in which the data service structure architecture system is implemented (or included in the physical device) can execute a specified operation. In other words, the physical device in which the data service structure architecture system is implemented can store a plurality of modules in the form of computer codes in the memory, and when executing the plurality of modules stored in the memory, the plurality of modules can cause the physical device to execute the specified operations corresponding to the plurality of modules.

圖2係繪示根據各種實例實施例之一伺服器裝置及與伺服器裝置相互作用之一裝置之一架構的一圖式。FIG. 2 is a diagram illustrating an architecture of a server device and a device interacting with the server device according to various example embodiments.

參考圖2,伺服器裝置100及與伺服器裝置100相互作用之裝置200可各包含一輸入/輸出部件210、一通信部件220、一儲存器230及一處理器240。2 , the server device 100 and the device 200 interacting with the server device 100 may each include an input/output component 210 , a communication component 220 , a storage 230 , and a processor 240 .

輸入/輸出部件210可為接收使用者輸入或向使用者輸出資訊之各種介面或連接埠。輸入/輸出部件210可包含一輸入模組及一輸出模組,且輸入模組自一使用者接收一使用者輸入。使用者輸入可以各種形式進行,包含一按鍵輸入、一觸控輸入及一語音輸入。可接收此使用者輸入之輸入模組之實例可包含一傳統小鍵盤或鍵盤、滑鼠以及偵測一使用者之觸控之一觸控感測器、接收一語音信號之一麥克風、透過影像辨識來辨識一手勢及其類似者之一攝影機、包含偵測一使用者接近之一照度感測器或一紅外感測器之至少一者之一接近感測器、透過一加速度感測器或一陀螺儀感測器辨識一使用者之運動之一運動感測器及感測或接收各種類型之使用者輸入之其他各種類型之輸入部件,且根據本發明之一實例實施例之輸入模組可包含上列設備之至少一者。此處,觸控感測器可經實施為用於透過附接至顯示面板之一觸控面板或一觸控膜偵測一觸控之一壓電或電容觸控感測器、用於藉由一光學方法偵測一觸控之一光學觸控感測器及其類似者。另外,輸入模組可以一輸入介面(通用序列匯流排(USB)埠、個人系統2 (PS/2)埠等等)之形式實施用於連接接收一使用者輸入之一外部輸入設備而非本身偵測一使用者輸入之一設備。另外,輸出模組可輸出各種資訊。輸出模組可包含輸出一影像之一顯示器、輸出一聲音之一揚聲器、產生振動之一觸覺裝置及其他各種類型之輸出部件之至少一者。另外,輸出模組可以一埠型輸出介面之形式實施用於連接上述個別輸出部件。The input/output component 210 may be a variety of interfaces or ports for receiving user input or outputting information to the user. The input/output component 210 may include an input module and an output module, and the input module receives a user input from a user. User input may be performed in various forms, including a key input, a touch input, and a voice input. Examples of input modules that can receive this user input may include a traditional keypad or keyboard, a mouse, and a touch sensor that detects a user's touch, a microphone that receives a voice signal, a camera that recognizes a gesture and the like through image recognition, a proximity sensor that includes at least one of an illumination sensor or an infrared sensor that detects a user's approach, a motion sensor that recognizes a user's movement through an accelerometer or a gyroscope sensor, and other various types of input components that sense or receive various types of user input, and an input module according to an example embodiment of the present invention may include at least one of the above-listed devices. Here, the touch sensor may be implemented as a piezoelectric or capacitive touch sensor for detecting a touch through a touch panel or a touch film attached to a display panel, an optical touch sensor for detecting a touch by an optical method, and the like. In addition, the input module may be implemented in the form of an input interface (universal serial bus (USB) port, personal system 2 (PS/2) port, etc.) for connecting to an external input device that receives a user input rather than a device that detects a user input itself. In addition, the output module may output various information. The output module may include at least one of a display that outputs an image, a speaker that outputs a sound, a tactile device that generates vibration, and other various types of output components. In addition, the output module can be implemented in the form of a one-port output interface to connect the above-mentioned individual output components.

例如,顯示型輸出模組可顯示文字、靜態影像及動態影像。顯示器可包含一液晶顯示器(LCD)、一發光二極體(LED)顯示器、一有機發光二極體(OLED)顯示器、一平板顯示器(FPD)及一透明顯示器、一曲面顯示器、一可撓顯示器、一三維(3D)顯示器、一全像顯示器、一投影儀及能夠執行一影像輸出功能之其他各種類型之設備之至少一者。此一顯示器可呈與輸入模組之觸控感測器一體成型之一觸控顯示器之形式。For example, the display output module can display text, static images and dynamic images. The display can include a liquid crystal display (LCD), a light emitting diode (LED) display, an organic light emitting diode (OLED) display, a flat panel display (FPD) and a transparent display, a curved display, a flexible display, a three-dimensional (3D) display, a holographic display, a projector and at least one of other types of devices capable of performing an image output function. Such a display can be in the form of a touch display integrally formed with the touch sensor of the input module.

通信部件220可與其他設備通信。因此,伺服器裝置100及與伺服器裝置100相互作用之裝置200可透過通信部件向其他設備傳輸資訊/自其他設備接收資訊。例如,伺服器裝置100及與伺服器裝置100相互作用之裝置200可使用一通信部件彼此通信或與其他設備通信。The communication component 220 can communicate with other devices. Therefore, the server device 100 and the device 200 interacting with the server device 100 can transmit information to/receive information from other devices through the communication component. For example, the server device 100 and the device 200 interacting with the server device 100 can use a communication component to communicate with each other or with other devices.

此處,通信(即,資料之傳輸及接收)可有線或無線執行。為此,通信部件可由以下組成:透過一區域網路(LAN)存取網際網路及其類似者之一有線通信模組、透過一行動通信基地台存取一行動通信網路且傳輸及接收資料之一行動通信模組、使用諸如無線保真(Wi-Fi)之一無線區域網路(WLAN)通信方法或諸如藍牙或Zigbee之一無線個人區域網路(WPAN)通信方法之短距離通信模組、使用諸如全球定位系統(GPS)之全球導航衛星系統(GNSS)之衛星通信模組或其等之一組合。Here, communication (i.e., transmission and reception of data) may be performed wired or wirelessly. For this purpose, the communication means may consist of a wired communication module accessing the Internet and the like via a local area network (LAN), a mobile communication module accessing a mobile communication network via a mobile communication base station and transmitting and receiving data, a short-range communication module using a wireless local area network (WLAN) communication method such as Wireless Fidelity (Wi-Fi) or a wireless personal area network (WPAN) communication method such as Bluetooth or Zigbee, a satellite communication module using a global navigation satellite system (GNSS) such as a global positioning system (GPS), or a combination thereof.

儲存器230可儲存各種類型之資訊。儲存器可暫時或半永久儲存資料。例如,用於驅動伺服器100之一操作程式(作業系統:OS)、用於代管一網站之資料或關於用於產生盲文之一程式或應用程式(例如網路應用程式)之資料及其類似者可儲存於伺服器100之儲存器中。另外,儲存器可以上述電腦代碼之形式儲存模組。The memory 230 can store various types of information. The memory can temporarily or semi-permanently store data. For example, an operating program (operating system: OS) for driving the server 100, data for hosting a website, or data about a program or application (e.g., web application) for generating Braille, and the like can be stored in the memory of the server 100. In addition, the memory can store modules in the form of the above-mentioned computer code.

儲存器230之實例可包含一硬碟(HDD)、一固態硬碟(SSD)、一快閃記憶體、一唯讀記憶體(ROM)、一隨機存取記憶體(RAM)及其類似者。此儲存器可經提供為一內建式或一可抽換式。Examples of the memory 230 may include a hard disk drive (HDD), a solid state drive (SSD), a flash memory, a read-only memory (ROM), a random access memory (RAM), and the like. This memory may be provided as a built-in type or a removable type.

處理器240控制伺服器裝置100及與伺服器裝置100相互作用之裝置200之整體操作。為此,處理器240可執行各種類型資訊之計算及處理且可控制伺服器100之組件之操作。例如,處理器240可執行用於架構資料服務結構之一程式或應用程式。處理器240可經實施為根據硬體、軟體或其等之一組合之一電腦或一類似設備。在硬體中,處理器240可以處理電信號以執行一控制功能之一電子電路之形式實施,且在軟體中,其可以驅動硬體中之處理器240之一程式之形式實施。同時,在以下描述中,除非另有說明,否則伺服器裝置100及與伺服器裝置100相互作用之裝置200之操作可經解譯為在處理器240之控制下執行。即,當執行在上述資料服務結構架構系統中實施之模組時,模組可經解譯為處理器240控制伺服器裝置100及與伺服器裝置100相互作用之裝置200執行以下操作。The processor 240 controls the overall operation of the server device 100 and the devices 200 that interact with the server device 100. To this end, the processor 240 can perform calculations and processing of various types of information and can control the operation of components of the server 100. For example, the processor 240 can execute a program or application for building a data service structure. The processor 240 can be implemented as a computer or a similar device based on hardware, software, or a combination thereof. In hardware, the processor 240 can be implemented in the form of an electronic circuit that processes electrical signals to perform a control function, and in software, it can be implemented in the form of a program that drives the processor 240 in the hardware. Meanwhile, in the following description, unless otherwise stated, the operations of the server device 100 and the device 200 interacting with the server device 100 may be interpreted as being executed under the control of the processor 240. That is, when executing the module implemented in the above-mentioned data service structure architecture system, the module may be interpreted as the processor 240 controlling the server device 100 and the device 200 interacting with the server device 100 to perform the following operations.

總之,各種實例實施例可透過各種部件實施。例如,各種實例實施例可由硬體、韌體、軟體或其等之一組合實施。In summary, various example embodiments can be implemented by various components. For example, various example embodiments can be implemented by hardware, firmware, software or a combination thereof.

就由硬體實施而言,根據各種實例實施例之方法可由一或多個專用積體電路(ASIC)、數位信號處理器(DSP)、數位信號處理裝置(DSPD)、可程式化邏輯裝置(PLD)、場可程式化閘陣列(FPGA)、一處理器、一控制器、一微控制器、一微處理器及其類似者實施。In terms of hardware implementation, the methods according to various exemplary embodiments may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), a processor, a controller, a microcontroller, a microprocessor, and the like.

就由韌體或軟體實施而言,根據各種實例實施例之方法可以執行下述功能或操作之一模組、程序或功能之形式實施。例如,軟體代碼可儲存於一記憶體中且由一處理器驅動。記憶體可位於處理器內部或外部,且資料可藉由各種已知部件與處理器交換。In terms of implementation by firmware or software, the methods according to various exemplary embodiments may be implemented in the form of a module, a program or a function that performs the following functions or operations. 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 data may be exchanged with the processor through various known components.

在下文中,各種實例實施例將基於上述技術思想來更詳細描述。上述內容可應用於下述各種實例實施例。例如,可基於上述內容來執行及描述下述各種實例實施例中未定義之操作、功能、術語及其類似者。In the following, various exemplary embodiments will be described in more detail based on the above technical ideas. The above content can be applied to the various exemplary embodiments described below. For example, operations, functions, terms and the like not defined in the various exemplary embodiments described below can be performed and described based on the above content.

在以下描述中,各種實例實施例將在伺服器裝置100執行一資料服務結構架構操作之前提下描述,且根據各種實例實施例,伺服器裝置100可與伺服器裝置100相互作用之裝置200傳輸/接收與一資料服務結構架構操作相關之資訊。In the following description, various exemplary embodiments will be described under the premise that the server device 100 executes a data service architecture operation, and according to various exemplary embodiments, the server device 100 can transmit/receive information related to a data service architecture operation with the device 200 interacting with the server device 100.

圖3係繪示根據各種實例實施例之用於架構一資料服務結構之伺服器裝置100之一操作方法的一流程圖。FIG. 3 is a flow chart illustrating an operation method of the server device 100 for constructing a data service structure according to various exemplary embodiments.

根據圖3,伺服器裝置100可架構一資料服務結構。為執行架構資料服務結構之一操作,伺服器裝置100可在操作301中識別關於包含由伺服器裝置100提供之一服務之複數個客戶頁面域之一前端之資訊及關於包含與用於一服務之一資料庫相關之複數個後端資料域之一後端之資訊,在操作303中獲得用於架構前端與後端之間的一資料服務結構之架構資訊,及在操作305中基於所獲得之架構資訊來架構一資料服務結構包含用於服務由前端請求之資料之一主資料服務結構。在圖3中,根據各種實例實施例,資料庫相關後端可為產生提供至前端之資訊之一節點,且可根據資料服務結構將在對應節點處產生之資料有效提供至前端。3 , the server device 100 can construct a data service structure. To perform an operation of constructing the data service structure, the server device 100 can identify information about a front end including a plurality of client page domains of a service provided by the server device 100 and information about a back end including a plurality of back end data domains associated with a database for a service in operation 301, obtain architecture information for constructing a data service structure between the front end and the back end in operation 303, and construct a data service structure including a master data service structure for serving data requested by the front end based on the obtained architecture information in operation 305. In FIG. 3 , according to various example embodiments, the database-related backend may be a node that generates information provided to the front end, and the data generated at the corresponding node may be effectively provided to the front end according to the data service structure.

根據各種實例實施例,在操作301中,伺服器裝置100可識別關於包含用於一服務之複數個客戶頁面域之一前端之資訊及關於包含與用於一服務之一資料庫相關之複數個後端資料域之一後端之資訊。According to various example embodiments, in operation 301, the server device 100 may identify information about a front end including a plurality of client page domains for a service and information about a back end including a plurality of back end data domains associated with a database for a service.

圖4係繪示與一服務相關之一前端及一後端之資料服務相關之一資料流程之一概觀的一圖式。FIG. 4 is a diagram illustrating an overview of a data flow associated with a front-end and a back-end data service associated with a service.

參考元件符號401,前端可包含用於一服務之複數個客戶頁面域,且客戶頁面域可意謂對應於一使用者可在由伺服器裝置100提供之一服務之使用者介面/使用者體驗(UI/UX)上存取之各種服務頁面之一域。例如,一使用者可存取用於在服務之UI/UX上搜尋一物品之一物品搜尋頁面、用於將物品分類之一類別頁面、包含關於一特定物品之詳細資訊之一物品詳情頁面及/或含有使用者之個人資訊之我的頁面及其類似者,且作為回應,伺服器裝置100可識別一前端,其包含對應於一物品搜尋頁面之一客戶頁面域、對應於一類別頁面之一客戶頁面域、對應於一物品詳情頁面之一客戶頁面域及/或對應於我的頁面之一客戶頁面域等等。Referring to element symbol 401, the front end may include a plurality of client page domains for a service, and the client page domain may refer to a domain corresponding to various service pages that a user can access on the user interface/user experience (UI/UX) of a service provided by the server device 100. For example, a user may access an item search page for searching for an item on the UI/UX of the service, a category page for categorizing items, an item detail page containing detailed information about a particular item, and/or a my page containing the user's personal information, and the like, and in response, the server device 100 may identify a front end that includes a customer page domain corresponding to an item search page, a customer page domain corresponding to a category page, a customer page domain corresponding to an item detail page, and/or a customer page domain corresponding to my page, and the like.

參考元件符號401,前端包含上述複數個客戶頁面域,使得其可理解為經架構以根據使用者之UI/UX存取來管理各頁面及自對應於各頁面之各頁面域請求之資料之一使用者側管理部件。Referring to component symbol 401, the front end includes the above-mentioned multiple client page domains, so that it can be understood as a user-side management component that is structured to manage each page and the data requested from each page domain corresponding to each page according to the user's UI/UX access.

參考元件符號403,後端可包含與用於一服務之一資料庫相關之複數個後端資料域,且後端資料域可係指其中伺服器裝置100回應於針對包含於儲存及管理資料之一資料庫中之各資料判定之資料之一類型或種類而管理一對應類型或種類之資料之一域。例如,根據由伺服器裝置100提供之服務之特性,可創建及儲存用於物流管理之資料(履行)、在服務中銷售一物品之一賣家之資料(賣家)、與關於物品之折扣資訊相關之資料(促銷/福利)及/或針對物品所寫之評論資料(產品評論)及其類似者,且作為回應,伺服器裝置100可識別後端,其包含對應於用於物流管理之資料之一後端資料域、對應於一賣家之資料之一後端資料域、對應於與關於一物品之折扣資訊相關之資料之一後端資料域及/或對應於評論資料之一後端資料域。Referring to element symbol 403, the backend may include a plurality of backend data domains associated with a database for a service, and the backend data domain may refer to a domain in which the server device 100 manages a corresponding type or category of data in response to a type or category of data determined for each data contained in a database for storing and managing data. For example, based on the characteristics of the service provided by the server device 100, data for logistics management (fulfillment), data of a seller who sells an item in the service (seller), data related to discount information about the item (promotion/benefits) and/or review data written for the item (product review) and the like may be created and stored, and in response, the server device 100 may identify a backend that includes a backend data domain corresponding to data for logistics management, a backend data domain corresponding to data of a seller, a backend data domain corresponding to data related to discount information about an item and/or a backend data domain corresponding to review data.

參考元件符號403,後端包含上述複數個後端資料域,使得可理解為經架構以提供或識別關於由伺服器裝置100提供之一服務儲存或管理之資料之一資料庫側管理部件。Referring to component symbol 403, the backend includes the aforementioned plurality of backend data domains, so that it can be understood as a database-side management component that is structured to provide or identify data stored or managed by a service provided by the server device 100.

在此情況中,包含於後端中之複數個後端資料域可經架構以根據由元件符號405指示之各資料域之特性來管理由資料庫管理之各種資料。In this case, a plurality of backend data domains included in the backend may be structured to manage various data managed by the database according to the characteristics of each data domain indicated by component symbol 405.

根據各種實例實施例,在操作303中,伺服器裝置100可獲得關於架構前端與後端之間的一資料服務結構之架構資訊。According to various example embodiments, in operation 303, the server device 100 may obtain architecture information about a data service architecture between an architecture front end and a back end.

例如,前端與後端之間的資料服務結構可意謂用於服務根據使用者之UI/UX連接在使用者側管理部件自資料庫側管理部件請求之資料之一結構及其類似者。特定言之,在其中由伺服器裝置100提供之服務對應於電子商務之情況中關於服務之資料管理中,其可基於微服務架構(MSA),其中藉由以對應於與客戶頁面相關之前端側客戶頁面域之一特定後端側負責資料域為目標來服務客戶頁面所需之各種資料,且針對MSA,需要提供一核心邏輯結構,其可確保高傳輸量及低延時以處理高輸入/輸出流量,且確保資料一致性、新鮮度或系統可用性。For example, the data service structure between the front-end and the back-end may refer to a structure and the like for serving data requested from a database-side management component by connecting a user-side management component according to a user's UI/UX. Specifically, in the case where the service provided by the server device 100 corresponds to data management of the service in e-commerce, it may be based on a microservice architecture (MSA), in which various data required for the customer page are served by targeting a specific back-end-side responsible data domain corresponding to a front-end-side customer page domain related to the customer page, and for MSA, a core logic structure needs to be provided that can ensure high throughput and low latency to handle high input/output traffic, and ensure data consistency, freshness, or system availability.

然而,即使設計核心邏輯結構,但在客戶頁面域或資料域中處理之資料之特性係不同的且當基於不同代碼庫操作時,即使利用核心邏輯結構,但可發生其中重複代碼可增加且管理變困難之問題。因此,需要防止核心邏輯結構根據各客戶頁面域或資料域片段化,且為此,資料服務結構(其係由伺服器裝置100根據操作303獲得之架構資訊之目標)對應於經架構以藉由具有對應於不同客戶頁面域或資料域之可擴展性來防止片段化之資料服務結構。However, even if the core logic structure is designed, the characteristics of the data processed in the client page domain or the data domain are different and when operating based on different code bases, even if the core logic structure is utilized, a problem may occur in which duplicate code may increase and management becomes difficult. Therefore, it is necessary to prevent the core logic structure from being fragmented according to each client page domain or data domain, and for this purpose, the data service structure (which is the target of the architecture information obtained by the server device 100 according to operation 303) corresponds to the data service structure that is architected to prevent fragmentation by having scalability corresponding to different client page domains or data domains.

即,基於用於資料服務之主資料服務結構,資料服務結構(其係由伺服器裝置100根據操作303獲得之架構資訊之目標)可依使得可對應於各種客戶頁面域或資料域之額外資料服務結構被添加之一方式實施,使得其可具有用於客戶頁面域或資料域之不同特性之可擴展性。That is, based on the main data service structure for data services, the data service structure (which is the target of the architecture information obtained by the server device 100 according to operation 303) can be implemented in a manner that allows additional data service structures corresponding to various client page domains or data domains to be added, so that it can have scalability for different characteristics of client page domains or data domains.

例如,由伺服器裝置100根據操作303獲得之架構資訊可包含用於架構一主資料服務結構之主架構資訊,主資料服務結構對應於用於執行前端與後端之間的一資料服務之一基本資料服務結構。例如,當基於主架構資訊在前端與後端之間架構主資料服務結構時,由前端側請求之資料可自後端側提供。此一主資料服務結構可依相同於圖5之方式實施。For example, the architecture information obtained by the server device 100 according to operation 303 may include main architecture information for constructing a main data service structure, and the main data service structure corresponds to a basic data service structure for executing a data service between the front end and the back end. For example, when the main data service structure is constructed between the front end and the back end based on the main architecture information, the data requested by the front end side can be provided from the back end side. This main data service structure can be implemented in the same manner as FIG. 5.

圖5係繪示其中在一前端與一後端之間架構一主資料服務結構之一狀態的一圖式。FIG. 5 is a diagram illustrating a state in which a master data service structure is constructed between a front end and a back end.

一主資料服務結構501可包含用於資料服務之各種組件,且用於主資料服務結構之組件可包含對應於複數個後端資料域之複數個資料佇列503、及用於儲存透過複數個資料佇列傳輸之資料之一共同儲存器505及自儲存器調用由前端請求之資料且將其傳輸至前端之一共同服務層507。A master data service structure 501 may include various components for data services, and the components used for the master data service structure may include a plurality of data queues 503 corresponding to a plurality of backend data domains, a common storage 505 for storing data transmitted through a plurality of data queues, and a common service layer 507 that calls data requested by the front end from the storage and transmits it to the front end.

在主資料服務結構501中,在複數個後端資料域中管理之一資料庫之各種資料可經傳輸至對應於各後端資料域之一資料佇列。此處,資料佇列可係指執行接收及儲存自傳輸部件提供之資料、一直等至儲存資料傳輸至接收部件及將儲存資料傳輸至接收部件之功能之一資料排隊線。在複數個資料佇列503中,一個資料佇列對應於一個後端資料域或一或多個後端資料域,可接收自對應後端資料域提供之資料且儲存其及接著使其排隊,且可將根據儲存器之資料更新循環儲存之資料發送至儲存器側。即,資料佇列503可起到使自後端資料域側接收之資料排隊且根據儲存器側之更新循環將資料遞送至儲存器側之一作用。In the main data service structure 501, various data of a database managed in a plurality of back-end data domains can be transmitted to a data queue corresponding to each back-end data domain. Here, the data queue can refer to a data queue line that performs the functions of receiving and storing data provided from a transmission component, waiting until the stored data is transmitted to a receiving component, and transmitting the stored data to the receiving component. In the plurality of data queues 503, a data queue corresponds to a back-end data domain or one or more back-end data domains, can receive data provided from the corresponding back-end data domain and store it and then queue it, and can send data stored according to the data update cycle of the memory to the memory side. That is, the data queue 503 can queue the data received from the back-end data domain side and deliver the data to the memory side according to the update cycle of the memory side.

另外,在主資料服務結構501中,儲存器可透過複數個資料佇列接收及儲存資料庫之各種資料。儲存器可意謂相同或類似地儲存及管理資料庫中之資料之一資料儲存空間,使得服務層可僅藉由存取儲存器且無需存取後端資料域來自前端調用請求資料以方便資料服務。在共同儲存器505中,儲存器可接收及儲存由後端資料域管理之資料庫之資料,且特定言之,在後端資料域與儲存器之間存在一資料佇列,且資料佇列接收及儲存來自資料域之資料庫之資料,且儲存器可根據一特定循環接收儲存於資料佇列中之資料。服務層可藉由依此方式將所要資料調用至用於儲存所接收資料之儲存器來獲得所要資料。即,共同儲存器505可透過複數個資料佇列接收在後端資料域中管理之資料庫之資料,儲存資料庫之資料,且使服務層能夠獲得所要資料。In addition, in the main data service structure 501, the storage can receive and store various data of the database through multiple data queues. The storage can refer to a data storage space that stores and manages the data in the database in the same or similar manner, so that the service layer can call the request data from the front end by accessing the storage without accessing the back-end data domain to facilitate data services. In the common storage 505, the storage can receive and store data from a database managed by a back-end data domain, and specifically, there is a data queue between the back-end data domain and the storage, and the data queue receives and stores data from the database of the data domain, and the storage can receive data stored in the data queue according to a specific cycle. The service layer can obtain the required data by calling the required data to the storage for storing the received data in this way. That is, the common storage 505 can receive data from a database managed in a back-end data domain through a plurality of data queues, store the data of the database, and enable the service layer to obtain the required data.

在主資料服務結構501中,服務層可存取儲存器且藉由調用所要資料來獲得所要資料。服務層可執行自儲存器調用透過包含於前端中之複數個客戶頁面域請求之各種資料之一功能。在共同服務層507中,服務層可經請求以自對應於前端之客戶頁面調用特定資料,可存取儲存器且藉由調用資料來獲得請求作為調用目標之資料,且可在獲得所要資料時傳輸回至前端側。In the main data service structure 501, the service layer can access the storage and obtain the required data by calling the required data. The service layer can perform a function of calling various data requested through multiple client page domains included in the front end from the storage. In the common service layer 507, the service layer can call specific data from the client page corresponding to the front end upon request, can access the storage and obtain the data requested as the call target by calling the data, and can transmit it back to the front end side when the required data is obtained.

例如,由伺服器裝置100根據操作303獲得之架構資訊可包含用於架構添加至主資料服務結構之一第一額外資料服務結構之第一額外架構資訊或用於架構添加至主資料服務結構之一第二額外資料服務結構之第二額外架構資訊。例如,1)當基於第一額外架構資訊在前端與後端之間架構第一額外資料服務結構時,自前端側請求之資料依不同於主資料服務結構之一方式自後端提供,2)當基於第二額外架構資訊在前端與後端之間架構第二額外資料服務結構時,自前端側請求之資料依不同於主資料服務結構之一方式自後端側提供,3)當基於第一額外架構資訊及第二額外架構資訊在前端與後端之間架構第一額外資料服務結構及第二額外資料服務結構兩者時,此亦可相同。如此之第一額外資料服務結構及第二額外資料服務結構可依相同於圖6至圖8之方式實施。For example, the architecture information obtained by the server device 100 according to operation 303 may include first additional architecture information for architecture of a first additional data service structure added to the main data service structure or second additional architecture information for architecture of a second additional data service structure added to the main data service structure. For example, 1) when a first additional data service structure is constructed between the front end and the back end based on the first additional architecture information, data requested from the front end side is provided from the back end in a manner different from the main data service structure, 2) when a second additional data service structure is constructed between the front end and the back end based on the second additional architecture information, data requested from the front end side is provided from the back end in a manner different from the main data service structure, 3) when both the first additional data service structure and the second additional data service structure are constructed between the front end and the back end based on the first additional architecture information and the second additional architecture information, this may also be the same. Such a first additional data service structure and a second additional data service structure may be implemented in the same manner as in FIGS. 6 to 8.

圖6係繪示其中在一前端與一後端之間添加及架構一第一額外資料服務結構之一狀態的一圖式。FIG. 6 is a diagram illustrating a state in which a first additional data service structure is added and constructed between a front end and a back end.

一第一額外資料服務結構601可包含用於資料服務之各種組件。作為用於第一額外資料服務結構之元件,第一額外資料服務結構601可包含:一快取區603,其在特定資料經更新且更新特定資料在儲存器中經確認時相對於包含於儲存於快取區中之至少一些資料中之特定資料自儲存器獲得及儲存包含於儲存於儲存器中之資料中之至少一些資料;一更新資料佇列(通知佇列) 605,其用於儲存更新特定資料且將其發送至快取區;及一快取更新管理器(快取無效器) 607,其管理透過更新資料佇列將更新特定資料發送至快取區。A first additional data service structure 601 may include various components for data service. As an element for the first additional data service structure, the first additional data service structure 601 may include: a cache 603, which obtains and stores at least some of the data stored in the storage relative to the specific data contained in at least some of the data stored in the cache when the specific data is updated and the update specific data is confirmed in the storage; an update data queue (notification queue) 605, which is used to store the update specific data and send it to the cache; and a cache update manager (cache invalidator) 607, which manages sending the update specific data to the cache through the update data queue.

在第一額外資料服務結構601中,快取區可自儲存器獲得及儲存儲存於儲存器中之資料中之一些資料。在服務層存取儲存器及調用所要資料之程序中,快取區可意謂用於儲存儲存於儲存器之一些資料之一單獨資料儲存空間,使得服務層可容易地存取儲存器以由於諸如作為調用目標之資料自服務層側頻繁調用之原因而促進服務層側上之容易資料存取或防止可因將大量資料調用至儲存器而導致儲存器延時之一問題。快取區603位於儲存器與服務層之間,且服務層可藉由在自儲存器調用所要資料之前首先自快取區調用所要資料來將所要資料傳輸至前端。若服務層確認所要資料不在快取區中(因為所要資料未儲存於快取區中),則服務層可自儲存器調用所要資料且將其傳輸至前端。In the first additional data service structure 601, the cache area can obtain and store some data stored in the memory from the memory. In the process of the service layer accessing the memory and calling the required data, the cache area can mean a separate data storage space used to store some data stored in the memory, so that the service layer can easily access the memory to promote easy data access on the service layer side due to reasons such as frequent calls from the service layer side of the data as the call target or prevent a problem of memory delay caused by calling a large amount of data into the memory. The cache 603 is located between the storage and the service layer, and the service layer can transfer the requested data to the front end by first calling the requested data from the cache before calling the requested data from the storage. If the service layer confirms that the requested data is not in the cache (because the requested data is not stored in the cache), the service layer can call the requested data from the storage and transfer it to the front end.

如同快取區603,若經架構以獲得及儲存儲存於儲存器中之一些資料之快取區位於儲存器與服務層之間,則當儲存於快取區中之特定資料在後端資料域側上更新時,儲存器可透過資料佇列獲取及儲存回應於特定資料之更新特定資料,但若快取區未立即驗證特定資料是否更新,則可出現儲存器儲存更新特定資料而快取區儲存未更新特定資料之一問題。為防止此一問題,需要檢查及管理共同儲存於儲存器及快取區中之資料之更新,且更新通知佇列605可扮演此一角色。Like cache 603, if a cache that is structured to obtain and store some data stored in a memory is located between the memory and the service layer, when specific data stored in the cache is updated on the back-end data domain side, the memory can obtain and store the updated specific data in response to the specific data through the data queue, but if the cache does not immediately verify whether the specific data is updated, a problem may occur in which the memory stores the updated specific data while the cache stores the unupdated specific data. To prevent this problem, it is necessary to check and manage the updates of the data stored in the memory and the cache together, and the update notification queue 605 can play this role.

當在後端資料域側上針對儲存於儲存器中之資料識別及管理更新資料時,更新資料經遞送及儲存於複數個資料佇列中與對應資料相關之資料佇列中且接著根據對應於儲存器之更新循環之一特定循環來傳輸至儲存器。此時,若資料如上文所描述般儲存於儲存器及快取區兩者中,則當儲存器接收更新資料時,快取區亦必須依相同方式接收更新資料且因此其應經設計使得更新資料可在其儲存於儲存器中時遞送至更新通知佇列。基於此設計,更新通知佇列可保持更新資料,且當在儲存器及更新資料佇列中識別根據儲存器之更新循環更新之資料時,可指示快取更新管理器607透過更新資料佇列將更新資料發送至快取區。When update data is identified and managed for data stored in a memory on the back-end data domain side, the update data is delivered and stored in a data queue associated with the corresponding data among a plurality of data queues and then transmitted to the memory according to a specific cycle corresponding to the update cycle of the memory. At this time, if the data is stored in both the memory and the cache as described above, when the memory receives the update data, the cache must also receive the update data in the same manner and therefore it should be designed so that the update data can be delivered to the update notification queue when it is stored in the memory. Based on this design, the update notification queue can maintain update data, and when data updated according to the update cycle of the memory is identified in the memory and the update data queue, the cache update manager 607 can be instructed to send the update data to the cache area through the update data queue.

快取區自儲存器獲取及儲存之儲存器中之一些資料具有促進服務層之資料調用之主要目的,因此其可由服務層鑑於資料調用優先權自儲存於儲存器中之資料選擇。即,儲存於快取區中之一些資料可為儲存於儲存器中之資料中基於一資料調用優先權來選擇儲存於快取區中之資料,且此一資料調用之優先權可由來自服務層之資料調用次數判定。例如,儲存於快取區中之資料可依資料調用次數之順序選擇,且具有來自一客戶頁面之大量資料調用之資料(諸如一物品影像、物品名稱、價格及其類似者)可儲存於快取區中。Some data in the cache area obtained from the storage and stored in the storage has the main purpose of promoting the data call of the service layer, so it can be selected by the service layer from the data stored in the storage based on the data call priority. That is, some data stored in the cache area can be selected based on a data call priority among the data stored in the storage, and the priority of this data call can be determined by the number of data calls from the service layer. For example, data stored in the cache may be selected in order of the number of data calls, and data with a large number of data calls from a customer page (such as an item image, item name, price, and the like) may be stored in the cache.

此時,在第一額外資料服務結構601中,服務層可在後台存取儲存器,同時存取快取區以調用具有一高資料調用優先權之資料。若確認更新資料儲存於儲存器中但未更新資料儲存於用於特定資料之快取區中,則用於對應特定資料之更新請求資訊可由服務層產生及傳輸。At this time, in the first additional data service structure 601, the service layer can access the storage in the background and access the cache to call data with a high data call priority. If it is confirmed that the update data is stored in the storage but the update data is not stored in the cache for the specific data, the update request information corresponding to the specific data can be generated and transmitted by the service layer.

圖7係繪示其中在前端與後端之間添加及架構一第二額外資料服務結構之一狀態的一圖式。FIG. 7 is a diagram illustrating a state in which a second additional data service structure is added and constructed between the front end and the back end.

一第二額外資料服務結構701可包含用於資料服務之各種組件,且特定言之,可包含用於服務需要即時更新管理之資料之組件。在第二額外資料服務結構中,針對儲存於資料庫中之資料中判定為需要即時更新之資料,可包含:一即時快取區703,其透過複數個資料佇列中與對應資料相關之一特定資料佇列獲得及儲存用於對應資料之即時更新資料;及一即時快取更新管理器(即時資料更新器) 705,其管理透過特定資料佇列向即時快取區傳輸即時更新資料。A second additional data service structure 701 may include various components for data services, and in particular, may include components for serving data that requires real-time update management. In the second additional data service structure, for data stored in the database that is determined to require real-time update, it may include: a real-time cache area 703, which obtains and stores real-time update data for the corresponding data through a specific data queue associated with the corresponding data among a plurality of data queues; and a real-time cache update manager (real-time data updater) 705, which manages the transmission of real-time update data to the real-time cache area through the specific data queue.

在第二額外資料服務結構701中,即時快取區可基於接近即時之一週期自複數個資料佇列獲得及儲存儲存於複數個資料佇列中之資料中識別為需要即時更新管理之資料。在儲存於資料庫中且由後端資料域管理之資料中,可預先識別要即時更新之重要資料(諸如反映即時更新之物品庫存或促銷折扣價格),且在對應於後端資料域之複數個資料佇列中,當針對經識別資料識別即時更新資料時,可將即時更新資料傳輸至即時快取區。In the second additional data service structure 701, the real-time cache area can obtain and store data stored in the plurality of data queues based on a near-real-time cycle to identify data that needs to be updated and managed in real time. Among the data stored in the database and managed by the back-end data domain, important data to be updated in real time (such as reflecting the real-time updated inventory or promotional discount prices) can be pre-identified, and in the plurality of data queues corresponding to the back-end data domain, when real-time update data is identified for the identified data, the real-time update data can be transmitted to the real-time cache area.

即,若任何資料係識別為需要即時更新管理之資料,則與對應資料相關之資料佇列可回應於對應資料而即時識別更新資料,且資料佇列將即時更新資料傳輸至即時快取區。自一資料佇列之角度看,由資料佇列保持之資料根據儲存器之更新循環來傳輸至儲存器,但其中,若存在識別為需要即時更新管理之資料,則與對應資料相關之即時更新資料可根據比儲存器之更新週期快得多之接近即時之一週期傳輸至即時快取區。因此,藉由架構諸如即時快取區703之一即時快取區,可防止儲存器或快取區無法即時儲存即時更新資料之問題。另外,如同即時快取管理器705,一即時快取管理器經單獨架構以管理即時更新資料自資料佇列傳輸至即時快取區。That is, if any data is identified as data that needs to be updated and managed in real time, the data queue associated with the corresponding data can respond to the corresponding data and identify the updated data in real time, and the data queue transmits the updated data in real time to the real-time cache area. From the perspective of a data queue, the data held by the data queue is transmitted to the memory according to the update cycle of the memory, but if there is data that is identified as data that needs to be updated and managed in real time, the real-time update data associated with the corresponding data can be transmitted to the real-time cache area according to a cycle that is much faster than the update cycle of the memory. Therefore, by constructing a real-time cache area such as the real-time cache area 703, the problem that the memory or cache area cannot store the real-time update data in real time can be prevented. Additionally, like the real-time cache manager 705, a real-time cache manager is independently constructed to manage the transfer of real-time update data from the data queue to the real-time cache area.

因而,當架構第二額外資料服務結構701時,若對應資料對應於需要即時更新之資料,則服務層可基於所要資料是否對應於需要即時更新之資料來自即時快取區調用對應資料且將其傳輸至前端。Therefore, when constructing the second additional data service structure 701, if the corresponding data corresponds to data that needs to be updated in real time, the service layer can call the corresponding data from the real-time cache and transmit it to the front end based on whether the required data corresponds to data that needs to be updated in real time.

此時,圖7中展示:為了方便,除第二額外資料服務結構之外,亦架構作為第一額外資料服務結構之一組件之一快取區,但此係一輔助實例,且在一些情況中,服務層可藉由直接存取儲存器而非快取區來調用所要資料。At this time, FIG. 7 shows that for convenience, in addition to the second additional data service structure, a cache area is also constructed as a component of the first additional data service structure, but this is an auxiliary example, and in some cases, the service layer can call the required data by directly accessing the storage instead of the cache area.

圖8係繪示其中在一前端與一後端之間添加及架構一第一額外資料服務結構及一第二額外資料服務結構之一狀態的一圖式。FIG. 8 is a diagram showing a state in which a first additional data service structure and a second additional data service structure are added and constructed between a front end and a back end.

在圖8中,一第一額外資料服務結構801及一第二額外資料服務結構803經架構在一起,且其可基於以下要點:架構資訊包含第一額外架構資訊及第二額外架構資訊兩者。包含於圖8中之資料佇列、儲存器、服務層、快取區、更新通知佇列、快取更新管理器、即時快取區及即時快取更新管理器可如上文參考圖5至圖7所描述般操作。In Figure 8, a first additional data service structure 801 and a second additional data service structure 803 are constructed together, and it can be based on the following points: the architecture information includes both the first additional architecture information and the second additional architecture information. The data queue, storage, service layer, cache area, update notification queue, cache update manager, real-time cache area and real-time cache update manager included in Figure 8 can be operated as described above with reference to Figures 5 to 7.

就圖8而言,若對應資料對應於需要即時更新之資料,則服務層基於所要資料是否對應於需要即時更新之資料來自即時快取區及快取區兩者調用對應資料,且藉由識別即時快取區及包含於自快取區調用之資料中之諸如時間標尺及其類似者之資訊來將調用資料中之最新資料傳輸至前端。另一方面,若對應資料不對應於需要即時更新之資料,則服務層自快取區調用對應資料且將其傳輸至前端,且若對應資料無法自快取區調用,則其存取儲存器,調用對應資料,且將其傳輸至前端。為此,伺服器裝置100可執行獲得關於由前端請求之資料(即,服務層期望之資料)是否對應於需要即時更新之資料之資訊之一操作。With respect to FIG. 8 , if the corresponding data corresponds to data that needs to be updated in real time, the service layer calls the corresponding data from both the real-time cache and the cache based on whether the desired data corresponds to data that needs to be updated in real time, and transmits the latest data in the called data to the front end by identifying the real-time cache and information such as a time scale and the like contained in the data called from the cache. On the other hand, if the corresponding data does not correspond to data that needs to be updated in real time, the service layer calls the corresponding data from the cache and transmits it to the front end, and if the corresponding data cannot be called from the cache, it accesses the register, calls the corresponding data, and transmits it to the front end. To this end, the server device 100 may perform an operation of obtaining information about whether the data requested by the front end (ie, the data expected by the service layer) corresponds to data that needs to be updated in real time.

同時,服務層可向快取區及即時快取區兩者提出一資料請求,不管上文所描述之資料之特性如何。類似地,當自快取區及即時快取區兩者調用資料時,服務層可基於諸如調用資料之一時間戳記及其類似者之資訊向前端遞送更近資料。At the same time, the service layer can make a data request to both the cache and the real-time cache, regardless of the characteristics of the data described above. Similarly, when calling data from both the cache and the real-time cache, the service layer can deliver more recent data to the front end based on information such as a timestamp of the called data and the like.

例如,可存在其中自前端請求之特定資料以包含複數個資料(包含特定資料)之一資料集之形式自前端請求而非以單一資料之形式自前端請求之一情況。若前端請求包含複數個資料之一資料集且確認包含於複數個資料中之特定資料被請求,則僅當所有複數個資料可由服務層自儲存器、快取區或即時快取區調用時,特定資料才可經架構以由服務層傳輸至前端。For example, there may be a situation in which specific data requested from the front end is requested from the front end in the form of a data set including a plurality of data (including the specific data) rather than in the form of a single data. If the front end requests a data set including a plurality of data and it is confirmed that specific data included in the plurality of data is requested, the specific data may be architected to be transmitted from the service layer to the front end only when all the plurality of data can be called from storage, cache, or real-time cache by the service layer.

即,由於在諸多情況中自前端請求包含複數個資料之一資料集係為了利用一客戶頁面或客戶頁面之一特定區域中之所有複數個資料,因此可藉由僅當包含於資料集中之所有資料可被調用時才允許包含於資料集中之複數個資料傳輸至前端來防止資料遺漏。例如,當自一物品詳情頁面請求包含諸如一物品之即時庫存、一物品影像、一物品名稱及/或一物品價格之資料之一資料集時,識別為需要即時更新之即時庫存資料將自即時快取區調用且剩餘資料將自快取區或儲存器調用,且若物品影像資料未由快取區或儲存器驗證,則即使即時庫存資料自即時快取區正確調用,但其無法傳輸至前端。That is, since in many cases a data set containing multiple data is requested from the front end in order to utilize all multiple data in a client page or a specific area of a client page, data omission can be prevented by allowing multiple data contained in the data set to be transmitted to the front end only when all data contained in the data set can be called. For example, when a data set including data such as real-time inventory of an item, an item image, an item name and/or an item price is requested from an item detail page, the real-time inventory data identified as needing real-time update will be called from the real-time cache and the remaining data will be called from the cache or storage, and if the item image data is not verified by the cache or storage, then even if the real-time inventory data is correctly called from the real-time cache, it cannot be transmitted to the front end.

為管理上述資料集型請求,可針對包含於資料集中之複數個資料判定及架構對應於資料集之識別資訊。包含於一資料集中之複數個資料共同具有對應於資料集之一條識別資訊,且基於此識別資訊,可確認包含於資料集中之所有複數個資料自儲存器、快取區或即時快取區調用,且可防止資料遺漏。In order to manage the above data set type request, identification information corresponding to the data set can be determined and constructed for the plurality of data included in the data set. The plurality of data included in a data set has a common piece of identification information corresponding to the data set, and based on the identification information, all the plurality of data included in the data set can be confirmed to be called from the storage, cache or immediate cache, and data omission can be prevented.

例如,由伺服器裝置100在操作303中獲得之架構資訊可包含用於使第一額外資料服務結構及第二額外資料服務結構與主資料服務結構相互作用之資訊。如上文參考圖5至圖8所描述,第一額外資料服務結構及第二額外資料服務結構對應於提供與主資料服務結構相互作用之資料之結構,因此即使添加一額外資料服務結構,但用於架構彼此相互作用使得資料服務可順利執行之相互作用資訊可包含於由伺服器裝置100在操作303中獲得之架構資訊中。For example, the architecture information obtained by the server device 100 in operation 303 may include information for making the first additional data service structure and the second additional data service structure interact with the main data service structure. As described above with reference to Figures 5 to 8, the first additional data service structure and the second additional data service structure correspond to structures that provide data that interact with the main data service structure, so even if an additional data service structure is added, interaction information for the architectures to interact with each other so that the data service can be successfully executed may be included in the architecture information obtained by the server device 100 in operation 303.

例如,在操作303中,伺服器裝置100獲得架構資訊之操作可包含獲得架構資訊之一操作,其中第一額外架構資訊或第二額外架構資訊經選擇性或適應性包含使得第一額外資料服務結構或第二額外資料服務結構可根據對應於形成服務之各種類型之服務域之後端資料域來另外架構。操作可如參考圖9所詳細描述般執行。For example, in operation 303, the operation of the server device 100 obtaining the architecture information may include an operation of obtaining the architecture information, wherein the first additional architecture information or the second additional architecture information is selectively or adaptively included so that the first additional data service structure or the second additional data service structure can be additionally structured according to the back-end data domain corresponding to the service domain of various types of service formed. The operation may be performed as described in detail with reference to FIG. 9.

圖9係繪示根據各種實例實施例之其中用於架構一資料服務結構之伺服器裝置100獲得架構資訊之一操作方法的一圖式。圖9可對應於其中伺服器裝置100在圖3之操作303中獲得架構資訊之一詳細操作方法。FIG9 is a diagram showing an operation method in which a server device 100 for constructing a data service structure obtains structure information according to various exemplary embodiments. FIG9 may correspond to a detailed operation method in which the server device 100 obtains structure information in operation 303 of FIG3.

關於由伺服器裝置100提供之服務,伺服器裝置100可在操作901中識別關於形成一服務之各種類型之服務域中之一特定服務域(諸如一產品服務域、一訂單服務域或一評論服務域及其類似者)之資訊且可在操作903中識別關於複數個後端資料域中對應於特定服務域之一或多個後端資料域之資訊。Regarding the services provided by the server device 100, the server device 100 may identify information about a specific service domain among various types of service domains forming a service (such as a product service domain, an order service domain, or a review service domain and the like) in operation 901 and may identify information about one or more backend data domains corresponding to the specific service domain among a plurality of backend data domains in operation 903.

在操作905中,伺服器裝置100可基於關於一或多個後端資料域之識別資訊來識別關於第一額外資料服務結構是否將被架構之第一資訊及關於第二額外資料服務結構是否將被架構之第二資訊。在操作907中,伺服器裝置100可根據第一資訊及第二資訊獲得判定為包含用於添加第一額外資料服務結構之第一額外架構資訊或用於添加第二額外資料服務結構之第二額外架構資訊之架構資訊。In operation 905, the server device 100 may identify first information about whether a first additional data service structure is to be constructed and second information about whether a second additional data service structure is to be constructed based on identification information about one or more backend data domains. In operation 907, the server device 100 may obtain architecture information determined to include first additional architecture information for adding a first additional data service structure or second additional architecture information for adding a second additional data service structure based on the first information and the second information.

由於與一特定服務域中請求之資料相關之後端資料域很可能為整個後端資料域之一部分,因此藉由判定一些相關後端資料域是否需要第一額外資料服務結構或第二額外資料服務結構用於資料服務,可自伺服器裝置100獲得判定為包含第一額外架構資訊或第二額外架構資訊之架構資訊。透過伺服器裝置100之此一架構資訊獲取操作,一資料服務結構可經設計以最佳化對應於一特定服務域之一些後端資料域之資料服務。Since the backend data domain associated with the data requested in a specific service domain is likely to be a part of the entire backend data domain, by determining whether some of the related backend data domains need the first additional data service structure or the second additional data service structure for data service, the architecture information determined to include the first additional architecture information or the second additional architecture information can be obtained from the server device 100. Through this architecture information acquisition operation of the server device 100, a data service structure can be designed to optimize the data service of some backend data domains corresponding to a specific service domain.

圖10係繪示根據對應於一服務域之一後端資料域架構一資料服務結構之一實例的一圖式。FIG. 10 is a diagram illustrating an example of constructing a data service structure based on a backend data domain corresponding to a service domain.

元件符號1001指示用於一資料服務結構之架構資訊,且指示與用於一主資料服務結構、一第一額外資料服務結構及/或一第二額外資料服務結構之架構相關之一選擇選項,且元件符號1003指示與各服務域相關之資訊,其可包含確認哪些後端資料域可與各服務域匹配之資訊或與資料服務是否需要一第一額外資料服務結構或一第二額外資料服務結構相關之資訊及其類似者。Component symbol 1001 indicates architecture information for a data service structure, and indicates a selection option related to the architecture for a main data service structure, a first additional data service structure and/or a second additional data service structure, and component symbol 1003 indicates information related to each service domain, which may include information confirming which back-end data domains can match each service domain or information related to whether the data service requires a first additional data service structure or a second additional data service structure, and the like.

根據由元件符號1003指示之資訊,可針對由元件符號1005指示之各服務域不同地判定一對應後端資料域,且如上文所描述,當對應後端資料域改變時,可如由1007所指示般改變各服務域之資料服務結構。即,各服務域可具有基於主資料服務結構、第一額外資料服務結構及/或第二額外資料服務結構之不同資料服務結構。作為一實例,在對應於特定後端資料域(目錄、賣家、認購訂單)之一產品域中,可確認第一額外資料服務結構及第二額外資料服務結構兩者經添加至主資料服務結構且經架構,且在對應於一不同後端資料域(會員)之一評論域中,可確認僅第一額外資料服務結構經添加及架構至主資料服務結構且經架構。According to the information indicated by element symbol 1003, a corresponding backend data domain may be determined differently for each service domain indicated by element symbol 1005, and as described above, when the corresponding backend data domain changes, the data service structure of each service domain may be changed as indicated by 1007. That is, each service domain may have a different data service structure based on the main data service structure, the first additional data service structure and/or the second additional data service structure. As an example, in a product domain corresponding to a specific backend data domain (catalog, seller, subscription order), it can be confirmed that both the first additional data service structure and the second additional data service structure have been added to the main data service structure and have been structured, and in a review domain corresponding to a different backend data domain (member), it can be confirmed that only the first additional data service structure has been added and structured to the main data service structure and has been structured.

如圖10中所展示,藉由使不同資料服務結構能夠根據各服務域或對應於各服務域之一後端資料域應用,伺服器裝置100可具有針對各服務域或對應於各服務域之一後端資料域之資料服務之可擴展性,且藉由針對各服務域或對應於各服務域之一後端資料域應用一最佳資料服務結構,可提高資料服務之有效性。As shown in FIG. 10 , by enabling different data service structures to be applied according to each service domain or a back-end data domain corresponding to each service domain, the server device 100 can have scalability of data services for each service domain or a back-end data domain corresponding to each service domain, and by applying an optimal data service structure for each service domain or a back-end data domain corresponding to each service domain, the effectiveness of the data service can be improved.

根據各種實例實施例,在操作305中,伺服器裝置100可基於所獲得之架構資訊來架構一資料服務結構包含用於服務由前端請求之資料之一主資料服務結構。According to various example embodiments, in operation 305, the server device 100 may construct a data service structure including a master data service structure for serving data requested by the front end based on the obtained architecture information.

例如,由伺服器裝置100根據操作305架構之資料服務結構基本上可包含主資料服務結構,且可另外包含根據包含於上述操作303中獲得之架構資訊中之第一額外架構資訊或第二額外架構資訊之第一額外資料服務結構或第二額外資料服務結構。For example, the data service structure constructed by the server device 100 according to operation 305 may basically include the main data service structure, and may additionally include a first additional data service structure or a second additional data service structure based on the first additional schema information or the second additional schema information included in the schema information obtained in the above operation 303.

例如,在操作305中,自前端請求之待服務資料可為自對應於包含於前端中所包含之複數個客戶頁面域中之第一客戶頁面域之第一客戶頁面請求之資料。For example, in operation 305, the to-be-served data requested from the front end may be data requested from a first customer page corresponding to a first customer page domain among a plurality of customer page domains included in the front end.

例如,當包含於資料服務結構中之各組件失效時,由伺服器裝置100在操作305中架構之資料服務結構可包含用於一斷路器之應用資訊以防止不正確資料自一失效組件服務。例如,當在包含一即時快取區之第二額外資料服務結構中儲存即時更新資料之一即時快取區中發生一失效時,與服務層自失效即時快取區服務具有錯誤之資料且將其提供給使用者相比,向使用者提供未即時更新之先前資料之客戶體驗可更合適。因此,伺服器裝置100可藉由基於斷路器阻斷存取路徑以防止服務層存取即時快取區來隔離失效即時快取區,且在此情況中,服務層可服務來自快取區或儲存器之未即時更新但沒有錯誤之資料。For example, when components included in the data service structure fail, the data service structure constructed by the server device 100 in operation 305 may include application information for a circuit breaker to prevent incorrect data from being served from a failed component. For example, when a failure occurs in a real-time cache storing real-time updated data in a second additional data service structure including a real-time cache, the customer experience of providing users with previous data that is not updated in real time may be more appropriate than if the service layer serves erroneous data from the failed real-time cache and provides it to the user. Therefore, the server device 100 can isolate the failed real-time cache by blocking the access path based on the circuit breaker to prevent the service layer from accessing the real-time cache, and in this case, the service layer can serve data from the cache or storage that is not updated in real time but has no errors.

此外,除應用上述斷路器之外,當出現即使即時快取區失效,但歸因於資料之重要性或必要性而需要服務即時更新資料之一情形時,伺服器裝置100可經架構使得服務層直接存取儲存即時更新之正確資料之複數個資料佇列而不通過其中發生一失效之一即時快取區,且調用及服務即時更新之正確資料。In addition to applying the above-mentioned circuit breaker, when a situation occurs in which even if the real-time cache area fails, it is necessary to serve the real-time updated data due to the importance or necessity of the data, the server device 100 can be structured so that the service layer directly accesses multiple data queues storing the correct data of the real-time update without passing through a real-time cache area in which a failure occurs, and calls and serves the correct data of the real-time update.

例如,由伺服器裝置100根據操作305架構之資料服務結構可對應於存在於前端與後端之間的複數個資料服務結構中之一個資料服務結構。換言之,如圖11中所展示,由伺服器裝置100根據操作305架構之複數個資料服務結構可存在於前端與後端之間,且各資料服務結構可藉由彼此獨立服務資料來彼此不影響。藉由依此方式架構複數個獨立資料服務結構且使各資料服務結構對應於不同客戶頁面域,伺服器裝置100可經設計以正確地為另一客戶頁面域服務資料,即使在針對一特定客戶頁面域之資料服務結構中發生一問題。For example, the data service structure constructed by the server device 100 according to operation 305 may correspond to one of the plurality of data service structures existing between the front end and the back end. In other words, as shown in FIG. 11 , the plurality of data service structures constructed by the server device 100 according to operation 305 may exist between the front end and the back end, and each data service structure may not affect each other by serving data independently of each other. By constructing a plurality of independent data service structures in this manner and making each data service structure correspond to a different client page domain, the server device 100 may be designed to correctly serve data for another client page domain, even if a problem occurs in the data service structure for a specific client page domain.

圖11係繪示其中在一前端與一後端之間架構複數個資料服務結構之一狀態的一圖式。FIG. 11 is a diagram illustrating a state in which a plurality of data service structures are constructed between a front end and a back end.

對應於元件符號1101及1103之兩個資料服務結構架構於圖11之前端與後端之間,且對應於元件符號1101之資料服務結構用於為複數個客戶頁面域中之一些客戶頁面域服務資料,且對應於元件符號1103之資料服務結構用於為其他客戶頁面域服務資料。藉由架構圖11中所展示之複數個資料服務結構,即使用於一特定客戶頁面域之資料服務歸因於一個資料服務結構之問題而變得不可行,但由另一資料服務結構為不同客戶頁面域服務之資料亦為可行的。Two data service structures corresponding to component symbols 1101 and 1103 are constructed between the front end and the back end of FIG. 11, and the data service structure corresponding to component symbol 1101 is used to serve data for some of the plurality of customer page domains, and the data service structure corresponding to component symbol 1103 is used to serve data for other customer page domains. By constructing the plurality of data service structures shown in FIG. 11, even if the data service for a specific customer page domain becomes infeasible due to a problem of one data service structure, it is feasible to serve data for a different customer page domain by another data service structure.

特定言之,在複數個客戶頁面域中,可存在對客戶體驗具有高重要性之一些客戶頁面域,諸如用於一物品搜尋頁面之一客戶頁面域及用於一物品詳情頁面之一客戶頁面域及其類似者,且元件符號1101之一資料服務結構可經架構為上文所描述之具有高重要性之一些客戶頁面域之一關鍵服務路徑(CSP)。相反地,元件符號1103之資料服務結構可經架構為對使用者體驗而言不是很重要之剩餘客戶頁面域之非CSP (N-CSP),諸如用於物品類別頁面之客戶頁面域及用於與使用者資訊相關之我的頁面之客戶頁面域。Specifically, among the plurality of customer page domains, there may be some customer page domains that are highly important to the customer experience, such as a customer page domain for an item search page and a customer page domain for an item detail page and the like, and a data service structure of component symbol 1101 may be constructed as a key service path (CSP) of some customer page domains with high importance as described above. Conversely, the data service structure of component symbol 1103 may be constructed as a non-CSP (N-CSP) of the remaining customer page domains that are not very important to the user experience, such as a customer page domain for an item category page and a customer page domain for a my page related to user information.

伺服器裝置100並行且獨立地架構用於CSP之元件符號1101之資料服務結構及用於N-CSP之元件符號1103之資料服務結構,使得用於具有高重要性之其他客戶頁面域之資料服務結構仍可經設計用於資料服務,即使用於非關鍵客戶頁面域之資料服務結構發生一問題。另外,當用於具有高重要性之客戶頁面域之元件符號1101之資料服務結構發生一問題時,伺服器裝置100可經設計使得高重要性客戶頁面域可藉由利用元件符號1103之資料服務結構來服務資料以補充用於高重要性客戶頁面域之資料服務。The server device 100 constructs the data service structure of the component symbol 1101 for CSP and the data service structure of the component symbol 1103 for N-CSP in parallel and independently, so that the data service structure for other customer page domains with high importance can still be designed for data service, that is, a problem occurs in the data service structure for non-critical customer page domains. In addition, when a problem occurs in the data service structure of the component symbol 1101 for the customer page domain with high importance, the server device 100 can be designed so that the customer page domain with high importance can serve data by using the data service structure of the component symbol 1103 to supplement the data service for the customer page domain with high importance.

根據上述實例實施例,顯然,藉由伺服器裝置100結合資料服務結構之架構執行基於圖3至圖11架構資料服務結構之一操作來產生或提供之各資訊可以各種形式組合。According to the above-mentioned example implementation, it is obvious that the information generated or provided by the server device 100 in combination with the architecture of the data service structure to execute an operation based on the data service structure of Figures 3 to 11 can be combined in various forms.

本說明書及圖式中所揭示之本發明之實例實施例僅供於具體實例以容易地解釋本發明之技術內容且幫助理解本發明,且不意欲限制本發明之範疇。即,本發明所屬技術之熟習者將明白,可基於本發明之技術精神實施其他修改實例。另外,上述實例實施例之各者可根據需要彼此組合操作。例如,本發明之所有實例實施例可由其中部件彼此組合之一系統實施。The example embodiments of the present invention disclosed in this specification and drawings are only provided for specific examples to easily explain the technical content of the present invention and help understand the present invention, and are not intended to limit the scope of the present invention. That is, those skilled in the art to which the present invention belongs will understand that other modified examples can be implemented based on the technical spirit of the present invention. In addition, each of the above-mentioned example embodiments can be combined with each other as needed. For example, all example embodiments of the present invention can be implemented by a system in which components are combined with each other.

另外,根據本發明之根據系統或其類似者之方法可以程式指令之形式實施,程式指令可透過各種電腦部件執行且記錄於一電腦可讀媒體中。In addition, the system or the method similar thereto according to the present invention may be implemented in the form of program instructions, which may be executed through various computer components and recorded in a computer-readable medium.

因而,在一特定態樣中,本發明之各種實例實施例可體現為一電腦可讀記錄媒體上之電腦可讀代碼。一電腦可讀記錄媒體係能夠儲存可由一電腦系統讀取之資料之任何資料儲存裝置。電腦可讀記錄媒體之實例可包含唯讀記憶體(ROM)、隨機存取記憶體(RAM)及光碟唯讀記憶體(CD-ROM)、磁帶、軟碟、光學資料儲存裝置及載波(諸如通過網際網路之資料傳輸及其類似者)。電腦可讀記錄媒體亦可分佈於網路連接之電腦系統上,使得電腦可讀代碼依一分佈方式儲存及執行。另外,用於達成本發明之各種實例實施例之功能程式、代碼及代碼段可由熟習本發明應用領域之程式設計員容易地解譯。Thus, in a particular aspect, various exemplary embodiments of the present invention may be embodied as computer readable code on 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) and compact disc read-only memory (CD-ROM), magnetic tape, floppy disk, optical data storage device and carrier wave (such as data transmission through the Internet and the like). The computer readable recording medium can also be distributed on a computer system connected to a network so that the computer readable code is stored and executed in a distributed manner. In addition, the functional programs, codes and code segments used to achieve various examples of the present invention can be easily interpreted by programmers familiar with the application field of the present invention.

另外,應瞭解,根據本發明之各種實例實施例之設備及方法可以硬體、軟體或硬體及軟體之一組合之形式實現。此軟體可儲存於一揮發性或非揮發性儲存裝置中,諸如一儲存裝置(諸如(例如) ROM,無論可擦除還是可重寫)或一記憶體(諸如(例如) RAM、一記憶體晶片、裝置或積體電路)或可光學或磁性寫入且機器(例如電腦)可讀之一儲存媒體,例如光碟(CD)、DVD、磁碟或磁帶及其類似者。根據本發明之各種實例實施例之方法可由包含一控制器及一記憶體之一電腦或包含此一記憶體或一電腦之一車輛實施,應瞭解,此一記憶體係適合於儲存包含用於實施本發明之實例實施例之指令之一或多個程式之一機器可讀儲存媒體之一實例。In addition, it should be understood that the apparatus and methods according to various example embodiments of the present invention can be implemented in the form of hardware, software, or a combination of hardware and software. The software can be stored in a volatile or non-volatile storage device, such as a storage device (such as (for example) ROM, whether erasable or rewritable) or a memory (such as (for example) RAM, a memory chip, device or integrated circuit) or a storage medium that can be written optically or magnetically and read by a machine (such as a computer), such as a compact disc (CD), DVD, disk or tape and the like. Methods according to various example embodiments of the present invention may be implemented by a computer comprising a controller and a memory or a vehicle comprising such a memory or a computer. It should be understood that such a memory is an example of a machine-readable storage medium suitable for storing one or more programs comprising instructions for implementing example embodiments of the present invention.

因此,本發明包含一程式(包含用於實施本說明書之申請專利範圍中所描述之設備或方法之代碼)及儲存此一程式之一機器(電腦及其類似者)可讀儲存媒體。此外,此一程式可通過任何媒體電子傳輸,諸如通過一有線或無線連接傳輸之一通信信號,且本發明適當包含其等效物。Therefore, the present invention includes a program (including a code for implementing the apparatus or method described in the scope of the patent application of this specification) and a machine (computer and the like) readable storage medium storing this program. In addition, this program can be transmitted electronically through any medium, such as a communication signal transmitted through a wired or wireless connection, and the present invention appropriately includes its equivalent.

儘管已參考本發明之實例實施例描述上文,但本說明書及圖式中所揭示之本發明之實例實施例僅作為具體實例呈現以容易地解釋本發明之技術內容且幫助理解本發明,且其不意欲限制本發明之範疇。另外,根據本發明之上述實例實施例僅具例示性,且熟習技術者將自此理解,實施例之各種修改及等效範圍係可行的。因此,本發明之範疇應由以下申請專利範圍界定。Although the above has been described with reference to the example embodiments of the present invention, the example embodiments of the present invention disclosed in this specification and the drawings are only presented as specific examples to easily explain the technical content of the present invention and help understand the present invention, and they are not intended to limit the scope of the present invention. In addition, the above example embodiments according to the present invention are only exemplary, and those skilled in the art will understand that various modifications and equivalent scopes of the embodiments are feasible. Therefore, the scope of the present invention should be defined by the following application scope.

100:伺服器裝置 200:裝置 210:輸入/輸出部件 220:通信部件 230:儲存器 240:處理器 301:操作 303:操作 305:操作 401:客戶頁面域 403:後端資料域 405:資料域 501:主資料服務結構 503:資料佇列 505:共同儲存器 507:共同服務層 601:第一額外資料服務結構 603:快取區 605:更新資料佇列/更新通知佇列 607:快取更新管理器 701:第二額外資料服務結構 703:即時快取區 705:即時快取更新管理器 801:第一額外資料服務結構 803:第二額外資料服務結構 901:操作 903:操作 905:操作 907:操作 1001:架構資訊及選擇選項 1003:與各服務域相關之資訊 1005:服務域 1007:改變各服務域之資料服務結構 1101:資料服務結構 1103:資料服務結構 100: Server device 200: Device 210: Input/output component 220: Communication component 230: Storage 240: Processor 301: Operation 303: Operation 305: Operation 401: Customer page domain 403: Backend data domain 405: Data domain 501: Main data service structure 503: Data queue 505: Shared storage 507: Shared service layer 601: First additional data service structure 603: Cache area 605: Update data queue/update notification queue 607: Cache update manager 701: Second additional data service structure 703: Real-time cache area 705: Real-time cache update manager 801: First additional data service structure 803: Second additional data service structure 901: Operation 903: Operation 905: Operation 907: Operation 1001: Architecture information and selection options 1003: Information related to each service domain 1005: Service domain 1007: Change the data service structure of each service domain 1101: Data service structure 1103: Data service structure

圖1係繪示根據各種實例實施例之用於實施操作一電子設備用於架構一資料服務結構之一方法之一資料服務結構架構系統的一圖式。FIG. 1 is a diagram illustrating a data service structure architecture system for implementing a method of operating an electronic device for constructing a data service structure according to various example embodiments.

圖2係繪示根據各種實例實施例之一伺服器裝置及與伺服器裝置相互作用之一裝置之一架構的一圖式。FIG. 2 is a diagram illustrating an architecture of a server device and a device interacting with the server device according to various example embodiments.

圖3係繪示根據各種實例實施例之用於架構一資料服務結構之一伺服器裝置100之一操作方法的一流程圖。FIG. 3 is a flow chart illustrating an operation method of a server device 100 for constructing a data service structure according to various exemplary embodiments.

圖4係繪示與一服務相關之一前端及一後端之資料服務相關之一資料流程之一概觀的一圖式。FIG. 4 is a diagram illustrating an overview of a data flow associated with a front-end and a back-end data service associated with a service.

圖5係繪示其中在一前端與一後端之間架構一主資料服務結構之一狀態的一圖式。FIG. 5 is a diagram illustrating a state in which a master data service structure is constructed between a front end and a back end.

圖6係繪示其中在一前端與一後端之間添加及架構一第一額外資料服務結構之一狀態的一圖式。FIG. 6 is a diagram illustrating a state in which a first additional data service structure is added and constructed between a front end and a back end.

圖7係繪示其中在前端與後端之間添加及架構一第二額外資料服務結構之一狀態的一圖式。FIG. 7 is a diagram illustrating a state in which a second additional data service structure is added and constructed between the front end and the back end.

圖8係繪示其中在一前端與一後端之間添加及架構一第一額外資料服務結構及一第二額外資料服務結構之一狀態的一圖式。FIG. 8 is a diagram illustrating a state in which a first additional data service structure and a second additional data service structure are added and constructed between a front end and a back end.

圖9係繪示根據各種實例實施例之其中用於架構一資料服務結構之伺服器裝置100獲得架構資訊之一操作方法的一流程圖。FIG. 9 is a flow chart showing an operation method in which a server device 100 for constructing a data service structure obtains structure information according to various example embodiments.

圖10係繪示根據對應於一服務域之一後端資料域架構一資料服務結構之一實例的一圖式。FIG. 10 is a diagram illustrating an example of constructing a data service structure based on a backend data domain corresponding to a service domain.

圖11係繪示其中在一前端與一後端之間架構複數個資料服務結構之一狀態的一圖式。FIG. 11 is a diagram illustrating a state in which a plurality of data service structures are constructed between a front end and a back end.

301:操作 301: Operation

303:操作 303: Operation

305:操作 305: Operation

Claims (19)

一種藉由一電子設備提供一服務來架構一資料服務結構之方法,該方法包括:識別關於包含用於該服務之複數個客戶頁面域之一前端之資訊及關於包含與用於該服務之一資料庫相關之複數個後端資料域之一後端之資訊;獲得用於架構該前端與該後端之間的一資料服務結構之架構資訊;基於該架構資訊,架構該資料服務結構包含用於服務由該前端所請求之資料之一主資料服務結構;自使用該服務之一使用者之一使用者裝置接收該服務之一客戶頁面中的一特定請求;及回應於該特定請求,將經由該資料服務結構所服務之特定資料提供予該使用者裝置,其中該資料服務結構係經架構在該前端與該後端之間的複數個資料服務結構的其中之一,其中該複數個資料服務結構包含一資料服務結構,其經架構以對應於該複數個客戶頁面域中具有高重要性之一些客戶頁面域,且另一資料服務結構經架構以對應於該複數個客戶頁面域中具有高重要性之該一些客戶頁面域以外的具有低重要性之剩餘客戶頁面域,及當對應具有高重要性之該客戶頁面域之該資料服務結構發生一問題時,高重要性之該客戶頁面域可藉由利用該另一資料服務結構來服務資料以補充用於高重要性之該客戶頁面域之資料服務。 A method for constructing a data service structure by providing a service through an electronic device, the method comprising: identifying information about a front end including a plurality of client page domains for the service and information about a back end including a plurality of back end data domains associated with a database for the service; obtaining architecture information for constructing a data service structure between the front end and the back end; based on the architecture information, constructing the data service structure to include a master data service structure for serving data requested by the front end; receiving a specific request in a client page of the service from a user device of a user using the service; and providing the specific data served by the data service structure to the user in response to the specific request. Device, wherein the data service structure is one of a plurality of data service structures constructed between the front end and the back end, wherein the plurality of data service structures include a data service structure constructed to correspond to some of the plurality of customer page domains with high importance, and another data service structure constructed to correspond to the remaining customer page domains with low importance other than the some of the customer page domains with high importance, and when a problem occurs in the data service structure corresponding to the customer page domain with high importance, the customer page domain with high importance can use the another data service structure to serve data to supplement the data service for the customer page domain with high importance. 如請求項1之方法,其中該架構資訊包含用於架構該主資料服務結構之主架構資訊,且該主資料服務結構包含:複數個資料佇列,其等對應於該複數個後端資料域;一儲存器,其中儲存透過該複數個資料佇列傳輸之資料;及一服務層,其自該儲存器調用該前端所請求之該資料且將該前端所請求之該資料傳輸至該前端。 The method of claim 1, wherein the architecture information includes master architecture information for constructing the master data service structure, and the master data service structure includes: a plurality of data queues corresponding to the plurality of backend data domains; a storage device in which data transmitted through the plurality of data queues is stored; and a service layer, which calls the data requested by the front end from the storage device and transmits the data requested by the front end to the front end. 如請求項2之方法,其中該架構資訊進一步包含:第一額外架構資訊,其用於架構添加至該主資料服務結構之一第一額外資料服務結構;或第二額外架構資訊,其用於架構添加至該主資料服務結構之一第二額外資料服務結構。 The method of claim 2, wherein the architecture information further comprises: first additional architecture information, which is used to architecture a first additional data service structure added to the main data service structure; or second additional architecture information, which is used to architecture a second additional data service structure added to the main data service structure. 如請求項3之方法,其中該第一額外資料服務結構包含:一快取區,其經架構以自該儲存器獲得及儲存包含於儲存於該儲存器中之資料中之資料之至少一部分;一更新資料佇列,其經架構以在該儲存器中識別對應於包含於資料之該至少一部分中之第一資料之更新第一資料時將該更新第一資料傳輸至該快取區;及一快取更新管理器,其經架構以管理透過該更新資料佇列傳輸至該快取區之該更新第一資料,且 該第二額外資料服務結構包含:一即時快取區,其經架構以透過該複數個資料佇列中與第二資料相關之一特定資料佇列來獲得及儲存對應於該第二資料之即時更新第二資料,該第二資料在儲存於該資料庫中之資料中被判定為需要即時更新;及一即時快取更新管理器,其經架構以管理透過該特定資料佇列傳輸至該即時快取區之該即時更新第二資料。 The method of claim 3, wherein the first additional data service structure includes: a cache area, which is structured to obtain and store at least a portion of the data contained in the data stored in the memory; an update data queue, which is structured to transmit the updated first data to the cache area when the updated first data corresponding to the first data contained in the at least a portion of the data is identified in the memory; and a cache update manager, which is structured to manage the transmission of the updated first data to the cache through the update data queue. The updated first data of the access zone, and the second additional data service structure includes: a real-time cache zone, which is structured to obtain and store real-time updated second data corresponding to the second data through a specific data queue related to the second data in the plurality of data queues, and the second data is determined to need real-time update in the data stored in the database; and a real-time cache update manager, which is structured to manage the real-time updated second data transmitted to the real-time cache zone through the specific data queue. 如請求項4之方法,其中該架構資訊包含用於使該第一額外資料服務結構及該第二額外資料服務結構與該主資料服務結構相互作用之資訊。 The method of claim 4, wherein the architecture information includes information for enabling the first additional data service structure and the second additional data service structure to interact with the main data service structure. 如請求項4之方法,其中當更新該第一資料時,基於對應於該儲存器之一更新週期之一第一週期,透過該複數個資料佇列中與該第一資料相關之一資料佇列將該更新第一資料傳輸至該儲存器,且當根據該第一週期在該儲存器及該更新資料佇列中識別該更新第一資料時,指示該快取更新管理器透過該更新資料佇列將該更新第一資料傳輸至該快取區。 The method of claim 4, wherein when the first data is updated, based on a first cycle corresponding to an update cycle of the memory, the updated first data is transmitted to the memory through a data queue related to the first data in the plurality of data queues, and when the updated first data is identified in the memory and the update data queue according to the first cycle, the cache update manager is instructed to transmit the updated first data to the cache area through the update data queue. 如請求項4之方法,其中架構該資料服務結構包括基於該第一額外架構資訊來架構該資料服務結構包含該主資料服務結構及該第一額外資料服務結構,該服務層優先自該快取區調用該請求資料且將該請求資料傳輸至該前端,且 當在該快取區中未識別該請求資料時,該服務層自該儲存器調用該請求資料且將該請求資料傳輸至該前端。 The method of claim 4, wherein constructing the data service structure includes constructing the data service structure including the main data service structure and the first additional data service structure based on the first additional architecture information, the service layer preferentially calls the request data from the cache area and transmits the request data to the front end, and when the request data is not recognized in the cache area, the service layer calls the request data from the memory and transmits the request data to the front end. 如請求項4之方法,其中基於儲存於該儲存器中之資料中之一資料調用優先權來選擇儲存於該快取區中之該資料之該至少一部分儲存於該快取區中,且基於來自該服務層之資料調用次數來判定該資料調用優先權。 The method of claim 4, wherein at least a portion of the data stored in the cache is selected to be stored in the cache based on a data call priority among the data stored in the memory, and the data call priority is determined based on the number of data calls from the service layer. 如請求項4之方法,其中當在該儲存器中識別該更新第一資料且在該快取區中識別未更新之該第一資料時,針對該第一資料之更新請求資訊由該服務層傳輸。 The method of claim 4, wherein when the updated first data is identified in the memory and the unupdated first data is identified in the cache, update request information for the first data is transmitted by the service layer. 如請求項4之方法,其中當更新該第二資料時,基於對應於即時之一第二週期,透過該特定資料佇列將該即時更新第二資料傳輸至該即時快取區。 As in the method of claim 4, when the second data is updated, the real-time updated second data is transmitted to the real-time cache area through the specific data queue based on a second cycle corresponding to the real-time. 如請求項4之方法,其中架構該資料服務結構包括基於該第二額外架構資訊來架構該資料服務結構包含該主資料服務結構及該第二額外資料服務結構,且基於該請求資料是否對應於需要即時更新之資料,該服務層自該即時快取區調用該請求資料且將該請求資料傳輸至該前端。 As in the method of claim 4, constructing the data service structure includes constructing the data service structure including the main data service structure and the second additional data service structure based on the second additional architecture information, and based on whether the request data corresponds to data that needs to be updated in real time, the service layer calls the request data from the real-time cache area and transmits the request data to the front end. 如請求項4之方法,其中架構該資料服務結構包括基於該第一額外架 構資訊及該第二額外架構資訊來架構該資料服務結構包含該主資料服務結構、該第一額外資料服務結構及該第二額外資料服務結構,當該請求資料對應於需要即時更新之資料時,該服務層自該快取區及該即時快取區兩者調用該請求資料,且將由該服務層在該快取區及該即時快取區中調用之資料中之最新資料傳輸至該前端。 As in the method of claim 4, constructing the data service structure includes constructing the data service structure including the main data service structure, the first additional data service structure and the second additional data service structure based on the first additional architecture information and the second additional architecture information, when the request data corresponds to data that needs to be updated in real time, the service layer calls the request data from both the cache area and the real-time cache area, and transmits the latest data in the data called by the service layer in the cache area and the real-time cache area to the front end. 如請求項12之方法,其中若該請求資料不對應於需要即時更新之資料,則該服務層自該快取區調用該請求資料且將該請求資料傳輸至該前端。 The method of claim 12, wherein if the request data does not correspond to data that needs to be updated in real time, the service layer calls the request data from the cache area and transmits the request data to the front end. 如請求項12之方法,其進一步包括:獲得關於該請求資料是否對應於需要即時更新之資料之資訊。 The method of claim 12 further includes: obtaining information about whether the requested data corresponds to data that needs to be updated in real time. 如請求項12之方法,其中當該前端請求包含複數個資料之一資料集且該請求資料包含於該複數個資料中時,基於所有該複數個資料由該服務層在該儲存器、該快取區或該即時快取區中調用來將該請求資料傳輸至該前端。 The method of claim 12, wherein when the front-end requests a data set including a plurality of data and the request data is included in the plurality of data, the request data is transmitted to the front-end based on all the plurality of data being called by the service layer in the storage, the cache or the real-time cache. 如請求項15之方法,其中針對該複數個資料架構對應於該資料集之識別資訊,且該識別資訊用於識別所有該複數個資料自該儲存器、該快取區或該即時快取區調用。 The method of claim 15, wherein the plurality of data structures correspond to identification information of the data set, and the identification information is used to identify all of the plurality of data being called from the memory, the cache area, or the real-time cache area. 如請求項4之方法,其中獲得該架構資訊包括:識別關於與該服務相關之一第一服務域之資訊;識別關於該複數個後端資料域中與該第一服務域相關之一或多個後端資料域之資訊;基於關於該一或多個後端資料域之該資訊,識別關於該第一額外資料服務結構是否將被架構之第一資訊及關於該第二額外資料服務結構是否將被架構之第二資訊;及基於該第一資訊及該第二資訊獲得判定為包含該第一額外架構資訊或該第二額外架構資訊之該架構資訊。 The method of claim 4, wherein obtaining the architecture information includes: identifying information about a first service domain associated with the service; identifying information about one or more backend data domains associated with the first service domain among the plurality of backend data domains; based on the information about the one or more backend data domains, identifying first information about whether the first additional data service structure will be constructed and second information about whether the second additional data service structure will be constructed; and obtaining the architecture information determined to include the first additional architecture information or the second additional architecture information based on the first information and the second information. 如請求項1之方法,其中該請求資料自對應於包含於該複數個客戶頁面域中之一第一客戶頁面域之一第一客戶頁面請求。 A method as in claim 1, wherein the request data is from a first customer page request corresponding to a first customer page domain included in the plurality of customer page domains. 一種用於架構與一服務相關之一資料服務結構之電子設備,該電子設備包括:一處理器;及一或多個記憶體,其中儲存一或多個指令,其中該一或多個指令在被執行時控制該處理器執行:識別關於包含用於該服務之複數個客戶頁面域之一前端之資訊及關於包含與用於該服務之一資料庫相關之複數個後端資料域之一後端之資訊;獲得用於架構該前端與該後端之間的一資料服務結構之架構資 訊;基於該架構資訊,架構該資料服務結構包含用於服務由該前端所請求之資料之一主資料服務結構;自使用該服務之一使用者之一使用者裝置接收該服務之一客戶頁面中的一特定請求;及回應於該特定請求,將經由該資料服務結構所服務之特定資料提供予該使用者裝置,其中該資料服務結構係經架構在該前端與該後端之間的複數個資料服務結構的其中之一,其中該複數個資料服務結構包含一資料服務結構,其經架構以對應於該複數個客戶頁面域中具有高重要性之一些客戶頁面域,且另一資料服務結構經架構以對應於該複數個客戶頁面域中具有高重要性之該一些客戶頁面域以外的具有低重要性之剩餘客戶頁面域,及當對應具有高重要性之該客戶頁面域之該資料服務結構發生一問題時,高重要性之該客戶頁面域可藉由利用該另一資料服務結構來服務資料以補充用於高重要性之該客戶頁面域之資料服務。 An electronic device for constructing a data service structure associated with a service, the electronic device comprising: a processor; and one or more memories storing one or more instructions, wherein the one or more instructions, when executed, control the processor to execute: identifying information about a front end containing a plurality of client page domains for the service and about a plurality of back ends containing a database associated with the service; The invention relates to a method for constructing a data service structure between the front end and the back end by obtaining information of a back end of a data domain of the front end; obtaining architecture information for constructing a data service structure between the front end and the back end; constructing the data service structure including a master data service structure for serving data requested by the front end based on the architecture information; receiving a specific request in a client page of the service from a user device of a user using the service; and responding to the specific request, The specific data served by the data service structure is provided to the user device, wherein the data service structure is one of a plurality of data service structures constructed between the front end and the back end, wherein the plurality of data service structures include a data service structure constructed to correspond to some of the plurality of customer page domains with high importance, and another data service structure constructed to correspond to the remaining customer page domains with low importance other than the some of the customer page domains with high importance among the plurality of customer page domains, and when a problem occurs in the data service structure corresponding to the customer page domain with high importance, the customer page domain with high importance can serve data by utilizing the other data service structure to supplement the data service for the customer page domain with high importance.
TW111147086A 2021-12-08 2022-12-08 Operating method for configuring data serving structure and electronic apparatus supporting thereof TWI864521B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020210174746A KR102403609B1 (en) 2021-12-08 2021-12-08 Operating method for configuring data serving structure and electronic apparatus supporting thereof
KR10-2021-0174746 2021-12-08

Publications (2)

Publication Number Publication Date
TW202324093A TW202324093A (en) 2023-06-16
TWI864521B true TWI864521B (en) 2024-12-01

Family

ID=81780942

Family Applications (2)

Application Number Title Priority Date Filing Date
TW111147086A TWI864521B (en) 2021-12-08 2022-12-08 Operating method for configuring data serving structure and electronic apparatus supporting thereof
TW113141950A TWI895163B (en) 2021-12-08 2022-12-08 Operating method for configuring data serving structure and electronic apparatus supporting thereof

Family Applications After (1)

Application Number Title Priority Date Filing Date
TW113141950A TWI895163B (en) 2021-12-08 2022-12-08 Operating method for configuring data serving structure and electronic apparatus supporting thereof

Country Status (3)

Country Link
KR (2) KR102403609B1 (en)
TW (2) TWI864521B (en)
WO (1) WO2023106492A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102609583B1 (en) * 2023-05-15 2023-12-05 쿠팡 주식회사 Operating method for electronic apparatus for configuring information and electronic apparatus supporting thereof
KR102732259B1 (en) * 2023-08-08 2024-11-19 한 비즈니스 앤 컴퍼니 주식회사 Apparatus and method of operating data based web application platforms

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050076132A1 (en) * 2003-09-19 2005-04-07 Timothy Roberts Command center and interface for web based business merchandising and service
US20110179111A1 (en) * 2010-01-15 2011-07-21 Endurance International Group, Inc. Migrating a web hosting service between a one box per client architecture and a cloud computing architecture
US20200204514A1 (en) * 2018-12-21 2020-06-25 Shopify Inc. Prioritized messaging system
TW202139136A (en) * 2019-11-15 2021-10-16 美商英特爾股份有限公司 Systolic arithmetic on sparse data

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050003224A (en) * 2003-06-30 2005-01-10 디지쎌 엔터테인먼트 컴파니 리미티드 Architecture of Community Platform and the Service System thereof
US7797298B2 (en) * 2006-02-28 2010-09-14 Microsoft Corporation Serving cached query results based on a query portion
WO2016154965A1 (en) * 2015-04-01 2016-10-06 Xin Yingwei Structured item organizing mechanism in e-commerce
KR102665557B1 (en) * 2016-10-27 2024-05-20 에스케이플래닛 주식회사 System and method for providing marketing service of new customer

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050076132A1 (en) * 2003-09-19 2005-04-07 Timothy Roberts Command center and interface for web based business merchandising and service
US20110179111A1 (en) * 2010-01-15 2011-07-21 Endurance International Group, Inc. Migrating a web hosting service between a one box per client architecture and a cloud computing architecture
US20200204514A1 (en) * 2018-12-21 2020-06-25 Shopify Inc. Prioritized messaging system
TW202139136A (en) * 2019-11-15 2021-10-16 美商英特爾股份有限公司 Systolic arithmetic on sparse data

Also Published As

Publication number Publication date
TW202509767A (en) 2025-03-01
TW202324093A (en) 2023-06-16
WO2023106492A1 (en) 2023-06-15
TWI895163B (en) 2025-08-21
KR102403609B1 (en) 2022-05-31
KR20230086558A (en) 2023-06-15

Similar Documents

Publication Publication Date Title
TWI864521B (en) Operating method for configuring data serving structure and electronic apparatus supporting thereof
KR102783469B1 (en) Operating method for electronic apparatus for providing page and electronic apparatus supporting thereof
US20240202241A1 (en) Method and apparatus for implementing a search index generator
KR20230110215A (en) Operating method for providing item category page and electronic apparatus supporting thereof
KR20240110915A (en) Operating method for providing information related to item and electronic apparatus supporting thereof
KR20240016379A (en) Operating method for providing item group information and electronic apparatus supporting thereof
US11348158B2 (en) Systems and methods for automatically populating ecommerce cart
TWI875282B (en) Operating method for electronic apparatus for providing information and electronic apparatus supporting thereof
KR102646283B1 (en) Operating method for electronic apparatus for managing order information and electronic apparatus supporting thereof
TW202447514A (en) Operating method for electronic apparatus for configuring information and electronic apparatus supporting thereof
TWI897071B (en) Operating method for electronic apparatus for providing information and electronic apparatus supporting thereof
KR102823949B1 (en) Operating method for electronic apparatus for providing keyword advertisement information and electronic apparatus supporting thereof
TWI913566B (en) Promotion information management method and electronic apparatus thereof
TWI864836B (en) Operating method for electronic apparatus for providing information and electronic apparatus supporting thereof
KR102854747B1 (en) Operating method for electronic apparatus for providing information and electronic apparatus supporting thereof
TWI911751B (en) Operating method for electronic apparatus for providing information and electronic apparatus supporting thereof
TWI908932B (en) Operating method for electronic apparatus for providing keyword advertisement information and electronic apparatus supporting thereof
TWI873870B (en) Operating method for electronic apparatus for providing store information and electronic apparatus supporting thereof
KR20260018445A (en) Operating method for electronic apparatus for providing a page and electronic apparatus supporting thereof
KR102618518B1 (en) Operating method for electronic apparatus for providing information and electronic apparatus supporting thereof
TW202443465A (en) Promotion information management method and electronic apparatus thereof
TW202536772A (en) Operating method for electronic apparatus for providing information and electronic apparatus supporting thereof
KR20250142283A (en) Operating method for electronic apparatus for providing advertisement message and electronic apparatus supporting thereof
KR20230033004A (en) Operating method for providing information related to service and electronic apparatus supporting thereof
KR20260008414A (en) Operating method for electronic apparatus for providing a page and electronic apparatus supporting thereof