CN115086429B - Request integration system and request integration method - Google Patents
Request integration system and request integration method Download PDFInfo
- Publication number
- CN115086429B CN115086429B CN202210530673.2A CN202210530673A CN115086429B CN 115086429 B CN115086429 B CN 115086429B CN 202210530673 A CN202210530673 A CN 202210530673A CN 115086429 B CN115086429 B CN 115086429B
- Authority
- CN
- China
- Prior art keywords
- data
- request
- request data
- channels
- service
- Prior art date
- Legal status (The legal status 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 status listed.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/141—Setup of application sessions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/22—Parsing 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
Description
技术领域Technical field
本发明涉及一种集成系统及其方法,且特别是有关于一种请求集成系统及其方法。The present invention relates to an integration system and a method thereof, and in particular to a request integration system and a method thereof.
背景技术Background technique
目前的企业需要存储以及同时进行传输的请求数据越来越多。同时,随着发出请求的系统越来越多,请求数据调用的并发量需求亦增加,导致占用服务执行系统的资源来进行请求集成的处理。导致服务执行系统无法实时响应请求,以及客户端操作出现延迟的情况。若将集成服务器与应用程序服务器分开布署,将导致负载的压力会转移到数据库服务器上,因此仍然有请求数据无法有效地集成以及派发的问题。有鉴于此,以下将提出几个实施例的解决方案。Enterprises today need to store and simultaneously transmit more and more requested data. 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 in real time, and client operations are delayed. If the integration server and 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 dispatched. In view of this, several embodiment solutions will be proposed below.
发明内容Contents of the invention
本发明是针对一种请求集成系统及数据集成方法,可提供高效率以及高稳定度的请求集成与派发效果。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 request of the present invention integrates a 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 and processing according to the message type of the request data to obtain the header and message of the request data. The throttling deployment module establishes multiple channels corresponding to the maximum allowed 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.
基于上述,本发明的请求集成系统及请求集成方法,可透过节流阀机制将请求进行限流以及排队,以达到服务请求的响应更加及时,以及服务处理系统更加稳定。Based on the above, the request integration system and request integration method of the present invention can limit and queue requests through the throttle mechanism, so as to achieve a more timely response to service requests and a more stable service processing system.
为让本发明的上述特征和优点能更明显易懂,下文特举实施例,并配合所附图式作详细说明如下。In order to make the above-mentioned features and advantages of the present invention more obvious and easy to understand, embodiments are given below and described in detail with reference to the accompanying drawings.
附图说明Description of the drawings
图1是本发明的一实施例的请求集成系统的示意图;Figure 1 is a schematic diagram of a request integration system according to an embodiment of the present invention;
图2是本发明的一实施例的请求集成方法的流程图;Figure 2 is a flow chart of a request integration method according to an embodiment of the present invention;
图3是本发明的一实施例的请求集成系统及待处理请求的示意图;Figure 3 is a schematic diagram of a request integration system and pending requests according to an embodiment of the present invention;
图4是本发明的一实施例的请求集成系统、第三方系统、授权中心及应用程序服务器的示意图。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.
附图标记说明Explanation of reference signs
100:请求集成系统;100: Request integrated system;
110:处理器;110: Processor;
120:存储装置;120: storage device;
121:入口模块;121: Entry module;
122:节流调配模块;122: Throttle deployment module;
123:业务分发模块;123: Business distribution module;
300_R:待处理请求;300_R: Pending request;
300:请求集成系统;300: Request integration system;
310:入口模块;310: Entry module;
320:节流调配模块;320: Throttle deployment module;
321:对列管理服务模块;321: Queue management service module;
322:信道组;322: Channel group;
330:业务分发模块;330: Business distribution module;
331:服务分发器;331: Service distributor;
332:数据序列化服务;332: Data serialization service;
333:服务内容;333: Service content;
410:请求集成系统;410: Request integration system;
411:入口模块;411: Entry module;
412:内部restful入口服务;412: Internal restful entrance service;
413:请求队列管理单元;413: Request queue management unit;
414:信道分发单元;414: Channel distribution unit;
4141:信道计数器;4141: Channel counter;
415:终点分发单元;415: terminal distribution unit;
4151:业务分发单元;4151: Business distribution unit;
416:数据处理单元;416: Data processing unit;
417:业务服务分发单元;417: Business service distribution unit;
418:连接分发器;418: Connect distributor;
419:远程连接器;419:Remote connector;
420:第三方系统;420: Third-party system;
430:授权中心;430: Authorization center;
431:控制器431:Controller
440:应用程序服务器;440: Application server;
441:远程连接器;441:Remote connector;
442:连接分发器;442: Connect distributor;
443:服务分发器;443: Service distributor;
444:建立/读取/更新/删除/查询服务;444: Create/read/update/delete/query services;
445:验证服务;445: Verification service;
446:工作流程服务;446:Workflow service;
447:报告服务;447:Reporting service;
448:批次服务;448: Batch service;
S210~S250:步骤。S210~S250: steps.
具体实施方式Detailed ways
现将详细地参考本发明的示范性实施例,示范性实施例的实例说明于附图中。只要有可能,相同组件符号在图式和描述中用来表示相同或相似部分。Reference will now be made in detail to the exemplary embodiments of the present invention, examples of which are illustrated in the accompanying drawings. Whenever possible, the same component symbols are used in the drawings and descriptions to represent the same or similar parts.
图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 entry 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 a 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 order. 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 provided in an application server (AP server). Alternatively, 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 can be applied to application scenarios of service grading. For example, the request integration system 100 can be applied to scenarios such as recording orders, printing reports, and exporting data in the ERP system to enable request integration through The system sorts according to the importance level of functions or business items (such as order recording > report printing > export data), and then allocates different numbers of channels.
在本实施例中,处理器110可例如包括中央处理单元(Central Processing Unit,CPU),或是其他可编程之一般用途或特殊用途的微处理器(Microprocessor)、数字信号处理器(Digital Signal Processor,DSP)、特殊应用集成电路(Application SpecificIntegrated 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). , 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 (Memory) and/or a database (database), where the memory may be, for example, a non-volatile memory (Non-Volatile Memory, NVM). The storage device 120 may store relevant programs, modules, systems or algorithms for implementing various embodiments of the present invention, so that the processor 110 can access and execute them to realize the related functions and operations described in various embodiments of the present invention. In this embodiment, the entry module 121, the throttling deployment module 122 and the service distribution module 123 may be, for example, JSON (JavaScript Object Notation), Extensible Markup Language (Extensible Markup Language, XML) or YAML or the like. to achieve this, but the present invention is not limited to this.
在本实施例中,用户可例如通过个人电脑装置执行请求集成系统100,并且将请求数据输入至请求集成系统100,以请求执行对应的业务服务功能。请求集成系统100可根据请求数据来执行入口模块121、节流调配模块122以及业务分发模块123,以将请求数据转换为ERP系统或AP服务器可读取/认可的数据对象,并且根据请求重要等级以及顺序对应地通过信道传输至ERP系统或AP服务器,以执行对应的业务服务功能,使得ERP系统的服务响应更实时且系统更加稳定。在本实施例中,用户可通过(特定)第三方系统输入一个或多个请求至请求集成系统100之中。所述请求为请求数据,且所述请求数据例如是企业工单或服务请求。请求(请求数据)可以是由不同第三方系统所发出的请求,也可以是由同一个系统所发出的请求。请求集成系统100根据多个请求的优先级与接收顺序,以及用户被授权的信道数,执行请求的派发处理与信道的管理以达到僵硬见资源优先留给EPR系统的业务处理,使得执行业务服务的ERP系统对于服务响应更加及时,并且根据用户或企业被授权的信道数量,预留对应请求的处理信道,以确保不会遗漏请求。In this embodiment, the user can execute the request integration system 100 through a personal computer device, for example, and input 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 entry module 121, the throttling deployment module 122 and the business distribution module 123 according to the request data to convert the request data into a data object that can be read/recognized by the ERP system or AP server, and according to the request importance level And sequentially transmitted to the ERP system or AP server through the channel to perform the corresponding business service functions, making the service response of the ERP system more real-time and the system more stable. In this embodiment, the user can input one or more requests into the request integration system 100 through a (specific) third-party system. The request is request data, and the request data is, for example, an enterprise work order or a service request. The request (request data) can be a request issued by a different third-party system or a request issued by the same system. The request integration system 100 performs request dispatch processing and channel management according to 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 business services can be performed. The ERP system responds to services in a more timely manner, and reserves processing channels corresponding to requests based on the number of channels authorized by users or enterprises to ensure that no requests are 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 and order. 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,处理器通过入口模块310根据请求数据的报文类型进行解析处理,以获得报头以及报文。在本实施例中,入口模块310可支持多种协议,例如是Web服务(Webservice)协议和表述性状态转移式(Representational State Transfer,restful)协议,但本发明也不限于此。入口模块310根据请求数据(待处理请求)的协议类型以相应的数据处理器进行数据解析与读取,以获得每个请求数据的报头及报文,进而获得(得知)每个请求数据的服务内容及重要等级。在一实施例中,入口模块310根据请求数据的报文类型通过对应的序列化器读取请求数据。In step S210, the processor performs parsing processing according to the message type of the request data through the entry module 310 to obtain the header and the message. In this embodiment, the entry module 310 can support multiple protocols, such as Web service (Webservice) protocol and representational state transfer (Representational State Transfer, restful) protocol, but the invention is not limited thereto. The entry module 310 uses a corresponding data processor to parse and read data according to the protocol type of the request data (request to be processed) to obtain the header and message of each request data, and then obtain (know) the header and message of each request data. Service content and importance level. 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,处理器可通过节流调配模块320根据信道数的最大允许值建立对应最大允许值的多个信道。在本实施例中,节流调配模块320根据接收到或内建的信道数最大允许值(数量)建立具有相应信道数量的信道组322。所述信道数为根据企业或用户被授权的并发的连接数(并发数)。在一实施例中用户可根据需求通过购买增加被授权的并发数,以提升用户对于请求数据执行效率与经济间的规画弹性度。In step S220, the processor may establish multiple channels corresponding to the maximum allowed value according to the maximum allowed value of the number of channels through the throttling allocation module 320. In this embodiment, the throttling deployment module 320 establishes 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 through purchase according to the needs, so as to improve the user's planning flexibility for requesting data execution efficiency and economy.
在步骤S230,处理器可通过节流调配模块320根据请求数据的重要等级以及请求数据的接收顺序进行信道管理处理。在本实施例中,节流调配模块320的对列管理服务模块321根据每一请求数据的重要等级以及获取(传输)顺序将请求数据进行排序,并且节流调配模块320根据信道组322中的当前空闲信道将经排序的请求数据依序通过当前空闲信道以完成信道和请求数据的管理。在本实施例中,每一个信道同时派送一个请求数据(请求服务),并且信道是否为空闲状态是根据此信道所派送的服务是否被执行完。也就是说,请求数据被传输至请求集成系统300之中后,通过对列管理服务模块321的指派与顺序处理,使得信道组322中的当前空闲信道接收请求数据。接着,派送至对应的服务处理系统,例如ERP系统。当请求数据的服务被执行完成后,此信道回到空闲状态且等待后续请求数据的传输。In step S230, the processor may perform channel management processing according to the importance level of the request data and the reception order of the request 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 order of importance in the channel group 322. The current idle channel passes the sorted request data through the current idle channel in order to complete the management of the channel and the request data. In this embodiment, each channel sends a request data (request service) at the same time, and whether the channel is in an idle state depends on whether the service sent 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 sequence 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,处理器可通过业务分发模块330根据请求数据的报头以及报文,对请求数据进行数据处理(数据转换处理)以产生数据对象。在本实施例中,业务分发模块330通过服务分发器331根据请求数据的报头及报文,获得请求数据的协议类型及服务内容。并且,业务分发模块330根据请求数据的服务内容333,对请求数据执行对应的数据转换处理以产生数据对象。数据转换处理包括进行公式运算、带值、数据校验、数据转换、创建、读取、更新及删除(CRUD)操作的至少其中之一。在本实施例中,业务分发模块330包括数据处理单元以执行数据转换处理。在一实施例中,数据处理单元可包括序列化器用以提供数据序列化服务322,数据序列化服务为将请求数据的报文经过序列化处理,以产生数据对象。In step S240, the processor 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 of the request data according to the header and message of the request data through the service distributor 331. 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 a data object. Data conversion processing includes performing at least one of formula operations, band values, data verification, data conversion, creation, reading, updating and deletion (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 322. The data serialization service is to serialize a message requesting data to generate a data object.
如此,经过序列化处理的请求数据为请求集成系统且/或ERP系统可认可的数据对象。数据对象为经过数据转换处理的请求数据。如此,经过数据转换处理的请求数据被组织成更加完整且有效的数据,并且转换处理后的请求数据为ERP系统认可及可读取的数据,以提高请求数据派发以及后续执行业务服务的效率与稳定性。在步骤S250,处理器可通过业务分发模块330输出数据对象。在本实施例中,业务分发模块330根据请求数据的服务内容333,将数据对象输出至AP服务器或ERP系统中。In this way, the serialized request data is a data object that can be recognized by the request integration system and/or the ERP system. The data object is the request data 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 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 may output the data object through the service distribution module 330. In this embodiment, the service 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 stable. level is 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 a terminal distribution unit 415 . The service distribution module 123 includes a service 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 used for requesting the 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 list management unit 413 sorts multiple requests according to the importance level and sequence of the request data.
在本实施例中,信道分发单元414根据信道数的最大允许值启用相同数量的信道。在一实施例中,终点分发单元415与授权中心430的控制器431互相通讯,以获得用户经授权的信道数量。经授权的信道数量例如是用户所购买的信道数量。终点分发单元将经授权的信道数量传输至信道分发单元414。信道分发单元414的信道计数器4141将经授权信道数量作为信道数的最大允许值。也就是说,当这用户被授权的集成并发数为N个,则信道分发单元414建立/启用N个信道,N为正整数。请求队列管理单元413根据请求数据的优先级/排序将请求数据进行排队,且依序进入信道组中当前空闲信道进行处理,达到请求数据限流以及排队的效果。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 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/activates N channels, where N is a positive integer. The request queue management unit 413 queues the request data according to the priority/ordering of the request data, and sequentially enters the currently idle channel in the channel group for processing, thereby achieving the effect of current limiting and queuing of the request 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 one-to-one communication. . The service distribution unit 4151 converts the request data and its messages into data objects through the serialization service. In this embodiment, the business service distribution unit 417 analyzes the header and message of the request data to generate the service name identifier and data identifier of the request 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 service distribution unit 4151 converts the request data into a data object through serialization processing, and before the service distribution unit 4151 distributes the request data to the application server 440, the business service distribution unit 417 may input the request data. to 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 inputs the request data to 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, data conversion processing includes performing formula, band value, data verification, data conversion, creation, reading, updating and deleting (CRUD) operations on 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 object to the processing system corresponding to the request data message. In this embodiment, the business service distribution unit 417 performs service distribution according to the protocol 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 to 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 server 440. Service Distributor 443.
ERP系统接收到经数据转换处理且/或串行化处理的请求数据(数据对象)后,通过多个服务模块进行服务处理。所述服务模块例如是建立/读取/更新/删除/查询服务444、验证服务445、工作流程服务446、报告服务447以及批次服务448。服务处理例如是查询供货商、增加/删减工单数据、确认销售订单、询问/调阅供货商数据等。举例来说,业务服务分发单元417以及ERP系统可根据请求数据的报头得知请求的服务为查询供货商,并且根据请求数据的报文得知查询的条件。After the ERP system receives the request data (data object) that has 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本系统的服务响应更及时,系统运行更加稳定;另外,又可根据系统上线前评估的第三方集成的并发数,预留相应处理信道,保证第三方集成服务的及时响应,超出评估部分也会采用排队方式,保证请求的处理不遗漏。To sum up, 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 prioritized for business processing of the ERP product itself, making the service response of the ERP system more efficient. In a timely manner, the system will run more stably; in addition, corresponding processing channels can be reserved based on the concurrent number of third-party integrations evaluated before the system goes online to ensure timely response of third-party integration services. For parts beyond the evaluation, a queuing method will be used to ensure that requests The processing is not missed.
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。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.
Claims (16)
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210530673.2A CN115086429B (en) | 2022-05-16 | 2022-05-16 | Request integration system and request integration method |
| TW111123917A TWI854248B (en) | 2022-05-16 | 2022-06-27 | Request integration system and request integration method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210530673.2A CN115086429B (en) | 2022-05-16 | 2022-05-16 | Request integration system and request integration method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN115086429A CN115086429A (en) | 2022-09-20 |
| CN115086429B true CN115086429B (en) | 2024-02-13 |
Family
ID=83246622
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202210530673.2A Active CN115086429B (en) | 2022-05-16 | 2022-05-16 | Request integration system and request integration method |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN115086429B (en) |
| TW (1) | TWI854248B (en) |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| 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 |
| WO2019192103A1 (en) * | 2018-04-03 | 2019-10-10 | 平安科技(深圳)有限公司 | Concurrent access control method and apparatus, terminal device, and medium |
| CN112887360A (en) * | 2015-03-16 | 2021-06-01 | 利维帕尔森有限公司 | Prioritization of resources and establishment of communication channels |
| WO2021218018A1 (en) * | 2020-04-28 | 2021-11-04 | 平安科技(深圳)有限公司 | Data processing method and apparatus for implementing cross-domain request at webpage end, and related device |
| CN114500542A (en) * | 2020-11-12 | 2022-05-13 | 中移信息技术有限公司 | Service flow distribution method, device, equipment and computer storage medium |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP2018027A1 (en) * | 2005-11-03 | 2009-01-21 | KTFreetel Co., Ltd. | Business logic device and processing method |
| TWI494874B (en) * | 2012-12-27 | 2015-08-01 | Chunghwa Telecom Co Ltd | Method and system of flow control and shunt for service supply |
| CN108197912A (en) * | 2016-12-08 | 2018-06-22 | 阿里巴巴集团控股有限公司 | A kind of transaction processing system and method |
| CN114338534A (en) * | 2022-01-05 | 2022-04-12 | 辽宁振兴银行股份有限公司 | Message routing method and device |
-
2022
- 2022-05-16 CN CN202210530673.2A patent/CN115086429B/en active Active
- 2022-06-27 TW TW111123917A patent/TWI854248B/en active
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112887360A (en) * | 2015-03-16 | 2021-06-01 | 利维帕尔森有限公司 | Prioritization of resources and establishment of 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 |
| WO2019192103A1 (en) * | 2018-04-03 | 2019-10-10 | 平安科技(深圳)有限公司 | Concurrent access control method and apparatus, terminal device, and medium |
| WO2021218018A1 (en) * | 2020-04-28 | 2021-11-04 | 平安科技(深圳)有限公司 | Data processing method and apparatus for implementing cross-domain request at webpage end, and related device |
| 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 |
|---|---|
| TWI854248B (en) | 2024-09-01 |
| CN115086429A (en) | 2022-09-20 |
| TW202347195A (en) | 2023-12-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| TW200532480A (en) | Dynamic late binding of third party on demand services in an on-demand infrastructure | |
| CN114968617B (en) | API conversion system and its access request processing method, electronic device and medium | |
| CN114710571B (en) | packet processing system | |
| CN113392093A (en) | Service processing method and device, electronic equipment and computer readable medium | |
| CN104240070A (en) | Data release service system and method | |
| CN108874757A (en) | Report form generation method and system, computer-readable medium, electronic equipment | |
| CN117294702A (en) | Computing power dispatching system and method, control node, storage medium and equipment | |
| CN102255955A (en) | Dynamic Web service combination method based on dependency relationship | |
| CN111901384B (en) | System, method, electronic device and readable storage medium for processing message | |
| CN115086429B (en) | Request integration system and request integration method | |
| CN111698310A (en) | Multi-test environment scheduling method and device based on SWIFT network | |
| CN105516271B (en) | Transaction processing system, method for processing business and device | |
| CN111401991A (en) | Data information distribution method and device, storage medium and computer equipment | |
| KR20140013892A (en) | Method of comparing output in a plurality of information systems | |
| CN118897744A (en) | Distributed park message transmission method, system and medium based on industry correlation | |
| CN114189476A (en) | Multi-interface shunting calling method and terminal | |
| CN105224594A (en) | A kind of Service-oriented application data interconnection inquiry system and querying method | |
| JP4516594B2 (en) | Message transmission control method, message transmission control device, and message transmission control program | |
| CN112667753A (en) | Method for excavating entity node path and computer equipment | |
| US20060136602A1 (en) | Electronic data interchange apparatus | |
| Saiedian et al. | Performance evaluation of eventing web services in real-time applications | |
| CN111401819B (en) | Intersystem data pushing method and system | |
| CN111813528B (en) | Video big data standardization convergence gateway system and method based on task statistical characteristics | |
| CN111144760B (en) | A work order audit platform, audit dispatch method, device, and dispatch server | |
| CN115460265A (en) | Interface calling method, device, equipment and medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| EE01 | Entry into force of recordation of patent licensing contract |
Application publication date: 20220920 Assignee: Shanghai Dingjie Shuzhi Software Co.,Ltd. Assignor: DIGIWIN SOFTWARE Co.,Ltd. Contract record no.: X2024310000112 Denomination of invention: Request Integration System and Request Integration Method Granted publication date: 20240213 License type: Common License Record date: 20240903 |
|
| EE01 | Entry into force of recordation of patent licensing contract | ||
| CP03 | Change of name, title or address |
Address after: 22F, building 1, Lane 1377, JIANGCHANG Road, Jing'an District, Shanghai 200072 Patentee after: Dingjie Shuzhi Co.,Ltd. Country or region after: China Address before: 22F, building 1, Lane 1377, JIANGCHANG Road, Jing'an District, Shanghai 200072 Patentee before: DIGIWIN SOFTWARE Co.,Ltd. Country or region before: China |
|
| CP03 | Change of name, title or address |