WO2021092934A1 - Video data-based message pushing method and device, and computer storage medium - Google Patents

Video data-based message pushing method and device, and computer storage medium Download PDF

Info

Publication number
WO2021092934A1
WO2021092934A1 PCT/CN2019/118912 CN2019118912W WO2021092934A1 WO 2021092934 A1 WO2021092934 A1 WO 2021092934A1 CN 2019118912 W CN2019118912 W CN 2019118912W WO 2021092934 A1 WO2021092934 A1 WO 2021092934A1
Authority
WO
WIPO (PCT)
Prior art keywords
video
current
scene information
push
information
Prior art date
Application number
PCT/CN2019/118912
Other languages
French (fr)
Chinese (zh)
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 深圳海付移通科技有限公司
Priority to CN201980010260.8A priority Critical patent/CN111684815B/en
Priority to PCT/CN2019/118912 priority patent/WO2021092934A1/en
Publication of WO2021092934A1 publication Critical patent/WO2021092934A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/251Learning process for intelligent management, e.g. learning user preferences for recommending movies
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/466Learning process for intelligent management, e.g. learning user preferences for recommending movies
    • H04N21/4662Learning process for intelligent management, e.g. learning user preferences for recommending movies characterized by learning algorithms
    • H04N21/4665Learning process for intelligent management, e.g. learning user preferences for recommending movies characterized by learning algorithms involving classification methods, e.g. Decision trees
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/466Learning process for intelligent management, e.g. learning user preferences for recommending movies
    • H04N21/4667Processing of monitored end-user data, e.g. trend analysis based on the log file of viewer selections
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/466Learning process for intelligent management, e.g. learning user preferences for recommending movies
    • H04N21/4668Learning process for intelligent management, e.g. learning user preferences for recommending movies for recommending content, e.g. movies

