Specific embodiment
The embodiment of the present application provides the method and playback equipment of a kind of display caching progress, for playing Online Video
When stream, Online Video stream is cached to local and display caching progress.
The description and claims of this application and term " first ", " second ", " third ", " in above-mentioned attached drawing
The (if present)s such as four " are to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should manage
The data that solution uses in this way are interchangeable under appropriate circumstances, so that the embodiments described herein can be in addition to illustrating herein
Or the sequence other than the content of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that
Cover it is non-exclusive include, for example, containing the process, method, system, product or equipment of a series of steps or units need not limit
In step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, produce
The other step or units of product or equipment inherently.Below in conjunction with the attached drawing in the embodiment of the present application, in the embodiment of the present application
Technical solution be clearly and completely described, it is clear that described embodiments are only a part of embodiments of the present application, and
The embodiment being not all of.
Referring to Fig. 1, Fig. 1 is a kind of embodiment of the method for possible display caching progress provided by the embodiments of the present application
The method of schematic diagram, the display caching progress can be based on audio/video decoding library FFmpeg, so-called FFmpeg, it will be appreciated that for one kind
For recording, converted digital audio, video, and the open source computer program of stream can be translated into.Including:
101, determine that target video is online order video according to the address of target video;
It should be noted that the embodiment of the present application can be applied to playback equipment such as video website client
In MediaDecoder audio/video decoding module, which can decode live video and point
Broadcast video.When MediaDecoder audio/video decoding module receives the video address of a character string type, if the address
For effective address, that MediaDecoder audio/video decoding module can be decoded the corresponding video of the video address, wherein
The video address can be network address, be also possible to local file path, specifically herein without limitation.However, due to live streaming
The video flowing caching mechanism of video and order video is not identical, therefore before being decoded to video, with need to judging the video
The corresponding video in location is order video or live video.When the corresponding video of video address is online order video, then
Execute step 102.
Therefore playback equipment determines target video according to the address of the target video after receiving the address of target video
For online order video.Specific method of determination may comprise steps of:
Step 1a:The Open method provided by MediaDecoder audio/video decoding module, calls FFmpeg's
Avformat_open_input function opens the address of target video, and obtaining a type is AvFormatContext's
Structure.If obtained successfully, 1b is thened follow the steps;
Step 1b:Fopen function is called, the address of target video is inputted in the fopen function, obtains fopen function
Return value.If the return value is 0, then it represents that the target video is Online Video;If the return value is not 0, then it represents that the mesh
Mark video is a local file.After determining the target video is Online Video, then execute step 1c;
Step 1c:When the address of target video meets prerequisite, determine that the target video is online order video.
Specifically, the name field of the iformat member in AvFormatContext structure got in judgment step 1a whether etc.
In " hls, applehttp " illustrate that target video is an online order video stream, i.e. the embodiment of the present application if being equal to
Subsequent order video to be treated;Illustrate that the target video is an online live video stream if being not equal to, at this
It is not processed in application embodiment.
It should be noted that determining that target video is that online program request regards according to the address of target video in practical application
There are many modes of frequency, specifically no longer repeats one by one herein.
102, the index file of target video is obtained;
In the embodiment of the present application, which can be for based on hypertext transfer protocol (hyper text
Transfer protocol, HTTP) real time flow medium (HTTP live streaming, HLS) agreement HLS video flowing.Its
In, so-called HLS protocol, for Apple Inc. (Apple Inc) realize a kind of streaming media transmission protocol, it can be achieved that Streaming Media it is straight
It broadcasts and program request;The characteristics of HLS video flowing is exactly the broadcasting index that a complete video is divided into a playlist.m3u8
The transmitting stream (transport stream, TS) of file and N number of fragment neglects frequency file, and each TS neglects frequency file and is
A part of this complete video, i.e., N number of TS small video constitute the complete video.It should be noted that
Playlist.m3u8 is played in index file, contains the network address of all TS fragment videos by playing sequence, and each
The playing duration of TS fragment video.Therefore, index file is played for the playlist.m3u8, it is complete that this can be calculated
The total duration of video.And in time point location, by the given time, specific TS fragment video is navigated to.
Therefore, it is based on the recognition, is determining that target video is to obtain the target video after the order video of line
Index file, wherein the index file includes the network for forming the multiple fragment videos of the target video according to playing sequence
Location and playing duration corresponding to each fragment video.The method for specifically obtaining the index file of the target video may include with
Lower step:
Step 2a:Initialize HlsDemuxer class;
In MediaDecoder audio/video decoding module, with HlsDemuxer class, to handle online order video stream.
The entrance function of the HlsDemuxer class is also Open function, and the address of the target video is passed to the Open of HlsDemuxer
Method.
Step 2b:Create cache file folder;
When calling the Open method of HlsDemuxer class, second parameter is the folder path for saving downloading file.
Path is pressed from both sides according to this document, calls the boost in boost open source library::filesystem::Create_directory method, wound
Build cache file folder.The index file for the target video downloaded in subsequent step and all fragment videos, will all be stored in
The cache file underedge face.
Step 2c:Create worker thread;
A worker thread is created, in the worker thread, is handled all with downloading relevant task.
Step 2d:Download the index file of target video;
Relevant HTTP method for down loading is called, by the address in Open method, the i.e. downloading of the index file of target video
Index file representated by address downloads in cache file folder.
Step 2e:Parse the index file of target video;
After the index file of target video is downloaded to cache file folder, the content of the index file is parsed, is obtained
Take the target video total playing duration and all fragment videos.And there is a m_ in HlsDemuxer class
The dictionary member of tsFiles, dictionary member are using the initial time of fragment video as key, with TsFileContext's
Structure is the key-value pair structure of value.Wherein, TsFileContext structure is as follows:
Wherein, url member indicates the download address of the fragment video;
Status member indicates the download state of the fragment video, and wherein TsFileStatus is defined as follows
Wherein, None indicates that idle state, downloading indicate that, just in download state, downloaded indicates downloading
State is completed, paused indicates that downloading is suspended state.
Index member indicates the index of the fragment video, and since 0, the index of first fragment video is 0, n-th point
The index of piece video is N-1;
StartTime member indicates the initial time of the fragment video, as unit of millisecond;
Duration member indicates the playing duration time of the fragment video, as unit of millisecond;
LocalFileName member indicates that the fragment video is stored in the title in local folders;
File member is used to for the fragment video data after downloading being stored in local file;
SizeDownloaded member indicates the size of data that the fragment video has been downloaded;
TotalSize member indicates the file total size of the fragment video.
Therefore, through the above steps 2a~2e realize target video index file acquisition and parsing.It needs to illustrate
, in practical application, obtain there are also other and the mode of the index file of parsing target video, specifically no longer go to live in the household of one's in-laws on getting married one by one herein
It states.
103, the information index relationship of multiple fragment videos is established according to index file;
After the completion of the index file downloading of target video, the information rope of multiple fragment videos is established according to the index file
Draw relationship, wherein the information index relationship includes that the initial time of the first fragment video and the description information of the first fragment video obtain
To incidence relation.It should be noted that the description information of the first fragment video includes at least following information:First fragment video
Index information, the network address of the playing duration of the first fragment video and the first fragment video, wherein the first fragment video
For any video in multiple fragment videos.
In the present embodiment, the mode for establishing information index relationship can be:It downloads and completes when the index file of target video
Afterwards, all content of text in the index file are read by row, if read line of text is opened from " #EXTINF " character string
Begin, then behind the character string be exactly the fragment video playing duration (duration is with second unit), this article
The subsequent a line of current row is exactly the download address of the fragment video.Therefore it according to the index file of the target video, obtains and plays
Total duration and all TS slicing files, it is as follows in a manner of establishing information index relationship:
Step 3a:Initializing variable;
The startTime variable that a type is 32 integers is initialized, is broadcast for recording the starting of each fragment video
Put the tsFileIndex variable of time and 32 integers, for recording the index of each fragment video, and by they
It is initialized as 0;
Step 3b:Obtain each fragment video;
Every a line content in the index file of target video is read, when the row content is with character string " #EXTINF " beginning
When, then as the playing duration of a fragment video is obtained then followed by the file content for reading next line behind the character string
Take the download address of the fragment video.
The structure for creating a TsFileContext, by the index member of the tsFileIndex variable assignments structure,
Will, " #EXTINF " followed by playing duration be converted to millisecond unit multiplied by 1000 after, be saved in the TsFileContext
In the duration field of structure, by startTime variable save to the startTime member of the TsFileContext structure,
The download address of fragment video representated by the next line content that the row is closely followed, is saved in the TsFileContext structure
In url member.Then by the startTime and TsFileContext in a manner of key-value pair, m_tsFiles dictionary is arrived in storage
In, to establish the information index relationship of the fragment video.
After the completion of the above process, tsFileIndex is added 1 on the original basis, by startTime variable in original base
The upper playing duration plus the fragment video, i.e. the duration value of TsFileContext structure.
Above-mentioned step is repeated, next fragment video is obtained, in the index file for read target video
Until appearance.
After completing the step in above-mentioned 3a~3b, the information index relationship of multiple fragment videos, and m_ are established
All fragment videos of the target video are had recorded in tsFiles member, and in startTime variable, preserve this point
The total duration of piece video.
104, multiple fragment videos are successively cached according to information index relationship;
After getting all fragment videos by step 103, by the broadcasting in information index relationship in worker thread
Sequence successively downloads all fragment videos.
105, the first message that user sends is received;
When user is watching the target video, and when needing to carry out F.F. or fast reverse operation, receive that user sends the
One message, the first message are used to indicate to playback equipment that the play position of target video to be navigated to object time point.
106, the second fragment video is determined according to object time point and information index relationship;
In response to the first message, object time fragment is determined according to object time point and information index relationship.It needs
It is bright, when the object time point in seconds when, also need to be converted to the object time point as unit of millisecond, to obtain
SeekTime, i.e. playback equipment need to navigate to this time point of seekTime according to the first message.
It is the second fragment view for finding the seekTime in m_tsFiles dictionary and being located at further according to information index relationship
Frequently, for example, being more than or equal to the starting play time of fragment video according to seekTime, less than the starting play time of fragment video
The rule for accelerating playing duration, can orient the seekTime and be located in which TsFileContext structure, realize target
The determination of fragment video.That is the seekTime is in the initial time of the second fragment video and between the end time.
After determining the second fragment video, that is, after navigating to the corresponding TsFileContext structure of the second fragment video,
Judge whether the status field of the structure is equal to downloaded.If being equal to downloaded, then it represents that second fragment
Video has downloaded completion, can directly play out, then does not need to do other processing;If being not equal to downloaded,
It indicates that the second fragment video does not download completion, then judges whether the status field is equal to None idle state, if
Equal to None, then the second fragment video is downloaded immediately, and status field is set as downloading state.
It should be noted that indicating should when the status state in the TsFileContext is equal to downloading
Second fragment video is being downloaded, and needs just play out after waiting the second fragment video download to complete, so at this
The status member of TsFileContext is not equal to before downloaded, needs to wait until always the second fragment video
After downloading is completed, when setting downloaded state for the status member of the TsFileContext, can just it return.
107, caching progress msg is obtained;
It should be noted that can be set one when being downloaded fragment video using Http
The call back function of onDownloadProgress, the call back function
The call back function of one onDownloadProgress, first parameter of the call back function can be set
SizeTransferd indicates the downloading size of current slice video, and second parameter totalSize indicates the big of the fragment video
Small, third parameter thisSize indicates the size downloaded when this is adjusted back, and the 4th parameter tsFile indicates current
The TsFileContext downloaded.And in HlsDemuxer, there is the dictionary member of a m_cachedTimestamp,
The time zone for the fragment video that the dictionary member record is downloaded, wherein the key of dictionary member indicates the fragment video
The value of the initial time of time zone, dictionary member indicates the end time of the time zone, for ease of description, can be by this point
The corresponding video of the time zone of piece video is known as buffered video, i.e. the caching progress msg of the buffered video includes buffered video
Initial time and the end time.For example, when target video has just started downloading, it should be only in the m_cachedTimestamp
There is a caching progress msg, and initial time is 0;If all fragment videos of the target video all download completion
Afterwards, then in the dictionary also should only one caching progress msg, and the initial time of the caching progress msg be 0, knot
The beam time is the total duration of the target video.When all fragment videos of the target video do not download completion, if user
The target video is navigated into some time point, for example, receiving the first message of user's transmission, in step 105 with from mesh
Mark time point starts to play target video, then HlsDemuxer can go to download the corresponding second fragment view of the object time point immediately
Frequently, at this time in m_cachedTimestamp, possibility will there are two the caching progress msg of time zone, a time zones
It is a continuum downloaded since target video;Another time zone is the starting from the second fragment video
The continuous downloading region that time starts.Wherein, the caching progress msg of each time zone can be obtained by following steps:
Step 7a:Obtain the caching progress msg of current slice video;
It is illustrated so that current slice video is the second fragment video as an example.When downloading readjustment, enter
When in onDownloadProgress function, the time span that the second fragment video has been downloaded is calculated.Following formula can be passed through
Obtain the time span that the second fragment video has been downloaded:
TimeLength=tsFile.duration*sizeTransfered/totalSize;
Wherein tsFile.duration indicates the duration of the second fragment video, and sizeTransfered indicates this second point
The byte-sized that piece video has been downloaded, totalSize indicate the total byte size of the second fragment video;So this second point
The time length Ti meLength that piece video has been downloaded is equal to the byte-sized downloaded divided by the second fragment video
Total bytes wrap then multiplied by the time span of the second fragment video to get to the caching progress msg of the second fragment video
Include the second fragment video initial time and the current end time.Then by the initial time of the second fragment video, with
And the current end time is saved in m_cachedTimestamp dictionary, can execute following sentence:
M_cachedTimestamp [tsFile.startTime]=tsFile.startTime+TimeLength;
In this way, the caching progress msg for the second fragment video currently downloaded just is stored in m_
CachedTimestamp dictionary suffers.
Step 7b:Merge buffered video;
Above-mentioned step can all carry out once-through operation in each generation downloading readjustment, and this step is in above-mentioned creation
In worker thread, was executed once every one second, the data in m_cachedTimestamp are merged.So-called merging is exactly
Continuous item in m_cachedTimestamp dictionary is merged, the item number in such dictionary can tail off after merging, and
And download time region can be increasing representated by the item after merging.
Being continuously very important a little among the above, only in m_cachedTimestamp dictionary, the hair of front and back two
It is that continuously, then can merge with regard to representing when raw overlapping.
Such as in m_cachedTimestamp there are three buffered video caching progress msg, and these three cache into
Degree information is (0,1000) respectively, (1000,3000), when (5000,6000) because the end time of first buffered video with
Equal at the beginning of second buffered video, the two overlaps, then the caching progress msg and of first buffered video
The caching progress msg of two buffered videos can merge as (0,3000), but 3000 with the initial time of Section 3
5000, it does not overlap, so cannot merge.Steps are as follows for specific merging:
1) i is enabled to be equal to the starting item of m_cachedTimestanp;
2) j is enabled to be equal to i+1;
3) judge whether j is equal to last of m_cachedTimestamp, if it is not, then entering following step
It is rapid 4);Step 7) is entered if being equal to;
4) judge whether the initial time of jth item is more than or equal to i-th initial time, and the initial time of jth item
Whether it is less than or equal to i-th end time, if the two all meets, indicates i-th and overlap with jth item, then enter
Following step 5) otherwise enters step 6);
5) i-th end time is set to the end time of jth item, it is (namely current that j is then set as j+1
The latter of jth item), then jth item is deleted from m_cachedTimestamp dictionary.Then proceed into step 3);
6) at this time i-th with jth item there is no Chong Die, can not merge, set j for i, continue into step
2), judge whether the subsequent item of i can merge;
7) current merging process is exited.
By above step, after completing the merging the continuous items in m_cachedTimestamp dictionary of circulation, when
The item saved in preceding m_cachedTimestamp dictionary, exactly all progress sections cached.As the m_
When there are N in cachedTimestamp dictionary, the N number of continuous region of current video download is just represented, when the video download
After completion, all items in m_cachedTimestamp finally merge into one.
108, according to the caching progress of caching progress msg display caching video.
After obtaining caching progress msg, according to the caching progress of the caching progress msg display caching video.Specifically, exist
After the completion of merging, by whole items in m_cachedTimestamp, it is transmitted to display caching progress msg in UI presentation layer.?
In MediaDecoder module, by sending a MDT_ to user interface (user interface, UI) presentation layer
The information of VodBufferingProgressGraph completes the process.Wherein, MDT_
In VodBufferingProgressGraph message, the structure that a type is VodVideoBufferingGraph is carried
Body parameter, the structural body are defined as follows:
typedef struct
{
int numSegments;
VodVideoBufferingSegment sements[1];
}VodVideoBufferingGraph;
Wherein numSegments member, indicate VodVideoBufferingGraph structure in, one share it is several
The section VodVideoBufferingSegment.And VodVideoBufferingSegment structure then represent one it is buffered
Region, which is defined as follows:
Wherein, beginTime indicates the initial time of the downloading buffer zone, and endTime indicates the downloading buffer zone
End time.
Therefore in the VodVideoBufferingGraph structural parameters of MDT_VodBufferingProgressGraph message
In, numSegments member is equal to the item number of m_cachedTimestamp, then VodVideoBufferingGraph
I-th (i is more than or equal to 0, is less than numSegments) a VodVideoBufferingSegment in structure, initial time
BeginTime is equal to i-th, m_cachedTimestamp dictionary initial time, and endTime field is equal to m_
The end time that cachedTimestamp dictionary is i-th.To complete to transmit caching progress interval messages mistake to UI presentation layer
Journey.
In the embodiment of the present application, completes an online order video stream, be cached in local file, and according to mesh
Time point is marked, the process of specific second fragment video is navigated to, when solving directly broadcasting Online Video stream, because not delaying
It is stored to caused by local and needs the drawbacks of constantly downloading file content, and realize to UI presentation layer transmitting caching progress letter
Breath, to let the user know that completion has been downloaded in which region of current video.
The method of display caching progress in the embodiment of the present application is described above, below in the embodiment of the present application
Playback equipment be described, referring to Fig. 2, in the embodiment of the present application playback equipment one embodiment, including:
Acquiring unit 201, for obtaining the index file of target video, the index file includes composition by playing sequence
The network address of multiple fragment videos of the target video and playing duration corresponding to each fragment video, the target video
For online order video;
Unit 202 is established, for establishing the information index relationship of the multiple fragment video, institute according to the index file
The association for stating the description information of initial time and the first fragment video that information index relationship includes the first fragment video is closed
The description information of system, the first fragment video includes at least following information:The index information of the first fragment video, it is described
The network address of the playing duration of first fragment video and the first fragment video, the first fragment video are the multiple
Any video in fragment video;
Cache unit 203, for caching the multiple fragment video according to the information index relationship, and the acquisition is single
Member is also used to obtain caching progress msg, and the caching progress msg includes initial time and the end time of buffered video;
Display unit 204, for showing the caching progress of the buffered video according to the caching progress msg.
In one possible implementation, playback equipment further includes:
Receiving unit 205, for receiving the first message of user's transmission, the first message is used for the target video
Play position position to object time point;
Determination unit 206, for being closed according to the first message and the information index in response to the first message
It is to determine the second fragment video, the object time point is in the initial time of the second fragment video and between the end time;
The cache unit 203 is also used to cache the second fragment view from the initial time of the second fragment video
Frequently.
In one possible implementation, acquiring unit 201 is specifically used for:
When the end time of the first buffered video is identical as the initial time of the second buffered video, described first is cached
Video merges with second buffered video, obtains third buffered video, the initial time of the third buffered video is described
The initial time of first buffered video, at the end of the end time of the third buffered video is second buffered video
Between.
Above figure 2 is described the playback equipment in the embodiment of the present application from the angle of modular functionality entity, under
Face is described in detail the playback equipment in the embodiment of the present application from the angle of hardware handles, referring to Fig. 3, the present invention is implemented
300 one embodiment of playback equipment in example, including:
(wherein the quantity of processor 303 can be with for input unit 301, output device 302, processor 303 and memory 304
One or more, in Fig. 3 by taking a processor 303 as an example).In some embodiments of the present application, input unit 301, output
Device 302, processor 303 and memory 304 can be connected by bus or other means, wherein to be connected by bus in Fig. 3
For.
Wherein, pass through the operational order for calling memory 304 to store, processor 303, for executing following steps:
The index file of target video is obtained, the index file includes form the target video more by playing sequence
The network address of a fragment video and playing duration corresponding to each fragment video, the target video are that online program request regards
Frequently;
The information index relationship of the multiple fragment video, the information index relationship packet are established according to the index file
Include the incidence relation of the initial time of the first fragment video and the description information of the first fragment video, the first fragment view
The description information of frequency includes at least following information:The index information of the first fragment video, the first fragment video are broadcast
The network address of duration and the first fragment video is put, the first fragment video is any in the multiple fragment video
Video;
The multiple fragment video is cached according to the information index relationship, and obtains caching progress msg, the caching
Progress msg includes initial time and the end time of buffered video;
The caching progress of the buffered video is shown according to the caching progress msg.
Optionally, by the operational order for calling memory 304 to store, processor 303 is also used to execute following steps:
Receive user send first message, the first message be used for by the play position of the target video position to
Object time point;In response to the first message, second point is determined according to the first message and the information index relationship
Piece video, the object time point is in the initial time of the second fragment video and between the end time;From described second point
The initial time of piece video caches the second fragment video.
Optionally, by the operational order for calling memory 304 to store, processor 303 is specifically used for executing following step
Suddenly:When the end time of the first buffered video is identical as the initial time of the second buffered video, by first buffered video
Merge with second buffered video, obtain third buffered video, the initial time of the third buffered video is described first
The initial time of buffered video, the end time of the third buffered video are the end time of second buffered video.
Referring to Fig. 4, Fig. 4 is the embodiment schematic diagram of electronic equipment provided by the embodiments of the present application.
As shown in figure 4, the embodiment of the present application provides a kind of electronic equipment, including memory 410, processor 420 and deposit
The computer program 411 that can be run on memory 420 and on processor 420 is stored up, processor 420 executes computer program
Following steps are realized when 411:
The index file of target video is obtained, the index file includes form the target video more by playing sequence
The network address of a fragment video and playing duration corresponding to each fragment video, the target video are that online program request regards
Frequently;Establish the information index relationship of the multiple fragment video according to the index file, the information index relationship includes the
The incidence relation of the initial time of one fragment video and the description information of the first fragment video, the first fragment video
Description information includes at least following information:State the index information of the first fragment video, the playing duration of the first fragment video
With the network address of the first fragment video, the first fragment video is any video in the multiple fragment video;
The multiple fragment video is cached according to the information index relationship, and obtains caching progress msg, the caching progress msg
Initial time and end time including buffered video;According to the caching progress msg show the caching of the buffered video into
Degree.
In the specific implementation process, when processor 420 executes computer program 411, the corresponding embodiment of Fig. 1 may be implemented
Middle any embodiment.
The electronic equipment introduced by the present embodiment is implements in the embodiment of the present invention used by a kind of playback equipment
Equipment, so based on method described in the embodiment of the present invention, those skilled in the art can understand the present embodiment
The specific embodiment of electronic equipment and its various change form, so how to realize the present invention for the electronic equipment herein
Method in embodiment is no longer discussed in detail, as long as the method that those skilled in the art implement in the embodiment of the present invention is adopted
Equipment belongs to the range of the invention to be protected.
Referring to Fig. 5, Fig. 5 is a kind of embodiment signal of computer readable storage medium provided by the embodiments of the present application
Figure.
As shown in figure 5, present embodiments providing a kind of computer readable storage medium 500, it is stored thereon with computer journey
Sequence 511, the computer program 511 realize following steps when being executed by processor:
The index file of target video is obtained, the index file includes form the target video more by playing sequence
The network address of a fragment video and playing duration corresponding to each fragment video, the target video are that online program request regards
Frequently;Establish the information index relationship of the multiple fragment video according to the index file, the information index relationship includes the
The incidence relation of the initial time of one fragment video and the description information of the first fragment video, the first fragment video
Description information includes at least following information:State the index information of the first fragment video, the playing duration of the first fragment video
With the network address of the first fragment video, the first fragment video is any video in the multiple fragment video;
The multiple fragment video is cached according to the information index relationship, and obtains caching progress msg, the caching progress msg
Initial time and end time including buffered video;According to the caching progress msg show the caching of the buffered video into
Degree.
In the specific implementation process, Fig. 1 corresponding embodiment may be implemented when which is executed by processor
Middle any embodiment.
It should be noted that in the above-described embodiments, all emphasizing particularly on different fields to the description of each embodiment, in some embodiment
The part being not described in may refer to the associated description of other embodiments.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more,
The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces
The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that each process in flowchart and/or the block diagram can be realized by computer program instructions
And/or the combination of the process and/or box in box and flowchart and/or the block diagram.It can provide these computer programs to refer to
Enable the processor of general purpose computer, special purpose computer, embedded computer or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
The embodiment of the present application also provides a kind of computer program product, which includes computer software
Instruction, when computer software instructions are run on a processing device, so that processing equipment is executed such as the wind in Fig. 1 corresponding embodiment
Process in the method for electric field digital Platform design.
The computer program product includes one or more computer instructions.Load and execute on computers the meter
When calculation machine program instruction, entirely or partly generate according to process or function described in the embodiment of the present application.The computer can
To be general purpose computer, special purpose computer, computer network or other programmable devices.The computer instruction can be deposited
Storage in a computer-readable storage medium, or from a computer readable storage medium to another computer readable storage medium
Transmission, for example, the computer instruction can pass through wired (example from a web-site, computer, server or data center
Such as coaxial cable, optical fiber, Digital Subscriber Line (digital subscriber line, DSL)) or wireless (such as infrared, wireless,
Microwave etc.) mode transmitted to another web-site, computer, server or data center.It is described computer-readable to deposit
Storage media can be any usable medium that computer can store or include the integrated clothes of one or more usable mediums
The data storage devices such as business device, data center.The usable medium can be magnetic medium, (for example, floppy disk, hard disk, tape),
Optical medium (for example, DVD) or semiconductor medium (such as solid state hard disk (solid state disk, SSD)) etc..
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, device and method can be with
It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit
It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components
It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or
The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit
It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can store in a computer readable storage medium.Based on this understanding, the technical solution of the application 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 application
Portion or part steps.And storage medium above-mentioned includes:USB flash disk, mobile hard disk, read-only memory (Read-Only Memory,
ROM), random access memory (Random Access Memory, RAM), magnetic or disk etc. are various can store program
The medium of code.
The above, above embodiments are only to illustrate the technical solution of the application, rather than its limitations;Although referring to before
Embodiment is stated the application is described in detail, those skilled in the art should understand that:It still can be to preceding
Technical solution documented by each embodiment is stated to modify or equivalent replacement of some of the technical features;And these
It modifies or replaces, the spirit and scope of each embodiment technical solution of the application that it does not separate the essence of the corresponding technical solution.