Video title identification method and device, medium and equipment

By extracting the links and titles of web page videos and obtaining the corresponding logo information for matching processing, the problem that web page video sniffing function cannot match video links and titles is solved, and accurate matching and display in a multi-video source environment is achieved.

CN119922377APending Publication Date: 2025-05-02SHENZHEN FALCON NETWORK MEDIA CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510073844.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-15
Publication Date
2025-05-02

AI Technical Summary

Technical Problem

When there are multiple video sources on the web page, the web video sniffing function cannot effectively match the video link and video title, resulting in the user being unable to determine the target video link and target video title of the specified video.

Method used

By extracting the video link and the video title, the first video logo information corresponding to the video link and the second video logo information corresponding to the video title are obtained, and the matching process is performed based on these information to display the matching target video link and the target video title.

Benefits of technology

It realizes that in the case of multiple video source web pages, accurately match video links and video titles, improve user experience, and ensures that users can determine the target video links and target video titles of the specified video.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119922377A_ABST
    Figure CN119922377A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a video title recognition method and device, a medium and equipment. The method comprises the following steps: extracting at least one video link and a video title from a current page based on a preset strategy; obtaining first video mark information corresponding to each video link, and determining second video mark information corresponding to each video title; based on the first video mark information and the second video mark information, performing matching processing on each video link and the video title; and displaying the matched target video link and the target video title in the current page. According to the video title identification method provided by the embodiment of the invention, the matching operation is performed on the video link and the video title which are extracted by adopting the preset strategy, and finally the matched target video link and target video title are displayed in the current page. Therefore, the user can determine the target video link to which the specified video belongs and the target video title.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to the field of video title recognition technology, and in particular to a video title recognition method, device, medium and equipment. Background Art

[0002] Web video sniffing is a feature that most browsers are equipped with. With web video sniffing, video resources sniffed from web pages can be played through the client specified by the user. Compared with web page playback, playing with the video player provided by the client can provide users with a better user experience and higher commercial value, such as inserting advertisements or improving the image and sound quality of the original web page video.

[0003] However, there are also some problems when using web video sniffing to extract video links from web pages. In particular, when there are multiple video sources on a web page, the web video sniffing function can only extract all video links and video titles, that is, the video links and video titles returned by the web sniffing function are disordered, and it is impossible to match the video link with the correct video title, resulting in the user being unable to determine the target video link and the corresponding target video title that the user currently wants to obtain. Summary of the invention

[0004] The embodiment of the present application provides a video title recognition method, device, medium and equipment. The video title recognition method provided by the embodiment of the present application is used to solve the problem that the current web page video sniffing function cannot provide the user with the video link and video title of the specified video when there are multiple video sources on the web page.

[0005] An embodiment of the present application provides a method for identifying a video title, the method comprising:

[0006] Extract at least one video link and video title from the current page based on a preset strategy;

[0007] Determine the first video mark information corresponding to each of the video links;

[0008] Acquire second video mark information corresponding to each of the video titles through a search engine;

[0009] Based on the first video mark information and the second video mark information, matching processing is performed on each of the video links and each of the video titles;

[0010] The matched target video link and target video title will be displayed in the current page.

[0011] Further, in the video title recognition method described in the embodiment of the present application, the determining of the first video mark information corresponding to each of the video links and the determining of the second video mark information corresponding to each of the video titles include:

[0012] Generate a video data acquisition request according to the video link;

[0013] Acquire target data returned by the video data acquisition request;

[0014] The first video mark information corresponding to the video link is extracted from the target data, where the first video mark information includes the playing time of the first video.

[0015] Furthermore, in the video title recognition method described in the embodiment of the present application, the matching process of each video link and each video title based on the first video mark information and the second video mark information includes:

[0016] Compare the playback time of any target first video with the playback time of each of the second videos;

[0017] If there is a target second video playback duration that matches the target first video playback duration, the target video link corresponding to the target first video playback duration is bound to the target video title corresponding to the target second video playback duration.

[0018] Furthermore, in the video title recognition method described in the embodiment of the present application, the first video mark information further includes a first role list, and the second video mark information further includes a second role list:

[0019] The matching process of each video link and each video title based on the first video mark information and the second video mark information includes:

[0020] Based on the first video playback time, the first character list, the second video playback time and the second character list, matching processing is performed on each of the video links and each video title.

[0021] Furthermore, in the video title identification method described in the embodiment of the present application, after acquiring the target data returned by the video data acquisition request, the method further includes:

[0022] extracting key audio data and / or key image information from the target data;

[0023] Performing audio recognition processing and / or image recognition processing on the key audio data to obtain character information contained in the key audio data and / or key image information;

[0024] A first role list is constructed according to the role information.

[0025] Further, in the video title recognition method described in the embodiment of the present application, the matching process of each video link and each video title based on the first video playback time, the first role list, the second video playback time and the second role list includes:

[0026] Compare the playback time of any target first video with the playback time of each of the second videos;

[0027] If there is a target second video playback duration that matches the target first video playback duration, further determining whether there is an inclusion relationship between any target first role list and each of the second role lists;

[0028] If there is a target second role list that is in an inclusion relationship with the first role list, the target video link corresponding to the target first role list is bound to the target video title corresponding to the target second role list.

[0029] Furthermore, in the video title recognition method described in the embodiment of the present application, the target video link and the target video title that will be matched are displayed in the current page, including:

[0030] Displaying the target video link and the target video title corresponding thereto on the current page in a preset association form;

[0031] A video segment for describing the target video link is obtained and covered on an upper layer of an area where the target video link or the target video title is located, and a default display state of the video segment is set to invisible until a touch behavior for the target video link or the target video title is detected, in which case the display state of the video segment is modified to visible, and the video segment is then displayed on an upper layer of an area where the target video link or the target video title is located.

