TWI569199B - Data process method and control system thereof - Google Patents

Data process method and control system thereof Download PDF

Info

Publication number
TWI569199B
TWI569199B TW104138369A TW104138369A TWI569199B TW I569199 B TWI569199 B TW I569199B TW 104138369 A TW104138369 A TW 104138369A TW 104138369 A TW104138369 A TW 104138369A TW I569199 B TWI569199 B TW I569199B
Authority
TW
Taiwan
Prior art keywords
storage units
programmable device
data
weight parameter
data processing
Prior art date
Application number
TW104138369A
Other languages
Chinese (zh)
Other versions
TW201719375A (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 英業達股份有限公司
Priority to TW104138369A priority Critical patent/TWI569199B/en
Application granted granted Critical
Publication of TWI569199B publication Critical patent/TWI569199B/en
Publication of TW201719375A publication Critical patent/TW201719375A/en

Links

Description

資料處理方法及其控制系統Data processing method and control system thereof

本發明係關於一種資料處理方法,尤指一種根據權重參數存取資料之資料處理方法。The present invention relates to a data processing method, and more particularly to a data processing method for accessing data according to a weight parameter.

先前技術中,當第一裝置欲存取第二裝置儲存之資料時,例如當第二裝置電源重開機後,第一裝置欲以掃描方式存取檢查第二裝置之資料時,僅可依照預設(default)順序存取。舉例而言,當第二裝置之多筆資料係以階層式架構儲存時,第一裝置僅可根據儲存位址由上到下依序存取,例如從16進位之位址0x000依序存取至位址0xFFF。第一裝置亦可能根據資料之種類而逐項存取第二裝置之資料。第1圖係先前技術中,第一裝置110存取第二裝置120之資料的示意圖。第二裝置120之資料係分別歸屬於第1種類1201、第2種類1202…第n種類120n,第一裝置110可根據設定,依序存取第1種類1201、第2種類1202,乃至第n種類120n之資料,但無法改變此存取順序。上述的資料存取方式,皆須依照預設順序,而無法根據系統狀態調整存取之順序,導致資料管理之控制性與靈活性實不理想,若欲讀取之資料位於存取順位極低之儲存單元,更會造成操作時間過長及功耗提高等缺失。In the prior art, when the first device wants to access the data stored by the second device, for example, when the second device is powered on, the first device wants to scan and access the data of the second device, Set (default) sequential access. For example, when multiple pieces of data of the second device are stored in a hierarchical structure, the first device can only be accessed sequentially from top to bottom according to the storage address, for example, sequentially from the address of the 16-bit address 0x000. To address 0xFFF. The first device may also access the data of the second device item by item according to the type of the data. 1 is a schematic diagram of a first device 110 accessing data of a second device 120 in the prior art. The data of the second device 120 is respectively assigned to the first type 1201, the second type 1202, the nth type 120n, and the first device 110 can sequentially access the first type 1201, the second type 1202, and even the nth according to the setting. Information of type 120n, but this access order cannot be changed. The above data access methods must be in accordance with the preset order, and the order of access cannot be adjusted according to the system state, resulting in poor control and flexibility of data management, and the data to be read is located at a very low access level. The storage unit also causes a lack of operation time and power consumption.

本發明之一實施例揭露一種資料處理方法,包含根據一第二可程式化裝置的m個儲存單元於該第二可程式化裝置的位址,及/或該m個儲存單元存取之資料的類別,設定該m個儲存單元之權重參數;一第一可程式化裝置接收一第一資料處理請求;及該第一可程式化裝置根據該第一資料處理請求及該第二可程式化裝置的n個儲存單元的權重參數,依序於該n個儲存單元存取n筆資料。其中m及n皆為正整數。An embodiment of the present invention discloses a data processing method, including data stored in the address of the second programmable device according to the m storage units of a second programmable device, and/or data accessed by the m storage units a class, the weighting parameter of the m storage units is set; a first programmable device receives a first data processing request; and the first programmable device is configured according to the first data processing request and the second programmable The weight parameter of the n storage units of the device sequentially accesses n pieces of data in the n storage units. Where m and n are both positive integers.

本發明之另一實施例揭露一種控制系統,該控制系統包含一第一可程式化裝置及一第二可程式化裝置。該第一可程式化裝置,用以根據該第二可程式化裝置的m個儲存單元於該第二可程式化裝置的位址,及/或該m個儲存單元存取之資料的類別,設定該m個儲存單元之權重參數、接收一第一資料處理請求、及根據該第一資料處理請求及一第二可程式化裝置的n個儲存單元的權重參數,依序於該n個儲存單元存取n筆資料。該第二可程式化裝置,包含該n個儲存單元及m個儲存單元。其中該n個儲存單元及m個儲存單元至少部份重疊,且m及n皆為正整數。Another embodiment of the present invention discloses a control system including a first programmable device and a second programmable device. The first programmable device is configured to: according to the addresses of the m storage units of the second programmable device at the address of the second programmable device, and/or the types of data accessed by the m storage units, Setting a weight parameter of the m storage units, receiving a first data processing request, and weighting parameters of the n storage units according to the first data processing request and a second programmable device, sequentially storing the n data The unit accesses n data. The second programmable device includes the n storage units and m storage units. The n storage units and the m storage units at least partially overlap, and both m and n are positive integers.

第2圖係本發明一實施例之控制系統200的示意圖。控制系統200包含第一可程式化裝置210及第二可程式化裝置220。第二可程式化裝置220具有複數個儲存單元ut,該些儲存單元ut係分佈於第二可程式化裝置220之相異的記憶空間位址。每一位址可具有一位址編號及一旗標位置。例如第2圖之每一儲存單元ut的位址可具有位址編號0x00-0xZ中之一位址編號、及該位址編號之一旗標位置。其中,第2圖所示之位址編號係以0x開頭之16位元編號作為舉例,所述的N、M、Y、Z係16進位之正整數,然本發明實施例之位址編號亦可不限於16位元編號。儲存單元ut可例如為暫存器,或可用以儲存資料之記憶單元。第一可程式化裝置210可例如為(但不限於)基板管理控制器(Baseboard Management Controller;BMC),且第二可程式化裝置220可例如為(但不限於)複雜可程式化邏輯裝置(Complex Programmable Logic Device;CPLD)。其中,第一可程式化裝置210與第二可程式化裝置220可透過外部記憶匯流排(external memory bus)連結。藉由使用外部記憶匯流排,所須之實體輸入/輸出(I/O)腳位的數量可下降,故有利於管理複雜度較高之裝置,如複雜可程式化邏輯裝置等。2 is a schematic diagram of a control system 200 in accordance with an embodiment of the present invention. Control system 200 includes a first programmable device 210 and a second programmable device 220. The second programmable device 220 has a plurality of storage units ut, which are distributed in different memory space addresses of the second programmable device 220. Each address can have a single address number and a flag location. For example, the address of each storage unit ut of FIG. 2 may have one of the address numbers 0x00-0xZ and one of the address numbers. The address number shown in FIG. 2 is exemplified by a 16-bit number starting with 0x, and the N, M, Y, and Z are positive integers of 16-bit, but the address number of the embodiment of the present invention is also It is not limited to a 16-bit number. The storage unit ut can be, for example, a scratchpad or a memory unit that can be used to store data. The first programmable device 210 can be, for example but not limited to, a Baseboard Management Controller (BMC), and the second programmable device 220 can be, for example but not limited to, a complex programmable logic device ( Complex Programmable Logic Device; CPLD). The first programmable device 210 and the second programmable device 220 can be connected through an external memory bus. By using an external memory bus, the number of physical input/output (I/O) pins required can be reduced, which facilitates the management of more complex devices such as complex programmable logic devices.

如第2圖之實施例所示,每個儲存單元ut可具有對應之權重參數。權重參數可對應於儲存單元ut之位址、及/或儲存單元ut存取之資料的類別。第2圖中,類別2201-220n係以登錄於左側之欄位為例。若以第2圖中位於位址編號0x00之第1旗標位置的儲存單元ut1為例,儲存單元ut1存取之資料的類別係屬於「控制訊號區域(control signal area)」,故可對應於值為4之類別權重參數W2。又,儲存單元ut1對應之位址編號係0x00,故如第2圖所示,其位址編號權重參數W1係3;此外,因儲存單元ut1係位於位址編號0x00之第1旗標位置,其旗標權重參數W0係2。因此,第2圖中之儲存單元ut1對應之權重參數可如第1表所示: <TABLE border="1" borderColor="#000000" width="_0001"><TBODY><tr><td> 儲存單元之代號 </td><td> 權重參數 </td></tr><tr><td> 儲存單元ut1 </td><td> 類別權重參數W2,對應於資料之類別 </td><td> 位址權重參數,對應於儲存單元之位址 </td></tr><tr><td> 位址編號權重參數W1 </td><td> 旗標權重參數W0 </td></tr><tr><td> 4 </td><td> 3 </td><td> 2 </td></tr></TBODY></TABLE>As shown in the embodiment of Figure 2, each storage unit ut can have a corresponding weight parameter. The weight parameter may correspond to the address of the storage unit ut, and/or the category of the data accessed by the storage unit ut. In the second figure, the category 2201-220n is exemplified by the field registered on the left side. For example, in the storage unit ut1 at the first flag position of the address number 0x00 in FIG. 2, the type of the data accessed by the storage unit ut1 belongs to the "control signal area", so it can correspond to A category weight parameter W2 of 4. Moreover, the address number corresponding to the storage unit ut1 is 0x00. Therefore, as shown in FIG. 2, the address number weight parameter W1 is 3; in addition, since the storage unit ut1 is located at the first flag position of the address number 0x00, Its flag weight parameter W0 is 2. Therefore, the weight parameter corresponding to the storage unit ut1 in FIG. 2 can be as shown in the first table:         <TABLE border="1" borderColor="#000000" width="_0001"><TBODY><tr><td> Storage unit code</td><td> Weight parameter</td></tr>< Tr><td> storage unit ut1 </td><td> category weight parameter W2, corresponding to the category of the data </td><td> address weight parameter, corresponding to the address of the storage unit</td></ Tr><tr><td> Address number weight parameter W1 </td><td> Flag weight parameter W0 </td></tr><tr><td> 4 </td><td> 3 < /td><td> 2 </td></tr></TBODY></TABLE>

(第1表)(Table 1)

因此,儲存單元ut1對應之權重參數 [W2,W1,W0] (其包含類別權重參數、位址編號權重參數、旗標權重參數)可為[4,3,2]。同理,又以儲存單元ut997為例,儲存單元ut997存取之資料的類別為「電源軌狀態監控區域(power rail situation monitor area)」,對應之位址編號係0xZ,且位於位址編號0xZ之第2旗標位置,故儲存單元ut997對應之權重參數[W2,W1,W0]可如第2圖所示為[2,9,8]。依此類推,第二可程式化裝置220之每一儲存單元ut可各自對應於一組權重參數。由第2圖中可見,該些儲存單元ut亦可分屬於其他類別,例如(但不限於)第2圖所示之「錯誤事件紀錄區域(error event log area)」、「狀態紀錄區域(status record area)」、「系統設定暨裝置當前偵測區域(system configuration and device presence detection area)」等。上述示例係以對應於類別之權重參數為一參數,且對應於位址之權重參數為兩參數,故每一儲存單元之權重參數具有三參數為例,然其係用以舉例說明,本發明實施例中,每一儲存單元之權重參數可不限於為三參數。Therefore, the weight parameter [W2, W1, W0] corresponding to the storage unit ut1 (which includes the category weight parameter, the address number weight parameter, and the flag weight parameter) may be [4, 3, 2]. For the same reason, taking the storage unit ut997 as an example, the type of data accessed by the storage unit ut997 is "power rail situation monitor area", the corresponding address number is 0xZ, and the address number is 0xZ. The second flag position, so the weight parameter [W2, W1, W0] corresponding to the storage unit ut997 can be [2, 9, 8] as shown in Fig. 2. By analogy, each of the storage units ut of the second programmable device 220 can each correspond to a set of weight parameters. As can be seen from Figure 2, the storage units ut can also be classified into other categories, such as (but not limited to) the "error event log area" and the "status record area" (status). "record area"", "system configuration and device presence detection area", etc. In the above example, the weight parameter corresponding to the category is a parameter, and the weight parameter corresponding to the address is two parameters, so the weight parameter of each storage unit has three parameters as an example, which is used to illustrate the present invention. In an embodiment, the weight parameter of each storage unit may not be limited to three parameters.

第3圖係本發明一實施例之資料處理方法300的流程圖。以第2圖所示之控制系統200為例,資料處理方法300可包含:Figure 3 is a flow diagram of a data processing method 300 in accordance with one embodiment of the present invention. Taking the control system 200 shown in FIG. 2 as an example, the data processing method 300 can include:

步驟310:根據第二可程式化裝置220的m個儲存單元ut於第二可程式化裝置220的位址,及/或該m個儲存單元ut存取之資料的類別,設定該m個儲存單元ut之權重參數;Step 310: Set the m storages according to the addresses of the second storage unit 220 of the second programmable device 220, the address of the second programmable device 220, and/or the category of the data accessed by the m storage units ut. The weight parameter of the unit ut;

步驟320:第一可程式化裝置210接收資料處理請求R1;Step 320: The first programmable device 210 receives the data processing request R1;

步驟330:第一可程式化裝置210根據資料處理請求R1及第二可程式化裝置的n個儲存單元ut的權重參數,依序於該n個儲存單元ut存取n筆資料。Step 330: The first programmable device 210 accesses the n data in sequence according to the weighting parameters of the n storage units ut of the data processing request R1 and the second programmable device.

其中m及n皆為正整數。Where m and n are both positive integers.

步驟310中,第二可程式化裝置之m個儲存單元ut可例如以ut(m1)至ut(mm)表示,其權重參數可如第2表所示: <TABLE border="1" borderColor="#000000" width="_0002"><TBODY><tr><td> 第二可程式化裝置220的m個儲存單元ut </td><td> 權重參數 </td></tr><tr><td> 類別權重參數W2 </td><td> 位址權重參數 </td></tr><tr><td> 位址編號權重參數W1 </td><td> 旗標權重參數W0 </td></tr><tr><td> 1 </td><td> ut(m1) </td><td> W2m1 </td><td> W1m1 </td><td> W0m1 </td></tr><tr><td> 2 </td><td> ut(m2) </td><td> W2m2 </td><td> W1m2 </td><td> W0m2 </td></tr><tr><td> … </td><td> … </td><td> … </td><td> … </td><td> … </td></tr><tr><td> m </td><td> ut(mm) </td><td> W2mm </td><td> W1mm </td><td> W0mm </td></tr></TBODY></TABLE>In step 310, the m storage units ut of the second programmable device may be represented, for example, by ut(m1) to ut(mm), and the weight parameters thereof may be as shown in the second table:         <TABLE border="1" borderColor="#000000" width="_0002"><TBODY><tr><td> m storage units ut </td><td> weight parameters of the second programmable device 220 </td></tr><tr><td> Category weight parameter W2 </td><td> Address weight parameter</td></tr><tr><td> Address number weight parameter W1 < /td><td> Flag weight parameter W0 </td></tr><tr><td> 1 </td><td> ut(m1) </td><td> W2m1 </td>< Td> W1m1 </td><td> W0m1 </td></tr><tr><td> 2 </td><td> ut(m2) </td><td> W2m2 </td>< Td> W1m2 </td><td> W0m2 </td></tr><tr><td> ... </td><td> ... </td><td> ... </td><td> ... </td><td> ... </td></tr><tr><td> m </td><td> ut(mm) </td><td> W2mm </td><td> W1mm </td><td> W0mm </td></tr></TBODY></TABLE>

(第2表)(Table 2)

因此,m個儲存單元ut(m1)至ut(mm)之權重參數可以矩陣(matrix)方式表示為{[W2m1,W1m1,W0m1],[W2m2,W1m2,W0m2],…,[W2mm,W1mm,W0mm]},管理時可以矩陣表格方式管理之。權重參數之設定可由第一可程式化裝置210對於第二可程式化裝置220進行設定、人工設定或其他方式設定。Therefore, the weight parameters of the m storage units ut(m1) to ut(mm) can be expressed in a matrix manner as {[W2m1, W1m1, W0m1], [W2m2, W1m2, W0m2], ..., [W2mm, W1mm, W0mm]}, management can be managed in a matrix table. The setting of the weight parameter can be set, manually set or otherwise set by the first programmable device 210 for the second programmable device 220.

步驟320至330中,資料處理請求R1可例如為控制指令,用以控制或通知第一可程式化裝置210存取該n個儲存單元之n筆資料。舉例而言,若每個儲存單元係儲存1 位元(bit)之資料,則n筆資料係n位元之資料。該n個儲存單元可以儲存單元ut(n1)至ut(nn)表示,其可為以下幾種情況之一:In steps 320 to 330, the data processing request R1 may be, for example, a control command for controlling or notifying the first programmable device 210 to access n pieces of data of the n storage units. For example, if each storage unit stores 1 bit of data, then n data is n bits of data. The n storage units may store the units ut(n1) to ut(nn), which may be one of the following cases:

(a) 該n個儲存單元係前述m個儲存單元(如第2表所列之儲存單元ut(m1)至ut(mm))所包含之n個儲存單元;(a) the n storage units are n storage units included in the m storage units (such as the storage units ut(m1) to ut(mm) listed in the second table);

(b) 該n個儲存單元係與前述m個儲存單元部份重疊;(b) the n storage units are partially overlapped with the m storage units;

(c) 該n個儲存單元係包含前述m個儲存單元;及(c) the n storage units comprise the m storage units;

(d) 該n個儲存單元係不與前述m個儲存單元重疊而為前述m個儲存單元以外的n個儲存單元。(d) The n storage units are not overlapped with the m storage units and are n storage units other than the m storage units.

該n個儲存單元之權重參數可如第3表所示: <TABLE border="1" borderColor="#000000" width="_0003"><TBODY><tr><td> 第二可程式化裝置220的n個儲存單元ut </td><td> 權重參數 </td></tr><tr><td> 類別權重參數W2 </td><td> 位址權重參數 </td></tr><tr><td> 位址編號權重參數W1 </td><td> 旗標權重參數W0 </td></tr><tr><td> 1 </td><td> ut(n1) </td><td> W2n1 </td><td> W1 n1 </td><td> W0 n1 </td></tr><tr><td> 2 </td><td> ut(n2) </td><td> W2 n2 </td><td> W1 n2 </td><td> W0 n2 </td></tr><tr><td> … </td><td> … </td><td> … </td><td> … </td><td> … </td></tr><tr><td> n </td><td> ut(nn) </td><td> W2 nn </td><td> W1 nn </td><td> W0 nn </td></tr></TBODY></TABLE>The weight parameters of the n storage units can be as shown in Table 3:         <TABLE border="1" borderColor="#000000" width="_0003"><TBODY><tr><td> n storage units ut </td><td> weight parameters of the second programmable device 220 </td></tr><tr><td> Category weight parameter W2 </td><td> Address weight parameter</td></tr><tr><td> Address number weight parameter W1 < /td><td> Flag weight parameter W0 </td></tr><tr><td> 1 </td><td> ut(n1) </td><td> W2n1 </td>< Td> W1 n1 </td><td> W0 n1 </td></tr><tr><td> 2 </td><td> ut(n2) </td><td> W2 n2 </ Td><td> W1 n2 </td><td> W0 n2 </td></tr><tr><td> ... </td><td> ... </td><td> ... </td ><td> ... </td><td> ... </td></tr><tr><td> n </td><td> ut(nn) </td><td> W2 nn </ Td><td> W1 nn </td><td> W0 nn </td></tr></TBODY></TABLE>

(第3表)(Table 3)

因此,該n個儲存單元ut(n1)-ut(nn)對應之權重參數可為{[W2n1,W1n1,W0n1],[W2n2,W1n2,W0n2],…,[W2 nn,W1nn,W0nn]}。若該n 個儲存單元係該m個儲存單元中的n個儲存單元,例如步驟310設定了500個儲存單元之權重參數(此例中m為500),且步驟320-330係存取步驟310所設定的500個儲存單元中的300個儲存單元之資料(此例中n為300),則存取該300個儲存單元之資料時,其順序係依照該300個儲存單元的權重參數,而該300個儲存單元的權重參數係於步驟310時設定。然而,若該n個儲存單元係部份重疊、或不重疊於該m個儲存單元,則該n個儲存單元中不重疊於該m個儲存單元的儲存單元,其權重參數係根據其預設權重參數,而不受步驟310執行之設定操作影響。Therefore, the weight parameter corresponding to the n storage units ut(n1)-ut(nn) may be {[W2n1, W1n1, W0n1], [W2n2, W1n2, W0n2], ..., [W2 nn, W1nn, W0nn]} . If the n storage units are n storage units of the m storage units, for example, step 310 sets a weight parameter of 500 storage units (in this example, m is 500), and steps 320-330 are accessing step 310. The data of 300 storage units in the set 500 storage units (in this example, n is 300), when accessing the data of the 300 storage units, the order is based on the weight parameters of the 300 storage units, and The weighting parameters of the 300 storage units are set at step 310. However, if the n storage units partially overlap or do not overlap the m storage units, the n storage units do not overlap the storage units of the m storage units, and the weight parameters are based on the presets. The weight parameter is not affected by the setting operation performed in step 310.

第4圖係第3圖之實施例中,該m個儲存單元與該n個儲存單元之關係示意圖。前述的(a)至(d)四種情況係分別示於第4圖中。若有一儲存單元(例如以ut(mx)及ut(ny)表示,儲存單元ut(mx)即為儲存單元ut(ny))其係包含於儲存單元ut(m1)-ut(mm)且亦包含於ut(n1)-ut(nn),則可知該m個儲存單元及該n個儲存單元對應於儲存單元ut(mx)(即儲存單元ut(ny))之權重參數係相同,亦即:[W2mx,W1mx,W0 mx] = [W2ny,W1ny,W0ny]。第4圖係以凡氏圖(Venn diagram)形式用以輔助說明本發明實施例之原理,並非表示真實之電路架構或儲存單元之硬體架構。Figure 4 is a schematic diagram showing the relationship between the m storage units and the n storage units in the embodiment of Figure 3. The four cases (a) to (d) above are shown in Fig. 4, respectively. If there is a storage unit (for example, ut (mx) and ut (ny), the storage unit ut (mx) is the storage unit ut (ny)) is included in the storage unit ut (m1) - ut (mm) and Included in ut(n1)-ut(nn), it can be seen that the m storage units and the n storage units have the same weight parameter corresponding to the storage unit ut(mx) (ie, the storage unit ut(ny)), that is, :[W2mx,W1mx,W0 mx] = [W2ny, W1ny, W0ny]. Figure 4 is a diagram showing the principles of the embodiments of the present invention in the form of a Venn diagram, and does not represent the hardware architecture of a real circuit architecture or storage unit.

步驟330所述的根據n個儲存單元ut的權重參數,依序於該n個儲存單元ut存取n筆資料,根據本發明實施例,其順序規則可允許由技術人員予以規定。舉例而言,若設定權重參數數字越小者其存取優先順序越先,則例如權重參數為2之儲存單元的資料可比權重參數為3之儲存單元的資料先被存取。技術人員可例如於腳本文件(script file)設定類別權重參數(如上述示例中的W2)數字較小者的儲存單元之資料先被存取,亦可例如設定位址權重參數(如上述示例中的W1、W0)數字較小者的儲存單元之資料先被存取等。According to the weight parameter of the n storage units ut, the n storage data is sequentially accessed according to the n storage units ut. According to the embodiment of the present invention, the order rule may be allowed to be specified by a technician. For example, if the weighting parameter number is smaller, the access priority order is earlier. For example, the data of the storage unit whose weight parameter is 2 may be accessed first than the data of the storage unit whose weight parameter is 3. The technician can set the category weight parameter (such as W2 in the above example) in the script file to access the data of the storage unit of the smaller number first, or set the address weight parameter, for example, in the above example. The data of the storage unit of the smaller W1, W0) number is first accessed and the like.

