CN108769809B - Smart television-based home user behavior data acquisition method and device and computer-readable storage medium - Google Patents

Smart television-based home user behavior data acquisition method and device and computer-readable storage medium Download PDF

Info

Publication number
CN108769809B
CN108769809B CN201810520696.9A CN201810520696A CN108769809B CN 108769809 B CN108769809 B CN 108769809B CN 201810520696 A CN201810520696 A CN 201810520696A CN 108769809 B CN108769809 B CN 108769809B
Authority
CN
China
Prior art keywords
log
equipment
mac
user behavior
online
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.)
Active
Application number
CN201810520696.9A
Other languages
Chinese (zh)
Other versions
CN108769809A (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.)
Shenzhen Jimi Software Technology Co.,Ltd.
Original Assignee
Chengdu Jimi Technology 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 Chengdu Jimi Technology Co Ltd filed Critical Chengdu Jimi Technology Co Ltd
Priority to CN201810520696.9A priority Critical patent/CN108769809B/en
Publication of CN108769809A publication Critical patent/CN108769809A/en
Application granted granted Critical
Publication of CN108769809B publication Critical patent/CN108769809B/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/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44213Monitoring of end-user related data
    • H04N21/44218Detecting physical presence or behaviour of the user, e.g. using sensors to detect if the user is leaving the room or changes his face expression during a TV program
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/4508Management of client data or end-user data
    • H04N21/4532Management of client data or end-user data involving end-user characteristics, e.g. viewer profile, 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/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/466Learning process for intelligent management, e.g. learning user preferences for recommending movies
    • H04N21/4668Learning process for intelligent management, e.g. learning user preferences for recommending movies for recommending content, e.g. movies

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Social Psychology (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)

Abstract

The embodiment of the invention relates to the technical field of user data acquisition, and particularly discloses a method and a device for acquiring family user behavior data based on a smart television and a computer-readable storage medium. According to the method for acquiring the family user behavior data based on the intelligent television, provided by the embodiment of the invention, the online device data of the family network where the intelligent television is located is acquired while the user behavior data of the intelligent television is acquired, and the acquired data is processed to generate the family user behavior log data to be used by the cloud server. The family user behavior log data generated by the invention can be used for constructing the family portrait of the user and recommending personalized programs for different family users, so that the user experience is improved, and the personalized recommendation requirements of the user on the smart television are further met.

Description