Definitions

  • This application relates to the field of data processing technology, in particular to a method, equipment and computer storage medium for pushing messages based on video data.
  • the main technical problem to be solved by the application is to provide a method, equipment and computer storage medium for message push based on video data, which can provide users with personalized message push and improve the accuracy of message push.
  • a technical solution adopted in this application is to provide a message push method based on video data, the method includes: obtaining current scene information; based on the current scene information, from a pre-established mapping data table , Obtain the target video data category that matches the current scene information; Among them, the mapping data table is established by classifying the video files in the video database according to preset tags and associating the scene information; According to the tags of the target video data category, Push news.
  • another technical solution adopted in this application is to provide a computer storage medium for storing program data, which is used to implement the above method when the program data is executed by a processor.
  • this application obtains the current scene information based on the current scene information from the pre-established mapping data table, and obtains the target video that matches the current scene information.
  • Data category so as to push the message according to the label of the target video data category. Since the mapping data table is established by classifying the video files in the video database according to the preset label and associating the scene information, the pushed message is not only the same as the current one.
  • the scene information is associated with the historical video files and their scene information, so that the pushed messages are based on the user’s past behavior and meet the needs of the current scene, that is, the pushed messages are personalized and practical. Therefore, it can provide users with personalized message push and improve the accuracy of message push.
  • FIG. 1 is a schematic flowchart of a first embodiment of a method for pushing a message based on video data provided by the present application
  • FIG. 2 is a schematic flowchart of a second embodiment of a method for pushing messages based on video data provided by the present application
  • FIG. 3 is another schematic flowchart of the second embodiment of the method for pushing messages based on video data provided by the present application
  • FIG. 4 is a schematic flowchart of a third embodiment of a method for pushing a message based on video data provided by the present application
  • FIG. 5 is a schematic flowchart of a fourth embodiment of a method for pushing a message based on video data provided by the present application
  • FIG. 6 is a schematic structural diagram of an embodiment of a terminal device provided by the present application.
  • Fig. 7 is a schematic diagram of an embodiment of a computer storage medium provided by the present application.
  • first”, “second”, and “third” in the embodiments of the present application are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Thus, the features defined with “first”, “second”, and “third” may explicitly or implicitly include at least one of the features. In the description of this application, “multiple” means at least two, such as two, three, etc., unless otherwise specifically defined. In addition, the terms “including” and “having” and any variations of them are intended to cover non-exclusive inclusions.
  • a process, method, system, product, or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes unlisted steps or units, or optionally also includes Other steps or units inherent to these processes, methods, products or equipment.
  • FIG. 1 is a schematic flowchart of a first embodiment of a method for pushing a message based on video data provided by the present application.
  • the method 100 for pushing messages based on video data in this embodiment includes the following steps:
  • the current scene information can be acquired through various sensors on the terminal device, or through a network channel in a networked state, or information input by the user can be acquired as the scene information.
  • a preset frequency can be set to obtain current scene information, and the current scene information can reflect real-time scene changes.
  • S140 Based on the current scene information, obtain a target video data class matching the current scene information from a pre-established mapping data table.
  • mapping data table is established by classifying the video files in the video database and correlating scene information according to preset tags.
  • the video files in the video database are classified, they are associated with the scene information of the video files, so that a mapping data table with a corresponding relationship can be obtained.
  • the mapping data table is established by classifying the video files in the video database according to preset tags and associating the scene information (of the video file) It can reflect the user's personal characteristics such as the video shooting style, hobbies, living habits, and the scene at the time.
  • the target video data class obtained by this method is not only related to the current scene information, but also based on the historical video file and its scene information, so it meets the real-time scene changes and the individual needs of the user at the same time.
  • tags of the target video data category obtain the user's interesting and useful news, and push the news.
  • the tag of the target video data category corresponds to a preset tag for classifying the video file, and the tag can reflect various information contained in the video file.
  • the method 100 for pushing messages based on video data obtains the current scene information and based on the current scene information from a pre-established mapping data table to obtain the target video data category that matches the current scene information. , So as to push the message according to the label of the target video data category. Since the mapping data table is established by classifying the video files in the video database according to the preset label and correlating the scene information, the pushed message is not only related to the current scene. Information is correlated, and based on historical video files and their scene information, so that the pushed messages are based on the user's past behaviors and meet the needs of the current scene, that is, the pushed messages are personalized and practical, so they can Provide users with personalized message push to improve the accuracy of message push.
  • S120 before S120: acquiring current scene information, it may further include:
  • Obtaining the authority to perform message push that is, acquiring the authority of the user (or device) to enable the message push function.
  • the method of obtaining the permission to push messages may include:
  • the application can prompt the user to enable the message push function through a pop-up window or voice, and the user can confirm that the message push function is enabled by tapping the screen, voice control, or gesture control.
  • the system enables the message push function by default, and at the same time that the message is pushed for the first time, the user is asked if they agree to continue pushing in the future.
  • FIG. 2 is a schematic flowchart of a second embodiment of a method for pushing a message based on video data provided by the present application.
  • FIG. 3 is a schematic diagram of another flow in the second embodiment of the method for pushing messages based on video data provided by the present application.
  • the second embodiment of the video data-based message pushing method 100 of this application is based on the first embodiment of the video data-based message pushing method 100 of this application. Therefore, the same steps in this embodiment and the first embodiment will not be described again, you can refer to Description in the first embodiment.
  • the method 100 for pushing messages based on video data further includes:
  • S220 Acquire multiple video files in the video database.
  • step S220 multiple video files in the video database and scene information of each video file can also be acquired at the same time.
  • S240 Classify the video files in the video database according to preset tags.
  • the video files in the video database may be classified according to preset tags and scene information of each video file.
  • S260 Acquire scene information of each video file.
  • the scene information of each video file may be, for example, information such as the time, location, and gyroscope when the video was shot or viewed.
  • step S260 can also be executed before step S240.
  • S280 Establish a mapping table according to the classification of multiple video files and corresponding scene information.
  • step S240 classifying the video files in the video database according to preset tags, which may include:
  • S241 Perform framing processing on the video file in the video database to obtain multiple video frames.
  • the deep learning network is obtained by supervised learning training based on the video frames with pre-established corresponding relationships and preset labels.
  • the preset tags for example: related information about "people” in the segmented video frame, including: single, multi-person, selfie, happy, sad, etc.; related to "travel” in the segmented video frame Information, including: seaside, grassland, desert, etc.; related information about "objects” in the segmented video frame, including: apples, pears, cars, airplanes, trains, etc.
  • each video frame is input to a trained deep learning network to output a corresponding label.
  • the main methods are deep learning and image semantic segmentation.
  • Deep learning is a branch of machine learning. It mainly refers to deep neural network algorithms. Deep neural networks have more levels than ordinary neural networks and can better capture the deep-level relationships in data. The resulting model is more accurate and is mainly used for features Learn. Through a large number of pre-input video frames and preset segmentation tags, after deep learning training, the input video frames can be automatically and quickly segmented into corresponding semantic information, that is, the tags corresponding to each video frame are output.
  • S243 Analyze the video files in the video database according to the output corresponding tags, and classify and generate a data list.
  • step S243 may include: analyzing the video files in the video database according to the output corresponding tags and scene information of each video file, and classifying and generating a data list.
  • the video files in the video database are classified, and a data list is generated by classifying.
  • the corresponding tags obtained by AI automatic detection and image semantic segmentation are mainly used, and the scene information of each video file can be combined.
  • corresponding tags (which can also be combined with the scene information contained in the video file, such as time information, location information, gyroscope, etc.), analyze the video files in the video database, and generate a data list corresponding to the classification.
  • Table 1 shows part of the classification:
  • step S280 establishing a mapping table according to the classification of multiple video files and corresponding scene information, which may include:
  • S281 Perform data link based on the data list and the corresponding scene information.
  • the time information contained in the video file is combined to establish a time data link; or the information contained in the video file is combined to establish a location data link.
  • mapping data table can be obtained after internal processing.
  • obtaining current scene information includes: obtaining current time information.
  • the target video data category that matches the current time information is obtained from the pre-established mapping data table.
  • the current time information obtained is "April 19, 2019”.
  • the target video data type obtained from the preset mapping data table may be the associated time in the video database
  • the scene information is the target video data category of "April 19, 2018-April 23, 2018", and the tags of multiple video files in the target video data category are obtained. Among them, a certain associated scene information is "April 23, 2018”. If the tag of the video file on the 22nd of the month is "birthday", etc., you can send a reminder to the user and attach the video file at the same time. If the owner of the birthday is the user himself, it can bring memories to the user; if the birthday is someone else, the user can be reminded that the birthday is coming soon, so as not to miss the birthday of an important person.
  • the current time information obtained is "April 19, 2019”.
  • the target video data type obtained from the preset mapping data table may be the associated time in the video database
  • the scene information is the target video data category of "April 19, 2018", and the tags of multiple video files in the target video data category are obtained.
  • a certain associated scene information is the video file of "April 19, 2018” If the tag is "happy” and other positive words, you can send messages such as "last year today” to the user and attach the video file at the same time, so that the user can recall happy things.
  • acquiring current scene information includes: acquiring current location information.
  • the target video data category that matches the current location information is obtained from the pre-established mapping data table.
  • the target video data type obtained from the preset mapping data table may be, video
  • the associated location scene information in the database is the target video data category of "Beijing”, and the tags of multiple video files in the target video data category are obtained.
  • the tag of a certain video file can be "Travel”, “Great Wall”, etc., then It can send users the precautions for traveling on the Great Wall in Beijing, the suitability of the weather and temperature, etc., and the video file will be attached at the same time. Allow users to recall the people and scenes that have traveled together, and provide users with more meticulous and warm services.
  • the target video data category obtained from the preset mapping data table may be the target video data category with the associated location scene information of "tourism" and "Beijing" in the video database, and obtain multiple videos in the target video data category File tags.
  • some video files can be tagged as "Great Wall”, “Forbidden City”, etc., and you can send user introductions to attractions other than "Great Wall” and "Forbidden City", allowing users to explore more things they haven't been to Tourist attractions.
  • obtaining current scene information includes: obtaining current environmental parameter information.
  • the target video data class that matches the current environmental parameter information is obtained from the pre-established mapping data table.
  • the current environmental parameter information may be weather, temperature, voice information, and so on.
  • the current environmental parameter information is obtained as the user's voice information, and the semantic analysis obtains "I want to sing.”
  • the target video data type obtained from the preset mapping data table It can be that the target video data category corresponding to the category of "entertainment" in the video database is obtained, and other tags of multiple video files in the target video data category are obtained. Among them, the tag of a certain video file is "singing", etc., you can give The user sends the nearby KTV shop and attaches the video file at the same time.
  • the target video data category obtained from the preset mapping data table may be the target video data of the corresponding category "weather” in the video database Category, and obtain other tags of multiple video files in the target video data category. Among them, if the tag of a certain video file is "snow", etc., you can send the user the precautions for a snowy day and attach the video file at the same time.
  • acquiring the current scene information may also include: acquiring the current video file;
  • the current video file refers to a video file stored in a local video library at a preset time and/or a video file cached on the network.
  • the current video file is obtained, and the current video file is framed to obtain multiple current video frames; each current video frame is input to the trained deep learning network to output the corresponding
  • the tags "snow", “happy” and other corresponding tags are used as the current scene information.
  • the target video data category obtained from the preset mapping data table can be the target in the video database with the corresponding category "weather” Video data category, and obtain the other tags of multiple video files in the target video data category. Among them, if the tag of a certain video file is "snow", etc., you can send the user the precautions for a snowy day and attach the video at the same time file.
  • acquiring current scene information may also include: acquiring at least two of current time information, current location information, current environmental parameter information, and current video file as current scene information.
  • a target video data class matching the current environmental parameter information is obtained from a pre-established mapping data table.
  • the target video data type obtained from the preset mapping data table can be the associated scene information of "Beijing" and "Tourism” in the video database.
  • Target video data category and obtain the tags of multiple video files in the target video data category.
  • the tags of some video files can be "Great Wall”, “Forbidden City”, etc., then "Great Wall” and “Forbidden City” can be sent to the user
  • the introduction of other tourist attractions suitable for snowy days allows users to explore more tourist attractions that have not been visited and meet the weather conditions.
  • step S220: obtaining multiple video files in the video database may include:
  • it may also include: obtaining the permission to read the local video library and/or the permission to read online records .
  • the system may prompt the user whether to choose to open the application to read the local video library and/or read the online records by means of pop-up window or voice.
  • the user can confirm the permission of the application to read the local video library and/or the permission to read online records by tapping the screen, voice control or gesture control, etc., and then obtain the permission and/or reading of the local video library
  • the permission to record online so that multiple video files in the video database and the scene information of each video file can be obtained, and a mapping table can be established.
  • the system may enable the permission to read the local video library and/or the permission to read online records by default.
  • FIG. 4 is a schematic flowchart of a third embodiment of a method for pushing a message based on video data provided by the present application.
  • the third embodiment of the video data-based message pushing method 100 of this application is based on any of the above-mentioned embodiments of the video data-based message pushing method 100 of this application. Therefore, the same steps in this embodiment and the first embodiment will not be described again. Refer to the description in the above embodiment.
  • step S160: performing message push according to the tag of the target video data category includes:
  • one or more of all tags with the highest correlation with the current scene information can be extracted as keywords. For example, when the current scene information is time information, the tags related to "birthday” and “anniversary” can be extracted as keywords; when the current scene information is location information, the tags related to "tourism” and “weather” can be extracted as keywords. "And so on are extracted as keywords.
  • the keywords can be expanded into a language scene, and the scene configuration text can be performed to form a set of personalized push information.
  • auxiliary information can be combined (for example, the corresponding introduction is generated according to the relevant scenes of artificial intelligence machine learning based on the tags, etc.), and the relevant video files in the video database are added to finally generate the push content.
  • the current time information obtained is "April 19, 2019”.
  • the target video data class obtained from the preset mapping data table can be Yes
  • the associated scene information in the video database is time information and specifically is the target video data category of "April 19, 2018-April 23, 2018”
  • tags of multiple video files in the target video data category are obtained.
  • the tags of the target video category include tags such as "birthday” and "person”, the tags of "birthday” and "person” can be extracted as keywords.
  • the owner of the birthday is identified as the user, it can be The user pushes the corresponding video file and attaches a voice or text message such as "Happy birthday to you, and may you be happy every day” to bring memories and good wishes to the user; if the owner of the birthday is a family member, it can be the user Push the corresponding video file and attach a voice or text message such as "Your family’s birthday is coming soon, don’t forget to send blessings" and other voice or text messages to remind users that the birthday of others is coming, so as not to forget the birthdays of important people.
  • the current location information (or the label corresponding to the current video file) is acquired as a landmark ancient building.
  • the target video data class acquired from the preset mapping data table may be .
  • the associated scene information in the video database is the target video data category with the location information and the categories are "tourism" and "building”, and the tags of multiple video files in the target video data category are obtained.
  • tag content including design style, designer, etc. as keywords, it can be pushed to users of ancient buildings of the same type or the same period in different countries, and at the same time, users can be pushed to the user's explanations and differences of these ancient buildings. You can also push similar works of the same architect, such as Spanish designer Antonio Gaudi. If a user travels to Spain and shoots a video of a building designed by Gaudi, he can push it to the user, other local Gaudi works, and provide instructions. , Can guide users to browse, visit, etc.
  • FIG. 5 is a schematic flowchart of a fourth embodiment of a method for pushing a message based on video data provided by the present application.
  • the current message push strategy includes: at least one of a push cycle, a push frequency, a push scenario, and a push tag.
  • the method of obtaining the current message push strategy of the client may be: the message push strategy selected or edited by the user is used as the message push strategy.
  • the push cycle is, for example, three days, five days, seven days, or one month; the push frequency is, for example, 10 times a month or 20 times a quarter, etc.; the push scenario is for example only when you leave your place of residence, or at 8:00 a.m. every day -Push at 10:00 to facilitate travel arrangements, etc.; push the label such as "happy" to avoid causing bad memories.
  • the way to obtain the current message push strategy of the client may also be: use the default message push strategy as the message push strategy.
  • the push cycle is, for example, every day
  • the push frequency is, for example, once or twice a day
  • the push scene is, for example, all scenes
  • the push tag is, for example, to exclude "sadness”.
  • step S110 may be after S120 and before S140, or step S110 may be after S140 and before S160. As long as the current message push strategy of the client is obtained before the message push is performed.
  • S150 Determine whether the pushing condition is reached according to the current message pushing strategy.
  • the push cycle is three days, for example, the push scenario is to leave the place of residence for push, and push is carried out from 8:00 to 10:00 in the morning, according to the current location information , After getting the information that the user has left the city where he lives to go to another place, every three days and between 8:00-10:00 in the morning, push a message to the user.
  • perform S160 perform a message push step according to the tag of the target video data category.
  • FIG. 6 is a schematic structural diagram of an embodiment of a terminal device provided by the present application.
  • the terminal device 200 includes a processor 210 and a memory 220 electrically connected to the processor 210.
  • the memory 220 is used to store program data
  • the processor 210 is used to execute the program data to implement the following methods:
  • the mapping data table is based on the preset tags in the video database
  • the video files are classified and established by associating scene information; push messages according to the tags of the target video data category.
  • the program data executed by the processor 210 is also used to implement the following methods: obtain multiple video files in the video database; classify the video files in the video database according to preset tags; obtain the scene of each video file Information; According to the classification of multiple video files and the corresponding scene information, a mapping table is established.
  • the processor 210 executing the program data is also used to implement the following method: classifying the video files in the video database according to preset tags, including: framing the video files in the video database to obtain multiple Video frames; each video frame is input to the trained deep learning network to output the corresponding label; among them, the deep learning network is obtained based on the supervised learning training of the video frame with the pre-established correspondence relationship and the preset label; According to the output corresponding tags, the video files in the video database are analyzed, and the data list is generated by classification.
  • the program data executed by the processor 210 is also used to implement the following method: input each video frame to a trained deep learning network to output a corresponding label; according to the classification of multiple video files and corresponding scene information, Establish a mapping table: based on the data list, combined with the corresponding scene information, perform data link; according to the data list and data link, establish a mapping data table.
  • the processor 210 executing the program data is also used to implement the following method: acquiring current scene information, including: acquiring current time information; based on the current scene information, from a pre-established mapping data table, acquiring the current
  • the target video data type matching the scene information includes: obtaining the target video data type matching the current time information from a pre-established mapping data table based on the current time information.
  • the processor 210 executing the program data is also used to implement the following method: acquiring current scene information, including: acquiring current location information; based on the current scene information, from a pre-established mapping data table, acquiring the current
  • the target video data type matching the scene information includes: obtaining the target video data type matching the current position information from a pre-established mapping data table based on the current position information.
  • the processor 210 executing the program data is also used to implement the following method: acquiring current scene information, including: acquiring current environment parameter information; based on the current scene information, from a pre-established mapping data table, acquiring the current
  • the target video data type matched by the scene information includes: obtaining the target video data type matched by the current environmental parameter information from a pre-established mapping data table based on the current environmental parameter information.
  • the program data executed by the processor 210 is also used to implement the following method: push message according to the tags of the target video data category, including: extracting keywords after analyzing the tags of the target video data category; expanding keywords Get the push message and push the message.
  • the program data executed by the processor 210 is also used to implement the following method: obtaining multiple video files in a video database, including: obtaining multiple video files in the local video library of the client and/or multiple network caches Video files.
  • the processor 210 executing program data is also used to implement the following method: before acquiring multiple video files in the client's local video library and/or multiple video files cached on the network, the method further includes: acquiring and reading local The permission of the video library and/or the permission to read online records.
  • the execution of the program data by the processor 210 is also used to implement the following method: before acquiring the current scene information, the method further includes: acquiring the permission to push messages.
  • the program data executed by the processor 210 is also used to implement the following method: acquiring the authority to perform message push includes: acquiring a notification that the user enables the message push function, or acquiring a notification that the message push function is enabled by default.
  • the processor 210 executing the program data is also used to implement the following method: before performing message push according to the tag of the target video data category, the method includes: obtaining the current message push strategy of the client; wherein, the current message push strategy includes: At least one of push cycle, push frequency, push scenario, and push tag.
  • the program data executed by the processor 210 is also used to implement the following method: obtaining the current message push strategy of the client, including: using the message pushing strategy selected or edited by the user as the message pushing strategy, or using the default message pushing strategy as the message pushing strategy.
  • Message push strategy obtaining the current message push strategy of the client, including: using the message pushing strategy selected or edited by the user as the message pushing strategy, or using the default message pushing strategy as the message pushing strategy.
  • the processor 210 executing the program data is also used to implement the following method: before pushing the message according to the tag of the target video data category, the method includes: judging whether the pushing condition is reached according to the current message pushing strategy; if so, executing according to The tag of the target video data type, the step of pushing the message.
  • the execution of the program data by the processor 210 is also used to implement the following method: if not, then return to continue the step of obtaining current scene information.
  • the program data executed by the processor 210 is also used to implement the following method: obtaining current scene information, including: obtaining at least two of the current time information, the current location information, the current environmental parameters, and the current video file. As the current scene information.
  • the program data executed by the processor 210 is also used to implement the following method: acquiring current scene information includes: acquiring a current video file; performing frame division processing on the current video file to obtain multiple current video frames; Input each current video frame to the trained deep learning network to output the corresponding label as the current scene information; among them, the current video file refers to the video file and/or network stored in the local video library at the preset time Cached video files.
  • the terminal device 200 may specifically be a mobile phone, a computer, a server, etc., or may be a wearable device.
  • the wearable device 100 may specifically be a smart watch, smart glasses, smart bracelet, clothing, etc.
  • FIG. 7 is a schematic diagram of an embodiment of a computer storage medium provided by the present application.
  • the computer storage medium 300 is used to store program data 310.
  • the program data 310 is executed by the processor, it is used to implement the following method: obtain current scene information; based on the current scene information, from a pre-established mapping In the data table, obtain the target video data category that matches the current scene information; among them, the mapping data table is established by classifying the video files in the video database according to preset tags and associating the scene information; according to the target video data The label of the class, for message push.
  • computing storage medium 300 in this embodiment can be applied to the above-mentioned terminal device 200, and the specific implementation steps can be referred to the above-mentioned embodiment, which is not repeated here.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of this embodiment.
  • the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
  • the integrated unit in the other embodiments described above is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium.
  • the technical solution of the present application essentially or the part that contributes to the existing technology or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , Including several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor execute all or part of the steps of the methods in the various embodiments of the present application.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disks or optical disks and other media that can store program codes. .
  • This application obtains the current scene information, and based on the current scene information, obtains the target video data type matching the current scene information from the pre-established mapping data table, so as to push the message according to the tag of the target video data type , Since the mapping data table is established by classifying the video files in the video database according to preset tags and associating scene information, the pushed messages are not only associated with the current scene information, but also based on historical video files and their scenes. Information, so that the pushed messages are based on the user’s past behaviors and meet the needs of the current scene, that is, the pushed messages are personalized and practical, so it can provide users with personalized message pushes and improve the message push accuracy.

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Information Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present application discloses a video data-based message pushing method and device, and a computer storage medium. Said video data-based message pushing method comprises: obtaining the current scenario information; on the basis of the current scenario information, obtaining from a pre-established mapping data table a target video data type matching with the current scenario information, said mapping data table being established by classifying the video files in a video database according to pre-set tags and by associating same with scenario information; performing message pushing according to the tag of the target video data type. The present method allows for personalized message pushing for users and enhances message pushing accuracy.

