CN109005455A - Video data handling procedure and device - Google Patents

Video data handling procedure and device Download PDF

Info

Publication number
CN109005455A
CN109005455A CN201710742695.4A CN201710742695A CN109005455A CN 109005455 A CN109005455 A CN 109005455A CN 201710742695 A CN201710742695 A CN 201710742695A CN 109005455 A CN109005455 A CN 109005455A
Authority
CN
China
Prior art keywords
terminal device
video
user
data
video data
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
CN201710742695.4A
Other languages
Chinese (zh)
Other versions
CN109005455B (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.)
Hangzhou Hikvision Digital Technology Co Ltd
Hangzhou Hikvision System Technology Co Ltd
Original Assignee
Hangzhou Hikvision Digital Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Hikvision Digital Technology Co Ltd filed Critical Hangzhou Hikvision Digital Technology Co Ltd
Publication of CN109005455A publication Critical patent/CN109005455A/en
Application granted granted Critical
Publication of CN109005455B publication Critical patent/CN109005455B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44213Monitoring of end-user related data
    • H04N21/44218Detecting physical presence or behaviour of the user, e.g. using sensors to detect if the user is leaving the room or changes his face expression during a TV program
    • 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/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • H04N21/440281Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display by altering the temporal resolution, e.g. by frame skipping
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast

Abstract

The invention discloses a kind of video data handling procedure and devices, belong to video technique field.The embodiment of the invention provides a kind of environmentally friendly operational modes, it is analyzed by input data to terminal device and/or use habit data, it can estimate whether the terminal device is being used by a user, if user is in unmanned use state, video display quality can then be reduced, the occupancy of the computing resource and electric power resource to terminal device can be reduced due to lower video display quality, to achieve the purpose that resource-effective.

Description

