TW202324093A - 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
TW202324093A
TW202324093A TW111147086A TW111147086A TW202324093A TW 202324093 A TW202324093 A TW 202324093A TW 111147086 A TW111147086 A TW 111147086A TW 111147086 A TW111147086 A TW 111147086A TW 202324093 A TW202324093 A TW 202324093A
Authority
TW
Taiwan
Prior art keywords
data
information
service
service structure
additional
Prior art date
Application number
TW111147086A
Other languages
Chinese (zh)
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

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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; CALCULATING OR 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; CALCULATING OR 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; CALCULATING OR 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; CALCULATING OR 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; CALCULATING OR 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; CALCULATING OR 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 of structuring a data service structure and apparatus therefor, and more particularly, the present invention relates to a method of structuring a data service structure based on a service structure for an optional application of data services and its electronic equipment.

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

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

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

[技術目標][Technical target]

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

本發明要達成之技術目標不限於上文所提及之技術態樣,且本發明所屬技術之熟習者將自以下描述清楚地理解未提及之其他技術態樣。 [技術解決方案] The technical goals to be achieved by the present invention are not limited to the technical aspects mentioned above, and those skilled in the art to which the present invention pertains 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 building a data service structure and an electronic device supporting the method.

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

在一態樣中,該架構資訊可包含用於架構該主資料服務結構之主架構資訊,且該主資料服務結構包含對應於該複數個後端資料域之複數個資料佇列、其中儲存透過該複數個資料佇列傳輸之資料之一儲存器及自該儲存器調用該請求資料且將該請求資料傳輸至該前端之一服務層。In one aspect, the schema information may include master schema information for structuring 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, which are stored through A storage for the data transmitted by the plurality of data queues, calling the request data from the storage and transmitting the request data to a service layer of the front end.

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

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

在一態樣中,該架構資訊可包含用於使該第一額外資料服務結構及該第二額外資料服務結構與該主資料服務結構之間相互作用之資訊。In one aspect, the schema information may include information for interaction between the first additional data service structure and the second additional data service structure and the master 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, a data queue related to the first data among the plurality of data queues can be used transmitting the updated first data to the storage, and instructing the cache update manager to pass the updated data when the updated first data is identified in the storage and the updated data queue according to the first cycle The queue transmits the updated first data to the cache area.

在一態樣中,架構該資料服務結構可包含基於該第一額外架構資訊來架構包含該主資料服務結構及該第一額外資料服務結構之該資料服務結構。該服務層可優先自該快取區調用該請求資料且將該請求資料傳輸至該前端。當在該快取區中未識別該請求資料時,該服務層可自該儲存器調用該請求資料且將該請求資料傳輸至該前端。In one aspect, structuring the data service structure may include structuring the data service structure including the main data service structure and the first additional data service structure based on the first additional structure information. The service layer can preferentially call the request data from the cache area and transmit the request data to the front end. When the request data is not identified in the cache area, the service layer can recall the request data from the storage 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 for storage in the cache based on a data call priority among the data stored in the memory, and may be based on The number of data calls from the service layer is used to determine the priority of the data call.

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

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

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

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

在一態樣中,當該請求資料不對應於需要即時更新之資料,該服務層可自該快取區調用該請求資料且將其傳輸至該前端。In one aspect, when the requested data does not correspond to the data that needs to be updated immediately, the service layer can call the requested data from the cache area 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 requests a data set including a plurality of data and the requested data is included in the plurality of data, the service layer may store the data in the storage, the cache based on all the plurality of data area or the instant cache area to transfer the request data to the front end.

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

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

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

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

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

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

本發明中可獲得之效應不限於上文所提及之效應,且本發明所屬技術之熟習者將自以下描述清楚地理解未提及之其他效應。Effects obtainable in the present invention are not limited to the above-mentioned effects, and those skilled in the art to which the present invention pertains will clearly understand other effects 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 explicitly stated otherwise. Each component or feature may be implemented in one form not in combination with other components or features. In addition, various example embodiments may be structured 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, procedures or operations that would make the gist of various example embodiments unclear, and procedures or operations that can be understood by those of ordinary skill are not described.

在整個說明書中,當一部件被稱為「包括或包含」一特定組件時,除非另有說明,否則其意謂可進一步包含其他組件,而非排除其他組件。另外,說明書中描述之諸如「...部件」、「...群組」及「模組」之術語意謂處理至少一個功能或操作之一單元,其可經實施為硬體或軟體或硬體及軟體之一組合。此外,「一」、「一個」、「該」及其類似相關術語可在描述各種實例實施例之背景中(尤其在以下申請專利範圍之背景中)用於意指包含單數及複數兩者,除非另有指示或與背景明顯矛盾。Throughout the specification, when a component is said to "comprise or comprise" a specific component, unless otherwise specified, it means that other components may be further included, not excluded. 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. Additionally, "a," "an," "the," and similar related terms may be used in the context of describing various example embodiments, particularly in the context of the claims below, to connote both the singular and the plural, Unless otherwise indicated or clearly contradicted by context.

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

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

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

