TW202347195A - Request integration system and request integration method - Google Patents

Request integration system and request integration method Download PDF

Info

Publication number
TW202347195A
TW202347195A TW111123917A TW111123917A TW202347195A TW 202347195 A TW202347195 A TW 202347195A TW 111123917 A TW111123917 A TW 111123917A TW 111123917 A TW111123917 A TW 111123917A TW 202347195 A TW202347195 A TW 202347195A
Authority
TW
Taiwan
Prior art keywords
request
data
channels
request data
module
Prior art date
Application number
TW111123917A
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 TW202347195A publication Critical patent/TW202347195A/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer And Data Communications (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present disclosure provides a request integration system and a request integration method. The request integration system includes a storage device and a processor. The storage device stores an entry module, a throttling adjustment module, a business service dispatching module. The processor is configured to execute the entry module, the throttling adjustment module, and the business service dispatching module, and receive request data. The entry module performs an analytical processing according to a message type of the request data to require a message and a header of the request data. The throttling adjustment module establishes multiple channels according to the maximum allowable number of channels, and executes a channel management processing according to an importance level and a receive sequence. The business service dispatching module processes the request data according to the header and the message of the request data, and generates a plurality of data object. The business service dispatching module outputs the data object.

Description

請求集成系統及請求集成方法Request integration system and request integration method

本公開涉及一種集成系統及其方法,且特別是有關於一種請求集成系統及其方法。The present disclosure relates to an integration system and a method thereof, and in particular to a request integration system and a method thereof.

在智慧倉目前的企業需要儲存以及同時進行傳輸的請求資料越來越多。同時,隨著發出請求的系統越來越多,請求資料調用的併發量需求亦增加,導致佔用服務執行系統的資源來進行請求集成的處理。導致服務執行系統無法即時回應請求,以及用戶端操作出現延遲的情況。若將集成伺服器與應用程式伺服器分開佈署,將導致負載的壓力會轉移到資料庫伺服器上,因此仍然有請求資料無法有效地集成以及派發的問題。有鑑於此,以下將提出幾個實施例的解決方案。In smart warehouses, enterprises currently need to store and transmit more and more requested data at the same time. At the same time, as more and more systems issue requests, the demand for concurrency in request data calls also increases, resulting in occupying the resources of the service execution system for request integration processing. As a result, the service execution system cannot respond to requests immediately, and user-side operations are delayed. If the integration server and the application server are deployed separately, the load pressure will be transferred to the database server, so there is still a problem that the requested data cannot be effectively integrated and distributed. In view of this, several embodiment solutions will be proposed below.

本發明是針對一種請求集成系統及資料集成方法,可提供高效率以及高穩定度的請求集成與派發效果。The invention is directed to a request integration system and a data integration method, which can provide high-efficiency and high-stability request integration and dispatch effects.

根據本發明的實施例,本發明的請求集成系統儲存裝置以及處理器。儲存裝置儲存由處理器執行的入口模組、節流調配模組以及業務分發模組。入口模組根據請求資料的報文類型進行解析處理,以獲得請求資料的報頭(例如,標題)以及報文(例如,訊息、封包)。節流調配模組根據通道數的最大允許值建立對應所述最大允許值的多個通道,並且根據請求資料的重要等級以及接收順序進行通道管理處理。業務分發模組根據請求資料的報頭以及報文,對請求資料進行資料處理,以產生多個資料物件。業務分發模組輸出資料物件。According to an embodiment of the present invention, the present invention requests an integrated system storage device and a processor. The storage device stores the entry module, the throttling deployment module and the service distribution module executed by the processor. The entry module performs parsing processing according to the message type of the requested data to obtain the header (for example, title) and the message (for example, message, packet) of the requested data. The throttling deployment module establishes multiple channels corresponding to the maximum allowable value of the number of channels, and performs channel management processing according to the importance level and reception order of the requested data. The business distribution module performs data processing on the request data according to the header and message of the request data to generate multiple data objects. The business distribution module outputs data objects.

根據本發明的實施例,本發明的請求集成方法包括:根據請求資料的報文類型進行解析處理,以獲得報頭以及報文;根據通道數的最大允許值建立對應的多個通道;根據請求資料的重要等級以及接收順序進行通道管理處理;根據請求資料的報頭以及報文,對請求資料進行資料處理,以產生多個資料物件;以及輸出資料物件至服務處理系統。According to the embodiment of the present invention, the request integration method of the present invention includes: performing parsing processing according to the message type of the request data to obtain the header and the message; establishing corresponding multiple channels according to the maximum allowable value of the number of channels; and according to the request data Perform channel management processing according to the importance level and reception order; perform data processing on the request data according to the header and message of the request data to generate multiple data objects; and output the data objects to the service processing system.

本發明的請求集成系統及請求集成方法,可透過節流閥機制將請求進行限流以及排隊,以達到服務請求的回應更加及時,以及服務處理系統更加穩定。The request integration system and request integration method of the present invention can limit and queue requests through a throttle mechanism, so as to achieve a more timely response to service requests and a more stable service processing system.

圖1是本發明的一實施例的請求集成系統的示意圖。參考圖1,請求集成系統100包括處理器110以及儲存裝置120。處理器110耦接儲存裝置120。儲存裝置120儲存有入口模組121、節流調配模組122以及業務分發模組123。在本實施例中,請求集成系統100可例如是設置在企業或使用者的本地端系統中,以供使用者從協力廠商系統發出請求至請求集成系統。透過請求集成系統的架構與技術實現對請求進行限流和排隊,接著將請求分配至各個企業資源規劃(Enterprise Resource Planning,ERP)系統中,以透過根據重要等級及先後順序對請求進行排序,以依序提供相關業務服務功能(例如產生採購單、請購單、報價等諸如此類的業務服務)。ERP系統可例如是設置在應用程式伺服器(AP server)中的應用服務系統。在一實施例中,請求集成系統100可設置在雲端伺服器,以供使用者連線並傳輸請求資料並執行相關業務服務(Business service)功能。在另一實施例中,請求集成系統100可應用於服務分級的應用場景中。舉例來說,請求集成系統100可應用於ERP系統的錄單、報表列印、匯出資料等場景,以透過請求集成系統根據功能或業務專案的重要等級進行排序(如錄單>報表列印>匯出資料),進而分配不同數量的通道。Figure 1 is a schematic diagram of a request integration system according to an embodiment of the present invention. Referring to FIG. 1 , the request integration system 100 includes a processor 110 and a storage device 120 . The processor 110 is coupled to the storage device 120 . The storage device 120 stores an entrance module 121, a throttling deployment module 122, and a service distribution module 123. In this embodiment, the request integration system 100 may be, for example, set up in a local system of an enterprise or a user, so that the user can send requests from the third party system to the request integration system. Through the architecture and technology of the request integration system, requests are limited and queued, and then the requests are allocated to various Enterprise Resource Planning (ERP) systems to sort the requests according to their importance and priority. Provide related business service functions in sequence (such as generating purchase orders, requisitions, quotations, and other such business services). The ERP system may be, for example, an application service system installed in an application server (AP server). In one embodiment, the request integration system 100 can be set up on a cloud server for users to connect and transmit request data and perform related business service functions. In another embodiment, the request integration system 100 may be applied in a service hierarchical application scenario. For example, the request integration system 100 can be applied to scenarios such as order recording, report printing, and data export in the ERP system, so that the request integration system can be used to sort according to the importance level of functions or business projects (such as order recording > report printing). >Export data), and then allocate different numbers of channels.