第5圖係本發明另一實施例之資料處理方法500的流程圖。若搭配參照第2圖,第5圖的處理方法500可包含:Figure 5 is a flow diagram of a data processing method 500 in accordance with another embodiment of the present invention. Referring to FIG. 2, the processing method 500 of FIG. 5 may include:

步驟510:第一可程式化裝置210對第二可程式化裝置220提出第二可程式化裝置220的k個儲存單元的權重參數調整請求;Step 510: The first programmable device 210 proposes, to the second programmable device 220, a weight parameter adjustment request of k storage units of the second programmable device 220;

步驟520:第二可程式化裝置220是否允許調整該k個儲存單元之權重參數?若是,進入步驟530;若否,進入步驟580;Step 520: Does the second programmable device 220 allow adjustment of the weight parameters of the k storage units? If yes, go to step 530; if no, go to step 580;

步驟530:停止對第二可程式化裝置220進行資料存取;Step 530: Stop accessing data to the second programmable device 220.

步驟540:調整該k個儲存單元之權重參數;Step 540: Adjust weight parameters of the k storage units.

步驟550:啟動對第二可程式化裝置220進行資料存取;跳至步驟590;Step 550: Initiating data access to the second programmable device 220; jumping to step 590;

步驟580:不調整該k個儲存單元之權重參數,繼續對第二可程式化裝置220進行資料存取;Step 580: The weight parameter of the k storage units is not adjusted, and data access to the second programmable device 220 is continued;