參考圖1,根據各種實例實施例之一資料服務結構架構系統可在各種類型之電子設備中實施。例如,資料服務結構架構系統可在一伺服器裝置100及與伺服器裝置100相互作用之一裝置200中實施。換言之,伺服器裝置100及與伺服器裝置100相互作用之裝置200可基於在各設備中實施之資料服務結構架構系統來執行根據本發明之各種實例實施例之操作。同時,根據各種實例實施例之資料服務結構架構系統不限於圖1中所展示之系統,而是可在更多各種電子設備及伺服器中實施。Referring to FIG. 1 , a data service architecture architecture system according to various example embodiments may be implemented in various types of electronic devices. For example, the data service architecture system can be implemented in a server device 100 and a device 200 interacting with the server device 100 . In other words, the server device 100 and the device 200 interacting with the server device 100 can perform operations according to various example embodiments of the present invention based on the data service architecture system implemented in each device. Meanwhile, the data service 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 an apparatus that performs wireless and wired communication of the device 200 interacting with the server device 100 and includes a memory with 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 example embodiments may be a device usable 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)可執行一指定操作之電腦代碼或一或多個指令。換言之,其中實施資料服務結構架構系統之實體設備可以電腦代碼之形式將複數個模組儲存於記憶體中,且當執行儲存於記憶體中之複數個模組時,複數個模組可引起實體設備執行對應於複數個模組之指定操作。A data service architecture architecture system according to various example embodiments may include various modules for operation. A module included in a data service architecture system may be computer code implemented such that a physical device (such as a server device 100) in which the data service architecture system is implemented (or contained in a physical device) can perform a specified operation or one or more directives. In other words, the physical device in which the data service architecture system is implemented can store a plurality of modules in the memory in the form of computer code, and when the plurality of modules stored in the memory are executed, the plurality of modules can cause the entity The device performs specified operations corresponding to a plurality of modules.

圖2係繪示根據各種實例實施例之一伺服器裝置及與伺服器裝置相互作用之一裝置之一架構的一圖式。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。Referring to FIG. 2 , the server device 100 and the device 200 interacting with the server device 100 may each include an input/output unit 210 , a communication unit 220 , a storage 230 and a processor 240 .

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

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

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

此處,通信(即,資料之傳輸及接收)可有線或無線執行。為此,通信部件可由以下組成:透過一區域網路(LAN)存取網際網路及其類似者之一有線通信模組、透過一行動通信基地台存取一行動通信網路且傳輸及接收資料之一行動通信模組、使用諸如無線保真(Wi-Fi)之一無線區域網路(WLAN)通信方法或諸如藍牙或Zigbee之一無線個人區域網路(WPAN)通信方法之短距離通信模組、使用諸如全球定位系統(GPS)之全球導航衛星系統(GNSS)之衛星通信模組或其等之一組合。Here, communication (ie, transmission and reception of data) can be performed by wire or wirelessly. For this purpose, the communication part may be composed of a wired communication module for accessing the Internet and the like through a local area network (LAN), accessing a mobile communication network through a mobile communication base station and transmitting and receiving A mobile communication module for data, short-range communication using a wireless 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 module, a satellite communication module using Global Navigation Satellite System (GNSS) such as Global Positioning System (GPS), or a combination thereof.

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

儲存器230之實例可包含一硬碟(HDD)、一固態硬碟(SSD)、一快閃記憶體、一唯讀記憶體(ROM)、一隨機存取記憶體(RAM)及其類似者。此儲存器可經提供為一內建式或一可抽換式。Examples of storage 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 storage can be provided as a built-in or a removable.

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

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

就由硬體實施而言,根據各種實例實施例之方法可由一或多個專用積體電路(ASIC)、數位信號處理器(DSP)、數位信號處理裝置(DSPD)、可程式化邏輯裝置(PLD)、場可程式化閘陣列(FPGA)、一處理器、一控制器、一微控制器、一微處理器及其類似者實施。To the extent implemented by hardware, methods according to various example 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 ( PLD), Field Programmable Gate Array (FPGA), a processor, a controller, a microcontroller, a microprocessor, and the like.

就由韌體或軟體實施而言,根據各種實例實施例之方法可以執行下述功能或操作之一模組、程序或功能之形式實施。例如,軟體代碼可儲存於一記憶體中且由一處理器驅動。記憶體可位於處理器內部或外部,且資料可藉由各種已知部件與處理器交換。As far as being implemented by firmware or software, the methods according to various example embodiments may be implemented in the form of a module, program or function that performs the functions or operations described below. For example, software code may be stored in a memory and driven by a processor. Memory can be located inside or outside the processor, and data can be exchanged with the processor by various known components.

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

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

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

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

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

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

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

