CN110505527A - Adjust method and device, electronic equipment and the storage medium of video broadcasting condition - Google Patents

Adjust method and device, electronic equipment and the storage medium of video broadcasting condition Download PDF

Info

Publication number
CN110505527A
CN110505527A CN201910734592.2A CN201910734592A CN110505527A CN 110505527 A CN110505527 A CN 110505527A CN 201910734592 A CN201910734592 A CN 201910734592A CN 110505527 A CN110505527 A CN 110505527A
Authority
CN
China
Prior art keywords
electronic equipment
video
fluctuating range
state
adjusted
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910734592.2A
Other languages
Chinese (zh)
Inventor
李训耕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN201910734592.2A priority Critical patent/CN110505527A/en
Publication of CN110505527A publication Critical patent/CN110505527A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47214End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for content reservation or setting reminders; for requesting event notification, e.g. of sport results or stock market

Abstract

The disclosure is about a kind of method and device, electronic equipment and storage medium for adjusting video broadcasting condition.This method comprises: obtaining the first fluctuating range of the electronic equipment;If first fluctuating range is more than pre-set amplitude threshold, the angle between the one side specified on the electronic equipment and pre-set reference planes is obtained;Meet in response to the corner dimension and impose a condition, the video is adjusted to halted state from broadcast state.It according to the placement status of electronic equipment, such as can place on the table when user handles urgent thing in the present embodiment, video is adjusted to halted state automatically, without user's operation, the viewing experience of user can be promoted.In addition, the mode of operation of pause video can be enriched in the present embodiment, existing single operation inconvenient problem in some scenes is avoided, the viewing experience of user can be promoted.

Description