Description

基于视频数据的消息推送方法、设备及计算机存储介质Video data-based message pushing method, equipment and computer storage medium 【技术领域】【Technical Field】
本申请涉及数据处理技术领域,特别是涉及基于视频数据的消息推送方法、设备及计算机存储介质。This application relates to the field of data processing technology, in particular to a method, equipment and computer storage medium for pushing messages based on video data.
【背景技术】【Background technique】
随着互联网技术的快速发展,现在社会真正变成了信息化时代,互联网能够存储海量的信息,给人们的工作和生活带来了极大的方便。为了更好的利用互联网,方便用户在互联网的海量信息中快速查找自己想要的信息,相关技术中逐步发展了对基于视频数据的消息推送方法的研究。With the rapid development of Internet technology, society has truly become an information age. The Internet can store massive amounts of information, bringing great convenience to people's work and life. In order to make better use of the Internet and facilitate users to quickly find the information they want in the massive information on the Internet, the research on the method of message push based on video data has been gradually developed in related technologies.
但是,相关技术中所涉及的消息推送大多是固定信息推送,例如在特定节日推送节日介绍,发生重大新闻的时候推送时事热点信息,到达新的城市时,发送简单的地点信息(例如检测到用户到达深圳时,发送“深圳欢迎你”)等。However, most of the message pushes involved in related technologies are fixed information pushes, such as pushing festival introductions on specific festivals, pushing current affairs hotspot information when major news occurs, and sending simple location information when they arrive in a new city (for example, when a user is detected). When you arrive in Shenzhen, send "Welcome to Shenzhen") and so on.
但是所推送的这些信息往往不是用户想要的,因而推送的效率较低,用户体验较差。However, the information that is pushed is often not what the user wants, so the efficiency of pushing is low, and the user experience is poor.
【发明内容】[Summary of the invention]
申请主要解决的技术问题提供一种基于视频数据的消息推送方法、设备及计算机存储介质,能够为用户提供个性化的消息推送,提高消息推送的准确性。The main technical problem to be solved by the application is to provide a method, equipment and computer storage medium for message push based on video data, which can provide users with personalized message push and improve the accuracy of message push.
为解决上述技术问题,本申请采用的一个技术方案是:提供一种基于视频数据的消息推送方法,该方法包括:获取当前的场景信息;基于当前的场景信息,从预先建立的映射数据表中,获取当前的场景信息相匹配的目标视频数据类;其中,映射数据表是根据预设的标签对视频数据库中的视频文件进行分类并关联场景信息所建立的;根据目标视频数据类的标签,进行消息推送。In order to solve the above technical problems, a technical solution adopted in this application is to provide a message push method based on video data, the method includes: obtaining current scene information; based on the current scene information, from a pre-established mapping data table , Obtain the target video data category that matches the current scene information; Among them, the mapping data table is established by classifying the video files in the video database according to preset tags and associating the scene information; According to the tags of the target video data category, Push news.
为解决上述技术问题,本申请采用的另一个技术方案是:处理器和与处理器电连接的存储器,存储器用于存储程序数据,处理器用于执行程序数据以实现上述的方法。In order to solve the above technical problem, another technical solution adopted in this application is: a processor and a memory electrically connected to the processor, the memory is used to store program data, and the processor is used to execute the program data to implement the above method.
为解决上述技术问题,本申请采用的另一个技术方案是:提供一种计算机存储介质,该计算机存储介质用于存储程序数据,程序数据在被处理器执行时,用以实现上述的方法。In order to solve the above technical problem, another technical solution adopted in this application is to provide a computer storage medium for storing program data, which is used to implement the above method when the program data is executed by a processor.
本申请的有益效果是:区别于现有技术的情况,本申请通过获取当前的场景信息,并基于当前的场景信息,从预先建立的映射数据表中,获取当前的场 景信息相匹配的目标视频数据类,从而根据目标视频数据类的标签,进行消息推送,由于映射数据表是根据预设的标签对视频数据库中的视频文件进行分类并关联场景信息所建立的,所以推送的消息既与当前的场景信息相关联,同时又基于历史视频文件及其场景信息,使得所推送的消息是基于用户的过往行为且满足当前所处场景需求的,即所推送的消息是个性化的且实用的,因此能够为用户提供个性化的消息推送,提高消息推送的准确性。The beneficial effect of this application is that, different from the state of the art, this application obtains the current scene information based on the current scene information from the pre-established mapping data table, and obtains the target video that matches the current scene information. Data category, so as to push the message according to the label of the target video data category. Since the mapping data table is established by classifying the video files in the video database according to the preset label and associating the scene information, the pushed message is not only the same as the current one. The scene information is associated with the historical video files and their scene information, so that the pushed messages are based on the user’s past behavior and meet the needs of the current scene, that is, the pushed messages are personalized and practical. Therefore, it can provide users with personalized message push and improve the accuracy of message push.
【附图说明】【Explanation of the drawings】
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly describe the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings that need to be used in the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained from these drawings without creative work.
图1是本申请提供的基于视频数据的消息推送方法第一实施例的流程示意图;FIG. 1 is a schematic flowchart of a first embodiment of a method for pushing a message based on video data provided by the present application;
图2是本申请提供的基于视频数据的消息推送方法第二实施例的一流程示意图;2 is a schematic flowchart of a second embodiment of a method for pushing messages based on video data provided by the present application;
图3是本申请提供的基于视频数据的消息推送方法第二实施例的另一流程示意图;3 is another schematic flowchart of the second embodiment of the method for pushing messages based on video data provided by the present application;
图4是本申请提供的基于视频数据的消息推送方法第三实施例的流程示意图;4 is a schematic flowchart of a third embodiment of a method for pushing a message based on video data provided by the present application;
图5是本申请提供的基于视频数据的消息推送方法第四实施例的流程示意图;FIG. 5 is a schematic flowchart of a fourth embodiment of a method for pushing a message based on video data provided by the present application;
图6是本申请提供的终端设备实施例的结构示意图;FIG. 6 is a schematic structural diagram of an embodiment of a terminal device provided by the present application;
图7是本申请提供的计算机存储介质实施例的示意图。Fig. 7 is a schematic diagram of an embodiment of a computer storage medium provided by the present application.
【具体实施方式】【Detailed ways】
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本申请的一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present application in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of this application.
本申请实施例中的术语“第一”、“第二”、“第三”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”、“第三”的特征可以明示或者隐含地包括至少一个该 特征。本申请的描述中,“多个”的含义是至少两个,例如两个,三个等,除非另有明确具体的限定。此外,术语“包括”和“具有”以及他们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其他步骤或单元。The terms "first", "second", and "third" in the embodiments of the present application are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Thus, the features defined with "first", "second", and "third" may explicitly or implicitly include at least one of the features. In the description of this application, "multiple" means at least two, such as two, three, etc., unless otherwise specifically defined. In addition, the terms "including" and "having" and any variations of them are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes unlisted steps or units, or optionally also includes Other steps or units inherent to these processes, methods, products or equipment.
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本申请的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其他实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其他实施例相结合。Reference to "embodiments" herein means that a specific feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment mutually exclusive with other embodiments. Those skilled in the art clearly and implicitly understand that the embodiments described herein can be combined with other embodiments.
请参阅图1,图1是本申请提供的基于视频数据的消息推送方法第一实施例的流程示意图。Please refer to FIG. 1. FIG. 1 is a schematic flowchart of a first embodiment of a method for pushing a message based on video data provided by the present application.
本实施例的基于视频数据的消息推送方法100,包括以下步骤:The method 100 for pushing messages based on video data in this embodiment includes the following steps:
S120:获取当前的场景信息。S120: Obtain current scene information.
获取当前的场景信息,可以通过终端设备上的各种传感器采集,也可以是在联网状态下,通过网络途径获取,还可以是获取用户输入的信息作为场景信息。The current scene information can be acquired through various sensors on the terminal device, or through a network channel in a networked state, or information input by the user can be acquired as the scene information.
本实施例中,可设置预设的频率获取当前的场景信息,当前的场景信息能够反映实时的情景变化。In this embodiment, a preset frequency can be set to obtain current scene information, and the current scene information can reflect real-time scene changes.
S140:基于当前的场景信息,从预先建立的映射数据表中,获取与当前的场景信息相匹配的目标视频数据类。S140: Based on the current scene information, obtain a target video data class matching the current scene information from a pre-established mapping data table.
其中,映射数据表是根据预设的标签对视频数据库中的视频文件进行分类并关联场景信息所建立的。Among them, the mapping data table is established by classifying the video files in the video database and correlating scene information according to preset tags.
视频数据库中的视频文件进行分类后,与视频文件的场景信息进行关联,从而可得到一个具有对应关系的映射数据表。After the video files in the video database are classified, they are associated with the scene information of the video files, so that a mapping data table with a corresponding relationship can be obtained.
由于视频数据库中的视频文件是用户过往的拍摄内容或视频观看内容,因此通过根据预设的标签对视频数据库中的视频文件进行分类并关联(视频文件的)场景信息,所建立的映射数据表能够反映用户的视频拍摄风格、兴趣爱好、生活习惯和当时的场景等个性化特征。Since the video files in the video database are the user's past shooting content or video viewing content, the mapping data table is established by classifying the video files in the video database according to preset tags and associating the scene information (of the video file) It can reflect the user's personal characteristics such as the video shooting style, hobbies, living habits, and the scene at the time.
通过这种方法所得到的目标视频数据类,既与当前的场景信息相关联,同时又基于历史视频文件及其场景信息,因此是同时符合实时的情景变化和用户个性需求的。The target video data class obtained by this method is not only related to the current scene information, but also based on the historical video file and its scene information, so it meets the real-time scene changes and the individual needs of the user at the same time.
S160:根据目标视频数据类的标签,进行消息推送。S160: Push the message according to the tag of the target video data category.
根据目标视频数据类的标签,获取用户感兴趣且实用的消息,并进行消息推送。According to the tags of the target video data category, obtain the user's interesting and useful news, and push the news.
目标视频数据类的标签与对视频文件进行分类的预设的标签相对应,标签能够反映视频文件中所包含的各种信息。The tag of the target video data category corresponds to a preset tag for classifying the video file, and the tag can reflect various information contained in the video file.
本实施例所提供的基于视频数据的消息推送方法100,通过获取当前的场景信息,并基于当前的场景信息,从预先建立的映射数据表中,获取当前的场景信息相匹配的目标视频数据类,从而根据目标视频数据类的标签,进行消息推送,由于映射数据表是根据预设的标签对视频数据库中的视频文件进行分类并关联场景信息所建立的,所以推送的消息既与当前的场景信息相关联,同时又基于历史视频文件及其场景信息,使得所推送的消息是基于用户的过往行为且满足当前所处场景需求的,即所推送的消息是个性化的且实用的,因此能够为用户提供个性化的消息推送,提高消息推送的准确性。The method 100 for pushing messages based on video data provided in this embodiment obtains the current scene information and based on the current scene information from a pre-established mapping data table to obtain the target video data category that matches the current scene information. , So as to push the message according to the label of the target video data category. Since the mapping data table is established by classifying the video files in the video database according to the preset label and correlating the scene information, the pushed message is not only related to the current scene. Information is correlated, and based on historical video files and their scene information, so that the pushed messages are based on the user's past behaviors and meet the needs of the current scene, that is, the pushed messages are personalized and practical, so they can Provide users with personalized message push to improve the accuracy of message push.
可选地,在S120:获取当前的场景信息之前,还可包括:Optionally, before S120: acquiring current scene information, it may further include:
获取进行消息推送的权限。Obtain the permission to push messages.
获取进行消息推送的权限,即获取用户(或设备)启用消息推送功能的权限。Obtaining the authority to perform message push, that is, acquiring the authority of the user (or device) to enable the message push function.
其中,获取进行消息推送的权限的方式,可包括:Among them, the method of obtaining the permission to push messages may include:
获取用户启用消息推送功能的通知。Obtain the notification that the user has enabled the message push function.
例如,用户在首次打开一个应用程序时,应用程序可以通过弹窗或者语音等方式提示用户启用消息推送功能,用户可以通过点击屏幕、语音控制或手势控制等方式确认启用消息推送功能。For example, when a user opens an application for the first time, the application can prompt the user to enable the message push function through a pop-up window or voice, and the user can confirm that the message push function is enabled by tapping the screen, voice control, or gesture control.
或者,获取默认启用消息推送功能的通知。Or, get a notification that the message push function is enabled by default.
例如,系统默认启用消息推送功能,并在首次推送消息的同时,询问用户是否同意以后继续推送。For example, the system enables the message push function by default, and at the same time that the message is pushed for the first time, the user is asked if they agree to continue pushing in the future.
需要说明的是,本实施例中的上述步骤的顺序是本实施例中的描述顺序,并不限制为本实施例的方法在执行过程中的顺序。在能够实现本方案的前提下,某些步骤可以调换顺序。It should be noted that the order of the foregoing steps in this embodiment is the order of description in this embodiment, and is not limited to the order of the method in this embodiment during execution. On the premise that this solution can be realized, some steps can be reversed in order.
请结合参阅图2和图3,图2是本申请提供的基于视频数据的消息推送方法第二实施例的一流程示意图。图3是本申请提供的基于视频数据的消息推送方法第二实施例中的另一流程示意图。Please refer to FIG. 2 and FIG. 3 in combination. FIG. 2 is a schematic flowchart of a second embodiment of a method for pushing a message based on video data provided by the present application. FIG. 3 is a schematic diagram of another flow in the second embodiment of the method for pushing messages based on video data provided by the present application.
本申请基于视频数据的消息推送方法100第二实施例是基于本申请基于视频数据的消息推送方法100第一实施例的,因此本实施例与第一实施例相同的 步骤不再赘述,可以参照第一实施例中的描述。The second embodiment of the video data-based message pushing method 100 of this application is based on the first embodiment of the video data-based message pushing method 100 of this application. Therefore, the same steps in this embodiment and the first embodiment will not be described again, you can refer to Description in the first embodiment.
本实施例中,基于视频数据的消息推送方法100还包括:In this embodiment, the method 100 for pushing messages based on video data further includes:
S220:获取视频数据库中的多个视频文件。S220: Acquire multiple video files in the video database.
可选地,步骤S220中也可以同时获取视频数据库中的多个视频文件和每个视频文件的场景信息。Optionally, in step S220, multiple video files in the video database and scene information of each video file can also be acquired at the same time.
S240:根据预设的标签对视频数据库中的视频文件进行分类。S240: Classify the video files in the video database according to preset tags.
可选地,步骤S240中,可根据预设的标签和每个视频文件的场景信息对视频数据库中的视频文件进行分类。Optionally, in step S240, the video files in the video database may be classified according to preset tags and scene information of each video file.
S260:获取每个视频文件的场景信息。S260: Acquire scene information of each video file.
每个视频文件的场景信息例如可以是:视频拍摄或观看的时间、位置、陀螺仪等信息。The scene information of each video file may be, for example, information such as the time, location, and gyroscope when the video was shot or viewed.
如上所述,步骤S260也可以在步骤S240之前执行。As mentioned above, step S260 can also be executed before step S240.
S280:根据多个视频文件的分类和对应的场景信息,建立映射表。S280: Establish a mapping table according to the classification of multiple video files and corresponding scene information.
可选地,请参阅图3,步骤S240:根据预设的标签对视频数据库中的视频文件进行分类,可包括:Optionally, please refer to FIG. 3, step S240: classifying the video files in the video database according to preset tags, which may include:
S241:对视频数据库中视频文件进行分帧处理,以得到多个视频帧。S241: Perform framing processing on the video file in the video database to obtain multiple video frames.
S242:将每个视频帧输入至已训练的深度学习网络,以输出对应标签。S242: Input each video frame to the trained deep learning network to output a corresponding label.
其中,深度学习网络是基于预先建立对应关系的视频帧和预设的标签进行监督学习训练得到的。Among them, the deep learning network is obtained by supervised learning training based on the video frames with pre-established corresponding relationships and preset labels.
预设的标签,例如是:分割视频帧中有关“人物”的相关信息,包括:单人的,多人的,自拍的,开心的,悲伤的等;分割视频帧中有关“旅游”的相关信息,包括:海边,草原,沙漠等;分割视频帧中有关“物体”的相关信息,包括:苹果,梨,汽车,飞机,火车等。The preset tags, for example: related information about "people" in the segmented video frame, including: single, multi-person, selfie, happy, sad, etc.; related to "travel" in the segmented video frame Information, including: seaside, grassland, desert, etc.; related information about "objects" in the segmented video frame, including: apples, pears, cars, airplanes, trains, etc.
本实施例中,将每个视频帧输入至已训练的深度学习网络,以输出对应标签,主要方法深度学习和图像语义分割。In this embodiment, each video frame is input to a trained deep learning network to output a corresponding label. The main methods are deep learning and image semantic segmentation.
深度学习是机器学习的一个分支,主要指深度神经网络算法,深度神经网络比普通神经网络层次更多,能够更好地捕捉数据中的深层次关系,得到的模型较为准确,主要用来进行特征学习。通过预先输入的大量视频帧,以及预设的分割标签,通过深度学习训练后,可以对输入的视频帧,自动快速的分割出来对应的语义信息,即输出各个视频帧对应的标签。Deep learning is a branch of machine learning. It mainly refers to deep neural network algorithms. Deep neural networks have more levels than ordinary neural networks and can better capture the deep-level relationships in data. The resulting model is more accurate and is mainly used for features Learn. Through a large number of pre-input video frames and preset segmentation tags, after deep learning training, the input video frames can be automatically and quickly segmented into corresponding semantic information, that is, the tags corresponding to each video frame are output.
S243:根据输出的对应标签对视频数据库中的视频文件进行分析,分类生成数据列表。S243: Analyze the video files in the video database according to the output corresponding tags, and classify and generate a data list.
可选地,步骤S243可包括:根据输出的对应标签和每个视频文件的场景信 息对视频数据库中的视频文件进行分析,分类生成数据列表。Optionally, step S243 may include: analyzing the video files in the video database according to the output corresponding tags and scene information of each video file, and classifying and generating a data list.
本实施例中,对视频数据库中的视频文件进行分类,并分类生成数据列表,主要利用AI自动检测和图像语义分割所得到的对应标签,并可以结合每个视频文件的场景信息。In this embodiment, the video files in the video database are classified, and a data list is generated by classifying. The corresponding tags obtained by AI automatic detection and image semantic segmentation are mainly used, and the scene information of each video file can be combined.
根据输出的对应标签(还可以结合视频文件中包含的场景信息,例如时间信息、位置信息、陀螺仪等信息),对视频数据库中的视频文件进行分析,并对应分类生成数据列表。According to the output corresponding tags (which can also be combined with the scene information contained in the video file, such as time information, location information, gyroscope, etc.), analyze the video files in the video database, and generate a data list corresponding to the classification.
例如表1所示为部分分类:For example, Table 1 shows part of the classification:
表1Table 1
Figure PCTCN2019118912-appb-000001
Figure PCTCN2019118912-appb-000001
可以理解,表1中仅示例性的列举部分分类,实际分类一般更为细致和复杂。It can be understood that only some of the classifications are listed as examples in Table 1, and the actual classifications are generally more detailed and complicated.
可选地,请参阅图3,步骤S280:根据多个视频文件的分类和对应的场景信息,建立映射表,可包括:Optionally, please refer to FIG. 3, step S280: establishing a mapping table according to the classification of multiple video files and corresponding scene information, which may include:
S281:基于数据列表,结合对应的场景信息,进行数据链接。S281: Perform data link based on the data list and the corresponding scene information.
例如:得到数据列表后,又结合视频文件中包含的时间信息,建立时间数据链接;或者,结合视频文件中包含的信息,建立位置数据链接。For example: after the data list is obtained, the time information contained in the video file is combined to establish a time data link; or the information contained in the video file is combined to establish a location data link.
S282:根据数据列表和数据链接,建立映射数据表。S282: Establish a mapping data table according to the data list and the data link.
根据上述步骤所得到的数据列表和数据链接,经过内部处理后可得到映射数据表。According to the data list and data link obtained in the above steps, the mapping data table can be obtained after internal processing.
可选地,获取当前的场景信息,包括:获取当前的时间信息。Optionally, obtaining current scene information includes: obtaining current time information.
基于当前的场景信息,从预先建立的映射数据表中,获取当前的场景信息相匹配的目标视频数据类,包括:Based on the current scene information, obtain the target video data type that matches the current scene information from the pre-established mapping data table, including:
基于当前的时间信息,从预先建立的映射数据表中,获取当前的时间信息相匹配的目标视频数据类。Based on the current time information, the target video data category that matches the current time information is obtained from the pre-established mapping data table.
在一种应用场景中,例如获取当前的时间信息为“2019年4月19日”,基于该时间信息,从预设的映射数据表中获取的目标视频数据类可以是,视频数据库中关联时间场景信息为“2018年4月19日-2018年4月23日”的目标视频数据类,并获取目标视频数据类中多个视频文件的标签,其中,某一关联场景信息为“2018年4月22日”的视频文件的标签为“生日”等,则可给用户发送提醒并同时附带上该视频文件。若过生日的主人是用户自己,则可为用户带来曾经的回忆;若过生日的是他人,则可提醒用户他人生日快到了,以免错过重要的人的生日。In an application scenario, for example, the current time information obtained is "April 19, 2019". Based on the time information, the target video data type obtained from the preset mapping data table may be the associated time in the video database The scene information is the target video data category of "April 19, 2018-April 23, 2018", and the tags of multiple video files in the target video data category are obtained. Among them, a certain associated scene information is "April 23, 2018". If the tag of the video file on the 22nd of the month is "birthday", etc., you can send a reminder to the user and attach the video file at the same time. If the owner of the birthday is the user himself, it can bring memories to the user; if the birthday is someone else, the user can be reminded that the birthday is coming soon, so as not to miss the birthday of an important person.
在一种应用场景中,例如获取当前的时间信息为“2019年4月19日”,基于该时间信息,从预设的映射数据表中获取的目标视频数据类可以是,视频数据库中关联时间场景信息为“2018年4月19日”的目标视频数据类,并获取目标视频数据类中多个视频文件的标签,其中,某一关联场景信息为“2018年4月19日”的视频文件的标签为“开心”等积极词汇,则可给用户发送“去年今日”等消息并同时附带上该视频文件,使用户能够回忆开心的事情。In an application scenario, for example, the current time information obtained is "April 19, 2019". Based on the time information, the target video data type obtained from the preset mapping data table may be the associated time in the video database The scene information is the target video data category of "April 19, 2018", and the tags of multiple video files in the target video data category are obtained. Among them, a certain associated scene information is the video file of "April 19, 2018" If the tag is "happy" and other positive words, you can send messages such as "last year today" to the user and attach the video file at the same time, so that the user can recall happy things.
可选地,获取当前的场景信息,包括:获取当前的位置信息。Optionally, acquiring current scene information includes: acquiring current location information.
基于当前的场景信息,从预先建立的映射数据表中,获取当前的场景信息相匹配的目标视频数据类,包括:Based on the current scene information, obtain the target video data type that matches the current scene information from the pre-established mapping data table, including:
基于当前的位置信息,从预先建立的映射数据表中,获取当前的位置信息相匹配的目标视频数据类。Based on the current location information, the target video data category that matches the current location information is obtained from the pre-established mapping data table.
在一种应用场景中,例如获取当前的位置信息为“北京”,可识别出用户此时在北京,基于该位置信息,从预设的映射数据表中获取的目标视频数据类可以是,视频数据库中关联位置场景信息为“北京”的目标视频数据类,并获取 目标视频数据类中多个视频文件的标签,其中,某一视频文件的标签可为“旅游”、“长城”等,则可给用户发送北京长城旅游的注意事项,天气温度的适宜程度等并同时附带上该视频文件。让用户能够回味曾经一起过来旅游的人和场景,给用户提供更加细致温情的服务。In an application scenario, for example, if the current location information is “Beijing”, it can be recognized that the user is in Beijing at this time. Based on the location information, the target video data type obtained from the preset mapping data table may be, video The associated location scene information in the database is the target video data category of "Beijing", and the tags of multiple video files in the target video data category are obtained. Among them, the tag of a certain video file can be "Travel", "Great Wall", etc., then It can send users the precautions for traveling on the Great Wall in Beijing, the suitability of the weather and temperature, etc., and the video file will be attached at the same time. Allow users to recall the people and scenes that have traveled together, and provide users with more meticulous and warm services.
在一种应用场景中,当用户打开旅游类应用程序(例如,携程APP、飞猪APP等)时,例如获取当前的位置信息为“北京”,可识别出用户此时在北京,基于该位置信息,从预设的映射数据表中获取的目标视频数据类可以是,视频数据库中关联位置场景信息为“旅游”和“北京”的目标视频数据类,并获取目标视频数据类中多个视频文件的标签,其中,某些视频文件的标签可为“长城”、“故宫”等,则可给用户发送“长城”、“故宫”等以外的景点介绍,让用户探索更多没有去过的旅游景点。In an application scenario, when a user opens a travel application (for example, Ctrip APP, Fliggy APP, etc.), for example, the current location information is obtained as "Beijing", which can identify that the user is in Beijing at this time, based on the location Information, the target video data category obtained from the preset mapping data table may be the target video data category with the associated location scene information of "tourism" and "Beijing" in the video database, and obtain multiple videos in the target video data category File tags. Among them, some video files can be tagged as "Great Wall", "Forbidden City", etc., and you can send user introductions to attractions other than "Great Wall" and "Forbidden City", allowing users to explore more things they haven't been to Tourist attractions.
可选地,获取当前的场景信息,包括:获取当前的环境参数信息。Optionally, obtaining current scene information includes: obtaining current environmental parameter information.
基于当前的场景信息,从预先建立的映射数据表中,获取当前的场景信息相匹配的目标视频数据类,包括:Based on the current scene information, obtain the target video data type that matches the current scene information from the pre-established mapping data table, including:
基于当前的环境参数信息,从预先建立的映射数据表中,获取当前的环境参数信息相匹配的目标视频数据类。Based on the current environmental parameter information, the target video data class that matches the current environmental parameter information is obtained from the pre-established mapping data table.
当前的环境参数信息可以是天气、温度、语音信息等。The current environmental parameter information may be weather, temperature, voice information, and so on.
在一种应用场景中,例如获取当前的环境参数信息为用户的语音信息,经过语意分析得到“好想去唱歌”,基于该语音信息,从预设的映射数据表中获取的目标视频数据类可以是,视频数据库中对应类别为“娱乐”的目标视频数据类,并获取目标视频数据类中多个视频文件的其他标签,其中,某一视频文件的标签为“唱歌”等,则可给用户发送附近的KTV店铺并同时附带上该视频文件。In an application scenario, for example, the current environmental parameter information is obtained as the user's voice information, and the semantic analysis obtains "I want to sing." Based on the voice information, the target video data type obtained from the preset mapping data table It can be that the target video data category corresponding to the category of "entertainment" in the video database is obtained, and other tags of multiple video files in the target video data category are obtained. Among them, the tag of a certain video file is "singing", etc., you can give The user sends the nearby KTV shop and attaches the video file at the same time.
在一种应用场景中,例如获取当前的环境参数信息为“天气雪”,从预设的映射数据表中获取的目标视频数据类可以是,视频数据库中对应类别为“天气”的目标视频数据类,并获取目标视频数据类中多个视频文件的其他标签,其中,某一视频文件的标签为“雪”等,则可给用户发送下雪天的注意事项并同时附带上该视频文件。In an application scenario, for example, if the current environmental parameter information is "weather and snow", the target video data category obtained from the preset mapping data table may be the target video data of the corresponding category "weather" in the video database Category, and obtain other tags of multiple video files in the target video data category. Among them, if the tag of a certain video file is "snow", etc., you can send the user the precautions for a snowy day and attach the video file at the same time.
可选地,获取当前的场景信息,还可包括:获取当前的视频文件;Optionally, acquiring the current scene information may also include: acquiring the current video file;
对当前的视频文件进行分帧处理,以得到多个当前视频帧。Perform framing processing on the current video file to obtain multiple current video frames.
将每个当前视频帧输入至已训练的深度学习网络,以输出对应标签作为当前的场景信息。Input each current video frame to the trained deep learning network to output the corresponding label as the current scene information.
其中,当前的视频文件是指在预设时间内存入本地视频库中的视频文件和/ 或网络缓存的视频文件。Among them, the current video file refers to a video file stored in a local video library at a preset time and/or a video file cached on the network.
在一种应用场景中,例如获取当前的视频文件,对当前的视频文件进行分帧处理,以得到多个当前视频帧;将每个当前视频帧输入至已训练的深度学习网络,以输出对应标签“雪”、“开心”等对应标签作为当前的场景信息,基于该场景信息,从预设的映射数据表中获取的目标视频数据类可以是,视频数据库中对应类别为“天气”的目标视频数据类,并获取目标视频数据类中多个视频文件的其他标签,其中,某一视频文件的标签为“雪”等,则可给用户发送下雪天的注意事项并同时附带上该视频文件。In an application scenario, for example, the current video file is obtained, and the current video file is framed to obtain multiple current video frames; each current video frame is input to the trained deep learning network to output the corresponding The tags "snow", "happy" and other corresponding tags are used as the current scene information. Based on the scene information, the target video data category obtained from the preset mapping data table can be the target in the video database with the corresponding category "weather" Video data category, and obtain the other tags of multiple video files in the target video data category. Among them, if the tag of a certain video file is "snow", etc., you can send the user the precautions for a snowy day and attach the video at the same time file.
可以理解的,获取当前的场景信息,还可包括:获取当前的时间信息、当前的位置信息、当前的环境参数信息以及当前的视频文件中的至少两者作为当前的场景信息。It is understandable that acquiring current scene information may also include: acquiring at least two of current time information, current location information, current environmental parameter information, and current video file as current scene information.
基于当前的场景信息,从预先建立的映射数据表中,获取当前的场景信息相匹配的目标视频数据类,包括:Based on the current scene information, obtain the target video data type that matches the current scene information from the pre-established mapping data table, including:
基于当前的时间信息、当前的位置信息、当前的环境参数信息以及当前的视频文件中的至少两者,从预先建立的映射数据表中,获取当前的环境参数信息相匹配的目标视频数据类。Based on at least two of the current time information, the current location information, the current environmental parameter information, and the current video file, a target video data class matching the current environmental parameter information is obtained from a pre-established mapping data table.
在一种应用场景中,当用户打开旅游类应用程序(例如,携程APP、飞猪APP等)时,例如获取当前的位置信息为“北京”且环境参数信息为“天气雪”,可识别出用户此时在北京且正在或者有可能下雪,基于该位置信息,从预设的映射数据表中获取的目标视频数据类可以是,视频数据库中关联场景信息为“北京”和“旅游”的目标视频数据类,并获取目标视频数据类中多个视频文件的标签,其中,某些视频文件的标签可为“长城”、“故宫”等,则可给用户发送“长城”、“故宫”等以外的且适合下雪天前往的景点的介绍,让用户探索更多没有去过的且符合天气状况的旅游景点。In an application scenario, when a user opens a travel application (for example, Ctrip APP, Fliggy APP, etc.), for example, if the current location information is "Beijing" and the environmental parameter information is "Weather Snow", it can be identified The user is in Beijing at this time and it is snowing or is likely to snow. Based on the location information, the target video data type obtained from the preset mapping data table can be the associated scene information of "Beijing" and "Tourism" in the video database. Target video data category, and obtain the tags of multiple video files in the target video data category. Among them, the tags of some video files can be "Great Wall", "Forbidden City", etc., then "Great Wall" and "Forbidden City" can be sent to the user The introduction of other tourist attractions suitable for snowy days allows users to explore more tourist attractions that have not been visited and meet the weather conditions.
可选地,步骤S220:获取视频数据库中的多个视频文件,可包括:Optionally, step S220: obtaining multiple video files in the video database may include:
获取客户端的本地视频库中的多个视频文件和/或网络缓存的多个视频文件。Obtain multiple video files in the local video library of the client and/or multiple video files cached on the network.
可选地,在获取客户端的本地视频库中的多个视频文件和/或网络缓存的多个视频文件之前,还可包括:获取读取本地视频库的权限和/或读取上网记录的权限。Optionally, before obtaining multiple video files in the local video library of the client and/or multiple video files cached on the network, it may also include: obtaining the permission to read the local video library and/or the permission to read online records .
例如,用户在首次打开一个应用程序时,系统可以通过弹窗或者语音等方式提示用户是否选择开启该应用程序读取本地视频库的权限和/或读取上网记录的权限。用户可通过点击屏幕、语音控制或手势控制等方式确认允许该应用程 序读取本地视频库的权限和/或读取上网记录的权限,则可获取读取本地视频库的权限和/或读取上网记录的权限,以使得能够获取视频数据库中的多个视频文件和每个视频文件的场景信息,建立映射表。For example, when the user opens an application for the first time, the system may prompt the user whether to choose to open the application to read the local video library and/or read the online records by means of pop-up window or voice. The user can confirm the permission of the application to read the local video library and/or the permission to read online records by tapping the screen, voice control or gesture control, etc., and then obtain the permission and/or reading of the local video library The permission to record online, so that multiple video files in the video database and the scene information of each video file can be obtained, and a mapping table can be established.
或者,系统可默认开启获取读取本地视频库的权限和/或读取上网记录的权限。Alternatively, the system may enable the permission to read the local video library and/or the permission to read online records by default.
请参阅图4,图4是本申请提供的基于视频数据的消息推送方法第三实施例的流程示意图。Please refer to FIG. 4, which is a schematic flowchart of a third embodiment of a method for pushing a message based on video data provided by the present application.
本申请基于视频数据的消息推送方法100第三实施例是基于本申请基于视频数据的消息推送方法100上述任一实施例的,因此本实施例与第一实施例相同的步骤不再赘述,可以参照上述实施例中的描述。The third embodiment of the video data-based message pushing method 100 of this application is based on any of the above-mentioned embodiments of the video data-based message pushing method 100 of this application. Therefore, the same steps in this embodiment and the first embodiment will not be described again. Refer to the description in the above embodiment.
本实施例中,步骤S160:根据目标视频数据类的标签,进行消息推送,包括:In this embodiment, step S160: performing message push according to the tag of the target video data category includes:
S161:对目标视频数据类的标签进行分析后,提取关键词。S161: After analyzing the tags of the target video data category, extract keywords.
对目标视频数据类的标签进行分析后,可将所有标签中与当前的场景信息相关度最高的一个或几个提取为关键词。例如,当前的场景信息为时间信息时,可将标签中有关“生日”、“纪念日”等提取为关键词;当前的场景信息为位置信息时,可将标签中有关“旅游”、“天气”等提取为关键词。After analyzing the tags of the target video data category, one or more of all tags with the highest correlation with the current scene information can be extracted as keywords. For example, when the current scene information is time information, the tags related to "birthday" and "anniversary" can be extracted as keywords; when the current scene information is location information, the tags related to "tourism" and "weather" can be extracted as keywords. "And so on are extracted as keywords.
S162:扩充关键词得到推送消息并进行消息推送。S162: Expand the keyword to obtain the push message and push the message.
本实施例中,利用提取的关键词,根据深度学习的方法,可把关键词扩充成一段语言场景,进行情景配置文字,形成一套个性化的推送信息。In this embodiment, using the extracted keywords, according to the deep learning method, the keywords can be expanded into a language scene, and the scene configuration text can be performed to form a set of personalized push information.
自动分析内容形成个性化信息的方案有很多种,可以是按照当前同一地点,过去同一天,曾经同样的行为,经历过的同种场景等等,也可以多种场景结合综合分析,去年的同一天开心的时候,或者悲伤的时候。根据利用提取的关键词,再可以结合一些辅助性的信息(如根据标签利用人工智能机器学习的相关场景生成相应的介绍等等),加上视频数据库中相关的视频文件最终生成推送内容。There are many ways to automatically analyze the content to form personalized information. It can be based on the same location, the same day in the past, the same behavior, the same scenes experienced, etc., or it can be combined with multiple scenarios for comprehensive analysis. When the day is happy, or when it is sad. According to the extracted keywords, some auxiliary information can be combined (for example, the corresponding introduction is generated according to the relevant scenes of artificial intelligence machine learning based on the tags, etc.), and the relevant video files in the video database are added to finally generate the push content.
例如,仍以生日举例,在一种应用场景中,例如获取当前的时间信息为“2019年4月19日”,基于该时间信息,从预设的映射数据表中获取的目标视频数据类可以是,视频数据库中关联场景信息为时间信息且具体为“2018年4月19日-2018年4月23日”的目标视频数据类,并获取目标视频数据类中多个视频文件的标签。进一步地,建立数据列表时,可以结合人工辅助确认的方式,例如,将包含任务的视频帧推送给用户,让用户确认设置主要人物的标签,如“自己”、“家人”、“朋友”、“生日”等。因此,若目标视频类的标签中包括“生日”、“人 物”等标签,则可将“生日”、“人物”标签提取为关键词,若识别到过生日的主人是用户自己,则可为用户推送对应的视频文件并附上“祝你生日快乐,愿你天天开心”等语音或文字信息,为用户带来曾经的回忆和美好的祝福;若过生日的主人是家人,则可为用户推送对应的视频文件并附上“你的家人生日快到了,别忘了送上祝福哦”等语音或文字信息提醒用户他人生日快到了,以免忘记重要的人的生日。For example, still taking birthdays as an example, in an application scenario, for example, the current time information obtained is "April 19, 2019". Based on the time information, the target video data class obtained from the preset mapping data table can be Yes, the associated scene information in the video database is time information and specifically is the target video data category of "April 19, 2018-April 23, 2018", and tags of multiple video files in the target video data category are obtained. Further, when creating a data list, you can combine manual confirmation methods, for example, push the video frame containing the task to the user, and let the user confirm to set the tags of the main characters, such as "self", "family", "friend", "Birthday" and so on. Therefore, if the tags of the target video category include tags such as "birthday" and "person", the tags of "birthday" and "person" can be extracted as keywords. If the owner of the birthday is identified as the user, it can be The user pushes the corresponding video file and attaches a voice or text message such as "Happy birthday to you, and may you be happy every day" to bring memories and good wishes to the user; if the owner of the birthday is a family member, it can be the user Push the corresponding video file and attach a voice or text message such as "Your family’s birthday is coming soon, don’t forget to send blessings" and other voice or text messages to remind users that the birthday of others is coming, so as not to forget the birthdays of important people.
在一种应用场景中,例如获取当前的位置信息(或当前的视频文件对应的标签)为标志性古建筑,基于该位置信息,从预设的映射数据表中获取的目标视频数据类可以是,视频数据库中关联场景信息为位置信息且类别为“旅游”和“建筑”的目标视频数据类,并获取目标视频数据类中多个视频文件的标签。进一步地,将包含设计风格、设计师等标签内容提取为关键词,则可以推送给用户不同国家同类型或者同时期的古建筑,同时可以给用户推送这些古建筑的讲解,区别等等。也可以推送同一建筑师的同类作品等,如:西班牙设计师Antonio Gaudi,如果用户去西班牙旅游,拍摄了Gaudi设计的建筑的视频,则可以推送给用户,当地其他Gaudi的作品,并可以提供说明,可以引导用户浏览参观等等。In an application scenario, for example, the current location information (or the label corresponding to the current video file) is acquired as a landmark ancient building. Based on the location information, the target video data class acquired from the preset mapping data table may be , The associated scene information in the video database is the target video data category with the location information and the categories are "tourism" and "building", and the tags of multiple video files in the target video data category are obtained. Furthermore, by extracting tag content including design style, designer, etc. as keywords, it can be pushed to users of ancient buildings of the same type or the same period in different countries, and at the same time, users can be pushed to the user's explanations and differences of these ancient buildings. You can also push similar works of the same architect, such as Spanish designer Antonio Gaudi. If a user travels to Spain and shoots a video of a building designed by Gaudi, he can push it to the user, other local Gaudi works, and provide instructions. , Can guide users to browse, visit, etc.
请参阅图5,图5是本申请提供的基于视频数据的消息推送方法第四实施例的流程示意图。Please refer to FIG. 5, which is a schematic flowchart of a fourth embodiment of a method for pushing a message based on video data provided by the present application.
在根据目标视频数据类的标签,进行消息推送之前,包括:Before pushing the message according to the tag of the target video data category, it includes:
S110:获取客户端的当前消息推送策略。S110: Acquire the current message push strategy of the client.
其中,当前消息推送策略包括:推送周期、推送频率、推送场景以及推送标签中的至少一者。Wherein, the current message push strategy includes: at least one of a push cycle, a push frequency, a push scenario, and a push tag.
获取客户端的当前消息推送策略的方式,可以是:以用户选择或编辑的消息推送策略作为消息推送策略。The method of obtaining the current message push strategy of the client may be: the message push strategy selected or edited by the user is used as the message push strategy.
推送周期例如是三天、五天、七天或一个月;推送频率例如是每个月10次或每个季度20次等;推送场景例如是离开居住地才进行推送,或者是每天上午8:00-10:00进行推送,以方便安排出行等;推送标签例如是“开心”,以避免引起不好的回忆。The push cycle is, for example, three days, five days, seven days, or one month; the push frequency is, for example, 10 times a month or 20 times a quarter, etc.; the push scenario is for example only when you leave your place of residence, or at 8:00 a.m. every day -Push at 10:00 to facilitate travel arrangements, etc.; push the label such as "happy" to avoid causing bad memories.
获取客户端的当前消息推送策略的方式,还可以是:以默认的消息推送策略作为消息推送策略。The way to obtain the current message push strategy of the client may also be: use the default message push strategy as the message push strategy.
默认的消息推送策略中,推送周期例如是每天,推送频率例如是每天一次或两次,推送场景例如是全场景,推送标签例如是排除“悲伤”等。In the default message push strategy, the push cycle is, for example, every day, the push frequency is, for example, once or twice a day, the push scene is, for example, all scenes, and the push tag is, for example, to exclude "sadness".
图5所示仅为一种实施方式。本实施例中,并不限制步骤S110的执行时间 或顺序,例如,步骤S110可以是在S120之后,且S140之前,或者,步骤S110可以是在S140之后,且S160之前。只要是在进行消息推送之前,获取到客户端的当前消息推送策略即可。Figure 5 shows only one embodiment. In this embodiment, the execution time or order of step S110 is not limited. For example, step S110 may be after S120 and before S140, or step S110 may be after S140 and before S160. As long as the current message push strategy of the client is obtained before the message push is performed.
在根据目标视频数据类的标签,进行消息推送之前,包括:Before pushing the message according to the tag of the target video data category, it includes:
S150:根据当前消息推送策略判断是否达到推送条件。S150: Determine whether the pushing condition is reached according to the current message pushing strategy.
根据当前消息推送策略判断是否达到推送条件,例如,若推送周期例如是三天,推送场景例如是离开居住地才进行推送,每天上午8:00-10:00进行推送,则根据当前的位置信息,得到用户离开居住的城市去外地的信息后,每隔三天且在上午8:00-10:00之间,为用户推送一次消息。Determine whether the push conditions are met according to the current message push strategy. For example, if the push cycle is three days, for example, the push scenario is to leave the place of residence for push, and push is carried out from 8:00 to 10:00 in the morning, according to the current location information , After getting the information that the user has left the city where he lives to go to another place, every three days and between 8:00-10:00 in the morning, push a message to the user.
若否,则返回继续执行获取当前的场景信息的步骤。If not, return to continue the step of obtaining the current scene information.
若是,则执行S160:根据目标视频数据类的标签,进行消息推送的步骤。If yes, perform S160: perform a message push step according to the tag of the target video data category.
请参阅图6,图6是本申请提供的终端设备实施例的结构示意图。Please refer to FIG. 6, which is a schematic structural diagram of an embodiment of a terminal device provided by the present application.
本实施例中,终端设备200包括处理器210和与处理器210电连接的存储器220,存储器220用于存储程序数据,处理器210用于执行程序数据以实现如下的方法:In this embodiment, the terminal device 200 includes a processor 210 and a memory 220 electrically connected to the processor 210. The memory 220 is used to store program data, and the processor 210 is used to execute the program data to implement the following methods:
获取当前的场景信息;基于当前的场景信息,从预先建立的映射数据表中,获取与当前的场景信息相匹配的目标视频数据类;其中,映射数据表是根据预设的标签对视频数据库中的视频文件进行分类并关联场景信息所建立的;根据目标视频数据类的标签,进行消息推送。Obtain the current scene information; based on the current scene information, obtain the target video data class matching the current scene information from the pre-established mapping data table; among them, the mapping data table is based on the preset tags in the video database The video files are classified and established by associating scene information; push messages according to the tags of the target video data category.
可选地,处理器210执行程序数据还用于实现如下的方法:获取视频数据库中的多个视频文件;根据预设的标签对视频数据库中的视频文件进行分类;获取每个视频文件的场景信息;根据多个视频文件的分类和对应的场景信息,建立映射表。Optionally, the program data executed by the processor 210 is also used to implement the following methods: obtain multiple video files in the video database; classify the video files in the video database according to preset tags; obtain the scene of each video file Information; According to the classification of multiple video files and the corresponding scene information, a mapping table is established.
可选地,处理器210执行程序数据还用于实现如下的方法:根据预设的标签对视频数据库中的视频文件进行分类,包括:对视频数据库中的视频文件进行分帧处理,以得到多个视频帧;将每个视频帧输入至已训练的深度学习网络,以输出对应标签;其中,深度学习网络是基于对预先建立对应关系的视频帧和预设的标签进行监督学习训练得到的;根据输出的对应标签对视频数据库中的视频文件进行分析,分类生成数据列表。Optionally, the processor 210 executing the program data is also used to implement the following method: classifying the video files in the video database according to preset tags, including: framing the video files in the video database to obtain multiple Video frames; each video frame is input to the trained deep learning network to output the corresponding label; among them, the deep learning network is obtained based on the supervised learning training of the video frame with the pre-established correspondence relationship and the preset label; According to the output corresponding tags, the video files in the video database are analyzed, and the data list is generated by classification.
可选地,处理器210执行程序数据还用于实现如下的方法:将每个视频帧输入至已训练的深度学习网络,以输出对应标签;根据多个视频文件的分类和对应的场景信息,建立映射表:基于数据列表,结合对应的场景信息,进行数据链接;根据数据列表和数据链接,建立映射数据表。Optionally, the program data executed by the processor 210 is also used to implement the following method: input each video frame to a trained deep learning network to output a corresponding label; according to the classification of multiple video files and corresponding scene information, Establish a mapping table: based on the data list, combined with the corresponding scene information, perform data link; according to the data list and data link, establish a mapping data table.
可选地,处理器210执行程序数据还用于实现如下的方法:获取当前的场景信息,包括:获取当前的时间信息;基于当前的场景信息,从预先建立的映射数据表中,获取当前的场景信息相匹配的目标视频数据类,包括:基于当前的时间信息,从预先建立的映射数据表中,获取当前的时间信息相匹配的目标视频数据类。Optionally, the processor 210 executing the program data is also used to implement the following method: acquiring current scene information, including: acquiring current time information; based on the current scene information, from a pre-established mapping data table, acquiring the current The target video data type matching the scene information includes: obtaining the target video data type matching the current time information from a pre-established mapping data table based on the current time information.
可选地,处理器210执行程序数据还用于实现如下的方法:获取当前的场景信息,包括:获取当前的位置信息;基于当前的场景信息,从预先建立的映射数据表中,获取当前的场景信息相匹配的目标视频数据类,包括:基于当前的位置信息,从预先建立的映射数据表中,获取当前的位置信息相匹配的目标视频数据类。Optionally, the processor 210 executing the program data is also used to implement the following method: acquiring current scene information, including: acquiring current location information; based on the current scene information, from a pre-established mapping data table, acquiring the current The target video data type matching the scene information includes: obtaining the target video data type matching the current position information from a pre-established mapping data table based on the current position information.
可选地,处理器210执行程序数据还用于实现如下的方法:获取当前的场景信息,包括:获取当前的环境参数信息;基于当前的场景信息,从预先建立的映射数据表中,获取当前的场景信息相匹配的目标视频数据类,包括:基于当前的环境参数信息,从预先建立的映射数据表中,获取当前的环境参数信息相匹配的目标视频数据类。Optionally, the processor 210 executing the program data is also used to implement the following method: acquiring current scene information, including: acquiring current environment parameter information; based on the current scene information, from a pre-established mapping data table, acquiring the current The target video data type matched by the scene information includes: obtaining the target video data type matched by the current environmental parameter information from a pre-established mapping data table based on the current environmental parameter information.
可选地,处理器210执行程序数据还用于实现如下的方法:根据目标视频数据类的标签,进行消息推送,包括:对目标视频数据类的标签进行分析后,提取关键词;扩充关键词得到推送消息并进行消息推送。Optionally, the program data executed by the processor 210 is also used to implement the following method: push message according to the tags of the target video data category, including: extracting keywords after analyzing the tags of the target video data category; expanding keywords Get the push message and push the message.
可选地,处理器210执行程序数据还用于实现如下的方法:获取视频数据库中的多个视频文件,包括:获取客户端的本地视频库中的多个视频文件和/或网络缓存的多个视频文件。Optionally, the program data executed by the processor 210 is also used to implement the following method: obtaining multiple video files in a video database, including: obtaining multiple video files in the local video library of the client and/or multiple network caches Video files.
可选地,处理器210执行程序数据还用于实现如下的方法:在获取客户端的本地视频库中的多个视频文件和/或网络缓存的多个视频文件之前,还包括:获取读取本地视频库的权限和/或读取上网记录的权限。Optionally, the processor 210 executing program data is also used to implement the following method: before acquiring multiple video files in the client's local video library and/or multiple video files cached on the network, the method further includes: acquiring and reading local The permission of the video library and/or the permission to read online records.
可选地,处理器210执行程序数据还用于实现如下的方法:在获取当前的场景信息之前,还包括:获取进行消息推送的权限。Optionally, the execution of the program data by the processor 210 is also used to implement the following method: before acquiring the current scene information, the method further includes: acquiring the permission to push messages.
可选地,处理器210执行程序数据还用于实现如下的方法:获取进行消息推送的权限,包括:获取用户启用消息推送功能的通知,或获取默认启用消息推送功能的通知。Optionally, the program data executed by the processor 210 is also used to implement the following method: acquiring the authority to perform message push includes: acquiring a notification that the user enables the message push function, or acquiring a notification that the message push function is enabled by default.
可选地,处理器210执行程序数据还用于实现如下的方法:在根据目标视频数据类的标签,进行消息推送之前,包括:获取客户端的当前消息推送策略;其中,当前消息推送策略包括:推送周期、推送频率、推送场景以及推送标签中的至少一者。Optionally, the processor 210 executing the program data is also used to implement the following method: before performing message push according to the tag of the target video data category, the method includes: obtaining the current message push strategy of the client; wherein, the current message push strategy includes: At least one of push cycle, push frequency, push scenario, and push tag.
可选地,处理器210执行程序数据还用于实现如下的方法:获取客户端的当前消息推送策略,包括:以用户选择或编辑的消息推送策略作为消息推送策略,或以默认的消息推送策略作为消息推送策略。Optionally, the program data executed by the processor 210 is also used to implement the following method: obtaining the current message push strategy of the client, including: using the message pushing strategy selected or edited by the user as the message pushing strategy, or using the default message pushing strategy as the message pushing strategy. Message push strategy.
可选地,处理器210执行程序数据还用于实现如下的方法:在根据目标视频数据类的标签,进行消息推送之前,包括:根据当前消息推送策略判断是否达到推送条件;若是,则执行根据目标视频数据类的标签,进行消息推送的步骤。Optionally, the processor 210 executing the program data is also used to implement the following method: before pushing the message according to the tag of the target video data category, the method includes: judging whether the pushing condition is reached according to the current message pushing strategy; if so, executing according to The tag of the target video data type, the step of pushing the message.
可选地,处理器210执行程序数据还用于实现如下的方法:若否,则返回继续执行获取当前的场景信息的步骤。Optionally, the execution of the program data by the processor 210 is also used to implement the following method: if not, then return to continue the step of obtaining current scene information.
可选地,处理器210执行程序数据还用于实现如下的方法:获取当前的场景信息,包括:获取当前的时间信息、当前的位置信息、当前的环境参数以及当前的视频文件中的至少两者作为当前的场景信息。Optionally, the program data executed by the processor 210 is also used to implement the following method: obtaining current scene information, including: obtaining at least two of the current time information, the current location information, the current environmental parameters, and the current video file. As the current scene information.
可选地,处理器210执行程序数据还用于实现如下的方法:获取当前的场景信息,包括:获取当前的视频文件;对当前的视频文件进行分帧处理,以得到多个当前视频帧;将每个当前视频帧输入至已训练的深度学习网络,以输出对应标签作为当前的场景信息;其中,当前的视频文件是指在预设时间内存入本地视频库中的视频文件和/或网络缓存的视频文件。Optionally, the program data executed by the processor 210 is also used to implement the following method: acquiring current scene information includes: acquiring a current video file; performing frame division processing on the current video file to obtain multiple current video frames; Input each current video frame to the trained deep learning network to output the corresponding label as the current scene information; among them, the current video file refers to the video file and/or network stored in the local video library at the preset time Cached video files.
本实施例中,终端设备200具体可以是手机、电脑、服务器等,也可以是可穿戴设备。可穿戴设备100具体可以是智能手表、智能眼镜、智能手环、衣物等。In this embodiment, the terminal device 200 may specifically be a mobile phone, a computer, a server, etc., or may be a wearable device. The wearable device 100 may specifically be a smart watch, smart glasses, smart bracelet, clothing, etc.
请参阅图7,图7是本申请提供的计算机存储介质实施例的示意图。Please refer to FIG. 7, which is a schematic diagram of an embodiment of a computer storage medium provided by the present application.
本实施例中,计算机存储介质300用于存储程序数据310,程序数据310在被处理器执行时,用以实现如下的方法:获取当前的场景信息;基于当前的场景信息,从预先建立的映射数据表中,获取与当前的场景信息相匹配的目标视频数据类;其中,映射数据表是根据预设的标签对视频数据库中的视频文件进行分类并关联场景信息所建立的;根据目标视频数据类的标签,进行消息推送。In this embodiment, the computer storage medium 300 is used to store program data 310. When the program data 310 is executed by the processor, it is used to implement the following method: obtain current scene information; based on the current scene information, from a pre-established mapping In the data table, obtain the target video data category that matches the current scene information; among them, the mapping data table is established by classifying the video files in the video database according to preset tags and associating the scene information; according to the target video data The label of the class, for message push.
可以理解,本实施例中的计算存储介质300可以应用于上述终端设备200,其具体的实施步骤可以参考上述实施例,这里不再赘述。It can be understood that the computing storage medium 300 in this embodiment can be applied to the above-mentioned terminal device 200, and the specific implementation steps can be referred to the above-mentioned embodiment, which is not repeated here.
在本申请所提供的几个实施方式中,应该理解到,所揭露的方法、装置以及系统,可以通过其它的方式实现。例如,以上所描述的方法、装置以及系统实施方式仅仅是示意性的,例如,模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。In the several implementation manners provided in this application, it should be understood that the disclosed method, device, and system may be implemented in other ways. For example, the methods, devices, and system implementations described above are only illustrative. For example, the division of modules or units is only a logical function division. In actual implementation, there may be other divisions, such as multiple units or Components can be combined or integrated into another system, or some features can be omitted or not implemented.
作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施方式方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of this embodiment.
另外,在本申请各个实施方式中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
上述其他实施方式中的集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本申请各个实施方式方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit in the other embodiments described above is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium. Based on this understanding, the technical solution of the present application essentially or the part that contributes to the existing technology or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , Including several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor execute all or part of the steps of the methods in the various embodiments of the present application. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disks or optical disks and other media that can store program codes. .
本申请通过获取当前的场景信息,并基于当前的场景信息,从预先建立的映射数据表中,获取当前的场景信息相匹配的目标视频数据类,从而根据目标视频数据类的标签,进行消息推送,由于映射数据表是根据预设的标签对视频数据库中的视频文件进行分类并关联场景信息所建立的,所以推送的消息既与当前的场景信息相关联,同时又基于历史视频文件及其场景信息,使得所推送的消息是基于用户的过往行为且满足当前所处场景需求的,即所推送的消息是个性化的且实用的,因此能够为用户提供个性化的消息推送,提高消息推送的准确性。This application obtains the current scene information, and based on the current scene information, obtains the target video data type matching the current scene information from the pre-established mapping data table, so as to push the message according to the tag of the target video data type , Since the mapping data table is established by classifying the video files in the video database according to preset tags and associating scene information, the pushed messages are not only associated with the current scene information, but also based on historical video files and their scenes. Information, so that the pushed messages are based on the user’s past behaviors and meet the needs of the current scene, that is, the pushed messages are personalized and practical, so it can provide users with personalized message pushes and improve the message push accuracy.
以上仅为本申请的实施方式,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。The above are only implementations of this application, and do not limit the scope of this application. Any equivalent structure or equivalent process transformation made using the content of the description and drawings of this application, or directly or indirectly applied to other related technical fields, The same reasoning is included in the scope of patent protection of this application.