參考元件符號403,後端可包含與用於一服務之一資料庫相關之複數個後端資料域,且後端資料域可係指其中伺服器裝置100回應於針對包含於儲存及管理資料之一資料庫中之各資料判定之資料之一類型或種類而管理一對應類型或種類之資料之一域。例如,根據由伺服器裝置100提供之服務之特性,可創建及儲存用於物流管理之資料(履行)、在服務中銷售一物品之一賣家之資料(賣家)、與關於物品之折扣資訊相關之資料(促銷/福利)及/或針對物品所寫之評論資料(產品評論)及其類似者,且作為回應,伺服器裝置100可識別後端,其包含對應於用於物流管理之資料之一後端資料域、對應於一賣家之資料之一後端資料域、對應於與關於一物品之折扣資訊相關之資料之一後端資料域及/或對應於評論資料之一後端資料域。Referring to reference numeral 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 the data domains in which the server device 100 responds to data contained in storing and managing data. Each data in a database determines a type or category of data and manages a field of data of a corresponding type or type. For example, according to the characteristics of the service provided by the server device 100, it is possible to create and store data for logistics management (fulfillment), data of a seller who sells an item in the service (seller), and information related to discount information about the item. data (promotions/benefits) and/or review data (product reviews) written for items and the like, and in response, the server device 100 can identify backends that contain information corresponding to data for logistics management A backend data field, a backend data field corresponding to a seller's data, a backend data field corresponding to data related to discount information about an item, and/or a backend data field corresponding to review data .

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

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

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

例如,前端與後端之間的資料服務結構可意謂用於服務根據使用者之UI/UX連接在使用者側管理部件自資料庫側管理部件請求之資料之一結構及其類似者。特定言之,在其中由伺服器裝置100提供之服務對應於電子商務之情況中關於服務之資料管理中,其可基於微服務架構(MSA),其中藉由以對應於與客戶頁面相關之前端側客戶頁面域之一特定後端側負責資料域為目標來服務客戶頁面所需之各種資料,且針對MSA,需要提供一核心邏輯結構,其可確保高傳輸量及低延時以處理高輸入/輸出流量,且確保資料一致性、新鮮度或系統可用性。For example, the data service structure between the front end and the back end may mean a structure for serving data requested by the user side management part from the database side management part according to the user's UI/UX connection, and the like. In particular, in the case where the service provided by the server device 100 corresponds to electronic commerce, it may be based on the microservice architecture (MSA), wherein by corresponding to the front end related to the customer page One of the specific back-end side of the client page domain is responsible for the data domain as the goal to serve various data required by the client page, and for MSA, it is necessary to provide a core logic structure 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, duplication of code can increase and manage Difficult problem. Therefore, it is necessary to prevent the core logic structure from being fragmented according to each client page field or data field, and for this purpose, the data service structure (which is the object of the structure information obtained by the server device 100 according to operation 303) corresponds to the structure through A data service structure that prevents fragmentation by extensibility corresponding to different client page domains or data domains.

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

例如,由伺服器裝置100根據操作303獲得之架構資訊可包含用於架構一主資料服務結構之主架構資訊,主資料服務結構對應於用於執行前端與後端之間的一資料服務之一基本資料服務結構。例如,當基於主架構資訊在前端與後端之間架構主資料服務結構時,由前端側請求之資料可自後端側提供。此一主資料服務結構可依相同於圖5之方式實施。For example, the schema information obtained by the server device 100 according to operation 303 may include master schema information for constructing a master data service structure corresponding to one of the data services used to execute a data service between the front end and the back end. Basic data service structure. For example, when building a master data service structure between a front end and a back end based on master structure information, data requested by the front end side can be provided from the back end side. This master data service structure can be implemented in the same manner as in 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 for the master data service structure may include a plurality of data queues 503 corresponding to a plurality of backend data domains, and for storing data through a plurality of A common storage 505 of data transferred by the data queue and recalls from the storage the data requested by the front end and transmits it to a common service layer 507 of the front end.

在主資料服務結構501中,在複數個後端資料域中管理之一資料庫之各種資料可經傳輸至對應於各後端資料域之一資料佇列。此處,資料佇列可係指執行接收及儲存自傳輸部件提供之資料、一直等至儲存資料傳輸至接收部件及將儲存資料傳輸至接收部件之功能之一資料排隊線。在複數個資料佇列503中,一個資料佇列對應於一個後端資料域或一或多個後端資料域,可接收自對應後端資料域提供之資料且儲存其及接著使其排隊,且可將根據儲存器之資料更新循環儲存之資料發送至儲存器側。即,資料佇列503可起到使自後端資料域側接收之資料排隊且根據儲存器側之更新循環將資料遞送至儲存器側之一作用。In the master 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 may refer to a data queuing line that performs the functions of receiving and storing data provided from the transmitting unit, waiting until the stored data is transmitted to the receiving unit, and transmitting the stored data to the receiving unit. Among the plurality of data queues 503, one data queue corresponds to a backend data domain or one or more backend data domains, can receive data provided from the corresponding backend data domain and store it and then queue it, And it can send the data stored in cycle according to the data update of the storage to the storage side. That is, the data queue 503 may play a role of queuing data received from the backend data domain side and delivering the data to the storage side according to the update cycle of the storage side.