[0032] Accordingly, another aspect of the embodiment of the present application further provides a video title recognition device, the video title recognition device comprising:

[0033] A data extraction module, used to extract at least one video link and video title from the current page based on a preset strategy;

[0034] An information acquisition module, used to determine the first video mark information corresponding to each of the video links, and to determine the second video mark information corresponding to each of the video titles;

[0035] A title matching module, used for matching each of the video links and each of the video titles based on the first video mark information and the second video mark information;

[0036] The information display module is used to display the matched target video link and target video title in the current page.

[0037] Correspondingly, another aspect of the embodiment of the present application further provides a computer storage medium, wherein the computer storage medium stores a plurality of instructions, wherein the instructions are suitable for being loaded by a processor to execute the video title recognition method as described above.

[0038] Correspondingly, another aspect of the embodiment of the present application further provides an electronic device, including a processor and a memory, wherein the memory stores a plurality of instructions, and the processor loads the instructions to execute the video title recognition method as described above.

[0039] The embodiment of the present application provides a video title recognition method, device, medium and equipment, which extracts at least one video link and video title from the current page based on a preset strategy; obtains the first video mark information corresponding to each video link, and determines the second video mark information corresponding to each video title; matches each video link and video title based on the first video mark information and the second video mark information; and displays the target video link and target video title that have been matched in the current page. Using the video title recognition method provided by the embodiment of the present application, the existing video links and video titles are extracted from the current page through a preset strategy, the first video mark information corresponding to each video link is determined according to the video link, and then the second video mark information corresponding to each video title is determined according to the video title, and the first video mark information and the second video mark information obtained from the video link and the video title respectively are matched on the video link and the video title extracted using the conventional preset strategy, and finally the target video link and the target video title that have been matched are displayed in the current page, so that the user can determine the target video link and the target video title to which the specified video belongs. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application, and those skilled in the art can obtain other drawings based on these drawings without creative work.

[0041] Figure 1 A flowchart of a video title recognition method provided in an embodiment of the present application.

[0042] Figure 2 Another flowchart of the video title recognition method provided in an embodiment of the present application.

[0043] Figure 3 Another flowchart of the video title recognition method provided in an embodiment of the present application.

[0044] Figure 4 A schematic diagram of the structure of a video title recognition device provided in an embodiment of the present application.

[0045] Figure 5 Another structural schematic diagram of the video title recognition device provided in an embodiment of the present application.

[0046] Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0047] The technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application.

[0048] The embodiment of the present application provides a video title recognition method, which uses the method to extract existing video links and video titles from the current page through a preset strategy, determine the first video logo information corresponding to each video link according to the video link, and then determine the second video logo information corresponding to each video title according to the video title. Based on the first video logo information and the second video logo information obtained from the video link and the video title respectively, a matching operation is performed on the video link and the video title extracted using a conventional preset strategy, and finally the matched target video link and target video title are displayed on the current page, so that the user can determine the target video link and target video title to which the specified video belongs.

[0049] The term "and / or" in this application can be a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this application generally indicates that the associated objects before and after are in an "or" relationship.

[0050] The terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable in appropriate circumstances, so that the embodiments described here can be implemented in a sequence other than the content illustrated or described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, the process, method, system, product or television set comprising a series of steps or modules need not be limited to the steps or modules clearly listed, but may include other steps or modules that are not clearly listed or inherent to these processes, methods, products or television sets. The naming or numbering of the steps in the present application does not mean that the steps in the method flow must be performed in the time / logic sequence indicated by the naming or numbering, and the process steps that have been named or numbered can change the execution order according to the technical purpose to be achieved, as long as the same or similar technical effects can be achieved. The division of modules in this application is a logical division. There may be other division methods when it is implemented in actual applications. For example, multiple modules can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, and the indirect coupling or communication connection between modules can be electrical or other similar forms, which are not limited in this application. In addition, the modules or submodules described as separate components may or may not be physically separated, may or may not be physical modules, or may be distributed in multiple circuit modules, and some or all of the modules may be selected according to actual needs to achieve the purpose of the present application.

[0051] The video title recognition method involved in the embodiment of the present application is mainly applied to electronic devices, which may be televisions, smart phones, tablet computers, laptops, desktop computers, and servers, etc., which are not limited here. Optionally, the server may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or an IoT cloud (Internet of Things cloud) that provides the ability to store, process and manage data generated by an IoT television, or a cloud server that provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), and basic cloud computing services such as big data and artificial intelligence platforms, which are not limited here.

[0052] For ease of understanding, the specific process in the embodiments of the present application is described below. Figure 1 , Figure 1A flowchart of an embodiment of a video title recognition method provided in an embodiment of the present application.

[0053] exist Figure 1 In the illustrated embodiment, the method may specifically include the following steps:

[0054] S101, extracting at least one video link and video title from the current page based on a preset strategy.

[0055] In this embodiment, all video links and video titles in the current page can adopt a preset strategy, such as the web video sniffing function equipped by most browsers directly extracting them from the current page. In the data extracted by the web video sniffing function, the video link is such as "https: / / xxxxxx.mp4" and the video title is such as "xxx".

[0056] It should be explained that web video sniffing is a function that can extract video resources (mainly including video links and video titles) from web pages, allowing users to play them through designated clients based on the extracted video links. Compared with web page playback, using the video player provided by the client to play can provide users with better user experience and higher commercial value, such as inserting advertisements or improving the image and sound quality of the original web page video.

