CN108234402A - In the method and apparatus that mobile client obtains the method and apparatus of video flowing and executable code is provided to mobile client - Google Patents

In the method and apparatus that mobile client obtains the method and apparatus of video flowing and executable code is provided to mobile client Download PDF

Info

Publication number
CN108234402A
CN108234402A CN201611159215.3A CN201611159215A CN108234402A CN 108234402 A CN108234402 A CN 108234402A CN 201611159215 A CN201611159215 A CN 201611159215A CN 108234402 A CN108234402 A CN 108234402A
Authority
CN
China
Prior art keywords
video content
video
executable code
mobile client
embedded
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
Application number
CN201611159215.3A
Other languages
Chinese (zh)
Other versions
CN108234402B (en
Inventor
李烨民
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Small Mutual Entertainment Technology Co Ltd
Original Assignee
Beijing Small Mutual Entertainment Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Small Mutual Entertainment Technology Co Ltd filed Critical Beijing Small Mutual Entertainment Technology Co Ltd
Priority to CN201611159215.3A priority Critical patent/CN108234402B/en
Publication of CN108234402A publication Critical patent/CN108234402A/en
Application granted granted Critical
Publication of CN108234402B publication Critical patent/CN108234402B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/75Media network packet handling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/75Media network packet handling
    • H04L65/764Media network packet handling at the destination 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/858Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot
    • H04N21/8586Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot by using a URL

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The method and apparatus with the relevant executable code of video content are provided this application discloses the method and apparatus that video flowing is obtained in mobile client and to mobile client.Include in the method that mobile client obtains video flowing:The request for accessing webpage is sent to server, video content is embedded in the webpage;Executable code received from the server, associated with the video content is performed, to obtain the network address of the video content;And the video flowing of the video content is obtained according to the network address.

Description

The method and apparatus of video flowing are obtained in mobile client and are carried to mobile client For the method and apparatus of executable code
Technical field
This application involves video sniff technologies, and in particular to mobile client obtain video flowing method and apparatus and The method and apparatus with the relevant executable code of video content are provided to mobile client.
Background technology
With the development of the media such as internet and video technique, video file is increasingly used for information propagation.Nothing By being by TV media or by network media etc., people can obtain information or viewing by a large amount of video file Oneself interested program.How video is carried out effectively polymerizeing and using the hot spot for becoming current research.
PC page ends usually using flash player as main playing video file, mobile page end usually using H5 players as It is main.However, mobile client player usually only supports the video flowing of similar flv, mp4, m3u8 form.Therefore, PC page ends Both video resources directly can not play and download in mobile client player with mobile page end.
In the prior art, typically sniff module is disposed in server end.Connect when server receives mobile client When connecing the request of webpage, if being embedded with video content on the webpage, its interior sniff module extraction disposed of server by utilizing The video flowing of video content, is then sent to mobile client by HTTP interface.
However, since video flowing file itself is larger, video can be streamed to and be deployed in the more of various regions by video provider On a cdn nodes.When user plays or downloads the video flowing, nearest cdn nodes can be asked to send video flowing to user, To reach best user experience.It is well known that different cdn nodes, the request address of video file is different.It is if logical If the sniff module extraction video file for crossing server, in order to reach better video playing and speed of download, then need Different regions disposes multiple servers and carries out sniff.In this way, then substantially increase cost.
On the other hand, provider's (for example, each video website) of existing video content would generally regard video file Frequency stream does validity check in itself.For example a video flowing can only ask in 10 minutes, if it exceeds the time, then will be set It is set to invalidation request.In this way, if carrying out sniff to video file in server end, in order to ensure the effective of video flowing Property, server needs same video to do periodic sniff.This will expend resource significantly.
Invention content
This application provides mobile client obtain video flowing method and apparatus and to mobile client provide with The method and apparatus of the relevant executable code of video content.
According to the one side of the application, include in the method that mobile client obtains video flowing:It sends and visits to server It asks the request of webpage, video content is embedded in the webpage;Perform received from the server, with the video content phase Associated executable code, to obtain the network address of the video content;And it is regarded according to obtaining the network address The video flowing of frequency content.
According to one embodiment, the executable code is lua codes.
According to one embodiment, the executable code is cross-domain code.
According to one embodiment, it performs being received from the server, associated with the video content executable Code includes:The lua codes are performed in preset lua performing environments.
According to one embodiment, the executable code is embedded with the play rules of the video content and sniff rule Then, the sniff rule includes the real URL address of the video content, and the method further includes:According to the video The play rules of content play the video content in mobile client.
According to one embodiment, being received from the server, associated with the video content hold is being performed After line code, the method further includes:Play rules embedded in the executable code are stored, and records described play and advises Provider then.
According to the another aspect of the application, the method with the relevant executable code of video content is provided to mobile client Including:The chained address of webpage is extracted in the request sent from mobile client, video content is embedded in the webpage;Generation With the corresponding executable code of video content embedded in the chained address extracted;And the executable code of generation is sent out It send to the mobile client.
According to one embodiment, the executable code is lua codes.
According to one embodiment, the executable code is cross-domain code.
According to one embodiment, embedded video content is corresponding executable in the chained address for generating and being extracted Code includes:Obtain the video playing rule of the provider of the video content and the sniff rule of the video content;And The executable code is generated according to the video playing rule and the sniff rule.
According to one embodiment, the sniff rule includes the real URL address of the video content.
According to one embodiment, the video playing rule include video data interface message, page elements information with And video data enciphering/deciphering information.
According to one embodiment, the video playing rule of the provider of the video content and the video content are obtained Sniff rule include:Identify the provider of the video content;And it downloads and regards in real time from the provider of the video content Frequency play rules.
According to one embodiment, the video playing rule of the provider of the video content and the video content are obtained Sniff rule include:From provider's periodic download video playing rule of the video content;And in response to from described The request that mobile client receives, the video playing rule that provider's last time from the video content is downloaded is really It is set to the video playing rule of the provider of the video content.
According to one embodiment, the video playing rule of the provider of the video content and the video content are obtained Sniff rule further include:Create video playing rule and the mapping table of provider;And in the correspondence created The video playing rule that storage is downloaded from the provider of video content in table;And in response to what is received from the mobile client The video playing rule that provider's last time from the video content is downloaded is determined as the video content by the request The video playing rule of provider include:Video playing rule is searched from the mapping table.
According to the another aspect of the application, the mobile terminal apparatus for obtaining video flowing includes:Transmitting element, to service Device sends the request for accessing webpage, and video content is embedded in the webpage;Execution unit is performed and is received from the server , associated with video content executable code, to obtain the network address of the video content;And it obtains single Member obtains the video flowing of the video content according to the network address.
According to one embodiment, the executable code is lua codes.
According to one embodiment, the executable code is cross-domain code.
According to one embodiment, the execution unit includes lua execution modules, and the lua execution modules are preset with lua Performing environment, for performing the lua codes.
According to one embodiment, the executable code is embedded with the play rules of the video content and sniff rule Then, the play rules include video data interface message, page elements information and video data enciphering/deciphering information, described to smell The real URL address that rule includes the video content is visited, and the mobile terminal apparatus further includes:Broadcast unit, according to The play rules of the video content play the video content.
According to one embodiment, which further includes:Stored record unit stores the executable code The play rules of middle insertion, and record the provider of the play rules.
According to the another aspect of the application, for being provided and the relevant executable code of video content to mobile client Server includes:Extraction unit extracts the chained address of webpage, is embedded in the webpage in the request sent from mobile client There is video content;Generation unit, generation and the corresponding executable code of video content embedded in the chained address extracted; And transmitting element, the executable code of generation is sent to the mobile client.
According to one embodiment, the executable code is lua codes.
According to one embodiment, the executable code is cross-domain code.
According to one embodiment, the generation unit includes:Subelement is obtained, obtains the provider of the video content Video playing rule and the video content sniff rule;And generation subelement, according to the video playing rule with The sniff rule generates the executable code.
According to one embodiment, the sniff rule includes the real URL address of the video content.
According to one embodiment, the video playing rule include video data interface message, page elements information with And video data enciphering/deciphering information.
According to one embodiment, the acquisition subelement includes:Identification module identifies the offer of the video content Side;And download module, from the real-time foradownloaded video play rules of the provider of the video content.
According to one embodiment, the acquisition subelement includes:Download module, from provider's week of the video content Phase property foradownloaded video play rules;And determining module, it, will be from institute in response to the request received from the mobile client State video content provider last time download video playing rule be determined as the video content provider video Play rules.
According to one embodiment, the acquisition subelement further includes:Creation module creates video playing rule with providing The mapping table of side;And memory module, it stores in the mapping table created and is downloaded from the provider of video content Video playing rule;And the determining module includes:Submodule is searched, video playing is searched from the mapping table Rule.
Description of the drawings
Fig. 1 shows the flow chart for the method for obtaining video flowing in mobile client according to one embodiment of the application.
Fig. 2 shows the flow charts for the method for obtaining video flowing in mobile client according to another embodiment.
Fig. 3 shows the flow chart for the method for obtaining video flowing in mobile client according to another embodiment.
Fig. 4 shows relevant executable with video content to mobile client offer according to one embodiment of the application The flow chart of the method for code.
Fig. 5 is shown according to video content embedded in one embodiment generation of the application and the chained address extracted The flow chart of corresponding executable code.
Fig. 6 shows the video playing rule for the provider that the video content is obtained according to one embodiment of the application With the flow chart of the sniff rule of the video content.
Fig. 7 shows the video playing rule for the provider that the video content is obtained according to another embodiment of the application With the flow chart of the sniff rule of the video content.
Fig. 8 shows the video playing rule for the provider that the video content is obtained according to another embodiment of the application With the flow chart of the sniff rule of the video content.
Fig. 9 shows the block diagram for the mobile terminal apparatus for being used to obtain video flowing according to one embodiment of the application.
Figure 10 shows the block diagram for the mobile terminal apparatus for being used to obtain video flowing according to another embodiment of the application.
Figure 11 shows the block diagram for the mobile terminal apparatus for being used to obtain video flowing according to another embodiment of the application.
Figure 12 shows relevant with video content for being provided to mobile client according to one embodiment of the application The block diagram of the server of executable code.
Figure 13 shows the block diagram of the generation unit according to one embodiment of the application.
Figure 14 shows the block diagram of the acquisition subelement according to one embodiment of the application.
Figure 15 shows the block diagram of the acquisition subelement according to another embodiment of the application.
Figure 16 shows the block diagram of the acquisition subelement according to another embodiment of the application.
Specific embodiment
Presently filed embodiment is described in detail referring to the drawings.It should be noted that only example is described below Property, and it is not intended to limit the application.In addition, in the following description, it will adopt and different attached drawings be indicated with like reference numerals In the same or similar component.Different characteristic in different embodiments described below can be bonded to each other, to form this Other embodiment in application range.
Fig. 1 shows the flow chart for the method for obtaining video flowing in mobile client according to one embodiment of the application. As shown in Figure 1, this method 1000 includes step S1100 to S1300.
In step S1100, the request for accessing webpage is sent to server, video content is embedded in the webpage.When with When family is using mobile terminal (e.g., mobile phone, tablet computer when) watching video program, it can access to be embedded in mobile client and regard The webpage of frequency content.User connects the webpage or clicks the video content on the webpage, you can is considered as to server and sends out access Request.
Then, in step S1200, executable code being received from server, associated with the video content is performed, To obtain the network address of the video content.After server receives the request that above-mentioned steps S1100 is sent out, it can generate and regard Frequency content associated executable code, the executable code can be embedded with sniff rule (e.g., the video content of video content Real URL address).The concrete operations of server end will be described below.As a result, in step S1200, performing this can Code is performed, then can obtain the sniff rule of the video content, that is, the network address of video content can be obtained.
In step S1300, the video flowing of video content can be obtained according to the network address.
The executable code that simultaneously execute server is sent can be received, and according to thus obtained in mobile client as a result, Network address obtains the video flowing of video content, so as to directly play video content in mobile client.The video flowing is root It is obtained in real time according to the mobile terminal current zone and network condition of user, multiple services is disposed so as to avoid in different geographical The expense of device.In addition, the executable code transmitted by server can generate in real time, video content can be met as a result, and carried The requirement of the validity check of supplier ensures the validity of video flowing.
According to one embodiment, the executable code generated by server can be that cross-domain code (e.g., utilizes The code that Javascript writes).According to one embodiment, which can be lua codes.In general, lua codes are only The size of 100k or so, it is therefore, less as the transmission time used in server is handed down to the lua code files of user so that user The broadcasting of video content can be entered at once, experience is watched so as to substantially increase user.
If in addition, the executable code is lua codes, when the lua codes are performed in above-mentioned steps S1200, can preset Lua performing environments in perform the lua codes.That is, it according to the present embodiment, needs to be preset with lua in mobile client Performing environment, so as to realize the execution function to lua codes.
According to one embodiment, by server generate executable code can be embedded with video content play rules and Sniff rule.Play rules may include video data interface message, page elements information and video data enciphering/deciphering information etc.. Sniff rule may include the real URL address of video content.
Fig. 2 shows the flow charts for the method for obtaining video flowing in mobile client according to another embodiment.Such as Fig. 2 institutes Show, other than step S1100 to S1300, this method 1000 ' further includes step S1400.It for the sake of brevity, below will only Embodiment shown in Fig. 2 and the difference of Fig. 1, and the detailed description that will omit its something in common are described.
In step S1400, the video content is played in mobile client according to the play rules of video content.For by The video content that different video providers provides, play rules are often different.That is, different videos provides The play rules that side is followed are often different.Due to having had been inserted into broadcasting for video content from the executable code that server receives Put rule, so as in mobile client according to the play rules normal play video content.
Fig. 3 shows the flow chart for the method for obtaining video flowing in mobile client according to another embodiment.Such as Fig. 3 institutes Show, other than step S1100 to S1400, this method 1000 " further includes step S1500.It for the sake of brevity, below will only Embodiment shown in Fig. 3 and the difference of Fig. 2, and the detailed description that will omit its something in common are described.
In step S1500, play rules embedded in executable code, and the provider of recording played rule are stored. As noted previously, as the play rules that different video providers is followed are often different, therefore, store play rules and record The provider of play rules, can be when playing the video content that same provider provides next time, by the content recorded, directly It finds and utilizes stored play rules, so as to simplify operation, and save processing time.
Fig. 4 shows relevant executable with video content to mobile client offer according to one embodiment of the application The flow chart of the method for code.As shown in figure 4, this method 4000 includes step S4100 to S4300.
In step S4100, the chained address of webpage is extracted in the request sent from mobile client, is embedded in the webpage There is video content.In server end, the request of the webpage for being embedded with video content is accessed when user is sent by mobile client When, server can extract the chained address of webpage from the request.
Then, in step S4200, generation with the video content being embedded in the chained address extracted is corresponding holds Line code.The executable code can be embedded with video playing rule (e.g., video data interface message, the page member of video content Prime information and video data enciphering/deciphering information etc.) and sniff rule (e.g., the real URL address of video content).Also, in step In rapid S4300, the executable code of generation is sent to mobile client.The visit sent as a result, in server end according to user It asks and requests to generate executable code, and be supplied to mobile client, so that mobile client performs the executable code, so as to It is enough to obtain the sniff rule of video content and according to sniff Rule video flowing in mobile client.
According to one embodiment, the executable code generated in above-mentioned steps S4200 can be cross-domain code (e.g., The code write using Javascript).According to one embodiment, which can also be lua codes.
Fig. 5 is shown according to video content embedded in one embodiment generation of the application and the chained address extracted The flow chart of corresponding executable code.As shown in figure 5, above-mentioned steps S4200 may include sub-step S4210 and S4220.
In sub-step S4210, the video playing rule of the provider of video content and the sniff rule of video content are obtained Then.When access request of the received server-side to mobile client to webpage, video content embedded in the webpage can be obtained Provider video playing rule and video content sniff rule.Specific acquisition modes will be described below.
Then, in sub-step S4220, executable code is generated according to video playing rule and sniff rule.Namely It says, the play rules of video content and sniff rule is embedded in executable code, so that mobile client is receiving After the executable code, the play rules of video content and sniff rule can be known by performing the code, so as to smooth It downloads and plays the video content.
Fig. 6 shows the video playing rule for the provider that the video content is obtained according to one embodiment of the application With the flow chart of the sniff rule of the video content.As shown in fig. 6, above-mentioned sub-step S4210 may include sub-step S4211 and S4212。
In sub-step S4211, the provider of video content is identified.When received server-side to mobile client to webpage Access request when, the provider of the video content can be identified by the parameter information of video content embedded in the webpage. Then, in sub-step S4212, from the real-time foradownloaded video play rules of the provider of video content.
The video playing rule of video content provider that server end is utilized when generating executable code as a result, is It is downloaded in real time in the provider according to the request of user, so as to ensure that the play rules are newest rules, to ensure to move Dynamic client can smoothly play video content after the executable code is performed.
Fig. 7 shows the video playing rule for the provider that the video content is obtained according to another embodiment of the application With the flow chart of the sniff rule of the video content.As shown in fig. 7, sub-step S4210 ' may include sub-step S4215 and S4216。
In sub-step S4215, from provider's periodic download video playing rule of video content.According to this embodiment party Formula, server end, can be periodically from video contents regardless of whether receive access request of the mobile client to webpage Provider downloads its video playing rule.In sub-step S4216, in response to the request received from mobile client, will from regarding The video playing rule that provider's last time of frequency content is downloaded is determined as the video playing rule of the provider of the video content Then.When the access request of received server-side to mobile client, can be regarded without downloading it from the provider of video content again Frequency play rules, but the video playing rule that last time is used to download.
It, can be immediately from locally selecting regarding of having downloaded as a result, when server end receives the access request of mobile client Frequency play rules without being downloaded again from the provider of video content, so as to save the operating time, improve user experience.
Fig. 8 shows the video playing rule for the provider that the video content is obtained according to another embodiment of the application With the flow chart of the sniff rule of the video content.As shown in figure 8, other than step S4215 and S4216, sub-step S4210 " may also include sub-step S4217 and S4218.For the sake of brevity, will only describe below embodiment shown in Fig. 8 with The difference of Fig. 7, and the detailed description that its something in common will be omitted.
In sub-step S4217, video playing rule and the mapping table of provider are created.Due in different videos The video playing rule for holding provider is often different, so, the mapping table created in this step is conducive to follow-up basis Different video content providers searches its video playing rule.
In sub-step S4218, storage the regarding from provider's download of video content in the mapping table created Frequency play rules.In addition, according to the present embodiment, above-mentioned sub-step S4216 may include:It searches and regards from above-mentioned mapping table Frequency play rules.
As a result, when user asks the video playing rule of the provider of video content embedded in the webpage accessed to store In server end, then server from the provider without downloading its video playing rule again, and only needs to obtain from local, So as to save the operating time, user experience is improved.
Fig. 9 shows the block diagram for the mobile terminal apparatus for being used to obtain video flowing according to one embodiment of the application.Such as Shown in Fig. 9, which includes transmitting element 9100, execution unit 9200 and acquiring unit 9300.It sends single Member 9100 sends the request for accessing webpage to server, and video content is embedded in the webpage.Execution unit 9200 perform from Executable code that the server receives, associated with the video content, with obtaining the network of the video content Location.Acquiring unit 9300 obtains the video flowing of the video content according to the network address.
According to one embodiment, which can be the cross-domain code (generation e.g., write using Javascript Code).According to one embodiment, which can be lua codes.
According to one embodiment, execution unit 9200 may include lua execution modules, which is preset with lua Performing environment, for performing lua codes.
Figure 10 shows the block diagram for the mobile terminal apparatus for being used to obtain video flowing according to another embodiment of the application.Such as Shown in Figure 10, other than transmitting element 9100, execution unit 9200 and acquiring unit 9300, the mobile terminal apparatus 9000 ' Further include broadcast unit 9400.For the sake of brevity, will only describe below embodiment shown in Fig. 10 it is different from Fig. 9's it Place, and the detailed description that its something in common will be omitted.
According to the embodiment, executable code is embedded with the play rules of the video content and sniff rule, described Play rules include video data interface message, page elements information and video data enciphering/deciphering information, the sniff rule Real URL address including the video content.In addition, broadcast unit 9400 can be broadcast according to the play rules of the video content Put the video content.
Figure 11 shows the block diagram for the mobile terminal apparatus for being used to obtain video flowing according to another embodiment of the application.Such as Shown in Figure 11, in addition to transmitting element 9100, execution unit 9200, acquiring unit 9300 and broadcast unit 9400 can other than, the shifting Dynamic terminal installation 9000 " further includes stored record unit 9500.For the sake of brevity, implementation shown in Figure 11 will be described only below The difference of mode and Figure 10, and the detailed description that its something in common will be omitted.
As shown in figure 11, stored record unit 9500 stores play rules embedded in the executable code, and records The provider of the play rules.
Figure 12 shows relevant with video content for being provided to mobile client according to one embodiment of the application The block diagram of the server of executable code.As shown in figure 12, which includes extraction unit 12100, generation unit 12200 and transmitting element 12300.Extraction unit 12100 extracts the chained address of webpage from the request that mobile client is sent, Video content is embedded in the webpage.Embedded video content in the chained address that generation unit 12200 is generated and extracted Corresponding executable code.The executable code of generation is sent to the mobile client by transmitting element 12300.
According to one embodiment, which can be the cross-domain code (generation e.g., write using Javascript Code).According to one embodiment, which can be lua codes.
Figure 13 shows the block diagram of the generation unit according to one embodiment of the application.As shown in figure 13, generation unit 12200 may include obtaining subelement 12210 and generate subelement 12220.It obtains subelement 12210 and obtains the video content The video playing rule of provider and the sniff rule of the video content.Subelement 12220 is generated according to the video playing It is regular to generate the executable code with the sniff rule.
According to one embodiment, sniff rule includes the real URL address of the video content.According to another embodiment party Formula, video playing rule include video data interface message, page elements information and video data enciphering/deciphering information.
Figure 14 shows the block diagram of the acquisition subelement according to one embodiment of the application.As shown in figure 14, son is obtained Unit 12210 may include identification module 12211 and download module 12212.Identification module 12211 identifies carrying for the video content Supplier.The real-time foradownloaded video play rules of provider of download module 12212 from the video content.
Figure 15 shows the block diagram of the acquisition subelement according to another embodiment of the application.As shown in figure 15, son is obtained Unit 12210 ' may include download module 12215 and determining module 12216.Download module 12215 is carried from the video content Supplier's periodic download video playing rule.Determining module 12216 in response to the request that is received from the mobile client, The video playing rule that provider's last time from the video content is downloaded is determined as to the provider of the video content Video playing rule.
Figure 16 shows the block diagram of the acquisition subelement according to another embodiment of the application.As shown in figure 16, in addition under Module 12215 and determining module 12216 are carried, subelement 12210 " is obtained and may also include creation module 12217 and memory module 12218.Creation module 12217 creates video playing rule and the mapping table of provider.Memory module 12218 is being created Mapping table in the video playing rule downloaded from the provider of video content of storage.In addition, determining module 12216 can wrap Lookup submodule is included, which is used to search video playing rule from the mapping table.
It will be understood by those skilled in the art that the technical solution of the application can be embodied as system, method or computer program Product.Therefore, the application can behave as the embodiment of complete hardware, the embodiment of complete software (including firmware, resident software, Microcode etc.) or the form of embodiment that is combined software and hardware, they may be referred to generally as " circuit ", " module " or " are System ".In addition, the application can behave as the form of computer program product, the computer program product is embedded into any tangible Expression media in, the tangible expression media, which has, is embedded into computer usable program code in the medium.
With reference to according to the method, apparatus (system) of the embodiment of the present application and the flow chart and/or frame of computer program product Figure describes the application.It is understood that can by computer program instructions execution flow chart and/or block diagram each frame, And the combination of multiple frames in flow chart and/or block diagram.These computer program instructions be provided to general purpose computer, The processor of special purpose computer or other programmable data processing units, so as to pass through computer or other programmable datas What the processor of processing unit performed instructs what is created a frame for being used to implement flow chart and/or block diagram or indicated in multiple frames The device of function/action.
These computer program instructions can also be stored in can instruct computer or other programmable data processing units with Specific mode is realized in the computer-readable medium of function, so that the instruction generation being stored in computer-readable medium includes Realize the command device of function/action indicated in flow chart and/or a frame in block diagram or multiple frames.
Computer program instructions can be also loaded into computer or other programmable data processing units, calculated with causing A series of operating procedure is performed on machine or on other programmable devices, to generate computer implemented process, so as to make to count The instruction performed on calculation machine or other programmable devices provides the frame or the multiple frames that are used to implement in flow chart and/or block diagram In the process of function/action that indicates.
Flow chart and block diagram in attached drawing show the system of multiple embodiments according to the application, method and computer program Architecture in the cards, function and the operation of product.In this regard, each frame in flow chart or block diagram can represent one A part for module, section or code is used to implement the executable instruction of specific logical function including one or more.Should also Note that in the implementation of some substitutability, the function of being marked in frame can not occur according to the sequence marked in attached drawing.For example, According to involved functionality, two frames continuously shown actually can substantially simultaneously perform or these frames are sometimes with phase Anti- sequence performs.It it can also be noted that can be by the hardware based system or specially of execution specific function or the special purpose of action With the combination of purpose hardware and computer instruction come realize each frame in block diagram and/or flowchart illustration and block diagram and/or The combination of multiple frames in flowchart illustration.
Although above narration includes many specific arrangements and parameter, these specific arrangements and ginseng should be noted that Number is merely illustrative the embodiment of the application.This should not be taken as the limitation to the application range.Art technology Personnel are appreciated that in the case where not departing from the application scope and spirit, it can be carry out various modifications, increase and replaced. Therefore, scope of the present application should be explained based on the claim.

Claims (9)

1. a kind of method for obtaining video flowing in mobile client, including:
The request for accessing webpage is sent to server, video content is embedded in the webpage;
Executable code received from the server, associated with the video content is performed, to obtain in the video The network address of appearance;And
The video flowing of the video content is obtained according to the network address.
2. the method as described in claim 1, wherein the executable code is lua codes.
3. the method as described in claim 1, wherein the executable code is cross-domain code.
4. method as claimed in claim 2, wherein performing being received from the server, associated with the video content Executable code includes:
The lua codes are performed in preset lua performing environments.
5. the method as described in claim 1, wherein the executable code be embedded with the video content play rules and Sniff rule, the sniff rule includes the real URL address of the video content, and the method further includes:
According to the play rules of the video content video content is played in mobile client.
6. method as claimed in claim 5, perform it is being received from the server, associated with the video content can After performing code, the method further includes:
Play rules embedded in the executable code are stored, and record the provider of the play rules.
7. a kind of method provided to mobile client with the relevant executable code of video content, including:
The chained address of webpage is extracted in the request sent from mobile client, video content is embedded in the webpage;
Generation and the corresponding executable code of video content embedded in the chained address extracted;And
The executable code of generation is sent to the mobile client.
8. it is a kind of for obtaining the mobile terminal apparatus of video flowing, including:
Transmitting element sends the request for accessing webpage to server, video content is embedded in the webpage;
Execution unit performs executable code received from the server, associated with the video content, to obtain State the network address of video content;And
Acquiring unit obtains the video flowing of the video content according to the network address.
9. a kind of server being used for mobile client offer and the relevant executable code of video content, including:
Extraction unit extracts the chained address of webpage, video is embedded in the webpage in the request sent from mobile client Content;
Generation unit, generation and the corresponding executable code of video content embedded in the chained address extracted;And
The executable code of generation is sent to the mobile client by transmitting element.
CN201611159215.3A 2016-12-15 2016-12-15 Method and device for acquiring video stream at mobile client and method and device for providing executable code to mobile client Active CN108234402B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611159215.3A CN108234402B (en) 2016-12-15 2016-12-15 Method and device for acquiring video stream at mobile client and method and device for providing executable code to mobile client

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611159215.3A CN108234402B (en) 2016-12-15 2016-12-15 Method and device for acquiring video stream at mobile client and method and device for providing executable code to mobile client

Publications (2)

Publication Number Publication Date
CN108234402A true CN108234402A (en) 2018-06-29
CN108234402B CN108234402B (en) 2020-12-08

Family

ID=62651362

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611159215.3A Active CN108234402B (en) 2016-12-15 2016-12-15 Method and device for acquiring video stream at mobile client and method and device for providing executable code to mobile client

Country Status (1)

Country Link
CN (1) CN108234402B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112714365A (en) * 2019-10-25 2021-04-27 上海哔哩哔哩科技有限公司 Video playing method and system

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070282819A1 (en) * 2000-04-07 2007-12-06 Virage, Inc. Network video guide and spidering
CN102111674A (en) * 2010-12-22 2011-06-29 深圳市五巨科技有限公司 System and method for playing on-line video by mobile terminal and mobile terminal
CN102306077A (en) * 2011-08-04 2012-01-04 深圳市万兴软件有限公司 Method for downloading video in Macintosh (MAC) platform browser and browser
CN102523248A (en) * 2011-11-24 2012-06-27 深圳市万兴软件有限公司 Method, client and server for playing webpage flash video
CN103533428A (en) * 2012-10-31 2014-01-22 Tcl集团股份有限公司 Method for releasing intelligent terminal webpage video to television for broadcasting and intelligent terminal
CN103607668A (en) * 2013-11-21 2014-02-26 优视科技有限公司 Video play method and apparatus
CN104125490A (en) * 2013-04-28 2014-10-29 腾讯科技(深圳)有限公司 Online video playing method and device
WO2014183487A1 (en) * 2013-05-16 2014-11-20 北京奇虎科技有限公司 Video playback method and device in webpage
CN104967909A (en) * 2014-09-19 2015-10-07 腾讯科技(深圳)有限公司 Page video play method and page video play apparatus
CN105407407A (en) * 2014-06-26 2016-03-16 广州市动景计算机科技有限公司 Video playing method and device
CN105792022A (en) * 2016-03-15 2016-07-20 北京齐尔布莱特科技有限公司 Adaptive video playing method and apparatus, and video playing system
CN105812842A (en) * 2014-12-30 2016-07-27 Tcl集团股份有限公司 Method and system for detecting network video addresses

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070282819A1 (en) * 2000-04-07 2007-12-06 Virage, Inc. Network video guide and spidering
CN102111674A (en) * 2010-12-22 2011-06-29 深圳市五巨科技有限公司 System and method for playing on-line video by mobile terminal and mobile terminal
CN102306077A (en) * 2011-08-04 2012-01-04 深圳市万兴软件有限公司 Method for downloading video in Macintosh (MAC) platform browser and browser
CN102523248A (en) * 2011-11-24 2012-06-27 深圳市万兴软件有限公司 Method, client and server for playing webpage flash video
CN103533428A (en) * 2012-10-31 2014-01-22 Tcl集团股份有限公司 Method for releasing intelligent terminal webpage video to television for broadcasting and intelligent terminal
CN104125490A (en) * 2013-04-28 2014-10-29 腾讯科技(深圳)有限公司 Online video playing method and device
WO2014183487A1 (en) * 2013-05-16 2014-11-20 北京奇虎科技有限公司 Video playback method and device in webpage
CN103607668A (en) * 2013-11-21 2014-02-26 优视科技有限公司 Video play method and apparatus
CN105407407A (en) * 2014-06-26 2016-03-16 广州市动景计算机科技有限公司 Video playing method and device
CN104967909A (en) * 2014-09-19 2015-10-07 腾讯科技(深圳)有限公司 Page video play method and page video play apparatus
CN105812842A (en) * 2014-12-30 2016-07-27 Tcl集团股份有限公司 Method and system for detecting network video addresses
CN105792022A (en) * 2016-03-15 2016-07-20 北京齐尔布莱特科技有限公司 Adaptive video playing method and apparatus, and video playing system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112714365A (en) * 2019-10-25 2021-04-27 上海哔哩哔哩科技有限公司 Video playing method and system

Also Published As

Publication number Publication date
CN108234402B (en) 2020-12-08

Similar Documents

Publication Publication Date Title
US9948965B2 (en) Manifest re-assembler for a streaming video channel
US10452250B2 (en) Method for associating media files with additional content
CN110366041B (en) Media data sharing method, device and equipment
US7769829B1 (en) Media feeds and playback of content
CN102572555A (en) Method and system for realizing live video playback at HTTP live streaming (HLS) client
US8266246B1 (en) Distributed playback session customization file management
US20140053182A1 (en) Method and system for evaluating and sharing media
CA2979357C (en) Systems and methods for inserting breakpoints and reference links into a media file
KR20130133904A (en) Apparatus and methods for retrieving/downloading content on a communication device
US9161075B2 (en) System independent remote storing of digital content
KR20150055559A (en) Method and apparatus for pre-fetching remote content based on static and dynamic recommendations
US20150082341A1 (en) Video curation platform with pre-roll advertisements for discovered content
CN104615700A (en) Method for collecting webpage objects in browser, browser client side and system
US20120173754A1 (en) System and method for interfacing content playback devices with network sites to supplement content playback
US20140282666A1 (en) Systems and Methods for Content History
CN103957460A (en) Method and device for generating television receiving terminal desktop application
US9762703B2 (en) Method and apparatus for assembling data, and resource propagation system
CN108234402A (en) In the method and apparatus that mobile client obtains the method and apparatus of video flowing and executable code is provided to mobile client
CN103491087B (en) Multimedia message processing method and device
EP3571657A1 (en) Digital media generation
KR20150059206A (en) Advertising Method Using Lock Screen of Mobile Device, Mobile Device and Program Distributing Server therefor
CN104468761B (en) Control the method and mobile terminal of player carry shared file
CN109561352B (en) Media object playing method and device, storage medium and electronic device
KR101495618B1 (en) Method for Operating Multimedia Contents
CN107634976B (en) Information pushing method, information obtaining method, advertisement pushing method, advertisement obtaining method and device

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