TWI690174B - Data transmission and reception method - Google Patents
Data transmission and reception method Download PDFInfo
- Publication number
- TWI690174B TWI690174B TW108112317A TW108112317A TWI690174B TW I690174 B TWI690174 B TW I690174B TW 108112317 A TW108112317 A TW 108112317A TW 108112317 A TW108112317 A TW 108112317A TW I690174 B TWI690174 B TW I690174B
- Authority
- TW
- Taiwan
- Prior art keywords
- application
- data transmission
- computer device
- priority
- window
- Prior art date
Links
Images
Landscapes
- Communication Control (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
一種資料傳輸方法,由一電腦裝置執行,該電腦裝置執行多個應用程式,該電腦裝置電連接一連接一通訊網路的通訊單元,該資料傳輸方法包含以下步驟:(A)獲得每一應用程式在前景的視窗順序;(B)對於每一應用程式,根據該應用程式對應的視窗順序,獲得一對應的優先權;及(C)根據每一應用程式所對應的優先權,依序傳送每一應用程式所產生的封包至該通訊單元。此外,本發明亦提供一種資料接收方法。A data transmission method is executed by a computer device which executes multiple application programs. The computer device is electrically connected to a communication unit connected to a communication network. The data transmission method includes the following steps: (A) obtaining each application program Window order in the foreground; (B) For each application, according to the window order corresponding to the application, obtain a corresponding priority; and (C) According to the priority corresponding to each application, send each A packet generated by an application program is sent to the communication unit. In addition, the invention also provides a data receiving method.
Description
本發明是有關於一種數位資訊之傳輸方法,特別是指一種應用於應用程式的資料傳輸及接收方法。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 reception, and delays occur. When using delay-sensitive applications (such as online games), it will bring users a bad experience.
為了帶給使用者良好的網路體驗,現有資料傳輸與接收方式係根據不同的資料封包的傳輸要求提供不同的傳輸與接收服務,依據資料封包的服務種類、協定、或內容特徵進行分類,並賦予各類別優先權,以將優先權限較高的資料封包先行傳輸與接收,減少優先權限較高的資料封包的延遲。In order to bring users a good network experience, existing data transmission and reception methods provide different transmission and reception services according to different data packet transmission requirements, and classify according to the type of data packet service, agreement, or content characteristics, and Priority is given to each category to transmit and receive data packets with higher priority permissions in advance, reducing the delay of data packets with higher priority permissions.
然而,依據資料封包的服務種類、協定、或內容特徵進行分類無法保證使用者當前所使用的應用程式所相關的資料封包的優先權一致,因此現有的資料傳輸與接收方式依舊無法保證應用程式不會出現延時。However, classification based on the type of service, agreement, or content characteristics of the data package cannot guarantee the same priority of the data package related to the application currently used by the user, so the existing data transmission and reception methods still cannot guarantee that the application does not There will be a delay.
因此,本發明的目的,即在提供一種每一應用程式的所有的封包皆有相同優先權的資料傳輸方法。Therefore, the object of the present invention is to provide a data transmission method in which all packets of each application have the same priority.
於是,本發明資料傳輸方法,由一電腦裝置執行,該電腦裝置執行多個應用程式,該電腦裝置電連接一連接一通訊網路的通訊單元,該資料傳輸方法包含一步驟(A)、一步驟(B),及一步驟(C)。Therefore, the data transmission method of the present invention is executed by a computer device that executes multiple application programs, the computer device is electrically connected to a communication unit connected to a communication network, and the data transmission method includes a step (A) and a step (B), and one step (C).
在該步驟(A)中,該電腦裝置獲得每一應用程式在前景的視窗順序。In this step (A), the computer device obtains the window order of each application in the foreground.
在該步驟(B)中,對於每一應用程式,該電腦裝置根據該應用程式對應的視窗順序,獲得一對應的優先權。In this step (B), for each application, the computer device obtains a corresponding priority according to the window order corresponding to the application.
在該步驟(C)中,該電腦裝置根據每一應用程式所對應的優先權,依序傳送每一應用程式所產生的封包至該通訊單元。In this step (C), the computer device sequentially transmits the packets generated by each application to the communication unit according to the priority corresponding to each 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),及一步驟(C)。Therefore, the data receiving method of the present invention is executed by a computer device that executes multiple application programs, the computer device is electrically connected to a communication unit connected to a communication network, and the data transmission method includes a step (A) and a step (B), and one step (C).
在該步驟(A)中,該電腦裝置獲得每一應用程式在前景的視窗順序。In this step (A), the computer device obtains the window order of each application in the foreground.
在該步驟(B)中,對於每一應用程式,該電腦裝置根據該應用程式對應的視窗順序,獲得一對應的優先權。In this step (B), for each application, the computer device obtains a corresponding priority according to the window order corresponding to the application.
在該步驟(C)中,該電腦裝置根據每一應用程式所對應的優先權,經由該通訊單元依序接收每一應用程式所相關的封包。In this step (C), the computer device sequentially receives the packets related to each application program via the communication unit according to the priority corresponding to each application program.
本發明之功效在於:藉由該電腦裝置獲得每一使用端應用程式所對應的優先權,並根據每一使用端應用程式所對應的優先依序傳送或接收每一使用端應用程式所對應的封包,以保證每一應用程式的所有封包皆會有一致性的優先權。The effect of the present invention is to obtain the priority corresponding to each user application through the computer device, and to sequentially transmit or receive the corresponding corresponding to each user application according to the priority corresponding to each user application Packets to ensure that all packets of each application will have a consistent priority.
在本發明被詳細描述前,應當注意在以下的說明內容中,類似的元件是以相同的編號來表示。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電連接一連接一通訊網路100的通訊單元12,該通訊單元12經由該通訊網路100。在本實施例中,該電腦裝置11例如但不限於桌上型電腦、筆記型電腦,或平板電腦,該通訊單元12例如但不限於路由器(router)。Referring to FIG. 1, a
本發明資料傳輸及接收方法之該實施例包含一資料傳輸程序及一資料接收程序。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,該資料傳輸程序包含以下步驟。Referring to FIGS. 1 and 2, the data transmission procedure includes the following steps.
在步驟201中,該電腦裝置11獲得每一應用程式在前景(foreground)的視窗順序。值得注意的是,在本實施例中,該電腦裝置11若在Windows作業系統下例如是以GetWindow函式或GetForegroundWindow函式獲得每一應用程式在前景的視窗順序,但不以此為限。In
在步驟202中,對於每一應用程式,該電腦裝置11根據該應用程式對應的視窗順序,獲得一對應的優先權。值得注意的是,在本實施例中,視窗順序越上層之應用程式對應的優先權越高,因此,視窗順序最上層之應用程式對應的優先權為最高,但不以此為限。In
舉例來說,該電腦裝置11執行3個應用程式,該等應用程式分別在前景對應一視窗301、一視窗302,一視窗303(如圖3),則在最上層的該視窗301對應的應用程式的優先權為最高,在中間的該視窗302對應的應用程式的優先權為中,在最下層的該視窗303對應的應用程式的優先權為低。For example, the
在步驟203中,該電腦裝置11根據每一應用程式所對應的優先權,依序傳送每一應用程式所產生的封包至該通訊單元12。In
參閱圖1及圖4,該資料接收程序包含以下步驟。Referring to FIGS. 1 and 4, the data receiving procedure includes the following steps.
在步驟401中,該電腦裝置11獲得每一應用程式在前景的視窗順序。In
在步驟402中,對於每一應用程式,該電腦裝置11根據該應用程式對應的視窗順序,獲得一對應的優先權。In
在步驟403中,該電腦裝置11根據每一應用程式所對應的優先權,經由該通訊單元12依序接收每一應用程式所相關的封包。In
綜上所述,本發明資料傳輸及接收方法,藉由該電腦裝置11根據在前景的視窗順序獲得每一應用程式所對應的優先權,並根據每一應用程式所對應的優先依序傳送或接收每一使用端應用程式所對應的封包,以保證每一應用程式的所有封包皆會有一致性的優先權,此外,該通訊單元12不需要根據封包內容進行分類,提高該通訊單元12的硬體效能及傳輸與接收的速度,故確實能達成本發明的目的。In summary, in the data transmission and reception method of the present invention, the
惟以上所述者,僅為本發明的實施例而已,當不能以此限定本發明實施的範圍,凡是依本發明申請專利範圍及專利說明書內容所作的簡單的等效變化與修飾,皆仍屬本發明專利涵蓋的範圍內。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
100:通訊網路100: communication network
201~203:步驟201~203: steps
301~303:視窗301~303: Windows
401~403:步驟401~403: steps
本發明的其他的特徵及功效,將於參照圖式的實施方式中清楚地呈現,其中:
圖1一方塊圖,示例地繪示一用來實施本發明資料傳輸及接收方法之一實施例的電腦系統;
圖2是一流程圖,說明該實施例的一資料傳輸程序;
圖3是一示意圖,輔助說明該資料傳輸程序的步驟202;及
圖4是一流程圖,說明該實施例的一資料接收程序。
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 computer 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 schematic
201~203:步驟 201~203: steps
Claims (4)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW108112317A TWI690174B (en) | 2019-04-09 | 2019-04-09 | Data transmission and reception method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW108112317A TWI690174B (en) | 2019-04-09 | 2019-04-09 | Data transmission and reception method |
Publications (2)
Publication Number | Publication Date |
---|---|
TWI690174B true TWI690174B (en) | 2020-04-01 |
TW202038588A TW202038588A (en) | 2020-10-16 |
Family
ID=71134655
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW108112317A TWI690174B (en) | 2019-04-09 | 2019-04-09 | Data transmission and reception method |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI690174B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080301577A1 (en) * | 2007-05-31 | 2008-12-04 | Ntt Docomo, Inc. | Information processing device and computer readable medium |
US20130305184A1 (en) * | 2012-05-11 | 2013-11-14 | Samsung Electronics Co., Ltd. | Multiple window providing apparatus and method |
TW201504922A (en) * | 2011-02-21 | 2015-02-01 | Apple Inc | Managing workspaces in a user interface |
TW201601059A (en) * | 2014-06-23 | 2016-01-01 | 緯創資通股份有限公司 | Methods for screen sharing and apparatuses using the same |
WO2017167126A1 (en) * | 2016-03-31 | 2017-10-05 | 阿里巴巴集团控股有限公司 | Window display method, information exchange method and system |
-
2019
- 2019-04-09 TW TW108112317A patent/TWI690174B/en active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080301577A1 (en) * | 2007-05-31 | 2008-12-04 | Ntt Docomo, Inc. | Information processing device and computer readable medium |
EP1998250B1 (en) * | 2007-05-31 | 2017-04-26 | NTT DoCoMo, Inc. | Information processing device and program |
TW201504922A (en) * | 2011-02-21 | 2015-02-01 | Apple Inc | Managing workspaces in a user interface |
US20130305184A1 (en) * | 2012-05-11 | 2013-11-14 | Samsung Electronics Co., Ltd. | Multiple window providing apparatus and method |
TW201601059A (en) * | 2014-06-23 | 2016-01-01 | 緯創資通股份有限公司 | Methods for screen sharing and apparatuses using the same |
WO2017167126A1 (en) * | 2016-03-31 | 2017-10-05 | 阿里巴巴集团控股有限公司 | Window display method, information exchange method and system |
Also Published As
Publication number | Publication date |
---|---|
TW202038588A (en) | 2020-10-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20190190808A1 (en) | Bidirectional data traffic control | |
US10148492B2 (en) | Data center bridging network configuration and management | |
WO2020007202A1 (en) | Data transmission method, device and system | |
US9634944B2 (en) | Multi-level iSCSI QoS for target differentiated data in DCB networks | |
US10701582B2 (en) | Dynamic application QoS profile provisioning | |
WO2019119837A1 (en) | Service identification method and device, and network device | |
CN111131450A (en) | File uploading method, file recombining method and file recombining device | |
US11350307B2 (en) | Systems and methods of transmitting data over a communication network using quality of service tagging | |
US9059921B2 (en) | Method, network, and computer product for flow based quality of service | |
TWI487349B (en) | Bandwidth virtualization | |
WO2015096680A1 (en) | Node distribution method and control center | |
WO2019085741A1 (en) | Uplink data packet resource allocation method and user terminal | |
US10382339B2 (en) | Large scale bandwidth management of IP flows using a hierarchy of traffic shaping devices | |
WO2019071995A1 (en) | Content distribution method, device and system | |
US9143580B2 (en) | Brokering and provisioning in high-speed networks | |
TWI423129B (en) | Pipeline network device and related data transmission method | |
CN104363187A (en) | Gateway resource response method and gateway resource response device for internet of things | |
TWI690174B (en) | Data transmission and reception method | |
JP5306381B2 (en) | ALM distribution tree construction device, ALM distribution tree construction method, program, and integrated circuit | |
EP3518577B1 (en) | Network access entity for providing access to a communication network | |
US9900251B1 (en) | Bandwidth sentinel | |
TWI592035B (en) | Wireless network transmission method and system | |
TWI713333B (en) | Data transmission and reception methods | |
EP3518576A1 (en) | Data flow manager for distributing data for a data stream of a user equipment, communication system and method | |
US20180367446A1 (en) | Dual network interface implementation in multipath networking |