[0057] Taking the extraction of video titles as an example, when using the web video sniffing function, first find the root node (DOM node) from the web page code corresponding to the current page, and then determine whether the child nodes of each root node contain the attribute information of the image src and the text txt at the same time. If it contains the attribute information of the image src and the text txt at the same time, the text information corresponding to the root node is used as the video title.

[0058] In this embodiment, when there are one or more video sources in the displayed web page, all video links and video titles are extracted from the displayed web page by using the web page video sniffing function. However, the obtained video links and video titles are usually presented to the user in a disordered form, so that the user cannot determine the video link and video title to which the specified video belongs.

[0059] S102, determining first video mark information corresponding to each of the video links, and determining second video mark information corresponding to each of the video titles.

[0060] In this embodiment, the first video mark information refers to the video mark information corresponding to the video data contained in the video link obtained by adopting technical means based on the video link.

[0061] The second video mark information refers to the video mark information corresponding to the video title obtained by, for example, a search engine based on the video title. The search engine may be a mainstream search engine, such as any one of the search engines such as Baidu search engine, 360 search engine or Google search engine, which is not limited here. Since the search engine can search for relevant information based on terms or keywords, the corresponding video mark information can be searched based on the video title.

[0062] S103: performing matching processing on each of the video links and each of the video titles based on the first video mark information and the second video mark information.

[0063] In this embodiment, the first video mark information and the second video mark information are used to match all video links and video titles extracted by the preset strategy such as the web video sniffing function, so that the video links and video titles with corresponding relationships can be paired and then displayed to the user. This avoids the situation where the data sniffed and presented to the user by the web video sniffing function is disorganized, resulting in the user being unable to determine the target video link and target video title to which the specified video belongs.

[0064] S104, displaying the matched target video link and target video title in the current page.

[0065] In this embodiment, the target video link and the target video title that have been matched can be displayed on the current page, so that the user can determine the target video link and the target video title to which the specified video belongs. Exemplarily, the target video link and the target video title that have been matched can present the matching relationship between them in the form of entries, such as displaying the following content on the current display interface:

[0066] “https: / / xxxxxx.mp4→xxx”, where “https: / / xxxxxx.mp4” refers to the target video link, and “xxx” refers to the target video title.

[0067] In some embodiments, Figure 2 As shown, the S102 includes:

[0068] S1021, generating a video data acquisition request according to the video link;

[0069] S1022, obtaining target data returned by the video data acquisition request;

[0070] S1023, extracting first video mark information corresponding to the video link from the target data, where the first video mark information includes a first video playback duration;

[0071] S1024: Acquire second video mark information corresponding to the video title through a preset search engine, where the second video mark information includes a second video playback duration.

[0072] In this embodiment, a video data acquisition request is generated based on a video link, and a video data acquisition request is initiated to a database where a corresponding video link exists to obtain target data of the corresponding video link in the database, and then the first video flag information is extracted from the target data according to actual needs, and then the second video flag information corresponding to the video title is obtained through a preset search engine, and the second video flag information includes the playback duration of the second video.

[0073] Exemplarily, the first video identifier information includes the first video playback duration, and the corresponding extraction process includes the following steps:

[0074] First, create an HTTP request based on the video link, such as "https: / / xxxxxx.mp4", and initiate an HTTP request to the cloud server, and read the header and body from the target data of the HTTP response;

[0075] Extract the Content-Type field from the HTTP response header, determine the video format type (for example, video / mp4) based on the Content-Type field, and use FFMPEG to parse the body of the HTTP response according to the video format type to obtain the output result;

[0076] Extract the Duration field from the output result of FFMPEG, where the Duration field contains the playback duration of the first video.

[0077] It needs to be explained that among the terms mentioned above, HTTP (Hypertext Transfer Protocol) is the main protocol used to transmit data on the Web. Each HTTP request or response consists of two parts: Header and Body. Header is a part of the HTTP request or response, which contains some metadata information that describes the properties of the HTTP request or response. Body is the main part of the HTTP request or response, which contains the actual data. The content type of the Body is specified by the Content-Type field in the Header, and the Body can contain various types of data. The Duration field can be added to the HTTP header to indicate the duration of an operation or file.

[0078] The second video mark information refers to the video title. For example, the second video mark information includes the second video playback time. The corresponding acquisition method can be obtained by, for example, obtaining the video mark information corresponding to the video title through a search engine. The search engine can be a mainstream search engine, such as any one of the search engines such as Baidu search engine, 360 search engine or Google search engine, which is not limited here. Since the search engine can search for relevant information based on terms or keywords, it can search for the corresponding second video playback time based on the video title.

[0079] In order to improve the search efficiency, in some embodiments, a question template can be preset, and the video title can be combined with the question template to construct a question description, and then the question description can be input into the search engine. The question template is, for example, "find the corresponding video logo information according to the video title". By constructing the question description, the question input into the search engine is described in detail, thereby improving the accuracy of the answer to the question and the efficiency of obtaining the answer to the question.

[0080] In some embodiments, the matching process of each video link and each video title based on the first video mark information and the second video mark information includes:

[0081] Compare the playback time of any target first video with the playback time of each of the second videos;

[0082] If there is a target second video playback duration that matches the target first video playback duration, the target video link corresponding to the target first video playback duration is bound to the target video title corresponding to the target second video playback duration.

[0083] In this embodiment, firstly, the playback time of any target first video is compared with the playback time of each second video; if the comparison result indicates that there is a target second video playback time that matches the playback time of the target first video, it means that there are commonalities between the target video link corresponding to the playback time of the target first video and the target video title corresponding to the playback time of the target second video. It can be considered that there is a pairing relationship between the target video link and the target video title, and the target video link corresponding to the playback time of the target first video can be bound to the target video title corresponding to the playback time of the target second video.

