CN109151581A - A kind of data output method and device - Google Patents

A kind of data output method and device Download PDF

Info

Publication number
CN109151581A
CN109151581A CN201810834123.3A CN201810834123A CN109151581A CN 109151581 A CN109151581 A CN 109151581A CN 201810834123 A CN201810834123 A CN 201810834123A CN 109151581 A CN109151581 A CN 109151581A
Authority
CN
China
Prior art keywords
application program
data
floating layer
terminal
region
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
Application number
CN201810834123.3A
Other languages
Chinese (zh)
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 QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and Technology 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 QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN201810834123.3A priority Critical patent/CN109151581A/en
Publication of CN109151581A publication Critical patent/CN109151581A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • H04N21/4438Window management, e.g. event handling following interaction with the user interface
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/485End-user interface for client configuration
    • H04N21/4858End-user interface for client configuration for modifying screen layout parameters, e.g. fonts, size of the windows

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The present invention provides a kind of data output method and device, applied in terminal, it include: that will continue to show in the first floating layer of the top set that the data-moving of the first application program to terminal is pre-created in the case where detecting that terminal switches to the second application program by the first application program;The data of second application program are shown in the second floating layer of terminal, and show that the region of the data of the second application program and the region of the data of the first application program of display be not be overlapped in the terminal.The present invention realizes when switching between different application, guarantees that the data of the first application program (APP before switching) continue to output, for example continue to play video, without interrupting data output.

Description

A kind of data output method and device
Technical field
The present invention relates to technical field of data processing more particularly to a kind of data output methods and dress across application program It sets.
Background technique
When switching between different application (Application, APP) on the terminal device, current data are defeated The corresponding data of APP before method meeting interrupt output switches out, then export the corresponding data of APP after switching.
By taking video playing as an example, when user uses some APP to watch video on the terminal device, if it is desired to browse other Content of pages on APP then needs to exit the video playing page of current APP (the referred to as original APP of current APP), enters to target The page of APP (APP after switching).When user thinks the video on the video playing page for checking original APP again, then pass through again The operations such as click jump back to the video playing page of original APP, continue to watch video, thus in the switching of original APP and target APP In the process can interrupt output switching before the corresponding data of APP, such as after switching to target APP from original APP, original APP Corresponding data can be interrupted, and the video playing on such as video playing page of above-mentioned original APP can be interrupted.
However it was found by the inventors of the present invention that in actual application, user is sometime to current APP output Data are lost interest in, and user wishes the data of the browsing objective APP in the case where not influencing the data of current APP output at this time, When playing video such as current APP, user does not feel emerging to the interspersed ad content played of current APP or the video seen etc. Interest, user wants to browse video, the news etc. that other APP are played at this time, but is not desired to influence the broadcasting of current video, then aobvious So current data output method is unable to satisfy user's the demand.
Summary of the invention
In view of this, the present invention provides a kind of data output method and device across application program, can be realized in difference When switching between APP, the data of APP output before switching, such as video content, normal play are exported and are not disrupted.Technical solution It is as follows:
Based on an aspect of of the present present invention, the present invention provides a kind of data output method, is applied in terminal, the method packet It includes:
In the case where detecting that the terminal switches to the second application program by the first application program, described first is answered Continue to show in first floating layer of the top set being pre-created with the data-moving of program to the terminal;
The data of second application program are shown in the second floating layer of the terminal, and show institute in the terminal Region and the region for the data for showing first application program for stating the data of the second application program be not be overlapped.
Optionally, described to apply journey for described first when first application program is video playback class application program Continuing display in first floating layer of the top set that the data-moving of sequence is pre-created to the terminal includes: by described first using journey Continue to show in the broadcast window shown on the data-moving of sequence to first floating layer.
Optionally, first floating layer is the transparent floating layer of a global top set.
Optionally, the method also includes: obtain operating body on the terminal executes operate when operation information;
When the corresponding region of the operation information is the broadcast window region, according to the operation information to institute The data display mode or the broadcast window for stating the first application program are controlled;
When the corresponding region of the operation information be first floating layer in addition to the broadcast window region When region, second application program is controlled according to the operation information.
Optionally, described when the corresponding region of the operation information is the broadcast window region, according to described Operation information carries out control to the data display mode of first application program or the broadcast window
When the corresponding region of the operation information is the broadcast window region, determined according to the operation information Operational order;
When the operational order shows to move the broadcast window, broadcast according to operation information determination The position that window will be moved to is put, and the broadcast window is moved to identified position, at identified position Continue to show the data of first application program;
The data by second application program show to include: according to determining in the second floating layer of the terminal Position, adjust display of the data of second application program in second floating layer.
Optionally, it is switched to when the operational order shows that the data display mode by first application program is restored to When display mode before the second application program, continue to show described first according to the display mode before the second application program is switched to The data of application program;
Hide the broadcast window shown in first floating layer;
The data by second application program show to include: according to determining in the second floating layer of the terminal Position, adjust display of the data of second application program in second floating layer.
Based on another aspect of the present invention, the present invention provides a kind of data output device, is applied in terminal, described device Include:
Detection unit, for detecting whether the terminal by the first application program switches to the second application program;
Data-moving unit, for detecting that the terminal switches to second by the first application program in the detection unit In the case where application program, the first of the top set that the data-moving of first application program to the terminal is pre-created is floated Continue to show on layer;
Display unit, for the data of second application program to be shown in the second floating layer of the terminal, and institute It states the region for the data for showing second application program in terminal and shows the region of the data of first application program not Overlapping.
Optionally, when first application program is video playback class application program, the data-moving unit is specific For that will continue to show in the broadcast window that shown on the data-moving of first application program to first floating layer.
Optionally, first floating layer is the transparent floating layer of a global top set.
Optionally, described device further include:
Acquiring unit, for obtaining operation information when operating body executes operation on the terminal;
Control unit is used for when the corresponding region of the operation information is the broadcast window region, according to institute Operation information is stated to control the data display mode of first application program or the broadcast window;And when described When the corresponding region of operation information is the region in first floating layer in addition to the broadcast window region, according to described Operation information controls second application program.
Optionally, described when the corresponding region of the operation information is the broadcast window region, the control Unit is specifically used for,
When the corresponding region of the operation information is the broadcast window region, determined according to the operation information Operational order;
When the operational order shows to move the broadcast window, broadcast according to operation information determination The position that window will be moved to is put, and the broadcast window is moved to identified position, at identified position Continue to show the data of first application program;
The display unit is specifically used at this time, according to identified position, adjusts the data of second application program Display in second floating layer.
Optionally, it is switched to when the operational order shows that the data display mode by first application program is restored to When display mode before the second application program, described control unit is also used to, according to switching to the display before the second application program Mode continues to show the data of first application program;Hide the broadcast window shown in first floating layer;
The display unit is specifically used at this time, according to identified position, adjusts the data of second application program Display in second floating layer.
In data output method and device provided by the invention across application program, detecting terminal by first using journey In the case that sequence switches to the second application program, the of the top set that the data-moving of the first application program to terminal is pre-created Continue to show in one floating layer, and the data of the second application program are shown in the second floating layer of terminal, and is corresponded in terminal Show the display first in the first floating layer corresponding in terminal of the region of the data of the second application program using journey in second floating layer The region of the data of sequence is not overlapped, and in this way after terminal switches to the second application program by the first application program, terminal is second While exporting the data of the second application program in floating layer, the first application program is continued to output yet by the first floating layer of top set Data, the output without interrupting the first application data, therefore the present invention realizes when switching between different application, It ensure that the first application program (APP before switching) data continue to output, for example continue to play video, without interrupting data Output.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of flow chart of data output method provided by the invention;
Fig. 2 is the display schematic diagram of related data in mobile phone screen in the present invention;
Fig. 3 is the flow chart of another data output method provided by the invention;
Fig. 4 is the display before the global watching mode of mobile phone unlatching in the present invention with mobile phone screen after the global watching mode of unlatching Schematic diagram;
Fig. 5 is the display schematic diagram of mobile phone screen after switching APP in the present invention;
Fig. 6 is a kind of structural schematic diagram of data output device provided by the invention;
Fig. 7 is the structural schematic diagram of another data output device provided by the invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
As shown in Figure 1, it illustrates a kind of data output method across application program provided by the invention, this method is specific Applied in terminal, the terminal is specially to support the terminal of touch control, such as mobile phone, tablet computer mobile terminal, can also Think some non mobility large size touch control devices etc. for user experience.Method may include:
Step 101, in the case where detecting that the terminal switches to the second application program by the first application program, by institute It states and continues to show in the first floating layer of the top set that the data-moving of the first application program is pre-created to the terminal.
In the present invention, the first floating layer is the floating layer of a top set, and the data shown in first floating layer can be preferably displaying in end The top layer at end.First application program, the second application program can be video playing APP, webpage APP, news APP, books and periodicals APP Etc., the first application program and the second application program in the present invention are two entirely different application programs.
As a preferred embodiment of the embodiment of the present invention, the first floating layer in the present invention is the transparent of a global top set Floating layer, wherein global refer to that the size of the transparent floating layer is identical with the size of terminal current display screen, top set indicates this thoroughly The level of bright floating layer is top.Because the first floating layer is the transparent floating layer of a global top set, the transparent float in the present invention Layer is placed on the top of all floating layers in terminal, and the high priority data shown in the transparent floating layer is shown, and other in terminal The floating layer of APP will all be located under the transparent floating layer, and it shows that data will also be hidden by the data shown in transparent floating layer Gear.
Further in the present invention, when the first application program is video playback class application program, include in the transparent floating layer One is used for the broadcast window of playing video data, and the present invention is specifically by the data-moving of the first application program to the overall situation top set Continue to show in the broadcast window shown in transparent floating layer.
In actual application of the present invention, it is complete that the present invention can pre-define a kind of new operating mode-in the terminal Office's watching mode will automatically create the first floating layer of top set, thus detecting end after terminal enters global watching mode When end switches to the second application program by the first application program, by the data-moving of the first application program to terminal first floating layer On continue to show, to guarantee that the currently playing video of terminal will not be interrupted because of the switching between different APP.
Corresponding triggering link can be pre-created in corresponding overall situation watching mode, the present invention, pass through detection user's touching By the triggering link so that it is determined that user opens global watching mode, thus controlling terminal opens global watching mode.Specifically, Triggering link can be a physical button, can also be a virtual key.
In view of the convenience of user's operation, the present invention can be separately provided at the terminal one for trigger unlatching terminal into Enter the physical button of global watching mode, virtual key can also be hidden in current video playback window, when user touches After video playback window, which is appeared in current video playback window.Further contemplate some video contents Belong to the uninterested content of most users, such as the video etc. that advertisement, user had been watched under normal circumstances, then this It, can be direct when invention can determine that advertisement is the uninterested content of user based on the hobby behavior of the most users of statistics The virtual key is shown in the video playback window for playing advertisement, so that user directly touches by the virtual key, to control Terminal opens global watching mode.
In the present invention, terminal will be received and be used for after detecting user's touching by the triggering link of global watching mode The control instruction of global watching mode is opened, and then creates the transparent floating layer of the overall situation top set based on the control instruction.
Step 102, the data of second application program are shown in the second floating layer of the terminal, and the terminal The region and the region for the data for showing first application program of the data of upper display second application program be not be overlapped.
Wherein the second floating layer is the next stage floating layer of the first floating layer.
The present invention is after detecting that terminal switches to the second application program by the first application program, the first floating layer of the top set The broadcast window of upper display continues to show the data of the first application program, while the second application program is shown in the second floating layer Data, and in terminal, the region of the corresponding data that the second application program is shown in the second floating layer is with corresponding in the first floating layer Show that the region of the data of the first application program is not overlapped, to guarantee the data of the second application program shown in the second floating layer It is displayed on the terminals simultaneously with the data of the first application program shown in the first floating layer.
Data output method provided by the invention is detecting that terminal switches to the second application program by the first application program In the case where, it will continue to show in the first floating layer of the top set that the data-moving of the first application program to terminal is pre-created, and The data of second application program are shown in the second floating layer of terminal, and show the area of the data of the second application program in terminal Domain and the region of the data of the first application program of display be not be overlapped, in this way when terminal switches to the second application by the first application program After program, terminal continues while exporting the data of the second application program in the second floating layer yet by the first floating layer of top set The data for exporting the first application program, the output without interrupting the first application data, therefore the present invention is realized not When with switching between application program, the first application program (APP before switching) guarantees to continue to output data, for example continues to play view Frequently, without interrupting data output.
For the ease of data output method provided by the invention is more clearly understood, in the following embodiments of the present invention In, it will be described for applicant will be video APP by the first application program, the second application program is other APP.
Specifically, it is assumed that terminal is mobile phone, and the broadcast window on the current display screen of mobile phone exports video information, in conjunction with Fig. 2 Shown, mobile phone currently opens some video APP, and the video APP current display page includes being located at mobile phone screen top half Video playback window, which is playing " Chu Qiaochuan " video and positioned at mobile phone screen lower half portion Touch display area, touch display area output have the contents such as video recommendations, feed stream, user comment.Certainly, in the present invention The video APP current display page may be video full-screen display mode, i.e., current phone screen is completely used for playing " Chu Qiao Pass " video.
Based on above-mentioned scene, data output method provided by the invention is as shown in figure 3, may include:
Step 301, after detecting the control instruction for opening global watching mode, the transparent of a global top set is created Floating layer.
Step 302, a broadcast window is created in the predetermined position of transparent floating layer.
Step 303, in the case where detecting that mobile phone switches to other APP by video APP, video on video APP is broadcast " Chu Qiaochuan " video data for putting window broadcasting, which is moved in the broadcast window shown in transparent floating layer, to be continued to show.
The present invention creates one for continuing in the predetermined position of the transparent floating layer first after creating a transparent floating layer Play the broadcast window of " Chu Qiaochuan " video, the and then " Chu that video playback window on video APP (i.e. former broadcast window) is played Qiao's biography " video data is moved and continues to show in the broadcast window (i.e. new broadcast window) shown in transparent floating layer.It is wherein pre- If the top left region of for example transparent floating layer in position, lower right area, intermediate region etc..What the present invention created in transparent floating layer broadcasts The size for putting window is determined by the preset size of research staff, has generally just been designed in product design.Specifically creating When building broadcast window, the preset size of terminal direct basis generates correspondingly sized, shape broadcast window.In the present invention, The broadcast window created in transparent floating layer can be a rectangular window, circular window etc., and the present invention is to its specific performance Form is without limitation.
It should be noted that for ease of description, being used on mobile phone display screen before the present invention will open global watching mode It is referred to as " former broadcast window " in the window of broadcasting " Chu Qiaochuan " video, after opening global watching mode, in the transparent of top set The window for continuing to play " Chu Qiaochuan " video created in floating layer is referred to as " new broadcast window ".
In the present invention, the new broadcast window created in the transparent floating layer of global top set is used to that former broadcast window to be replaced Continue to output video information.Preferably, the present invention obtains new broadcast window in creation, and passes through the new broadcast window output When video information, while hiding former broadcast window.
For concrete example as shown in figure 4, before opening global watching mode, the upper partial region of mobile phone screen is former broadcasting window Mouthful, for playing video, lower partial region is for showing the other information in addition to video, such as user comment.Opening global see It sees after mode, new broadcast window rectangularity shape appears in the lower right area of mobile phone screen, and former broadcast window disappears, hand Remaining region (including region shared by former broadcast window), then be completely used for the other information shown in addition to video in machine screen.
Step 304, the data of other APP are shown in the second floating layer of mobile phone, and corresponded in terminal in the second floating layer Region " Chu Qiaochuan " video that video APP is shown in transparent floating layer corresponding in terminal of the upper data for showing other APP The region of data is not overlapped.
In the present invention, after making mobile phone switch to other new APP by video APP by response user's operation, transparent The broadcast window created in floating layer continues to play " Chu Qiaochuan " video data, while is removed in transparent floating layer in mobile phone and showing video Other regions except the region of " Chu Qiaochuan " video data of APP are then completely used for other new APP's that display switches to Content of pages, as shown in Figure 5.
In the present invention, response user's operation may include: for iphone mobile phone, such as detect user double-click Home key, and then the selection operation of some APP is selected, for android mobile phone, such as detect that user clicks menu Key, and then select the selection operation of some APP.
In the present invention, mobile phone passes through during former broadcast window exports video information, when detecting for opening the overall situation After the control instruction of watching mode, the transparent floating layer of a global top set is created first, and then in the default position of the transparent floating layer One new broadcast window of place's creation is set, the video information is continued to output by the new broadcast window;So when mobile phone switches To other APP, mobile phone is new yet by what is shown in transparent floating layer when exporting the content of pages of other new APP Broadcast window in continue to output the video information, without break of video play, it is thus achieved that in different application Between when switching, the output of video content normal play.
Further on the basis of the above embodiments, the present invention is by the data-moving of the first application program to the first floating layer Continue to show in the broadcast window of upper display, after the data of the second application program are shown in the second floating layer of terminal, this Invention can also include: the operation information obtained when operating body executes operation on the terminal.Wherein operating body is, for example, to use Family finger, stylus etc..Specifically:
1) when the corresponding region of the operation information is the broadcast window region, according to the operation information pair The data display mode of first application program or the broadcast window are controlled.
2) when the corresponding region of the operation information be first floating layer in addition to the broadcast window region Region when, second application program is controlled according to the operation information.
Situation 1) is planted for the:
In the present invention, when executing operation on the broadcast window region that user shows in the first floating layer, terminal is obtained The corresponding region of the operation information got is the broadcast window region, and terminal determines that operation refers to according to operation information at this time It enables.
Wherein, when operational order shows to move the broadcast window, according to operation information determination The position that broadcast window will be moved to, and the broadcast window is moved to identified position, in identified position Continue to show the data of first application program in place;Terminal applies journey according to identified position, adjustment described second simultaneously Display of the data of sequence in second floating layer, to guarantee the data and the second application program of the first application program of display Data are not overlapped.
In actual application of the present invention, the broadcast window created in the first floating layer can be designed as a fixed bit It sets, immovable window, mobile window can be carried out the case where meeting preset condition by being also designed to one.
For broadcast window is fixed position, immovable window, when terminal switches between different APP, this is broadcast Put that the display position of window at the terminal is constant always, such as the new broadcast window is always positioned at the lower right area of mobile phone screen Play video.
It is that one can carry out for mobile window the case where meeting preset condition for broadcast window, preset condition can be with The time for pressing the broadcast window for user's finger is greater than preset time threshold.Wherein time threshold is, for example, 2.5 seconds, 3 seconds etc., This is not limited by the present invention.So when terminal detects that user's finger presses the time of the broadcast window greater than preset time threshold When value, it is mobile that the broadcast window can be dragged, until the broadcast window is dragged to specified location in user.
Wherein, it switches to second when operational order shows that the data display mode by first application program is restored to and answers With the display mode before program, then the present invention continues to show described first according to the display mode before switching to the second application program Data of application program, while hiding the broadcast window shown in first floating layer, and according to identified position, adjustment the Display of the data of two application programs in the second floating layer, to guarantee that the data and second of the first application program of display apply journey The data of sequence do not overlap.
In actual application of the present invention, such as when detecting user's finger click play window, terminal is got Operation information, and the operational order determined according to operation information is to be restored to the data display mode of first application program Display mode before switching to the second application program.
More specifically, terminal determines user after such as user clicks the broadcast window in the first floating layer by clicking operation The operational order of broadcast window is chosen, and then exits global watching mode, video information is continued to output by former broadcast window, simultaneously Hide the broadcast window.
It should be noted that clicking operation here is identical as the user's pressing operation of broadcast window addressed above, It only difference is that user presses the time difference of broadcast window, it is, if a terminal detects that user presses broadcast window Time be not more than preset time threshold, terminal determine the pressing operation be click play window clicking operation, when terminal examine It measures user and presses the time of broadcast window greater than preset time threshold, it is determined that the pressing operation is dragging for mobile broadcast window Dynamic operation.
Specifically, the present invention, which continues to output video information by former broadcast window, to be, mobile phone screen is switched to full frame aobvious When showing mode, former broadcast window continues to output video information in a manner of being displayed in full screen, or, mobile phone screen is switched to page browsing When display pattern, former broadcast window continues to output video information in the fixed position of the page including former broadcast window.
The present invention supports user by clicking the broadcast window in the first floating layer, so that terminal rapidly exits the overall situation in time Watching mode, it is easy to operate, improve the experience that user watches video.
Situation 2) is planted for the:
In the present invention, when user executes operation on other regions in addition to broadcast window region, terminal is obtained The corresponding region of the operation information got is region in addition to broadcast window region in the first floating layer, at this time terminal according to Operation information controls the second application program.
Wherein, by taking the second application program is specially news category application program as an example, according to operation information to the in the present invention Two application programs, which carry out control, may include: the data for refreshing the second application program and currently showing, page turning, chooses certain news letter It ceases and is checked, returned etc..According to the control that operation information carries out the second application program for the second application in the present invention The conventional control of the had function of program itself.
Because the first floating layer in the present invention is a transparent floating layer, user is in addition to broadcast window region The operation executed on other regions can be transparent to the second floating layer, realize the control to the second application program, such as the second application Program is currently browsing webpage, and the present invention can be instructed by transparent transmission, the operation such as realizes the page turning of webpage, clicks.
Based on a kind of data output method provided by the invention above, the present invention also provides a kind of data output devices, answer For in terminal, as shown in fig. 6, device includes:
Detection unit 100, for detecting whether the terminal by the first application program switches to the second application program;
Data-moving unit 200, for detecting that the terminal is switched by the first application program in the detection unit 100 To the second application program, top set that the data-moving of first application program to the terminal is pre-created Continue to show in first floating layer;
Display unit 300, for the data of second application program to be shown in the second floating layer of the terminal, and The region of the data of second application program is shown in the terminal and shows the region of the data of first application program It is not overlapped.
Wherein, when first application program is video playback class application program, the data-moving unit 200 is specific For that will continue to show in the broadcast window that shown on the data-moving of first application program to first floating layer.
In the present invention preferably, first floating layer is the transparent floating layer of a global top set.
Optionally, as shown in fig. 7, data output device provided by the invention can also include:
Acquiring unit 400, for obtaining operation information when operating body executes operation on the terminal;
Control unit 500 is used for when the corresponding region of the operation information is the broadcast window region, according to The operation information controls the data display mode of first application program or the broadcast window;And work as institute When to state the corresponding region of operation information be region in addition to the broadcast window region in first floating layer, according to institute Operation information is stated to control second application program.
Wherein, when the corresponding region of the operation information is the broadcast window region, described control unit 500 It is specifically used for:
When the corresponding region of the operation information is the broadcast window region, determined according to the operation information Operational order;
When the operational order shows to move the broadcast window, broadcast according to operation information determination The position that window will be moved to is put, and the broadcast window is moved to identified position, at identified position Continue to show the data of first application program;
The display unit is specifically used at this time, according to identified position, adjusts the data of second application program Display in second floating layer.
And second is switched to when the operational order shows that the data display mode by first application program is restored to When display mode before application program, described control unit 500 is also used to, according to switching to the display side before the second application program Formula continues to show the data of first application program;Hide the broadcast window shown in first floating layer;
The display unit 300 is specifically used at this time, according to identified position, adjusts the number of second application program According to the display in second floating layer.
It should be noted that all the embodiments in this specification are described in a progressive manner, each embodiment weight Point explanation is the difference from other embodiments, and the same or similar parts between the embodiments can be referred to each other. For device class embodiment, since it is basically similar to the method embodiment, so being described relatively simple, related place ginseng See the part explanation of embodiment of the method.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that the process, method, article or equipment for including a series of elements not only includes that A little elements, but also including other elements that are not explicitly listed, or further include for this process, method, article or The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged Except there is also other identical elements in the process, method, article or apparatus that includes the element.
A kind of data output method provided by the present invention and device are described in detail above, it is used herein A specific example illustrates the principle and implementation of the invention, and the above embodiments are only used to help understand originally The method and its core concept of invention;At the same time, for those skilled in the art, according to the thought of the present invention, specific There will be changes in embodiment and application range, in conclusion the content of the present specification should not be construed as to of the invention Limitation.

Claims (12)

1. a kind of data output method is applied in terminal, which is characterized in that the described method includes:
In the case where detecting that the terminal switches to the second application program by the first application program, journey is applied by described first Continue to show in first floating layer of the top set that the data-moving of sequence is pre-created to the terminal;
The data of second application program are shown in the second floating layer of the terminal, and show described in the terminal The region of the data of two application programs and the region for the data for showing first application program be not be overlapped.
2. the method according to claim 1, wherein when first application program is video playback class application journey When sequence, continue in the first floating layer of the top set that the data-moving by first application program to the terminal is pre-created Display includes:
It will continue to show in the broadcast window that shown on the data-moving of first application program to first floating layer.
3. according to the method described in claim 2, it is characterized in that, first floating layer is the transparent floating layer of a global top set.
4. according to the method described in claim 3, it is characterized in that, the method also includes: obtain operating body in the terminal The upper operation information executed when operating;
When the corresponding region of the operation information is the broadcast window region, according to the operation information to described the The data display mode of one application program or the broadcast window are controlled;
When the corresponding region of the operation information is the region in first floating layer in addition to the broadcast window region When, second application program is controlled according to the operation information.
5. according to the method described in claim 4, it is characterized in that, described when the corresponding region of the operation information is described broadcasts Data display mode or the broadcasting window when putting window region, according to the operation information to first application program Mouth carries out control
When the corresponding region of the operation information is the broadcast window region, is determined and operated according to the operation information Instruction;
When the operational order shows to move the broadcast window, the broadcasting window is determined according to the operation information The position that mouth will be moved to, and the broadcast window is moved to identified position, to continue at identified position Show the data of first application program;
It includes: according to identified position that the data by second application program are shown in the second floating layer of the terminal It sets, adjusts display of the data of second application program in second floating layer.
6. according to the method described in claim 5, it is characterized in that, when the operational order shows first application program Data display mode when being restored to the display mode before switching to the second application program, before switching to the second application program Display mode continue to show the data of first application program;
Hide the broadcast window shown in first floating layer;
It includes: according to identified position that the data by second application program are shown in the second floating layer of the terminal It sets, adjusts display of the data of second application program in second floating layer.
7. a kind of data output device, it is applied in terminal, which is characterized in that described device includes:
Detection unit, for detecting whether the terminal by the first application program switches to the second application program;
Data-moving unit, for detecting that the terminal switches to the second application by the first application program in the detection unit In the case where program, in the first floating layer of the top set that the data-moving of first application program to the terminal is pre-created Continue to show;
Display unit, for the data of second application program to be shown in the second floating layer of the terminal, and the end Show that region and the region for the data for showing first application program of the data of second application program be not be overlapped on end.
8. device according to claim 7, which is characterized in that when first application program is video playback class application journey When sequence, the data-moving unit is specifically used for, and will show on the data-moving of first application program to first floating layer Continue to show in the broadcast window shown.
9. device according to claim 8, which is characterized in that first floating layer is the transparent floating layer of a global top set.
10. device according to claim 9, which is characterized in that described device further include:
Acquiring unit, for obtaining operation information when operating body executes operation on the terminal;
Control unit is used for when the corresponding region of the operation information is the broadcast window region, according to the behaviour Make information to control the data display mode of first application program or the broadcast window;And when the operation When the corresponding region of information is the region in first floating layer in addition to the broadcast window region, according to the operation Information controls second application program.
11. device according to claim 10, which is characterized in that described when the corresponding region of the operation information is described When broadcast window region, described control unit is specifically used for,
When the corresponding region of the operation information is the broadcast window region, is determined and operated according to the operation information Instruction;
When the operational order shows to move the broadcast window, the broadcasting window is determined according to the operation information The position that mouth will be moved to, and the broadcast window is moved to identified position, to continue at identified position Show the data of first application program;
The display unit is specifically used at this time, according to identified position, adjusts the data of second application program in institute State the display in the second floating layer.
12. device according to claim 11, which is characterized in that when the operational order shows described first using journey When the data display mode of sequence is restored to the display mode before switching to the second application program, described control unit is also used to, root According to the data for switching to the display mode before the second application program and continue to show first application program;It is floating to hide described first The broadcast window shown on layer;
The display unit is specifically used at this time, according to identified position, adjusts the data of second application program in institute State the display in the second floating layer.
CN201810834123.3A 2018-07-26 2018-07-26 A kind of data output method and device Pending CN109151581A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810834123.3A CN109151581A (en) 2018-07-26 2018-07-26 A kind of data output method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810834123.3A CN109151581A (en) 2018-07-26 2018-07-26 A kind of data output method and device

