WO2020073331A1 - Playback method, electronic device and storage medium - Google Patents

Playback method, electronic device and storage medium Download PDF

Info

Publication number
WO2020073331A1
WO2020073331A1 PCT/CN2018/110131 CN2018110131W WO2020073331A1 WO 2020073331 A1 WO2020073331 A1 WO 2020073331A1 CN 2018110131 W CN2018110131 W CN 2018110131W WO 2020073331 A1 WO2020073331 A1 WO 2020073331A1
Authority
WO
WIPO (PCT)
Prior art keywords
playback
priority
data stream
attribute
preset
Prior art date
Application number
PCT/CN2018/110131
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 PCT/CN2018/110131 priority Critical patent/WO2020073331A1/en
Publication of WO2020073331A1 publication Critical patent/WO2020073331A1/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/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk

Definitions

  • the invention relates to data stream playing technology, in particular to a playing method, an electronic device and a storage medium.
  • the advertisement playing device in public places usually scrolls the edited advertisement content from beginning to end without interruption.
  • a complete advertisement takes a long time to play.
  • Pedestrians have limited time to stay within the visible range of a single advertisement playback screen during the process of traveling, and the advertisement content cannot be completely transmitted to pedestrians.
  • the playback device will continuously play video, audio and other content for a long time without interruption, which will also cause problems such as energy waste, sound pollution, and accelerated equipment aging.
  • the present invention aims to provide a data stream playing solution, which can realize the directional push and delayed playing of the data stream for multiple playing objects.
  • the purpose of the present invention is achieved by the following technical solutions:
  • a playback method including:
  • the determination of whether there is a mobile device signal of the playback object in the playback area includes: detecting whether there is a wireless access point access signal, a Bluetooth broadcast signal, and a background from the mobile device At least one of the signals issued by the running application;
  • the judging whether the image of the playback object is collected in the playback area includes: collecting an image near the playback terminal through an image acquisition device; processing the collected image using image recognition technology to identify whether a playback object enters the preset Play area.
  • the determining the priority playback data stream according to the information of the at least two playback objects and the preset priority playback strategy includes:
  • determining the priority playback data stream according to the attribute label of the priority playback object includes: comparing the attribute label of the priority playback object with the label of the data stream in the data stream set to be matched, and determining the attribute label The data stream corresponding to the data stream tag with the highest matching degree.
  • the comparing the attribute label of the priority playing object with the label of the data stream in the data stream set to be matched to determine the data stream corresponding to the data stream label with the highest matching degree of the attribute label includes:
  • S111 Obtain preset attribute priority information, where the attribute priority information includes at least a first priority attribute and a second priority attribute located one level after the first priority attribute;
  • S113 Determine a second attribute tag of the priority playback object corresponding to the second priority attribute, and compare the second attribute tag with the corresponding tag of the data stream in the updated current data stream set to be matched.
  • the attribute priority information further includes a third priority attribute at a level after the second priority, and after S113, it further includes:
  • S114 Determine whether there is a data stream matching the second attribute label of the priority playing object in the updated current data stream set to be matched, and if not, determine a priority playing corresponding to the third priority attribute
  • the third attribute label of the object is directly compared with the corresponding label of the data stream in the current data stream set to be matched and updated in S112.
  • the method further includes: if the priority playback object of the at least two playback objects leaves the playback area, the playback terminal stops playing the priority playback data stream.
  • it also includes:
  • the playback terminal or the other playback terminal Acquiring the stop playing position information of the priority playing data stream from the server, and continuing to play the priority playing from the stop playing position of the priority playing data stream or from the position of the stop playing position in advance by a preset duration data flow.
  • the method further includes: when the playback terminal or the other playback terminal continues to play the priority playback data stream to a predetermined time interval from the end, according to all of the playback area or the other playback area
  • the information of the playback object and the preset priority playback strategy re-determine the priority playback data stream, so that the playback terminal or the other playback terminal plays the re-determined priority playback data stream.
  • the method further includes: judging whether a non-priority playback object among the at least two playback objects enters a preset playback area of another playback terminal, and if so, according to the non-priority playback object information and the The preset priority playback strategy re-determines the priority playback data stream, so that the another playback terminal plays the re-determined priority playback data stream.
  • the method further includes: determining whether the priority playback object enters the playback area or the preset playback area of another playback terminal within a preset duration after leaving the playback area; if so, the playback terminal Or the another playback terminal continues to play another data stream associated with the priority playback data stream.
  • the data stream includes an advertisement data stream.
  • Another aspect of the present invention provides a playback method, which is executed by a playback terminal and includes:
  • the obtaining and playing the priority playing data stream determined according to the preset priority playing strategy includes:
  • Another aspect of the present invention provides a playback method, which is executed by a server and includes:
  • Another aspect of the present invention provides an electronic device, including: a memory, a processor, and a program stored in the memory.
  • the program is configured to be executed by the processor.
  • the processor implements the program to implement the foregoing playback method.
  • a further aspect of the present invention provides a storage medium that stores a computer program, and when the computer program is executed by a processor, the foregoing playback method is implemented.
  • the playback terminal stops playing the data stream, and can enter a standby state, which can save energy, avoid sound pollution, and accelerate equipment aging.
  • FIG. 1 to 5 illustrate the playback methods of Embodiments 1 to 5 of the present invention
  • FIG. 8 shows an example of the playback system of the present invention.
  • FIG. 8 shows an example of the playback system 20 of the present invention.
  • the playback system 20 includes one or more playback terminals 22.
  • the playback terminal 22 may be configured to play a data stream after a playback object enters the preset playback area.
  • the playback terminal 22 has a display screen. It is understandable that the present invention is not limited to this, for example, in another In a specific example, the display and playback terminal 22 may not have a display screen.
  • the playback system 20 may further include a server 24, and each playback terminal 22 may communicate with the server 24 through a wired network or a wireless network.
  • the data stream and / or information about the data stream can be obtained from the server 24.
  • the playback terminal 22 may preferably communicate with one or more mobile devices 26 entering the preset playback area through a wireless network.
  • the mobile device 26 may determine whether a playback object enters the preset playback area.
  • the playback method of the first embodiment of the present invention includes:
  • S101 Determine whether at least two playback objects enter the preset playback area of a playback terminal, and if so, determine a priority playback data stream according to the information of the at least two playback objects and a preset priority playback strategy;
  • the playback terminal obtains and plays the priority playback data stream.
  • the playback object may be a person, but it is not limited to this, but may also be other objects.
  • the playback area may be an area defined within the viewing range of the playback terminal, for example, the playback area may be a circular area within a certain distance (for example, 2 meters) of the playback terminal, or a certain distance in front of the screen of the playback terminal A fan-shaped area (for example, 3 meters).
  • whether a playback object enters the preset playback area can be determined by determining whether there is a preset mobile device signal in the playback area.
  • the mobile device may be, for example, a mobile phone, a Bluetooth device, a tablet computer, a wireless walkie-talkie or other intelligent communication terminal, or a smart wearable device carried by the playback object.
  • the preset mobile device signal may be, for example, a wireless access point sent by the mobile device Access signals, Bluetooth broadcast signals, signals from applications running in the background, etc.
  • an image acquisition device may be provided on the playback terminal, or an image acquisition device may be provided near the playback terminal. After the image acquisition device collects the image of the playback object, image recognition technology is used to identify whether a playback object enters the preset playback area.
  • the determining the priority playback data stream according to the information of the at least two playback objects and the preset priority playback strategy in S101 includes:
  • SA1011 Obtain the attribute labels of the at least two playback objects.
  • SA1012 Determine a common label of the priority playback object according to the attribute labels of the at least two playback objects as the attribute label of the priority playback object.
  • the SA1012 determines the common tags of the priority playing objects according to the attribute labels of the at least two playing objects including:
  • For each of the common attribute tags determine whether the proportion of the number of playback objects with the common attribute tag in the at least two playback objects is greater than a preset value, and if so, the common attribute tag is a common tag and has All playback objects with common tags are priority playback objects.
  • the attribute label 1 is shared by 4 people
  • the attribute label 2 is shared by 3 people
  • the attribute label 3 is shared by 2 people. Only when the rate reaches 70% can it be regarded as shared, then the common tags of the playback object group are attribute tags 1 and 2, and the playback objects with attribute tags 1 and 2 are priority playback objects.
  • determining the priority playback data stream according to the information of the at least two playback objects and the preset priority playback strategy in S101 includes:
  • SB1011 Obtain the history times of each of the at least two playback objects passing through all playback terminals.
  • SB1014 Determine the priority playback data stream according to the attribute label of the priority playback object.
  • the attribute label of the priority playing object can be compared with the label of the data stream in the data stream set to be matched in the database, and the data stream corresponding to the data stream label with the highest matching degree of the attribute label is the priority playing data stream.
  • determining the priority playback data stream according to the information of the at least two playback objects and the preset priority playback strategy in S101 includes:
  • the attribute tag of the priority playback object can be compared with the preset data stream tag, and the data stream corresponding to the data stream tag with the highest matching degree of the attribute tag is the priority playback data stream.
  • comparing the attribute label of the priority playback object with the label of the data stream in the data stream set to be matched, and determining the data stream corresponding to the data stream label with the highest matching degree of the attribute label include:
  • S111 Obtain preset attribute priority information, where the attribute priority information includes at least a first priority attribute and a second priority attribute located one level after the first priority attribute;
  • S113 Determine a second attribute tag of the priority playback object corresponding to the second priority attribute, and compare the second attribute tag with the corresponding tag of the data stream in the updated current data stream set to be matched.
  • the attribute priority information further includes a third priority attribute one level after the second priority, and further includes after S113:
  • S114 Determine whether there is a data stream matching the second attribute label of the priority playback object in the updated current data stream set to be matched, and if not, determine a playback object corresponding to the third priority attribute The third attribute label, and directly compare the third attribute label with the corresponding label of the data stream in the current data stream set that is updated and updated in S112.
  • the playback terminal may send a data stream request to the server, where the data stream request includes the information of the at least two playback objects, and the server plays the predetermined priority according to the information of the at least two playback objects and the predetermined priority playback
  • the strategy determines to play the data stream first.
  • the information of the playback object may be, for example, the device identifier of the mobile device carried by the playback object.
  • the data stream may be stored in a server. After determining the priority playback data stream, the server sends data stream request response data to the playback terminal.
  • the data stream request response data includes the priority playback data stream.
  • the playback terminal Receive the data stream from the server and play it.
  • the priority playback data stream may be downloaded by the playback terminal from the server when the priority playback object first enters the playback area and stored in the storage module of the playback terminal.
  • the server determines the priority playback data stream
  • the server The playback terminal sends data stream request response data
  • the data stream request response data includes the identification information of the priority playback data stream
  • the playback terminal obtains the data stream corresponding to the identification information of the priority playback data stream returned by the server in the local storage module . If the priority playback object enters the playback area of the playback terminal again, the playback terminal does not need to download from the server again when continuing playback.
  • the amount of data transmission between the playback terminal and the server can be reduced, and when the network signal is poor, the playback of the playback terminal can be avoided.
  • the playback terminal deletes the data stream to save storage resources.
  • the playback terminal sends a data stream request containing identification information of the at least two playback objects to the server, and the server uses the identification information of the at least two playback objects And preset priority play strategy to determine the priority play object, retrieve the attribute tag corresponding to the priority play object from the database, compare the attribute tag with the data stream tag, and obtain the data with the highest matching degree with the attribute tag
  • the identification information of the data stream corresponding to the stream tag, and then the data stream corresponding to the identification information of the data stream is sent to the playback terminal, and the playback terminal plays the received data stream.
  • the playback terminal can perform data integrity verification after receiving the data stream. If the verification result indicates that the data is complete, the data stream is played, otherwise, it can send a request to the server to re-download the data stream.
  • the attribute labels of the playback object may include two types: basic attribute labels and behavior attribute labels.
  • Basic attribute labels include, for example, personal attributes, social attributes and location attributes, etc.
  • Personal attributes include gender, age, mobile phone number, etc.
  • Social attributes include educational background, working status, marriage stage, etc.
  • Location attributes include living location, working location, etc. .
  • Behavior attributes include, for example, long-term interests, short-term interests, and daily behavior habits.
  • the attribute label of the playback object may be pre-stored in the database based on the pre-acquired playback object record.
  • the basic attribute label of the playback object may be determined according to the record when the playback object is purchased or registered for use on the mobile device, and the behavior attribute label of the playback object may be It is determined by the record of the search object of the playback object on the network, accessing the page, and clicking on the label.
  • the data stream is an advertisement.
  • the attribute label of the priority playback object After determining the attribute label of the priority playback object, the attribute label of the priority playback object and The tags of the data streams in the data stream set to be matched are matched, so as to filter out the advertisements with the highest matching degree to the attribute labels of the priority playing objects.
  • the priority of the attribute of the target label from high to low is: region, age, gender, scene, marital status, social attribute, etc.
  • you can filter out from the set of advertising data streams to be matched according to this priority Ads matching the geographic attribute labels of the priority playback object, and then continuing to filter out the advertisements matching the age attribute labels of the priority playback object, and so on; if there are multiple eligible ads in the final screening result, then For example, the advertisement with the highest budget cost can be displayed preferentially; if the final screening does not completely match the advertisements of all tags, for example, if there is no advertisement that matches the scene attribute tags of the priority playing object, the scene attribute is skipped, and the next one is matched (that is, the marriage status ) Attribute, if there is an ad that matches the marriage status label of the priority playback object, continue to match the next (that is, social attribute) attribute, if there is no advertisement that matches the marriage status label of the priority playback object, skip the marriage status attribute and directly match The next
  • directional playback of the data stream can be achieved for multiple playback objects.
  • the playback terminal can continue to detect whether the priority playback object leaves the playback area, for example, if the signal of the mobile device of the priority playback object cannot be detected in the playback area, or the image acquisition device cannot continue to capture in the playback area
  • the playback terminal can stop playing the data stream, thereby saving energy, avoiding sound pollution and accelerating aging of the device.
  • the playback method of the second embodiment of the present invention is similar to the playback method of the first embodiment, except that the second embodiment further includes after S103:
  • the playback terminal after determining that the priority playback object leaves the playback area, stops playing the data stream, records the stop position of the data stream, and can identify the priority playback object's identification information and the played data stream
  • the identification information, stop playback position, and stop playback time are sent to the server, and the server can store it as a playback record.
  • the playback terminal sends a data stream request to the server again.
  • the server determines that the priority playback object leaves the playback terminal according to the playback object information in the data stream request and the stored playback records If the time of the playing area does not exceed the preset duration (for example, a few minutes), the playback terminal is returned to the playback terminal, so that the playback terminal continues to play the data stream from the recorded stop playback position. It can be understood that the playback terminal may also continue to play the data stream from the position of the preset stop time (for example, a few seconds) ahead of the stop position. If the server determines that the time for the priority playback object to leave the playback area of the playback terminal exceeds the preset duration, it may re-determine the data stream playback.
  • the preset duration for example, a few minutes
  • the playback terminal after determining that the priority playback object leaves the playback area, the playback terminal stops playing the data stream, and sends the identification information of the priority playback object, the identification information of the played data stream, the stop time, and the stop playback position to the server .
  • the server can be stored as a play record.
  • the playback terminal sends a data stream request to the server again. If the server judges that the priority playback player object leaves the playback according to the playback object information in the data stream request and the stored playback record If the time of the terminal's playback area does not exceed the preset duration, the playback resume instruction is returned to the playback terminal.
  • the resume playback instruction may include a resume playback position.
  • the playback terminal may continue to play the data stream from the resume playback position indicated by the server.
  • the resume play position may be a stop play position, or a position with a preset duration in advance of the stop play position.
  • the playback terminal stores a complete data stream. If the priority playback object does not re-enter the playback area within a preset time period after leaving the playback area, the playback terminal may delete the stored complete data flow to save storage resources.
  • the playback terminal after determining that the priority playback object leaves the playback area, the playback terminal stops playing the data stream, and sends the identification information of the priority playback object and the identification information of the played data stream to the server, and the server can perform as a playback record storage.
  • the playback terminal sends a data stream request to the server again. If the server determines that the priority playback object is leaving the playback according to the identification information of the playback object in the data stream request and the stored playback record If the time in the play area of the terminal does not exceed the preset duration, the play resume instruction is returned to the play terminal, so that the play terminal continues to play another data stream associated with the priority play data stream.
  • the priority playback data stream for playback by determining the priority playback data stream for playback according to the information of at least two playback objects entering the preset playback area of the playback terminal and the preset priority playback strategy, accurate push of the data stream can be achieved for multiple playback objects.
  • the same playback terminal by allowing the same playback terminal to continue to play the unplayed data stream to the playback object when the playback object enters the playback area again within a short period of time, the data stream can be completely played with delay.
  • the playback method of the third embodiment of the present invention is similar to the playback method of the first embodiment, except that the third embodiment further includes after S103:
  • the playback terminal after determining that the priority playback object leaves the playback area, the playback terminal stops playing the data stream, and sends the identification information of the priority playback object, the identification information of the played data stream, the stop time and the stop playback position to the server,
  • the server can be stored as a play record.
  • the priority playback object enters the playback area of another playback terminal, the other playback terminal sends a data stream request to the server. If the server judges the priority playback object before leaving according to the playback object identification information in the data stream request and the stored playback record If the time of the playing area of one playing terminal does not exceed the preset duration (for example, 3 minutes), then a resume playing instruction is returned to the other playing terminal.
  • the preset duration for example, 3 minutes
  • the resume playing instruction may include a resume playing position, and the other playing terminal may The resume playback position indicated by the server continues to play the data stream.
  • the resume play position may be a stop play position, or a position with a preset duration in advance of the stop play position.
  • the playback terminal after determining that the priority playback object leaves the playback area, stops playing the data stream, and sends the identification information of the priority playback object and the identification information of the played data stream to the server, and the server can perform as a playback record storage.
  • the priority playback object enters the playback area of another playback terminal, the other playback terminal sends a data stream request to the server. If the server judges the priority playback object before leaving according to the playback object identification information in the data stream request and the stored playback record If the time of the playing area of one playing terminal does not exceed the preset duration, a resume playing instruction is returned to the other playing terminal, so that the other playing terminal continues to play another data stream associated with the priority playing data stream .
  • the priority playback data stream for playback by determining the priority playback data stream for playback according to the information of at least two playback objects entering the preset playback area of the playback terminal and the preset priority playback strategy, accurate push of the data stream can be achieved for multiple playback objects.
  • the other playback terminal by allowing the other playback terminal to continue to play the unplayed data stream to the playback object when the playback object enters the playback area of the other playback terminal again within a relatively short period of time, the data stream can be completely played back with delay.
  • the playback method of the fourth embodiment of the present invention is similar to the playback method of the first embodiment, except that the fourth embodiment further includes after S103:
  • S404 Determine whether the priority playback object enters the playback area or the preset playback area of another playback terminal again within a preset duration after leaving the playback area, and if so, the playback terminal or the other playback terminal The playback terminal continues to play the priority playback data stream.
  • the method for re-determining the priority playback data stream in this embodiment is similar to the method for determining the priority playback data stream in the foregoing embodiment, and details are not described herein again.
  • the data streams can be quickly connected and the use efficiency of the playing terminal can be improved.
  • the playback method of the fifth embodiment of the present invention is similar to the playback method of the first embodiment, except that the fifth embodiment further includes after S102:
  • the method for re-determining the priority playback data stream in this embodiment is similar to the method for determining the priority playback data stream in the foregoing embodiment, and details are not described herein again.
  • the audience of the data stream push can be increased, and the data stream push effect can be improved.
  • the sixth embodiment of the present invention provides a playback method, which is executed by a playback terminal and includes:
  • the obtaining and playing the priority playing data stream determined according to the preset priority playing strategy includes:
  • a seventh embodiment of the present invention provides a playback method, which is executed by a server and includes:
  • S602 Determine a priority playback data stream according to the information of the at least two playback objects and a preset priority playback strategy
  • S603 Send data stream request response data to the playback terminal, where the data stream request response data includes identification information of the priority playback data stream or the priority playback data stream.
  • the method for determining the priority playback data stream in S602 according to the information of the at least two playback objects and the preset priority playback strategy is similar to the foregoing embodiment, and details are not described herein again.
  • an eighth embodiment of the present invention provides an electronic device, including: a memory 11, a processor 12, and a program stored in the memory 11, the program is configured to be executed by the processor 12, and the processor executes the The program can implement the playback method of Embodiment 6 or Embodiment 7.
  • the data stream described in the embodiment of the present invention may preferably be an advertisement data stream, such as a video data stream, an audio data stream, a holographic image, etc. Of course, it is not limited to this.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Databases & Information Systems (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

Disclosed in the present invention are a playback method, an electronic device and a storage medium. The method comprises: determining whether there are at least two playback objects entering a preset playback area of a playback terminal, if so, determining, according to information concerning the at least two playback objects and a preset priority playback policy, a data stream to be played back preferentially; obtaining and playing back said data stream. The embodiments of the present invention realize directional pushing of data streams to a plurality of playback objects, improving data stream pushing effects, saving energy, avoiding sound contamination and preventing device aging.

Description

播放方法、电子装置及存储介质Playing method, electronic device and storage medium 技术领域Technical field
本发明涉及数据流播放技术,尤其涉及播放方法、电子装置及存储介质。The invention relates to data stream playing technology, in particular to a playing method, an electronic device and a storage medium.
背景技术Background technique
目前,公共场合中的广告播放装置,通常是对编辑好的广告内容不间歇地从头到尾滚动播放。一则完整的广告所需播放时间较长,行人在行进过程中,停留在单一广告播放屏幕的可视范围内的时间有限,广告内容无法完整地向行人传播。同时,无论播放范围内是否有播放对象,播放设备均长时间不间歇的滚动播放视频、音频等内容也会产生能源浪费、声音污染、加速设备老化等问题。At present, the advertisement playing device in public places usually scrolls the edited advertisement content from beginning to end without interruption. A complete advertisement takes a long time to play. Pedestrians have limited time to stay within the visible range of a single advertisement playback screen during the process of traveling, and the advertisement content cannot be completely transmitted to pedestrians. At the same time, regardless of whether there is a playback object in the playback range, the playback device will continuously play video, audio and other content for a long time without interruption, which will also cause problems such as energy waste, sound pollution, and accelerated equipment aging.
发明内容Summary of the invention
为了克服现有技术的不足,本发明目的在于提供数据流播放方案,可以针对多播放对象实现数据流的定向推送及延时播放。本发明的目的采用以下技术方案实现:In order to overcome the shortcomings of the prior art, the present invention aims to provide a data stream playing solution, which can realize the directional push and delayed playing of the data stream for multiple playing objects. The purpose of the present invention is achieved by the following technical solutions:
一种播放方法,包括:A playback method, including:
判断是否有至少两个播放对象进入一播放终端的预设播放区域,若有,则根据所述至少两个播放对象的信息及预设优先播放策略确定优先播放数据流;Determine whether at least two playback objects enter the preset playback area of a playback terminal, and if so, determine the priority playback data stream according to the information of the at least two playback objects and a preset priority playback strategy;
获得并播放所述优先播放数据流。Obtain and play the priority playing data stream.
较佳的,通过以下方式判断是否有播放对象是否进入预设的播放区域:Preferably, it is determined in the following ways whether a playback object enters the preset playback area:
判断在所述播放区域内是否有所述播放对象的移动设备信号;或者Determine whether there is a mobile device signal of the playback object in the playback area; or
判断是否在所述播放区域内采集到播放对象图像。Determine whether the image of the playback object is collected in the playback area.
较佳的,所述判断在所述播放区域内是否有所述播放对象的移动设备信号包括:检测在所述播放区域内是否有移动设备发出的无线接入点访问信号、蓝牙广播信号、后台运行的应用程序发出的信号中的至少一个;Preferably, the determination of whether there is a mobile device signal of the playback object in the playback area includes: detecting whether there is a wireless access point access signal, a Bluetooth broadcast signal, and a background from the mobile device At least one of the signals issued by the running application;
所述判断是否在所述播放区域内采集到播放对象图像包括:通过图像采集装置采集播放终端附近的图像;利用图像识别技术对所采集的图像进行处理,以识别是否有播放对象进入预设的播放区域。The judging whether the image of the playback object is collected in the playback area includes: collecting an image near the playback terminal through an image acquisition device; processing the collected image using image recognition technology to identify whether a playback object enters the preset Play area.
较佳的,所述根据所述至少两个播放对象的信息及预设优先播放策略确定优先播放数据流包括:Preferably, the determining the priority playback data stream according to the information of the at least two playback objects and the preset priority playback strategy includes:
获得所述至少两个播放对象各自的属性标签,依据所述至少两个播放对象各自的属性标签确定优先播放播放对象的共有标签作为所述优先播放对象的属性标签,以及依据所述优先播放对象的属性标签确定优先播放数据流;或者Obtaining attribute labels of the at least two playback objects, determining a common label of the priority playback object according to the attribute labels of the at least two playback objects as the attribute label of the priority playback object, and according to the priority playback object The attribute label of determines the priority to play the data stream; or
依据所述至少两个播放对象各自经过所有播放终端的历史次数确定经过所有播放终端的历史次数最少的播放对象,获得所述经过所有播放终端的历史次数最少的播放对象的属性标签作为优先播放对象的属性标签,以及依据所述优先播放对象的属性标签确定优先播放数据流;或者Determine the playback object with the least history through all playback terminals according to the historical times of the at least two playback objects passing through all playback terminals respectively, and obtain the attribute label of the playback object with the minimum history through all playback terminals as the priority playback object The attribute label of, and determine the priority playing data stream according to the attribute label of the priority playing object; or
判断所述至少两个播放对象中是否有VIP播放对象,若有,则获得所述VIP播放对象的属性标签作为优先播放对象的属性标签,以及依据所述优先播放对象的属性标签确定优先播放数据流。Determine whether there is a VIP playback object among the at least two playback objects, and if so, obtain the attribute label of the VIP playback object as the attribute label of the priority playback object, and determine the priority playback data according to the attribute label of the priority playback object flow.
较佳的,依据所述优先播放对象的属性标签确定优先播放数据流包括:将所述优先播放对象的属性标签与待匹配数据流集合中的数据流的标签进行比较,确定与所述属性标签匹配度最高的数据流标签对应的数据流。Preferably, determining the priority playback data stream according to the attribute label of the priority playback object includes: comparing the attribute label of the priority playback object with the label of the data stream in the data stream set to be matched, and determining the attribute label The data stream corresponding to the data stream tag with the highest matching degree.
较佳的,所述将所述优先播放对象的属性标签与待匹配数据流集合中的数据流的标签进行比较,确定与所述属性标签匹配度最高的数据流标签对应的数据流包括:Preferably, the comparing the attribute label of the priority playing object with the label of the data stream in the data stream set to be matched to determine the data stream corresponding to the data stream label with the highest matching degree of the attribute label includes:
S111、获得预设的属性优先级信息,所述属性优先级信息至少包括第一优先级属性及位于所述第一优先级属性后一级的第二优先级属性;S111: Obtain preset attribute priority information, where the attribute priority information includes at least a first priority attribute and a second priority attribute located one level after the first priority attribute;
S112、确定与所述第一优先级属性对应的优先播放对象的第一属性标签,将所述第一属性标签与当前待匹配数据流集合中的数据流的对应标签进行比较,将所述待匹配数据流集合中与所述优先播放对象的第一属性标签匹配的数据流更新为当前待匹配数据流集合;S112. Determine the first attribute label of the priority playback object corresponding to the first priority attribute, compare the first attribute label with the corresponding label of the data stream in the current data stream set to be matched, and compare the The data stream in the matching data stream set that matches the first attribute tag of the priority playback object is updated to the current data stream set to be matched;
S113、确定与所述第二优先级属性对应的优先播放对象的第二属性标签,将所述第二属性标签与更新后的当前待匹配数据流集合中的数据流的对应标签进行比较。S113: Determine a second attribute tag of the priority playback object corresponding to the second priority attribute, and compare the second attribute tag with the corresponding tag of the data stream in the updated current data stream set to be matched.
较佳的,所述属性优先级信息还包括所述第二优先级后一级的第三优先级属性,S113后还包括:Preferably, the attribute priority information further includes a third priority attribute at a level after the second priority, and after S113, it further includes:
S114、判断所述更新后的当前待匹配数据流集合中是否存在与所述优先播放对象的第二属性标签匹配的数据流,若否,则确定与所述第三优先级属性对应的优先播放对象的第三属性标签,将所述第三属性标签直接与S112中更新获得的当前待匹配数据流集合中的数据流的对应标签进行比较。S114: Determine whether there is a data stream matching the second attribute label of the priority playing object in the updated current data stream set to be matched, and if not, determine a priority playing corresponding to the third priority attribute The third attribute label of the object is directly compared with the corresponding label of the data stream in the current data stream set to be matched and updated in S112.
较佳的,还包括;若所述至少两个播放对象中的优先播放对象离开所述播放区域,则所述播放终端停止播放所述优先播放数据流。Preferably, the method further includes: if the priority playback object of the at least two playback objects leaves the playback area, the playback terminal stops playing the priority playback data stream.
较佳的,还包括:Preferably, it also includes:
判断优先播放对象是否离开所述播放区域,若是,则记录并向服务器发送所述数据流的停止播放位置信息;Determine whether the priority playback object leaves the playback area, and if so, record and send the stop position information of the data stream to the server;
判断所述优先播放对象是否在离开所述播放区域后的预设时长内再次进入所述播放区域或另一播放终端的预设播放区域,若是,则所述播放终端或所述另一播放终端自所述服务器获取所述优先播放数据流的停止播放位置信息,从所述优先播放数据流的停止播放位置起或者从所述停止播放位置的提前预设时长的位置起继续播放所述优先播放数据流。Determine whether the priority playback object enters the playback area or the preset playback area of another playback terminal within the preset duration after leaving the playback area, and if so, the playback terminal or the other playback terminal Acquiring the stop playing position information of the priority playing data stream from the server, and continuing to play the priority playing from the stop playing position of the priority playing data stream or from the position of the stop playing position in advance by a preset duration data flow.
较佳的,还包括:在所述播放终端或所述另一播放终端继续播放所述优先播放数据流至离结束相隔预定时长时,依据所述播放区域或所述另一播放区域内的所有播放对象的信息及所述预设优先播放策略重新确定优先播放数据流,使所述播放终端或所述另一播放终端播放所述重新确定的优先播放数据流。Preferably, the method further includes: when the playback terminal or the other playback terminal continues to play the priority playback data stream to a predetermined time interval from the end, according to all of the playback area or the other playback area The information of the playback object and the preset priority playback strategy re-determine the priority playback data stream, so that the playback terminal or the other playback terminal plays the re-determined priority playback data stream.
较佳的,还包括:判断是否有所述至少两个播放对象中的非优先播放对象进入另一播放终端的预设播放区域,若有,则依据所述非优先播放对象的信息及所述预设优先播放策略重新确定优先播放数据流,使所述另一播放终端播放所述重新确定的优先播放数据流。Preferably, the method further includes: judging whether a non-priority playback object among the at least two playback objects enters a preset playback area of another playback terminal, and if so, according to the non-priority playback object information and the The preset priority playback strategy re-determines the priority playback data stream, so that the another playback terminal plays the re-determined priority playback data stream.
较佳的,还包括:判断所述优先播放对象是否在离开所述播放区域后的预设时长内再次进入所述播放区域或另一播放终端的预设播放区域,若是,则所述播放终端或所述另一播放终端继续播放所述优先播放数据流关联的另一数据流。Preferably, the method further includes: determining whether the priority playback object enters the playback area or the preset playback area of another playback terminal within a preset duration after leaving the playback area; if so, the playback terminal Or the another playback terminal continues to play another data stream associated with the priority playback data stream.
较佳的,所述数据流包括广告数据流。Preferably, the data stream includes an advertisement data stream.
本发明另一方面提供一种播放方法,由播放终端执行,包括:Another aspect of the present invention provides a playback method, which is executed by a playback terminal and includes:
判断是否有至少两个播放对象进入所述播放终端的预设播放区域,若有,则获得并播放依据预设优先播放策略确定的优先播放数据流。It is determined whether at least two playback objects have entered the preset playback area of the playback terminal, and if so, the priority playback data stream determined according to the preset priority playback strategy is obtained and played.
较佳的,所述获得并播放依据预设优先播放策略确定的优先播放数据流包括:Preferably, the obtaining and playing the priority playing data stream determined according to the preset priority playing strategy includes:
获得依据预设优先播放策略确定的优先播放数据流并播放所述优先播放数据流;或者Obtaining a priority playback data stream determined according to a preset priority playback strategy and playing the priority playback data stream; or
获得依据预设优先播放策略确定的优先播放数据流的标识信息,以及在所述播放终端本地获得并播放与所述标识信息对应的数据流。Obtain the identification information of the priority playback data stream determined according to the preset priority playback strategy, and obtain and play the data stream corresponding to the identification information locally at the playback terminal.
本发明再一方面提供一种播放方法,由服务器执行,包括:Another aspect of the present invention provides a playback method, which is executed by a server and includes:
接收数据流请求,所述数据流请求中包括进入一播放终端的预设播放区域的至少两个播放对象的信息;Receiving a data stream request, where the data stream request includes information of at least two playback objects entering a preset playback area of a playback terminal;
根据所述至少两个播放对象的信息及预设优先播放策略确定优先播放数据流;Determine the priority playback data stream according to the information of the at least two playback objects and a preset priority playback strategy;
向所述播放终端发送数据流请求响应数据,所述数据流请求响应数据包括所述优先播放数据流的标识信息或所述优先播放数据流。Sending data stream request response data to the playback terminal, where the data stream request response data includes identification information of the priority playback data stream or the priority playback data stream.
本发明再一方面提供一种电子装置,包括:存储器、处理器以及存储在存储器中的程序,所述程序被配置成由处理器执行,处理器执行所述程序时实现上述的播放方法。Another aspect of the present invention provides an electronic device, including: a memory, a processor, and a program stored in the memory. The program is configured to be executed by the processor. The processor implements the program to implement the foregoing playback method.
本发明再一方面提供一种存储介质,所述存储介质存储有计算机程序,所述计算机程序被处理器执行时实现上述的播放方法。A further aspect of the present invention provides a storage medium that stores a computer program, and when the computer program is executed by a processor, the foregoing playback method is implemented.
依据本发明实施例,通过根据进入播放终端的预设播放区域的至少两个播 放对象的信息及预设优先播放策略确定优先播放数据流进行播放,可以针对多播放对象实现数据流的定向推送。并且,通过在播放对象在预设时间内再次进入播放区域时继续向播放对象播放未播完的数据流,可以实现数据流延时完整播放。另外,播放对象离开播放区域后播放终端停止播放数据流,可进入待机状态,能够节省能源,避免声音污染和加速设备老化。According to the embodiment of the present invention, by determining the priority playback data stream for playback according to the information of at least two playback objects entering the preset playback area of the playback terminal and the preset priority playback strategy, directional push of the data stream can be realized for multiple playback objects. And, by continuing to play the unplayed data stream to the play object when the play object enters the play area again within the preset time, the data stream can be completely played with delay. In addition, after the playback object leaves the playback area, the playback terminal stops playing the data stream, and can enter a standby state, which can save energy, avoid sound pollution, and accelerate equipment aging.
附图说明BRIEF DESCRIPTION
图1至图5示出本发明实施例一至实施例五的播放方法;Figures 1 to 5 illustrate the playback methods of Embodiments 1 to 5 of the present invention;
图6示出本发明实施例七的播放方法;6 shows a playback method according to Embodiment 7 of the present invention;
图7示出本发明实施例八的电子装置;7 shows an electronic device according to Embodiment 8 of the present invention;
图8示出本发明的播放系统的一个实例。FIG. 8 shows an example of the playback system of the present invention.
具体实施方式detailed description
下面结合附图以及具体实施方式,对本发明做进一步描述,需要说明的是,在不相冲突的前提下,以下描述的各实施例之间或各技术特征之间可以任意组合形成新的实施例。The present invention will be further described below with reference to the drawings and specific embodiments. It should be noted that, without conflict, the embodiments described below or the technical features can be arbitrarily combined to form new embodiments.
图8示出本发明的播放系统20的一个实例,播放系统20包括一个或两个以上的播放终端22。播放终端22可被配置在有播放对象进入预设播放区域后,进行数据流播放,在一个具体实例中,播放终端22具有显示屏幕,可以理解的,本发明并不限于此,例如,在另一个具体实例中,显示播放终端22也可不设显示屏幕。FIG. 8 shows an example of the playback system 20 of the present invention. The playback system 20 includes one or more playback terminals 22. The playback terminal 22 may be configured to play a data stream after a playback object enters the preset playback area. In a specific example, the playback terminal 22 has a display screen. It is understandable that the present invention is not limited to this, for example, in another In a specific example, the display and playback terminal 22 may not have a display screen.
可选的,播放系统20还可包括服务器24,各播放终端22可通过有线网络或无线网络与服务器24通信。例如,在一个具体实例中,可以从服务器24获取数据流和/或数据流的有关信息。Optionally, the playback system 20 may further include a server 24, and each playback terminal 22 may communicate with the server 24 through a wired network or a wireless network. For example, in a specific example, the data stream and / or information about the data stream can be obtained from the server 24.
可选的,播放终端22可较佳的通过无线网络与进入预设播放区域的一个或两个以上的移动设备26通信。在一个具体实例中,可以通过移动设备26判断是否有播放对象进入预设播放区域。Optionally, the playback terminal 22 may preferably communicate with one or more mobile devices 26 entering the preset playback area through a wireless network. In a specific example, the mobile device 26 may determine whether a playback object enters the preset playback area.
下面结合图8所示的播放系统实例对本发明的各实施例进行描述。The following describes the embodiments of the present invention with reference to the example of the playback system shown in FIG. 8.
实施例一Example one
参考图1,本发明第一实施例的播放方法包括:Referring to FIG. 1, the playback method of the first embodiment of the present invention includes:
S101、判断是否有至少两个播放对象进入一播放终端的预设播放区域,若有,则根据所述至少两个播放对象的信息及预设优先播放策略确定优先播放数据流;S101. Determine whether at least two playback objects enter the preset playback area of a playback terminal, and if so, determine a priority playback data stream according to the information of the at least two playback objects and a preset priority playback strategy;
S102、播放终端获得并播放所述优先播放数据流。S102. The playback terminal obtains and plays the priority playback data stream.
较佳的,S102之后可进一步包括;Preferably, after S102, it may further include;
S103、判断所述至少两个播放对象中的优先播放对象是否离开所述播放区域,若是,则所述播放终端停止播放所述数据流。S103. Determine whether the priority playback object of the at least two playback objects leaves the playback area, and if so, the playback terminal stops playing the data stream.
本申请中,播放对象可以是人,但并不仅限于此,也可以是其他对象。In this application, the playback object may be a person, but it is not limited to this, but may also be other objects.
较佳的,播放区域可以是在播放终端的可视范围内定义的区域,例如,播放区域可以是在播放终端一定距离(例如2米)内的一个圆形区域,或播放终端屏幕正面一定距离(例如3米)内的一个扇形区域。Preferably, the playback area may be an area defined within the viewing range of the playback terminal, for example, the playback area may be a circular area within a certain distance (for example, 2 meters) of the playback terminal, or a certain distance in front of the screen of the playback terminal A fan-shaped area (for example, 3 meters).
较佳的,S101中,可以通过判断在播放区域内是否有预设的移动设备信号来判断是否有播放对象进入预设的播放区域。移动设备例如可以是播放对象携带的手机、蓝牙设备、平板电脑、无线对讲机或其他智能通信终端、智能穿戴设备等,所述的预设的移动设备信号例如可以是移动设备发出的无线接入点访问信号、蓝牙广播信号、后台运行的应用程序发出的信号等。Preferably, in S101, whether a playback object enters the preset playback area can be determined by determining whether there is a preset mobile device signal in the playback area. The mobile device may be, for example, a mobile phone, a Bluetooth device, a tablet computer, a wireless walkie-talkie or other intelligent communication terminal, or a smart wearable device carried by the playback object. The preset mobile device signal may be, for example, a wireless access point sent by the mobile device Access signals, Bluetooth broadcast signals, signals from applications running in the background, etc.
依据另一实施方式,S101中,也可以通过判断是否在所述播放区域内采集到播放对象图像来判断是否有播放对象进入预设的播放区域。例如,可以在播放终端设置图像采集装置,或者也可以在播放终端附近设置图像采集装置,在图像采集装置采集到播放对象图像后,利用图像识别技术识别是否有播放对象进入预设的播放区域。According to another embodiment, in S101, it may also be determined whether a playback object enters the preset playback area by determining whether a playback object image is collected in the playback area. For example, an image acquisition device may be provided on the playback terminal, or an image acquisition device may be provided near the playback terminal. After the image acquisition device collects the image of the playback object, image recognition technology is used to identify whether a playback object enters the preset playback area.
依据一个实施方式,S101中所述根据所述至少两个播放对象的信息及预设优先播放策略确定优先播放数据流包括:According to an embodiment, the determining the priority playback data stream according to the information of the at least two playback objects and the preset priority playback strategy in S101 includes:
SA1011、获得所述至少两个播放对象各自的属性标签。SA1011: Obtain the attribute labels of the at least two playback objects.
SA1012、依据所述至少两个播放对象各自的属性标签确定优先播放对象的共有标签作为所述优先播放对象的属性标签。SA1012. Determine a common label of the priority playback object according to the attribute labels of the at least two playback objects as the attribute label of the priority playback object.
SA1013、依据所述优先播放对象的属性标签获得所述优先播放数据流。SA1013. Obtain the priority playback data stream according to the attribute tag of the priority playback object.
其中,SA1012中依据所述至少两个播放对象各自的属性标签确定优先播放对象的共有标签包括:The SA1012 determines the common tags of the priority playing objects according to the attribute labels of the at least two playing objects including:
依据所述至少两个播放对象各自的属性标签确定所述至少两个播放对象中至少部分播放对象的共有属性标签;Determining a common attribute label of at least a part of the at least two playback objects according to the attribute labels of the at least two playback objects;
对每个所述共有属性标签,判断具有此共有属性标签的播放对象数在所述至少两个播放对象中的占比是否大于预设值,若是,则此共有属性标签为共有标签,且具有所有共有标签的播放对象为优先播放对象。For each of the common attribute tags, determine whether the proportion of the number of playback objects with the common attribute tag in the at least two playback objects is greater than a preset value, and if so, the common attribute tag is a common tag and has All playback objects with common tags are priority playback objects.
举例来说,如播放对象A/B/C/D同时经过播放终端,属性标签1为4人共有,属性标签2为3人共有,属性标签3为2人共有,若设置具有属性标签的共有率达到70%才可视为共有,则该播放对象群的共有标签为属性标1和2,同时具有属性标签1和2的播放对象为优先播放对象。For example, if the playback objects A / B / C / D pass through the playback terminal at the same time, the attribute label 1 is shared by 4 people, the attribute label 2 is shared by 3 people, and the attribute label 3 is shared by 2 people. Only when the rate reaches 70% can it be regarded as shared, then the common tags of the playback object group are attribute tags 1 and 2, and the playback objects with attribute tags 1 and 2 are priority playback objects.
依据另一个实施方式,S101中根据所述至少两个播放对象的信息及预设优先播放策略确定优先播放数据流包括:According to another embodiment, determining the priority playback data stream according to the information of the at least two playback objects and the preset priority playback strategy in S101 includes:
SB1011、获得所述至少两个播放对象各自经过所有播放终端的历史次数。SB1011: Obtain the history times of each of the at least two playback objects passing through all playback terminals.
SB1012、确定经过所有播放终端的历史次数最少的播放对象为优先播放对象。SB1012. Determine that the playback object with the smallest number of history passes through all playback terminals is the priority playback object.
SB1013、获得所述优先播放对象的属性标签。SB1013: Obtain the attribute label of the priority playing object.
SB1014、依据所述优先播放对象的属性标签确定优先播放数据流。SB1014. Determine the priority playback data stream according to the attribute label of the priority playback object.
其中,可以将优先播放对象的属性标签与数据库中待匹配数据流集合中的数据流的标签进行比较,与属性标签匹配度最高的数据流标签对应的数据流即为优先播放数据流。Among them, the attribute label of the priority playing object can be compared with the label of the data stream in the data stream set to be matched in the database, and the data stream corresponding to the data stream label with the highest matching degree of the attribute label is the priority playing data stream.
依据另一个实施方式,S101中根据所述至少两个播放对象的信息及预设优先播放策略确定优先播放数据流包括:According to another embodiment, determining the priority playback data stream according to the information of the at least two playback objects and the preset priority playback strategy in S101 includes:
判断所述至少两个播放对象中是否有VIP播放对象,若有,则判定所述VIP播放对象为优先播放对象,获得所述VIP播放对象的属性标签作为优先播放对象的属性标签,并依据所述优先播放对象的属性标签确定优先播放数据流。Determine whether there is a VIP playback object among the at least two playback objects, and if so, determine that the VIP playback object is a priority playback object, obtain the attribute label of the VIP playback object as the attribute label of the priority playback object, and The attribute tag of the priority playback object determines the priority playback data stream.
其中,可以将优先播放对象的属性标签与预设的数据流标签进行比较,与属性标签匹配度最高的数据流标签对应的数据流即为优先播放数据流。Among them, the attribute tag of the priority playback object can be compared with the preset data stream tag, and the data stream corresponding to the data stream tag with the highest matching degree of the attribute tag is the priority playback data stream.
在一个具体实施方式中,将优先播放对象的属性标签与待匹配数据流集合中的数据流的标签进行比较,确定与所述属性标签匹配度最高的数据流标签对应的数据流包括:In a specific embodiment, comparing the attribute label of the priority playback object with the label of the data stream in the data stream set to be matched, and determining the data stream corresponding to the data stream label with the highest matching degree of the attribute label include:
S111、获得预设的属性优先级信息,所述属性优先级信息至少包括第一优先级属性及位于所述第一优先级属性后一级的第二优先级属性;S111: Obtain preset attribute priority information, where the attribute priority information includes at least a first priority attribute and a second priority attribute located one level after the first priority attribute;
S112、确定与所述第一优先级属性对应的优先播放对象的第一属性标签,将所述第一属性标签与当前待匹配数据流集合中的数据流的对应标签进行比较,将所述待匹配数据流集合中与所述优先播放对象的第一属性标签匹配的数据流更新为当前待匹配数据流集合;S112. Determine the first attribute label of the priority playback object corresponding to the first priority attribute, compare the first attribute label with the corresponding label of the data stream in the current data stream set to be matched, and compare the The data stream in the matching data stream set that matches the first attribute tag of the priority playback object is updated to the current data stream set to be matched;
S113、确定与所述第二优先级属性对应的优先播放对象的第二属性标签,将所述第二属性标签与更新后的当前待匹配数据流集合中的数据流的对应标签进行比较。S113: Determine a second attribute tag of the priority playback object corresponding to the second priority attribute, and compare the second attribute tag with the corresponding tag of the data stream in the updated current data stream set to be matched.
在另一具体实施方式中,所述属性优先级信息还包括所述第二优先级后一级的第三优先级属性,S113后还包括:In another specific embodiment, the attribute priority information further includes a third priority attribute one level after the second priority, and further includes after S113:
S114、判断所述更新后的当前待匹配数据流集合中是否存在与所述优先播放对象的第二属性标签匹配的数据流,若否,则确定与所述第三优先级属性对应的播放对象的第三属性标签,将所述第三属性标签直接与S112中更新获得的当前待匹配数据流集合中的数据流的对应标签进行比较。S114: Determine whether there is a data stream matching the second attribute label of the priority playback object in the updated current data stream set to be matched, and if not, determine a playback object corresponding to the third priority attribute The third attribute label, and directly compare the third attribute label with the corresponding label of the data stream in the current data stream set that is updated and updated in S112.
较佳的,可以由播放终端向服务器发送数据流请求,所述数据流请求中包括所述至少两个播放对象的信息,由所述服务器依据所述至少两个播放对象的信息及预定优先播放策略确定优先播放数据流。较佳的,播放对象的信息例如 可以是播放对象携带的移动设备的设备标识符等。Preferably, the playback terminal may send a data stream request to the server, where the data stream request includes the information of the at least two playback objects, and the server plays the predetermined priority according to the information of the at least two playback objects and the predetermined priority playback The strategy determines to play the data stream first. Preferably, the information of the playback object may be, for example, the device identifier of the mobile device carried by the playback object.
在一个实施方式中,数据流可以是存储在服务器,服务器在确定优先播放数据流后,向播放终端发送数据流请求响应数据,所述数据流请求响应数据包括所述优先播放数据流,播放终端自服务器接收数据流并播放。In one embodiment, the data stream may be stored in a server. After determining the priority playback data stream, the server sends data stream request response data to the playback terminal. The data stream request response data includes the priority playback data stream. The playback terminal Receive the data stream from the server and play it.
在另一个实施方式中,优先播放数据流可以是由播放终端在优先播放对象第一次进入播放区域时从服务器下载后存储在播放终端的存储模块中,服务器在确定优先播放数据流后,向播放终端发送数据流请求响应数据,所述数据流请求响应数据包括所述优先播放数据流的标识信息,播放终端在本地存储模块中获得与服务器返回的优先播放数据流的标识信息对应的数据流。若优先播放对象再次进入该播放终端的播放区域,播放终端继续播放时无需再次从服务器下载。本实施方式中,可以降低播放终端与服务器之间的数据传输量,在网络信号较差的情况下可以避免播放终端播放出现卡顿。In another embodiment, the priority playback data stream may be downloaded by the playback terminal from the server when the priority playback object first enters the playback area and stored in the storage module of the playback terminal. After the server determines the priority playback data stream, the server The playback terminal sends data stream request response data, the data stream request response data includes the identification information of the priority playback data stream, and the playback terminal obtains the data stream corresponding to the identification information of the priority playback data stream returned by the server in the local storage module . If the priority playback object enters the playback area of the playback terminal again, the playback terminal does not need to download from the server again when continuing playback. In this embodiment, the amount of data transmission between the playback terminal and the server can be reduced, and when the network signal is poor, the playback of the playback terminal can be avoided.
进一步的,若播放对象离开播放区域后在预定时间内未再次进入播放区域,则播放终端删除该数据流,以节省存储资源。Further, if the playback object does not enter the playback area again within a predetermined time after leaving the playback area, the playback terminal deletes the data stream to save storage resources.
以下通过一个具体实例进行说明,可以理解,本发明并不限于此。其中,若检测有至少两个播放对象进入预设的播放区域,播放终端向服务器发送包含所述至少两个播放对象的标识信息的数据流请求,服务器依据所述至少两个播放对象的标识信息及预设优先播放策略确定优先播放对象,从数据库中调取与所述优先播放对象对应的属性标签,对所述属性标签与数据流标签进行比较,获得与所述属性标签匹配度最高的数据流标签对应的数据流的标识信息,进而将与该数据流的标识信息对应的数据流发送到播放终端,播放终端对接收到的数据流进行播放。较佳的,播放终端在收到数据流后可以进行数据完整性验证,若验证结果表示数据完整,则播放数据流,否则,可以向服务器发送请求以重新下载数据流。The following is a specific example to illustrate, it can be understood that the present invention is not limited to this. Wherein, if it is detected that at least two playback objects enter the preset playback area, the playback terminal sends a data stream request containing identification information of the at least two playback objects to the server, and the server uses the identification information of the at least two playback objects And preset priority play strategy to determine the priority play object, retrieve the attribute tag corresponding to the priority play object from the database, compare the attribute tag with the data stream tag, and obtain the data with the highest matching degree with the attribute tag The identification information of the data stream corresponding to the stream tag, and then the data stream corresponding to the identification information of the data stream is sent to the playback terminal, and the playback terminal plays the received data stream. Preferably, the playback terminal can perform data integrity verification after receiving the data stream. If the verification result indicates that the data is complete, the data stream is played, otherwise, it can send a request to the server to re-download the data stream.
本例中,播放对象的属性标签可以包括基本属性标签和行为属性标签两类。基本属性标签例如包括个人属性、社会属性及位置属性等,个人属性例如包括性别、年龄、手机号等,社会属性例如包括学历、工作状态、婚恋阶段 等,位置属性例如包括居住位置、工作位置等。行为属性例如包括长期兴趣、短期兴趣及日常行为习惯等。播放对象的属性标签可以是根据预先获取的播放对象记录预存在数据库中,例如,播放对象的基本属性标签可以依据播放对象购买或注册使用移动设备时的记录确定,播放对象的行为属性标签例如可以通过播放对象在网络上的搜索关键字、访问页面、点击标签等记录确定。In this example, the attribute labels of the playback object may include two types: basic attribute labels and behavior attribute labels. Basic attribute labels include, for example, personal attributes, social attributes and location attributes, etc. Personal attributes include gender, age, mobile phone number, etc. Social attributes include educational background, working status, marriage stage, etc. Location attributes include living location, working location, etc. . Behavior attributes include, for example, long-term interests, short-term interests, and daily behavior habits. The attribute label of the playback object may be pre-stored in the database based on the pre-acquired playback object record. For example, the basic attribute label of the playback object may be determined according to the record when the playback object is purchased or registered for use on the mobile device, and the behavior attribute label of the playback object may be It is determined by the record of the search object of the playback object on the network, accessing the page, and clicking on the label.
在一个具体实例中,数据流为广告,在确定优先播放对象的属性标签后,可以根据广告下发时所选择的目标标签属性优先级按照从高到低的顺序对优先播放对象的属性标签与待匹配数据流集中的数据流的标签进行匹配,从而筛选出与优先播放对象属性标签匹配度最高的广告。例如目标标签属性优先级从高到低依次为:地域、年龄、性别、场景、婚恋状态、社会属性等,在进行匹配时,可以按照该优先级,从待匹配广告数据流集合中先筛选出与优先播放对象的地域属性标签匹配的广告,然后在筛选出的广告中继续筛选出与优先播放对象的年龄属性标签匹配的广告,依次类推;若最终筛选结果出现多个符合条件的广告,则例如可以优先展示预算费用最高的广告;若最终筛选没有完全匹配所有标签的广告,例如若没有与优先播放对象的场景属性标签匹配的广告,则跳过该场景属性,匹配下一个(即婚恋状态)属性,若具有与优先播放对象的婚恋状态标签匹配的广告,则继续匹配下一个(即社会属性)属性,若没有与优先播放对象的婚恋状态标签匹配的广告则跳过婚恋状态属性直接匹配下一个(即社会属性)属性,直到筛选出最大程度匹配优先播放对象属性标签的广告为止。In a specific example, the data stream is an advertisement. After determining the attribute label of the priority playback object, the attribute label of the priority playback object and The tags of the data streams in the data stream set to be matched are matched, so as to filter out the advertisements with the highest matching degree to the attribute labels of the priority playing objects. For example, the priority of the attribute of the target label from high to low is: region, age, gender, scene, marital status, social attribute, etc., when matching, you can filter out from the set of advertising data streams to be matched according to this priority Ads matching the geographic attribute labels of the priority playback object, and then continuing to filter out the advertisements matching the age attribute labels of the priority playback object, and so on; if there are multiple eligible ads in the final screening result, then For example, the advertisement with the highest budget cost can be displayed preferentially; if the final screening does not completely match the advertisements of all tags, for example, if there is no advertisement that matches the scene attribute tags of the priority playing object, the scene attribute is skipped, and the next one is matched (that is, the marriage status ) Attribute, if there is an ad that matches the marriage status label of the priority playback object, continue to match the next (that is, social attribute) attribute, if there is no advertisement that matches the marriage status label of the priority playback object, skip the marriage status attribute and directly match The next (ie social attribute) attribute until the maximum process is selected Priority match play until the ad object properties tab.
依据本发明实施例,通过根据进入播放终端的预设播放区域的至少两个播放对象的信息及预设优先播放策略确定优先播放数据流进行播放,可以针对多播放对象实现数据流的定向播放。According to the embodiment of the present invention, by determining the priority playback data stream for playback according to the information of at least two playback objects entering the preset playback area of the playback terminal and the preset priority playback strategy, directional playback of the data stream can be achieved for multiple playback objects.
在播放终端播放数据流过程中,可以持续检测优先播放对象是否离开播放区域,例如,若在播放区域内检测不到优先播放对象的移动设备的信号,或者图像采集装置在播放区域内无法继续采集到优先播放对象的图像,则可以判断优先播放对象离开所述播放区域,所述播放终端可停止播放所述数据流,从而 节省能源,避免声音污染和加速设备老化。During the playback of the data stream on the playback terminal, it can continue to detect whether the priority playback object leaves the playback area, for example, if the signal of the mobile device of the priority playback object cannot be detected in the playback area, or the image acquisition device cannot continue to capture in the playback area When the image of the priority playback object is reached, it can be determined that the priority playback object leaves the playback area, and the playback terminal can stop playing the data stream, thereby saving energy, avoiding sound pollution and accelerating aging of the device.
实施例二Example 2
参阅图2,本发明第二实施例的播放方法与第一实施例的播放方法类似,区别之处在于,第二实施例在S103之后还包括:Referring to FIG. 2, the playback method of the second embodiment of the present invention is similar to the playback method of the first embodiment, except that the second embodiment further includes after S103:
S204、判断所述优先播放对象是否在离开所述播放区域后的预设时长内再次进入所述播放区域,若是,则所述播放终端继续播放所述优先播放数据流或继续播放所述优先播放数据流关联的另一数据流。S204. Determine whether the priority playback object enters the playback area again within a preset duration after leaving the playback area, and if so, the playback terminal continues to play the priority playback data stream or the priority playback Another data stream associated with the data stream.
在一个较佳的实施方式中,判断所述优先播放对象离开播放区域后,播放终端停止播放数据流,记录数据流的停止播放位置,并可以将优先播放对象的标识信息、所播放的数据流的标识信息、停止播放位置、停止播放时间发送到服务器,服务器可作为一条播放记录进行存储。当优先播放对象再次进入该播放终端的播放区域时,播放终端向服务器再次发送数据流请求,服务器若依据数据流请求中的播放对象信息和所存储的播放记录判断优先播放对象离开该播放终端的播放区域的时间不超过预设时长(例如几分钟),则向播放终端返回继续播放指令,使播放终端自所记录的停止播放位置继续播放数据流。可以理解,播放终端也可自停止播放位置的提前预设时长(例如几秒)的位置起继续播放数据流。服务器若判断优先播放对象离开该播放终端的播放区域的时间超过预设时长,则可重新确定数据流播放。In a preferred embodiment, after determining that the priority playback object leaves the playback area, the playback terminal stops playing the data stream, records the stop position of the data stream, and can identify the priority playback object's identification information and the played data stream The identification information, stop playback position, and stop playback time are sent to the server, and the server can store it as a playback record. When the priority playback object enters the playback area of the playback terminal again, the playback terminal sends a data stream request to the server again. If the server determines that the priority playback object leaves the playback terminal according to the playback object information in the data stream request and the stored playback records If the time of the playing area does not exceed the preset duration (for example, a few minutes), the playback terminal is returned to the playback terminal, so that the playback terminal continues to play the data stream from the recorded stop playback position. It can be understood that the playback terminal may also continue to play the data stream from the position of the preset stop time (for example, a few seconds) ahead of the stop position. If the server determines that the time for the priority playback object to leave the playback area of the playback terminal exceeds the preset duration, it may re-determine the data stream playback.
在另一个实施例方式中,判断优先播放对象离开播放区域后,播放终端停止播放数据流,将优先播放对象的标识信息、所播放的数据流的标识信息、停止时间及停止播放位置发送到服务器,服务器可作为一条播放记录进行存储。当优先播放对象再次进入该播放终端的播放区域时,播放终端向服务器再次发送数据流请求,服务器若依据数据流请求中的播放对象信息和所存储的播放记录判断优先播放播放对象在离开该播放终端的播放区域的时间不超过预设时长,则向播放终端返回继续播放指令,继续播放指令中可包括继续播放位置,播放终端可自服务器指示的继续播放位置继续播放数据流。所述继续播放位置 可以是停止播放位置,也可以是停止播放位置的提前预设时长的位置。In another embodiment, after determining that the priority playback object leaves the playback area, the playback terminal stops playing the data stream, and sends the identification information of the priority playback object, the identification information of the played data stream, the stop time, and the stop playback position to the server , The server can be stored as a play record. When the priority playback object enters the playback area of the playback terminal again, the playback terminal sends a data stream request to the server again. If the server judges that the priority playback player object leaves the playback according to the playback object information in the data stream request and the stored playback record If the time of the terminal's playback area does not exceed the preset duration, the playback resume instruction is returned to the playback terminal. The resume playback instruction may include a resume playback position. The playback terminal may continue to play the data stream from the resume playback position indicated by the server. The resume play position may be a stop play position, or a position with a preset duration in advance of the stop play position.
较佳的,播放终端中存储完整的数据流,若优先播放对象在离开播放区域后的预设时长内未重新进入该播放区域,播放终端可删除所存储的完整的数据流以节省存储资源。Preferably, the playback terminal stores a complete data stream. If the priority playback object does not re-enter the playback area within a preset time period after leaving the playback area, the playback terminal may delete the stored complete data flow to save storage resources.
在另一个实施方式中,判断优先播放对象离开播放区域后,播放终端停止播放数据流,将优先播放对象的标识信息和所播放的数据流的标识信息发送到服务器,服务器可作为一条播放记录进行存储。当优先播放对象再次进入该播放终端的播放区域时,播放终端向服务器再次发送数据流请求,服务器若依据数据流请求中的播放对象标识信息和所存储的播放记录判断优先播放对象在离开该播放终端的播放区域的时间不超过预设时长,则向播放终端返回继续播放指令,使播放终端继续播放与所述优先播放数据流相关联的另一数据流。In another embodiment, after determining that the priority playback object leaves the playback area, the playback terminal stops playing the data stream, and sends the identification information of the priority playback object and the identification information of the played data stream to the server, and the server can perform as a playback record storage. When the priority playback object enters the playback area of the playback terminal again, the playback terminal sends a data stream request to the server again. If the server determines that the priority playback object is leaving the playback according to the identification information of the playback object in the data stream request and the stored playback record If the time in the play area of the terminal does not exceed the preset duration, the play resume instruction is returned to the play terminal, so that the play terminal continues to play another data stream associated with the priority play data stream.
本实施例中,通过根据进入播放终端的预设播放区域的至少两个播放对象的信息及预设优先播放策略确定优先播放数据流进行播放,可以针对多播放对象实现数据流的精准推送。并且,通过在播放对象在较短时间内再次进入播放区域时使同一播放终端继续向播放对象播放未播完的数据流,可以实现数据流延时完整播放。In this embodiment, by determining the priority playback data stream for playback according to the information of at least two playback objects entering the preset playback area of the playback terminal and the preset priority playback strategy, accurate push of the data stream can be achieved for multiple playback objects. In addition, by allowing the same playback terminal to continue to play the unplayed data stream to the playback object when the playback object enters the playback area again within a short period of time, the data stream can be completely played with delay.
实施例三Example Three
参阅图3,本发明第三实施例的播放方法与第一实施例的播放方法类似,区别之处在于,第三实施例在S103之后还包括:Referring to FIG. 3, the playback method of the third embodiment of the present invention is similar to the playback method of the first embodiment, except that the third embodiment further includes after S103:
S304、判断所述优先播放对象是否在离开所述播放区域后的预设时长内进入另一播放终端的预设播放区域,若是,则所述另一播放终端继续播放所述优先播放数据流或继续播放所述优先播放数据流关联的另一数据流。S304. Determine whether the priority playback object enters the preset playback area of another playback terminal within a preset duration after leaving the playback area. If so, the other playback terminal continues to play the priority playback data stream or Continue to play another data stream associated with the preferential play data stream.
在一个实施方式中,判断优先播放对象离开播放区域后,播放终端停止播放数据流,并将优先播放对象的标识信息、所播放的数据流的标识信息、停止时间及停止播放位置发送到服务器,服务器可作为一条播放记录进行存储。当优先播放对象进入另一播放终端的播放区域时,该另一播放终端向服务器发送 数据流请求,服务器若依据数据流请求中的播放对象标识信息和所存储的播放记录判断优先播放对象离开前一播放终端的播放区域的时间不超过预设时长(例如3分钟),则向所述另一播放终端返回继续播放指令,继续播放指令中可包括继续播放位置,所述另一播放终端可自服务器指示的继续播放位置继续播放数据流。所述继续播放位置可以是停止播放位置,也可以是停止播放位置的提前预设时长的位置。In one embodiment, after determining that the priority playback object leaves the playback area, the playback terminal stops playing the data stream, and sends the identification information of the priority playback object, the identification information of the played data stream, the stop time and the stop playback position to the server, The server can be stored as a play record. When the priority playback object enters the playback area of another playback terminal, the other playback terminal sends a data stream request to the server. If the server judges the priority playback object before leaving according to the playback object identification information in the data stream request and the stored playback record If the time of the playing area of one playing terminal does not exceed the preset duration (for example, 3 minutes), then a resume playing instruction is returned to the other playing terminal. The resume playing instruction may include a resume playing position, and the other playing terminal may The resume playback position indicated by the server continues to play the data stream. The resume play position may be a stop play position, or a position with a preset duration in advance of the stop play position.
在另一实施方式中,判断优先播放对象离开播放区域后,播放终端停止播放数据流,将优先播放对象的标识信息和所播放的数据流的标识信息发送到服务器,服务器可作为一条播放记录进行存储。当优先播放对象进入另一播放终端的播放区域时,该另一播放终端向服务器发送数据流请求,服务器若依据数据流请求中的播放对象标识信息和所存储的播放记录判断优先播放对象离开前一播放终端的播放区域的时间不超过预设时长,则向所述另一播放终端返回继续播放指令,使所述另一播放终端继续播放与所述优先播放数据流相关联的另一数据流。In another embodiment, after determining that the priority playback object leaves the playback area, the playback terminal stops playing the data stream, and sends the identification information of the priority playback object and the identification information of the played data stream to the server, and the server can perform as a playback record storage. When the priority playback object enters the playback area of another playback terminal, the other playback terminal sends a data stream request to the server. If the server judges the priority playback object before leaving according to the playback object identification information in the data stream request and the stored playback record If the time of the playing area of one playing terminal does not exceed the preset duration, a resume playing instruction is returned to the other playing terminal, so that the other playing terminal continues to play another data stream associated with the priority playing data stream .
本实施例中,通过根据进入播放终端的预设播放区域的至少两个播放对象的信息及预设优先播放策略确定优先播放数据流进行播放,可以针对多播放对象实现数据流的精准推送。并且,通过在播放对象在较短时间内再次进入另一播放终端的播放区域时使另一播放终端继续向播放对象播放未播完的数据流,可以实现数据流延时完整播放。In this embodiment, by determining the priority playback data stream for playback according to the information of at least two playback objects entering the preset playback area of the playback terminal and the preset priority playback strategy, accurate push of the data stream can be achieved for multiple playback objects. In addition, by allowing the other playback terminal to continue to play the unplayed data stream to the playback object when the playback object enters the playback area of the other playback terminal again within a relatively short period of time, the data stream can be completely played back with delay.
实施例四Example 4
参阅图4,本发明第四实施例的播放方法与第一实施例的播放方法类似,区别之处在于,第四实施例在S103之后还包括:Referring to FIG. 4, the playback method of the fourth embodiment of the present invention is similar to the playback method of the first embodiment, except that the fourth embodiment further includes after S103:
S404、判断所述优先播放对象是否在离开所述播放区域后的预设时长内再次进入所述播放区域或另一播放终端的预设播放区域,若是,则所述播放终端或所述另一播放终端继续播放所述优先播放数据流。S404: Determine whether the priority playback object enters the playback area or the preset playback area of another playback terminal again within a preset duration after leaving the playback area, and if so, the playback terminal or the other playback terminal The playback terminal continues to play the priority playback data stream.
S405、所述播放终端或所述另一播放终端继续播放所述优先播放数据流至 离结束相隔预定时长(例如几秒)时,依据所述播放区域或所述另一播放区域内的所有播放对象的信息及预设优先播放策略重新确定优先播放数据流,使所述播放终端或所述另一播放终端播放所述重新确定的优先播放数据流。S405. When the playback terminal or the other playback terminal continues to play the priority playback data stream until a predetermined time period (for example, a few seconds) elapses from the end, according to all playback in the playback area or the other playback area The information of the object and the preset priority playback strategy re-determine the priority playback data stream, so that the playback terminal or the other playback terminal plays the re-determined priority playback data stream.
本实施例中重新确定优先播放数据流的方法与前述实施例中确定优先播放数据流的方法类似,不再赘述。The method for re-determining the priority playback data stream in this embodiment is similar to the method for determining the priority playback data stream in the foregoing embodiment, and details are not described herein again.
本实施例中,通过在前一数据流播放结束前重新确定优先播放数据流,可以实现数据流的快速衔接,提高播放终端的使用效率。In this embodiment, by re-determining the priority playing of the data stream before the end of the previous data stream playing, the data streams can be quickly connected and the use efficiency of the playing terminal can be improved.
实施例五Example 5
参阅图5,本发明第五实施例的播放方法与第一实施例的播放方法类似,区别之处在于,第五实施例在S102之后还包括:Referring to FIG. 5, the playback method of the fifth embodiment of the present invention is similar to the playback method of the first embodiment, except that the fifth embodiment further includes after S102:
S503、判断所述至少两个播放对象中的非优先播放对象是否进入另一播放终端的预设播放区域,若是,则依据所述非优先播放对象的信息及所述预设优先播放策略重新确定确定优先播放数据流,使所述另一播放终端播放所述重新确定的优先播放数据流。S503. Determine whether a non-priority playback object of the at least two playback objects enters a preset playback area of another playback terminal, and if so, re-determine based on the non-priority playback object information and the preset priority playback strategy Determining a priority playback data stream, so that the another playback terminal plays the newly determined priority playback data stream.
本实施例中重新确定优先播放数据流的方法与前述实施例中确定优先播放数据流的方法类似,不再赘述。The method for re-determining the priority playback data stream in this embodiment is similar to the method for determining the priority playback data stream in the foregoing embodiment, and details are not described herein again.
本实施例中,通过在不同播放终端针对不同播放对象进行数据流的推送,可以增加数据流推送的受众量,提升数据流推送效果。In this embodiment, by pushing data streams for different playback objects on different playback terminals, the audience of the data stream push can be increased, and the data stream push effect can be improved.
实施例六Example Six
本发明第六实施例提供一种播放方法,由播放终端执行,包括:The sixth embodiment of the present invention provides a playback method, which is executed by a playback terminal and includes:
判断是否有至少两个播放对象进入所述播放终端的预设播放区域,若是,则获得并播放依据预设优先播放策略确定的优先播放数据流。It is determined whether at least two playback objects have entered the preset playback area of the playback terminal, and if so, the priority playback data stream determined according to the preset priority playback strategy is obtained and played.
其中,所述获得并播放依据预设优先播放策略确定的优先播放数据流包括:Wherein, the obtaining and playing the priority playing data stream determined according to the preset priority playing strategy includes:
获得依据预设优先播放策略确定的优先播放数据流并播放所述优先播放数 据流;或者Obtain a priority playback data stream determined according to a preset priority playback strategy and play the priority playback data stream; or
获得依据预设优先播放策略确定的优先播放数据流的标识信息,以及在所述播放终端本地获得并播放与所述标识信息对应的数据流。Obtain the identification information of the priority playback data stream determined according to the preset priority playback strategy, and obtain and play the data stream corresponding to the identification information locally at the playback terminal.
实施例七Example 7
参阅图6,本发明第七实施例提供一种播放方法,由服务器执行,包括:Referring to FIG. 6, a seventh embodiment of the present invention provides a playback method, which is executed by a server and includes:
S601、接收数据流请求,所述数据流请求中包括进入一播放终端的预设播放区域的至少两个播放对象的信息;S601. Receive a data stream request, where the data stream request includes information of at least two playback objects entering a preset playback area of a playback terminal;
S602、根据所述至少两个播放对象的信息及预设优先播放策略确定优先播放数据流;S602: Determine a priority playback data stream according to the information of the at least two playback objects and a preset priority playback strategy;
S603、向所述播放终端发送数据流请求响应数据,所述数据流请求响应数据包括所述优先播放数据流的标识信息或所述优先播放数据流。S603: Send data stream request response data to the playback terminal, where the data stream request response data includes identification information of the priority playback data stream or the priority playback data stream.
本实施例中S602根据所述至少两个播放对象的信息及预设优先播放策略确定优先播放数据流的方法与前述实施例类似,不再赘述。In this embodiment, the method for determining the priority playback data stream in S602 according to the information of the at least two playback objects and the preset priority playback strategy is similar to the foregoing embodiment, and details are not described herein again.
实施例八Example 8
参阅图7,本发明第八实施例提供一种电子装置,包括:存储器11、处理器12以及存储在存储器11中的程序,所述程序被配置成由处理器12执行,处理器执行所述程序时可实现实施例六或实施例七的播放方法。Referring to FIG. 7, an eighth embodiment of the present invention provides an electronic device, including: a memory 11, a processor 12, and a program stored in the memory 11, the program is configured to be executed by the processor 12, and the processor executes the The program can implement the playback method of Embodiment 6 or Embodiment 7.
本发明实施例中所述的数据流较佳的可以是广告数据流,例如可以是视频数据流或音频数据流、全息影像等,当然并不限于此。The data stream described in the embodiment of the present invention may preferably be an advertisement data stream, such as a video data stream, an audio data stream, a holographic image, etc. Of course, it is not limited to this.
通过以上的实施方式的描述可知,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在存储介质(如ROM/RAM、磁碟、光盘等)中,包括若干指令用以使得一台设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例或者实施例的某些部分所述的 方法。It can be known from the description of the above embodiments that those skilled in the art can clearly understand that the methods in the above embodiments can be implemented by means of software plus a necessary general hardware platform. Based on this understanding, the technical solutions of the present invention can be embodied in the form of software products in essence or part of contributions to the existing technology, and the computer software products can be stored in a storage medium (such as ROM / RAM, magnetic disk, The optical disc, etc.) includes several instructions to enable a device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in various embodiments of the present invention or some parts of the embodiments.
上述实施方式仅为本发明的优选实施方式,不能以此来限定本发明保护的范围,本领域的技术人员在本发明的基础上所做的任何非实质性的变化及替换均属于本发明所要求保护的范围。The above-mentioned embodiments are only preferred embodiments of the present invention, and cannot be used to limit the scope of protection of the present invention. Any non-substantial changes and replacements made by those skilled in the art on the basis of the present invention belong to the present invention. The scope of protection required.

Claims (18)

  1. 一种播放方法,其特征在于,包括:A playback method, characterized in that it includes:
    判断是否有至少两个播放对象进入一播放终端的预设播放区域,若有,则根据所述至少两个播放对象的信息及预设优先播放策略确定优先播放数据流;Determine whether at least two playback objects enter the preset playback area of a playback terminal, and if so, determine the priority playback data stream according to the information of the at least two playback objects and a preset priority playback strategy;
    获得并播放所述优先播放数据流。Obtain and play the priority playing data stream.
  2. 如权利要求1所述的播放方法,其特征在于,通过以下方式判断是否有播放对象是否进入预设的播放区域:The playback method according to claim 1, wherein whether a playback object enters the preset playback area is determined by the following manner:
    判断在所述播放区域内是否有所述播放对象的移动设备信号;或者Determine whether there is a mobile device signal of the playback object in the playback area; or
    判断是否在所述播放区域内采集到播放对象图像。Determine whether the image of the playback object is collected in the playback area.
  3. 如权利要求2所述的播放方法,其特征在于:The playing method according to claim 2, characterized in that:
    所述判断在所述播放区域内是否有所述播放对象的移动设备信号包括:检测在所述播放区域内是否有移动设备发出的无线接入点访问信号、蓝牙广播信号、后台运行的应用程序发出的信号中的至少一个;The determination of whether there is a mobile device signal of the playback object in the playback area includes: detecting whether there is a wireless access point access signal, a Bluetooth broadcast signal, and an application running in the background from the mobile device in the playback area At least one of the signals emitted;
    所述判断是否在所述播放区域内采集到播放对象图像包括:通过图像采集装置采集播放终端附近的图像;利用图像识别技术对所采集的图像进行处理,以识别是否有播放对象进入预设的播放区域。The judging whether the image of the playback object is collected in the playback area includes: collecting an image near the playback terminal through an image acquisition device; processing the collected image using image recognition technology to identify whether a playback object enters the preset Play area.
  4. 如权利要求1所述的播放方法,其特征在于,所述根据所述至少两个播放对象的信息及预设优先播放策略确定优先播放数据流包括:The playback method according to claim 1, wherein the determining the priority playback data stream according to the information of the at least two playback objects and a preset priority playback strategy comprises:
    获得所述至少两个播放对象各自的属性标签,依据所述至少两个播放对象各自的属性标签确定优先播放对象的共有标签作为所述优先播放对象的属性标签,以及依据所述优先播放对象的属性标签确定优先播放数据流;或者Obtaining the attribute labels of the at least two playback objects, determining the common label of the priority playback object according to the attribute labels of the at least two playback objects as the attribute label of the priority playback object, and according to the priority playback object The attribute label determines the priority of playing the data stream; or
    依据所述至少两个播放对象各自经过所有播放终端的历史次数确定经过所有播放终端的历史次数最少的播放对象,获得所述经过所有播放终端的历史次数最少的播放对象的属性标签作为优先播放对象的属性标签,以及依据所述优先播放对象的属性标签确定优先播放数据流;或者Determine the playback object with the least history through all playback terminals according to the historical times of the at least two playback objects passing through all playback terminals respectively, and obtain the attribute label of the playback object with the minimum history through all playback terminals as the priority playback object The attribute label of, and determine the priority playing data stream according to the attribute label of the priority playing object; or
    判断所述至少两个播放对象中是否有VIP播放对象,若有,则获得所述VIP播放对象的属性标签作为优先播放对象的属性标签,以及依据所述优先播 放对象的属性标签确定优先播放数据流。Determine whether there is a VIP playback object among the at least two playback objects, and if so, obtain the attribute label of the VIP playback object as the attribute label of the priority playback object, and determine the priority playback data according to the attribute label of the priority playback object flow.
  5. 如权利要求4所述的播放方法,其特征在于,依据所述优先播放对象的属性标签确定优先播放数据流包括:将所述优先播放对象的属性标签与待匹配数据流集合中的数据流的标签进行比较,确定与所述属性标签匹配度最高的数据流标签对应的数据流。The playback method according to claim 4, wherein determining the priority playback data stream according to the attribute label of the priority playback object comprises: combining the attribute label of the priority playback object with the data stream in the data stream set to be matched The tags are compared to determine the data stream corresponding to the data stream tag with the highest matching degree of the attribute tag.
  6. 如权利要求5所述的播放方法,其特征在于,所述将所述优先播放对象的属性标签与待匹配数据流集合中的数据流的标签进行比较,确定与所述属性标签匹配度最高的数据流标签对应的数据流包括:The playback method according to claim 5, wherein the attribute label of the priority playback object is compared with the label of the data stream in the data stream set to be matched to determine the highest matching degree with the attribute label The data flow corresponding to the data flow label includes:
    S111、获得预设的属性优先级信息,所述属性优先级信息至少包括第一优先级属性及位于所述第一优先级属性后一级的第二优先级属性;S111: Obtain preset attribute priority information, where the attribute priority information includes at least a first priority attribute and a second priority attribute located one level after the first priority attribute;
    S112、确定与所述第一优先级属性对应的优先播放对象的第一属性标签,将所述第一属性标签与当前待匹配数据流集合中的数据流的对应标签进行比较,将所述待匹配数据流集合中与所述优先播放对象的第一属性标签匹配的数据流更新为当前待匹配数据流集合;S112. Determine the first attribute label of the priority playback object corresponding to the first priority attribute, compare the first attribute label with the corresponding label of the data stream in the current data stream set to be matched, and compare the The data stream in the matching data stream set that matches the first attribute tag of the priority playback object is updated to the current data stream set to be matched;
    S113、确定与所述第二优先级属性对应的优先播放对象的第二属性标签,将所述第二属性标签与更新后的当前待匹配数据流集合中的数据流的对应标签进行比较。S113: Determine a second attribute tag of the priority playback object corresponding to the second priority attribute, and compare the second attribute tag with the corresponding tag of the data stream in the updated current data stream set to be matched.
  7. 如权利要求6所述的播放方法,其特征在于,所述属性优先级信息还包括所述第二优先级后一级的第三优先级属性,S113后还包括:The playing method according to claim 6, wherein the attribute priority information further includes a third priority attribute at a level after the second priority, and further includes after S113:
    S114、判断所述更新后的当前待匹配数据流集合中是否存在与所述优先播放对象的第二属性标签匹配的数据流,若否,则确定与所述第三优先级属性对应的优先播放对象的第三属性标签,将所述第三属性标签直接与S112中更新获得的当前待匹配数据流集合中的数据流的对应标签进行比较。S114: Determine whether there is a data stream matching the second attribute label of the priority playing object in the updated current data stream set to be matched, and if not, determine a priority playing corresponding to the third priority attribute The third attribute label of the object is directly compared with the corresponding label of the data stream in the current data stream set to be matched and updated in S112.
  8. 如权利要求1至7任一项所述的播放方法,其特征在于,还包括;若所述至少两个播放对象中的优先播放对象离开所述播放区域,则所述播放终端停止播放所述优先播放数据流。The playback method according to any one of claims 1 to 7, further comprising: if the priority playback object of the at least two playback objects leaves the playback area, the playback terminal stops playing the Play the data stream first.
  9. 如权利要求8所述的播放方法,其特征在于,还包括:The playing method according to claim 8, further comprising:
    判断优先播放对象是否离开所述播放区域,若是,则记录并向服务器发送所述数据流的停止播放位置信息;Determine whether the priority playback object leaves the playback area, and if so, record and send the stop position information of the data stream to the server;
    判断所述优先播放对象是否在离开所述播放区域后的预设时长内再次进入所述播放区域或另一播放终端的预设播放区域,若是,则所述播放终端或所述另一播放终端自所述服务器获取所述优先播放数据流的停止播放位置信息,从所述优先播放数据流的停止播放位置起或者从所述停止播放位置的提前预设时长的位置起继续播放所述优先播放数据流。Determine whether the priority playback object enters the playback area or the preset playback area of another playback terminal within the preset duration after leaving the playback area, and if so, the playback terminal or the other playback terminal Acquiring the stop playing position information of the priority playing data stream from the server, and continuing to play the priority playing from the stop playing position of the priority playing data stream or from the position of the stop playing position in advance by a preset duration data flow.
  10. 如权利要求9所述的播放方法,其特征在于,还包括:在所述播放终端或所述另一播放终端继续播放所述优先播放数据流至离结束相隔预定时长时,依据所述播放区域或所述另一播放区域内的所有播放对象的信息及所述预设优先播放策略重新确定优先播放数据流,使所述播放终端或所述另一播放终端播放所述重新确定的优先播放数据流。The playback method according to claim 9, further comprising: when the playback terminal or the other playback terminal continues to play the priority playback data stream until a predetermined period of time elapses from the end, according to the playback area Or information of all playback objects in the other playback area and the preset priority playback strategy to re-determine the priority playback data stream, so that the playback terminal or the other playback terminal plays the re-determined priority playback data flow.
  11. 如权利要求1至7任一项所述的播放方法,其特征在于,还包括:判断是否有所述至少两个播放对象中的非优先播放对象进入另一播放终端的预设播放区域,若有,则依据所述非优先播放对象的信息及所述预设优先播放策略重新确定优先播放数据流,使所述另一播放终端播放所述重新确定的优先播放数据流。The playback method according to any one of claims 1 to 7, further comprising: determining whether a non-priority playback object among the at least two playback objects enters a preset playback area of another playback terminal, if If yes, the priority playback data stream is re-determined according to the information of the non-priority playback object and the preset priority playback strategy, so that the other playback terminal plays the re-determined priority playback data stream.
  12. 如权利要求8所述的播放方法,其特征在于,还包括:判断所述优先播放对象是否在离开所述播放区域后的预设时长内再次进入所述播放区域或另一播放终端的预设播放区域,若是,则所述播放终端或所述另一播放终端继续播放所述优先播放数据流关联的另一数据流。The playback method according to claim 8, further comprising: determining whether the priority playback object enters the playback area or the preset of another playback terminal again within a preset duration after leaving the playback area The playback area, if it is, the playback terminal or the other playback terminal continues to play another data stream associated with the priority playback data stream.
  13. 一种播放方法,由播放终端执行,其特征在于,包括:A playback method, executed by the playback terminal, is characterized by including:
    判断是否有至少两个播放对象进入所述播放终端的预设播放区域,若有,则获得并播放依据预设优先播放策略确定的优先播放数据流。It is determined whether at least two playback objects have entered the preset playback area of the playback terminal, and if so, the priority playback data stream determined according to the preset priority playback strategy is obtained and played.
  14. 如权利要求13所述的播放方法,其特征在于,所述获得并播放依据预设优先播放策略确定的优先播放数据流包括:The playback method according to claim 13, wherein the obtaining and playing the priority playback data stream determined according to a preset priority playback strategy includes:
    获得依据预设优先播放策略确定的优先播放数据流并播放所述优先播放数 据流;或者Obtain a priority playback data stream determined according to a preset priority playback strategy and play the priority playback data stream; or
    获得依据预设优先播放策略确定的优先播放数据流的标识信息,以及在所述播放终端本地获得并播放与所述标识信息对应的数据流。Obtain the identification information of the priority playback data stream determined according to the preset priority playback strategy, and obtain and play the data stream corresponding to the identification information locally at the playback terminal.
  15. 一种播放方法,由服务器执行,其特征在于,包括:A playback method, executed by the server, is characterized by including:
    接收数据流请求,所述数据流请求中包括进入一播放终端的预设播放区域的至少两个播放对象的信息;Receiving a data stream request, where the data stream request includes information of at least two playback objects entering a preset playback area of a playback terminal;
    根据所述至少两个播放对象的信息及预设优先播放策略确定优先播放数据流;Determine the priority playback data stream according to the information of the at least two playback objects and a preset priority playback strategy;
    向所述播放终端发送数据流请求响应数据,所述数据流请求响应数据包括所述优先播放数据流的标识信息或所述优先播放数据流。Sending data stream request response data to the playback terminal, where the data stream request response data includes identification information of the priority playback data stream or the priority playback data stream.
  16. 如权利要求15所述的播放方法,其特征在于,所述根据所述至少两个播放对象的信息及预设优先播放策略确定优先播放数据流包括:The playback method according to claim 15, wherein the determining the priority playback data stream according to the information of the at least two playback objects and a preset priority playback strategy comprises:
    获得所述至少两个播放对象各自的属性标签,依据所述至少两个播放对象各自的属性标签确定优先播放对象的共有标签作为所述优先播放对象的属性标签,以及依据所述优先播放对象的属性标签确定优先播放数据流;或者Obtaining the attribute labels of the at least two playback objects, determining the common label of the priority playback object according to the attribute labels of the at least two playback objects as the attribute label of the priority playback object, and according to the priority playback object The attribute label determines the priority of playing the data stream; or
    依据所述至少两个播放对象各自经过所有播放终端的历史次数确定经过所有播放终端的历史次数最少的播放对象,获得所述经过所有播放终端的历史次数最少的播放对象的属性标签作为优先播放对象的属性标签,以及依据所述优先播放对象的属性标签确定优先播放数据流;或者Determine the playback object with the least history through all playback terminals according to the historical times of the at least two playback objects passing through all playback terminals respectively, and obtain the attribute label of the playback object with the minimum history through all playback terminals as the priority playback object The attribute label of, and determine the priority playing data stream according to the attribute label of the priority playing object; or
    判断所述至少两个播放对象中是否有VIP播放对象,若有,则获得所述VIP播放对象的属性标签作为优先播放对象的属性标签,以及依据所述优先播放对象的属性标签确定优先播放数据流。Determine whether there is a VIP playback object among the at least two playback objects, and if so, obtain the attribute label of the VIP playback object as the attribute label of the priority playback object, and determine the priority playback data according to the attribute label of the priority playback object flow.
  17. 一种电子装置,其特征在于,包括:存储器、处理器以及存储在存储器中的程序,所述程序被配置成由处理器执行,处理器执行所述程序时实现:An electronic device is characterized by comprising: a memory, a processor and a program stored in the memory, the program is configured to be executed by the processor, and the processor realizes when the program is executed:
    如权利要求13或14所述的播放方法;或The playback method according to claim 13 or 14; or
    如权利要求15或16所述的播放方法。The playback method according to claim 15 or 16.
  18. 一种存储介质,所述存储介质存储有计算机程序,其特征在于,所述 计算机程序被处理器执行时实现:A storage medium storing a computer program, wherein the computer program is implemented when executed by a processor:
    如权利要求13或14所述的播放方法;或The playback method according to claim 13 or 14; or
    如权利要求15或16所述的播放方法。The playback method according to claim 15 or 16.
PCT/CN2018/110131 2018-10-12 2018-10-12 Playback method, electronic device and storage medium WO2020073331A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/110131 WO2020073331A1 (en) 2018-10-12 2018-10-12 Playback method, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/110131 WO2020073331A1 (en) 2018-10-12 2018-10-12 Playback method, electronic device and storage medium

Publications (1)

Publication Number Publication Date
WO2020073331A1 true WO2020073331A1 (en) 2020-04-16

Family

ID=70163727

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/110131 WO2020073331A1 (en) 2018-10-12 2018-10-12 Playback method, electronic device and storage medium

Country Status (1)

Country Link
WO (1) WO2020073331A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150363698A1 (en) * 2014-06-16 2015-12-17 International Business Machines Corporation Dynamic content delivery based on high-affinity viewer points
CN106982391A (en) * 2016-01-19 2017-07-25 中国移动通信集团公司 A kind of information-pushing method, terminal, server and system
CN108174298A (en) * 2018-03-05 2018-06-15 温州美渠传媒有限公司 Business tine playback method and device
CN108347651A (en) * 2017-01-24 2018-07-31 北京康得新创科技股份有限公司 Playback method, the apparatus and system of pushed information
CN108460622A (en) * 2018-01-30 2018-08-28 深圳冠思大数据服务有限公司 Interactive advertising system under a kind of line

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150363698A1 (en) * 2014-06-16 2015-12-17 International Business Machines Corporation Dynamic content delivery based on high-affinity viewer points
CN106982391A (en) * 2016-01-19 2017-07-25 中国移动通信集团公司 A kind of information-pushing method, terminal, server and system
CN108347651A (en) * 2017-01-24 2018-07-31 北京康得新创科技股份有限公司 Playback method, the apparatus and system of pushed information
CN108460622A (en) * 2018-01-30 2018-08-28 深圳冠思大数据服务有限公司 Interactive advertising system under a kind of line
CN108174298A (en) * 2018-03-05 2018-06-15 温州美渠传媒有限公司 Business tine playback method and device

Similar Documents

Publication Publication Date Title
US11580993B2 (en) Keyword determinations from conversational data
US10321173B2 (en) Determining user engagement with media content based on separate device usage
CN105120304B (en) Information display method, apparatus and system
US10474717B2 (en) Live video streaming services with machine-learning based highlight replays
US9451398B2 (en) Method and device for pushing information
US8442429B2 (en) System for providing audio messages on a mobile device
US8856375B2 (en) System and method for distributing media related to a location
CN104869467B (en) Information output method, device and system in media play
US20150100979A1 (en) System and method for creating contextual messages for videos
US10313482B2 (en) Method, device and system for providing services based on location information and terminal device thereon
US10699296B2 (en) Native video advertising with voice-based ad management and machine-to-machine ad bidding
US20100250348A1 (en) Platform or user sensitive advertising
CN102216945B (en) Networking with media fingerprints
CN110311959B (en) Method and device for message pushing and page updating and data processing system
US20160072466A1 (en) Information processing apparatus, control method, and non-transitory computer readable storage medium
CN110264268B (en) Advertisement putting device, method, equipment and storage medium thereof
US11210659B2 (en) Computing technologies for musical performances
WO2018059333A1 (en) Method, system, electronic device, and storage medium for processing media information
CN113469745A (en) Method and system for sharing advertising content from a primary device to a secondary device
CN109743615A (en) Data flow playback method, electronic equipment and storage medium
WO2020073331A1 (en) Playback method, electronic device and storage medium
CN109688439A (en) Playback method, electronic device and storage medium
KR20150030185A (en) Method, system and computer-readable recording medium for providing information based on content data
WO2020073332A1 (en) Data stream playback method, electronic device, and storage medium
WO2022022075A1 (en) Video processing method, living streaming processing method, live streaming system, electronic device, terminal, and medium

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 24/08/2021)

122 Ep: pct application non-entry in european phase

Ref document number: 18936770

Country of ref document: EP

Kind code of ref document: A1