This Non-provisional application claims priority of Chinese Patent Application No. 201210407113.4 filed on Oct. 23, 2012, the entire contents of which are hereby incorporated by reference.
1. Technical Field
The present disclosure relates to Internet technologies, and particularly, to a traffic controlling method and a traffic controlling device based on remote applications.
2. Description of Related Art
With the development of Internet technology, realizing mobile officing via RAPP (RemoteApp) has become a basic need to more and more officers. Since the RAPP technology has many advantages over the traditional CS (Client-Server) deployment method, such as safer data transmission, less-occupied network bandwidth, and simpler deployment and maintenance. In virtualizations of remote applications, screen updating information is transmitted to a client side as images. While in rich media such as scenes having a number of videos, animations, and images, the transmission of the screen updating information has almost occupied all the network bandwidth, which affects the normal interactions between the remote applications.
In light of the above problem, the following ways are provided to solve the problem conventionally: {circle around (1)} content redirection technology: transmitting the videos or animations in the server to the client side in original coded formats, and decoding and rendering the videos and animations in the client side; this technology puts forward high requirements of the performance to the client side and an occupancy rate of the network bandwidth is high for redirecting the contents of videos or animations having low resolutions; {circle around (2)} prevention of displays of the videos or animations, which affects the user experience and lacks generality; {circle around (3)} acceleration technology of transport layer protocol: optimizing the transport layer, optimizing the TCP (Transmission Control Protocol) congestion control algorithm, or replacing TCP with UDP (User Datagram Protocol); however, this technology cannot reduce the network bandwidth or leaves limited space for improvement; {circle around (4)} united limitation of frame rates: limiting the frame rates outputted from the remote application; however, this technology cannot optimize the data in real multi-media screen areas independently, which may decrease the user experience.
The main object of the present disclosure is to provide a traffic controlling method and device based on remote applications for solving the problem that the remote application cannot perform normal interaction in rich media situations or further for improving user experience.
The traffic controlling method based on remote applications provided in the present disclosure includes the following steps:
Preferably, the step of evaluating a current network bandwidth includes:
Preferably, the step of controlling data traffic according to the current network bandwidth and the judging result includes:
Preferably, the judging result includes: the multimedia area is valid and the multimedia area is invalid.
Preferably, the step of optimizing contents of the multimedia area according to the judging result includes:
The traffic controlling device based on remote applications provided in the present disclosure includes one or more programs stored in a storage system and executed by at least one processor; the one or more programs include:
Preferably, the bandwidth evaluating module is specifically used for:
Preferably, the traffic controlling module is specifically used for optimizing the contents of the multimedia area according to the judging result if a valuating result of the current network bandwidth indicates that non-critical contents currently being transmitted are needed to be filtered.
Preferably, the judging result of the multimedia detecting module includes: the multimedia area is valid and the multimedia area is invalid.
Preferably, the traffic controlling module optimizes the contents of the multimedia area according to the judging result includes:
By evaluating the current network bandwidth, detecting the updating frequency of each area in the current screen and identifying whether the multimedia area is valid, and dynamically controlling the data traffic according to the current network bandwidth and according to whether the multimedia area is valid, the present disclosure can ensure unblocked transmission of the critical business and prevent the display quality of the multimedia area from being affected to improve system performance and user experience.
Many aspects of the embodiments can be better understood with reference to the following drawings. The components in the drawings are not necessarily dawns to scale, the emphasis instead being placed upon clearly illustrating the principles of the embodiments. Moreover, in the drawings, like reference numerals designate corresponding parts throughout the several views.
The disclosure is illustrated by way of example and not by way of limitation in the figures of the accompanying drawings in which like references indicate similar elements. It should be noted that references to “an” or “one” embodiment is this disclosure are not necessarily to the same embodiment, and such references mean at least one.
In a traffic controlling method and traffic controlling device based on remote applications of the present disclosure, remote applications belong to application virtualization technologies. The remote applications separate human-machine interaction logic of applications from computational logic, wherein the human-machine interaction logic refer to application interfaces, operations of keyboards and mouse, audio inputs and outputs, card readers, and printing inputs, etc. When a user accesses a server virtualization application, the user only needs to transmit the human-machine interaction logic to a server side through remote desktop protocols such as RDP/ICA (Remote Desktop Protocols/Independent Computing Architecture). The server side thereafter creates an independent conversation space for the user. The computational logic of the application will be executed in the conversation space, and the changed human-machine interaction logic is transmitted to a client side and is displayed in the corresponding equipment of the client side, allowing the user to feel like accessing a local application. The virtualization technology of executing the application in the server side from the client side is the remote application.
Since in practical applications of most companies, most of videos and animations are not critical business, thus, declines of the qualities of the videos and animations generally do not practically affect the uses of official applications. Therefore, in rich media scenes, some technical means can be applied to limit the network traffic consumption of multimedia and thus to guarantee unblocked transmission of the critical business. The rich media scenes refer to the multimedia scenes having a large number of videos, animations and images, etc.
All processes of the traffic controlling method and device based on remote applications of the present disclosure are finished in the remote application server side and are not related to the performance of the remote application client side, therefore, the performance losses of a thin client and most of mobile terminal equipments can be reduced. The thin client means a business PC specifically used in small industries and based on standard design of the PC (Personal Computer) industrial that uses a professional embedded processor, a small-sized local flash, and a simplified operation system. The configuration of the thin client includes the professional embedded processor having low power consumption and high calculating functions, the local flash unremovedly used for storing the operation system, a local system memory, a network adapter, a display card, and other peripheral standard input and output devices. The thin client does not include any removal component and thus is capable of providing a using environment which is safer and securer than that provided by an ordinary PC, and providing a lower power consumption and a higher security.
Referring to
Step S01, evaluating a current network bandwidth.
The current network bandwidth is evaluated by the system in many ways. In a preferred embodiment, the current network bandwidth can be evaluated in the following way.
Counting an amount of data transmitted in a TCP transport layer in a predetermined period of time; evaluating the current network bandwidth according to whether there has been a congestion in the TCP transport layer, wherein the amount of data transmitted in the predetermined period of time can be the amount of data transmitted in the TCP transport layer per second of the several seconds before the time point when the current network bandwidth is evaluated; comparing an amount of data that is currently being outputted from the network with a threshold value of the current network bandwidth, if the amount of data currently being outputted is greater than the threshold value of the current network bandwidth, it means that the current network transmission of the remote application may not respond in time very likely, thus, non-critical contents currently being transmitted are needed to be filtered to guarantee the unblocked transmission of the critical business. In a preferred embodiment, the amount of data currently being outputted refers to an amount of bitmap data outputted from a display driver.
It is understood that the way of evaluating the current network bandwidth is not related to the reasons causing the congestion in the network, after the amount of the transmitted data is reduced, the network congestion of any type can be eased, regardless of the congestion caused by the network or the congestion caused by a low processing speed of the opposite end or the congestion caused by other reasons.
It is understood that the way of evaluating the current network bandwidth is not limited in this embodiment, provided that a result which is capable of showing whether the current network bandwidth can meet the transmission requirements or not can be obtained. The specific evaluating way of the current network bandwidth is not limited in the present disclosure.
Step S02, detecting a bitmap updating frequency of each area in a current screen, identifying a multimedia area, and judging whether the multimedia area is valid to obtain a judging result.
Detecting the bitmap updating frequency of each area in the current screen of the remote application, identifying the multimedia area: a bitmap image is also known as a pixel image or a drawing image, and the bitmap image is composed of a number of individual spots known as pixels (image elements). The spots can be arranged in different ways and can be colored to form an image. When the bitmap image is magnified, countless individual blocks forming the whole image become visible. Thus, the multimedia area can be identified by detecting the bitmap updating frequency of each area.
After the multimedia area is identified, whether the multimedia area is a specific type of window is judged by eliminating areas having GDI (Graphics Device Interface) commands and by combining windows systems, thereby accurately judging whether the multimedia area is valid and obtaining the judging result. The judging result includes: the multimedia area is valid and the multimedia is invalid.
Step S03, controlling data traffic according to the current network bandwidth and the judging result.
In a situation where the network bandwidth is good and the performance of the client side is good, in order to keep good user experience, the contents of the remote application server side is not filtered; while in a situation where the network bandwidth is poor, that is, the non-critical contents currently being transmitted need to be filtered due to the evaluated current network bandwidth, content filtering is automatically initialized according to the judging result to optimize the contents of the multimedia area, thereby guaranteeing the unblocked transmission of the critical business. Specifically, if the multimedia area is valid, the non-critical contents outside the valid multimedia area are filtered; if the multimedia area is invalid, multi-frame emersion and compression are performed to the contents of the invalid multimedia area, and the transmission of the processed data is delayed. In a preferred embodiment, more specifically, multi-frame merging and lossy compression at a high compression ratio are performed to the contents of the invalid multi-media area, and a timer is simultaneously initialized. After the timer reaches the predetermined time, that is, when the timer times out, the processed image data is transmitted to the client side to further reduce the network bandwidth without affecting the display quality of the non-multimedia area.
Referring to
By evaluating the current network bandwidth, detecting the updating frequency of each area in the current screen and identifying whether the multimedia area is valid, and dynamically controlling the data traffic according to the current network bandwidth and according to whether the multimedia area is valid, the present disclosure can ensure the unblocked transmission of the critical business and prevent the display quality of the multimedia area from being affected to improve the system performance and the user experience.
The present disclosure further provides a traffic controlling device 10 based on remote applications. Referring to
The bandwidth evaluating module 01 is configured for evaluating a current network bandwidth.
The bandwidth evaluating module 01 of the remote application server side evaluates the current network bandwidth in a number of ways. In a preferred embodiment, the bandwidth evaluating module 01 evaluates the current network bandwidth in the following way.
The bandwidth evaluating module 01 counts an amount of data transmitted in a TCP transport layer in a predetermined period of time; evaluates the current network bandwidth according to whether there has been a congestion in the TCP transport layer, wherein the amount of data transmitted in the predetermined period of time can be the amount of data transmitted in the TCP transport layer per second of the several seconds before the time point when current network bandwidth is evaluated; compares the amount of data that is currently being outputted from the network with a threshold value of the current network bandwidth. If the amount of data currently being outputted is greater than the threshold value of the current network bandwidth, it means that the current network transmission of the remote application may not respond in time very likely, thus, non-critical contents currently being transmitted are needed to be filtered to guarantee the unblocked transmission of the critical business. In a preferred embodiment, the amount of data currently being outputted refers to an amount of bitmap data outputted from a display driver.
The bandwidth evaluating module 01 is configured for evaluating the current network bandwidth.
It is understood that the way the bandwidth evaluating module 01 evaluates the current network bandwidth is not related to the reasons causing the network congestion. After the amount of the transmitted data is reduced, the network congestion of any type can be eased, regardless of the congestion caused by the network or the congestion caused by a low processing speed of the opposite end or the congestion caused by other reasons.
It is understood that the way the bandwidth valuating module 01 evaluates the current network bandwidth is not limited in this embodiment, provided that a result which is capable of showing whether the current network bandwidth can meet the transmission requirements or not can be obtained. The specific way that the bandwidth evaluating module 01 evaluates the current network bandwidth is not limited in the present disclosure.
The multimedia detecting module 02 is configured for detecting a bitmap updating frequency of each area in a current screen and identifying a multimedia area. A bitmap image is known as a pixel image or a drawing image, and the bitmap image is composed of a number of individual spots known as pixels (image elements). The spots can be arranged in different ways and can be colored to form an image. When the bitmap image is magnified, countless individual blocks forming the whole image become visible. Thus, the multimedia detecting module 02 can identify the multimedia area by detecting the bitmap updating frequency of each area.
After the multimedia detecting module 02 identifies the multimedia area, the multimedia detecting module 02 judges whether the multimedia area is a specific type of window by eliminating areas having GDI (Graphics Device Interface) commands and by combining windows systems. The multimedia detecting module 02 thus can accurately judge whether the multimedia area is valid and obtain the judging result. The judging result includes: the multimedia area is valid and the multimedia area is invalid.
The traffic controlling module 03 is configured for controlling data traffic according to the current network bandwidth and the judging result.
In a situation where the network bandwidth is good and the performance of the client side is good, in order to keep good user experience, the traffic controlling module 03 does not filter the contents of the remote application server side; while in a situation where the network bandwidth is poor, that is, the non-critical contents currently being transmitted need to be filtered due to the evaluated current network bandwidth, the traffic controlling module 03 automatically initializes content filtering according to the judging result to optimize the contents of the multimedia area, thereby guaranteeing the unblocked transmission of the critical business. Specifically, if the multimedia detecting module 02 determines that the multimedia area is valid, the traffic controlling module 03 filters the non-critical contents outside the valid multimedia area; if the multimedia detecting module 02 determines that the multimedia area is invalid, the traffic controlling module 03 performs multi-frame emersion and compression to the contents of the invalid multimedia area, and delays the transmission of the processed data. In a preferred embodiment, the traffic controlling module 03 performs multi-frame merging and lossy compression at a high compression ratio to the contents of the invalid multimedia area, and simultaneously initializes a timer. After the timer reaches the predetermined time, that is, when the timer times out, the traffic controlling module 03 transmits the processed image data to the client side to further reduce the network bandwidth without affecting the display quality of the non-multimedia area.
Referring to
By evaluating the current network bandwidth, detecting the updating frequency of each area in the current screen and identifying whether the multimedia area is valid, and dynamically controlling the data traffic according to the current network bandwidth and according to whether the multimedia area is valid, the present disclosure is capable of ensuring the unblocked transmission of the critical business and preventing the display quality of the multimedia area from being affected to improve the system performance and the user experience.
Even though information and the advantages of the present embodiments have been set forth in the foregoing description, together with details of the mechanisms and functions of the present embodiments, the disclosure is illustrative only; and that changes may be made in detail, especially in matters of shape, size, and arrangement of parts within the principles of the present embodiments to the full extend indicated by the broad general meaning of the terms in which the appended claims are expressed.
Number | Date | Country | Kind |
---|---|---|---|
2012 1 0407113 | Oct 2012 | CN | national |
Number | Name | Date | Kind |
---|---|---|---|
20060206820 | Bullard | Sep 2006 | A1 |
20080002676 | Wiley | Jan 2008 | A1 |
20080225728 | Plamondon | Sep 2008 | A1 |
20130029632 | Tiwari | Jan 2013 | A1 |
20130135337 | Matsui | May 2013 | A1 |
Number | Date | Country |
---|---|---|
1889673 | Jan 2007 | CN |
101552722 | Oct 2009 | CN |
Entry |
---|
Search Report of Chinese Patent Application No. 201210407113.4. |
Number | Date | Country | |
---|---|---|---|
20140112129 A1 | Apr 2014 | US |