WO2017063515A1 - 信息的推送方法及装置 - Google Patents

信息的推送方法及装置 Download PDF

Info

Publication number
WO2017063515A1
WO2017063515A1 PCT/CN2016/101443 CN2016101443W WO2017063515A1 WO 2017063515 A1 WO2017063515 A1 WO 2017063515A1 CN 2016101443 W CN2016101443 W CN 2016101443W WO 2017063515 A1 WO2017063515 A1 WO 2017063515A1
Authority
WO
WIPO (PCT)
Prior art keywords
key value
information
video
time period
determining
Prior art date
Application number
PCT/CN2016/101443
Other languages
English (en)
French (fr)
Inventor
童骏
Original Assignee
阿里巴巴集团控股有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 阿里巴巴集团控股有限公司 filed Critical 阿里巴巴集团控股有限公司
Publication of WO2017063515A1 publication Critical patent/WO2017063515A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • G06F16/78Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/783Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content

Definitions

  • the present application relates to the field of computer technologies, and in particular, to a method and device for pushing information.
  • the user when a user wants to obtain information about an object appearing in a video (eg, a drama or a movie, etc.), for example, when the user wants to purchase an item appearing in the video, the user can only log in to the online shopping platform by himself. Then look for the above items by entering the product attributes (such as brand, specification, material, size, etc.) of the above items in the search box; or, by entering the name of the movie or TV series in the search box, look for the above items. Therefore, in the prior art, for an object appearing in a video, the user cannot obtain related information of the object in real time, for example, the user cannot obtain the purchase information of the product appearing in the video in real time, which brings a poor experience to the user.
  • product attributes such as brand, specification, material, size, etc.
  • the embodiment of the present application provides a method and device for pushing information, which can push information of an object appearing in a video to a user in real time, thereby improving the user experience.
  • a method for pushing information comprising:
  • the first image information is collected from the currently playing video according to the preset time interval
  • the first image information is collected from a currently playing video according to a preset time interval, specifically:
  • the first image information is acquired from the currently playing video during each of the first collection time period sets.
  • the method further includes the step of initializing the sampling database, including:
  • the reading, by the first key value, the corresponding target information from the sampling database specifically:
  • the first key value is a fixed length hexadecimal data
  • the second key value is a fixed length hexadecimal data.
  • a push device for information comprising: an acquisition unit, a determination unit, a reading unit, and a push unit;
  • the collecting unit is configured to: when the user scans the currently playing video by using the terminal device, collect the first image information from the currently playing video according to the preset time interval;
  • the determining unit is configured to determine a first key value according to the first image information collected by the collecting unit and a preset algorithm
  • the reading unit is configured to read corresponding target information from the sampling database according to the first key value determined by the determining unit;
  • the pushing unit is configured to push the target information read by the reading unit.
  • the collecting unit is specifically configured to:
  • the first image information is acquired from the currently playing video during each of the first collection time period sets.
  • the apparatus further includes: an initialization unit, configured to repeatedly perform the following process:
  • the reading unit is specifically configured to:
  • the first key value is a fixed length hexadecimal data
  • the second key value is a fixed length hexadecimal data.
  • the method and device for pushing the information provided by the present application when the user scans the currently playing video through the terminal device, collecting the first image information from the currently playing video according to the preset time interval; An image information and a preset algorithm determine a first key value; according to the first key value, read corresponding target information from the sampling database; and push the target information.
  • An image information and a preset algorithm determine a first key value; according to the first key value, read corresponding target information from the sampling database; and push the target information.
  • FIG. 1 is a flowchart of a method for pushing information according to an embodiment of the present application
  • FIG. 2 is a schematic diagram of a device for pushing information according to another embodiment of the present application.
  • the method and device for pushing the information provided by the embodiment of the present application are applicable to a scenario in which the related information of the object appearing in the video is pushed to the user in real time, for example, the currently playing video can be scanned in real time to the application through the terminal device, thereby identifying The user of the item appearing in the video pushes the purchase information of the item that appears.
  • the terminal devices include, but are not limited to, mobile phones, mobile computers, tablet computers, personal digital assistants (PDAs), media players, smart TVs, smart watches, smart glasses, smart hands. Ring and so on.
  • the application of the terminal device may include a video recognition module and a presentation module, wherein the video recognition module is configured to scan the video according to the preset scanning frequency, thereby acquiring image information of the video; and the presentation module is configured to display the pushed target information.
  • FIG. 1 is a flowchart of a method for pushing information according to an embodiment of the present application.
  • the executor of the method may be a device with processing capability: a server or a system or a device. As shown in FIG. 1 , the method specifically includes:
  • Step 110 When the user scans the currently playing video through the terminal device, the first image information is collected from the currently playing video according to the preset time interval.
  • the method may further include the step of initializing a sampling database, by which the video of each time period is associated with related information of an object appearing in the video of the time period,
  • the application can push the relevant information of the object appearing in the video of the time period to the user in real time. Specifically include:
  • Step A Select the first video from the plurality of videos collected in advance and play.
  • the plurality of videos may be a plurality of movies or television dramas and the like collected by the server from the video library.
  • Step B Determine a second collection time period set according to the preset time interval and the duration of the first video, where the second collection time period set includes one or more second collection time periods.
  • the preset time interval may be set according to an empirical value, such as 10 seconds.
  • the determined second collection time period set may be: ⁇ 0 to 10, 1 to 11, 2 to 12, ..., 10 to 20 ⁇ , that is, the second The collection time period set may include 11 second acquisition time periods.
  • Step C Collect second image information from the first video during the first acquisition time period in the second collection time period set.
  • the second image information may also be referred to as pixel information.
  • information of all pixels may be collected from the first video; the first acquisition time period may be any acquisition time period in the second collection time period set.
  • the second image information may be acquired from the first video using an image scanning algorithm.
  • the scanning frequency of the image scanning algorithm may be 24 times/second, and the scanning may be performed 240 times in one acquisition period, that is, 240 pieces of second image information may be obtained in one acquisition period.
  • Step D Determine a second key value according to the collected second image information and the preset algorithm.
  • the above process of determining the second key value may also be referred to as serialization.
  • the 240 second image information collected in the first collection period is summarized according to a preset algorithm, and then a unique check value is obtained, and the unique check value is also called The second key value.
  • the preset algorithm may be any algorithm that can determine a unique, fixed-length value according to multiple data, for example, may be an MD5 algorithm or a check value algorithm.
  • the second key value can be a fixed length hexadecimal data.
  • it can be: DJ37DJAD93JSADJ83BJJBCSMUD7SSGSGZBDLDLL21223123KSL.
  • the second key value is only a second key value determined according to the second image information collected in the first collection time period of the second collection time period set and a preset algorithm. It can be understood that when multiple acquisition time periods are included in the second collection time period set, a plurality of second key values may be determined. For example, when 11 acquisition time periods are included in the second collection time period set, 11 second key values may be determined.
  • Step E Add related information of the object that appears in the first acquisition time period and the second key value of the first video to the sampling database.
  • an object refers to a single individual, such as a commodity, that can be identified from a video by image processing techniques.
  • the information related to the product may be the product link information of the product or the attribute information of the product (eg, brand, specification, material, and size).
  • the object that appears in the first acquisition time period of the first video may be obtained in advance by using two methods.
  • the first mode also called the automatic mode, refers to identifying the first video in the first by using a preset algorithm.
  • Pick The object that appears in the time period; the second method, also called manual mode, refers to the object that is pre-recorded in the first acquisition time period.
  • the related information of the object and the second key value may be recorded in the sampling database.
  • the first acquisition period is: 0 to 10 seconds
  • the second key value determined according to the second image information acquired during the first acquisition period is: DJ37DJAD93JSADJ83BJJBCSMUD7SSGSGZBDLDLL21223123KSL
  • the contents of the sampling database can be as shown in Table 1.
  • Table 1 may also include the contents of other fields.
  • Table 1 is only an implementation of the sampling database.
  • the sampling database may also be in other storage forms, such as a non-relational database.
  • Step F Step C-Step E is repeatedly performed until the processing of the second image information collected in each of the collection periods of the second collection period is completed.
  • step C-step E only the related information of the object that appears in the first acquisition time period and the second key value are added to the sampling database, and step C is repeatedly executed. - step E, until the related information of the object and the second key value appearing in the first acquisition time period in the second collection period set are added to the sampling database, that is, until the second collection The second image information acquired during each acquisition period in the time period set is processed.
  • the second collection time period set in the foregoing example ⁇ 0 to 10, 1 to 11, 2 to 12, ..., 10 to 20 ⁇ , when the first acquisition period is 0 to 10 seconds.
  • step C-step E After performing step C-step E once, only the related information of the object that appears in the first video within 0 to 10 seconds and the second key are added to the sampling database, and the above steps are repeated 11 times until the first video is to be performed.
  • the information about the object that appears within 10 to 20 seconds is added to the sampling database with the second key.
  • step A-step F is repeated until selection is completed for each of the plurality of videos.
  • the application or other program can read the related information of the corresponding object from the sampling database according to the second key value.
  • step 110 may specifically be: when the user scans the currently playing video through the application of the terminal device, the first time is collected from the currently playing video according to the preset time interval. Image information.
  • the preset time interval is the same as the preset time interval when the second sampling time set is determined in the initialization sampling database.
  • the video currently being played may be any video of multiple videos in step A, or may be other videos, which is not limited in this application.
  • step 110 the first image information is collected from the currently playing video according to the preset time interval, specifically:
  • the first image information is acquired from the currently playing video during each of the first collection time period sets.
  • the preset time interval is the same as the preset time interval in step B. For example, 10 seconds, when the terminal device scans the currently playing video for 50 seconds, that is, the scanning duration is 50 seconds.
  • the first collection time period can be determined: 0 to 10, 1 to 11, 2 to 12, ..., 40 to 50, and the 41 first collection time periods constitute a first collection time period set; During the first 41 acquisition periods, the first image information is acquired from the currently playing video.
  • Step 120 Determine a first key value according to the collected first image information and a preset algorithm.
  • step 130 is similar to step D and will not be described here.
  • the step 120 is to determine the first key value according to the collected first image information, wherein the first key value may also be a fixed length of hexadecimal data.
  • Step 130 Read corresponding target information from the sampling database according to the first key value.
  • the first key value is aligned with the second key value in Table 1, and the link information of the beer and the link information of the wine glass can be determined as the target information.
  • the first key value may be sequentially compared with the plurality of second key values in Table 1 one by one, when compared with the plurality of second keys
  • the comparison ends, and the target information corresponding to any of the key values is read; otherwise, the comparison ends until the comparison with the last second key value is completed.
  • Step 140 Push the target information.
  • the target information may be presented by the presentation module of the application, so as to push the object corresponding to the target information to the user, for example, the product corresponding to the target product link information is pushed to the user, and the user can open the product by clicking the target product link information.
  • the purchase page avoids the cumbersome operation process in the prior art when the user wants to purchase the goods appearing in the video, which greatly enhances the user experience.
  • the method for pushing the information provided by the present application when the user scans the currently playing video through the terminal device, collecting the first image information from the currently playing video according to the preset time interval; according to the collected first image And the preset algorithm determines the first key value; reads the corresponding target information from the sampling database according to the first key value; and pushes the target information.
  • the information pushing apparatus of the present application further includes an collecting unit 201, a determining unit 202, a reading unit 203, and a pushing unit 204, as shown in FIG.
  • the collecting unit 201 is configured to: when the user scans the currently playing video by using the terminal device, collect the first image information from the currently playing video according to the preset time interval.
  • the collecting unit 201 is specifically configured to:
  • the first image information is acquired from the currently playing video during each of the first collection time period sets.
  • the determining unit 202 is configured to determine the first key value according to the first image information collected by the collecting unit 201 and a preset algorithm.
  • the first key value is a fixed length hexadecimal data.
  • the reading unit 203 is configured to read corresponding target information from the sampling database according to the first key value determined by the determining unit 202.
  • the reading unit 203 is specifically configured to:
  • the second key value is a fixed length hexadecimal data.
  • the pushing unit 204 is configured to push the target information read by the reading unit 203.
  • the device further includes: an initialization unit 205, configured to repeatedly perform the following process:
  • the information sending device of the present application when the user scans the currently playing video through the terminal device, collects the first image information from the currently playing video according to the preset time interval; the determining unit 202 The first image information and the preset algorithm determine the first key value; the reading unit 203 reads the corresponding target information from the sampling database according to the first key value; the pushing unit 204 pushes the target information.
  • the user scans the currently playing video through the terminal device, collects the first image information from the currently playing video according to the preset time interval; the determining unit 202 The first image information and the preset algorithm determine the first key value; the reading unit 203 reads the corresponding target information from the sampling database according to the first key value; the pushing unit 204 pushes the target information.
  • the steps of a method or algorithm described in connection with the embodiments disclosed herein may be implemented by hardware, processor, or soft A module, or a combination of both, is implemented.
  • the software module can be placed in random access memory (RAM), memory, read only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or technical field. Any other form of storage medium known.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Library & Information Science (AREA)
  • Multimedia (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

一种信息的推送方法及装置,包括:当用户通过终端设备扫描当前正在播放的视频时,根据预设的时间间隔,从当前正在播放的视频中采集第一图像信息(S110);根据采集的所述第一图像信息以及预设的算法,确定第一关键值(S120);根据所述第一关键值,从采样数据库中读取对应的目标信息(S130);推送所述目标信息(S140)。由此,可以实现实时地向用户推送视频中出现的对象的相关信息,从而可以提升用户的体验。

Description

信息的推送方法及装置
本申请要求2015年10月16日递交的申请号为201510672813.X、发明名称为“信息的推送方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及计算机技术领域,尤其涉及一种信息的推送方法及装置。
背景技术
传统技术中,当用户想要获取视频(如,电视剧或者电影等)中出现的对象的相关信息时,如,当用户想要购买视频中出现的商品时,用户只能自行登录在线购物平台,然后通过在搜索框中输入上述商品的商品属性(如,品牌、规格、材质和尺寸等),查找上述商品;或者,也可以通过在搜索框中输入电影或者电视剧的名称,查找上述商品。因此,现有技术中,对视频中出现的对象,用户无法实时获取到该对象的相关信息,如用户无法实时获取到视频中出现的商品的购买信息,这给用户带来较差的体验。
发明内容
本申请实施例提供了一种信息的推送方法及装置,可以实时向用户推送视频中出现的对象的信息,可以提升用户的体验。
第一方面,提供了一种信息的推送方法,该方法包括:
当用户通过终端设备扫描当前正在播放的视频时,根据预设的时间间隔,从当前正在播放的视频中采集第一图像信息;
根据采集的所述第一图像信息以及预设的算法,确定第一关键值;
根据所述第一关键值,从采样数据库中读取对应的目标信息;
推送所述目标信息。
结合第一方面,在第一方面的第一种实现方式中,所述根据预设的时间间隔,从当前正在播放的视频中采集第一图像信息,具体为:
根据预设的时间间隔以及所述终端设备扫描所述视频的时长,确定第一采集时间段集合;
在所述第一采集时间段集合中的每个采集时间段内,从当前正在播放的视频中采集第一图像信息。
结合第一方面或者第一方面的第一种实现方式,在第一方面的第二种实现方式中,所述方法还包括初始化所述采样数据库的步骤,包括:
重复执行下列过程:
从预先搜集的多个视频中选取第一视频并播放;
根据所述预设的时间间隔以及所述第一视频的时长,确定第二采集时间段集合,所述第二采集时间段集合包括一个或多个第二采集时间段;
在所述第二采集时间段集合中的第一个采集时间段内,从所述第一视频中采集第二图像信息;
根据采集的所述第二图像信息以及所述预设的算法,确定第二关键值;
将所述第一视频在所述第一个采集时间段内出现的对象的相关信息以及所述第二关键值加入所述采样数据库中;
重复执行采集第二图像信息、确定第二关键值以及将对象的相关信息以及第二关键值加入采样数据库的步骤,直至将所述第二采集时间段集合中的每个采集时间段内出现的对象的相关信息以及第二关键值加入所述采样数据库中。
结合第一方面的第二种实现方式,在第一方面的第三种实现方式中,所述根据所述第一关键值,从采样数据库中读取对应的目标信息,具体为:
将所述第一关键值与所述第二关键值进行比对,将比对一致的第二关键值对应的相关信息确定为所述目标信息。
结合第一方面或第一方面的上述三种实现方式中任一种实现方式,在第一方面的第四种实现方式中,所述第一关键值为固定长度的十六进制数据;
相应的,所述第二关键值为固定长度的十六进制数据。
第二方面,提供了一种信息的推送装置,该装置包括:采集单元、确定单元、读取单元和推送单元;
所述采集单元,用于当用户通过终端设备扫描当前正在播放的视频时,根据预设的时间间隔,从当前正在播放的视频中采集第一图像信息;
所述确定单元,用于根据所述采集单元采集的所述第一图像信息以及预设的算法,确定第一关键值;
所述读取单元,用于根据所述确定单元确定的所述第一关键值,从采样数据库中读取对应的目标信息;
所述推送单元,用于推送所述读取单元读取的所述目标信息。
结合第二方面,在第二方面的第一种实现方式中,所述采集单元具体用于:
根据预设的时间间隔以及所述终端设备扫描所述视频的时长,确定第一采集时间段集合;
在所述第一采集时间段集合中的每个采集时间段内,从当前正在播放的视频中采集第一图像信息。
结合第二方面或者第二方面的第一种实现方式,在第二方面的第二种实现方式中,所述装置还包括:初始化单元,用于重复执行下列过程:
从预先搜集的多个视频中选取第一视频并播放;
根据所述预设的时间间隔以及所述第一视频的时长,确定第二采集时间段集合,所述第二采集时间段集合包括一个或多个第二采集时间段;
在所述第二采集时间段集合中的第一个采集时间段内,从所述第一视频中采集第二图像信息;
根据采集的所述第二图像信息以及所述预设的算法,确定第二关键值;
将所述第一视频在所述第一个采集时间段内出现的对象的相关信息以及所述第二关键值加入所述采样数据库中;
重复执行采集第二图像信息、确定第二关键值以及将对象的相关信息以及第二关键值加入采样数据库的步骤,直至将所述第二采集时间段集合中的每个采集时间段内出现的对象的相关信息以及第二关键值加入所述采样数据库中。
结合第二方面的第二种实现方式,在第二方面的第三种实现方式中,所述读取单元具体用于:
将所述第一关键值与所述第二关键值进行比对,将比对一致的第二关键值对应的相关信息确定为所述目标信息。
结合第二方面或第二方面的上述三种实现方式中任一种实现方式,在第二方面的第四种实现方式中,所述第一关键值为固定长度的十六进制数据;
相应的,所述第二关键值为固定长度的十六进制数据。
本申请提供的信息的推送方法及装置,当用户通过终端设备扫描当前正在播放的视频时,根据预设的时间间隔,从当前正在播放的视频中采集第一图像信息;根据采集的所述第一图像信息以及预设的算法,确定第一关键值;根据所述第一关键值,从采样数据库中读取对应的目标信息;推送所述目标信息。由此,可以实现实时地向用户推送视频中出现的对象的相关信息,从而可以提升用户的体验。
附图说明
图1为本申请一种实施例提供的信息的推送方法流程图;
图2为本申请另一种实施例提供的信息的推送装置示意图。
具体实施方式
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
为便于对本申请实施例的理解,下面将结合附图以具体实施例做进一步的解释说明,实施例并不构成对本申请实施例的限定。
本申请实施例提供的信息的推送方法及装置,适用于实时向用户推送视频中出现的对象的相关信息的场景,如,可以向通过终端设备的应用程序实时扫描当前正在播放的视频,从而识别该视频中出现的商品的用户推送出现的商品的购买信息。
需要说明的是,本申请提供的终端设备包括但不限于移动电话、移动电脑、平板电脑、个人数字助理(Personal Digital Assistant,PDA)、媒体播放器、智能电视、智能手表、智能眼镜、智能手环等。而终端设备的应用程序可以包括视频识别模块和展现模块,其中,视频识别模块用于根据预设的扫描频率扫描视频,从而采集该视频的图像信息;展现模块用于展现推送的目标信息。
图1为本申请一种实施例提供的信息的推送方法流程图。所述方法的执行主体可以为具有处理能力的设备:服务器或者系统或者装置,如图1所示,所述方法具体包括:
步骤110,当用户通过终端设备扫描当前正在播放的视频时,根据预设的时间间隔,从当前正在播放的视频中采集第一图像信息。
可选地,在执行步骤110之前,所述方法还可以包括初始化采样数据库的步骤,通过该步骤可以实现对每个时间段的视频与该时间段的视频中出现的对象的相关信息进行关联,以便于当用户在某个时间段通过终端设备的应用程序扫描该视频时,应用程序可以实时向用户推送该时间段的视频中出现的对象的相关信息。具体包括:
步骤A:从预先搜集的多个视频中选取第一视频并播放。
此处,多个视频可以是由服务器从视频库中搜集的多部电影或者电视剧等。
步骤B:根据所述预设的时间间隔以及所述第一视频的时长,确定第二采集时间段集合,所述第二采集时间段集合包括一个或多个第二采集时间段。
此处,预设的时间间隔可以是根据经验值设定,如可以为10秒。举例来说,假设第一视频的时长为20秒,则确定的第二采集时间段集合可以为:{0~10,1~11,2~12,…,10~20},即该第二采集时间段集合可以包括11个第二采集时间段。
步骤C:在所述第二采集时间段集合中的第一个采集时间段内,从所述第一视频中采集第二图像信息。
此处,第二图像信息也可以称为像素信息。优选地,可以从所述第一视频中采集所有像素的信息;第一个采集时间段可以为第二采集时间段集合中的任一采集时间段。
具体地,可以采用图像扫描算法从第一视频中采集第二图像信息。在一个例子中,上述图像扫描算法的扫描频率可以为24次/秒,则在一个采集时间段内可以扫描240次,也即在一个采集时间段内,可以得到240个第二图像信息。
步骤D:根据采集的所述第二图像信息以及所述预设的算法,确定第二关键值。
上述确定第二关键值的过程也可以称为序列化。具体地,对在第一个采集时间段内采集到的240个第二图像信息,根据预设的算法进行汇总,之后可以得出一个唯一的校验值,该唯一的校验值也称为第二关键值。此处,预设的算法可以为任一能根据多个数据确定出一个唯一的、固定长度的值的算法,如,可以为MD5算法或者校验值算法等。
在一个实施例中,第二关键值可以为固定长度的十六进制数据。如,可以为:DJ37DJAD93JSADJ83BJJBCSMUD7SSGSGZBDLDLL21223123KSL。
需要说明的是,上述第二关键值只是根据第二采集时间段集合中第一个采集时间段内采集的第二图像信息和预设的算法确定的一个第二关键值。可以理解的是,当第二采集时间段集合中包括多个采集时间段时,则可以确定多个第二关键值。如,当第二采集时间段集合中包括11个采集时间段时,则可以确定11个第二关键值。
步骤E:将所述第一视频在所述第一个采集时间段内出现的对象的相关信息以及所述第二关键值加入所述采样数据库中。
此处,对象是指通过图像处理技术从视频中能够识别出的单独个体,如,商品。商品的相关信息可以为商品的商品链接信息或者商品的属性信息(如,品牌、规格、材质和尺寸)等。在本申请中,可以通过两种方式预先获取第一视频在第一个采集时间段内出现的对象,第一种方式,也称自动方式,是指通过预设算法识别第一视频在第一个采 集时间段内出现的对象;第二种方式,也称人工方式,是指人为预先记录第一视频在第一个采集时间段中出现的对象。
在获取到第一视频在第一个采集时间段内出现的对象之后,可以在采样数据库中记录对象的相关信息以及第二关键值。在第一个例子中,假设第一个采集时间段为:0~10秒,且根据该第一个采集时间段内采集的第二图像信息确定的第二关键值为:DJ37DJAD93JSADJ83BJJBCSMUD7SSGSGZBDLDLL21223123KSL,此外,还假设第一视频在0~10秒内出现的商品为:啤酒和酒杯,则采样数据库的内容可以如表1所示。
表1
Figure PCTCN2016101443-appb-000001
当然,表1中还可以包括其它字段的内容,此外,表1只是采样数据库的一种实现方式,在实际应用中,采样数据库也可以为其它的存储形式,如,非关系数据库等。
步骤F:重复执行步骤C-步骤E,直至对所述第二采集时间段集合中的每个采集时间段内采集到的第二图像信息处理完成。
需要说明的是,在执行步骤C-步骤E之后,只是完成了将第一视频在第一个采集时间段内出现的对象的相关信息以及第二关键值加入到采样数据库中,重复执行步骤C-步骤E,直至将第一视频在第二采集时间段集合中的每个采集时间段内出现的对象的相关信息以及第二关键值加入到采样数据库中,也即直至对所述第二采集时间段集合中的每个采集时间段内采集到的第二图像信息处理完成。举例来说,如前述例子中的第二采集时间段集合:{0~10,1~11,2~12,…,10~20},当第一个采集时间段为0~10秒时,在执行一次步骤C-步骤E之后,只是完成了将第一视频在0~10秒内出现的对象的相关信息与第二关键加入采样数据库,需重复执行上述步骤11次,直至将第一视频在10~20秒内出现的对象的相关信息与第二关键加入采样数据库。
在完成步骤F之后,重复执行步骤A-步骤F,直至对多个视频中的每个视频选取完成。
在完成上述采样数据库的初始化之后,则应用程序或者其它程序可以根据第二关键值,从采样数据库中读取对应的对象的相关信息。
回到步骤110中,需要说明的是,步骤110具体可以为:当用户通过终端设备的应用程序扫描当前正在播放的视频时,根据预设的时间间隔,从当前正在播放的视频中采集第一图像信息。其中,预设的时间间隔与初始化采样数据库中确定第二采样时间集合时的预设的时间间隔是相同的。而当前正在播放的视频可以是步骤A中多个视频的任一视频,也可以是其它视频,本申请对此不作限定。
步骤110中根据预设的时间间隔,从当前正在播放的视频中采集第一图像信息,具体为:
根据预设的时间间隔以及所述终端设备扫描所述视频的时长,确定第一采集时间段集合;
在所述第一采集时间段集合中的每个采集时间段内,从当前正在播放的视频中采集第一图像信息。
举例来说,预设的时间间隔与步骤B中的预设的时间间隔相同,如,10秒,则在终端设备扫描当前正在播放的视频的时长为50秒时,也即扫描时长为50秒时,可以确定41个第一采集时间段:0~10,1~11,2~12,…,40~50,该41个第一采集时间段构成第一采集时间段集合;之后分别在该41个第一采集时间段内,从当前正在播放的视频中采集第一图像信息。
步骤120,根据采集的所述第一图像信息以及预设的算法,确定第一关键值。
此处,步骤130与步骤D类似,在此不复赘述。不同的是,步骤120是根据采集的第一图像信息,确定第一关键值,其中,第一关键值也可以为固定长度的十六进制数据。
步骤130,根据所述第一关键值,从采样数据库中读取对应的目标信息。
其中,所述根据所述第一关键值,从采样数据库中读取对应的目标信息,具体为:
将所述第一关键值与所述第二关键值进行比对,将比对一致的第二关键值对应的相关信息确定为所述目标信息。
举例来说,当第一关键值为:
DJ37DJAD93JSADJ83BJJBCSMUD7SSGSGZBDLDLL21223123KSL时。
也即,该第一关键值与表1中的第二关键值比对一致,则可以将啤酒的链接信息和酒杯的链接信息确定为目标信息。可以理解的是,当表1中有多个第二关键值时,则可以将第一关键值依次与表1中的多个第二关键值一一进行比对,当与多个第二关键值中的任一关键值比对一致时,则比对结束,并读取该任一关键值对应的目标信息;否则直至与最后一个第二关键值比对完成,比对才结束。
可以理解的是,当第一关键值与表1中多个第二关键值均比对不一致时,则认为没有可推送的目标信息。
步骤140,推送所述目标信息。
即,可以通过应用程序的展现模块展现目标信息,以实现向用户推送目标信息对应的对象,如,实现向用户推送目标商品链接信息对应的商品,用户可以通过点击上述目标商品链接信息来打开商品的购买页面,从而避免了现有技术中当用户想要购买视频中出现的商品时,需要经过繁琐的操作过程,这大大提升了用户的体验。
可以理解的是,当确定多个第一关键值,且根据每个第一关键值可以读取到多个对应的目标信息时,则可以推送每个第一关键值对应的多个目标信息。
本申请提供的信息的推送方法,当用户通过终端设备扫描当前正在播放的视频时,根据预设的时间间隔,从当前正在播放的视频中采集第一图像信息;根据采集的所述第一图像信息以及预设的算法,确定第一关键值;根据所述第一关键值,从采样数据库中读取对应的目标信息;推送所述目标信息。由此,可以实现实时地向用户推送视频中出现的对象的相关信息,从而可以提升用户的体验。
与上述信息的推送方法对应地,本申请实施例还提供的一种信息的推送装置,如图2所示,该装置包括:采集单元201、确定单元202、读取单元203和推送单元204。
采集单元201,用于当用户通过终端设备扫描当前正在播放的视频时,根据预设的时间间隔,从当前正在播放的视频中采集第一图像信息。
采集单元201具体用于:
根据预设的时间间隔以及所述终端设备扫描所述视频的时长,确定第一采集时间段集合;
在所述第一采集时间段集合中的每个采集时间段内,从当前正在播放的视频中采集第一图像信息。
确定单元202,用于根据采集单元201采集的所述第一图像信息以及预设的算法,确定第一关键值。
其中,所述第一关键值为固定长度的十六进制数据。
读取单元203,用于根据确定单元202确定的所述第一关键值,从采样数据库中读取对应的目标信息。
读取单元203具体用于:
将所述第一关键值与所述第二关键值进行比对,将比对一致的第二关键值对应的相 关信息确定为所述目标信息。
其中,所述第二关键值为固定长度的十六进制数据。
推送单元204,用于推送读取单元203读取的所述目标信息。
可选地,所述装置还包括:初始化单元205,用于重复执行下列过程:
从预先搜集的多个视频中选取第一视频并播放;
根据所述预设的时间间隔以及所述第一视频的时长,确定第二采集时间段集合,所述第二采集时间段集合包括一个或多个第二采集时间段;
在所述第二采集时间段集合中的第一个采集时间段内,从所述第一视频中采集第二图像信息;
根据采集的所述第二图像信息以及所述预设的算法,确定第二关键值;
将所述第一视频在所述第一个采集时间段内出现的对象的信息以及所述第二关键值加入所述采样数据库中;
重复执行采集第二图像信息、确定第二关键值以及将对象的相关信息以及第二关键值加入采样数据库的步骤,直至将所述第二采集时间段集合中的每个采集时间段内出现的对象的相关信息以及第二关键值加入所述采样数据库中。
本申请实施例装置的各功能模块的功能,可以通过上述方法实施例的各步骤来实现,因此,本申请提供的装置的具体工作过程,在此不复赘述。
本申请提供的信息的推送装置,采集单元201当用户通过终端设备扫描当前正在播放的视频时,根据预设的时间间隔,从当前正在播放的视频中采集第一图像信息;确定单元202根据所述第一图像信息以及预设的算法,确定第一关键值;读取单元203根据所述第一关键值,从采样数据库中读取对应的目标信息;推送单元204推送所述目标信息。由此,可以实现实时地向用户推送视频中出现的对象的相关信息,从而可以提升用户的体验。
专业人员应该还可以进一步意识到,结合本文中所公开的实施例描述的各示例的对象及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
结合本文中所公开的实施例描述的方法或算法的步骤可以用硬件、处理器执行的软 件模块,或者二者的结合来实施。软件模块可以置于随机存储器(RAM)、内存、只读存储器(ROM)、电可编程ROM、电可擦除可编程ROM、寄存器、硬盘、可移动磁盘、CD-ROM、或技术领域内所公知的任意其它形式的存储介质中。
以上所述的具体实施方式,对本申请的目的、技术方案和有益效果进行了进一步详细说明,所应理解的是,以上所述仅为本申请的具体实施方式而已,并不用于限定本申请的保护范围,凡在本申请的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。

Claims (10)

  1. 一种信息的推送方法,其特征在于,该方法包括:
    当用户通过终端设备扫描当前正在播放的视频时,根据预设的时间间隔,从当前正在播放的视频中采集第一图像信息;
    根据采集的所述第一图像信息以及预设的算法,确定第一关键值;
    根据所述第一关键值,从采样数据库中读取对应的目标信息;
    推送所述目标信息。
  2. 根据权利要求1所述的方法,其特征在于,所述根据预设的时间间隔,从当前正在播放的视频中采集第一图像信息,具体为:
    根据预设的时间间隔以及所述终端设备扫描所述视频的时长,确定第一采集时间段集合;
    在所述第一采集时间段集合中的每个采集时间段内,从当前正在播放的视频中采集第一图像信息。
  3. 根据权利要求1或2所述的方法,其特征在于,所述方法还包括初始化所述采样数据库的步骤,包括:
    重复执行下列过程:
    从预先搜集的多个视频中选取第一视频并播放;
    根据所述预设的时间间隔以及所述第一视频的时长,确定第二采集时间段集合,所述第二采集时间段集合包括一个或多个第二采集时间段;
    在所述第二采集时间段集合中的第一个采集时间段内,从所述第一视频中采集第二图像信息;
    根据采集的所述第二图像信息以及所述预设的算法,确定第二关键值;
    将所述第一视频在所述第一个采集时间段内出现的对象的信息以及所述第二关键值加入所述采样数据库中;
    重复执行采集第二图像信息、确定第二关键值以及将对象的相关信息以及第二关键值加入采样数据库的步骤,直至将所述第二采集时间段集合中的每个采集时间段内出现的对象的相关信息以及第二关键值加入所述采样数据库中。
  4. 根据权利要求3所述的方法,其特征在于,所述根据所述第一关键值,从采样数据库中读取对应的目标信息,具体为:
    将所述第一关键值与所述第二关键值进行比对,将比对一致的第二关键值对应的相 关信息确定为所述目标信息。
  5. 根据权利要求1-4任一项所述的方法,其特征在于,所述第一关键值为固定长度的十六进制数据;
    相应的,所述第二关键值为固定长度的十六进制数据。
  6. 一种信息的推送装置,其特征在于,该装置包括:采集单元、确定单元、读取单元和推送单元;
    所述采集单元,用于当用户通过终端设备扫描当前正在播放的视频时,根据预设的时间间隔,从当前正在播放的视频中采集第一图像信息;
    所述确定单元,用于根据所述采集单元采集的所述第一图像信息以及预设的算法,确定第一关键值;
    所述读取单元,用于根据所述确定单元确定的所述第一关键值,从采样数据库中读取对应的目标信息;
    所述推送单元,用于推送所述读取单元读取的所述目标信息。
  7. 根据权利要求6所述的装置,其特征在于,所述采集单元具体用于:
    根据预设的时间间隔以及所述终端设备扫描所述视频的时长,确定第一采集时间段集合;
    在所述第一采集时间段集合中的每个采集时间段内,从当前正在播放的视频中采集第一图像信息。
  8. 根据权利要求6或7所述的装置,其特征在于,所述装置还包括:初始化单元,用于重复执行下列过程:
    从预先搜集的多个视频中选取第一视频并播放;
    根据所述预设的时间间隔以及所述第一视频的时长,确定第二采集时间段集合,所述第二采集时间段集合包括一个或多个第二采集时间段;
    在所述第二采集时间段集合中的第一个采集时间段内,从所述第一视频中采集第二图像信息;
    根据采集的所述第二图像信息以及所述预设的算法,确定第二关键值;
    将所述第一视频在所述第一个采集时间段内出现的对象的信息以及所述第二关键值加入所述采样数据库中;
    重复执行采集第二图像信息、确定第二关键值以及将对象的相关信息以及第二关键值加入采样数据库的步骤,直至将所述第二采集时间段集合中的每个采集时间段内出现 的对象的相关信息以及第二关键值加入所述采样数据库中。
  9. 根据权利要求8所述的装置,其特征在于,所述读取单元具体用于:
    将所述第一关键值与所述第二关键值进行比对,将比对一致的第二关键值对应的相关信息确定为所述目标信息。
  10. 根据权利要求6-9任一项所述的装置,其特征在于,所述第一关键值为固定长度的十六进制数据;
    相应的,所述第二关键值为固定长度的十六进制数据。
PCT/CN2016/101443 2015-10-16 2016-10-08 信息的推送方法及装置 WO2017063515A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510672813.X 2015-10-16
CN201510672813.XA CN106598980B (zh) 2015-10-16 2015-10-16 信息的推送方法及装置

Publications (1)

Publication Number Publication Date
WO2017063515A1 true WO2017063515A1 (zh) 2017-04-20

Family

ID=58517779

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/101443 WO2017063515A1 (zh) 2015-10-16 2016-10-08 信息的推送方法及装置

Country Status (2)

Country Link
CN (1) CN106598980B (zh)
WO (1) WO2017063515A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108446382A (zh) * 2018-03-20 2018-08-24 百度在线网络技术(北京)有限公司 用于推送信息的方法和装置

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1305166A (zh) * 2000-12-15 2001-07-25 新华书店总店 信息检索系统及信息检索方法
CN101625681A (zh) * 2008-07-11 2010-01-13 江苏怡丰通信设备有限公司 快速商品信息查询方法
CN102063436A (zh) * 2009-11-18 2011-05-18 腾讯科技(深圳)有限公司 一种利用终端获取图像实现商品信息搜索的系统及方法
CN103369049A (zh) * 2013-07-22 2013-10-23 王雁林 移动终端和服务器交互方法及其系统

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102663069A (zh) * 2012-03-31 2012-09-12 广东威创视讯科技股份有限公司 视频检索方法与装置
CN104715023B (zh) * 2015-03-02 2018-08-03 北京奇艺世纪科技有限公司 基于视频内容的商品推荐方法和系统

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1305166A (zh) * 2000-12-15 2001-07-25 新华书店总店 信息检索系统及信息检索方法
CN101625681A (zh) * 2008-07-11 2010-01-13 江苏怡丰通信设备有限公司 快速商品信息查询方法
CN102063436A (zh) * 2009-11-18 2011-05-18 腾讯科技(深圳)有限公司 一种利用终端获取图像实现商品信息搜索的系统及方法
CN103369049A (zh) * 2013-07-22 2013-10-23 王雁林 移动终端和服务器交互方法及其系统

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108446382A (zh) * 2018-03-20 2018-08-24 百度在线网络技术(北京)有限公司 用于推送信息的方法和装置

Also Published As

Publication number Publication date
CN106598980B (zh) 2020-03-10
CN106598980A (zh) 2017-04-26

Similar Documents

Publication Publication Date Title
WO2015127865A1 (en) Information pushing method, terminal and server
US9538116B2 (en) Relational display of images
JP5980311B2 (ja) ビデオ・シグネチャ
CN108366278B (zh) 一种视频播放中的用户交互实现方法及装置
WO2019134587A1 (zh) 视频数据处理方法、装置、电子设备和存储介质
US20170164027A1 (en) Video recommendation method and electronic device
WO2016029561A1 (zh) 基于显示终端的数据处理方法
CN108197336B (zh) 一种视频查找的方法及装置
WO2016201800A1 (zh) 信息获取方法、服务器、终端及数据库构建方法、装置
CN106599165B (zh) 一种基于播放行为的内容推荐方法及服务器
TW201525739A (zh) 智慧電視的資料處理方法、智慧電視以及智慧電視系統
CN112507163B (zh) 时长预测模型训练方法、推荐方法、装置、设备及介质
CN110909616A (zh) 一种视频中商品购买信息获取方法、装置及电子设备
WO2017096801A1 (zh) 信息处理方法及装置
WO2017161744A1 (zh) 一种视频推荐方法及装置
US10897658B1 (en) Techniques for annotating media content
WO2020135189A1 (zh) 产品推荐方法、产品推荐系统及存储介质
WO2022028177A1 (zh) 信息推送、视频处理方法和设备
US10521925B1 (en) Using multiple image verification challenges to determine object location in an image
CN107688587B (zh) 一种媒体信息展示方法及装置
WO2020063437A1 (zh) 关键词的推荐方法、装置、存储介质及电子设备
US9934449B2 (en) Methods and systems for detecting topic transitions in a multimedia content
WO2017063515A1 (zh) 信息的推送方法及装置
CN114117120A (zh) 基于内容分析的视频文件智能索引生成系统及方法
CN106970942B (zh) 一种涉黄内容主动防御的方法及终端

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16854894

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16854894

Country of ref document: EP

Kind code of ref document: A1