Smart television-based home user behavior data acquisition method and device and computer-readable storage medium
Technical Field
The invention relates to the technical field of user data acquisition, in particular to a method and a device for acquiring family user behavior data based on a smart television and a computer readable storage medium.
Background
The intelligent television system is developed based on Android and has personal and family film watching attributes respectively. The method for constructing the family user image of the intelligent television comprises the following steps: basic attributes of the user, the using behavior of the user and the media asset data information for generating the using behavior. The user attribute is derived from registration of the user and other intercommunication account information, and the behavior of the user on the smart television comprises the following steps: click, play, use duration, use period, use media asset information, use function, use APP, etc.
The existing data for constructing the user family portrait by the smart television is based on the use behavior data of the user on the smart television, and the actual users and the number of people in front of the screen are difficult to distinguish, so that the user portrait can not be constructed aiming at different users of the family, and more accurate program recommendation can not be carried out. How to acquire more information of the user at home so as to construct a more accurate user family portrait is a problem to be solved urgently at present.
Disclosure of Invention
In view of the above, the present application provides a method, an apparatus, and a computer-readable storage medium for collecting home user behavior data based on a smart television, which solve or at least partially solve the above existing problems.
In order to solve the technical problems, the technical scheme provided by the invention is a family user behavior data acquisition method based on an intelligent television, which comprises the following steps:
judging whether user behavior data of the smart television are received or not, if so, generating a current user behavior log, and entering the next step, and if not, not acting;
acquiring online equipment data of a home network where the smart television is located, generating a current online equipment log, and preprocessing the current online equipment log;
and generating and storing the family user behavior log data according to the current user behavior log and the preprocessed current online device log.
Preferably, the method for acquiring online device data of a home network in which the smart television is located and generating a current online device log includes:
reading an arp table of network equipment of a home network where the smart television is located, and generating a current online equipment log; the current online equipment log comprises log time, an intelligent television mac, online equipment mac and online equipment ip;
filtering the current online device log which is not required to be saved.
Preferably, the method for filtering the current online device log which is not required to be saved comprises the following steps:
acquiring a device mac set of the log to be filtered, and filtering the current online device log of which the online device mac in the current online device log is the same as the device mac in the device mac set of the log to be filtered;
filtering the online equipment mac in the current online equipment log to obtain the current online equipment log of the intelligent television mac;
current online device logs with an online device ip suffix of.1 and.255 in the current online device log are filtered.
Preferably, the method for preprocessing the current online device log comprises the following steps:
determining the equipment type corresponding to the online equipment mac in the current online equipment log, and updating the current online equipment log to include log time, the intelligent television mac, the online equipment mac and the equipment type;
and screening out the current online equipment log to be analyzed according to a preset log screening condition, traversing the current online equipment log to be analyzed, and updating a current online equipment mac list.
Preferably, the method for determining the device type corresponding to the online device mac in the current online device log includes:
acquiring a device type list corresponding to a device mac;
inquiring and obtaining the equipment type corresponding to the online equipment mac in the current online equipment log in the equipment type list corresponding to the equipment mac;
if the device type list corresponding to the device mac cannot be queried, querying the device type corresponding to the online device mac through other online modes, and updating the online device mac and the queried corresponding device type into the device type list corresponding to the device mac.
Preferably, the method for generating the current user behavior log comprises the following steps:
receiving user behavior data of the intelligent television and generating a current user behavior log; the current user behavior log comprises log time, the intelligent television mac and user behavior data.
Preferably, the method for generating and storing the home user behavior log data according to the current user behavior log and the preprocessed current online device log comprises:
acquiring a current user behavior log and a current online equipment mac list, generating and storing home user behavior log data; the family user behavior log data comprises log time, a smart television mac, user behavior data and a current online equipment mac list.
Preferably, the collecting method further comprises:
and judging whether the stored family user behavior log data reach a preset uploading condition, if so, uploading the stored family user behavior log data, and if not, performing the action.
The invention also provides a family user behavior data acquisition device based on the smart television, which comprises:
the user behavior data processing module is used for judging whether user behavior data of the intelligent television are received or not, if so, generating a current user behavior log and entering the online equipment data processing module, and if not, not acting;
the online equipment data processing module is used for acquiring online equipment data of a home network where the intelligent television is located, generating a current online equipment log and preprocessing the current online equipment log;
and the family log data generation module is used for generating and storing family user behavior log data according to the current user behavior log and the preprocessed current online device log.
Preferably, the online device data processing module includes:
the online equipment data acquisition unit is used for reading an ARP table of network equipment of a home network where the intelligent television is located and generating a current online equipment log; the current online equipment log comprises log time, an intelligent television mac, online equipment mac and online equipment ip;
and the online equipment data filtering unit is used for filtering the current online equipment log which does not need to be stored.
Preferably, the online device data filtering unit includes:
the first log filtering component is used for acquiring a to-be-filtered log equipment mac set and filtering a current online equipment log of which the online equipment mac in the current online equipment log is the same as the equipment mac in the to-be-filtered log equipment mac set;
the second log filtering component is used for filtering the current online equipment mac of the intelligent television mac from the current online equipment logs;
and the third log filtering component is used for filtering the current online device logs with the online device ip suffixes of 1 and 255 in the current online device log.
Preferably, the online device data processing module further comprises:
the online equipment type identification unit is used for determining the equipment type corresponding to the online equipment mac in the current online equipment log and updating the current online equipment log to include log time, the intelligent television mac, the online equipment mac and the equipment type;
and the online equipment log screening unit is used for screening the current online equipment log to be analyzed according to the preset log screening conditions, traversing the current online equipment log to be analyzed and updating the current online equipment mac list.
Preferably, the online device type identifying unit includes:
the equipment type acquisition component is used for acquiring an equipment type list corresponding to the equipment mac;
the equipment type query component is used for querying and obtaining the equipment type corresponding to the online equipment mac in the current online equipment log in the equipment type list corresponding to the equipment mac;
and the equipment type updating component is used for querying the equipment type corresponding to the online equipment mac in other online modes when the equipment type corresponding to the equipment mac cannot be queried in the equipment type list corresponding to the equipment mac, and updating the online equipment mac and the queried corresponding equipment type into the equipment type list corresponding to the equipment mac.
Preferably, the user behavior data processing module includes:
the user behavior data processing unit is used for receiving user behavior data of the intelligent television and generating a current user behavior log; the current user behavior log comprises log time, the intelligent television mac and user behavior data.
Preferably, the family log data generating module includes:
the family log data generation unit is used for acquiring a current user behavior log and a current online equipment mac list, generating and storing family user behavior log data; the family user behavior log data comprises log time, a smart television mac, user behavior data and a current online equipment mac list.
Preferably, the collecting device further comprises:
and the family log data uploading module is used for judging whether the stored family user behavior log data reach a preset uploading condition, if so, uploading the stored family user behavior log data, and if not, performing the action.
The invention also provides a family user behavior data acquisition device based on the smart television, which comprises:
a memory for storing a computer program;
and the processor is used for executing the computer program to realize the steps of the intelligent television-based home user behavior data acquisition method.
A computer-readable storage medium, which stores a computer program, which, when executed by a processor, implements the steps of the smart tv-based home user behavior data collection method described above.
Compared with the prior art, the beneficial effects of the method are detailed as follows: according to the method for acquiring the family user behavior data based on the smart television, the online equipment data of the family network where the smart television is located is acquired while the user behavior data of the smart television is acquired, and the acquired data is processed to generate the family user behavior log data to be used by the cloud server. The generated family user behavior log data can be used for building family figures of users and recommending personalized programs for different family users, so that the user experience is improved, and the personalized recommendation requirements of the users on the smart television are further met.
Drawings
Fig. 1 is a schematic flowchart of a method for acquiring home user behavior data based on a smart television according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of another method for collecting behavior data of a home user based on a smart television according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a home user behavior data acquisition device based on a smart television according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of a home user behavior data acquisition device based on a smart television according to a fourth embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood by those skilled in the art, the present invention will be further described in detail with reference to the accompanying drawings and specific embodiments.
As shown in fig. 1, an embodiment of the present invention provides a method for acquiring home user behavior data based on a smart television, including:
s1: judging whether user behavior data of the intelligent television are received, if so, entering S21 and entering S22, and if not, not acting;
s21: generating a current user behavior log;
s22: acquiring online equipment data of a home network where the smart television is located, generating a current online equipment log, and entering S23;
s23: preprocessing a current online device log;
s3: and generating and storing the family user behavior log data according to the current user behavior log and the preprocessed current online device log.
It should be noted that, in step S22, the method for obtaining the online device data of the home network where the smart television is located and generating the current online device log includes:
s221: reading an ARP table of network equipment of a home network where the intelligent television is located, and generating a current online equipment log; the current online equipment log comprises log time, an intelligent television mac, online equipment mac and online equipment ip;
s222: filtering the current online device log which is not required to be saved.
Specifically, the method for filtering the current online device log that does not need to be saved in step S222 includes:
s2221: acquiring a device mac set of the log to be filtered, and filtering the current online device log of which the online device mac in the current online device log is the same as the device mac in the device mac set of the log to be filtered;
s2222: filtering the online equipment mac in the current online equipment log to obtain the current online equipment log of the intelligent television mac;
s2223: current online device logs with an online device ip suffix of.1 and.255 in the current online device log are filtered.
The method for acquiring the mac set of the log device to be filtered in step S2221 may include: (1) acquiring the mac of the intelligent television, and monitoring the networking broadcast of the intelligent television; (2) and acquiring an export _ device _ temp of a to-be-filtered log device mac set of a certain smart television through an API (application programming interface) provided by the smart television mac to a cloud server device _ server. (3) If the excerpt _ device _ temp is not successfully acquired, the existing excerpt _ device of the smart television is used, and if the acquisition is successful, the original excerpt _ device is replaced by the value of the excerpt _ device _ temp. The network device may be a router, a switch, or other network devices.
Specifically, when the user does not operate the smart television, the smart television may also obtain current arp information through a local arp table every certain time (for example, 3 minutes), and generate a current online device log, where the current online device log is < log time, television mac, device ip >.
And after filtering out the current online device log corresponding to the device mac to be filtered, if the current online device log device _ log to be uploaded still exists, performing the next step, otherwise, waiting for the next data collection. The next step consists in filtering the smart tv's own mac and the current online device logs with ip suffix xxx.1 (gateway) and xxx.255 (broadcast).
It should be noted that, the method for preprocessing the current online device log in step S23 includes:
s231: determining the equipment type corresponding to the online equipment mac in the current online equipment log, and updating the current online equipment log to include log time, the intelligent television mac, the online equipment mac and the equipment type;
s232: and screening out the current online equipment log to be analyzed according to a preset log screening condition, traversing the current online equipment log to be analyzed, and updating a current online equipment mac list.
Specifically, the method for determining the device type corresponding to the online device mac in the current online device log in step S231 includes:
s2311: acquiring a device type list corresponding to a device mac;
s2312: inquiring and obtaining the equipment type corresponding to the online equipment mac in the current online equipment log in the equipment type list corresponding to the equipment mac;
s2313: if the device type list corresponding to the device mac cannot be queried, querying the device type corresponding to the online device mac through other online modes, and updating the online device mac and the queried corresponding device type into the device type list corresponding to the device mac.
In the method for obtaining the device type list corresponding to the device mac in step S2311, the cloud server may be connected, and the device _ server of the cloud server is used to store the smart television, the device mac in the home network environment where the smart television is located, and the corresponding device type, where the storage format is < television mac, device type >, and the device type list corresponding to the device mac may also be obtained by reading the device type list corresponding to the device mac stored locally.
In step S2313, the device type corresponding to the online device mac is queried in other online manners, which may be implemented by the third party api. After the query is finished, the online equipment mac and the queried corresponding equipment type need to be updated to an equipment type list corresponding to the equipment mac, and the online equipment mac and the queried corresponding equipment type can be updated through local update or uploaded to a cloud server for updating.
Specifically, the method for preprocessing the current online device log in step S23 may further include:
s233: the current online device log of anomalous or missing fields is filtered out. The current online device log is pre-processed to generate log _ clear.
Specifically, in step S232, the method for screening out the current online device log to be analyzed according to the preset log screening condition may filter out the log _ phone whose device type in the current online device is the mobile phone, and the storage format is < log time, television mac, device type, online duration >. Wherein the online time duration is the acquisition interval time.
Specifically, the method for traversing the current online device log to be analyzed and updating the mac list of the current online device in step S232 includes: (1) sequentially traversing the log set of each equipment mac, (2) accumulating the online time of the mac with 30 minutes as a period, (3) if a certain period exceeds 30 minutes, comparing whether the previous 30 minutes or the next 30 minutes exceeds 30 minutes, and if not, adding the redundant part to the relative period.
It should be noted that, the method for generating the current user behavior log in step S21 includes:
receiving user behavior data of the intelligent television and generating a current user behavior log; the current user behavior log comprises log time, the intelligent television mac and user behavior data.
It should be noted that, in step S3, the method for generating and storing the home user behavior log data according to the current user behavior log and the preprocessed current online device log includes:
acquiring a current user behavior log and a current online equipment mac list, generating and storing home user behavior log data; the family user behavior log data comprises log time, a smart television mac, user behavior data and a current online equipment mac list.
The current online device mac list may be an online device mac list whose device type is a mobile phone. The user behavior data includes: movie clicking, playing (including duration), collection, etc.
As shown in fig. 2, a second embodiment of the present invention further provides a method for acquiring home user behavior data based on a smart television, where on the basis of the first embodiment, the acquisition method further includes:
s4: judging whether the stored family user behavior log data reach a preset uploading condition, if so, entering S5, and if not, not acting;
s5: and uploading the stored family user behavior log data.
Specifically, the condition for uploading the behavior log of the home user to the cloud server may be: (1) monitoring whether the size of the file exceeds 1M or not, and if so, uploading the file; (2) log files were uploaded periodically (every 1 minute).
The method for receiving and cleaning the log by the cloud server comprises the following steps: (1) the method comprises the steps that (1) a log server receives logs, (2) data are cleaned, wherein the data comprise data missing or data with an abnormal format, and (3) if the same film has a playing event, a corresponding click event is removed.
As shown in fig. 3, a third embodiment of the present invention provides a home user behavior data acquisition device based on a smart television, including:
the user behavior data processing module is used for judging whether user behavior data of the intelligent television are received or not, if so, generating a current user behavior log and entering the online equipment data processing module, and if not, not acting;
the online equipment data processing module is used for acquiring online equipment data of a home network where the intelligent television is located, generating a current online equipment log and preprocessing the current online equipment log;
and the family log data generation module is used for generating and storing family user behavior log data according to the current user behavior log and the preprocessed current online device log.
It should be noted that the online device data processing module includes:
the online equipment data acquisition unit is used for reading an ARP table of network equipment of a home network where the intelligent television is located and generating a current online equipment log; the current online equipment log comprises log time, an intelligent television mac, online equipment mac and online equipment ip;
and the online equipment data filtering unit is used for filtering the current online equipment log which does not need to be stored.
Wherein, online equipment data filter unit includes:
the first log filtering component is used for acquiring a to-be-filtered log equipment mac set and filtering a current online equipment log of which the online equipment mac in the current online equipment log is the same as the equipment mac in the to-be-filtered log equipment mac set;
the second log filtering component is used for filtering the current online equipment mac of the intelligent television mac from the current online equipment logs;
and the third log filtering component is used for filtering the current online device logs with the online device ip suffixes of 1 and 255 in the current online device log.
Specifically, the online device data processing module further includes:
the online equipment type identification unit is used for determining the equipment type corresponding to the online equipment mac in the current online equipment log and updating the current online equipment log to include log time, the intelligent television mac, the online equipment mac and the equipment type;
and the online equipment log screening unit is used for screening the current online equipment log to be analyzed according to the preset log screening conditions, traversing the current online equipment log to be analyzed and updating the current online equipment mac list.
Wherein, the online device type identification unit includes:
the equipment type acquisition component is used for acquiring an equipment type list corresponding to the equipment mac;
the equipment type query component is used for querying and obtaining the equipment type corresponding to the online equipment mac in the current online equipment log in the equipment type list corresponding to the equipment mac;
and the equipment type updating component is used for querying the equipment type corresponding to the online equipment mac in other online modes when the equipment type corresponding to the equipment mac cannot be queried in the equipment type list corresponding to the equipment mac, and updating the online equipment mac and the queried corresponding equipment type into the equipment type list corresponding to the equipment mac.
It should be noted that the user behavior data processing module includes:
the user behavior data processing unit is used for receiving user behavior data of the intelligent television and generating a current user behavior log; the current user behavior log comprises log time, the intelligent television mac and user behavior data.
It should be noted that the family log data generation module includes:
the family log data generation unit is used for acquiring a current user behavior log and a current online equipment mac list, generating and storing family user behavior log data; the family user behavior log data comprises log time, a smart television mac, user behavior data and a current online equipment mac list.
As shown in fig. 4, a fourth embodiment of the present invention further provides a device for acquiring home user behavior data based on a smart television, where on the basis of the third embodiment, the acquiring device further includes:
and the family log data uploading module is used for judging whether the stored family user behavior log data reach a preset uploading condition, if so, uploading the stored family user behavior log data, and if not, performing the action.
For the description of the features in the embodiments corresponding to fig. 3 and fig. 4, reference may be made to the related description of the embodiments corresponding to fig. 1 and fig. 2, which is not repeated here.
An embodiment of the present invention further provides a device for collecting data of home user behavior based on a smart television, including:
a memory for storing a computer program;
and the processor is used for executing the computer program to realize the steps of the intelligent television-based home user behavior data acquisition method.
The sixth embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the steps of the method for acquiring the behavior data of the home user based on the smart television are implemented.
The invention principle of the invention is as follows: ordinary families all use a router to current smart machine all can be networked. The method comprises the steps that device information in the current network is obtained by reading a local arp table, the device information is combined with the obtained operation information of a user on the smart television and then the processed operation information is reported to a big data center (cloud server) in a timing/quantitative mode, the big data center analyzes and mines the using behaviors of other devices in the home network of the user, the running conditions of the number of smart devices (mobile phones, computers, pads, sound boxes and the like) in the network, the member number of the home users in different periods, the members using the devices and the running conditions of the home smart devices to construct a home user portrait.
The method, the device and the computer-readable storage medium for acquiring the family user behavior data based on the smart television provided by the embodiment of the invention are described in detail above. The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description. It should be noted that, for those skilled in the art, it is possible to make various improvements and modifications to the present invention without departing from the principle of the present invention, and those improvements and modifications also fall within the scope of the claims of the present invention.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. 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 invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

Claims (14)

1. A family user behavior data acquisition method based on a smart television is characterized by comprising the following steps:
when user behavior data of the intelligent television are received, generating a current user behavior log, acquiring online equipment data of a home network where the intelligent television is located, generating a current online equipment log, and preprocessing the current online equipment log;
when a user does not operate the intelligent television, acquiring online equipment data of a home network where the intelligent television is located at certain intervals, generating a current online equipment log, and preprocessing the current online equipment log;
generating and storing family user behavior log data according to the current user behavior log and the preprocessed current online device log;
the method for acquiring the online equipment data of the home network where the intelligent television is located and generating the current online equipment log comprises the following steps:
reading an arp table of network equipment of a home network where the smart television is located, and generating a current online equipment log; the current online equipment log comprises log time, an intelligent television mac, online equipment mac and online equipment ip;
filtering current online equipment logs which are not required to be stored;
the method for filtering the current online device log which does not need to be stored comprises the following steps:
acquiring a device mac set of the log to be filtered, and filtering the current online device log of which the online device mac in the current online device log is the same as the device mac in the device mac set of the log to be filtered;
filtering the online equipment mac in the current online equipment log to obtain the current online equipment log of the intelligent television mac;
filtering current online device logs with the online device ip suffixes of 1 and 255 in the current online device log;
the method for acquiring the mac set of the log equipment to be filtered comprises the following steps: acquiring the mac of the intelligent television, and monitoring the networking broadcast of the intelligent television; and/or acquiring an exception _ device _ temp of a to-be-filtered log device mac set of the smart television through an API (application programming interface) provided by the smart television mac to the cloud server device _ server, if the exception _ device _ temp is not acquired successfully, using the existing exception _ device of the smart television, and if the acquisition is successful, replacing the original exception _ device with the value of the exception _ device _ temp.
2. The intelligent television-based home user behavior data acquisition method according to claim 1, wherein the method for preprocessing the current online device log comprises the following steps:
determining the equipment type corresponding to the online equipment mac in the current online equipment log, and updating the current online equipment log to include log time, the intelligent television mac, the online equipment mac and the equipment type;
and screening out the current online equipment log to be analyzed according to a preset log screening condition, traversing the current online equipment log to be analyzed, and updating a current online equipment mac list.
3. The intelligent television-based home user behavior data collection method of claim 2, wherein the method for determining the device type corresponding to the online device mac in the current online device log comprises:
acquiring a device type list corresponding to a device mac;
inquiring and obtaining the equipment type corresponding to the online equipment mac in the current online equipment log in the equipment type list corresponding to the equipment mac;
if the device type list corresponding to the device mac cannot be queried, querying the device type corresponding to the online device mac through other online modes, and updating the online device mac and the queried corresponding device type into the device type list corresponding to the device mac.
4. The method for collecting family user behavior data based on smart television as claimed in claim 1, wherein the method for generating the current user behavior log comprises:
receiving user behavior data of the intelligent television and generating a current user behavior log; the current user behavior log comprises log time, the intelligent television mac and user behavior data.
5. The method for collecting home user behavior data based on the smart television as claimed in claim 4, wherein the method for generating and storing home user behavior log data according to the current user behavior log and the preprocessed current online device log comprises:
acquiring a current user behavior log and a current online equipment mac list, generating and storing home user behavior log data; the family user behavior log data comprises log time, a smart television mac, user behavior data and a current online equipment mac list.
6. The intelligent television-based home user behavior data collection method of claim 1, further comprising:
and judging whether the stored family user behavior log data reach a preset uploading condition, if so, uploading the stored family user behavior log data, and if not, performing the action.
7. The utility model provides a family's user behavior data acquisition device based on smart TV which characterized in that includes:
the user behavior data processing module is used for generating a current user behavior log when user behavior data of the intelligent television are received, acquiring online equipment data of a home network where the intelligent television is located, generating a current online equipment log, and preprocessing the current online equipment log;
the online equipment data processing module is used for acquiring online equipment data of a home network where the intelligent television is located at intervals of a certain time and generating a current online equipment log when a user does not operate the intelligent television, and preprocessing the current online equipment log;
the family log data generation module is used for generating and storing family user behavior log data according to the current user behavior log and the preprocessed current online device log;
the online device data processing module comprises:
the online equipment data acquisition unit is used for reading an ARP table of network equipment of a home network where the intelligent television is located and generating a current online equipment log; the current online equipment log comprises log time, an intelligent television mac, online equipment mac and online equipment ip;
the online equipment data filtering unit is used for filtering current online equipment logs which do not need to be stored;
the online device data filtering unit includes:
the first log filtering component is used for acquiring a to-be-filtered log equipment mac set and filtering a current online equipment log of which the online equipment mac in the current online equipment log is the same as the equipment mac in the to-be-filtered log equipment mac set;
the second log filtering component is used for filtering the current online equipment mac of the intelligent television mac from the current online equipment logs;
the third log filtering component is used for filtering the current online device logs of which the online device ip suffixes are 1 and 255 in the current online device log;
the method for acquiring the mac set of the log equipment to be filtered comprises the following steps: acquiring the mac of the intelligent television, and monitoring the networking broadcast of the intelligent television; and/or acquiring an exception _ device _ temp of a to-be-filtered log device mac set of the smart television through an API (application programming interface) provided by the smart television mac to the cloud server device _ server, if the exception _ device _ temp is not acquired successfully, using the existing exception _ device of the smart television, and if the acquisition is successful, replacing the original exception _ device with the value of the exception _ device _ temp.
8. The intelligent television-based home user behavior data collection device of claim 7, wherein the online device data processing module further comprises:
the online equipment type identification unit is used for determining the equipment type corresponding to the online equipment mac in the current online equipment log and updating the current online equipment log to include log time, the intelligent television mac, the online equipment mac and the equipment type;
and the online equipment log screening unit is used for screening the current online equipment log to be analyzed according to the preset log screening conditions, traversing the current online equipment log to be analyzed and updating the current online equipment mac list.
9. The smart tv-based home user behavior data collection device of claim 8, wherein the online device type identification unit comprises:
the equipment type acquisition component is used for acquiring an equipment type list corresponding to the equipment mac;
the equipment type query component is used for querying and obtaining the equipment type corresponding to the online equipment mac in the current online equipment log in the equipment type list corresponding to the equipment mac;
and the equipment type updating component is used for querying the equipment type corresponding to the online equipment mac in other online modes when the equipment type corresponding to the equipment mac cannot be queried in the equipment type list corresponding to the equipment mac, and updating the online equipment mac and the queried corresponding equipment type into the equipment type list corresponding to the equipment mac.
10. The intelligent television-based home user behavior data collection device according to claim 8, wherein the user behavior data processing module comprises:
the user behavior data processing unit is used for receiving user behavior data of the intelligent television and generating a current user behavior log; the current user behavior log comprises log time, the intelligent television mac and user behavior data.
11. The device for collecting family user behavior data based on smart television as claimed in claim 10, wherein the family log data generating module comprises:
the family log data generation unit is used for acquiring a current user behavior log and a current online equipment mac list, generating and storing family user behavior log data; the family user behavior log data comprises log time, a smart television mac, user behavior data and a current online equipment mac list.
12. The smart television-based home user behavior data collection device of claim 7, wherein the collection device further comprises:
and the family log data uploading module is used for judging whether the stored family user behavior log data reach a preset uploading condition, if so, uploading the stored family user behavior log data, and if not, performing the action.
13. The utility model provides a family's user behavior data acquisition device based on smart TV which characterized in that includes:
a memory for storing a computer program;
a processor for executing the computer program to implement the steps of the smart tv-based home user behavior data collection method according to any one of claims 1 to 6.
14. A computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program when executed by a processor implements the steps of the smart tv-based home user behavior data collection method according to any one of claims 1 to 6.
CN201810520696.9A 2018-05-28 2018-05-28 Smart television-based home user behavior data acquisition method and device and computer-readable storage medium Active CN108769809B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810520696.9A CN108769809B (en) 2018-05-28 2018-05-28 Smart television-based home user behavior data acquisition method and device and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810520696.9A CN108769809B (en) 2018-05-28 2018-05-28 Smart television-based home user behavior data acquisition method and device and computer-readable storage medium

Publications (2)

Publication Number Publication Date
CN108769809A CN108769809A (en) 2018-11-06
CN108769809B true CN108769809B (en) 2021-06-29

Family

ID=64006009

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810520696.9A Active CN108769809B (en) 2018-05-28 2018-05-28 Smart television-based home user behavior data acquisition method and device and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN108769809B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113553105A (en) * 2020-04-23 2021-10-26 百度在线网络技术(北京)有限公司 Method and device for generating guide page
CN113179429A (en) * 2021-04-19 2021-07-27 广州欢网科技有限责任公司 Intelligent television service pushing method and intelligent television system
CN114880342A (en) * 2022-04-29 2022-08-09 青岛海尔科技有限公司 Information association method, device, equipment, storage medium and product

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1685353A (en) * 2002-11-19 2005-10-19 松下电器产业株式会社 Operation log cooperation utilizing device
CN101527812A (en) * 2008-03-07 2009-09-09 上海贝尔阿尔卡特股份有限公司 Method for automatically counting customer event information and program reception information in network television system
CN102158748A (en) * 2010-05-14 2011-08-17 青岛海信传媒网络技术有限公司 Methods and systems for collecting and uploading logs
CN103312544A (en) * 2013-06-14 2013-09-18 青岛海信传媒网络技术有限公司 Method, equipment and system for controlling terminals during log file reporting
CN103780625A (en) * 2014-01-26 2014-05-07 北京搜狗科技发展有限公司 Method and device for discovering interest of users
CN105093943A (en) * 2014-10-26 2015-11-25 深圳市艾瑟网络技术有限公司 Intelligent household system and data processing and background control service method thereof
WO2015196757A1 (en) * 2014-06-26 2015-12-30 中兴通讯股份有限公司 Television program recommending method and server
CN106570014A (en) * 2015-10-09 2017-04-19 阿里巴巴集团控股有限公司 Method and device for determining home attribute information of user

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1685353A (en) * 2002-11-19 2005-10-19 松下电器产业株式会社 Operation log cooperation utilizing device
CN101527812A (en) * 2008-03-07 2009-09-09 上海贝尔阿尔卡特股份有限公司 Method for automatically counting customer event information and program reception information in network television system
CN102158748A (en) * 2010-05-14 2011-08-17 青岛海信传媒网络技术有限公司 Methods and systems for collecting and uploading logs
CN103312544A (en) * 2013-06-14 2013-09-18 青岛海信传媒网络技术有限公司 Method, equipment and system for controlling terminals during log file reporting
CN103780625A (en) * 2014-01-26 2014-05-07 北京搜狗科技发展有限公司 Method and device for discovering interest of users
WO2015196757A1 (en) * 2014-06-26 2015-12-30 中兴通讯股份有限公司 Television program recommending method and server
CN105093943A (en) * 2014-10-26 2015-11-25 深圳市艾瑟网络技术有限公司 Intelligent household system and data processing and background control service method thereof
CN106570014A (en) * 2015-10-09 2017-04-19 阿里巴巴集团控股有限公司 Method and device for determining home attribute information of user

