CN107480245A - A kind of generation method of video file, device and storage medium - Google Patents
A kind of generation method of video file, device and storage medium Download PDFInfo
- Publication number
- CN107480245A CN107480245A CN201710680577.5A CN201710680577A CN107480245A CN 107480245 A CN107480245 A CN 107480245A CN 201710680577 A CN201710680577 A CN 201710680577A CN 107480245 A CN107480245 A CN 107480245A
- Authority
- CN
- China
- Prior art keywords
- video file
- target
- data recording
- recording
- displaying
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 102
- 230000008569 process Effects 0.000 claims abstract description 66
- 230000002452 interceptive effect Effects 0.000 claims abstract description 36
- 238000012544 monitoring process Methods 0.000 claims description 22
- 238000002347 injection Methods 0.000 claims description 12
- 239000007924 injection Substances 0.000 claims description 12
- 208000032366 Oversensing Diseases 0.000 claims 1
- 230000015654 memory Effects 0.000 description 18
- 230000006870 function Effects 0.000 description 14
- 230000004044 response Effects 0.000 description 13
- 238000012545 processing Methods 0.000 description 9
- 230000006854 communication Effects 0.000 description 8
- 238000004891 communication Methods 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 7
- 238000002360 preparation method Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 230000011218 segmentation Effects 0.000 description 5
- 230000006399 behavior Effects 0.000 description 4
- 230000006835 compression Effects 0.000 description 4
- 238000007906 compression Methods 0.000 description 4
- 230000004075 alteration Effects 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 3
- 239000000463 material Substances 0.000 description 3
- 238000012552 review Methods 0.000 description 3
- 230000003068 static effect Effects 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 230000015572 biosynthetic process Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 239000000284 extract Substances 0.000 description 2
- 230000005484 gravity Effects 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 230000007774 longterm Effects 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000011112 process operation Methods 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000005314 correlation function Methods 0.000 description 1
- 230000001934 delay Effects 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000018109 developmental process Effects 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 230000008054 signal transmission Effects 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/958—Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
- G06F16/972—Access to data in other repository systems, e.g. legacy data or dynamic Web page generation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/76—Television signal recording
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a kind of generation method of video file, device and storage medium, the generation method of the video file includes:Web page display request is obtained, web page display request carries the website information of target web;View window is generated in current interactive interface according to web page display request;The target web is shown in view window according to the website information;Displaying process to the target web is recorded, and obtains data recording;Video file is generated according to the data recording, so as to which the displaying process of webpage works is fabricated into video, the displaying of webpage works is realized by way of video playback, is participated in manually without user, simple, intuitive, shows efficiency high.
Description
Technical field
The present invention relates to field of computer technology, more particularly to a kind of generation method of video file, device and storage to be situated between
Matter.
Background technology
With society and the development of internet, the application of HTML5 technologies is more and more extensive, and HTML5 (H5) is HTML
5th material alteration of (HyperText Markup Language, HTML), its purpose of design be in order to
Multimedia, such as the multimedia function such as the Audio (audio) at supported web page end, Video (video) are supported on mobile device.
At present, H5 webpage works turn into mobile terminal in product promotion used important marketing communication mode it
One, outstanding H5 webpage works can often strike a chord on content intention, ignite and propagate focus, and if developer wants to make
Go out a hot H5 pages and appreciate others outstanding intention and works more more, it is necessary to see.The display systems of common H5 works exist
When showing H5 works to user, a pictures, a web page interlinkage and/or a Quick Response Code are often only shown, user is to see
Some H5 works is seen, generally requires to enter the originating website by clicking on its web page interlinkage or scanning Quick Response Code, and pass through experience
Mode obtains the displaying process of whole H5 works, wherein, experience operation is by the more of user and the originating website's server
Secondary interactive operation is come what is realized, and this is segmentation loading mainly due to the display data of H5 works, and loading every time can only obtain
A part of data, when only user clicks on the Next button, lower one piece of data can be just loaded, until completing whole H5 works
Displaying, this displaying process operation is extremely cumbersome, and displaying efficiency is low.
The content of the invention
It is existing to solve it is an object of the invention to provide a kind of generation method of video file, device and storage medium
H5 works show that process operation is cumbersome, show the low technical problem of efficiency.
In order to solve the above technical problems, the embodiment of the present invention provides following technical scheme:
A kind of generation method of video file, including:
Web page display request is obtained, the web page display request carries the website information of target web;
View window is generated in current interactive interface according to web page display request;
The target web is shown in view window according to the website information;
Displaying process to the target web is recorded, and obtains data recording;
Video file is generated according to the data recording.
In order to solve the above technical problems, the embodiment of the present invention also provides following technical scheme:
A kind of generating means of video file, including:
Acquisition module, for obtaining web page display request, the web page display request carries the website information of target web;
First generation module, for generating view window in current interactive interface according to web page display request;
Display module, for showing the target web in view window according to the website information;
Module is recorded, is recorded for the displaying process to the target web, obtains data recording;
Second generation module, for generating video file according to the data recording.
In order to solve the above technical problems, the embodiment of the present invention also provides following technical scheme:
A kind of storage medium, wherein, the storage medium is stored with a plurality of instruction, and the instruction is added suitable for processor
Carry, to perform the step in the generation method of the video file described in any of the above-described.
Generation method, device and the storage medium of video file of the present invention, asked by obtaining web page display, should
Web page display request carries the website information of target web, and asks generation view window according to the web page display, then, according to
The website information shows the target web in view window, and the displaying process to the target web is recorded, and is recorded
Data processed, afterwards, video file is generated according to the data recording, so as to which the displaying process of webpage works is fabricated into video,
The displaying of webpage works is realized by way of video playback, is participated in manually without user, simple, intuitive, shows efficiency high.
Brief description of the drawings
Below in conjunction with the accompanying drawings, by the way that the embodiment of the present invention is described in detail, technical scheme will be made
And other beneficial effects are apparent.
Fig. 1 is the schematic flow sheet of the generation method of video file provided in an embodiment of the present invention;
Fig. 2 a are the schematic flow sheet of the generation method of video file provided in an embodiment of the present invention;
Fig. 2 b are the block schematic illustration of video product process provided in an embodiment of the present invention;
Fig. 2 c are the displaying figure of the experience mode of existing H5 works provided in an embodiment of the present invention;
Fig. 2 d are the schematic diagram of current interactive interface provided in an embodiment of the present invention;
Fig. 2 e are network address injection process schematic diagram provided in an embodiment of the present invention;
Fig. 2 f are the schematic diagram that AVFoundation frameworks provided in an embodiment of the present invention call to recording behavior;
Fig. 2 g are the schematic diagram of information editing's frame provided in an embodiment of the present invention;
Fig. 2 h are the schematic diagram at displaying interface provided in an embodiment of the present invention;
Fig. 2 i are the schematic diagram of the selection mode of play template provided in an embodiment of the present invention;
Fig. 3 a are the structural representation of the generating means of video file provided in an embodiment of the present invention;
Fig. 3 b are the structural representation of the generating means of another video file provided in an embodiment of the present invention;
Fig. 4 is the structural representation of terminal provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on
Embodiment in the present invention, the every other implementation that those skilled in the art are obtained under the premise of creative work is not made
Example, belongs to the scope of protection of the invention.
The embodiment of the present invention provides a kind of generation method of video file, device and storage medium, carries out individually below detailed
Describe in detail bright.
The angle of generating means from video file is described the present embodiment, and the generating means of the video file are specific
It can be realized as independent entity, can also be integrated in other equipment, for example realized in terminal, the terminal can wrap
Include smart mobile phone, tablet personal computer and personal computer etc..
A kind of generation method of video file, including:Web page display request is obtained, web page display request carries target network
The website information of page, and generation view window is asked according to the web page display, then, network address letter is loaded into the view window
Breath, to show the target web, and records to the displaying process of target web in the view window, obtains data recording,
Afterwards, video file is generated according to the data recording.
As shown in figure 1, the idiographic flow of the generation method of the video file can be as follows:
S101, web page display request is obtained, web page display request carries the website information of target web.
In the present embodiment, the target web is not necessarily referring to all webpages, and it is mainly for the net that content of pages is segmentation displaying
Page, the content of pages can be the content of multimedia such as dynamic image, animation or video.The target web can be based on HTML5
What technology was write, wherein, HTML5 (H5) is the of HTML (HyperText Markup Language, HTML)
Five material alterations, it can support the multimedia functions such as Audio (audio), Video (video), and certainly, the target web is also
The contents such as word and/or audio can be included.The website information refers mainly to the address of webpage on internet, and different webpages has
Different addresses, it is the unique identifier of webpage.Specifically can be by clicking on the chained address of the target web, or scanning
The Quick Response Code of the target web is asked to generate the web page display.
S102, view window in current interactive interface generated according to web page display request.
In the present embodiment, the view window can be network view Webview windows, be mainly used in loading webpage, it can
In current interactive interface, to serve as the role of browser by embedded Form generation.Specifically, the generation of the view window
Position and size can according to the actual requirements depending on, for example the generation position can be the middle part of current interactive interface, the window
Size can be a underrange, for example can be in certain proportion or a fixation with the size of current interactive interface
Value, etc..
It should be noted that current interactive interface can be divided into multiple functional areas, such as user's operating area, net
Location obtains region and viewing area etc., the position of each functional area can according to the actual requirements depending on, such as can be by net
Location obtains region and is arranged on top, and viewing area is arranged on middle part, and user's operating area is arranged on bottom, it is of course also possible to be
Other set-up modes.Wherein, user's operating area is mainly used in providing the user operate interface, for example records interface, uploads
Interface etc., the network address obtain region and are mainly used in obtaining website information, and the website information can be that user is manually entered, and also may be used
Obtained automatically in a manner of by scanning Quick Response Code, the viewing area is mainly the formation zone of view window, main to use
In display webpage.
S103, the target web shown in view window according to the website information.
For example, current interactive interface can include address field, now, above-mentioned steps S103 can specifically include:
1-1, the website information injected into the address field.
In the present embodiment, the network address that the address field can be located at current interactive interface obtains region, is mainly used in as user
The entrance for being manually entered network address is provided, it can show as the form of input frame.Can specifically be literal translated formula by JavaScript
The modes such as script inject website information in address field.
1-2, the displaying content for obtaining according to the address field after injection the target web.
In the present embodiment, because the target web (namely H5 webpages) is segmentation displaying, namely process bag is entirely shown
Multiple displaying stages are included, therefore the displaying content can include more cross-talk contents, the different displaying stages corresponds to different sub- contents,
Now, above-mentioned steps 1-2 can specifically include:
More cross-talk contents according to corresponding to the address field after injection determines the target web;
The sub- content of target is obtained from more cross-talk contents.
In the present embodiment, more cross-talk contents can be dynamic content or static content, and it would generally be according to exhibition
Show that the priority of time is ranked up, for example it is the sub- content shown earliest to rank most preceding, shows that the time is more late in the backward, when
So, specifically can be depending on actual conditions there may also be the sub- content of shown in parallel.The selection of the sub- content of the target needs root
Depending on the displaying stage, such as the incipient stage, the sub- content acquiescence of the target is to rank most preceding sub- content, and for remaining
Displaying stage, the sub- content of the target are usually required depending on combining user's operation, and now, above-mentioned steps are " from more cross-talk contents
Obtain the sub- content of target " it can specifically include:
Obtain browse operation of the user in the view window;
Corresponding sub- content is obtained from more cross-talk contents according to the browse operation, as the sub- content of target.
In the present embodiment, the browse operation can be directed to the dragging or slip of some icon in the sub- content of current presentation,
The browse operation of click or touch of some button, etc., different icons or button can correspond to different sub- contents.It is whole to ensure
The continuity of individual displaying process, the sub- content shown twice in succession in more cross-talk contents can be that automatic triggering obtains, than
Such as can be to obtain that next cross-talk content is shown or user triggers manually after the completion of current sub- content displaying automatically
Obtain, for example user can manually click on the specified icons in the sub- content of current presentation to obtain next cross-talk content,
Etc., specifically can according to the actual requirements depending on.
It is pointed out that terminal can be obtained disposably from source storage server corresponding to target web in all sons
Appearance is buffered in local, is then shown according to the different displaying stages from the corresponding sub- content of local acquisition, so as to avoid as far as possible
The discontinuous problem of process is shown caused by terminal network is unstable during displaying, can also be several times from source storage service
Sub- content is obtained in device, such as, only obtain one section from the storage server of source every time or more cross-talk contents are cached, and
Before next caching, can delete stored in local it is last data cached, it is empty so as to save storage as much as possible
Between.
1-3, the displaying content is loaded in the view window.
In the present embodiment, loading operation can not only be shown including image, can also be included audio and be played.
For example, above-mentioned steps 1-3 can specifically include:
The sub- content of the target is loaded in the view window.
S104, the displaying process to the target web are recorded, and obtain data recording.
In the present embodiment, the displaying process refers mainly to target web entirely showing from incipient stage to ending phase
Journey, it can show including image and audio plays.The recording operation relies primarily on the built-in device of terminal to realize, for example takes the photograph
, specifically can be by carrying out picture pick-up device and microphone similar to controls such as AVFoundation frameworks as head, microphone etc.
Calling, so as to realize record, obtained data recording is really video data.
It is easily understood that before formal recorded, the calling that need to carry out picture pick-up device and microphone prepares,
That is, before above-mentioned steps S104, the generation method of the video file can also include:
Obtain video record request;
Default monitoring figure layer is added in view window according to video record request.
In the present embodiment, the default monitoring figure layer can be preview figure layer, be mainly used in in the loading in view window
Appearance is monitored, and its size can be in the same size with view window, or slightly larger than view window, it is complete to guarantee to be recorded to
Portion's display content.It should be noted that while monitoring figure layer default using the addition of AVFoundation frameworks, also need to carry out
Other preparations, for example initialization process is carried out to the picture pick-up device in terminal, microphone etc., specify the storage of data recording
Region etc..Video record request can be automatic triggering generation, such as i.e. generation when address field is successfully loaded website information,
Can also be that user triggers generation manually, for example user clicks on recording button on interactive interface or icon and (namely records and connect
Mouthful) when generation, specifically can according to the actual requirements depending on.
Now, above-mentioned steps S104 can specifically include:Utilize the displaying process of the default monitoring figure layer to target web
Recorded.
In the present embodiment, when all preparations are completed, you can start to call picture pick-up device and microphone to be recorded
, and in recording process, when the displaying process of the target web is that automatic triggering is completed, user can need not carry out other
Operation can complete the recording of displaying process, when the displaying process of the target web is that user triggers completion manually, then need
The recording of whole displaying process is completed by the mutual-action behavior of user.
S105, according to the data recording generate video file.
In the present embodiment, after the displaying process to target web is recorded, the follow-up can of user passes through recording
Data watch the whole displaying process of target web, convenient directly perceived without experience manually, show efficiency high.The video file
Except video data (namely data recording) can be included, other information can also be included, for example, video name, video size,
Video profile etc..Coda is being recorded, user can be with self termination recording operation, than as by clicking on " end " on interactive interface
Button terminates, can also be by terminal control, such as at the end of terminal detects the whole displaying process of target web, can be with
It is automatic to terminate recording operation, etc..
For example, the video file can include thumbnail, the thumbnail refer to compressed mode handle after picture, it adds
It is very fast to carry speed, is mainly used in fast browsing.The determination mode of the thumbnail can have it is a variety of, such as can be at random from regarding
Frequency extracts a frame picture compression in and obtained or according to certain rule, for example selects one according to total duration is recorded
Picture compression obtains, and now, above-mentioned steps S105 can specifically include:
2-1, the recording total duration for obtaining the data recording.
2-2, target image determined from the data recording according to the recording total duration.
For example, above-mentioned steps 2-2 can specifically include:
Determine that target records duration according to the recording total duration;
The image that duration recording is recorded in target is obtained from the data recording, as target image.
In the present embodiment, the ratio that the target is recorded duration and recorded between total duration can be fixed value, the fixed value
Can according to the actual requirements depending on, such as 1/3rd, namely a length of 1/3rd record total duration when the target is recorded.
2-3, video file generated according to the target image and data recording.
In the present embodiment, the target image is the image pointed by thumbnail.When according to record total duration target is determined
After image, the target image can be compressed, obtain the thumbnail.
Certainly, the video file can also include the information related to video data such as video name, video profile, this
When, above-mentioned steps 2-3 can specifically include:
The key message of the target web is obtained according to the website information;
The key message, target image and data recording are packed, obtain video file.
In the present embodiment, the key message can include the information such as web page title and brief introduction, and it generally can be from mesh
Website where mark webpage is got, and user can substantially determine itself journey interested to the video data by these information
Degree, improve surfing.The key message can also include network originating, such as Quick Response Code and website information etc., so, when with
When the displaying process of reading H5 works by existing manner is wanted at family, it can be looked into according to network originating into the originating website
See, flexibility is high.
In addition, after above-mentioned steps S105, the generation method of the video file can also include:
The video file is uploaded to predetermined server, so that the predetermined server generates the target network according to video file
The displaying interface of page.
In the present embodiment, the predetermined server can be primarily used for showing the application server of H5 works.When default clothes
When business device receives the video file of upload, corresponding displaying interface can be generated, can include Quick Response Code on the displaying interface
Scanning area, video playback area, brief introduction viewing area and user reviews area etc., the two-dimensional code scanning area, video playback area and
The content of brief introduction viewing area mainly obtains from video file, and the set location and size in each region can be according to reality
Depending on demand.
From the foregoing, the generation method for the video file that the present embodiment provides, is asked, the net by obtaining web page display
Page displaying request carries the website information of target web, and asks generation view window according to the web page display, then, according to this
Website information shows the target web in view window, and the displaying process to the target web is recorded, and is recorded
Data, afterwards, video file is generated according to the data recording, so as to which the displaying process of webpage works is fabricated into video, led to
The mode for crossing video playback realizes the displaying of webpage works, is participated in manually without user, simple, intuitive, shows efficiency high.
Citing, is described in further detail by the method according to described by above-described embodiment below.
In the present embodiment, will be described in detail so that the generating means of video file are integrated in the terminal as an example.
As shown in Figure 2 a and 2 b, a kind of generation method of video file, idiographic flow can be as follows:
S201, terminal obtain web page display request, and web page display request carries the website information of target web.
For example, Fig. 2 c are referred to, for the H5 webpage works (namely target web) of some animation, for example " return to wooden leaf
Village ", when user clicks on the chained address of " returning to Mu Ye villages " or scans the Quick Response Code of the H5 webpages, terminal can be by the two dimension
Code information be converted into website information or directly obtain the website information generate the web page display request.
S202, terminal ask to generate view window in current interactive interface according to the web page display, and this currently interacts boundary
Face includes address field.
For example, Fig. 2 d are referred to, current interactive interface can substantially be divided into three regions, from top to bottom successively can be with
For:Network address obtains region, viewing area and user's operating area.The view window can be embedded in the viewing area, and it can be with
It is Webview windows, the address field can be located at network address and obtain region, and user's operating area can include beginning/pause record
Button processed and stopping/upload button.In addition, the network address, which obtains region, can also include other entrances, for example Quick Response Code is swept
Retouch entrance, etc..
The website information is injected the address field by S203, terminal, and obtains video record request.
For example, website information can be injected in address field by JavaScript, video record request can be certainly
Dynamic triggering generation, for example generate when address field is successfully loaded website information or user triggers generation manually, than
It should be generated as user clicks on during " beginning " recording button.Fig. 2 e are referred to, when terminal obtains from Quick Response Code or chained address
After website information, webview kernels can be loaded into the viewing area of current interactive interface to generate view window, afterwards,
The website information is injected to the address field of current interactive interface, to be loaded into the content of the website information in the view window, tool
Body can be loaded into by way of rendering.
S204, terminal ask to add default monitoring figure layer in view window according to the video record.
For example, after video record request is got, terminal can be completed to record using AVFoundation frameworks
The preparation that behavior is called, refers to Fig. 2 f, can specifically show as carrying out initially the camera in terminal and microphone
The beginning that storage region (namely initialization video file output), setting when change processing, setting data recording output are recorded with
End time (namely initialization session), add default monitoring figure layer in view window, recorded video after session start is set
Agency's (namely the filename of video, title and introduction etc.), etc., the default monitoring figure layer is mainly used in view window
It is monitored, its size can be in the same size with view window.After a series of preparations are completed, the default monitoring figure
Layer can calls the displaying process of camera and microphone to H5 webpage works recorded.
S205, terminal obtain the displaying content of the target web according to the address field after injection.
For example, the displaying content can include more cross-talk contents, now, above-mentioned steps S205 can specifically include:
The sub- content of target is determined from more cross-talk contents according to the address field after injection.
For example, more cross-talk contents are typically continuous, and it can be ranked up according to the priority of displaying time, and ranking is most
Preceding is the sub- content shown earliest, shows that the time is more late in the backward.Specifically, when having just enter into H5 webpages, can give tacit consent to by
The most preceding sub- content of ranking is defined as the sub- content of target and is shown, afterwards, can be according to user to the sub- content of current presentation
Browse operation, such as the left cunning or right cunning, the click or touch of some button etc. of some icon in the sub- content of current presentation,
It is shown next cross-talk content as the sub- content of target, so that displaying process enters next stage from the current generation, protects
The continuity of the whole displaying process of card, so circulation, until completing the whole displaying process of H5 webpage works.
S206, terminal load the displaying content in the view window, to be shown to the target web.
For example, when getting new sub- content every time, terminal can be loaded it in view window, should be added
Carrying operation can show and audio broadcasting including image.
S207, terminal are recorded using the displaying process of the default monitoring figure layer to the target web.
For example, during H5 webpage works are shown, the default monitoring figure layer is grasped to the calling of camera and microphone
Work is being carried out always, so as to subsequently can directly pass through the whole displaying process of the video-see H5 webpage works recorded, nothing
User is needed to participate in interactive, simple, intuitive.
S208, terminal obtain the recording total duration of the data recording, and according to the recording total duration from the data recording
Determine target image.
For example, if the recording total duration is T, the target image can be image corresponding to 1/3T in data recording, main
It is used for fast browsing.To reduce memory space as far as possible, loading velocity is improved, processing can be compressed to the target image,
Obtain its thumbnail.
S209, terminal obtain the key message of the target web according to the website information, and by the key message, target figure
Picture and data recording are packed, and obtain video file.
For example, the key message can include web page title, brief introduction and network originating (such as network address and two dimension
Code) etc. information, these information can be obtained from the website where H5 webpage works.Certainly, searched for ease of follow-up identification,
User can also modify according to the hobby of oneself to these information, such as, refer to Fig. 2 g, terminal will can be got
Key message is inserted in information editing's frame, and is shown to user, so, can be with if user has found there is unsatisfied place
Voluntarily modify editor in information editing's frame.
The video file is uploaded to predetermined server by S210, terminal, so that the predetermined server is given birth to according to video file
Into the displaying interface of the target web.
For example, Fig. 2 h are referred to, two-dimensional code scanning area, video playback area, brief introduction can be included on the displaying interface
Viewing area and user reviews area etc..By the way that the video file of oneself all H5 webpage works interested is all uploaded into this
Predetermined server, the concentration excavated so as to not only contribute to oneself follow-up intention is checked, but also can be shared to other people and be watched,
Flexibility is high, practical.
It should be noted that because the size of the video file of different user upload there may be difference, it is good to ensure
Result of broadcast, predetermined server can use multiple different templates broadcast window play out, such as, refer to Fig. 2 i,
It is more than the video file of height for width and width is less than the video file of height, different play templates can be selected.
In addition, the predetermined server can also provide scoring, for example user can be from intention, design, interaction etc. to viewing
The video file crossed is scored, then simple to user's recommendation video file, method according to fraction height.
From the foregoing, the generation method for the video file that the present embodiment provides, wherein terminal can obtain web page display
Request, web page display request carries the website information of target web, and is asked according to the web page display in current interactive interface
Middle generation view window, the current interactive interface include address field, then, the website information are injected into the address field, and obtain
Video record is asked, and afterwards, default monitoring figure layer is added in view window according to video record request, afterwards, according to note
Address field after entering obtains the displaying content of the target web, and the displaying content is loaded in the view window, with to the mesh
Mark webpage is shown, and afterwards, is recorded using the displaying process of the default monitoring figure layer to the target web, so as to by H5
The displaying process of webpage works is recorded into video data, then, obtains the recording total duration of the data recording, and according to the recording
Total duration determines target image from the data recording, afterwards, the key message of the target web is obtained according to the website information,
And the key message, target image and data recording are packed, video file is obtained, afterwards, the video file is uploaded
To predetermined server, so that the predetermined server generates the displaying interface of the target web according to video file, so as to pass through
The mode of video playback watches the displaying process of whole webpage works, is participated in manually without user, simple, intuitive, shows efficiency
It is high.
Method according to described by above-described embodiment, the present embodiment are further by the angle of the generating means from video file
It is described, the generating means of the video file can integrate in the terminal.
Fig. 3 a are referred to, the generating means of the video file of third embodiment of the invention offer have been described in detail in Fig. 3 a, its
It can include:Acquisition module 10, the first generation module 20, display module 30, the recording generation module 50 of module 40 and second, its
In:
(1) acquisition module 10
Acquisition module 10, for obtaining web page display request, web page display request carries the website information of target web.
In the present embodiment, the target web is not necessarily referring to all webpages, and it is mainly for the net that content of pages is segmentation displaying
Page, the content of pages can be the content of multimedia such as dynamic image, animation or video.The target web can be based on HTML5
What technology was write, wherein, HTML5 (H5) is the of HTML (HyperText Markup Language, HTML)
Five material alterations, it can support the multimedia functions such as Audio (audio), Video (video), and certainly, the target web is also
The contents such as word and/or audio can be included.The website information refers mainly to the address of webpage on internet, and different webpages has
Different addresses, it is the unique identifier of webpage.Specifically can be by clicking on the chained address of the target web, or scanning
The Quick Response Code of the target web is asked to generate the web page display.
(2) first generation modules 20
First generation module 20, for generating view window in current interactive interface according to web page display request.
In the present embodiment, the view window can be network view Webview windows, be mainly used in loading webpage, it can
In current interactive interface, to serve as the role of browser by embedded Form generation.Specifically, the generation of the view window
Position and size can according to the actual requirements depending on, for example the generation position can be the middle part of current interactive interface, the window
Size can be a underrange, for example can be in certain proportion or a fixation with the size of current interactive interface
Value, etc..
It should be noted that current interactive interface can be divided into multiple functional areas, such as user's operating area, net
Location obtains region and viewing area etc., the position of each functional area can according to the actual requirements depending on, such as can be by net
Location obtains region and is arranged on top, and viewing area is arranged on middle part, and user's operating area is arranged on bottom, it is of course also possible to be
Other set-up modes.Wherein, user's operating area is mainly used in providing the user operate interface, for example records interface, uploads
Interface etc., the network address obtain region and are mainly used in obtaining website information, and the website information can be that user is manually entered, and also may be used
Obtained automatically in a manner of by scanning Quick Response Code, the viewing area is mainly the formation zone of view window, main to use
In display webpage.
(3) display module 30
Display module 30, for showing the target web in view window according to the website information.
For example, referring to Fig. 3 b, current interactive interface can include address field, and the display module 30 can specifically include note
Enter submodule 31, the first acquisition submodule 32 and loading submodule 33, wherein:
Submodule 31 is injected, for the website information to be injected into the address field.
In the present embodiment, the network address that the address field can be located at current interactive interface obtains region, is mainly used in as user
The entrance for being manually entered network address is provided, it can show as the form of input frame.Can specifically be literal translated formula by JavaScript
The modes such as script inject website information in address field.
First acquisition submodule 32, for obtaining the displaying content of the target web according to the address field after injection.
In the present embodiment, because the target web (namely H5 webpages) is segmentation displaying, namely process bag is entirely shown
Multiple displaying stages are included, therefore the displaying content can include more cross-talk contents, the different displaying stages corresponds to different sub- contents,
Now, first acquisition submodule 32 specifically can be used for:
More cross-talk contents according to corresponding to the address field after injection determines the target web;
The sub- content of target is obtained from more cross-talk contents.
In the present embodiment, more cross-talk contents can be dynamic content or static content, and it would generally be according to exhibition
Show that the priority of time is ranked up, for example it is the sub- content shown earliest to rank most preceding, shows that the time is more late in the backward, when
So, specifically can be depending on actual conditions there may also be the sub- content of shown in parallel.The selection of the sub- content of the target needs root
Depending on the displaying stage, such as the incipient stage, the sub- content acquiescence of the target is to rank most preceding sub- content, and for remaining
Displaying stage, the sub- content of the target are usually required depending on combining user's operation, and now, first acquisition submodule 32 further may be used
For:
Obtain browse operation of the user in the view window;
Corresponding sub- content is obtained from more cross-talk contents according to the browse operation, as the sub- content of target.
In the present embodiment, the browse operation can be directed to the dragging or slip of some icon in the sub- content of current presentation,
The browse operation of click or touch of some button, etc., different icons or button can correspond to different sub- contents.It is whole to ensure
The continuity of individual displaying process, the sub- content shown twice in succession in more cross-talk contents can be that automatic triggering obtains, than
Such as can be to obtain that next cross-talk content is shown or user triggers manually after the completion of current sub- content displaying automatically
Obtain, for example user can manually click on the specified icons in the sub- content of current presentation to obtain next cross-talk content,
Etc., specifically can according to the actual requirements depending on.
It is pointed out that the first acquisition submodule 32 can be disposably from source storage server corresponding to target web
All sub- content cachings are obtained in local, then corresponding sub- content is obtained from local according to the different displaying stages and is shown,
So as to avoid showing the discontinuous problem of process caused by terminal network is unstable during displaying as far as possible.First obtains submodule
Block 32 can also obtain sub- content from the storage server of source several times, such as, only obtain one from the storage server of source every time
Section or more cross-talk contents are cached, and before next caching, can delete the last time stored in local delays
Deposit data, so as to save memory space as much as possible.
Submodule 33 is loaded, for loading the displaying content in the view window.
In the present embodiment, loading operation can not only be shown including image, can also be included audio and be played.
For example, above-mentioned loading submodule 33 specifically can be used for:The sub- content of the target is loaded in the view window.
(4) module 40 is recorded
Module 40 is recorded, is recorded for the displaying process to the target web, obtains data recording.
In the present embodiment, the displaying process refers mainly to target web entirely showing from incipient stage to ending phase
Journey, it can show including image and audio plays.The recording operation relies primarily on the built-in device of terminal to realize, for example takes the photograph
, specifically can be by carrying out picture pick-up device and microphone similar to controls such as AVFoundation frameworks as head, microphone etc.
Calling, so as to realize record, obtained data recording is really video data.
It is easily understood that before formal recorded, the calling that need to carry out picture pick-up device and microphone prepares,
That is, the generating means of the video file can also include add module 60, be used for:
Before displaying process of the recording module 40 to the target web is recorded, video record request is obtained;
Default monitoring figure layer is added in view window according to video record request.
In the present embodiment, the default monitoring figure layer can be preview figure layer, be mainly used in in the loading in view window
Appearance is monitored, and its size can be in the same size with view window, or slightly larger than view window, it is complete to guarantee to be recorded to
Portion's display content.It should be noted that while monitoring figure layer default using the addition of AVFoundation frameworks, also need to carry out
Other preparations, for example initialization process is carried out to the picture pick-up device in terminal, microphone etc., specify the storage of data recording
Region etc..Video record request can be automatic triggering generation, such as i.e. generation when address field is successfully loaded website information,
Can also be that user triggers generation manually, for example user clicks on recording button on interactive interface or icon and (namely records and connect
Mouthful) when generation, specifically can according to the actual requirements depending on.
Now, the recording module 40 specifically can be used for:Utilize the displaying process of the default monitoring figure layer to target web
Recorded.
In the present embodiment, when all preparations are completed, you can start to call picture pick-up device and microphone to be recorded
, and in recording process, when the displaying process of the target web is that automatic triggering is completed, user can need not carry out other
Operation can complete the recording of displaying process, when the displaying process of the target web is that user triggers completion manually, then need
The recording of whole displaying process is completed by the mutual-action behavior of user.
(5) second generation modules 50
Second generation module 50, for generating video file according to the data recording.
In the present embodiment, after the displaying process to target web is recorded, the follow-up can of user passes through recording
Data watch the whole displaying process of target web, convenient directly perceived without experience manually, show efficiency high.The video file
Except video data (namely data recording) can be included, other information can also be included, for example, video name, video size,
Video profile etc..Coda is being recorded, user can be with self termination recording operation, than as by clicking on " end " on interactive interface
Button terminates, can also be by terminal control, such as at the end of terminal detects the whole displaying process of target web, can be with
It is automatic to terminate recording operation, etc..
For example, the video file can include thumbnail, the thumbnail refer to compressed mode handle after picture, it adds
It is very fast to carry speed, is mainly used in fast browsing.The determination mode of the thumbnail can have it is a variety of, such as can be at random from regarding
Frequency extracts a frame picture compression in and obtained or according to certain rule, for example selects one according to total duration is recorded
Picture compression obtains, and now, second generation module 50 can specifically include the second acquisition submodule 51, the and of determination sub-module 52
Submodule 53 is generated, wherein:
Second acquisition submodule 51, for obtaining the recording total duration of the data recording.
Determination sub-module 52, for determining target image from the data recording according to the recording total duration.
For example, the determination sub-module 52 specifically can be used for:
Determine that target records duration according to the recording total duration;
The image that duration recording is recorded in target is obtained from the data recording, as target image.
In the present embodiment, the ratio that the target is recorded duration and recorded between total duration can be fixed value, the fixed value
Can according to the actual requirements depending on, such as 1/3rd, namely a length of 1/3rd record total duration when the target is recorded.
Submodule 53 is generated, for generating video file according to the target image and data recording.
In the present embodiment, the target image is the image pointed by thumbnail.When according to record total duration target is determined
After image, the target image can be compressed, obtain the thumbnail.
Certainly, the video file can also include the information related to video data such as video name, video profile, this
When, the generation submodule 53 specifically can be used for:
The key message of the target web is obtained according to the website information;
The key message, target image and data recording are packed, obtain video file.
In the present embodiment, the key message can include the information such as web page title and brief introduction, and it generally can be from mesh
Website where mark webpage is got, and user can substantially determine itself journey interested to the video data by these information
Speed is checked in degree, raising.The key message can also include network originating, such as Quick Response Code and website information etc., so, when with
When the displaying process of reading H5 works by existing manner is wanted at family, it can be looked into according to network originating into the originating website
See, flexibility is high.
In addition, the generating means of the video file can also include uploading module 70, it is used for:In second generation module 50
After generating video file according to the data recording, the video file is uploaded to predetermined server, so that the predetermined server
The displaying interface of the target web is generated according to video file.
In the present embodiment, the predetermined server can be primarily used for showing the application server of H5 works.When default clothes
When business device receives the video file of upload, corresponding displaying interface can be generated, can include Quick Response Code on the displaying interface
Scanning area, video playback area, brief introduction viewing area and user reviews area etc., the two-dimensional code scanning area, video playback area and
The content of brief introduction viewing area mainly obtains from video file, and the set location and size in each region can be according to reality
Depending on demand.
It when it is implemented, above unit can be realized as independent entity, can also be combined, be made
Realized for same or several entities, the specific implementation of above unit can be found in embodiment of the method above, herein not
Repeat again.
From the foregoing, the generating means for the video file that the present embodiment provides, webpage exhibition is obtained by acquisition module 10
Show request, web page display request carries the website information of target web, and the first generation module 20 is asked according to the web page display
View window is generated, then, display module 30 shows the target web according to the website information in view window, records module
The displaying process of 40 pairs of target webs is recorded, and obtains data recording, and afterwards, the second generation module 50 is according to the recording number
According to generation video file, so as to which the displaying process of webpage works is fabricated into video, net is realized by way of video playback
The displaying of page works, is participated in, simple, intuitive manually without user, shows efficiency high.
Accordingly, the embodiment of the present invention also provides a kind of generation system of video file, including the embodiment of the present invention is carried
The generating means of any video file supplied, the generating means of the video file can integrate in the terminal.
Wherein, terminal can obtain web page display request, and web page display request carries the website information of target web;Root
According to the web page display request view window is generated in current interactive interface;Being shown according to the website information in view window should
Target web;Displaying process to the target web is recorded, and obtains data recording;Video text is generated according to the data recording
Part.
The specific implementation of each equipment can be found in embodiment above above, will not be repeated here.
By the webpage authoring system can include the generation dress for any video file that the embodiment of the present invention is provided
Put, it is thereby achieved that the beneficial effect achieved by the generating means for any video file that the embodiment of the present invention is provided
Fruit, embodiment above is referred to, will not be repeated here.
Accordingly, the embodiment of the present invention also provides a kind of terminal, as shown in figure 4, the terminal can include radio frequency (RF,
Radio Frequency) circuit 801, include the memories 802, defeated of one or more computer-readable recording mediums
Enter unit 803, display unit 804, sensor 805, voicefrequency circuit 806, Wireless Fidelity (WiFi, Wireless Fidelity)
Module 807, include the part such as one or the processor 808 of more than one processing core and power supply 809.This area skill
Art personnel are appreciated that the restriction of the terminal structure shown in Fig. 4 not structure paired terminal, can include more more or more than illustrating
Few part, either combine some parts or different parts arrangement.Wherein:
RF circuits 801 can be used for receive and send messages or communication process in, the reception and transmission of signal, especially, by base station
After downlink information receives, transfer to one or more than one processor 808 is handled;In addition, it is sent to up data are related to
Base station.Generally, RF circuits 801 include but is not limited to antenna, at least one amplifier, tuner, one or more oscillators, use
Family identity module (SIM, Subscriber Identity Module) card, transceiver, coupler, low-noise amplifier
(LNA, Low Noise Amplifier), duplexer etc..In addition, RF circuits 801 can also pass through radio communication and network and its
His equipment communication.The radio communication can use any communication standard or agreement, including but not limited to global system for mobile communications
(GSM, Global System of Mobile communication), general packet radio service (GPRS, General
Packet Radio Service), CDMA (CDMA, Code Division Multiple Access), wideband code division it is more
Location (WCDMA, Wideband Code Division Multiple Access), Long Term Evolution (LTE, Long Term
Evolution), Email, Short Message Service (SMS, Short Messaging Service) etc..
Memory 802 can be used for storage software program and module, and processor 808 is stored in memory 802 by operation
Software program and module, so as to perform various function application and data processing.Memory 802 can mainly include storage journey
Sequence area and storage data field, wherein, storing program area can storage program area, the application program (ratio needed at least one function
Such as sound-playing function, image player function) etc.;Storage data field can store uses created data according to terminal
(such as voice data, phone directory etc.) etc..In addition, memory 802 can include high-speed random access memory, can also include
Nonvolatile memory, for example, at least a disk memory, flush memory device or other volatile solid-state parts.Phase
Ying Di, memory 802 can also include Memory Controller, to provide processor 808 and input block 803 to memory 802
Access.
Input block 803 can be used for the numeral or character information for receiving input, and generation is set with user and function
Control relevant keyboard, mouse, action bars, optics or the input of trace ball signal.Specifically, in a specific embodiment
In, input block 803 may include touch sensitive surface and other input equipments.Touch sensitive surface, also referred to as touch display screen or tactile
Control plate, collect user on or near it touch operation (such as user using any suitable object such as finger, stylus or
Operation of the annex on touch sensitive surface or near touch sensitive surface), and corresponding connection dress is driven according to formula set in advance
Put.Optionally, touch sensitive surface may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus is examined
The touch orientation of user is surveyed, and detects the signal that touch operation is brought, transmits a signal to touch controller;Touch controller from
Touch information is received on touch detecting apparatus, and is converted into contact coordinate, then gives processor 808, and can reception processing
Order that device 808 is sent simultaneously is performed.It is furthermore, it is possible to a variety of using resistance-type, condenser type, infrared ray and surface acoustic wave etc.
Type realizes touch sensitive surface.Except touch sensitive surface, input block 803 can also include other input equipments.Specifically, other are defeated
Physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse can be included but is not limited to by entering equipment
One or more in mark, action bars etc..
Display unit 804 can be used for display by user input information or be supplied to user information and terminal it is various
Graphical user interface, these graphical user interface can be made up of figure, text, icon, video and its any combination.Display
Unit 804 may include display panel, optionally, can use liquid crystal display (LCD, Liquid Crystal Display),
The forms such as Organic Light Emitting Diode (OLED, Organic Light-Emitting Diode) configure display panel.Further
, touch sensitive surface can cover display panel, after touch sensitive surface detects the touch operation on or near it, send processing to
Device 808 is followed by subsequent processing device 808 and provided on a display panel accordingly according to the type of touch event to determine the type of touch event
Visual output.Although in Fig. 4, touch sensitive surface realizes input and input with display panel is the part independent as two
Function, but in some embodiments it is possible to touch sensitive surface and display panel are integrated and realize input and output function.
Terminal may also include at least one sensor 805, such as optical sensor, motion sensor and other sensors.
Specifically, optical sensor may include ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to ambient light
Light and shade adjust the brightness of display panel, proximity transducer can close display panel and/or the back of the body when terminal is moved in one's ear
Light.As one kind of motion sensor, gravity accelerometer can detect in all directions (generally three axles) acceleration
Size, size and the direction of gravity are can detect that when static, available for identification mobile phone posture application (such as horizontal/vertical screen switching,
Dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;It can also configure as terminal
Gyroscope, barometer, hygrometer, thermometer, the other sensors such as infrared ray sensor, will not be repeated here.
Voicefrequency circuit 806, loudspeaker, microphone can provide the COBBAIF between user and terminal.Voicefrequency circuit 806 can
Electric signal after the voice data received is changed, is transferred to loudspeaker, and voice signal output is converted to by loudspeaker;It is another
The voice signal of collection is converted to electric signal by aspect, microphone, and voice data is converted to after being received by voicefrequency circuit 806, then
After voice data output processor 808 is handled, through RF circuits 801 to be sent to such as another terminal, or by voice data
Export to memory 802 further to handle.Voicefrequency circuit 806 is also possible that earphone jack, with provide peripheral hardware earphone with
The communication of terminal.
WiFi belongs to short range wireless transmission technology, and terminal can help user's transceiver electronicses postal by WiFi module 807
Part, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and accessed.Although Fig. 4 is shown
WiFi module 807, but it is understood that, it is simultaneously not belonging to must be configured into for terminal, can not change as needed completely
Become in the essential scope of invention and omit.
Processor 808 is the control centre of terminal, using various interfaces and the various pieces of connection whole mobile phone, is led to
Cross operation or perform the software program and/or module being stored in memory 802, and call and be stored in memory 802
Data, the various functions and processing data of terminal are performed, so as to carry out integral monitoring to mobile phone.Optionally, processor 808 can wrap
Include one or more processing cores;Preferably, processor 808 can integrate application processor and modem processor, wherein, should
Operating system, user interface and application program etc. are mainly handled with processor, modem processor mainly handles radio communication.
It is understood that above-mentioned modem processor can not also be integrated into processor 808.
Terminal also includes the power supply 809 (such as battery) to all parts power supply, it is preferred that power supply can pass through power supply pipe
Reason system and processor 808 are logically contiguous, so as to realize management charging, electric discharge and power managed by power-supply management system
Etc. function.Power supply 809 can also include one or more direct current or AC power, recharging system, power failure inspection
The random component such as slowdown monitoring circuit, power supply changeover device or inverter, power supply status indicator.
Although being not shown, terminal can also include camera, bluetooth module etc., will not be repeated here.Specifically in this implementation
In example, the processor 808 in terminal can be according to following instruction, by corresponding to the process of one or more application program
Executable file is loaded into memory 802, and runs the application program being stored in memory 802 by processor 808, from
And realize various functions:
Web page display request is obtained, web page display request carries the website information of target web;
View window is generated in current interactive interface according to web page display request;
The target web is shown in view window according to the website information;
Displaying process to the target web is recorded, and obtains data recording;
Video file is generated according to the data recording.
The terminal can be realized achieved by the generating means for any video file that the embodiment of the present invention is provided
Effective effect, embodiment above is referred to, will not be repeated here.
It will appreciated by the skilled person that all or part of step in the various methods of above-described embodiment can be with
Completed by instructing, or control related hardware to complete by instructing, the instruction can be stored in one and computer-readable deposit
In storage media, and loaded and performed by processor.
Therefore, the embodiment of the present invention provides a kind of storage medium, wherein being stored with a plurality of instruction, the instruction can be processed
Device is loaded, to perform the step in any data processing method that the embodiment of the present invention provided.
Wherein, the storage medium can include:Read-only storage (ROM, Read Only Memory), random access memory
Body (RAM, Random Access Memory), disk or CD etc..
By the instruction stored in the storage medium, any video text that the embodiment of the present invention is provided can be performed
Step in the generation method of part, it is thereby achieved that the generation side for any video file that the embodiment of the present invention is provided
Beneficial effect achieved by method, embodiment above is referred to, will not be repeated here.
The generation method of the video file provided above the embodiment of the present invention a kind of, device, storage medium, terminal and
System is described in detail, and specific case used herein is set forth to the principle and embodiment of the present invention, with
The explanation of upper embodiment is only intended to help the method and its core concept for understanding the present invention;Meanwhile for the technology of this area
Personnel, according to the thought of the present invention, there will be changes in specific embodiments and applications, in summary, this theory
Bright book content should not be construed as limiting the invention.
Claims (15)
- A kind of 1. generation method of video file, it is characterised in that including:Web page display request is obtained, the web page display request carries the website information of target web;View window is generated in current interactive interface according to web page display request;The target web is shown in view window according to the website information;Displaying process to the target web is recorded, and obtains data recording;Video file is generated according to the data recording.
- 2. the generation method of video file according to claim 1, it is characterised in that in the displaying to the target web Before process is recorded, in addition to:Obtain video record request;Default monitoring figure layer is added in view window according to video record request;The displaying process to the target web is recorded, including:Using the default monitoring figure layer to target web Displaying process recorded.
- 3. the generation method of video file according to claim 1, it is characterised in that current interactive interface includes address Column, it is described that the target web is shown in view window according to the website information, including:The website information is injected into the address field;The displaying content of the target web is obtained according to the address field after injection;The displaying content is loaded in the view window.
- 4. the generation method of video file according to claim 3, it is characterised in that the displaying content includes more cross-talks Content, the address field according to after injection obtain the displaying content of the target web, including:More cross-talk contents according to corresponding to the address field after injection determines the target web;The sub- content of target is obtained from more cross-talk contents;It is described to load the displaying content in the view window, including:Target is loaded in the view window Content.
- 5. the generation method of the video file according to any one in claim 1-4, it is characterised in that described according to institute Data recording generation video file is stated, including:Obtain the recording total duration of the data recording;Target image is determined from the data recording according to the recording total duration;According to the target image and data recording generation video file.
- 6. the generation method of video file according to claim 5, it is characterised in that it is described according to the target image and Data recording generates video file, including:The key message of the target web is obtained according to the website information;The key message, target image and data recording are packed, obtain video file.
- 7. the generation method of video file according to claim 5, it is characterised in that described according to the recording total duration Target image is determined from the data recording, including:Determine that target records duration according to the recording total duration;The image that duration recording is recorded in target is obtained from the data recording, as target image.
- A kind of 8. generating means of video file, it is characterised in that including:Acquisition module, for obtaining web page display request, the web page display request carries the website information of target web;First generation module, for generating view window in current interactive interface according to web page display request;Display module, for showing the target web in view window according to the website information;Module is recorded, is recorded for the displaying process to the target web, obtains data recording;Second generation module, for generating video file according to the data recording.
- 9. the generating means of video file according to claim 8, it is characterised in that also including add module, be used for:Before displaying process of the recording module to the target web is recorded, video record request is obtained;Default monitoring figure layer is added in view window according to video record request;The recording module is specifically used for:Recorded using displaying process of the default monitoring figure layer to target web.
- 10. the generating means of video file according to claim 8, it is characterised in that current interactive interface includes address Column, the display module specifically include:Submodule is injected, for the website information to be injected into the address field;First acquisition submodule, for obtaining the displaying content of the target web according to the address field after injection;Submodule is loaded, for loading the displaying content in the view window.
- 11. the generating means of video file according to claim 10, it is characterised in that the displaying content includes multistage Sub- content, first acquisition submodule are specifically used for:More cross-talk contents according to corresponding to the address field after injection determines the target web;The sub- content of target is obtained from more cross-talk contents;The loading submodule is specifically used for:The sub- content of the target is loaded in the view window.
- 12. the generating means of the video file according to any one in claim 8-11, it is characterised in that described second Generation module specifically includes:Second acquisition submodule, for obtaining the recording total duration of the data recording;Determination sub-module, for determining target image from the data recording according to the recording total duration;Submodule is generated, for generating video file according to the target image and data recording.
- 13. the generating means of video file according to claim 12, it is characterised in that the generation submodule is specifically used In:The key message of the target web is obtained according to the website information;The key message, target image and data recording are packed, obtain video file.
- 14. the generating means of video file according to claim 12, it is characterised in that the determination sub-module is specifically used In:Determine that target records duration according to the recording total duration;The image that duration recording is recorded in target is obtained from the data recording, as target image.
- 15. a kind of storage medium, it is characterised in that the storage medium is stored with a plurality of instruction, and the instruction is suitable to processor Loaded, the step in the generation method of the video file described in 1 to 7 any one is required with perform claim.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710680577.5A CN107480245B (en) | 2017-08-10 | 2017-08-10 | A kind of generation method of video file, device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710680577.5A CN107480245B (en) | 2017-08-10 | 2017-08-10 | A kind of generation method of video file, device and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107480245A true CN107480245A (en) | 2017-12-15 |
CN107480245B CN107480245B (en) | 2018-12-28 |
Family
ID=60600061
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710680577.5A Active CN107480245B (en) | 2017-08-10 | 2017-08-10 | A kind of generation method of video file, device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107480245B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110381363A (en) * | 2019-07-17 | 2019-10-25 | 深信服科技股份有限公司 | Video encoding/decoding method, device, server and storage medium |
CN114666621A (en) * | 2022-03-22 | 2022-06-24 | 阿里云计算有限公司 | Page processing method, device and equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103197836A (en) * | 2013-03-15 | 2013-07-10 | 北京小米科技有限责任公司 | Interactive method, device and system of multimedia information |
US20140205259A1 (en) * | 2013-01-24 | 2014-07-24 | Kiran Kamity | Screen recording for creating contents in mobile devices |
CN105657498A (en) * | 2016-02-17 | 2016-06-08 | 腾讯科技(深圳)有限公司 | Video recording method and device of mobile terminal |
CN106406710A (en) * | 2016-09-30 | 2017-02-15 | 维沃移动通信有限公司 | Screen recording method and mobile terminal |
-
2017
- 2017-08-10 CN CN201710680577.5A patent/CN107480245B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140205259A1 (en) * | 2013-01-24 | 2014-07-24 | Kiran Kamity | Screen recording for creating contents in mobile devices |
CN103197836A (en) * | 2013-03-15 | 2013-07-10 | 北京小米科技有限责任公司 | Interactive method, device and system of multimedia information |
CN105657498A (en) * | 2016-02-17 | 2016-06-08 | 腾讯科技(深圳)有限公司 | Video recording method and device of mobile terminal |
CN106406710A (en) * | 2016-09-30 | 2017-02-15 | 维沃移动通信有限公司 | Screen recording method and mobile terminal |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110381363A (en) * | 2019-07-17 | 2019-10-25 | 深信服科技股份有限公司 | Video encoding/decoding method, device, server and storage medium |
CN114666621A (en) * | 2022-03-22 | 2022-06-24 | 阿里云计算有限公司 | Page processing method, device and equipment |
Also Published As
Publication number | Publication date |
---|---|
CN107480245B (en) | 2018-12-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6130335B2 (en) | Information display program, distribution device, information display method, and information display device | |
US10049147B2 (en) | Method, apparatus and terminal for processing documents | |
WO2017173781A1 (en) | Video frame capturing method and device | |
EP2988495A1 (en) | Data presentation method, terminal and system | |
KR20190045386A (en) | Advertisement push system, apparatus, and method | |
CN108235086A (en) | Video playing control method, device and corresponding terminal | |
CN105808044A (en) | Information push method and device | |
KR101972939B1 (en) | Method and apparatus for displaying past chat history | |
US20190258371A1 (en) | Picture Processing Method and Apparatus, Electronic Device, and Graphical User Interface | |
US20150248722A1 (en) | Web based interactive multimedia system | |
WO2017088357A1 (en) | Lyrics page generating method and apparatus | |
WO2016155446A1 (en) | Information display method, channel management platform, and terminal | |
JP6224786B1 (en) | Information display program, information display device, information display method, and distribution device | |
CN109756767A (en) | Preview data playback method, device and storage medium | |
KR20120052584A (en) | Mobile terminal and method for applying metadata thereof | |
JP2015056127A (en) | Server device, information processing program, information processing system, and information processing method | |
CN105094513A (en) | User avatar setting method and apparatus as well as electronic device | |
US20150009363A1 (en) | Video tagging method | |
CN113918522A (en) | File generation method and device and electronic equipment | |
CN107480245B (en) | A kind of generation method of video file, device and storage medium | |
CN112887794B (en) | Video editing method and device | |
CN104038832A (en) | Video playing method and device | |
CN104113464B (en) | Exchange method, device and system based on instant messaging prompting | |
CN105677709A (en) | Information processing method and apparatus, and device for processing information | |
JP2017027245A (en) | Information display program, information display device, information display method, distribution device and distribution method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20240119 Address after: 518057 Tencent Building, No. 1 High-tech Zone, Nanshan District, Shenzhen City, Guangdong Province, 35 floors Patentee after: TENCENT TECHNOLOGY (SHENZHEN) Co.,Ltd. Patentee after: TENCENT CLOUD COMPUTING (BEIJING) Co.,Ltd. Address before: 518000 Tencent Building, No. 1 High-tech Zone, Nanshan District, Shenzhen City, Guangdong Province, 35 Floors Patentee before: TENCENT TECHNOLOGY (SHENZHEN) Co.,Ltd. |
|
TR01 | Transfer of patent right |