CN106899817A - Media data method for recording and device - Google Patents

Media data method for recording and device Download PDF

Info

Publication number
CN106899817A
CN106899817A CN201710004790.4A CN201710004790A CN106899817A CN 106899817 A CN106899817 A CN 106899817A CN 201710004790 A CN201710004790 A CN 201710004790A CN 106899817 A CN106899817 A CN 106899817A
Authority
CN
China
Prior art keywords
interface
media data
size
suspension windows
color value
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.)
Granted
Application number
CN201710004790.4A
Other languages
Chinese (zh)
Other versions
CN106899817B (en
Inventor
陈裕波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fibocom Wireless Inc
Original Assignee
Fibocom Wireless Inc
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 Fibocom Wireless Inc filed Critical Fibocom Wireless Inc
Priority to CN201710004790.4A priority Critical patent/CN106899817B/en
Publication of CN106899817A publication Critical patent/CN106899817A/en
Application granted granted Critical
Publication of CN106899817B publication Critical patent/CN106899817B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • 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/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4334Recording operations

Abstract

The present invention relates to a kind of media data method for recording and device, methods described includes:Show that media data records preview interface by suspension windows;Acquisition acts on the recording open command that the media data records preview interface;Media data recording is carried out according to the recording open command;Obtain the hiding instruction in interface that preview interface is recorded for hiding the media data;Instruction is hidden according to the interface, is the size of single pixel by the size adjusting of the suspension windows.The scheme that the application is provided improves operating efficiency.

Description

Media data method for recording and device
Technical field
The present invention relates to field of computer technology, more particularly to a kind of media data method for recording and device.
Background technology
With the development of computer technology, the demand growing to adapt to user, the function of terminal is more and more.Example Such as, the media data for being produced to meet user media data recording demand records application etc..Under normal circumstances, media are installed After recording medium data are started, the media data recording preview interface of terminal is in all the time can for the terminal of data recording application See this state so that user can at any time observe the content of media data recording, to make preferably adjustment.
However, in traditional this media data recording mode, media data records application to be needed all the time in foreground state Operation, user needs to terminate current recording state to exit media data recording preview interface, can just carry out other operations, operation It is cumbersome.
The content of the invention
Based on this, it is necessary to in traditional media data recording mode, user need to terminate current recording state with Exit media data and record preview interface, can just carry out other operations and cause cumbersome problem, there is provided a kind of media number According to method for recording and device.
A kind of media data method for recording, methods described includes:
Show that media data records preview interface by suspension windows;
Acquisition acts on the recording open command that the media data records preview interface;
Media data recording is carried out according to the recording open command;
Obtain the hiding instruction in interface that preview interface is recorded for hiding the media data;
Instruction is hidden according to the interface, is the size of single pixel by the size adjusting of the suspension windows.
In one embodiment, it is described to show that media data is recorded preview interface and included by suspension windows:
Suspension windows are drawn by interface display process, and media data is drawn in the suspension windows and record preview circle Face;
It is described to carry out the step of media data is recorded and include according to the recording open command:
Thread is recorded by media data, media data recording is carried out according to the recording open command;
It is described according to the interface hide instruction, by the size adjusting of the suspension windows for single pixel size the step of Including:
The interface is responded by the interface display process and hides instruction, be single by the size adjusting of the suspension windows Pixel Dimensions;
The suspension windows after interface display thread display is adjusted, and terminate the interface display process.
In one embodiment, after the size adjusting by the suspension windows is for the size of single pixel, the side Method also includes:
Show in notifications column and enter the operation entry that the media data records preview interface;
Acquisition acts on the trigger action of the operation entry;
According to the trigger action, by adjustment after the suspension windows size of the size restoration to before adjusting;
Show that the media data records preview interface in the suspension windows after size restoration.
In one embodiment, the step of size adjusting by the suspension windows is the size of single pixel includes:
Obtain pre-set color value;
By the size adjusting of the suspension windows for single pixel size, and according to the pre-set color value display adjustment after The suspension windows;
After the size adjusting by the suspension windows is for the size of single pixel, methods described also includes:
Obtain the color value of each pixel in currently displaying interface;
Filtered out from the color value and the pre-set color value similarity highest color value;
It is determined that the position of pixel corresponding with the color value for filtering out;
The suspension windows adjusted after size are moved to defined location.
In one embodiment, the step of size adjusting by the suspension windows is the size of single pixel includes:
Obtain default display location and pre-set color value;
It is the size of single pixel by the size adjusting of the suspension windows;
In the default display location, according to the suspension windows after pre-set color value display adjustment;
After the size adjusting by the suspension windows is for the size of single pixel, methods described also includes:
Determine the color value of the pixel of default display location described in currently displaying interface;
The color value of the suspension windows after by adjustment is updated to the pre-set color value for determining.
A kind of media data record device, described device includes:
Display module, for showing that media data records preview interface by suspension windows;
Module is recorded, the recording open command that the media data records preview interface is acted on for obtaining;According to institute Stating recording open command carries out media data recording;
Hidden module, the interface for recording preview interface for hiding the media data for obtaining hides instruction;According to The interface hides instruction, is the size of single pixel by the size adjusting of the suspension windows.
In one embodiment, the display module is additionally operable to draw suspension windows by interface display process, and in institute Drafting media data records preview interface in stating suspension windows;
The recording module is additionally operable to record thread by media data, and media number is carried out according to the recording open command According to recording;
The hidden module is additionally operable to respond the hiding instruction in the interface by the interface display process, by the suspension The size adjusting of window is single pixel size;The suspension windows after interface display thread display is adjusted, and terminate institute State interface display process.
In one embodiment, described device also includes:
Recovery module, for showing that the operation for recording preview interface into the media data enters in notifications column Mouthful;Acquisition acts on the trigger action of the operation entry;According to the trigger action, by adjustment after the suspension windows Size of the size restoration to before adjusting;Show that the media data records preview circle in the suspension windows after size restoration Face.
In one embodiment, the hidden module is additionally operable to obtain pre-set color value;By the size of the suspension windows The size of single pixel is adjusted to, and according to the suspension windows after pre-set color value display adjustment;Obtain currently displaying Interface in each pixel color value;Filtered out from the color value and the pre-set color value similarity highest color Value;It is determined that the position of pixel corresponding with the color value for filtering out;The suspension windows adjusted after size are moved to really Fixed position.
In one embodiment, the hidden module is additionally operable to obtain default display location and pre-set color value;Will be described The size adjusting of suspension windows is the size of single pixel;In the default display location, shown according to the pre-set color value and adjusted The suspension windows after whole;Determine the color value of the pixel of default display location described in currently displaying interface;To adjust The color value of the suspension windows after whole is updated to the pre-set color value for determining.
Above-mentioned media data method for recording and device, preview circle is recorded with the suspension windows displaying media data of size adjustable After face so that start to record in media data, and the hiding instruction in interface of the hiding media data recording preview interface of acquisition, can By the size adjusting of suspension windows for the size of single pixel is shown.By pixel can be shown most on computer screen Subsection so that the suspension windows for being adjusted to the size of single pixel are in the indistinguishable hidden state of naked eyes.It is hidden at interface Behind Tibetan, user can carry out to direct convenience other operations, it is to avoid need to terminate current recording state to exit media data record Preview interface processed, can just carry out other operations and cause cumbersome problem, improve operating efficiency.
Brief description of the drawings
Fig. 1 is the applied environment figure of media data method for recording in one embodiment;
Fig. 2 be one embodiment in for realize media data method for recording terminal structural representation;
Fig. 3 is the schematic flow sheet of media data method for recording in one embodiment;
Fig. 4 is the schematic flow sheet of media data method for recording in another embodiment;
Fig. 5 is the interface schematic diagram of suspension windows in one embodiment;
Fig. 6 is the interface schematic diagram on notifications column in one embodiment;
Fig. 7 is the structured flowchart of media data record device in one embodiment;
Fig. 8 is the structured flowchart of media data record device in another embodiment.
Specific embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
Fig. 1 is the applied environment figure of media data method for recording in one embodiment.Reference picture 1, the media data is recorded Method is applied to media data recording system.Media data recording system includes terminal 110 and server 120.Terminal 110 passes through Network is connected with server 120.Terminal 110 is used to perform the media data method for recording, and the media data that will can be recorded sends Media data issue etc. is carried out to server 120.Terminal 110 can be specifically PC or mobile terminal, mobile terminal It can be specifically at least one in mobile phone, panel computer, notebook computer etc..Server 120 can be specifically independent thing Reason server, or physical server cluster.
Fig. 2 is the internal structure schematic diagram of user terminal 110 in one embodiment.As shown in Fig. 2 the terminal includes passing through Processor, non-volatile memory medium, built-in storage and medium data acquisition device, display screen and input that system bus is connected Device.Wherein, the non-volatile memory medium of terminal is stored with operating system and database.The processor be used for provide calculate and Control ability, supports the operation of whole terminal.Computer-readable instruction can be stored in built-in storage in terminal, the computer When readable instruction is by the computing device, a kind of media data method for recording of the computing device is may be such that.Terminal it is aobvious Display screen can be LCDs or electric ink display screen etc., and input unit can be the touch layer covered on display screen, Can also be button, trace ball or Trackpad, or external keyboard, Trackpad or the mouse set in terminal enclosure Deng.The terminal can be mobile phone or panel computer etc..It will be understood by those skilled in the art that the structure shown in Fig. 2, only It is the block diagram of the part-structure related to application scheme, does not constitute the limit of the terminal being applied thereon to application scheme Fixed, specific terminal can include than more or less part shown in figure, or combine some parts, or with difference Part arrangement.
As shown in figure 3, in one embodiment, there is provided a kind of media data method for recording, the present embodiment is in this way The terminal 110 that is applied in above-mentioned Fig. 1 is illustrated.The method specifically includes following steps:
S302, shows that media data records preview interface by suspension windows.
Wherein, suspension windows are suspended in the window of terminal screen.The size of suspension windows is smaller than or equal to terminal The size of screen.The size of suspension windows can customize adjustment with position.Media data refer to video data, voice data or One or more in person's dynamic picture data etc. of combination.It refers to be available for watching media in advance that media data records preview interface The interface of data recording content.Operation has the application for supporting that media data is recorded in terminal, such as the application of recorded video Or the application for recording audio etc..User can carry out media data recording by operating the application.
In one embodiment, after the application for supporting media data recording is installed in terminal, can be somebody's turn to do in terminal desktop displaying Using corresponding desktop icons, and pre-set operation the application after shown in the form of suspension windows.Terminal can detect For the trigger action of the desktop icons of terminal desktop displaying, when the trigger action is detected, the corresponding application of triggering operation, Show that media data records preview interface by suspension windows.Wherein, the size of suspension windows can customize setting.In this implementation In example, the size that can predefine suspension windows is identical with terminal screen size.
In one embodiment, after the application for supporting media data recording is installed in terminal, terminal startup can be set in advance Afterwards, automatic running application, and show that media data records preview interface by suspension windows.In the present embodiment, terminal tool Body can be drive recorder, and the media data of recording is specially video data.User after drive recorder is opened, remember by driving Record instrument automatic running supports the application that video data is recorded, and shows that video data records preview interface, user by suspension windows Triggering carries out that video record can be carried out after video data recording so that it is more convenient to operate.
Further, terminal can call local camera collection image, and the image that will be collected is loaded into suspension windows In shown, obtain video data or dynamic picture data and record preview interface, watch and carry out phase in advance for user Should adjust.
S304, acquisition acts on the recording open command that media data records preview interface.
Wherein, it refers to that the instruction of media data recording is proceeded by for triggering to record open command.Terminal can obtain matchmaker Volume data records the recording open command triggered in preview interface.Specifically, terminal is detectable touches for interface is predefined Hair operation, when the trigger action is detected, triggering is corresponding to record open command.Trigger action can be to control in interface Operation, such as the touch control operation to control or cursor clicking operation etc..
S306, media data recording is carried out according to open command is recorded.
Specifically, terminal is responded after recording open command is got to the recording open command, is needing to record When video data or dynamic picture data, can call local camera collection image sequence generate dynamic picture data or Video data;When recording audio data are needed, can also call local voice collection device to gather sound and form voice data, So as to realize the recording of media data.
S308, obtains the hiding instruction in interface that preview interface is recorded for hiding media data.
Specifically, it refers to the instruction that preview interface is recorded for triggering hiding media data that interface hides instruction.In this reality Apply in example, terminal can be set in advance in after carrying out media data recording according to recording open command, automatic triggering interface hides and refers to Order.
In one embodiment, terminal can obtain media data and record the hiding instruction in the interface triggered in preview interface. Specifically, terminal is detectable for the predefined trigger action in interface is hidden, and when the trigger action is detected, triggering is corresponding Interface hides instruction.Trigger action can be the operation to control in interface, such as the touch control operation to control or light punctuate Hit operation etc..Trigger action can also be the click to predefined physical button, or carry out media data recording in display Media data record preview interface when trigger rock operation etc..
In one embodiment, terminal can set in the media data shown by suspension windows records preview interface in advance It is fixed to be used to trigger the operation entry that interface hides instruction.Terminal is obtained when the trigger action for the operation entry is detected Interface hides instruction.In the present embodiment, terminal can in advance be arranged on and show that media data records preview circle by suspension windows During face, stop the feature operation based on terminal system of response user's triggering.Such as Android mobile phone system return operation or Exit operation etc..Terminal sets the operation entry that instruction is hidden for triggering interface in can recording preview interface by media data After hiding media data recording preview interface, the operation of application is terminated by task manager.
S310, instruction is hidden according to interface, is the size of single pixel by the size adjusting of suspension windows.
Wherein, pixel refers to the least unit that can be shown on computer screen.Specifically, terminal is to get interface hidden After hiding instruction, instruction is hidden to the interface and is responded, be the size of single pixel by the size adjusting of suspension windows.That is, will The length and width of suspension windows is adjusted to a size for pixel.Pixel in the present embodiment can be logical pixel or Physical picture element.
Above-mentioned media data method for recording, preview interface is recorded with the suspension windows displaying media data of size adjustable, is made Obtain and start to record in media data, and after the hiding instruction in interface of the hiding media data recording preview interface of acquisition, can hang The size adjusting of floating window mouthful is shown for the size of single pixel.By pixel is the minimum that can be shown on computer screen single Position so that the suspension windows for being adjusted to the size of single pixel are in the indistinguishable hidden state of naked eyes.After interface hides, User can carry out to direct convenience other operations, it is to avoid need to terminate current recording state to record preview to exit media data Interface, can just carry out other operations and cause cumbersome problem, improve operating efficiency.
In one embodiment, step S302 includes in media data method for recording:Draw outstanding by interface display process Floating window mouthful, and media data recording preview interface is drawn in suspension windows.Step S306 includes:Line is recorded by media data Journey, media data recording is carried out according to open command is recorded.Step S310 includes:Hidden by interface display process response interface Instruction, is single pixel size by the size adjusting of suspension windows;Suspension windows after interface display thread display is adjusted, and Terminate interface display process.
Wherein, interface display process refers to the process for carrying out interface display.Specifically, installed in terminal and support media After the application of data recording, this can be shown using corresponding desktop icons in terminal desktop, and after pre-setting the operation application Shown in the form of suspension windows, and relative set suspension windows size and display location.Terminal is detectable for eventually The trigger action of the desktop icons of desktop presentation is held, when the trigger action is detected, is set in advance by interface display process Suspension windows are drawn according to the size for pre-setting in the display location put.
When recorded video data or dynamic picture data is needed, terminal can be called local by interface display process Camera collection image, draws video data in suspension windows and records preview interface or dynamic picture number according to the image of collection According to recording preview interface.When recording audio data are needed, terminal can obtain the acquiescence for setting in advance by interface display process Interface data, draws voice data and records preview interface according to the interface data.
Terminal records thread after recording open command is obtained by media data, and matchmaker is carried out according to open command is recorded Volume data is recorded, and after the hiding instruction in interface is obtained, is recorded thread by media data and proceeded video record, by boundary Face show process carrys out response interface and hides instruction, is single pixel size by the size adjusting of suspension windows.Due to suspension windows with After single pixel size shows, the other functions such as the drafting of preview interface are not recorded needing to carry out media data, it is only necessary to remain single Pixel Dimensions show that terminal can enable interface display thread to show the suspension windows after adjustment, and terminate interface display process, To reduce occupying system resources.
In the present embodiment, the suspension windows before adjustment is shown by interface display process before suspension windows are not hidden, And carry out media data recording preview interface drafting;After suspension windows are hidden, after interface display thread display is adjusted Suspension windows, and terminate interface display process, occupying system resources can be reduced.
In one embodiment, media data method for recording also includes:Displaying enters media data in notifications column Record the operation entry of preview interface;Acquisition acts on the trigger action of operation entry;According to trigger action, by adjustment after it is outstanding Size of the size restoration of floating window mouthful to before adjusting;Show that media data records preview circle in suspension windows after size restoration Face.
Specifically, terminal shows that the operation for recording preview interface into media data enters in may be provided at notifications column Mouthful.The operation entry for recording preview interface into media data can be button or redirect interface etc..Terminal can be obtained to pressing Button redirects the trigger action of interface, the chi according to the trigger action by the size restoration of the suspension windows after adjustment to before adjusting It is very little, and show that media data records preview interface in suspension windows after size restoration.
Further, in one embodiment, terminal can also set end current media data in notifications column The operation entry of recording, terminal can obtain the trigger action to the operation entry, and current media number is terminated according to the trigger action According to recording, and terminate to run the application for carrying out media data recording.
In the present embodiment, the operation entry that will enter media data recording preview interface is illustrated in notifications column, After the operation entry in triggering notifications column enters size restoration, and display media data records the suspension of preview interface Window, it is not necessary to which corresponding desktop icons are searched on terminal desktop or Menu key is clicked on run the selection of application, behaviour Make easy, improve operating efficiency.
In one embodiment, step S310 includes in media data method for recording:Instruction is hidden according to interface, will be suspended The size adjusting of window is the size of single pixel, determines the color Distribution value at currently displaying interface, according to the color value for determining Suspension windows after the display size adjustment of distribution self adaptation.
Specifically, the suspension windows after the predeterminable adjustment of terminal show color value and/or display location, are obtaining interface It is the size of single pixel by the size adjusting of suspension windows after hiding instruction, and is shown according to pre-set color value, or default aobvious Show that position shows according to pre-set color value.Terminal can again determine the color Distribution value at currently displaying interface, with pre-set color value It is self adaptation condition, the display location of the suspension windows after mobile adjustment.Terminal can also preset display location for self adaptation bar Part, updates the color value that the suspension windows after adjustment show.
Further, in one embodiment, step S310 includes in media data method for recording:Obtain pre-set color Value;It is the size of single pixel by the size adjusting of suspension windows, and according to the suspension windows after pre-set color value display adjustment.Matchmaker Volume data method for recording also includes:Obtain the color value of each pixel in currently displaying interface;Filtered out from color value with Pre-set color value similarity highest color value;It is determined that the position of pixel corresponding with the color value for filtering out;Chi will be adjusted Suspension windows after very little are moved to defined location.
Specifically, color refers to visual effect of the human eye for light.RGB (RED GREEN BLUE) color standard is current With one of most wide color standard.Current display is mostly to employ RGB color standard, color value here refer to by According to the color value of RGB color standard definition.The color value of the predeterminable display that suspension windows are adjusted to single pixel of terminal, is pressing The suspension windows after adjustment are shown according to pre-set color value after hiding instruction adjustment suspension windows according to interface.
After suspension windows of the terminal after by adjustment show according to pre-set color value, in order to preferably reach concealment effect, Can in the currently displaying interface of real-time detection each pixel color value.Each color value for detecting is compared with pre-set color value Compared with, from detection each color value in filter out with pre-set color value similarity highest color value, it is determined that the color value correspondence Pixel position, the suspension windows adjusted after size are moved to the position, with better blending into environmental colors.
In the present embodiment, compared by by pre-set color value color value corresponding with each pixel on interface, will adjusted Suspension windows afterwards are displayed in and the position where the pixel corresponding to pre-set color value most similar color value so that according to pre- If the suspension windows that color value shows better blend into current color environment, so that concealment effect is more preferably.
In another embodiment, step S310 also includes in media data method for recording:Obtain default display location and Pre-set color value;It is the size of single pixel by the size adjusting of suspension windows;In default display location, show according to pre-set color value Show the suspension windows after adjustment.Media data method for recording also includes:Determine to preset display location in currently displaying interface The color value of pixel;The pre-set color value that the color value of the suspension windows after adjustment is updated to determine.
In the present embodiment, by presetting the color value of display location and the pixel for detecting the default display location, will Suspension windows after adjustment are shown according to the corresponding color of pixel of default display location so that according to default display position The suspension windows for putting display better blend into current color environment, so that concealment effect is more preferably.
As shown in figure 4, in one embodiment, there is provided a kind of media data method for recording.The method specifically include as Lower step:
S402, suspension windows are drawn by interface display process, and media data recording preview is drawn in suspension windows Interface.
S404, acquisition acts on the recording open command that media data records preview interface.
S406, thread is recorded by media data, and media data recording is carried out according to open command is recorded.
S408, obtains the hiding instruction in interface that preview interface is recorded for hiding media data.
S410, detects whether to pre-set the display location of suspension windows;If it is not, then jumping to step S412;If so, then Jump to step S416.
S412, instruction is hidden by interface display process response interface, obtains pre-set color value;By the size of suspension windows The size of single pixel is adjusted to, the suspension windows after interface display thread shows adjustment according to pre-set color value.
S414, obtains the color value of each pixel in currently displaying interface;Filtered out from color value and pre-set color Value similarity highest color value;It is determined that the position of pixel corresponding with the color value for filtering out;It is outstanding after by adjustment size Floating window mouthful is moved to defined location.
S416, instruction is hidden by interface display process response interface, obtains default display location and pre-set color value;Will The size adjusting of suspension windows is the size of single pixel;By interface display thread in default display location, according to pre-set color Suspension windows after value display adjustment.
S418, determines the color value of the pixel of default display location in currently displaying interface;By the suspension after adjustment The color value of window is updated to the pre-set color value for determining.
S420, shows in notifications column and enters the operation entry that media data records preview interface;Acquisition is acted on The trigger action of operation entry;According to trigger action, by size of the size restoration of the suspension windows after adjustment to before adjusting; Show that media data records preview interface in suspension windows after size restoration.
In the present embodiment, preview interface is recorded with the suspension windows displaying media data of size adjustable, can be by suspended window The size adjusting of mouth is shown for the size of single pixel.By pixel is the least unit that can be shown on computer screen, So that the suspension windows for being adjusted to the size of single pixel are in the indistinguishable hidden state of naked eyes.After interface hides, use Family can carry out to direct convenience other operations, it is to avoid need to terminate current recording state to record preview circle to exit media data Face, can just carry out the problem of other operations.
Secondly, the suspension windows before adjustment is shown by interface display process before suspension windows are not hidden, and carry out matchmaker Volume data is recorded preview interface and is drawn;After suspension windows are hidden, the suspension windows after interface display thread display is adjusted, And terminate interface display process, occupying system resources can be reduced.And the adjustment by Show Color or display location is caused Suspension windows better blend into current color environment, so that concealment effect is more preferably.And will record pre- into media data The operation entry at interface look at is illustrated in notifications column, easy to operate, improves operating efficiency.
Fig. 5 shows the schematic diagram of suspension windows in one embodiment.With reference to Fig. 5, the interface includes starting/end media Data recording operation entry 510, hiding interface operation entrance 520 and media data record preview interface 530.It is right that user can initiate Start/terminate the trigger action of media data recording operation entrance 510, to open media data recording, then initiate to hide interface The trigger action of operation entry 520, preview interface 530 is recorded to hide media data.
Fig. 6 shows the interface schematic diagram on notifications column in one embodiment.With reference to Fig. 6, the interface includes terminating matchmaker Volume data recording operation entrance 610 and the operation entry 620 into media data recording preview interface.User can be right by initiating Terminate the trigger action of media data recording operation entrance 610, terminate the recording of current media data.User also can be by initiating To the trigger action of operation entry 620, by size of the size restoration of the suspension windows after adjustment to before adjusting, and in size Show that media data records preview interface in suspension windows after recovery.
As shown in fig. 7, in one embodiment, there is provided a kind of media data record device 700, including:Display module 701st, module 702 and hidden module 703 are recorded
Display module 701, for showing that media data records preview interface by suspension windows.
Module 702 is recorded, the recording open command that media data records preview interface is acted on for obtaining;According to recording Open command carries out media data recording.
Hidden module 703, the interface for recording preview interface for hiding media data for obtaining hides instruction;According to boundary Face hides instruction, is the size of single pixel by the size adjusting of suspension windows.
Above-mentioned media data record device, preview interface is recorded with the suspension windows displaying media data of size adjustable, is made Obtain and start to record in media data, and after the hiding instruction in interface of the hiding media data recording preview interface of acquisition, can hang The size adjusting of floating window mouthful is shown for the size of single pixel.By pixel is the minimum that can be shown on computer screen single Position so that the suspension windows for being adjusted to the size of single pixel are in the indistinguishable hidden state of naked eyes.After interface hides, User can carry out to direct convenience other operations, it is to avoid need to terminate current recording state to record preview to exit media data Interface, can just carry out other operations and cause cumbersome problem, improve operating efficiency.
In one embodiment, display module 701 is additionally operable to draw suspension windows by interface display process, and is suspending Media data is drawn in window and records preview interface.Record module 702 to be additionally operable to record thread by media data, according to recording Open command carries out media data recording.Hidden module 703 is additionally operable to hide instruction by interface display process response interface, will The size adjusting of suspension windows is single pixel size;Suspension windows after interface display thread display is adjusted, and terminate boundary Face show process.
In the present embodiment, the suspension windows before adjustment is shown by interface display process before suspension windows are not hidden, And carry out media data recording preview interface drafting;After suspension windows are hidden, after interface display thread display is adjusted Suspension windows, and terminate interface display process, occupying system resources can be reduced.
In one embodiment, hidden module 703 is additionally operable to obtain pre-set color value;It is by the size adjusting of suspension windows The size of single pixel, and according to the suspension windows after pre-set color value display adjustment;Obtain each pixel in currently displaying interface The color value of point;Filtered out from color value and pre-set color value similarity highest color value;It is determined that with the color for filtering out It is worth the position of corresponding pixel;The suspension windows adjusted after size are moved to defined location.
In the present embodiment, compared by by pre-set color value color value corresponding with each pixel on interface, will adjusted Suspension windows afterwards are displayed in and the position where the pixel corresponding to pre-set color value most similar color value so that according to pre- If the suspension windows that color value shows better blend into current color environment, so that concealment effect is more preferably.
In one embodiment, hidden module 703 is additionally operable to obtain default display location and pre-set color value;By suspended window The size adjusting of mouth is the size of single pixel;In default display location, according to the suspension windows after pre-set color value display adjustment; Determine the color value of the pixel of default display location in currently displaying interface;By the color value of the suspension windows after adjustment more New is the pre-set color value for determining.
In the present embodiment, by presetting the color value of display location and the pixel for detecting the default display location, will Suspension windows after adjustment are shown according to the corresponding color of pixel of default display location so that according to default display position The suspension windows for putting display better blend into current color environment, so that concealment effect is more preferably.
As shown in figure 8, in one embodiment, there is provided a kind of media data record device 800, including:Display module 801st, module 802, hidden module 803 and recovery module 804 are recorded.
Display module 801, for showing that media data records preview interface by suspension windows.
Module 802 is recorded, the recording open command that media data records preview interface is acted on for obtaining;According to recording Open command carries out media data recording.
Hidden module 803, the interface for recording preview interface for hiding media data for obtaining hides instruction;According to boundary Face hides instruction, is the size of single pixel by the size adjusting of suspension windows.
Recovery module 804, the operation entry that media data records preview interface is entered for showing in notifications column; Acquisition acts on the trigger action of operation entry;According to trigger action, by the size restoration of the suspension windows after adjustment to adjustment Preceding size;Show that media data records preview interface in suspension windows after size restoration.
In the present embodiment, the operation entry that will enter media data recording preview interface is illustrated in notifications column, After the operation entry in triggering notifications column enters size restoration, and display media data records the suspension of preview interface Window, it is not necessary to which corresponding desktop icons are searched on terminal desktop or Menu key is clicked on run the selection of application, behaviour Make easy, improve operating efficiency.
One of ordinary skill in the art will appreciate that all or part of flow in realizing above-described embodiment method, can be The hardware of correlation is instructed to complete by computer program, described program can be stored in a non-volatile computer and can read In storage medium, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, described storage is situated between Matter can be magnetic disc, CD, read-only memory (Read-Only Memory, ROM) etc..
Each technical characteristic of above example can be combined arbitrarily, to make description succinct, not to above-described embodiment In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics do not exist lance Shield, is all considered to be the scope of this specification record.
Embodiment described above only expresses several embodiments of the invention, and its description is more specific and detailed, but simultaneously Therefore the limitation to the scope of the claims of the present invention can not be interpreted as.It should be pointed out that for one of ordinary skill in the art For, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to guarantor of the invention Shield scope.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.

Claims (10)

1. a kind of media data method for recording, methods described includes:
Show that media data records preview interface by suspension windows;
Acquisition acts on the recording open command that the media data records preview interface;
Media data recording is carried out according to the recording open command;
Obtain the hiding instruction in interface that preview interface is recorded for hiding the media data;
Instruction is hidden according to the interface, is the size of single pixel by the size adjusting of the suspension windows.
2. method according to claim 1, it is characterised in that described to show that media data records preview by suspension windows Interface includes:
Suspension windows are drawn by interface display process, and media data is drawn in the suspension windows and record preview interface;
It is described to carry out the step of media data is recorded and include according to the recording open command:
Thread is recorded by media data, media data recording is carried out according to the recording open command;
It is described according to the interface hide instruction, by the size adjusting of the suspension windows for single pixel size the step of wrap Include:
The interface is responded by the interface display process and hides instruction, be single pixel by the size adjusting of the suspension windows Size;
The suspension windows after interface display thread display is adjusted, and terminate the interface display process.
3. method according to claim 1, it is characterised in that the size adjusting by the suspension windows is single pixel Size after, methods described also includes:
Show in notifications column and enter the operation entry that the media data records preview interface;
Acquisition acts on the trigger action of the operation entry;
According to the trigger action, by adjustment after the suspension windows size of the size restoration to before adjusting;
Show that the media data records preview interface in the suspension windows after size restoration.
4. method according to claim 1, it is characterised in that the size adjusting by the suspension windows is single pixel Size the step of include:
Obtain pre-set color value;
It is the size of single pixel by the size adjusting of the suspension windows, and according to the institute after pre-set color value display adjustment State suspension windows;
After the size adjusting by the suspension windows is for the size of single pixel, methods described also includes:
Obtain the color value of each pixel in currently displaying interface;
Filtered out from the color value and the pre-set color value similarity highest color value;
It is determined that the position of pixel corresponding with the color value for filtering out;
The suspension windows adjusted after size are moved to defined location.
5. method according to claim 1, it is characterised in that the size adjusting by the suspension windows is single pixel Size the step of include:
Obtain default display location and pre-set color value;
It is the size of single pixel by the size adjusting of the suspension windows;
In the default display location, according to the suspension windows after pre-set color value display adjustment;
After the size adjusting by the suspension windows is for the size of single pixel, methods described also includes:
Determine the color value of the pixel of default display location described in currently displaying interface;
The color value of the suspension windows after by adjustment is updated to the pre-set color value for determining.
6. a kind of media data record device, it is characterised in that described device includes:
Display module, for showing that media data records preview interface by suspension windows;
Module is recorded, the recording open command that the media data records preview interface is acted on for obtaining;According to the record Open command processed carries out media data recording;
Hidden module, the interface for recording preview interface for hiding the media data for obtaining hides instruction;According to described Interface hides instruction, is the size of single pixel by the size adjusting of the suspension windows.
7. device according to claim 6, it is characterised in that the display module is additionally operable to be painted by interface display process Suspension windows processed, and media data recording preview interface is drawn in the suspension windows;
The recording module is additionally operable to record thread by media data, and media data record is carried out according to the recording open command System;
The hidden module is additionally operable to respond the hiding instruction in the interface by the interface display process, by the suspension windows Size adjusting be single pixel size;The suspension windows after interface display thread display is adjusted, and terminate the boundary Face show process.
8. device according to claim 6, it is characterised in that described device also includes:
Recovery module, the operation entry that the media data records preview interface is entered for showing in notifications column;Obtain It is taken as the trigger action for the operation entry;According to the trigger action, by adjustment after the suspension windows size Recover the size to before adjusting;Show that the media data records preview interface in the suspension windows after size restoration.
9. device according to claim 6, it is characterised in that the hidden module is additionally operable to obtain pre-set color value;Will The size adjusting of the suspension windows is the size of single pixel, and according to the suspension after pre-set color value display adjustment Window;Obtain the color value of each pixel in currently displaying interface;Filtered out from the color value and the pre-set color Value similarity highest color value;It is determined that the position of pixel corresponding with the color value for filtering out;The institute after size will be adjusted State suspension windows and be moved to defined location.
10. device according to claim 6, it is characterised in that the hidden module is additionally operable to obtain default display location And pre-set color value;It is the size of single pixel by the size adjusting of the suspension windows;In the default display location, according to institute State the suspension windows after pre-set color value display adjustment;Determine the picture of default display location described in currently displaying interface The color value of vegetarian refreshments;The color value of the suspension windows after by adjustment is updated to the pre-set color value for determining.
CN201710004790.4A 2017-01-04 2017-01-04 Media data method for recording and device Active CN106899817B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710004790.4A CN106899817B (en) 2017-01-04 2017-01-04 Media data method for recording and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710004790.4A CN106899817B (en) 2017-01-04 2017-01-04 Media data method for recording and device

Publications (2)

Publication Number Publication Date
CN106899817A true CN106899817A (en) 2017-06-27
CN106899817B CN106899817B (en) 2019-09-17

Family

ID=59198303

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710004790.4A Active CN106899817B (en) 2017-01-04 2017-01-04 Media data method for recording and device

Country Status (1)

Country Link
CN (1) CN106899817B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107547799A (en) * 2017-08-25 2018-01-05 深圳天珑无线科技有限公司 Suspend the control method and its system recorded a video
WO2018059165A1 (en) * 2016-09-30 2018-04-05 杭州海康威视数字技术股份有限公司 Method and apparatus for processing video playing
CN110996029A (en) * 2019-12-19 2020-04-10 山东广电信通网络运营有限公司 Dark visit video recording method and device, terminal and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103677527A (en) * 2013-12-24 2014-03-26 北京奇虎科技有限公司 Suspension problem interaction control display method and device suitable for mobile terminal
US20140237420A1 (en) * 2013-02-20 2014-08-21 Yoomee SONG Mobile terminal and controlling method thereof
CN105549819A (en) * 2015-12-11 2016-05-04 努比亚技术有限公司 Method and device for displaying background application information
CN105808095A (en) * 2015-07-08 2016-07-27 维沃移动通信有限公司 Display method for application interface of terminal and terminal
CN106055239A (en) * 2016-06-02 2016-10-26 北京金山安全软件有限公司 Screen recording method and device
CN106155869A (en) * 2015-04-17 2016-11-23 宇龙计算机通信科技(深圳)有限公司 The running background control method of terminal applies and device thereof
CN106293315A (en) * 2015-06-03 2017-01-04 腾讯科技(深圳)有限公司 The method and apparatus that floating frame shows

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140237420A1 (en) * 2013-02-20 2014-08-21 Yoomee SONG Mobile terminal and controlling method thereof
CN103677527A (en) * 2013-12-24 2014-03-26 北京奇虎科技有限公司 Suspension problem interaction control display method and device suitable for mobile terminal
CN106155869A (en) * 2015-04-17 2016-11-23 宇龙计算机通信科技(深圳)有限公司 The running background control method of terminal applies and device thereof
CN106293315A (en) * 2015-06-03 2017-01-04 腾讯科技(深圳)有限公司 The method and apparatus that floating frame shows
CN105808095A (en) * 2015-07-08 2016-07-27 维沃移动通信有限公司 Display method for application interface of terminal and terminal
CN105549819A (en) * 2015-12-11 2016-05-04 努比亚技术有限公司 Method and device for displaying background application information
CN106055239A (en) * 2016-06-02 2016-10-26 北京金山安全软件有限公司 Screen recording method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
玉姐生活: "一款非常好用的录屏软件zd", 《优酷视频》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018059165A1 (en) * 2016-09-30 2018-04-05 杭州海康威视数字技术股份有限公司 Method and apparatus for processing video playing
US10771733B2 (en) 2016-09-30 2020-09-08 Hangzhou Hikvision Digital Technology Co. Ltd. Method and apparatus for processing video playing
CN107547799A (en) * 2017-08-25 2018-01-05 深圳天珑无线科技有限公司 Suspend the control method and its system recorded a video
CN110996029A (en) * 2019-12-19 2020-04-10 山东广电信通网络运营有限公司 Dark visit video recording method and device, terminal and storage medium

Also Published As

Publication number Publication date
CN106899817B (en) 2019-09-17

Similar Documents

Publication Publication Date Title
EP2989532B1 (en) User terminal device and controlling method thereof
ES2748044T3 (en) Display apparatus and control procedure thereof
CN106899817A (en) Media data method for recording and device
EP2824564B1 (en) Information processing device, information processing method, and program
CN103181089B (en) Control the touch screen method and apparatus in response to multi-touch input of mobile terminal
CN104536658A (en) Device and method for generating screen shot image in terminal
CN110837329A (en) Method and electronic device for managing user interface
CN110221655A (en) Multi-display equipment and multi display method
CN104808825B (en) Touch event partition method and its device
CN107066171A (en) The multiwindow switching method and system of touch screen terminal
CN107547750A (en) Control method, device and the storage medium of terminal
US20030146935A1 (en) System and method for providing a graphical user interface display with a conspicuous image element
WO2014196840A1 (en) Portable terminal and user interface method in portable terminal
CN103257821A (en) Apparatus and method for changing attribute of subtitle in image display device
CN104199608B (en) The method of quick open record and touch terminal on touching terminal
CN105988860B (en) The method and mobile device of executing application
WO2010095255A1 (en) Information processing device, display control method and display control program
US8990736B2 (en) Fast cursor location
CN108418920A (en) Intelligent terminal and its control method
CN108228040A (en) Mobile terminal and floating barrier method of controlling operation thereof, device
WO2018205795A1 (en) Control method and control apparatus, mobile terminal, and computer readable storage medium
CN107562322A (en) Switch the method and apparatus of the page
CN106055197A (en) Display method and terminal for application icons
WO2018119584A1 (en) Interaction method and device for flexible display screen
CN105843485B (en) The method and device that the page is shown

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant