CN109218793A - Video loading method, device, electronic equipment and computer readable storage medium - Google Patents
Video loading method, device, electronic equipment and computer readable storage medium Download PDFInfo
- Publication number
- CN109218793A CN109218793A CN201811458560.6A CN201811458560A CN109218793A CN 109218793 A CN109218793 A CN 109218793A CN 201811458560 A CN201811458560 A CN 201811458560A CN 109218793 A CN109218793 A CN 109218793A
- Authority
- CN
- China
- Prior art keywords
- video
- video data
- long
- application program
- information
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/433—Content storage operation, e.g. storage operation in response to a pause request, caching operations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
- H04N21/426—Internal components of the client ; Characteristics thereof
- H04N21/42607—Internal components of the client ; Characteristics thereof for processing the incoming bitstream
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/435—Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/442—Monitoring 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/44213—Monitoring of end-user related data
- H04N21/44218—Detecting physical presence or behaviour of the user, e.g. using sensors to detect if the user is leaving the room or changes his face expression during a TV program
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Social Psychology (AREA)
- Computer Networks & Wireless Communication (AREA)
- Databases & Information Systems (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
Embodiment of the disclosure provides a kind of video loading method, device, electronic equipment and computer readable storage medium, this method comprises: receiving the long-range pushed information of video;If carrying editable mark in long-range pushed information, the video data of video is obtained according to the video resource address information in long-range pushed information, and video data is saved to local storage space;When receiving user for the play operation of video in long-range pushed information, the video data stored in local storage space and broadcasting are obtained.In the scheme of the embodiment of the present disclosure, after receiving the long-range pushed information for carrying the video of downloading in need, video data will be obtained and be saved in local, in this way in the play operation for receiving user, the video data being locally stored and broadcasting can be directly read, it does not need just to go after the play operation for receiving user to obtain video data in real time, to effectively shorten the waiting time of user, improves the experience sense of user.
Description
Technical field
This disclosure relates to field of communication technology, specifically, this disclosure relates to a kind of video loading method, device, electronics
Equipment and computer readable storage medium.
Background technique
Long-range Push Service is that system itself controls, APP (Application, application program) nothing in electronic equipment
Method control, as long as electronic equipment receives long-range Push Service, the APP in electronic equipment will be shown on an electronic device.
In practical applications, if the content of long-range Push Service push is video, after user's point opens the video of push, meeting
The APP for playing video is initially entered, the APP for playing video recalls corresponding video page, and according to the video page load view recalled
Frequency information finally can just play video according to the video information of load.
But after the APP for playing video transfers corresponding video page, blank screen or other contents may be shown,
And video information is loaded due to taking a long time, causes for a long time play video, causes user experience poor.
Summary of the invention
The purpose of the disclosure is intended at least can solve above-mentioned one of technological deficiency, promotes the usage experience of user.This public affairs
Open the technical solution adopted is as follows::
In a first aspect, present disclose provides a kind of video loading methods, this method comprises:
Receive the long-range pushed information of video;
If editable mark is carried in long-range pushed information, according to video resource entrained in long-range pushed information
Address information obtains the video data of video, and video data is saved to local storage space;
When receiving user for the play operation of video in long-range pushed information, obtains and stored in local storage space
Video data and broadcasting.
In embodiment of the disclosure, editable is identified as the mutable_content in long-range pushed information (in variable
Holding) field identification of field is true.
In embodiment of the disclosure, video resource address information is the storage location mark of the video data of video, video
Video identifier, video video playing URL (Uniform Resource Locator, uniform resource locator) in or regard
The video cover of frequency.
In embodiment of the disclosure, if video resource address information is video identifier, taken according in long-range pushed information
The video resource address information of band obtains the video data of video, comprising:
The video acquisition information of video is obtained according to video identifier, video acquisition information is the storage of the video data of video
The video cover of station location marker, the video playing URL of video or video;
According to the video data of the video acquisition acquisition of information video of video.
In embodiment of the disclosure, before playing video data, further includes:
Determine that storage duration of the video data in local storage space is less than preset duration.
In embodiment of the disclosure, video is obtained according to video resource address information entrained in long-range pushed information
Video data, and video data is saved to local storage space, comprising:
By calling the first application program, the video of video is obtained according to video resource address information by the first application program
Data, and video data is stored in local storage space;
Obtain the video data stored in local storage space and broadcasting, comprising:
By calling the second application program, the video data stored in local storage space is obtained simultaneously by the second application program
It plays.
In embodiment of the disclosure, the video data stored in local storage space is obtained by the second application program and is broadcast
It puts, comprising:
Video data and the broadcasting of storage are obtained from local storage space by the second application program;
Alternatively,
By the second application program according to preset communication mode and the first interapplication communications, and sent out to the first application program
Send the acquisition request of video data;
By the first application program according to acquisition request, video data is obtained from local storage space, and by video data
It is sent to the second application program;
The video data and broadcasting that first application program is sent are received by the second application program.
Second aspect, present disclose provides a kind of video loading device, which includes:
Pushed information receiving module, for receiving the long-range pushed information of video;
Video data obtains module, if for carrying editable mark in long-range pushed information, according to long-range push
Entrained video resource address information obtains the video data of video in information, and video data is saved to sky is locally stored
Between;
Video playback module, for obtaining when receiving user for the play operation of video in long-range pushed information
The video data stored in local storage space and broadcasting.
In embodiment of the disclosure, editable is identified as the word of the mutable_content field in long-range pushed information
Segment identification is true.
In embodiment of the disclosure, video resource address information is the storage location mark of the video data of video, video
Video identifier, the video playing URL of video or the video cover of video.
In embodiment of the disclosure, if video resource address information is video identifier, video data obtains module in root
When obtaining the video data of video according to video resource address information entrained in long-range pushed information, it is specifically used for:
The video acquisition information of video is obtained according to video identifier, video acquisition information is the storage of the video data of video
The video cover of station location marker, the video playing URL of video or video;
According to the video data of the video acquisition acquisition of information video of video.
In embodiment of the disclosure, video playback module is also used to before playing video data:
Determine that storage duration of the video data in local storage space is less than preset duration.
In embodiment of the disclosure, video data obtains module according to video resource entrained in long-range pushed information
Address information obtains the video data of video, and when video data is saved to local storage space, is specifically used for:
By calling the first application program, the video of video is obtained according to video resource address information by the first application program
Data, and video data is stored in local storage space;
Video playback module video data for storing and when broadcasting in obtaining local storage space, is specifically used for:
By calling the second application program, the video data stored in local storage space is obtained simultaneously by the second application program
It plays.
In embodiment of the disclosure, video playback module stores in through the second application program acquisition local storage space
Video data and when broadcasting, be specifically used for:
Video data and the broadcasting of storage are obtained from local storage space by the second application program;
Alternatively,
By the second application program according to preset communication mode and the first interapplication communications, and sent out to the first application program
Send the acquisition request of video data;
By the first application program according to acquisition request, video data is obtained from local storage space, and by video data
It is sent to the second application program;
The video data and broadcasting that first application program is sent are received by the second application program.
The third aspect, present disclose provides a kind of electronic equipment, which includes processor and memory;
Memory, for storing operation operation;
Processor is executed as shown in any embodiment of the first aspect of the disclosure for being operated by call operation
Method.
Fourth aspect, present disclose provides a kind of computer readable storage medium, storage medium is stored at least one behaviour
Work, at least one section of program, code set or operation set, at least one operation, at least one section of program, code set or operation set are by handling
Device is loaded and is executed in the method as shown in any embodiment of the first aspect of the disclosure of realization.
The technical solution that the embodiment of the present disclosure provides has the benefit that
Video loading method, device, electronic equipment and the computer readable storage medium of the embodiment of the present disclosure, the disclosure are real
It applies in the scheme of example, after receiving the long-range pushed information for carrying the video of downloading in need, video data will be obtained and protected
It is stored to local, in this way in the play operation for receiving user, so that it may the video data being locally stored and broadcasting are directly read,
It does not need just to go after the play operation for receiving user to obtain video data in real time, thus when effectively shortening the waiting of user
Between, improve the experience sense of user.
Detailed description of the invention
In order to illustrate more clearly of technical solution in embodiment of the disclosure, the embodiment of the present disclosure will be described below
Needed in attached drawing be briefly described.
Fig. 1 is a kind of flow diagram for video loading method that embodiment of the disclosure provides;
Fig. 2 is a kind of schematic diagram at triggering play operation interface that embodiment of the disclosure provides;
Fig. 3 is a kind of structural schematic diagram for video loading device that embodiment of the disclosure provides;
Fig. 4 is the structural schematic diagram for a kind of electronic equipment that embodiment of the disclosure provides.
Specific embodiment
Embodiment of the disclosure is described below in detail, the example of the embodiment is shown in the accompanying drawings, wherein phase from beginning to end
Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached drawing
The embodiment of description is exemplary, and is only used for explaining the Sense of Technology of the disclosure, and cannot be construed to the limitation to the disclosure.
Those skilled in the art of the present technique are appreciated that unless expressly stated, singular " one " used herein, "one"
It may also comprise plural form with "the".It is to be further understood that wording " comprising " used in the specification of the disclosure is
Refer to that there are this feature, integer, step, operation, element and/or component, but it is not excluded that in the presence of or addition it is one or more its
His feature, integer, step, operation, element, component and/or their group.It should be understood that when we claim element be " connected " or
When " coupled " to another element, it can be directly connected or coupled to other elements, or there may also be intermediary elements.This
Outside, " connection " or " coupling " used herein may include being wirelessly connected or wirelessly coupling.Wording "and/or" packet used herein
Include one or more associated wholes for listing item or any cell and all combination.
How the technical solution of the disclosure and the technical solution of the disclosure are solved with specifically embodiment below above-mentioned
Technical problem is described in detail.These specific embodiments can be combined with each other below, for the same or similar concept
Or process may repeat no more in certain embodiments.Below in conjunction with attached drawing, embodiment of the disclosure is described.
Embodiment of the disclosure provides a kind of video loading method, as shown in Figure 1, this method may include:
Step S110 receives the long-range pushed information of video.
Step S120, if carrying editable mark in long-range pushed information, according to entrained in long-range pushed information
Video resource address information obtain the video data of video, and video data is saved to local storage space.
Step S130, when receiving user for the play operation of video in long-range pushed information, acquisition is locally stored
The video data stored in space and broadcasting.
It, will after receiving the long-range pushed information for carrying the video of downloading in need in the scheme of the embodiment of the present disclosure
It obtains video data and is saved in local, in this way in the play operation for receiving user, so that it may directly read and be locally stored
Video data and broadcasting, do not need just to go after the play operation for receiving user to obtain video data in real time, thus effectively
The waiting time for shortening user improves the experience sense of user.
It describes in detail below to a kind of video loading method of the embodiment of the present disclosure.
Step S110 receives the long-range pushed information of video.
Wherein, the long-range pushed information of video refer to Server remote push carry disappearing for video related information
Breath, wherein video related information can be address or other information that can get video for obtaining video, according to this
The video related information of long-range pushed information, the available video data to associated video.
Step S120, if editable mark is carried in long-range pushed information, according to the video in long-range pushed information
The video data of resource address acquisition of information video, and video data is saved to local storage space.
Wherein, the editable mark carried in long-range pushed information indicates the content in received long-range pushed information
It can be modified.When carrying editable mark in long-range PUSH message, also need to carry energy in long-range PUSH message
The address information for the content being enough modified, in the embodiments of the present disclosure, the long-range long-range pushed information for pushing information as video,
Corresponding address information is video resource address information, can be used to get the information of the specific video data of video.
In the embodiments of the present disclosure, editable mark can be the mutable_content field in long-range pushed information
Field identification be true.
In practical applications, the field identification for indicating mutable_content field is that genuine manifestation mode exists very much
Mode, for example the value of mutable_content can be used to be expressed as very, can specifically being write as " " mutable- for 1
Content ": 1 ", the value of mutable_content can also be used to be expressed as the modes such as very for ture, the embodiment of the present disclosure is not
It limits.
In embodiment of the disclosure, video resource address information is the storage location mark of the video data of video, video
Video identifier, the video playing URL of video or the video cover of video.
Wherein, when the storage location mark for the video data that video resource address information is video, video can be indicated
Data have stored in some memory space, storage location mark i.e. for identify which position be especially stored in, in this way when
After known as memory station location marker, so that it may get corresponding video data according to storage location mark, and video data is protected
It deposits to local storage space.Similarly, it when video resource address information is video playing URL, can be broadcast at this time according to video
It puts URL and obtains video data to server corresponding with the URL, then save video data to local storage space.
It should be noted that server corresponding to above-mentioned video playing URL and the long-range server for pushing information of transmission,
It can be same server, be also possible to different servers.
In embodiment of the disclosure, if video resource address information is video identifier, according to institute in long-range pushed information
The video resource address information of carrying obtains the video data of video, comprising:
The video acquisition information of video is obtained according to video identifier, video acquisition information is the storage of the video data of video
The video cover of station location marker, the video playing URL of video or video;
According to the video data of the video acquisition acquisition of information video of video.
In practical applications, it when video resource address information is the video identifier of video, is needed at this time according to video mark
Know the view video acquisition information that whereabouts server obtains video, wherein can be comprising obtaining video data in video acquisition information
The storage location of required video data identifies or the video cover of the video playing URL of video and video, thus
Can the video data according to included in video acquisition information storage location mark or the video playing URL of video go
The video data of video is obtained, the video data that then will acquire is saved to local storage space.
Step S130, when receiving user for the play operation of video in long-range pushed information, acquisition is locally stored
The video data stored in space and broadcasting.
Wherein, play operation indicates that user wants to play the video in long-range pushed information, i.e. user starts for triggering
The movement of video is played, the specific implementation form of the operation configures as needed, for example, the play operation can be user in electricity
To the click action of specified operating position corresponding in long-range pushed information on the display interface of sub- equipment, such as clicks and remotely push away
The operation of dynamic information, or click the operation of video resource address information (such as video playing URL).In the program, detecting
To after the play operation, the video in local storage space and broadcasting can be obtained based on the operation of user.
In practical applications, the play operation for receiving user can be identified by the associated trigger of client, wherein triggering mark
The concrete form of knowledge can configure according to actual needs, for example, can be specified trigger button or the input on client end interface
Frame can also be the phonetic order of user, or specified touch action, specifically, can be the display interface in electronic equipment
The broadcasting virtual push button of video in the upper long-range pushed information of display, the operation of user's click play virtual push button is user's broadcasting
Operation, or as shown in Fig. 2, showing the long-range pushed information of video on the display interface of electronic equipment after, user directly touches
Touching the long-range pushed information shown on display interface is user's play operation.Further, when receiving user for long-range
In pushed information after the play operation of video, so that it may obtain the video data of storage from local storage space, and will acquire
Video data play.
In practical applications, after distance service device sends long-range pushed information one end time, in long-range pushed information
The information of video may change, that is to say, that server may be updated the information of video, in order to avoid the time
After too long, what user will not watch is expired video, in order to guarantee that video is last updated video, in disclosure reality
It applies in example, before playing video data, can also include:
Determine that storage duration of the video data in local storage space is less than preset duration.
Wherein it is determined that the specific moment that storage duration of the video data in local storage space is less than preset duration can
With there are various ways, a kind of optional mode is to receive user for the play operation of video in long-range pushed information
Afterwards, judge whether storage duration of the video data in local storage space is more than preset duration, when determining without super multiple preset
After duration, then obtain from local storage space the video data of storage, however, it is determined that storage duration exceeds preset duration, then can be with
The video data of video is obtained from server by the way of the prior art.
In one example, available to deposit after receiving user for the play operation of video in long-range pushed information
The time identifier (timestamp when such as by video storage to local storage space) for storing up video data, according to the time identifier of acquisition
Determine whether storage duration is more than preset duration.For example preset duration is set as 2 hours, and it is true according to the time identifier got
The set a distance current time is 2.5 hours, has exceeded preset duration 2 hours, has needed the weight by the way of the prior art at this time
The new video data for obtaining video.
In the embodiments of the present disclosure, this method can also include:
Judge whether storage duration of the video data in local storage space is greater than preset duration threshold value, if so,
Delete the video data in local storage space.
Due in the embodiment of the present disclosure after receiving the long-range pushed information of video, will be according in long-range pushed information
Video resource address information obtain the video data of video, and video data is saved to local storage space, if for a long time
Triggering user is not received by for the play operation of video in long-range pushed information, then user is likely to right in pushed information
The video answered is lost interest in, it is also possible to which the video data being locally stored is expired, but the video data can occupy always this
Therefore ground memory space, the waste that can thus have a degree of resource memory space work as video counts in practical applications
According to the storage duration in local storage space more than after duration threshold value, it can delete and get video data, and then to discharge
Resource memory space.Wherein, duration threshold value refers to work at the time of the video data that will acquire video is stored in local spatial
For the initial time of duration threshold value.Wherein, which may be the same or different with above-mentioned preset duration, such as default
Duration can be 2 hours, and duration threshold value can be 3 hours.
In one example, can configure duration threshold value be 2 hours, will acquire video data store local spatial when
It carves and is used as 2 hours initial times, when small apart from initial time arrival 2, then the video data that can will acquire is from storage
It is deleted in space, to reach the purpose of release resource memory space.
In addition, in practical applications, if above-mentioned duration threshold value is equal to preset duration, in another optional mode,
After user is received for the play operation of video in long-range pushed information, i.e., the video of storage is obtained from local storage space
Data illustrate to store duration without departing from preset duration, if not getting storage if the video data of storage can be returned
Video data then illustrates that storing duration has exceeded preset duration, is obtained by the way of the prior art from server again at this time
The video data of video.
In one example, it is assumed that duration threshold value and preset duration are set as 2 hours, receive user for long-range push letter
In breath after the play operation of video, i.e., the video data of storage is obtained from local storage space, but do not get storage
Video data, illustrate current distance storage time exceeded duration threshold value 2 hours, the video data of storage may be
It is deleted, just needs to reacquire the video data of video at this time from server by the way of the prior art;If at this time can be with
The video data of storage is got, then illustrates that the time of current distance storage not departing from other duration threshold value, then can continue
From this east, storage memory space obtains the video data of storage.
In the embodiments of the present disclosure, video is obtained according to video resource address information entrained in long-range pushed information
Video data, and video data is saved to local storage space, comprising:
By calling the first application program, the video of video is obtained according to video resource address information by the first application program
Data, and video data is stored in local storage space;
Obtain the video data stored in local storage space and broadcasting, comprising:
By calling the second application program, the video data stored in local storage space is obtained simultaneously by the second application program
It plays.
It in practical applications, can be by electricity after receiving the long-range pushed information for carrying the video of editable mark
The first application program installed inside sub- equipment obtains the view of video according to the video resource address information in long-range pushed information
Frequency evidence, the video data that then will acquire are stored in local storage space.Wherein it is possible to the video data that will acquire store to
First application program is in local corresponding memory space.
Further, after receiving user for the play operation of video in long-range pushed information, inside can be passed through
The second application program for playing the video of installation is default to be obtained the video data of storage and is broadcast from local storage space
It puts.
Wherein, the first application program and the second application program are configurable to respectively independently installed application program, can also
It, i.e., in practical applications can be by the first application to configure an application program for the first application program and the second application program
Program is set as one plug-in unit of the second application program.
In one example, the first application program is the application program A of installation, and the second application program is the application program of installation
B, application program A are identified as a local corresponding memory space, after receiving the long-range pushed information of video, using journey
The video data that sequence A obtains the video data of video according to the video resource address information in remote message, and will acquire saves
To the local storage space for being identified as a;After user is received for the play operation of video in long-range pushed information, using journey
Sequence B obtains video data and the broadcasting of video out of local storage space that be identified as a.
In the embodiments of the present disclosure, the video data stored in local storage space is obtained by the second application program and broadcast
It puts, comprising:
Video data and the broadcasting of storage are obtained from local storage space by the second application program;Alternatively,
By the second application program according to preset communication mode and the first interapplication communications, and sent out to the first application program
Send the acquisition request of video data;
By the first application program according to acquisition request, video data is obtained from local storage space, and by video data
It is sent to the second application program;
The video data and broadcasting that first application program is sent are received by the second application program.
In practical applications, the first application program can be pre-configured with and the second application program is allowed to from this storage
Read data in space.Further, after receiving play operation, the second application program can be directly from local storage space
The middle video data for obtaining storage and broadcasting.
In one example, the second application program is the application program B of installation, the video that application program B known as memory obtains
The memory space position of data, and allow to read data from this memory space, the video data of acquisition is saved to being identified as a
Local storage space in.After receiving play operation, application program B can be obtained out of local storage space that be identified as a
It gets video data and plays.
Similarly, the first application program can also be pre-configured with to allow to read data from this memory space, the second application
Program does not allow to read data from this memory space.It in this case, can be by second after receiving play operation
Application program is according to preset communication mode and the acquisition request for sending video data to the first application program, when first using journey
After sequence receives acquisition request, video data can be obtained from local storage space according to acquisition request, and by video data
It is sent to the second application program, the second application program can play view after receiving the video data that the first application program is sent
Frequently.Wherein, preset communication mode can be pre-configured sharing mode etc..
In one example, the first application program is the application program A of installation, and application program A is allowed to from this storage sky
Between read data, the second application program is the application program B of installation, and application program B does not allow to read data from this memory space,
The video data of acquisition is saved to the local storage space for being identified as a, and preset communication mode is sharing mode X.It is receiving
To after play operation, application program B works as application according to sharing mode X and the acquisition request for sending video data to application program A
After program A receives acquisition request, from acquisition video data middle in the local storage space for be identified as a, and by video data transmitting
Application program B is given, application program B plays video after receiving the video data that application program A is sent.
In the embodiments of the present disclosure, before the video for playing long-range PUSH message, it is thus necessary to determine that video data is in local
Storage duration in memory space is less than preset duration, that is to say, that the second application program is before playing video, it is also necessary to
Judge whether storage duration of the video data in local storage space is more than preset duration by the second application program.Wherein,
It which mode can specifically see if fall out preset duration using and see if fall out the mode class of preset duration among the above
Seemingly, above-described embodiment can be referred in practical applications, and details are not described herein again.
Based on the same principle with method shown in Fig. 1, a kind of video loading device is additionally provided in embodiment of the disclosure
20, as shown in figure 3, the device 20 may include: pushed information receiving module 210, video data acquisition module 220 and video
Playing module 230, wherein
Pushed information receiving module 210, for receiving the long-range pushed information of video;
Video data obtains module 220, if basis remotely pushes away for carrying editable mark in long-range pushed information
Entrained video resource address information in breath of delivering letters obtains the video data of video, and video data is saved to being locally stored
Space;
Video playback module 230, for obtaining when receiving user for the play operation of video in long-range pushed information
Take the video data stored in local storage space and broadcasting.
The method of the embodiment of the present disclosure in the scheme of the embodiment of the present disclosure, receives the video for carrying downloading in need
After long-range pushed information, video data will be obtained and be saved in local, in this way in the play operation for receiving user, so that it may
To directly read the video data being locally stored and broadcasting, do not need just to go to obtain in real time after the play operation for receiving user
Video data improves the experience sense of user to effectively shorten the waiting time of user.
In embodiment of the disclosure, editable is identified as the word of the mutable_content field in long-range pushed information
Segment identification is true.
In embodiment of the disclosure, video resource address information is the storage location mark of the video data of video, video
Video identifier, the video playing uniform resource position mark URL of video or the video cover of video.
In embodiment of the disclosure, if video resource address information is video identifier, video data obtains module in root
When obtaining the video data of video according to video resource address information entrained in long-range pushed information, it is specifically used for:
The video acquisition information of video is obtained according to video identifier, video acquisition information is the storage of the video data of video
The video cover of station location marker, the video playing URL of video or video;
According to the video data of the video acquisition acquisition of information video of video.
In embodiment of the disclosure, video playback module is also used to before playing video data:
Determine that storage duration of the video data in local storage space is less than preset duration.
In embodiment of the disclosure, video data obtains module and provides according to video entrained in long-range pushed information
Source address information obtains the video data of video, and when video data is saved to local storage space, is specifically used for:
By calling the first application program, the video of video is obtained according to video resource address information by the first application program
Data, and video data is stored in local storage space;
Video playback module video data for storing and when broadcasting in obtaining local storage space, is specifically used for:
By calling the second application program, the video data stored in local storage space is obtained simultaneously by the second application program
It plays.
In embodiment of the disclosure, video playback module stores in through the second application program acquisition local storage space
Video data and when broadcasting, be specifically used for:
Video data and the broadcasting of storage are obtained from local storage space by the second application program;
Alternatively,
By the second application program according to preset communication mode and the first interapplication communications, and sent out to the first application program
Send the acquisition request of video data;
By the first application program according to acquisition request, video data is obtained from local storage space, and by video data
It is sent to the second application program;
The video data and broadcasting that first application program is sent are received by the second application program.
A kind of video load side provided by embodiment of the disclosure can be performed in the video loading device of the embodiment of the present disclosure
Method, realization principle is similar, movement performed by each module in video loading device in each embodiment of the disclosure be with
The step in video loading method in each embodiment of the disclosure is corresponding, for video loading device each module it is detailed
Function description specifically may refer to hereinbefore shown in description in corresponding video loading method, details are not described herein again.
Based on principle identical with the video loading method in embodiment of the disclosure, also provided in embodiment of the disclosure
A kind of electronic equipment, the electronic equipment can include but is not limited to: processor and memory;Memory is calculated for storing
Machine operational order;Processor, for by calling computer operation instruction to execute method shown in embodiment.
Based on principle identical with the video loading method in embodiment of the disclosure, also provided in embodiment of the disclosure
A kind of computer readable storage medium, the storage medium are stored at least one operation, at least one section of program, code set or behaviour
Work collects, and at least one operation, at least one section of program, code set or operation set are loaded by processor and executed to realize above-mentioned implementation
Method shown in example, details are not described herein.
The method of the embodiment of the present disclosure in the scheme of the embodiment of the present disclosure, receives the video for carrying downloading in need
After long-range pushed information, video data will be obtained and be saved in local, in this way in the play operation for receiving user, so that it may
To directly read the video data being locally stored and broadcasting, do not need just to go to obtain in real time after the play operation for receiving user
Video data improves the experience sense of user to effectively shorten the waiting time of user.
Below with reference to Fig. 4, it illustrates the structural schematic diagram for the electronic equipment 40 for being suitable for being used to realize the embodiment of the present disclosure,
The electronic equipment 400 can be terminal device or server.Wherein, terminal device can include but is not limited to such as move electricity
Words, laptop, digit broadcasting receiver, PDA (personal digital assistant), PAD (tablet computer), PMP (portable multimedia
Player), the mobile terminal and such as number TV, desktop computer etc. of car-mounted terminal (such as vehicle mounted guidance terminal) etc.
Fixed terminal.Electronic equipment shown in Fig. 4 is only an example, should not function and use scope to the embodiment of the present disclosure
Bring any restrictions.
As shown in figure 4, electronic equipment 400 may include processing unit (such as central processing unit, graphics processor etc.)
401, random access can be loaded into according to the program being stored in read-only memory (ROM) 402 or from storage device 408
Program in memory (RAM) 403 and execute various movements appropriate and processing.In RAM 403, it is also stored with electronic equipment
Various programs and data needed for 400 operations.Processing unit 401, ROM 402 and RAM 403 pass through the phase each other of bus 404
Even.Input/output (I/O) interface 405 is also connected to bus 404.
In general, following device can connect to I/O interface 405: including such as touch screen, touch tablet, keyboard, mouse, taking the photograph
As the input unit 406 of head, microphone, accelerometer, gyroscope etc.;Including such as liquid crystal display (LCD), loudspeaker, vibration
The output device 407 of dynamic device etc.;Storage device 408 including such as tape, hard disk etc.;And communication device 409.Communication device
409, which can permit electronic equipment 400, is wirelessly or non-wirelessly communicated with other equipment to exchange data.Although Fig. 4 shows tool
There is the electronic equipment 400 of various devices, it should be understood that being not required for implementing or having all devices shown.It can be with
Alternatively implement or have more or fewer devices.
Particularly, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description
Software program.For example, embodiment of the disclosure includes a kind of computer program product comprising be carried on computer-readable medium
On computer program, which includes the program code for method shown in execution flow chart.In such reality
It applies in example, which can be downloaded and installed from network by communication device 409, or from storage device 408
It is mounted, or is mounted from ROM 402.When the computer program is executed by processing unit 401, the embodiment of the present disclosure is executed
Method in the above-mentioned function that limits.
It should be noted that the above-mentioned computer-readable medium of the disclosure can be computer-readable signal media or meter
Calculation machine readable storage medium storing program for executing either the two any combination.Computer readable storage medium for example can be --- but not
Be limited to --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or any above combination.Meter
The more specific example of calculation machine readable storage medium storing program for executing can include but is not limited to: have the electrical connection, just of one or more conducting wires
Taking formula computer disk, hard disk, random access storage device (RAM), read-only memory (ROM), erasable type may be programmed read-only storage
Device (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device,
Or above-mentioned any appropriate combination.In the disclosure, computer readable storage medium can be it is any include or storage journey
The tangible medium of sequence, the program can be commanded execution system, device or device use or in connection.And at this
In open, computer-readable signal media may include in a base band or as the data-signal that carrier wave a part is propagated,
In carry computer-readable program code.The data-signal of this propagation can take various forms, including but not limited to
Electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be computer-readable and deposit
Any computer-readable medium other than storage media, the computer-readable signal media can send, propagate or transmit and be used for
By the use of instruction execution system, device or device or program in connection.Include on computer-readable medium
Program code can transmit with any suitable medium, including but not limited to: electric wire, optical cable, RF (radio frequency) etc. are above-mentioned
Any appropriate combination.
Above-mentioned computer-readable medium can be included in above-mentioned electronic equipment;It is also possible to individualism, and not
It is fitted into the electronic equipment.
Above-mentioned computer-readable medium carries one or more program, when said one or multiple programs are by the electricity
When sub- equipment executes, so that the electronic equipment executes method shown in above-described embodiment.
The calculating of the operation for executing the disclosure can be write with one or more programming languages or combinations thereof
Machine program code, above procedure design language include object oriented program language-such as Java, Smalltalk, C+
+, it further include conventional procedural programming language-such as " C " language or similar programming language.Program code can
Fully to execute, partly execute on the user computer on the user computer, be executed as an independent software package,
Part executes on the remote computer or executes on a remote computer or server completely on the user computer for part.
In situations involving remote computers, remote computer can pass through the network of any kind --- including local area network (LAN)
Or wide area network (WAN)-is connected to subscriber computer, or, it may be connected to outer computer (such as utilize Internet service
Provider is connected by internet).
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the disclosure, method and computer journey
The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation
A part of one module, program segment or code of table, a part of the module, program segment or code include one or more use
The executable instruction of the logic function as defined in realizing.It should also be noted that in some implementations as replacements, being marked in box
The function of note can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are actually
It can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it to infuse
Meaning, the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart can be with holding
The dedicated hardware based system of functions or operations as defined in row is realized, or can use specialized hardware and computer instruction
Combination realize.
Being described in unit involved in the embodiment of the present disclosure can be realized by way of software, can also be by hard
The mode of part is realized.Wherein, the title of unit does not constitute the restriction to the unit itself under certain conditions, for example, the
One acquiring unit is also described as " obtaining the unit of at least two internet protocol addresses ".
Above description is only the preferred embodiment of the disclosure and the explanation to institute's application technology principle.Those skilled in the art
Member is it should be appreciated that the open scope involved in the disclosure, however it is not limited to technology made of the specific combination of above-mentioned technical characteristic
Scheme, while should also cover in the case where not departing from design disclosed above, it is carried out by above-mentioned technical characteristic or its equivalent feature
Any combination and the other technical solutions formed.Such as features described above has similar function with (but being not limited to) disclosed in the disclosure
Can technical characteristic replaced mutually and the technical solution that is formed.
Claims (10)
1. a kind of video loading method characterized by comprising
Receive the long-range pushed information of video;
If editable mark is carried in the long-range pushed information, according to video entrained in the long-range pushed information
The video data of video described in resource address acquisition of information, and the video data is saved to local storage space;
When receiving play operation of the user for video described in the long-range pushed information, obtain in local storage space
The video data of storage simultaneously plays.
2. the method according to claim 1, wherein the editable is identified as in the long-range pushed information
The field identification of variable content mutable_content field is true.
3. the method according to claim 1, wherein the video resource address information is the video of the video
The storage location marks of data, the video playing uniform resource position mark URL of the video identifier of the video, the video or
The video cover of the video.
4. according to the method described in claim 3, if the video resource address information be the video identifier, it is described according to institute
State the video data that video resource address information entrained in long-range pushed information obtains the video, comprising:
The video acquisition information of the video is obtained according to the video identifier, the video acquisition information is the view of the video
The video cover of the storage location mark of frequency evidence, the video playing URL of the video or the video;
According to the video data of video described in the video acquisition acquisition of information of the video.
5. the method according to claim 1, wherein before the broadcasting video counts, further includes:
Determine that storage duration of the video data in the local storage space is less than preset duration.
6. the method according to claim 1, wherein described according to view entrained in the long-range pushed information
The video data of video described in frequency resource address acquisition of information, and the video data is saved to local storage space, comprising:
By calling the first application program, the view is obtained according to the video resource address information by first application program
The video data of frequency, and the video data is stored in local storage space;
The video data that stores in the acquisition local storage space simultaneously plays, comprising:
By calling the second application program, the video counts stored in local storage space are obtained by second application program
According to and play.
7. according to the method described in claim 6, it is characterized in that, described be locally stored sky by second application program acquisition
Between middle storage the video data and play, comprising:
The video data of storage is obtained from local storage space by second application program and is played;
Alternatively,
By second application program according to preset communication mode and first interapplication communications, and answered to described first
The acquisition request of the video data is sent with program;
By first application program according to the acquisition request, the video data is obtained from local storage space, and will
The video data is sent to second application program;
The video data of the first application program transmission is received by second application program and is played.
8. a kind of video loading device characterized by comprising
Pushed information receiving module, for receiving the long-range pushed information of video;
Video data obtains module, if for carrying editable mark in the long-range pushed information, according to described long-range
Entrained video resource address information obtains the video data of the video in pushed information, and the video data is saved
To local storage space;
Video playback module, for when receiving play operation of the user for video described in the long-range pushed information,
It obtains the video data stored in local storage space and plays.
9. a kind of electronic equipment characterized by comprising
Processor and memory;
The memory, for storing computer operation instruction;
The processor, for executing any one of the claims 1 to 7 institute by calling the computer operation instruction
The method stated.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium
Program, the storage medium are stored at least one instruction, at least one section of program, code set or instruction set, and described at least one
Instruction, at least one section of program, the code set or the instruction set are loaded by the processor and are executed to realize aforesaid right
It is required that method described in any one of 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811458560.6A CN109218793A (en) | 2018-11-30 | 2018-11-30 | Video loading method, device, electronic equipment and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811458560.6A CN109218793A (en) | 2018-11-30 | 2018-11-30 | Video loading method, device, electronic equipment and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109218793A true CN109218793A (en) | 2019-01-15 |
Family
ID=64994782
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811458560.6A Pending CN109218793A (en) | 2018-11-30 | 2018-11-30 | Video loading method, device, electronic equipment and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109218793A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109729419A (en) * | 2018-12-26 | 2019-05-07 | 上海众源网络有限公司 | Pushing video preloads method, apparatus, electronic equipment and storage medium |
CN112866782A (en) * | 2020-12-30 | 2021-05-28 | 北京五八信息技术有限公司 | Video playing method, video playing device and electronic equipment |
CN113395529A (en) * | 2021-06-11 | 2021-09-14 | 重庆农村商业银行股份有限公司 | Video recording reading method, device, equipment and storage medium |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101667143A (en) * | 2009-09-18 | 2010-03-10 | 北京中星微电子有限公司 | Video data processing system and method |
CN101707635A (en) * | 2009-12-25 | 2010-05-12 | 中国海洋大学 | Internet-based resource supplying system |
CN104469143A (en) * | 2014-09-30 | 2015-03-25 | 腾讯科技(深圳)有限公司 | Video sharing method and device |
CN104809223A (en) * | 2015-05-04 | 2015-07-29 | 卓易畅想(北京)科技有限公司 | Method and device for supplying application content search result in application |
KR20150101369A (en) * | 2014-02-26 | 2015-09-03 | 엘지전자 주식회사 | Digital device and method of processing video data thereof |
CN105430435A (en) * | 2015-11-25 | 2016-03-23 | 传线网络科技(上海)有限公司 | Method and system for pushing video file download in IOS system |
CN105871804A (en) * | 2015-12-11 | 2016-08-17 | 乐视网信息技术(北京)股份有限公司 | Method, system and server for pushing video file |
CN105975484A (en) * | 2016-04-25 | 2016-09-28 | 乐视控股(北京)有限公司 | File management method and apparatus |
CN106851413A (en) * | 2015-12-07 | 2017-06-13 | 北京奇虎科技有限公司 | Method for processing video frequency and mobile terminal |
WO2017124457A1 (en) * | 2016-01-23 | 2017-07-27 | 陈学良 | Method for automatically downloading video for offline viewing, and video system |
-
2018
- 2018-11-30 CN CN201811458560.6A patent/CN109218793A/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101667143A (en) * | 2009-09-18 | 2010-03-10 | 北京中星微电子有限公司 | Video data processing system and method |
CN101707635A (en) * | 2009-12-25 | 2010-05-12 | 中国海洋大学 | Internet-based resource supplying system |
KR20150101369A (en) * | 2014-02-26 | 2015-09-03 | 엘지전자 주식회사 | Digital device and method of processing video data thereof |
CN104469143A (en) * | 2014-09-30 | 2015-03-25 | 腾讯科技(深圳)有限公司 | Video sharing method and device |
CN104809223A (en) * | 2015-05-04 | 2015-07-29 | 卓易畅想(北京)科技有限公司 | Method and device for supplying application content search result in application |
CN105430435A (en) * | 2015-11-25 | 2016-03-23 | 传线网络科技(上海)有限公司 | Method and system for pushing video file download in IOS system |
CN106851413A (en) * | 2015-12-07 | 2017-06-13 | 北京奇虎科技有限公司 | Method for processing video frequency and mobile terminal |
CN105871804A (en) * | 2015-12-11 | 2016-08-17 | 乐视网信息技术(北京)股份有限公司 | Method, system and server for pushing video file |
WO2017124457A1 (en) * | 2016-01-23 | 2017-07-27 | 陈学良 | Method for automatically downloading video for offline viewing, and video system |
CN105975484A (en) * | 2016-04-25 | 2016-09-28 | 乐视控股(北京)有限公司 | File management method and apparatus |
Non-Patent Citations (3)
Title |
---|
188WO: "Java后台向苹果APNS推送文字,图片,视频功能", 《CSDN》 * |
一缕殇流化隐半边冰霜: "【WWDC2016 Session】iOS 10 推送Notification新特", 《COCOA》 * |
毅个天亮 (/U/C164C2FF5BC7): "iOS推送小结", 《简书》 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109729419A (en) * | 2018-12-26 | 2019-05-07 | 上海众源网络有限公司 | Pushing video preloads method, apparatus, electronic equipment and storage medium |
CN109729419B (en) * | 2018-12-26 | 2021-09-21 | 上海众源网络有限公司 | Push video preloading method and device, electronic equipment and storage medium |
CN112866782A (en) * | 2020-12-30 | 2021-05-28 | 北京五八信息技术有限公司 | Video playing method, video playing device and electronic equipment |
CN113395529A (en) * | 2021-06-11 | 2021-09-14 | 重庆农村商业银行股份有限公司 | Video recording reading method, device, equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109727301A (en) | Generate method, apparatus, electronic equipment and the storage medium of dynamic wallpaper | |
CN110781373B (en) | List updating method and device, readable medium and electronic equipment | |
CN109697100A (en) | Conversation message display processing method and device | |
CN108021642A (en) | Application program recommends method, apparatus, mobile terminal and storage medium | |
CN106068525A (en) | Advertising message update method and device | |
CN109218793A (en) | Video loading method, device, electronic equipment and computer readable storage medium | |
CN111309415B (en) | User Interface (UI) information processing method and device of application program and electronic equipment | |
CN109992732A (en) | Information sharing method, device, electronic equipment and storage medium | |
CN114217707B (en) | Sharing method, sharing device, electronic equipment and storage medium | |
CN111432001B (en) | Method, apparatus, electronic device and computer readable medium for jumping scenes | |
CN109996125A (en) | Generate method, apparatus, electronic equipment and the storage medium of video list | |
JP2023528398A (en) | Live distribution room creation method, device, electronic device and storage medium | |
CN109857325A (en) | Display interface switching method, electronic equipment and computer readable storage medium | |
CN110336592B (en) | Data transmission method suitable for Bluetooth card reader, electronic equipment and storage medium | |
CN110618768B (en) | Information presentation method and device | |
CN111309496A (en) | Method, system, device, equipment and storage medium for realizing delay task | |
CN113766303B (en) | Multi-screen interaction method, device, equipment and storage medium | |
CN103685295A (en) | Method, terminal and system for downloading multimedia files | |
CN111225255B (en) | Target video push playing method and device, electronic equipment and storage medium | |
CN113163483B (en) | Timestamp updating method and device and electronic equipment | |
CN108848122A (en) | For pushed information, show the method and apparatus of information | |
CN110147368A (en) | Data capture method and device for server | |
CN113709573B (en) | Method, device, equipment and storage medium for configuring video special effects | |
CN112688793B (en) | Data packet obtaining method and device and electronic equipment | |
WO2020224295A1 (en) | Information management method, device, and system |
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: 20190115 |
|
RJ01 | Rejection of invention patent application after publication |