Publications (1)

Publication Number Publication Date
CN109151581A true CN109151581A (en) 2019-01-04

Family

ID=64797905

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810834123.3A Pending CN109151581A (en) 2018-07-26 2018-07-26 A kind of data output method and device

Country Status (1)

Country Link
CN (1) CN109151581A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110597583A (en) * 2019-08-14 2019-12-20 北京金堤科技有限公司 Method and device for ceiling of modal frame, storage medium and electronic equipment
CN111782113A (en) * 2019-12-18 2020-10-16 北京沃东天骏信息技术有限公司 Display method, display device and computer-readable storage medium
WO2020249044A1 (en) * 2019-06-13 2020-12-17 广州视源电子科技股份有限公司 Method for window-level switching, device, equipment, and storage medium
WO2022228043A1 (en) * 2021-04-30 2022-11-03 华为技术有限公司 Display method, electronic device, storage medium and program product

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090132939A1 (en) * 2007-11-19 2009-05-21 International Business Machines Corporation Method and apparatus for a floating island for user navigation in an interactive environment
CN102665130A (en) * 2012-05-14 2012-09-12 青岛海信传媒网络技术有限公司 Method and device for displaying application program window and video playing window
CN105353943A (en) * 2015-12-01 2016-02-24 广州华多网络科技有限公司 Data display method and device
CN105933756A (en) * 2016-06-27 2016-09-07 北京奇虎科技有限公司 Method and device for carrying out live broadcast on video in picture in picture mode
CN106131686A (en) * 2016-06-27 2016-11-16 北京奇虎科技有限公司 Utilize video play mode changing method and the device of parasitic tool kit realization
CN106468994A (en) * 2016-08-31 2017-03-01 北京奇艺世纪科技有限公司 A kind for the treatment of method and apparatus of application program

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090132939A1 (en) * 2007-11-19 2009-05-21 International Business Machines Corporation Method and apparatus for a floating island for user navigation in an interactive environment
CN102665130A (en) * 2012-05-14 2012-09-12 青岛海信传媒网络技术有限公司 Method and device for displaying application program window and video playing window
CN105353943A (en) * 2015-12-01 2016-02-24 广州华多网络科技有限公司 Data display method and device
CN105933756A (en) * 2016-06-27 2016-09-07 北京奇虎科技有限公司 Method and device for carrying out live broadcast on video in picture in picture mode
CN106131686A (en) * 2016-06-27 2016-11-16 北京奇虎科技有限公司 Utilize video play mode changing method and the device of parasitic tool kit realization
CN106468994A (en) * 2016-08-31 2017-03-01 北京奇艺世纪科技有限公司 A kind for the treatment of method and apparatus of application program

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020249044A1 (en) * 2019-06-13 2020-12-17 广州视源电子科技股份有限公司 Method for window-level switching, device, equipment, and storage medium
CN110597583A (en) * 2019-08-14 2019-12-20 北京金堤科技有限公司 Method and device for ceiling of modal frame, storage medium and electronic equipment
CN111782113A (en) * 2019-12-18 2020-10-16 北京沃东天骏信息技术有限公司 Display method, display device and computer-readable storage medium
CN111782113B (en) * 2019-12-18 2022-06-07 北京沃东天骏信息技术有限公司 Display method, display device and computer-readable storage medium
US12014019B2 (en) 2019-12-18 2024-06-18 Beijing Wodong Tianjun Information Technology Co., Ltd. Display method, apparatus and computer readable storage medium
WO2022228043A1 (en) * 2021-04-30 2022-11-03 华为技术有限公司 Display method, electronic device, storage medium and program product
CN117769696A (en) * 2021-04-30 2024-03-26 华为技术有限公司 Display method, electronic device, storage medium, and program product

