CN107018137A - A kind of Flash reorientation methods and device - Google Patents
A kind of Flash reorientation methods and device Download PDFInfo
- Publication number
- CN107018137A CN107018137A CN201710230645.8A CN201710230645A CN107018137A CN 107018137 A CN107018137 A CN 107018137A CN 201710230645 A CN201710230645 A CN 201710230645A CN 107018137 A CN107018137 A CN 107018137A
- Authority
- CN
- China
- Prior art keywords
- resource identification
- window
- flash
- player
- broadcast window
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/04—Protocols specially adapted for terminals or networks with limited capabilities; specially adapted for terminal portability
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/34—Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/478—Supplemental services, e.g. displaying phone caller identification, shopping application
- H04N21/4782—Web browsing, e.g. WebTV
Abstract
A kind of Flash reorientation methods and device provided in an embodiment of the present invention, belong to the streaming Media Technology field of desktop virtualization.This method is applied to client, and this method includes:Obtain resource identification and play parameter that service end is sent;The window information of the window information of the default player of sync client and the player of service end;The Flash videos bound in resource identification described in default player plays are called based on the resource identification and the play parameter.Adobe flash contents in virtual desktop are redirected to client by obtaining the resource identification and play parameter of service end and handled by the present invention, so as to significantly reduce the workload of server and network, and also cause the window information of default player of client to keep synchronous in real time with the window information of the player of the service end so that user results in fine definition and smooth Consumer's Experience when playing Adobe flash videos.
Description
Technical field
The present invention relates to the streaming Media Technology field of desktop virtualization, redirected in particular to a kind of Flash
Method and device.
Background technology
With the development of computer technology and network universalness, virtual desktop technology is in current enterprise's working environment
Using more and more wider.In general in video website on-demand process, long-distance video resource request, transmission, decoding, wash with watercolours can be undergone
Dye etc. and then user can just see video image.Video is to be grasped with a series of still images by coding, compression, Document encapsulation etc.
Make the file of compacting, it has the features such as breadth is big, picture change is fast, popular saying is exactly video to allow human eye to watch
It is smooth, coherent to get up, and it must keep certain frame per second (frame number of display per second).However, existing common practice
It is to change faster region in service end detection picture, is video flowing by its region decision, then by the way that the data in region are entered
Row compression, re-sends to client progress decoding and renders, so that the operating pressure and net that add service end of high degree
The workload of network;Though portioned product is redirected by certain methods to the playing resource of video website, people is needed
Work is modified to configuration file, while can not be by the broadcast window of service end and the holding pair in real time of the broadcast window of client
Together, the play area that result in client and service end is inconsistent, so as to largely reduce the practicality and use of function
Experience at family.Therefore, how to solve the above problems is a great problem faced at present.
The content of the invention
The present invention provides a kind of Flash reorientation methods and device, it is intended to improve above mentioned problem.
In a first aspect, a kind of Flash reorientation methods that the present invention is provided, applied to service end, including:Obtain virtual table
The resource identification and play parameter for the Flash videos that face is played;Judge whether the resource identification meets preset rules;When described
When resource identification meets preset rules, stop the broadcasting of the Flash videos and send the resource identification and play parameter
To client.
Preferably, it is described to judge that the step of whether resource identification meets preset rules includes:Obtain the resource
Entrained key-strings in mark;By the comparison character string progress in the key-strings and the preset rules
Match somebody with somebody;When the key-strings with it is described compare string matching when, judge that the resource identification meets preset rules;When described
Key-strings with it is described compare character string and mismatch when, judge that the resource identification is unsatisfactory for preset rules.
Preferably, it is described judge the step of whether resource identification meets preset rules after, in addition to:When described
When resource identification is unsatisfactory for preset rules, the Flash videos are played in continuation in the virtual desktop.
Second aspect, a kind of Flash reorientation methods that the present invention is provided, applied to client, it is characterised in that bag
Include:Obtain resource identification and play parameter that service end is sent;The window information of the default player of the synchronous client with
The window information of the player of the service end;The default player is called based on the resource identification and the play parameter
Play the Flash videos bound in the resource identification.
Preferably, the window information of the default player of the described synchronization client and the player of the service end
Window information the step of include:The window information of the first broadcast window during the acquisition virtual desktop broadcasting Flash videos;
The window information of the broadcast window of the default player is set according to the window information of first broadcast window, so that described
The size of the broadcast window of default player and position and the size and location matches of first broadcast window.
Preferably, the window information of the first broadcast window during the described acquisition virtual desktop broadcasting Flash videos
The step of after, in addition to:The broadcast window of the default player is set according to the window information of first broadcast window
Window information, so as to perform dragging, maximization to the broadcast window of the default player, minimize and/or hide actions
When, the broadcast window of the default player is consistent with first broadcast window.
The third aspect, a kind of Flash redirection devices that the present invention is provided, applied to service end, including:Data acquisition list
Member, resource identification and play parameter for obtaining the Flash videos that virtual desktop is played;Data determining unit, for judging
Whether the resource identification meets preset rules;Data processing unit, for when the resource identification meets preset rules, stopping
Only the broadcasting of the Flash videos and the resource identification and play parameter are sent to client.
Preferably, the data determining unit includes:Data acquisition subelement, is taken for obtaining in the resource identification
The key-strings of band;Data Matching subelement, for by the comparison character in the key-strings and the preset rules
String is matched;First data judgment sub-unit, for when the key-strings with it is described compare string matching when, judge
The resource identification meets preset rules;Second data judgment sub-unit, for when the key-strings are with described comparing word
When symbol string is mismatched, judge that the resource identification is unsatisfactory for preset rules.
Fourth aspect, a kind of Flash redirection devices that the present invention is provided, applied to client, including:Data acquisition list
Member, resource identification and play parameter for obtaining service end transmission;Broadcast window setting unit, for the synchronous client
Default player window information and the service end player window information;Video playback unit, for based on institute
State resource identification and the play parameter calls Flash videos described in the default player plays bound in resource identification.
Preferably, the broadcast window setting unit includes:Data acquisition subelement, institute is played for obtaining virtual desktop
The window information of the first broadcast window when stating Flash videos;Data setting unit, for according to first broadcast window
Window information sets the window information of the broadcast window of the default player, so that the broadcast window of the default player
Size and position and the size and location matches of first broadcast window;Video playback subelement, for based on the resource
Mark obtains the Flash videos, so that acquired Flash videos are broadcast in the broadcast window of the default player
Put.
A kind of Flash reorientation methods and device that the invention described above is provided, the resource of the invention by obtaining service end
Adobe flash contents in virtual desktop are redirected to client and handled by mark and play parameter, so as to effectively drop
The low workload of server and network, while the flash play area to client has carried out location matches, to ensure visitor
The Complete Synchronization of family end flash play area and service end flash play area, and then allow users to obtain fine definition
With smooth Consumer's Experience.
To enable the above objects, features and advantages of the present invention to become apparent, preferred embodiment cited below particularly, and coordinate
Appended accompanying drawing, is described in detail below.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be attached to what is used required in embodiment
Figure is briefly described, it will be appreciated that the following drawings illustrate only certain embodiments of the present invention, therefore is not construed as pair
The restriction of scope, for those of ordinary skill in the art, on the premise of not paying creative work, can also be according to this
A little accompanying drawings obtain other related accompanying drawings.
The schematic diagram that Fig. 1 interacts for the server that present pre-ferred embodiments are provided with user terminal;
The structured flowchart for the electronic equipment that Fig. 2 provides for present pre-ferred embodiments;
A kind of flow chart for Flash reorientation methods that Fig. 3 provides for first embodiment of the invention;
A kind of flow chart for Flash reorientation methods that Fig. 4 provides for second embodiment of the invention;
A kind of high-level schematic functional block diagram for Flash redirection devices that Fig. 5 provides for third embodiment of the invention;
A kind of high-level schematic functional block diagram for Flash redirection devices that Fig. 6 provides for fourth embodiment of the invention.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
A part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art
The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.Therefore,
The detailed description of the embodiments of the invention to providing in the accompanying drawings is not intended to limit the model of claimed invention below
Enclose, but be merely representative of the selected embodiment of the present invention.Based on the embodiment in the present invention, those of ordinary skill in the art are not having
There is the every other embodiment made and obtained under the premise of creative work, belong to the scope of protection of the invention.
As shown in figure 1, being the schematic diagram that server and user terminal that present pre-ferred embodiments are provided are interacted.Institute
State server 100 to be communicatively coupled with one or more user terminals 200 by network, to enter row data communication or interaction.
The server 100 can be the webserver, database server etc..The user terminal 200 can be PC
(personal computer, PC), tablet personal computer, smart mobile phone, personal digital assistant (personal digital
Assistant, PDA), Intelligent worn device etc..In the present embodiment, application program can be set in user terminal 200, that is, uses
The application program that family is used, can obtain the resource identification and play parameter of Flash videos transmitted by server 100, so that
Played out according in the application program of the resource identification and play parameter of acquired Flash videos in the user terminal.
As shown in Fig. 2 being the structured flowchart of a kind of electronic equipment provided in an embodiment of the present invention.The electronic equipment 300
Server 100 can also be used as user terminal 200.The electronic equipment 300 includes Flash redirection devices, deposited
Reservoir 302, storage control 303, processor 304 and Peripheral Interface 305.
The memory 302, storage control 303, processor 304 and each element of Peripheral Interface 305 are direct each other
Or be electrically connected with indirectly, to realize the transmission or interaction of data.For example, these elements can pass through one or more each other
Communication bus or signal wire, which are realized, to be electrically connected with.The Flash redirection devices can be with software or firmware including at least one
(firmware) form is stored in the memory 302 or is solidificated in the operating system of the electronic equipment 300
Software function module in (operating system, OS).The processor 304 is used to perform what is stored in memory 302
Executable module, such as software function module or computer program that described Flash redirection devices include.
Wherein, memory 302 may be, but not limited to, random access memory (Random Access Memory,
RAM), read-only storage (Read Only Memory, ROM), programmable read only memory (Programmable Read-
Only Memory, PROM), erasable read-only memory (Erasable Programmable Read-Only Memory,
EPROM), electricallyerasable ROM (EEROM) (Electric Erasable Programmable Read-Only Memory,
EEPROM) etc..Wherein, memory 302 is used for storage program, and the processor 304 is performed described after execute instruction is received
Program, the method performed by server 100 that the stream process that foregoing any embodiment of the embodiment of the present invention is disclosed is defined can be answered
Realized in processor 304, or by processor 304.
Processor 304 is probably a kind of IC chip, the disposal ability with signal.Above-mentioned processor 304 can
To be general processor, including central processing unit (Central Processing Unit, abbreviation CPU), network processing unit
(Network Processor, abbreviation NP) etc.;Can also be digital signal processor (DSP), application specific integrated circuit (ASIC),
It is ready-made programmable gate array (FPGA) or other PLDs, discrete gate or transistor logic, discrete hard
Part component.It can realize or perform disclosed each method, step and the logic diagram in the embodiment of the present invention.General processor
Can be microprocessor or the processor can also be any conventional processor etc..
Various input/output devices are coupled to processor 304 and memory 302 by the Peripheral Interface 305.At some
In embodiment, Peripheral Interface 305, processor 304 and storage control 303 can be realized in one single chip.Other one
In a little examples, they can be realized by independent chip respectively.
Referring to Fig. 3, being a kind of flow chart for Flash reorientation methods that first embodiment of the invention is provided.It is described
Flash reorientation methods are applied to service end.The idiographic flow shown in Fig. 3 will be described in detail below.
Step S301, obtains the resource identification and play parameter for the Flash videos that virtual desktop is played.
Wherein, the virtual desktop refers to that the Remote Dynamic for supporting enterprise-level to realize desktop system is accessed and data center's system
The technology of one trustship.One vivid analogy is exactly, now we can by any equipment, in any place, any time
Access our mailing system on network, or Dropbox;And future, we can by any equipment, in any place,
Access any time and belong to our personal desktop systems on network.
Wherein, the resource identification refers to the URL addresses of the video source for the Flash videos played in virtual desktop
(Uniform Resource Locator, URL).
In the present embodiment, the play parameter refers to the identity information of the Flash videos.
As a kind of embodiment, by installing an IE BHO plug-in units (Browser Helper in virtual desktop
Object, browser auxiliary object) so that resource identification and play parameter to get Flash videos.Specifically, Flash
Plug-in unit is loaded, it is derived multiple interfaces and IE is handed over as an IE add-on assemble in the way of ActiveX by IE
Mutually.It is by calling ID to be forwarded by Invoke interfaces that wherein ActiveX and page script, which are interacted,.BHO plug-in units lead to
Cross COM HOOK and catch on Invoke interfaces, it is achieved thereby that the monitoring to flash activex controls.It is default finally by calling
Put_Movie routine interfaces and call default put_FlashVars routine interfaces so that realize acquisition virtual desktop broadcast
The resource identification and play parameter for the Flash videos put.Wherein, the put_Movie routine interfaces are used to set playing resource
Mark.The put_FlashVars routine interfaces are used to set play parameter.
Step S302, judges whether the resource identification meets preset rules.
Wherein, the preset rules refer to the resource identification and side of the default comparison information according to regular expression
Formula is matched.
As a kind of embodiment, by first obtaining key-strings entrained in the resource identification;Again will be described
Key-strings are matched with the comparison character string in the preset rules;When the key-strings are with described comparing character
During String matching, judge that the resource identification meets preset rules;When the key-strings are mismatched with the character string that compares
When, judge that the resource identification is unsatisfactory for preset rules.For example, default alignment programs interface is as follows:
Character string in the alignment programs interface is matched with key-strings according to the rule of regular expression.Example
Such as, current key-strings be youku.com.1, by the youku.com.1 respectively with the character in alignment programs interface
String is matched, and the comparison character string in alignment programs interface is youku, is matched according to Youku.* forms, can milli
Youku.com.1 meets preset rules to drawing without doubt.Wherein, * represents asterisk wildcard.
Wherein, the key-strings refer to the character string for being used for being compared in the resource identification.The character string
Refer to multiple character compositions.
Step S303, when the resource identification is unsatisfactory for preset rules, continues to play described in the virtual desktop
Flash videos.
Step S304, when the resource identification meets preset rules, stops the broadcasting of the Flash videos and by described in
Resource identification and play parameter are sent to client.
Wherein, stop the Flash videos and refer to stop at the Flash videos played on the virtual desktop.
As a kind of embodiment, when stopping the Flash videos, and a prompt message is sent, so that user is logical
Cross prompt message and know why currently played Flash videos are stopped.For example, the prompt message is " you
Video has been redirected ".
In the present embodiment, can in advance it be ready to by the way that the original video source address in invoke interfaces is changed into one
Display user prompting swf files, so as to be pointed out.
In the present embodiment, after the broadcasting of the Flash videos is stopped, the resource identification and play parameter are sent
To client, so that the client can play out the Flash videos according to the resource identification and play parameter.
Referring to Fig. 4, being a kind of flow chart for Flash reorientation methods that second embodiment of the invention is provided.It is described
Flash reorientation methods are applied to client.The idiographic flow shown in Fig. 4 will be described in detail below.
Step S401, obtains resource identification and play parameter that service end is sent.
When in the virtual desktop the Flash videos stop play when, obtain service end send resource identification and
Play parameter.
Step S402, the window of the window information and the player of the service end of the default player of the synchronous client
Message ceases.
In the present embodiment, the default player is flash player.The synchronization refers to according to the service end
Player window information set the client default player window information so that the default of the client is broadcast
Window information of the window information of device all the time with the player of the service end is put to be consistent.
It is used as a kind of embodiment, the window of the first broadcast window during the acquisition virtual desktop broadcasting Flash videos
Information;The window information of the broadcast window of the default player is set according to the window information of first broadcast window, with
Make the size and position and the size and location matches of first broadcast window of the broadcast window of the default player.Pass through
The window information of the first broadcast window during the acquisition virtual desktop broadcasting Flash videos, so as to be played according to described first
The window information of window sets the window information of the broadcast window of the default player, effectively causes described first to play window
Mouth aligns with the broadcast window of the default player, and user can be caused, which to watch when flash video is played, seamless experience
Enjoy, both made flash video of the flash video that user is watched by redirection mode with locally watching have identical clear
Degree and fluency.
Wherein, the window information refers to the size of broadcast window and the relative position information on virtual desktop.
Wherein, so that the size of the broadcast window of the default player and position and the size of first broadcast window
Refer to the chi by the size of the broadcast window of the default player and position according to first broadcast window with location matches
Very little and position is configured, that is, the broadcast window for presetting player is overlapped with first broadcast window.
Wherein, by realizing IOleWindow windows, so as to carry out the display of window on ie browsers.Specifically, may be used
The window handle of flash player is got to catch on IOleWindow GetWindow interfaces by COM HOOK, is passed through
Window handle can just obtain the window's position by getwindowposition, and by windows message come WM_
WINDOWPOSCHANGED obtains the window's position change message and real-time update area information.It is blocked for flash windows
Region, then can be obtained by GetRandomRgn.
It is used as another embodiment, the window of the first broadcast window during the acquisition virtual desktop broadcasting Flash videos
Message ceases;The window information of the broadcast window of the default player is set according to the window information of first broadcast window,
It is described default during so as to perform dragging, maximization, minimum and/or hide actions to the broadcast window of the default player
The broadcast window of player is consistent with first broadcast window.Set according to the window information of first broadcast window
The window information of the broadcast window of the default player so that the size of the broadcast window of the default player and position with
The size and location matches of first broadcast window.By setting described pre- according to the window information of first broadcast window
If the window information of the broadcast window of player, it is also possible that performing dragging, most to the broadcast window of the default player
When bigization, minimum and/or hide actions, the broadcast window of the default player keeps one with first broadcast window
Cause.Further so that user is dragged to player when watching flash video broadcasting, maximized, minimized and/or hidden
There can be the enjoyment of seamless experience during Tibetan.
Step S403, resource described in the default player plays is called based on the resource identification and the play parameter
The bound Flash videos of mark.
In the present embodiment, the binding refers to the Flash videos corresponding to the resource identification.Pass through the resource
Mark can find the Flash videos.
In the present embodiment, Flash videos are obtained by the resource identification and the play parameter, so that described
Flash videos can be played out in the default player, so that fine definition and the Flash of smoothness that user is seen
Video, and then lift Consumer's Experience.
Referring to Fig. 5, being a kind of functional module signal for Flash redirection devices that third embodiment of the invention is provided
Figure.The Flash redirection devices 500 are applied to service end.The Flash redirection devices 500 include data capture unit
510th, data determining unit 520 and data processing unit 530.
Data capture unit 510, resource identification and play parameter for obtaining the Flash videos that virtual desktop is played.
Data determining unit 520, for judging whether the resource identification meets preset rules.
Wherein, the data determining unit 520 also includes:Data acquisition subelement 521, Data Matching subelement 522,
One data judgment sub-unit 523 and the second data judgment sub-unit 524.
Data acquisition subelement 521, for obtaining key-strings entrained in the resource identification.
Data Matching subelement 522, for the key-strings to be entered with the comparison character string in the preset rules
Row matching.
First data judgment sub-unit 523, for when the key-strings with it is described compare string matching when, judge
The resource identification meets preset rules.
Second data judgment sub-unit 524, for when the key-strings with it is described compare character string mismatch when, sentence
The fixed resource identification is unsatisfactory for preset rules.
Data processing unit 530, for when the resource identification meets preset rules, stopping the Flash videos
Play and send the resource identification and play parameter to client.
Wherein, the data processing unit 530, is additionally operable to when the resource identification is unsatisfactory for preset rules, continues
The Flash videos are played in the virtual desktop.
Referring to Fig. 6, being a kind of functional module signal for Flash redirection devices that fourth embodiment of the invention is provided
Figure.The Flash redirection devices 600 are applied to client.The Flash redirection devices 600 include data capture unit
610th, broadcast window setting unit 620 and the video playback unit 630.
Data capture unit 610, resource identification and play parameter for obtaining service end transmission.
Broadcast window setting unit 620, window information and the clothes for the default player of the synchronous client
The window information of the player at business end.
The broadcast window setting unit 620 includes:Data acquisition subelement 621, the first data setting unit 622 and
Two data setting units 623.
Data acquisition subelement 621, for obtaining the first broadcast window during the virtual desktop broadcasting Flash videos
Window information.
First data setting unit 622, for setting described preset to broadcast according to the window information of first broadcast window
The window information of the broadcast window of device is put, so that the size of the broadcast window of the default player and position are broadcast with described first
Put the size and location matches of window.
Second data setting unit 623, for setting described preset to broadcast according to the window information of first broadcast window
The window information of the broadcast window of device is put, so that the broadcast window to the default player performs dragging, maximization, minimized
And/or during hide actions, the broadcast window of the default player is consistent with first broadcast window.
Video playback unit 630, for calling default player plays based on the resource identification and the play parameter
Flash videos bound in the resource identification.
In summary, the present invention provides a kind of Flash reorientation methods and device, the money of the invention by obtaining service end
Source is identified and Adobe flash videos in virtual desktop are redirected to client and handled by play parameter, so as to reduce clothes
The workload of business device and network, while the flash play area to client has carried out location matches, to ensure client
The Complete Synchronization of flash play area and service end flash play area, and then allow users to obtain fine definition and stream
Smooth Consumer's Experience.
In several embodiments provided herein, it should be understood that disclosed apparatus and method, it can also pass through
Other modes are realized.Device embodiment described above is only schematical, for example, flow chart and block diagram in accompanying drawing
Show according to the device of multiple embodiments of the present invention, the architectural framework in the cards of method and computer program product,
Function and operation.At this point, each square frame in flow chart or block diagram can represent the one of a module, program segment or code
Part a, part for the module, program segment or code is used to realize holding for defined logic function comprising one or more
Row instruction.It should also be noted that in some implementations as replacement, the function of being marked in square frame can also with different from
The order marked in accompanying drawing occurs.For example, two continuous square frames can essentially be performed substantially in parallel, they are sometimes
It can perform in the opposite order, this is depending on involved function.It is also noted that every in block diagram and/or flow chart
The combination of individual square frame and block diagram and/or the square frame in flow chart, can use the special base for performing defined function or action
Realize, or can be realized with the combination of specialized hardware and computer instruction in the system of hardware.
In addition, each functional module in each embodiment of the invention can integrate to form an independent portion
Point or modules individualism, can also two or more modules be integrated to form an independent part.
If the function is realized using in the form of software function module and is used as independent production marketing or in use, can be with
It is stored in a computer read/write memory medium.Understood based on such, technical scheme is substantially in other words
The part contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter
Calculation machine software product is stored in a storage medium, including some instructions are to cause a computer equipment (can be individual
People's computer, server, or network equipment etc.) perform all or part of step of each of the invention embodiment methods described.
And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), arbitrary access
Memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.Need
It is noted that herein, such as first and second or the like relational terms are used merely to an entity or operation
Made a distinction with another entity or operation, and not necessarily require or imply these entities or exist between operating any this
Actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant are intended to nonexcludability
Comprising so that process, method, article or equipment including a series of key elements are not only including those key elements, but also wrap
Include other key elements being not expressly set out, or also include for this process, method, article or equipment intrinsic want
Element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that wanted including described
Also there is other identical element in process, method, article or the equipment of element.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the invention, for the skill of this area
For art personnel, the present invention can have various modifications and variations.Within the spirit and principles of the invention, that is made any repaiies
Change, equivalent substitution, improvement etc., should be included in the scope of the protection.It should be noted that:Similar label and letter exists
Similar terms is represented in following accompanying drawing, therefore, once being defined in a certain Xiang Yi accompanying drawing, is then not required in subsequent accompanying drawing
It is further defined and explained.
Claims (10)
1. a kind of Flash reorientation methods, applied to service end, it is characterised in that including:
Obtain the resource identification and play parameter for the Flash videos that virtual desktop is played;
Judge whether the resource identification meets preset rules;
When the resource identification meets preset rules, stop the broadcasting of the Flash videos and by the resource identification and broadcast
Parameter is put to send to client.
2. according to the method described in claim 1, it is characterised in that described judges whether the resource identification meets default rule
Then the step of, includes:
Obtain key-strings entrained in the resource identification;
The key-strings are matched with the comparison character string in the preset rules;
When the key-strings with it is described compare string matching when, judge that the resource identification meets preset rules;
When the key-strings with it is described compare character string and mismatch when, judge that the resource identification is unsatisfactory for preset rules.
3. according to the method described in claim 1, it is characterised in that described judges whether the resource identification meets default rule
After then the step of, in addition to:
When the resource identification is unsatisfactory for preset rules, the Flash videos are played in continuation in the virtual desktop.
4. a kind of Flash reorientation methods, applied to client, it is characterised in that including:
Obtain resource identification and play parameter that service end is sent;
The window information of the window information and the player of the service end of the default player of the synchronous client;
Called based on the resource identification and the play parameter bound in resource identification described in the default player plays
Flash videos.
5. method according to claim 4, it is characterised in that the window of the default player of the described synchronization client
The step of message ceases the window information with the player of the service end includes:
The window information of the first broadcast window during the acquisition virtual desktop broadcasting Flash videos;
The window information of the broadcast window of the default player is set according to the window information of first broadcast window, so that
The size of the broadcast window of the default player and position and the size and location matches of first broadcast window.
6. method according to claim 5, it is characterised in that described acquisition virtual desktop plays the Flash videos
When the first broadcast window window information the step of after, in addition to:
The window information of the broadcast window of the default player is set according to the window information of first broadcast window, so that
Dragging, maximization are performed to the broadcast window of the default player, is minimized and/or during hide actions, it is described default to play
The broadcast window of device is consistent with first broadcast window.
7. a kind of Flash redirection devices, applied to service end, it is characterised in that including:
Data capture unit, resource identification and play parameter for obtaining the Flash videos that virtual desktop is played;
Data determining unit, for judging whether the resource identification meets preset rules;
Data processing unit, for when the resource identification meets preset rules, the broadcasting of the stopping Flash videos simultaneously will
The resource identification and play parameter are sent to client.
8. device according to claim 7, it is characterised in that the data determining unit includes:
Data acquisition subelement, for obtaining key-strings entrained in the resource identification;
Data Matching subelement, for the key-strings to be matched with the comparison character string in the preset rules;
First data judgment sub-unit, for when the key-strings with it is described compare string matching when, judge the money
Source mark meets preset rules;
Second data judgment sub-unit, for when the key-strings with it is described compare character string and mismatch when, judge described
Resource identification is unsatisfactory for preset rules.
9. a kind of Flash redirection devices, applied to client, it is characterised in that including:
Data capture unit, resource identification and play parameter for obtaining service end transmission;
Broadcast window setting unit, the window information of default player and broadcasting for the service end for the synchronous client
Put the window information of device;
Video playback unit, for being called based on the resource identification and the play parameter described in the default player plays
Flash videos bound in resource identification.
10. device according to claim 9, it is characterised in that the broadcast window setting unit includes:
Data acquisition subelement, the window for obtaining the first broadcast window when virtual desktop plays the Flash videos is believed
Breath;
First data setting unit, for setting broadcasting for the default player according to the window information of first broadcast window
The window information of window is put, so that the size of the broadcast window of the default player and position and first broadcast window
Size and location matches.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710230645.8A CN107018137A (en) | 2017-04-07 | 2017-04-07 | A kind of Flash reorientation methods and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710230645.8A CN107018137A (en) | 2017-04-07 | 2017-04-07 | A kind of Flash reorientation methods and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107018137A true CN107018137A (en) | 2017-08-04 |
Family
ID=59446334
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710230645.8A Pending CN107018137A (en) | 2017-04-07 | 2017-04-07 | A kind of Flash reorientation methods and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107018137A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108521604A (en) * | 2018-03-30 | 2018-09-11 | 新华三云计算技术有限公司 | Redirect the multi-display method and device of video |
CN108563479A (en) * | 2018-03-21 | 2018-09-21 | 新华三云计算技术有限公司 | Redirect control method, device, virtual machine and the Redirectional system of window |
CN109040792A (en) * | 2018-08-13 | 2018-12-18 | 中兴通讯股份有限公司 | A kind of processing method, cloud terminal and cloud desktop server that video redirects |
CN110971860A (en) * | 2018-09-28 | 2020-04-07 | 华为技术有限公司 | Display method and device |
CN111526428A (en) * | 2020-04-26 | 2020-08-11 | 湖南麒麟信安科技有限公司 | Method, system and medium for realizing HTML5 video playing in cloud desktop |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2007064987A3 (en) * | 2005-12-04 | 2008-05-29 | Turner Broadcasting Sys Inc | System and method for delivering video and audio content over a network |
CN102761603A (en) * | 2012-06-07 | 2012-10-31 | 福建升腾资讯有限公司 | Webpage flash video redirection method in VDI environment |
CN103716318A (en) * | 2013-12-25 | 2014-04-09 | 杭州网新云视科技有限公司 | Method for improving display quality of virtual desktop by jointly using RFB coding and H.264 coding in cloud computing environment |
CN103905927A (en) * | 2012-12-26 | 2014-07-02 | 华为技术有限公司 | Video redirection method under virtual desktop scene, desktop server and system |
CN103997691A (en) * | 2014-06-02 | 2014-08-20 | 合一网络技术(北京)有限公司 | Method and system for video interaction |
CN105227989A (en) * | 2014-06-24 | 2016-01-06 | 北京云端时代科技有限公司 | A kind of multimedia reorientation method based on VDI Technical Architecture and system |
CN105282624A (en) * | 2014-06-23 | 2016-01-27 | 中兴通讯股份有限公司 | Desktop cloud video play processing method and device |
CN106101822A (en) * | 2016-07-08 | 2016-11-09 | 中霆云计算科技(上海)有限公司 | H.264 video reorientation method and device of based on Windows system |
-
2017
- 2017-04-07 CN CN201710230645.8A patent/CN107018137A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2007064987A3 (en) * | 2005-12-04 | 2008-05-29 | Turner Broadcasting Sys Inc | System and method for delivering video and audio content over a network |
CN102761603A (en) * | 2012-06-07 | 2012-10-31 | 福建升腾资讯有限公司 | Webpage flash video redirection method in VDI environment |
CN103905927A (en) * | 2012-12-26 | 2014-07-02 | 华为技术有限公司 | Video redirection method under virtual desktop scene, desktop server and system |
CN103716318A (en) * | 2013-12-25 | 2014-04-09 | 杭州网新云视科技有限公司 | Method for improving display quality of virtual desktop by jointly using RFB coding and H.264 coding in cloud computing environment |
CN103997691A (en) * | 2014-06-02 | 2014-08-20 | 合一网络技术(北京)有限公司 | Method and system for video interaction |
CN105282624A (en) * | 2014-06-23 | 2016-01-27 | 中兴通讯股份有限公司 | Desktop cloud video play processing method and device |
CN105227989A (en) * | 2014-06-24 | 2016-01-06 | 北京云端时代科技有限公司 | A kind of multimedia reorientation method based on VDI Technical Architecture and system |
CN106101822A (en) * | 2016-07-08 | 2016-11-09 | 中霆云计算科技(上海)有限公司 | H.264 video reorientation method and device of based on Windows system |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108563479A (en) * | 2018-03-21 | 2018-09-21 | 新华三云计算技术有限公司 | Redirect control method, device, virtual machine and the Redirectional system of window |
CN108521604A (en) * | 2018-03-30 | 2018-09-11 | 新华三云计算技术有限公司 | Redirect the multi-display method and device of video |
CN108521604B (en) * | 2018-03-30 | 2020-12-08 | 新华三云计算技术有限公司 | Multi-screen display method and device for redirecting video |
CN109040792A (en) * | 2018-08-13 | 2018-12-18 | 中兴通讯股份有限公司 | A kind of processing method, cloud terminal and cloud desktop server that video redirects |
CN109040792B (en) * | 2018-08-13 | 2021-04-09 | 中兴通讯股份有限公司 | Processing method for video redirection, cloud terminal and cloud desktop server |
CN110971860A (en) * | 2018-09-28 | 2020-04-07 | 华为技术有限公司 | Display method and device |
CN110971860B (en) * | 2018-09-28 | 2022-06-28 | 华为技术有限公司 | Display method and device |
CN111526428A (en) * | 2020-04-26 | 2020-08-11 | 湖南麒麟信安科技有限公司 | Method, system and medium for realizing HTML5 video playing in cloud desktop |
CN111526428B (en) * | 2020-04-26 | 2022-04-26 | 湖南麒麟信安科技股份有限公司 | Method, system and medium for realizing HTML5 video playing in cloud desktop |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107018137A (en) | A kind of Flash reorientation methods and device | |
CN104937525B (en) | Use the content operation of slip gesture identification technology | |
US9256901B2 (en) | Methods and system for enabling communication of identity information during online transaction | |
US20200195842A1 (en) | Information pushing method, storage medium, terminal device, and server | |
CN109309842B (en) | Live broadcast data processing method and device, computer equipment and storage medium | |
WO2021082299A1 (en) | Video playback method and device | |
CN104238986A (en) | Screen transfer display method and device | |
US20170330261A1 (en) | Information presentation method and information presentation apparatus | |
WO2019114330A1 (en) | Video playback method and apparatus, and terminal device | |
WO2020078050A1 (en) | Comment information processing method and apparatus, and server, terminal and readable medium | |
CN102314340A (en) | Method for closing camera | |
CN110098995A (en) | Information processing method, information display method, device, electronic equipment and server | |
CN109254709A (en) | Screenshotss processing method, device, equipment and machine readable media | |
CN108694009A (en) | terminal control method and device | |
CN109388737B (en) | Method and device for sending exposure data of content item and storage medium | |
CN108271050B (en) | Live broadcast room program recommendation method and device | |
CN110134450A (en) | A kind of video reorientation method, device and computer readable storage medium | |
CN106807089A (en) | Game data processing method and device | |
CN105739936B (en) | A kind of user terminal control method and user terminal | |
US20170161871A1 (en) | Method and electronic device for previewing picture on intelligent terminal | |
CN106331860A (en) | Set-top box business adaptation method, device and system | |
CN112272329A (en) | Method for accelerating display speed of android list | |
CN110709834B (en) | Method, system and medium for retrieving content associated with links | |
US20220191556A1 (en) | Method for processing live broadcast information, electronic device and storage medium | |
CN106997261A (en) | Using hidden method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170804 |