CN110858859A - Multimedia content processing method and device - Google Patents

Multimedia content processing method and device Download PDF

Info

Publication number
CN110858859A
CN110858859A CN201810975576.8A CN201810975576A CN110858859A CN 110858859 A CN110858859 A CN 110858859A CN 201810975576 A CN201810975576 A CN 201810975576A CN 110858859 A CN110858859 A CN 110858859A
Authority
CN
China
Prior art keywords
terminal
multimedia content
playing
motion state
determining
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
CN201810975576.8A
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.)
Alibaba China Co Ltd
Original Assignee
Beijing Youku 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 Youku Technology Co Ltd filed Critical Beijing Youku Technology Co Ltd
Priority to CN201810975576.8A priority Critical patent/CN110858859A/en
Publication of CN110858859A publication Critical patent/CN110858859A/en
Pending legal-status Critical Current

Links

Images

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Environmental & Geological Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • User Interface Of Digital Computer (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The present disclosure relates to a method and an apparatus for processing multimedia content, including: in the process of playing the multimedia content, acquiring the motion state of the terminal; and when the motion state of the terminal is a walking state, pausing the playing of the multimedia content. According to the multimedia content processing method and device provided by the embodiment of the disclosure, the probability of traffic accidents caused by watching the multimedia content during walking can be reduced.

Description

Multimedia content processing method and device
Technical Field
The present disclosure relates to the field of multimedia technologies, and in particular, to a method and an apparatus for processing multimedia content.
Background
With the popularization of terminals and the rapid development of multimedia technologies, users can obtain more and more information through terminals, such as: various types of multimedia content can be viewed on the terminal.
In a fast-paced life style, many users are used to watch contents such as videos through a terminal while walking, so that the walking speed of the users is reduced, and the probability of traffic accidents is increased, and the personal safety of the users is threatened.
Disclosure of Invention
In view of the above, the present disclosure provides a method and an apparatus for processing multimedia content, which can reduce the probability of traffic accidents caused by watching multimedia content while walking.
According to an aspect of the present disclosure, there is provided a method for processing multimedia content, applied to a terminal, the method including:
in the process of playing the multimedia content, acquiring the motion state of the terminal;
and when the motion state of the terminal is a walking state, pausing the playing of the multimedia content.
In a possible implementation manner, the obtaining the motion state of the terminal includes:
and determining the motion state of the terminal according to the motion parameters detected by the motion sensor.
In a possible implementation manner, determining a motion state of the terminal according to the motion parameter detected by the motion sensor includes:
acquiring a sensor triaxial value of the terminal at the current moment from a motion sensor;
acquiring a sensor triaxial value of the terminal at the previous moment;
determining a difference value according to the triaxial value of the sensor at the current moment and the triaxial value of the sensor at the previous moment;
and when the difference is larger than a first difference threshold value, determining that the motion state of the terminal is a walking state.
In a possible implementation manner, the acquiring the motion state of the terminal includes:
acquiring the walking steps at the current moment;
acquiring the walking steps at the previous moment;
determining the step number difference value of the walking step number at the current moment and the walking step number at the previous moment;
and when the step number difference is larger than a second difference threshold value, determining that the motion state of the terminal is a walking state.
In a possible implementation manner, the number of walking steps at the current time and the number of walking steps at the previous time are obtained from the terminal or a device associated with the terminal.
In one possible implementation, the method further includes:
when a playing operation for the multimedia content is detected, determining a first pause number of times that the multimedia content is paused due to the motion state in a first time period before the playing operation is detected;
and when the first pause time is greater than a first time threshold value, playing the multimedia content after a specified time interval.
In one possible implementation, the method further includes:
and displaying the multimedia content related to the traffic safety when the second pause time is greater than the second time threshold, wherein the second pause time is the time for the terminal to pause playing due to the motion state in the second time period.
In one possible implementation, the method further includes:
receiving the second number of pauses from a server; and
receiving the traffic safety-related multimedia content from a server.
In one possible implementation, the method further includes:
counting the total pause times of the terminal for pausing playing due to the motion state;
and displaying corresponding prompt information according to the total times of pausing.
According to another aspect of the present disclosure, there is provided a multimedia content processing apparatus applied to a terminal, the apparatus including:
the acquisition module is used for acquiring the motion state of the terminal in the process of playing the multimedia content;
and the pause module is used for pausing the playing of the multimedia content when the motion state of the terminal is a walking state.
In one possible implementation manner, the obtaining module includes:
and the first determining submodule is used for determining the motion state of the terminal according to the motion parameters detected by the motion sensor.
In a possible implementation manner, the first determining sub-module is further configured to:
acquiring a sensor triaxial value of the terminal at the current moment from a motion sensor;
acquiring a sensor triaxial value of the terminal at the previous moment;
determining a difference value according to the triaxial value of the sensor at the current moment and the triaxial value of the sensor at the previous moment;
and when the difference is larger than a first difference threshold value, determining that the motion state of the terminal is a walking state.
In one possible implementation manner, the obtaining module includes:
the first obtaining submodule is used for obtaining the walking step number at the current moment;
the second obtaining submodule is used for obtaining the walking step number at the previous moment;
the second determining submodule is used for determining the step number difference value of the walking step number at the current moment and the walking step number at the previous moment;
and the third determining submodule is used for determining that the motion state of the terminal is a walking state when the step number difference value is larger than the second difference threshold value.
In a possible implementation manner, the number of walking steps at the current time and the number of walking steps at the previous time are obtained from the terminal or a device associated with the terminal.
In one possible implementation, the apparatus further includes:
the device comprises a determining module, a playing control module and a playing control module, wherein the determining module is used for determining a first pause number of times of playing of the multimedia content paused due to the motion state in a first time period before the playing operation is detected;
and the playing module is used for playing the multimedia content after a specified time interval when the first pause time is greater than a first time threshold.
In one possible implementation, the apparatus further includes:
and the first display module is used for displaying the multimedia content related to the traffic safety when the second pause time is greater than the second time threshold, wherein the second pause time is the time for the terminal to pause playing in a second time period due to the motion state.
In one possible implementation, the apparatus further includes:
a receiving module, configured to receive the second number of times of suspension from a server; and
receiving the traffic safety-related multimedia content from a server.
In one possible implementation, the apparatus further includes:
the statistical module is used for counting the total pause times of the terminal for pausing playing due to the motion state;
and the second display module is used for displaying corresponding prompt information according to the total times of suspension.
According to another aspect of the present disclosure, there is provided a processing apparatus of multimedia content, including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to perform the above method.
According to another aspect of the present disclosure, there is provided a non-transitory computer readable storage medium having computer program instructions stored thereon, wherein the computer program instructions, when executed by a processor, implement the above-described method.
Therefore, in the process of playing the multimedia content, the terminal can pause playing the multimedia content when the terminal is in a walking state. According to the method and the device for processing the multimedia content, the multimedia content can be automatically paused to be played when the terminal is in a walking state, so that the user can be concentrated on walking, the traveling speed of the user can be increased on one hand, and the probability of traffic accidents caused by watching the multimedia content during walking can be reduced on the other hand.
Other features and aspects of the present disclosure will become apparent from the following detailed description of exemplary embodiments, which proceeds with reference to the accompanying drawings.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate exemplary embodiments, features, and aspects of the disclosure and, together with the description, serve to explain the principles of the disclosure.
Fig. 1 illustrates a flow chart of a method of processing multimedia content according to an embodiment of the present disclosure;
fig. 2 illustrates a flow chart of a method of processing multimedia content according to an embodiment of the present disclosure;
fig. 3 illustrates a flow chart of a method of processing multimedia content according to an embodiment of the present disclosure;
fig. 4 is a block diagram illustrating a structure of a multimedia content processing apparatus according to an embodiment of the present disclosure;
fig. 5 is a block diagram illustrating a structure of a multimedia content processing apparatus according to an embodiment of the present disclosure;
fig. 6 is a block diagram illustrating an apparatus 800 for processing of multimedia content according to an example embodiment.
Detailed Description
Various exemplary embodiments, features and aspects of the present disclosure will be described in detail below with reference to the accompanying drawings. In the drawings, like reference numbers can indicate functionally identical or similar elements. While the various aspects of the embodiments are presented in drawings, the drawings are not necessarily drawn to scale unless specifically indicated.
The word "exemplary" is used exclusively herein to mean "serving as an example, embodiment, or illustration. Any embodiment described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments.
Furthermore, in the following detailed description, numerous specific details are set forth in order to provide a better understanding of the present disclosure. It will be understood by those skilled in the art that the present disclosure may be practiced without some of these specific details. In some instances, methods, means, elements and circuits that are well known to those skilled in the art have not been described in detail so as not to obscure the present disclosure.
Fig. 1 shows a flowchart of a processing method of multimedia content according to an embodiment of the present disclosure, which may be applied to a terminal, for example: mobile phones, tablet computers and the like. As shown in fig. 1, the method may include the steps of:
step 101, acquiring the motion state of the terminal in the process of playing the multimedia content.
The terminal can acquire the motion state of the terminal in the process of playing the multimedia content. The motion state of the terminal may include: a walking state and a resting state. In fact, when the motion state of the terminal is a walking state, the user holding the terminal may be considered to be in a walking state, and when the motion state of the terminal is a static state, the user holding the terminal may be considered to be in a non-walking state (static state, or state of moving on a vehicle, etc.).
In one possible implementation manner, the motion state of the terminal may be obtained by:
and determining the motion state of the terminal according to the motion parameters detected by the motion sensor.
The terminal may detect a motion parameter (such as an angular velocity or an acceleration) of the terminal through a motion sensor, for example: the terminal can detect the motion parameters of the terminal through devices such as an acceleration sensor, a gyroscope, an angular acceleration sensor and a geomagnetic sensor, and can determine the motion state of the terminal through the motion parameters detected by the motion sensor.
In a possible implementation manner, the determining the motion state of the terminal through the motion parameter detected by the motion sensor may include the following steps a1 to a 4:
and A1, acquiring the sensor triaxial value of the terminal at the current moment from the motion sensor.
The terminal can acquire the sensor three-axis values (X, Y, Z) of the terminal at the current moment from the motion sensor, wherein the sensor three-axis values can be angular velocity or acceleration values of the terminal in X, Y, Z three axial directions.
And A2, acquiring a sensor triaxial value of the terminal at the previous moment.
The cache region of the terminal may cache the sensor triaxial value at the previous time (when the terminal acquires the sensor triaxial value at the previous time, the sensor triaxial value at the previous time may be cached in the cache region), and when the terminal acquires the sensor triaxial value at the current time, the sensor triaxial value at the previous time may be acquired from the cache region.
And A3, determining a difference value according to the triaxial value of the sensor at the current moment and the triaxial value of the sensor at the previous moment.
And A4, when the difference is larger than a first difference threshold, determining that the motion state of the terminal is a walking state.
For example, the terminal may determine the difference between the sensor triaxial value at the current time and the sensor triaxial value at the previous time, for example: the sensor triaxial values at the current time are (X1, Y1, Z1) and the sensor triaxial value at the previous time is (X2, Y2, Z2), the terminal may determine that the difference between the sensor triaxial value at the current time and the sensor triaxial value at the previous time is X1-X2, Y1-Y2, Z1-Z2.
The first difference threshold may be a preset difference threshold, or may be a difference threshold preset in X, Y, Z three directions, which may be a unique value, and may also include: a first X difference threshold, a first Y difference threshold, a first Z difference threshold. The first X difference threshold, the first Y difference threshold, and the first Z difference threshold may be the same or different, and the disclosure is not limited herein.
The terminal may determine whether a difference between the sensor triaxial value at the current time and the sensor triaxial value at the previous time is greater than the first difference threshold, and determine that the motion state of the terminal is a walking state when the difference is greater than the first difference threshold (or, the X1-X2 is greater than the first X difference threshold, Y1-Y2 is greater than the first Y difference threshold, and Z1-Z2 is greater than the first Z difference threshold).
For another example, the terminal may determine a mean value of the three-axis values of the sensor at the current time and a mean value of the three-axis values of the sensor at the previous time, and determine a difference between the mean value of the three-axis values of the sensor at the current time and the mean value of the three-axis values of the sensor at the previous time, for example: the sensor triaxial values at the current time are (X1, Y1, Z1), and the sensor triaxial value at the previous time is (X2, Y2, Z2), the terminal may determine that the difference between the mean value of the sensor triaxial values at the current time and the mean value of the sensor triaxial values at the previous time is ((X1+ Y1+ Z1)/3- (X2+ Y2+ Z2)/3).
The terminal may determine whether a difference between a mean value of the sensor triaxial values at the current time and a mean value of the sensor triaxial values at the previous time is greater than the first difference threshold, and determine that the motion state of the terminal is a walking state when the difference is greater than the first difference threshold ((X1+ Y1+ Z1)/3- (X2+ Y2+ Z3)/3) is greater than the first difference threshold).
Fig. 2 illustrates a flowchart of a method of processing multimedia content according to an embodiment of the present disclosure.
In a possible implementation manner, referring to fig. 2, in the step 101, acquiring the motion state of the terminal may include the following steps:
and step 1011, acquiring the walking steps at the current moment.
Step 1012, the number of walking steps at the previous moment is obtained.
In a possible implementation manner, the number of walking steps at the current time and the number of walking steps at the previous time are obtained from the terminal or a device associated with the terminal.
For example, when a client capable of monitoring the operation state of the user is installed in the terminal, the terminal may obtain the number of walking steps at the current time from the client. Or, when the terminal is associated with a device (for example, a sports bracelet, a smart watch, or the like) capable of monitoring the operation state of the user, the terminal may obtain the walking steps at the current time from the device associated with the terminal.
For example, the cache region of the terminal may cache the number of walking steps at the previous time (when the terminal acquires the number of walking steps at the previous time, the number of walking steps at the previous time may be cached in the cache region), and when the terminal acquires the number of walking steps at the current time, the terminal may acquire the number of walking steps at the previous time from the cache region.
Step 1013, determining a step difference value between the walking step number at the current moment and the walking step number at the previous moment;
and 1014, when the step number difference is larger than a second difference threshold value, determining that the motion state of the terminal is a walking state.
The second difference threshold is a preset step number threshold. The terminal may determine a difference between the number of walking steps at the current time and the number of walking steps at the previous time, and determine that the motion state of the terminal is the walking state when the difference is greater than a second difference threshold, for example: and if the second difference threshold is 5, determining that the motion state of the terminal is the walking state when the difference between the walking step number at the current moment and the walking step number at the previous moment is greater than 5.
And 102, when the motion state of the terminal is a walking state, pausing the playing of the multimedia content.
When the terminal is in the walking state, the terminal can pause playing the multimedia content.
It should be noted that the terminal may determine the motion state of the terminal through one or more of a motion sensor built in the terminal, a client installed in the terminal and capable of monitoring the operation state of the user, and a device associated with the terminal.
For example, the terminal may determine the motion state of the terminal by using a motion sensor built in the terminal or a client installed in the terminal and capable of monitoring the user operation state, and may pause playing the multimedia content when the motion parameter detected by the motion sensor built in the terminal or the client installed in the terminal and capable of monitoring the user operation state determines that the motion state of the terminal is the walking state, or when the motion state of the terminal is determined to be the walking state by using the device associated with the terminal. Therefore, if a user holds the terminal stably when walking, or places the terminal on a device such as a selfie stick, and the like, so that the terminal is always in a stable state and moves, the terminal determines that the terminal is in a static state through motion parameters detected by a built-in motion sensor or a client installed in the terminal and capable of monitoring the running state of the user, the user is in a walking state at the moment, the motion state of the terminal and the motion state of the user can be determined to be consistent to be the walking state through the device related to the terminal, the terminal can pause playing of multimedia content, and the judgment precision of the motion state of the terminal can be improved.
Therefore, in the process of playing the multimedia content, the terminal can pause playing the multimedia content when the terminal is in a walking state. According to the processing method of the multimedia content provided by the embodiment of the disclosure, when the terminal is in a walking state, the playing of the multimedia content is automatically suspended, so that the user can concentrate on walking, on one hand, the traveling speed of the user can be improved, and on the other hand, the probability of traffic accidents caused by watching the multimedia content during walking can be reduced.
Fig. 3 illustrates a flowchart of a method of processing multimedia content according to an embodiment of the present disclosure.
In one possible implementation manner, referring to fig. 3, the method may further include:
step 103, when a playing operation for the multimedia content is detected, determining a first pause number of times that the multimedia content is paused due to the motion state in a first time period before the playing operation is detected.
The first time period is a time period determined according to the time corresponding to the current playing operation and the designated time length before the current playing operation, the designated time length may be a preset time length, and if the designated time length is 1 minute, the terminal determines a first pause frequency for pausing the playing of the terminal due to the motion state within 1 minute before the current time.
And 104, when the first pause times are larger than a first time threshold value, playing the multimedia content after a specified time interval.
The first time threshold may be a preset number of times. When the terminal detects a play operation, a first pause number of times of pausing the play due to the motion state in a first time period before the play operation is detected can be determined, and when the first pause number is greater than a first time threshold value, the terminal plays the multimedia content after a specified time interval. The specified time interval may be a preset time interval, for example: for 30 seconds.
For example, assuming that the first count threshold is 3, the specified time interval is 30 seconds. And after detecting that the terminal is in a walking state, the terminal suspends playing the multimedia content. At this time, the user wants to continue to watch the multimedia content, and then manually operate to play the multimedia content, after the terminal detects the play operation, the first pause time that the terminal has paused due to the motion state is counted to be 4 times within 1 minute before the current time, then the terminal can play the multimedia content after 30 seconds, and the terminal can be in the buffer state within the 30 seconds. Therefore, the probability of traffic accidents caused by the fact that the user is distracted in the walking process due to the fact that the user repeatedly and manually operates to play the multimedia content can be reduced. In addition, the watching experience of the user who walks and looks at the user is greatly reduced, and the possibility that the user wants to watch the multimedia content during walking can be reduced.
In a possible implementation manner, the method may further include:
and displaying the multimedia content related to the traffic safety when a second pause time is greater than a second time threshold, wherein the second pause time is the time for the terminal to pause playing due to the motion state in a second time period.
The second time period may be a preset time period, wherein the second time period may be greater than the first time period, and may be, for example, one week. The second time period may be a second time period before the current time, or may be a second time period between the start and end points of other specified times, for example, 8: 00 to 10: 00. In the second time period, if the second pause number of times that the terminal pauses playing due to the motion state is greater than the second time threshold, the terminal may display multimedia content related to traffic safety on the display interface, for example: traffic laws and regulations propaganda type multimedia content, traffic accident type multimedia content and the like.
In a possible implementation manner, the method may further include:
receiving the second number of pauses from a server; and
receiving the traffic safety-related multimedia content from a server.
The server can count the second pause times of the terminal for pausing playing due to the motion state in the second time period, and when the second pause times is larger than the second time threshold value, the server pushes the multimedia content related to the traffic safety to the terminal. And after receiving the multimedia content related to the traffic safety, the terminal displays the multimedia content related to the traffic safety on a display interface.
For example: the server counts the terminal motion state in a week and the second pause time for pausing playing is 10 times, and if the second time threshold is 8, the server can push the multimedia content related to traffic safety to the terminal. Therefore, the method can remind the user of dangerous behaviors when the user watches the multimedia content by using the terminal in the walking process, so as to remind the user of complying with traffic regulations and paying attention to traffic safety.
In a possible implementation manner, the method may further include:
counting the total pause times of the terminal for pausing playing due to the motion state;
and displaying corresponding prompt information according to the total times of pausing.
The terminal can count the total pause times of the pause playing due to the motion state, and can display prompt information corresponding to the total pause times on the display interface. The total number of times may be a total number of times in a specified time period (e.g., a total number of times in a year), or may be a cumulative total number of times since the number of times counted was started, which the present disclosure is not limited to), for example: the terminal can display first prompt information comprising the total pause times in the display interface, or the terminal can display second prompt information (for example, you prefer to watch videos when walking, which is dangerous) on the display interface when the total pause times are too many (for example, more than a third time threshold value), wherein the second prompt information can be used for reminding a user that the behavior habit of watching multimedia contents when walking is dangerous; or the terminal may determine the time saved for the user according to the total number of times of suspension, for example, by means of big data analysis and the like, the average time saved for the user due to the fact that the user accelerates the walking speed for each time of suspension may be obtained, and then the time saved for the user may be determined by the total number of times of suspension and the average time, and the third prompt information may be displayed on the display interface, where the third prompt information may include the time saved for the user.
Fig. 4 is a block diagram illustrating a configuration of a multimedia content processing apparatus according to an embodiment of the present disclosure, which can be applied to a terminal. As shown in fig. 4, the apparatus may include:
an obtaining module 401, configured to obtain a motion state of a terminal in a process of playing multimedia content;
the pausing module 402 may be configured to pause playing the multimedia content when the motion state of the terminal is a walking state.
Therefore, in the process of playing the multimedia content, the terminal can pause playing the multimedia content when the terminal is in a walking state. According to the processing device of the multimedia content provided by the embodiment of the disclosure, the playing of the multimedia content can be automatically suspended when the terminal is in a walking state, so that a user can be concentrated on walking, on one hand, the traveling speed of the user can be improved, and on the other hand, the probability of traffic accidents caused by watching the multimedia content during walking can be reduced.
Fig. 5 is a block diagram illustrating a structure of a multimedia content processing apparatus according to an embodiment of the present disclosure.
In a possible implementation manner, referring to fig. 5, the obtaining module 401 may include:
the first determining sub-module 4011 may be configured to determine a motion state of the terminal according to the motion parameter detected by the motion sensor.
In a possible implementation manner, the first determining submodule 4011 may further be configured to:
acquiring a sensor triaxial value of the terminal at the current moment from a motion sensor;
acquiring a sensor triaxial value of the terminal at the previous moment;
determining a difference value according to the triaxial value of the sensor at the current moment and the triaxial value of the sensor at the previous moment;
and when the difference is larger than a first difference threshold value, determining that the motion state of the terminal is a walking state.
In a possible implementation manner, referring to fig. 5, the obtaining module 401 may include:
the first obtaining sub-module 4012 may be configured to obtain the number of walking steps at the current time;
the second obtaining sub-module 4013 may be configured to obtain the number of walking steps at the previous time;
a second determining sub-module 4014, configured to determine a difference between the number of walking steps at the current time and the number of walking steps at the previous time;
the third determining sub-module 4015 may be configured to determine that the motion state of the terminal is a walking state when the step number difference is greater than the second difference threshold.
In a possible implementation manner, the number of walking steps at the current time and the number of walking steps at the previous time are obtained from the terminal or a device associated with the terminal.
In a possible implementation manner, referring to fig. 5, the apparatus may further include:
a determining module 403, configured to determine, when a playing operation for the multimedia content is detected, a first number of times of pausing of the multimedia content due to the motion state within a first time period before the playing operation is detected;
the playing module 404 may be configured to play the multimedia content after a specified time interval when the first pause time is greater than a first time threshold.
In a possible implementation manner, referring to fig. 5, the apparatus may further include:
the first display module 405 may be configured to display the multimedia content related to traffic safety when a second number of times of pausing is greater than a second number threshold, where the second number of times of pausing is a number of times that the terminal pauses playing due to a motion state within a second time period.
In a possible implementation manner, referring to fig. 5, the apparatus may further include:
a receiving module 406, configured to receive the second number of pauses from the server; and
receiving the traffic safety-related multimedia content from a server.
In a possible implementation manner, referring to fig. 5, the apparatus may further include:
the counting module 407 may be configured to count the total number of times of pausing the playing of the terminal due to the motion state;
the second display module 408 may be configured to display corresponding prompt information according to the total number of times of suspension.
Fig. 6 is a block diagram illustrating an apparatus 800 for processing of multimedia content according to an example embodiment. For example, the apparatus 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 6, the apparatus 800 may include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814, and communication component 816.
The processing component 802 generally controls overall operation of the device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operations at the apparatus 800. Examples of such data include instructions for any application or method operating on device 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power components 806 provide power to the various components of device 800. The power components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 800.
The multimedia component 808 includes a screen that provides an output interface between the device 800 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 800 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the device 800. For example, the sensor assembly 814 may detect the open/closed status of the device 800, the relative positioning of components, such as a display and keypad of the device 800, the sensor assembly 814 may also detect a change in the position of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, the orientation or acceleration/deceleration of the device 800, and a change in the temperature of the device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communications between the apparatus 800 and other devices in a wired or wireless manner. The device 800 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium, such as the memory 804, is also provided that includes computer program instructions executable by the processor 820 of the device 800 to perform the above-described methods.
The present disclosure may be systems, methods, and/or computer program products. The computer program product may include a computer-readable storage medium having computer-readable program instructions embodied thereon for causing a processor to implement various aspects of the present disclosure.
The computer readable storage medium may be a tangible device that can hold and store the instructions for use by the instruction execution device. The computer readable storage medium may be, for example, but not limited to, an electronic memory device, a magnetic memory device, an optical memory device, an electromagnetic memory device, a semiconductor memory device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a Static Random Access Memory (SRAM), a portable compact disc read-only memory (CD-ROM), a Digital Versatile Disc (DVD), a memory stick, a floppy disk, a mechanical coding device, such as punch cards or in-groove projection structures having instructions stored thereon, and any suitable combination of the foregoing. Computer-readable storage media as used herein is not to be construed as transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission medium (e.g., optical pulses through a fiber optic cable), or electrical signals transmitted through electrical wires.
The computer-readable program instructions described herein may be downloaded from a computer-readable storage medium to a respective computing/processing device, or to an external computer or external storage device via a network, such as the internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. The network adapter card or network interface in each computing/processing device receives computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in the respective computing/processing device.
The computer program instructions for carrying out operations of the present disclosure may be assembler instructions, Instruction Set Architecture (ISA) instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The computer-readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider). In some embodiments, the electronic circuitry that can execute the computer-readable program instructions implements aspects of the present disclosure by utilizing the state information of the computer-readable program instructions to personalize the electronic circuitry, such as a programmable logic circuit, a Field Programmable Gate Array (FPGA), or a Programmable Logic Array (PLA).
Various aspects of the present disclosure are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the disclosure. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer-readable program instructions.
These computer-readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer-readable program instructions may also be stored in a computer-readable storage medium that can direct a computer, programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer-readable medium storing the instructions comprises an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer, other programmable apparatus or other devices implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Having described embodiments of the present disclosure, the foregoing description is intended to be exemplary, not exhaustive, and not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terms used herein were chosen in order to best explain the principles of the embodiments, the practical application, or technical improvements to the techniques in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.

Claims (20)

1. A method for processing multimedia content, applied to a terminal, the method comprising:
in the process of playing the multimedia content, acquiring the motion state of the terminal;
and when the motion state of the terminal is a walking state, pausing the playing of the multimedia content.
2. The method of claim 1, wherein the obtaining the motion state of the terminal comprises:
and determining the motion state of the terminal according to the motion parameters detected by the motion sensor.
3. The method of claim 2, wherein determining the motion state of the terminal according to the motion parameter detected by the motion sensor comprises:
acquiring a sensor triaxial value of the terminal at the current moment from a motion sensor;
acquiring a sensor triaxial value of the terminal at the previous moment;
determining a difference value according to the triaxial value of the sensor at the current moment and the triaxial value of the sensor at the previous moment;
and when the difference is larger than a first difference threshold value, determining that the motion state of the terminal is a walking state.
4. The method according to any one of claims 1 to 3, wherein the obtaining the motion state of the terminal comprises:
acquiring the walking steps at the current moment;
acquiring the walking steps at the previous moment;
determining the step number difference value of the walking step number at the current moment and the walking step number at the previous moment;
and when the step number difference is larger than a second difference threshold value, determining that the motion state of the terminal is a walking state.
5. The method according to claim 4, wherein the number of steps taken at the current time and the number of steps taken at the previous time are obtained from the terminal or a device associated with the terminal.
6. The method according to any one of claims 1 to 5, further comprising:
when a playing operation for the multimedia content is detected, determining a first pause number of times that the multimedia content is paused due to the motion state in a first time period before the playing operation is detected;
and when the first pause time is greater than a first time threshold value, playing the multimedia content after a specified time interval.
7. The method according to any one of claims 1 to 5, further comprising:
and displaying the multimedia content related to the traffic safety when the second pause time is greater than the second time threshold, wherein the second pause time is the time for the terminal to pause playing due to the motion state in the second time period.
8. The method of claim 7, further comprising:
receiving the second number of pauses from a server; and
receiving the traffic safety-related multimedia content from a server.
9. The method according to any one of claims 1 to 8, further comprising:
counting the total pause times of the terminal for pausing playing due to the motion state;
and displaying corresponding prompt information according to the total times of pausing.
10. An apparatus for processing multimedia contents, applied to a terminal, the apparatus comprising:
the acquisition module is used for acquiring the motion state of the terminal in the process of playing the multimedia content;
and the pause module is used for pausing the playing of the multimedia content when the motion state of the terminal is a walking state.
11. The apparatus of claim 10, wherein the obtaining module comprises:
and the first determining submodule is used for determining the motion state of the terminal according to the motion parameters detected by the motion sensor.
12. The apparatus of claim 11, wherein the first determining submodule is further configured to:
acquiring a sensor triaxial value of the terminal at the current moment from a motion sensor;
acquiring a sensor triaxial value of the terminal at the previous moment;
determining a difference value according to the triaxial value of the sensor at the current moment and the triaxial value of the sensor at the previous moment;
and when the difference is larger than a first difference threshold value, determining that the motion state of the terminal is a walking state.
13. The apparatus according to any one of claims 10 to 12, wherein the obtaining module comprises:
the first obtaining submodule is used for obtaining the walking step number at the current moment;
the second obtaining submodule is used for obtaining the walking step number at the previous moment;
the second determining submodule is used for determining the step number difference value of the walking step number at the current moment and the walking step number at the previous moment;
and the third determining submodule is used for determining that the motion state of the terminal is a walking state when the step number difference value is larger than the second difference threshold value.
14. The apparatus according to claim 13, wherein the number of steps taken at the current time and the number of steps taken at the previous time are obtained from the terminal or a device associated with the terminal.
15. The apparatus of any one of claims 10 to 14, further comprising:
the device comprises a determining module, a playing control module and a playing control module, wherein the determining module is used for determining a first pause number of times of playing of the multimedia content paused due to the motion state in a first time period before the playing operation is detected;
and the playing module is used for playing the multimedia content after a specified time interval when the first pause time is greater than a first time threshold.
16. The apparatus of any one of claims 10 to 14, further comprising:
and the first display module is used for displaying the multimedia content related to the traffic safety when the second pause time is greater than the second time threshold, wherein the second pause time is the time for the terminal to pause playing in a second time period due to the motion state.
17. The apparatus of claim 16, further comprising:
a receiving module, configured to receive the second number of times of suspension from a server; and
receiving the traffic safety-related multimedia content from a server.
18. The apparatus of any one of claims 10 to 17, further comprising:
the statistical module is used for counting the total pause times of the terminal for pausing playing due to the motion state;
and the second display module is used for displaying corresponding prompt information according to the total times of suspension.
19. An apparatus for processing multimedia content, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the method of any one of claims 1 to 9.
20. A non-transitory computer readable storage medium having stored thereon computer program instructions, wherein the computer program instructions, when executed by a processor, implement the method of any one of claims 1 to 9.
CN201810975576.8A 2018-08-24 2018-08-24 Multimedia content processing method and device Pending CN110858859A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810975576.8A CN110858859A (en) 2018-08-24 2018-08-24 Multimedia content processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810975576.8A CN110858859A (en) 2018-08-24 2018-08-24 Multimedia content processing method and device

Publications (1)

Publication Number Publication Date
CN110858859A true CN110858859A (en) 2020-03-03

Family

ID=69636408

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810975576.8A Pending CN110858859A (en) 2018-08-24 2018-08-24 Multimedia content processing method and device

Country Status (1)

Country Link
CN (1) CN110858859A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115834764A (en) * 2022-11-29 2023-03-21 咪咕文化科技有限公司 Multimedia file playing method and device, computer equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140022369A1 (en) * 2012-07-17 2014-01-23 Lg Electronics Inc. Mobile terminal
CN104461021A (en) * 2014-12-29 2015-03-25 北京尚德智产投资管理有限公司 Mobile terminal and control method thereof
CN105101066A (en) * 2014-05-12 2015-11-25 宇龙计算机通信科技(深圳)有限公司 Method and system for safety warning when mobile terminal is in use
CN105898068A (en) * 2016-05-25 2016-08-24 乐视控股(北京)有限公司 Video playing control method and device
CN106953982A (en) * 2017-03-31 2017-07-14 南京大学 One kind is bowed race's walking safety alarm method
CN107786727A (en) * 2017-09-15 2018-03-09 深圳天珑无线科技有限公司 Mobile terminal based reminding method, device and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140022369A1 (en) * 2012-07-17 2014-01-23 Lg Electronics Inc. Mobile terminal
CN105101066A (en) * 2014-05-12 2015-11-25 宇龙计算机通信科技(深圳)有限公司 Method and system for safety warning when mobile terminal is in use
CN104461021A (en) * 2014-12-29 2015-03-25 北京尚德智产投资管理有限公司 Mobile terminal and control method thereof
CN105898068A (en) * 2016-05-25 2016-08-24 乐视控股(北京)有限公司 Video playing control method and device
CN106953982A (en) * 2017-03-31 2017-07-14 南京大学 One kind is bowed race's walking safety alarm method
CN107786727A (en) * 2017-09-15 2018-03-09 深圳天珑无线科技有限公司 Mobile terminal based reminding method, device and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115834764A (en) * 2022-11-29 2023-03-21 咪咕文化科技有限公司 Multimedia file playing method and device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
EP3188066B1 (en) A method and an apparatus for managing an application
US10264085B2 (en) Method and device for presenting push notifications
EP3182716A1 (en) Method and device for video display
CN107948708B (en) Bullet screen display method and device
US10509540B2 (en) Method and device for displaying a message
EP3316527A1 (en) Method and device for managing notification messages
CN109947981B (en) Video sharing method and device
EP3147802B1 (en) Method and apparatus for processing information
US11194297B2 (en) Method and apparatus for controlling alarm clock
CN107820131B (en) Comment information sharing method and device
CN108495168B (en) Bullet screen information display method and device
CN108121631B (en) Screen abnormal state reminding method and device
CN108174269B (en) Visual audio playing method and device
CN110519655B (en) Video editing method, device and storage medium
EP3276974A1 (en) Video sharing method and apparatus, computer program and recording medium
CN110234030B (en) Bullet screen information display method and device
EP3226187A1 (en) Method and device for information presentation
CN105472157A (en) Method and device for monitoring terminal motion state
CN108833952B (en) Video advertisement putting method and device
CN110807393A (en) Early warning method and device based on video analysis, electronic equipment and storage medium
CN112950712B (en) Positioning method and device, electronic equipment and storage medium
CN108289229B (en) Interaction method and device for multimedia resources
CN108521579B (en) Bullet screen information display method and device
CN110543928B (en) Method and device for detecting number of people on trackless rubber-tyred vehicle
CN110858859A (en) Multimedia content processing method and 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
TA01 Transfer of patent application right

Effective date of registration: 20200423

Address after: 310052 room 508, floor 5, building 4, No. 699, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province

Applicant after: Alibaba (China) Co.,Ltd.

Address before: 100000 room 26, 9 Building 9, Wangjing east garden four, Chaoyang District, Beijing.

Applicant before: BEIJING YOUKU TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
RJ01 Rejection of invention patent application after publication

Application publication date: 20200303

RJ01 Rejection of invention patent application after publication