步驟590:結束。Step 590: End.

其中k係為正整數。Where k is a positive integer.

第5圖之步驟520中,第二可程式化裝置220可根據第二可程式化裝置220之系統處理狀態判斷是否允許調整該k個儲存單元之權重參數。步驟530可為第一可程式化裝置210停止對於第一可程式化裝置210及第二可程式化裝置220之間的連結通道進行存取,該連結通道可例如(但不限於)匯流排等。步驟550中,調整該k個儲存單元之權重參數後,根據本發明實施例,第二可程式化裝置220可發送通知指令以通知第一可程式化裝置210權重參數調整完成。步驟580中,其可為根據k個儲存單元原先之權重參數對應的順序繼續對第二可程式化裝置220進行資料存取,或者採用習知技術之存取順序進行存取(例如根據位址依序存取而不根據權重參數)。In step 520 of FIG. 5, the second programmable device 220 can determine whether to allow adjustment of the weight parameters of the k storage units according to the system processing state of the second programmable device 220. Step 530 may stop the first programmable device 210 from accessing the connection channel between the first programmable device 210 and the second programmable device 220, such as but not limited to a bus bar, etc. . In step 550, after adjusting the weight parameters of the k storage units, according to an embodiment of the present invention, the second programmable device 220 may send a notification instruction to notify the first programmable device 210 that the weight parameter adjustment is completed. In step 580, the data access to the second programmable device 220 may be continued in the order corresponding to the original weight parameters of the k storage units, or accessed by using an access sequence of the prior art (eg, according to the address) Access sequentially rather than according to weight parameters).

第6圖係本發明另一實施例之資料處理方法600的流程圖。若搭配參照第2圖,第6圖的處理方法600可包含:Figure 6 is a flow diagram of a data processing method 600 in accordance with another embodiment of the present invention. Referring to FIG. 2, the processing method 600 of FIG. 6 may include:

步驟605:調整第二可程式化裝置220之k個儲存單元之權重參數;Step 605: Adjust weight parameters of k storage units of the second programmable device 220;

步驟610:第一可程式化裝置210接收資料處理請求R2;Step 610: The first programmable device 210 receives the data processing request R2;

步驟620:是否根據該k個儲存單元之權重參數已被調整後的權重參數所對應的順序,存取第二可程式化裝置220之資料?若是,進入步驟630;若否,進入步驟640;Step 620: Is the data of the second programmable device 220 accessed according to the order corresponding to the weight parameters of the k storage units that have been adjusted? If yes, go to step 630; if no, go to step 640;

步驟630:第一可程式化裝置210根據資料處理請求R2及第二可程式化裝置220的j個儲存單元於k個儲存單元之權重參數已被調整後的權重參數,依序於該j個儲存單元存取j筆資料;跳至步驟650;Step 630: The first programmable device 210 selects the weight parameters of the j storage units of the data storage request R2 and the second programmable device 220 according to the weight parameters of the k storage units. The storage unit accesses the j-pen data; skip to step 650;

步驟640:第一可程式化裝置210根據資料處理請求R2及第二可程式化裝置220的j個儲存單元於該k個儲存單元之權重參數尚未被調整時的權重參數,依序於該j個儲存單元存取j筆資料;Step 640: The first programmable device 210 selects the weight parameters of the j storage units of the data processing request R2 and the second programmable device 220 when the weight parameters of the k storage units have not been adjusted, according to the j Storage units access j pen data;

步驟650:結束。Step 650: End.

其中該j個儲存單元與該k個儲存單元至少部分重疊,且j係為正整數。The j storage units at least partially overlap with the k storage units, and j is a positive integer.

步驟605所述的調整第二可程式化裝置220之k個儲存單元之權重參數,可對應於第5圖之步驟540執行的調整該k個儲存單元之權重參數之操作。步驟620可由第一可程式化裝置210及/或第二可程式化裝置220予以判斷。前述的該k個儲存單元與該j個儲存單元至少部份重疊,其可為下列三種情況之一:The adjustment of the weight parameters of the k storage units of the second programmable device 220 in step 605 may correspond to the operation of adjusting the weight parameters of the k storage units performed in step 540 of FIG. Step 620 can be determined by the first programmable device 210 and/or the second programmable device 220. The k storage units are at least partially overlapped with the j storage units, and may be one of the following three situations:

(a) 該k個儲存單元包含該j個儲存單元、(a) the k storage units contain the j storage units,

(b) 該j個儲存單元包含該k個儲存單元、或(b) the j storage units contain the k storage units, or

(c) 該k個儲存單元包含該j個儲存單元之一部分的儲存單位。(c) The k storage units contain storage units of a portion of the j storage units.

此三種情況可參照第7圖所示。第7圖係第6圖之實施例中,該j個儲存單元與該k個儲存單元之關係示意圖。第7圖係以凡氏圖(Venn diagram)形式用以輔助說明本發明實施例之原理,並非表示真實之電路架構或儲存單元之硬體架構。若情況(a)與情況(b)同時成立,則表示該j個儲存單元係等同於該k個儲存單元。第7圖中,該k個儲存單元可表示為ut(k1)-ut(kk),且該j個儲存單元可表示為ut(j1)-ut(jj)。該k個儲存單元與該j個儲存單元重疊處之儲存單元可表示為ut(kp)…ut(k(p+r)),亦可表示為ut(jq)…ut(j(q+r))。其中儲存單元ut(kp)…ut(k(p+r))係等同於儲存單元ut(jq)…ut(j(q+r))。上述的儲存單元ut(kp)至ut(k(p+r)) 、及儲存單元ut(jq)至ut(j(q+r)),實可不為位址標號或旗標連號之儲存單元,其表示方式係說明儲存單元ut(kp)至ut(k(p+r)) 之數量等同於儲存單元ut(jq)至ut(j(q+r))之數量。該k個儲存單元及該j個儲存單元對應之權重參數可例如第4表所示: <TABLE border="1" borderColor="#000000" width="_0004"><TBODY><tr><td> 儲存單元 </td><td> 對應之權重參數 </td></tr><tr><td> 該k個儲存單元 ut(k1)…ut(kp)…ut(k(p+r))…ut(kk) </td><td> 步驟605調整前之權重參數 </td><td> {[W2k1,W1k1,W0k1],…,[W2kp,W1kp,W0kp],…,[W2k(p+r),W1k(p+r),W0k(p+r)],…,[W2kk,W1kk,W0kk]} </td></tr><tr><td> 步驟605調整後之權重參數   </td><td> {[W2k1’,W1k1’,W0k1’],…,[W2kp’,W1kp’,W0kp’],…,[W2k(p+r)’,W1k(p+r)’,W0k(p+r)’],…,[W2kk’,W1kk’,W0kk’]} </td></tr><tr><td> 該j個儲存單元 ut(j1)…ut(jq)…ut(j(q+r))…ut(jj) </td><td> 步驟605調整前之權重參數,用於步驟640 </td><td> {[W2j1,W1j1,W0j1],…,[W2jq,W1jq,W0jq],…,[W2j(q+r),W1j(q+r),W0j(q+r)],…,[W2jj,W1jj,W0jj]} </td></tr><tr><td> 步驟605調整後之權重參數,用於步驟630 </td><td> {[W2j1,W1j1,W0j1],…,[W2jq’,W1jq’,W0jq’],…,[W2j(q+r)’,W1j(q+r)’,W0j(q+r)’],…,[W2jj,W1jj,W0jj]} </td></tr></TBODY></TABLE>These three cases can be referred to in Figure 7. Figure 7 is a schematic diagram showing the relationship between the j storage units and the k storage units in the embodiment of Figure 6. Figure 7 is a diagram showing the principles of the embodiments of the present invention in the form of a Venn diagram, and does not represent the hardware architecture of a real circuit architecture or storage unit. If case (a) and case (b) are simultaneously established, it means that the j storage units are equivalent to the k storage units. In FIG. 7, the k storage units can be represented as ut(k1)-ut(kk), and the j storage units can be represented as ut(j1)-ut(jj). The storage unit where the k storage units overlap with the j storage units may be represented as ut(kp)...ut(k(p+r)), or as ut(jq)...ut(j(q+r) )). The storage unit ut(kp)...ut(k(p+r)) is equivalent to the storage unit ut(jq)...ut(j(q+r)). The above storage unit ut(kp) to ut(k(p+r)), and the storage unit ut(jq) to ut(j(q+r)) may not be stored by address label or flag serial number. The unit is expressed in such a way that the number of storage units ut(kp) to ut(k(p+r)) is equal to the number of storage units ut(jq) to ut(j(q+r)). The weight parameters corresponding to the k storage units and the j storage units can be, for example, shown in the fourth table:         <TABLE border="1" borderColor="#000000" width="_0004"><TBODY><tr><td> storage unit</td><td> corresponding weight parameter</td></tr>< Tr><td> The k storage units ut(k1)...ut(kp)...ut(k(p+r))...ut(kk) </td><td> Step 605 adjusts the weight parameters before </ Td><td> {[W2k1, W1k1, W0k1],...,[W2kp,W1kp,W0kp],...,[W2k(p+r),W1k(p+r),W0k(p+r)],... , [W2kk, W1kk, W0kk]} </td></tr><tr><td> Step 605 adjusted weight parameters </td><td> {[W2k1', W1k1', W0k1'],... ,[W2kp',W1kp',W0kp'],...,[W2k(p+r)',W1k(p+r)',W0k(p+r)'],...,[W2kk',W1kk',W0kk ']} </td></tr><tr><td> The j storage units ut(j1)...ut(jq)...ut(j(q+r))...ut(jj) </td> <td> Step 605 adjusts the previous weight parameter for step 640 </td><td> {[W2j1, W1j1, W0j1], ..., [W2jq, W1jq, W0jq], ..., [W2j(q+r) , W1j(q+r), W0j(q+r)],...,[W2jj,W1jj,W0jj]} </td></tr><tr><td> Step 605 adjusted weight parameter for Step 630 </td><td> {[W2j1, W1j1, W0j1],...,[W2jq',W1jq',W0jq ],...,[W2j(q+r)',W1j(q+r)',W0j(q+r)'],...,[W2jj,W1jj,W0jj]} </td></tr></ TBODY></TABLE>

(第4表)(Table 4)

由於該k個儲存單元與該j個儲存單元至少部份重疊,第4表係以儲存單元ut(kp)…ut(k(p+r))與儲存單元ut(jq)…ut(j(q+r))表示部份重疊之儲存單元,也就是說,儲存單元ut(kp)…ut(k(p+r))即等同於儲存單元ut(jq)…ut(j(q+r))。因此,儲存單元ut(kp)…ut(k(p+r))對應的權重參數{[W2kp,W1kp,W0kp],…,[W2k(p+r),W1k(p+r),W0k(p+r)]}即等同於儲存單元ut(jq)…ut(j(q+r))對應的權重參數{[W2jq,W1jq,W0jq],…,[W2j(q+r),W1j(q+r),W0j(q+r)]}。Since the k storage units at least partially overlap with the j storage units, the fourth table is a storage unit ut(kp)...ut(k(p+r)) and a storage unit ut(jq)...ut(j( q+r)) indicates partially overlapping storage units, that is, the storage unit ut(kp)...ut(k(p+r)) is equivalent to the storage unit ut(jq)...ut(j(q+r) )). Therefore, the weighting parameters {[W2kp, W1kp, W0kp], ..., [W2k(p+r), W1k(p+r), W0k) corresponding to the storage unit ut(kp)...ut(k(p+r)) p+r)]} is equivalent to the weight parameter {[W2jq,W1jq,W0jq],...,[W2j(q+r),W1j() corresponding to the storage unit ut(jq)...ut(j(q+r)) q+r), W0j(q+r)]}.

經步驟605之調整後,該k個儲存單元之權重參數已被調整,故該j個儲存單元中,與該k個儲存單元重疊之儲存單元ut(jq)…ut(j(q+r))對應的權重參數亦隨之被調整為{[W2jq’,W1jq’,W0jq’],…,[W2j(q+r)’,W1j(q+r)’,W0j(q+r)’]},其係等同於調整後之權重參數{[W2kp’,W1kp’,W0kp’],…,[W2k(p+r)’,W1k(p+r)’,W0k(p+r)’]}。第4表之表示方式係以該j個儲存單元部份重疊於該k個儲存單元為例,然而當該k個儲存單元包含該j個儲存單元(例如第7圖之情況(a)所示),則步驟605中,該j個儲存單元對應之權重參數可全被調整,然而,調整後之數值亦可能等於調整前之數值。After the adjustment of step 605, the weight parameters of the k storage units have been adjusted, so among the j storage units, the storage unit ut(jq)...ut(j(q+r)) overlapping the k storage units The corresponding weight parameter is also adjusted to {[W2jq', W1jq', W0jq'],..., [W2j(q+r)', W1j(q+r)', W0j(q+r)'] }, which is equivalent to the adjusted weight parameter {[W2kp', W1kp', W0kp'],..., [W2k(p+r)', W1k(p+r)', W0k(p+r)'] }. The fourth table is represented by the case where the j storage units partially overlap the k storage units, but when the k storage units include the j storage units (for example, the case shown in the seventh figure (a) Then, in step 605, the weight parameters corresponding to the j storage units may all be adjusted, however, the adjusted value may also be equal to the value before the adjustment.

根據第6圖之本發明實施例,當執行步驟640時,因該j個儲存單元之權重參數已部份或全部於步驟605被調整,故若欲根據該j個儲存單元於該k個儲存單元之權重參數尚未被調整時的權重參數(也就是該j個儲存單元於步驟605之前的權重參數)決定存取該j個儲存單元之資料的順序,則必須預先將該j個儲存單元於步驟605之前的權重參數儲存起來備用。第8圖係本發明另一實施例之控制系統800的示意圖。相較於第2圖,第8圖之控制系統800更包含記憶體模組810。記憶體模組810可為隨機存取記憶體(RAM)、快閃記憶體(flash memory)或其他記憶體,用以儲存第二可程式化裝置220的該j個儲存單元於該k個儲存單元之權重參數尚未被調整時的權重參數,亦即用以儲存該j個儲存單元於第6圖之步驟605之前的權重參數。其儲存方式可為將該j個儲存單元於步驟605之前的原權重參數以表格方式(例如設立一權重參數表)或以矩陣方式儲存備用。其中,記憶體模組810可根據技術人員之設計需求,設置於第二可程式化裝置220之內,亦可外接於第二可程式化裝置220之外。According to the embodiment of the present invention in FIG. 6, when the step 640 is performed, since the weight parameters of the j storage units have been partially or completely adjusted in step 605, if the j storage units are to be stored in the k storage units according to the j storage units If the weight parameter of the unit has not been adjusted (that is, the weight parameter of the j storage units before step 605) determines the order of accessing the data of the j storage units, the j storage units must be previously The weight parameters before step 605 are stored for use. Figure 8 is a schematic illustration of a control system 800 in accordance with another embodiment of the present invention. Compared with FIG. 2, the control system 800 of FIG. 8 further includes a memory module 810. The memory module 810 can be a random access memory (RAM), a flash memory, or other memory for storing the j storage units of the second programmable device 220 in the k storage units. The weight parameter when the weight parameter of the unit has not been adjusted, that is, the weight parameter used to store the j storage units before step 605 of FIG. The storage method may be that the original weight parameters of the j storage units before step 605 are stored in a tabular manner (for example, a weight parameter table is established) or stored in a matrix. The memory module 810 can be disposed in the second programmable device 220 or externally connected to the second programmable device 220 according to the design requirements of the technician.

根據本發明另一實施例,本發明之控制系統及資料處理方法,尚可選擇是否根據前述的權重參數依序存取多個儲存單元之資料;若否,則可不根據前述的權重參數依序執行存取,而採用習知技術之存取順序進行存取,例如以習知之標準記憶體暫存器(memory register)的位址依序存取,而不另參照權重參數。According to another embodiment of the present invention, the control system and the data processing method of the present invention may further select whether to sequentially access data of a plurality of storage units according to the foregoing weight parameter; if not, the parameters may not be sequentially according to the foregoing weight parameter. Access is performed and accessed using prior art access sequences, such as sequential access to the address of a conventional standard memory register, without reference to weight parameters.

第3、5、6圖所示之資料處理方法可操作於控制系統200,以使技術人員得以調整權重參數,以調整存取儲存單元之資料的順序。舉例而言,若第二可程式化裝置220重開機後,第一可程式化裝置210欲先存取類別為「電源軌狀態監控區域」之儲存單元的資料以監控電源狀態,則可控制將「電源軌狀態監控區域」之類別權重參數調高,以使該類別之儲存單元的資料可優先被存取。又舉例而言,若第二可程式化裝置220發生錯誤訊息,第一可程式化裝置210以遠端控制方式進行除錯(debug)程序,則可將「錯誤事件紀錄區域」及「系統設定暨裝置當前偵測區域」的類別權重參數調升,且將根據紀錄檔(log file)將發生錯誤之儲存單元對應的權重參數調升,以優先存取關於錯誤事件紀錄、及錯誤發生之儲存單元對應的資料。The data processing methods illustrated in Figures 3, 5, and 6 can be operated by the control system 200 to enable the technician to adjust the weighting parameters to adjust the order in which the data of the storage unit is accessed. For example, if the second programmable device 220 is restarted, the first programmable device 210 first needs to access the data of the storage unit of the category "power rail state monitoring area" to monitor the power state, then the control The category weight parameter of the "Power Rail Status Monitoring Area" is adjusted so that the data of the storage unit of the category can be preferentially accessed. For another example, if the second programmable device 220 generates an error message, and the first programmable device 210 performs a debugging process by using a remote control mode, the error event recording area and the system setting may be set. The category weight parameter of the current detection area of the device is increased, and the weight parameter corresponding to the storage unit in which the error occurs is raised according to the log file to preferentially access the storage of the error event record and the error occurrence. The data corresponding to the unit.

綜上所言,本發明實施例揭露之控制系統及資料處理方法可調整權重參數,從而可調整存取儲存單元之資料的順序,而不受限於根據位址依序輪詢(polling)之存取方式,故資料管理之控制性與靈活性可大幅改善,可允許技術人員根據須求編撰客製化的控制程式,亦有助於提前查知欲檢查之錯誤項目、或提前存取所需之資料,故對於操作時間與硬體成本的降低皆有極大裨益。   以上所述僅為本發明之較佳實施例,凡依本發明申請專利範圍所做之均等變化與修飾,皆應屬本發明之涵蓋範圍。In summary, the control system and the data processing method disclosed in the embodiments of the present invention can adjust the weight parameters, so that the order of accessing the data of the storage unit can be adjusted, without being limited to polling according to the address. Access control, the control and flexibility of data management can be greatly improved, allowing technicians to compile customized control programs according to the requirements, and also help to detect the wrong items to be checked in advance, or to access the premises in advance. The information required, so it is of great benefit to the reduction of operating time and hardware cost. The above are only the preferred embodiments of the present invention, and all changes and modifications made to the scope of the present invention should be within the scope of the present invention.

110‧‧‧第一裝置
120‧‧‧第二裝置
1201-120n‧‧‧種類
200、800‧‧‧控制系統
210‧‧‧第一可程式化裝置
220‧‧‧第二可程式化裝置
810‧‧‧記憶體模組
0x00、0xN、0x(N+1)、0xM、0x(Y+1)、0xZ‧‧‧位址編號
2201-220n‧‧‧類別
W2‧‧‧類別權重參數
W1‧‧‧位址編號權重參數
W0‧‧‧旗標權重參數
R1、R2‧‧‧資料處理請求
ut、ut1、ut997、ut(m1)-ut(mm)、ut(n1)-ut(nn)、 ut(mx)、ut(ny)、 ut(j1)-ut(jj)、ut(k1)-ut(kk)、ut(kp)-ut(k(p+r))、ut(jq)-ut(j(q+r))‧‧‧儲存單元
{[W2m1,W1m1,W0m1],[W2m2,W1m2,W0m2],…,[W2mm,W1mm,W0mm]}、 {[W2n1,W1n1,W0n1],[W2n2,W1n2,W0n2],…,[W2 nn,W1nn,W0nn]}、 [W2mx,W1mx,W0 mx] 、 [W2ny,W1ny,W0ny]、‧‧‧權重參數
110‧‧‧ first device
120‧‧‧second device
1201-120n‧‧‧Type
200, 800‧‧‧ control system
210‧‧‧First programmable device
220‧‧‧Second programmable device
810‧‧‧ memory module
0x00, 0xN, 0x(N+1), 0xM, 0x(Y+1), 0xZ‧‧‧ address number
2201-220n‧‧‧category
W2‧‧‧ category weight parameters
W1‧‧‧ address number weight parameter
W0‧‧‧flag weight parameter
R1, R2‧‧‧ data processing request
Ut, ut1, ut997, ut(m1)-ut(mm), ut(n1)-ut(nn), ut(mx), ut(ny), ut(j1)-ut(jj), ut(k1) -ut(kk), ut(kp)-ut(k(p+r)), ut(jq)-ut(j(q+r))‧‧‧ storage unit
{[W2m1, W1m1, W0m1], [W2m2, W1m2, W0m2], ..., [W2mm, W1mm, W0mm]}, {[W2n1, W1n1, W0n1], [W2n2, W1n2, W0n2],..., [W2 nn , W1nn, W0nn]}, [W2mx, W1mx, W0 mx], [W2ny, W1ny, W0ny], ‧ ‧ weight parameters

300、500、600‧‧‧資料處理方法 300, 500, 600‧‧‧ data processing methods

310-330、510-590、605-650‧‧‧步驟 310-330, 510-590, 605-650‧‧‧ steps

第1圖係先前技術中,第一裝置存取第二裝置之資料的示意圖。 第2圖係本發明一實施例之控制系統的示意圖。 第3圖係本發明一實施例之資料處理方法的流程圖。 第4圖係第3圖之實施例中的儲存單元之關係示意圖。 第5圖係本發明另一實施例之資料處理方法的流程圖。 第6圖係本發明另一實施例之資料處理方法的流程圖。 第7圖係第6圖之實施例中的儲存單元之關係示意圖。 第8圖係本發明另一實施例之控制系統的示意圖。Figure 1 is a schematic diagram of prior art accessing data of a second device by a first device. Figure 2 is a schematic illustration of a control system in accordance with an embodiment of the present invention. Figure 3 is a flow chart of a data processing method according to an embodiment of the present invention. Figure 4 is a schematic diagram showing the relationship of the storage units in the embodiment of Figure 3. Figure 5 is a flow chart of a data processing method according to another embodiment of the present invention. Figure 6 is a flow chart showing a data processing method according to another embodiment of the present invention. Figure 7 is a schematic diagram showing the relationship of the storage units in the embodiment of Figure 6. Figure 8 is a schematic illustration of a control system in accordance with another embodiment of the present invention.

300‧‧‧資料處理方法 300‧‧‧Data processing method

310至330‧‧‧步驟 310 to 330‧‧ steps

Claims (8)

一種資料處理方法,包含:根據一第二可程式化裝置的m個儲存單元於該第二可程式化裝置的位址,及/或該m個儲存單元存取之資料的類別,設定該m個儲存單元之權重參數;一第一可程式化裝置接收一第一資料處理請求;該第一可程式化裝置根據該第一資料處理請求及該第二可程式化裝置的n個儲存單元的權重參數,依序於該n個儲存單元存取n筆資料;該第一可程式化裝置對該第二可程式化裝置提出該第二可程式化裝置的k個儲存單元的權重參數調整請求;若該第二可程式化裝置允許調整該k個儲存單元之權重參數,停止對該第二可程式化裝置進行資料存取;於停止對該第二可程式化裝置進行資料存取後,調整該k個儲存單元之權重參數;及於調整該k個儲存單元之權重參數後,啟動對該第二可程式化裝置進行資料存取;其中m、n及k皆為正整數。 A data processing method includes: setting the m according to a location of the second programmable device by the m storage units of the second programmable device, and/or a category of the data accessed by the m storage units a weighting parameter of the storage unit; a first programmable device receives a first data processing request; the first programmable device is based on the first data processing request and the n storage units of the second programmable device a weight parameter, sequentially accessing n pieces of data in the n storage units; the first programmable device submits a weight parameter adjustment request of the k storage units of the second programmable device to the second programmable device If the second programmable device allows adjustment of the weight parameter of the k storage units, stopping data access to the second programmable device; after stopping data access to the second programmable device, Adjusting the weight parameters of the k storage units; and after adjusting the weight parameters of the k storage units, initiating data access to the second programmable device; wherein m, n, and k are positive integers. 如請求項1所述之資料處理方法,另包含:於調整該k個儲存單元之權重參數後,該第一可程式化裝置接收一第二資料處理請求;及該第一可程式化裝置根據該第二資料處理請求及該第二可程式化裝置的j個儲存單元於該k個儲存單元之權重參數尚未被調整時的權重參數,依序於該j個儲存單元存取j筆資料; 其中該j個儲存單元與該k個儲存單元至少部分重疊,且j係為正整數。 The data processing method of claim 1, further comprising: after adjusting the weight parameter of the k storage units, the first programmable device receives a second data processing request; and the first programmable device is The second data processing request and the weighting parameter of the j storage units of the second programmable device when the weight parameters of the k storage units have not been adjusted, sequentially accessing the j data in the j storage units; The j storage units at least partially overlap with the k storage units, and j is a positive integer. 如請求項1所述之資料處理方法,另包含:於調整該k個儲存單元之權重參數後,該第一可程式化裝置接收一第二資料處理請求;及該第一可程式化裝置根據該第二資料處理請求及該第二可程式化裝置的j個儲存單元於該k個儲存單元之權重參數已被調整後的權重參數,依序於該j個儲存單元存取j筆資料;其中該j個儲存單元與該k個儲存單元至少部分重疊,且j係為正整數。 The data processing method of claim 1, further comprising: after adjusting the weight parameter of the k storage units, the first programmable device receives a second data processing request; and the first programmable device is The second data processing request and the weight parameter of the j storage units of the second programmable device after the weight parameters of the k storage units have been adjusted, sequentially accessing the j data in the j storage units; The j storage units at least partially overlap with the k storage units, and j is a positive integer. 一種控制系統,包含:一第一可程式化裝置,用以根據一第二可程式化裝置的m個儲存單元於該第二可程式化裝置的位址,及/或該m個儲存單元存取之資料的類別,設定該m個儲存單元之權重參數、接收一第一資料處理請求、及根據該第一資料處理請求及一第二可程式化裝置的n個儲存單元的權重參數,依序於該n個儲存單元存取n筆資料;及該第二可程式化裝置,包含該n個儲存單元及m個儲存單元;其中:該第一可程式化裝置對該第二可程式化裝置提出該第二可程式化裝置的k個儲存單元的權重參數調整請求;若該第二可程式化裝置允許調整該k個儲存單元之權重參數,停止對該第二可程式化裝置進行資料存取;於停止對該第二可程式化裝置進行資料存取後,調整該k個儲存單元之權重參數; 於調整該k個儲存單元之權重參數後,啟動對該第二可程式化裝置進行資料存取;及m、n及k皆為正整數。 A control system comprising: a first programmable device for storing the m storage units of a second programmable device at an address of the second programmable device and/or the m storage units Selecting a category of the data, setting a weight parameter of the m storage units, receiving a first data processing request, and weight parameters of the n storage units according to the first data processing request and a second programmable device, Accessing n pieces of data in the n storage units; and the second programmable device includes the n storage units and m storage units; wherein: the first programmable device is programmable for the second The device proposes a weight parameter adjustment request of the k storage units of the second programmable device; if the second programmable device allows adjustment of the weight parameter of the k storage units, stopping the data of the second programmable device Accessing, after stopping data access to the second programmable device, adjusting weight parameters of the k storage units; After adjusting the weight parameters of the k storage units, data access to the second programmable device is initiated; and m, n, and k are positive integers. 如請求項4所述的控制系統,其中:於調整該k個儲存單元之權重參數後,該第一可程式化裝置接收一第二資料處理請求;及該第一可程式化裝置根據該第二資料處理請求及該第二可程式化裝置的j個儲存單元於該k個儲存單元之權重參數尚未被調整時的權重參數,依序於該j個儲存單元存取j筆資料;其中該j個儲存單元與該k個儲存單元至少部分重疊,且j係為正整數;該控制系統另包含:一記憶體模組,用以儲存該第二可程式化裝置的j個儲存單元於該k個儲存單元之權重參數尚未被調整時的權重參數。 The control system of claim 4, wherein: after adjusting the weight parameter of the k storage units, the first programmable device receives a second data processing request; and the first programmable device is configured according to the first And the data processing request and the weighting parameter of the j storage units of the second programmable device when the weight parameters of the k storage units have not been adjusted, sequentially accessing the j data in the j storage units; wherein the The j storage units at least partially overlap with the k storage units, and j is a positive integer; the control system further includes: a memory module for storing j storage units of the second programmable device The weight parameter of the k storage unit whose weight parameter has not been adjusted. 如請求項4所述的控制系統,其中:於調整該k個儲存單元之權重參數後,該第一可程式化裝置接收一第二資料處理請求;及該第一可程式化裝置根據該第二資料處理請求及該第二可程式化裝置的j個儲存單元於該k個儲存單元之權重參數已被調整後的權重參數,依序於該j個儲存單元存取j筆資料;其中該j個儲存單元與該k個儲存單元至少部分重疊,且j係為正整數。 The control system of claim 4, wherein: after adjusting the weight parameter of the k storage units, the first programmable device receives a second data processing request; and the first programmable device is configured according to the first a data processing request and a weight parameter of the j storage units of the second programmable device after the weight parameters of the k storage units have been adjusted, and sequentially accessing the j data in the j storage units; The j storage units at least partially overlap with the k storage units, and j is a positive integer. 如請求項4至6項之任一項所述的控制系統,其中: 該第一可程式化裝置係一基板管理控制器(Baseboard Management Controller)。 The control system of any of claims 4 to 6, wherein: The first programmable device is a Baseboard Management Controller. 如請求項4至6項之任一項所述的控制系統,其中:該第二可程式化裝置係一複雜可程式化邏輯裝置(Complex Programmable Logic Device)。 The control system of any one of claims 4 to 6, wherein the second programmable device is a Complex Programmable Logic Device.
TW104138369A 2015-11-20 2015-11-20 Data process method and control system thereof TWI569199B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW104138369A TWI569199B (en) 2015-11-20 2015-11-20 Data process method and control system thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW104138369A TWI569199B (en) 2015-11-20 2015-11-20 Data process method and control system thereof

Publications (2)

Publication Number Publication Date
TWI569199B true TWI569199B (en) 2017-02-01
TW201719375A TW201719375A (en) 2017-06-01

Family

ID=58608165

Family Applications (1)

Application Number Title Priority Date Filing Date
TW104138369A TWI569199B (en) 2015-11-20 2015-11-20 Data process method and control system thereof

Country Status (1)

Country Link
TW (1) TWI569199B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030074574A1 (en) * 2001-10-15 2003-04-17 Hursey Neil John Malware scanning as a low priority task
TW200912641A (en) * 2007-08-11 2009-03-16 Mcm Portfolio Llc Smart solid state drive and method for handling critical files
CN103558999A (en) * 2013-11-13 2014-02-05 华为技术有限公司 Hard disk scanning method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030074574A1 (en) * 2001-10-15 2003-04-17 Hursey Neil John Malware scanning as a low priority task
TW200912641A (en) * 2007-08-11 2009-03-16 Mcm Portfolio Llc Smart solid state drive and method for handling critical files
CN103558999A (en) * 2013-11-13 2014-02-05 华为技术有限公司 Hard disk scanning method and device

Also Published As

Publication number Publication date
TW201719375A (en) 2017-06-01

Similar Documents

Publication Publication Date Title
US9880754B2 (en) System and method for enabling transportability of a non volatile dual inline memory module
US9026863B2 (en) Replacement of storage responsive to remaining life parameter
US9606889B1 (en) Systems and methods for detecting memory faults in real-time via SMI tests
US8286044B2 (en) Dynamic random access memory having internal built-in self-test with initialization
US9208879B2 (en) Fail address detector, semiconductor memory device including the same and method of detecting fail address
JP2008502057A5 (en)
US9917601B2 (en) Adaptive error correction in a memory system
CN103222006A (en) Copyback operations
JP2016052357A5 (en) Information processing apparatus, radiation imaging system, control method thereof, and program
US20120271983A1 (en) Computing device and data synchronization method
KR102597291B1 (en) Repair control device and semiconductor device including thereof
US9529536B2 (en) Semiconductor memory device, memory system including the same, and operating method thereof
EP3030971B1 (en) Devices, systems, and methods of reducing chip select
US9997256B2 (en) Semiconductor memory devices and methods of testing open failures thereof
TWI569199B (en) Data process method and control system thereof
JP5037535B2 (en) Method and apparatus for cascaded memory
US10713105B2 (en) Operating method of memory controller, storage device including the same, and operating method of storage device
CN101563675A (en) A new implementation of column redundancy for a flash memory with a high write parallelism
US9218260B2 (en) Host device and method for testing booting of servers
JP2014006772A (en) Failure monitoring type communication apparatus, failure monitoring recording method for communication apparatus, and program therefor
US20150009770A1 (en) Semiconductor system and method for reparing the same
KR20090107689A (en) Semiconductor device
US10191481B2 (en) Numerical controller and numerical control system in which the controller is connected by network
US11010317B2 (en) Method for remotely triggered reset of a baseboard management controller of a computer system
TWI559319B (en) Memory device detection device and detection method thereof