Adjust method and device, electronic equipment and the storage medium of video broadcasting condition
Technical field
This disclosure relates to field of video broadcasting technology more particularly to it is a kind of adjust video broadcasting condition method and device, Electronic equipment and storage medium.
Background technique
Currently, more and more users tend to watch video using electronic equipment, wherein electronic equipment can be intelligence Mobile phone, tablet computer etc..By taking electronic equipment is smart phone as an example, if user is watching video, when there is external call access When, broadcast interface can be switched to telephone interface by mobile phone operating system, and switch back to video playing interface again after phone is hung up Continue to play video.
However, user needs to handle some urgent things in some living scenes, directly processing is anxious after smart phone is put down Thing.Smart phone will continue to play video at this time, continue viewing after waiting users to return or return manually to see again, i.e. above scheme It can not be applied to the living scene that user needs to handle urgent thing.
Summary of the invention
The disclosure provides a kind of method and device, electronic equipment and storage medium for adjusting video broadcasting condition, at least Video, which continues to play, when solving user's processing urgent thing in the related technology needs viewing experience caused by user's manual operation poor The problem of.
The technical solution of the disclosure is as follows:
According to the first aspect of the embodiments of the present disclosure, a kind of method adjusting video broadcasting condition is provided, electronics is applied to Equipment, which comprises
Obtain the first fluctuating range of the electronic equipment;
If first fluctuating range is more than pre-set amplitude threshold, the side specified on the electronic equipment is obtained Angle between face and pre-set reference planes;
Meet in response to the corner dimension and impose a condition, the video is adjusted to halted state from broadcast state.
Optionally, the first fluctuating range for obtaining the electronic equipment includes:
Obtain the current spatial attitude data collected of spatial attitude sensor in the electronic equipment and history posture number According to;
The first fluctuation of the electronic equipment is obtained according to the current spatial attitude data and the history attitude data Amplitude.
Optionally, after the video being adjusted to halted state from broadcast state, the method also includes:
Monitor the trigger action of user;
In response to the trigger action, the video is adjusted to broadcast state from halted state.
Optionally, after the video being adjusted to halted state from broadcast state, the method also includes:
Obtain the second fluctuating range of the electronic equipment;The acquisition modes of second fluctuating range and the first wave The acquisition modes of dynamic amplitude are identical;
It is more than pre-set amplitude threshold in response to second fluctuating range, the video is adjusted from halted state For broadcast state.
Optionally, the video is adjusted to halted state from broadcast state further include:
In the time-out position of played video, flag bit is set;The flag bit is configured as indicating time-out position and pause Classification.
Optionally, the video is adjusted to broadcast state from halted state includes:
Remove the flag bit.
Optionally, the setting condition includes at least one of the following: that the corner dimension meets setting range and described Corner dimension meets setting range and the angle persistently sets duration.
According to the second aspect of an embodiment of the present disclosure, a kind of device adjusting video broadcasting condition is provided, electronics is applied to Equipment, described device include:
First amplitude acquiring unit is configured as executing the first fluctuating range for obtaining the electronic equipment;
Angle acquiring unit is configured as executing when first fluctuating range is more than pre-set amplitude threshold, Obtain the angle between the one side specified on the electronic equipment and pre-set reference planes;
State adjustment unit, be configured as execute in response to the corner dimension meet impose a condition, by the video from Broadcast state is adjusted to halted state.
Optionally, the first amplitude acquiring unit includes:
Attitude data obtains module, and it is collected to be configured as executing spatial attitude sensor in the acquisition electronic equipment Current spatial attitude data and history attitude data;
First amplitude obtains module, is configured as executing according to the current spatial attitude data and the history posture number According to the first fluctuating range for obtaining the electronic equipment.
Optionally, described device further include:
Trigger action monitoring unit is configured as executing the trigger action of monitoring user;
The state adjustment unit, is additionally configured to execute in response to the trigger action, by the video from pause shape State is adjusted to broadcast state.
Optionally, described device further include:
Second amplitude acquiring unit is configured as executing the second fluctuating range for obtaining the electronic equipment;Described second The acquisition modes of fluctuating range are identical as the acquisition modes of first fluctuating range;
The state adjustment unit, being additionally configured to execute in response to second fluctuating range is more than pre-set width Threshold value is spent, the video is adjusted to broadcast state from halted state.
Optionally, the state adjustment unit further include:
Flag bit setup module is configured as executing the time-out position setting flag bit in played video;The mark Position is configured as indicating time-out position and suspends classification.
Optionally, the flag bit setup module, which is additionally configured to execute, removes the flag bit.
Optionally, the setting condition includes at least one of the following: that the corner dimension meets setting range and described Corner dimension meets setting range and the angle persistently sets duration.
According to the third aspect of an embodiment of the present disclosure, a kind of electronic equipment is provided, comprising:
Processor;
For storing the memory of the processor-executable instruction;Wherein, the processor is configured to described in executing Executable instruction in memory, with realize as described in relation to the first aspect method the step of.
According to a fourth aspect of embodiments of the present disclosure, a kind of storage medium is provided, when the instruction in the storage medium by When the processor of electronic equipment executes, so that the step of electronic equipment is able to carry out method as described in relation to the first aspect.
According to a fifth aspect of the embodiments of the present disclosure, a kind of application program is provided, when the application program is by electronic equipment Processor execute when so that the step of electronic equipment is able to carry out method as described in relation to the first aspect.
The technical scheme provided by this disclosed embodiment at least bring it is following the utility model has the advantages that
By obtaining spatial attitude sensor current spatial posture number collected in the electronic equipment in the present embodiment According to history attitude data;Then, the electronics is obtained according to the current spatial attitude data and the history attitude data First fluctuating range of equipment;Later, if first fluctuating range is more than pre-set amplitude threshold, the electronics is obtained Angle between the one side specified in equipment and pre-set reference planes;Finally, meeting in response to the corner dimension It imposes a condition, the video is adjusted to halted state from broadcast state.As it can be seen that in the present embodiment urgent thing can be handled in user When, it according to the placement status of electronic equipment, such as places on the table, video is adjusted to halted state automatically, without User's operation.In addition, the mode of operation of pause video can be enriched in the present embodiment, avoid existing single operation in some fields Inconvenient problem under scape, can promote the viewing experience of user.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure Example, and together with specification for explaining the principles of this disclosure, do not constitute the improper restriction to the disclosure.
Fig. 1 is a kind of flow chart of method for adjusting video broadcasting condition shown according to an exemplary embodiment.
Fig. 2 is the flow chart of the method for another adjustment video broadcasting condition shown according to an exemplary embodiment.
Fig. 3 is the flow chart of the method for another adjustment video broadcasting condition shown according to an exemplary embodiment.
Fig. 4 is the flow chart of the method for another adjustment video broadcasting condition shown according to an exemplary embodiment.
Fig. 5 is the flow chart of the method for another adjustment video broadcasting condition shown according to an exemplary embodiment.
Fig. 6 is the flow chart of the method for another adjustment video broadcasting condition shown according to an exemplary embodiment.
Fig. 7 (a) and Fig. 7 (b) is a kind of method for adjusting video broadcasting condition shown according to an exemplary embodiment Flow chart.
Fig. 8~Figure 12 is a kind of block diagram of device for adjusting video broadcasting condition shown according to an exemplary embodiment.
Figure 13 is the block diagram of a kind of electronic equipment shown according to an exemplary embodiment.
Specific embodiment
In order to make ordinary people in the field more fully understand the technical solution of the disclosure, below in conjunction with attached drawing, to this public affairs The technical solution opened in embodiment is clearly and completely described.
Currently, more and more users tend to watch video using electronic equipment, wherein electronic equipment can be intelligence Mobile phone, tablet computer etc..By taking electronic equipment is smart phone as an example, if user is watching video, when there is external call access When, broadcast interface can be switched to telephone interface by mobile phone operating system, and switch back to video playing interface again after phone is hung up Continue to play video.
However, user needs to handle some urgent things in some living scenes, directly processing is anxious after smart phone is put down Thing.Smart phone will continue to play video at this time, continue viewing after waiting users to return or return manually to see again, i.e. above scheme It can not be applied to the living scene that user needs to handle urgent thing.
For this purpose, the embodiment of the present disclosure provides a kind of method for adjusting video broadcasting condition, design is, moves in user When dynamic electronic equipment, video can be adjusted to from broadcast state automatically by halted state according to the state of electronic equipment, avoid regarding Frequency continues to play the subsequent viewing for influencing user, is manually operated in this way without user, can promote the viewing experience of user.
Fig. 1 is a kind of method for adjusting video broadcasting condition shown according to an exemplary embodiment, can be adapted for taking It is engaged in device, referring to Fig. 1, a method of adjustment video broadcasting condition, comprising:
In a step 101, the first fluctuating range of the electronic equipment is obtained.
In the present embodiment, the available fluctuating range to electronic equipment of electronic equipment, to be different from subsequent acquisition Fluctuating range, referred to herein as the first fluctuating range.In one example, processor can be obtained according to the attitude data of electronic equipment Take the first fluctuating range.
Spatial attitude sensor is provided in practical application, in electronic equipment, wherein spatial attitude sensor includes following It is at least one: acceleration transducer, three-axis gyroscope, gravity sensor.In one embodiment, spatial attitude sensor, which uses, adds Velocity sensor.By taking acceleration transducer as an example, spatial attitude data may include in acceleration magnitude and direction, and acceleration The direction of the acceleration magnitude and each reference axis in each reference axis is spent, wherein direction refers to the coordinate system of acceleration transducer Under angle of each reference axis relative to reference axis each under world coordinate system.Technical staff can select suitable according to concrete scene Spatial attitude sensor, in the case where that can get the direction or angle of electronic equipment, corresponding scheme falls into the disclosure Protection scope.
In the present embodiment, spatial attitude sensor can acquire the spatial attitude data of electronic equipment, the spatial attitude number According to processor can be sent to.Wherein, spatial attitude sensor can actively be sent to processor, or in response to processor Request is sent.Perhaps processor has used processor or space after spatial attitude data after getting spatial attitude data Attitude transducer can store spatial attitude data to local storage.
It should be noted that the newest spatial attitude data for getting processor in the present embodiment are referred to as current sky Between attitude data, other spatial attitude data before the current spatial attitude data are referred to as history attitude data.
Referring to fig. 2, processor can get current spatial attitude data by interacting with spatial attitude sensor, pass through It is interacted with local storage and gets history attitude data (step 201) in corresponding diagram 2.Alternatively, processor is directly deposited from local Reservoir reads current spatial attitude data and history attitude data.Technical staff can select suitable obtain according to concrete scene Scheme, in the case where that can acquire corresponding attitude data, corresponding scheme falls into the protection scope of the disclosure.
Later, the processor of electronic equipment can obtain electronics according to current spatial attitude data and history attitude data and set Standby the first fluctuating range (step 202) in corresponding diagram 2.Processor can be respectively to current spatial attitude data and history posture Data are handled.By taking spatial attitude data are acceleration as an example, processor can obtain current acceleration according to synthesis mode Resultant acceleration data are fluctuated width by the resultant acceleration data of data and history acceleration information Degree.Certainly, technical staff can also according to vector sum rule perhaps vector difference rule get the first fluctuating range or according to Acceleration information gets the moving distance of electronic equipment, determines the first fluctuating range according to moving distance, can be realized public affairs In the case where evolution case, corresponding scheme falls into the protection scope of the disclosure.
In a step 102, if first fluctuating range is more than pre-set amplitude threshold, the electronic equipment is obtained Angle between upper specified one side and pre-set reference planes.
In the present embodiment, an amplitude threshold can be preset in electronic equipment, wherein amplitude threshold can be for about adding The value of speed can also be the value about displacement, be not limited thereto.
In the present embodiment, processor can compare the first fluctuating range and pre-set amplitude threshold, to judge first Whether fluctuating range is more than the amplitude threshold, if not exceeded, then processor return step 101, details are not described herein.Or processing Device judges that the first fluctuating range is more than pre-set amplitude threshold, then the one side specified on available electronic equipment and pre- The angle for the reference planes being first arranged.Wherein angle can indicate that electronic equipment is horizontally arranged or the inclination of setting range is put It sets, technical staff can be configured according to concrete scene, be not limited thereto.
In one embodiment, the one side specified on electronic equipment includes plane or electronic equipment backboard where display screen Place plane, for the plane where the display screen, which can pass through spatial attitude sensor and display screen Preparatory relationship and current spatial attitude data are calculated.For example, under static horizontal posture, the rotary shaft of acceleration transducer Vertical with display screen, when electronic equipment is mobile, the rotary shaft of acceleration transducer can shift, and offset can manage at this time Solution is the offset that electronic equipment is shown.Technical staff can calculate display screen according to the working principle of acceleration transducer Angle is rotated, details are not described herein.
In one embodiment, reference planes may include horizontal plane.
In the present embodiment, processor can calculate after the respective angle for determining specified one side and reference planes The angle of the two.
In step 103, meet in response to the angle and impose a condition, the video is adjusted to suspend from broadcast state State.
In the present embodiment, electronic equipment can preset setting condition, such as impose a condition and include at least one of the following: The corner dimension meets setting range and the corner dimension meets setting range and the angle persistently set duration can To include that angle persistently sets duration, i.e. electronic equipment is in angle and at least sets duration.
In the present embodiment, whether processor can determine electronic equipment in the folder after getting the angle of electronic equipment Setting duration (such as 0.1~1 second) is kept under angle, method of determination may include:
Mode one, processor continue to obtain spatial attitude data and obtain angle, and judge that required angle is twice for front and back No equal or close (the two correlation is no more than certain angle), then counts duration if they are the same, stops counting if the two difference Duration, the holding duration to angle available in this way.
Mode two, the available spatial attitude data of processor, if spatial attitude data and previous spatial attitude data phase Deng or it is close (the two correlation is no more than certain value), then count duration, until both it is no longer equal or close until, this The available holding duration to angle of sample.
Processor can determine whether angle meets setting condition according to the size that comparison keeps duration and sets duration. When being unsatisfactory for imposing a condition, return step 101;When meeting setting condition, processor can suspend currently playing video, Video is adjusted to halted state from broadcast state.
By taking reference planes are horizontal plane as an example, after electronic equipment is placed into the desktop of presentation level by user, electronics is set It is standby to be usually maintained static.In practical application, user may also active hand-hold electronic equipments to horizontality, in this case, place Video can be equally adjusted to halted state by reason device, but and not meet the original intention of user.In the present embodiment, referring to Fig. 3, place Reason device can monitor the trigger action of user, and (step 301) in corresponding diagram 3 be the operation for indicating broadcasting in the trigger action of user When, video can be adjusted to broadcast state (step in corresponding diagram 3 from halted state in response to the trigger action by processor 302), so that user be facilitated to watch.
In one embodiment, after user has handled urgent thing, electronic equipment may be picked up from desktop and continues viewing view Frequently.Referring to fig. 4, the fluctuating range of the available electronic equipment of processor, for be different from pause before acquisition fluctuating range, The second fluctuating range (step in corresponding diagram 4 of the available electronic equipment of referred to herein as the second fluctuating range, i.e. processor 401), wherein the acquisition modes of the second fluctuating range are identical as the acquisition modes of the first fluctuating range, details are not described herein.So Afterwards, processor can be more than pre-set amplitude threshold in response to the second fluctuating range, and video is adjusted to from halted state Broadcast state (step 402) in corresponding diagram 4.
In one embodiment, referring to Fig. 5, processor can also play view after video is adjusted to halted state The time-out position setting flag bit (step 501) in corresponding diagram 5 of frequency.For example, processor can be right in the video data of caching The time-out position answered increases a label, using the label as flag bit.It is temporary that the label at least has the effect that (1) determines Off-position is set, and is directly searched when facilitating broadcasting.(2) action type, such as automatic pause and pause manually are determined, facilitates embodiment different The priority of operation.In another embodiment, referring to Fig. 6, processor can also be removed after video is adjusted to broadcast state Flag bit (step 601) in corresponding diagram 6.In the present embodiment, processor quickly determining pause can be convenient by the way that flag bit is arranged Position and action type achieve the effect that fast quick-recovery plays.
So far, by obtaining spatial attitude sensor current spatial appearance collected in the electronic equipment in the present embodiment State data and history attitude data;Then, according to the current spatial attitude data and history attitude data acquisition First fluctuating range of electronic equipment;Later, if first fluctuating range is more than pre-set amplitude threshold, described in acquisition Angle between the specified one side and reference planes of electronic equipment;It imposes a condition finally, meeting in response to the angle, it will The video is adjusted to halted state from broadcast state.As it can be seen that can be when user handles urgent thing, according to electronics in the present embodiment The placement status of equipment, such as place on the table, video is adjusted to halted state automatically, it, can without user's operation To promote the viewing experience of user.In addition, the mode of operation of pause video can be enriched in the present embodiment, avoid existing single Problem inconvenient in some scenes is operated, the viewing experience of user can be promoted.
Fig. 7 (a) and Fig. 7 (b) is a kind of method for adjusting video broadcasting condition shown according to an exemplary embodiment Flow chart.Referring to Fig. 7 (a), video is in broadcast state in smart phone, and processor detects acceleration transducer in smart phone The acceleration information of acquisition.Then, processor is according to the first fluctuation of the acceleration information of current acceleration information and history Whether amplitude is more than pre-set amplitude threshold, returns when being less than amplitude threshold and continues to acquire acceleration information, super Processor obtains the folder between the specified one side and reference planes of smart phone by acceleration information when crossing amplitude threshold Angle.Later, processor judges whether the angle of smart phone meets setting condition, can be full for corner dimension wherein imposing a condition Sufficient setting range and angle keep setting duration, if being unsatisfactory for imposing a condition, return continues to acquire acceleration information, if meeting It imposes a condition, then suspends played data and flag bit is set.
Referring to Fig. 7 (b), placed in a suspend state, processor detects acceleration sensing to video in smart phone in smart phone The acceleration information of device acquisition.Then, processor is according to the second wave of the acceleration information of current acceleration information and history Whether dynamic amplitude is more than pre-set amplitude threshold, returns when being less than amplitude threshold and continues to acquire acceleration information, In Processor can directly adjust video to broadcast state and clear flag position when more than amplitude threshold.Alternatively, processor can be with Judge whether the angle of smart phone keeps meeting the state to impose a condition, continues to acquire acceleration information if so, returning, if No, then processor can adjust video to broadcast state and clear flag position.In this way, by judging whether angle keeps meeting The state of setting condition, to prevent external non-artificial operation from causing accidentally to play.
It should be noted that only describe video in the present embodiment from broadcast state to halted state, or from pause shape The case where state is to broadcast state, in practical applications, technical staff can also select corresponding scheme, such as user according to scene Mobile phone suspends video playing, and then user restores video playing after holding mobile phone again automatically again;For another example, mobile phone automatic pause regards Frequency plays, and then user restores video playing etc. manually, in the case where can be realized the adjustment of video following mobile phone spatial attitude, Corresponding scheme falls into the protection scope of the disclosure.
Fig. 8 is a kind of block diagram of device for adjusting video broadcasting condition shown according to an exemplary embodiment, Ke Yishi For electronic equipment, referring to Fig. 8, a kind of device 800 adjusting video broadcasting condition, comprising:
First amplitude acquiring unit 801 is configured as executing the first fluctuating range for obtaining the electronic equipment;
Angle acquiring unit 802, being configured as executing in first fluctuating range is more than pre-set amplitude threshold When, obtain the angle between the one side specified on the electronic equipment and pre-set reference planes;
State adjustment unit 803 is configured as executing in response to corner dimension satisfaction setting condition, by the video Halted state is adjusted to from broadcast state.
Fig. 9 is the block diagram of the device of another adjustment video broadcasting condition shown according to an exemplary embodiment, referring to Fig. 9, on the basis of device shown in Fig. 8, the first amplitude acquiring unit 801 includes:
Attitude data obtains module 901, is configured as executing spatial attitude sensor in the acquisition electronic equipment and is adopted The current spatial attitude data and history attitude data of collection;
First amplitude obtains module 902, is configured as executing according to the current spatial attitude data and the history appearance First fluctuating range of electronic equipment described in state data acquisition.
Figure 10 is the block diagram of the device of another adjustment video broadcasting condition shown according to an exemplary embodiment, referring to Figure 10, on the basis of device shown in Fig. 8, described device further include:
Trigger action monitoring unit 1001 is configured as executing the trigger action of monitoring user;
The state adjustment unit 803, is additionally configured to execute in response to the trigger action, by the video from pause State is adjusted to broadcast state.
Figure 11 is the block diagram of the device of another adjustment video broadcasting condition shown according to an exemplary embodiment, referring to Figure 11, on the basis of device shown in Fig. 8, described device further include:
Second amplitude acquiring unit 1101 is configured as executing the second fluctuating range for obtaining the electronic equipment;It is described The acquisition modes of second fluctuating range are identical as the acquisition modes of first fluctuating range;
The state adjustment unit 803, being additionally configured to execute in response to second fluctuating range is more than to preset Amplitude threshold, the video is adjusted to broadcast state from halted state.
Figure 12 is the block diagram of the device of another adjustment video broadcasting condition shown according to an exemplary embodiment, referring to Figure 12, on the basis of Fig. 8~Figure 11 shown device, the state adjustment unit 803 further include:
Flag bit setup module 1201 is configured as executing the time-out position setting flag bit in played video;It is described Flag bit is configured as indicating time-out position and suspends classification.
In one embodiment, the flag bit setup module 1201, which is additionally configured to execute, removes the flag bit.
In one embodiment, the setting condition includes at least one of the following: that the corner dimension meets setting range, with And the corner dimension meets setting range and the angle persistently sets duration.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method Embodiment in be described in detail, no detailed explanation will be given here.
So far, by obtaining spatial attitude sensor current spatial appearance collected in the electronic equipment in the present embodiment State data and history attitude data;Then, according to the current spatial attitude data and history attitude data acquisition First fluctuating range of electronic equipment;Later, if first fluctuating range is more than pre-set amplitude threshold, described in acquisition Angle between the specified one side and reference planes of electronic equipment;It imposes a condition finally, meeting in response to the angle, it will The video is adjusted to halted state from broadcast state.As it can be seen that can be when user handles urgent thing, according to electronics in the present embodiment The placement status of equipment, such as place on the table, video is adjusted to halted state automatically, it, can without user's operation To promote the viewing experience of user.In addition, the mode of operation of pause video can be enriched in the present embodiment, avoid existing single Problem inconvenient in some scenes is operated, the viewing experience of user can be promoted.
Figure 13 is the block diagram of a kind of electronic equipment shown according to an exemplary embodiment.For example, electronic equipment 1300 can To be server, mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, medical treatment Equipment, body-building equipment, personal digital assistant etc..
Referring to Fig.1 3, electronic equipment 1300 may include following one or more components: processing component 1202, memory 1304, power supply module 1306, multimedia component 1308, audio component 1300, the interface 1312 of input/output (I/O), sensor Component 1314 and communication component 1316.
The integrated operation of the usual controlling electronic devices 1300 of processing component 1302, such as with display, call, data are logical Letter, camera operation and record operate associated operation.Processing component 1302 may include one or more processors 1320 It executes instruction, to perform all or part of the steps of the methods described above.In addition, processing component 1302 may include one or more Module, convenient for the interaction between processing component 1302 and other assemblies.For example, processing component 1302 may include multimedia mould Block, to facilitate the interaction between multimedia component 1308 and processing component 1302.
Memory 1304 is configured as storing various types of data to support the operation in electronic equipment 1300.These numbers According to example include any application or method for being operated on electronic equipment 1300 instruction, contact data, electricity Talk about book data, message, picture, video etc..Memory 1304 can be by any kind of volatibility or non-volatile memory device Or their combination is realized, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, disk or CD.
Power supply module 1306 provides electric power for the various assemblies of electronic equipment 1300.Power supply module 1306 may include power supply Management system, one or more power supplys and other with for electronic equipment 1310 generate, manage, and distribute associated group of electric power Part.
Multimedia component 1308 includes the screen of one output interface of offer between electronic equipment 1300 and user.In In some embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, Screen may be implemented as touch screen, to receive input signal from the user.Touch panel includes that one or more touch passes Sensor is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding is dynamic The boundary of work, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more Media component 1308 includes a front camera and/or rear camera.When electronic equipment 1300 is in operation mode, as clapped When taking the photograph mode or video mode, front camera and/or rear camera can receive external multi-medium data.It is each preposition Camera and rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 1310 is configured as output and/or input audio signal.For example, audio component 1310 includes a wheat Gram wind (MIC), when electronic equipment 1300 is in operation mode, when such as call mode, recording mode, and voice recognition mode, Mike Wind is configured as receiving external audio signal.The received audio signal can be further stored in memory 1304 or via Communication component 1316 is sent.In some embodiments, audio component 1310 further includes a loudspeaker, for exporting audio letter Number.
I/O interface 1312 provides interface, above-mentioned peripheral interface module between processing component 1302 and peripheral interface module It can be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and Locking press button.
Sensor module 1314 includes one or more sensors, for providing the shape of various aspects for electronic equipment 1300 State assessment.For example, sensor module 1314 can detecte the state that opens/closes of electronic equipment 1300, component it is relatively fixed Position, such as the component are the display and keypad of electronic equipment 1300, and sensor module 1314 can also detect electronics and set For 1300 or the position change of 1,300 1 components of electronic equipment, the existence or non-existence that user contacts with electronic equipment 1300, The temperature change in 1300 orientation of electronic equipment or acceleration/deceleration and electronic equipment 1300.Sensor module 1314 may include connecing Nearly sensor is configured to detect the presence of nearby objects without any physical contact.Sensor module 1314 is also It may include optical sensor, such as CMOS or ccd image sensor, for being used in imaging applications.In some embodiments, should Sensor module 1314 can also include acceleration transducer, and gyro sensor, Magnetic Sensor, pressure sensor or temperature pass Sensor.
Communication component 1316 is configured to facilitate the logical of wired or wireless way between electronic equipment 1300 and other equipment Letter.Electronic equipment 1300 can access the wireless network based on communication standard, such as WiFi, carrier network (such as 2G, 3G, 4G or 5G) or their combination.In one exemplary embodiment, communication component 1316 is received via broadcast channel from external wide The broadcast singal or broadcast related information of broadcast management system.In one exemplary embodiment, the communication component 1316 also wraps Near-field communication (NFC) module is included, to promote short range communication.
In one embodiment of the disclosure, electronic equipment 1300 can be by one or more application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), scene can It programs gate array (FPGA), controller, microcontroller, microprocessor or other electronic components to realize, for executing the above method.
In one embodiment of the disclosure, a kind of non-transitorycomputer readable storage medium including instruction is additionally provided, Memory 1304 for example including instruction, above-metioned instruction can be executed by the processor 1320 of electronic equipment 1300 to complete above-mentioned side The step of method.For example, the non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD- ROM, tape, floppy disk and optical data storage devices etc..
In one embodiment of the disclosure, a kind of application program is additionally provided, when the application program is by the processing of electronic equipment When device executes, so that the step of electronic equipment is able to carry out the above method, to obtain identical technical effect.
In one embodiment of the disclosure, a kind of computer program product is additionally provided, when the computer program product is by electricity When the processor of sub- equipment executes, so that the step of electronic equipment is able to carry out the above method, to obtain identical technology Effect.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that There is also other identical elements in process, method, article or equipment including the element.
Each embodiment in this specification is all made of relevant mode and describes, same and similar portion between each embodiment Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for device/ For electronic equipment/storage medium embodiment, since it is substantially similar to the method embodiment, so being described relatively simple, phase Place is closed to illustrate referring to the part of embodiment of the method.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the disclosure Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Person's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following Claim is pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.

