CN112235609A - Content item data playing method and device, computer equipment and storage medium - Google Patents

Content item data playing method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN112235609A
CN112235609A CN201910639902.2A CN201910639902A CN112235609A CN 112235609 A CN112235609 A CN 112235609A CN 201910639902 A CN201910639902 A CN 201910639902A CN 112235609 A CN112235609 A CN 112235609A
Authority
CN
China
Prior art keywords
content item
item data
target
playing
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910639902.2A
Other languages
Chinese (zh)
Other versions
CN112235609B (en
Inventor
章飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Beijing Co Ltd
Original Assignee
Tencent Technology Beijing Co Ltd
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 Tencent Technology Beijing Co Ltd filed Critical Tencent Technology Beijing Co Ltd
Priority to CN201910639902.2A priority Critical patent/CN112235609B/en
Publication of CN112235609A publication Critical patent/CN112235609A/en
Application granted granted Critical
Publication of CN112235609B publication Critical patent/CN112235609B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25808Management of client data
    • H04N21/25841Management of client data involving the geographical location of the client
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25866Management of end-user data
    • H04N21/25891Management of end-user data being end-user preferences
    • 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/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47217End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for controlling playback functions for recorded or on-demand content, e.g. using progress bars, mode or play-point indicators or bookmarks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/643Communication protocols

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Graphics (AREA)
  • Human Computer Interaction (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a content item data playing method and device, computer equipment and a storage medium, and belongs to the technical field of networks. According to the method and the device, the terminal sends the acquisition request to the server based on the current geographic position, the server can acquire the target content item data based on the geographic position and send the target content item data to the terminal, the target content item data is the content item data provided by the target user of which the distance between the target content item data and the current geographic position meets the target distance condition, so that the content item data of the target user in a short distance range is accurately screened out, when the playing state of any video stream played by the terminal meets the target playing condition, the terminal plays the target content item data, so that the content item data of nearby users are accurately pushed to the first user, the conversion rate of converting the target content item data into effective content item data is improved, and the actual playing efficiency of the content item data in the video playing process is improved.

Description

Content item data playing method and device, computer equipment and storage medium
Technical Field
The present invention relates to the field of network technologies, and in particular, to a method and an apparatus for playing content item data, a computer device, and a storage medium.
Background
With the rapid development of network technology, a user can watch videos in a network on a smart television through a television box, for example, the user selects a movie on a video application on the smart television for watching. The smart television can also push content item data to the user when playing videos, wherein the content item data refers to data representing specified content, for example, advertisement videos of specified commodities.
In the related art, the content item data playing process may include: and the user selects the target video to be played, and the intelligent television can pull the video stream corresponding to the target video from the server in real time to play. The server can also randomly push advertisement videos to the intelligent television, and the intelligent television can insert the received advertisement videos in real time in the playing process.
In the method, the server actually randomly pushes the advertisement video, however, the user may not be interested in the pushed advertisement video, and this pushing is an invalid pushing, so that a large number of pushing opportunities are wasted, the conversion rate of the advertisement video into the valid advertisement video is low, and the actual efficiency of pushing the content item data during the video playing is low.
Disclosure of Invention
The embodiment of the invention provides a content item data playing method, a content item data playing device, computer equipment and a storage medium, which can solve the problem of low actual efficiency of content item data pushing during video playing. The technical scheme is as follows:
in one aspect, a method for playing content item data is provided, the method comprising:
when a target application is started, sending an acquisition request to a server based on a current geographic position, wherein the acquisition request is used for indicating the server to return target content item data provided by a target user, the distance between which and the current geographic position meets a target distance condition, based on the current geographic position;
obtaining the target content item data based on the server;
monitoring the playing state of any video stream in the process of playing any video stream on the application interface of the target application;
and when the playing state of any video stream meets a target playing condition, playing the target content item data in a target area of the application interface.
In a possible implementation manner, the target playing condition includes: playing card pause, a buffering stage before playing is not started, playing is paused by being triggered, playing is finished or the duration of current playing is greater than at least one of the target threshold duration.
In a possible implementation manner, the process of obtaining the current geographic location includes any one of the following:
calling a target interface of a map application to obtain the current geographic position, wherein the target interface is used for providing a positioning function;
the method comprises the steps of obtaining an IP (Internet Protocol) address of a terminal, obtaining the current geographic position from an IP address positioning server based on the IP address of the terminal, and storing the corresponding relation between a plurality of IP addresses and the geographic position of equipment corresponding to each IP address by the IP address positioning server.
In one possible implementation, the target user is an independent individual or organization, and the target content item data of the target user is an image, animation, or video representing target content.
In another aspect, a method of playing content item data is provided, the method comprising:
when an acquisition request of a terminal is received, acquiring the current geographic position of the terminal;
determining target content item data from a content item data list according to the current geographic position, wherein the target content item data are content item data provided by a target user of which the distance between the target content item data and the current geographic position meets a target distance condition, and the content item data list comprises data identifications of a plurality of content item data and the geographic position of a second user corresponding to each content item data;
providing the target content item data to the terminal.
In one possible implementation, the first target condition is: the number of the included historical browsing videos is larger than a first threshold value or the browsing time of the included historical browsing videos is located in the period of the current time; the second target condition is: the transaction time of the included items is in the target time period, the number of included items is greater than the second threshold, or the transaction amount of the included items is greater than the third threshold.
In a possible implementation manner, the obtaining, when an obtaining request of a terminal is received, a current geographic location of the terminal includes:
when a first acquisition request is received, analyzing the current geographic position and a video browsing record of a first user of the terminal from the first acquisition request;
when a second acquisition request is received, analyzing the current geographic position and the current environment information from the second acquisition request;
when a third acquisition request is received, the current geographic position and the historical consumption record of the first user are analyzed from the third acquisition request.
In another aspect, there is provided a content item data playback apparatus, the apparatus including:
a sending module, configured to send, when a target application is started, an acquisition request to a server based on a current geographic location, where the acquisition request is used to instruct the server to return, based on the current geographic location, target content item data provided by a target user whose distance from the current geographic location meets a target distance condition;
an acquisition module for acquiring the target content item data based on the server;
the monitoring module is used for monitoring the playing state of any video stream in the process of playing any video stream on the application interface of the target application;
and the playing module is used for playing the target content item data in a target area of the application interface when the playing state of any video stream meets a target playing condition.
In a possible implementation manner, the sending module is further configured to:
acquiring the current geographic position and a video browsing record of a first user of the terminal, and sending a first acquisition request to the server based on the video browsing record and the current geographic position, wherein the first acquisition request is used for indicating the server to return target content item data which is provided by the target user and belongs to a target video category based on the current geographic position and the video browsing record;
acquiring the current geographic position and the current environment information, and sending a second acquisition request to the server based on the current geographic position and the current environment information, wherein the second acquisition request is used for indicating the server to return target content item data which is provided by the target user and corresponds to the environment information as the current environment information based on the current geographic position and the current environment information, and the current environment information comprises at least one of current weather, current season or current air quality level;
and obtaining the current geographical position and the historical consumption record of the first user, and sending a third obtaining request to the server based on the historical consumption record of the first user and the current geographical position, wherein the third obtaining request is used for indicating the server to return target content item data which is provided by the target user and corresponds to the target commodity type based on the geographical position and the historical consumption record.
In a possible implementation manner, the playing module is further configured to:
when the playing state of any video stream meets the target playing condition, stopping playing any video stream, playing the target content item data in the target area of the application interface, and when the playing of the target content item data is finished, continuing playing any video stream in the application interface;
and when the playing state of any video stream meets the target playing condition, synchronously playing the target content item data in the target area in the process of playing any video stream on the application interface.
In a possible implementation manner, the obtaining module is further configured to receive a plurality of index addresses and an arrangement order of a plurality of target content item data, where the index addresses are used to indicate storage addresses of corresponding target content item data, and the arrangement order is used to indicate how far and how close a target user providing the target content item data is from the current geographic location; and acquiring a plurality of target content item data from the content distribution server according to the plurality of index addresses.
In a possible implementation manner, the target playing condition includes: playing card pause, a buffering stage before playing is not started, playing is paused by being triggered, playing is finished or the duration of current playing is greater than at least one of the target threshold duration.
In a possible implementation manner, the obtaining module is further configured to:
calling a target interface of a map application to obtain the current geographic position, wherein the target interface is used for providing a positioning function;
and acquiring an IP address of a terminal, and acquiring the current geographical position from an IP address positioning server based on the IP address of the terminal, wherein the IP address positioning server stores the corresponding relation between a plurality of IP addresses and the geographical position of the equipment corresponding to each IP address.
In one possible implementation, the target user is an independent person or organization, and the target content item data of the second user is an image, animation, or video representing target content.
In another aspect, there is provided a content item data playback apparatus, the apparatus including:
the system comprises an acquisition module, a processing module and a display module, wherein the acquisition module is used for acquiring the current geographic position of a terminal when receiving an acquisition request of the terminal;
a determining module, configured to determine, according to the current geographic location, target content item data from a content item data list, where the target content item data is content item data provided by a target user whose distance from the current geographic location meets a target distance condition, and the content item data list includes data identifiers of a plurality of content item data and a geographic location where a second user corresponding to each content item data is located;
a providing module for providing the target content item data to the terminal.
In a possible implementation manner, the determining module is further configured to:
determining a plurality of first content item data provided by the target user from the content item data list according to the current geographic position, determining a target video type meeting a first target condition according to a video type to which a history browsing video belongs in a video browsing record of a first user of the terminal, and screening the target content item data belonging to the target video type from the plurality of first content item data;
determining the plurality of first content item data from the content item data list according to the current geographic position, and screening target content item data corresponding to current environmental information from the plurality of first content item data according to the corresponding relation between the content item data and the environmental information;
according to the current geographic position, determining the plurality of first content item data from the content item data list, according to the commodity type of the commodity in the historical consumption record of the first user, determining a target commodity type meeting a second target condition, and according to the corresponding relation between the content item data and the commodity type, screening out target content item data corresponding to the target commodity type from the plurality of first content item data.
In a possible implementation manner, the providing module is further configured to send, to the terminal, a plurality of index addresses and a plurality of arrangement orders of the target content item data, where each index address is used to indicate a storage path of the corresponding target content item data, and the arrangement orders are used to indicate how far and how close a target user providing the target content item data is from the current geographic location.
In one possible implementation, the first target condition is: the number of the included historical browsing videos is larger than a first threshold value or the browsing time of the included historical browsing videos is located in the period of the current time; the second target condition is: the transaction time of the included items is in the target time period, the number of included items is greater than the second threshold, or the transaction amount of the included items is greater than the third threshold.
In a possible implementation manner, the obtaining module is further configured to:
when a first acquisition request is received, analyzing the current geographic position and the video browsing record of the first user from the first acquisition request;
when a second acquisition request is received, analyzing the current geographic position and the current environment information from the second acquisition request;
when a third acquisition request is received, the current geographic position and the historical consumption record of the first user are analyzed from the third acquisition request.
In another aspect, a computer device is provided, which includes one or more processors and one or more memories having stored therein at least one instruction, which is loaded and executed by the one or more processors to implement the operations performed by the content item data playing method as described above.
In another aspect, a computer-readable storage medium is provided, in which at least one instruction is stored, and the at least one instruction is loaded and executed by a processor to implement the operations performed by the content item data playing method as described above.
The technical scheme provided by the embodiment of the invention has the beneficial effects that at least:
the method comprises the steps that a terminal sends an acquisition request to a server based on a current geographic position, the server can acquire target content item data based on the geographic position and sends the target content item data to the terminal, the target content item data are content item data provided by a target user of which the distance between the target content item data and the current geographic position meets a target distance condition, so that the content item data of the target user in a short distance range are accurately screened out, when the playing state of any video stream played by the terminal meets the target playing condition, the terminal plays the target content item data, so that the content item data of nearby users are accurately pushed to a first user, the conversion rate of converting the target content item data into effective content item data is improved, and the actual playing efficiency of the content item data in the video playing process is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic diagram of an implementation environment of a content item data playing method provided by an embodiment of the invention;
FIG. 2 is a flow chart of a method for playing content item data according to an embodiment of the present invention;
FIG. 3 is a flow chart illustrating playing of content item data according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a content item data playing interface according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of an actual display of a content item data playing interface provided by an embodiment of the present invention;
FIG. 6 is a flow chart illustrating playing of content item data according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a content item data playing apparatus according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a content item data playing apparatus according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a terminal according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of a server according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a schematic diagram of an implementation environment of a content item data playing method provided by an embodiment of the present invention, and referring to fig. 1, the implementation environment includes: the terminal 101 and the server 102, the terminal 101 is installed with a target application, the server 102 is a background server of the target application, and the terminal 101 can perform data interaction with the server 102 based on the target application.
The target application has a video playing function, for example, the target application may be a video application, in one possible scenario, the server 102 stores video resource files of the multiple videos, and the terminal 101 may obtain a video stream of any video from the server 102 and play any video stream in real time on an application interface of the target application. In one possible example, the terminal 101 may be a terminal of the first user, and the terminal 101 may display a plurality of video identifiers on an application interface of the target application, and any video may be a target video identifier selected by the first user from the plurality of video identifiers.
The server 102 may also store a content item data list including data identifications of content item data for a plurality of second users and a geographic location at which each second user is located. In one possible scenario, during playing of any of the video streams, the terminal 101 may further obtain target content item data of a target user from the server 102 based on a geographic location of the terminal 101, where the target user is a user that is not more than a target threshold distance away from the terminal 101.
In one possible example, the second user may be an independent individual or organization, for example, the second user may be a business, a community committee, a security campaign organization, a corporate enterprise, and so forth. The content item data is an image, animation, or video representing a specified content, which may be a specified commodity, a specified event, an event, or the like, and for example, the content item data may be a product promotion video of a company, a commodity promotion poster of a shop, a fire safety promotion video or poster of a safety promotion organization, a top page poster of a virtual shop in a shopping site, a community event poster promoted by a community committee, or the like. The target user may be a second user that is closer to the terminal 101 so that the terminal 101 may play nearby advertising videos, campaign videos, etc. to the first user.
The video playing application may be an independent application program, or a video playing plug-in installed in the independent application program, and the like. For example, a video playing plug-in installed in a browser. The terminal 101 may be a smart television, or the terminal 101 may also be a mobile phone terminal, a PAD (Portable Android Device) terminal, or a computer terminal. The server 102 may be a server, a server cluster composed of several servers, or a cloud computing server center. The embodiment of the present invention is not particularly limited to this.
Fig. 2 is a signaling interaction diagram of a content item data playing method according to an embodiment of the present invention. The embodiment of the invention is realized by the interaction of a terminal and a server, and referring to fig. 2, the method comprises the following steps:
201. when the target application is started, the terminal sends an acquisition request to the server based on the current geographic position.
In this embodiment of the present invention, the obtaining request is used to instruct the server to return, based on the current geographic location, target content item data provided by a target user whose distance from the current geographic location meets a target distance condition, where the target distance condition may be: the distance between the geographical position of the target user and the current geographical position of the terminal does not exceed the target threshold distance. The target threshold distance may be 15 kilometers, 60 kilometers, etc. In one possible example, where the target user is an independent individual or organization, the target content item data may be an image, animation, or video representing the target content, such as a flash animation, promotional poster, advertising video, or the like. The target content may be commodities of shops in an area around the current geographic location, activities of a community organization in which the current geographic location is located, promotional events of fire safety in an area in which the current geographic location is located, and the like.
The terminal may be a terminal of a first user, the first user may open the target application on the terminal, when the terminal receives an opening instruction, the terminal opens the target application, the terminal acquires the current geographic location, and sends an acquisition request to the server based on the geographic location. The acquisition request may carry the current geographic location. In a possible implementation manner, the first user may also log in a personal account on the target application, the terminal may further store a video browsing record of the first user, and the terminal may further send a retrieval request based on the video browsing record, so that the server may filter content item data for the terminal by combining the video browsing record and the geographic location. In another possible embodiment, the terminal may also send the fetch request based on environmental factors such as weather, season, etc., so that the server may filter the content item data for the terminal in relation to weather, season, and geographic location. In another possible implementation, the terminal may further send the obtaining request in combination with a history consumption record of the first user during the history consumption on the terminal. Accordingly, the present step may include the following three cases.
In a first case, the terminal sends the first acquisition request in combination with the video browsing record and the geographic location, and this step may be: when the target application is started, the terminal acquires the current geographic position and the video browsing record of the first user, and the terminal sends a first acquisition request to the server based on the video browsing record and the current geographic position.
The first acquisition request is used for instructing the server to return target content item data which is provided by the target user and belongs to a target video category based on the current geographic position and the video browsing record; the first obtaining request may carry the video browsing record and the current geographic location of the first user. The video browsing record may include video identifications of the historical videos browsed by the first user, and in addition, the video browsing record may further include a current time when each historical video is browsed by the first user, a browsing duration of each historical video browsed by the first user, and the like.
In one possible embodiment, the terminal has installed thereon an object interface of a mapping application for providing a positioning function. The terminal may obtain the geographic location based on a positioning function of the target interface. In another possible implementation, the terminal may further obtain the geographic location based on an IP (Internet Protocol) address of the terminal. Accordingly, the step of the terminal acquiring the geographical location may be implemented in the following two ways.
In the first mode, the terminal acquires the geographic position based on the positioning function of the target interface. And when the target application on the terminal is started, the terminal calls the target interface to obtain the current geographic position.
The process of the terminal calling the target interface of the terminal may be: the terminal executes the positioning logic corresponding to the target interface, and in the executing process, the terminal sends a first positioning request to a background server of the map application based on the positioning logic, the background server of the map application receives the first positioning request, acquires the current geographic position, sends the current geographic position to the terminal, and the terminal receives the current geographic position. In one possible example, the map application may be an application program that supports LBS (Location Based Service) Location functionality, and the target application may have the target interface configured therein. For example, the target interface may be a positioning interface including positioning logic, or a map SDK (Software Development Kit), or the like.
And secondly, the terminal acquires the geographic position based on the IP address. When the target application on the terminal is opened, the terminal acquires the IP address of the terminal, and the terminal acquires the geographic position of the terminal from the IP address positioning server based on the IP address of the terminal.
The IP address location server is configured to provide a location function based on an IP address, and in a possible example, the IP address location server may be a network operator server, the IP address location server stores a plurality of IP addresses and a geographic location where each IP address corresponds to a device, the terminal sends a second location request to the IP address location server based on the IP address of the terminal, the second location request carries the IP address of the terminal, the IP address location server receives the second location request, and the current geographic location is obtained from a corresponding relationship between the plurality of IP addresses and the geographic location based on the IP address of the terminal carried by the second location request. The IP address location server sends the current geographic location to the terminal, which receives the current geographic location.
In a second situation, the terminal sends a second acquisition request according to the environmental factors such as weather and season and the geographic position, and the step may be: when the target application is started, the terminal acquires the current geographic position and the current environment information, and the terminal can send a second acquisition request to the server based on the current geographic position and the current environment information.
The second acquisition request is used for indicating the server to return target content item data which is provided by the target user and corresponds to the environment information as the current environment information based on the current geographic position and the current environment information. Wherein, the second obtaining request may carry the current geographic location and the current environment information; the current environmental information includes at least one of a current weather, a season in which a current time is located, or a current level of air quality. For example, the current weather is sunny, the temperature is 35-39 ℃, the season is summer, and the current air quality grade is good; or the current weather is cloudy and has haze, the temperature is 5 ℃ below zero to 3 ℃, the season is winter, and the current air quality grade is moderate pollution and the like.
In a third case, if the terminal sends a third acquisition request in combination with the historical consumption record and the geographic location, this step may be: when the target application is started, the terminal acquires the current geographic position and the historical consumption record of the first user, and the terminal sends a third acquisition request to the server based on the historical consumption record of the first user and the current geographic position.
And the third acquisition request is used for instructing the server to return target content item data which is provided by the target user and corresponds to the commodity type as the target commodity type based on the geographic position and the historical consumption record. Wherein the third obtaining request carries the historical consumption record of the first user and the current geographic location. The historical consumption record is a record of the first user when the first user performs consumption on the terminal, the historical consumption record is a commodity identifier which can include historical consumption commodities of the first user, and of course, the historical consumption record can also include transaction amount, transaction time and the like of the historical consumption commodities.
It should be noted that, for the second case and the third case, the process of the terminal acquiring the current geographic location may also be performed in two ways in the first case, which is the same as the first case, and is not described herein again.
202. And when receiving an acquisition request of the terminal, the server acquires the current geographic position of the terminal.
When the server receives the acquisition request, the server may extract the current geographic location from the acquisition request. In one possible example, the geographic location may be represented using location coordinates corresponding to a map, such as latitude and longitude coordinates or geographic coordinates in a geodetic coordinate system.
In a possible implementation, based on the three cases in step 201, this step may also include three cases: when the server receives a first acquisition request of the terminal, the server can analyze the current geographic position and the video browsing record of the first user from the first acquisition request; when the server receives a second acquisition request of the terminal, the server can analyze the current geographic position and the current environment information from the second acquisition request; when the server receives a third acquisition request of the terminal, the server can analyze the current geographic position and the historical consumption record of the first user from the third acquisition request.
203. The server determines target content item data from the content item data list according to the current geographic location.
The target content item data is content item data of a target user, the distance between the target user and the terminal does not exceed a target threshold distance, and the content item data list comprises data identifications of a plurality of content item data and a geographic position where a second user corresponding to each content item data is located. The terminal may filter out the target data identifier of the target content item data from the data identifiers of the plurality of content item data included in the content item data list according to the geographic location. The server may retrieve the target content item data based on the target data identification.
In a possible implementation, the number of the target content item data may be one or more, and when the number of the target content item data is multiple, the server may further sort the multiple target content item data, and an arrangement order of the multiple target content item data is used to indicate a distance from the current geographic location, for example, the target content item data may be arranged in a descending order according to a distance between the terminal and a second user corresponding to each target content item data, and the closer the arrangement order of the target content item data is, the closer the second user is to the terminal. It should be noted that the server may obtain and store content item data of a plurality of second users in advance, and each content item data corresponds to a geographic location where the second user is located, and store a correspondence between the data identifier and the geographic location in the content item data list.
In the embodiment of the present invention, the server may filter the target content item data based on the video browsing record and the current geographic location in the first acquisition request, or the server may filter the target content item data based on the current environmental information and the current geographic location in the second acquisition request, or the server may filter the target content item data based on the historical consumption record and the current geographic location in the third acquisition request, and accordingly, this step may include the following three cases.
In the first case, the server determines a plurality of first content item data from the content item data list according to the current geographic location, determines a target video type meeting a first target condition according to the video type to which the video in the video browsing record of the first user belongs, and screens out the target content item data belonging to the target video type from the plurality of first content item data.
Wherein the first target condition may be: the number of the included history browsing videos is larger than a first threshold value or the browsing time of the included history browsing videos is in the period of the current time, and the like. For example, the first threshold may be 10; for example, the server may divide each day into a plurality of time periods, e.g., the current time may be 12:05 am and the current time may be between 11:00 am and 13:00 pm. For example, if the first user browses more than 10 times in the history browsing videos, the server may sift out target content item data of a plurality of game classes from the first content item data. As another example, the first user may often be a video of the sports program type 11:00 am to 13:00 pm, the server may target content item data for an advertising video of a sports brand.
In this step, the server may filter out, according to the current geographic position, a plurality of first content item data provided by a target user whose distance from the current geographic position meets a target distance condition from a plurality of content item data included in the content item data list. In a possible implementation manner, the server may count the number of the historically viewed videos included in each video type according to the video types to which the historically viewed videos included in the video browsing record belong, and determine a plurality of target video types in which the number of the included historically viewed videos is greater than a first threshold. Of course, the server may also count browsing time of the historical browsing videos included in each video type according to the video types to which the historical browsing videos included in the video browsing record belong, and determine a plurality of target video types in which the browsing time of the included historical browsing videos is located in a period of time in which the current time is.
In one possible example, the content item data list may also have stored therein a correspondence of a data identification of each content item data and a content item type to which each content item data belongs. The server may obtain a plurality of target data identifications corresponding to the plurality of target video types from the correspondence between the data identifications included in the content item data list and the content item types according to the plurality of target video types. The plurality of data identifications are indicative of the plurality of target content item data.
It should be noted that the server may screen out a plurality of first content item data of a plurality of second users located near the terminal based on the geographic location, for example, when the content item data is an advertisement, an advertisement may be more accurately delivered to a surrounding crowd of the second users, because the content item data recommended to the first user is the content item data of the user located near the terminal, the interest level of the first user in the content carried by the content item data may be increased, and the conversion rate of converting the content item data into effective content item data may be increased by accurately recommending the content item data. In addition, the server can also screen out a target video type with more browsing times of the user or a target video type frequently browsed by the user in the time period of the current time from the plurality of first content item data according to the historical browsing record of the second user, so that the content item data which are more interesting to the first user are selected with higher probability, and the accuracy of determining the target content item data is improved.
In the second case, the server determines at least one first content item data from the content item data list according to the current geographic location, and the server screens out target content item data corresponding to the current environmental information from the plurality of first content item data according to the corresponding relationship between the content item data and the environmental information.
In a possible implementation manner, the server may further store environment information corresponding to each content item data, for example, the environment information corresponding to the down jacket is winter, rain and snow weather; the environmental information corresponding to the sunscreen skin care product is summer, sunny days and the like; the environmental information that prevents that the haze gauze mask corresponds is winter, haze weather, the grade of air quality is moderate pollution etc.. In one possible example, the content item data list may also have stored therein a correspondence between the data identification of each content item data and the environment information of each content item data. The server may obtain, according to the current environment information, a plurality of target data identifiers corresponding to the current environment information from the correspondence between the data identifiers and the environment information included in the content item data list. The plurality of data identifications are indicative of the plurality of target content item data.
It should be noted that the server may screen out a plurality of first content item data of a plurality of second users located near the terminal based on the geographic location, and screen out target content item data conforming to the current environment information from the plurality of first content item data according to the current environment information, for example, an anti-haze mask advertisement video conforming to the current haze weather, a sunscreen skin care product advertisement video conforming to the current summer hot weather, and the like, so that not only content item data relatively interested by the first user can be selected out more frequently, but also the user consumption demand may be stimulated based on the current environment, for example, the user is interested in goods in the advertisement video and further purchases the goods, thereby improving the accuracy of determining the target content item data, and improving the conversion rate of converting the subsequent content item data into effective content item data.
And under the third condition, the server determines a plurality of first content item data from the content item data list according to the current geographic position, determines a target commodity type meeting a second target condition according to the commodity type of the commodity in the historical consumption record of the first user, and screens out target content item data corresponding to the target commodity type from the plurality of first content item data according to the corresponding relation between the content item data and the commodity type.
The second target condition may be: the transaction time of the included goods is in the target period, the number of the included goods is greater than the second threshold value or the transaction amount of the included goods is greater than the third threshold value, etc. For example, the target period may be less than one month, one week, etc. from the current time; for example, the number of included items is greater than 5, for example, the transaction amount of the included items is greater than 1000, and so on. In one possible example, the content item data list may further store a correspondence between the data identification of each content item data and the commodity type corresponding to each content item data. The server may obtain a plurality of target data identifications corresponding to a plurality of target commodity types from the correspondence between the data identifications included in the content item data list and the commodity types according to the plurality of target commodity types. The plurality of data identifications are indicative of the plurality of target content item data.
In a possible implementation manner, when the number of the target content item data is multiple, the server may further sort the multiple target content item data based on the video type to which the target content item data belongs, the commodity type or the geographic location to which the target content item data corresponds, and in a possible example, when multiple distances between target users of the multiple target content item data and the current geographic location are equal, the terminal may further filter the multiple target content item data based on multiple target video types to which the multiple target content item data belongs, for example, the terminal may sort the multiple target content item data according to the number of history browsing videos included in the multiple target video types.
It should be noted that, the server may filter out a plurality of first content item data based on the geographic location, and then implement accurate recommendation of the content item data based on the geographic location. Moreover, the server can also screen out target content item data of corresponding consumer goods which are more in line with the consumption habits of the users from the plurality of first content item data based on the historical consumption records of the first users, so that the accuracy of accurate recommendation of the content item data is further improved from the consumption habit perspective, and the conversion rate of converting the subsequent content item data into effective content item data is further improved.
204. The server provides the target content item data to the terminal.
In a possible implementation manner, the server may obtain the plurality of target content item data according to the plurality of target data identifications, and send the plurality of target content item data to the terminal. When the number of the target content item data is plural, the server may further transmit an arrangement order of the plural target content item data to the terminal.
In another possible implementation, the server may also implement the sending process of the target Content item data based on a CDN (Content Delivery Network). In one possible example, the CDN network includes a plurality of content distribution servers, where the content distribution servers are respectively located in a plurality of geographic areas, and the server may integrate and classify the plurality of content item data according to a geographic area where a second user of each content item data is located, so as to send the content item data to a content distribution service in a corresponding location for storage, where the process may include: the server may send content item data of the second user belonging to a geographical area to the content distribution servers within the geographical area according to the geographical area in which each content distribution server is located, the server storing an index address of each content item data, the index address indicating a storage path of the corresponding content item data. For example, the index address of each content item data may include an IP address of a content distribution server and a storage path on the content distribution server. This step may include: the server can obtain a plurality of index addresses corresponding to the target data identifications according to the target data identifications, and the server sends the index addresses to the terminal.
It should be noted that, with the flow shown in fig. 3, the execution steps on the server are described, as shown in fig. 3, the server may retrieve content item data for a plurality of second users, and based on the geographical locations of the plurality of second users, the plurality of content item data are integrated and categorized so that the content item data of the second user located in the geographical area are transmitted to the content distribution servers in the geographical area according to the geographical area in which each content distribution server is located, and when the server receives an acquisition request from the terminal, an index address corresponding to the target data identification may be sent to the terminal based on the current geographic location, so that the terminal can successfully acquire the target content item data from the content distribution server near the terminal based on the index address, and the nearby push of the content item data is realized.
205. The terminal acquires the target content item data based on the server.
There may be one or more of the target content item data. In one possible implementation, the terminal may receive the target content item data sent by the server. In another possible embodiment, the terminal receives a plurality of index addresses sent by the server, and acquires a plurality of target content item data from a plurality of content distribution servers according to the plurality of index addresses. In a possible implementation, the terminal may further receive an arrangement order of the plurality of target content item data transmitted by the server.
It should be noted that, the server allocates the content item data to the content distribution server in the corresponding location area for storage according to the geographic location of the second user of the content item data, so that the terminal can also obtain the target content item data from the content distribution server closer to the terminal based on the index address, thereby increasing the speed of obtaining the target content item data by the terminal and further increasing the data interaction efficiency between the terminal and the server.
206. And monitoring the playing state of any video stream by the terminal in the process of playing any video stream on the application interface of the target application.
In the embodiment of the invention, the first user can trigger the terminal to play any video on the application interface, and the terminal can detect the playing state of any video stream in real time in the playing process. The play state includes but is not limited to: whether the video stream starts playing, the current playing time length of the video stream, whether the video stream is currently stuck, whether the video stream finishes playing, whether the video stream is triggered to pause playing and the like.
207. And when the playing state of any video stream meets the target playing condition, the terminal plays the target content item data in the target area of the application interface.
The target play condition may include, but is not limited to: playing is blocked, a buffering stage before playing is not started, playing is triggered to be paused, playing is finished, or the current playing time length is longer than a target threshold time length, and the like.
In a possible implementation manner, the terminal may switch the any video stream to a target content item data for playing, where the target area may be a partial area or a whole area in the application interface, and this step may include: when the playing state of any video stream meets the target playing condition, the terminal can stop playing any video stream, the target content item data is played in the target area of the application interface, and when the playing of the target content item data is finished, the terminal can continue playing any video stream in the application interface. For example, when the any video stream is played in a pause state, the current playing time length is greater than the target threshold time length, the terminal is triggered to pause playing, or in a buffering stage, the terminal can switch the any video stream to the target content item data for playing.
In another possible implementation, the terminal may play the target content item data synchronously during playing any video stream, and the target area may be a partial area in the application interface, for example, a lower right corner area in the application interface. This step may include: when the playing state of any video stream meets the target playing condition, the terminal synchronously plays the target content item data in the target area in the process of playing any video stream on the application interface. For example, when any video stream starts playing or the current playing time length is longer than the target threshold value, the terminal may play the target content item data in the target area synchronously while playing any video on the application interface.
In one possible embodiment, when the number of the target content item data is plural, the terminal may play the plural target content item data in plural times, one at a time. The terminal may also play according to the arrangement order of the multiple target content item data, for example, when the playing state of any video stream reaches the target playing condition, the terminal may further obtain the target content item data to be played currently from the multiple target content item data according to the arrangement order of the multiple target content item data to play.
In one possible implementation, the target content item data may be a video, image, animation, or the like. In one possible example, the target content item data includes at least an image, which may include a target link therein, which may be a website link or a code in a target format, which may be a two-dimensional code, a barcode, or the like. The target link is used for linking a target website of the target user, a target social page of the target user on a social application, a target shopping page of the target user on the target shopping application, or a live page of the target user on a video application. For example, a fire safety website of a security promotion organization, a virtual store shopping page hosted on a shopping application, a campaign webpage promoted by a community committee, or a campaign promotion page on a social application, etc.
For example, as shown in fig. 4, when the first user pauses playing the video stream, the terminal may play an advertisement image in a central area of the application interface, and the terminal may further display a two-dimensional code in a lower left area of the advertisement image, so that the first user may conveniently view detailed information of the corresponding advertisement on the terminal, and the target user is closer to the terminal, thereby further improving a probability of triggering the first user to reach a location where the target user is located at any time for consumption, and thus improving a conversion rate of the content item data. As shown in fig. 5, fig. 5 is a schematic diagram of an actual interface display of the application interface in fig. 4, and an actual display form of the content item data during playing can be more clearly known from fig. 5.
It should be noted that, the process executed by the terminal is described with the flow shown in fig. 6, as shown in fig. 6, the terminal may obtain the current geographic location, and may also obtain a video browsing record, current environment information, or a historical consumption record, and the like, based on the obtained information, send an obtaining request to the server, and obtain the target content item data from the server, when the server plays any video stream, and when a target playing condition is reached, play the target content item data, and implement accurate pushing of the content item data.
The method provided by the embodiment of the invention sends the acquisition request to the server through the terminal based on the current geographic position, the server can acquire the target content item data based on the geographic position and send the target content item data to the terminal, since the target content item data is content item data provided by a target user whose distance to the current geographic location meets a target distance condition, therefore, the content item data of the target user in a close range can be accurately screened out, when the playing state of any video stream played by the terminal meets the target playing condition, the terminal plays the target content item data, so that nearby content item data is accurately pushed to the first user, the conversion rate of converting the target content item data into effective content item data is improved, and the actual playing efficiency of the content item data in the video playing process is improved.
Fig. 7 is a schematic structural diagram of a content item data playing apparatus according to an embodiment of the present invention. Referring to fig. 7, the apparatus includes:
a sending module 701, configured to send, when a target application is started, an acquisition request to a server based on a current geographic location, where the acquisition request is used to instruct the server to return, based on the current geographic location, target content item data provided by a target user whose distance from the current geographic location meets a target distance condition;
an obtaining module 702, configured to obtain the target content item data based on the server;
the monitoring module 703 is configured to monitor a playing state of any video stream during playing of the video stream on the application interface of the target application;
a playing module 704, configured to play the target content item data in the target area of the application interface when the playing status of any video stream satisfies the target playing condition.
In a possible implementation manner, the sending module 701 is further configured to:
acquiring the current geographic position and a video browsing record of a first user of the terminal, and sending a first acquisition request to the server based on the video browsing record and the current geographic position, wherein the first acquisition request is used for indicating the server to return target content item data which is provided by the target user and belongs to a target video category based on the current geographic position and the video browsing record;
acquiring the current geographical location and the current environment information, and sending a second acquisition request to the server based on the current geographical location and the current environment information, wherein the second acquisition request is used for indicating the server to return target content item data which is provided by the target user and corresponds to the environment information as the current environment information based on the current geographical location and the current environment information, and the current environment information comprises at least one of current weather, current season or current air quality grade;
and obtaining the current geographical position and the historical consumption record of the first user, and sending a third obtaining request to the server based on the historical consumption record of the first user and the current geographical position, wherein the third obtaining request is used for indicating the server to return target content item data which is provided by the target user and corresponds to the commodity type as the target commodity type based on the geographical position and the historical consumption record.
In a possible implementation manner, the playing module 704 is further configured to:
when the playing state of any video stream meets the target playing condition, stopping playing any video stream, playing the target content item data in the target area of the application interface, and when the playing of the target content item data is finished, continuing playing any video stream in the application interface;
and when the playing state of any video stream meets the target playing condition, synchronously playing the target content item data in the target area in the process of playing any video stream on the application interface.
In a possible implementation manner, the obtaining module 702 is further configured to receive a plurality of index addresses and an arrangement order of a plurality of target content item data, where the index addresses are used to indicate storage addresses of corresponding target content item data, and the arrangement order is used to indicate how far and how close a target user providing the target content item data is from the current geographic location; a plurality of target content item data is acquired from the content distribution server based on the plurality of index addresses.
In one possible implementation, the target playing condition includes: playing card pause, a buffering stage before playing is not started, playing is paused by being triggered, playing is finished or the duration of current playing is greater than at least one of the target threshold duration.
In a possible implementation manner, the obtaining module 702 is further configured to:
calling a target interface of the map application to obtain the current geographic position, wherein the target interface is used for providing a positioning function;
and acquiring the IP address of the terminal, and acquiring the current geographic position from an IP address positioning server based on the IP address of the terminal, wherein the IP address positioning server stores the corresponding relation between a plurality of IP addresses and the geographic position of the equipment corresponding to each IP address.
In one possible implementation, the target user is an independent individual or organization, and the target content item data of the second user is an image, animation, or video representing the target content.
In the embodiment of the invention, the terminal sends the acquisition request to the server based on the current geographic position, the server can acquire target content item data based on the geographic position and send the target content item data to the terminal, because the target content item data is the content item data provided by the target user of which the distance between the target content item data and the current geographic position meets the target distance condition, the content item data of the target user in a short distance range is accurately screened out, and when the playing state of any video stream played by the terminal meets the target playing condition, the terminal plays the target content item data, so that the content item data of nearby users is accurately pushed to the first user, the conversion rate of converting the target content item data into effective content item data is improved, and the actual playing efficiency of the content item data in the video playing process is improved.
Fig. 8 is a schematic structural diagram of a content item data playing apparatus according to an embodiment of the present invention. Referring to fig. 8, the apparatus includes:
an obtaining module 801, configured to obtain a current geographic location of a terminal when an obtaining request of the terminal is received;
a determining module 802, configured to determine, according to the current geographic location, target content item data from a content item data list, where the target content item data is content item data provided by a target user whose distance from the current geographic location meets a target distance condition, and the content item data list includes data identifiers of a plurality of content item data and a geographic location where a second user corresponding to each content item data is located;
a providing module 803, configured to provide the target content item data to the terminal.
In a possible implementation, the determining module 802 is further configured to:
according to the current geographic position, determining a plurality of first content item data provided by the target user from the content item data list, according to the video type of the historical browsing video in the video browsing record of the first user of the terminal, determining the target video type meeting a first target condition, and screening the target content item data belonging to the target video type from the plurality of first content item data;
according to the current geographic position, determining the plurality of first content item data from the content item data list, and screening target content item data corresponding to the current environmental information from the plurality of first content item data according to the corresponding relation between the content item data and the environmental information;
according to the current geographical position, determining the plurality of first content item data from the content item data list, according to the commodity type to which the commodity belongs in the historical consumption record of the first user, determining a target commodity type meeting a second target condition, and according to the corresponding relation between the content item data and the commodity type, screening target content item data corresponding to the target commodity type from the plurality of first content item data.
In a possible implementation manner, the providing module 803 is further configured to send, to the terminal, a plurality of index addresses and an arrangement order of a plurality of target content item data, where each index address is used to indicate a storage path of corresponding target content item data, and the arrangement order is used to indicate how far and how close a target user providing the target content item data is from the current geographic location.
In one possible implementation, the first target condition is: the number of the included historical browsing videos is larger than a first threshold value or the browsing time of the included historical browsing videos is located in the period of the current time; the second target condition is: the transaction time of the included items is in the target time period, the number of included items is greater than the second threshold, or the transaction amount of the included items is greater than the third threshold.
In a possible implementation manner, the obtaining module 801 is further configured to:
when a first acquisition request is received, analyzing the current geographic position and the video browsing record of the first user from the first acquisition request;
when a second acquisition request is received, analyzing the current geographic position and the current environment information from the second acquisition request;
when a third acquisition request is received, the current geographic position and the historical consumption record of the first user are analyzed from the third acquisition request.
In the embodiment of the invention, the target content item data is acquired through the server based on the geographic position and is sent to the terminal, and the target content item data is provided by the target user of which the distance from the current geographic position meets the target distance condition, so that the content item data of the target user in a short distance range is accurately screened out, the terminal can play the target content item data, the content item data of nearby users is accurately pushed to the first user, the conversion rate of converting the target content item data into effective content item data is improved, and the actual playing efficiency of the content item data in the video playing process is improved.
All the above optional technical solutions may be combined arbitrarily to form the optional embodiments of the present disclosure, and are not described herein again.
It should be noted that: the content item data playing apparatus provided in the above embodiment is only illustrated by the division of the above functional modules when playing the content item data, and in practical applications, the above functions may be distributed by different functional modules according to needs, that is, the internal structure of the computer device is divided into different functional modules to complete all or part of the above described functions. In addition, the content item data playing apparatus and the content item data playing method provided in the foregoing embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments for details, and are not described herein again.
Fig. 9 is a schematic structural diagram of a terminal according to an embodiment of the present invention. The terminal 900 may be: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, motion video Experts compression standard Audio Layer 3), an MP4 player (Moving Picture Experts Group Audio Layer IV, motion video Experts compression standard Audio Layer 4), a notebook computer, or a desktop computer. Terminal 900 may also be referred to by other names such as user equipment, portable terminals, laptop terminals, desktop terminals, and the like.
In general, terminal 900 includes: a processor 901 and a memory 902.
Processor 901 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so forth. The processor 901 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 901 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 901 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the display screen. In some embodiments, the processor 901 may further include an AI (Artificial Intelligence) processor for processing computing operations related to machine learning.
Memory 902 may include one or more computer-readable storage media, which may be non-transitory. The memory 902 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in the memory 902 is used to store at least one instruction for execution by the processor 901 to implement the content item data playback method provided by the method embodiments in the present application.
In some embodiments, terminal 900 can also optionally include: a peripheral interface 903 and at least one peripheral. The processor 901, memory 902, and peripheral interface 903 may be connected by buses or signal lines. Various peripheral devices may be connected to the peripheral interface 903 via a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 904, a touch display screen 905, a camera 906, an audio circuit 907, a positioning component 908, and a power supply 909.
The peripheral interface 903 may be used to connect at least one peripheral related to I/O (Input/Output) to the processor 901 and the memory 902. In some embodiments, the processor 901, memory 902, and peripheral interface 903 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 901, the memory 902 and the peripheral interface 903 may be implemented on a separate chip or circuit board, which is not limited by this embodiment.
The Radio Frequency circuit 904 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 904 communicates with communication networks and other communication devices via electromagnetic signals. The radio frequency circuit 904 converts an electrical signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 904 comprises: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuit 904 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: metropolitan area networks, various generation mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the radio frequency circuit 904 may also include NFC (Near Field Communication) related circuits, which are not limited in this application.
The display screen 905 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 905 is a touch display screen, the display screen 905 also has the ability to capture touch signals on or over the surface of the display screen 905. The touch signal may be input to the processor 901 as a control signal for processing. At this point, the display 905 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display 905 may be one, providing the front panel of the terminal 900; in other embodiments, the number of the display panels 905 may be at least two, and each of the display panels is disposed on a different surface of the terminal 900 or is in a foldable design; in still other embodiments, the display 905 may be a flexible display disposed on a curved surface or a folded surface of the terminal 900. Even more, the display screen 905 may be arranged in a non-rectangular irregular figure, i.e. a shaped screen. The Display panel 905 can be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), and other materials.
The camera assembly 906 is used to capture images or video. Optionally, camera assembly 906 includes a front camera and a rear camera. Generally, a front camera is disposed at a front panel of the terminal, and a rear camera is disposed at a rear surface of the terminal. In some embodiments, the number of the rear cameras is at least two, and each rear camera is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and VR (Virtual Reality) shooting functions or other fusion shooting functions. In some embodiments, camera assembly 906 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
Audio circuit 907 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 901 for processing, or inputting the electric signals to the radio frequency circuit 904 for realizing voice communication. For stereo sound acquisition or noise reduction purposes, the microphones may be multiple and disposed at different locations of the terminal 900. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from the processor 901 or the radio frequency circuit 904 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, audio circuit 907 may also include a headphone jack.
The positioning component 908 is used to locate the current geographic Location of the terminal 900 for navigation or LBS (Location Based Service). The Positioning component 908 may be a Positioning component based on the GPS (Global Positioning System) in the united states, the beidou System in china, the graves System in russia, or the galileo System in the european union.
Power supply 909 is used to provide power to the various components in terminal 900. The power source 909 may be alternating current, direct current, disposable or rechargeable. When power source 909 comprises a rechargeable battery, the rechargeable battery may support wired or wireless charging. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, terminal 900 can also include one or more sensors 910. The one or more sensors 910 include, but are not limited to: acceleration sensor 911, gyro sensor 912, pressure sensor 913, fingerprint sensor 914, optical sensor 915, and proximity sensor 916.
The acceleration sensor 911 can detect the magnitude of acceleration in three coordinate axes of the coordinate system established with the terminal 900. For example, the acceleration sensor 911 may be used to detect the components of the gravitational acceleration in three coordinate axes. The processor 901 can control the touch display 905 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 911. The acceleration sensor 911 may also be used for acquisition of motion data of a game or a user.
The gyro sensor 912 may detect a body direction and a rotation angle of the terminal 900, and the gyro sensor 912 may cooperate with the acceleration sensor 911 to acquire a 3D motion of the user on the terminal 900. The processor 901 can implement the following functions according to the data collected by the gyro sensor 912: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
Pressure sensors 913 may be disposed on the side bezel of terminal 900 and/or underneath touch display 905. When the pressure sensor 913 is disposed on the side frame of the terminal 900, the user's holding signal of the terminal 900 may be detected, and the processor 901 performs left-right hand recognition or shortcut operation according to the holding signal collected by the pressure sensor 913. When the pressure sensor 913 is disposed at a lower layer of the touch display 905, the processor 901 controls the operability control on the UI interface according to the pressure operation of the user on the touch display 905. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.
The fingerprint sensor 914 is used for collecting a fingerprint of the user, and the processor 901 identifies the user according to the fingerprint collected by the fingerprint sensor 914, or the fingerprint sensor 914 identifies the user according to the collected fingerprint. Upon recognizing that the user's identity is a trusted identity, processor 901 authorizes the user to perform relevant sensitive operations including unlocking the screen, viewing encrypted information, downloading software, paying, and changing settings, etc. The fingerprint sensor 914 may be disposed on the front, back, or side of the terminal 900. When a physical key or vendor Logo is provided on the terminal 900, the fingerprint sensor 914 may be integrated with the physical key or vendor Logo.
The optical sensor 915 is used to collect ambient light intensity. In one embodiment, the processor 901 may control the display brightness of the touch display 905 based on the ambient light intensity collected by the optical sensor 915. Specifically, when the ambient light intensity is high, the display brightness of the touch display screen 905 is increased; when the ambient light intensity is low, the display brightness of the touch display screen 905 is turned down. In another embodiment, the processor 901 can also dynamically adjust the shooting parameters of the camera assembly 906 according to the ambient light intensity collected by the optical sensor 915.
Proximity sensor 916, also known as a distance sensor, is typically disposed on the front panel of terminal 900. The proximity sensor 916 is used to collect the distance between the user and the front face of the terminal 900. In one embodiment, when the proximity sensor 916 detects that the distance between the user and the front face of the terminal 900 gradually decreases, the processor 901 controls the touch display 905 to switch from the bright screen state to the dark screen state; when the proximity sensor 916 detects that the distance between the user and the front surface of the terminal 900 gradually becomes larger, the processor 901 controls the touch display 905 to switch from the breath screen state to the bright screen state.
Those skilled in the art will appreciate that the configuration shown in fig. 9 does not constitute a limitation of terminal 900, and may include more or fewer components than those shown, or may combine certain components, or may employ a different arrangement of components.
Fig. 10 is a schematic structural diagram of a server according to an embodiment of the present invention, where the server 1000 may generate relatively large differences due to different configurations or performances, and may include one or more processors (CPUs) 1001 and one or more memories 1002, where the memory 1002 stores at least one instruction, and the at least one instruction is loaded and executed by the processors 1001 to implement the content item data playing method provided by the above-mentioned method embodiments. Of course, the server may also have components such as a wired or wireless network interface, a keyboard, and an input/output interface, so as to perform input/output, and the server may also include other components for implementing the functions of the device, which are not described herein again.
In an exemplary embodiment, a computer-readable storage medium, such as a memory, is also provided that includes instructions executable by a processor in a computer device to perform the content item data playback method in the above-described embodiments. For example, the computer-readable storage medium may be a ROM (Read-Only Memory), a RAM (random access Memory), a CD-ROM (Compact Disc Read-Only Memory), a magnetic tape, a floppy disk, an optical data storage device, and the like.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (10)

