TWI802487B - Instant response system and instant response method - Google Patents

Instant response system and instant response method Download PDF

Info

Publication number
TWI802487B
TWI802487B TW111130945A TW111130945A TWI802487B TW I802487 B TWI802487 B TW I802487B TW 111130945 A TW111130945 A TW 111130945A TW 111130945 A TW111130945 A TW 111130945A TW I802487 B TWI802487 B TW I802487B
Authority
TW
Taiwan
Prior art keywords
data
module
difference value
response
estimation module
Prior art date
Application number
TW111130945A
Other languages
Chinese (zh)
Other versions
TW202408209A (en
Inventor
王鴻傑
Original Assignee
大陸商鼎捷軟件股份有限公司
鼎新電腦股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 大陸商鼎捷軟件股份有限公司, 鼎新電腦股份有限公司 filed Critical 大陸商鼎捷軟件股份有限公司
Application granted granted Critical
Publication of TWI802487B publication Critical patent/TWI802487B/en
Publication of TW202408209A publication Critical patent/TW202408209A/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • 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)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Debugging And Monitoring (AREA)
  • Hardware Redundancy (AREA)
  • Acyclic And Carbocyclic Compounds In Medicinal Compositions (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The present disclosure provides an instant response system and an instant response method. The instant response system includes a storage device and a processor. The storage device stores a response module, a data analysis module, a risk assessment module, and a resource assessment module. The processor executes the data analysis module to make the data analysis module perform data analysis on a request data to generate characteristic data. The data analysis module generates response data according to the characteristic data and an initial data, and put the response data into the response module and the risk assessment module. The processor executes the response module to output the response data. The processor executes the risk assessment module to analyze a difference value according to the request data and the response data. The instant response system adjusts an initial data template or next response data according to the difference value.

Description

即時響應系統以及即時響應方法Instant response system and instant response method

本發明涉及一種服務快速響應技術,尤其是一種即時響應系統以及即時響應方法。The invention relates to a rapid service response technology, in particular to an instant response system and an instant response method.

在網路環境下的通訊模式,有數據/資料的請求者(用戶端、設備端)以及資料的提供者(伺服器)以進行資料或請求指令的資料處理。透過同步處理的通訊架構以進行資料處理/資料傳輸,將由於資料的提供者必須等待完整的資料運算完成才可以進行資料的回傳或後續處理,導致增加整個流程的時間且可能會產生回傳資料時已經超過資料請求端的設定時間導致逾時且流程中斷的情況發生。In the communication mode in the network environment, there are data/data requesters (client end, device end) and data provider (server) to process data or request instructions. Data processing/data transmission is performed through a synchronous communication structure, because the data provider must wait for the completion of the complete data calculation before returning or subsequent processing of the data, which will increase the time of the entire process and may cause a return The data time has exceeded the set time of the data request end, resulting in a timeout and process interruption.

本發明是針對一種即時響應系統以及即時響應方法可快速且自動地響應請求資料的資訊,輸出回傳資料。The present invention is aimed at an instant response system and instant response method that can quickly and automatically respond to information requesting data, and output return data.

根據本發明的實施例,本發明的即時響應系統包括儲存裝置以及處理器。儲存裝置儲存多個模組,多個模組包括:響應模組、資料分析模組、風險估算模組以及資源估算模組。處理器耦接儲存裝置。處理器執行資料分析模組,以使資料分析模組對請求資料進行資料分析,並且取得特徵資料。資料分析模組根據特徵資料以及初始資料模板產生回傳資料,且將回傳資料輸入至響應模組以及所述風險估算模組。處理器執行響應模組,以輸出回傳資料。處理器執行風險估算模組,以基於邏輯法則根據請求資料以及回傳資料計算出差異值,當處理器判斷差異值大於閾值時,處理器執行資源估算模組,以根據差異值調整初始資料模板。According to an embodiment of the present invention, the instant response system of the present invention includes a storage device and a processor. The storage device stores multiple modules, and the multiple modules include: a response module, a data analysis module, a risk estimation module, and a resource estimation module. The processor is coupled to the storage device. The processor executes the data analysis module, so that the data analysis module performs data analysis on the requested data and obtains feature data. The data analysis module generates return data according to the feature data and the initial data template, and inputs the return data to the response module and the risk estimation module. The processor executes the response module to output the return data. The processor executes the risk estimation module to calculate the difference value according to the request data and the returned data based on logic rules. When the processor judges that the difference value is greater than the threshold value, the processor executes the resource estimation module to adjust the initial data template according to the difference value .

根據本發明的實施例,本發明的即時響應方法包括以下步驟:透過資料分析模組,以使資料分析模組對請求資料進行資料分析,並且取得特徵資料;透過資料分析模組根據所述特徵資料以及所述初始資料模板產生回傳資料,且透過響應模組輸出回傳資料。透過風險估算模組根據請求資料以及回傳資料計算出差異值,根據差異值調整初始資料模板/下一次的回傳資料。According to an embodiment of the present invention, the instant response method of the present invention includes the following steps: through the data analysis module, the data analysis module performs data analysis on the requested data and obtains characteristic data; through the data analysis module according to the characteristics The data and the initial data template generate return data, and output the return data through the response module. The risk estimation module calculates the difference value based on the request data and the returned data, and adjusts the initial data template/next time returned data according to the difference value.

基於上述,本發明的即時響應系統以及即時響應方法,可自動分析請求資料以自動判斷請求資料是否符合預設值,且根據差異值對應調整初始資料模板/下次的回傳資料,以維持介面數量少且同時達到即時響應的即時響應系統。Based on the above, the instant response system and instant response method of the present invention can automatically analyze the request data to automatically judge whether the request data conforms to the preset value, and adjust the initial data template/next time return data according to the difference value to maintain the interface An instant response system with a small number and instant response at the same time.

圖1是本發明的一實施例的即時響應系統的示意圖。參考圖1,即時響應系統100包括處理器110以及儲存裝置120。處理器110耦接儲存裝置120。儲存裝置120可儲存多個模組。在本實施例中,多個模組包括響應模組121、資料分析模組122、風險估算模組123以及資源估算模組124。處理器110可存取儲存裝置120,以執行響應模組121、資料分析模組122、風險估算模組123以及資源估算模組124。在另一實施例中,多個模組還包括差異累計模組以及回沖模組。在一實施例中,處理器110還可耦接外部或內部的資料庫,以讀取/寫入資料庫中的資料模板(範本)、標準樣板、判斷樣板且初始資料。在另一實施例中,人員可輸入或由處理器110自動讀取預存的一筆初始資料模板。接著,即時響應系統100還可包括收發器,以接收/傳送設備端/資料請求端所傳輸的請求資料。資料分析模組122可對請求資料進行資料分析以產生特徵資料。資料分析模組122根據請求資料中的特徵資料以及初始資料模板產生回傳資料,且將回傳資料輸入至響應模組121。接著,響應模組121輸出回傳資料至請求資料的發送端或下一流程的接收端。在本發明中,風險估算模組123可基於邏輯法則根據請求資料以及回傳資料計算出回傳資料與運算結果之間的差異值。值得說明的是,本發明的即時響應系統100可根據差異值調整初始資料模板/下一次的回傳資料。具體而言,當差異值大於閾值時,風險估算模組123啟動/觸發資源估算模組124,以使資源估算模組124根據差異值調整初始資料模板。當差異值小於或等於閾值時,風險估算模組123將差異值輸入至回沖模組,以使回沖模組將差異值累計在差異累計模組之中以及根據差異值調整下一次的回傳資料。如此,本發明之即時響應系統100可即時響應設備端的請求資料,同時根據即時響應系統100所輸出的回傳資料與運算結果的差異值調整後續/下次回傳資料,以兼具資料同步處理與資料非同步處理的優點。FIG. 1 is a schematic diagram of an instant response system according to an embodiment of the present invention. Referring to FIG. 1 , the instant response 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 can store a plurality of modules. In this embodiment, the multiple modules include a response module 121 , a data analysis module 122 , a risk estimation module 123 and a resource estimation module 124 . The processor 110 can access the storage device 120 to execute the response module 121 , the data analysis module 122 , the risk estimation module 123 and the resource estimation module 124 . In another embodiment, the plurality of modules further include a difference accumulation module and a punchback module. In one embodiment, the processor 110 can also be coupled to an external or internal database to read/write data templates (templates), standard templates, judgment templates and initial data in the database. In another embodiment, a person may input or the processor 110 automatically reads a pre-stored initial data template. Next, the instant response system 100 may further include a transceiver for receiving/transmitting the request data transmitted by the device end/data request end. The data analysis module 122 can perform data analysis on the request data to generate feature data. The data analysis module 122 generates return data according to the characteristic data in the request data and the initial data template, and inputs the return data to the response module 121 . Next, the response module 121 outputs the return data to the sender of the request data or the receiver of the next process. In the present invention, the risk estimation module 123 can calculate the difference value between the returned data and the operation result based on the logic rule according to the requested data and the returned data. It is worth noting that the instant response system 100 of the present invention can adjust the initial data template/next time returned data according to the difference value. Specifically, when the difference value is greater than the threshold, the risk estimation module 123 activates/triggers the resource estimation module 124, so that the resource estimation module 124 adjusts the initial data template according to the difference value. When the difference value is less than or equal to the threshold value, the risk estimation module 123 will input the difference value to the back punching module, so that the back punching module will accumulate the difference value in the difference accumulation module and adjust the next return according to the difference value. Pass information. In this way, the instant response system 100 of the present invention can immediately respond to the request data from the device side, and at the same time adjust the follow-up/next return data according to the difference between the return data output by the instant response system 100 and the calculation result, so as to have both data synchronization processing and Advantages of data asynchronous processing.

在本實施例中,處理器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、資源估算模組124、差異累計模組以及回沖模組可例如是以JSON(JavaScript Object Notation)、可延伸標記式語言(Extensible Markup Language,XML)或YAML等諸如此類的程式語言來實現的,但本發明也不限於此。在本實施例中,即時響應系統100可具體實現在個人電腦(Personal Computer,PC)、本地端伺服器(Server)或雲端伺服器中,而本發明並不加以限制。在一實施例中,即時響應系統100亦可整合在企業資源計畫(Enterprise Resource Planning,ERP)系統中,以提供即時且自動回復請求的服務。In this embodiment, the processor 110 may include, for example, a central processing unit (Central Processing Unit, CPU), or other programmable general purpose or special purpose microprocessor (Microprocessor), digital signal processor (Digital Signal Processor) Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuits, ASIC), programmable logic device (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, wherein the memory may be, for example, a non-volatile memory (Non-Volatile Memory, NVM). The storage device 120 may store related programs, modules, systems or algorithms for implementing various embodiments of the present invention, so as to be accessed and executed by the processor 110 to realize the relevant functions and operations described in the various embodiments of the present invention. In this embodiment, the response module 121, the data analysis module 122, the risk estimation module 123, the resource estimation module 124, the difference accumulation module, and the punchback module can be, for example, based on JSON (JavaScript Object Notation), which can Extensible Markup Language (Extensible Markup Language, XML) or YAML and the like are implemented, but the present invention is not limited thereto. In this embodiment, the instant response system 100 can be embodied in a personal computer (Personal Computer, PC), a local server (Server) or a cloud server, but the present invention is not limited thereto. In one embodiment, the real-time response system 100 can also be integrated into an enterprise resource planning (Enterprise Resource Planning, ERP) system to provide real-time and automatic reply service.

圖2是本發明的一實施例的即時響應方法的流程圖。參考圖1以及圖2,本實施例的即時響應系統100可執行如以下步驟S210~S240,以即時響應請求資料輸出回傳資料。在本實施例中,處理器110可執行響應模組121、資料分析模組122、風險估算模組123以及資源估算模組124。處理器110接收到請求資料且執行步驟S210。在步驟S210,資料分析模組122對請求資料進行資料分析以取得特徵資料/特徵值。FIG. 2 is a flowchart of an instant response method according to an embodiment of the present invention. Referring to FIG. 1 and FIG. 2 , the instant response system 100 of this embodiment can execute the following steps S210 - S240 to output the return data with the instant response request data. In this embodiment, the processor 110 can execute the response module 121 , the data analysis module 122 , the risk estimation module 123 and the resource estimation module 124 . The processor 110 receives the requested data and executes step S210. In step S210, the data analysis module 122 performs data analysis on the request data to obtain feature data/feature values.

舉例而言,特徵資料可以是請求資料中相關於請求專案的編號、請求資料輸出端的廠區編號且/或請求數量等資料。接著,資料分析模組122根據特徵資料以及初始資料模板產生回傳資料,且透過響應模組121輸出回傳資料。初始資料模板可以是使用者或系統預設的資料參數表格。在一實施例中,初始資料模板記載有工廠、專案、料號、每次請求數量的資料。如此,資料分析模組122根據初始資料模板中對應這次請求資料的特徵資料的資料,根據常態分佈或預設容許值產生回傳資料。舉例而言,請求資料為特定材料的請求數量為48(即特徵資料),而初始資料模板中對應的數量為50且預設容許值為5%,則資料分析模組122將請求資料的請求數量48作為回傳資料。接著,資料分析模組122將回傳資料輸入至響應模組121。處理器110執行響應模組121,以輸出回傳資料。在一實施例中,響應模組121將回傳資料輸出至外部對應的接收埠。舉例而言,A工廠發出物料請求至即時響應系統100。接著,即時響應系統100根據初始資料模板以及請求資料產生回傳輸據。並且,根據物料請求的資料的特徵資料,即時響應系統100的資料分析模組122可以分析出回傳資料要回傳至原先A工廠或另一接收端(預設的接收端)。For example, the feature data may be the serial number of the requested item in the request data, the factory area code of the output end of the request data, and/or the requested quantity. Next, the data analysis module 122 generates the return data according to the feature data and the initial data template, and outputs the return data through the response module 121 . The initial data template can be a data parameter table preset by the user or the system. In one embodiment, the initial data template records the data of factory, project, material number, and quantity requested each time. In this way, the data analysis module 122 generates the returned data according to the normal distribution or the preset allowable value according to the characteristic data corresponding to the requested data in the initial data template. For example, if the requested data is 48 requests for specific materials (i.e. characteristic data), and the corresponding number in the initial data template is 50 and the default allowable value is 5%, then the data analysis module 122 will request the requested data The quantity 48 is used as the return data. Next, the data analysis module 122 inputs the returned data to the response module 121 . The processor 110 executes the response module 121 to output the return data. In one embodiment, the response module 121 outputs the return data to a corresponding external receiving port. For example, factory A sends a material request to the instant response system 100 . Next, the instant response system 100 generates return data according to the initial data template and the request data. Moreover, according to the characteristic data of the material request data, the data analysis module 122 of the instant response system 100 can analyze that the returned data should be sent back to the original factory A or another receiving end (preset receiving end).

資料分析模組122將回傳資料以及請求資料輸入至風險估算模組123中。接著,處理器110執行步驟S230。在步驟S230,風險估算模組123根據請求資料以及回傳資料計算出差異值。具體而言,風險估算模組123可基於邏輯法則對請求資料以及回傳資料進行運算,以計算出差異值。邏輯法則可例如是材料的實際庫存數量、實際專案流程、歷程流程資料、專案所需數量或各個工廠的良率值等更加即時且詳細的相關資料以及預設判斷法則。舉例而言,經過對照初始資料模板所產生的回傳資料為50個材料A,則經過風險估算模組123對照對應的邏輯法則後,將對應請求資料的工廠良率值產生運算結果。例如,工廠良率為9成,因此運算結果為55個材料A。因此,差異值為5個材料A。接著,處理器110根據差異值調整初始資料模板/下一次的回傳資料。具體而言,風險估算模組123比對差異值與預設閾值,以調整初始資料模板或下一次的回傳資料。當風險估算模組123判斷差異值大於閾值(預設閾值)時,處理器110執行資源估算模組124,以根據差異值調整初始資料模板。如此一來,本實施例的即時響應系統100可有效率地且即時地響應服務請求,同時根據詳細運算結果調整後續回傳資料以確保資料正確性。The data analysis module 122 inputs the returned data and the requested data into the risk estimation module 123 . Next, the processor 110 executes step S230. In step S230, the risk estimation module 123 calculates a difference value according to the request data and the returned data. Specifically, the risk estimation module 123 can perform operations on the request data and the returned data based on logic rules to calculate the difference value. Logical rules can be, for example, real-time and detailed related data such as actual inventory quantity of materials, actual project process, process flow data, project required quantity, or yield value of each factory, as well as preset judgment rules. For example, after comparing the returned data generated by the initial data template to 50 materials A, the risk estimation module 123 generates calculation results corresponding to the factory yield value of the requested data after comparing the corresponding logic rules. For example, the factory yield rate is 90%, so the calculation result is 55 material A. Therefore, the difference value is 5 Material A. Next, the processor 110 adjusts the initial data template/the next returned data according to the difference value. Specifically, the risk estimation module 123 compares the difference value with the preset threshold to adjust the initial data template or the next returned data. When the risk estimation module 123 determines that the difference is greater than the threshold (preset threshold), the processor 110 executes the resource estimation module 124 to adjust the initial data template according to the difference. In this way, the instant response system 100 of this embodiment can respond to the service request efficiently and immediately, and at the same time adjust the subsequent returned data according to the detailed calculation results to ensure the correctness of the data.

圖3是本發明的一實施例的多個模組的示意圖。參考圖1以及圖3,在本實施例中,多個模組還包括差異累計模組125以及回沖模組126。當風險估算模組123判斷差異值小於或等於閾值時,處理器110執行風險估算模組123以將差異值輸入至回沖模組126。舉例而言,差異值為5,閾值預設為10,則風險估算模組123將此差異值5輸入至回沖模組126。接著,回沖模組126將差異值輸入至差異累計模組125,以使差異累計模組125將此次差異值5以及後續接收到的差異值進行累計以獲得當前總差異值。FIG. 3 is a schematic diagram of a plurality of modules according to an embodiment of the present invention. Referring to FIG. 1 and FIG. 3 , in this embodiment, the multiple modules further include a difference accumulation module 125 and a punchback module 126 . When the risk estimation module 123 determines that the difference is less than or equal to the threshold, the processor 110 executes the risk estimation module 123 to input the difference to the punchback module 126 . For example, the difference value is 5, and the threshold is preset as 10, then the risk estimation module 123 inputs the difference value 5 to the punchback module 126 . Next, the punchback module 126 inputs the difference value to the difference accumulation module 125, so that the difference accumulation module 125 accumulates the difference value 5 and subsequent difference values received to obtain the current total difference value.

在本發明中,當當前總差異值大於差異閾值時,差異累計模組125將當前總差異值輸入至資源估算模組124,以使資源估算模組124根據當前總差異值調整初始資料模板。舉例而言,使用者預設差異閾值為20,則當當前總差異值累計到21以上時,差異累計模組125將此當前總差異值21輸入至資源估算模組124,以使資源估算模組124根據當前總差異值21調整初始資料模板。在本舉例中,調整初始資料模板可例如是資源估算模組124將初始資料模板中對應的資料減去當前總差異值21,以令資料分析模組122根據經調整的初始資料模板(減去21的初始資料模板)產生後續的回傳資料。In the present invention, when the current total difference is greater than the difference threshold, the difference accumulation module 125 inputs the current total difference to the resource estimation module 124, so that the resource estimation module 124 adjusts the initial data template according to the current total difference. For example, the user preset difference threshold is 20, then when the current total difference value accumulates to more than 21, the difference accumulation module 125 will input the current total difference value 21 to the resource estimation module 124, so that the resource estimation module Group 124 adjusts the initial profile template according to the current total difference value 21 . In this example, the adjustment of the initial data template can be, for example, that the resource estimation module 124 subtracts the current total difference value 21 from the corresponding data in the initial data template, so that the data analysis module 122 can make the adjusted initial data template (minus 21 initial data template) to generate subsequent return data.

在一實施例中,當風險估算模組123判斷差異值小於或等於閾值時,處理器110執行風險估算模組123以將差異值輸入至回沖模組126。接著,回沖模組126將差異值輸入至響應模組121,以使響應模組121根據差異值調整下一次的回傳資料。舉例而言,差異值為5且閾值為10,則風險估算模組123將差異值5透過回沖模組126輸入至響應模組121,如此,響應模組121將下一次輸出的回傳資料減去/增加差異值5,以令多次回傳資料的參數符合使用者所預設的邏輯法則/運算法則。In one embodiment, when the risk estimation module 123 determines that the difference value is less than or equal to the threshold, the processor 110 executes the risk estimation module 123 to input the difference value to the punchback module 126 . Next, the punchback module 126 inputs the difference value to the response module 121, so that the response module 121 adjusts the next return data according to the difference value. For example, if the difference value is 5 and the threshold value is 10, then the risk estimation module 123 will input the difference value 5 to the response module 121 through the punchback module 126, so that the response module 121 will output the return data next time Subtract/increase the difference value 5, so that the parameters of multiple return data conform to the logic rule/algorithm preset by the user.

在一實施例中,在處理器110執行資源估算模組124,以根據差異值調整初始資料模板的步驟中,還包括資源估算模組124根據差異值調整儲存於資料分析模組122中的初始資料模板,並且回沖模組126將經調整的初始資料模板輸入至響應模組121,以使響應模組121根據經調整的初始資料模板調整下一次的回傳資料。舉例而言,回沖模組126可根據資料分析模組122所提供的資料/初始資料模板,主動通訊響應模組121以調整響應模組121中的校正回歸介面。如此,響應模組121可對應地調整下一次對應的回傳資料。In one embodiment, in the step of executing the resource estimation module 124 by the processor 110 to adjust the initial data template according to the difference value, the resource estimation module 124 also adjusts the initial data template stored in the data analysis module 122 according to the difference value. data template, and the back-pulling module 126 inputs the adjusted initial data template to the response module 121, so that the response module 121 adjusts the next return data according to the adjusted initial data template. For example, the punchback module 126 can actively communicate with the response module 121 to adjust the correction regression interface in the response module 121 according to the data/initial data template provided by the data analysis module 122 . In this way, the response module 121 can correspondingly adjust the corresponding returned data next time.

在一實施例中,處理器110可根據多個歷史資料調整初始資料模板。也就是說,本發明的即時響應系統100可根據多次的請求資料、回傳資料、庫存資料以及差異值調整初始資料模板,以使初始資料模板逐漸貼近與符合實際資料以及實際運算結果。In one embodiment, the processor 110 can adjust the initial data template according to a plurality of historical data. That is to say, the instant response system 100 of the present invention can adjust the initial data template according to multiple request data, returned data, inventory data and difference values, so that the initial data template gradually approaches and conforms to actual data and actual calculation results.

風險估算模組123還可基於歷程請求資料且/或歷程資料的趨勢以根據請求資料以及回傳資料計算出差異值。在一實施例中,風險估算模組123可以根據歷程資料的常態分佈去判斷這次的請求資料與常態分佈的資料之間的差異值是否小於閾值。舉例而言,當對應特徵資料的歷程資料的常態分佈圖中的數值為70至80(正負1個標準差的數值),而回傳資料的數值為65,則風險估算模組123計算出差異值為5(70減65)。在本發明中,常態分佈圖取幾個標準差範圍可由使用者預先設定,本案不應以此為限。The risk estimation module 123 can also calculate the difference value according to the request data and the return data based on the history request data and/or the trend of the history data. In one embodiment, the risk estimation module 123 may determine whether the difference between the requested data and the normally distributed data is smaller than a threshold according to the normal distribution of the history data. For example, when the value in the normal distribution map of the history data corresponding to the characteristic data is 70 to 80 (the value of plus or minus 1 standard deviation), and the value of the returned data is 65, the risk estimation module 123 calculates the difference The value is 5 (70 minus 65). In the present invention, several standard deviation ranges for the normal distribution map can be preset by the user, and this case should not be limited thereto.

在本實施例中,本發明根據差異值調整初始資料模板的步驟中,還包括資源估算模組124根據特徵資料以及差異值依照比例放大或縮小初始資料模板。並且,資源估算模組124根據差異值調整經調整比例的初始資料模板的數值。舉例而言,對應請求資料的初始資料模板中材料A的製造數量為1000個。而包含製造良率的考慮,初始資料模板中粗估需要準備的數量為1100。而請求資料中的特徵資料為製造數量為100個、請求數量為120個、回傳資料為120個以及經資源估算模組124的運算結果為110個。因此,資源估算模組124根據特徵資料(製造數量100個)與初始資料模板的資料(製造數量1000個),依照比例調整初始資料模板的資料為製造數量100個,需要準備數量為110個。接著,資源估算模組124將此次差異值10個(回傳資料120個減運算結果資料110個)調整經調整比例的初始資料模板中的數值(將需要準備的數量從110調整為100),以減去此次回傳資料多授權/輸出的10個材料。如此,本發明的即時響應系統100以及即時響應方法可根據請求資料的特徵資料對應地調整初始資料模板中的參數與資料比例,且同時根據差異值調整初始資料模板的參數,進而根據前次的請求資料以及回傳資料及時地調整後續的回傳資料以提升運算的精准度。In this embodiment, the step of adjusting the initial data template according to the difference value in the present invention further includes the resource estimation module 124 scaling up or down the initial data template according to the feature data and the difference value. And, the resource estimation module 124 adjusts the value of the adjusted initial data template according to the difference value. For example, the manufacturing quantity of material A in the initial data template corresponding to the requested data is 1000 pieces. Including the consideration of manufacturing yield, the rough estimate in the initial data template is 1100. The characteristic data in the request data are 100 manufactured quantities, 120 requested quantities, 120 returned data, and 110 calculated results by the resource estimation module 124 . Therefore, the resource estimation module 124 adjusts the data of the initial data template to the manufacturing quantity of 100 according to the ratio according to the characteristic data (manufacturing quantity of 100) and the data of the initial data template (manufacturing quantity of 1000), and the required preparation quantity is 110. Next, the resource estimation module 124 adjusts the 10 difference values (120 returned data minus 110 calculation result data) to the value in the adjusted initial data template (adjusting the quantity to be prepared from 110 to 100) , to subtract 10 materials that are more authorized/exported for this return data. In this way, the instant response system 100 and the instant response method of the present invention can correspondingly adjust the parameters and data ratios in the initial data template according to the characteristic data of the requested data, and at the same time adjust the parameters of the initial data template according to the difference value, and then according to the previous Request data and return data to adjust the subsequent return data in time to improve the accuracy of calculation.

綜上所述,本發明的即時響應系統100以及即時響應方法,可有效提升資料/服務處理效率,並且可即時且快速地產生響應請求端(用戶端)的請求資料(請求資訊)的回傳資料(回傳資訊)。本發明的即時響應系統100以及即時響應方法可快速地回傳資訊給請求端或根據預設流程的下一處理埠(即處理端口,例如外部的資料接收端)以克服現有同步處理的整體流程過於冗長的缺失。並且,根據此次回傳資料以及後續實際運算結果調整初始資料模板/下次回傳資料,進而兼具快速響應同時根據運算結果控管庫存/資料的優點。使請求端可快速接收到響應,而避免由於響應時間過長而導致需要重新調整接收端的設定或接收端無法接收資訊,或是習知非同步處理中需要建立需多額外接收端的狀況發生。透過本發明的即時響應系統100以及即時響應方法的特徵,以使使用者不用大幅調整響應端的架構,例如將同步處理架構改成非同步處理架構,也可以達到同步處理與非同步處理優點兼具的即時響應系統100與方法。To sum up, the instant response system 100 and the instant response method of the present invention can effectively improve the data/service processing efficiency, and can immediately and quickly generate the return of the requested data (request information) from the requester (client) data (return information). The real-time response system 100 and the real-time response method of the present invention can quickly return information to the requesting end or the next processing port (i.e., the processing port, such as the external data receiving end) according to the preset flow to overcome the overall flow of the existing synchronous processing Overly verbose missing. In addition, the initial data template/next time data return is adjusted according to the returned data and the subsequent actual calculation results, thereby having the advantages of quick response and inventory/data control according to the calculation results. The requester can quickly receive the response, and avoid the need to readjust the settings of the receiver or the receiver cannot receive information due to the long response time, or the situation that requires the establishment of additional receivers in conventional asynchronous processing. Through the characteristics of the instant response system 100 and the instant response method of the present invention, the user does not need to greatly adjust the architecture of the response end, for example, changing the synchronous processing architecture to an asynchronous processing architecture, and can also achieve the advantages of both synchronous processing and asynchronous processing Instant response system 100 and method.

最後應說明的是:以上各實施例僅用以說明本公開的技術方案,而非對其限制;儘管參照前述各實施例對本公開進行了詳細的說明,本領域的普通技術人員應當理解:其依然可以對前述各實施例所記載的技術方案進行修改,或者對其中部分或者全部技術特徵進行等同替換;而這些修改或者替換,並不使相應技術方案的本質脫離本公開各實施例技術方案的範圍。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present disclosure, not to limit them; 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: It is still possible to modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the technical solutions of the various embodiments of the present disclosure. scope.

100:即時響應系統 110:處理器 120:儲存裝置 121:響應模組 122:資料分析模組 123:風險估算模組 124:資源估算模組 125:差異累計模組 126:回沖模組 S210~S240:步驟 100: Immediate Response System 110: Processor 120: storage device 121: Response module 122: Data analysis module 123: Risk Estimation Module 124:Resource Estimation Module 125: Difference accumulation module 126:Back punching die set S210~S240: steps

圖1是本發明的一實施例的即時響應系統的示意圖。 圖2是本發明的一實施例的即時響應方法的流程圖。 圖3是本發明的一實施例的多個模組的示意圖。 FIG. 1 is a schematic diagram of an instant response system according to an embodiment of the present invention. FIG. 2 is a flowchart of an instant response method according to an embodiment of the present invention. FIG. 3 is a schematic diagram of a plurality of modules according to an embodiment of the present invention.

S210、S220、S230、S240:步驟 S210, S220, S230, S240: steps

Claims (14)

一種即時響應系統,其包括:儲存裝置,儲存有初始資料模板以及多個模組,其中所述多個模組包括響應模組、資料分析模組、風險估算模組以及資源估算模組;以及處理器,耦接所述儲存裝置,其中所述處理器執行所述資料分析模組,以使所述資料分析模組對請求資料進行資料分析,並且取得特徵資料,所述資料分析模組根據所述特徵資料以及所述初始資料模板產生回傳資料,且將所述回傳資料輸入至所述響應模組以及所述風險估算模組,其中所述處理器執行所述響應模組,以輸出所述回傳資料,其中所述處理器執行所述風險估算模組,以基於邏輯法則根據所述請求資料以及所述回傳資料計算出差異值,其中當所述風險估算模組判斷所述差異值大於閾值時,所述處理器執行所述資源估算模組,以根據所述差異值調整所述初始資料模板。 An instant response system, which includes: a storage device storing an initial data template and a plurality of modules, wherein the plurality of modules include a response module, a data analysis module, a risk estimation module, and a resource estimation module; and A processor, coupled to the storage device, wherein the processor executes the data analysis module, so that the data analysis module performs data analysis on the requested data and obtains feature data, and the data analysis module according to The characteristic data and the initial data template generate return data, and input the return data to the response module and the risk estimation module, wherein the processor executes the response module to Outputting the returned data, wherein the processor executes the risk estimation module to calculate a difference value according to the request data and the returned data based on logic rules, wherein when the risk estimation module judges the When the difference value is greater than a threshold, the processor executes the resource estimation module to adjust the initial data template according to the difference value. 如請求項1所述的即時響應系統,其中,所述多個模組還包括差異累計模組以及回沖模組,並且當所述風險估算模組判斷所述差異值小於或等於閾值時,所述處理器執行所述風險估算模組以將所述差異值輸入至所述回沖模組,其中所述回沖模組將所述差異值輸入至所述差異累計模組,以使所述差異累計模組將每次所述差異值進行累計以獲得當 前總差異值,當所述當前總差異值大於差異閾值時,所述差異累計模組將所述當前總差異值輸入至所述資源估算模組,以使所述資源估算模組根據所述當前總差異值調整所述初始資料模板。 The immediate response system according to claim 1, wherein the plurality of modules further include a difference accumulation module and a punchback module, and when the risk estimation module judges that the difference value is less than or equal to a threshold, The processor executes the risk estimation module to input the difference value to the punchback module, wherein the back punch module inputs the difference value to the difference accumulation module so that all The difference accumulation module will accumulate the difference value each time to obtain the current The previous total difference value, when the current total difference value is greater than the difference threshold, the difference accumulation module will input the current total difference value to the resource estimation module, so that the resource estimation module will The current total variance value adjusts the initial profile template. 如請求項1所述的即時響應系統,其中,所述多個模組還包括回沖模組,當所述風險估算模組判斷所述差異值小於或等於閾值時,所述處理器執行所述風險估算模組以將所述差異值輸入至所述回沖模組,其中所述回沖模組將所述差異值輸入至所述響應模組,以使所述響應模組根據所述差異值調整下一次的所述回傳資料。 The immediate response system according to claim 1, wherein the multiple modules further include a punchback module, and when the risk estimation module judges that the difference value is less than or equal to a threshold, the processor executes the the risk estimation module to input the variance value to the back-punching module, wherein the back-punching module inputs the variance value to the response module so that the response module according to the The difference value adjusts the data returned next time. 如請求項1所述的即時響應系統,其中,所述多個模組還包括回沖模組,其中所述資源估算模組根據所述差異值調整儲存於所述資料分析模組中的所述初始資料模板,所述回沖模組將經調整的所述初始資料模板輸入至所述響應模組,以使所述響應模組根據經調整的所述初始資料模板調整下一次的所述回傳資料。 The instant response system according to claim 1, wherein the plurality of modules further include a punchback module, wherein the resource estimation module adjusts all the data stored in the data analysis module according to the difference value The initial data template, the back punching module inputs the adjusted initial data template to the response module, so that the response module adjusts the next time according to the adjusted initial data template Return data. 如請求項1所述的即時響應系統,其中,所述處理器根據多個歷史資料調整所述初始資料模板。 The instant response system according to claim 1, wherein the processor adjusts the initial data template according to a plurality of historical data. 如請求項1所述的即時響應系統,其中,所述風險估算模組還基於歷程請求資料且/或歷程資料趨勢以根據所述請求資料以及所述回傳資料計算出所述差異值。 The instant response system according to claim 1, wherein the risk estimation module calculates the difference value according to the request data and the returned data based on the history request data and/or the history data trend. 如請求項1所述的即時響應系統,其中,所述資源估算模組根據所述特徵資料以及所述差異值依照比例放大或縮小所述初始資料模板,且根據所述差異值調整所述初始資料模板。 The instant response system according to claim 1, wherein the resource estimation module scales up or down the initial data template according to the characteristic data and the difference value, and adjusts the initial data template according to the difference value profile template. 一種即時響應方法,其包括:透過資料分析模組對請求資料進行資料分析,以取得特徵資料;透過所述資料分析模組根據所述特徵資料以及初始資料模板產生回傳資料,且將所述回傳資料輸入至響應模組以及風險估算模組;其中透過所述響應模組輸出所述回傳資料,其中透過所述風險估算模組以基於邏輯法則根據所述請求資料以及所述回傳資料計算出差異值,其中當所述風險估算模組判斷所述差異值大於閾值時,透過資源估算模組根據所述差異值調整所述初始資料模板。 An instant response method, which includes: performing data analysis on request data through a data analysis module to obtain feature data; generating return data according to the feature data and an initial data template through the data analysis module, and converting the The return data is input to the response module and the risk estimation module; wherein the return data is output through the response module, wherein the risk estimation module is based on logic rules based on the request data and the return A difference value is calculated from the data, wherein when the risk estimation module judges that the difference value is greater than a threshold, the resource estimation module adjusts the initial data template according to the difference value. 如請求項8所述的即時響應方法,還包括:當所述風險估算模組判斷所述差異值小於或等於閾值時,透過所述風險估算模組以將所述差異值輸入至回沖模組;透過所述回沖模組將所述差異值輸入至差異累計模組,以使所述差異累計模組將每次所述差異值進行累計以獲得當前總差異值,當所述當前總差異值大於差異閾值時,所述差異累計模組將所述當前總差異值輸入至所述資源估算模組,以使所述資源估算 模組根據所述當前總差異值調整所述初始資料模板。 The immediate response method as described in claim 8, further comprising: when the risk estimation module judges that the difference value is less than or equal to a threshold value, input the difference value to the back punching die through the risk estimation module group; the difference value is input to the difference accumulation module through the back punching module, so that the difference accumulation module will accumulate the difference value each time to obtain the current total difference value, when the current total When the difference value is greater than the difference threshold, the difference accumulation module will input the current total difference value to the resource estimation module, so that the resource estimation The module adjusts the initial data template according to the current total difference value. 如請求項8所述的即時響應方法,還包括:當所述風險估算模組判斷所述差異值小於或等於閾值時,透過所述風險估算模組以將所述差異值輸入至回沖模組,其中所述回沖模組將所述差異值輸入至所述響應模組,以使所述響應模組根據所述差異值調整下一次的所述回傳資料。 The immediate response method as described in claim 8, further comprising: when the risk estimation module judges that the difference value is less than or equal to a threshold value, input the difference value to the back punching die through the risk estimation module group, wherein the punchback module inputs the difference value to the response module, so that the response module adjusts the next return data according to the difference value. 如請求項8所述的即時響應方法,其中,所述資源估算模組根據所述差異值調整所述初始資料模板的步驟中,還包括:透過所述資源估算模組根據所述差異值調整儲存於所述資料分析模組中的所述初始資料模板;透過回沖模組將經調整的所述初始資料模板輸入至所述響應模組,以使所述響應模組根據經調整的所述初始資料模板調整下一次的所述回傳資料。 The instant response method according to claim 8, wherein the step of adjusting the initial data template by the resource estimation module according to the difference value further includes: adjusting the initial data template according to the difference value through the resource estimation module storing the initial data template in the data analysis module; inputting the adjusted initial data template into the response module through the punchback module, so that the response module is based on the adjusted The initial data template is used to adjust the data returned next time. 如請求項8所述的即時響應方法,其中,處理器根據多個歷史資料調整所述初始資料模板。 The instant response method according to claim 8, wherein the processor adjusts the initial data template according to a plurality of historical data. 如請求項8所述的即時響應方法,其中,透過所述風險估算模組以基於所述邏輯法則根據所述請求資料以及所述回傳資料計算出所述差異值的步驟還包括:所述風險估算模組基於歷程請求資料且/或歷程資料趨勢以根據所述請求資料以及所述回傳資料計算出所述差異值。 The instant response method as described in claim 8, wherein the step of calculating the difference value based on the logic rule according to the request data and the returned data through the risk estimation module further includes: the The risk estimation module calculates the difference value according to the request data and the returned data based on the process request data and/or the trend of the process data. 如請求項8所述的即時響應方法,其中,透過所述資源估算模組以根據所述差異值調整所述初始資料模板的步驟中,還包括:所述資源估算模組根據所述特徵資料以及所述差異值依照比例放大或縮小所述初始資料模板,且根據所述差異值調整所述初始資料模板。 The instant response method according to claim 8, wherein the step of adjusting the initial data template according to the difference value through the resource estimation module further includes: the resource estimation module according to the feature data And the difference value enlarges or shrinks the initial data template according to the ratio, and adjusts the initial data template according to the difference value.
TW111130945A 2022-08-01 2022-08-17 Instant response system and instant response method TWI802487B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210915647.1 2022-08-01
CN202210915647.1A CN115334024B (en) 2022-08-01 2022-08-01 Instant response system and instant response method

Publications (2)

Publication Number Publication Date
TWI802487B true TWI802487B (en) 2023-05-11
TW202408209A TW202408209A (en) 2024-02-16

Family

ID=83919207

Family Applications (1)

Application Number Title Priority Date Filing Date
TW111130945A TWI802487B (en) 2022-08-01 2022-08-17 Instant response system and instant response method

Country Status (2)

Country Link
CN (1) CN115334024B (en)
TW (1) TWI802487B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080005778A1 (en) * 2006-07-03 2008-01-03 Weifeng Chen System and method for privacy protection using identifiability risk assessment
TW200820682A (en) * 2006-06-14 2008-05-01 Divitas Networks Inc Content-based adaptive jitter handling
EP2528009A1 (en) * 2009-03-24 2012-11-28 AOL Inc. Systems and methods for challenge-response animation and randomization testing

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20160055930A (en) * 2013-09-19 2016-05-18 시소모스 엘.피. Systems and methods for actively composing content for use in continuous social communication
US9967211B2 (en) * 2015-05-31 2018-05-08 Microsoft Technology Licensing, Llc Metric for automatic assessment of conversational responses
EP3682345B1 (en) * 2018-08-07 2021-11-24 Google LLC Assembling and evaluating automated assistant responses for privacy concerns
WO2020180286A1 (en) * 2019-03-01 2020-09-10 Google Llc Dynamically adapting assistant responses
CN112383458B (en) * 2020-10-28 2022-02-08 交控科技股份有限公司 Responsive communication method and system
CN113421597B (en) * 2021-06-22 2024-01-23 上海明略人工智能(集团)有限公司 Monitoring method, system, electronic equipment and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200820682A (en) * 2006-06-14 2008-05-01 Divitas Networks Inc Content-based adaptive jitter handling
US20080005778A1 (en) * 2006-07-03 2008-01-03 Weifeng Chen System and method for privacy protection using identifiability risk assessment
EP2528009A1 (en) * 2009-03-24 2012-11-28 AOL Inc. Systems and methods for challenge-response animation and randomization testing

Also Published As

Publication number Publication date
CN115334024B (en) 2024-07-09
CN115334024A (en) 2022-11-11
TW202408209A (en) 2024-02-16

Similar Documents

Publication Publication Date Title
US11416456B2 (en) Method, apparatus, and computer program product for data quality analysis
US10108480B2 (en) Data stream processor and method to counteract anomalies in data streams transiting a distributed computing system
CN112566196B (en) Heterogeneous network access selection method based on smart grid and related equipment
US7346401B2 (en) Systems and methods for providing constrained optimization using adaptive regulatory control
CN110896357B (en) Flow prediction method, device and computer readable storage medium
WO2020155754A1 (en) Outlier proportion optimization method and apparatus, and computer device and storage medium
CN107018024B (en) Cloud service recommendation method and device
CN110826606B (en) Element matching method, device, server and readable storage medium
TWI802487B (en) Instant response system and instant response method
CN111400045A (en) Load balancing method and device
CN111555918B (en) Return source optimization method and device and electronic equipment
CN116340883A (en) Power distribution network data resource fusion method, device, equipment and storage medium
CN114465921B (en) Peer-to-peer network control method, device, electronic equipment and storage medium
US20230259440A1 (en) Dynamically Providing Real-Time Configuration of Data Research Control Limits
US20150363291A1 (en) Optimizing the number of shared processes executing in a computer system
CN115511085A (en) Model data processing method, device, equipment and storage medium
CN114612037A (en) Warehouse information management method and system
CN111786821B (en) Abnormality positioning method, server and storage medium
CN114048010A (en) Method, device, equipment and storage medium for controlling service timeout time
CN113591999A (en) End edge cloud federal learning model training system and method
CN112148575B (en) Information processing method, device, electronic equipment and storage medium
CN111191891A (en) Evaluation accuracy calibration method and device, electronic device and storage medium
CN118170550B (en) Node water level line threshold value adjusting method and device and related equipment
TWI848786B (en) System and method for processing required data
US20240161196A1 (en) Investment loss and profit allocation method and system based on contribution ratio of lower nodes on the profit