[0084] Through the first video mark information and the second video mark information, all video links and video titles extracted by the web video sniffing function are matched, so that the corresponding video links and video titles can be paired and then displayed to the user. This avoids the situation where the data sniffed and presented to the user by the web video sniffing function is disorganized, resulting in the user being unable to determine the target video link and target video title to which the specified video belongs.

[0085] In some embodiments, the first video flag information further includes a first role list, and the second video flag information further includes a second role list:

[0086] The matching process of each video link and each video title based on the first video mark information and the second video mark information includes:

[0087] Based on the first video playback time, the first character list, the second video playback time and the second character list, matching processing is performed on each of the video links and each video title.

[0088] In this embodiment, in addition to using the video logo information parameter to match the video link and the video title, since the role list can also be used as one of the authentication standards for the video, it is also possible to obtain a first role list corresponding to the video link and obtain a second role list corresponding to each video title through a search engine, and match each video link and video title based on the first video playback time, the first role list, the second video playback time and the second role list.

[0089] It should be noted that the principle of using a search engine to obtain the second role list is similar to the principle of obtaining the second video logo information described above. For details, please refer to the above and will not be repeated here.

[0090] What needs to be explained is that the role list refers to a list constructed by all the roles involved in the voice-over in the video. For example, if a video is performed by roles A and B, then the role list corresponding to this video includes roles A and B. Among them, the first role list and the second role list are only distinguished according to the context, and the essence of expression is still the role list, so it will not be elaborated.

[0091] In some embodiments, Figure 2 As shown, the obtaining of the first role list corresponding to each of the video links includes:

[0092] S1021, generating a video data acquisition request according to the video link;

[0093] S1022, obtaining target data returned by the video data acquisition request;

[0094] S2011, extracting key audio data and / or key image information from the target data;

[0095] S2012, performing audio recognition processing and / or image recognition processing on the key audio data to obtain character information contained in the key audio data and / or key image information;

[0096] S2013: Construct a first role list according to the role information.

[0097] In this embodiment, a video data acquisition request is initiated to a database where a corresponding video link exists by generating a video data acquisition request based on a video link to obtain target data of the corresponding video link in the database, extract key audio data and / or key image information from the target data, perform audio recognition processing and / or image recognition processing on the key audio data and / or key image information to obtain role information contained in the key audio data, and finally construct a first role list based on the role information.

[0098] In a specific implementation, the process of constructing the first role list includes the following steps:

[0099] First, create an HTTP request based on the video link, such as "https: / / xxxxxx.mp4", and initiate an HTTP request to the cloud server, and read the header and body from the target data of the HTTP response;

[0100] Extract the Content-Type field from the HTTP response header, determine the video format type (for example, video / mp4) based on the Content-Type field, and use FFMPEG to parse the body of the HTTP response according to the video format type to obtain the output result;

[0101] Performing audio recognition processing on key audio data included in the output result of FFMPEG using audio recognition technology, or performing audio recognition processing on key image data included in the output result of FFMPEG using image recognition technology;

[0102] Obtaining character information contained in the key audio data. If the audio features contained in the key audio data are identified as belonging to character A through audio recognition technology, character A is used as the character information; and / or

[0103] The role information contained in the key image data, if the image features contained in the key image data are identified as belonging to role A through image recognition technology, then role A is used as the role information;

[0104] A first role list is constructed according to the role information.

[0105] It should be explained that both image recognition technology and audio recognition technology can be implemented based on deep learning, such as conventional large models such as R-CNN (Regions with CNN features) or YOLO (You Only Look Once). Since this solution does not make substantial improvements to the existing large models, the specific training process will not be described here.

[0106] In some embodiments, Figure 4 As shown, the matching process of each video link and each video title based on the first video playback time, the first role list, the second video playback time and the second role list includes:

[0107] S301, comparing the playback time of any target first video with the playback time of each of the second videos;

[0108] S302, if there is a target second video playback duration that matches the target first video playback duration, further determining whether there is an inclusion relationship between any target first role list and each of the second role lists;

[0109] S303: If there is a target second role list that is in an inclusion relationship with the first role list, the target video link corresponding to the target first role list is bound to the target video title corresponding to the target second role list.

[0110] For example, assuming that the target first role list contains role A and role B, and the target second role list contains role A, role B and role C, it can be concluded that there is an inclusion relationship between the target role list and the target second role list, and therefore the established conditions are met. It can be considered that there is a pairing relationship between the two, and the target video link corresponding to the target first role list is bound to the target video title corresponding to the target second role list.

[0111] In this embodiment, by combining the first video playback time, the first character list, the second video playback time and the second character list, it is determined whether there is a pairing relationship between the video link and the video title, which can further improve the accuracy of the matching processing results.

[0112] In some embodiments, the target video link and the target video title that will be matched are displayed in the current page, including:

[0113] Displaying the target video link and the target video title corresponding thereto on the current page in a preset association form;

[0114] A video segment for describing the target video link is obtained and covered on an upper layer of an area where the target video link or the target video title is located, and a default display state of the video segment is set to invisible until a touch behavior for the target video link or the target video title is detected, in which case the display state of the video segment is modified to visible, and the video segment is then displayed on an upper layer of an area where the target video link or the target video title is located.

[0115] In this embodiment, in order to enable the user to intuitively understand which video link and video title the currently watched video belongs to, by obtaining a video segment for describing the target video link (e.g., a key video segment in the video process, a picture with a memorable point) and overlaying it on the upper layer of the area where the target video link or the target video title is located, when the user controls the mouse cursor to hover over the target video link or the target video title, the corresponding video segment can be automatically displayed on the target video link or the target video title, so that the user can determine whether the currently selected video link is what he needs. In other embodiments, the corresponding video link and video title can also be automatically displayed inside the window where the video is played on the current page.

[0116] All the above optional technical solutions can be arbitrarily combined to form optional embodiments of the present application, which will not be described one by one here.

[0117] In specific implementation, the present application is not limited by the execution order of the various steps described. If no conflict occurs, some steps can be performed in other orders or simultaneously.

[0118] As can be seen from the above, the video title recognition method provided by the embodiment of the present application extracts at least one video link and video title from the current page based on a preset strategy; determines the first video mark information corresponding to each of the video links; obtains the second video mark information corresponding to each of the video titles through a search engine; and matches each of the video links and video titles based on the first video mark information and the second video mark information. Using the video title recognition method provided by the embodiment of the present application, by extracting all the video links and video titles existing in the current page, determining the first video mark information corresponding to each of the video links, and determining the second video mark information corresponding to each of the video titles, based on the first video mark information and the second video mark information obtained from the video link and the video title respectively, a matching operation is performed on the multiple video links and video titles obtained by sniffing the web page video, and finally the matched target video link and target video title are displayed in the current page, so that the user can determine the target video link and target video title to which the specified video belongs.

[0119] The embodiment of the present application further provides a video title recognition device, which can be integrated into an electronic device.

[0120] See also Figure 3 , Figure 3 The video title recognition device 30 may include:

[0121] A data extraction module 31, used to extract at least one video link and video title from the current page based on a preset strategy;

[0122] An information acquisition module 32, used to determine the first video mark information corresponding to each of the video links;

[0123] A title matching module 33, used for matching each of the video links and each of the video titles based on the first video mark information and the second video mark information;

[0124] The information display module 34 is used to display the matched target video link and target video title in the current page.

[0125] In some embodiments, the information acquisition module 32 is used to generate a video data acquisition request based on the video link; obtain target data returned by the video data acquisition request; extract first video flag information corresponding to the video link from the target data, the first video flag information including the first video playback time; obtain second video flag information corresponding to the video title through a preset search engine, the second video flag information including the second video playback time.

[0126] In some embodiments, the title matching module 33 is used to compare the playback duration of any target first video with the playback duration of each second video; if there is a target second video playback duration that matches the playback duration of the target first video, the target video link corresponding to the playback duration of the target first video is bound to the target video title corresponding to the playback duration of the target second video.

[0127] In some embodiments, the first video logo information also includes a first role list, and the second video logo information also includes a second role list: the title matching module 33 is used to match each of the video links and each video title based on the first video playback time, the first role list, the second video playback time and the second role list.

[0128] In some embodiments, the construction module is used to extract key audio data and / or key image information from the target data; perform audio recognition processing and / or image recognition processing on the key audio data to obtain role information contained in the key audio data and / or key image information; and construct a first role list based on the role information.

[0129] In some embodiments, the title matching module 33 is used to compare the playback time of any target first video with the playback time of each second video; if there is a target second video playback time that matches the playback time of the target first video, it is further determined whether there is an inclusion relationship between any target first role list and each second role list; if there is a target second role list that has an inclusion relationship with the first role list, the target video link corresponding to the target first role list is bound to the target video title corresponding to the target second role list.

[0130] In some embodiments, the information display module 34 is used to display the target video link and the corresponding target video title in a preset associated form on the current page; obtain a video segment for describing the target video link and cover it on the upper layer of the area where the target video link or the target video title is located, and set the default display state of the video segment to invisible until a touch behavior is detected for the target video link or the target video title, then modify the display state of the video segment to visible, and then display the video segment on the upper layer of the area where the target video link or the target video title is located.

[0131] In specific implementation, the above modules can be implemented as independent entities, or can be arbitrarily combined to be implemented as the same entity or several entities.

[0132] As can be seen from the above, the video title recognition device 30 provided by the embodiment of the present application, wherein the data extraction module 31 is used to extract at least one video link and video title from the current page based on a preset strategy; the information acquisition module 32 is used to determine the first video mark information corresponding to each of the video links, and to determine the second video mark information corresponding to each of the video titles; the title matching module 33 is used to match each of the video links and each of the video titles based on the first video mark information and the second video mark information; the information display module 34 is used to display the target video link and the target video title that have been matched in the current page. The video title recognition device 30 provided by the embodiment of the present application, by extracting all the video links and video titles existing in the current page, determines the first video mark information corresponding to each video link, and determines the second video mark information corresponding to each video title, based on the first video mark information and the second video mark information obtained from the video link and the video title respectively, performs a matching operation on the extracted video link and the video title, and finally displays the target video link and the target video title that have been matched in the current page, so that the user can determine the target video link and the target video title to which the specified video belongs.

[0133] The embodiment of the present application further provides a video title recognition device, which can be integrated into an electronic device.

[0134] In specific implementation, the above modules can be implemented as independent entities, or can be arbitrarily combined to be implemented as the same entity or several entities.

[0135] See also Figure 4 , Figure 4 Another structural diagram of a video title recognition device provided in an embodiment of the present application is shown in FIG. 30. The video title recognition device 30 includes a memory 120, one or more processors 180, and one or more applications, wherein the one or more applications are stored in the memory 120 and configured to be executed by the processor 180; the processor 180 may include a data extraction module 31, an information acquisition module 32, a title matching module 33, and an information display module 34. For example, the structures and connection relationships of the above components may be as follows:

[0136] The memory 120 can be used to store applications and data. The applications stored in the memory 120 include executable codes. The applications can be composed of various functional modules. The processor 180 executes various functional applications and data processing by running the applications stored in the memory 120. In addition, the memory 120 may include a high-speed random access memory and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory 120 may also include a memory controller to provide the processor 180 with access to the memory 120.