另外,在主資料服務結構501中,儲存器可透過複數個資料佇列接收及儲存資料庫之各種資料。儲存器可意謂相同或類似地儲存及管理資料庫中之資料之一資料儲存空間,使得服務層可僅藉由存取儲存器且無需存取後端資料域來自前端調用請求資料以方便資料服務。在共同儲存器505中,儲存器可接收及儲存由後端資料域管理之資料庫之資料,且特定言之,在後端資料域與儲存器之間存在一資料佇列,且資料佇列接收及儲存來自資料域之資料庫之資料,且儲存器可根據一特定循環接收儲存於資料佇列中之資料。服務層可藉由依此方式將所要資料調用至用於儲存所接收資料之儲存器來獲得所要資料。即,共同儲存器505可透過複數個資料佇列接收在後端資料域中管理之資料庫之資料,儲存資料庫之資料,且使服務層能夠獲得所要資料。In addition, in the master data service structure 501, the storage can receive and store various data of the database through a plurality of data queues. Storage can mean the same or similar data storage space that stores and manages data in the database, so that the service layer can call the request data from the front end only by accessing the storage and without accessing the back-end data field. Serve. In the common storage 505, the storage can receive and store the data of the database managed by the back-end data domain, and specifically, there is a data queue between the back-end data domain and the storage, and the data queue The data from the database of the data domain is received and stored, and the memory can receive the data stored in the data queue according to a specific cycle. The service layer can obtain the desired data by calling the desired data to the storage for storing the received data in this way. That is, the common storage 505 can receive the data of the database managed in the 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 desired data by calling the desired data. The service layer may perform one of the functions of invoking various data requested from the storage through the plurality of client page domains included in the front end. In the common service layer 507, the service layer can be requested to call specific data from the client page corresponding to the front end, can access the storage and obtain the data requested as the call target by calling the data, and can obtain the desired data when Transmission back to the front side.

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

圖6係繪示其中在一前端與一後端之間添加及架構一第一額外資料服務結構之一狀態的一圖式。6 is a diagram illustrating a state in which a first additional data service structure is added and structured 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 services. As an element for the first additional data service structure, the first additional data service structure 601 may include: a cache area 603, which is relatively contained in the storage when the specific data is updated and the updated specific data is confirmed in the storage Specific data in at least some of the data in the cache area is obtained from the storage and stored at least some of the data contained in the data stored in the storage; an update data queue (notification queue) 605 for storing Update the specific data and send it to the cache area; and a cache update manager (cache invalidator) 607, which manages to send the update specific data to the cache area through the update data queue.

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

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

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

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

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

圖7係繪示其中在前端與後端之間添加及架構一第二額外資料服務結構之一狀態的一圖式。7 is a diagram illustrating a state in which a second additional data service structure is added and structured 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 requiring real-time update management. In the second additional data service structure, among the data stored in the database, it is determined that the data that needs to be updated immediately may include: a real-time cache area 703, which is related to the corresponding data through one of the plurality of data queues The specific data queue acquires and stores real-time update data for corresponding data; 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 the data stored in the multiple data queues from the multiple data queues based on a near-real-time cycle, and identify the data that need real-time update management. 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 item inventory or promotional discount prices reflecting real-time updates) can be identified in advance, and in the plural corresponding to the back-end data domain In the data queue, when the 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 requiring real-time update management, the data queue related to the corresponding data can respond to the corresponding data to identify the updated data in real time, and the data queue transmits the real-time updated data to the real-time cache area. From the perspective of a data queue, the data held by the data queue is transmitted to the storage according to the update cycle of the storage, but if there is any data identified as requiring real-time update management, the real-time update related to the corresponding data Data can be transferred to the real-time cache on a near real-time 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 the cache area cannot store real-time update data in real time can be prevented. In addition, like the real-time cache manager 705, a real-time cache manager is separately structured 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 the data that needs to be updated immediately, the service layer can call the corresponding data from the real-time cache area based on whether the required data corresponds to the data that needs to be updated immediately and store it transmitted to the front end.

此時,圖7中展示:為了方便,除第二額外資料服務結構之外,亦架構作為第一額外資料服務結構之一組件之一快取區,但此係一輔助實例,且在一些情況中,服務層可藉由直接存取儲存器而非快取區來調用所要資料。At this time, it is shown in FIG. 7 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 In , the service layer can call the required data through the direct access memory instead of the cache area.

圖8係繪示其中在一前端與一後端之間添加及架構一第一額外資料服務結構及一第二額外資料服務結構之一狀態的一圖式。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 structured between a front end and a back end.

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

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

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

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

即,由於在諸多情況中自前端請求包含複數個資料之一資料集係為了利用一客戶頁面或客戶頁面之一特定區域中之所有複數個資料,因此可藉由僅當包含於資料集中之所有資料可被調用時才允許包含於資料集中之複數個資料傳輸至前端來防止資料遺漏。例如,當自一物品詳情頁面請求包含諸如一物品之即時庫存、一物品影像、一物品名稱及/或一物品價格之資料之一資料集時,識別為需要即時更新之即時庫存資料將自即時快取區調用且剩餘資料將自快取區或儲存器調用,且若物品影像資料未由快取區或儲存器驗證,則即使即時庫存資料自即時快取區正確調用,但其無法傳輸至前端。That is, since a data set including plural data is requested from the front end in many cases in order to utilize all plural data in a client page or a specific area of the client page, it is possible to use only if all the data contained in the data set Multiple data included in the data set are only allowed to be transmitted to the front end when the data can be called to prevent data omission. For example, when a data set containing information such as an item's real-time inventory, 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 requiring real-time updates will be retrieved from the real-time The cache is called 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, even if the real-time inventory data is correctly called from the real-time cache, it cannot be transferred to front end.

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

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

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

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

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

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

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

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

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

根據由元件符號1003指示之資訊,可針對由元件符號1005指示之各服務域不同地判定一對應後端資料域,且如上文所描述,當對應後端資料域改變時,可如由1007所指示般改變各服務域之資料服務結構。即,各服務域可具有基於主資料服務結構、第一額外資料服務結構及/或第二額外資料服務結構之不同資料服務結構。作為一實例,在對應於特定後端資料域(目錄、賣家、認購訂單)之一產品域中,可確認第一額外資料服務結構及第二額外資料服務結構兩者經添加至主資料服務結構且經架構,且在對應於一不同後端資料域(會員)之一評論域中,可確認僅第一額外資料服務結構經添加及架構至主資料服務結構且經架構。According to the information indicated by the element symbol 1003, a corresponding back-end data domain can be determined differently for each service domain indicated by the element symbol 1005, and as described above, when the corresponding back-end data domain changes, it can be as indicated by 1007 Change the data service structure of each service domain as an instruction. 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 particular backend data domain (catalogue, seller, subscription order), it can be confirmed that both a first additional data service structure and a second additional data service structure are added to the master data service structure And framed, and in a comment field corresponding to a different backend data field (member), it can be confirmed that only the first additional data service structure is added and framed to the main data service structure and framed.

如圖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 a configuration for each service domain or corresponding to each service domain. The scalability of the data service of a back-end data domain, and the effectiveness of the data service can be improved by applying an optimal data service structure to each service domain or a back-end data domain corresponding to each service domain.

根據各種實例實施例,在操作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 structure information.

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

例如,在操作305中,自前端請求之待服務資料可為自對應於包含於前端中所包含之複數個客戶頁面域中之第一客戶頁面域之第一客戶頁面請求之資料。For example, in operation 305, the data to be served requested from the front end may be data requested from a first client page corresponding to a first client page domain among the plurality of client 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 that stores real-time update data in a second additional data service structure that includes a real-time cache, the service layer has erroneous data from the failed real-time cache and will It may be more appropriate to provide users with a customer experience than providing users with previous information that is not updated in real time. Therefore, the server device 100 can isolate the dead real-time cache area by blocking the access path based on the circuit breaker to prevent the service layer from accessing the real-time cache area, and in this case, the service layer can serve from the cache area or The memory is not updated in real time but there is no error data.

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

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

圖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 element symbols 1101 and 1103 are constructed between the front end and the back end of FIG. 11 , and the data service structure corresponding to element symbol 1101 is used to serve some of the plurality of client page domains data, and the data service structure corresponding to component symbol 1103 is used to serve data for other client page domains. By architecting multiple data service structures as shown in Figure 11, even if a data service for a particular client page domain becomes infeasible due to a problem with one data service structure, another data service structure is different Information on customer page domain services is also available.

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

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

根據上述實例實施例,顯然,藉由伺服器裝置100結合資料服務結構之架構執行基於圖3至圖11架構資料服務結構之一操作來產生或提供之各資訊可以各種形式組合。According to the above example embodiments, 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 perform an operation based on the data service structure of FIG. 3 to FIG. 11 can be combined in various forms.

本說明書及圖式中所揭示之本發明之實例實施例僅供於具體實例以容易地解釋本發明之技術內容且幫助理解本發明,且不意欲限制本發明之範疇。即,本發明所屬技術之熟習者將明白,可基於本發明之技術精神實施其他修改實例。另外,上述實例實施例之各者可根據需要彼此組合操作。例如,本發明之所有實例實施例可由其中部件彼此組合之一系統實施。The exemplary embodiments of the present invention disclosed in the specification and drawings are only provided as specific examples to easily explain the technical content of the present invention and help understanding of 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 pertains 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 operated in combination with each other as needed. For example, all example embodiments of the invention may be implemented by a system in which components are combined with each other.

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

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

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

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

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

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 unit 220: communication component 230: Storage 240: Processor 301: Operation 303: Operation 305: Operation 401: Customer Page Domain 403: backend data field 405: data field 501: Master data service structure 503: data queue 505: common storage 507: common 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: instant cache area 705: Instant 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係繪示根據各種實例實施例之用於實施操作一電子設備用於架構一資料服務結構之一方法之一資料服務結構架構系統的一圖式。1 is a diagram illustrating a data service structure architecture system for implementing a method of operating an electronic device for architecting a data service structure, according to various example embodiments.

圖2係繪示根據各種實例實施例之一伺服器裝置及與伺服器裝置相互作用之一裝置之一架構的一圖式。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 flowchart illustrating an operation method of a server device 100 for building a data service structure according to various example embodiments.

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

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

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

圖8係繪示其中在一前端與一後端之間添加及架構一第一額外資料服務結構及一第二額外資料服務結構之一狀態的一圖式。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 structured between a front end and a back end.

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

圖10係繪示根據對應於一服務域之一後端資料域架構一資料服務結構之一實例的一圖式。FIG. 10 is a diagram illustrating an example of a data service structure according to a backend data domain architecture 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 architecture by providing a service with an electronic device, the method comprising: Identify information about a front end comprising a plurality of customer page domains for the service and information about a back end comprising a plurality of back end data domains associated with a database used for the service; obtain architectural information for architecting a data services structure between the front end and the back end; and Based on the schema information, schemating the data service structure includes a master data service structure for serving data requested by the front end. 如請求項1之方法,其中該架構資訊包含用於架構該主資料服務結構之主架構資訊,且 該主資料服務結構包含: 複數個資料佇列,其等對應於該複數個後端資料域; 一儲存器,其中儲存透過該複數個資料佇列傳輸之資料;及 一服務層,其自該儲存器調用該請求資料且將該請求資料傳輸至該前端。 The method as claimed in item 1, wherein the schema information includes master schema information used to structure the master data service structure, and The master data service structure includes: a plurality of data queues corresponding to the plurality of backend data fields; a memory in which data transmitted through the plurality of data queues is stored; and A service layer invokes the request data from the storage and transmits the request data to the front end. 如請求項2之方法,其中該架構資訊進一步包含: 第一額外架構資訊,其用於架構添加至該主資料服務結構之一第一額外資料服務結構;或 第二額外架構資訊,其用於架構添加至該主資料服務結構之一第二額外資料服務結構。 The method of claim 2, wherein the architecture information further includes: first additional schema information for schemating a first additional data service structure added to the master data service structure; or The second additional schema information is used to schema a second additional data service structure added to the master data service structure. 如請求項3之方法,其中該第一額外資料服務結構包含: 一快取區,其經架構以自該儲存器獲得及儲存包含於儲存於該儲存器中之資料中之資料之至少一部分; 一更新資料佇列,其經架構以在該儲存器中識別對應於包含於資料之該至少一部分中之第一資料之更新第一資料時將該更新第一資料傳輸至該快取區;及 一快取更新管理器,其經架構以管理透過該更新資料佇列傳輸至該快取區之該更新第一資料,且 該第二額外資料服務結構包含: 一即時快取區,其經架構以透過該複數個資料佇列中與第二資料相關之一特定資料佇列來獲得及儲存對應於該第二資料之即時更新第二資料,該第二資料在儲存於該資料庫中之資料中被判定為需要即時更新;及 一即時快取更新管理器,其經架構以管理透過該特定資料佇列傳輸至該即時快取區之該即時更新第二資料。 The method of claim 3, wherein the first additional data service structure includes: a cache area structured to obtain from the storage and store at least a portion of the data contained in the data stored in the storage; an updated data queue structured to transmit updated first data to the cache upon identifying updated first data in the memory corresponding to first data contained in the at least a portion of the data; and a cache update manager structured to manage the updated first data transmitted to the cache area through the update data queue, and The second additional data service structure includes: a real-time cache area structured to obtain and store real-time updated second data corresponding to the second data through a specific one of the plurality of data queues associated with the second data, the second data is determined to require immediate updating of the information stored in the database; and A real-time cache update manager structured to manage the real-time update second data transmitted to the real-time cache area through the specific data queue. 如請求項4之方法,其中該架構資訊包含用於使該第一額外資料服務結構及該第二額外資料服務結構與該主資料服務結構相互作用之資訊。The method of claim 4, wherein the schema information includes information for enabling the first additional data service structure and the second additional data service structure to interact with the master data service structure. 如請求項4之方法,其中當更新該第一資料時,基於對應於該儲存器之一更新週期之一第一週期,透過該複數個資料佇列中與該第一資料相關之一資料佇列將該更新第一資料傳輸至該儲存器,且 當根據該第一週期在該儲存器及該更新資料佇列中識別該更新第一資料時,指示該快取更新管理器透過該更新資料佇列將該更新第一資料傳輸至該快取區。 The method of claim 4, wherein when updating the first data, based on a first cycle corresponding to an update cycle of the memory, through a data queue related to the first data among the plurality of data queues row transmits the updated first data to the memory, and instructing the cache update manager to transmit the updated first data to the cache area through the update data queue when the update first data is identified in the storage and the update data queue according to the first cycle . 如請求項4之方法,其中架構該資料服務結構包括基於該第一額外架構資訊來架構該資料服務結構包含該主資料服務結構及該第一額外資料服務結構, 該服務層優先自該快取區調用該請求資料且將該請求資料傳輸至該前端,且 當在該快取區中未識別該請求資料時,該服務層自該儲存器調用該請求資料且將該請求資料傳輸至該前端。 The method of claim 4, wherein structuring the data service structure includes structuring the data service structure based on the first additional structure information including the master data service structure and the first additional data service structure, 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 identified in the cache area, the service layer recalls the request data from the storage and transmits the request data to the front end. 如請求項4之方法,其中基於儲存於該儲存器中之資料中之一資料調用優先權來選擇儲存於該快取區中之該資料之該至少一部分儲存於該快取區中,且 基於來自該服務層之資料調用次數來判定該資料調用優先權。 The method of claim 4, wherein the 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 according to claim 4, wherein when the updated first data is identified in the storage and the unupdated first data is identified in the cache area, update request information for the first data is sent by the service layer transmission. 如請求項4之方法,其中當更新該第二資料時,基於對應於即時之一第二週期,透過該特定資料佇列將該即時更新第二資料傳輸至該即時快取區。The method of claim 4, wherein when the second data is updated, based on a second period corresponding to real time, the real-time updated second data is transmitted to the real-time cache area through the specific data queue. 如請求項4之方法,其中架構該資料服務結構包括基於該第二額外架構資訊來架構該資料服務結構包含該主資料服務結構及該第二額外資料服務結構,且 基於該請求資料是否對應於需要即時更新之資料,該服務層自該即時快取區調用該請求資料且將該請求資料傳輸至該前端。 The method of claim 4, wherein structuring the data service structure includes structuring the data service structure based on the second additional structure information including the master data service structure and the second additional data service structure, and Based on whether the requested data corresponds to data requiring real-time updating, the service layer invokes the requested data from the real-time cache area and transmits the requested data to the front end. 如請求項4之方法,其中架構該資料服務結構包括基於該第一額外架構資訊及該第二額外架構資訊來架構該資料服務結構包含該主資料服務結構、該第一額外資料服務結構及該第二額外資料服務結構, 當該請求資料對應於需要即時更新之資料時,該服務層自該快取區及該即時快取區兩者調用該請求資料,且 將由該服務層在該快取區及該即時快取區中調用之資料中之最新資料傳輸至該前端。 The method of claim 4, wherein structuring the data service structure includes structuring the data service structure based on the first additional schema information and the second additional schema information, including the master data service structure, the first additional data service structure, and the The second additional data service structure, When the requested data corresponds to data that requires real-time updates, the service layer invokes the requested data from both the cache and the real-time cache, and Transmitting to the front-end the most recent of the data invoked by the service layer in the cache and the real-time cache. 如請求項12之方法,其中若該請求資料不對應於需要即時更新之資料,則該服務層自該快取區調用該請求資料且將該請求資料傳輸至該前端。The method according to claim 12, wherein if the requested data does not correspond to data that needs to be updated immediately, the service layer calls the requested data from the cache area and transmits the requested data to the front end. 如請求項12之方法,其進一步包括: 獲得關於該請求資料是否對應於需要即時更新之資料之資訊。 The method of claim 12, further comprising: Obtain information on whether the requested data corresponds to data that needs to be updated in real time. 如請求項12之方法,其中當該前端請求包含複數個資料之一資料集且該請求資料包含於該複數個資料中時,基於所有該複數個資料由該服務層在該儲存器、該快取區或該即時快取區中調用來將該請求資料傳輸至該前端。The method according to claim 12, wherein when the front end requests a data set including a plurality of data and the requested data is included in the plurality of data, based on all the plurality of data, the service layer stores the data in the storage, the cache call in the fetch area or the instant cache area to transfer the request data to the front end. 如請求項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 the plurality of data calls from the storage, the cache area or the real-time cache area. 如請求項4之方法,其中獲得該架構資訊包括: 識別關於與該服務相關之一第一服務域之資訊; 識別關於該複數個後端資料域中與該第一服務域相關之一或多個後端資料域之資訊; 基於關於該一或多個後端資料域之該資訊,識別關於該第一額外資料服務結構是否將被架構之第一資訊及關於該第二額外資料服務結構是否將被架構之第二資訊;及 基於該第一資訊及該第二資訊獲得判定為包含該第一額外架構資訊或該第二額外架構資訊之該架構資訊。 The method of claim 4, wherein obtaining the structure information includes: Identify information about a first service domain associated with the service; identifying information about one or more of the plurality of backend data domains 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 is to be framed and second information about whether the second additional data service structure is to be framed; and The framework information determined to include the first additional framework information or the second additional framework information is obtained based on the first information and the second information. 如請求項1之方法,其中該請求資料自對應於包含於該複數個客戶頁面域中之一第一客戶頁面域之一第一客戶頁面請求。The method of claim 1, wherein the requested data is requested from a first client page domain corresponding to a first client page domain included in the plurality of customer page domains. 一種用於架構與一服務相關之一資料服務結構之電子設備,該電子設備包括: 一處理器;及 一或多個記憶體,其中儲存一或多個指令, 其中該一或多個指令在被執行時控制該處理器執行: 識別關於包含用於該服務之複數個客戶頁面域之一前端之資訊及關於包含與用於該服務之一資料庫相關之複數個後端資料域之一後端之資訊; 獲得用於架構該前端與該後端之間的一資料服務結構之架構資訊;及 基於該架構資訊,架構該資料服務結構包含用於服務由該前端請求之資料之一主資料服務結構。 An electronic device for constructing a data service structure related to a service, the electronic device comprising: a processor; and one or more memories in which one or more instructions are stored, Wherein the one or more instructions, when executed, control the processor to perform: Identify information about a front end comprising a plurality of customer page domains for the service and information about a back end comprising a plurality of back end data domains associated with a database used for the service; obtain architectural information for architecting a data services structure between the front end and the back end; and Based on the schema information, schemating the data service structure includes a master data service structure for serving data requested by the front end.
TW111147086A 2021-12-08 2022-12-08 Operating method for configuring data serving structure and electronic apparatus supporting thereof TW202324093A (en)

