CN110740358A - watching path information acquisition method and device - Google Patents
watching path information acquisition method and device Download PDFInfo
- Publication number
- CN110740358A CN110740358A CN201910821652.4A CN201910821652A CN110740358A CN 110740358 A CN110740358 A CN 110740358A CN 201910821652 A CN201910821652 A CN 201910821652A CN 110740358 A CN110740358 A CN 110740358A
- Authority
- CN
- China
- Prior art keywords
- viewing
- path
- information
- viewing path
- content identification
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management 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/258—Client 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/25866—Management of end-user data
- H04N21/25891—Management of end-user data being end-user preferences
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Computer Graphics (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The application is applicable to the technical field of computers, and provides an obtaining method of kinds of viewing path information, which comprises the steps of obtaining a user log of each user for viewing videos, sequencing the user log based on viewing time information to obtain a user log sequence of each user and a corresponding complete viewing path, determining key content identification information in the complete viewing path based on log type information in the user log sequence, extracting a th viewing path from all the complete viewing paths based on the key content identification information, counting the number of th viewing paths, and determining nd viewing path information based on the th viewing path and the th viewing path.
Description
Technical Field
The application belongs to the technical field of computers, and particularly relates to a method and a device for acquiring kinds of viewing path information.
Background
The method mainly comprises four aspects of analysis, namely visitor analysis, traffic channel analysis, content analysis and conversion analysis, in order to better improve products, wherein path analysis is an important part in the content analysis, and the path analysis is to acquire a user viewing path according to browsing and viewing behaviors of the user.
Disclosure of Invention
The embodiment of the application provides types of viewing path information obtaining methods and devices, and can solve the problem that only a complete path of content viewed by a user can be obtained, and the obtained viewing path information is limited, so that the analysis result is incomplete.
, the embodiment of the present application provides a method for acquiring viewing path information, including:
acquiring a user log of each user watching a video; the user log comprises user identification information, log type information, content identification information and viewing time information; the log type information identifies a behavior of the user;
sequencing the user logs based on the viewing time information to obtain a user log sequence of each user and a corresponding complete viewing path, wherein the complete viewing path is a content identification sequence generated by sequencing the content identification information based on the viewing time information;
determining key content identification information in the complete viewing path based on log type information in the user log sequence; the key content identification information is used for identifying preset video watching behaviors;
based on the key content identification information, th viewing path is extracted from all the complete viewing paths, and the number of th viewing paths is counted, wherein the th viewing path comprises the key content identification information;
th viewing path information is determined based on the th viewing path and the th viewing path, the th viewing path information including the th viewing path and the number thereof.
Further , after the determining th viewing path information based on the number of the th viewing path and the th viewing path, further comprising:
detecting whether all th viewing paths contain invalid viewing paths based on a preset invalid path detection condition;
when an invalid viewing path is detected, the th viewing path information is updated based on the invalid viewing path information to obtain second viewing path information, wherein the second viewing path information comprises valid viewing paths and the number of the valid viewing paths.
Further , the detecting whether all of the th viewing paths include an invalid viewing path based on a preset invalid path detection condition includes:
detecting whether a third viewing path and a fourth viewing path of the viewing paths are invalid paths based on a preset invalid path detection condition when detecting that the same at least two consecutive pieces of the content identification information exist for the third viewing path and the fourth viewing path.
Further , the extracting th viewing path from all the complete viewing paths and counting the number of th viewing paths based on the key content identification information includes:
based on the key content identification information, th viewing path containing a plurality of the content identification information is extracted from all the complete viewing paths, and the number of the th viewing path is counted.
Further , the determining key content identification information in the full viewing path based on log type information in the user log sequence includes:
and when the log type information in the user log sequence identifies that the user behavior is any types of live broadcast, on-demand broadcast and review, marking the log type information in the user log sequence as key content identification information.
In a second aspect, an embodiment of the present application provides an apparatus for acquiring viewing path information, including:
obtaining unit, for obtaining user log of each user watching video, wherein the user log comprises user identification information, log type information, content identification information, viewing time information, the log type information identifying the user's behavior;
an processing unit, configured to sort the user logs based on the viewing time information to obtain a user log sequence of each user and a corresponding complete viewing path, where the complete viewing path is a content identification sequence generated by sorting the content identification information based on the viewing time information, and the content identification information of the content identification sequence corresponds to the user log in the user log sequence;
the second processing unit is used for determining key content identification information in the complete viewing path based on log type information in the user log sequence; the key content identification information is used for identifying preset video watching behaviors;
a third processing unit, configured to extract th viewing path from all the complete viewing paths based on the key content identification information, and count the number of th viewing paths, where the th viewing path includes the key content identification information;
a fourth processing unit for determining th viewing path information based on the th viewing path and the th viewing path number, the th viewing path information including the th viewing path and the number thereof.
Further , the device for obtaining viewing path information further includes:
a detection unit configured to detect whether all of the th viewing paths include an invalid viewing path based on a preset invalid path detection condition;
and the updating unit is used for updating th viewing path information based on the information of the invalid viewing path to obtain second viewing path information when the invalid viewing path is detected, wherein the second viewing path information comprises the valid viewing paths and the number of the valid viewing paths.
, the detecting unit is specifically configured to:
detecting whether a third viewing path and a fourth viewing path of the viewing paths are invalid paths based on a preset invalid path detection condition when detecting that the same at least two consecutive pieces of the content identification information exist for the third viewing path and the fourth viewing path.
, the third processing unit is specifically configured to:
based on the key content identification information, th viewing path containing a plurality of the content identification information is extracted from all the complete viewing paths, and the number of the th viewing path is counted.
, the second processing unit is specifically configured to:
and when the log type information in the user log sequence identifies that the user behavior is any types of live broadcast, on-demand broadcast and review, marking the log type information in the user log sequence as key content identification information.
In a third aspect, an embodiment of the present application provides terminal devices, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the computer program to implement the method for obtaining a viewing path as described in the above .
In a fourth aspect, this application provides computer-readable storage media storing a computer program which, when executed by a processor, implements the method for obtaining a viewing path as described in the above .
In a fifth aspect, an embodiment of the present application provides computer program products, when the computer program products are run on a terminal device, the terminal device is caused to execute the method for acquiring viewing path information as described in any of the .
In the embodiment of the application, a user log of each user watching a video is obtained, the user logs are sequenced based on the watching time information to obtain a user log sequence of each user and a corresponding complete watching path, key content identification information in the complete watching path is determined based on log type information in the user log sequence, th watching path is extracted from all the complete watching paths based on the key content identification information, the number of th watching paths is counted, th watching path information is determined based on the th watching path and the th watching path, and by means of the scheme, th watching path containing the key content identification information and the number information of each th watching path can be flexibly obtained, so that the obtained watching paths are more comprehensive, and the obtained th watching path and the number thereof can be comprehensively analyzed.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings according to these drawings without any creative effort.
FIG. 1 is a schematic flow chart of a method for acquiring viewing path information according to of the present application;
fig. 2 is a schematic flow chart of another methods for obtaining viewing path information according to the second embodiment of the present application;
fig. 3 is a schematic diagram of an kinds of viewing path information obtaining device according to a third embodiment of the present application;
fig. 4 is a schematic structural diagram of a viewing path information acquiring apparatus according to a fourth embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of more or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to any and all possible combinations of of the associated listed items, and includes such combinations.
As used in the specification and the appended claims, the term "if" may be interpreted in accordance with the context as "when.. or" denier "or" in response to a determination "or" in response to a detection ".
Furthermore, in the description of the present application and the appended claims, the terms "", "second", "third", and the like are used for distinguishing between descriptions and not necessarily for indicating or implying relative importance.
Thus, the appearances of the phrases "in embodiments," "in embodiments," "in other embodiments," "in other embodiments," and the like, in this specification are not necessarily all referring to the same embodiment, but rather mean " or more but not all embodiments," unless specifically emphasized otherwise.
Referring to fig. 1, fig. 1 is a schematic flow chart of a viewing path obtaining method provided in an embodiment of the present application, in which an execution main body of the viewing path obtaining method in the embodiment is a device having a viewing path obtaining function, for example, a mobile phone, a tablet computer, a notebook computer, a super-mobile personal computer (UMPC), a netbook, a Personal Digital Assistant (PDA), a server, and the like, and the embodiment of the present application does not limit a specific type of the device at all, and the viewing path obtaining method shown in fig. 1 may include:
s101: acquiring a user log of each user watching a video; the user log comprises user identification information, log type information, content identification information and viewing time information; the log type information identifies a behavior of the user.
The user can watch videos through a video playing platform or a video playing system, the video playing platform can be an integrated playing control platform, and the video playing system can be an IPTV system, an OTT internet video system, or an interactive digital television system, which is not limited herein. The method comprises the steps that a user watches data generated by a video to form a user log, wherein the user log can comprise user identification information, log type information, content identification information and viewing time information, the log type information identifies the behavior of the user, and the user can watch live broadcast, request broadcast and browse on a video directory page in the process of watching the video, so that the behavior of the user can be watching live broadcast, requesting broadcast, reviewing video, browsing the page and the like; the content identification information is used to identify the content browsed by the user, for example, the content identification P1 identifies that the content browsed by the user is a movie a; the viewing time information is time information of the user browsing the content, for example, the user browses the a movie for ten minutes.
The method comprises the steps that a device obtains a user log of each user watching a video, wherein the user log can be generated when the user watches the video through a local device or other devices, and then the device transmits and obtains the user log.
S102, sequencing the user logs based on the viewing time information to obtain a user log sequence of each user and a corresponding complete viewing path, wherein the complete viewing path is a content identification sequence generated by sequencing the content identification information based on the viewing time information, and the content identification information of the content identification sequence corresponds to the user log in the user log sequence.
The equipment sorts the user logs of each user according to the time sequence based on the acquired viewing time information to obtain a user log sequence of each user and a corresponding complete viewing path, wherein the user log sequence comprises the user logs arranged according to the time sequence, the complete viewing path is a content identification sequence generated by sorting the content identification information based on the viewing time information, and the content identification information in each user log can be extracted from the -th user log sequence, so that the content identification information of the content identification sequence corresponds to the user logs in the user log sequence by .
S103: determining key content identification information in the complete viewing path based on log type information in the user log sequence; the key content identification information is used for identifying preset video watching behaviors.
The device determines whether content identification information corresponding to log type information is key content identification information or not based on the log type information in the user log sequence, when the log type information in the th user log sequence is preset type information, the content identification information corresponding to the log type information is key content identification information, the key content identification information is used for identifying preset video watching behaviors, it can be understood that the preset video watching behaviors are typical user behaviors and have user behaviors with collection and analysis values, and since the content identification information of the content identification sequence corresponds to the user logs in the user log sequence , the content identification information in a complete watching path corresponding to the key content identification information in the user log sequence is also key content identification information.
Further , S103 may include marking the log type information in the user log sequence as key content identification information when the log type information in the user log sequence identifies the user behavior as any of live, on-demand, and review .
The device determines whether content identification information corresponding to the log type information is key content identification information or not based on the log type information in the user log sequence, and when the log type information in the user log sequence identifies that the user behavior is in live broadcasting, on-demand broadcasting and review, the content identification information corresponding to the log type information is key content identification information which is used for identifying a preset video viewing behavior.
And S104, based on the key content identification information, th viewing paths are extracted from all the complete viewing paths, the number of th viewing paths is counted, and the th viewing paths comprise the key content identification information.
For example, when a path with a path end point as key content identification information is extracted from the complete viewing path, namely the viewing path, and the key content identification information is p4, a path a with { p1, p2, p3, p4} and a path B with { p1, p4, p3, p2, p4} and p 7378 as a path end point, a path A, B as the viewing path may be extracted, and the number of occurrences of the th viewing path may be counted, that is, the device finally acquires the th viewing path and the number thereof corresponding to each piece of key content identification information.
Further , S104 may include extracting th viewing path including a plurality of the content identification information from all the full viewing paths based on the key content identification information, and counting the number of th viewing paths.
The device extracts th viewing path from all the complete viewing paths based on the key content identification information, a preset path extraction policy in the device for extracting th viewing path containing a plurality of said content identification information from the complete viewing paths, the device extracts th viewing path from all the complete viewing paths based on the key content identification information and the preset path extraction policy, the th viewing path includes the key content identification information, the th viewing path includes a plurality of content identification information, the number of the content identification information may be set to be at least 2, it is understood that paths may be formed only when the th viewing path includes at least two content identification information, and the number of viewing paths is counted.
And S105, determining th viewing path information based on the th viewing path and the th viewing path, wherein the th viewing path information comprises the th viewing path and the number thereof.
The device stores th viewing path and th viewing path in association with each other to obtain th viewing path information, wherein the th viewing path information includes th viewing path and the number thereof, in the embodiment, th viewing path information can be represented in a set form, and th viewing path information can be represented in a set formThe path information set is PathCollection, namely { (code)i,pathij,numsij),...}i,...},(codei,pathij,numsij) Representing path data items, numsijCode representing ith key content identification informationiThe jth viewing pathijQuantity of (a) }iAll of the th viewing paths representing the ith key content identification information.
In the embodiment of the application, a user log of each user watching a video is obtained, the user log is sequenced based on the watching time information to obtain a th user log sequence of each user and a corresponding complete watching path thereof, key content identification information in the complete watching path is determined based on log type information in the user log sequence, a th watching path is extracted from all the complete watching paths based on the key content identification information, the number of th watching paths is counted, and th watching path information is determined based on the th watching path and the number of th watching paths.
Referring to fig. 2, fig. 2 is a schematic flowchart of another methods for acquiring viewing path information according to a second embodiment of the present disclosure, in which an execution main body of the method for acquiring viewing path in the present embodiment is a device having a function of acquiring viewing path, such as a mobile phone, a tablet computer, a laptop, a super-mobile personal computer (UMPC), a netbook, a Personal Digital Assistant (PDA), a server, etc., and the present embodiment does not limit the specific type of the device in any way, for acquiring accurate viewing path data in step and eliminating invalid path, the present embodiment is different from the embodiment in S206 to S208, where S201 to S205 in the present embodiment are the same as S101 to S105 in the embodiment, and S206 to S208 are executed after S205, as shown in fig. 3, and the following steps are specifically as follows:
s206, detecting whether all the th viewing paths contain invalid viewing paths based on a preset invalid path detection condition.
Since the th viewing path in the th viewing path information counted in the embodiment often has an invalid path, and the definition of the invalid path may be defined in advance, may be a repeated path, and in short, is a path without an analysis reference value, methods are provided in this embodiment to eliminate the invalid path.
Further , for accurate detection of invalid paths, S206 may include detecting whether a third viewing path and a fourth viewing path of the viewing paths are invalid paths based on a preset invalid path detection condition when detecting that the third viewing path and the fourth viewing path have the same at least two consecutive content identification information.
In this embodiment, the invalid path may be defined as a circular path, i.e. the starting point and the ending point of an segment of the two paths are the ending point and the starting point of the opposite party, for example, path a is { p1, p2, p3, p4}, path B is { p1, p4, p3, p2, p4}, and both paths pass through p2, p3 in reverse order, so that the two paths are circular.
The device first detects whether there are at least two pieces of adjacent content identification information in the fourth viewing path and the third viewing path, and when there are at least two pieces of adjacent content identification information in the fourth viewing path and the third viewing path, detects whether the fourth viewing path is an invalid path based on a preset invalid path detection condition, that is, detects whether there are at least two pieces of adjacent content identification information in the fourth viewing path and the third viewing path, that is, detects that there are an end point and a start point of a segment in the third viewing path and the fourth viewing path, and if there are an end point and a start point of an end point opposite to each other in the fourth viewing path, a specific detection method may, for example, sequentially traverse content identification information in the fourth viewing path, and if there are content identification information in the fourth viewing path in the third viewing path, a position index of the content identification information is stored in an ext sequence, and a last viewing position index is stored in a third viewing path, a third viewing path index is a second viewing path index, and a third viewing path index is a third viewing path index, and a third viewing path index is a second loop.
And S207, when the invalid viewing path is detected, updating th viewing path information based on the information of the invalid viewing path to obtain second viewing path information, wherein the second viewing path information comprises valid viewing paths and the number of the valid viewing paths.
When the device detects invalid viewing paths, deleting invalid viewing paths in th viewing paths to obtain target viewing paths, specifically, when number of invalid viewing paths are detected, deleting the invalid viewing paths, and when th viewing paths are not detected, the paths can be called as valid viewing paths.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
Referring to fig. 3, fig. 3 is a schematic diagram of an acquiring apparatus for kinds of viewing path information according to a third embodiment of the present application, where each unit is included to execute each step in the embodiment corresponding to fig. 1 to fig. 2, and in detail, refer to the related description in each corresponding embodiment of fig. 1 to fig. 2, for convenience of description, only the portion related to the embodiment is shown, and referring to fig. 3, the acquiring apparatus for viewing path 3 includes:
, an obtaining unit 310, configured to obtain a user log of videos watched by each user, where the user log includes user identification information, log type information, content identification information, and viewing time information;
, a processing unit 320, configured to sort the user logs based on the viewing time information to obtain a user log sequence of each user and a complete viewing path corresponding to the user log sequence, where the complete viewing path is a content identification sequence generated by sorting the content identification information based on the viewing time information, and the content identification information of the content identification sequence corresponds to the user log in the user log sequence;
a second processing unit 330, configured to determine, based on log type information in the user log sequence, key content identification information in the complete viewing path; the key content identification information is used for identifying preset video watching behaviors;
a third processing unit 340, configured to extract th viewing path from all the complete viewing paths based on the key content identification information, and count the number of th viewing paths, where the th viewing path includes the key content identification information;
a fourth processing unit 350 for determining th viewing path information based on the th viewing path and the th viewing path, the th viewing path information including the th viewing path and the number thereof.
Further , the viewing path information acquiring apparatus 3 further includes:
a detection unit configured to detect whether all of the th viewing paths include an invalid viewing path based on a preset invalid path detection condition;
and the updating unit is used for updating th viewing path information based on the information of the invalid viewing path to obtain second viewing path information when the invalid viewing path is detected, wherein the second viewing path information comprises the valid viewing paths and the number of the valid viewing paths.
, the detecting unit is specifically configured to:
detecting whether a third viewing path and a fourth viewing path of the viewing paths are invalid paths based on a preset invalid path detection condition when detecting that the same at least two consecutive pieces of the content identification information exist for the third viewing path and the fourth viewing path.
, the third processing unit 340 is specifically configured to:
based on the key content identification information, th viewing path containing a plurality of the content identification information is extracted from all the complete viewing paths, and the number of the th viewing path is counted.
, the second processing unit 330 is specifically configured to:
and when the log type information in the user log sequence identifies that the user behavior is any types of live broadcast, on-demand broadcast and review, marking the log type information in the user log sequence as key content identification information.
Fig. 4 is a schematic structural diagram of an apparatus for acquiring viewing path information according to a fourth embodiment of the present application, as shown in fig. 4, the apparatus 4 for acquiring viewing path information of this embodiment includes at least processors 40 (only are shown in fig. 4), a memory 41, and a computer program 42 stored in the memory 41 and operable on the at least processors 40, where the processor 40 executes the computer program 42 to implement the steps in any of the above-described embodiments of the method for acquiring viewing path information, such as steps 101 to 105 shown in fig. 1, or the processor 40 executes the computer program 42 to implement the functions of the modules/units in the above-described embodiments of the apparatuses, such as the modules 310 to 350 shown in fig. 3.
For example, the computer program 42 may be divided into modules/units, the modules/units are stored in the memory 41 and executed by the processor 40 to complete the present application, the modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution process of the computer program 42 in the viewing path information obtaining device 4. for example, the computer program 42 may be divided into th obtaining unit, processing unit, second processing unit, third processing unit and fourth processing unit, and the specific functions of the units are as follows:
obtaining unit, for obtaining user log of each user watching video, wherein the user log comprises user identification information, log type information, content identification information, viewing time information, the log type information identifying the user's behavior;
an processing unit, configured to sort the user logs based on the viewing time information to obtain a user log sequence of each user and a corresponding complete viewing path, where the complete viewing path is a content identification sequence generated by sorting the content identification information based on the viewing time information, and the content identification information of the content identification sequence corresponds to the user log in the user log sequence;
the second processing unit is used for determining key content identification information in the complete viewing path based on log type information in the user log sequence; the key content identification information is used for identifying preset video watching behaviors;
a third processing unit, configured to extract th viewing path from all the complete viewing paths based on the key content identification information, and count the number of th viewing paths, where the th viewing path includes the key content identification information;
a fourth processing unit for determining th viewing path information based on the th viewing path and the th viewing path number, the th viewing path information including the th viewing path and the number thereof.
The memo prompting device may include, but is not limited to, a processor 40, a memory 41. Those skilled in the art will appreciate that fig. 4 is only an example of the viewing path information obtaining device 4, and does not constitute a limitation to the viewing path information obtaining device 4, and may include more or less components than those shown, or combine some components, or different components, for example, an input/output device, a network access device, and the like.
The Processor 40 may be a Central Processing Unit (CPU), the Processor 40 may be other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Array (FPGA) or other Programmable logic device, discrete or transistor logic, discrete hardware components, etc.
The memory 41 may be an internal storage unit of the viewing path information obtaining device 4 in embodiments , such as a hard disk or a memory of the viewing path information obtaining device 4, or an external storage device of the viewing path information obtaining device 4, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash Card (Flash Card), etc. provided on the viewing path information obtaining device 4 in embodiments , or , the memory 41 may also include both an internal storage unit of the viewing path information obtaining device 4 and an external storage device, the memory 41 being used to store an operating system, an application program, a Boot Loader (Boot Loader), data, and other programs, such as program codes of the computer program, etc. the memory 41 may also be used to temporarily store data that has been output or is to be output.
It should be noted that, for the information interaction, execution process and other contents between the above-mentioned devices/units, the specific functions and technical effects of the method embodiment based on the concept of are specifically referred to in the method embodiment section, and are not described herein again.
It is obvious to those skilled in the art that, for convenience and simplicity of description, only the division of the above functional units and modules is illustrated, and in practical applications, the above functions may be distributed by different functional units and modules as needed, that is, the internal structure of the apparatus is divided into different functional units or modules to complete all or part of the above described functions.
The present application further provides network devices, which include at least processors, memories, and computer programs stored in the memories and executable on the at least processors, and when the processors execute the computer programs, the steps in any of the method embodiments described above are implemented.
The present application further provides computer-readable storage media, where the computer-readable storage media store computer programs, and when the computer programs are executed by a processor, the computer programs implement the steps that can implement the above-mentioned method embodiments.
The present application provides computer program products, which when run on a mobile terminal, enable the mobile terminal to implement the steps of the above method embodiments when executed.
The integrated unit, if implemented as a software functional unit and sold or used as a stand-alone product, may be stored in computer readable storage media upon which it is understood that all or part of the processes of the methods of the embodiments described above are implemented, may be implemented by a computer program that may be stored in computer readable storage media, which when executed by a processor may implement the steps of the various method embodiments described above.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
For example, the above-described embodiments of the apparatus/network device are merely illustrative, for example, the modules or units may be divided into only logical functional divisions, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated with another systems, or features may be omitted or not executed, and in addition, point, the shown or discussed coupling or direct coupling or communication connection between each other may be realized through interfaces, and the indirect coupling or communication connection between the apparatuses or units may be electric, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, that is, may be located in places, or may also be distributed on multiple network units.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.
Claims (10)
1, A method for acquiring information of viewing path, comprising:
acquiring a user log of each user watching a video; the user log comprises user identification information, log type information, content identification information and viewing time information; the log type information identifies a behavior of the user;
sequencing the user logs based on the viewing time information to obtain a user log sequence of each user and a corresponding complete viewing path, wherein the complete viewing path is a content identification sequence generated by sequencing the content identification information based on the viewing time information;
determining key content identification information in the complete viewing path based on log type information in the user log sequence; the key content identification information is used for identifying preset video watching behaviors;
based on the key content identification information, th viewing path is extracted from all the complete viewing paths, and the number of th viewing paths is counted, wherein the th viewing path comprises the key content identification information;
th viewing path information is determined based on the th viewing path and the th viewing path, the th viewing path information including the th viewing path and the number thereof.
2. The acquisition method of viewing path information according to claim 1, further comprising, after said determining th viewing path information based on the th viewing path and the th viewing path number:
detecting whether all th viewing paths contain invalid viewing paths based on a preset invalid path detection condition;
when an invalid viewing path is detected, the th viewing path information is updated based on the invalid viewing path information to obtain second viewing path information, wherein the second viewing path information comprises valid viewing paths and the number of the valid viewing paths.
3. The method for acquiring viewing path information according to claim 2, wherein said detecting whether all of said th viewing paths include an invalid viewing path based on a preset invalid path detection condition comprises:
detecting whether a third viewing path and a fourth viewing path of the viewing paths are invalid paths based on a preset invalid path detection condition when detecting that the same at least two consecutive pieces of the content identification information exist for the third viewing path and the fourth viewing path.
4. The method for acquiring viewing path information according to claim 1, wherein the extracting th viewing path from all the complete viewing paths based on the key content identification information and counting the number of th viewing paths comprises:
based on the key content identification information, th viewing path containing a plurality of the content identification information is extracted from all the complete viewing paths, and the number of the th viewing path is counted.
5. The method for acquiring viewing path information according to claim 1, wherein the determining key content identification information in the complete viewing path based on the log type information in the user log sequence comprises:
and when the log type information in the user log sequence identifies that the user behavior is any types of live broadcast, on-demand broadcast and review, marking the log type information in the user log sequence as key content identification information.
An apparatus for acquiring viewing path information of types, comprising:
obtaining unit, for obtaining user log of each user watching video, wherein the user log comprises user identification information, log type information, content identification information, viewing time information, the log type information identifying the user's behavior;
an processing unit, configured to sort the user logs based on the viewing time information to obtain a user log sequence of each user and a corresponding complete viewing path, where the complete viewing path is a content identification sequence generated by sorting the content identification information based on the viewing time information, and the content identification information of the content identification sequence corresponds to the user log in the user log sequence;
the second processing unit is used for determining key content identification information in the complete viewing path based on log type information in the user log sequence; the key content identification information is used for identifying preset video watching behaviors;
a third processing unit, configured to extract th viewing path from all the complete viewing paths based on the key content identification information, and count the number of th viewing paths, where the th viewing path includes the key content identification information;
a fourth processing unit for determining th viewing path information based on the th viewing path and the th viewing path number, the th viewing path information including the th viewing path and the number thereof.
7. The apparatus for acquiring viewing path information according to claim 6, further comprising:
a detection unit configured to detect whether all of the th viewing paths include an invalid viewing path based on a preset invalid path detection condition;
and the updating unit is used for updating th viewing path information based on the information of the invalid viewing path to obtain second viewing path information when the invalid viewing path is detected, wherein the second viewing path information comprises the valid viewing paths and the number of the valid viewing paths.
8. The apparatus for acquiring viewing path information according to claim 7, wherein the detecting unit is specifically configured to:
detecting whether a third viewing path and a fourth viewing path of the viewing paths are invalid paths based on a preset invalid path detection condition when detecting that the same at least two consecutive pieces of the content identification information exist for the third viewing path and the fourth viewing path.
Terminal device of the kind 9, , comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the method according to any of claims 1 to 5 through when executing the computer program.
10, computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method according to any of claims 1 to 5 to .
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910821652.4A CN110740358B (en) | 2019-09-02 | 2019-09-02 | Method and device for acquiring viewing path information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910821652.4A CN110740358B (en) | 2019-09-02 | 2019-09-02 | Method and device for acquiring viewing path information |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110740358A true CN110740358A (en) | 2020-01-31 |
CN110740358B CN110740358B (en) | 2021-11-19 |
Family
ID=69267766
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910821652.4A Active CN110740358B (en) | 2019-09-02 | 2019-09-02 | Method and device for acquiring viewing path information |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110740358B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103686210A (en) * | 2013-12-17 | 2014-03-26 | 广东威创视讯科技股份有限公司 | Method and system for achieving audio and video transcoding in real time |
CN106658083A (en) * | 2015-10-30 | 2017-05-10 | 北京国双科技有限公司 | Watching channel path counting method and watching channel path counting device |
US20170171609A1 (en) * | 2015-12-10 | 2017-06-15 | Samsung Electronics Co., Ltd. | Content processing apparatus, content processing method thereof, server information providing method of server and information providing system |
CN107222484A (en) * | 2017-06-12 | 2017-09-29 | 北京经纬中天信息技术有限公司 | Support the stream media server system of multi-protocols input and output |
CN109587525A (en) * | 2017-09-29 | 2019-04-05 | 深圳市中兴微电子技术有限公司 | Service push method and system, set-top box, business service platform and storage medium |
CN109729428A (en) * | 2017-10-30 | 2019-05-07 | 北京国双科技有限公司 | Television channel video audience statistics method and device |
-
2019
- 2019-09-02 CN CN201910821652.4A patent/CN110740358B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103686210A (en) * | 2013-12-17 | 2014-03-26 | 广东威创视讯科技股份有限公司 | Method and system for achieving audio and video transcoding in real time |
CN106658083A (en) * | 2015-10-30 | 2017-05-10 | 北京国双科技有限公司 | Watching channel path counting method and watching channel path counting device |
US20170171609A1 (en) * | 2015-12-10 | 2017-06-15 | Samsung Electronics Co., Ltd. | Content processing apparatus, content processing method thereof, server information providing method of server and information providing system |
CN107222484A (en) * | 2017-06-12 | 2017-09-29 | 北京经纬中天信息技术有限公司 | Support the stream media server system of multi-protocols input and output |
CN109587525A (en) * | 2017-09-29 | 2019-04-05 | 深圳市中兴微电子技术有限公司 | Service push method and system, set-top box, business service platform and storage medium |
CN109729428A (en) * | 2017-10-30 | 2019-05-07 | 北京国双科技有限公司 | Television channel video audience statistics method and device |
Also Published As
Publication number | Publication date |
---|---|
CN110740358B (en) | 2021-11-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110020122B (en) | Video recommendation method, system and computer readable storage medium | |
CN108495185B (en) | Video title generation method and device | |
CN110262918B (en) | Process crash analysis method and device, distributed equipment and storage medium | |
CN110704677B (en) | Program recommendation method and device, readable storage medium and terminal equipment | |
CN110083740B (en) | Video fingerprint extraction and video retrieval method, device, terminal and storage medium | |
US20140041037A1 (en) | Detecting pirated applications | |
CN107133263B (en) | POI recommendation method, device, equipment and computer readable storage medium | |
CN111190583B (en) | Associated conflict block presenting method and equipment | |
CN109271315B (en) | Script code detection method, script code detection device, computer equipment and storage medium | |
CN111385606A (en) | Video preview method and device and intelligent terminal | |
CN110727809A (en) | Face and mobile user identification code association query method and device and electronic equipment | |
CN112416201B (en) | Application cache cleaning method and device, electronic equipment and medium | |
CN110598047A (en) | Movie and television information recommendation method and device, electronic equipment and storage medium | |
CN112346951B (en) | Service testing method and device | |
CN112329954A (en) | Article recall method and device, terminal equipment and storage medium | |
CN110430448B (en) | Bullet screen processing method and device and electronic equipment | |
CN112445769A (en) | Block chain-based on-chain storage method and device, terminal equipment and medium | |
CN117093619A (en) | Rule engine processing method and device, electronic equipment and storage medium | |
CN110740358B (en) | Method and device for acquiring viewing path information | |
CN109710626B (en) | Data warehousing management method and device, electronic equipment and storage medium | |
CN109033469B (en) | Ranking method and device of search results, terminal and computer storage medium | |
CN110727576A (en) | Web page testing method, device, equipment and storage medium | |
EP3598738A1 (en) | Video synthesis method, apparatus and device, and video playing method, apparatus and device | |
CN106657316B (en) | Message withdrawing method and device | |
CN108595623A (en) | A kind of game video method for pushing, device and computer storage media |
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 |