CN102984230B - Data transmission device in remote assistance and method - Google Patents

Data transmission device in remote assistance and method Download PDF

Info

Publication number
CN102984230B
CN102984230B CN201210468686.8A CN201210468686A CN102984230B CN 102984230 B CN102984230 B CN 102984230B CN 201210468686 A CN201210468686 A CN 201210468686A CN 102984230 B CN102984230 B CN 102984230B
Authority
CN
China
Prior art keywords
image
main control
code
control end
target image
Prior art date
Legal status (The legal status 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 status listed.)
Expired - Fee Related
Application number
CN201210468686.8A
Other languages
Chinese (zh)
Other versions
CN102984230A (en
Inventor
刘晓燕
马小丁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
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 Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201210468686.8A priority Critical patent/CN102984230B/en
Publication of CN102984230A publication Critical patent/CN102984230A/en
Application granted granted Critical
Publication of CN102984230B publication Critical patent/CN102984230B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses the data transmission device in remote assistance and method, wherein, described device includes: record unit, is suitable to obtain at controlled terminal the first object image of current time, generates unique identification's code for first object image;First transmitting element, is suitable to unique identification's code of first object image and correspondence thereof is sent to main control end, in order to show first object image the corresponding relation between main control end buffer memory first object image and its unique identification's code in main control end;Comparing unit, is suitable to when getting the second target image of subsequent time at controlled terminal, it is judged that whether the second target image is identical with first object image;Second transmitting element, if it is identical with first object image to be suitable to the second target image, is then sent to main control end by unique identification's code corresponding for first object image.By the present invention, greatly reduce taking transmission bandwidth, be conducive to the carrying out that remote assistance operation is smooth more smoothly.

Description

Data transmission device in remote assistance and method
Technical field
The present invention relates to remote assistance technical field, be specifically related to the data transmission device in remote assistance and method.
Background technology
Along with the development of computer technology, the computer equipment such as computer has almost become instrument indispensable in people's life.But, for a lot of users, the understanding of computer is only limitted to application, is but ignorant of computer is safeguarded, once computer breaks down, more at a loss what to do.For this, some service providers have provided the user remote assistance service, if user's remote assistance client that build-in services business provides on the computer of oneself, just can link up with the technician of service provider, technician can help common computer user to solve software and system problem, for instance the upgrading of system optimization, system mend, drive installation, malicious plugins cleaning, virus/wooden horse killing, system-based setting, software download, software installation, network failure debugging etc..
In realizing process, user can set up a session (session) by remote assistance client with technician, then the operation to user computer is taken over by technician, now, the remote assistance client of user side can be sent to technician after the screen state of user computer (icon on wallpaper that such as desktop uses, desktop, currently open which window etc.) sectional drawing, thus can demonstrate the screen state of user computer on the computer of technician side;Technician is when performing remote assistance operation by mouse or keyboard etc., concrete operation can be generated corresponding instruction by the remote assistance client of technician side, and the computer of user side is sent an instruction to by network, the computer of user side can resolve and perform corresponding instruction;In the process performing instruction, the screen state of user side computer can change again (such as newly open certain window or close certain window or click start menu etc.), therefore, the remote assistance client of user side needs constantly to be sent to technician after the screen state grabgraf of user computer, after technician performs new operation, corresponding instruction can be sent to user side again, move in circles with this.
Visible, prior art is in the process realizing remote assistance, need constantly the screen state of user side to be sent in the way of image technician side, this will take bigger transmission bandwidth, when transmission bandwidth is limited, may be such that the view data of technician side cannot be sent to technician side in time, or the process of remote assistance is seemed the problem such as smooth not.
Summary of the invention
In view of the above problems, it is proposed that the present invention in case provide a kind of overcome the problems referred to above or solve the remote assistance of the problems referred to above at least in part in data transmission device and data transmission method in corresponding remote assistance.
According to one aspect of the present invention, it is provided that the data transmission device in a kind of remote assistance, including:
Record unit, be suitable to obtain the first object image of current time at remote assistance controlled terminal, generate unique identification's code for described first object image, and preserve the corresponding relation between described first object image information and described unique identification's code at described controlled terminal;
First transmitting element, be suitable to the unique identification's code by described first object image and correspondence thereof and be sent to remote assistance main control end, to show described first object image in described main control end, and at corresponding relation between first object image and its unique identification's code described in described main control end buffer memory;
Comparing unit, is suitable to when getting the second target image of subsequent time at described controlled terminal, it is judged that whether described second target image is identical with described first object image;
Second transmitting element, if it is identical with described first object image to be suitable to described second target image, then unique identification's code corresponding for described first object image is sent to described main control end, so that described main control end finds described first object image according to described unique identification's code in the information of buffer memory, and described first object image is displayed.
Alternatively, also include:
Check code generates unit, is suitable to, when remote assistance controlled terminal gets the first object image of current time, by the mode that cyclic redundancy check (CRC) calculates, generate the first check code for described first object image;
Described record unit is particularly adapted to:
The corresponding relation between described first check code and described unique identification's code is preserved at described controlled terminal;
Described comparing unit is particularly adapted to:
By the mode that cyclic redundancy check (CRC) calculates, the second check code is generated for described second target image, described second check code and described first check code are carried out XOR, if operation result is zero, then described second target image is identical with described first object image.
Alternatively, also include:
Judging unit, be suitable to by the monitoring to controlled terminal image change frequency, judge that the target image that current time gets carries out buffer memory the need of in main control end, if, then notifying that described record unit performs described is that described first object image generates unique identification's code the operation of the corresponding relation between the described controlled terminal described first object image information of preservation and described unique identification's code.
Alternatively, described judging unit includes:
First monitoring subelement, be suitable to the image change frequency threshold according to presetting the change frequency of image in controlled terminal is monitored, when there is the change frequency of one or more image lower than described predetermined threshold value, determine that the target image that current time gets needs to carry out buffer memory in main control end, notifying that described record unit performs described is that described first object image generates unique identification's code the operation of the corresponding relation between the described controlled terminal described first object image information of preservation and described unique identification's code.
Alternatively, described judging unit includes:
Second monitoring subelement, be suitable to prefixed time interval, when exist one or more target image exceed described interval do not change time, determine that the target image that current time gets needs to carry out buffer memory in main control end, notifying that described record unit performs described is that described first object image generates unique identification's code the operation of the corresponding relation between the described controlled terminal described first object image information of preservation and described unique identification's code.
Alternatively, also include:
Memory information acquiring unit, is suitable to the size obtaining main control end for the memory headroom of caching of target image;
Monitoring unit, is suitable to the image size of main control end accumulative buffer memory is monitored;
Releasing unit, be suitable to when the image size of main control end accumulative buffer memory reaches the size of described memory headroom, select target image to be released, send to described main control end and release order, and unique identification's code of described target image to be released is sent to described main control end, in order to described main control end discharges the target image that this identification code is corresponding.
Alternatively, described releasing unit is particularly adapted to:
According to the time that target image is buffered, and/or the number of times that target image is used, calculating the weight of each target image being buffered, the target image that weight meets prerequisite is defined as target image to be released.
Alternatively, described target image includes one or more combination following:
Desktop background, program interface and/or iconic element.
According to a further aspect in the invention, it is provided that the data transmission method in a kind of remote assistance, including:
Obtain the first object image of current time at remote assistance controlled terminal, generate unique identification's code for described first object image, and preserve the corresponding relation between described first object image information and described unique identification's code at described controlled terminal;
Unique identification's code of described first object image and correspondence thereof is sent to remote assistance main control end, to show described first object image in described main control end, and at corresponding relation between first object image and its unique identification's code described in described main control end buffer memory;
When getting the second target image of subsequent time at described controlled terminal, it is judged that whether described second target image is identical with described first object image;
If described second target image is identical with described first object image, then unique identification's code corresponding for described first object image is sent to described main control end, so that described main control end finds described first object image according to described unique identification's code in the information of buffer memory, and described first object image is displayed.
Alternatively, when remote assistance controlled terminal gets the first object image of current time, also include:
By the mode that cyclic redundancy check (CRC) calculates, generate the first check code for described first object image;
The described corresponding relation preserved between described first object image and described unique identification's code at described controlled terminal includes:
The corresponding relation between described first check code and described unique identification's code is preserved at described controlled terminal;
Described described second target image and described first object image being compared includes:
By the mode that cyclic redundancy check (CRC) calculates, the second check code is generated for described second target image, described second check code and described first check code are carried out XOR, if operation result is zero, then described second target image is identical with described first object image.
Alternatively, for also including before described first object image generation unique identification's code:
By the monitoring to controlled terminal image change frequency, judge that the target image that current time gets carries out buffer memory the need of in main control end, if, then trigger described in performing is that described first object image generates unique identification's code the operation of the corresponding relation between the described controlled terminal described first object image information of preservation and described unique identification's code.
Alternatively, described by the monitoring to controlled terminal image change frequency, it is judged that the target image that current time gets carries out buffer memory the need of in main control end, including:
According to default image change frequency threshold, the change frequency of image in controlled terminal is monitored, when there is the change frequency of one or more image lower than described predetermined threshold value, it is determined that the target image that current time gets needs to carry out buffer memory in main control end.
Alternatively, described by the monitoring to controlled terminal image change frequency, it is judged that the target image that current time gets carries out buffer memory the need of in main control end, including:
Prefixed time interval, when exist one or more target image exceed described interval do not change time, it is determined that target image that current time gets needs to carry out buffer memory in main control end.
Alternatively, also include:
Obtain the main control end size for the memory headroom of caching of target image;
The image size of main control end accumulative buffer memory is monitored;
When the image size of main control end accumulative buffer memory reaches the size of described memory headroom, select target image to be released, send to described main control end and release order, and unique identification's code of described target image to be released is sent to described main control end, in order to described main control end discharges the target image that this identification code is corresponding.
Alternatively, the target image that described selection is to be released includes:
According to the time that target image is buffered, and/or the number of times that target image is used, calculating the weight of each target image being buffered, the target image that weight meets prerequisite is defined as target image to be released.
Alternatively, described target image includes one or more combination following:
Desktop background, program interface and/or iconic element.
According to the data transmission device in the remote assistance of the present invention and method, in main control end, the image of controlled terminal can be carried out buffer memory, so, when the successive image finding controlled terminal is identical with the image being cached before, just only the exclusive identification code of this image being cached can be sent to main control end, without retransmiting concrete view data, greatly reduce taking transmission bandwidth, be conducive to the carrying out that remote assistance operation is smooth more smoothly.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention, and can be practiced according to the content of description, and in order to above and other objects of the present invention, feature and advantage can be become apparent, below especially exemplified by the specific embodiment of the present invention.
Accompanying drawing explanation
By reading hereafter detailed description of the preferred embodiment, various other advantage and benefit those of ordinary skill in the art be will be clear from understanding.Accompanying drawing is only for illustrating the purpose of preferred implementation, and is not considered as limitation of the present invention.And in whole accompanying drawing, it is denoted by the same reference numerals identical parts.In the accompanying drawings:
Fig. 1 illustrates the flow chart of method according to an embodiment of the invention;
Fig. 2 illustrates desktop environment schematic diagram;
Fig. 3 illustrates the schematic diagram of device according to a first embodiment of the present invention;
Fig. 4 illustrates the schematic diagram of device according to a second embodiment of the present invention;
Fig. 5 illustrates the schematic diagram of device according to a third embodiment of the present invention;
Fig. 6 illustrates the schematic diagram of device according to a fourth embodiment of the present invention.
Detailed description of the invention
It is more fully described the exemplary embodiment of the disclosure below with reference to accompanying drawings.Although accompanying drawing showing the exemplary embodiment of the disclosure, it being understood, however, that may be realized in various forms the disclosure and should do not limited by embodiments set forth here.On the contrary, it is provided that these embodiments are able to be best understood from the disclosure, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
For ease of understanding the present invention, firstly the need of what illustrate it is, in remote assistance process, technician side is the equal of main control end, user side is the equal of controlled terminal, further, main control end simply sends the instruction of keyboard and mouse to long-range controlled terminal computer equipment, and the screen-picture of controlled terminal computer equipment is come by communication line passback simultaneously.It is to say, when main control end carries out remote assistance operation, no matter opening file, still surf the web, download etc. is substantially all carry out in long-range controlled terminal computer, the reflection of the simply controlled terminal computer screen of display on main control end computer screen.
Wherein, main control end program is the computer terminal operating in and helping solution problem, server can also be operated in, work stations etc. externally provide on the equipment of service by network, major function be by realizing the information of the picture of display remote computer, operation keyboard and the process of mouse, event and sending, the refreshing of picture etc. reach to control the purpose of remote computer.
Particularly may be divided into:
1) attended operation
Transfer end can be passed through and realize the connection with controlled terminal.Such as, after controlled terminal is connected to transfer end, main control end is connected to transfer end;Then the controlled terminal to control is selected;Input password carries out both sides' checking;That finally sets up between main control with controlled terminal is corresponding.
2) picture shows
Set up local desktop window, initialize dependent picture information, when the image information of long-range controlled terminal computer displays after sending.
3) event handling
When local display desktop window is carried out various operation (such as mouse action, input through keyboard), program realizes the seizure to event message, and is combined into packets to long-range controlled terminal computer according to specifying information.
4) picture is updated
When local program receive the message that long-range controlled terminal computer sends be update picture time, program receives the image information content needing to update, and updates operation according to the subregion that information and local display picture are combined realizing picture.
Controlled terminal program is the computer terminal operating in and needing solution problem, and major function is to reach to obtain main control end and assist purpose by realizing the local transmission of image information, the simulation process of remote message event, picture part area update process etc..Particularly may be divided into:
1) attended operation
Realize when needs are assisted being connected to main control end.When implementing, still can carrying out transfer by transfer end, e.g., controlled terminal can be firstly connected to transfer end, waits that main control end is connected to transfer end;Then, after main control end have selected this controlled terminal, it is desirable to main control end input validation password, that finally sets up between main control with controlled terminal is corresponding.
2) Message Processing
Receive the message that from remote master end, display desktop window is carried out various operation (such as mouse action, input through keyboard), then carry out simulation and the triggering of this locality according to the concrete message received.
3) update area
When the change that the picture of controlled terminal occurs, generate update area information, be combined into data message and be sent to main control end and require that it carries out corresponding frame updating and shows.
Visible by the above, in the process of remote assistance, in order to represent controlled terminal screen in main control end and follow the tracks of its change, need from the controlled terminal substantial amounts of image of transmission to main control end, such as, screen generally can be carried out sectional drawing by controlled terminal under certain cycle, and each sectional drawing result is transferred to main control end.But, the present inventor finds in the process realize the present invention, in some cases, the image that continuous several moment gets is likely to be all identical, if these images are communicated to main control end, can cause some image is repeat to transmit repeatedly in fact, if it is possible to avoids this repetition to transmit, then can be substantially reduced taking transmission bandwidth.
Based on above-mentioned consideration, the embodiment of the present invention provide firstly the data transmission method in a kind of remote assistance, and referring to Fig. 1, the method may comprise steps of:
S101: obtain the first object image of current time at remote assistance controlled terminal, generates unique identification's code for described first object image, and preserves the corresponding relation between described first object image information and described unique identification's code at described controlled terminal;
In embodiments of the present invention, equally possible is capture the image of controlled terminal screen according to certain cycle, but after grabbing piece image, it is not directly generate data message to be sent to main control end, but identification code (the such as id etc. of a uniqueness are first generated for this image, for ease of describing, all it is introduced for id below), for uniquely identifying this image, simultaneously, the corresponding relation between the information of present image and this id can be recorded at controlled terminal, ready for follow-up process.
Wherein, the purpose in controlled terminal record image information is to compare with the follow-up image newly got, it may be judged whether identical, therefore, when the corresponding relation recorded between image information and id, it is possible to directly with the content-data of image as image information.Certainly, the space that the content-data of image takies itself can be relatively larger, therefore, in another kind of way of example, image can also be circulated redundancy check (CyclicRedundancyCheck, CRC) calculate, obtain a check code, then by this check code information as this image, corresponding relation between record check code and id, so, follow-up when carrying out the comparison of image, it is possible to be undertaken by the check code of comparison chart picture.
Wherein, cyclic redundancy check (CRC) is a kind of error check code the most frequently used in data communication field, when carrying out CRC and calculating, processed data (corresponding in embodiments of the present invention is exactly image to be recorded) are considered as binary polynomial t (x), such as, 10110101 can be regarded as 2^7+2^5+2^4+2^2+2^0, and multinomial multiplication and division calculating process is identical with the polynomial multiplication and division of common algebra.Polynomial signed magnitude arithmetic(al) is with 2 for mould, consistent with logic XOR.When adopting CRC check, different images adopts same generator polynomial g (x), and the first place of g (x) and last coefficient are 1.The method of generation CRC check code may is that removes t (x) with g (x), and the remainder obtained is as CRC check code.
When needing to record the corresponding relation between certain image information and id, it is possible to calculate the CRC check code of this image by the way, then record the corresponding relation between CRC check code and id.It is follow-up when whether other images of needs comparison and this image be identical, identical generator polynomial can also be utilized to calculate the CRC check code of other images, then two CRC check codes are carried out XOR, with the correction result that calculates whether for 0 for evidence, it is judged that whether two images identical.
It should be noted that, target image described in the embodiment of the present invention is the desktop environment in order to embody controlled terminal, referring to Fig. 2, assume that 200 for the desktop of controlled terminal, then desktop environment specifically can include one or more combination following: desktop background 201, program interface 202 and/or iconic element 203.
S102: unique identification's code of described first object image and correspondence thereof is sent to remote assistance main control end, to show described first object image in described main control end, and at corresponding relation between first object image and its unique identification's code described in described main control end buffer memory;
While the corresponding relation that controlled terminal preserves between target image information and id, just the content-data of target image and id can be sent collectively to main control end, so, main control end just can demonstrate this target image according to the content-data received, simultaneously, the id of the content-data of this image and correspondence thereof can also be carried out buffer memory together, for follow-up.
S103: when getting the second target image of subsequent time at described controlled terminal, it is judged that whether described second target image is identical with described first object image;
Owing to controlled terminal needs periodically to capture image, therefore capture the moment in next time and just can obtain the image that a width is new, certainly, in embodiments of the present invention, it is not directly the content-data of the image newly grabbed is sent to main control end, but first controlled terminal by the image newly grabbed with before the image that grabs compare, it may be judged whether have the image identical with the image that this newly grabs.Wherein, when whether comparison two width image is identical, as described in step S101, if before when recording corresponding relation, record is the content-data of image, then can directly be compared by the content-data of two images, if during previously recorded corresponding relation, what record is the CRC check code of image, then can generate CRC check code for new image, and the mode then passing through XOR judges that whether two images are identical.
It should be noted that, by the image newly grabbed with before the image that grabs compare time, not necessarily two adjacent images capturing the moment are compared, for instance, t1, t2, t3 moment gets image 1, image 2, image 3 respectively, and all carry out buffer memory in main control end, then when the t4 moment gets image 4, it is possible to first image 4 and image 3 are compared, if differed, then can also compare with image 2, image 1, etc..
S104: if described second target image is identical with described first object image, then unique identification's code corresponding for described first object image is sent to described main control end, so that described main control end finds described first object image according to described unique identification's code in the information of buffer memory, and described first object image is displayed.
If certain image newly got is identical with the image being cached in main control end before, then only the id of this buffered image can be sent to main control end, without repeating the content-data sending image, main control end according to this No. id image finding correspondence in the image of buffer memory, then can display.Certainly, if the image newly got all differs with the image being cached before, can be then that this image newly got generates id, and content-data and the id of this image newly got are sent to main control end, while main control end shows this image newly got, also this image newly got is carried out buffer memory, by that analogy.
Visible, in embodiments of the present invention, for remote assistance process needs the view data of transmission, can by carrying out the mode of buffer memory in main control end, it is to avoid identical image repeat send, therefore, transmission bandwidth can be greatly saved, improve remote assistance and realize the picture fluency in process.
It should be noted that in actual applications, it is possible to it is not that each image got is required for carrying out buffer memory in main control end.Such as, if playing video, flash etc., then the change frequency of image can be higher, and the probability repeated with follow-up image can be smaller, thus there is no need to carry out buffer memory.Therefore, in optional embodiment of the present invention, in order to avoid performing unnecessary caching, it is also possible to carry out the judgement of buffer memory necessity.When implementing, a change frequency threshold value can be preset, and monitor the change frequency of controlled terminal image, if it find that the change frequency of one or more images exceedes this threshold value (such as finding that continuous 3 two field pictures all change), then next frame image can carry out buffer memory in main control end, only when the change frequency of the one or more images of discovery is lower than this threshold value, just next frame image is generated id, and in main control end, image is carried out buffer memory, for follow-up use.Such as, from the initial time proceeding by remote assistance, first three two field picture that controlled terminal gets is image 1, image 2, image 3 respectively, due to before but without the basis for estimation of image change frequency, therefore, directly this three two field picture can be sent to main control end, for this three two field picture, may require that main control end buffer memory, it is also possible to do not require buffer memory;Simultaneously, judge whether this three two field picture changes, if these continuous three two field pictures all change, then prove that the change frequency of present image is higher, successive image and previous image occur the probability repeated less, therefore, when getting four two field pictures, just can directly send it to main control end, and not require this two field picture of main control end buffer memory;Certainly, if it find that first three two field picture is all without changing, then after getting the 4th two field picture, then can generate No. id and CRC validation code for it, record corresponding relation between the two, and the content-data of image and No. id are sent to main control end and carry out buffer memory, by that analogy.In a word, at controlled terminal, can in the process of the content-data or image id that send image, the change frequency of image is added up, then determine that next frame image carries out buffer memory the need of in main control end, so can while solving bandwidth occupancy problems of too, it is to avoid carry out unnecessary image buffer storage.
Certainly, can also judge whether in other way to need at main control end buffer memory present image, such as, under a kind of implementation, an interval can also being preset, judging whether the image that the corresponding moment grabs changes according to this interval, if there is one or more target image to exceed this interval all without changing, then determine that the target image that current time gets needs to carry out buffer memory in main control end, etc..
In main control end, owing to needs are to some pictures of buffer memory, therefore, it is possible that the picture of buffer memory is too much, cause insufficient space or the slack-off situation of processing speed, in order to tackle this situation, in embodiments of the present invention, the main control end memory size for cache image can be got at controlled terminal, then the accumulated size of the image of main control end buffer memory is added up, if free memory size will be reached, then can select the image that can discharge, then send to main control end and release order, and carry No. id of the image needing release, main control end discharges according to releasing order after the image specified, just can continue the image that buffer memory is new.Wherein, when implementing, it is possible to after setting up remote assistance and connecting, main control end is actively used it for the size of the internal memory of cache image and is sent to controlled terminal, and controlled terminal knows the internal memory situation of main control end accordingly;Or, can also after setting up remote assistance and connecting, controlled terminal notice main control end provides its memory size information that can be used for cache image, furthermore, after having can also is that at buffer memory the image of some, the situation of its free memory is actively sent to controlled terminal by main control end, or controlled terminal notice main control end reports the relevant information of free memory, etc..Main control end is in order to judge whether the image of main control end buffer memory is up to free memory size, can after getting main control end and can be used for the memory size of cache image, (this threshold value can be used for the memory size of cache image less than main control end to calculate a threshold value, concrete value can be determined according to the actual needs), require main control end buffer memory one two field picture every time, the image size of the accumulative buffer memory of main control end can be calculated, then compare with this threshold value, if beyond this threshold value, then image request main control end can be selected to discharge.
Controlled terminal is when selecting the target image needing release, it is possible to have multiple choices foundation.For example, it is possible to the sequencing being buffered according to image selects, e.g., the image being buffered the earliest is defined as needing the image etc. of release.Or, it is also possible to selecting according to " importance " of each two field picture, the judging basis of so-called importance can be the number of times that image is used.As it was noted above, after controlled terminal newly gets a two field picture, judge whether with when the image of buffer memory is identical before, it may be necessary to compare with multiple image, therefrom select same image;Therefore, for a certain two field picture being buffered, it is possible to being all identical with the follow-up multiple image got, so, this two field picture will be used repeatedly, proves that this two field picture is important simultaneously, and the probability being subsequently to be used is also relatively larger.And the image that other were buffered, it is possible to it was not used to, or the number of times used was little, then can be determined that the image that can discharge.It addition, in actual applications, it is also possible to the factor of the time considering buffer memory and the number of times these two aspects used, COMPREHENSIVE CALCULATING goes out the weight of each two field picture being buffered, and then determine can d/d image.For example, it is possible to be that each image being buffered arranges a weight parameter at controlled terminal, original state is 0, and certain two field picture is only used once and will make weight increase once, and meanwhile, weight also can temporally pass and slowly reduce.If the time of certain image buffer storage be the earliest and access times be 0, then weight will become negative, therefore, it is possible to release can be chosen when Insufficient memory.
It should be noted that, the above is all at controlled terminal, the caching situation of main control end is monitored, and select image to be released at controlled terminal, in actual applications, in main control end, the cache request of self can also be monitored, and selected image to be released by main control end equally, concrete method with similar above, no longer detailed description etc. here.
Corresponding with the data transmission method in the remote assistance that the embodiment of the present invention provides, the embodiment of the present invention additionally provides the data transmission device in a kind of remote assistance, and referring to Fig. 3, this device may include that
Record unit 301, be suitable to obtain the first object image of current time at remote assistance controlled terminal, generate unique identification's code for described first object image, and preserve the corresponding relation between described first object image information and described unique identification's code at described controlled terminal;
First transmitting element 302, be suitable to the unique identification's code by described first object image and correspondence thereof and be sent to remote assistance main control end, to show described first object image in described main control end, and at corresponding relation between first object image and its unique identification's code described in described main control end buffer memory;
Comparing unit 303, is suitable to when getting the second target image of subsequent time at described controlled terminal, it is judged that whether described second target image is identical with described first object image;
Second transmitting element 304, if it is identical with described first object image to be suitable to described second target image, then unique identification's code corresponding for described first object image is sent to described main control end, so that described main control end finds described first object image according to described unique identification's code in the information of buffer memory, and described first object image is displayed.
It should be noted that in actual applications, the data transmission device in above-mentioned remote assistance can be built in remote assistance controlled terminal, just belongs to this situation such as Fig. 3.Or, the data transmission device in above-mentioned remote assistance can also independent of remote assistance controlled terminal but be able to carry out, with controlled terminal, the application program that information is mutual, as shown in Figure 4, belong to this situation.Fig. 4 and Fig. 3 compares, and except different from the relation between controlled terminal, other are all identical, therefore no longer describe in detail, are also all introduced for the situation in Fig. 3 hereinafter.It addition, in Fig. 3, the dotted line between first transmitting element the 302, second transmitting element 304 and main control end represents being remotely connected by the Internet, identical in each figure below.In Fig. 4, it is continuous that record unit 301, dotted line between comparing unit 303 and controlled terminal represent between different application programs.
Wherein, when controlled terminal preserves the corresponding relation between first object image information and unique identification's code, it is possible to generate a check code for first object image information, preserve the corresponding relation between this check code and unique identification's code, referring to Fig. 5, this device can also include:
Check code generates unit 305, is suitable to, when remote assistance controlled terminal gets the first object image of current time, by the mode that cyclic redundancy check (CRC) calculates, generate the first check code for described first object image;
Described record unit 301 is particularly adapted to:
The corresponding relation between described first check code and described unique identification's code is preserved at described controlled terminal;
Described comparing unit 303 is particularly adapted to:
By the mode that cyclic redundancy check (CRC) calculates, the second check code is generated for described second target image, described second check code and described first check code are carried out XOR, if operation result is zero, then described second target image is identical with described first object image.
In controlled terminal image change situation faster, the probability that present image is identical with successive image is less, such image just there is no need to carry out buffer memory in main control end, therefore, the change frequency of controlled terminal image can also be monitored simultaneously, determining the need in main control end, present image is carried out buffer memory according to change frequency, referring to Fig. 6, this device can also include:
Judging unit 306, be suitable to by the monitoring to controlled terminal image change frequency, judge that the target image that current time gets carries out buffer memory the need of in main control end, if, then notifying that described record unit performs described is that described first object image generates unique identification's code the operation of the corresponding relation between the described controlled terminal described first object image information of preservation and described unique identification's code.
When implementing, described judging unit 306 may include that
First monitoring subelement, be suitable to the image change frequency threshold according to presetting the change frequency of image in controlled terminal is monitored, when there is the change frequency of one or more image lower than described predetermined threshold value, determine that the target image that current time gets needs to carry out buffer memory in main control end, notifying that described record unit performs described is that described first object image generates unique identification's code the operation of the corresponding relation between the described controlled terminal described first object image information of preservation and described unique identification's code.
Or, described judging unit 306 can also include:
Second monitoring subelement, be suitable to prefixed time interval, when exist one or more target image exceed described interval do not change time, determine that the target image that current time gets needs to carry out buffer memory in main control end, notifying that described record unit performs described is that described first object image generates unique identification's code the operation of the corresponding relation between the described controlled terminal described first object image information of preservation and described unique identification's code.
When implementing, this device can also include:
Memory information acquiring unit, is suitable to the size obtaining main control end for the memory headroom of caching of target image;
Monitoring unit, is suitable to the image size of main control end accumulative buffer memory is monitored;
Releasing unit, be suitable to when the image size of main control end accumulative buffer memory reaches the size of described memory headroom, select target image to be released, send to described main control end and release order, and unique identification's code of described target image to be released is sent to described main control end, in order to described main control end discharges the target image that this identification code is corresponding.
Wherein, described releasing unit is particularly adapted to:
According to the time that target image is buffered, and/or the number of times that target image is used, calculating the weight of each target image being buffered, the target image that weight meets prerequisite is defined as target image to be released.
Described target image includes one or more combination following:
Desktop background, program interface and/or iconic element.
Not intrinsic to any certain computer, virtual system or miscellaneous equipment relevant in algorithm and the display of this offer.Various general-purpose systems can also with use based on together with this teaching.As described above, the structure constructed required by this kind of system is apparent from.Additionally, the present invention is also not for any certain programmed language.It is understood that, it is possible to utilize various programming language to realize the content of invention described herein, and the description above language-specific done is the preferred forms in order to disclose the present invention.
In description mentioned herein, describe a large amount of detail.It is to be appreciated, however, that embodiments of the invention can be put into practice when not having these details.In some instances, known method, structure and technology it are not shown specifically, in order to do not obscure the understanding of this description.
Similarly, it is to be understood that, one or more in order to what simplify that the disclosure helping understands in each inventive aspect, herein above in the description of the exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or descriptions thereof sometimes.But, the method for the disclosure should be construed to and reflect an intention that namely the present invention for required protection requires feature more more than the feature being expressly recited in each claim.More precisely, as the following claims reflect, inventive aspect is in that all features less than single embodiment disclosed above.Therefore, it then follows claims of detailed description of the invention are thus expressly incorporated in this detailed description of the invention, wherein each claim itself as the independent embodiment of the present invention.
Those skilled in the art are appreciated that, it is possible to carry out the module in the equipment in embodiment adaptively changing and they being arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and multiple submodule or subelement or sub-component can be put them in addition.Except at least some in such feature and/or process or unit excludes each other, it is possible to adopt any combination that all processes or the unit of all features disclosed in this specification (including adjoint claim, summary and accompanying drawing) and so disclosed any method or equipment are combined.Unless expressly stated otherwise, each feature disclosed in this specification (including adjoint claim, summary and accompanying drawing) can be replaced by the alternative features providing purpose identical, equivalent or similar.
In addition, those skilled in the art it will be appreciated that, although embodiments more described herein include some feature included in other embodiments rather than further feature, but the combination of the feature of different embodiment means to be within the scope of the present invention and form different embodiments.Such as, in the following claims, the one of any of embodiment required for protection can mode use in any combination.
The all parts embodiment of the present invention can realize with hardware, or realizes with the software module run on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that the some or all functions that microprocessor or digital signal processor (DSP) can be used in practice to realize the some or all parts in the data transmission set in remote assistance according to embodiments of the present invention.The present invention is also implemented as part or all the equipment for performing method as described herein or device program (such as, computer program and computer program).The program of such present invention of realization can store on a computer-readable medium, or can have the form of one or more signal.Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or provides with any other form.
The present invention will be described rather than limits the invention to it should be noted above-described embodiment, and those skilled in the art can design alternative embodiment without departing from the scope of the appended claims.In the claims, any reference marks that should not will be located between bracket is configured to limitations on claims.Word " comprises " and does not exclude the presence of the element or step not arranged in the claims.Word "a" or "an" before being positioned at element does not exclude the presence of multiple such element.The present invention by means of including the hardware of some different elements and can realize by means of properly programmed computer.In the unit claim listing some devices, several in these devices can be through same hardware branch and specifically embody.Word first, second and third use do not indicate that any order.Can be title by these word explanations.
The application can apply to computer system/server, and it can operate together with other universal or special computing system environment numerous or configuration.The example of well-known computing system, environment and/or configuration being suitable to use together with computer system/server includes but not limited to: personal computer system, server computer system, thin client, thick client computer, hand-held or laptop devices, based on the system of microprocessor, Set Top Box, programmable consumer electronics, NetPC Network PC, minicomputer system large computer system and the distributed cloud computing technology environment including any of the above described system, etc..Computer system/server can describe under the general linguistic context of the computer system executable instruction (such as program module) performed by computer system.Generally, program module can include routine, program, target program, assembly, logic, data structure etc., and they perform specific task or realize specific abstract data type.Computer system/server can be implemented in distributed cloud computing environment, and in distributed cloud computing environment, task is to be performed by by the remote processing devices of communication network links.In distributed cloud computing environment, program module may be located on the Local or Remote computing system storage medium including storage device.

Claims (14)

1. the data transmission device in remote assistance, including:
Record unit, be suitable to obtain the first object image of current time at remote assistance controlled terminal, unique identification's code is generated for described first object image, and preserve the corresponding relation between described first object image information and described unique identification's code at described controlled terminal, wherein, described unique identification's code identifies described first object image for unique;
First transmitting element, be suitable to the unique identification's code by described first object image and correspondence thereof and be sent to remote assistance main control end, to show described first object image in described main control end, and at corresponding relation between first object image and its unique identification's code described in described main control end buffer memory;
Comparing unit, is suitable to when getting the second target image of subsequent time at described controlled terminal, it is judged that whether described second target image is identical with described first object image;
Second transmitting element, if it is identical with described first object image to be suitable to described second target image, then unique identification's code corresponding for described first object image is sent to described main control end, so that described main control end finds described first object image according to described unique identification's code in the information of buffer memory, and described first object image is displayed;
Judging unit, be suitable to by the monitoring to controlled terminal image change frequency, judge that the target image that current time gets carries out buffer memory the need of in main control end, if, then notifying that described record unit performs described is that described first object image generates unique identification's code the operation of the corresponding relation between the described controlled terminal described first object image information of preservation and described unique identification's code.
2. device as claimed in claim 1, also includes:
Check code generates unit, is suitable to, when remote assistance controlled terminal gets the first object image of current time, by the mode that cyclic redundancy check (CRC) calculates, generate the first check code for described first object image;
Described record unit is particularly adapted to:
The corresponding relation between described first check code and described unique identification's code is preserved at described controlled terminal;
Described comparing unit is particularly adapted to:
By the mode that cyclic redundancy check (CRC) calculates, the second check code is generated for described second target image, described second check code and described first check code are carried out XOR, if operation result is zero, then described second target image is identical with described first object image.
3. device as claimed in claim 1, described judging unit includes:
First monitoring subelement, be suitable to the image change frequency threshold according to presetting the change frequency of image in controlled terminal is monitored, when there is the change frequency of one or more image lower than predetermined threshold value, determine that the target image that current time gets needs to carry out buffer memory in main control end, notifying that described record unit performs described is that described first object image generates unique identification's code the operation of the corresponding relation between the described controlled terminal described first object image information of preservation and described unique identification's code.
4. device as claimed in claim 1, described judging unit includes:
Second monitoring subelement, be suitable to prefixed time interval, when exist one or more target image exceed described interval do not change time, determine that the target image that current time gets needs to carry out buffer memory in main control end, notifying that described record unit performs described is that described first object image generates unique identification's code the operation of the corresponding relation between the described controlled terminal described first object image information of preservation and described unique identification's code.
5. device as claimed in claim 1, also includes:
Memory information acquiring unit, is suitable to the size obtaining main control end for the memory headroom of caching of target image;
Monitoring unit, is suitable to the image size of main control end accumulative buffer memory is monitored;
Releasing unit, be suitable to when the image size of main control end accumulative buffer memory reaches the size of described memory headroom, select target image to be released, send to described main control end and release order, and unique identification's code of described target image to be released is sent to described main control end, in order to described main control end discharges the target image that this identification code is corresponding.
6. device as claimed in claim 5, described releasing unit is particularly adapted to:
According to the time that target image is buffered, and/or the number of times that target image is used, calculating the weight of each target image being buffered, the target image that weight meets prerequisite is defined as target image to be released.
7. the device as described in any one of claim 1 to 6, described target image includes one or more combination following:
Desktop background, program interface and/or iconic element.
8. the data transmission method in a remote assistance, including: the first object image of current time is obtained at remote assistance controlled terminal, unique identification's code is generated for described first object image, and preserve the corresponding relation between described first object image information and described unique identification's code at described controlled terminal, wherein, described unique identification's code identifies described first object image for unique;
Unique identification's code of described first object image and correspondence thereof is sent to remote assistance main control end, to show described first object image in described main control end, and at corresponding relation between first object image and its unique identification's code described in described main control end buffer memory;
When getting the second target image of subsequent time at described controlled terminal, it is judged that whether described second target image is identical with described first object image;
If described second target image is identical with described first object image, then unique identification's code corresponding for described first object image is sent to described main control end, so that described main control end finds described first object image according to described unique identification's code in the information of buffer memory, and described first object image is displayed;
Wherein, for also including before described first object image generation unique identification's code:
By the monitoring to controlled terminal image change frequency, judge that the target image that current time gets carries out buffer memory the need of in main control end, if, then trigger described in performing is that described first object image generates unique identification's code the operation of the corresponding relation between the described controlled terminal described first object image information of preservation and described unique identification's code.
9. method as claimed in claim 8, when remote assistance controlled terminal gets the first object image of current time, also includes:
By the mode that cyclic redundancy check (CRC) calculates, generate the first check code for described first object image;
The described corresponding relation preserved between described first object image and described unique identification's code at described controlled terminal includes:
The corresponding relation between described first check code and described unique identification's code is preserved at described controlled terminal;
Described described second target image and described first object image being compared includes:
By the mode that cyclic redundancy check (CRC) calculates, the second check code is generated for described second target image, described second check code and described first check code are carried out XOR, if operation result is zero, then described second target image is identical with described first object image.
10. method as claimed in claim 8, described by the monitoring to controlled terminal image change frequency, it is judged that the target image that current time gets carries out buffer memory the need of in main control end, including:
According to default image change frequency threshold, the change frequency of image in controlled terminal is monitored, when there is the change frequency of one or more image lower than predetermined threshold value, it is determined that the target image that current time gets needs to carry out buffer memory in main control end.
11. method as claimed in claim 10, described by the monitoring to controlled terminal image change frequency, it is judged that the target image that current time gets carries out buffer memory the need of in main control end, including:
Prefixed time interval, when exist one or more target image exceed described interval do not change time, it is determined that target image that current time gets needs to carry out buffer memory in main control end.
12. method as claimed in claim 8, also include:
Obtain the main control end size for the memory headroom of caching of target image;
The image size of main control end accumulative buffer memory is monitored;
When the image size of main control end accumulative buffer memory reaches the size of described memory headroom, select target image to be released, send to described main control end and release order, and unique identification's code of described target image to be released is sent to described main control end, in order to described main control end discharges the target image that this identification code is corresponding.
13. method as claimed in claim 12, described selection target image to be released includes:
According to the time that target image is buffered, and/or the number of times that target image is used, calculating the weight of each target image being buffered, the target image that weight meets prerequisite is defined as target image to be released.
14. the method as described in any one of claim 8 to 13, described target image includes one or more combination following:
Desktop background, program interface and/or iconic element.
CN201210468686.8A 2012-11-19 2012-11-19 Data transmission device in remote assistance and method Expired - Fee Related CN102984230B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210468686.8A CN102984230B (en) 2012-11-19 2012-11-19 Data transmission device in remote assistance and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210468686.8A CN102984230B (en) 2012-11-19 2012-11-19 Data transmission device in remote assistance and method

Publications (2)

Publication Number Publication Date
CN102984230A CN102984230A (en) 2013-03-20
CN102984230B true CN102984230B (en) 2016-06-29

Family

ID=47857964

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210468686.8A Expired - Fee Related CN102984230B (en) 2012-11-19 2012-11-19 Data transmission device in remote assistance and method

Country Status (1)

Country Link
CN (1) CN102984230B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103281397A (en) * 2013-06-13 2013-09-04 苏州联讯达软件有限公司 Data-caching method and system based on timestamps and access density
CN103605535B (en) * 2013-11-01 2018-07-27 Tcl集团股份有限公司 Intelligent display device operating method, system and intelligent display device, mobile device
CN103871177B (en) * 2014-03-28 2017-04-05 浪潮软件集团有限公司 Remote maintenance method for network billing machine
CN104184805A (en) * 2014-08-13 2014-12-03 Tcl通讯(宁波)有限公司 Method and system for carrying out remote real-time control on mobile terminals
CN105677450A (en) * 2014-11-18 2016-06-15 中兴通讯股份有限公司 Remote operating method and device for terminal
CN107040777A (en) * 2017-06-08 2017-08-11 深圳市创维软件有限公司 A kind of remote debugging method, set top box and server
CN107592340B (en) * 2017-08-16 2020-12-18 联想(北京)有限公司 Method and apparatus for remotely operating management server
CN110007955B (en) * 2019-03-08 2020-12-15 浙江大学 Compression method for decoding module code of instruction set simulator
CN109977633B (en) * 2019-03-28 2023-04-07 武汉斗鱼鱼乐网络科技有限公司 Program protection method and related device
CN110661880A (en) * 2019-10-12 2020-01-07 西安维度视界科技有限公司 Remote assistance method, system and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101699822A (en) * 2009-08-06 2010-04-28 腾讯科技(深圳)有限公司 File uploading method and device, and mass storage system
CN102662618A (en) * 2012-03-29 2012-09-12 北京奇虎科技有限公司 Image processing method and device in remote assistance process

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9325823B2 (en) * 2008-12-19 2016-04-26 Verizon Patent And Licensing Inc. Visual address book and dialer

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101699822A (en) * 2009-08-06 2010-04-28 腾讯科技(深圳)有限公司 File uploading method and device, and mass storage system
CN102662618A (en) * 2012-03-29 2012-09-12 北京奇虎科技有限公司 Image processing method and device in remote assistance process

Also Published As

Publication number Publication date
CN102984230A (en) 2013-03-20

Similar Documents

Publication Publication Date Title
CN102984230B (en) Data transmission device in remote assistance and method
CN102984233B (en) For carrying out the apparatus and method of transfer of data in remote assistance
US9961129B2 (en) Business transaction correlation with client request monitoring data
US9384114B2 (en) Group server performance correction via actions to server subset
US10452469B2 (en) Server performance correction using remote server actions
JP2015513726A (en) Using the application cache to update installed application resources
CN106980565B (en) Upgrading process monitoring method and device
CN105208108B (en) File upload/method for down loading and system, server, client under Web environment
US10809681B2 (en) Data collection for assistance in an industrial automation environment
US20170126474A1 (en) Alert remediation automation
CN104866290A (en) Method and device for data transmission
CN111694582A (en) Application program resource package processing method, device, equipment and readable storage medium
WO2015030999A1 (en) Agentless monitoring of computer systems
CN107463527B (en) Facility management device
US8028204B2 (en) Method and system for maintenance of a data-processing apparatus
US9548893B2 (en) Dynamic agent replacement within a cloud network
US10666533B2 (en) Tag latency monitoring and control system for enhanced web page performance
CN114816637B (en) Application display method, device and system embedded in applet
CN106933449B (en) Icon processing method and device
CN110764932A (en) Data processing method, system, medium and computing device
CN112148324A (en) Method, apparatus and computer-readable storage medium for upgrading electronic device
US20240103992A1 (en) Alert rule manipulation in sync of temporary configuration change
CN112822257B (en) Web service management system, method and storage medium
CN109428765B (en) Method and device for processing client fault
CN113704016B (en) Cloud function component diagnosis method, device, equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160629

Termination date: 20211119

CF01 Termination of patent right due to non-payment of annual fee