[0137] The processor 180 is the control center of the device, and uses various interfaces and lines to connect various parts of the entire terminal, and executes various functions of the device and processes data by running or executing applications stored in the memory 120, and calling data stored in the memory 120, so as to monitor the device as a whole. Optionally, the processor 180 may include one or more processing cores; preferably, the processor 180 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs.

[0138] Specifically in this embodiment, the processor 180 will load the executable code corresponding to the process of one or more applications into the memory 120 according to the following instructions, and the processor 180 will run the application stored in the memory 120 to implement various functions:

[0139] A data extraction instruction, used to extract at least one video link and video title from the current page based on a preset strategy;

[0140] An information acquisition instruction, used to determine the first video mark information corresponding to each of the video links, and to determine the second video mark information corresponding to each of the video titles;

[0141] A title matching instruction, used to match each of the video links and each of the video titles based on the first video mark information and the second video mark information;

[0142] The information display instruction is used to display the target video link and the target video title that have completed the matching in the current page.

[0143] In some embodiments, the information acquisition instruction is used to generate a video data acquisition request based on the video link; obtain target data returned by the video data acquisition request; extract first video flag information corresponding to the video link from the target data, the first video flag information including the first video playback time; obtain second video flag information corresponding to the video title through a preset search engine, the second video flag information including the second video playback time.

[0144] In some embodiments, the title matching instruction is used to compare the playback duration of any target first video with the playback duration of each second video; if there is a target second video playback duration that matches the playback duration of the target first video, the target video link corresponding to the playback duration of the target first video is bound to the target video title corresponding to the playback duration of the target second video.

[0145] In some embodiments, the first video logo information also includes a first role list, and the second video logo information also includes a second role list: the title matching instruction is used to match each of the video links and each video title based on the first video playback time, the first role list, the second video playback time and the second role list.

[0146] In some embodiments, the construction instruction is used to generate a video data acquisition request based on the video link; obtain target data returned by the video data acquisition request; extract key audio data and / or key image information from the target data; perform audio recognition processing and / or image recognition processing on the key audio data to obtain role information contained in the key audio data and / or key image information; and construct a first role list based on the role information.

[0147] In some embodiments, the title matching instruction is used to compare the playback time of any target first video with the playback time of each second video; if there is a target second video playback time that matches the playback time of the target first video, it is further determined whether there is an inclusion relationship between any target first role list and each second role list; if there is a target second role list that has an inclusion relationship with the first role list, the target video link corresponding to the target first role list is bound to the target video title corresponding to the target second role list.

[0148] In some embodiments, the information display instruction is used to display the target video link and the corresponding target video title on the current page in a preset associated form; obtain a video segment for describing the target video link and cover it on the upper layer of the area where the target video link or the target video title is located, and set the default display state of the video segment to invisible until a touch behavior is detected for the target video link or the target video title, then modify the display state of the video segment to visible, and then display the video segment on the upper layer of the area where the target video link or the target video title is located.

[0149] The present application also provides an electronic device. Figure 5 , Figure 5 The electronic device 1200 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application, and the electronic device can be used to implement the video title recognition method provided in the above embodiment. The electronic device 1200 can be a television, a smart phone, or a tablet computer.

[0150] like Figure 5 As shown, the electronic device 1200 may include an RF (Radio Frequency) circuit 110, a memory 120 including one or more (only one is shown in the figure) computer-readable storage media, an input unit 130, a display unit 140, a sensor 150, an audio circuit 160, a transmission module 170, a processor 180 including one or more (only one is shown in the figure) processing cores, and a power supply 190. Those skilled in the art will understand that Figure 5 The structure of the electronic device 1200 shown in the figure does not constitute a limitation on the electronic device 1200, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0151] The RF circuit 110 is used to receive and send electromagnetic waves, realize the mutual conversion between electromagnetic waves and electrical signals, and thus communicate with a communication network or other televisions. The RF circuit 110 may include various existing circuit elements for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, an encryption / decryption chip, a user identity module (SIM) card, a memory, etc. The RF circuit 110 can communicate with various networks such as the Internet, an intranet, a wireless network, or communicate with other televisions via a wireless network.

[0152] The memory 120 can be used to store software programs and modules, such as the program instructions / modules corresponding to the video title recognition method in the above-mentioned embodiment. The processor 180 executes various functional applications and data processing by running the software programs and modules stored in the memory 120. The vibration reminder mode can be automatically selected to perform video title recognition according to the current scene of the electronic device, which can not only ensure that scenes such as meetings are not disturbed, but also ensure that users can perceive incoming calls, thereby improving the intelligence of the electronic device. The memory 120 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 120 may further include a memory remotely arranged relative to the processor 180, and these remote memories may be connected to the electronic device 1200 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof.

[0153] The input unit 130 can be used to receive input digital or character information, and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control. Specifically, the input unit 130 may include a touch-sensitive surface 131 and other input devices 132. The touch-sensitive surface 131, also known as a touch display screen or touch pad, can collect user touch operations on or near it (such as operations performed by users using fingers, styluses, or any other suitable objects or accessories on or near the touch-sensitive surface 131), and drive corresponding connection devices according to a pre-set program. Optionally, the touch-sensitive surface 131 may include a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into touch point coordinates, and then sends it to the processor 180, and can receive and execute commands sent by the processor 180. In addition, the touch-sensitive surface 131 may be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch-sensitive surface 131, the input unit 130 may further include other input devices 132. Specifically, the other input devices 132 may include, but are not limited to, one or more of a physical keyboard, a function key (such as a volume control key, a switch key, etc.), a trackball, a mouse, a joystick, and the like.

[0154] The display unit 140 can be used to display information input by the user or information provided to the user and various graphical user interfaces of the electronic device 1200, which can be composed of graphics, text, icons, videos and any combination thereof. The display unit 140 may include a display panel 141. Optionally, the display panel 141 may be configured in the form of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), etc. Further, the touch-sensitive surface 131 may cover the display panel 141. When the touch-sensitive surface 131 detects a touch operation on or near it, it is transmitted to the processor 180 to determine the type of touch event. Subsequently, the processor 180 provides corresponding visual output on the display panel 141 according to the type of touch event. Although in Figure 5 In the embodiment, the touch-sensitive surface 131 and the display panel 141 are implemented as two independent components to realize the input and output functions. However, in some embodiments, the touch-sensitive surface 131 and the display panel 141 can be integrated to realize the input and output functions.

[0155] The electronic device 1200 may also include at least one sensor 150, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 141 according to the brightness of the ambient light, and the proximity sensor may turn off the display panel 141 and / or the backlight when the electronic device 1200 is moved to the ear. As a type of motion sensor, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally three axes), and can detect the magnitude and direction of gravity when stationary. It can be used for applications that identify the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for other sensors such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc. that can also be configured in the electronic device 1200, they will not be repeated here.

[0156] The audio circuit 160, the speaker 161, and the microphone 162 can provide an audio interface between the user and the electronic device 1200. The audio circuit 160 can transmit the received audio data to the speaker 161 after converting the received audio data into an electrical signal, which is converted into a sound signal for output by the speaker 161; on the other hand, the microphone 162 converts the collected sound signal into an electrical signal, which is received by the audio circuit 160 and converted into audio data, and then the audio data is processed by the output processor 180, and then sent to another terminal through the RF circuit 110, or the audio data is output to the memory 120 for further processing. The audio circuit 160 may also include an earplug jack to provide communication between an external headset and the electronic device 1200.

[0157] The electronic device 1200 can help users send and receive emails, browse web pages, and access streaming media through the transmission module 170 (such as a Wi-Fi module), which provides users with wireless broadband Internet access. Figure 5 The transmission module 170 is shown, but it is understandable that it is not an essential component of the electronic device 1200 and can be omitted as needed without changing the essence of the invention.

[0158] The processor 180 is the control center of the electronic device 1200. It uses various interfaces and lines to connect various parts of the entire mobile phone. By running or executing software programs and / or modules stored in the memory 120, and calling data stored in the memory 120, it executes various functions of the electronic device 1200 and processes data, thereby monitoring the mobile phone as a whole. Optionally, the processor 180 may include one or more processing cores; in some embodiments, the processor 180 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, etc., and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 180.

[0159] The electronic device 1200 also includes a power supply 190 for supplying power to various components. In some embodiments, the power supply can be logically connected to the processor 180 through a power management system, so that the power management system can realize functions such as managing discharge and power consumption. The power supply 190 can also include any components such as one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, and power status indicators.

[0160] Although not shown, the electronic device 1200 may also include a camera (such as a front camera, a rear camera), a Bluetooth module, etc., which will not be described in detail here. Specifically in this embodiment, the display unit 140 of the electronic device 1200 is a touch screen display, and the electronic device 1200 also includes a memory 120, and one or more programs, wherein one or more programs are stored in the memory 120, and are configured to be executed by one or more processors 180. One or more programs include instructions for performing the following operations:

[0161] A data extraction instruction, used to extract at least one video link and video title from the current page based on a preset strategy;

[0162] An information acquisition instruction, used to determine the first video mark information corresponding to each of the video links, and to determine the second video mark information corresponding to each of the video titles;

[0163] A title matching instruction, used to match each of the video links and each of the video titles based on the first video mark information and the second video mark information;

[0164] The information display instruction is used to display the target video link and the target video title that have completed the matching in the current page.

[0165] In some embodiments, the information acquisition instruction is used to generate a video data acquisition request based on the video link; obtain target data returned by the video data acquisition request; extract first video flag information corresponding to the video link from the target data, the first video flag information including the first video playback time; obtain second video flag information corresponding to the video title through a preset search engine, the second video flag information including the second video playback time.

[0166] In some embodiments, the title matching instruction is used to compare the playback duration of any target first video with the playback duration of each second video; if there is a target second video playback duration that matches the playback duration of the target first video, the target video link corresponding to the playback duration of the target first video is bound to the target video title corresponding to the playback duration of the target second video.

[0167] In some embodiments, the first video logo information also includes a first role list, and the second video logo information also includes a second role list: the title matching instruction is used to match each of the video links and each video title based on the first video playback time, the first role list, the second video playback time and the second role list.

[0168] In some embodiments, the construction instruction is used to generate a video data acquisition request based on the video link; obtain target data returned by the video data acquisition request; extract key audio data and / or key image information from the target data; perform audio recognition processing and / or image recognition processing on the key audio data to obtain role information contained in the key audio data and / or key image information; and construct a first role list based on the role information.

[0169] In some embodiments, the title matching instruction is used to compare the playback time of any target first video with the playback time of each second video; if there is a target second video playback time that matches the playback time of the target first video, it is further determined whether there is an inclusion relationship between any target first role list and each second role list; if there is a target second role list that has an inclusion relationship with the first role list, the target video link corresponding to the target first role list is bound to the target video title corresponding to the target second role list.