Also Published As

Publication number Publication date
CN108769809A (en) 2018-11-06

Similar Documents

Publication Publication Date Title
CN108769809B (en) Smart television-based home user behavior data acquisition method and device and computer-readable storage medium
CN105025318B (en) A kind of feedback method and device of the abnormal log information of application program
CN104168303A (en) Method and device for displaying network studio
CN103686237A (en) Method and system for recommending video resource
CN105100207A (en) Method and system for intelligently controlling child for getting online by parents
WO2017008404A1 (en) Mobile terminal control method, device and system
CN107241385B (en) Internet of things data acquisition system and method
JP6659889B1 (en) Information processing apparatus and computer program
CN109448710A (en) Voice processing method and device, household appliance and storage medium electronic device
CN111030893A (en) Method and device for analyzing user behaviors in cloud communication application scene
KR101744696B1 (en) Method, device, program and recording medium for filtering information
CN104918070A (en) Smart television-based video program push system and push method
CN107182073B (en) Network access system and method for configuration equipment
CN115811634B (en) Processing method, system, equipment and medium for video user behavior data
CN110708370B (en) Data processing method and terminal
CN105872742A (en) Network video downloading method and user terminal device
CN113742683A (en) Multi-screen anti-addiction method and system, server, user terminal and storage medium
CN104483880B (en) A kind of collecting method and data acquisition server
CN105721231B (en) A kind of quality of service perception detection method and device
CN109195014A (en) Set-top-box system and its application method with user&#39;s identification and program push function
CN111105789A (en) Awakening word obtaining method and device
CN115065508A (en) Method and apparatus for processing device twin data, storage medium, and electronic apparatus
CN109782631B (en) Intelligent household equipment identification method based on characteristic value comparison
CN107209670B (en) Configuration method and device of application attribute parameters and terminal
CN109684345B (en) Control method of environment-friendly equipment information management system

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
CB02 Change of applicant information

Address after: 610041 Tianfu Software Park Area A, 1129 Century City Road, Chengdu High-tech Zone, Sichuan Province

Applicant after: Chengdu Jimi Technology Co., Ltd.

Address before: 610041 Tianfu Software Park Area A, 1129 Century City Road, Chengdu High-tech Zone, Sichuan Province

Applicant before: CHENGDU XGIMI TECHNOLOGY CO., LTD.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20220119

Address after: 518000 511, 512, 513, 514, 515 and 516, building 1, Shenzhen software industry base, No. 81, 83 and 85, Gaoxin South 10th Road, Binhai community, Yuehai street, Nanshan District, Shenzhen, Guangdong

Patentee after: Shenzhen Jimi Software Technology Co.,Ltd.

Address before: No.2, floor 2, unit 1, building 4, Tianfu Software Park, no.1129, shijicheng Road, hi tech Zone, Chengdu, Sichuan 610041

Patentee before: Chengdu Jimi Technology Co.,Ltd.

TR01 Transfer of patent right