1. A method of playing content item data, the method comprising:
when a target application is started, sending an acquisition request to a server based on a current geographic position, wherein the acquisition request is used for indicating the server to return target content item data provided by a target user, the distance between which and the current geographic position meets a target distance condition, based on the current geographic position;
obtaining the target content item data based on the server;
monitoring the playing state of any video stream in the process of playing any video stream on the application interface of the target application;
and when the playing state of any video stream meets a target playing condition, playing the target content item data in a target area of the application interface.
2. The method according to claim 1, wherein sending a fetch request to the server based on the current geographic location when the target application is started comprises any one of:
acquiring the current geographic position and a video browsing record of a first user of the terminal, and sending a first acquisition request to the server based on the video browsing record and the current geographic position, wherein the first acquisition request is used for indicating the server to return target content item data which is provided by the target user and belongs to a target video category based on the current geographic position and the video browsing record;
acquiring the current geographic position and the current environment information, and sending a second acquisition request to the server based on the current geographic position and the current environment information, wherein the second acquisition request is used for indicating the server to return target content item data which is provided by the target user and corresponds to the environment information as the current environment information based on the current geographic position and the current environment information, and the current environment information comprises at least one of current weather, current season or current air quality level;
and obtaining the current geographical position and the historical consumption record of the first user, and sending a third obtaining request to the server based on the historical consumption record of the first user and the current geographical position, wherein the third obtaining request is used for indicating the server to return target content item data which is provided by the target user and corresponds to the target commodity type based on the geographical position and the historical consumption record.
3. The method according to claim 1, wherein when the playing state of the any video stream satisfies a target playing condition, playing the target content item data in a target area of the application interface comprises any one of:
when the playing state of any video stream meets the target playing condition, stopping playing any video stream, playing the target content item data in the target area of the application interface, and when the playing of the target content item data is finished, continuing playing any video stream in the application interface;
and when the playing state of any video stream meets the target playing condition, synchronously playing the target content item data in the target area in the process of playing any video stream on the application interface.
4. The method of claim 1, wherein the obtaining the target content item data based on the server comprises:
receiving a plurality of index addresses and a plurality of arrangement sequences of target content item data sent by the server, wherein each index address is used for indicating a storage address of the corresponding target content item data, and the arrangement sequences are used for indicating the distance between a target user providing the target content item data and the current geographic position;
and acquiring a plurality of target content item data from the content distribution server according to the plurality of index addresses.
5. A video playback method, the method comprising:
when an acquisition request of a terminal is received, acquiring the current geographic position of the terminal;
determining target content item data from a content item data list according to the current geographic position, wherein the target content item data are content item data provided by a target user of which the distance between the target content item data and the current geographic position meets a target distance condition, and the content item data list comprises data identifications of a plurality of content item data and the geographic position of a second user corresponding to each content item data;
providing the target content item data to the terminal.
6. The method of claim 5, wherein determining target content item data from a list of content item data based on the current geographic location comprises any of:
determining a plurality of first content item data provided by the target user from the content item data list according to the current geographic position, determining a target video type meeting a first target condition according to a video type to which a history browsing video belongs in a video browsing record of a first user of the terminal, and screening the target content item data belonging to the target video type from the plurality of first content item data;
determining the plurality of first content item data from the content item data list according to the current geographic position, and screening target content item data corresponding to current environmental information from the plurality of first content item data according to the corresponding relation between the content item data and the environmental information;
according to the current geographic position, determining the plurality of first content item data from the content item data list, according to the commodity type of the commodity in the historical consumption record of the first user, determining a target commodity type meeting a second target condition, and according to the corresponding relation between the content item data and the commodity type, screening out target content item data corresponding to the target commodity type from the plurality of first content item data.
7. The method of claim 5, wherein the providing the target content item data to the terminal comprises:
and sending a plurality of index addresses and a plurality of arrangement sequences of the target content item data to the terminal, wherein each index address is used for indicating a storage path of the corresponding target content item data, and the arrangement sequences are used for indicating the distance between a target user providing the target content item data and the current geographic position.
8. A content item data playback apparatus, characterized in that the apparatus comprises:
a sending module, configured to send, when a target application is started, an acquisition request to a server based on a current geographic location, where the acquisition request is used to instruct the server to return, based on the current geographic location, target content item data provided by a target user whose distance from the current geographic location meets a target distance condition;
an acquisition module for acquiring the target content item data based on the server;
the monitoring module is used for monitoring the playing state of any video stream in the process of playing any video stream on the application interface of the target application;
and the playing module is used for playing the target content item data in a target area of the application interface when the playing state of any video stream meets a target playing condition.
9. A computer device, comprising one or more processors and one or more memories having stored therein at least one instruction, the at least one instruction being loaded and executed by the one or more processors to implement the operations performed by the content item data playback method of any one of claims 1 to 7.
10. A computer-readable storage medium having stored therein at least one instruction which is loaded and executed by a processor to perform operations performed by a content item data playback method according to any one of claims 1 to 7.
CN201910639902.2A 2019-07-15 2019-07-15 Content item data playing method and device, computer equipment and storage medium Active CN112235609B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910639902.2A CN112235609B (en) 2019-07-15 2019-07-15 Content item data playing method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910639902.2A CN112235609B (en) 2019-07-15 2019-07-15 Content item data playing method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112235609A true CN112235609A (en) 2021-01-15
CN112235609B CN112235609B (en) 2022-12-13