Claims (20)

  1. 一种基于视频数据的消息推送方法,其特征在于,所述方法包括:A method for pushing messages based on video data, characterized in that the method includes:
    获取当前的场景信息;Get current scene information;
    基于所述当前的场景信息,从预先建立的映射数据表中,获取与所述当前的场景信息相匹配的目标视频数据类;其中,所述映射数据表是根据预设的标签对视频数据库中的视频文件进行分类并关联场景信息所建立的;Based on the current scene information, obtain the target video data class matching the current scene information from a pre-established mapping data table; wherein, the mapping data table is based on a preset label to the video database Categorized the video files and establish the associated scene information;
    根据所述目标视频数据类的标签,进行消息推送。Push messages according to the tags of the target video data category.
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method according to claim 1, wherein the method further comprises:
    获取所述视频数据库中的多个视频文件;Acquiring multiple video files in the video database;
    根据所述预设的标签对所述视频数据库中的视频文件进行分类;Classify the video files in the video database according to the preset tags;
    获取每个所述视频文件的场景信息;Acquiring scene information of each of the video files;
    根据多个所述视频文件的分类和对应的所述场景信息,建立所述映射表。The mapping table is established according to the classification of the multiple video files and the corresponding scene information.
  3. 根据权利要求2所述的方法,其特征在于,The method of claim 2, wherein:
    所述根据所述预设的标签对所述视频数据库中的视频文件进行分类,包括:The classifying the video files in the video database according to the preset tags includes:
    对所述视频数据库中的所述视频文件进行分帧处理,以得到多个视频帧;Performing framing processing on the video file in the video database to obtain multiple video frames;
    将每个所述视频帧输入至已训练的深度学习网络,以输出对应标签;其中,所述深度学习网络是基于对预先建立对应关系的视频帧和所述预设的标签进行监督学习训练得到的;Input each of the video frames to a trained deep learning network to output a corresponding label; wherein, the deep learning network is obtained based on supervised learning training on the video frame with a pre-established correspondence relationship and the preset label of;
    根据输出的所述对应标签对所述视频数据库中的视频文件进行分析,分类生成数据列表。Analyze the video files in the video database according to the output corresponding tags, and classify and generate a data list.
  4. 根据权利要求3所述的方法,其特征在于,The method of claim 3, wherein:
    所述根据多个所述视频文件的分类和对应的场景信息,建立所述映射表:Establishing the mapping table according to the classifications of the multiple video files and corresponding scene information:
    基于所述数据列表,结合对应的所述场景信息,进行数据链接;Based on the data list, in combination with the corresponding scene information, data link is performed;
    根据所述数据列表和所述数据链接,建立所述映射数据表。According to the data list and the data link, the mapping data table is established.
  5. 根据权利要求1所述的方法,其特征在于,The method of claim 1, wherein:
    所述获取当前的场景信息,包括:The acquiring current scene information includes:
    获取当前的时间信息;Get current time information;
    所述基于所述当前的场景信息,从预先建立的映射数据表中,获取所述当前的场景信息相匹配的目标视频数据类,包括:The acquiring, based on the current scene information, from a pre-established mapping data table, the target video data category that matches the current scene information includes:
    基于所述当前的时间信息,从预先建立的映射数据表中,获取所述当前的时间信息相匹配的目标视频数据类。Based on the current time information, a target video data category that matches the current time information is obtained from a pre-established mapping data table.
  6. 根据权利要求1所述的方法,其特征在于,The method of claim 1, wherein:
    所述获取当前的场景信息,包括:The acquiring current scene information includes:
    获取当前的位置信息;Get current location information;
    所述基于所述当前的场景信息,从预先建立的映射数据表中,获取所述当前的场景信息相匹配的目标视频数据类,包括:The acquiring, based on the current scene information, from a pre-established mapping data table, the target video data category that matches the current scene information includes:
    基于所述当前的位置信息,从预先建立的映射数据表中,获取所述当前的位置信息相匹配的目标视频数据类。Based on the current location information, obtain the target video data category that matches the current location information from a pre-established mapping data table.
  7. 根据权利要求1所述的方法,其特征在于,The method of claim 1, wherein:
    所述获取当前的场景信息,包括:The acquiring current scene information includes:
    获取当前的环境参数信息;Obtain current environmental parameter information;
    所述基于所述当前的场景信息,从预先建立的映射数据表中,获取所述当前的场景信息相匹配的目标视频数据类,包括:The acquiring, based on the current scene information, from a pre-established mapping data table, the target video data category that matches the current scene information includes:
    基于所述当前的环境参数信息,从预先建立的映射数据表中,获取所述当前的环境参数信息相匹配的目标视频数据类。Based on the current environmental parameter information, obtain the target video data class that matches the current environmental parameter information from a pre-established mapping data table.
  8. 根据权利要求1所述的方法,其特征在于,The method of claim 1, wherein:
    所述根据所述目标视频数据类的标签,进行消息推送,包括:The performing message push according to the tag of the target video data category includes:
    对所述目标视频数据类的标签进行分析后,提取关键词;After analyzing the tags of the target video data category, keywords are extracted;
    扩充所述关键词得到推送消息并进行消息推送。Expand the keyword to obtain a push message and push the message.
  9. 根据权利要求2所述的方法,其特征在于,The method of claim 2, wherein:
    所述获取所述视频数据库中的多个视频文件,包括:The obtaining multiple video files in the video database includes:
    获取客户端的本地视频库中的多个视频文件和/或网络缓存的多个视频文件。Obtain multiple video files in the local video library of the client and/or multiple video files cached on the network.
  10. 根据权利要求2所述的方法,其特征在于,The method of claim 2, wherein:
    在所述获取客户端的本地视频库中的多个视频文件和/或网络缓存的多个视频文件之前,还包括:Before the acquiring multiple video files in the local video library of the client and/or multiple video files cached on the network, the method further includes:
    获取读取本地视频库的权限和/或读取上网记录的权限。Obtain the permission to read the local video library and/or the permission to read online records.
  11. 根据权利要求1所述的方法,其特征在于,The method of claim 1, wherein:
    在所述获取当前的场景信息之前,还包括:Before acquiring the current scene information, the method further includes:
    获取进行消息推送的权限。Obtain the permission to push messages.
  12. 根据权利要求11所述的方法,其特征在于,The method of claim 11, wherein:
    所述获取进行消息推送的权限,包括:The obtaining permission to push messages includes:
    获取用户启用消息推送功能的通知,或Obtain the notification that the user has enabled the message push function, or
    获取默认启用消息推送功能的通知。Get the notification that the message push function is enabled by default.
  13. 根据权利要求1所述的方法,其特征在于,The method of claim 1, wherein:
    在所述根据所述目标视频数据类的标签,进行消息推送之前,包括:Before the message push is performed according to the tag of the target video data category, the method includes:
    获取客户端的当前消息推送策略;Get the current message push strategy of the client;
    其中,所述当前消息推送策略包括:推送周期、推送频率、推送场景以及推送标签中的至少一者。Wherein, the current message push strategy includes: at least one of a push cycle, a push frequency, a push scenario, and a push tag.
  14. 根据权利要求13所述的方法,其特征在于,The method of claim 13, wherein:
    所述获取客户端的当前消息推送策略,包括:The obtaining the current message push strategy of the client includes:
    以用户选择或编辑的消息推送策略作为消息推送策略,或Use the message push strategy selected or edited by the user as the message push strategy, or
    以默认的消息推送策略作为消息推送策略。Use the default message push strategy as the message push strategy.
  15. 根据权利要求14所述的方法,其特征在于,The method of claim 14, wherein:
    所述在根据所述目标视频数据类的标签,进行消息推送之前,包括:Before performing message push according to the tag of the target video data category, the method includes:
    根据所述当前消息推送策略判断是否达到推送条件;Judging whether the pushing condition is reached according to the current message pushing strategy;
    若是,则执行所述根据所述目标视频数据类的标签,进行消息推送的步骤。If yes, execute the step of pushing the message according to the tag of the target video data category.
  16. 根据权利要求8所述的方法,其特征在于,所述方法还包括:The method according to claim 8, wherein the method further comprises:
    若否,则返回继续执行所述获取当前的场景信息的步骤。If not, return to continue the step of obtaining the current scene information.
  17. 根据权利要求1所述的方法,其特征在于,The method of claim 1, wherein:
    所述获取当前的场景信息,包括:The acquiring current scene information includes:
    获取当前的视频文件;Get the current video file;
    对当前的视频文件进行分帧处理,以得到多个当前视频帧;Perform framing processing on the current video file to obtain multiple current video frames;
    将每个所述当前视频帧输入至已训练的深度学习网络,以输出对应标签作为当前的场景信息;Input each of the current video frames to the trained deep learning network to output corresponding labels as current scene information;
    其中,当前的视频文件是指在预设时间内存入本地视频库中的视频文件和/或网络缓存的视频文件。Among them, the current video file refers to a video file stored in a local video library at a preset time and/or a video file cached on the network.
  18. 根据权利要求1所述的方法,其特征在于,The method of claim 1, wherein:
    所述获取当前的场景信息,包括:The acquiring current scene information includes:
    获取当前的时间信息、当前的位置信息、当前的环境参数以及当前的视频文件中的至少两者作为当前的场景信息。At least two of the current time information, the current location information, the current environment parameter, and the current video file are acquired as the current scene information.
  19. 一种终端设备,其特征在于,所述终端设备包括:处理器和与所述处理器电连接的存储器,所述存储器用于存储程序数据,所述处理器用于执行所述程序数据以实现如权利要求1-18任一项所述的方法。A terminal device, characterized in that the terminal device includes a processor and a memory electrically connected to the processor, the memory is used to store program data, and the processor is used to execute the program data to implement The method of any one of claims 1-18.
  20. 一种计算机存储介质,其特征在于,所述计算机存储介质用于存储程序数据,所述程序数据在被处理器执行时,用以实现如权利要求1-18任一项所述的方法。A computer storage medium, wherein the computer storage medium is used to store program data, and the program data is used to implement the method according to any one of claims 1-18 when the program data is executed by a processor.
