CN114064139A - Method, device, terminal and storage medium for automatically closing playing software - Google Patents

Method, device, terminal and storage medium for automatically closing playing software Download PDF

Info

Publication number
CN114064139A
CN114064139A CN202111139263.7A CN202111139263A CN114064139A CN 114064139 A CN114064139 A CN 114064139A CN 202111139263 A CN202111139263 A CN 202111139263A CN 114064139 A CN114064139 A CN 114064139A
Authority
CN
China
Prior art keywords
playing
multimedia file
software
play
controlling
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.)
Withdrawn
Application number
CN202111139263.7A
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN202111139263.7A priority Critical patent/CN114064139A/en
Publication of CN114064139A publication Critical patent/CN114064139A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44594Unloading
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3438Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment monitoring of user actions
    • 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/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72439User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for image or video messaging
    • 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/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72442User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for playing music files
    • 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)
  • Theoretical Computer Science (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Software Systems (AREA)
  • Multimedia (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Environmental & Geological Engineering (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application relates to the technical field of communication, and discloses a method for automatically closing playing software, which comprises the following steps: obtaining the pause operation duration from the time of the last operation of the playing software by the user to the current time; when the pause operation duration is greater than or equal to a first preset duration, controlling the playing software to enter a partial playing mode; acquiring the playing time of the partial playing mode; and when the playing time of the partial playing mode is greater than or equal to a second preset time, controlling the playing software to be closed. According to the method for automatically closing the playing software, whether the user enters the sleep state or not is judged for the first time and the second time, the accuracy of judging whether the user enters the sleep state or not is improved, and the accuracy of controlling the playing software to be automatically closed is further improved. The application also discloses a device, a terminal and a storage medium for automatically closing the playing software.

Description

Method, device, terminal and storage medium for automatically closing playing software
The application is a divisional application with the application number of 202010480294.8, the application date of 2020, 5 and 30, and the invention name of method, device, terminal and storage medium for automatically closing playing software.
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method, an apparatus, a terminal, and a storage medium for automatically closing a playback software.
Background
At present, mobile terminals such as mobile phones and tablet computers are more and more compact with the lives of people. Most of the existing mobile terminals such as smart phones and tablet computers are installed with one or more playing software, such as video playing software and audio playing software. Many users have a habit of watching video or listening to music between sleeps and fall asleep in the form of video or music.
In the process of implementing the embodiments of the present disclosure, it is found that at least the following problems exist in the related art:
how to control the soft auto-close of the video or audio playing after the user goes to sleep.
Disclosure of Invention
The following presents a simplified summary in order to provide a basic understanding of some aspects of the disclosed embodiments. This summary is not an extensive overview nor is intended to identify key/critical elements or to delineate the scope of such embodiments but rather as a prelude to the more detailed description that is presented later.
The embodiment of the disclosure provides a method, a device, a terminal and a storage medium for automatically closing playing software, so as to solve the technical problem of how to control the automatic closing of the playing software such as video or audio after a user goes to sleep.
In some embodiments, the method comprises: obtaining the pause operation duration from the time of the last operation of the playing software by the user to the current time; when the pause operation duration is greater than or equal to a first preset duration, controlling the playing software to enter a partial playing mode; acquiring the playing time of the partial playing mode; and when the playing time of the partial playing mode is greater than or equal to a second preset time, controlling the playing software to be closed.
In some embodiments, the apparatus comprises: the first acquisition module is used for acquiring the pause operation duration from the time of the last operation of the playing software to the current time of a user; the partial playing module is used for controlling the playing software to enter a partial playing mode when the pause operation duration is greater than or equal to a first preset duration; the second acquisition module is used for acquiring the playing time of the partial playing mode; and the software closing module is used for controlling the playing software to be closed when the playing time of the partial playing mode is greater than or equal to a second preset time.
In some embodiments, the terminal comprises: the system comprises a processor and a memory, wherein at least one instruction is stored in the memory, and the instruction is loaded and executed by the processor to realize the method for automatically closing the playing software.
In some embodiments, the computer readable storage medium has at least one instruction stored therein, which is loaded and executed by a processor to implement a method for automatic shutdown of playback software as described above.
The method, the device, the equipment and the storage medium for automatically closing the playing software provided by the embodiment of the disclosure can realize the following technical effects:
in the method for automatically closing the playing software provided by the embodiment of the disclosure, whether the user enters the sleep state is preliminarily judged by obtaining the pause operation duration of the time when the user last operates the playing software and the current time, when the judgment condition of the preliminary judgment that the user enters the sleep state is met, the playing software is controlled to enter a partial playing mode, whether the user enters the sleep state is secondarily judged, and when the judgment condition of the secondary judgment that the user enters the sleep state is met, the playing software is controlled to be closed.
According to the method for automatically closing the playing software, whether the user enters the sleep state is judged through the primary judgment and the secondary judgment, the accuracy of judging whether the user enters the sleep state is improved, and the accuracy of controlling the playing software to be automatically closed is further improved.
The foregoing general description and the following description are exemplary and explanatory only and are not restrictive of the application.
Drawings
One or more embodiments are illustrated by way of example in the accompanying drawings, which correspond to the accompanying drawings and not in limitation thereof, in which elements having the same reference numeral designations are shown as like elements and not in limitation thereof, and wherein:
FIG. 1 is a schematic diagram of a method for automatically closing playback software according to an embodiment of the present disclosure;
FIG. 2 is a schematic diagram of an apparatus for automatically turning off the playback software according to an embodiment of the present disclosure;
fig. 3 is a schematic diagram of a terminal provided in an embodiment of the present disclosure.
Detailed Description
So that the manner in which the features and elements of the disclosed embodiments can be understood in detail, a more particular description of the disclosed embodiments, briefly summarized above, may be had by reference to the embodiments, some of which are illustrated in the appended drawings. In the following description of the technology, for purposes of explanation, numerous details are set forth in order to provide a thorough understanding of the disclosed embodiments. However, one or more embodiments may be practiced without these details. In other instances, well-known structures and devices may be shown in simplified form in order to simplify the drawing.
The terms "first," "second," and the like in the description and in the claims, and the above-described drawings of embodiments of the present disclosure, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the present disclosure described herein may be made. Furthermore, the terms "comprising" and "having," as well as any variations thereof, are intended to cover non-exclusive inclusions.
The term "plurality" means two or more unless otherwise specified.
In the embodiment of the present disclosure, the character "/" indicates that the preceding and following objects are in an or relationship. For example, A/B represents: a or B.
The term "and/or" is an associative relationship that describes objects, meaning that three relationships may exist. For example, a and/or B, represents: a or B, or A and B.
Referring to fig. 1, an embodiment of the present disclosure provides a method for automatically closing a playback software, including:
and S01, obtaining the pause operation duration from the time of the last operation of the playing software by the user to the current time.
The method for acquiring the pause operation duration can be that a first time node of the playing software operated by the user at this time is recorded; and calculating the operation time length from the first time node to the current time node as the pause operation time length, and judging whether the pause operation time length meets a first preset time length. The operation on the playing software may include adjusting the volume, adjusting the playing progress, adjusting the playing speed, adjusting the barrage, replacing the played multimedia file, and the like, and the operation form of the playing software is not specifically limited in the embodiment of the present disclosure.
According to the method provided by the embodiment of the disclosure, whether the user enters sleep is preliminarily judged by acquiring the pause operation duration of the user.
Optionally, before step S01, the method further includes: prompting the user whether to enter an auto-off mode.
After the user selects to enter the automatic closing mode, recording all the operations of the user on the playing software, and if the pause operation time length of the operation on the playing software at this time is more than or equal to a first preset time length, the operation on the playing software at this time is the last playing software; or, after the user selects to enter the automatic shutdown mode, if the operation of the user on the playing software is not detected when the time is greater than or equal to the first preset time, it is determined that the operation of the user selecting to enter the automatic shutdown mode is the aforementioned "playing software operated last time".
After the user selects to enter the automatic shutdown mode of the playing software, the user is considered to gradually enter the sleep state in the playing state of the playing software, at this time, the operation times of the user on the playing software is reduced, even the playing software is not operated, and the accuracy of the preliminary judgment on whether the user enters the sleep state in the step 01 is improved.
And S02, when the pause operation duration is longer than or equal to the first preset duration, controlling the playing software to enter a partial playing mode.
And when the pause operation time of the user on the playing software is greater than or equal to the first preset time, secondarily judging whether the user enters the sleep state by adopting a method of controlling the playing software to enter a partial playing mode. Optionally, the first preset time period may be within 30-90 minutes, for example, the first preset time period may be 30 minutes, 40 minutes, 50 minutes, 60 minutes, 70 minutes, 80 minutes, 90 minutes, and the like. The "partial play mode" herein may be understood as playing the multimedia file in a segmented or spaced manner, or may be understood as a mode opposite to the "continuous play mode". A video is typically played continuously while the user is watching the video for a complete scenario, or the user is listening to the entire piece of music continuously while listening to the music. According to the method provided by the embodiment of the disclosure, the playing software is controlled to enter a partial playing mode, the continuity and integrity of multimedia files such as video or audio and the like are damaged, so that whether the user enters the sleep state is secondarily judged, the accuracy of the secondary judgment whether the user enters the sleep state is improved, and the accuracy of controlling the playing software to be automatically closed is further improved.
Optionally, after step S02, the method further includes: prompting the user whether to enter a partial play mode.
If the selection of the user on the option is not detected within the set time length, controlling the playing software to automatically enter a partial playing mode, wherein the set time length can be 5 seconds, 10 seconds, 15 seconds and the like; if the user selects 'no', the playing software continues to play the multimedia file normally, and times the pause operation duration again, and defines that the operation of the user on the playing software at the moment is the 'last operation playing software', so that the accuracy of secondary judgment of the user entering the sleep state is improved.
S03, acquiring the playing time length of the partial playing mode;
and after the playing software enters a partial playing mode, recording the duration of the partial playing mode. The "play duration of the partial play mode" herein may be understood as "duration of the partial play mode".
And S04, controlling the playing software to close when the playing time length of the partial playing mode is greater than or equal to a second preset time length.
After the person enters a sleep state, the perception capability of the stimulus such as external sound is reduced. When the playing software enters a partial playing mode and the playing time of the partial playing mode is greater than or equal to a second preset time, the perception capability of the user on the discontinuous playing mode of the playing software is weakened, the user is judged to have entered the sleep, and the playing software is controlled to be closed. Alternatively, the second predetermined time period may be within 1-60 minutes, for example, the first predetermined time period may be 1 minute, 2 minutes, 3 minutes, 5 minutes, 10 minutes, 20 minutes, 30 minutes, 40 minutes, 50 minutes, 60 minutes, and the like.
Optionally, in the partial play mode, when the play duration of the currently played first multimedia file is less than the first total duration of the first multimedia file, the playing software is controlled to skip and play the remaining segment of the first multimedia file.
The "playing time length of the currently playing first multimedia file" may be understood as the current playing time scale of the first multimedia file. For example, the currently played first multimedia file is a video file, the first total time duration of the video file is 45 minutes, and if the current playing time scale of the video file is 10 minutes, the playing time duration of the video file is 10 minutes, where the "skip playing of the remaining segment of the first multimedia file" may be that, when the current playing time duration of the video file is 10 minutes, the segment of the video file between 20 and 25 minutes is controlled to be played. The method provided by the embodiment of the disclosure plays the remaining segment of the first multimedia file in a jumping manner, thereby destroying the continuity of the first multimedia file and improving the accuracy of judging whether the user enters the sleep state.
Optionally, if the first multimedia file is a video file, the video file is played in a jumping manner, so that the continuity and integrity of the scenario of the video file are damaged. According to the method provided by the embodiment of the disclosure, whether the user enters the sleep state is secondarily judged by interrupting the continuity of the first multimedia file, so that the accuracy of the secondary judgment of the user entering the sleep state is improved. Optionally, the aforementioned remaining segment is a trailer part of the first multimedia file. The film trailer part does not relate to the continuous plot of the first multimedia file, and the playing software is controlled to jump to the film trailer part of the first multimedia file for playing, so that the accuracy of judging whether the user is asleep or not is improved.
Optionally, the multimedia file is a song file, and the song file is divided into a prelude part, a master song part, a refrain part and an ending part. The song file is partially played in a mode that when the playing time length of the currently played first song is shorter than the first total time length of the first song, the playing software is controlled to play the main song part and/or the ending part of the first song file.
The method comprises the following steps that a song comprises a prelude part, a master song part, a refrain part and an ending part, wherein the refrain part is a climax part of the song, lyrics of the climax part tend to repeatedly appear, and the contents of each climax part of the song are the refrain part of the song; the song master part includes: a portion between a position where the song starts playing lyrics and a start position of the first occurring chorus content, and a content between an end position of the last chorus content of the song file and an end position of the lyrics of the music file. The method provided by the embodiment of the disclosure jumps the climax part of the song file, namely skips the chorus part of the song and plays the main song and/or the ending part of the song file. People are generally familiar with the chorus part of the singing, namely the climax part, and the climax part can attract more attention and attention of people. The method provided by the embodiment of the disclosure jumps the climax part of the song file, controls the playing software to play the song-playing main part and/or ending part of the song file, reduces the stimulation of the song file to the user, enables the user to only hear the song-playing main part and/or ending part, and improves the accuracy of judging whether the user goes to sleep or not.
Optionally, the playing software is controlled to skip the remaining segments of the first multimedia file a plurality of times.
For example, the currently played first multimedia file is a video file, the first total time length of the video file is 45 minutes, the current playing time length of the video file is 10 minutes, and a segment of the video file between 20 and 25 minutes is controlled to be played for the first skip playing; continuously controlling to play the segments of the video file within 30-35 minutes, and carrying out second jumping play; and continuously controlling to play the clip tail of the video file to carry out third jumping play. According to the method provided by the embodiment of the disclosure, whether the user enters the sleep state is judged for the second time by interrupting the continuity of the first multimedia file for many times, so that the accuracy of judging whether the user enters the sleep state is improved. The method provided by the embodiment of the disclosure does not limit the number of jumping times of the remaining segments.
Optionally, controlling the playing software to skip playing the remaining segment of the first multimedia file comprises: and averagely dividing the rest segments of the first multimedia file into M segments, respectively acquiring the number of the barrages of the M segments, and controlling the playing software to play the segment with the least number of the barrages in the first multimedia file.
People often post barrages to highlight segments in videos to express their thoughts. If the number of the bullet screens in a certain multimedia segment is less, the attention of people to the segment is low. For example, the first multimedia file is a video file, and the clip with less barrage may be a clip without a lead actor, a clip without a major scenario, and the like. The method provided by the embodiment of the disclosure controls the playing software to play the segment with the least number of the bullet screens in the remaining segments of the first multimedia file, that is, play the segment with the lowest attention degree in the remaining segments of the first multimedia file, thereby improving the accuracy of the secondary judgment of whether the user is asleep or not in the embodiment of the disclosure.
Optionally, in the partial play mode, when the play duration of the currently played first multimedia file is less than the first total duration of the first multimedia file, the play software is controlled to play the second multimedia file.
For example, when a user is watching a video containing a plurality of files, such as a television series, and the playing duration of a currently played first multimedia file is shorter than the total duration of the first multimedia file, the currently played first multimedia file is considered to be incompletely played, and the playing software is controlled to play a second multimedia file, so that the continuity of the whole video is broken. For example, a picture at 10 minutes of the second episode of the television series currently being played controls the playing software to play the scenario of the other episode such as the first episode, the third episode, or the fourth episode of the television series. The method provided by the embodiment of the disclosure improves the accuracy of the secondary judgment of whether the user is sleeping or not.
Optionally, the multimedia file is a song file, and the partial playing mode is that when the playing duration of the currently played first song file is less than the first total duration of the first song file, the playing software is controlled to play the prelude part and/or the master song part of the second song file. The accuracy of secondary judgment whether the user enters the sleep state or not is improved. The playing times of the prelude part and/or the master song part of the second song file are not limited in the embodiment of the disclosure.
Optionally, the multimedia file is a song file, and the partial playing mode is that when the playing duration of a currently played first song file is less than a first total duration of the first song file, the playing software is controlled to play a prelude part, a master song part and/or an ending part of a second song file to perform first partial playing; when the first part playing is finished, the playing software is controlled to play the prelude part, the master song part and/or the ending part of the third song file, and the second part playing is carried out, … …. And when the Mth part is played, controlling the playing software to play the prelude part, the master song part and/or the ending part of the M +2 song file, and performing the M +1 th part playing. The number of song files and the number of partial plays are not limited in the embodiments of the present disclosure.
Optionally, when the playing duration of the currently played first multimedia file is less than the first total duration of the first multimedia file, controlling the playing software to play the second multimedia file includes:
the playing sequence of the multimedia files is obtained, the playing sequence is arranged out of order, and when the playing time length of the currently played first multimedia file is shorter than the first total time length of the first multimedia file, the playing software is controlled to play a second multimedia file arranged behind the first multimedia file after the playing of the first multimedia file is arranged out of order. For example, when a user is watching a video containing a plurality of files, such as a tv series, the playing sequence of the tv series is scrambled, and the scrambled sequence is: a third episode … …, a tenth episode, a second episode, a fifth episode, a fifteenth episode and a sixth episode, wherein the currently played first multimedia file is the fifth episode of the television series, and when the fifth episode is playing the picture at the 10 th minute, the play of the fifteenth episode is controlled. The method provided by the embodiment of the disclosure breaks the continuity of the original first multimedia file, and simultaneously breaks up the continuity of the whole multimedia file to be played, thereby improving the accuracy of the second judgment of whether the user is sleeping or not.
Optionally, in the partial play mode, when the play duration of the currently played first multimedia file is less than the first total duration of the first multimedia file, the playing software is controlled to replay the first multimedia file.
For example, the first multimedia file is a video file, the first total duration of which is 45 minutes. And when the current playing time of the video file is 10 minutes, controlling the playing software to replay the video file. According to the method provided by the embodiment of the disclosure, the played first multimedia file is repeatedly played, the continuity of the first multimedia file is damaged, meanwhile, whether the user is asleep or not is secondarily judged in a repeated playing mode, and the accuracy of the secondary judgment of whether the user is asleep or not is improved. Optionally, the number of replays of the first multimedia file is not limited in the embodiments of the present disclosure.
Optionally, the multimedia file is a song file, and the partial playing mode is that when the playing duration of the currently played first song file is less than the first total duration of the first song file, the playing software is controlled to replay the prelude part, the master song part and/or the ending part of the first song file. The accuracy of judging whether the user enters the sleep state is improved. The disclosed embodiments do not limit the number of times the prelude part, the verse part and/or the ending part of the first song file are replayed.
Optionally, the controlling the playing software to play the second multimedia file in the partial playing mode includes controlling the playing software to play the second multimedia file when the playing duration of the currently played first multimedia file is less than the first total duration of the first multimedia file, where controlling the playing software to play the second multimedia file includes: and controlling the playing time length of the second multimedia file to be smaller than the second total time length of the second multimedia file.
The playing time length of the second multimedia file is less than the second total time length of the second multimedia file, and the playing continuity of the second multimedia file is interrupted. For example, the method provided by the embodiment of the present disclosure further includes: and controlling the playing software to play the third multimedia file when the playing time of the second multimedia file is less than the second total time of the second multimedia file. For example, the total duration of the first multimedia file, the second multimedia file, and the third multimedia file is 45 minutes. And when the playing time of the first multimedia file is 10 minutes, controlling to play the second multimedia file, and when the playing time of the second multimedia file is 10 minutes, controlling to play the third multimedia file. The method provided by the embodiment of the disclosure disturbs the continuity of the whole multimedia file, and is beneficial to improving the accuracy of judging whether the user is asleep.
Optionally, the controlling the playing software to play the second multimedia file includes: and controlling the playing software to jump and play the second multimedia file.
The second multimedia file is played in a jumping mode, and the continuity of the second multimedia file is interrupted while the continuity of the first multimedia file is interrupted. For example, the total time length of the first multimedia file and the second multimedia file is 45 minutes, and when the playing time length of the first multimedia file is 10 minutes, the playing of a 3-10 minute segment and a 15-25 minute segment of the second multimedia file is controlled. The method provided by the embodiment of the disclosure disturbs the continuity of the first multimedia file and the second multimedia file, and is beneficial to improving the accuracy of judging whether the user is asleep.
Optionally, the partial play mode includes controlling the playing software to replay the first multimedia file when the play duration of the currently played first multimedia file is less than the first total duration of the first multimedia file, wherein the controlling the playing software to replay the first multimedia file includes any one of: and controlling the replay duration of the first multimedia file to be less than the first total duration of the first multimedia file, or controlling the playing software to skip and play the first multimedia file, or controlling the playing software to replay the played segment of the first multimedia file.
And controlling the playing software to play back the first multimedia file is to control the played segment in the first multimedia file to be played. For example, the first multimedia file is a video file, the first total duration of which is 45 minutes. And when the current playing time of the video file is 10 minutes, controlling the playing software to replay the previous 10-minute segment of the video file. The method provided by the embodiment of the disclosure improves the repeatability of playing the first multimedia file and improves the accuracy of secondary judgment on whether the user is asleep or not.
Optionally, the control playing software plays back the first multimedia file is to control playing back the beginning of the track portion of the first multimedia file. The title song part does not relate to the continuous plot of the multimedia file, and the playing software is controlled to replay the title song part in the first multimedia file, so that the accuracy of judging whether the user is asleep or not is improved.
Optionally, the playing software is video playing software or audio playing software.
Optionally, the multimedia file is a video file or an audio file.
The file content of the video file and the audio file is not limited in the embodiment of the disclosure.
The embodiment of the present disclosure also provides a device for automatically closing playing software, as shown in fig. 2, including:
the first obtaining module 11 is configured to obtain a pause operation duration from a time when the user last operates the playing software to a current time;
the partial playing module 12 is used for controlling the playing software to enter a partial playing mode when the pause operation duration is greater than or equal to a first preset duration;
a second obtaining module 13, configured to obtain a playing duration of a partial playing mode;
and a software closing module 14, configured to control the playing software to close when the playing duration of the partial playing mode is greater than or equal to a second preset duration.
The device for automatically closing the playing software, provided by the embodiment of the disclosure, acquires the pause operation duration of the time when the user operates the playing software last time and the current time through the first acquisition module, preliminarily judges whether the user enters the sleep state, controls the playing software to enter a partial playing mode through a part of the playing module after the judgment condition of the preliminary judgment that the user enters the sleep state is met, secondarily judges whether the user enters the sleep state, and controls the playing software to be closed after the judgment condition of the secondary judgment that the user enters the sleep state is met.
According to the device for automatically closing the playing software, whether the user enters the sleep state is judged through the primary judgment and the secondary judgment, the accuracy of judging whether the user enters the sleep state is improved, and the accuracy of controlling the playing software to automatically close is further improved.
Optionally, the partial play module is configured to control the play software to enter a partial play mode when the pause operation duration is greater than or equal to a first preset duration, where the partial play mode includes any one of:
when the playing time of the currently played first multimedia file is shorter than the first total time of the first multimedia file, controlling the playing software to skip and play the remaining segments of the first multimedia file, or,
when the playing time of the currently played first multimedia file is shorter than the first total time of the first multimedia file, controlling the playing software to play the second multimedia file, or,
and when the playing duration of the currently played first multimedia file is less than the first total duration of the first multimedia file, controlling the playing software to replay the first multimedia file.
It should be noted that, the embodiments of the foregoing method for automatically closing the playing software can be applied to the device for automatically closing the playing software, and are not described herein again.
As shown in fig. 3, the present disclosure provides a terminal including a processor (processor)100 and a memory (memory) 101. Optionally, the apparatus may also include a Communication Interface (Communication Interface)102 and a bus 103. The processor 100, the communication interface 102, and the memory 101 may communicate with each other via a bus 103. The communication interface 102 may be used for information transfer. The processor 100 may call logic instructions in the memory 101 to execute the method of the above embodiment for automatically closing the playback software.
In addition, the logic instructions in the memory 101 may be implemented in the form of software functional units and stored in a computer readable storage medium when the logic instructions are sold or used as independent products.
The memory 101, which is a computer-readable storage medium, may be used for storing software programs, computer-executable programs, such as program instructions/modules corresponding to the methods in the embodiments of the present disclosure. The processor 100 executes the functional application and data processing by executing the program instructions/modules stored in the memory 101, that is, implements the method for automatically closing the playback software in the above embodiments.
The memory 101 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal device, and the like. In addition, the memory 101 may include a high-speed random access memory, and may also include a nonvolatile memory.
The disclosed embodiments provide a computer-readable storage medium storing computer-executable instructions configured to perform the above-described method for automatically closing playback software.
The disclosed embodiments provide a computer program product comprising a computer program stored on a computer readable storage medium, the computer program comprising program instructions that, when executed by a computer, cause the computer to perform the above-mentioned method for automatically shutting down playback software.
The computer-readable storage medium described above may be a transitory computer-readable storage medium or a non-transitory computer-readable storage medium.
The technical solution of the embodiments of the present disclosure may be embodied in the form of a software product, where the computer software product is stored in a storage medium and includes one or more instructions to enable a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method of the embodiments of the present disclosure. And the aforementioned storage medium may be a non-transitory storage medium comprising: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes, and may also be a transient storage medium.
The above description and drawings sufficiently illustrate embodiments of the disclosure to enable those skilled in the art to practice them. Other embodiments may incorporate structural, logical, electrical, process, and other changes. The examples merely typify possible variations. Individual components and functions are optional unless explicitly required, and the sequence of operations may vary. Portions and features of some embodiments may be included in or substituted for those of others. Furthermore, the words used in the specification are words of description only and are not intended to limit the claims. As used in the description of the embodiments and the claims, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. Similarly, the term "and/or" as used in this application is meant to encompass any and all possible combinations of one or more of the associated listed. Furthermore, the terms "comprises" and/or "comprising," when used in this application, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. Without further limitation, an element defined by the phrase "comprising an …" does not exclude the presence of other like elements in a process, method or apparatus that comprises the element. In this document, each embodiment may be described with emphasis on differences from other embodiments, and the same and similar parts between the respective embodiments may be referred to each other. For methods, products, etc. of the embodiment disclosures, reference may be made to the description of the method section for relevance if it corresponds to the method section of the embodiment disclosure.
Those of skill in the art would appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software may depend upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the disclosed embodiments. It can be clearly understood by the skilled person that, for convenience and brevity of description, the specific working processes of the system, the apparatus and the unit described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments disclosed herein, the disclosed methods, products (including but not limited to devices, apparatuses, etc.) may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units may be merely a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form. The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to implement the present embodiment. In addition, functional units in the embodiments of the present disclosure may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
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 embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, 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. In the description corresponding to the flowcharts and block diagrams in the figures, operations or steps corresponding to different blocks may also occur in different orders than disclosed in the description, and sometimes there is no specific order between the different operations or steps. For example, two sequential operations or steps may in fact be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved. Each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.

Claims (9)

1. A method for automatically closing playing software is characterized by comprising the following steps:
obtaining the pause operation duration from the time of the last operation of the playing software by the user to the current time;
when the pause operation duration is greater than or equal to a first preset duration, controlling the playing software to enter a partial playing mode;
acquiring the playing time of the partial playing mode;
when the playing time of the partial playing mode is greater than or equal to a second preset time, the playing software is controlled to be closed,
the operation on the playing software comprises adjusting the volume, the playing progress, the playing speed, the barrage and the multimedia file to be played.
2. The method of claim 1, wherein the partial play mode comprises any one of:
when the playing time of the currently played first multimedia file is shorter than the first total time of the first multimedia file, controlling the playing software to skip and play the remaining segments of the first multimedia file, or,
when the playing time of the currently played first multimedia file is shorter than the first total time of the first multimedia file, controlling the playing software to play a second multimedia file, or,
and when the playing duration of the currently played first multimedia file is less than the first total duration of the first multimedia file, controlling the playing software to play the first multimedia file.
3. The method of claim 2, wherein the partial play mode comprises controlling the playing software to play a second multimedia file when a play duration of a currently playing first multimedia file is less than a first total duration of the first multimedia file, wherein the controlling the playing software to play the second multimedia file comprises any one of:
controlling the playing time length of the second multimedia file to be smaller than the second total time length of the second multimedia file, or,
and controlling the playing software to jump and play the second multimedia file.
4. The method of claim 2, wherein the partial play mode comprises controlling the playing software to replay the first multimedia file when a play duration of a currently playing first multimedia file is less than a first total duration of the first multimedia file, wherein the controlling the playing software to replay the first multimedia file comprises any one of:
controlling the replay duration of the first multimedia file to be less than the first total duration of the first multimedia file, or,
controlling the playing software to skip and play the first multimedia file, or,
and controlling the playing software to replay the played segment of the first multimedia file.
5. The method of claim 1,
the playing software is video playing software or audio playing software.
6. An apparatus for automatically shutting down playback software, comprising:
the first acquisition module is used for acquiring the pause operation duration from the time of the last operation of the playing software to the current time of a user;
the partial playing module is used for controlling the playing software to enter a partial playing mode when the pause operation duration is greater than or equal to a first preset duration;
the second acquisition module is used for acquiring the playing time of the partial playing mode;
a software closing module for controlling the playing software to close when the playing time of the partial playing mode is greater than or equal to a second preset time,
the operation on the playing software comprises adjusting the volume, adjusting the playing progress, adjusting the playing speed, adjusting the barrage and replacing the played multimedia file.
7. The apparatus of claim 6, wherein the partial play module is configured to control the play software to enter a partial play mode when the pause operation duration is greater than or equal to a first preset duration, wherein the partial play mode includes any one of:
when the playing time of the currently played first multimedia file is shorter than the first total time of the first multimedia file, controlling the playing software to skip and play the remaining segments of the first multimedia file, or,
when the playing time of the currently played first multimedia file is shorter than the first total time of the first multimedia file, controlling the playing software to play a second multimedia file, or,
and when the playing duration of the currently played first multimedia file is less than the first total duration of the first multimedia file, controlling the playing software to play the first multimedia file.
8. A terminal, characterized in that the terminal comprises a processor and a memory, wherein the memory stores at least one instruction, and the instruction is loaded and executed by the processor to implement the method for automatically closing the playing software according to any one of claims 1 to 5.
9. A computer-readable storage medium having stored thereon at least one instruction, which is loaded and executed by a processor to implement the method for automatically shutting down playback software according to any one of claims 1 to 5.
CN202111139263.7A 2020-05-30 2020-05-30 Method, device, terminal and storage medium for automatically closing playing software Withdrawn CN114064139A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111139263.7A CN114064139A (en) 2020-05-30 2020-05-30 Method, device, terminal and storage medium for automatically closing playing software

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010480294.8A CN111638919A (en) 2020-05-30 2020-05-30 Method, device, terminal and storage medium for automatically closing playing software
CN202111139263.7A CN114064139A (en) 2020-05-30 2020-05-30 Method, device, terminal and storage medium for automatically closing playing software

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN202010480294.8A Division CN111638919A (en) 2020-05-30 2020-05-30 Method, device, terminal and storage medium for automatically closing playing software

Publications (1)

Publication Number Publication Date
CN114064139A true CN114064139A (en) 2022-02-18

Family

ID=72329779

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202111139263.7A Withdrawn CN114064139A (en) 2020-05-30 2020-05-30 Method, device, terminal and storage medium for automatically closing playing software
CN202010480294.8A Withdrawn CN111638919A (en) 2020-05-30 2020-05-30 Method, device, terminal and storage medium for automatically closing playing software

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN202010480294.8A Withdrawn CN111638919A (en) 2020-05-30 2020-05-30 Method, device, terminal and storage medium for automatically closing playing software

Country Status (1)

Country Link
CN (2) CN114064139A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113242352A (en) * 2021-03-30 2021-08-10 上海闻泰电子科技有限公司 Method and device for closing music playing program and computer equipment

Also Published As

Publication number Publication date
CN111638919A (en) 2020-09-08

Similar Documents

Publication Publication Date Title
EP1118058B1 (en) Personalized time-shifted programming
KR100411437B1 (en) Intelligent news video browsing system
JP4551668B2 (en) Minute file generation method, minutes file management method, conference server, and network conference system
US7894709B2 (en) Video abstracting
US20060056796A1 (en) Information processing apparatus and method and program therefor
EP2136370B1 (en) Systems and methods for identifying scenes in a video to be edited and for performing playback
JP4247638B2 (en) Recording / reproducing apparatus and recording / reproducing method
CN102256095A (en) Electronic apparatus, video processing method, and program
CN101071441A (en) Content marking method and playback equipment and method and storage medium
US20170069351A1 (en) Device and method for playing an interactive audiovisual movie
CN108153882A (en) A kind of data processing method and device
CN101835018B (en) Motion picture recording/reproducing apparatus
US20060010366A1 (en) Multimedia content generator
CN114064139A (en) Method, device, terminal and storage medium for automatically closing playing software
CN101110929A (en) Digital multimedia document playing control method
JP2007250097A (en) Contents reproducing device, contents reproduction restarting method, and contents reproducing program
JPH08329558A (en) Recording and reproducing device with recording condition judging function
EP1811523B1 (en) Data outputting device, data outputting method, data outputting program, and recording medium
JP4401740B2 (en) Editing device
JP4665670B2 (en) Recording / reproducing apparatus, recording / reproducing method, reproducing apparatus, reproducing method, receiving / reproducing apparatus, and receiving / reproducing method
CN113012723B (en) Multimedia file playing method and device and electronic equipment
CN112328152B (en) Method and device for controlling playing of media file, electronic equipment and storage medium
CN103888662B (en) Recording apparatus and recording method
US8306394B2 (en) Audiovisual information data processing apparatus
JP2009239322A (en) Video reproducing device, video reproducing method, and video reproducing program

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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20220218