Family

ID=74111210

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910639902.2A Active CN112235609B (en) 2019-07-15 2019-07-15 Content item data playing method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112235609B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114173167A (en) * 2021-12-17 2022-03-11 青岛聚看云科技有限公司 Display device, content distribution network system, and server
CN114443897A (en) * 2022-02-10 2022-05-06 北京字跳网络技术有限公司 Video recommendation method and device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102737337A (en) * 2012-05-22 2012-10-17 亿赞普(北京)科技有限公司 Internet advertisement matching method and device
CN104639610A (en) * 2014-12-31 2015-05-20 广州视源电子科技股份有限公司 Information pushing method and system
WO2017128412A1 (en) * 2016-01-31 2017-08-03 胡明祥 Method for collecting data about weather-based advertisement pushing technology, and pushing system
CN107622417A (en) * 2017-09-15 2018-01-23 北京奇艺世纪科技有限公司 A kind of advertisement sending method based on geographical position, device and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102737337A (en) * 2012-05-22 2012-10-17 亿赞普(北京)科技有限公司 Internet advertisement matching method and device
CN104639610A (en) * 2014-12-31 2015-05-20 广州视源电子科技股份有限公司 Information pushing method and system
WO2017128412A1 (en) * 2016-01-31 2017-08-03 胡明祥 Method for collecting data about weather-based advertisement pushing technology, and pushing system
CN107622417A (en) * 2017-09-15 2018-01-23 北京奇艺世纪科技有限公司 A kind of advertisement sending method based on geographical position, device and electronic equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114173167A (en) * 2021-12-17 2022-03-11 青岛聚看云科技有限公司 Display device, content distribution network system, and server
CN114443897A (en) * 2022-02-10 2022-05-06 北京字跳网络技术有限公司 Video recommendation method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN112235609B (en) 2022-12-13