Similar Documents

Publication Publication Date Title
CN109151581A (en) A kind of data output method and device
KR102559054B1 (en) User interfaces for browsing content from multiple content applications on an electronic device
CN105045489B (en) A kind of button control method and device
KR101719268B1 (en) Method for providing search service interconvertable search window and image display window and display apparatus applying the same
CN102169411A (en) Multiwindow switching method and device of touch screen terminal
CN102301736A (en) Method, device and mobile terminal for switching video display contents
DE112016000085T5 (en) Device, method and graphical user interface for navigation through media content
US20090153495A1 (en) Input method for use in an electronic device having a touch-sensitive screen
KR20020000177A (en) Method and apparatus for displaying a multi-level menu
CN105260109A (en) Play speed adjusting method and terminal
CN104020936A (en) Terminal and controlling method thereof
JP2006139615A (en) Display device, menu display program, and tab display program
CN111782130A (en) Column interface for navigating in a user interface
CN105159582B (en) A kind of video area method of adjustment and terminal
TW201118681A (en) Apparatus and method for providing side touch panel as part of man-machine interface (MMI)
CN105094763B (en) The method and system of extending video function
CN109168074B (en) Video playing method
CN103064587A (en) Terminal and terminal control method
CN106792197A (en) The changing method and system of a kind of video playback area layout
CN103616985A (en) Method and device for selecting position of floating window player
CN103957441A (en) Method for controlling display terminal by mobile terminal and mobile terminal
CN106155507A (en) A kind of page content display method and electronic equipment
US20120030254A1 (en) Information processing device, information display method, and computer program
CN102880413B (en) The method of the mobile terminal control display touching control screen for having and mobile terminal
CN103731712B (en) Method and device for controlling terminal equipment through marker

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

Application publication date: 20190104

RJ01 Rejection of invention patent application after publication