在本實施例中,處理器110可例如包括中央處理單元(Central Processing Unit,CPU),或是其他可程式設計之一般用途或特殊用途的微處理器(Microprocessor)、數位訊號處理器(Digital Signal Processor,DSP)、特殊應用積體電路(Application Specific Integrated Circuits,ASIC)、可程式設計邏輯器件(Programmable Logic Device,PLD)、其他類似處理電路或這些裝置的組合。儲存裝置120可包括記憶體(Memory)及/或資料庫(database),其中記憶體可例如非揮發性記憶體(Non-Volatile Memory,NVM)。儲存裝置120可儲存有用於實現本發明各實施例的相關程式、模組、系統或演算法,以供處理器110存取並執行而實現本發明各實施例所描述的相關功能及操作。在本實施例中,入口模組121、節流調配模組122以及業務分發模組123可例如是以JSON(JavaScript Object Notation)、可延伸標記式語言(Extensible Markup Language,XML)或YAML等諸如此類的程式語言來實現的,但本發明也不限於此。In this embodiment, the processor 110 may include, for example, a central processing unit (CPU), or other programmable general-purpose or special-purpose microprocessor (Microprocessor) or digital signal processor (Digital Signal Processor). Processor (DSP), Application Specific Integrated Circuits (ASIC), Programmable Logic Device (PLD), other similar processing circuits or a combination of these devices. The storage device 120 may include a memory and/or a database, where the memory may be, for example, a non-volatile memory (NVM). The storage device 120 may store related programs, modules, systems or algorithms for implementing various embodiments of the present invention, for the processor 110 to access and execute to implement related functions and operations described in various embodiments of the present invention. In this embodiment, the entrance module 121, the throttling deployment module 122 and the service distribution module 123 can be, for example, JSON (JavaScript Object Notation), Extensible Markup Language (Extensible Markup Language, XML) or YAML, or the like. programming language, but the present invention is not limited thereto.

在本實施例中,使用者可例如透過個人電腦裝置執行請求集成系統100,並且將請求資料登錄至請求集成系統100,以請求執行對應的業務服務功能。請求集成系統100可根據請求資料來執行入口模組121、節流調配模組122以及業務分發模組123,以將請求資料轉換為ERP系統或AP伺服器可讀取/認可的資料物件,並且根據請求重要等級以及順序對應地透過通道傳輸至ERP系統或AP伺服器,以執行對應的業務服務功能,使得ERP系統的服務回應更即時且系統更加穩定。在本實施例中,用戶可透過(特定)協力廠商系統輸入一個或多個請求至請求集成系統100之中。所述請求為請求資料,且所述請求資料例如是企業工單或服務請求。請求(請求資料)可以是由不同協力廠商系統所發出的請求,也可以是由同一個系統所發出的請求。請求集成系統100根據多個請求的優先順序與接收順序,以及使用者被授權的通道數,執行請求的派發處理與通道的管理以達到僵硬見資源優先留給EPR系統的業務處理,使得執行業務服務的ERP系統對於服務回應更加及時,並且根據使用者或企業被授權的通道數量,預留對應請求的處理通道,以確保不會遺漏請求。In this embodiment, the user can, for example, execute the request integration system 100 through a personal computer device, and log the request data into the request integration system 100 to request execution of the corresponding business service function. The request integration system 100 can execute the portal module 121, the throttling deployment module 122 and the business distribution module 123 according to the request data to convert the request data into data objects that can be read/approved by the ERP system or AP server, and According to the request importance level and sequence, it is transmitted to the ERP system or AP server through the channel to execute the corresponding business service function, making the ERP system's service response more immediate and the system more stable. In this embodiment, the user can input one or more requests into the request integration system 100 through the (specific) third-party system. The request is request data, and the request data is, for example, an enterprise work order or a service request. Requests (request data) can be requests made by different third-party systems, or requests made by the same system. The request integration system 100 performs request dispatch processing and channel management based on the priority and reception order of multiple requests, as well as the number of channels authorized by the user, so as to achieve rigid resource priority and leave it to the business processing of the EPR system, so that the business can be executed. The service's ERP system responds more promptly to services, and reserves processing channels for corresponding requests based on the number of channels authorized by the user or enterprise to ensure that no request is missed.

圖2是本發明的一實施例的請求集成方法的流程圖。圖3是本發明的一實施例的請求集成系統及待處理請求的示意圖。參考圖2以及圖3,請求集成系統300可執行以下步驟S210~S250,以優先順序及先後順序依序地將請求資料分發至對應的應用服務。如圖3所示,入口模組310接收多個待處理請求300_R。待處理請求300_R例如是查詢供應商資訊、創建供應商資訊、創建工單以及審核銷售訂單。Figure 2 is a flow chart of a request integration method according to an embodiment of the present invention. Figure 3 is a schematic diagram of a request integration system and pending requests according to an embodiment of the present invention. Referring to FIG. 2 and FIG. 3 , the request integration system 300 can perform the following steps S210 to S250 to sequentially distribute the request data to the corresponding application services in priority order and sequence. As shown in Figure 3, the entry module 310 receives multiple pending requests 300_R. The pending requests 300_R are, for example, querying supplier information, creating supplier information, creating work orders, and reviewing sales orders.

在步驟S210,處理器110透過入口模組310根據請求資料的報文類型進行解析處理,以獲得報頭以及報文。在本實施例中,入口模組310可支援多種協定,例如是Web服務(Web service)協定和表述性狀態轉移式(Representational State Transfer, restful)協議,但本發明也不限於此。入口模組310根據請求資料(待處理請求)的協定類型以相應的資料處理器110進行資料解析與讀取,以獲得每個請求資料的報頭及報文,進而獲得(得知)每個請求資料的服務內容及重要等級。在一實施例中,入口模組310根據請求資料的報文類型透過對應的序列化器讀取請求資料。In step S210, the processor 110 performs parsing processing according to the message type of the requested data through the entry module 310 to obtain the header and the message. In this embodiment, the portal module 310 can support multiple protocols, such as a Web service protocol and a Representational State Transfer (restful) protocol, but the invention is not limited thereto. The entrance module 310 uses the corresponding data processor 110 to parse and read the data according to the protocol type of the requested data (request to be processed) to obtain the header and message of each requested data, and then obtain (know) each request. The service content and importance level of the data. In one embodiment, the entry module 310 reads the request data through a corresponding serializer according to the message type of the request data.

在步驟S220,處理器110可透過節流調配模組320根據通道數的最大允許值建立對應最大允許值的多個通道。在本實施例中,節流調配模組320根據接收到或內建的通道數最大允許值(數量)建立具有相應通道數量的通道組322。所述通道數為根據企業或使用者被授權的併發的連接數(併發數)。在一實施例中使用者可根據需求透過購買增加被授權的併發數,以提升使用者對於請求資料執行效率與經濟間的規畫彈性度。In step S220, the processor 110 may establish multiple channels corresponding to the maximum allowable value according to the maximum allowable value of the number of channels through the throttling allocation module 320. In this embodiment, the throttling deployment module 320 creates a channel group 322 with a corresponding number of channels according to the received or built-in maximum allowed value (number) of the number of channels. The number of channels is the number of concurrent connections (number of concurrencies) authorized by the enterprise or user. In one embodiment, the user can increase the number of authorized concurrencies by purchasing according to the needs, so as to improve the user's planning flexibility for requesting data execution efficiency and economy.

在步驟S230,處理器110可透過節流調配模組320根據請求資料的重要等級以及請求資料的接收順序進行通道管理處理。在本實施例中,節流調配模組320的佇列管理服務模組321根據每一請求資料的重要等級以及獲取(傳輸)順序將請求資料進行排序,並且節流調配模組320根據通道組322中的當前空閒通道將經排序的請求資料依序透過當前空閒通道以完成通道和請求資料的管理。在本實施例中,每一個通道同時派送一個請求資料(請求服務),並且通道是否為空閒狀態是根據此通道所派送的服務是否被執行完。也就是說,請求資料被傳輸至請求集成系統300之中後,透過佇列管理服務模組321的指派與連續處理,使得通道組322中的當前空閒通道接收請求資料。接著,派送至對應的服務處理系統,例如ERP系統。當請求資料的服務被執行完成後,此通道回到空閒狀態且等待後續請求資料的傳輸。In step S230, the processor 110 may perform channel management processing according to the importance level of the requested data and the receiving order of the requested data through the throttling allocation module 320. In this embodiment, the queue management service module 321 of the throttling deployment module 320 sorts the request data according to the importance level and acquisition (transmission) order of each request data, and the throttling deployment module 320 sorts the request data according to the channel group. The current idle channel in 322 passes the sorted request data through the current idle channel in order to complete the management of the channel and request data. In this embodiment, each channel dispatches a request data (request service) at the same time, and whether the channel is in an idle state depends on whether the service dispatched by the channel has been completed. That is to say, after the request data is transmitted to the request integration system 300, through the assignment and continuous processing of the queue management service module 321, the currently idle channel in the channel group 322 receives the request data. Then, it is dispatched to the corresponding service processing system, such as ERP system. When the service requesting data is completed, the channel returns to the idle state and waits for the transmission of subsequent request data.

在步驟S240,處理器110可透過業務分發模組330根據請求資料的報頭以及報文,對請求資料進行資料處理(資料轉換處理)以產生資料物件。在本實施例中,業務分發模組330透過服務分發器331根據請求資料的報頭及報文,獲得請求資料的協定類型及服務內容333。並且,業務分發模組330根據請求資料的服務內容333,對請求資料執行對應的資料轉換處理以產生資料物件。資料轉換處理包括進行公式運算、帶值、資料校驗、資料轉換、創建、讀取、更新及刪除(CRUD)操作的至少其中之一。在本實施例中,業務分發模組330包括資料處理單元以執行資料轉換處理。在一實施例中,資料處理單元可包括序列化器用以提供資料序列化服務332,資料序列化服務332為將請求資料的報文經過序列化處理,以產生資料物件。In step S240, the processor 110 may perform data processing (data conversion processing) on the request data according to the header and message of the request data through the service distribution module 330 to generate a data object. In this embodiment, the service distribution module 330 obtains the protocol type and service content 333 of the requested data through the service distributor 331 according to the header and message of the requested data. Furthermore, the service distribution module 330 performs corresponding data conversion processing on the request data according to the service content 333 of the request data to generate data objects. Data conversion processing includes performing at least one of formula operations, band values, data verification, data conversion, create, read, update and delete (CRUD) operations. In this embodiment, the service distribution module 330 includes a data processing unit to perform data conversion processing. In one embodiment, the data processing unit may include a serializer to provide a data serialization service 332. The data serialization service 332 serializes messages requesting data to generate data objects.

如此,經過序列化處理的請求資料為請求集成系統且/或ERP系統可認可的資料物件。資料物件為經過資料轉換處理的請求資料。如此,經過資料轉換處理的請求資料被組織成更加完整且有效的資料,並且轉換處理後的請求資料為ERP系統認可及可讀取的資料,以提高請求資料派發以及後續執行業務服務的效率與穩定性。在步驟S250,處理器110可透過業務分發模組330輸出資料物件。在本實施例中,業務分發模組330根據請求資料的服務內容333,將資料物件輸出至AP伺服器或ERP系統中。In this way, the serialized request data is a data object recognized by the request integration system and/or the ERP system. The data object is the request data that has been processed by data conversion. In this way, the request data that has been processed by data conversion is organized into more complete and effective data, and the converted request data is data recognized and readable by the ERP system to improve the efficiency and efficiency of request data distribution and subsequent execution of business services. Stability. In step S250, the processor 110 may output the data object through the service distribution module 330. In this embodiment, the business distribution module 330 outputs the data object to the AP server or ERP system according to the service content 333 of the requested data.

如此一來,本發明的請求集成系統300及其方法可根據請求資料的優先順序與傳輸順序進行排序,並且可根據使用者所購買的併發數量建立通道數,以使得請求資料的派發與管理更加穩定級更加有效率。同時,提升ERP系統服務回應更加及時。In this way, the request integration system 300 and its method of the present invention can be sorted according to the priority and transmission order of the request data, and can establish the number of channels according to the number of concurrency purchased by the user, so as to make the distribution and management of the request data more efficient. Stable levels are more efficient. At the same time, the ERP system service response is improved to be more timely.

圖4是本發明的一實施例的請求集成系統、協力廠商系統、授權中心及應用程式伺服器的示意圖。參考圖1以及圖4節流調配模組122包括請求佇列管理單元413、通道分發單元414以及終點分發單元415。業務分發模組123包括業務分發單元4151、業務服務分發單元417以及資料處理單元416。企業或使用者透過協力廠商系統420將一個或多個請求資料發送至請求集成系統410的入口模組411中。協力廠商系統420例如是電子商務系統、人資管理系統以及製造執行系統。請求資料的格式例如是JSON或XML格式,且請求資料的協定例如是Restful或是SOAP協定。在本實施例中,內部Restful入口服務412接收請求資料,且傳輸至請求佇列管理單元413。請求佇列管理單元413根據請求資料的重要等級以及先後順序將多個請求進行排序。Figure 4 is a schematic diagram of the request integration system, third party system, authorization center and application server according to an embodiment of the present invention. Referring to FIG. 1 and FIG. 4 , the throttling deployment module 122 includes a request queue management unit 413 , a channel distribution unit 414 and an end point distribution unit 415 . The business distribution module 123 includes a business distribution unit 4151, a business service distribution unit 417 and a data processing unit 416. The enterprise or user sends one or more request data to the entry module 411 of the request integration system 410 through the third party system 420 . The third-party system 420 is, for example, an e-commerce system, a human resource management system, and a manufacturing execution system. The format of the requested data is, for example, JSON or XML format, and the protocol of the requested data is, for example, Restful or SOAP protocol. In this embodiment, the internal Restful portal service 412 receives the request data and transmits it to the request queue management unit 413 . The request queue management unit 413 sorts multiple requests according to the importance level and sequence of the requested data.

在本實施例中,通道分發單元414根據通道數的最大允許值啟用相同數量的通道。在一實施例中,終點分發單元415與授權中心430的控制器431互相通訊,以獲得使用者經授權的通道數量。經授權的通道數量例如是使用者所購買的通道數量。終點分發單元415將經授權的通道數量傳輸至通道分發單元414。通道分發單元414的通道計數器4141將經授權通道數量作為通道數的最大允許值。也就是說,當這用戶被授權的集成併發數為N個,則通道分發單元414建立/啟用N個通道,N為正整數。請求佇列管理單元413根據請求資料的優先順序/排序將請求資料進行排隊,且依序進入通道組322中當前空閒通道進行處理,達到請求資料限流以及排隊的效果。In this embodiment, the channel distribution unit 414 enables the same number of channels according to the maximum allowed value of the number of channels. In one embodiment, the terminal distribution unit 415 communicates with the controller 431 of the authorization center 430 to obtain the number of authorized channels for the user. The number of authorized channels is, for example, the number of channels purchased by the user. The terminal distribution unit 415 transmits the authorized channel number to the channel distribution unit 414. The channel counter 4141 of the channel distribution unit 414 takes the number of authorized channels as the maximum allowed value of the number of channels. That is to say, when the authorized number of integrated concurrencies for this user is N, the channel distribution unit 414 establishes/enables N channels, where N is a positive integer. The request queue management unit 413 queues the requested data according to the priority/ordering of the requested data, and sequentially enters the currently idle channel in the channel group 322 for processing, thereby achieving the effect of current limiting and queuing of the requested data.

在本實施例中,終點分發單元415透過通道分發單元414接收請求資料,並且終點分發單元415建立每個通道和業務分發模組123的業務分發單元4151之間的通訊,進而搭建一對一的通訊。業務分發單元4151透過序列化服務將請求資料及其報文轉換成資料物件。在本實施例中,業務服務分發單元417透過分析請求資料的報頭以及報文,以產生請求資料的服務名稱標識以及資料標識。如此,業務服務分發單元417根據服務名稱標示以及資料標示將經過資料轉換的請求資料分配到應用程式伺服器440中對應的服務流程(ERP流程)。In this embodiment, the end point distribution unit 415 receives the request data through the channel distribution unit 414, and the end point distribution unit 415 establishes communication between each channel and the service distribution unit 4151 of the service distribution module 123, thereby establishing a one-to-one Communication. The business distribution unit 4151 converts the request data and its message into data objects through the serialization service. In this embodiment, the business service distribution unit 417 generates a service name identifier and a data identifier of the requested data by analyzing the header and message of the requested data. In this way, the business service distribution unit 417 distributes the data-converted request data to the corresponding service process (ERP process) in the application server 440 according to the service name identifier and the data identifier.

在本實施例中,在業務分發單元4151將請求資料透過序列化處理轉換成資料物件之後,以及業務分發單元4151將請求資料分配至應用程式伺服器440之前,業務服務分發單元417可將請求資料登錄至資料處理單元416。如此,透過資料處理單元416對請求資料或資料物件進行資料轉換處理,以產生多個資料物件。如此一來,透過序列化處理,將請求資料轉換成系統認可以及可讀取的資料物件,以增加資料識別度以及提升分發效率。在一實施例中,業務服務分發單元417根據請求資料的報頭資訊,將請求資料登錄至資料處理單元416之中對應的處理單元,以產生多個資料物件。所述處理單元例如是資料轉換/交換單元、序列化器、資料校驗單元、資料帶值單元以及運算單元。並且,資料轉換處理包括對資料進行公式、帶值、資料校驗、資料轉換、創建、讀取、更新及刪除(CRUD)操作。In this embodiment, after the business distribution unit 4151 converts the request data into data objects through serialization processing, and before the business distribution unit 4151 distributes the request data to the application server 440, the business service distribution unit 417 may convert the request data to the application server 440. Log in to the data processing unit 416. In this way, the data processing unit 416 performs data conversion processing on the request data or data objects to generate multiple data objects. In this way, through serialization processing, the request data is converted into system-recognized and readable data objects to increase data recognition and improve distribution efficiency. In one embodiment, the business service distribution unit 417 logs the request data into the corresponding processing unit in the data processing unit 416 according to the header information of the request data to generate multiple data objects. The processing unit is, for example, a data conversion/exchange unit, a serializer, a data verification unit, a data band value unit, and an arithmetic unit. Moreover, the data conversion processing includes performing formula, band value, data verification, data conversion, creation, reading, updating and deletion (CRUD) operations on the data.

在本實施例中,資料處理單元416將經處理的資料物件輸出至業務服務分發單元417。業務服務分發單元417將資料物件分發至對應請求資料包文的處理系統中。在本實施例中,業務服務分發單元417根據請求資料的協定類型以及業務服務內容進行業務分發。所述業務分發包括業務服務分發單元417將資料物件輸出至應用程式伺服器440,以執行對應業務服務內容的服務。所述處理系統例如是ERP系統。在一實施例中,業務服務分發單元417將資料物件傳輸至連接分發器418,並且連接分發器418接著將資料物件傳輸至遠端連接器419。如此,應用程式伺服器440的服務分發器443透過遠端連接器419接收請求資料,並且將資料物件輸入至對應的服務模組。所述服務模組可以是ERP系統中的各項服務。在另一實施例中,業務服務分發單元417也可將資料物件傳輸至應用程式伺服器440的遠端連接器441,進而令連接分發器442透過遠端連接器441接收資料物件且輸出至應用程式伺服器440的服務分發器443。In this embodiment, the data processing unit 416 outputs the processed data objects to the business service distribution unit 417. The business service distribution unit 417 distributes the data objects to the processing system corresponding to the requested data packet. In this embodiment, the business service distribution unit 417 performs service distribution according to the agreement type of the requested data and the business service content. The business distribution includes the business service distribution unit 417 outputting data objects to the application server 440 to execute services corresponding to the business service content. The processing system is, for example, an ERP system. In one embodiment, the business service distribution unit 417 transmits the data objects to the connection distributor 418, and the connection distributor 418 then transmits the data objects to the remote connector 419. In this way, the service distributor 443 of the application server 440 receives the request data through the remote connector 419 and inputs the data object into the corresponding service module. The service module may be various services in the ERP system. In another embodiment, the business service distribution unit 417 can also transmit the data object to the remote connector 441 of the application server 440, so that the connection distributor 442 receives the data object through the remote connector 441 and outputs it to the application. Service distributor 443 of program server 440.

ERP系統接收到經資料轉換處理且/或序列化處理的請求資料(資料物件)後,透過多個服務模組進行服務處理。所述服務模組例如是建立/讀取/更新/刪除/查詢服務444、驗證服務445、工作流程服務446、報告服務447以及批次服務448。服務處理例如是查詢供應商、增加/刪減工單數據、確認銷售訂單、詢問/調閱供貨商數據等。舉例來說,業務服務分發單元417以及ERP系統可根據請求資料的報頭得知請求的服務為查詢供應商,並且根據請求資料的報文得知查詢的條件。After the ERP system receives the requested data (data objects) that have been processed by data conversion and/or serialization, it performs service processing through multiple service modules. The service modules are, for example, create/read/update/delete/query service 444, verification service 445, workflow service 446, report service 447 and batch service 448. Service processing includes querying suppliers, adding/deleting work order data, confirming sales orders, querying/retrieving supplier data, etc. For example, the business service distribution unit 417 and the ERP system can learn that the requested service is a query provider based on the header of the request data, and learn the query conditions based on the message of the request data.

綜上所述,本發明的請求集成系統及請求集成方法可實現對協力廠商集成請求進行限流和排隊,以保證將硬體資源優先留給ERP產品本身業務處理,使得ERP本系統的服務回應更及時,系統運行更加穩定;另外,又可根據系統上線前評估的協力廠商集成的併發數,預留相應處理通道,保證協力廠商集成服務的及時回應,超出評估部分也會採用排隊方式,保證請求的處理不遺漏。In summary, the request integration system and request integration method of the present invention can realize current limiting and queuing of third party integration requests to ensure that hardware resources are given priority to the business processing of the ERP product itself, so that the service response of the ERP system More timely, the system runs more stably; in addition, corresponding processing channels can be reserved based on the number of concurrent third-party integrations evaluated before the system goes online to ensure timely response from third-party integration services. The queuing method will also be used for parts exceeding the evaluation to ensure Requests are handled without missing a beat.

最後應說明的是:以上各實施例僅用以說明本發明的技術方案,而非對其限制;儘管參照前述各實施例對本發明進行了詳細的說明,本領域的普通技術人員應當理解:其依然可以對前述各實施例所記載的技術方案進行修改,或者對其中部分或者全部技術特徵進行等同替換;而這些修改或者替換,並不使相應技術方案的本質脫離本發明各實施例技術方案的範圍。Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention, but not to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: The technical solutions described in the foregoing embodiments can still be modified, or some or all of the technical features can be equivalently replaced; and these modifications or substitutions do not deviate from the essence of the corresponding technical solutions from the technical solutions of the embodiments of the present invention. Scope.

最後應說明的是:以上各實施例僅用以說明本公開的技術方案,而非對其限制;儘管參照前述各實施例對本公開進行了詳細的說明,本領域的普通技術人員應當理解:其依然可以對前述各實施例所記載的技術方案進行修改,或者對其中部分或者全部技術特徵進行等同替換;而這些修改或者替換,並不使相應技術方案的本質脫離本公開各實施例技術方案的範圍。Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present disclosure, but not to limit it; although the present disclosure has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: The technical solutions described in the foregoing embodiments can still be modified, or some or all of the technical features can be equivalently replaced; and these modifications or substitutions do not deviate from the essence of the corresponding technical solutions from the technical solutions of the embodiments of the present disclosure. Scope.

100:請求集成系統 110:處理器 120:儲存裝置 121:入口模組 122:節流調配模組 123:業務分發模組 300_R:待處理請求 300:請求集成系統 310:入口模組 320:節流調配模組 321:佇列管理服務模組 322:通道組 330:業務分發模組 331:服務分發器 332:資料序列化服務 333:服務內容 410:請求集成系統 411:入口模組 412:內部restful入口服務 413:請求佇列管理單元 414:通道分發單元 4141:通道計數器 415:終點分發單元 4151:業務分發單元 416:資料處理單元 417:業務服務分發單元 418:連接分發器 419:遠端連接器 420:協力廠商系統 430:授權中心 431:控制器 440:應用程式伺服器 441:遠端連接器 442:連接分發器 443:服務分發器 444:建立/讀取/更新/刪除/查詢服務 445:驗證服務 446:工作流程服務 447:報告服務 448:批次服務 S210~S250:步驟 100:Request integrated system 110: Processor 120:Storage device 121: Entrance module 122: Throttle deployment module 123:Business distribution module 300_R: Pending request 300: Request integrated system 310: Entrance module 320: Throttle deployment module 321: Queue management service module 322:Channel group 330:Business distribution module 331:Service Distributor 332: Data serialization service 333:Service content 410: Request integration system 411: Entrance module 412: Internal restful entrance service 413: Request queue management unit 414: Channel distribution unit 4141: Channel counter 415:Terminal distribution unit 4151:Business distribution unit 416:Data processing unit 417: Business service distribution unit 418:Connect distributor 419:Remote connector 420:Third Party System 430:Authorization Center 431:Controller 440:Application Server 441:Remote connector 442:Connect distributor 443:Service Distributor 444: Create/read/update/delete/query service 445:Verification service 446:Workflow services 447:Reporting Services 448:Batch service S210~S250: steps

圖1是本發明的一實施例的請求集成系統的示意圖。 圖2是本發明的一實施例的請求集成方法的流程圖。 圖3是本發明的一實施例的請求集成系統及待處理請求的示意圖。 圖4是本發明的一實施例的請求集成系統、協力廠商系統、授權中心及應用程式伺服器的示意圖。 Figure 1 is a schematic diagram of a request integration system according to an embodiment of the present invention. Figure 2 is a flow chart of a request integration method according to an embodiment of the present invention. Figure 3 is a schematic diagram of a request integration system and pending requests according to an embodiment of the present invention. Figure 4 is a schematic diagram of the request integration system, third party system, authorization center and application server according to an embodiment of the present invention.

100:請求集成系統 100:Request integrated system

110:處理器 110: Processor

120:儲存裝置 120:Storage device

121:入口模組 121: Entrance module

122:節流調配模組 122: Throttle deployment module

123:業務分發模組 123:Business distribution module

Claims (16)