Claims (10)

1. a kind of method for adjusting video broadcasting condition, which is characterized in that be applied to electronic equipment, which comprises
Obtain the first fluctuating range of the electronic equipment;
If first fluctuating range be more than pre-set amplitude threshold, obtain on the electronic equipment specify one side with Angle between pre-set reference planes;
Meet in response to the corner dimension and impose a condition, the video is adjusted to halted state from broadcast state.
2. the method according to claim 1, wherein the first fluctuating range for obtaining the electronic equipment includes:
Obtain the current spatial attitude data collected of spatial attitude sensor in the electronic equipment and history attitude data;
The first fluctuating range of the electronic equipment is obtained according to the current spatial attitude data and the history attitude data.
3. the method according to claim 1, wherein by the video from broadcast state be adjusted to halted state it Afterwards, the method also includes:
Monitor the trigger action of user;
In response to the trigger action, the video is adjusted to broadcast state from halted state.
4. the method according to claim 1, wherein by the video from broadcast state be adjusted to halted state it Afterwards, the method also includes:
Obtain the second fluctuating range of the electronic equipment;The acquisition modes of second fluctuating range and the first fluctuation width The acquisition modes of degree are identical;
It is more than pre-set amplitude threshold in response to second fluctuating range, the video is adjusted to broadcast from halted state Put state.
5. method according to any one of claims 1 to 4, which is characterized in that the video to be adjusted to from broadcast state Halted state further include:
In the time-out position of played video, flag bit is set;The flag bit is configured as indicating time-out position and suspends class Not.
6. according to the method described in claim 5, it is characterized in that, the video is adjusted to broadcast state packet from halted state It includes:
Remove the flag bit.
7. a kind of device for adjusting video broadcasting condition, which is characterized in that be applied to electronic equipment, described device includes:
First amplitude acquiring unit is configured as executing the first fluctuating range for obtaining the electronic equipment;
Angle acquiring unit is configured as executing when first fluctuating range is more than pre-set amplitude threshold, obtain Angle between the one side specified on the electronic equipment and pre-set reference planes;
State adjustment unit, is configured as executing meeting in response to the corner dimension and imposes a condition, by the video from broadcasting State is adjusted to halted state.
8. device according to claim 7, which is characterized in that the first amplitude acquiring unit includes:
Attitude data obtains module, and it is collected current to be configured as executing spatial attitude sensor in the acquisition electronic equipment Spatial attitude data and history attitude data;
First amplitude obtains module, is configured as executing and be obtained according to the current spatial attitude data and the history attitude data Take the first fluctuating range of the electronic equipment.
9. a kind of electronic equipment characterized by comprising
Processor;
For storing the memory of the processor-executable instruction;Wherein, the processor is configured to executing the storage Executable instruction in device, to realize such as the step of any one of claim 1~6 the method.
10. a kind of storage medium, which is characterized in that when the instruction in the storage medium is executed by the processor of electronic equipment When, so that electronic equipment is able to carry out such as the step of any one of claim 1~6 the method.
CN201910734592.2A 2019-08-09 2019-08-09 Adjust method and device, electronic equipment and the storage medium of video broadcasting condition Pending CN110505527A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910734592.2A CN110505527A (en) 2019-08-09 2019-08-09 Adjust method and device, electronic equipment and the storage medium of video broadcasting condition

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910734592.2A CN110505527A (en) 2019-08-09 2019-08-09 Adjust method and device, electronic equipment and the storage medium of video broadcasting condition

Publications (1)

Publication Number Publication Date
CN110505527A true CN110505527A (en) 2019-11-26

Family

ID=68587265

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910734592.2A Pending CN110505527A (en) 2019-08-09 2019-08-09 Adjust method and device, electronic equipment and the storage medium of video broadcasting condition

Country Status (1)

Country Link
CN (1) CN110505527A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112584240A (en) * 2020-11-27 2021-03-30 福州智象信息技术有限公司 Method and device for intelligently switching screen projection playing state by monitoring state of mobile terminal

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101626427A (en) * 2008-07-07 2010-01-13 Lg电子株式会社 Controlling a mobile terminal with a gyro-sensor
CN101984648A (en) * 2010-11-02 2011-03-09 中兴通讯股份有限公司 Audio video file playing method and terminal thereof
CN103677986A (en) * 2013-11-21 2014-03-26 小米科技有限责任公司 Application program suspending method and device and terminal
CN105245951A (en) * 2015-09-29 2016-01-13 努比亚技术有限公司 Audio/video file playing device and method
CN105847586A (en) * 2016-05-13 2016-08-10 努比亚技术有限公司 Multimedia playing control method and mobile terminal
CN105898472A (en) * 2015-11-30 2016-08-24 乐视网信息技术(北京)股份有限公司 Video play control method, device, system and client device
CN106060612A (en) * 2016-06-29 2016-10-26 乐视控股(北京)有限公司 Video playing method and video playing device
WO2016181552A1 (en) * 2015-05-14 2016-11-17 日立マクセル株式会社 Terminal device and remote control method
CN106201287A (en) * 2016-06-29 2016-12-07 乐视控股(北京)有限公司 The broadcast state changing method of a kind of multimedia file and device
CN108388414A (en) * 2018-02-05 2018-08-10 广东欧珀移动通信有限公司 Go out screen control method and device, computer readable storage medium, the terminal of terminal

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101626427A (en) * 2008-07-07 2010-01-13 Lg电子株式会社 Controlling a mobile terminal with a gyro-sensor
CN101984648A (en) * 2010-11-02 2011-03-09 中兴通讯股份有限公司 Audio video file playing method and terminal thereof
CN103677986A (en) * 2013-11-21 2014-03-26 小米科技有限责任公司 Application program suspending method and device and terminal
WO2016181552A1 (en) * 2015-05-14 2016-11-17 日立マクセル株式会社 Terminal device and remote control method
CN105245951A (en) * 2015-09-29 2016-01-13 努比亚技术有限公司 Audio/video file playing device and method
CN105898472A (en) * 2015-11-30 2016-08-24 乐视网信息技术(北京)股份有限公司 Video play control method, device, system and client device
CN105847586A (en) * 2016-05-13 2016-08-10 努比亚技术有限公司 Multimedia playing control method and mobile terminal
CN106060612A (en) * 2016-06-29 2016-10-26 乐视控股(北京)有限公司 Video playing method and video playing device
CN106201287A (en) * 2016-06-29 2016-12-07 乐视控股(北京)有限公司 The broadcast state changing method of a kind of multimedia file and device
CN108388414A (en) * 2018-02-05 2018-08-10 广东欧珀移动通信有限公司 Go out screen control method and device, computer readable storage medium, the terminal of terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112584240A (en) * 2020-11-27 2021-03-30 福州智象信息技术有限公司 Method and device for intelligently switching screen projection playing state by monitoring state of mobile terminal

Similar Documents

Publication Publication Date Title
CN106165430A (en) Net cast method and device
CN105120144A (en) Image shooting method and device
CN106572299A (en) Camera switching-on method and device
JP2017510915A (en) Method and apparatus for switching display modes
CN105204808B (en) Projective techniques, device and the terminal device of picture
CN106210496A (en) Method, photo taking and device
CN104301610B (en) Image taking control metho and device
WO2015149457A1 (en) Picture display method and device
CN110868626A (en) Method and device for preloading content data
US11539888B2 (en) Method and apparatus for processing video data
CN105120301B (en) Method for processing video frequency and device, smart machine
CN106600530B (en) Picture synthesis method and device
US20220350416A1 (en) Snap motion gesture detection and response
WO2016045323A1 (en) Method and device for controlling presentation of video picture
CN107102801A (en) Terminal screen spinning solution and device
US20180121711A1 (en) Display control method and apparatus
CN109698878A (en) Notification message sort method and device
CN109242045A (en) Image clustering processing method, device, electronic equipment and storage medium
CN109922202A (en) Screen control method and device, readable storage medium storing program for executing, electronic equipment
CN111488098B (en) Method and device for adjusting parameters of touch screen, electronic equipment and storage medium
CN109089137B (en) Stuck detection method and device
CN105430469B (en) Playback method, device, terminal and the server of audio, video data
CN106681632A (en) Projection control method, device and system, terminal device and display device
CN110505527A (en) Adjust method and device, electronic equipment and the storage medium of video broadcasting condition
CN108398845A (en) Projection device control method and projection device control device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20191126

RJ01 Rejection of invention patent application after publication