[0170] In some embodiments, the information display instruction is used to display the target video link and the corresponding target video title on the current page in a preset associated form; obtain a video segment for describing the target video link and cover it on the upper layer of the area where the target video link or the target video title is located, and set the default display state of the video segment to invisible until a touch behavior is detected for the target video link or the target video title, then modify the display state of the video segment to visible, and then display the video segment on the upper layer of the area where the target video link or the target video title is located.

[0171] The embodiment of the present application also provides an electronic device, which may be a smart phone, a television, a computer, or other device.

[0172] As can be seen from the above, an embodiment of the present application provides an electronic device 1200, and the electronic device 1200 performs the following steps:

[0173] Extract at least one video link and video title from the current page based on a preset strategy;

[0174] Determine the first video mark information corresponding to each of the video links, and determine the second video mark information corresponding to each of the video titles;

[0175] Based on the first video mark information and the second video mark information, matching processing is performed on each of the video links and each of the video titles;

[0176] The matched target video link and target video title will be displayed in the current page.

[0177] An embodiment of the present application further provides a storage medium, wherein a computer program is stored in the storage medium. When the computer program is executed on a computer, the computer executes the video title recognition method described in any one of the above embodiments.

[0178] It should be noted that, for the video title recognition method described in the present application, ordinary testers in the field can understand that the whole or part of the process of implementing the video title recognition method described in the embodiment of the present application can be completed by controlling the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium, such as a memory of an electronic device, and executed by at least one processor in the electronic device, and the execution process may include the process of the embodiment of the video title recognition method. Among them, the storage medium can be a disk, an optical disk, a read-only memory (ROM), a random access memory (RAM), etc.

[0179] For the video title recognition device of the embodiment of the present application, each functional module can be integrated into a processing chip, or each module can exist physically separately, or two or more modules can be integrated into one module. The above-mentioned integrated module can be implemented in the form of hardware or in the form of software functional modules. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium, such as a read-only memory, a disk or an optical disk.

[0180] The above is a detailed introduction to the video title recognition method, device, medium and equipment provided in the embodiments of the present application. This article uses specific examples to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method and core ideas of the present application; at the same time, for those skilled in the art, according to the ideas of the present application, there will be changes in the specific implementation methods and application scopes. In summary, the content of this specification should not be understood as limiting the present application.

Claims

1. A video title recognition method, characterized in that: include: Extract at least one video link and video title from the current page based on a preset strategy; Determine the first video mark information corresponding to each of the video links, and determine the second video mark information corresponding to each of the video titles; Based on the first video mark information and the second video mark information, matching processing is performed on each of the video links and each of the video titles; The matched target video link and target video title will be displayed in the current page.

2. The video title recognition method according to claim 1, characterized in that: The determining of the first video mark information corresponding to each of the video links, and the determining of the second video mark information corresponding to each of the video titles, includes: Generate a video data acquisition request according to the video link; Acquire target data returned by the video data acquisition request; Extracting first video mark information corresponding to the video link from the target data, wherein the first video mark information includes a first video playback duration; The second video mark information corresponding to the video title is obtained through a preset search engine, where the second video mark information includes a playing time of the second video.

3. The video title recognition method according to claim 2, characterized in that: The matching process of each video link and each video title based on the first video mark information and the second video mark information includes: Compare the playback time of any target first video with the playback time of each of the second videos; If there is a target second video playback duration that matches the target first video playback duration, the target video link corresponding to the target first video playback duration is bound to the target video title corresponding to the target second video playback duration.

4. The video title recognition method according to claim 2, characterized in that: The first video mark information further includes a first role list, and the second video mark information further includes a second role list: The matching process of each video link and each video title based on the first video mark information and the second video mark information includes: Based on the first video playback time, the first character list, the second video playback time and the second character list, matching processing is performed on each of the video links and each video title.

5. The video title recognition method according to claim 4, characterized in that: After acquiring the target data returned by the video data acquisition request, the method further includes: extracting key audio data and / or key image information from the target data; Performing audio recognition processing and / or image recognition processing on the key audio data to obtain character information contained in the key audio data and / or key image information; A first role list is constructed according to the role information.

6. The video title recognition method according to claim 4, characterized in that: The matching process of each video link and each video title based on the first video playback time, the first role list, the second video playback time and the second role list includes: Compare the playback time of any target first video with the playback time of each of the second videos; If there is a target second video playback duration that matches the target first video playback duration, further determining whether there is an inclusion relationship between any target first role list and each of the second role lists; If there is a target second role list that is in an inclusion relationship with the first role list, the target video link corresponding to the target first role list is bound to the target video title corresponding to the target second role list.

7. The video title recognition method according to claim 3 or 6, characterized in that: The target video link and the target video title that will be matched are displayed in the current page, including: Displaying the target video link and the target video title corresponding thereto on the current page in a preset association form; A video segment for describing the target video link is obtained and covered on an upper layer of an area where the target video link or the target video title is located, and a default display state of the video segment is set to invisible until a touch behavior for the target video link or the target video title is detected, in which case the display state of the video segment is modified to visible, and the video segment is then displayed on an upper layer of an area where the target video link or the target video title is located.

8. A video title recognition device, characterized in that: The video title recognition device comprises: A data extraction module, used to extract at least one video link and video title from the current page based on a preset strategy; An information acquisition module, used to determine the first video mark information corresponding to each of the video links, and to determine the second video mark information corresponding to each of the video titles; A title matching module, used for matching each of the video links and each of the video titles based on the first video mark information and the second video mark information; The information display module is used to display the matched target video link and target video title in the current page.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor to execute the video title identification method according to any one of claims 1 to 7.

10. An electronic device, characterized in that: The invention comprises a processor and a memory, wherein the memory stores a plurality of instructions, and the processor loads the instructions to execute the video title identification method according to any one of claims 1 to 7.