CN108282690A - A kind of Internet video method for down loading, device and computer readable storage medium - Google Patents

A kind of Internet video method for down loading, device and computer readable storage medium Download PDF

Info

Publication number
CN108282690A
CN108282690A CN201810077306.5A CN201810077306A CN108282690A CN 108282690 A CN108282690 A CN 108282690A CN 201810077306 A CN201810077306 A CN 201810077306A CN 108282690 A CN108282690 A CN 108282690A
Authority
CN
China
Prior art keywords
video
target storage
storage space
internet video
space
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
CN201810077306.5A
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810077306.5A priority Critical patent/CN108282690A/en
Publication of CN108282690A publication Critical patent/CN108282690A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4335Housekeeping operations, e.g. prioritizing content for deletion because of storage space restrictions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44213Monitoring of end-user related data
    • H04N21/44222Analytics of user selections, e.g. selection of programs or purchase activity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/4424Monitoring of the internal components or processes of the client device, e.g. CPU or memory load, processing speed, timer, counter or percentage of the hard disk space used
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/61Network physical structure; Signal processing
    • H04N21/6106Network physical structure; Signal processing specially adapted to the downstream path of the transmission network
    • H04N21/6125Network physical structure; Signal processing specially adapted to the downstream path of the transmission network involving transmission via Internet
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/61Network physical structure; Signal processing
    • H04N21/6156Network physical structure; Signal processing specially adapted to the upstream path of the transmission network
    • H04N21/6175Network physical structure; Signal processing specially adapted to the upstream path of the transmission network involving transmission via Internet

Abstract

The embodiment of the invention discloses a kind of Internet video method for down loading, device and computer readable storage mediums, to improve the success rate of Internet video download.The method includes:Behavior of the monitor terminal from network foradownloaded video;The target storage space of monitor video;If terminal causes the target storage space of video insufficient from the behavior of network foradownloaded video, from target storage space vacating space for storing video.Technical solution provided by the invention is by the behaviour in service of monitoring download behavior and target storage space, memory space of transferring to other use out in time, so as to avoid video failed download, improves the success rate of Internet video download.

Description

A kind of Internet video method for down loading, device and computer readable storage medium
Technical field
The present invention relates to internet arena more particularly to a kind of Internet video method for down loading, device and computer-readable deposit Storage media.
Background technology
Function with intelligent mobile terminals such as smart mobile phones is become stronger day by day, and more and more smart mobile phones can be directly connected to To internet (Internet), the online video resource watched on network.However, online viewing inconvenience, especially in net When network signal quality is poor, viewing video has Caton phenomenon.For this purpose, many users can select after first downloading Internet video It reviews, alternatively, being watched online when downloading.
Either video is reviewed after downloading or is watched when downloading, and many smart phone users can meet with when downloading Meet following phenomenon, that is, when video downloads a part, memory space inadequate leads to video failed download.It is existing for this phenomenon Solution be to re-download video.However, re-downloading video not only will expend the time, but also still can meet with same The problem of.
The above problem, at present industry there is no preferable solution.
Invention content
The main purpose of the embodiment of the present invention is to provide a kind of Internet video method for down loading, device and computer-readable deposits Storage media, to improve the success rate of Internet video download.
To achieve the above object, first aspect of the embodiment of the present invention provides a kind of Internet video method for down loading, the method Including:
Behavior of the monitor terminal from network foradownloaded video;
Monitor the target storage space of the video;
If the terminal causes the target storage space of the video insufficient from the behavior of network foradownloaded video, from described Target storage space vacating space is for storing the video.
In conjunction with the embodiment of the present invention in a first aspect, in the first embodiment of first aspect, regarded described in the monitoring The target storage space of frequency, including:
Calculate the free memory of the target storage space;
The free memory of the target storage space is compared with predetermined threshold value space.
In conjunction with the first embodiment of first aspect of the embodiment of the present invention, in second of embodiment of first aspect In, the free memory for calculating the target storage space, including:
The current residual space of the target storage space subtracts to the capacity of estimating of the video, described in resulting value is used as The free memory of target storage space.
In conjunction with the first embodiment of first aspect of the embodiment of the present invention, in the third embodiment of first aspect In, if the terminal causes the target storage space of the video insufficient from the behavior of network foradownloaded video, from described Target storage space vacating space is used to store the video, including:
If the free memory of the target storage space is less than the predetermined threshold value space, it is determined that the target is deposited Storage space, which whether there is, has downloaded Internet video resource;
If the target storage space, which exists, has downloaded Internet video resource, Internet video resource has been downloaded described in deletion.
In conjunction with the third embodiment of first aspect of the embodiment of the present invention, in the 4th kind of embodiment of first aspect In, if the target storage space, which exists, has downloaded Internet video resource, Internet video resource has been downloaded described in deletion, has been wrapped It includes:
Determine described in downloaded Internet video resource whether watched;
If described downloaded Internet video resource watched, the viewing progress of the watched Internet video resource is checked Whether it is more than default viewing threshold value;
If the viewing progress of the watched Internet video resource has been more than the default viewing threshold value, by the viewing Progress has been more than that the Internet video resource of the default viewing threshold value is deleted.
To achieve the above object, second aspect of the embodiment of the present invention provides a kind of Internet video download apparatus, described device Including:
First monitoring module is used for behavior of the monitor terminal from network foradownloaded video;
Second monitoring module, the target storage space for monitoring the video;
Space is transferred to other use module, if causing the target of the video to store from the behavior of network foradownloaded video for the terminal Insufficient space, then from the target storage space vacating space for storing the video.
In conjunction with second aspect of the embodiment of the present invention, in the first embodiment of second aspect, the second monitoring mould Block includes:
Computing unit, the free memory for calculating the target storage space;
Comparing unit, for the free memory of the target storage space to be compared with predetermined threshold value space.
In conjunction with the first embodiment of second aspect of the embodiment of the present invention, in second of embodiment of second aspect In, the computing unit includes:
Subtract each other unit, capacity estimated for what the current residual space of the target storage space was subtracted the video, Free memory of the resulting value as the target storage space.
In conjunction with the first embodiment of second aspect of the embodiment of the present invention, in the third embodiment of second aspect In, space module of transferring to other use includes:
First determination unit, if the free memory for the target storage space is less than predetermined threshold value sky Between, it is determined that the target storage space, which whether there is, has downloaded Internet video resource;
Video processing unit has downloaded Internet video resource, described in deletion if existing for the target storage space Download Internet video resource.
In conjunction with the third embodiment of second aspect of the embodiment of the present invention, in the 4th kind of embodiment of second aspect In, the video processing unit includes:
Second determination unit, for determine described in downloaded Internet video resource whether watched;
Judging unit checks the watched Internet video if having downloaded Internet video resource watched for described Whether the viewing progress of resource is more than default viewing threshold value;
Deleting unit, if the viewing progress for the watched Internet video resource has been more than the default viewing threshold The viewing progress has been more than then the Internet video resource deletion of the default viewing threshold value by value.
To achieve the above object, the third aspect of the embodiment of the present invention provides a kind of mobile terminal, including memory, processor And it is stored in the computer program that can be run in the memory and on the processor, the processor executes the meter The step of following method being realized when calculation machine program:
Behavior of the monitor terminal from network foradownloaded video;
Monitor the target storage space of the video;
If the terminal causes the target storage space of the video insufficient from the behavior of network foradownloaded video, from described Target storage space vacating space is for storing the video.
It is regarded described in the monitoring in the first embodiment of the third aspect in conjunction with the third aspect of the embodiment of the present invention The target storage space of frequency, including:
Calculate the free memory of the target storage space;
The free memory of the target storage space is compared with predetermined threshold value space.
In conjunction with the first embodiment of the third aspect of the embodiment of the present invention, in second of embodiment of the third aspect In, the free memory for calculating the target storage space, including:
The current residual space of the target storage space subtracts to the capacity of estimating of the video, described in resulting value is used as The free memory of target storage space.
In conjunction with the first embodiment of the third aspect of the embodiment of the present invention, in the third embodiment of the third aspect In, if the terminal causes the target storage space of the video insufficient from the behavior of network foradownloaded video, from described Target storage space vacating space is used to store the video, including:
If the free memory of the target storage space is less than the predetermined threshold value space, it is determined that the target is deposited Storage space, which whether there is, has downloaded Internet video resource;
If the target storage space, which exists, has downloaded Internet video resource, Internet video resource has been downloaded described in deletion.
In conjunction with the third embodiment of the third aspect of the embodiment of the present invention, in the 4th kind of embodiment of the third aspect In, if the target storage space, which exists, has downloaded Internet video resource, Internet video resource has been downloaded described in deletion, has been wrapped It includes:
Determine described in downloaded Internet video resource whether watched;
If described downloaded Internet video resource watched, the viewing progress of the watched Internet video resource is checked Whether it is more than default viewing threshold value;
If the viewing progress of the watched Internet video resource has been more than the default viewing threshold value, by the viewing Progress has been more than that the Internet video resource of the default viewing threshold value is deleted.
To achieve the above object, fourth aspect of the embodiment of the present invention provides a kind of computer readable storage medium, the meter Calculation machine readable storage medium storing program for executing is stored with computer program, and the computer program realizes the step of following method when being executed by processor Suddenly:
Behavior of the monitor terminal from network foradownloaded video;
Monitor the target storage space of the video;
If the terminal causes the target storage space of the video insufficient from the behavior of network foradownloaded video, from described Target storage space vacating space is for storing the video.
It is regarded described in the monitoring in the first embodiment of fourth aspect in conjunction with fourth aspect of the embodiment of the present invention The target storage space of frequency, including:
Calculate the free memory of the target storage space;
The free memory of the target storage space is compared with predetermined threshold value space.
In conjunction with the first embodiment of fourth aspect of the embodiment of the present invention, in second of embodiment of fourth aspect In, the free memory for calculating the target storage space, including:
The current residual space of the target storage space subtracts to the capacity of estimating of the video, described in resulting value is used as The free memory of target storage space.
In conjunction with the first embodiment of fourth aspect of the embodiment of the present invention, in the third embodiment of fourth aspect In, if the terminal causes the target storage space of the video insufficient from the behavior of network foradownloaded video, from described Target storage space vacating space is used to store the video, including:
If the free memory of the target storage space is less than the predetermined threshold value space, it is determined that the target is deposited Storage space, which whether there is, has downloaded Internet video resource;
If the target storage space, which exists, has downloaded Internet video resource, Internet video resource has been downloaded described in deletion.
In conjunction with the third embodiment of fourth aspect of the embodiment of the present invention, in the 4th kind of embodiment of fourth aspect In, if the target storage space, which exists, has downloaded Internet video resource, Internet video resource has been downloaded described in deletion, has been wrapped It includes:
Determine described in downloaded Internet video resource whether watched;
If described downloaded Internet video resource watched, the viewing progress of the watched Internet video resource is checked Whether it is more than default viewing threshold value;
If the viewing progress of the watched Internet video resource has been more than the default viewing threshold value, by the viewing Progress has been more than that the Internet video resource of the default viewing threshold value is deleted.
From the embodiments of the present invention provide technical solution it is found that due to can monitor network foradownloaded video behavior and The target storage space of video, when terminal leads to the target storage space deficiency of video from the behavior of network foradownloaded video, from Target storage space vacating space is for storing video.With the prior art in memory space inadequate, video download is directly resulted in Fail and need to re-download to compare, technical solution provided in an embodiment of the present invention, which passes through, monitors download behavior and target storage sky Between behaviour in service, memory space of transferring to other use out in time, so as to avoid video failed download, improve Internet video download at Power.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those skilled in the art without creative efforts, can also basis These attached drawings obtain other attached drawings.
Fig. 1 is the structure diagram of mobile terminal provided in an embodiment of the present invention;
Fig. 2 is the flow chart of Internet video method for down loading provided in an embodiment of the present invention;
Fig. 3 is the flow chart for the Internet video method for down loading that another embodiment of the present invention provides;
Fig. 4 is the flow chart for the Internet video method for down loading that another embodiment of the present invention provides;
Fig. 5 is the structure diagram of Internet video download apparatus provided in an embodiment of the present invention;
Fig. 6 is the structure diagram for the Internet video download apparatus that another embodiment of the present invention provides;
Fig. 7 is the structure diagram for the Internet video download apparatus that another embodiment of the present invention provides;
Fig. 8 is the structure diagram for the Internet video download apparatus that another embodiment of the present invention provides;
Fig. 9 is the structure diagram for the Internet video download apparatus that another embodiment of the present invention provides.
Specific implementation mode
In order to make the invention's purpose, features and advantages of the invention more obvious and easy to understand, below in conjunction with the present invention Attached drawing in embodiment, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described reality It is only a part of the embodiment of the present invention to apply example, and not all embodiments.Based on the embodiments of the present invention, people in the art The every other embodiment that member is obtained without making creative work, shall fall within the protection scope of the present invention.
Fig. 1 shows a kind of structure diagram of mobile terminal.Internet video method for down loading provided in an embodiment of the present invention can Applied in mobile terminal 10 as shown in Figure 1, mobile terminal 10 can be, but not limited to include:Battery need to be relied on to maintain normal fortune Row and smart mobile phone, notebook, tablet computer, the wearing smart machine etc. for supporting network and download function.
As shown in Figure 1, mobile terminal 10 includes memory 101, storage control 102, one or more (is only shown in figure One) processor 103, Peripheral Interface 104, radio-frequency module 105, key-press module 106, audio-frequency module 107 and Touch Screen 108.These components are mutually communicated by one or more communication bus/signal wire 109.
It is appreciated that structure shown in FIG. 1 is only to illustrate, the structure of mobile terminal is not caused to limit.It is mobile whole End 10 may also include than shown in Fig. 1 more either less components or with the configuration different from shown in Fig. 1.It is shown in FIG. 1 Hardware, software, or its combination realization may be used in each component.
Memory 101 can be used for storing software program and module, such as the Internet video download side in the embodiment of the present invention Method and the corresponding program instruction/module of mobile terminal, processor 103 are stored in the software program in memory 101 by operation And module realizes above-mentioned Internet video method for down loading to perform various functions application and data processing.
Memory 101 may include high speed random access memory, may also include nonvolatile memory, such as one or more magnetic Property storage device, flash memory or other non-volatile solid state memories.In some instances, memory 101 can further comprise The memory remotely located relative to processor 103, these remote memories can pass through network connection to mobile terminal 10.On The example for stating network includes but not limited to internet, intranet, LAN, mobile radio communication and combinations thereof.Processor 103 And other possible components can carry out the access of memory 101 under the control of storage control 102.
Peripheral Interface 104 couples various input/output devices to CPU and memory 101.The operation of processor 103 is deposited Various softwares, instruction in reservoir 101 are to execute the various functions of mobile terminal 10 and carry out data processing.
In some embodiments, Peripheral Interface 104, processor 103 and storage control 102 can be in one single chips It realizes.In some other example, they can be realized by independent chip respectively.
Radio-frequency module 105 is used to receive and transmit electromagnetic wave, realizes the mutual conversion of electromagnetic wave and electric signal, thus with Communication network or other equipment are communicated.Radio-frequency module 105 may include the various existing electricity for executing these functions Circuit component, for example, antenna, RF transceiver, digital signal processor, encryption/deciphering chip, subscriber identity module (SIM) card, Memory etc..Radio-frequency module 105 can be with the wireless network progress of various networks such as internet, intranet, preset type Communication is communicated by the wireless network of preset type with other equipment.The wireless network of above-mentioned preset type can wrap Include cellular telephone networks, WLAN or Metropolitan Area Network (MAN).The wireless network of above-mentioned preset type can use various communications Standard, agreement and technology, including but not limited to global system for mobile communications (Global System for Mobile Communication, GSM), enhanced mobile communication technology (Enhanced Data GSM Environment, EDGE) is wide Band Code Division Multiple Access (Wideband Code Division Multiple Access, W-CDMA), Code Division Multiple Access (Code Division Access, CDMA), time division multiple access technology (Time Division Multiple Access, TDMA), Bluetooth, adopting wireless fidelity technology (Wireless-Fidelity, WiFi) (such as American Institute of Electrical and Electronics Engineers's standard IEEE 802.11a, IEEE 802.11b, IEEE802.11g and/or IEEE 802.11n), the networking telephone (Voice over Internet Protocal, VoIP), worldwide interoperability for microwave accesses (Worldwide Interoperability for Microwave Access, Wi-Max), other for mail, instant messaging and short message agreement and any other is suitable Communications protocol.
Key-press module 106 provides the interface that is inputted to mobile terminal of user, user can by press it is different by Key is so that mobile terminal 10 executes different functions.
Audio-frequency module 107 provides a user audio interface, may include that one or more microphones, one or more raises Sound device and voicefrequency circuit.Voicefrequency circuit receives voice data from Peripheral Interface 104, and voice data is converted to power information, Power information is transmitted to loud speaker.Power information is converted to the sound wave that human ear can be heard by loud speaker.Voicefrequency circuit is also from microphone Place receives power information, converts electrical signals to voice data, and by data transmission in network telephony to Peripheral Interface 104 with into advancing one The processing of step.Audio data can obtain from memory 101 or by radio-frequency module 105.In addition, audio data can also It stores into memory 101 or is sent by radio-frequency module 105.In some instances, audio-frequency module 107 may also include One earphone broadcasts hole, for providing audio interface to earphone or other equipment.
Touch Screen 108 provides an output and input interface simultaneously between mobile terminal and user.Specifically, touch-control Screen 108 shows that video output, the content of these videos output may include word, figure, video and its arbitrary group to user It closes.Some outputs are the result is that correspond to some user interface objects.Touch Screen 108 also receives the input of user, such as user The gesture operations such as click, sliding, so that user interface object responds the input of these users.It detects input by user Technology can be based on resistance-type, condenser type or any other possible touch control detection technology.108 display unit of Touch Screen Specific example include but is not limited to liquid crystal display or light emitting polymer displays.
Based on above-mentioned mobile terminal, flow chart such as 2 institute of attached drawing of Internet video method for down loading in the embodiment of the present invention is described Show, executive agent can be mobile terminal, mainly include the following steps S201 to S203, detailed description are as follows:
S201, behavior of the monitor terminal from network foradownloaded video.
In embodiments of the present invention, terminal can be connectable to any equipment of internet, including smart mobile phone, flat Plate computer etc..So-called monitor terminal can be whether monitor terminal opens foradownloaded video work(from the behavior of network foradownloaded video Can, for example, can by monitoring some ports, check the indexs such as the flow of port can monitor terminal whether start under network Carry video.
S202 monitors the target storage space of downloaded video.
The target storage space of video is the space of the storage unit for storing video, for example, hard disk or USB flash disk etc. other Mobile memory medium.
S203 is deposited if terminal causes the target storage space of video insufficient from the behavior of network foradownloaded video from target Storage space vacating space is for storing downloaded video.
In embodiments of the present invention, the target storage space deficiency of video refers to that current target storage space is not enough to deposit Store up the video currently to be downloaded.Once by the monitoring of step S201 and S202, behavior of the terminal from network foradownloaded video is found Cause the target storage space of video insufficient, then from target storage space vacating space for storing downloaded video.
From 2 exemplary Internet video method for down loading of above-mentioned attached drawing it is found that behavior since network foradownloaded video can be monitored With the target storage space of video, when terminal leads to the target storage space deficiency of video from the behavior of network foradownloaded video, From target storage space vacating space for storing video.With the prior art in memory space inadequate, directly result under video It carries failure and needs to re-download to compare, technical solution provided in an embodiment of the present invention is stored by monitoring download behavior and target The behaviour in service in space, memory space of transferring to other use out in time improve Internet video download so as to avoid video failed download Success rate.
The flow chart such as attached drawing 3 of Internet video method for down loading in another embodiment of the present invention is described based on above-mentioned mobile terminal It is shown, mainly include the following steps S301 to S304, detailed description are as follows:
S301, behavior of the monitor terminal from network foradownloaded video.
The technical solution of step S301 is identical with the technical solution of previous embodiment step S201, the art being related to Language, concept etc. can refer to the description of previous embodiment, be not repeated herein.
S302 calculates the free memory of target storage space.
Specifically, the capacity i.e. size of the video to be downloaded can be estimated first, for example, can be by will be remaining Download time is multiplied by current speed of download, to estimate the size of the video to be downloaded, then, by working as target storage space Preceding remaining space subtracts the capacity of estimating of video, free memory of the resulting value as target storage space.
The free memory of target storage space is compared by S303 with predetermined threshold value space.
S304 is deposited if terminal causes the target storage space of video insufficient from the behavior of network foradownloaded video from target Storage space vacating space is for storing downloaded video.
The technical solution of step S304 is identical with the technical solution of previous embodiment step S203, the art being related to Language, concept etc. can refer to the description of previous embodiment, be not repeated herein.
The flow chart such as attached drawing 4 of Internet video method for down loading in another embodiment of the present invention is described based on above-mentioned mobile terminal It is shown, mainly include the following steps S401 to S405, detailed description are as follows:
S401, behavior of the monitor terminal from network foradownloaded video.
The technical solution of step S301 is identical with the technical solution of previous embodiment step S201 or step S301, Term, concept for being related to etc. can refer to the description of previous embodiment, be not repeated herein.
S402 calculates the free memory of target storage space.
The technical solution of step S402 is identical with the technical solution of previous embodiment step S302, the art being related to Language, concept etc. can refer to the description of previous embodiment, be not repeated herein.
The free memory of target storage space is compared by S403 with predetermined threshold value space.
The technical solution of step S403 is identical with the technical solution of previous embodiment step S303, the art being related to Language, concept etc. can refer to the description of previous embodiment, be not repeated herein.
S404, if the free memory of target storage space is less than predetermined threshold value space, it is determined that target storage space With the presence or absence of having downloaded Internet video resource.
If the comparison through step S403, the free memory of target storage space is less than predetermined threshold value space, it is determined that Target storage space, which whether there is, has downloaded Internet video resource.Concrete mode is that traversal memory space is that the target storage is empty Between and downloading the Internet resources listed of the Resources list determine that target storage space is by the traversal to downloading the Resources list Internet video resource has been downloaded in no presence.
S405 is deleted if target storage space, which exists, has downloaded Internet video resource and has been downloaded Internet video resource.
It may be viewed by a user in view of having downloaded Internet video resource, if directly deleting will bring to user New inconvenience and poor experience, therefore, in embodiments of the present invention, if target storage space, which exists, has downloaded Internet video money Source is then deleted and has downloaded Internet video resource and can be realized with S4051 as follows to S4053:
S4051, determine downloaded Internet video resource whether watched.
In embodiments of the present invention, the attribute of Internet video resource can have been downloaded by checking, network has been downloaded in determination Whether video resource is opened or changed, so that it is determined that having downloaded whether Internet video resource has been watched.
S4052 checks that the viewing progress of watched Internet video resource is if having downloaded Internet video resource watched No is more than default viewing threshold value.
In embodiments of the present invention, presetting viewing threshold value can rule of thumb determine, for example, an in general, video Last 5% to 10% content may not be for spectators it is so important, therefore, can be by this 90% to 95% as pre- If viewing threshold value, checking the viewing progress of watched Internet video resource, whether more than 90% to 95%, this default watches threshold Value.
S4053 will watch progress if the viewing progress of watched Internet video resource has been more than default viewing threshold value Internet video resource more than default viewing threshold value is deleted.
Once the viewing progress of watched Internet video resource has been more than default viewing threshold value, then illustrate user substantially Through watching the Internet video resource, the experience that it does not interfere with user is deleted, it therefore, can be in watched Internet video resource Viewing progress when being more than default viewing threshold value, be more than that the default Internet video resource for watching threshold value is deleted by viewing progress It removes, to transfer to other use out memory space for the video to be downloaded.
Referring to Fig. 5, being Internet video download apparatus provided in an embodiment of the present invention.For convenience of description, it illustrates only With the relevant part of the embodiment of the present invention.The Internet video download apparatus that Fig. 5 is provided includes mainly the first monitoring module 501, the Two monitoring modules 502 and space are transferred to other use module 503, and detailed description are as follows:
First monitoring module 501 is used for behavior of the monitor terminal from network foradownloaded video;
Second monitoring module 502 is used for the target storage space of monitor video;
Space is transferred to other use module 503, if leading to the target storage space of video from the behavior of network foradownloaded video for terminal Deficiency, then from target storage space vacating space for storing video.
It should be noted that device provided in an embodiment of the present invention, due to being based on same structure with the method for the present invention embodiment Think, the technique effect brought is identical as the method for the present invention embodiment, and particular content can be found in the method for the present invention embodiment Narration, details are not described herein again.
5 exemplary second monitoring module 502 of attached drawing may include computing unit 601 and comparing unit 602, as attached drawing 6 shows Example Internet video download apparatus, wherein:
Computing unit 601, the free memory for calculating target storage space;
Comparing unit 602, for the free memory of target storage space to be compared with predetermined threshold value space.
6 exemplary computing unit 601 of attached drawing may include subtracting each other unit 701, as carried under 7 example network video of attached drawing It sets.Subtract each other estimate capacity of the unit 701 for the current residual space of target storage space to be subtracted to video, resulting value is as mesh Mark the free memory of memory space.
6 exemplary space of attached drawing module 503 of transferring to other use may include the first determination unit 801 and video processing unit 802, such as 8 example network video download apparatus of attached drawing, wherein:
First determination unit 801, if the free memory for target storage space is less than predetermined threshold value space, really The memory space that sets the goal, which whether there is, has downloaded Internet video resource;
Video processing unit 802 has downloaded Internet video resource if existing for target storage space, and contained network is descended in deletion Network video resource.
7 exemplary video processing unit 802 of attached drawing may include the second determination unit 901, judging unit 902 and delete single Member 903, such as 9 example network video download apparatus of attached drawing, wherein:
Second determination unit 901, for determine downloaded Internet video resource whether watched;
Judging unit 902 checks watched Internet video resource if for having downloaded Internet video resource watched Whether viewing progress is more than default viewing threshold value;
Deleting unit 903 will if the viewing progress for watched Internet video resource has been more than default viewing threshold value Viewing progress has been more than that the Internet video resource of default viewing threshold value is deleted.
In several embodiments provided herein, it should be understood that disclosed device and method can pass through it Its mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the module, only Only a kind of division of logic function, formula that in actual implementation, there may be another division manner, such as multiple module or components can be tied Another system is closed or is desirably integrated into, or some features can be ignored or not executed.Another point, it is shown or discussed Mutual coupling, direct-coupling or communication connection can be the INDIRECT COUPLING or logical by some interfaces, device or module Letter connection can be electrical, machinery or other forms.
The module illustrated as separating component may or may not be physically separated, aobvious as module The component shown may or may not be physical module, you can be located at a place, or may be distributed over multiple On network module.Some or all of module therein can be selected according to the actual needs to realize the mesh of this embodiment scheme 's.
In addition, each function module in each embodiment of the present invention can be integrated in a processing module, it can also That modules physically exist alone, can also two or more modules be integrated in a module.Above-mentioned integrated mould The form that hardware had both may be used in block is realized, can also be realized in the form of software function module.
If the integrated module is realized in the form of software function module and sells or use as independent product When, it can be stored in a computer read/write memory medium.Based on this understanding, technical scheme of the present invention is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer Equipment (can be personal computer, server or the network equipment etc.) executes the complete of each embodiment the method for the present invention Portion or part steps.And storage medium above-mentioned includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey The medium of sequence code.
It should be noted that for each method embodiment above-mentioned, describe, therefore it is all expressed as a series of for simplicity Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the described action sequence because According to the present invention, certain steps may be used other sequences or be carried out at the same time.Secondly, those skilled in the art should also know It knows, embodiment described in this description belongs to preferred embodiment, and involved action and module might not all be this hairs Necessary to bright.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, it may refer to the associated description of other embodiments.
It is to Internet video method for down loading provided by the present invention, device, mobile terminal and computer-readable storage above The description of medium, for those skilled in the art, the thought of embodiment, in specific implementation mode and applies model according to the present invention There will be changes are placed, to sum up, the content of the present specification should not be construed as limiting the invention.

Claims (12)

1. a kind of Internet video method for down loading, which is characterized in that the method includes:
Behavior of the monitor terminal from network foradownloaded video;
Monitor the target storage space of the video;
If the terminal causes the target storage space of the video insufficient from the behavior of network foradownloaded video, from the target Memory space vacating space is for storing the video.
2. Internet video method for down loading as described in claim 1, which is characterized in that the target storage of the monitoring video is empty Between, including:
Calculate the free memory of the target storage space;
The free memory of the target storage space is compared with predetermined threshold value space.
3. Internet video method for down loading as claimed in claim 2, which is characterized in that it is described calculate the target storage space can With memory space, including:
The current residual space of the target storage space is subtracted to the capacity of estimating of the video, resulting value is as the target The free memory of memory space.
4. Internet video method for down loading as claimed in claim 2, which is characterized in that if the terminal is from network foradownloaded video Behavior cause the target storage space of the video insufficient, then it is described for storing from the target storage space vacating space Video, including:
If the free memory of the target storage space is less than the predetermined threshold value space, it is determined that the target storage is empty Between with the presence or absence of having downloaded Internet video resource;
If the target storage space, which exists, has downloaded Internet video resource, Internet video resource has been downloaded described in deletion.
5. Internet video method for down loading as claimed in claim 4, which is characterized in that if the target storage space exists Internet video resource is downloaded, Internet video resource has been downloaded described in deletion, including:
Determine described in downloaded Internet video resource whether watched;
If described downloaded Internet video resource watched, check the watched Internet video resource viewing progress whether More than default viewing threshold value;
If the viewing progress of the watched Internet video resource has been more than the default viewing threshold value, by the viewing progress It has been more than the Internet video resource deletion of the default viewing threshold value.
6. a kind of Internet video download apparatus, which is characterized in that described device includes:
First monitoring module is used for behavior of the monitor terminal from network foradownloaded video;
Second monitoring module, the target storage space for monitoring the video;
Space is transferred to other use module, if leading to the target storage space of the video from the behavior of network foradownloaded video for the terminal Deficiency, then from the target storage space vacating space for storing the video.
7. Internet video download apparatus as claimed in claim 6, which is characterized in that second monitoring module includes:
Computing unit, the free memory for calculating the target storage space;
Comparing unit, for the free memory of the target storage space to be compared with predetermined threshold value space.
8. Internet video download apparatus as claimed in claim 7, which is characterized in that the computing unit includes:
Subtract each other unit, the capacity of estimating for the current residual space of the target storage space to be subtracted to the video, gained It is worth the free memory as the target storage space.
9. Internet video download apparatus as claimed in claim 7, which is characterized in that space module of transferring to other use includes:
First determination unit, if the free memory for the target storage space is less than the predetermined threshold value space, It determines that the target storage space whether there is and has downloaded Internet video resource;
Video processing unit has been downloaded Internet video resource if existing for the target storage space, has been downloaded described in deletion Internet video resource.
10. Internet video download apparatus as claimed in claim 9, which is characterized in that the video processing unit includes:
Second determination unit, for determine described in downloaded Internet video resource whether watched;
Judging unit checks the watched Internet video resource if having downloaded Internet video resource watched for described Viewing progress whether be more than default viewing threshold value;
Deleting unit, if the viewing progress for the watched Internet video resource has been more than the default viewing threshold value, It has been more than the Internet video resource deletion of the default viewing threshold value by the viewing progress.
11. a kind of mobile terminal, including memory, processor and it is stored in the memory and can be on the processor The computer program of operation, which is characterized in that the processor realizes such as claim 1 to 5 when executing the computer program The step of any one the method.
12. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, feature to exist In realization is such as the step of claim 1 to 5 any one the method when the computer program is executed by processor.
CN201810077306.5A 2018-01-26 2018-01-26 A kind of Internet video method for down loading, device and computer readable storage medium Pending CN108282690A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810077306.5A CN108282690A (en) 2018-01-26 2018-01-26 A kind of Internet video method for down loading, device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810077306.5A CN108282690A (en) 2018-01-26 2018-01-26 A kind of Internet video method for down loading, device and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN108282690A true CN108282690A (en) 2018-07-13

Family

ID=62805114

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810077306.5A Pending CN108282690A (en) 2018-01-26 2018-01-26 A kind of Internet video method for down loading, device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN108282690A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110287146A (en) * 2019-06-19 2019-09-27 上海连尚网络科技有限公司 Using the method, equipment and computer storage medium of downloading
CN112788352A (en) * 2019-11-01 2021-05-11 海信电子科技(深圳)有限公司 Live broadcast time shifting method, terminal and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101909188B (en) * 2002-11-07 2013-03-13 和平集团有限公司 Video storage device and method for managing stored a plurality of video contents
CN103051955A (en) * 2012-12-21 2013-04-17 华为技术有限公司 Method and device for playing streaming media
CN103634032A (en) * 2012-08-30 2014-03-12 上海斐讯数据通信技术有限公司 Data transferring method and system and mobile terminal
CN104717561A (en) * 2015-04-05 2015-06-17 西安航空学院 Video downloading system
CN105872742A (en) * 2015-11-30 2016-08-17 乐视网信息技术(北京)股份有限公司 Network video downloading method and user terminal device
CN106354601A (en) * 2016-08-12 2017-01-25 深圳Tcl数字技术有限公司 Storage space management method and device for data partition
US20170230706A1 (en) * 2014-10-27 2017-08-10 Thomson Licensing Downloading of media based on deletion of a consumed episode of the same show
CN107566857A (en) * 2017-08-31 2018-01-09 北京奇艺世纪科技有限公司 A kind of method for downloading video, device, system, server and terminal
CN108063818A (en) * 2017-12-18 2018-05-22 深圳市中科明望通信软件有限公司 Data download method, device, terminal and computer readable storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101909188B (en) * 2002-11-07 2013-03-13 和平集团有限公司 Video storage device and method for managing stored a plurality of video contents
CN103634032A (en) * 2012-08-30 2014-03-12 上海斐讯数据通信技术有限公司 Data transferring method and system and mobile terminal
CN103051955A (en) * 2012-12-21 2013-04-17 华为技术有限公司 Method and device for playing streaming media
US20170230706A1 (en) * 2014-10-27 2017-08-10 Thomson Licensing Downloading of media based on deletion of a consumed episode of the same show
CN104717561A (en) * 2015-04-05 2015-06-17 西安航空学院 Video downloading system
CN105872742A (en) * 2015-11-30 2016-08-17 乐视网信息技术(北京)股份有限公司 Network video downloading method and user terminal device
CN106354601A (en) * 2016-08-12 2017-01-25 深圳Tcl数字技术有限公司 Storage space management method and device for data partition
CN107566857A (en) * 2017-08-31 2018-01-09 北京奇艺世纪科技有限公司 A kind of method for downloading video, device, system, server and terminal
CN108063818A (en) * 2017-12-18 2018-05-22 深圳市中科明望通信软件有限公司 Data download method, device, terminal and computer readable storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110287146A (en) * 2019-06-19 2019-09-27 上海连尚网络科技有限公司 Using the method, equipment and computer storage medium of downloading
CN110287146B (en) * 2019-06-19 2021-07-20 上海连尚网络科技有限公司 Method, device and computer storage medium for downloading application
CN112788352A (en) * 2019-11-01 2021-05-11 海信电子科技(深圳)有限公司 Live broadcast time shifting method, terminal and storage medium
CN112788352B (en) * 2019-11-01 2023-04-25 Vidaa(荷兰)国际控股有限公司 Live broadcast time shifting method, terminal and storage medium

Similar Documents

Publication Publication Date Title
CN105528229B (en) Improve the method and device that mobile terminal first powers on speed
CN105391965B (en) Video recording method based on multi-cam and device
CN105354093A (en) Memory management method and mobile terminal
CN107371221B (en) Select method, apparatus, mobile terminal and the readable storage medium storing program for executing of network
CN106033337B (en) A kind of instant messaging emoticon generation method and device
CN107171412B (en) Dynamic adjusts method, apparatus, mobile terminal and the storage medium of charging current
CN105262878B (en) The processing method and mobile terminal of call automatic recording
CN107466033B (en) Register method, device, mobile terminal and the storage medium of IMS
CN107949024A (en) AP method for handover control and device, electronic device and computer-readable recording medium
CN107948055A (en) Shielding group members send out the method, apparatus and computer-readable recording medium of message
CN107613536A (en) Select method, apparatus, mobile terminal and the readable storage medium storing program for executing of network
CN107193610A (en) A kind of loading method of dynamic base, device, terminal device and storage medium
CN106951521A (en) The reading/writing method of journal file, apparatus and system
CN107809437A (en) A kind of converged communication login method, device and computer-readable recording medium
CN107425568A (en) Prevent battery from crossing the method, apparatus put, mobile terminal and storage medium
CN109951400A (en) Instruction sending method, device, electronic equipment and the readable storage medium storing program for executing of terminal
CN107608720A (en) Using the display methods of footmark, device, mobile terminal and storage medium
CN105872980B (en) A kind of method and device scanning wireless network signal
CN105843361A (en) Method for reducing power consumption while photographing, and mobile terminal
CN106331258A (en) Call methods, call apparatus and call system
CN106488039A (en) Volume adjusting method and system, mobile terminal and playback equipment
CN106294707A (en) A kind of countdown information output intent and device
CN107871015A (en) Daily record data processing method and processing device, terminal and readable storage medium storing program for executing
CN108282690A (en) A kind of Internet video method for down loading, device and computer readable storage medium
CN106713171A (en) Server and delay-queue-based current-limiting protection system and method

Legal Events

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

Application publication date: 20180713

RJ01 Rejection of invention patent application after publication