TWI762824B - Communication task analysis method, device and computer readable recording medium - Google Patents

Communication task analysis method, device and computer readable recording medium Download PDF

Info

Publication number
TWI762824B
TWI762824B TW108137539A TW108137539A TWI762824B TW I762824 B TWI762824 B TW I762824B TW 108137539 A TW108137539 A TW 108137539A TW 108137539 A TW108137539 A TW 108137539A TW I762824 B TWI762824 B TW I762824B
Authority
TW
Taiwan
Prior art keywords
communication
information
task
equipment
semantic information
Prior art date
Application number
TW108137539A
Other languages
Chinese (zh)
Other versions
TW202117579A (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 TW108137539A priority Critical patent/TWI762824B/en
Publication of TW202117579A publication Critical patent/TW202117579A/en
Application granted granted Critical
Publication of TWI762824B publication Critical patent/TWI762824B/en

Links

Images

Landscapes

  • Computer And Data Communications (AREA)

Abstract

A communication task analysis method is provided. The method having following steps: obtaining a correspondence between a communication semantic information and a device semantic information; receiving a communication packet having a target task information; analyzing the communication packet according to the communication semantic information to obtain the target task information; determining whether the device semantic information comprise a candidate device information which is corresponding to the target task information according to the correspondence between the communication semantic information and the device semantic information; in response to the device semantic information comprise the candidate device information, determining whether the candidate device information is compatible to the target task information; and responding the communication packet according to a determined result.

Description

通訊任務解析方法、裝置及電腦可讀取記錄媒體Communication task analysis method, device, and computer-readable recording medium

本揭露是有關於一種通訊技術,且特別是有關於一種通訊任務解析方法及其裝置。 The present disclosure relates to a communication technology, and more particularly, to a communication task analysis method and device thereof.

為了達到工業自動化,在建置產線時,工程人員會先規劃每一個產線設備相應的資訊交換表於上位控制軟體,舉例來說,設備A對應的資料交換區塊被設定在表單中位置2000~3000之處,設備B對應的資料交換區塊被設定在表單中位置3000~4000之處,且資料交換區塊中的每個欄位均有明確的含義說明與資料格式定義。藉此,當上位控制單元接收到設備A及/或設備B的封包時,會依據資料交換區塊內的訊息定義進行任務下達或資訊交換等工作。由於在上述的過程中需以人工的方式設定資訊交換表,不僅相當耗費人力,且缺乏修改的彈性。特別是,當產線上有設備異動時,工程人員必須重新對該些設備進行設定與核對, 相當不便。因此,建置各產業設備對應的數位資訊模型為現階段的趨勢。 In order to achieve industrial automation, when building a production line, engineers will first plan the corresponding information exchange table for each production line equipment in the upper control software. For example, the data exchange block corresponding to equipment A is set in the table. From 2000 to 3000, the data exchange block corresponding to device B is set at positions 3000 to 4000 in the form, and each field in the data exchange block has a clear meaning and data format definition. Thereby, when the upper control unit receives the packets from the device A and/or the device B, it will perform tasks such as task assignment or information exchange according to the message definition in the data exchange block. In the above process, the information exchange table needs to be set manually, which is not only labor-intensive, but also lacks flexibility for modification. In particular, when there are equipment changes on the production line, engineers must re-set and check these equipment. Quite inconvenient. Therefore, it is the current trend to build digital information models corresponding to various industrial equipment.

然而,即使建置了數位資訊模型,全球統一的設備資訊模型仍不存在。主要的原因在於,第一,設備之間存在高度特異性,難以套用統一的模型。第二,不同行業有不同的術語與使用習慣。第三,即便相同行業,然在不同地界區域下,所採用的行業規範也不一樣,故而難以找到全球共通的資訊模型作為所有設備的數位表達。因此,即使同產業的設備支援相同的設備模版(meta-model)時,資訊模型仍會有不同呈現。不僅如此,產線上不同的設備種類仍有其各自所支持的設備資訊模型,彼此間亦不相同,仍有資訊交換與設備彼此通訊任務解析與理解的問題。基於上述,如何在減少人力的介入下,支援不同類型的設備進行通訊為本領域技術人員所致力的課題。 However, even with the establishment of a digital information model, a globally unified device information model still does not exist. The main reason is that, first, there is a high degree of specificity between devices, and it is difficult to apply a unified model. Second, different industries have different terms and usage habits. Third, even in the same industry, the industry norms adopted are different in different regions, so it is difficult to find a globally common information model as the digital representation of all devices. Therefore, even when devices of the same industry support the same meta-model, the information model will still be presented differently. Not only that, different types of equipment on the production line still have their own supported equipment information models, which are also different from each other, and there are still problems of information exchange and equipment communication tasks analysis and understanding. Based on the above, how to support different types of devices to communicate with less human intervention is a subject of those skilled in the art.

本揭露提供一種通訊任務解析方法、裝置及電腦可讀取記錄媒體,以使裝置間能夠通過通訊任務解析達到自主溝通的情形。 The present disclosure provides a communication task analysis method, a device, and a computer-readable recording medium, so that the devices can achieve autonomous communication through communication task analysis.

本揭露的通訊任務解析方法具有下列步驟:獲取通訊語意資訊與設備語意資訊的對應關係;接收通訊封包,其中通訊封包包括目標任務資訊;依據通訊語意資訊解析通訊封包,以獲取目標任務資訊;依據通訊語意資訊與設備語意資訊的對應關係, 判斷設備語意資訊中是否存在對應目標任務資訊的一候選設備資訊;響應於設備語意資訊中存在候選設備資訊,判斷候選設備資訊是否相容於目標任務資訊;以及依據判斷的結果回覆通訊封包。 The communication task analysis method disclosed in the present disclosure has the following steps: obtaining a correspondence between communication semantic information and device semantic information; receiving a communication packet, wherein the communication packet includes target task information; analyzing the communication packet according to the communication semantic information to obtain the target task information; The correspondence between communication semantic information and device semantic information, Determine whether a candidate device information corresponding to the target task information exists in the device semantic information; in response to the device semantic information existing candidate device information, determine whether the candidate device information is compatible with the target task information; and reply a communication packet according to the judgment result.

本揭露亦提供用以進行通訊任務解析的裝置,且此裝置具有通訊裝置、儲存裝置以及處理器。通訊裝置用以傳送與接收封包。儲存裝置用以儲存資訊。處理器連接通訊裝置與儲存裝置。處理器用以執行下列步驟:獲取通訊語意資訊與設備語意資訊的對應關係,並儲存在儲存裝置中;通過通訊裝置接收通訊封包,其中通訊封包包括目標任務資訊;依據通訊語意資訊解析通訊封包,以獲取目標任務資訊;依據通訊語意資訊與設備語意資訊的對應關係,判斷設備語意資訊中是否存在對應目標任務資訊的候選設備資訊;響應於設備語意資訊中存在候選設備資訊,判斷候選設備資訊是否相容於目標任務資訊;以及通過通訊裝置依據判斷的結果回覆通訊封包。 The present disclosure also provides a device for performing communication task analysis, and the device has a communication device, a storage device and a processor. The communication device is used for transmitting and receiving packets. The storage device is used to store information. The processor is connected to the communication device and the storage device. The processor is used for executing the following steps: acquiring the correspondence between the communication semantic information and the device semantic information, and storing it in the storage device; receiving the communication packet through the communication device, wherein the communication packet includes the target task information; analyzing the communication packet according to the communication semantic information, to obtain Obtain target task information; according to the correspondence between the communication semantic information and the device semantic information, determine whether there is candidate device information corresponding to the target task information in the device semantic information; in response to the presence of candidate device information in the device semantic information, determine whether the candidate device information is related. containing the target task information; and replying to the communication packet through the communication device according to the judgment result.

本揭露還提供用於通訊任務解析的電腦可讀取記錄媒體,具有電腦程式,且在電腦載入此電腦程式執行後,可完成本揭露所提供的通訊任務解析方法。 The present disclosure also provides a computer-readable recording medium for communication task analysis, having a computer program, and after the computer is loaded and executed, the communication task analysis method provided by the present disclosure can be completed.

基於上述,本揭露的通訊任務解析方法、用以進行通訊任務解析的裝置以及用於進行通訊任務解析的電腦可讀取記錄媒體中,採用了通用統一的通訊協議的語法規範作為不同設備之間的媒介,弭平不同設備的語法差異造成的溝通問題。因此,在建立了通訊語意資訊與設備語意資訊的對應關係後,不論產線的設 備、位置進行新增、移除或變更,設備之間仍然可以採用共通的通訊語意資訊達到溝通的目的,建立設備之間自主通訊任務解析的能力,減少操作人員對產線上設備重新進行設定的人力成本。 Based on the above, in the communication task analysis method, the device for communication task analysis, and the computer-readable recording medium for communication task analysis of the present disclosure, the syntax specification of a general and unified communication protocol is used as the communication protocol between different devices. media to smooth out communication problems caused by grammatical differences between different devices. Therefore, after establishing the corresponding relationship between the communication semantic information and the equipment semantic information, regardless of the design of the production line If equipments and locations are added, removed or changed, common communication semantic information can still be used between equipments to achieve the purpose of communication, establish the ability of independent communication task analysis between equipments, and reduce the need for operators to reset the equipment on the production line. Labor costs.

100、400:裝置 100, 400: Device

110:通訊裝置 110: Communication device

111a、111b:通訊介面 111a, 111b: Communication interface

120:儲存裝置 120: Storage Device

130:處理器 130: Processor

410a~410c、610:裝置本體 410a~410c, 610: Device body

420、620:主控裝置 420, 620: main control device

630a~630c:設備 630a~630c: Equipment

S210~S260、S310~S330、S510~S560、S710~S760:步驟 S210~S260, S310~S330, S510~S560, S710~S760: Steps

圖1繪示本揭露一實施例用以進行通訊任務解析的裝置的示意圖。 FIG. 1 is a schematic diagram of an apparatus for performing communication task analysis according to an embodiment of the present disclosure.

圖2繪示本揭露一實施例通訊任務解析方法的流程示意圖。 FIG. 2 is a schematic flowchart of a communication task analysis method according to an embodiment of the present disclosure.

圖3繪示本揭露一實施例通訊任務解析方法的部分流程示意圖。 FIG. 3 is a schematic flowchart of a part of a communication task analysis method according to an embodiment of the present disclosure.

圖4繪示本揭露又一實施例的用以進行通訊任務解析的裝置的示意圖。 FIG. 4 is a schematic diagram of an apparatus for performing communication task analysis according to yet another embodiment of the present disclosure.

圖5繪示本揭露又一實施例通訊任務解析方法的流程示意圖。 FIG. 5 is a schematic flowchart of a communication task analysis method according to another embodiment of the present disclosure.

圖6繪示本揭露再一實施例的用以進行通訊任務解析的裝置的示意圖。 FIG. 6 is a schematic diagram of an apparatus for performing communication task analysis according to still another embodiment of the present disclosure.

圖7繪示本揭露再一實施例通訊任務解析方法的流程示意圖。 FIG. 7 is a schematic flowchart of a communication task analysis method according to still another embodiment of the present disclosure.

設備語意資訊是以國際慣用之物件類型、屬性以及關系 類型描述詞彙庫與語法規範(Ontology)來建立與設備相關的語意模型。舉例來說,在國際通用的語法規範中,電子商務報價領域是採用「GoodRelations」的語法規範,產品描述是採用「eCl@ss」的語法規範,製造業是採用「RAMI」的語法規範。因此,在下述的說明中,設備語意資訊將透過「GoodRelations」的語法規範、「eCl@ss」的語法規範以及「RAMI」的語法規範建置設備相關的語意模型,以做為設備語意資訊。惟須說明的是,在本實施例是採用「GoodRelations」的語法規範、「eCl@ss」的語法規範以及「RAMI」的語法規範,並且,採用資源描述架構(Resource Description Framework,RDF)的架構結合上述各類型語法規範進行表述。然在其他的實施例之中,設備語意資訊可以通過更多的語法規範進行建置,又或者是,設備語意資訊亦可以通過其他的語法規範或表述方式進行建置,本揭露不限於此。 Device semantic information is based on internationally used object types, attributes, and relationships Type description vocabularies and grammar specifications (Ontology) to build device-related semantic models. For example, among the international grammar standards, the e-commerce quotation field adopts the grammar standard of "GoodRelations", the product description adopts the grammar standard of "eCl@ss", and the manufacturing industry adopts the grammar standard of "RAMI". Therefore, in the following description, the device semantic information will use the syntax specification of "GoodRelations", the syntax specification of "eCl@ss" and the syntax specification of "RAMI" to build a device-related semantic model as the device semantic information. It should be noted that, in this embodiment, the syntax specification of "GoodRelations", the syntax specification of "eCl@ss" and the syntax specification of "RAMI" are adopted, and the architecture of Resource Description Framework (RDF) is adopted. It is expressed in combination with the above-mentioned types of grammar specifications. However, in other embodiments, the device semantic information can be constructed through more grammar specifications, or the device semantic information can also be constructed through other grammar specifications or expressions, and the present disclosure is not limited thereto.

舉例來說,設備語意資訊中具有鑽孔(drilling)的服務類別(Class),在此服務類別之下,具有以「RAMI」進行定義的製造功能標籤,例如<RAMI:TechnologyFunctionality>。此外,此服務類別並具有以「eCl@ss」進行定義的產品/工程特徵屬性,例如,<eCl@ss:P_BAF455001>。此服務類別還具有以「GoodRelations」定義的施工價格,例如<GoodRelations:UnitPriceSpecification>。此外,此服務類別還增添了設備控制的資訊,例如,採用<eCl@ss:P_BAG064001>的標籤,以表示若操作設備中特定記憶體區塊的位置,能夠啟動鑽孔的服 務。在本揭露的其他實施例中,會依據服務類別增加、減少、變更服務類別下的標籤,本揭露不限於此。 For example, the equipment semantic information has a drilling service class (Class), and under this service class, there is a manufacturing function tag defined by "RAMI", such as <RAMI: TechnologyFunctionality>. In addition, this service class also has a product/engineering feature attribute defined with "eCl@ss", for example, <eCl@ss:P_BAF455001>. This service class also has construction prices defined in "GoodRelations", eg <GoodRelations:UnitPriceSpecification>. In addition, this service category also adds information about device control, for example, the tag <eCl@ss:P_BAG064001> is used to indicate that if the location of a specific memory block in the device is manipulated, the drilling service can be activated. service. In other embodiments of the present disclosure, labels under the service category are added, decreased, and changed according to the service category, but the present disclosure is not limited thereto.

通訊語意資訊是在收到封包後,用以通過通訊語意資訊來解析封包。也就是說,通訊語意資訊相當於設備內部資源與外部通訊的內部中介層。因此,通訊語意資訊可以採用國際標準的方式來解讀封包的內容,例如VDI2193-1/2國際標準,或者是,通訊語意資訊亦可以採用設備自定義的內容對通訊語意進行定義,任何能夠使設備了解封包內容的語意資訊皆可被採用於通訊語意資訊之中。 The communication semantic information is used to parse the packet through the communication semantic information after receiving the packet. That is to say, the semantic information of communication is equivalent to the internal intermediary layer between the internal resources of the device and the external communication. Therefore, the communication semantic information can use an international standard way to interpret the content of the packet, such as the VDI2193-1/2 international standard, or, the communication semantic information can also use the content customized by the device to define the communication semantics. Any semantic information that understands the contents of the packet can be used in the communication semantic information.

在本揭露的一實施例中,通訊語意資訊亦是採用資源描述架構進行定義。並且,在封包結構中具備語意資訊者會建立成通訊本體之類別(class),例如,通訊目的(Purpose)/通訊對象(Object)/通訊收發方(Receiver/Sender)等資訊建立為通訊封包(Sentence)類之子類別,並將通訊規範中通訊目的使用的代碼或字串(例如:“請求/取消服務”、”取得/設定/刪除/查詢/訂閱”資料、”通知”等)指定為通訊目的類別資源項。舉例來說,在通訊語意資訊中的其中一個類別為「Purpose」,在其底下的註解(Annotation)例如為,「rdfs:Contains “Failure”^^xsd:string」、「rdfs:Contains “Propose”^^xsd:string」、「rdfs:Contains “Confirm”^^xsd:string」、「rdfs:Contains “RejectProposal”^^xsd:string」、「rdfs:Contains “NonUnderstand”^^xsd:string」、「rdfs:Contains <Query”^^xsd:string」、「rdfs:Contains “Inform”^^xsd:string」、 「rdfs:Contains “Cancel”^^xsd:string」、「rdfs:Contains “AcceptProposal”^^xsd:string」、「rdfs:Contains “CallForProposal”^^xsd:string」、「rdfs:Contains “Agree”^^xsd:string」、「rdfs:Contains “Refuse”^^xsd:string」、「rdfs:Contains “Agree”^^xsd:string」、「rdfs:Contains “Subscribe”^^xsd:string」...等,然本揭露不限於此。 In an embodiment of the present disclosure, the communication semantic information is also defined using a resource description framework. In addition, those with semantic information in the packet structure will be established as the class of the communication ontology. For example, information such as the communication purpose (Purpose)/communication object (Object)/communication sender/receiver (Receiver/Sender) is established as a communication packet ( Sentence), and designates the code or string used for the purpose of communication in the communication specification (for example: "request/cancel service", "get/set/delete/query/subscribe" data, "notify", etc.) as the communication The purpose category resource item. For example, one of the categories in the communication semantic information is "Purpose", and the annotations under it are, for example, "rdfs:Contains "Failure"^^xsd:string", "rdfs:Contains "Propose" ^^xsd:string", "rdfs:Contains "Confirm"^^xsd:string", "rdfs:Contains "RejectProposal"^^xsd:string", "rdfs:Contains "NonUnderstand"^^xsd:string", " rdfs:Contains <Query"^^xsd:string", "rdfs:Contains "Inform"^^xsd:string", "rdfs:Contains "Cancel"^^xsd:string", "rdfs:Contains "AcceptProposal"^^xsd:string", "rdfs:Contains "CallForProposal"^^xsd:string", "rdfs:Contains "Agree"^ ^xsd:string", "rdfs:Contains "Refuse"^^xsd:string", "rdfs:Contains "Agree"^^xsd:string", "rdfs:Contains "Subscribe"^^xsd:string"... etc., of course, the present disclosure is not limited to this.

圖1繪示本揭露一實施例用以進行通訊任務解析的裝置的示意圖。請參照圖1,裝置100具有進行通訊任務解析的功能,在本揭露的一實施例中,裝置100具有通訊裝置110、儲存裝置120以及處理器130。 FIG. 1 is a schematic diagram of an apparatus for performing communication task analysis according to an embodiment of the present disclosure. Referring to FIG. 1 , the device 100 has a function of performing communication task analysis. In an embodiment of the present disclosure, the device 100 has a communication device 110 , a storage device 120 and a processor 130 .

通訊裝置110用以傳送與接收封包,舉例來說,通訊裝置110是以通訊晶片進行實作,通訊晶片可為支援無線相容性認證(Wireless Fidelity,Wi-Fi)系統、乙太網路(Ethernet)、藍牙等各類型通訊信號傳輸的元件,本揭露不限於此。除此之外,通訊裝置110會搭配可支援的通訊介面111a及111b。舉例來說,若通訊裝置110是採用乙太網路的通訊晶片,通訊介面111a及111b例如是採用RJ45接頭,並支援乙太網路的介面。在此實施例中,通訊介面111a會與外部網路連接,以接收來自其他設備並夾帶目標任務封資訊的通訊封包。通訊介面111b則會與其他設備形成內部網路,以下達對其他設備的設備控制指令。詳細的細節將會於後方再進行說明。惟需先說明的是,通訊介面111a、111b可以為相同類型或不同類型的介面,本揭露不限於此。並且,在圖1所繪示, 連接外部網路的通訊介面111a以及連接內部網路的通訊介面111b的數量各為一個,然在其他實施例中,通訊介面111a、111b的數量也可以分別為多個,本揭露並不限於此。 The communication device 110 is used for transmitting and receiving packets. For example, the communication device 110 is implemented with a communication chip, and the communication chip may support a wireless Fidelity (Wi-Fi) system, an Ethernet ( Ethernet), Bluetooth and other components for transmitting various types of communication signals, the present disclosure is not limited thereto. In addition, the communication device 110 is equipped with supportable communication interfaces 111a and 111b. For example, if the communication device 110 is a communication chip using an Ethernet network, the communication interfaces 111a and 111b use RJ45 connectors, for example, and support an interface of the Ethernet network. In this embodiment, the communication interface 111a is connected to an external network to receive communication packets from other devices and include target task packet information. The communication interface 111b forms an internal network with other devices to issue device control commands to other devices. Detailed details will be explained later. It should be noted that the communication interfaces 111a and 111b may be of the same type or different types, and the present disclosure is not limited thereto. And, as shown in Figure 1, The number of the communication interface 111a connected to the external network and the number of the communication interface 111b connected to the internal network is one each. However, in other embodiments, the number of the communication interfaces 111a and 111b may also be multiple, and the present disclosure is not limited to this. .

儲存裝置120是用以儲存資訊,特別是,儲存裝置120儲存進行通訊任務解析時所需的軟體、資料及各類程式碼,例如,設備語意資訊及通訊語意資訊。儲存裝置120可以是任何型態的固定或可移動隨機存取記憶體(Random Access Memory,RAM)、唯讀記憶體(Read-Only Memory,ROM)、快閃記憶體(flash memory)、硬碟(Hard Disk Drive,HDD)、固態硬碟(Solid State Drive,SSD)或類似元件或上述元件的組合。 The storage device 120 is used for storing information, in particular, the storage device 120 stores software, data and various codes required for communication task analysis, such as device semantic information and communication semantic information. The storage device 120 can be any type of fixed or removable random access memory (Random Access Memory, RAM), read-only memory (Read-Only Memory, ROM), flash memory (flash memory), hard disk (Hard Disk Drive, HDD), Solid State Drive (Solid State Drive, SSD) or similar components or a combination of the above components.

值得一提的是,在本實施例中,儲存裝置120是採用資料庫系統儲存設備語意資訊及通訊語意資訊,並支援在資源描述框架中進行查詢,例如,SPARQL的查詢語言,然本揭露不限於此。 It is worth mentioning that, in this embodiment, the storage device 120 uses a database system to store device semantic information and communication semantic information, and supports query in the resource description framework, such as the query language of SPARQL, but this disclosure does not limited to this.

處理器130連接於通訊裝置110以及儲存裝置120,並用以執行通訊任務解析的必要運算。處理器130可以是中央處理單元(Central Processing Unit,CPU),或是其他可程式化之一般用途或特殊用途的微處理器(Microprocessor)、數位信號處理器(Digital Signal Processor,DSP)、可程式化控制器、特殊應用積體電路(Application Specific Integrated Circuit,ASIC)或其他類似元件或上述元件的組合,本揭露不限於此。 The processor 130 is connected to the communication device 110 and the storage device 120, and is used for performing necessary operations for communication task analysis. The processor 130 may be a central processing unit (CPU), or other programmable general-purpose or special-purpose microprocessors (Microprocessors), digital signal processors (DSPs), programmable A chemical controller, an application specific integrated circuit (ASIC) or other similar components or a combination of the above components, the present disclosure is not limited thereto.

惟須說明的是,在本揭露的一實施例中,用以進行通訊 任務解析的裝置100會與多個設備進行連接,以作為設備之間協調、分配任務的橋梁。又或者是,在本揭露的又一實施例中,用以進行通訊任務解析的裝置100是一台獨立作業的機台,並協調自身的多個作業部位。本揭露並不以此為限。 It should be noted that, in an embodiment of the present disclosure, for communication The apparatus 100 for task analysis will be connected with multiple devices, so as to serve as a bridge for coordinating and assigning tasks among the devices. Alternatively, in yet another embodiment of the present disclosure, the apparatus 100 for performing communication task analysis is a machine that operates independently and coordinates multiple operating parts of itself. This disclosure is not so limited.

圖2繪示本揭露一實施例通訊任務解析方法的流程示意圖。在此實施例中,通訊任務解析方法至少適用於圖1所繪示的裝置100,然本發明不限於此。以下將同時搭配圖1與圖2說明裝置100完成通訊任務解析方法的細節。 FIG. 2 is a schematic flowchart of a communication task analysis method according to an embodiment of the present disclosure. In this embodiment, the communication task analysis method is at least applicable to the apparatus 100 shown in FIG. 1 , but the present invention is not limited thereto. The details of the method for analyzing the communication task completed by the apparatus 100 will be described below in conjunction with FIG. 1 and FIG. 2 .

在步驟S210,由處理器130獲取通訊語意資訊與設備語意資訊的對應關係。 In step S210, the processor 130 acquires the correspondence between the communication semantic information and the device semantic information.

在本揭露的一實施例中,處理器130獲取通訊語意資訊與設備語意資訊的對應關係的細節是由圖3來進行說明。請參照圖3,圖3繪示本揭露一實施例通訊任務解析方法的部分流程示意圖。在步驟S310,由處理器130獲取設備語意資訊以及通訊語意資訊。詳細來說,處理器130可以通過在網路上自行下載各類語法規範,以將每一個語法規範儲存在儲存裝置120中。又或者是,在出廠時,或者是透過操作人員的操作,可以事先將各類型語法規範傳送並儲存在儲存裝置120之中。 In an embodiment of the present disclosure, the details of the correspondence between the communication semantic information and the device semantic information obtained by the processor 130 are illustrated by FIG. 3 . Please refer to FIG. 3 . FIG. 3 is a schematic flowchart of a part of a communication task analysis method according to an embodiment of the present disclosure. In step S310, the processor 130 acquires device semantic information and communication semantic information. In detail, the processor 130 can download various syntax specifications from the Internet to store each syntax specification in the storage device 120 . Alternatively, various types of grammar specifications may be transmitted and stored in the storage device 120 in advance at the time of delivery or through the operation of the operator.

除此之外,處理器130還會獲取與設備相關的資訊,包括設備項目以及設備參數。設備項目是指特定的設備或者是裝置100的特定加工部件。承前所述,倘若裝置100是獨立作業的機台,設備項目對應至裝置100的特定加工部件,例如鑽孔部件、 打磨部件等。又或者是,倘若裝置100是在多個設備之間協調溝通的橋梁,設備項目的對應項目例如但不限於,鑽孔機、打磨機、壓合機等,本揭露並不以此為限。在此實施例中,設備項目例如可以採用設備的網際網路協定位址(Internet Protocol Address,IP address)、特定的通訊埠、在區域網路中的設備名稱等來進行定義。設備參數則是設備/加工部件的自身規格以及其所能提供的服務規格。詳細來說,在設備出廠時,操作人員會將機台的大小尺寸、電路設計圖、運轉規則、服務內容、單位成本等先建立在儲存裝置120中,以作為設備參數。或者是,在偵測到設備首次連接置處理器130時,處理器130可以通過通訊裝置110連接到指定的網站下載與設備相關的資訊,本揭露並不以此為限。舉例來說,設備相關的資訊例如「設備A提供鑽孔的服務,且鑽孔的口徑大小約在0.5-3公分之間」。藉由各類型語法規範,處理器130能夠將設備相關的資訊轉換成統一的方式進行表述,以形成設備語意資訊。承前述,設備語意資訊例如採用RAMI定義鑽孔(drilling)的服務類別,並採用eCl@ss來定義口徑大小為0.5-3公分,藉此,以將各類型語法規範所定義好的與設備相關的資訊儲存為設備語意資訊。 In addition, the processor 130 also acquires equipment-related information, including equipment items and equipment parameters. An item of equipment refers to a specific piece of equipment or a specific machined part of the apparatus 100 . As mentioned above, if the device 100 is a stand-alone machine, the equipment items correspond to specific processing parts of the device 100, such as drilling parts, Grinding parts, etc. Alternatively, if the apparatus 100 is a bridge for coordination and communication among multiple devices, the corresponding items of the equipment items are, for example, but not limited to, drilling machines, grinding machines, pressing machines, etc., which the present disclosure is not limited to. In this embodiment, the device item can be defined by, for example, the device's Internet Protocol Address (IP address), a specific communication port, and the device name in the local area network. Equipment parameters are the specifications of the equipment/processed components themselves and the service specifications they can provide. In detail, when the equipment leaves the factory, the operator will first establish the size, circuit design, operation rules, service content, unit cost, etc. of the machine in the storage device 120 as equipment parameters. Alternatively, when it is detected that the device is connected to the processor 130 for the first time, the processor 130 may connect to a designated website through the communication device 110 to download information related to the device, which is not limited in the present disclosure. For example, equipment-related information such as "Equipment A provides drilling services, and the diameter of the drilling holes is about 0.5-3 cm." Using various types of grammar specifications, the processor 130 can convert the device-related information into a unified representation to form device semantic information. As mentioned above, the semantic information of equipment, for example, uses RAMI to define the service category of drilling, and uses eCl@ss to define the diameter of 0.5-3 cm, so as to associate the equipment defined by various types of grammar specifications with equipment. The information is stored as device semantic information.

值得一提的是,在本揭露的一實施例之中,處理器130還通過內嵌或外接的顯示裝置顯示一用戶介面,以讓操作人員透過制式且對應語法規範的欄位輸入與設備相關的資訊。藉此,處理器130可以快速地依據各個欄位而將設備相關的資訊轉換成特 定的語法規範進行統一的表述,然本發明不限於此。 It is worth mentioning that, in an embodiment of the present disclosure, the processor 130 also displays a user interface through an embedded or external display device, so that the operator can input device-related fields through a standard and a field corresponding to a syntax specification. information. In this way, the processor 130 can quickly convert the device-related information into specific information according to each field. A given grammar specification can be expressed uniformly, but the present invention is not limited to this.

相似地,處理器130能夠從網路上下載,或者是通過操作人員而獲取通訊語意資訊,於此即不詳述細節。 Similarly, the processor 130 can download the communication semantic information from the Internet, or obtain the communication semantic information through the operator, and details are not described here.

在步驟S320,處理器130獲取設備語意資訊中每一設備項目允許的通訊項目。舉例來說,設備能夠接受對鑽孔項目的通訊項目例如為「請求服務」,以及,設備不能夠接受對鑽孔項目的通訊項目例如為「修改允許最大鑽孔的數值」。處理器130能夠藉由儲存在儲存裝置120中的資訊,或者是,接收操作人員的輸入,以獲取設備語意資訊中每一設備項目允許的通訊項目,本發明不限於此。 In step S320, the processor 130 obtains the communication items allowed by each equipment item in the equipment semantic information. For example, the device can accept a communication item for drilling items such as "request service", and the device cannot accept communication items for drilling items such as "modify the value of maximum drilling allowed". The processor 130 can obtain the permitted communication items of each equipment item in the equipment semantic information by using the information stored in the storage device 120 or receiving the input from the operator, but the present invention is not limited thereto.

在步驟S330,處理器130將設備項目允許的通訊項目的標籤分別加入設備參數中,以建立設備語意資訊與通訊語意資訊的對應關係。承前所述,倘若設備能夠接受對鑽孔項目的通訊項目為「請求服務」,此時,處理器130會將鑽孔的類別下增添<COMM:CallForProposal>標籤陳述句,以表示允許目標為「請求服務」的通訊封包。藉由在設備項目中加入以通訊語意資訊所表示的允許的通訊服務的標籤,設備語意資訊與通訊語意資訊的對應關係能夠基此而被建立,並被儲存在儲存裝置120之中。 In step S330, the processor 130 adds the tags of the communication items allowed by the equipment item to the equipment parameters respectively, so as to establish a corresponding relationship between the equipment semantic information and the communication semantic information. As mentioned above, if the device can accept the communication item for the drilling project as "request service", at this time, the processor 130 will add a <COMM: CallForProposal> tag statement under the drilling category to indicate that the allowable target is "request service". service" communication packet. By adding a tag of the permitted communication service represented by the communication semantic information to the equipment item, the corresponding relationship between the equipment semantic information and the communication semantic information can be established and stored in the storage device 120 .

在本揭露的另一實施例中,通訊語意資訊與設備語意資訊的對應關係能夠事先被建立並由操作人員加入在儲存裝置120之中。又或者是,在本揭露又一實施例中,通訊語意資訊與設備語意資訊的對應關係能夠通過機器學習的方式自動分析建立,本 發明不以上述的實施方式為限。 In another embodiment of the present disclosure, the correspondence between the communication semantic information and the device semantic information can be established in advance and added to the storage device 120 by the operator. Or, in another embodiment of the present disclosure, the correspondence between the communication semantic information and the device semantic information can be automatically analyzed and established by means of machine learning. The invention is not limited to the above-described embodiments.

請回到圖1與圖2,在步驟S220,處理器130通過通訊裝置110接收通訊封包。在此實施例中,通訊封包具有目標任務資訊。目標任務資訊表示了通訊封包的目的,例如為,請求鑽孔服務。在此所述的通訊封包是以封包結構進行表述的,例如,通訊封包的結構可以為被表示為表一:

Figure 108137539-A0305-02-0014-1
傳送方ID即為發起此通訊封包的裝置,即,請求執行目標任務的裝置,目的地ID則為裝置100的ID。在本揭露的一實施例中,傳送方ID、目的地ID可以以區域網路中不同裝置的裝置名稱表示,或者是,以裝置的IP位址或媒體存取控制位址(Media Access Control Address,MAC位址)進行表示,本揭露並不以此為限。訊息代碼為表示封包類型的代碼,此為通訊領域人員所熟知的,於此不進行詳述。目標例如為,「請求服務」;對應項目例如為,「鑽孔」;目標對象例如為,特定目標的ID、不限對象(廣播)、或者採用特徵的描述,以利處理器130進行查找;目標參數例如為,2.5公分。本揭露並不以此例為限。在其他的實施例中,通訊封包的欄位可以自由變動、增長或縮短,並不限於表一的通訊封包結構。 Returning to FIG. 1 and FIG. 2 , in step S220 , the processor 130 receives the communication packet through the communication device 110 . In this embodiment, the communication packet has target task information. The target task information indicates the purpose of the communication packet, for example, to request a drilling service. The communication packet described here is expressed in the packet structure. For example, the structure of the communication packet can be expressed as Table 1:
Figure 108137539-A0305-02-0014-1
The sender ID is the device that initiates the communication packet, that is, the device that requests to execute the target task, and the destination ID is the ID of the device 100 . In an embodiment of the present disclosure, the sender ID and the destination ID may be represented by the device names of different devices in the local area network, or by the IP address or the Media Access Control Address (Media Access Control Address) of the device. , MAC address), the disclosure is not limited to this. The message code is a code indicating the type of the packet, which is well known to those in the communication field and will not be described in detail here. The target is, for example, "request service"; the corresponding item is, for example, "drilling hole"; the target object is, for example, the ID of a specific target, an unlimited object (broadcast), or a description of a feature, so that the processor 130 can search; The target parameter is, for example, 2.5 cm. This disclosure is not limited to this example. In other embodiments, the fields of the communication packet can be freely changed, increased or shortened, and are not limited to the communication packet structure in Table 1.

在步驟S230,處理器130依據通訊語意資訊解析通訊封 包,以獲取目標任務資訊。具體而言,處理器130會拆解封包結構,將通訊封包以通訊語意資訊進行描述,並獲取對應的目標任務資訊。舉例來說,解析完的通訊封包例如包括下列目標任務資訊:“Purpose”:“CallForProposal”,“DataElement”:{“SubModell”:“drilling”},{“PropertyID”:“ID_Drilling”},{“PropertyID”:”0173-1#02-BAF455#004”,“Value”:2.5},{“PropertyID”:”0173-1#02-AJ214#002”,“Value”:1.75}。此目標任務資訊即表示,此通訊封包的目的是請求服務,服務項目為鑽孔,任務對象(即,被請求服務的設備)具有鑽孔的功能,且任務內容(即,被請求的服務)為鑽孔的直徑為2.5公分,厚度為1.75公分。 In step S230, the processor 130 parses the communication envelope according to the communication semantic information package to get target task information. Specifically, the processor 130 disassembles the packet structure, describes the communication packet with communication semantic information, and obtains corresponding target task information. For example, the parsed communication packet includes the following target task information: "Purpose": "CallForProposal", "DataElement": {"SubModell": "drilling"}, {"PropertyID": "ID_Drilling"}, {" PropertyID":"0173-1#02-BAF455#004","Value":2.5},{"PropertyID":"0173-1#02-AJ214#002","Value":1.75}. The target task information means that the purpose of this communication packet is to request a service, the service item is drilling, the task object (ie, the equipment requested for the service) has the function of drilling, and the task content (ie, the requested service) The diameter of the drilled hole is 2.5 cm and the thickness is 1.75 cm.

在步驟S240,處理器130依據通訊語意資訊與設備語意資訊的對應關係,判斷設備語意資訊中是否存在對應目標任務資訊的候選設備資訊。詳細而言,承如前述,通訊封包已經通訊語意資訊進行解析,並獲取任務對象以及任務內容。而儲存裝置120中亦已儲存設備機台的設備語意資訊,且通訊語意資訊與設備語意資訊存在對應關係。因此,處理器130能夠自動地依據任務對象,尋找設備項目中是否存在對應該任務對象的候選設備項目。在本揭露的一實施例中,處理器130是採用SPARQL的查詢語言對通訊語意資訊與設備語意資訊進行交叉查詢,以找到任務對象。承前述例子,處理器130會搜尋提供鑽孔服務的對象,以將具備鑽孔服務的對象作為候選設備項目,且每一候選設備項目及 其對應的設備參數即為候選設備資訊。 In step S240, the processor 130 determines whether there is candidate device information corresponding to the target task information in the device semantic information according to the correspondence between the communication semantic information and the device semantic information. In detail, as mentioned above, the communication packet has been parsed with the communication semantic information, and the task object and task content are obtained. The storage device 120 also stores the device semantic information of the device machine, and there is a corresponding relationship between the communication semantic information and the device semantic information. Therefore, the processor 130 can automatically search for a candidate equipment item corresponding to the task object in the equipment item according to the task object. In an embodiment of the present disclosure, the processor 130 uses the query language of SPARQL to cross query the communication semantic information and the device semantic information to find the task object. According to the foregoing example, the processor 130 searches for objects that provide drilling services, and takes objects with drilling services as candidate equipment items, and each candidate equipment item and The corresponding device parameters are the candidate device information.

倘若判斷不存在對應目標任務資訊的候選設備資訊,或者是,處理器130並無法正確解析目標任務資訊,以至於處理器130無法判斷是否存在對應目標任務資訊的候選設備資訊時,處理器130將回傳任務拒絕封包,以回覆通訊封包。 If it is determined that there is no candidate device information corresponding to the target task information, or the processor 130 cannot correctly parse the target task information, so that the processor 130 cannot determine whether there is candidate device information corresponding to the target task information, the processor 130 will The return task rejects the packet to reply to the communication packet.

在步驟S250,響應於設備語意資訊中存在候選設備資訊,處理器130判斷候選設備資訊是否相容於目標任務資訊。例如,倘若候選設備項目有3個,處理器130會分別判斷候選設備裝置對應的設備參數是否相容於目標任務資訊中的任務內容,即是否能夠提供鑽孔直徑為2.5公分以及厚度為1.75公分的服務。 In step S250, in response to the presence of candidate device information in the device semantic information, the processor 130 determines whether the candidate device information is compatible with the target task information. For example, if there are three candidate equipment items, the processor 130 will respectively determine whether the equipment parameters corresponding to the candidate equipment devices are compatible with the task content in the target task information, that is, whether the drill hole diameter is 2.5 cm and the thickness is 1.75 cm. service.

在步驟S260,處理器130依據判斷的結果回覆通訊封包。也就是說,倘若候選設備項目對應的設備參數不包括任務內容時,處理器130會據此而回傳任務拒絕封包,以回覆通訊封包。然而,倘若候選設備項目對應的設備參數包括任務內容時,處理器130會回傳任務回覆封包。惟須說明的是,依據實務需求調整任務回覆封包的內容會被調整。舉例來說,在本揭露的一實施例中,處理器130在判斷候選設備項目對應的設備參數包括任務內容時,不會要求候選設備資訊執行任務。取而代之的是,處理器130會在任務回覆封包的內容加入候選設備資訊中的成本資訊、時間資訊等,以先提供通訊封包的來源裝置執行任務所需的成本和時間等資訊,藉此,以讓通訊封包的來源裝置決定是否採用其中之一候選設備項目執行任務。 In step S260, the processor 130 replies the communication packet according to the judgment result. That is, if the equipment parameter corresponding to the candidate equipment item does not include the task content, the processor 130 will return the task rejection packet accordingly to reply the communication packet. However, if the equipment parameter corresponding to the candidate equipment item includes the task content, the processor 130 will return a task reply packet. It should be noted that the content of the task reply packet will be adjusted according to practical needs. For example, in an embodiment of the present disclosure, when the processor 130 determines that the device parameter corresponding to the candidate device item includes the task content, the processor 130 does not require the candidate device information to execute the task. Instead, the processor 130 adds cost information, time information, etc. in the candidate device information to the content of the task reply packet, so as to provide information such as the cost and time required by the source device of the communication packet to perform the task, and thereby, Let the source device of the communication packet decide whether to use one of the candidate equipment items to execute the task.

在本揭露的另一實施例中,處理器130在判斷候選設備項目對應的設備參數包括任務內容時,則會依據設備語意資訊將目標任務資訊轉換為設備控制指令,並將設備控制指令發送至此候選設備項目中,以讓此候選設備項目執行任務內容。在候選設備執行完任務內容時,處理器130會接收到來自此候選設備項目的任務回應訊息(例如,任務開始執行、任務已完成等)。此時,處理器130會通過通訊裝置110發送任務回覆封包,以回覆通訊封包的來源裝置任務已開始/完成,本揭露並不以前述實施例為限。值得一提的是,倘若存在多個候選設備項目時,處理器130會依據候選設備資訊中的成本資訊、時間資訊、排程資訊等選擇其中之一候選設備項目執行任務內容,然本揭露不限於此。 In another embodiment of the present disclosure, when determining that the device parameter corresponding to the candidate device item includes the task content, the processor 130 converts the target task information into a device control command according to the device semantic information, and sends the device control command to this in the candidate equipment item, so that the candidate equipment item can execute the task content. When the candidate device finishes executing the task content, the processor 130 will receive a task response message (eg, the task has started to be executed, the task has been completed, etc.) from the candidate device item. At this time, the processor 130 sends a task reply packet through the communication device 110 to reply that the source device task of the communication packet has started/completed, and the present disclosure is not limited to the foregoing embodiment. It is worth mentioning that, if there are multiple candidate equipment items, the processor 130 will select one of the candidate equipment items to execute the task content according to the cost information, time information, schedule information, etc. in the candidate equipment information. limited to this.

圖4繪示本揭露又一實施例的用以進行通訊任務解析的裝置的示意圖。請參照圖4,在此實施例用以進行通訊任務解析的裝置400具有裝置本體410a、裝置本體410b以及裝置本體410c以及主控裝置420。 FIG. 4 is a schematic diagram of an apparatus for performing communication task analysis according to yet another embodiment of the present disclosure. Referring to FIG. 4 , the device 400 for performing communication task analysis in this embodiment includes a device body 410 a , a device body 410 b , a device body 410 c and a main control device 420 .

裝置本體410a~410c是用以接收來自主控裝置的通訊封包,並能夠提供特定的服務。舉例但不限於,裝置本體410a~410c分別為壓合機、鑽孔機及打磨機,且彼此獨立運作。在下述說明裝置本體410a~410c的硬體中會以裝置本體410a進行說明,然裝置本體410b~410c會具備相似的硬體,且裝置本體410a具備通訊裝置412、儲存裝置414以及處理器416。通訊裝置412、儲存裝置414及處理器416相似於圖1實施例的通訊裝置110、儲存裝置 120及處理器130,於此不再贅述。此外,裝置本體410a~410c至少能夠分別以圖1的裝置100進行實作,然本揭露不限於此。 The device bodies 410a-410c are used to receive communication packets from the master device, and can provide specific services. For example, but not limited to, the device bodies 410a-410c are respectively a press machine, a drilling machine and a grinding machine, and operate independently of each other. In the following description of the hardware of the device bodies 410a-410c, the device body 410a will be described, but the device bodies 410b-410c will have similar hardware, and the device body 410a has the communication device 412, the storage device 414 and the processor 416. The communication device 412 , the storage device 414 and the processor 416 are similar to the communication device 110 and the storage device in the embodiment of FIG. 1 120 and the processor 130 are not repeated here. In addition, the device bodies 410a to 410c can be implemented by at least the device 100 shown in FIG. 1 , but the present disclosure is not limited thereto.

主控裝置420是發出通訊封包的裝置,並通過與外部網路連接的通訊介面411a而與裝置本體410a通訊連接。以製造業為例,在每一個工件上都存在一個識別標籤,例如,一維條碼、二維條碼或者是以無線射頻辨識標籤(Radio Frequency Identification tag,RFID標籤)。主控裝置420存在對應識別標籤類型的標籤讀取裝置,藉由讀取識別標籤,主控裝置420能夠追蹤工件的加工進度及其加工流程,並判斷此工件的下一個加工站是什麼。主控裝置420會基於工件的下一個加工站而產生並發送通訊封包。舉例來說,倘若此工件剛接受壓合機的加工,下一個加工站為鑽孔,此時,主控裝置420為壓合機,並發送通訊封包至其他機台請求鑽孔的服務。 The main control device 420 is a device that sends out communication packets, and is connected to the device body 410a for communication through a communication interface 411a connected to an external network. Taking the manufacturing industry as an example, there is an identification tag on each workpiece, for example, a one-dimensional barcode, a two-dimensional barcode, or a radio frequency identification tag (Radio Frequency Identification tag, RFID tag). The main control device 420 has a label reading device corresponding to the type of identification label. By reading the identification label, the main control device 420 can track the processing progress of the workpiece and its processing flow, and determine what the next processing station for the workpiece is. The main control device 420 will generate and send a communication packet based on the next processing station of the workpiece. For example, if the workpiece has just been processed by the pressing machine, and the next processing station is drilling, at this time, the main control device 420 is the pressing machine, and sends a communication packet to other machines to request the drilling service.

又或者是,在其他的情形之中,例如智慧家電,在掃地機器人完成掃地的流程時,會發送通訊封包至其他的裝置請求拖地。 Or, in other situations, such as smart home appliances, when the sweeping robot completes the sweeping process, it will send a communication packet to other devices to request mopping.

又或者是,主控裝置420也可以為一中控裝置,用以發送通訊封包並整合機台的回覆,以完成服務的流程,本揭露不限於此。 Alternatively, the main control device 420 may also be a central control device for sending communication packets and integrating the responses of the machines to complete the service process, but the present disclosure is not limited thereto.

圖5繪示本揭露又一實施例通訊任務解析方法的流程示意圖。圖5的通訊任務解析方法至少適用於圖4的裝置400,然本揭露不限於此。以下將同時搭配圖4及圖5說明此實施例由裝置 400運行通訊任務解析方法的細節。需先說明的是,在下述的說明中,是以裝置本體410a~410c分別為壓合機、鑽孔機及打磨機來進行說明,並且,通訊封包是用以請求鑽孔的服務,且鑽孔的直徑為2.5公分,厚度為1.75公分。 FIG. 5 is a schematic flowchart of a communication task analysis method according to another embodiment of the present disclosure. The communication task analysis method in FIG. 5 is at least applicable to the apparatus 400 in FIG. 4 , but the present disclosure is not limited thereto. 4 and FIG. 5 will be used together to describe the device of this embodiment. 400 Runs the details of the communication task parsing method. It should be noted that in the following description, the device bodies 410a to 410c are respectively described as a pressing machine, a drilling machine and a grinding machine, and the communication packet is used to request the drilling service, and the drilling machine is used for drilling. The diameter of the hole is 2.5 cm and the thickness is 1.75 cm.

在步驟S510,裝置本體410a~410c分別獲取通訊語意資訊與設備語意資訊的對應關係,並儲存在各自的儲存裝置中。裝置本體410a~410c分別是不同的機台,其所採用的控制指令、適用的語法規範不一定會完全相同,因此,裝置本體410a~410c皆存在獨特的通訊語意資訊與設備語意資訊的對應關係。裝置本體410a~410獲取其自身的通訊語意資訊與設備語意資訊的對應關係的細節相同於圖2的步驟S210以及圖3的流程示意圖,於此不再贅述。 In step S510, the device bodies 410a-410c respectively acquire the correspondence between the communication semantic information and the device semantic information, and store them in their respective storage devices. The device bodies 410a to 410c are different machines, respectively, and the control instructions and applicable grammar specifications may not be exactly the same. Therefore, the device bodies 410a to 410c all have a unique correspondence between the communication semantic information and the device semantic information. . The details of the corresponding relationship between the device bodies 410 a to 410 to obtain their own communication semantic information and the device semantic information are the same as those of step S210 in FIG. 2 and the schematic flowchart in FIG. 3 , and will not be repeated here.

在步驟S520由主控裝置420發送通訊封包至裝置本體410a~410c,以使裝置本體410a~410c各自的處理器通過各自的通訊裝置接收通訊封包。承前所述,主控裝置420會依據排程決定通訊封包中夾帶的目標任務資訊。並且,在此實施例中,主控裝置420會採用廣播的方式將通訊封包傳送到裝置本體410a~410c。通訊封包的結構已於圖2步驟S220詳述,於此不再贅述。 In step S520, the main control device 420 sends the communication packets to the device bodies 410a-410c, so that the respective processors of the device bodies 410a-410c receive the communication packets through the respective communication devices. As mentioned above, the main control device 420 determines the target task information contained in the communication packet according to the schedule. Moreover, in this embodiment, the main control device 420 transmits the communication packets to the device bodies 410a-410c by means of broadcasting. The structure of the communication packet has been described in detail in step S220 in FIG. 2 , and will not be repeated here.

在步驟S530,裝置本體410a~410c分別依據通訊語意資訊解析通訊封包,以獲取目標任務資訊,即,請求鑽孔的服務,且鑽孔的直徑為2.5公分,厚度為1.75公分。每一裝置本體410a~410c執行此步驟的細節相似於圖2步驟S230,於此不再贅 述。 In step S530, the device bodies 410a-410c respectively parse the communication packets according to the communication semantic information to obtain target task information, that is, request drilling services, and the diameter of the drilling holes is 2.5 cm and the thickness is 1.75 cm. The details of performing this step for each device body 410a-410c are similar to those of step S230 in FIG. 2, and are not repeated here. described.

在步驟S540,裝置本體410a~410c分別依據通訊語意資訊與設備語意資訊的對應關係,判斷設備語意資訊中是否存在對應目標任務資訊的候選設備資訊。每一裝置本體410a~410c執行此步驟的細節相似於圖2步驟S240,於此不再贅述。 In step S540, the apparatus bodies 410a-410c respectively judge whether there is candidate device information corresponding to the target task information in the device semantic information according to the corresponding relationship between the communication semantic information and the device semantic information. The details of each device body 410a-410c performing this step are similar to step S240 in FIG. 2, and will not be repeated here.

在步驟S550,裝置本體410a~410c響應於設備語意資訊中存在候選設備資訊,判斷候選設備資訊是否相容於目標任務。裝置本體410b進一步判斷其設備參數是否相容於目標任務,即其鑽孔的能力是否滿足鑽孔的直徑為2.5公分,厚度為1.75公分。裝置本體410b執行此步驟的細節相似於圖2步驟S250,於此不再贅述。惟需注意說明的是,裝置本體410a為壓合機、裝置本體410c為打磨機,兩者的設備語意資訊皆不存在對應目標任務資訊的候選設備資訊。此時,裝置本體410a及裝置本體410c就不會進一步判斷候選設備資訊是否相容於目標任務。 In step S550, the apparatus bodies 410a-410c, in response to the presence of candidate device information in the device semantic information, determine whether the candidate device information is compatible with the target task. The device body 410b further determines whether its equipment parameters are compatible with the target task, that is, whether its drilling capability satisfies that the diameter of the drilling hole is 2.5 cm and the thickness is 1.75 cm. The details of this step performed by the device body 410b are similar to those of step S250 in FIG. 2 , and are not repeated here. It should be noted that the device body 410a is a press machine and the device body 410c is a grinder, and the device semantic information of the two devices does not contain candidate device information corresponding to the target task information. At this time, the device body 410a and the device body 410c will not further determine whether the candidate device information is compatible with the target task.

在步驟S560,裝置本體410a~410c會依據判斷的結果回覆通訊封包至主控裝置420。詳細來說,裝置本體410a、410c會依據判斷的結果,即,設備語意中不存在對應目標任務資訊的候選設備資訊而回傳任務拒絕封包至主控裝置420。對於裝置本體410b而言,倘若候選設備項目對應的設備參數包括任務內容時,裝置本體410b會回傳任務回覆封包。反之,倘若候選設備項目對應的設備參數不包括任務內容時,裝置本體410b會據此而回傳任務拒絕封包,以回覆通訊封包。步驟S560的細節相似於圖2步驟 S260,於此不再贅述。 In step S560, the device bodies 410a-410c will reply the communication packet to the main control device 420 according to the judgment result. Specifically, the device bodies 410a and 410c will return the task rejection packet to the master device 420 according to the judgment result, that is, there is no candidate device information corresponding to the target task information in the device semantics. For the device body 410b, if the equipment parameter corresponding to the candidate equipment item includes the task content, the device body 410b will return a task reply packet. On the contrary, if the equipment parameter corresponding to the candidate equipment item does not include the task content, the device body 410b will return the task rejection packet accordingly to reply the communication packet. The details of step S560 are similar to those of step S560 in FIG. 2 S260, which will not be repeated here.

值得一提的是,在本發明的一實施例中,主控裝置420可能會同時收到多個任務回覆封包。舉例來說,倘若同時存在兩個裝置本體皆為鑽孔機,且皆滿足鑽孔的直徑為2.5公分,厚度為1.75公分,則主控裝置420會接收到兩個任務回覆封包。此時,主控裝置420會隨機選擇其中一個裝置本體執行任務。又或者是,若任務回覆封包中有夾帶時間資訊、成本資訊、排程資訊等,主控裝置420也可以據此決定其中一個裝置本體執行任務。又或者是,主控裝置420可以進一步要求裝置本體回傳時間資訊、成本資訊及/或排程資訊,以利其進行判斷。本揭露並不以此為限。 It is worth mentioning that, in an embodiment of the present invention, the main control device 420 may receive multiple task reply packets at the same time. For example, if there are two device bodies, both of which are drilling machines, and the diameter of the drilling hole is 2.5 cm and the thickness is 1.75 cm, the main control device 420 will receive two task reply packets. At this time, the main control device 420 will randomly select one of the device bodies to execute the task. Alternatively, if the task reply packet includes time information, cost information, scheduling information, etc., the main control device 420 can also determine one of the device bodies to execute the task accordingly. Alternatively, the main control device 420 may further request the device body to return time information, cost information and/or scheduling information to facilitate its judgment. This disclosure is not so limited.

圖6繪示本揭露再一實施例的用以進行通訊任務解析的裝置的示意圖。請參照圖6,在此實施例用以進行通訊任務解析的裝置400具有裝置本體610、主控裝置620以及設備630a~630c。 FIG. 6 is a schematic diagram of an apparatus for performing communication task analysis according to still another embodiment of the present disclosure. Referring to FIG. 6 , the apparatus 400 for performing communication task analysis in this embodiment has an apparatus body 610 , a main control apparatus 620 , and devices 630 a to 630 c.

裝置本體610是用以接收來自主控裝置的通訊封包,並能夠提供特定的服務。此外,裝置本體610並具有相應於圖1實施例的通訊裝置612、儲存裝置614及處理器616,於此不再贅述。在此實施例中,裝置本體610可以由圖1的裝置100來進行實作,然本揭露不限於此。主控裝置620是發出通訊封包的裝置,且其相似於圖4的主控裝置420,於此即不再贅述細節。設備630a~630c透過連接內部網路的通訊介面611b連接於裝置本體610,並由裝置本體610對設備630a~630c進行操控。以製造業為例,設備630a~630c可以為壓合部件、鑽孔部件以及打磨部件,或者三種不 同大小的鑽孔部件,並耦接於裝置本體610上。又以智慧家電為例,裝置本體610例如是中控裝置,設備630a~630c例如是接受裝置本體610的控制信號進行工作的掃地機器人、拖地機器人、空氣清淨機等智慧家電。又或者是,裝置本體610例如是電冰箱,設備630a~630c分別為製冰盒、冷凍庫馬達、冷藏室馬達等。特別是,裝置本體610會儲存設備630a~630c的設備語意資訊,以依據設備630a~630c的設備語意資訊尋找合適的候選設備資訊。 The device body 610 is used to receive communication packets from the master device, and can provide specific services. In addition, the device body 610 also has a communication device 612 , a storage device 614 and a processor 616 corresponding to the embodiment of FIG. 1 , and details are not described herein again. In this embodiment, the device body 610 may be implemented by the device 100 of FIG. 1 , but the present disclosure is not limited thereto. The main control device 620 is a device that sends out communication packets, and is similar to the main control device 420 in FIG. 4 , and details are not repeated here. The devices 630a-630c are connected to the device body 610 through the communication interface 611b connected to the internal network, and the device body 610 controls the devices 630a-630c. Taking the manufacturing industry as an example, the equipments 630a-630c can be pressing parts, drilling parts and grinding parts, or three different parts. Drilling parts of the same size are coupled to the device body 610 . Taking a smart home appliance as an example, the device body 610 is, for example, a central control device, and the devices 630a to 630c are, for example, smart home appliances such as sweeping robots, mopping robots, and air purifiers that receive control signals from the device body 610 to operate. Alternatively, the device body 610 is, for example, a refrigerator, and the devices 630a to 630c are an ice maker, a freezer motor, a refrigerator motor, and the like, respectively. In particular, the device body 610 stores the device semantic information of the devices 630a-630c, so as to find suitable candidate device information according to the device semantic information of the devices 630a-630c.

圖7繪示本揭露再一實施例通訊任務解析方法的流程示意圖。圖7的通訊任務解析方法至少適用於圖6的裝置600,然本揭露不限於此。以下將同時搭配圖6及圖7說明此實施例由裝置600運行通訊任務解析方法的細節。需先說明的是,在下述的說明中,是以設備630a~630c分別為壓合部件、鑽孔部件及打磨部件來進行說明,並且,通訊封包是用以請求鑽孔的服務,且鑽孔的直徑為2.5公分,厚度為1.75公分。 FIG. 7 is a schematic flowchart of a communication task analysis method according to still another embodiment of the present disclosure. The communication task analysis method of FIG. 7 is at least applicable to the apparatus 600 of FIG. 6 , but the present disclosure is not limited thereto. The details of the communication task analysis method executed by the device 600 in this embodiment will be described below with reference to FIG. 6 and FIG. 7 . It should be noted that in the following description, the devices 630a to 630c are respectively used as the pressing part, the drilling part and the grinding part for description, and the communication packet is used to request the drilling service, and the drilling is performed. The diameter is 2.5 cm and the thickness is 1.75 cm.

在步驟S710,裝置本體610獲取通訊語意資訊與設備語意資訊的對應關係,並儲存在自身的儲存裝置中。裝置本體610執行此步驟的細節相似於圖2的步驟S210以及圖3的流程示意圖,於此不再贅述。惟須說明的是,由於設備630a~630c所對應的設備參數不盡相同,因此,裝置本體610會分別儲存設備630a~630c的設備語意資訊,並建立屬於設備630a~630c中,通訊語意資訊與設備語意資訊的對應關係。 In step S710, the device body 610 acquires the correspondence between the communication semantic information and the device semantic information, and stores it in its own storage device. The details of this step performed by the device body 610 are similar to the step S210 in FIG. 2 and the schematic flowchart in FIG. 3 , and are not repeated here. It should be noted that, since the device parameters corresponding to the devices 630a-630c are not the same, the device body 610 stores the device semantic information of the devices 630a-630c respectively, and establishes the communication semantic information belonging to the devices 630a-630c. Correspondence of device semantic information.

在步驟S720由主控裝置620發送通訊封包至裝置本體 610,以使裝置本體的處理器通過其通訊裝置接收通訊封包。承前所述,主控裝置620會依據排程決定通訊封包中夾帶的目標任務資訊,且通訊封包的結構已於圖2步驟S220詳述,於此不再贅述。 In step S720, the main control device 620 sends the communication packet to the device body 610, so that the processor of the device body receives the communication packet through its communication device. As mentioned above, the main control device 620 determines the target task information contained in the communication packet according to the schedule, and the structure of the communication packet has been described in detail in step S220 in FIG. 2 , and will not be repeated here.

在步驟S730,裝置本體610分別依據通訊語意資訊解析通訊封包,以獲取目標任務資訊,即,請求鑽孔的服務,且鑽孔的直徑為2.5公分,厚度為1.75公分。裝置本體610執行此步驟的細節相似於圖2步驟S230,於此不再贅述。 In step S730 , the device body 610 parses the communication packets according to the communication semantic information to obtain target task information, that is, requesting a drilling service with a diameter of 2.5 cm and a thickness of 1.75 cm. The details of this step performed by the device body 610 are similar to those of step S230 in FIG. 2 , and are not repeated here.

在步驟S740,裝置本體610分別依據通訊語意資訊與設備語意資訊的對應關係,判斷設備語意資訊中是否存在對應目標任務資訊的候選設備資訊。裝置本體610執行此步驟的細節相似於圖2步驟S240,於此不再贅述。 In step S740, the apparatus body 610 determines whether there is candidate device information corresponding to the target task information in the device semantic information according to the corresponding relationship between the communication semantic information and the device semantic information. The details of this step performed by the device body 610 are similar to those of step S240 in FIG. 2 , and are not repeated here.

在步驟S750,裝置本體610響應於設備語意資訊中存在候選設備資訊,判斷候選設備資訊是否相容於目標任務。裝置本體610進一步判斷設備630a~630c的設備參數是否相容於目標任務,即其鑽孔的能力是否滿足鑽孔的直徑為2.5公分,厚度為1.75公分。裝置本體610執行此步驟的細節相似於圖2步驟S250,於此不再贅述。 In step S750, the apparatus body 610 determines whether the candidate device information is compatible with the target task in response to the presence of candidate device information in the device semantic information. The device body 610 further judges whether the equipment parameters of the equipment 630a-630c are compatible with the target task, that is, whether the drilling capability of the equipment satisfies that the diameter of the drilling hole is 2.5 cm and the thickness is 1.75 cm. The details of this step performed by the device body 610 are similar to those of step S250 in FIG. 2 , and are not repeated here.

設備630a為壓合部件、設備630c為打磨部件,兩者的設備語意資訊皆不存在對應目標任務資訊的候選設備資訊。然而,設備630b為鑽孔部件。因此,裝置本體610會進一步判斷設備630b所對應的候選設備資訊是否相容於目標任務。 The equipment 630a is a pressing part, and the equipment 630c is a grinding part, and the equipment semantic information of both has no candidate equipment information corresponding to the target task information. However, device 630b is a drilling component. Therefore, the device body 610 further determines whether the candidate device information corresponding to the device 630b is compatible with the target task.

在此實施例中,倘若設備630b所對應的候選設備資訊中 的設備參數相容於目標任務,在步驟S752,裝置本體610會依據設備語意資訊將目標任務資訊轉換為設備控制指令,並將設備控制指令發送至候選設備,即設備630b之中,以使設備630b。 In this embodiment, if the candidate device information corresponding to the device 630b is in the The device parameters of the device are compatible with the target task. In step S752, the device body 610 converts the target task information into device control instructions according to the device semantic information, and sends the device control instructions to the candidate device, that is, the device 630b, so that the device 630b.

在步驟S754時,設備630b會發送任務回應訊息至裝置本體610。任務回應訊息例如為,「接收任務」、「任務已完成」,然本揭露不限於此。 In step S754, the device 630b sends a task response message to the device body 610. The task response messages are, for example, "task received" and "task completed", but the present disclosure is not limited to this.

在步驟S760,裝置本體610會依據判斷的結果以及任務回應訊息回傳回覆通訊封包至主控裝置620。步驟S760的細節相似於圖2步驟S260,於此不再贅述。 In step S760 , the device body 610 returns a reply communication packet to the main control device 620 according to the judgment result and the task response message. The details of step S760 are similar to those of step S260 in FIG. 2 , and are not repeated here.

值得一提的是,在前述的實施例中,裝置本體610的數量可以為多個,並分別連接至一個或多個設備。倘若裝置本體610的數量為多個時,其實施的情形將會結合圖4至圖5的實施例以及圖6至圖7的實施例。舉例來說,每一個裝置本體會接收到通訊封包,並分別查詢是否存在對應目標任務資訊的候選設備資訊,此時,候選設備資訊會來自於裝置本體所連接的一個或多個設備。其餘的細節請參考上述的說明,於此不再贅述。 It is worth mentioning that, in the foregoing embodiments, the number of the device bodies 610 may be multiple, and they are respectively connected to one or more devices. If the number of the device body 610 is multiple, its implementation will be combined with the embodiments of FIGS. 4 to 5 and the embodiments of FIGS. 6 to 7 . For example, each device body will receive the communication packet, and respectively inquire whether there is candidate device information corresponding to the target task information. In this case, the candidate device information will come from one or more devices connected to the device body. For the remaining details, please refer to the above description, which will not be repeated here.

在本揭露的一實施例中,還提供了一種用於進行通訊任務解析的電腦可讀取記錄媒體。當電腦讀取用於進行通訊任務解析的電腦可讀取記錄媒體後,可完成如本揭露,例如但不限於,圖2、圖5以及圖7所繪示的通訊任務解析方法。 In an embodiment of the present disclosure, a computer-readable recording medium for performing communication task analysis is also provided. After the computer reads the computer-readable recording medium for performing communication task analysis, the communication task analysis method shown in FIG. 2 , FIG. 5 , and FIG.

綜上所述,本揭露的通訊任務解析方法、用以進行通訊任務解析的裝置以及用於進行通訊任務解析的電腦可讀取記錄媒 體中,採用了通用統一的通訊協議的語法規範作為不同設備之間的媒介,弭平不同設備的語法差異造成的溝通問題。因此,在建立了通訊語意資訊與設備語意資訊的對應關係後,不論產線的設備、位置進行新增、移除或變更,設備之間仍然可以採用共通的通訊語意資訊達到溝通的目的,建立設備之間自主通訊任務解析的能力,減少操作人員對產線上設備重新進行設定的人力成本。 To sum up, the present disclosure provides a communication task analysis method, an apparatus for communication task analysis, and a computer-readable recording medium for communication task analysis. In the body, the grammar specification of a general and unified communication protocol is used as the medium between different devices to smooth out the communication problems caused by the grammar differences of different devices. Therefore, after the correspondence between the communication semantic information and the device semantic information is established, no matter whether the equipment or location of the production line is added, removed or changed, the common communication semantic information can still be used between the devices to achieve the purpose of communication. The ability of autonomous communication task analysis between devices reduces the labor cost for operators to reset the equipment on the production line.

S210~S260:步驟S210~S260: Steps

Claims (15)

一種通訊任務解析方法,包括:獲取一通訊語意資訊與一設備語意資訊的對應關係,其中該設備語意資訊包括多個設備項目,且每一該設備項目對應一設備參數,該通訊語意資訊包括多個通訊項目,且獲取該通訊語意資訊與該設備語意資訊的對應關係的步驟包括:獲取該設備語意資訊以及該通訊語意資訊;接收該設備語意資訊中每一該些設備項目允許的該通訊項目;以及將每一該設備項目允許的該通訊項目的標籤分別加入每一該設備參數中,以建立該設備語意資訊與該通訊語意資訊的對應關係;接收一通訊封包,其中該通訊封包包括一目標任務資訊;依據該通訊語意資訊解析該通訊封包,以獲取該目標任務資訊;依據該通訊語意資訊與該設備語意資訊的對應關係,判斷該設備語意資訊中是否存在對應該目標任務資訊的一候選設備資訊;響應於該設備語意資訊中存在該候選設備資訊,判斷該候選設備資訊是否相容於該目標任務資訊;以及依據判斷的結果回覆該通訊封包。 A communication task analysis method, comprising: obtaining a correspondence between a communication semantic information and a device semantic information, wherein the device semantic information includes a plurality of equipment items, and each of the equipment items corresponds to a device parameter, and the communication semantic information includes a plurality of equipment items. a communication item, and the step of acquiring the correspondence between the communication semantic information and the device semantic information includes: acquiring the device semantic information and the communication semantic information; receiving the communication item permitted by each of the device items in the device semantic information ; And add the label of the communication item allowed by each of the equipment items to each of the equipment parameters respectively, to establish a corresponding relationship between the equipment semantic information and the communication semantic information; Receive a communication packet, wherein the communication packet includes a target task information; analyze the communication packet according to the communication semantic information to obtain the target task information; according to the corresponding relationship between the communication semantic information and the device semantic information, determine whether there is a corresponding target task information in the device semantic information candidate device information; in response to the device semantic information having the candidate device information, determining whether the candidate device information is compatible with the target task information; and replying to the communication packet according to the determination result. 如申請專利範圍第1項所述的通訊任務解析方 法,其中該目標任務資訊包括一任務對象以及一任務內容,並且,在依據該通訊語意資訊與該設備語意資訊的對應關係,判斷該設備語意資訊中是否存在對應該目標任務資訊的該候選設備資訊的步驟中,還包括:依據該任務對象,尋找該些設備項目中是否存在對應該任務對象的一候選設備項目。 Communication task analysis method as described in item 1 of the scope of application for patent method, wherein the target task information includes a task object and a task content, and according to the corresponding relationship between the communication semantic information and the device semantic information, it is judged whether there is the candidate device corresponding to the target task information in the device semantic information The information step further includes: searching for whether there is a candidate equipment item corresponding to the task object in the equipment items according to the task object. 如申請專利範圍第2項所述的通訊任務解析方法,其中,在響應於該設備語意資訊中存在該候選設備資訊,判斷該候選設備資訊是否相容於該目標任務資訊的步驟中,還包括:響應於存在對應該任務對象的該候選設備項目,判斷該候選設備項目對應的該設備參數是否包括該任務內容。 The communication task analysis method according to item 2 of the scope of the application, wherein, in response to the presence of the candidate device information in the device semantic information, the step of judging whether the candidate device information is compatible with the target task information further comprises: : In response to the existence of the candidate equipment item corresponding to the task object, determine whether the equipment parameter corresponding to the candidate equipment item includes the task content. 如申請專利範圍第3項所述的通訊任務解析方法,其中,在依據判斷的結果回覆該目標任務資訊的步驟中,還包括:響應於該設備項目中不存在對應該任務對象的該候選設備項目,或者,響應於該候選設備項目對應的該設備參數不包括該任務內容,發送任務拒絕封包。 The communication task analysis method according to item 3 of the scope of application, wherein in the step of replying to the target task information according to the judgment result, further comprising: in response to the equipment item not having the candidate equipment corresponding to the task object item, or in response to the equipment parameter corresponding to the candidate equipment item not including the task content, a task rejection packet is sent. 如申請專利範圍第3項所述的通訊任務解析方法,其中,在依據判斷的結果回覆該通訊封包的步驟中,還包括:響應於該候選設備項目對應的該設備參數包括該任務內容,依據該設備語意資訊將該目標任務資訊轉換為一設備控制指令,並將該設備控制指令發送至該候選設備項目中;以及 在接收到來自該候選設備項目的任務回應訊息時,發送任務回覆封包。 The communication task analysis method according to item 3 of the scope of the application, wherein in the step of replying to the communication packet according to the judgment result, further comprising: in response to the equipment parameter corresponding to the candidate equipment item including the task content, according to The equipment semantic information converts the target task information into an equipment control instruction, and sends the equipment control instruction to the candidate equipment item; and When receiving a task response message from the candidate equipment item, a task response packet is sent. 一種用以進行通訊任務解析的裝置,包括:一通訊裝置,用以傳送與接收封包;一儲存裝置,用以儲存資訊;一處理器,連接該通訊裝置與該儲存裝置,其中,該處理器用以執行:獲取一通訊語意資訊與一設備語意資訊的對應關係,並儲存在該儲存裝置中,其中該設備語意資訊包括多個設備項目,且每一該設備項目對應一設備參數,該通訊語意資訊包括多個通訊項目,其中,該處理器更用以執行:獲取該設備語意資訊以及該通訊語意資訊;接收該設備語意資訊中每一該些設備項目允許的該通訊項目;以及將每一該設備項目允許的該通訊項目的標籤分別加入每一該設備參數中,以建立該設備語意資訊與該通訊語意資訊的對應關係;通過該通訊裝置接收一通訊封包,其中該通訊封包包括一目標任務資訊;依據該通訊語意資訊解析該通訊封包,以獲取該目標任務資訊;依據該通訊語意資訊與該設備語意資訊的對應關係,判斷該 設備語意資訊中是否存在對應該目標任務資訊的一候選設備資訊;響應於該設備語意資訊中存在該候選設備資訊,判斷該候選設備資訊是否相容於該目標任務資訊;以及通過該通訊裝置依據判斷的結果回覆該通訊封包。 A device for analyzing communication tasks, comprising: a communication device for transmitting and receiving packets; a storage device for storing information; a processor for connecting the communication device and the storage device, wherein the processor uses To execute: obtain a correspondence between a communication semantic information and a device semantic information, and store it in the storage device, wherein the device semantic information includes a plurality of device items, and each of the device items corresponds to a device parameter, the communication semantics The information includes a plurality of communication items, wherein the processor is further configured to: obtain the equipment semantic information and the communication semantic information; receive the communication item permitted by each of the equipment items in the equipment semantic information; The tag of the communication item allowed by the equipment item is respectively added to each of the equipment parameters to establish a corresponding relationship between the equipment semantic information and the communication semantic information; a communication packet is received through the communication device, wherein the communication packet includes a target task information; parse the communication packet according to the communication semantic information to obtain the target task information; according to the corresponding relationship between the communication semantic information and the device semantic information, determine the Whether there is a candidate device information corresponding to the target task information in the device semantic information; in response to the candidate device information existing in the device semantic information, determine whether the candidate device information is compatible with the target task information; The judgment result replies to the communication packet. 如申請專利範圍第6項所述的裝置,其中該目標任務資訊包括一任務對象以及一任務內容,其中,該處理器更用以執行:依據該任務對象,尋找該些設備項目中是否存在對應該任務對象的一候選設備項目。 The device of claim 6, wherein the target task information includes a task object and a task content, wherein the processor is further configured to perform: according to the task object, to find out whether there is a pair of equipment items in the equipment items A candidate equipment item that should be tasked with. 如申請專利範圍第7項所述的裝置,其中,該處理器更用以執行:響應於存在對應該任務對象的該候選設備項目,判斷該候選設備項目對應的該設備參數是否包括該任務內容。 The device according to claim 7, wherein the processor is further configured to execute: in response to the existence of the candidate equipment item corresponding to the task object, determine whether the equipment parameter corresponding to the candidate equipment item includes the task content . 如申請專利範圍第7項所述的裝置,其中,該處理器更用以執行:響應於該設備項目中不存在對應該任務對象的該候選設備項目,或者,響應於該候選設備項目對應的該設備參數不包括該任務內容,發送任務拒絕封包。 The apparatus according to claim 7, wherein the processor is further configured to execute: in response to that the candidate equipment item corresponding to the task object does not exist in the equipment item, or in response to the candidate equipment item corresponding to the task object The device parameters do not include the task content, and send a task rejection packet. 如申請專利範圍第7項所述的裝置,其中,該處理器更用以執行:響應於該候選設備項目對應的該設備參數包括該任務內容, 依據該設備語意資訊將該目標任務資訊轉換為一設備控制指令,並將該設備控制指令發送至該候選設備項目中;以及在接收到來自該候選設備項目的任務回應訊息時,發送任務回覆封包。 The device according to claim 7, wherein the processor is further configured to execute: in response to the equipment parameter corresponding to the candidate equipment item including the task content, Convert the target task information into a device control command according to the device semantic information, and send the device control command to the candidate device item; and send a task response packet when receiving a task response message from the candidate device item . 如申請專利範圍第6項所述的裝置,其中:該些設備的其中之一在接收到一設備控制指令時,執行該設備控制指令對應的一任務內容。 The device according to claim 6, wherein: when one of the devices receives a device control command, it executes a task content corresponding to the device control command. 如申請專利範圍第6項所述的裝置,更包括:一主控裝置,用以發送該通訊封包,以使該處理器通過該通訊裝置接收該通訊封包。 The device according to claim 6, further comprising: a main control device for sending the communication packet, so that the processor receives the communication packet through the communication device. 如申請專利範圍第12項所述的裝置,其中,在回覆該通訊封包的內容中還包括該候選設備資訊中的一成本資訊、一時間資訊以及一排程資訊中的至少一個,該主控裝置依據該成本資訊、該時間資訊以及該排程資訊中的至少一個判斷是否發送一任務委託封包至該處理器。 The device according to claim 12, wherein the content of replying to the communication packet further includes at least one of a cost information, a time information and a schedule information in the candidate equipment information, and the master The device determines whether to send a task delegation packet to the processor according to at least one of the cost information, the time information and the schedule information. 如申請專利範圍第12項所述的裝置,其中,該主控裝置還讀取一識別標籤,其中該識別標籤相應於一工件,該主控裝置依據該識別標籤對應的一歷程資訊決定該目標任務資訊。 The device according to claim 12, wherein the main control device further reads an identification label, wherein the identification label corresponds to a workpiece, and the main control device determines the target according to a history information corresponding to the identification label Mission information. 一種用於通訊任務解析的電腦可讀取記錄媒體,包括一電腦程式,當電腦載入該電腦程式執行後,可完成如請求項1所述之方法。A computer-readable recording medium for communication task analysis includes a computer program. After the computer loads the computer program and executes it, the method described in claim 1 can be completed.
TW108137539A 2019-10-17 2019-10-17 Communication task analysis method, device and computer readable recording medium TWI762824B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW108137539A TWI762824B (en) 2019-10-17 2019-10-17 Communication task analysis method, device and computer readable recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW108137539A TWI762824B (en) 2019-10-17 2019-10-17 Communication task analysis method, device and computer readable recording medium

Publications (2)

Publication Number Publication Date
TW202117579A TW202117579A (en) 2021-05-01
TWI762824B true TWI762824B (en) 2022-05-01

Family

ID=77020846

Family Applications (1)

Application Number Title Priority Date Filing Date
TW108137539A TWI762824B (en) 2019-10-17 2019-10-17 Communication task analysis method, device and computer readable recording medium

Country Status (1)

Country Link
TW (1) TWI762824B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI446402B (en) * 2005-12-21 2014-07-21 Globalfoundries Us Inc Enhanced state estimation based upon information credibility
TWI649646B (en) * 2013-10-14 2019-02-01 美商應用材料股份有限公司 Matching process controller for improved matching of processes, computer implemented methods, systems, and non-transitory machine readable storage media

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI446402B (en) * 2005-12-21 2014-07-21 Globalfoundries Us Inc Enhanced state estimation based upon information credibility
TWI649646B (en) * 2013-10-14 2019-02-01 美商應用材料股份有限公司 Matching process controller for improved matching of processes, computer implemented methods, systems, and non-transitory machine readable storage media

Also Published As

Publication number Publication date
TW202117579A (en) 2021-05-01

Similar Documents

Publication Publication Date Title
US11159606B2 (en) Lightweight IoT information model
JP7009563B2 (en) Prioritize resources and establish communication channels
CN108667807B (en) Protocol self-adaption method and system based on monitoring cloud platform and gateway
US8560713B2 (en) Method and system for mediating enterprise service access for smart devices
JP5319631B2 (en) Biological sample analysis system, method and computer program product
US20200351352A1 (en) Semantic Ontology-Based Internet Scale Communication Method of Machine Tools for Providing Remote Operational Services
KR101894389B1 (en) Method and apparatus for connecting between devices
US20170013064A1 (en) Automated opc connectivity
CN110995639A (en) Data transmission method
CN103488696A (en) Business query method, device and system of CPE (customer premises equipment), ACS (auto-configuration server) and CPE
TWI762824B (en) Communication task analysis method, device and computer readable recording medium
KR101258322B1 (en) Mobile communication terminal and method for contents processing thereof
US20180285092A1 (en) Software update intervention as a service for industrial control systems
JP4838096B2 (en) Home appliance communication control system
TW202024825A (en) Industrial internet of things system and data processing device thereof that comprises a communication module, a storage module that stores an identification data and a set of operation rules corresponding to the part, and a processing module
CN114900387A (en) Cross-platform fusion access method, system, gateway and storage medium of equipment
KR102302302B1 (en) Ultra-Small Disposable IoT Service Infrastructure
CN112445811A (en) Data service method, device, storage medium and component based on SQL configuration
JP6786014B1 (en) Communication systems, communication devices and programs
CN112567348B (en) Data processing apparatus, data processing method, and computer-readable storage medium
TWI551995B (en) Methods and systems for data transmission and acknowledgement between electronic devices, and related computer program products
JP2020149470A (en) Data management system and data management method
TW201737123A (en) Apparatus of using description file for actuation on internet of things
WO2020107328A1 (en) Method and device for acquiring data of data source associated with production line
CN114356958A (en) Equipment data query method and device, server and computer readable storage medium