Applications Claiming Priority (2)

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

Publications (1)

Publication Number Publication Date
TW202324093A true TW202324093A (en) 2023-06-16

Family

ID=81780942

Family Applications (1)

Application Number Title Priority Date Filing Date
TW111147086A TW202324093A (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 (1) TW202324093A (en)
WO (1) WO2023106492A1 (en)

Families Citing this family (1)

* 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

Family Cites Families (5)

* 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
US7627829B2 (en) * 2003-09-19 2009-12-01 Yahoo! Inc. Command center and interface for web based business merchandising and service
US7797298B2 (en) * 2006-02-28 2010-09-14 Microsoft Corporation Serving cached query results based on a query portion
CN108027944B (en) * 2015-04-01 2021-08-13 电子湾有限公司 Structured project organization mechanism in electronic commerce
KR102665557B1 (en) * 2016-10-27 2024-05-20 에스케이플래닛 주식회사 System and method for providing marketing service of new customer

Also Published As

Publication number Publication date
KR102403609B1 (en) 2022-05-31
WO2023106492A1 (en) 2023-06-15
KR20230086558A (en) 2023-06-15

Similar Documents

Publication Publication Date Title
TW202324093A (en) Operating method for configuring data serving structure and electronic apparatus supporting thereof
KR102646283B1 (en) Operating method for electronic apparatus for managing order information and electronic apparatus supporting thereof
US11393010B1 (en) Operating method for electronic apparatus for offering item information and electronic apparatus supporting thereof
KR20230018983A (en) Operating method for providing information related to service and electronic apparatus supporting thereof
KR102630673B1 (en) Operating method for electronic apparatus for providing information and electronic apparatus supporting thereof
KR102640115B1 (en) Operating method for electronic apparatus for providing information and electronic apparatus supporting thereof
KR102630629B1 (en) Operating method for providing item group information and electronic apparatus supporting thereof
KR102390825B1 (en) Operating method for providing item information and electronic apparatus supporting thereof
KR102630699B1 (en) Operating method for electronic apparatus for transmitting data and electronic apparatus supporting thereof
KR102369857B1 (en) Operating method for electronic apparatus for providing advertisement message and electronic apparatus supporting thereof
KR20230154591A (en) Operating method for electronic apparatus for configuring information and electronic apparatus supporting thereof
KR102609583B1 (en) Operating method for electronic apparatus for configuring information and electronic apparatus supporting thereof
KR102407253B1 (en) Operating method for providing payment process information and electronic apparatus supporting thereof
KR102367815B1 (en) Operating method for electronic apparatus for providing keyword advertisement information and electronic apparatus supporting thereof
KR102618465B1 (en) Operating method for electronic apparatus for providing information and electronic apparatus supporting thereof
KR102429827B1 (en) Operating method for providing packing information and electronic apparatus supporting thereof
KR20230028119A (en) Operating method for providing information related to item and electronic apparatus supporting thereof
KR20230139607A (en) Operating method for electronic apparatus for providing page and electronic apparatus supporting thereof
KR20230110215A (en) Operating method for providing item category page and electronic apparatus supporting thereof
KR20230033004A (en) Operating method for providing information related to service and electronic apparatus supporting thereof
KR20230140785A (en) Operating method for electronic apparatus for configuring information and electronic apparatus supporting thereof
KR20230034872A (en) Operating method for providing information related to service and electronic apparatus supporting thereof
KR20240015966A (en) Operating method for electronic apparatus for providing information and electronic apparatus supporting thereof
KR20240000768A (en) Operating method for electronic apparatus for performing cashe update and electronic apparatus supporting thereof
KR20240000767A (en) Operating method for electronic apparatus for providing information and electronic apparatus supporting thereof