TWI689186B - Data transmission and reception method - Google Patents

Data transmission and reception method Download PDF

Info

Publication number
TWI689186B
TWI689186B TW108112316A TW108112316A TWI689186B TW I689186 B TWI689186 B TW I689186B TW 108112316 A TW108112316 A TW 108112316A TW 108112316 A TW108112316 A TW 108112316A TW I689186 B TWI689186 B TW I689186B
Authority
TW
Taiwan
Prior art keywords
computer device
computer
target application
file
communication unit
Prior art date
Application number
TW108112316A
Other languages
Chinese (zh)
Other versions
TW202038586A (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 TW108112316A priority Critical patent/TWI689186B/en
Application granted granted Critical
Publication of TWI689186B publication Critical patent/TWI689186B/en
Publication of TW202038586A publication Critical patent/TW202038586A/en

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)
  • Computer And Data Communications (AREA)

Abstract

一種資料傳輸方法,包含以下步驟:(A)對於每一電腦裝置,電腦裝置從所執行的至少一應用程式中獲得目標應用程式;(B)對於每一電腦裝置,電腦裝置獲得目標應用程式對應的類型;(C)對於每一電腦裝置,電腦裝置產生並傳送包括目標應用程式對應的類型的通知訊息至通訊單元;(D)對於每一電腦裝置,在通訊單元接收到來自電腦裝置的通知訊息後,通訊單元根據所接收到的電腦裝置的該通知訊息所指示出的類型及通訊端查找表,獲得電腦裝置所對應的優先權;(E)通訊單元根據電腦裝置所對應的優先權,依序傳送電腦裝置所產生的封包至所對應的目標位址。A data transmission method includes the following steps: (A) for each computer device, the computer device obtains the target application program from at least one executed application program; (B) for each computer device, the computer device obtains the target application program correspondence (C) For each computer device, the computer device generates and sends a notification message including the corresponding type of the target application to the communication unit; (D) For each computer device, the notification from the computer device is received in the communication unit After the message, the communication unit obtains the priority corresponding to the computer device according to the type indicated by the received notification message of the computer device and the communication terminal look-up table; (E) the communication unit according to the priority corresponding to the computer device, Send the packets generated by the computer device to the corresponding target address in sequence.

Description

資料傳輸及接收方法Data transmission and reception method

本發明是有關於一種數位資訊之傳輸方法,特別是指一種應用於應用程式的資料傳輸及接收方法。The invention relates to a digital information transmission method, in particular to a data transmission and reception method applied to application programs.

隨著網路的不斷發展,網路的傳輸流量也越來越大,網路傳輸資料,常受限於網路品質服務(Quality of Service, QoS)及頻寬方面之限制,此等限制可引起資料傳輸中的延遲,而出現延時,當使用對延時敏感的應用程式(如線上遊戲)時,將帶給使用者不好的體驗。With the continuous development of the network, the transmission traffic of the network is also increasing. The data transmission on the network is often limited by the quality of service (QoS) and bandwidth limitations. These restrictions can be Delays occur in data transmission, and delays occur. When using delay-sensitive applications (such as online games), it will give users a bad experience.

電腦裝置係透過一路由器(Router)經由網際網路傳輸電腦裝置的封包,而為了帶給使用者良好的網路體驗,現有資料傳輸方式係由該路由器依據資料封包的服務種類、協定、或內容特徵進行分類,並賦予各類別優先權,以將優先權限較高的資料封包先行傳輸,減少優先權限較高的資料封包的延遲。The computer device transmits the packet of the computer device through the Internet through a router, and in order to bring the user a good network experience, the existing data transmission method is the router according to the service type, protocol, or content of the data packet Features are classified and priority is given to each category, so that data packets with higher priority rights are transmitted in advance, and the delay of data packets with higher priority rights is reduced.

然而,該路由器一一對資料封包進行分類,耗費運算資源,進而影響硬體效能。However, the router classifies data packets one by one, which consumes computing resources and affects hardware performance.

因此,本發明的目的,即在提供一種能將降低運算資源的資料傳輸方法。Therefore, the object of the present invention is to provide a data transmission method capable of reducing computing resources.

於是,本發明資料傳輸方法,由一系統執行,該系統包括多個電腦裝置及一電連接該等電腦裝置的通訊單元,每一電腦裝置執行至少一應用程式,每一應用程式對應一類型,該通訊單元連接一通訊網路,該等電腦裝置所產生的封包經由該通訊單元傳送至所對應的目標位址,且該通訊單元儲存一類型對優先權的通訊端查找表,該通訊端查找表包括多個相關於應用程式的類型及多個分別對應該等類型的優先權,該資料傳輸方法包含一步驟(A)、一步驟(B)、一步驟(C)、一步驟(D),及一步驟(E)。Therefore, the data transmission method of the present invention is executed by a system including a plurality of computer devices and a communication unit electrically connected to the computer devices. Each computer device executes at least one application program, and each application program corresponds to a type. The communication unit is connected to a communication network, and the packets generated by the computer devices are transmitted to the corresponding target address through the communication unit, and the communication unit stores a type of priority lookup table for the communication terminal. The communication terminal lookup table It includes multiple types related to application programs and multiple priorities corresponding to these types respectively. The data transmission method includes one step (A), one step (B), one step (C), and one step (D). And one step (E).

在該步驟(A)中,對於每一電腦裝置,該電腦裝置從該至少一應用程式中獲得一目標應用程式。In this step (A), for each computer device, the computer device obtains a target application program from the at least one application program.

在該步驟(B)中,對於每一電腦裝置,該電腦裝置獲得該目標應用程式對應的類型。In this step (B), for each computer device, the computer device obtains the type corresponding to the target application.

在該步驟(C)中,對於每一電腦裝置,該電腦裝置產生並傳送一包括該目標應用程式對應的類型的通知訊息至該通訊單元。In this step (C), for each computer device, the computer device generates and sends a notification message including the corresponding type of the target application to the communication unit.

在該步驟(D)中, 對於每一電腦裝置,在該通訊單元接收到來自該電腦裝置的該通知訊息後,該通訊單元根據該電腦裝置的該通知訊息所指示出的類型及該通訊端查找表,並獲得該電腦裝置所對應的優先權。In this step (D), for each computer device, after the communication unit receives the notification message from the computer device, the communication unit according to the type indicated by the notification message of the computer device and the communication terminal Look up the table and obtain the priority corresponding to the computer device.

在該步驟(E)中,該通訊單元根據該等電腦裝置所對應的優先權,依序傳送該等電腦裝置所產生的封包至所對應的目標位址。In this step (E), the communication unit sequentially transmits the packets generated by the computer devices to the corresponding target addresses according to the priorities corresponding to the computer devices.

本發明的另一目的,即在提供一種能將降低運算資源的資料接收方法。Another object of the present invention is to provide a data receiving method capable of reducing computing resources.

於是,本發明資料接收方法,由一系統執行,該系統包括多個電腦裝置及一電連接該等電腦裝置的通訊單元,每一電腦裝置執行至少一應用程式,每一應用程式對應一類型,該通訊單元連接一通訊網路,該等電腦裝置所產生的封包經由該通訊單元傳送至該通訊網路,且該通訊單元儲存一類型對優先權的通訊端查找表,該通訊端查找表包括多個相關於應用程式的類型及多個分別對應該等類型的優先權,該資料接收方法包含一步驟(A)、一步驟(B)、一步驟(C)、一步驟(D),及一步驟(E)。Therefore, the data receiving method of the present invention is executed by a system including a plurality of computer devices and a communication unit electrically connected to the computer devices. Each computer device executes at least one application program, and each application program corresponds to a type. The communication unit is connected to a communication network, the packets generated by the computer devices are transmitted to the communication network through the communication unit, and the communication unit stores a type of priority lookup table for the communication terminal, the communication terminal lookup table includes a plurality of Regarding the type of application and multiple priorities corresponding to these types respectively, the data receiving method includes a step (A), a step (B), a step (C), a step (D), and a step (E).

在該步驟(A)中,對於每一電腦裝置,該電腦裝置從該至少一應用程式中獲得一目標應用程式。In this step (A), for each computer device, the computer device obtains a target application program from the at least one application program.

在該步驟(B)中,對於每一電腦裝置,該電腦裝置獲得該目標應用程式對應的類型。In this step (B), for each computer device, the computer device obtains the type corresponding to the target application.

在該步驟(C)中,對於每一電腦裝置,該電腦裝置產生並傳送一包括該目標應用程式對應的類型的通知訊息至該通訊單元。In this step (C), for each computer device, the computer device generates and sends a notification message including the corresponding type of the target application to the communication unit.

在該步驟(D)中, 對於每一電腦裝置,在該通訊單元接收到來自該電腦裝置的該通知訊息後,該通訊單元根據該電腦裝置的該通知訊息所指示出的類型及該通訊端查找表,並獲得該電腦裝置所對應的優先權。In this step (D), for each computer device, after the communication unit receives the notification message from the computer device, the communication unit according to the type indicated by the notification message of the computer device and the communication terminal Look up the table and obtain the priority corresponding to the computer device.

在該步驟(E)中,經由該通訊網路接收多個相關於該等電腦裝置的封包,並根據該等電腦裝置所對應的優先權,依序傳送該等封包至該等電腦裝置。In this step (E), a plurality of packets related to the computer devices are received through the communication network, and the packets are sequentially transmitted to the computer devices according to the priorities corresponding to the computer devices.

本發明之功效在於:藉由該通訊單元根據該等電腦裝置所對應的優先權,依序傳送該等電腦裝置所產生的封包至所對應的目標位址,或依序傳送所接收的封包至該等電腦裝置,該通訊單元不需要一一對封包進行分類,以降低運算資源。The effect of the present invention is that the communication unit sequentially transmits the packets generated by the computer devices to the corresponding target address according to the priorities corresponding to the computer devices, or sequentially transmits the received packets to For such computer devices, the communication unit does not require one-to-one packet classification to reduce computing resources.

在本發明被詳細描述前,應當注意在以下的說明內容中,類似的元件是以相同的編號來表示。Before the present invention is described in detail, it should be noted that in the following description, similar elements are denoted by the same number.

參閱圖1,說明用來實施本發明資料傳輸及接收方法之一實施例的一系統,該系統包括多個電腦裝置11及一電連接該等電腦裝置11的通訊單元12,每一電腦裝置11執行至少一應用程式,每一應用程式對應一類型,該通訊單元12經由該通訊網路100連接一伺服器13,該等電腦裝置11所產生的封包經由該通訊單元12傳送至所對應的目標位址,且該通訊單元12儲存一類型對優先權的通訊端查找表,該通訊端查找表包括多個相關於應用程式的類型及多個分別對應該等類型的優先權。在本實施例中,該通訊端查找表包括的該等類型例如但不限於遊戲、媒體串流、檔案傳輸,該等電腦裝置11例如但不限於桌上型電腦、筆記型電腦,或平板電腦,該通訊單元12例如但不限於路由器(router)。值得注意的是,每一封包例如包括一網際網路協定位址(Internet Protocol Address, IP Address),該通訊單元12係根據封包的網際網路協定位址傳送封包至所對應的目標位址。Referring to FIG. 1, a system for implementing an embodiment of the data transmission and reception method of the present invention is described. The system includes a plurality of computer devices 11 and a communication unit 12 electrically connected to the computer devices 11, each computer device 11 Execute at least one application program, each application program corresponds to a type, the communication unit 12 is connected to a server 13 via the communication network 100, and the packets generated by the computer devices 11 are transmitted to the corresponding target bit through the communication unit 12 Address, and the communication unit 12 stores a type of priority lookup table for the communication terminal. The lookup table for the communication terminal includes a plurality of types related to application programs and a plurality of priorities corresponding to the types. In this embodiment, the communication terminal look-up table includes the types such as but not limited to games, media streaming, and file transmission. The computer devices 11 such as but not limited to desktop computers, notebook computers, or tablet computers The communication unit 12 is, for example but not limited to, a router. It is worth noting that each packet includes, for example, an Internet Protocol Address (Internet Protocol Address, IP Address). The communication unit 12 transmits the packet to the corresponding target address according to the packet's Internet Protocol address.

對於每一電腦裝置11,該電腦裝置11儲存有一使用端檔案屬性對類型的電腦端查找表,該電腦端查找表包括多個電腦端檔案屬性及多個分別對應該等電腦端檔案屬性的類型,該電腦裝置11執行多個應用程式,每一應用程式包括一檔案屬性,每一檔案屬性包括檔案名稱、數位簽章、檔案大小、檔案路徑、檔案描述、檔案版本、產品名稱、產品版本、公司名稱,及著作權之其中至少一者。For each computer device 11, the computer device 11 stores a computer-side look-up table of user-end file attribute pair types, the computer-side look-up table includes multiple computer-side file attributes and multiple types corresponding to the computer-side file attributes, respectively , The computer device 11 executes multiple applications, each application includes a file attribute, each file attribute includes file name, digital signature, file size, file path, file description, file version, product name, product version, At least one of company name and copyright.

該通訊單元12儲存儲存一類型對優先權的通訊端查找表,該通訊端查找表包括多個相關於應用程式的類型及多個分別對應該等類型的優先權。The communication unit 12 stores and stores a type of priority lookup table for the communication terminal. The lookup table for the communication terminal includes a plurality of types related to application programs and a plurality of priorities corresponding to the types.

該伺服器13儲存一伺服端檔案屬性對類型的伺服端查找表,該伺服端查找表包括多個伺服端檔案屬性及多個分別對應該等伺服端檔案屬性的類型。The server 13 stores a server-side file attribute pair type server-side lookup table, which includes a plurality of server-side file attributes and a plurality of types corresponding to the server-side file attributes, respectively.

本發明資料傳輸及接收方法之該實施例包含一資料傳輸程序及一資料接收程序。The embodiment of the data transmission and reception method of the present invention includes a data transmission procedure and a data reception procedure.

參閱圖1、圖2及圖3,該資料傳輸程序包含以下步驟。Referring to FIG. 1, FIG. 2 and FIG. 3, the data transmission procedure includes the following steps.

在步驟201中,對於每一電腦裝置11,該電腦裝置11獲得每一應用程式在前景(foreground)的視窗順序。值得注意的是,在本實施例中,該電腦裝置11若在Windows作業系統下例如是以GetWindow函式或GetForegroundWindow函式獲得每一應用程式在前景的視窗順序,但不以此為限。In step 201, for each computer device 11, the computer device 11 obtains the window order of each application in the foreground. It is worth noting that, in this embodiment, if the computer device 11 is in the Windows operating system, for example, the GetWindow function or GetForegroundWindow function is used to obtain the window order of each application in the foreground, but not limited to this.

在步驟202中,對於每一電腦裝置11,該電腦裝置11將視窗順序最上層之應用程式作為一目標應用程式。In step 202, for each computer device 11, the computer device 11 uses the application program at the top of the window sequence as a target application program.

舉例來說,該電腦裝置11執行3個應用程式,該等應用程式分別在前景對應一視窗301、一視窗302,一視窗303(如圖4),則在最上層的該視窗301對應的應用程式的為該目標應用程式。For example, the computer device 11 executes three application programs, which correspond to a window 301, a window 302, and a window 303 in the foreground, respectively, and the application corresponding to the window 301 in the uppermost layer The program is the target application.

值得注意的是,在本實施例中,該電腦裝置是根據應用程式在前景的視窗順序決定目標應用程式,在其他實施方式中亦可以其他方式決定目標應用程式,不以此為限。It is worth noting that in this embodiment, the computer device determines the target application according to the window order of the application in the foreground. In other embodiments, the target application can also be determined in other ways, which is not limited thereto.

在步驟203中,對於每一電腦裝置11,該電腦裝置11判定該目標應用程式的檔案屬性在該電腦端查找表中的該等電腦端檔案屬性是否存在一匹配。當該電腦裝置11判定出該目標應用程式的檔案屬性在該電腦端查找表中的該等電腦端檔案屬性存在一匹配時,流程進行步驟204;而當該電腦裝置11判定出該目標應用程式的檔案屬性在該電腦端查找表中的該等電腦端檔案屬性不存在一匹配時,流程進行步驟205。In step 203, for each computer device 11, the computer device 11 determines whether there is a match between the file attributes of the target application program in the computer-side file attributes in the computer-side lookup table. When the computer device 11 determines that there is a match between the file attributes of the target application in the computer-side file attributes in the computer-side lookup table, the process proceeds to step 204; and when the computer device 11 determines the target application If there is no match between the file attributes of the computer-side file attributes in the computer-side lookup table, the process proceeds to step 205.

在步驟204中,對於每一判定出該目標應用程式的檔案屬性在該電腦端查找表中的該等電腦端檔案屬性存在一匹配的電腦裝置11,該電腦裝置11獲得該目標應用程式的檔案屬性對應的類型,以作為該目標應用程式對應的類型。In step 204, for each of the computer-side file attributes in the computer-side lookup table for which the file attribute of the target application is determined to exist, there is a matching computer device 11 that obtains the file of the target application The type corresponding to the attribute is used as the type corresponding to the target application.

在步驟205中,對於每一判定出該目標應用程式的檔案屬性在該電腦端查找表中的該等電腦端檔案屬性不存在一匹配的電腦裝置11,該電腦裝置11產生並經由該通訊單元12傳送一包括該目標應用程式的檔案屬性的查詢請求至該伺服器13。In step 205, for each of the computer-side file attributes in the computer-side look-up table for which it is determined that the file attributes of the target application do not have a matching computer device 11, the computer device 11 is generated and passed through the communication unit 12 Send a query request including the file attributes of the target application to the server 13.

在步驟206中,對於每一查詢請求,在經由該通訊網路100接收到該查詢請求後,該伺服器13判定該查詢請求的該目標應用程式的檔案屬性與該伺服端查找表中的該等伺服端檔案屬性是否存在一匹配。當該伺服器13判定出該查詢請求的該目標應用程式的檔案屬性與該伺服端查找表中的該等伺服端檔案屬性存在一匹配時,流程進行步驟207;而當該電腦裝置11判定出該查詢請求的該目標應用程式的檔案屬性與該伺服端查找表中的該等伺服端檔案屬性不存在一匹配時,流程進行步驟209。In step 206, for each query request, after receiving the query request via the communication network 100, the server 13 determines the file attributes of the target application of the query request and the Whether there is a match in the server-side file attributes. When the server 13 determines that there is a match between the file attributes of the target application of the query request and the server-side file attributes in the server-side lookup table, the flow proceeds to step 207; and when the computer device 11 determines When there is no match between the file attributes of the target application in the query request and the server-side file attributes in the server-side lookup table, the process proceeds to step 209.

在步驟207中,對於每一該目標應用程式的檔案屬性與該伺服端查找表中的該等伺服端檔案屬性存在一匹配的查詢請求,該伺服器13產生並經由該通訊網路100傳送一包括該目標應用程式的檔案屬性對應的類型的查詢回覆至該查詢請求對應的電腦裝置11。In step 207, there is a matching query request for each of the file attributes of the target application and the server-side file attributes in the server-side lookup table. The server 13 generates and transmits a The query of the type corresponding to the file attribute of the target application is returned to the computer device 11 corresponding to the query request.

在步驟208中,對於每一經由該通訊單元12收到來自該伺服器13之查詢回覆的電腦裝置11,該電腦裝置11根據該查詢回覆獲得該目標應用程式對應的類型。In step 208, for each computer device 11 that receives a query reply from the server 13 via the communication unit 12, the computer device 11 obtains the corresponding type of the target application according to the query reply.

在步驟209中,對於每一該目標應用程式的檔案屬性與該伺服端查找表中的該等伺服端檔案屬性不存在一匹配的查詢請求,該伺服器13產生並經由該通訊網路100傳送一相關於該查詢請求的該使用端應用程式的錯誤訊息至該查詢請求對應的電腦裝置11。In step 209, for each file attribute of the target application program and the server-side file attribute in the server-side lookup table, there is no matching query request, the server 13 generates and transmits a through the communication network 100 The error message of the user terminal application related to the query request is sent to the computer device 11 corresponding to the query request.

在步驟210中,對於每一經由該通訊單元12收到來自該伺服器13之錯誤訊息的電腦裝置11,該電腦裝置11根據該錯誤訊息產生並顯示一相關於該錯誤訊息所相關的目標應用程式的輸入請求,以致該電腦裝置11的使用者根據該輸入請求直接輸入一類型,以產生指示出該目標應用程式所對應之類型之一輸入訊號。In step 210, for each computer device 11 that receives an error message from the server 13 via the communication unit 12, the computer device 11 generates and displays a target application related to the error message according to the error message The input request of the program causes the user of the computer device 11 to directly input a type according to the input request to generate an input signal indicating the type corresponding to the target application.

在步驟211中,對於每一收到輸入訊號的電腦裝置11,該電腦裝置11,根據該輸入訊號獲得該目標應用程式對應的類型。In step 211, for each computer device 11 that receives the input signal, the computer device 11 obtains the type corresponding to the target application according to the input signal.

在步驟208或步驟211之後的步驟212中,對於每一獲得該目標應用程式對應的類型的電腦裝置11,該電腦裝置11根據在步驟208或步驟211所獲得的類型,更新該使用端查找表。In step 212 after step 208 or step 211, for each computer device 11 of the type corresponding to the target application, the computer device 11 updates the user end lookup table according to the type obtained in step 208 or step 211 .

要特別注意的,在本實施例中,每一電腦裝置11儲存的該使用端查找表所儲存的該等檔案屬性少於該伺服器13儲存的該伺服端查找表的該等檔案屬性,每一使用端查找表可僅包括常用或已使用過的使用端應用程式的檔案屬性,以減少每一使用端查找表所占用之儲存空間,並對於每一判定出該使用端查找表不存在一匹配的電腦裝置11,該伺服器13回傳的該查詢回覆更新該使用端查找表,而當該伺服端判定出該伺服端查找表不存在一匹配時,更可讓使用者自行定義類型。It should be particularly noted that in this embodiment, the file attributes stored in the user-side lookup table stored by each computer device 11 are less than the file attributes stored in the server-side lookup table stored by the server 13, each A user-side lookup table may only include file attributes of commonly used or used user-side applications, to reduce the storage space occupied by each user-side lookup table, and for each determination that the user-side lookup table does not exist The matching computer device 11, the query reply returned by the server 13 updates the user-side lookup table, and when the server determines that there is no match in the server-side lookup table, the user can further define the type.

在步驟213中,對於每一電腦裝置11,該電腦裝置11產生並傳送一包括該目標應用程式對應的類型的通知訊息至該通訊單元12。In step 213, for each computer device 11, the computer device 11 generates and transmits a notification message including the corresponding type of the target application to the communication unit 12.

在步驟214中,對於每一電腦裝置11,在該通訊單元12接收到來自該電腦裝置11的該通知訊息後,該通訊單元12根據該電腦裝置11的該通知訊息所指示出的類型及該通訊端查找表,獲得該電腦裝置11所對應的優先權。In step 214, for each computer device 11, after the communication unit 12 receives the notification message from the computer device 11, the communication unit 12 according to the type indicated by the notification message of the computer device 11 and the The communication terminal looks up the table to obtain the priority corresponding to the computer device 11.

在步驟215中,該通訊單元12根據該等電腦裝置11所對應的優先權,依序傳送該等電腦裝置11所產生的封包至所對應的目標位址。In step 215, the communication unit 12 sequentially transmits the packets generated by the computer devices 11 to the corresponding target addresses according to the priorities corresponding to the computer devices 11.

在一實施方式中,假設該通訊單元12的該通訊端查找表中類型為遊戲對應的優先權為高,類型為媒體串流對應的優先權為中,類型為檔案傳輸對應的優先權為低,有一台電腦裝置11最上層的目標應用程式對應的類型為媒體串流,則在該通訊單元12接收到該電腦裝置11的通知訊息後,該電腦裝置11在該通訊裝置的優先權為中,而當該電腦裝置11開啟類型為遊戲的應用程式,使得類型為遊戲的應用程式為最上層的目標應用程式,在該通訊單元12接收到該電腦裝置11的最新的通知訊息後,該電腦裝置11在該通訊裝置的優先權為高。In one embodiment, it is assumed that in the communication terminal lookup table of the communication unit 12, the priority corresponding to the game type is high, the priority corresponding to the media stream type is medium, and the priority corresponding to the file transmission type is low , There is a computer device 11 corresponding to the top layer of the target application type is media streaming, then after the communication unit 12 receives the notification message of the computer device 11, the computer device 11 has priority in the communication device , And when the computer device 11 opens an application of type game, making the application of type game the uppermost target application, after the communication unit 12 receives the latest notification message of the computer device 11, the computer The priority of the device 11 in the communication device is high.

值得注意的是,在本實施例中,步驟213係在步驟212之後,在其他實施方式中,步驟213亦可在步驟212之前執行,即步驟211在步驟步驟204、步驟208或步驟211之後執行,不以此為限。It is worth noting that in this embodiment, step 213 is after step 212. In other embodiments, step 213 can also be performed before step 212, that is, step 211 is performed after step 204, step 208, or step 211 , Not limited to this.

參閱圖1、圖5及圖6,該資料接收程序包含步驟401~步驟415,其中步驟401~步驟414與該資料傳輸程序的步驟201~步驟214(如圖2、圖3)相同,其不同之處僅在於:在步驟415中,該通訊單元12經由該通訊網路100接收多個相關於該等電腦裝置11的封包,並根據該等電腦裝置11所對應的優先權,依序傳送該等封包至該等電腦裝置11。Referring to FIG. 1, FIG. 5 and FIG. 6, the data receiving procedure includes steps 401 to 415, wherein steps 401 to 414 are the same as steps 201 to 214 (see FIGS. 2 and 3) of the data transmission procedure, and they are different The only thing is that: in step 415, the communication unit 12 receives a plurality of packets related to the computer devices 11 via the communication network 100, and sequentially transmits the packets according to the priorities corresponding to the computer devices 11封包to the computer devices 11.

綜上所述,本發明資料傳輸及接收方法,藉由每一電腦裝置11獲得所執行的該目標端應用程式所對應的類型,使得該通訊單元12根據該等目標端應用程式所對應的類型獲得該等電腦裝置11所對應的優先權,並根據該等電腦裝置11所對應的優先權,依序傳送該等電腦裝置11所產生的封包至所對應的目標位址,或依序傳送所接收的封包至該等電腦裝置11,該通訊單元12不需要一一對封包進行分類,以降低運算資源,且保證每一電腦裝置11的所有封包皆會有一致性的優先權,故確實能達成本發明的目的。In summary, in the data transmission and reception method of the present invention, each computer device 11 obtains the type corresponding to the target application executed, so that the communication unit 12 is based on the type corresponding to the target application Obtain the priority corresponding to the computer devices 11, and according to the priority corresponding to the computer devices 11, sequentially send the packets generated by the computer devices 11 to the corresponding target address, or sequentially send the The received packets are sent to the computer devices 11, the communication unit 12 does not need to classify the packets one by one, so as to reduce computing resources, and to ensure that all packets of each computer device 11 will have a consistent priority, so it can To achieve the purpose of cost invention.

惟以上所述者,僅為本發明的實施例而已,當不能以此限定本發明實施的範圍,凡是依本發明申請專利範圍及專利說明書內容所作的簡單的等效變化與修飾,皆仍屬本發明專利涵蓋的範圍內。However, the above are only examples of the present invention, and the scope of implementation of the present invention cannot be limited by this, any simple equivalent changes and modifications made according to the scope of the patent application of the present invention and the content of the patent specification are still classified as Within the scope of the invention patent.

11:電腦裝置11: Computer device

12:通訊單元12: Communication unit

13:伺服器13: Server

100:通訊網路100: communication network

201~215:步驟201~215: steps

301~303:視窗301~303: Windows

401~415:步驟401~415: steps

本發明的其他的特徵及功效,將於參照圖式的實施方式中清楚地呈現,其中: 圖1一方塊圖,示例地繪示一用來實施本發明資料傳輸及接收方法之一實施例的系統; 圖2是一流程圖,說明該實施例的一資料傳輸程序; 圖3是一流程圖,輔助說明圖2的該資料傳輸程序; 圖4是一示意圖,輔助說明該資料傳輸程序的步驟202; 圖5是一流程圖,說明該實施例的一資料接收程序;及 圖6是一流程圖,輔助說明圖5的該資料傳輸程序。 Other features and functions of the present invention will be clearly presented in the embodiments with reference to the drawings, in which: FIG. 1 is a block diagram exemplarily showing a system for implementing an embodiment of the data transmission and reception method of the present invention; FIG. 2 is a flowchart illustrating a data transmission procedure of this embodiment; FIG. 3 is a flowchart to assist in explaining the data transmission procedure of FIG. 2; FIG. 4 is a schematic diagram illustrating step 202 of the data transmission procedure; FIG. 5 is a flowchart illustrating a data receiving procedure of this embodiment; and FIG. 6 is a flowchart to assist in explaining the data transmission procedure of FIG. 5.

201~212:步驟 201~212: steps

Claims (6)

一種資料傳輸方法,由一系統執行,該系統包括多個電腦裝置及一電連接該等電腦裝置的通訊單元,每一電腦裝置執行至少一應用程式,每一應用程式對應一類型並包括一檔案屬性,該通訊單元連接一通訊網路並經由該通訊網路連接一伺服器,該等電腦裝置所產生的封包經由該通訊單元傳送至所對應的目標位址,且該通訊單元儲存一類型對優先權的通訊端查找表,該通訊端查找表包括多個相關於應用程式的類型及多個分別對應該等類型的優先權,每一電腦裝置儲存有一電腦端檔案屬性對類型的電腦端查找表,該電腦端查找表包括多個電腦端檔案屬性及多個分別對應該等電腦端檔案屬性的類型,該資料傳輸方法包含以下步驟:(A)對於每一電腦裝置,藉由該電腦裝置,從該至少一應用程式中獲得一目標應用程式;(B)對於每一電腦裝置,藉由該電腦裝置,至少根據該目標應用程式的檔案屬性及該電腦端查找表,獲得該目標應用程式對應的類型;(C)對於每一電腦裝置,藉由該電腦裝置,產生並傳送一包括該目標應用程式對應的類型的通知訊息至該通訊單元;(D)對於每一電腦裝置,在該通訊單元接收到來自該電腦裝置的該通知訊息後,藉由該通訊單元,根據該電腦裝置的該通知訊息所指示出的類型及該通訊端查找表,獲 得該電腦裝置所對應的優先權;及(E)藉由該通訊單元,根據該等電腦裝置所對應的優先權,依序傳送該等電腦裝置所產生的封包至所對應的目標位址;其中,步驟(B)包括以下子步驟:(B-1)對於每一電腦裝置,藉由該電腦裝置,判定該目標應用程式的檔案屬性在該電腦端查找表中的該等電腦端檔案屬性是否存在一匹配,(B-2)對於每一判定出該目標應用程式的檔案屬性在該電腦端查找表中的該等電腦端檔案屬性存在一匹配的電腦裝置,藉由該電腦裝置,獲得該目標應用程式的檔案屬性對應的類型,以作為該目標應用程式對應的類型,(B-3)對於每一判定出該目標應用程式的檔案屬性在該電腦端查找表中的該等電腦端檔案屬性不存在一匹配的電腦裝置,藉由該電腦裝置,產生並經由該通訊單元傳送一包括該目標應用程式的檔案屬性的查詢請求至該伺服器,以致該伺服器根據該查詢請求來決定傳送一包括該目標應用程式的檔案屬性對應的類型的查詢回覆及一相關於該目標應用程式的錯誤訊息之其中一者至該電腦裝置,(B-4)對於每一收到來自該伺服器之查詢回覆的電腦裝置,藉由該電腦裝置,根據該查詢回覆獲得該目標應用程式對應的類型, (B-5)對於每一收到來自該伺服器之錯誤訊息的電腦裝置,藉由該電腦裝置,根據該錯誤訊息產生並顯示一相關於該錯誤訊息所相關的目標應用程式的輸入請求,以及(B-6)對於每一收到經由使用者輸入且指示出該目標應用程式所對應之類型之一輸入訊號的電腦裝置,藉由該電腦裝置,根據該輸入訊號獲得該目標應用程式對應的類型。 A data transmission method executed by a system including a plurality of computer devices and a communication unit electrically connected to the computer devices, each computer device executes at least one application program, each application program corresponds to a type and includes a file Attribute, the communication unit is connected to a communication network and a server via the communication network, the packets generated by the computer devices are transmitted to the corresponding target address through the communication unit, and the communication unit stores a type of priority The communication terminal look-up table includes multiple types related to applications and multiple priorities corresponding to these types. Each computer device stores a computer-side file attribute pair type computer-side look-up table. The computer-side look-up table includes a plurality of computer-side file attributes and a plurality of types corresponding to the computer-side file attributes, respectively. The data transmission method includes the following steps: (A) For each computer device, by the computer device, from Obtaining a target application from the at least one application; (B) for each computer device, by the computer device, at least according to the file attributes of the target application and the computer-side look-up table, obtain the corresponding target application Type; (C) For each computer device, the computer device generates and transmits a notification message including the corresponding type of the target application to the communication unit; (D) For each computer device, the communication unit After receiving the notification message from the computer device, through the communication unit, according to the type indicated by the notification message of the computer device and the communication terminal look-up table, Obtain the priority corresponding to the computer device; and (E) through the communication unit, according to the priority corresponding to the computer device, sequentially send the packets generated by the computer device to the corresponding target address; Wherein, step (B) includes the following sub-steps: (B-1) For each computer device, the computer device determines the file attributes of the target application in the computer-side file attributes in the computer-side lookup table Whether there is a match, (B-2) for each of the computer-side file attributes in the computer-side look-up table for which it is determined that the file attributes of the target application have a matching computer device, the computer device obtains The type corresponding to the file attribute of the target application as the type corresponding to the target application, (B-3) for each computer end in the look-up table of the computer side for each file attribute of the target application determined There is no matching computer device for the file attribute. The computer device generates and sends a query request including the file attribute of the target application to the server through the communication unit, so that the server determines the query request according to the query request. Send one of a query response including the type of file attribute corresponding to the target application and an error message related to the target application to the computer device, (B-4) for each received from the server The computer device of the query reply, the computer device obtains the corresponding type of the target application according to the query reply, (B-5) For each computer device that receives an error message from the server, the computer device generates and displays an input request related to the target application related to the error message based on the error message, And (B-6) For each computer device that receives an input signal input by the user and indicates the type corresponding to the target application, the computer device obtains the target application correspondence according to the input signal type. 如請求項1所述的資料傳輸方法,其中,步驟(A)包括以下子步驟:(A-1)對於每一電腦裝置,藉由該電腦裝置,獲得每一應用程式在前景的視窗順序;及(A-2)對於每一電腦裝置,藉由該電腦裝置,將視窗順序最上層之應用程式作為該目標應用程式。 The data transmission method according to claim 1, wherein step (A) includes the following sub-steps: (A-1) For each computer device, the computer device obtains the window order of each application in the foreground; And (A-2) For each computer device, the application program at the top of the window sequence is used as the target application program by the computer device. 如請求項1所述的資料傳輸方法,其中,每一檔案屬性包括檔案名稱、數位簽章、檔案大小、檔案路徑、檔案描述、檔案版本、產品名稱、產品版本、公司名稱,及著作權之其中至少一者。 The data transmission method as described in claim 1, wherein each file attribute includes file name, digital signature, file size, file path, file description, file version, product name, product version, company name, and copyright At least one. 一種資料接收方法,由一系統執行,該系統包括多個電腦裝置及一電連接該等電腦裝置的通訊單元,每一電腦裝置執行至少一應用程式,每一應用程式對應一類型並包括一檔案屬性,該通訊單元連接一通訊網路並經由該通訊網路連接一伺服器,該等電腦裝置所產生的封包經由該通訊單元傳送至該通訊網路,且該通訊單元儲存一類型對優先權 的通訊端查找表,該通訊端查找表包括多個相關於應用程式的類型及多個分別對應該等類型的優先權,每一電腦裝置儲存有一電腦端檔案屬性對類型的電腦端查找表,該電腦端查找表包括多個電腦端檔案屬性及多個分別對應該等電腦端檔案屬性的類型,該資料接收方法包含以下步驟:(A)對於每一電腦裝置,藉由該電腦裝置,從該至少一應用程式中獲得一目標應用程式;(B)對於每一電腦裝置,藉由該電腦裝置,至少根據該目標應用程式的檔案屬性及該電腦端查找表,獲得該目標應用程式對應的類型;(C)對於每一電腦裝置,藉由該電腦裝置,產生並傳送一包括該目標應用程式對應的類型的通知訊息至該通訊單元;(D)對於每一電腦裝置,在該通訊單元接收到來自該電腦裝置的該通知訊息後,藉由該通訊單元,根據該電腦裝置的該通知訊息所指示出的類型及該通訊端查找表,獲得該等電腦裝置所對應的優先權;及(E)藉由該通訊單元,經由該通訊網路接收多個相關於該等電腦裝置的封包,並根據該等電腦裝置所對應的優先權,依序傳送該等封包至該等電腦裝置;其中,步驟(B)包括以下子步驟:(B-1)對於每一電腦裝置,藉由該電腦裝置,判定該目標應用程式的檔案屬性在該電腦端查找表中的該 等電腦端檔案屬性是否存在一匹配,(B-2)對於每一判定出該目標應用程式的檔案屬性在該電腦端查找表中的該等電腦端檔案屬性存在一匹配的電腦裝置,藉由該電腦裝置,獲得該目標應用程式的檔案屬性對應的類型,以作為該目標應用程式對應的類型,(B-3)對於每一判定出該目標應用程式的檔案屬性在該電腦端查找表中的該等電腦端檔案屬性不存在一匹配的電腦裝置,藉由該電腦裝置,產生並經由該通訊單元傳送一包括該目標應用程式的檔案屬性的查詢請求至該伺服器,以致該伺服器根據該查詢請求來決定傳送一包括該目標應用程式的檔案屬性對應的類型的查詢回覆及一相關於該目標應用程式的錯誤訊息之其中一者至該電腦裝置,(B-4)對於每一收到來自該伺服器之查詢回覆的電腦裝置,藉由該電腦裝置根據獲得該查詢回覆的類型獲得該目標應用程式對應的類型,(B-5)對於每一收到來自該伺服器之錯誤訊息的電腦裝置,藉由該電腦裝置根據該錯誤訊息產生並顯示一相關於該錯誤訊息所相關的目標應用程式的輸入請求,以及(B-6)對於每一收到經由使用者輸入且指示出該目標應用程式所對應之類型之一輸入訊號的電腦裝置,藉由該電腦裝置根據該輸入訊號獲得該錯誤訊息 所相關的目標應用程式對應的類型。 A data receiving method is executed by a system including a plurality of computer devices and a communication unit electrically connected to the computer devices, each computer device executes at least one application program, each application program corresponds to a type and includes a file Attribute, the communication unit is connected to a communication network and a server via the communication network, packets generated by the computer devices are transmitted to the communication network through the communication unit, and the communication unit stores a type of priority The communication terminal look-up table includes multiple types related to applications and multiple priorities corresponding to these types. Each computer device stores a computer-side file attribute pair type computer-side look-up table. The computer-side look-up table includes a plurality of computer-side file attributes and a plurality of types corresponding to the computer-side file attributes, respectively. The data receiving method includes the following steps: (A) For each computer device, by the computer device, from Obtaining a target application from the at least one application; (B) for each computer device, by the computer device, at least according to the file attributes of the target application and the computer-side look-up table, obtain the corresponding target application Type; (C) For each computer device, the computer device generates and transmits a notification message including the corresponding type of the target application to the communication unit; (D) For each computer device, the communication unit After receiving the notification message from the computer device, through the communication unit, according to the type indicated by the notification message of the computer device and the communication terminal look-up table, obtain the priority corresponding to the computer device; and (E) through the communication unit, receive a plurality of packets related to the computer devices through the communication network, and sequentially transmit the packets to the computer devices according to the priority corresponding to the computer devices; , Step (B) includes the following sub-steps: (B-1) For each computer device, the computer device determines the file attributes of the target application in the look-up table on the computer If there is a match between the computer-side file attributes, (B-2) for each computer-side file attribute in the computer-side lookup table that determines that the target application's file attributes are in the computer-side file attribute, by The computer device obtains the type corresponding to the file attribute of the target application as the type corresponding to the target application, (B-3) for each determined file attribute of the target application in the lookup table on the computer side There is no matching computer device for the file attributes of the computer side. The computer device generates and sends a query request including the file attribute of the target application to the server through the communication unit, so that the server The query request determines to send to the computer device one of a query reply including the type corresponding to the file attribute of the target application and an error message related to the target application, (B-4) To the computer device that received the query reply from the server, the computer device obtains the type corresponding to the target application according to the type of the query reply obtained, (B-5) For each error message received from the server The computer device generates and displays an input request related to the target application related to the error message by the computer device according to the error message, and (B-6) A computer device with an input signal of one of the types corresponding to the target application, the computer device obtains the error message according to the input signal The corresponding type of the target application. 如請求項4所述的資料接收方法,其中,步驟(A)包括以下子步驟:(A-1)對於每一電腦裝置,藉由該電腦裝置,獲得每一應用程式在前景的視窗順序;及(A-2)對於每一電腦裝置,藉由該電腦裝置,將視窗順序最上層之應用程式作為該目標應用程式。 The data receiving method according to claim 4, wherein step (A) includes the following sub-steps: (A-1) For each computer device, by using the computer device, the window order of each application in the foreground is obtained; And (A-2) For each computer device, the application program at the top of the window sequence is used as the target application program by the computer device. 如請求項4所述的資料接收方法,其中,每一檔案屬性包括檔案名稱、數位簽章、檔案大小、檔案路徑、檔案描述、檔案版本、產品名稱、產品版本、公司名稱,及著作權之其中至少一者。 The data receiving method as described in claim 4, wherein each file attribute includes file name, digital signature, file size, file path, file description, file version, product name, product version, company name, and copyright At least one.
TW108112316A 2019-04-09 2019-04-09 Data transmission and reception method TWI689186B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW108112316A TWI689186B (en) 2019-04-09 2019-04-09 Data transmission and reception method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW108112316A TWI689186B (en) 2019-04-09 2019-04-09 Data transmission and reception method

Publications (2)

Publication Number Publication Date
TWI689186B true TWI689186B (en) 2020-03-21
TW202038586A TW202038586A (en) 2020-10-16

Family

ID=70767369

Family Applications (1)

Application Number Title Priority Date Filing Date
TW108112316A TWI689186B (en) 2019-04-09 2019-04-09 Data transmission and reception method

Country Status (1)

Country Link
TW (1) TWI689186B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200506646A (en) * 2003-06-30 2005-02-16 Microsoft Corp Network load balancing with host status information
US20060200456A1 (en) * 2005-03-02 2006-09-07 Xiv Ltd. System, method and circuit for responding to a client data service request
EP1767034B1 (en) * 2004-06-18 2011-08-17 TynTec Ltd. Method for obtaining cross-network accessible information on a mobile communications system
CN104781795A (en) * 2012-11-13 2015-07-15 亚马逊技术股份有限公司 Dynamic selection of storage tiers
US20180329599A1 (en) * 2017-05-15 2018-11-15 Microsoft Technology Licensing, Llc Application specific adaption of user input assignments for input devices

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200506646A (en) * 2003-06-30 2005-02-16 Microsoft Corp Network load balancing with host status information
EP1767034B1 (en) * 2004-06-18 2011-08-17 TynTec Ltd. Method for obtaining cross-network accessible information on a mobile communications system
US20060200456A1 (en) * 2005-03-02 2006-09-07 Xiv Ltd. System, method and circuit for responding to a client data service request
CN104781795A (en) * 2012-11-13 2015-07-15 亚马逊技术股份有限公司 Dynamic selection of storage tiers
US20180329599A1 (en) * 2017-05-15 2018-11-15 Microsoft Technology Licensing, Llc Application specific adaption of user input assignments for input devices

Also Published As

Publication number Publication date
TW202038586A (en) 2020-10-16

Similar Documents

Publication Publication Date Title
US8913613B2 (en) Method and system for classification and management of inter-blade network traffic in a blade server
US10749763B2 (en) Reliable address discovery cache
US8634415B2 (en) Method and system for routing network traffic for a blade server
US20150117199A1 (en) Multi-Level iSCSI QoS for Target Differentiated Data in DCB Networks
US20120207039A1 (en) Method and system for validating network traffic classification in a blade server
WO2018195803A1 (en) Packet processing method and related device
US10374946B2 (en) Centralized wireless network management system
US10153986B2 (en) Port monitoring system
CN112383600A (en) Information processing method and device, computer readable medium and electronic equipment
US20220012110A1 (en) Networking-related system call interception and modification
US8166160B2 (en) System and method for flexible classifcation of traffic types
US20150049604A1 (en) Efficient In-Band Communication of Quality-Of-Service Policies Between Virtual Classification Devices and Enforcement Devices
TWI689186B (en) Data transmission and reception method
WO2023125380A1 (en) Data management method and corresponding apparatus
US9667540B2 (en) Fiber channel over ethernet (FCoE) frame forwarding system
US11805050B2 (en) Systems and methods to filter out noisy application signatures to improve precision of first packet application classification
TWI691184B (en) Data transmission and reception method
US10862849B2 (en) Address resolution system
US9497088B2 (en) Method and system for end-to-end classification of level 7 application flows in networking endpoints and devices
WO2016106557A1 (en) Method and apparatus for sending video
TWI690174B (en) Data transmission and reception method
US20220263729A1 (en) Method and apparatus for network resource management
US11979323B2 (en) System and method for programming packet forwarding hardware
US11909646B2 (en) Controlling network throughput using application-level throttling
TWI713333B (en) Data transmission and reception methods