PCT/CN2019/118912 2019-11-15 2019-11-15 Video data-based message pushing method and device, and computer storage medium WO2021092934A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201980010260.8A CN111684815B (en) 2019-11-15 2019-11-15 Message pushing method and device based on video data and computer storage medium
PCT/CN2019/118912 WO2021092934A1 (en) 2019-11-15 2019-11-15 Video data-based message pushing method and device, and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/118912 WO2021092934A1 (en) 2019-11-15 2019-11-15 Video data-based message pushing method and device, and computer storage medium

Publications (1)

Publication Number Publication Date
WO2021092934A1 true WO2021092934A1 (en) 2021-05-20

Family

ID=72451461

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/118912 WO2021092934A1 (en) 2019-11-15 2019-11-15 Video data-based message pushing method and device, and computer storage medium

Country Status (2)

Country Link
CN (1) CN111684815B (en)
WO (1) WO2021092934A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115858855A (en) * 2023-02-28 2023-03-28 江西师范大学 Video data query method based on scene characteristics

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113987267A (en) * 2021-10-28 2022-01-28 上海数禾信息科技有限公司 Video file label generation method and device, computer equipment and storage medium
CN114135992A (en) * 2021-12-02 2022-03-04 上海德衡数据科技有限公司 Air conditioner refrigeration method and system based on data center
CN115659027B (en) * 2022-10-28 2023-06-20 广州彩蛋文化传媒有限公司 Recommendation method and system based on short video data tag and cloud platform

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015171440A1 (en) * 2014-05-07 2015-11-12 Microsoft Technology Licensing, Llc Connecting current user activities with related stored media collections
CN107944374A (en) * 2017-11-20 2018-04-20 北京奇虎科技有限公司 Special object detection method and device, computing device in video data
CN108460122A (en) * 2018-02-23 2018-08-28 武汉斗鱼网络科技有限公司 Video searching method, storage medium, equipment based on deep learning and system

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6002394A (en) * 1995-10-02 1999-12-14 Starsight Telecast, Inc. Systems and methods for linking television viewers with advertisers and broadcasters
CN102984219B (en) * 2012-11-13 2015-09-09 浙江大学 A kind of travel mobile terminal information-pushing method of expressing based on media multi-dimensional content
US20160094866A1 (en) * 2014-09-29 2016-03-31 Amazon Technologies, Inc. User interaction analysis module
CN106230911A (en) * 2016-07-25 2016-12-14 腾讯科技(深圳)有限公司 A kind of played data recommends method, interest tags to determine method and relevant device
CN106982256B (en) * 2017-03-31 2020-07-28 百度在线网络技术(北京)有限公司 Information pushing method, device, equipment and storage medium
CN108694217B (en) * 2017-04-12 2020-07-14 阿里巴巴(中国)有限公司 Video label determination method and device
CN108683744B (en) * 2018-05-22 2021-12-21 上海小度技术有限公司 Information pushing method and device, computer equipment and storage medium
CN108875820A (en) * 2018-06-08 2018-11-23 Oppo广东移动通信有限公司 Information processing method and device, electronic equipment, computer readable storage medium
CN109618197A (en) * 2018-12-17 2019-04-12 杭州柚子街信息科技有限公司 The information processing method and device of video ads are intercutted in video
CN109726303A (en) * 2018-12-28 2019-05-07 维沃移动通信有限公司 A kind of image recommendation method and terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015171440A1 (en) * 2014-05-07 2015-11-12 Microsoft Technology Licensing, Llc Connecting current user activities with related stored media collections
CN107944374A (en) * 2017-11-20 2018-04-20 北京奇虎科技有限公司 Special object detection method and device, computing device in video data
CN108460122A (en) * 2018-02-23 2018-08-28 武汉斗鱼网络科技有限公司 Video searching method, storage medium, equipment based on deep learning and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115858855A (en) * 2023-02-28 2023-03-28 江西师范大学 Video data query method based on scene characteristics
CN115858855B (en) * 2023-02-28 2023-05-05 江西师范大学 Video data query method based on scene characteristics