Video data handling procedure and device
This application claims in submission on June 7th, 2017 Patent Office of the People's Republic of China, application No. is 201710423626.7, invention names This is hereby incorporated by reference in the referred to as priority of the Chinese patent application of " video data handling procedure and device ", entire contents In application.
Technical field
The present invention relates to video technique field, in particular to a kind of video data handling procedure and device.
Background technique
With the development of science and technology, monitoring technology is more and more applied to public place, office space and a The different occasion such as other front yard.For example, monitoring camera is arranged in public place, and video is carried out by monitoring camera and is adopted Collection, and by collected video data transmission to monitoring device, it is decoded by monitoring device and is played, so that prison Control personnel can be realized remote monitoring.
However, with the resolution ratio of video data and code rate etc. it is continuous increase, increase of video encoding complexity etc. because The decoding task of element, monitoring device is also just more and more heavier, is decoded to video data and needs to occupy a large amount of computing resource And therefore electric power resource for monitoring device, needs a kind of video data that can save computing resource and electric power resource Processing method.
Summary of the invention
In order to solve problems in the prior art, the embodiment of the invention provides a kind of video data handling procedure and devices. The technical solution is as follows:
In a first aspect, providing a kind of video data handling procedure, it is applied to terminal device, which comprises
Obtain at least one of input data and the use habit data of the terminal device;
The data acquired are analyzed;
When analysis result indicates that the terminal device is in unmanned use state, then the video for reducing the terminal device is aobvious Show quality.
In a kind of possible implementation, the video display quality for reducing the terminal device, comprising:
The video data stream currently accessed is switched to the video data stream of target bit rate, the target bit rate is lower than institute State the code rate of the video data stream currently accessed.
In a kind of possible implementation, the video display quality for reducing the terminal device, comprising:
Frame per second used by current video is played is switched to target frame rate, and the target frame rate is less than the current video Frame per second used by playing.
In a kind of possible implementation, the described pair of data acquired carry out analysis and include:
When the operation information that the input equipment that the terminal device has not been obtained in the first preset duration inputs, and by institute Stating in the video data of the filming apparatus input of terminal device does not include face characteristic data, it is determined that the terminal device is in Unmanned use state.
In a kind of possible implementation, the described pair of data acquired carry out analysis and include:
The period is got used to when present system time is not in user, it is determined that the terminal device is in unmanned and uses State, the user are analyzed to obtain the period accustomed to using by the use habit data.
In a kind of possible implementation, indicates that the terminal device is in unmanned use state when analyzing result, then drop The video display quality of the low terminal device includes:
When analysis result indicates that the terminal device is in unmanned use state, then prompt will be to progress video display quality It is reduced;If any input information has not been obtained in the second preset duration, the reduction terminal device is executed The step of video display quality.
Second aspect provides a kind of video data processing apparatus, is applied to terminal device, and described device includes:
Obtain module, at least one of input data and use habit data for obtaining the terminal device;
Analysis module, for analyzing the data acquired;
Processing module then reduces the end for indicating that the terminal device is in unmanned use state when analysis result The video display quality of end equipment.
In a kind of possible implementation, the processing module is used to the video data stream currently accessed being switched to mesh The video data stream of coding rate, the target bit rate are lower than the code rate of the video data stream currently accessed.
In a kind of possible implementation, frame per second used by the processing module is used to play current video is switched to Target frame rate, the target frame rate are less than frame per second used by the current video plays.
In a kind of possible implementation, the analysis module is used to work as has not been obtained the end in the first preset duration The operation information of the input equipment input of end equipment, and by not wrapped in the video data of the filming apparatus of terminal device input Include face characteristic data, it is determined that the terminal device is in unmanned use state.
In a kind of possible implementation, the analysis module is used to get used to when present system time is not in user Period, it is determined that the terminal device is in unmanned use state, and the user gets used to the period by described using habit Used data are analyzed to obtain.
In a kind of possible implementation, the processing module is used to indicate that the terminal device is in nothing when analysis result People's use state, then prompt will be reduced to video display quality is carried out;If had not been obtained in the second preset duration any The step of inputting information, then executing the video display quality for reducing the terminal device.
The third aspect, the embodiment of the invention also provides a kind of electronic equipment, including processor and memory, wherein institute Memory is stated, for storing computer program;The processor is realized above-mentioned for executing the program stored on memory Method and step in any possibility implementation.
Fourth aspect, the embodiment of the invention also provides a kind of computer readable storage medium, the storage medium memory Computer program is contained, the computer program realizes the method step in any of the above-described possible implementation when being executed by processor Suddenly.
The embodiment of the invention provides a kind of environmentally friendly operational modes, pass through the input data and/or use to terminal device Habit data are analyzed, and can estimate whether the terminal device is being used by a user, if user, which is in nobody, uses shape State can then reduce video display quality, due to lower video display quality can reduce to the computing resource of terminal device with And the occupancy of electric power resource, to achieve the purpose that resource-effective.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing.
Fig. 1 is a kind of flow chart of video data handling procedure provided in an embodiment of the present invention;
Fig. 2 is a kind of video data of service condition and Face datection based on input equipment provided in an embodiment of the present invention The schematic diagram of processing method;
Fig. 3 is a kind of showing for video data handling procedure based on user's history usage record provided in an embodiment of the present invention It is intended to;
Fig. 4 is a kind of schematic diagram of video data handling procedure provided in an embodiment of the present invention;
Fig. 5 is a kind of function structure schematic diagram provided in an embodiment of the present invention;
Fig. 6 is a kind of structural schematic diagram of video data processing apparatus provided in an embodiment of the present invention;
Fig. 7 is the structural schematic diagram of a kind of electronic equipment 700 provided in an embodiment of the present invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention Formula is described in further detail.
Fig. 1 is a kind of flow chart of video data handling procedure provided in an embodiment of the present invention, and this method is applied to terminal Equipment, which comprises
101, at least one of input data and the use habit data of terminal device are obtained.
In embodiments of the present invention, the input data of terminal device can refer to the input equipment input of the terminal device The video data etc. for inputting information or being inputted by the photographic device of terminal device.Above-mentioned input equipment can be terminal device Mouse or keyboard can also refer to the external handwriting pad of terminal device, touch screen of terminal device etc., the embodiment of the present invention pair This is not specifically limited.The use habit data are user's service condition recorded in the operational process of the terminal device.
102, the data acquired are analyzed.
Obtained result can be used to indicate that the state of present terminal equipment by analysis, which, which can be nobody, makes With state, that is to say currently whether someone uses or watches the terminal device.If it is someone's use state is in, then need It is continued to run based on normal operating condition, and if it is unmanned use state is in, then if continued based on normal operating condition Operation, is likely to result in certain wasting of resources, therefore, can execute step 103.
103, when analysis result indicates that the terminal device is in unmanned use state, then the video for reducing the terminal device is aobvious Show quality.
Video display quality can be reduced in a number of different ways, such as be switched over to the code stream of access code stream Or frame per second when to decoding switches over, and by being reduced by bitstreams switching to the code stream of smaller code rate or by frame per second, Ke Yi great The big occupancy reduced to computing resource, correspondingly can also reduce the consumption of electric power resource.
Terminal device involved in the embodiment of the present invention can refer to mobile terminal, such as mobile phone, tablet computer, notebook Computer etc. can also refer to fixed terminal, such as the display terminal of desktop computer, monitor supervision platform etc., the embodiment of the present invention It is not specifically limited in this embodiment.
The embodiment of the invention provides a kind of environmentally friendly operational modes, pass through the input data and/or use to terminal device Habit data are analyzed, and can estimate whether the terminal device is being used by a user, if user, which is in nobody, uses shape State can then reduce video display quality, due to lower video display quality can reduce to the computing resource of terminal device with And the occupancy of electric power resource, to achieve the purpose that resource-effective.
Below by taking the detection to distinct device usage behavior as an example, specific implementation of the invention is described.Referring to figure 2, the Fig. 2 are a kind of video data processing of service condition and Face datection based on input equipment provided in an embodiment of the present invention The schematic diagram of method, this method specifically include:
201, start the monitoring system of terminal device.
The monitoring system be can by the controlling terminals equipment such as service condition to input equipment and Face datection into The system of row operational mode switching.The monitoring system can be implemented as a monitoring application, be answered by terminal device the monitoring Installation is to run on terminal device.
And for terminal device, which can be started by the triggering of user, for example, user exists When needing the computing resource and electric power resource of controlling terminal equipment, it can be started by clicking the startupoptions of the monitoring system The monitoring system.Certainly, which can also be started by entry condition preset on terminal device, work as terminal device Operation meet the entry condition, then start monitoring system, for example, current run time reaches the default starting time, then start Monitoring system;Alternatively, the starting can there are many can be able to achieve if terminal device starting operation, starts monitoring system etc. Mode, the embodiment of the present invention are not specifically limited in this embodiment, such as are started by other equipment to the long-range control of the terminal device Etc..
It should be noted that the monitoring system can be on terminal device for monitoring whether user is using video monitoring The system of application can be used as an independent application and exist, can also be used as the plug-in unit or function mould of the video surveillance applications Block exists, and the embodiment of the present invention is not specifically limited in this embodiment.
202, the keyboard of the terminal device and the service condition of mouse are detected.
It was recognized by the inventor that the service condition of the input equipment of terminal device such as keyboard and mouse, can indicate current Whether terminal device is being used by a user, therefore, can be by detecting to these input equipments, to primarily determine this Whether terminal device is currently being used.
The detection mode may include receiving the operation information triggered by keyboard operation or being triggered by mouse action Operation information when, start the first preset duration timer, if detecting any behaviour before terminating in the timer Make information, then the timing of timer is reset, and restart timing, reaches the if that is to say at the end of in timer When one preset duration, any operation information is not received yet, then can primarily determine that terminal device is in unmanned use state, after The continuous state determining step for carrying out next step.
203, it when the operation information for keyboard and the mouse input that the end equipment has not been obtained in the first preset duration, then opens It moves the filming apparatus of the terminal device, obtains and gone forward side by side pedestrian's face by the video data that the filming apparatus of the terminal device inputs Detection.
It should be noted that, although input equipment is not used by whithin a period of time, but it is also possible to the user and is seeing The content that terminal device is played is seen, therefore, it is also desirable to reduce video display quality by further determining just to can be carried out Processing, to avoid the influence to normal use.
Wherein, the filming apparatus of the terminal device can refer to the filming apparatus such as the camera built in terminal device, can also To refer to filming apparatus that the terminal device is connected.It, can be in the initial setting up monitoring function in order to carry out above-mentioned monitoring function Can when, filming apparatus to be used is determined, for example, user can be by setting up procedure by the display screen direction with terminal device Identical filming apparatus is set as the filming apparatus of subsequent starting so that if user towards display screen watch when, The facial face filming apparatus.
The terminal device can be configured with Face datection function, make it possible to the video shot by the filming apparatus Data carry out Face datection, such as carry out feature extraction for video data, when the feature extracted includes face characteristic data When, it determines and has users in front of terminal device, if do not include face characteristic data, it is determined that do not have in front of terminal device User exists.
If including 204, face characteristic data in the video data, Face datection is closed.
In the case where including face characteristic data, then illustrate the video that current someone is played in viewing terminal equipment, Therefore, it can not continue to be detected within a certain period of time, that is to say, can control monitoring system and enter dormant state, and Continue suspend mode third preset duration, when in a dormant state, the no longer detection of progress mouse and keyboard etc., to avoid to prison Every excessive occupancy detected to computing resource of brake, when suspend mode reaches third preset duration, then control and monitoring system Restore normal operating condition, to execute the detection of at least one equipment usage behavior.
If 205, in the video data not including face characteristic data, prompt that environmentally friendly operational mode, the ring will be carried out The video display quality protected under operational mode shows quality lower than current video.
If the video data indicates not have users in the coverage of the filming apparatus, this can be determined Terminal device is in unmanned use state.At this point, the broadcasting due to terminal device unmanned may be watched, it can be by right The adjustment of its video display quality is to reduce the consumption to the computing resource of terminal device etc..
However, in actual treatment again, it is possible to which user has immediately fallen back to examine by terminal device or due to some Survey is not very accurately that therefore, in order to avoid error handle caused by above situation, after being prompted, terminal device also needs The second preset duration is waited, if detecting any operation of user in the second preset duration, is illustrating the terminal device just In quilt in use, then without switching, and if any input information is not detected in the second preset duration, illustrate user In unmanned use state, subsequent switching can be carried out.
It is carried out for example, the prompt can be by prompting interface, terminal device display reminding interface, is wrapped in the prompting interface The information for including " environmentally friendly operational mode will be switched to ", to the operation for prompting user that will currently carry out, if user be not desired into The row switching, then can stop switching by the operation to input equipments such as mouse or keyboards.Further, can also stop It when only switching, asks the user whether to exit monitoring system by display interface, if exited according to user's operation confirmation, move back It monitors system out to stop monitoring, if do not exited according to user's operation confirmation, continues to run the monitoring system.Optionally, In order to save computing resource and electric power resource, confirmation do not exit when, monitoring system can also be switched to dormant state, with into The suspend mode of row third preset duration.
If input information 206, is not detected in the second preset duration, environmentally friendly operational mode is switched to, reduces institute State the video display quality of terminal device.
Wherein, the specific implementation for reducing the video display quality of the terminal device can have following two:
The first, the video data stream currently accessed is switched to the video data stream of target bit rate, the object code Rate is lower than the code rate of the video data stream currently accessed.
Since the video data stream of various code rate can be accessed, simultaneously in different codes for terminal device Suitable code rate is selected in the video data stream of rate and is decoded broadcasting.For example, video data stream can be with according to code rate size It is divided into HD video data flow, SD video data stream etc..The biggish video data stream of code rate is consumed in decoding process Computing resource it is larger, therefore, can be by being switched to the video data stream being currently accessed relative to the view currently accessed The lesser video data stream of the code rate of frequency data stream, can substantially reduce the occupancy to computing resource.For example, currently accessed For HD video data flow, then be selected in the video data stream for the code rate that current HD video data flow can be less than from code rate One video data stream, and the video data stream of the selection is accessed, e.g., SD video data stream or general video data stream etc.. The selection mode can be random selection, be also possible to directly select the smallest video data stream of code rate, the embodiment of the present invention pair This is not specifically limited.
Second, frame per second used by playing current video is switched to target frame rate, and the target frame rate is less than described Frame per second used by current video plays.
Since for terminal device, video display quality can be embodied by frame per second when decoding, and frame per second is not Together, also different to the consumption of computing resource, therefore, resource consumption can be reduced by reducing the frame per second of decoder.For example, right For general video is shown, frame per second when decoding can be per second for 25 frames, and after carrying out pattern switching, it can will solve It is per second that the frame per second of code is reduced to 10 frames.It should be noted that the target frame rate of above-mentioned switching, which is one, is less than current video broadcasting The setting of the numerical value of used frame per second, specific value can be arranged by monitoring system default, can also voluntarily be set by user It sets, the embodiment of the present invention is not specifically limited in this embodiment.
Certainly, above-mentioned reduction code rate and the method for reducing frame per second can also combine executions, from access and to decode Process, which is set out, realizes the purpose of reduction video display quality, so that the consumption to resource, the embodiment of the present invention pair be greatly lowered Some way is single use actually to be still not specifically limited two methods combined use.
In actual scene, since user's use state may change, terminal device is likely to use from unmanned State becomes that state is used, and therefore, terminal device can also be according to the variation of user's use state, by environmentally friendly operational mode It is switched to normal operation mode, before that is to say the code rate before code rate is reverted to switching and/or frame per second being reverted to switching Frame per second, to provide the user with preferable viewing experience.Wherein, the variation of user's use state can be defeated by receiving Enter the realization such as operational order of equipment, the embodiment of the present invention is not specifically limited in this embodiment.Certainly, before handover, can also lead to It crosses display interface and requries the users and whether switch over, in order to provide more humanized and use habit of being close to the users operation Journey.
It should be noted that when the first preset duration provided in an embodiment of the present invention, the second preset duration and third are default Long, first, second, and third is not used to represent the order or size relation of preset duration appearance, is only used for referring to Duration corresponding to different function.
The embodiment of the invention provides a kind of environmentally friendly operational modes, pass through the input data and/or use to terminal device Habit data are analyzed, and can estimate whether the terminal device is being used by a user, if user, which is in nobody, uses shape State can then reduce video display quality, due to lower video display quality can reduce to the computing resource of terminal device with And the occupancy of electric power resource, to achieve the purpose that resource-effective.
It is at a kind of video data based on user's history usage record provided in an embodiment of the present invention referring to Fig. 3, the Fig. 3 The schematic diagram of reason method is applied to terminal device, and this method specifically includes:
301, start monitoring system user be accustomed to analytic function, with the usage behavior to user recorded and stored to Memory.
Similarly with the starting in a upper embodiment illustrated in fig. 2, this will not be repeated here for the starting of the monitoring system.For monitoring For system, it can have user and be accustomed to analytic function, when the user, which is accustomed to analytic function, to open, can recorde the terminal User's service condition of equipment can specifically include the case where user logs in video surveillance applications or current video monitoring application Video playing situation.The usage behavior can be recorded by way of beginning to use the time and terminating using the time.For example, one A user publishes the video monitoring 11 points of the morning of October 10 and answers at 10 points in morning login on October 10 video surveillance applications With can then be denoted as 10-10,10:00-11:00.
If 302, application is specified to be in broadcast state, the use habit data of user are read from memory.
It, can be by record user to video surveillance applications if monitoring system, which starts user, is accustomed to analytic function Usage behavior obtains use habit data.And when specified application is in broadcast state, it can be somebody's turn to do by being read from memory Use habit data analyze the use habit of user.
Certainly, when which can also be in operating status, the use habit that user is read from memory is executed The step of used data, the embodiment of the present invention is not specifically limited in this embodiment.
303, the use habit data for analyzing the user obtain the period accustomed to using of the user.
By the statistics to use habit data, the period accustomed to using of user can be known, the time accustomed to using Section can be the frequency of use higher period.For example, determining user at the first time by the statistics to use habit data Frequency of use in section is higher than the frequency of use of other times section, then can be using first time period as the period accustomed to using. It is, of course, also possible to determine that frequency of use is greater than multiple periods (such as first time period, the of preset threshold from multiple periods Two periods etc.) as the period accustomed to using, the embodiment of the present invention is not specifically limited in this embodiment.
In addition, can be clustered to use habit data, when determining the period accustomed to using to obtain multiple times The upper continuous period, the length of the period divides can be different, and the embodiment of the present invention does not limit this specific division methods It is fixed.
Explanation is needed further exist for, above-mentioned steps 302 to 303 are to analyze to be got used to by using habit data The process of period, and in actual scene, which can carry out every predetermined period, rather than such as the present embodiment Shown in carried out when specified application is in broadcast state, after analysis obtains the period accustomed to using, which can be made Stored with the period to memory, so that next time reads and uses when specified application is in broadcast state, specifically when into Row analysis and storage can also be adjusted by user according to habit with monitoring system default setting.
304, judge whether present system time is in the period accustomed to using of user, if so, thening follow the steps 306, if not, thening follow the steps 305.
If specified application is in broadcast state, and system time is in the period accustomed to using of user, then can recognize It is normal user behavior for the broadcasting behavior, and if specified application is in broadcast state, and system time is not in user Period accustomed to using, it is likely that be that user forgets to close the video surveillance applications or some other situations therefore can To reduce resource consumption by the process for executing step 305.
305, terminal device reduces the video display quality of the terminal device.
The video display quality process of the reduction terminal device in the step 305 and step 206 similarly, certainly, Before reducing video display quality, which can also carry out the waiting until in the second preset duration of the second preset duration Any operation is inside not detected, just switches to environmentally friendly operational mode, thereby executing the process for reducing video display quality, the present invention Embodiment to this specific implementation without limitation.
306, display operation indicates that interface, the operation instruction interface are used to ask the user whether to exit habit analytic function, If exited according to user's operation confirmation, the habit analytic function is exited.
In order to further save resource consumption, if present system time is in the period accustomed to using of user, may be used also To provide the selection right for whether exiting habit analytic function for user.The operation instruction interface may include that option is exited in confirmation Option is not exited, if detecting that confirmation exits option and is triggered, exits the habit analytic function, and if detected not It exits option to be triggered, then continues to run the habit analytic function.
The embodiment of the invention provides a kind of environmentally friendly operational modes, pass through the input data and/or use to terminal device Habit data are analyzed, and can estimate whether the terminal device is being used by a user, if user, which is in nobody, uses shape State can then reduce video display quality, due to lower video display quality can reduce to the computing resource of terminal device with And the occupancy of electric power resource, to achieve the purpose that resource-effective.
For the content of above-mentioned Fig. 2 and Fig. 3, the detection and user that can be combined with input equipment are accustomed to carry out video counts According to processing, referring to fig. 4, which is a kind of schematic diagram of video data handling procedure provided in an embodiment of the present invention, is applied to eventually End equipment, this method specifically include:
401, start monitoring system user be accustomed to analytic function, with the usage behavior to user recorded and stored to Memory.
If 402, application is specified to be in broadcast state, the use habit data of user are read from memory.
403, the use habit data for analyzing the user obtain the period accustomed to using of the user.
The step 401 to 403 with above-mentioned steps 301 to 303 similarly, this will not be repeated here.
404, judge whether present system time is in the period accustomed to using of user, if not, thening follow the steps 202 And subsequent step.
If being not in the period accustomed to using of user, in order to avoid false judgment, can continue to be based on input equipment Service condition detection and Face datection process further determine that whether user is used the terminal device, to be based on Actual conditions carry out video data processing, to reduce resource consumption.
The step 404 and step 304 are similarly, wherein for if it is the case where, can also be held according to described in step 304 The correlation step of row step 306.
The above process is actually the use habit data for obtaining user, if current equipment usage behavior does not meet institute Use habit data are stated, then executes and detection and subsequent step is carried out at least one equipment usage behavior of the terminal device Process.The embodiment of the invention provides a kind of environmentally friendly operational modes, by the input data to terminal device and/or use habit Used data are analyzed, and can estimate whether the terminal device is being used by a user, if user is in unmanned use state, Video display quality can be then reduced, since lower video display quality can reduce the computing resource and electricity to terminal device The occupancy of power resource, to achieve the purpose that resource-effective.
In any embodiment of above-mentioned Fig. 3 to Fig. 4, terminal device can be based on user's operation come control and monitoring system Starting and exit, also, before it the operation such as will be exited, be switched, can be mentioned by way of display interface Show that subsequent operation will carry out, it, can be to avoid the operation processing of mistake to provide the user with certain choice.In addition, When by appointing one-time detection discovery terminal device to be in use state, monitoring system can be switched to dormant state, directly It is operated normally again after reaching third preset duration to suspend mode, to reduce the consumption of monitoring system own resources.
Relationship between each function involved in the embodiment of the present invention for ease of description, is this hair referring to Fig. 5, Fig. 5 A kind of function structure schematic diagram that bright embodiment provides.The monitoring system may include behavioral value function, display quality switching Function and data storage function, wherein behavioral value function may include the behavioral value function of input equipment, Face datection Function, the specified detection function using operating status, display quality handoff functionality may include the code rate to encoder output It is the handoff functionality of the access code rate of terminal device and the handoff functionality of the decoded frame per second of decoder, the data storage function Recording and storage can be carried out based on the usage behavior of user.
Fig. 6 is a kind of structural schematic diagram of video data processing apparatus provided in an embodiment of the present invention, which can answer For terminal device, described device includes:
Obtain module 601, at least one of input data and use habit data for obtaining the terminal device;
Analysis module 602, for analyzing the data acquired;
Processing module 603, for indicating that the terminal device is in unmanned use state when analysis result, then described in reduction The video display quality of terminal device.
In a kind of possible implementation, the processing module 603 is used to switch the video data stream currently accessed For the video data stream of target bit rate, the target bit rate is lower than the code rate of the video data stream currently accessed.
In a kind of possible implementation, frame per second used by the processing module 603 is used to play current video is cut It is changed to target frame rate, the target frame rate is less than frame per second used by the current video plays.
In a kind of possible implementation, the analysis module 602, which is used to work as, has not been obtained institute in the first preset duration The operation information of the input equipment input of terminal device is stated, and by the video data of the filming apparatus of terminal device input It does not include face characteristic data, it is determined that the terminal device is in unmanned use state.
In a kind of possible implementation, the analysis module 602 is used to be not in user's habit when present system time Usage time interval, it is determined that the terminal device is in unmanned use state, and the user is made the period accustomed to using by described It analyzes to obtain with habit data.
In a kind of possible implementation, the processing module 603 is used to indicate at the terminal device when analysis result In unmanned use state, then prompt will be reduced to video display quality is carried out;If had not been obtained in the second preset duration Any input information, then the step of executing the video display quality for reducing the terminal device.
It should be understood that video data processing apparatus provided by the above embodiment video data processing when, only more than The division progress of each functional module is stated for example, can according to need and in practical application by above-mentioned function distribution by difference Functional module complete, i.e., the internal structure of equipment is divided into different functional modules, with complete it is described above whole or Person's partial function.In addition, video data processing apparatus provided by the above embodiment belongs to video data handling procedure embodiment Same design, specific implementation process are detailed in embodiment of the method, and which is not described herein again.
Fig. 7 is the structural schematic diagram for a kind of electronic equipment 700 that the embodiment of the present disclosure provides.Referring to Fig. 7, the electronic equipment 700 include communication bus, processor, memory and communication interface, can also include, input/output interface and display equipment, In, mutual communication can be completed between each functional unit by bus.The memory is stored with computer program, processing Device executes the video data handling procedure in above-described embodiment for executing the program stored on memory.
Bus is to connect the circuit of described element and realize transmission between these elements.For example, processor is logical It crosses bus and receives order from other elements, decrypt the order received, calculating or data processing are executed according to the order of decryption. Memory may include program module, such as kernel (kernel), middleware (middleware), application programming interface (Application Programming Interface, API) and application.The program module can be software, firmware or hard Part or in which at least two compositions.Input/output interface forward user by input-output equipment (such as inductor, keyboard, Touch screen) input order or data.Display equipment shows various information to user.Communication interface by the electronic equipment 700 with Other network equipments, user equipment, network are attached.For example, communication interface can be by being wired or wirelessly connected to network To be connected to external other network equipments or user equipment.Wireless communication may include following at least one: Wireless Fidelity (Wireless Fidelity, WiFi), bluetooth (Bluetooth, BT), the short distance wireless communication technology (Near Field Communication, NFC), GPS (Global Positioning System, GPS) and cellular communication (cellular communication) is (for example, Long Term Evolution (Long Term Evolution, LTE), long term evolution The subsequent evolution (Long Term Evolution-Advanced, LTE-A) of technology, CDMA (Code Division Multiple Access, CDMA), wideband code division multiple access (Wideband CDMA, WCDMA), Universal Mobile Communication System (Universal Mobile Telecommunication System, UMTS), wireless broadband Internet access (Wireless Broadband, WiBro) and global system for mobile communications (Global System for Mobile communication, GSM).Wire communication may include following at least one: universal serial bus (Universal Serial Bus, USB), high definition Clear degree multimedia interface (High Definition Multimedia Interface, HDMI), asynchronous transmission standard interface (Recommended Standard 232, RS-232) and Plain Old Telephone Service (Plain Old Telephone Service, POTS).Network can be telecommunication network and communication network.Communication network can be computer network, internet, object Networking, telephone network.Electronic equipment 700 can connect network by communication interface, and electronic equipment 700 and other network equipments are logical Letter agreement used can be applied, application programming interface (Application Programming Interface, API), at least one support of middleware, kernel and communication interface.
The embodiment of the invention also provides a kind of computer readable storage medium, computer is stored in the storage medium Program, the computer program realize the video data handling procedure in any of the above-described possible implementation when being executed by processor The step of.
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.

Claims (14)

1. a kind of video data handling procedure, which is characterized in that be applied to terminal device, which comprises
Obtain at least one of input data and the use habit data of the terminal device;
The data acquired are analyzed;
When analysis result indicates that the terminal device is in unmanned use state, then the video for reducing the terminal device shows matter Amount.
2. the method according to claim 1, wherein the video display quality for reducing the terminal device, Include:
The video data stream currently accessed is switched to the video data stream of target bit rate, the target bit rate is worked as lower than described The code rate of preceding accessed video data stream.
3. method according to claim 1 or 2, which is characterized in that the video for reducing the terminal device shows matter Amount, comprising:
Frame per second used by current video is played is switched to target frame rate, and the target frame rate is played less than the current video Used frame per second.
4. the method according to claim 1, wherein the described pair of data acquired carry out analysis include:
When the operation information that the input equipment that the terminal device has not been obtained in the first preset duration inputs, and by the end It does not include face characteristic data in the video data of the filming apparatus input of end equipment, it is determined that the terminal device is in nobody Use state.
5. the method according to claim 1, wherein the described pair of data acquired carry out analysis include:
The period is got used to when present system time is not in user, it is determined that the terminal device is in nobody and uses shape State, the user are analyzed to obtain the period accustomed to using by the use habit data.
6. method according to any one of claims 1 to 5, which is characterized in that when analysis result indicates the terminal device In unmanned use state, then the video display quality for reducing the terminal device includes:
When analysis result indicates that the terminal device is in unmanned use state, then prompt will be to progress video display quality progress It reduces;If any input information has not been obtained in the second preset duration, the video for reducing the terminal device is executed The step of showing quality.
7. a kind of video data processing apparatus, which is characterized in that be applied to terminal device, described device includes:
Obtain module, at least one of input data and use habit data for obtaining the terminal device;
Analysis module, for analyzing the data acquired;
Processing module then reduces the terminal and sets for indicating that the terminal device is in unmanned use state when analysis result Standby video display quality.
8. device according to claim 7, which is characterized in that the processing module is used for the video counts that will be currently accessed The video data stream of target bit rate is switched to according to stream, the target bit rate is lower than the code of the video data stream currently accessed Rate.
9. device according to claim 7 or 8, which is characterized in that the processing module is used to current video playing institute The frame per second of use is switched to target frame rate, and the target frame rate is less than frame per second used by the current video plays.
10. device according to claim 7, which is characterized in that the analysis module is used in the first preset duration The operation information of the input equipment input of the terminal device has not been obtained, and by the input of the filming apparatus of the terminal device It does not include face characteristic data in video data, it is determined that the terminal device is in unmanned use state.
11. device according to claim 7, which is characterized in that the analysis module is used to not locate when present system time The period is got used in user, it is determined that the terminal device is in unmanned use state, and the user gets used to the time Section is analyzed to obtain by the use habit data.
12. according to the described in any item devices of claim 7 to 11, which is characterized in that the processing module is used for when analysis knot Fruit indicates that the terminal device is in unmanned use state, then prompt will be reduced to video display quality is carried out;If the Any input information has not been obtained in two preset durations, then executes the step of the video display quality for reducing the terminal device Suddenly.
13. a kind of electronic equipment, which is characterized in that including processor and memory, wherein the memory, based on storing Calculation machine program;The processor realizes that claim 1 is any to claim 6 for executing the program stored on memory The method and step.
14. a kind of computer readable storage medium, which is characterized in that computer program is stored in the storage medium, it is described Realize claim 1 to claim 6 any method and step when computer program is executed by processor.
CN201710742695.4A 2017-06-07 2017-08-25 Video data processing method and device Active CN109005455B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710423626 2017-06-07
CN2017104236267 2017-06-07

Publications (2)

Publication Number Publication Date
CN109005455A true CN109005455A (en) 2018-12-14
CN109005455B CN109005455B (en) 2021-01-22

Family

ID=64573630

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710742695.4A Active CN109005455B (en) 2017-06-07 2017-08-25 Video data processing method and device

Country Status (1)

Country Link
CN (1) CN109005455B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109862019A (en) * 2019-02-20 2019-06-07 联想(北京)有限公司 Data processing method, device and system
CN110381322A (en) * 2019-07-15 2019-10-25 腾讯科技(深圳)有限公司 Method for decoding video stream, device, terminal device and storage medium
CN113965732A (en) * 2021-12-01 2022-01-21 济南和普威视光电技术有限公司 Low-bandwidth video transmission method and system

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09281940A (en) * 1996-04-18 1997-10-31 Nec Niigata Ltd Power consumption saving display device and personal computer using it
CN1881980A (en) * 2005-06-13 2006-12-20 Lg电子株式会社 Method for managing a memory in a mobile terminal
US20110234784A1 (en) * 2010-03-23 2011-09-29 Panasonic Corporation Display device, display method, program, and recording medium
CN103077695A (en) * 2012-12-20 2013-05-01 广州视睿电子科技有限公司 Method and device for automatically adjusting brightness of television-computer integrated machine
CN104714632A (en) * 2013-12-13 2015-06-17 中国电信股份有限公司 Automatic turn-on and turn-off control method, device and system of display screen
CN105142021A (en) * 2015-08-11 2015-12-09 京东方科技集团股份有限公司 Display control system, display control method and display device
CN105282832A (en) * 2014-07-09 2016-01-27 中兴通讯股份有限公司 Terminal power saving method and apparatus
CN106131671A (en) * 2016-07-01 2016-11-16 合信息技术(北京)有限公司 A kind of method and device regulating video definition

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09281940A (en) * 1996-04-18 1997-10-31 Nec Niigata Ltd Power consumption saving display device and personal computer using it
CN1881980A (en) * 2005-06-13 2006-12-20 Lg电子株式会社 Method for managing a memory in a mobile terminal
US20110234784A1 (en) * 2010-03-23 2011-09-29 Panasonic Corporation Display device, display method, program, and recording medium
CN103077695A (en) * 2012-12-20 2013-05-01 广州视睿电子科技有限公司 Method and device for automatically adjusting brightness of television-computer integrated machine
CN104714632A (en) * 2013-12-13 2015-06-17 中国电信股份有限公司 Automatic turn-on and turn-off control method, device and system of display screen
CN105282832A (en) * 2014-07-09 2016-01-27 中兴通讯股份有限公司 Terminal power saving method and apparatus
CN105142021A (en) * 2015-08-11 2015-12-09 京东方科技集团股份有限公司 Display control system, display control method and display device
CN106131671A (en) * 2016-07-01 2016-11-16 合信息技术(北京)有限公司 A kind of method and device regulating video definition

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109862019A (en) * 2019-02-20 2019-06-07 联想(北京)有限公司 Data processing method, device and system
CN110381322A (en) * 2019-07-15 2019-10-25 腾讯科技(深圳)有限公司 Method for decoding video stream, device, terminal device and storage medium
CN113965732A (en) * 2021-12-01 2022-01-21 济南和普威视光电技术有限公司 Low-bandwidth video transmission method and system

Also Published As

Publication number Publication date
CN109005455B (en) 2021-01-22

Similar Documents

Publication Publication Date Title
US11216178B2 (en) Video encoding method and electronic device adapted thereto
US11844136B2 (en) Discontinuous reception (DRX) parameter configuration method and device
EP3188066B1 (en) A method and an apparatus for managing an application
CN107483812B (en) Multi-platform parallel live broadcast method and device
CN106454413B (en) Code switching method, device and equipment is broadcast live
CN104461474A (en) Mobile terminal and screen-shooting method and device therefor
CN106507204B (en) Video reverse playing method and device
CN111010576B (en) Data processing method and related equipment
CN106201686A (en) Management method, device and the terminal of application
CN102713789B (en) System and method of monitoring a central processing unit in real time
CN108762831A (en) Application program preloads method, apparatus, storage medium and terminal
CN110213429B (en) Communication resource providing method
CN105916177B (en) A kind of method and apparatus communicated wirelessly
CN109005455A (en) Video data handling procedure and device
CN108595224A (en) Application prompts method, apparatus, storage medium and terminal
CN106547417A (en) The method and apparatus for showing background task message
CN109327716A (en) Delay control method, delay control device and computer readable storage medium
KR20140016041A (en) Method and device for controlling alarm operation in terminal
CN108235075B (en) Video quality grade matching method, computer readable storage medium and terminal
CN109600654A (en) Barrage processing method, device and electronic equipment
CN111866976A (en) Network switching method and device
CN109474833B (en) Network live broadcast method, related device and system
CN109600647A (en) A kind of TV remote controlling method, mobile terminal, TV and system
CN110856196B (en) WLAN service optimization method, terminal device and storage medium
CN109582187A (en) Document sending method, device, computer equipment and storage medium

Legal Events

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