一種請求集成系統,其包括: 儲存裝置,儲存多個模組;以及 處理器,耦接所述儲存裝置,執行所述多個模組,並接收多個請求資料,其中所述多個模組包括入口模組、節流調配模組以及業務分發模組, 其中所述入口模組根據所述多個請求資料的報文類型進行解析處理,以獲得每一所述請求資料的報頭以及報文, 其中所述節流調配模組根據通道數的最大允許值建立對應所述最大允許值的多個通道,並且所述節流調配模組根據所述多個請求資料的重要等級以及所述多個請求資料的接收順序進行通道管理處理, 其中所述業務分發模組根據所述多個請求資料的報頭以及報文,對所述多個請求資料進行資料處理,以產生多個資料物件,其中所述業務分發模組輸出所述多個資料物件。 A request integration system including: a storage device to store multiple modules; and a processor, coupled to the storage device, executing the plurality of modules, and receiving a plurality of request data, wherein the plurality of modules include an entry module, a throttling deployment module, and a service distribution module, wherein the entry module performs parsing processing according to the message types of the multiple request data to obtain the header and message of each request data, The throttling deployment module establishes multiple channels corresponding to the maximum allowable value according to the maximum allowable value of the number of channels, and the throttling deployment module establishes multiple channels corresponding to the maximum allowable value according to the importance levels of the multiple request data and the multiple The order in which the requested data is received is processed through channel management. The business distribution module performs data processing on the multiple request data according to the headers and messages of the multiple request data to generate multiple data objects, and the business distribution module outputs the multiple Data objects. 如請求項1所述的請求集成系統,其中,所述業務分發模組包括: 業務服務分發單元,透過分析所述多個請求的報頭以及所述多個請求資料的報文,以產生多個服務名稱標識以及多個資料標識;以及 資料處理單元,對所述多個請求資料進行資料轉換處理,以產生多個物件資料。 The request integration system as described in claim 1, wherein the service distribution module includes: The business service distribution unit generates multiple service name identifiers and multiple data identifiers by analyzing the headers of the multiple requests and the messages of the multiple request data; and The data processing unit performs data conversion processing on the multiple request data to generate multiple object data. 如請求項2所述的請求集成系統,其中,所述資料處理單元包括序列化器,所述序列化器將所述請求資料的報文經過序列化處理,以產生所述多個資料物件。The request integration system according to claim 2, wherein the data processing unit includes a serializer, and the serializer serializes the message requesting data to generate the plurality of data objects. 如請求項2所述的請求集成系統,其中所述業務服務分發單元根據所述多個請求資料的協定類型以及業務服務內容將對應的所述多個資料物件進行業務分發。The request integration system according to claim 2, wherein the business service distribution unit performs business distribution on the corresponding plurality of data objects according to the agreement types and business service contents of the plurality of request materials. 如請求項4所述的請求集成系統,其中,所述業務分發包括所述業務服務分發單元將所述多個資料物件輸出至應用程式伺服器,以執行對應所述業務服務內容的服務。The request integration system according to claim 4, wherein the business distribution includes the business service distribution unit outputting the plurality of data objects to an application server to execute services corresponding to the business service content. 如請求項1所述的請求集成系統,其中,所述節流調配模組包括: 請求佇列管理單元,根據所述多個請求資料的重要等級以及先後順序將所述多個請求資料進行排序; 通道分發單元,根據所述通道數的最大允許值啟用對應數量的所述通道;以及 終點分發單元,透過通道分發單元接收所述多個請求資料,並且建立每個所述通道和所述業務分發模組的業務分發單元之間的通訊, 其中所述通道分發單元根據所述多個請求資料的排序,將所述多個請求資料依序傳輸至所述通道中的當前空閒通道。 The request integration system as described in claim 1, wherein the throttling deployment module includes: The request queue management unit sorts the plurality of request materials according to the importance level and order of the plurality of request materials; A channel distribution unit that enables a corresponding number of channels according to the maximum allowed value of the number of channels; and The terminal distribution unit receives the plurality of request data through the channel distribution unit, and establishes communication between each of the channels and the service distribution unit of the service distribution module, The channel distribution unit sequentially transmits the plurality of request data to the currently idle channel in the channel according to the ordering of the plurality of request data. 如請求項6所述的請求集成系統,其中,所述終點分發單元與授權中心互相通訊,以獲得使用者經授權通道數量, 其中所述通道分發單元包括通道計數器,所述通道計數器將所述經授權通道數量作為所述通道數的最大允許值。 The request integration system as described in claim 6, wherein the terminal distribution unit communicates with the authorization center to obtain the number of authorized channels for the user, The channel distribution unit includes a channel counter, and the channel counter uses the number of authorized channels as the maximum allowed value of the number of channels. 如請求項1所述的請求集成系統,其中,所述入口模組根據所述多個請求資料的報文類型透過對應的序列化器讀取所述多個請求資料。The request integration system according to claim 1, wherein the entry module reads the plurality of request data through a corresponding serializer according to the message type of the plurality of request data. 一種請求集成方法,包括: 接收多個請求資料,並且根據所述多個請求資料的報文類型進行解析處理,以獲得每一所述請求資料的報頭以及報文; 根據通道數的最大允許值建立對應所述最大允許值的多個通道,並且根據所述多個請求資料的重要等級以及所述多個請求資料的接收順序進行通道管理處理; 根據所述多個請求資料的報頭以及報文,對所述多個請求資料進行資料處理;以及 輸出所述多個資料物件。 A request integration method that includes: Receive multiple request data, and perform parsing processing according to the message types of the multiple request data to obtain the header and message of each request data; Establish multiple channels corresponding to the maximum allowed value according to the maximum allowed value of the number of channels, and perform channel management processing according to the importance levels of the multiple requested materials and the reception order of the multiple requested materials; Perform data processing on the multiple request data according to the headers and messages of the multiple request data; and Output the plurality of data objects. 如請求項9所述的請求集成方法,其中,根據所述多個請求資料的所述報頭以及所述報文,對所述多個請求資料進行資料處理的步驟包括: 透過分析所述多個請求的報頭以及所述多個請求資料的報文,以產生多個服務名稱標識以及多個資料標識;以及 對所述多個請求資料進行資料轉換處理,以產生多個物件資料。 The request integration method as described in claim 9, wherein the step of processing the plurality of request materials according to the headers and the messages of the plurality of request materials includes: Generate multiple service name identifiers and multiple data identifiers by analyzing the headers of the multiple requests and the messages of the multiple request data; and Perform data conversion processing on the multiple request data to generate multiple object data. 如請求項10所述的請求集成方法,其中,所述資料轉換處理包括將所述請求資料的報文經過序列化處理,以產生所述多個資料物件。The request integration method according to claim 10, wherein the data conversion processing includes serializing the message requesting data to generate the plurality of data objects. 如請求項10所述的請求集成方法,其中,所述輸出所述多個資料物件的步驟包括:根據所述多個請求資料的協定類型以及業務服務內容將對應的所述多個資料物件進行業務分發。The request integration method as described in claim 10, wherein the step of outputting the plurality of data objects includes: processing the corresponding plurality of data objects according to the agreement type and business service content of the plurality of request data. Business distribution. 如請求項12所述的請求集成方法,其中,所述業務分發包括將所述多個資料物件輸出至應用程式伺服器(AP server),以執行對應所述業務服務內容的服務。The request integration method according to claim 12, wherein the service distribution includes outputting the plurality of data objects to an application server (AP server) to execute services corresponding to the business service content. 如請求項10所述的請求集成方法,其中,根據所述通道數的所述最大允許值建立對應所述最大允許值的所述多個通道,並且根據所述多個請求資料的所述重要等級以及所述多個請求資料的所述接收順序進行通道管理處理的步驟包括: 根據所述多個請求資料的重要等級以及先後順序將所述多個請求資料進行排序; 根據所述通道數的最大允許值啟用對應數量的所述通道; 接收所述多個請求資料,並且建立每個所述通道和業務分發單元之間的通訊;以及 根據所述多個請求資料的排序,將所述多個請求資料依序傳輸至所述通道中的當前空閒通道。 The request integration method according to claim 10, wherein the plurality of channels corresponding to the maximum allowable value are established according to the maximum allowable value of the number of channels, and the plurality of channels corresponding to the maximum allowable value are established according to the importance of the plurality of request materials. The steps of performing channel management processing based on the level and the receiving sequence of the plurality of request materials include: Sort the multiple request materials according to the importance level and order of the multiple request materials; Enable the corresponding number of channels according to the maximum allowed value of the number of channels; Receive the plurality of request data, and establish communication between each of the channels and the service distribution unit; and According to the ordering of the plurality of request data, the plurality of request data are sequentially transmitted to the currently idle channel in the channel. 如請求項14所述的請求集成方法,其中,根據所述通道數的最大允許值啟用對應數量的所述通道的步驟包括: 與授權中心互相通訊,以獲得使用者經授權通道數量, 其中將所述經授權通道數量作為所述通道數的最大允許值。 The request integration method as described in request item 14, wherein the step of enabling a corresponding number of channels according to the maximum allowed value of the number of channels includes: Communicate with the authorization center to obtain the number of authorized channels for users, The number of authorized channels is taken as the maximum allowed value of the number of channels. 如請求項9所述的請求集成方法,其中,根據所述多個請求資料的所述報文類型進行解析處理的步驟包括: 根據所述多個請求資料的報文類型透過對應的序列化器讀取所述多個請求資料。 The request integration method as described in claim 9, wherein the step of parsing and processing according to the message types of the plurality of request materials includes: The plurality of request data are read through a corresponding serializer according to the message types of the plurality of request data.
TW111123917A 2022-05-16 2022-06-27 Request integration system and request integration method TW202347195A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210530673.2 2022-05-16
CN202210530673.2A CN115086429B (en) 2022-05-16 2022-05-16 Request integration system and request integration method

Publications (1)

Publication Number Publication Date
TW202347195A true TW202347195A (en) 2023-12-01

Family

ID=83246622

Family Applications (1)

Application Number Title Priority Date Filing Date
TW111123917A TW202347195A (en) 2022-05-16 2022-06-27 Request integration system and request integration method

Country Status (2)

Country Link
CN (1) CN115086429B (en)
TW (1) TW202347195A (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6824893B2 (en) * 2015-03-16 2021-02-03 ライブパーソン, インコーポレイテッド Prioritize resources and establish communication channels
CN106034157A (en) * 2015-03-18 2016-10-19 国家计算机网络与信息安全管理中心 HTTP transmission method in data exchange, server and storage device
CN108322488A (en) * 2017-01-16 2018-07-24 广州市联奥信息科技有限公司 The system that trust data is shared and distributes is realized in multiple car networkings
CN108683604B (en) * 2018-04-03 2021-11-26 平安科技(深圳)有限公司 Concurrent access control method, terminal device, and medium
CN111666514A (en) * 2020-04-28 2020-09-15 平安科技(深圳)有限公司 Data processing method and device for realizing cross-domain request at webpage end and related equipment
CN114500542A (en) * 2020-11-12 2022-05-13 中移信息技术有限公司 Service flow distribution method, device, equipment and computer storage medium

Also Published As

Publication number Publication date
CN115086429B (en) 2024-02-13
CN115086429A (en) 2022-09-20

Similar Documents

Publication Publication Date Title
US20220239508A1 (en) Blockchain message processing method and apparatus, computer, and readable storage medium
US11411897B2 (en) Communication method and communication apparatus for message queue telemetry transport
CN104156798B (en) Enterprise authority source system data real time propelling movement method
CN112714193A (en) Community data processing system, method, device and equipment based on Internet of things platform
CN102025650A (en) Message processing system and message processing method of enterprise service bus
CN107093138A (en) Auction Ask-Bid System and its operation method based on distributed clog-free asynchronous message tupe
CN110995847B (en) Insurance service bus implementation method and system applied to multi-system communication
CN111800434A (en) Multi-channel asset docking platform and working method thereof
WO2011130940A1 (en) Multi-service integration processing method and service integration platform
CN112055078B (en) Data transmission method, device, computer equipment and storage medium
CN104811475A (en) Enterprise service bus middleware based on Restful technology
CN102025653A (en) Enterprise service bus and message processing method thereof
CN113676444B (en) Heterogeneous protocol adaptation method for industrial Internet
US20070192431A1 (en) Method and apparatus for service oriented architecture infrastructure switch
CN114710571B (en) Data packet processing system
CN111913784B (en) Task scheduling method and device, network element and storage medium
CN113890891A (en) Data sharing interaction method and device of energy cloud network
US20090132582A1 (en) Processor-server hybrid system for processing data
CN111901384B (en) System, method, electronic device and readable storage medium for processing message
TW202347195A (en) Request integration system and request integration method
WO2023208132A1 (en) Api conversion system and access request processing method therefor, and electronic device and medium
CN114040031B (en) Transmission protocol adaptation method of industrial Internet
CN111401819B (en) Intersystem data pushing method and system
CN109582481B (en) Transmission method, device and equipment of call result and storage medium
CN114189476A (en) Multi-interface shunting calling method and terminal