1. Field of the Invention
Methods and apparatuses consistent with the present invention relate to a data transmission, and more particularly, to a data transmission method and apparatus in a communication environment in which network and/or hardware characteristics are changed.
2. Description of the Related Art
Accompanying the development of communication technology, various kinds of wired/wireless communication services and associated communication standards, which support multimedia communication, exist. In particular, increases in data rates have resulted in an increase of real-time audio and video streaming services through wired/wireless communication. For real-time streaming services, a technique enabling a user to listen to the music or view video in a seamless manner is most important. In particular, when a communication environment is changed, the importance of a data transmission method for seamless communication between a sender and a receiver is emphasized.
In
In
Data loss or inefficiency of data transmission may occur in a case of not only the handover between heterogeneous networks illustrated in
Besides the network characteristic information, hardware characteristic information of a sender and/or a receiver may also affect data communication. If the sender continuously transmits data without considering that a mobile terminal of the receiver cannot process data due to a change in an available resource of hardware such as Central Processing Unit (CPU) or memory, the mobile terminal of the receiver cannot receive the data normally.
Exemplary embodiments of the present invention provides a data transmission method and apparatus for guaranteeing Quality of Service (QoS) of data regardless of a change in a communication environment, which can occur during data transmission. The present invention also provides a computer readable recording medium storing a computer readable program for executing the method.
According to an aspect of the present invention, there is provided a method for transmitting data from a first device to a second device, the method comprising detecting information on a communication environment of the first device; receiving information on a communication environment of the second device from the second device; and adjusting the QoS of the data transmission in an application layer based on at least one of the information on the communication environment of the first device and the information on the communication environment of the second device.
The data may be scalable coded audio or video data.
The adjusting of the QoS may comprise adjusting scalability of the audio or video data based on at least one of the information on the communication environment of the first device and the information on the communication environment of the second device.
According to an aspect of the present invention, there is provided an apparatus for transmitting data of a first device to a second device, the apparatus comprising a characteristic information detector detecting information on a communication environment of the first device; a characteristic information receiver receiving information on a communication environment of the second device from the second device; a determiner determining based on at least one of the information on the communication environment of the first device and the information on the communication environment of the second device, which are provided by the characteristic information receiver, whether adjustment of the QoS of the data transmission is necessary; and a QoS adjuster adjusting the QoS of the data transmission in an application layer according to the determination result of the determiner.
The data may be scalable coded audio or video data.
Scalability of the audio or video data may be adjusted.
According to another aspect of the present invention, there is provided a computer readable recording medium storing a computer readable program for executing the method.
The present invention provides a data transmission method and apparatus for guaranteeing Quality of Service (QoS) of data regardless of a change in a communication environment, which can occur during data transmission. The present invention also provides a computer readable recording medium storing a computer readable program for executing the method.
As described above, according to the present invention, when a sender transmits data to a receiver, the QoS of data transmission can be adjusted by considering communication environments of the sender and the receiver, and thus stable data transmission can be achieved.
The sender can reduce hardware resources required for the data transmission by adjusting scalability of data to be transmitted and a data rate based on information on network and/or hardware characteristics. In addition, the receiver can be guaranteed QoS by receiving the data optimized and transmitted according to the network and/or hardware characteristic information.
The above and other features and aspects of the present invention will become more apparent by describing in detail exemplary embodiments thereof with reference to the attached drawings in which:
In
The network characteristic information includes information on a kind of network used for the data communication of the first device 31 or the second device 32 and information on a bandwidth available in the network. A change in the network characteristic information may occur when the first device 31 and/or the second device 32 performs a handover to a heterogeneous/homogeneous network.
As illustrated in
The network characteristic may be changed even in the same network without handover, and in this case, an increase or decrease of the number of users and an increase or decrease of BER in the same network are elements which can change the network characteristic.
A change in a hardware characteristic may also affect the data communication between the first device 31 and the second device 32. The hardware characteristic information includes information on hardware resources available in the first device 31 or the second device 32, i.e., information on a CPU speed and a memory size. For example, if an available CPU or memory resource of the second device 32 for data reception is decreased due to another task besides the data reception, the second device 32 may not receive data transmitted by the first device 31.
A case where an available hardware resource of the first device 31 for data transmission is decreased may also affect the data communication. If a specific amount of the data transmitted by the first device 31 must be transmitted to the second device 32 per unit of time, for example, if the data is streaming data, the first device 31 may not transmit the streaming data to the second device 32 in real-time due to a decrease in a CPU or memory resource available for the data transmission.
On the contrary, if an available hardware resource of the first device 31 or the second device 32 is increased, an increase of the QoS of data communication may be necessary. That is, QoS provided to the second device 32 can be increased by reducing the time taken for data transmission by increasing a data rate, or transmitting multimedia data having high image or sound quality.
The network characteristic information and the hardware characteristic information are only illustrations of communication environment information, and all kinds of information affecting QoS of data transmission between the first device 31 and the second device 32 can be included in the communication environment information.
Referring to
The network characteristic information includes information on a kind of network and an available bandwidth used by the first device 31 for data communication. The hardware characteristic information includes information on hardware resources available in the first device 31 for the data communication, i.e., information on a CPU speed and a memory size.
The method of extracting the network and/or hardware characteristic information is not limited to a specific method. For example, information on a network characteristic currently used for data transmission can be extracted using a detection method such as Network Driver Interface Specification (NDIS) of Windows Operating System (OS).
In operation 302, the second device 32 detects information on its network and/or hardware characteristics.
That is, the second device 32 detects information on a network characteristic used to receive data transmitted by the first device 31 and/or information on a hardware characteristic of hardware available for the data reception. As in the case of the first device 31, a method of extracting the network and/or hardware characteristic information is not limited. For the network characteristic information, a detection method, such as NDIS of Windows OS, can be used.
Although operations 301 and 302 are respectively performed by the first device 31 and the second device 32, it will be understood by those of ordinary skill in the art that operations 301 and 302 can be performed at the same time or at different times in a different sequence.
In operation 303, the first device 31 receives the information on the network and/or hardware characteristics of the second device 32 from the second device 32.
That is, in order for the first device 31 to transmit in consideration of the information on the entire communication environment, the first device 31 receives the information on the network and/or hardware characteristics of the second device 32.
The network and/or hardware characteristic information can be received using a specifically defined communication protocol or received by expanding an existing communication protocol.
The network and/or hardware characteristic information can be periodically received with a predetermined time interval or received only if the network and/or hardware characteristic information of the second device 32 is changed.
In operation 304, the first device 31 adjusts the QoS of data transmission based on the network and/or hardware characteristic information of the first device 31, which has been detected in operation 301, and the network and/or hardware characteristic information of the second device 32, which has been received from the second device 32 in operation 303. The QoS adjustment is performed by an application used to adjust QoS of data transmission.
For example, a data rate is adjusted or data is changed. A change in data occurs when, for example, the scalability of scalable coded audio or video data is adjusted. If the network and/or hardware characteristic information indicates an improved communication environment, data can be transmitted to the second device 32 within a short time by increasing the data rate, or data having high sound or video quality can be transmitted to the second device 32 by adjusting the scalability.
Any method of adjusting QoS of data transmission, such as changing a period of data transmission or a transmission path, can be used in operation 304.
The adjustment of QoS can be performed only if the network and/or hardware characteristic information of the first device 31 or the second device 32 is changed or performed periodically with a constant time interval. If the network and/or hardware characteristic information of the second device 32 is periodically received in operation 303, the adjustment of the QoS of data transmission may be periodically performed.
In operation 305, the first device 31 transmits data to the second device 32 based on the QoS adjusted in operation 304.
A network characteristic in a data transmission path also affects data communication between the first device 31 and the second device 32. This case corresponds to a case where a router or gateway 33 relaying data cannot process a sufficient amount of data. For example, this case corresponds to a case where a network to which the first device 31 and the second device 32 belong to supports a data rate of 100 Mbps while a data rate of the router or gateway 33 does not exceed 10 Mbps. It is assumed that the first device 31 transmits data at a data rate of 10 Mbps regardless of the network environments of the first device 31 and the second device 32. The router or gateway 33 is only an illustration illustrating how a network characteristic of a transmission path can be affected.
Operations 311 and 312 are the same as operations 301 and 302 illustrated in
In operation 313, the second device 32 transmits the detected network and/or hardware characteristic information to the router or gateway 33.
In operation 314, the router or gateway 33 adds information on its network characteristic to the network and/or hardware characteristic information received from the second device 32 or changes the network and/or hardware characteristic information received from the second device 32.
For example, it is assumed that the network characteristic information of the second device 32 is 100 Mbps and the network characteristic information of the router or gateway 33 is 10 Mbps. The router or gateway 33 can change the network characteristic information received from the second device 32 to the network characteristic information of the router or gateway 33, i.e., 10 Mbps, and transmit the changed network characteristic information to the first device 31. Alternatively, the router or gateway 33 can add the network characteristic information of the router or gateway 33 to the network characteristic information received from the second device 32 and transmit the added network characteristic information to the first device 31. In this case, the first device 31 determines a network characteristic affecting data transmission, based on the network characteristic information of the router or gateway 33 and the network characteristic information of the second device 32.
In operation 315, the router or gateway 33 transmits the network and/or hardware characteristic information to the first device 31. Here, the network characteristic information is the information that is added or changed in operation 314.
Operations 316 and 317 are the same as operations 304 and 305 illustrated in
In
Referring to
The database 41 is a storage unit storing data to be transmitted from the first device 31 to the second device 32.
The characteristic information detector 430 detects information on network and/or hardware characteristics of the first device 31. That is, the characteristic information detector 430 detects information on network and/or hardware characteristics, which can be used by the first device 31 for data communication with the second device 32.
The characteristic information receiver 431 receives information on network and/or hardware characteristics of the second device 32 from the second device 32. The characteristic information receiver 431 also receives information on a network characteristic that is added or changed by the router or gateway 33 besides the network and/or hardware characteristic information of the second device 32.
As described above, the network and/or hardware characteristic information may be received as a kind of general data using an existing communication protocol between the first device 31 and the second device 32 without using the specifically defined or expanded communication protocol.
The determiner 432 determines whether adjustment of the QoS of the data transmission is necessary, based on the network and/or hardware characteristic information of the first device 31, which has been detected by the characteristic information detector 430, and the network and/or hardware characteristic information of the second device 32, which has been received by the characteristic information receiver 431. That is, whether adjustment of the QoS of the data transmission is necessary is determined by determining whether a communication state is degraded or improved.
The QoS adjuster 433 adjusts the QoS of the data transmission by receiving data from the database 41 if the determiner 432 determines that adjustment of the QoS of the data transmission is necessary.
For example, a data rate is adjusted or data is changed. A change in data occurs when, for example, the scalability of scalable coded audio or video data is adjusted. The adjustment of QoS is performed in an application layer using an application for adjusting the QoS of data transmission.
The transmitter 42 transmits the data whose QoS has been adjusted by the QoS adjuster 433 to the second device 32.
The invention can also be embodied as computer readable codes on a computer readable recording medium. The computer readable recording medium is any data storage device that can store data which can be thereafter read by a computer system. Examples of the computer readable recording medium include read-only memory (ROM), random-access memory (RAM), CD-ROMs, magnetic tapes, floppy disks, optical data storage devices. In other exemplary embodiments, the computer readable recording medium may include carrier waves (such as data transmission through the Internet). In yet other exemplary embodiments, computer readable recording medium can also be distributed over network coupled computer systems so that the computer readable code is stored and executed in a distributed fashion.
While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it will be understood by those of ordinary skill in the art that various changes in form and detail may be made therein without departing from the spirit and scope of the present invention as defined by the following claims.
Number | Date | Country | Kind |
---|---|---|---|
1020060078981 | Aug 2006 | KR | national |
This application is a National Stage of International Application No. PCT/KR2007/003783 filed Aug. 7, 2007, and claims the benefit of Korean Patent Application No. 10-2006-0078981 filed on Aug. 21, 2006, in the Korean Intellectual Property Office, the disclosures of which are incorporated herein in their entirety by reference.
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/KR2007/003783 | 8/7/2007 | WO | 00 | 2/20/2009 |