Similar Documents

Publication Publication Date Title
CN112162671B (en) Live broadcast data processing method and device, electronic equipment and storage medium
CN110674022B (en) Behavior data acquisition method and device and storage medium
CN111597008A (en) Popup management method, popup management device, terminal and storage medium
CN109167937B (en) Video distribution method, device, terminal and storage medium
CN110163066B (en) Multimedia data recommendation method, device and storage medium
CN113411680B (en) Multimedia resource playing method, device, terminal and storage medium
CN112181573A (en) Media resource display method, device, terminal, server and storage medium
CN111836069A (en) Virtual gift presenting method, device, terminal, server and storage medium
CN111028071B (en) Bill processing method and device, electronic equipment and storage medium
CN111327916B (en) Live broadcast management method, device and equipment based on geographic object and storage medium
CN113393290A (en) Live broadcast data processing method and device, computer equipment and medium
CN110750734A (en) Weather display method and device, computer equipment and computer-readable storage medium
CN113259702A (en) Data display method and device, computer equipment and medium
CN111949879A (en) Method and device for pushing message, electronic equipment and readable storage medium
CN111311155A (en) Method, apparatus, system, device and storage medium for modifying distribution position
CN110569220A (en) Game resource file display method and device, terminal and storage medium
CN110929159B (en) Resource release method, device, equipment and medium
CN114302160B (en) Information display method, device, computer equipment and medium
CN113987326B (en) Resource recommendation method and device, computer equipment and medium
CN112235609B (en) Content item data playing method and device, computer equipment and storage medium
CN113032587A (en) Multimedia information recommendation method, system, device, terminal and server
CN113609358A (en) Content sharing method and device, electronic equipment and storage medium
CN114125531B (en) Video preview method, device, terminal and storage medium
CN114268801A (en) Media information processing method, media information presenting method and device
CN115905374A (en) Application function display method and device, terminal and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant