TW202038587A - Data transmission and receiving method wherein all packets of each application program have the same priority - Google Patents
Data transmission and receiving method wherein all packets of each application program have the same priority Download PDFInfo
- Publication number
- TW202038587A TW202038587A TW108112318A TW108112318A TW202038587A TW 202038587 A TW202038587 A TW 202038587A TW 108112318 A TW108112318 A TW 108112318A TW 108112318 A TW108112318 A TW 108112318A TW 202038587 A TW202038587 A TW 202038587A
- Authority
- TW
- Taiwan
- Prior art keywords
- client application
- file
- client
- priority
- file attributes
- Prior art date
Links
Images
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
Description
本發明是有關於一種數位資訊之傳輸方法,特別是指一種應用於應用程式的資料傳輸及接收方法。The present invention relates to a method for transmitting digital information, in particular to a method for transmitting and receiving data applied to applications.
隨著網路的不斷發展,網路的傳輸流量也越來越大,網路傳輸資料,常受限於網路品質服務(Quality of Service, QoS)及頻寬方面之限制,此等限制可引起資料傳輸與接收中的延遲,而出現延時,當使用對延時敏感的應用程式(如線上遊戲)時,將帶給使用者不好的體驗。With the continuous development of the network, the transmission traffic of the network is also increasing. The transmission of data on the network is often limited by the limitations of the quality of service (QoS) and bandwidth. These restrictions can It causes delays in data transmission and reception, and delays occur. When using delay-sensitive applications (such as online games), it will bring a bad experience to users.
為了帶給使用者良好的網路體驗,現有資料傳輸與接收方式係根據不同的資料封包的傳輸要求提供不同的傳輸與接收服務,其係路由器(router)依據資料封包的服務種類、協定、或內容特徵進行分類,並賦予各類別優先權,以將優先權限較高的資料封包先行傳輸與接收,減少優先權限較高的資料封包的延遲。In order to provide users with a good network experience, the existing data transmission and reception methods provide different transmission and reception services according to the transmission requirements of different data packets. The router is based on the type of service, protocol, or protocol of the data packet. The content features are classified, and priority is given to each category, so that data packets with higher priority rights are transmitted and received first, and the delay of data packets with higher priority rights is reduced.
然而,依據資料封包的服務種類、協定、或內容特徵進行分類無法保證使用者當前所使用的應用程式所相關的資料封包的優先權一致,因此現有的資料傳輸與接收方式依舊無法保證應用程式不會出現延時。However, classifying data packets based on the type of service, agreement, or content characteristics of the data packet cannot guarantee that the priority of the data packet related to the application currently used by the user is consistent. Therefore, the existing data transmission and reception methods still cannot guarantee that the application does not There will be a delay.
因此,本發明的目的,即在提供一種每一應用程式的所有的封包皆有相同優先權的資料傳輸方法。Therefore, the purpose of the present invention is to provide a data transmission method in which all packets of each application have the same priority.
於是,本發明資料傳輸方法,由一電腦裝置執行,該電腦裝置執行多個使用端應用程式,每一使用端應用程式包括一檔案屬性,該電腦裝置電連接一連接一通訊網路的通訊單元,且該電腦裝置儲存一使用端檔案屬性對優先權的查找表,該查找表包括多個使用端檔案屬性及多個分別對應該等使用端檔案屬性的優先權,該資料傳輸方法包含一步驟(A)及一步驟(B)。Therefore, the data transmission method of the present invention is executed by a computer device that executes a plurality of client application programs, each client application program includes a file attribute, and the computer device is electrically connected to a communication unit connected to a communication network, And the computer device stores a look-up table for the priority of user-side file attributes, the look-up table includes a plurality of user-side file attributes and a plurality of priorities respectively corresponding to the user-side file attributes, the data transmission method includes a step ( A) and one step (B).
在該步驟(A)中,對於每一使用端應用程式,該電腦裝置至少根據該使用端應用程式的檔案屬性及該查找表,獲得該使用端應用程式所對應的優先權。In this step (A), for each client application, the computer device obtains the priority corresponding to the client application at least according to the file attributes of the client application and the lookup table.
在該步驟(B)中,該電腦裝置根據每一使用端應用程式所對應的優先權,依序傳送每一使用端應用程式所產生的封包至該通訊單元。In this step (B), the computer device sequentially transmits the packets generated by each client application to the communication unit according to the priority corresponding to each client application.
本發明的另一目的,即在提供一種每一應用程式的所有的封包皆有相同優先權的資料接收方法。Another object of the present invention is to provide a data receiving method in which all packets of each application have the same priority.
於是,本發明資料接收方法,由一電腦裝置執行,該電腦裝置執行多個使用端應用程式,每一使用端應用程式包括一檔案屬性,該電腦裝置電連接一連接一通訊網路的通訊單元,且該電腦裝置儲存一使用端檔案屬性對優先權的查找表,該查找表包括多個使用端檔案屬性及多個分別對應該等使用端檔案屬性的優先權,該資料接收方法包含一步驟(A)及一步驟(B)。Therefore, the data receiving method of the present invention is executed by a computer device that executes a plurality of client application programs, each client application program includes a file attribute, and the computer device is electrically connected to a communication unit connected to a communication network, And the computer device stores a look-up table for the priority of the client file attributes. The look-up table includes a plurality of client file attributes and a plurality of priorities corresponding to the client file attributes. The data receiving method includes a step ( A) and one step (B).
在該步驟(A)中,對於每一使用端應用程式,該電腦裝置至少根據該使用端應用程式的檔案屬性及該查找表,獲得該使用端應用程式所對應的優先權。In this step (A), for each client application, the computer device obtains the priority corresponding to the client application at least according to the file attributes of the client application and the lookup table.
在該步驟(B)中,該電腦裝置根據每一使用端應用程式所對應的優先權,經由該通訊單元依序接收每一使用端應用程式所相關的封包。In the step (B), the computer device sequentially receives packets related to each client application through the communication unit according to the priority corresponding to each client application.
本發明之功效在於:藉由該電腦裝置獲得每一使用端應用程式所對應的優先權,並根據每一使用端應用程式所對應的優先依序傳送或接收每一使用端應用程式所對應的封包,以保證每一應用程式的所有封包皆會有一致性的優先權。The effect of the present invention is to obtain the priority corresponding to each client application by the computer device, and send or receive the corresponding priority of each client application in sequence according to the priority corresponding to each client application Packets to ensure that all packets of each application have consistent priority.
在本發明被詳細描述前,應當注意在以下的說明內容中,類似的元件是以相同的編號來表示。Before the present invention is described in detail, it should be noted that in the following description, similar elements are represented by the same numbers.
參閱圖1,說明用來實施本發明資料傳輸及接收方法之一實施例的一電腦裝置11,該電腦裝置11電連接一連接一通訊網路100的通訊單元12,該通訊單元12經由該通訊網路100連接一伺服器13。在本實施例中,該電腦裝置11例如但不限於桌上型電腦、筆記型電腦,或平板電腦,該通訊單元12例如但不限於路由器(router)。1, a
該電腦裝置11執行多個使用端應用程式,每一使用端應用程式包括一檔案屬性,每一檔案屬性包括檔案名稱、數位簽章、檔案大小、檔案路徑、檔案描述、檔案版本、產品名稱、產品版本、公司名稱,及著作權之其中至少一者。該電腦裝置11儲存一使用端檔案屬性對優先權的使用端查找表,該使用端查找表包括多個使用端檔案屬性及多個分別對應該等使用端檔案屬性的優先權。The
該伺服器13儲存一伺服端檔案屬性對優先權的伺服端查找表,該伺服端查找表包括多個伺服端檔案屬性及多個分別對應該等伺服端檔案屬性的優先權。The
本發明資料傳輸及接收方法之該實施例包含一資料傳輸程序及一資料接收程序。The embodiment of the data transmission and reception method of the present invention includes a data transmission process and a data reception process.
參閱圖1及圖2,該資料傳輸程序包含以下步驟。Referring to Figure 1 and Figure 2, the data transmission procedure includes the following steps.
在步驟201中,對於每一使用端應用程式,該電腦裝置11判定該使用端應用程式的檔案屬性與該使用端查找表中的該等使用端檔案屬性是否存在一匹配。當該電腦裝置11判定出該使用端應用程式的檔案屬性與該使用端查找表中的該等使用端檔案屬性存在一匹配時,流程進行步驟202;而當該電腦裝置11判定出該使用端應用程式的檔案屬性與該使用端查找表中的該等使用端檔案屬性不存在一匹配時,流程進行步驟203。In
在步驟202中,該電腦裝置11獲得該使用端檔案屬性對應的優先權,以作為該使用端應用程式對應的優先權。In
在步驟203中,該電腦裝置11產生並經由該通訊單元12傳送一包括該使用端應用程式的檔案屬性的查詢請求至該伺服器13。In
在步驟204中,在經由該通訊網路100接收到該查詢請求後,該伺服器13判定該查詢請求的該使用端應用程式的檔案屬性與該伺服端查找表中的該等伺服端檔案屬性是否存在一匹配。當該伺服器13判定出該查詢請求的該使用端應用程式的檔案屬性與該伺服端查找表中的該等伺服端檔案屬性存在一匹配時,流程進行步驟205;而當該電腦裝置11判定出該查詢請求的該使用端應用程式的檔案屬性與該伺服端查找表中的該等伺服端檔案屬性不存在一匹配時,流程進行步驟207。In
在步驟205中,該伺服器13產生並經由該通訊網路100傳送一包括該查詢請求的該使用端應用程式的檔案屬性對應的優先權的查詢回覆至該電腦裝置11。In step 205, the
在步驟206中,在經由該通訊單元12接收到該查詢回覆後,該電腦裝置11獲得該查詢回覆的優先權,以作為該查詢回覆的該使用端應用程式對應的優先權。In
在步驟207中,該伺服器13產生並經由該通訊網路100傳送一相關於該查詢請求的該使用端應用程式的錯誤訊息至該電腦裝置11。In
在步驟208中,在經由該通訊單元12接收到該錯誤訊息後,該電腦裝置11根據該錯誤訊息產生並顯示一相關於該錯誤訊息所相關的使用端應用程式的輸入請求,以致該電腦裝置11的使用者根據該輸入請求直接輸入一優先權,以產生一輸入訊號。In step 208, after receiving the error message via the
在步驟209中,在接收到該輸入訊號後,該電腦裝置11根據該輸入訊號獲得該錯誤訊息所相關的使用端應用程式對應的優先權。In
在步驟206或步驟209之後的步驟210中,該電腦裝置11根據在步驟206或步驟209所獲得的優先權,更新該使用端查找表。In
要特別注意的,在本實施例中,該電腦裝置11儲存的該使用端查找表所儲存的該等檔案屬性少於該伺服器13儲存的該伺服端查找表的該等檔案屬性,該使用端查找表可僅包括常用或已使用過的使用端應用程式的檔案屬性,以減少該使用端查找表所占用之儲存空間,並在該電腦裝置11判定出該使用端查找表不存在一匹配時,以該伺服器13回傳的該查詢回覆更新該使用端查找表,而當該伺服端判定出該伺服端查找表不存在一匹配時,更可讓該使用者自行定義優先權。It should be noted that in this embodiment, the file attributes stored in the user-side look-up table stored by the
在步驟202或步驟210之後的步驟211中,該電腦裝置11根據每一使用端應用程式所對應的優先權,依序傳送每一使用端應用程式所產生的封包至該通訊單元12。In
值得注意的是,在本實施例中,步驟211係在步驟210之後,在其他實施方式中,步驟211亦可在步驟210之前執行,即步驟211在步驟步驟202、步驟206或步驟209之後執行,不以此為限。It is worth noting that in this embodiment,
參閱圖1及圖3,該資料接收程序包含步驟301~步驟311,其中步驟301~步驟310與該資料傳輸程序的步驟201~步驟210(如圖2)相同,其不同之處僅在於:在步驟311中,該電腦裝置11根據每一使用端應用程式所對應的優先權,經由該通訊單元12依序接收每一使用端應用程式所相關的封包。1 and 3, the data receiving procedure includes
綜上所述,本發明資料傳輸及接收方法,藉由該電腦裝置11獲得每一使用端應用程式所對應的優先權,並根據每一使用端應用程式所對應的優先依序傳送或接收每一使用端應用程式所對應的封包,以保證每一應用程式的所有封包皆會有一致性的優先權,此外,該通訊單元12不需要根據封包內容進行分類,提高該通訊單元12的硬體效能及傳輸與接收的速度,故確實能達成本發明的目的。To sum up, the data transmission and receiving method of the present invention obtains the priority corresponding to each client application through the
惟以上所述者,僅為本發明的實施例而已,當不能以此限定本發明實施的範圍,凡是依本發明申請專利範圍及專利說明書內容所作的簡單的等效變化與修飾,皆仍屬本發明專利涵蓋的範圍內。However, the above are only examples of the present invention. When the scope of implementation of the present invention cannot be limited by this, all simple equivalent changes and modifications made in accordance with the scope of the patent application of the present invention and the content of the patent specification still belong to Within the scope of the patent for the present invention.
11:電腦裝置
12:通訊單元
13:伺服器
100:通訊網路
201~211:步驟
301~311:步驟
11: Computer device
12: Communication unit
13: server
100:
本發明的其他的特徵及功效,將於參照圖式的實施方式中清楚地呈現,其中: 圖1一方塊圖,示例地繪示一用來實施本發明資料傳輸及接收方法之一實施例的電腦系統; 圖2是一流程圖,說明該實施例的一資料傳輸程序;及 圖3是一流程圖,說明該實施例的一資料接收程序。Other features and effects of the present invention will be clearly presented in the embodiments with reference to the drawings, in which: FIG. 1 is a block diagram illustrating a computer system used to implement an embodiment of the data transmission and reception method of the present invention; Figure 2 is a flowchart illustrating a data transmission procedure of the embodiment; and Fig. 3 is a flowchart illustrating a data receiving procedure of this embodiment.
201~211:步驟 201~211: Steps
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW108112318A TWI691184B (en) | 2019-04-09 | 2019-04-09 | Data transmission and reception method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW108112318A TWI691184B (en) | 2019-04-09 | 2019-04-09 | Data transmission and reception method |
Publications (2)
Publication Number | Publication Date |
---|---|
TWI691184B TWI691184B (en) | 2020-04-11 |
TW202038587A true TW202038587A (en) | 2020-10-16 |
Family
ID=71134640
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW108112318A TWI691184B (en) | 2019-04-09 | 2019-04-09 | Data transmission and reception method |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI691184B (en) |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4491273B2 (en) * | 2004-05-10 | 2010-06-30 | 株式会社日立製作所 | Storage system, file access control program, and file access control method |
US20130254661A1 (en) * | 2012-03-22 | 2013-09-26 | Htc Corporation | Systems and methods for providing access to media content |
US9104413B2 (en) * | 2012-11-05 | 2015-08-11 | Qualcomm Incorporated | System and method for dynamic memory power management |
TWI604375B (en) * | 2014-06-23 | 2017-11-01 | 緯創資通股份有限公司 | Methods for screen sharing and apparatuses using the same |
CN105577708A (en) * | 2014-10-09 | 2016-05-11 | 财团法人资讯工业策进会 | Heterogeneous storage server and file storage method thereof |
-
2019
- 2019-04-09 TW TW108112318A patent/TWI691184B/en active
Also Published As
Publication number | Publication date |
---|---|
TWI691184B (en) | 2020-04-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10659354B2 (en) | Processing data packets using a policy based network path | |
US20180205976A1 (en) | Method and apparatus of obtaining video fragment | |
US10587544B2 (en) | Message processing method, processing server, terminal, and storage medium | |
US9300733B2 (en) | System and/or method for client-driven server load distribution | |
US8635345B2 (en) | Network scoring system and method | |
CN104836821B (en) | A kind of network accelerating method based on router device, device and equipment | |
US9753794B2 (en) | Method and apparatus for controlling sending of heartbeat signal | |
US11025738B2 (en) | Systems and methods for determining a destination location for transmission of packetized data in a network system based on an application server attribute | |
WO2021051747A1 (en) | Data update method, system and device, electronic device, and computer storage medium | |
US10771372B2 (en) | Transmitting test traffic on a communication link | |
WO2023005701A1 (en) | Data communication method and apparatus, electronic device, and storage medium | |
CN112383600A (en) | Information processing method and device, computer readable medium and electronic equipment | |
WO2016197727A1 (en) | Data transmission method and device | |
WO2019201072A1 (en) | Cdn service scheduling processing method and cdn server | |
WO2018233190A1 (en) | Media segment downloading method, terminal, and computer readable storage medium | |
US20220012110A1 (en) | Networking-related system call interception and modification | |
WO2018018490A1 (en) | Access distribution method, device and system | |
US8924520B2 (en) | Method, remote access server and system for configuring a quality of service parameter | |
TWI691184B (en) | Data transmission and reception method | |
CN104780591B (en) | Business interoperability implementation method, device, system and relevant device between terminal device | |
WO2014117515A1 (en) | Method, system, and rcs-e server for determining terminal state | |
TWI689186B (en) | Data transmission and reception method | |
WO2016197637A1 (en) | Method for implementing remote access, alljoyn gateway proxy, cloud server and mobile device | |
US10270889B2 (en) | Enhanced protocol conversion in a telecommunications network for providing services having improved quality of service | |
WO2022237428A1 (en) | Method and apparatus for processing network request information, and device and storage medium |