CN111654741B - Video data acquisition method and device, computer equipment and storage medium - Google Patents
Video data acquisition method and device, computer equipment and storage medium Download PDFInfo
- Publication number
- CN111654741B CN111654741B CN201910161543.4A CN201910161543A CN111654741B CN 111654741 B CN111654741 B CN 111654741B CN 201910161543 A CN201910161543 A CN 201910161543A CN 111654741 B CN111654741 B CN 111654741B
- Authority
- CN
- China
- Prior art keywords
- video data
- video
- request information
- data request
- mobile terminal
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 55
- 238000012216 screening Methods 0.000 claims description 18
- 230000006870 function Effects 0.000 claims description 16
- 230000004044 response Effects 0.000 claims description 16
- 230000006855 networking Effects 0.000 claims description 12
- 238000006243 chemical reaction Methods 0.000 claims description 9
- 238000004590 computer program Methods 0.000 claims description 6
- 238000004458 analytical method Methods 0.000 claims description 4
- 238000001914 filtration Methods 0.000 claims description 2
- 230000008569 process Effects 0.000 abstract description 13
- 238000010586 diagram Methods 0.000 description 10
- 230000009471 action Effects 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/433—Content storage operation, e.g. storage operation in response to a pause request, caching operations
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/70—Information retrieval; Database structures therefor; File system structures therefor of video data
- G06F16/78—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
- G06F16/7867—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using information manually generated, e.g. tags, keywords, comments, title and artist information, manually generated time, location and usage information, user ratings
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
- H04N21/4402—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
- H04N21/4402—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
- H04N21/440218—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display by transcoding between formats or standards, e.g. from MPEG-2 to MPEG-4
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/83—Generation or processing of protective or descriptive data associated with content; Content structuring
- H04N21/84—Generation or processing of descriptive data, e.g. content descriptors
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/83—Generation or processing of protective or descriptive data associated with content; Content structuring
- H04N21/84—Generation or processing of descriptive data, e.g. content descriptors
- H04N21/8405—Generation or processing of descriptive data, e.g. content descriptors represented by keywords
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Theoretical Computer Science (AREA)
- Library & Information Science (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a video data acquisition method and device, computer equipment and a storage medium, and belongs to the technical field of multimedia. The method comprises the following steps: acquiring video data request information sent by a mobile terminal; retrieving video data in the associated cache path according to the video data request information; and when the video data meeting the video data request information is retrieved, acquiring the video data and feeding back the video data to the mobile terminal. According to the invention, the video data request information sent by the mobile terminal is retrieved in the associated cache path, the video content which is required by the user and cached from the target server is obtained from the cache path, the requirement on the broadband in the process of obtaining the video content is reduced, the pressure of the target server is reduced, the fluency of video playing is improved, and the user experience is improved.
Description
Technical Field
The present invention relates to the field of multimedia technologies, and in particular, to a method and an apparatus for acquiring video data, a computer device, and a storage medium.
Background
With the development of internet multimedia technology, network videos attract a large number of users with convenient access experience, diversified film sources and real-time updating speed, so that the network videos become an indispensable important component of network life of the users.
With the improvement of the requirement of users on the viewing quality, high-quality video resources such as super-definition video resources and 4K video resources are also beginning to be favored by users. In order to meet the requirement of a user for obtaining high-quality video resources and ensure the fluency in the film watching process, higher requirements are provided for a network broadband, and meanwhile, the pressure of a video providing end server is also greatly increased.
Disclosure of Invention
The embodiment of the invention provides a video data acquisition method and device, computer equipment and a storage medium. The following presents a simplified summary in order to provide a basic understanding of some aspects of the disclosed embodiments. This summary is not an extensive overview and is intended to neither identify key/critical elements nor delineate the scope of such embodiments. Its sole purpose is to present some concepts in a simplified form as a prelude to the more detailed description that is presented later.
According to a first aspect of the embodiments of the present invention, there is provided a video data acquisition method, including:
acquiring video data request information sent by a mobile terminal;
retrieving video data in the associated cache path according to the video data request information;
and when video data meeting the video data request information is retrieved, acquiring the video data and feeding back the video data to the mobile terminal.
In some optional embodiments, the video data request information includes information such as a video title, a video type or a keyword;
the retrieving video data in the associated cache path according to the video data request information includes:
analyzing the video data request information to obtain a video title, a video type or keywords;
and retrieving video data in the associated cache path according to the video title, the video type or the keyword.
In some optional embodiments, the video data request information includes video definition, and information such as video title, video type or keyword;
the retrieving video data in an associated cache path according to the video data request information includes:
analyzing the video data request information to acquire video definition, video title, video type or keywords and other information;
retrieving video data in the associated cache path according to the video title, the video type or the keyword to obtain a preliminary retrieval result;
and screening the preliminary retrieval result according to the video definition, and screening out the video data meeting the video data request information.
In some optional embodiments, the obtaining the video data satisfying the video data request information includes:
and acquiring video data with the definition the same as that in the video data request information or higher than that in the video data request information.
In some optional embodiments, before the acquiring and feeding back the video data to the mobile terminal, the method further includes:
acquiring a video data list meeting the video data request information;
sending the video data list to the mobile terminal;
acquiring response information sent by the mobile terminal;
wherein, the response information includes: title and path of video data;
the acquiring the video data and feeding back the video data to the mobile terminal comprises the following steps:
acquiring video data according to the title and the path of the video data;
and feeding back the video data to the mobile terminal.
In some optional embodiments, the video data request information further includes: video data format.
Before the video data is obtained and fed back to the mobile terminal, the method further comprises the following steps:
when the format of the video data does not meet the video data request information, acquiring the video data and converting according to the video data format of the video data request information;
and feeding back the video data after format conversion to the mobile terminal.
In some optional embodiments, the method further comprises:
and when video data meeting the video data request information is not retrieved, sending the video data request information to a target server.
In some optional embodiments, the cache path comprises: the system comprises a server, a mobile terminal and a solid-state storage device with a networking function.
According to a second aspect of an embodiment of the present invention, there is provided a video data acquisition apparatus including:
a request information obtaining unit, configured to obtain video data request information sent by a mobile terminal;
the retrieval unit is used for retrieving the video data in the associated cache path according to the video data request information;
a video data acquisition unit, configured to acquire the video data when video data that satisfies the video data request information is retrieved;
and the feedback unit is used for feeding back the video data to the mobile terminal.
In some optional embodiments, the video data request information includes information such as a video title, a video type or a keyword;
the retrieval unit includes:
the first analysis subunit is used for analyzing the video data request information to acquire a video title, a video type or keywords;
and the first retrieval subunit is used for retrieving the video data in the associated cache path according to the video title, the video type or the keyword.
In some optional embodiments, the video data request information includes video definition, and information such as video title, video type or keyword;
the retrieval unit includes:
the second analysis subunit is used for analyzing the video data request information to acquire video definition, video title, video type or keywords and other information;
the second retrieval subunit is used for retrieving the video data in the associated cache path according to the video title, the video type or the keyword to obtain a preliminary retrieval result;
and the screening subunit is used for screening the preliminary retrieval result according to the video definition to screen out the video data meeting the video data request information.
In some optional embodiments, the screening subunit is configured to screen out video data with a resolution equal to or higher than the resolution in the video data request information.
In some optional embodiments, the apparatus further comprises:
a list acquisition unit configured to acquire a video data list that satisfies the video data request information;
a sending unit, configured to send the video data list to the mobile terminal;
a response information obtaining unit, configured to obtain response information sent by the mobile terminal;
wherein, the response information includes: title and path of video data;
the video data acquisition unit is used for acquiring video data according to the title and the path of the video data.
In some optional embodiments, the video data request information further includes: the video data format.
The device further comprises:
the format conversion unit is used for acquiring the video data and converting the video data according to the video data format of the video data request information when the format of the video data does not meet the video data request information;
and the feedback unit is used for feeding back the video data after format conversion to the mobile terminal.
In some optional embodiments, further comprising: a request information transmitting unit for transmitting the video data request information to a target server when video data satisfying the video data request information is not retrieved.
In some optional embodiments, the cache way comprises: the system comprises a server, a mobile terminal and a solid-state storage device with a networking function.
According to a third aspect of the embodiments of the present invention, there is provided a computer device, including a memory, a processor, and a program stored on the memory and executable by the processor, wherein the processor implements any one of the foregoing video data acquisition methods when executing the program.
According to a fourth aspect of embodiments of the present invention, there is provided a storage medium having stored thereon a computer program which, when executed by a processor, implements any of the aforementioned video data acquisition methods. The technical scheme provided by the embodiment of the invention can have the following beneficial effects:
in the embodiment of the invention, the video data request information sent by the mobile terminal is retrieved in the associated cache path, the video content which is required by the user and cached from the target server is obtained from the cache path, the requirement on the broadband in the process of obtaining the video content is reduced, the pressure of the target server is reduced, the fluency of video playing is improved, and the user experience is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention, as claimed.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
FIG. 1 is a flow diagram illustrating a method of video data acquisition according to an exemplary embodiment;
FIG. 2 is a flow diagram illustrating a method of video data acquisition according to an exemplary embodiment;
fig. 3 is a schematic structural diagram illustrating a video data acquisition apparatus according to an exemplary embodiment;
fig. 4 is a schematic structural diagram illustrating a video data acquisition apparatus according to an exemplary embodiment;
fig. 5 is a schematic structural diagram illustrating a video data acquisition apparatus according to an exemplary embodiment;
fig. 6 is a schematic structural diagram illustrating a video data acquisition apparatus according to an exemplary embodiment.
Detailed Description
The following description and the drawings sufficiently illustrate specific embodiments of the invention to enable those skilled in the art to practice them. Other embodiments may incorporate structural, logical, electrical, process, and other changes. The examples merely typify possible variations. Individual components and functions are optional unless explicitly required, and the sequence of operations may vary. Portions and features of some embodiments may be included in or substituted for those of others. The scope of embodiments of the invention encompasses the full ambit of the claims, and all available equivalents of the claims. Embodiments may be referred to, individually or collectively, herein by the term "invention" merely for convenience and without intending to voluntarily limit the scope of this application to any single invention or inventive concept if more than one is in fact disclosed. Herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, or apparatus. Without further limitation, an element defined by the phrase "comprising a … …" does not exclude the presence of another identical element in a process, method, or apparatus that comprises the element. The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. As for the methods, products and the like disclosed by the embodiments, the description is simple because the methods correspond to the method parts disclosed by the embodiments, and the related parts can be referred to the method parts for description.
In the embodiment of the invention, the intermediate server is used for acquiring the video data request information sent by the mobile terminal and acquiring corresponding video data to feed back to the mobile terminal according to the video data request information. The server is a router or a server system with a networking function, and the server can collect addresses of servers in a surrounding set range and a storage device list connected with each server, integrate the addresses of a plurality of servers and the storage device list corresponding to each server, and generate a related cache path. Wherein, the storage equipment includes: the system comprises a mobile terminal and a solid-state storage device with a networking function. That is, the associated cache way includes: the system comprises a server, a mobile terminal and a solid-state storage device with a networking function.
After the server receives the video data request sent by the mobile terminal, the video data meeting the requirement can be obtained from the associated cache path nearby, the video data obtaining speed is accelerated, and meanwhile, the time delay caused by the fact that the video request information amount of the target server is too large is avoided. When a plurality of mobile terminals send video data request information at the same time, the data transmission pressure of the provider server is high, and in severe cases, feedback is not timely, so that user experience is reduced.
In the embodiment of the invention, the mobile terminal is a terminal with the capability of playing videos, and optionally, the mobile terminal is a mobile phone, a tablet computer, a notebook, a home theater or an intelligent television with a networking function.
Illustrated in fig. 1 is a video data acquisition method according to an exemplary embodiment, as shown, the method comprising:
step S101, acquiring video data request information sent by the mobile terminal.
And S102, retrieving video data in the associated cache path according to the video data request information.
The video data request information has various forms, and the process of acquiring the video data in the cache path is different according to different forms of the video data request information.
In some optional embodiments, the video data request information includes information such as a video title, a video type, or a keyword.
In step S102, retrieving video data in an associated cache path according to the video data request information, including:
analyzing the video data request information to obtain a video title, a video type or keywords;
and retrieving video data in the associated cache path according to the video title, the video type or the keyword.
When searching for interested video information, a user can search for an interested video in a searching form such as a video complete title, keywords in the video title, a video type or an uploading year, or search by mixing multiple items of information in the video complete title, the keywords in the video title, the video type or the uploading year. And when video data is retrieved according to the video data request information, video data meeting the requirements of users is obtained according to related contents contained in the video data request information.
In some optional embodiments, the video data request information includes video definition, and information such as video title, video type or keyword.
In step S102, retrieving video data in an associated cache path according to the video data request information, including:
analyzing the video data request information to acquire video definition, video title, video type or keywords and other information;
retrieving video data in the associated cache path according to the video title, the video type or the keyword to obtain a preliminary retrieval result;
and screening the preliminary retrieval result according to the video definition, and screening out the video data meeting the video data request information.
In the embodiment of the invention, the video data is retrieved in the associated cache path, so that the problems of low video acquisition speed and poor video playing fluency caused by poor broadband quality or large pressure of a target server are solved. Therefore, when video data is retrieved from the associated cache path according to the video data request information, video data meeting the user requirements is preferentially acquired according to information such as video titles, video types or keywords, so as to meet the requirement of acquiring video content in time.
And when the initial retrieval result comprises a plurality of retrieval results, further performing secondary screening on the retrieved video data according to the requirement of video definition, and screening the video data which better accords with the video data request information.
In some optional embodiments, the obtaining video data satisfying the video data request information includes:
and acquiring video data with the definition the same as that in the video data request information or the definition higher than that in the video data request information. The video data are guaranteed to be timely acquired, the acquired definition of the video data can meet the user requirements, and user experience is improved.
And step S103, when video data meeting the video data request information is retrieved, acquiring the video data and feeding back the video data to the mobile terminal.
And the video data is fed back to the mobile terminal, and the mobile terminal plays the video content, so that the user can watch the video conveniently. In some optional embodiments, in order to implement feedback of the acquired video data to the mobile terminal sending the video data corresponding to the video data, the video data request information includes identification information of the mobile terminal, and the server feeds the acquired video data back to the corresponding mobile terminal according to the identification information.
In the embodiment of the invention, the video data request information sent by the mobile terminal is retrieved in the associated cache path, the video content which is required by the user and cached from the target server is obtained from the cache path, the requirement on the broadband in the process of obtaining the video content is reduced, the pressure of the target server is reduced, the fluency of video playing is improved, and the user experience is improved.
In some optional embodiments, as shown in fig. 2, before acquiring and feeding back the video data to the mobile terminal in step S103, the method further includes:
step S201, a video data list satisfying the video data request information is obtained.
When the plurality of cache paths contain video data meeting the video data request information, a list is generated, and the list at least comprises a title and a path of the video data. Optionally, the list further includes: the definition of the video data, the type of the video or the year of uploading and the like.
Step S202, the video data list is sent to the mobile terminal.
The server sends the video data list to the mobile terminal, and the mobile terminal displays the video list, so that a user can conveniently select the video which is most interested in currently to play.
Step S203, acquiring the response information sent by the mobile terminal.
Wherein, the response information includes: title and path of video data.
In some optional embodiments, in step S103, the obtaining and feeding back the video data to the mobile terminal includes:
acquiring video data according to the title and the path of the video data;
and feeding back the video data to the mobile terminal.
In some optional embodiments, the video data request information further includes: video data format.
Before the video data is obtained and fed back to the mobile terminal, the method further comprises the following steps:
when the format of the video data does not meet the video data request information, acquiring the video data and converting according to the video data format of the video data request information;
and feeding back the video data after format conversion to the mobile terminal.
The video data formats provided by different video providers may be different, and the types and the number of the video data formats supported by the mobile terminal may be different according to the manufacturing cost and the hardware composition of the mobile terminal. In order to facilitate the mobile terminal to receive the video data meeting the self playing capability, the server further comprises a video format conversion unit which converts the video data into a format meeting the playing capability of the mobile terminal before feeding the video data back to the mobile terminal.
In some optional embodiments, the method further comprises:
and when video data meeting the video data request information is not retrieved, sending the video data request information to a target server.
In the embodiment of the invention, when the video data meeting the user requirement is not retrieved from the cache path associated with the intermediate server, the intermediate server can only send the video data request information to the target server, and the video data meeting the user requirement is provided by the provider server of the video data.
As shown in fig. 3, a video data acquisition apparatus according to an exemplary embodiment is shown, as shown, the apparatus comprising: a request information acquisition unit 301, a retrieval unit 302, a video data acquisition unit 303, and a feedback unit 304.
A request information obtaining unit 301, configured to obtain video data request information sent by the mobile terminal.
A retrieving unit 302, configured to retrieve video data in an associated cache path according to the video data request information.
A video data obtaining unit 303, configured to obtain the video data when the video data satisfying the video data request information is retrieved.
A feedback unit 304, configured to feed back the video data to the mobile terminal.
The feedback unit 304 feeds back the video data to the mobile terminal, and the mobile terminal plays the video content, so that the user can watch the video content conveniently. In some optional embodiments, in order to implement feedback of the acquired video data to the mobile terminal sending the video data corresponding to the video data, the video data request information includes identification information of the mobile terminal, and the server feeds the acquired video data back to the corresponding mobile terminal according to the identification information.
In the embodiment of the invention, the video data request information sent by the mobile terminal is retrieved in the associated cache path, the video content which is required by the user and cached from the target server is obtained from the cache path, the requirement on the broadband in the process of obtaining the video content is reduced, the pressure of the target server is reduced, the fluency of video playing is improved, and the user experience is improved.
The video data request information has various forms, and the process of acquiring video data in the cache path is different according to different forms of the video data request information.
In some optional embodiments, the video data request information includes information such as a video title, a video type, or a keyword.
As shown in fig. 4, the retrieving unit 302 includes: a first parsing subunit 3021 and a first retrieving subunit 3022.
A first parsing subunit 3021, configured to parse the video data request information to obtain a video title, a video type, or a keyword.
A first retrieving subunit 3022, configured to retrieve video data in an associated cache path according to the video title, the video type, or the keyword.
When searching for interesting video information, a user can search for interesting videos in a searching form of a complete video title, keywords in the video title, a video type or an uploading year and the like, or search by mixing multiple items of information in the complete video title, the keywords in the video title, the video type or the uploading year. And when video data is retrieved according to the video data request information, video data meeting the requirements of users is obtained according to related contents contained in the video data request information.
In some optional embodiments, the video data request information includes video definition, and information such as video title, video type or keyword.
As shown in fig. 5, the retrieving unit 302 includes: a second parsing subunit 3023, a second retrieving subunit 3024, and a screening subunit 3025.
A second parsing subunit 3023, configured to parse the video data request information to obtain information such as video definition, video title, video type, or keyword;
a second retrieval subunit 3024, configured to retrieve video data in an associated cache path according to the video title, the video type, or the keyword to obtain a preliminary retrieval result;
a screening subunit 3025, configured to screen the preliminary search result according to video definition, and screen out video data that satisfies the video data request information.
In the embodiment of the invention, the video data is retrieved in the associated cache path, so that the problems of low video acquisition speed and poor video playing fluency caused by poor broadband quality or large pressure of a target server are solved. Therefore, when video data is retrieved from the associated cache path according to the video data request information, video data meeting the user requirements is preferentially acquired according to information such as video titles, video types or keywords, so as to meet the requirement of acquiring video content in time.
And when the initial retrieval result comprises a plurality of retrieval results, further performing secondary screening on the retrieved video data according to the requirement of video definition, and screening the video data which better accords with the video data request information.
In some optional embodiments, the filtering subunit 3025 is configured to filter out video data with a resolution equal to or higher than the resolution in the video data request message. The video data definition can meet the user requirements while the video data are timely acquired, and the user experience is improved.
As shown in fig. 6, in some alternative embodiments, the apparatus further comprises: a list acquisition unit 601, a transmission unit 602, and a response information acquisition unit 603.
A list acquiring unit 601 configured to acquire a video data list satisfying the video data request information before the video data acquiring unit 303 acquires the video data.
A sending unit 602, configured to send the video data list to the mobile terminal.
A response information obtaining unit 603, configured to obtain response information sent by the mobile terminal.
Wherein, the response information includes: title and path of video data.
A video data obtaining unit 303, configured to obtain video data according to a title and a path of the video data.
In some optional embodiments, the video data request information further includes: video data format.
The device further comprises:
and the format conversion unit is used for acquiring the video data and converting the video data according to the video data format of the video data request information when the format of the video data does not meet the video data request information.
A feedback unit 304, configured to feed back the format-converted video data to the mobile terminal.
The video data formats provided by different video providers may be different, and the types and the number of the video data formats supported by the mobile terminal may be different according to the manufacturing cost and the hardware composition of the mobile terminal. In order to facilitate the mobile terminal to receive the video data meeting the self playing capability, the server further comprises a video format conversion unit which converts the video data into a format meeting the playing capability of the mobile terminal before feeding the video data back to the mobile terminal.
In some optional embodiments, the apparatus further comprises: a request information transmitting unit for transmitting the video data request information to a target server when video data satisfying the video data request information is not retrieved.
In the embodiment of the invention, when the video data meeting the user requirement is not retrieved from the cache path associated with the intermediate server, the intermediate server can only send the video data request information to the target server, and the provider server of the video data provides the video data meeting the user requirement.
The embodiment of the present invention further provides a computer device, which includes a memory, a processor, and a program stored in the memory and executable by the processor, and when the processor executes the program, the processor implements any one of the foregoing video data acquisition methods.
An embodiment of the present invention further provides a storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement any one of the foregoing video data acquisition methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as a memory comprising instructions, executable by a processor to perform the method described above is also provided. The non-transitory computer readable storage medium may be a Read Only Memory (ROM), a Random Access Memory (RAM), a magnetic tape, an optical storage device, and the like.
Those of skill in the art would appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention. It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments disclosed herein, it should be understood that the disclosed methods, products (including but not limited to devices, apparatuses, etc.) may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form. The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment. In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
It should be understood that the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions. The present invention is not limited to the procedures and structures that have been described above and shown in the drawings, and various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.
Claims (12)
1. A method for video data acquisition, comprising:
acquiring video data request information sent by a mobile terminal;
retrieving video data in the associated cache path according to the video data request information;
when video data meeting the video data request information is retrieved, video data are obtained and fed back to the mobile terminal;
the cache path includes: the system comprises a server, a mobile terminal and a solid-state storage device with a networking function;
when video data meeting the video data request information is not retrieved, sending the video data request information to a target server;
the intermediate server is used for acquiring video data request information sent by the mobile terminal and acquiring corresponding video data according to the video data request information and feeding the corresponding video data back to the mobile terminal; the intermediate server is a router with a networking function, can collect addresses of servers in a surrounding set range and a storage device list connected with each server, integrates the addresses of the servers and the storage device list corresponding to each server, and generates a related cache path; wherein, the storage equipment includes: the system comprises a mobile terminal and a solid-state storage device with a networking function;
the video data request information further includes: a video data format; before the video data is obtained and fed back to the mobile terminal, the method further comprises the following steps: when the format of the video data does not meet the video data request information, acquiring the video data and converting according to the video data format of the video data request information; and feeding back the video data after format conversion to the mobile terminal.
2. The method according to claim 1, wherein the video data request information includes information such as a video title, a video type, or a keyword;
the retrieving video data in the associated cache path according to the video data request information includes:
analyzing the video data request information to obtain a video title, a video type or keywords;
and retrieving video data in the associated cache path according to the video title, the video type or the keyword.
3. The method of claim 1, wherein the video data request information includes video definition, and information such as video title, video type or keyword;
the retrieving video data in an associated cache path according to the video data request information includes:
analyzing the video data request information to acquire video definition, video title, video type or keywords and other information;
retrieving video data in the associated cache path according to the video title, the video type or the keyword to obtain a preliminary retrieval result;
and screening the preliminary retrieval result according to the video definition, and screening out the video data meeting the video data request information.
4. The method of claim 3, wherein the screening out the video data that satisfy the video data request information comprises:
and acquiring video data with the definition the same as that in the video data request information or higher than that in the video data request information.
5. The method according to claim 1, wherein before the obtaining and feeding back the video data to the mobile terminal, further comprising:
acquiring a video data list meeting the video data request information;
sending the video data list to the mobile terminal;
acquiring response information sent by the mobile terminal;
wherein, the response information includes: title and path of video data;
the acquiring the video data and feeding back the video data to the mobile terminal comprises the following steps:
acquiring video data according to the title and the path of the video data;
and feeding back the video data to the mobile terminal.
6. A video data acquisition apparatus, comprising:
a request information acquisition unit, configured to acquire video data request information sent by a mobile terminal;
the retrieval unit is used for retrieving the video data in the associated cache path according to the video data request information;
a video data acquisition unit configured to acquire the video data when the video data satisfying the video data request information is retrieved;
the feedback unit is used for feeding back the video data to the mobile terminal;
the cache path includes: the system comprises a server, a mobile terminal and a solid-state storage device with a networking function;
when video data meeting the video data request information is not retrieved, sending the video data request information to a target server;
the intermediate server is used for acquiring video data request information sent by the mobile terminal and acquiring corresponding video data according to the video data request information and feeding the corresponding video data back to the mobile terminal; the intermediate server is a router with a networking function, can collect addresses of servers in a surrounding set range and a storage device list connected with each server, integrates the addresses of the servers and the storage device list corresponding to each server, and generates a related cache path; wherein, the storage equipment includes: the system comprises a mobile terminal and a solid-state storage device with a networking function;
the video data request information further includes: a video data format; before the video data is obtained and fed back to the mobile terminal, the method further comprises the following steps: when the format of the video data does not meet the video data request information, acquiring the video data and converting according to the video data format of the video data request information; and feeding back the video data after format conversion to the mobile terminal.
7. The apparatus according to claim 6, wherein the video data request information includes information such as a video title, a video type, or a keyword;
the retrieval unit includes:
the first analysis subunit is used for analyzing the video data request information to acquire a video title, a video type or keywords;
and the first retrieval subunit is used for retrieving the video data in the associated cache path according to the video title, the video type or the keyword.
8. The apparatus of claim 6, wherein the video data request information comprises video definition, and information such as video title, video type or keyword;
the retrieval unit includes:
the second analysis subunit is used for analyzing the video data request information to acquire video definition, video title, video type or keywords and other information;
the second retrieval subunit is used for retrieving the video data in the associated cache path according to the video title, the video type or the keyword to obtain a preliminary retrieval result;
and the screening subunit is used for screening the preliminary retrieval result according to the video definition to screen out the video data meeting the video data request information.
9. The apparatus of claim 8, wherein the filtering subunit is configured to filter out video data with a resolution equal to or higher than the resolution in the video data request message.
10. The apparatus of claim 6, further comprising:
a list acquisition unit configured to acquire a video data list that satisfies the video data request information;
a sending unit, configured to send the video data list to the mobile terminal;
a response information obtaining unit, configured to obtain response information sent by the mobile terminal;
wherein, the response information includes: title and path of video data;
and the video data acquisition unit is used for acquiring the video data according to the title and the path of the video data.
11. A computer device comprising a memory, a processor and a program stored on the memory and executable by the processor, wherein the processor implements the video data acquisition method of any of claims 1 to 5 when executing the program.
12. A storage medium having stored thereon a computer program for implementing a video data acquisition method according to any one of claims 1 to 5 when the computer program is executed by a processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910161543.4A CN111654741B (en) | 2019-03-04 | 2019-03-04 | Video data acquisition method and device, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910161543.4A CN111654741B (en) | 2019-03-04 | 2019-03-04 | Video data acquisition method and device, computer equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111654741A CN111654741A (en) | 2020-09-11 |
CN111654741B true CN111654741B (en) | 2023-03-31 |
Family
ID=72350717
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910161543.4A Active CN111654741B (en) | 2019-03-04 | 2019-03-04 | Video data acquisition method and device, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111654741B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101287011A (en) * | 2008-05-26 | 2008-10-15 | 蓝汛网络科技(北京)有限公司 | Method, system and device for responding service request from user in content distributing network |
CN203313219U (en) * | 2013-06-25 | 2013-11-27 | 余兵 | Caching acceleration system for local area network |
JP2014164583A (en) * | 2013-02-26 | 2014-09-08 | Nec Corp | Data distribution system, router, control method of router, and control program of router |
CN105635196A (en) * | 2014-10-27 | 2016-06-01 | 中国电信股份有限公司 | Method and system of file data obtaining, and application server |
CN106161279A (en) * | 2015-03-26 | 2016-11-23 | 深圳中兴网信科技有限公司 | A kind of data capture method and device |
WO2017107542A1 (en) * | 2015-12-22 | 2017-06-29 | 乐视控股(北京)有限公司 | Video program obtaining method, device and system |
CN107250999A (en) * | 2015-03-30 | 2017-10-13 | 华为技术有限公司 | Found with the distributed content cached in network |
Family Cites Families (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7725919B1 (en) * | 2002-05-23 | 2010-05-25 | Microsoft Corporation | Manage content in a short-term content buffer with content identifiers |
CN104735481B (en) * | 2013-12-19 | 2018-07-06 | 北京四达时代软件技术股份有限公司 | A kind of video content distribution scheduling method, server and system |
CN103747072A (en) * | 2013-12-30 | 2014-04-23 | 乐视网信息技术(北京)股份有限公司 | Data reading and writing method and application server |
CN104159132B (en) * | 2014-08-22 | 2018-11-20 | 华为软件技术有限公司 | Video customizes the implementation method and device of service |
CN105847853A (en) * | 2016-04-01 | 2016-08-10 | 深圳市创云方网络科技有限公司 | Video content distribution method and device |
CN107305576A (en) * | 2016-04-25 | 2017-10-31 | 北京京东尚科信息技术有限公司 | The pseudo- static treatment method and apparatus of the page |
CN105872807A (en) * | 2016-05-16 | 2016-08-17 | 乐视控股(北京)有限公司 | Video playing method and system |
CN106911782A (en) * | 2017-02-28 | 2017-06-30 | 北京微影时代科技有限公司 | A kind of method for reading data and device |
CN107426586A (en) * | 2017-04-26 | 2017-12-01 | 上海云熵网络科技有限公司 | The video broadcasting method and system of P2P networks |
CN108322787A (en) * | 2018-02-08 | 2018-07-24 | 北京潘达互娱科技有限公司 | Video stream distributing method, device and electronic equipment |
-
2019
- 2019-03-04 CN CN201910161543.4A patent/CN111654741B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101287011A (en) * | 2008-05-26 | 2008-10-15 | 蓝汛网络科技(北京)有限公司 | Method, system and device for responding service request from user in content distributing network |
JP2014164583A (en) * | 2013-02-26 | 2014-09-08 | Nec Corp | Data distribution system, router, control method of router, and control program of router |
CN203313219U (en) * | 2013-06-25 | 2013-11-27 | 余兵 | Caching acceleration system for local area network |
CN105635196A (en) * | 2014-10-27 | 2016-06-01 | 中国电信股份有限公司 | Method and system of file data obtaining, and application server |
CN106161279A (en) * | 2015-03-26 | 2016-11-23 | 深圳中兴网信科技有限公司 | A kind of data capture method and device |
CN107250999A (en) * | 2015-03-30 | 2017-10-13 | 华为技术有限公司 | Found with the distributed content cached in network |
WO2017107542A1 (en) * | 2015-12-22 | 2017-06-29 | 乐视控股(北京)有限公司 | Video program obtaining method, device and system |
Non-Patent Citations (2)
Title |
---|
基于CCN的CDN视频内容分发技术研究;张震等;《软件》;20150115(第01期);全文 * |
基于可重构路由器上缓存的流媒体协作分发策略;何智聪等;《通信学报》;20120625(第06期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN111654741A (en) | 2020-09-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111901674B (en) | Video playing control method and device | |
KR101764286B1 (en) | Providing link to portion of media object in real time in social networking update | |
US10587912B2 (en) | Complimentary content based recording of media content | |
CN104053067B (en) | A kind of player method of programme televised live, terminal and server | |
US20110138300A1 (en) | Method and apparatus for sharing comments regarding content | |
CN103141111B (en) | For shared data and the method making broadcast data synchronous with additional information | |
CN103069826A (en) | Transmission device and method, reception device and method, and transmission/reception system | |
KR20150118014A (en) | Information processing device, information processing method, and information processing system | |
CN101267589B (en) | System and method for realizing interactive service | |
CN103986787A (en) | Method and system for automatically obtaining updating of video | |
US9565477B2 (en) | Bookmarking prospective media content on computer network | |
CN104471914A (en) | Content-specific identification and timing behavior in dynamic adaptive streaming over hypertext transfer protocol | |
CN102447715A (en) | Method for sharing video in instant messaging and instant messaging client | |
CN104618809A (en) | Program information display method, device and system | |
EP3048796A1 (en) | Information system, information delivery method and iptv system based on multi-screen interaction | |
CN103327392A (en) | Video playing processing method and system | |
CN101002201A (en) | Method of and device for searching for relevant content in a network | |
US9032021B2 (en) | Method for providing customized advertisement/news on scalable application service system | |
US20160255036A1 (en) | Association of a social message with a related multimedia flow | |
GB2516328A (en) | Including an additional service in a channel guide | |
CN101888470A (en) | Device and method for providing general program guide and terminal device and system thereof | |
JP2013008186A (en) | Content display system, submission terminal, browsing terminal, content display method, and program | |
EP2207110A1 (en) | A method and apparatus for exchanging media service queries | |
CN111654741B (en) | Video data acquisition method and device, computer equipment and storage medium | |
CN102137301B (en) | Method and device for accessing reference service |
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 | ||
CB02 | Change of applicant information |
Address after: 266103 Haier Industrial Park, 1 Haier Road, Laoshan District, Shandong, Qingdao Applicant after: QINGDAO HAIER MULTI-MEDIA Co.,Ltd. Applicant after: Haier Smart Home Co., Ltd. Address before: 266103 Haier Industrial Park, 1 Haier Road, Laoshan District, Shandong, Qingdao Applicant before: QINGDAO HAIER MULTI-MEDIA Co.,Ltd. Applicant before: QINGDAO HAIER JOINT STOCK Co.,Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |