CN106899817B - Media data method for recording and device - Google Patents
Media data method for recording and device Download PDFInfo
- Publication number
- CN106899817B CN106899817B CN201710004790.4A CN201710004790A CN106899817B CN 106899817 B CN106899817 B CN 106899817B CN 201710004790 A CN201710004790 A CN 201710004790A CN 106899817 B CN106899817 B CN 106899817B
- Authority
- CN
- China
- Prior art keywords
- media data
- interface
- suspension windows
- size
- recording
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 85
- 239000000725 suspension Substances 0.000 claims abstract description 188
- 230000008569 process Effects 0.000 claims description 42
- 230000009471 action Effects 0.000 claims description 37
- 238000011084 recovery Methods 0.000 claims description 6
- 238000004590 computer program Methods 0.000 claims description 5
- 238000010586 diagram Methods 0.000 description 11
- 230000000694 effects Effects 0.000 description 6
- 239000000203 mixture Substances 0.000 description 6
- 230000004044 response Effects 0.000 description 6
- 238000007667 floating Methods 0.000 description 5
- 230000003044 adaptive effect Effects 0.000 description 3
- 238000009434 installation Methods 0.000 description 3
- 230000006399 behavior Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000000977 initiatory effect Effects 0.000 description 2
- 230000001960 triggered effect Effects 0.000 description 2
- 239000003086 colorant Substances 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 230000009191 jumping Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000003825 pressing Methods 0.000 description 1
- 238000011897 real-time detection Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/76—Television signal recording
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/433—Content storage operation, e.g. storage operation in response to a pause request, caching operations
- H04N21/4334—Recording operations
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The present invention relates to a kind of media data method for recording and devices, which comprises shows that media data records preview interface by suspension windows;It obtains and 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.Scheme provided by the present application improves operating efficiency.
Description
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 technique
With the development of computer technology, to adapt to the growing demand of user, the function of terminal is more and more.Example
Such as, the media data generated to meet user media data recording demand records application etc..Under normal conditions, media are installed
For the terminal of data recording application after starting recording medium data, the media data recording preview interface of terminal is in always can
It sees this state, allows user to observe the content of media data recording at any time, to make better adjustment.
However, media data is recorded application and is needed always in foreground state in traditional this media data recording mode
Operation, user need to terminate current recording state to exit media data and record preview interface, just can be carried out other operations, operate
It is cumbersome.
Summary of the invention
Based on this, it is necessary in traditional media data recording mode, user need to terminate current recording state with
It exits media data and records preview interface, just can be carried out other operations and lead to cumbersome problem, a kind of media number is provided
According to method for recording and device.
A kind of media data method for recording, which comprises
Show that media data records preview interface by suspension windows;
It obtains and 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, described to show that media data records preview interface and includes: by suspension windows
Suspension windows are drawn by interface display process, and draws media data in the suspension windows and records preview circle
Face;
It is described according to the recording open command carry out media data recording the step of include:
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 be single pixel size the step of
Include:
The interface is responded by the interface display process and hides instruction, is single by the size adjusting of the suspension windows
Pixel Dimensions;
By the interface display thread display suspension windows adjusted, and terminate the interface display process.
In one embodiment, after the size adjusting by the suspension windows is the size of single pixel, the side
Method further include:
It is shown in system notification bar and enters the operation entry that the media data records preview interface;
Obtain the trigger action for acting on the operation entry;
According to the trigger action, by size of the size restoration of the suspension windows adjusted to before adjusting;
Show that the media data records preview interface in the suspension windows after size restoration.
In one embodiment, the size adjusting by the suspension windows be single pixel size the step of include:
Obtain pre-set color value;
By the size adjusting of the suspension windows be 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 the size of single pixel, the method also includes:
Obtain the color value of each pixel in the interface currently shown;
It is filtered out from the color value and the highest color value of pre-set color value similarity;
Determine the position of pixel corresponding with the color value filtered out;
The suspension windows after adjustment size are moved to determining position.
In one embodiment, the size adjusting by the suspension windows be single pixel size the step of include:
Obtain default display position and pre-set color value;
It is the size of single pixel by the size adjusting of the suspension windows;
In the default display position, the suspension windows adjusted are shown according to the pre-set color value;
After the size adjusting by the suspension windows is the size of single pixel, the method also includes:
Determine the color value that the pixel of display position is preset described in the interface currently shown;
The color value of the suspension windows adjusted is updated to the determining pre-set color value.
A kind of media data record device, described device include:
Display module, for showing that media data records preview interface by suspension windows;
Module is recorded, for obtaining the recording open command for acting on the media data and recording preview interface;According to institute
It states and records open command progress media data recording;
Hidden module, for obtaining the hiding instruction in interface for recording preview interface for hiding the media data;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 also used to draw suspension windows by interface display process, and in institute
It states and draws media data recording preview interface in suspension windows;
The recording module is also used to record thread by media data, carries out media number according to the recording open command
According to recording;
The hidden module, which is also used to respond the interface by the interface display process, hides instruction, by the suspension
The size adjusting of window is single pixel size;By the interface display thread display suspension windows adjusted, and terminate institute
State interface display process.
In one embodiment, described device further include:
Recovery module, for showing that the operation for entering media data recording preview interface enters in system notification bar
Mouthful;Obtain the trigger action for acting on the operation entry;According to the trigger action, by the suspension windows adjusted
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 also used to obtain pre-set color value;By the size of the suspension windows
It is adjusted to the size of single pixel, and shows the suspension windows adjusted according to the pre-set color value;Obtain current display
Interface in each pixel color value;It is filtered out from the color value and the highest color of pre-set color value similarity
Value;Determine the position of pixel corresponding with the color value filtered out;The suspension windows after adjustment size are moved to really
Fixed position.
In one embodiment, the hidden module is also used to obtain default display position and pre-set color value;It will be described
The size adjusting of suspension windows is the size of single pixel;In the default display position, shows and adjust according to the pre-set color value
The suspension windows after whole;Determine the color value that the pixel of display position is preset described in the interface currently shown;It will adjust
The color value of the suspension windows after whole is updated to the determining pre-set color value.
Above-mentioned media data method for recording and device show that media data records preview circle with the suspension windows of size adjustable
Face, so that after the interface for starting to record in media data, and obtaining hiding media data recording preview interface hides instruction, it can
The size that the size adjusting of suspension windows is single pixel is shown.Since 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 hiding, user can carry out other operations to direct convenience, avoid the need for terminating current recording state to exit media data record
Preview interface processed just can be carried out other operations and lead to cumbersome problem, improves operating efficiency.
Detailed description of the invention
Fig. 1 is the applied environment figure of media data method for recording in one embodiment;
Fig. 2 is in one embodiment for realizing the structural schematic diagram of the terminal of media data method for recording;
Fig. 3 is the flow diagram of media data method for recording in one embodiment;
Fig. 4 is the flow diagram 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 of system notification bar in one embodiment;
Fig. 7 is the structural block diagram of media data record device in one embodiment;
Fig. 8 is the structural block diagram of media data record device in another embodiment.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right
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.Referring to Fig.1, which records
Method is applied to media data recording system.Media data recording system includes terminal 110 and server 120.Terminal 110 passes through
Network is connect with server 120.Terminal 110 can send the media data of recording for executing the media data method for recording
Media data publication etc. is carried out to server 120.Terminal 110 specifically can be PC or mobile terminal, mobile terminal
It specifically can be at least one of mobile phone, tablet computer, laptop etc..Server 120 specifically can be independent object
Server is managed, physical server cluster is also possible to.
Fig. 2 is the schematic diagram of internal structure 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 the input that system bus connects
Device.Wherein, the non-volatile memory medium of terminal is stored with operating system and database.The processor for provide calculate and
Control ability supports the operation of entire terminal.Computer-readable instruction can be stored in built-in storage in terminal, the computer
When readable instruction is executed by the processor, the processor may make to execute a kind of media data method for recording.Terminal is shown
Display screen can be liquid crystal display or electric ink display screen etc., and input unit can be the touch layer covered on display screen,
It is also possible to the key being arranged in terminal enclosure, trace ball or Trackpad, is also possible to external keyboard, Trackpad or mouse
Deng.The terminal can be mobile phone or tablet computer etc..It will be understood by those skilled in the art that structure shown in Figure 2, only
It is the block diagram of part-structure relevant to application scheme, does not constitute the limit for the terminal being applied thereon to application scheme
Fixed, specific terminal may include perhaps combining certain components than more or fewer components as shown in the figure or having difference
Component layout.
As shown in figure 3, in one embodiment, providing a kind of media data method for recording, the present embodiment is in this way
It is illustrated applied to the terminal 110 in above-mentioned Fig. 1.This method specifically comprises the 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 is equal to terminal
The size of screen.The size of suspension windows and position can customize adjustment.Media data refer to video data, audio data or
One of person's dynamic picture data etc. or a variety of combinations.Media data is recorded preview interface and is referred to for watching media in advance
The interface of data recording content.Operation has the application for supporting media data to record in terminal, for example is used for the application of recorded video
Or application for recording audio etc..User can carry out media data recording by operating the application.
In one embodiment, after the application that installation supports media data to record in terminal, can show in terminal desktop should
It is shown in the form of suspension windows using corresponding desktop icons, and after presetting the operation application.Terminal is detectable
For the trigger action for the desktop icons that terminal desktop is shown, when detecting the trigger action, 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
Example in, can predefined suspension windows size it is identical as terminal screen size.
In one embodiment, after the application that installation supports media data to record in terminal, terminal starting 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 has
Body can be automobile data recorder, and the media data of recording is specially video data.User is after opening automobile data recorder, driving note
The application that instrument automatic running supports video data to record is recorded, 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 operation is more convenient.
Further, terminal can call local camera collection image, and acquired image is loaded into suspension windows
In shown, obtain video data or dynamic picture data and record preview interface, so that user watches in advance and carries out phase
It should adjust.
S304 is obtained and is acted on the recording open command that media data records preview interface.
Wherein, open command is recorded to refer to for triggering the instruction for starting to carry out media data recording.Terminal can obtain matchmaker
Volume data records the recording open command triggered in preview interface.Specifically, terminal is detectable is directed to the predefined touching in interface
Hair operation triggers corresponding recording open command when detecting the trigger action.Trigger action can be to control in interface
Operation, such as to the touch control operation of control or cursor clicking operation etc..
S306 carries out media data recording according to open command is recorded.
Specifically, terminal responds the recording open command, is needing to record after getting recording open command
Video data perhaps dynamic picture data when can call local camera collection image sequence generate dynamic picture data or
Video data;When needing recording audio data, local voice collection device can also be called to acquire sound and form audio data,
To realize the recording of media data.
S308 obtains the hiding instruction in interface that preview interface is recorded for hiding media data.
Specifically, interface hides the instruction for instructing and referring to and recording preview interface for triggering hiding media data.In this reality
It applies in example, after terminal can be set in advance according to open command progress media data recording is recorded, automatic trigger interface, which hides, to be referred to
It enables.
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 detecting the trigger action, triggering is corresponding
Interface hides instruction.Trigger action can be the operation to control in interface, such as touch control operation or the cursor point to control
Hit operation etc..Trigger action is also possible to the click to predefined physical button, or carries out media data recording in display
Media data record preview interface when trigger shaking operation etc..
In one embodiment, terminal can be recorded in preview interface in advance in the media data shown by suspension windows and be set
The fixed operation entry that instruction is hidden for triggering interface.Terminal is obtained when detecting the trigger action for the operation entry
Interface hides instruction.In the present embodiment, terminal can be arranged in advance shows that media data records preview circle by suspension windows
When 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 can record the operation entry that instruction is hidden in setting in preview interface for triggering interface by media data
After hiding media data recording preview interface, terminate the operation of application by task manager.
S310, hides instruction according to interface, is the size of single pixel by the size adjusting of suspension windows.
Wherein, pixel refers to the minimum 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, is the size of single pixel by the size adjusting of suspension windows.It also that is, will
The length and width of suspension windows is adjusted to the size of a pixel.Pixel in the present embodiment can be logical pixel or
Physical picture element.
Above-mentioned media data method for recording shows that media data records preview interface with the suspension windows of size adjustable, makes
It obtains and starts to record in media data, and the interface of the hiding media data recording preview interface of acquisition hides after instructing, and can will hang
The size adjusting of floating window mouth is that the size of single pixel is shown.Since pixel is the minimum list that can be shown on computer screen
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 other operations to direct convenience, and avoiding the need for, which terminates current recording state, records preview to exit media data
Interface just can be carried out other operations and lead to cumbersome problem, improves operating efficiency.
In one embodiment, step S302 includes: to draw to hang by interface display process in media data method for recording
Floating window mouth, and draw media data in suspension windows and record preview interface.Step S306 includes: to record line by media data
Journey carries out media data recording according to open command is recorded.Step S310 includes: to be hidden by interface display process response interface
The size adjusting of suspension windows is single pixel size by instruction;By interface display thread display suspension windows adjusted, and
Terminate interface display process.
Wherein, interface display process refers to the process for carrying out interface display.Specifically, media are supported in installation in terminal
After the application of data recording, this can be shown using corresponding desktop icons, and after presetting and running the application in terminal desktop
It is shown in the form of suspension windows, and size and the display position of suspension windows is accordingly set.Terminal is detectable for eventually
The trigger action of the desktop icons of desktop presentation is held to set by interface display process in advance when detecting the trigger action
Suspension windows are drawn according to pre-set size in the display position set.
When needing recorded video data or dynamic picture data, terminal can be called local by interface display process
Camera collection image draws video data in suspension windows according to the image of acquisition and records preview interface or Dynamic Graph the piece number
According to recording preview interface.When needing recording audio data, terminal can obtain default set in advance by interface display process
Interface data draws audio data according to the interface data and records preview interface.
Terminal records thread after obtaining recording open command, through media data, carries out matchmaker according to open command is recorded
Volume data is recorded, and after obtaining interface and hiding instruction, is recorded thread by media data and continued video record, pass through 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 is shown, the other functions such as the drafting of media data recording preview interface are not being needed to carry out, it is only necessary to remain single
Pixel Dimensions show that terminal can enable interface display thread to show suspension windows adjusted, and terminate interface display process,
To reduce occupying system resources.
In the present embodiment, the suspension windows before being adjusted before suspension windows are not hidden by the display of interface display process,
And it carries out media data and records preview interface drafting;It is adjusted by interface display thread display after suspension windows are hidden
Suspension windows, and terminate interface display process, occupying system resources can be reduced.
In one embodiment, media data method for recording further include: shown in system notification bar and enter media data
Record the operation entry of preview interface;Obtain the trigger action for acting on operation entry;It, will be adjusted outstanding according to trigger action
Size of the size restoration of floating window mouth to before adjusting;Show that media data records preview circle in suspension windows after size restoration
Face.
Specifically, terminal, which may be provided in system notification bar, shows that the operation for entering media data recording preview interface enters
Mouthful.This, which enters media data, which records operation entry of preview interface, for button or can jump interface etc..Terminal can be obtained to pressing
Button or the trigger action for jumping interface, the ruler according to the trigger action by the size restoration of suspension windows adjusted to before adjusting
It is very little, and show that media data records preview interface in the suspension windows after size restoration.
Further, in one embodiment, terminal can also be arranged in system notification bar terminates current media data
The operation entry of recording, terminal can obtain the trigger action to the operation entry, terminate current media number according to the trigger action
According to recording, and terminate the application that operation carries out media data recording.
In the present embodiment, the operation entry for entering media data recording preview interface is shown in system notification bar,
After entering size restoration by the operation entry in triggering system notification bar, and show that media data records the suspension of preview interface
Window does not need to search corresponding desktop icons on terminal desktop or clicks the selection that Menu key carries out operation application, behaviour
Make simplicity, improves operating efficiency.
In one embodiment, step S310 includes: to hide instruction according to interface in media data method for recording, will be suspended
The size adjusting of window is the size of single pixel, the color Distribution value at the interface currently shown is determined, according to determining color value
It is distributed adaptive display size suspension windows adjusted.
Specifically, terminal can preset the color value and/or display position that suspension windows adjusted are shown, obtain interface
After hiding instruction, by the size adjusting of suspension windows it is the size of single pixel, and is shown according to pre-set color value, or default aobvious
Show that position is shown according to pre-set color value.Terminal can determine the color Distribution value at the interface currently shown again, with pre-set color value
For adaptive condition, the display position of mobile suspension windows adjusted.It is adaptive item that terminal, which can also preset display position,
Part updates the color value that suspension windows adjusted are shown.
Further, in one embodiment, step S310 includes: acquisition pre-set color in media data method for recording
Value;By the size adjusting of suspension windows it is the size of single pixel, and shows suspension windows adjusted according to pre-set color value.Matchmaker
Volume data method for recording further include: obtain the color value of each pixel in the interface currently shown;Filtered out from color value with
The highest color value of pre-set color value similarity;Determine the position of pixel corresponding with the color value filtered out;Ruler will be adjusted
Suspension windows after very little are moved to determining position.
Specifically, color refers to human eye for the visual effect of light.RGB (RED GREEN BLUE) color standard is current
With most wide one of color standard.Current display mostly be use RGB color standard, color value here refer to by
The color value defined according to RGB color standard.Terminal can preset the color value that suspension windows are adjusted to the display of single pixel, press
It is hidden according to interface and shows suspension windows adjusted according to pre-set color value after instructing adjustment suspension windows.
Terminal is after showing suspension windows adjusted according to pre-set color value, in order to preferably reach concealment effect,
Can in the interface that currently shows of real-time detection each pixel color value.Each color value and the pre-set color value that will test are compared
Compared with, filtered out from each color value of detection with the highest color value of pre-set color value similarity, determining that the color value is corresponding
Pixel position, by adjust size after suspension windows be moved to the position, to better blend into environmental colors.
In the present embodiment, it by comparing pre-set color value color value corresponding with pixel each on interface, will adjust
Suspension windows afterwards are shown in the position where with pixel corresponding to pre-set color value most similar color value, so that according to pre-
If the suspension windows that color value is shown better blend into current color environment, so that concealment effect is more preferably.
In another embodiment, step S310 in media data method for recording further include: obtain default display position and
Pre-set color value;It is the size of single pixel by the size adjusting of suspension windows;It is aobvious according to pre-set color value in default display position
Show suspension windows adjusted.Media data method for recording further include: determine and preset display position in the interface currently shown
The color value of pixel;The color value of suspension windows adjusted is updated to determining pre-set color value.
It in the present embodiment, will by presetting display position and detecting the color value of the pixel for presetting display position
Suspension windows adjusted are shown according to the corresponding color of pixel of default display position, so that according to default display position
The suspension windows for setting display better blend into current color environment, so that concealment effect is more preferably.
As shown in figure 4, in one embodiment, providing a kind of media data method for recording.This method specifically include as
Lower step:
S402 draws suspension windows by interface display process, and draws media data in suspension windows and record preview
Interface.
S404 is obtained and is acted on the recording open command that media data records preview interface.
S406 records thread by media data, carries out media data recording 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 the display position for presetting suspension windows;If it is not, the S412 that then gos to step;If so,
Go to step S416.
S412 hides instruction by interface display process response interface, obtains pre-set color value;By the size of suspension windows
It is adjusted to the size of single pixel, suspension windows adjusted are shown according to pre-set color value by interface display thread.
S414 obtains the color value of each pixel in the interface currently shown;It is filtered out from color value and pre-set color
It is worth the highest color value of similarity;Determine the position of pixel corresponding with the color value filtered out;It will be outstanding after adjustment size
Floating window mouth is moved to determining position.
S416 hides instruction by interface display process response interface, obtains default display position and pre-set color value;It will
The size adjusting of suspension windows is the size of single pixel;By interface display thread in default display position, according to pre-set color
Value shows suspension windows adjusted.
S418 determines the color value that the pixel of display position is preset in the interface currently shown;By suspension adjusted
The color value of window is updated to determining pre-set color value.
S420 shows in system notification bar and enters the operation entry that media data records preview interface;Acquisition acts on
The trigger action of operation entry;According to trigger action, by size of the size restoration of suspension windows adjusted to before adjusting;?
Show that media data records preview interface in suspension windows after size restoration.
In the present embodiment, show that media data records preview interface with the suspension windows of size adjustable, it can be by suspended window
The size adjusting of mouth is that the size of single pixel is shown.Since pixel is the minimum 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 other operations to direct convenience, and avoiding the need for, which terminates current recording state, records preview circle to exit media data
Face, the problem of just can be carried out other operations.
Secondly, by the suspension windows before the display adjustment of 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, by interface display thread display suspension windows adjusted,
And terminate interface display process, occupying system resources can be reduced.And by the adjustment of display color or display position so that
Suspension windows better blend into current color environment, so that concealment effect is more preferably.And media data will be entered and recorded in advance
Look at interface operation entry show in system notification bar, it is easy to operate, improve operating efficiency.
Fig. 5 shows the schematic diagram of suspension windows in one embodiment.With reference to Fig. 5, which includes beginning/end media
Data recording operation entry 510 hides interface operation entrance 520 and media data recording preview interface 530.User can initiate pair
Beginning/end media data recording operation entrance 510 trigger action to open media data recording, then initiates to hide interface
The trigger action of operation entry 520 records preview interface 530 to hide media data.
Fig. 6 shows the interface schematic diagram of system notification bar in one embodiment.With reference to Fig. 6, which includes terminating matchmaker
Volume data recording operation entrance 610 and the operation entry 620 for entering media data recording preview interface.User can pass through initiation pair
The trigger action for terminating media data recording operation entrance 610, terminates the recording of current media data.User can also pass through initiation
To the trigger action of operation entry 620, by size of the size restoration of suspension windows adjusted 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, providing a kind of media data record device 700, comprising: display module
701, 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, for obtaining the recording open command for acting on media data and recording preview interface;According to recording
Open command carries out media data recording.
Hidden module 703, for obtaining the hiding instruction in interface for recording preview interface for hiding media data;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 shows that media data records preview interface with the suspension windows of size adjustable, makes
It obtains and starts to record in media data, and the interface of the hiding media data recording preview interface of acquisition hides after instructing, and can will hang
The size adjusting of floating window mouth is that the size of single pixel is shown.Since pixel is the minimum list that can be shown on computer screen
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 other operations to direct convenience, and avoiding the need for, which terminates current recording state, records preview to exit media data
Interface just can be carried out other operations and lead to cumbersome problem, improves operating efficiency.
In one embodiment, display module 701 is also used to draw suspension windows by interface display process, and is suspending
Media data is drawn in window records preview interface.It records module 702 to be also used to record thread by media data, according to recording
Open command carries out media data recording.Hidden module 703 is also used to hide instruction by interface display process response interface, will
The size adjusting of suspension windows is single pixel size;By interface display thread display suspension windows adjusted, and terminate boundary
Face show process.
In the present embodiment, the suspension windows before being adjusted before suspension windows are not hidden by the display of interface display process,
And it carries out media data and records preview interface drafting;It is adjusted by interface display thread display after suspension windows are hidden
Suspension windows, and terminate interface display process, occupying system resources can be reduced.
In one embodiment, hidden module 703 is also used to obtain pre-set color value;It is by the size adjusting of suspension windows
The size of single pixel, and suspension windows adjusted are shown according to pre-set color value;Obtain each pixel in the interface currently shown
The color value of point;It is filtered out from color value and the highest color value of pre-set color value similarity;The color for determining and filtering out
It is worth the position of corresponding pixel;Suspension windows after adjustment size are moved to determining position.
In the present embodiment, it by comparing pre-set color value color value corresponding with pixel each on interface, will adjust
Suspension windows afterwards are shown in the position where with pixel corresponding to pre-set color value most similar color value, so that according to pre-
If the suspension windows that color value is shown better blend into current color environment, so that concealment effect is more preferably.
In one embodiment, hidden module 703 is also used to obtain default display position and pre-set color value;By suspended window
The size adjusting of mouth is the size of single pixel;In default display position, suspension windows adjusted are shown according to pre-set color value;
Determine the color value that the pixel of display position is preset in the interface currently shown;More by the color value of suspension windows adjusted
The new pre-set color value for determination.
It in the present embodiment, will by presetting display position and detecting the color value of the pixel for presetting display position
Suspension windows adjusted are shown according to the corresponding color of pixel of default display position, so that according to default display position
The suspension windows for setting display better blend into current color environment, so that concealment effect is more preferably.
As shown in figure 8, in one embodiment, providing a kind of media data record device 800, comprising: display module
801, 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, for obtaining the recording open command for acting on media data and recording preview interface;According to recording
Open command carries out media data recording.
Hidden module 803, for obtaining the hiding instruction in interface for recording preview interface for hiding media data;According to boundary
Face hides instruction, is the size of single pixel by the size adjusting of suspension windows.
Recovery module 804, for showing the operation entry for entering media data and recording preview interface in system notification bar;
Obtain the trigger action for acting on operation entry;According to trigger action, by the size restoration of suspension windows adjusted to adjustment
Preceding size;Show that media data records preview interface in suspension windows after size restoration.
In the present embodiment, the operation entry for entering media data recording preview interface is shown in system notification bar,
After entering size restoration by the operation entry in triggering system notification bar, and show that media data records the suspension of preview interface
Window does not need to search corresponding desktop icons on terminal desktop or clicks the selection that Menu key carries out operation application, behaviour
Make simplicity, improves operating efficiency.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the program can be stored in a non-volatile computer and can be read
In storage medium, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage is situated between
Matter can be magnetic disk, CD, read-only memory (Read-Only Memory, ROM) etc..
Each technical characteristic of above embodiments can be combined arbitrarily, for simplicity of description, 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 be not present lance
Shield all should be considered as described in this specification.
The embodiments described above only express several embodiments of the present invention, and the description thereof is more specific and detailed, but simultaneously
Limitations on the scope of the patent of the present invention therefore cannot be interpreted as.It should be pointed out that for those 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
Protect range.Therefore, the scope of protection of the patent of the invention shall be subject to the appended claims.
Claims (14)
1. a kind of media data method for recording, which comprises
Show that media data records preview interface by suspension windows;
It obtains and 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, obtains pre-set color value;
By the size adjusting of the suspension windows it is the size of single pixel, and shows institute adjusted according to the pre-set color value
State suspension windows;
Obtain the color value of each pixel in the interface currently shown;
It is filtered out from the color value and the highest color value of pre-set color value similarity;
Determine the position of pixel corresponding with the color value filtered out;
The suspension windows after adjustment size are moved to determining position.
2. the method according to claim 1, wherein described show that media data records preview by suspension windows
Interface includes:
Suspension windows are drawn by interface display process, and draws media data in the suspension windows and records preview interface;
It is described according to the recording open command carry out media data recording the step of include:
Thread is recorded by media data, media data recording is carried out according to the recording open command;
The size adjusting by the suspension windows be single pixel size the step of include:
The interface is responded by the interface display process and hides instruction, is single pixel by the size adjusting of the suspension windows
Size;
By the interface display thread display suspension windows adjusted, and terminate the interface display process.
3. the method according to claim 1, wherein the size adjusting by the suspension windows is single pixel
Size after, the method also includes:
It is shown in system notification bar and enters the operation entry that the media data records preview interface;
Obtain the trigger action for acting on the operation entry;
According to the trigger action, by size of the size restoration of the suspension windows adjusted to before adjusting;
Show that the media data records preview interface in the suspension windows after size restoration.
4. a kind of media data method for recording, which comprises
Show that media data records preview interface by suspension windows;
It obtains and 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, obtains default display position and pre-set color value;
It is the size of single pixel by the size adjusting of the suspension windows;
In the default display position, the suspension windows adjusted are shown according to the pre-set color value;
Determine the color value that the pixel of display position is preset described in the interface currently shown;
The color value of the suspension windows adjusted is updated to the determining pre-set color value.
5. according to the method described in claim 4, it is characterized in that, described show that media data records preview by suspension windows
Interface includes:
Suspension windows are drawn by interface display process, and draws media data in the suspension windows and records preview interface;
It is described according to the recording open command carry out media data recording the step of include:
Thread is recorded by media data, media data recording is carried out according to the recording open command;
The size adjusting by the suspension windows be single pixel size the step of include:
The interface is responded by the interface display process and hides instruction, is single pixel by the size adjusting of the suspension windows
Size;
By the interface display thread display suspension windows adjusted, and terminate the interface display process.
6. according to the method described in claim 4, it is characterized in that, the size adjusting by the suspension windows is single pixel
Size after, the method also includes:
It is shown in system notification bar and enters the operation entry that the media data records preview interface;
Obtain the trigger action for acting on the operation entry;
According to the trigger action, by size of the size restoration of the suspension windows adjusted to before adjusting;
Show that the media data records preview interface in the suspension windows after size restoration.
7. a kind of media data record device, which is characterized in that described device includes:
Display module, for showing that media data records preview interface by suspension windows;
Module is recorded, for obtaining the recording open command for acting on the media data and recording preview interface;According to the record
Open command processed carries out media data recording;
Hidden module, for obtaining the hiding instruction in interface for recording preview interface for hiding the media data;According to described
Interface hides instruction, obtains pre-set color value;It is the size of single pixel by the size adjusting of the suspension windows, and according to described
Pre-set color value shows the suspension windows adjusted;Obtain the color value of each pixel in the interface currently shown;From institute
It states and is filtered out in color value and the highest color value of pre-set color value similarity;Determination is corresponding with the color value filtered out
The position of pixel;The suspension windows after adjustment size are moved to determining position.
8. device according to claim 7, which is characterized in that the display module is also used to draw by interface display process
Suspension windows processed, and draw media data in the suspension windows and record preview interface;
The recording module is also used to record thread by media data, carries out media data record according to the recording open command
System;
The hidden module, which is also used to respond the interface by the interface display process, hides instruction, by the suspension windows
Size adjusting be single pixel size;By the interface display thread display suspension windows adjusted, and terminate the boundary
Face show process.
9. device according to claim 7, which is characterized in that described device further include:
Recovery module, for showing the operation entry for entering the media data and recording preview interface in system notification bar;It obtains
It is taken as the trigger action for the operation entry;According to the trigger action, by the size of the suspension windows adjusted
Restore the size to before adjusting;Show that the media data records preview interface in the suspension windows after size restoration.
10. a kind of media data record device, which is characterized in that described device includes:
Display module, for showing that media data records preview interface by suspension windows;
Module is recorded, for obtaining the recording open command for acting on the media data and recording preview interface;According to the record
Open command processed carries out media data recording;
Hidden module, for obtaining the hiding instruction in interface for recording preview interface for hiding the media data;According to described
Interface hides instruction, obtains default display position and pre-set color value;It is single pixel by the size adjusting of the suspension windows
Size;In the default display position, the suspension windows adjusted are shown according to the pre-set color value;It determines current aobvious
The color value of the pixel of display position is preset described in the interface shown;The color value of the suspension windows adjusted is updated
For the determining pre-set color value.
11. device according to claim 10, which is characterized in that the display module is also used to through interface display process
Suspension windows are drawn, and draws media data in the suspension windows and records preview interface;
The recording module is also used to record thread by media data, carries out media data record according to the recording open command
System;
The hidden module, which is also used to respond the interface by the interface display process, hides instruction, by the suspension windows
Size adjusting be single pixel size;By the interface display thread display suspension windows adjusted, and terminate the boundary
Face show process.
12. device according to claim 10, which is characterized in that described device further include:
Recovery module, for showing the operation entry for entering the media data and recording preview interface in system notification bar;It obtains
It is taken as the trigger action for the operation entry;According to the trigger action, by the size of the suspension windows adjusted
Restore the size to before adjusting;Show that the media data records preview interface in the suspension windows after size restoration.
13. a kind of computer readable storage medium is stored with computer program, when the computer program is executed by processor,
So that the processor is executed such as the step of any one of claims 1 to 6 the method.
14. a kind of terminal, including memory and processor, the memory is stored with computer program, the computer program
When being executed by the processor, so that the processor is executed such as the step of any one of claims 1 to 6 the method.
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 CN106899817A (en) | 2017-06-27 |
| CN106899817B true 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) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107888859B (en) * | 2016-09-30 | 2020-07-03 | 杭州海康威视数字技术股份有限公司 | A method and device for processing video playback |
| 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 |
Citations (6)
| 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 |
| 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 | 腾讯科技(深圳)有限公司 | Method and device for floating window display |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9916072B2 (en) * | 2013-02-20 | 2018-03-13 | Lg Electronics Inc. | Application and notification window display management in a mobile terminal |
-
2017
- 2017-01-04 CN CN201710004790.4A patent/CN106899817B/en active Active
Patent Citations (6)
| 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 |
| 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 | 腾讯科技(深圳)有限公司 | Method and device for floating window display |
| 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)
| Title |
|---|
| 一款非常好用的录屏软件zd;玉姐生活;《优酷视频》;20160117;视频第00:45至06:30位置处 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN106899817A (en) | 2017-06-27 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN103744576B (en) | A kind of method and system at the operation interface for realizing mobile terminal | |
| CN109961747B (en) | Electronic ink screen display method, device and electronic equipment | |
| US8706275B2 (en) | Systems and methods for application sound management | |
| US12301983B2 (en) | Content operation method and device, terminal, and storage medium | |
| CN111580923B (en) | Control method and device and electronic equipment | |
| CN101464773A (en) | Method and computer system for displaying program execution window according to user position | |
| US8972901B2 (en) | Fast cursor location | |
| CN110633380B (en) | Control method and device for picture processing interface, electronic equipment and readable medium | |
| CN109086366B (en) | Recommended news display method, device, equipment and storage medium in browser | |
| CN108427598B (en) | Message processing method, device, terminal and storage medium | |
| US10055813B2 (en) | Electronic device and operation method thereof | |
| CN106899817B (en) | Media data method for recording and device | |
| CN103116442B (en) | Terminal interface display method and device | |
| CN111857857B (en) | Interface display method, device and equipment | |
| CN112394806A (en) | User interface display method and device, electronic equipment and storage medium | |
| CN109144447A (en) | Split screen window adjusting method and device, storage medium and electronic equipment | |
| CN111726671A (en) | Method, equipment and electronic equipment for playing media information | |
| CN111782113B (en) | Display method, display device and computer-readable storage medium | |
| CN107656691A (en) | Display method, device and equipment of sidebar and storage medium | |
| CN112764833A (en) | Application program management method and device and electronic equipment | |
| WO2016078528A1 (en) | Method and device for displaying object information | |
| WO2023138183A1 (en) | Vehicle-mounted terminal control method and apparatus, device, and storage medium | |
| CN111338520B (en) | Label display method, apparatus, and computer-readable medium | |
| WO2022247935A1 (en) | Display method and display apparatus | |
| CN113923392A (en) | Video recording method, video recording device and electronic equipment |
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 |