Also Published As

Publication number Publication date
CN111684815A (en) 2020-09-18
CN111684815B (en) 2021-06-25

Similar Documents

Publication Publication Date Title
WO2021092934A1 (en) Video data-based message pushing method and device, and computer storage medium
US11328013B2 (en) Generating theme-based videos
JP6431231B1 (en) Imaging system, learning apparatus, and imaging apparatus
CN107273106B (en) Object information translation and derivative information acquisition method and device
CN109074358B (en) Providing geographic locations related to user interests
CN113569088B (en) Music recommendation method and device and readable storage medium
US8897485B2 (en) Determining an interest level for an image
US7809722B2 (en) System and method for enabling search and retrieval from image files based on recognized information
US9014510B2 (en) Method for presenting high-interest-level images
US20150112963A1 (en) Time and location based information search and discovery
US20140328570A1 (en) Identifying, describing, and sharing salient events in images and videos
WO2021092935A1 (en) Image data-based message pushing method and device, and computer storage medium
US20090171902A1 (en) Life recorder
CN112313643A (en) Predicting potentially relevant subject matter based on retrieved/created digital media files
Adams et al. Sensing and using social context
US11468883B2 (en) Messaging system with trend analysis of content
WO2018119593A1 (en) Statement recommendation method and device
Riegler et al. How'how'reflects what's what: content-based exploitation of how users frame social images
CN115114395A (en) Content retrieval and model training method and device, electronic equipment and storage medium
CN112069326A (en) Knowledge graph construction method and device, electronic equipment and storage medium
Lonn et al. Smartphone picture organization: A hierarchical approach
Kuo et al. Discovering the city by mining diverse and multimodal data streams
Zhou et al. User interest acquisition by adding home and work related contexts on mobile big data analysis
US11861259B1 (en) Conversational digital picture frame
US20230251767A1 (en) Messaging system for resurfacing content items

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: 19952501

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: 19952501

Country of ref document: EP

Kind code of ref document: A1