CN102780933B - A method for collecting user information and TV - Google Patents

A method for collecting user information and TV Download PDF

Info

Publication number
CN102780933B
CN102780933B CN201210202293.2A CN201210202293A CN102780933B CN 102780933 B CN102780933 B CN 102780933B CN 201210202293 A CN201210202293 A CN 201210202293A CN 102780933 B CN102780933 B CN 102780933B
Authority
CN
China
Prior art keywords
application
message
user information
information
user
Prior art date
Application number
CN201210202293.2A
Other languages
Chinese (zh)
Other versions
CN102780933A (en
Inventor
叶史进
Original Assignee
Tcl集团股份有限公司
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 Tcl集团股份有限公司 filed Critical Tcl集团股份有限公司
Priority to CN201210202293.2A priority Critical patent/CN102780933B/en
Publication of CN102780933A publication Critical patent/CN102780933A/en
Application granted granted Critical
Publication of CN102780933B publication Critical patent/CN102780933B/en

Links

Abstract

本发明适用于电视技术领域,提供了一种采集用户信息的方法及电视机,所述方法包括:接收安卓Android系统发送的应用状态消息;当所述应用状态消息是启动应用消息时,根据所述应用的标识进行用户信息数据采集;当所述应用状态消息是停止应用消息时,停止用户信息数据采集,将采集到的用户信息数据打包发送。 Technical Field The present invention is applicable to a television, the user is provided an information collection method and a television, the method comprising: receiving a status message Andrews Android application transmitted; status message when the application is started when the application message, based on the said user identification information of the application data collection; user information when the application state of the application message is a stop message, the user stops the data acquisition information, the collected package sent. 本发明,当运行在后台的程序接收到停止应用消息时,即可判断用户离开了该应用,停止采集用户信息,这样可以避免用户信息的多余采集。 The present invention, when the program running in the background of the application receiving the stop message, the user can leave the application is determined, to stop the acquisition of user information, to avoid collecting redundant user information.

Description

一种采集用户信息的方法及电视机 A method for collecting user information and TV

技术领域 FIELD

[0001] 本发明属于电视技术领域,尤其涉及一种采集用户信息的方法及电视机。 [0001] The present invention belongs to the field of televisions, particularly to a method for collecting user information and television sets.

背景技术 Background technique

[0002] 随着安卓Android系统越来越普及,使用Android作为主系统的智能电视日已进入普通大众的生活,消费大众对某一产品的认同,对某一产品信任,是一个产品、一个品牌在商场立于不败之地的基础,是企业利润来源之泉,而如何把握住终端消费者的喜好,如何把握消费者对现有产品或者服务的满意程度,其实是可以通过第一手的用户信息数据资料来获得,传统的做法是发放问卷调查,让用户填写相应的表格来进行,但是这种方法对于生活节奏快的消费大众来说,没有耐性来配合厂家、服务商对这类信息的收集,从而导致问卷回收率低,问卷第一手资料失真。 [0002] As Andrews Android is becoming increasingly popular, the use of Android as the main system for smart TV Japan has entered the life of the general public, the consumer public recognition of a product, a product of trust, is a product, a brand on the basis of the mall invincible, it is the fountain source of corporate profits, and how to grasp the end consumer preferences, how to grasp the degree of consumer satisfaction with the existing product or service, in fact, through first-hand user data to obtain information, the traditional approach is to survey questionnaires, allowing users to fill out the appropriate form, but this method for the fast pace of life in the consumer public, there is no patience to cope with manufacturers, service providers for such information collection, resulting in a low response rate, the questionnaire firsthand distortion.

[0003] 而已知的信息采集技术,是通过判断用户在某个频道或者某个程序的运行时间来判断用户对某个节目或者对某个应用程序的喜好,这种采集方法比较死板,信息采集准确率低,同时此类方法在Android系统中并不能很好的达到采集的功能,因为Android系统与其它操作系统的显著差别在于,当用户在不同的应用中切换时,被切换至后台的程序并没有注销释放资源,而是一直在后台运行中。 [0003] The information collection technology is known, is determined by the user at run-time of a program or a channel to determine a user preference for a program or an application program, this method is relatively rigid collection, information collection low accuracy, while the Android system such methods are not well reach the collection function, because significant difference Android operating system and other systems is that, when the user switch between different applications, the program is switched to the background and did not log off the release of resources, but has been running in the background. 故,传统的计时统计方法是没办法判断此用户是否离开了某个应用或者某个节目。 Therefore, the traditional method of timing statistics is no way to determine whether the user leaves an application or a program.

发明内容 SUMMARY

[0004] 本发明实施例提供了一种采集用户信息的方法及电视机,旨在解决现有技术提供的用户信息的采集方法比较死板,信息采集准确率低,并且不适用于Android系统的问题。 [0004] Problems embodiment of the invention provides a method for collecting user information and television sets, it is intended to address the user information acquisition method of the prior art to provide more rigid, accurate information collection is low, and the system does not apply to Android .

[0005] —方面,提供一种采集用户信息的方法,所述方法包括: [0005] - a method aspect, there is provided a collecting user information, said method comprising:

[0006] 步骤1、接收安卓Android系统发送的应用状态消息; [0006] Step 1, Android application receives the status message sent by the Android system;

[0007] 步骤2、当所述应用状态消息是启动应用消息时,根据所述应用的标识进行用户信息数据采集; [0007] Step 2, the application state when the application message is a message start, data collection user information according to the identifier of the application;

[0008] 步骤3、当所述应用状态消息是停止应用消息时,停止用户信息数据采集,将采集到的用户信息数据打包发送。 [0008] Step 3, when the application state of the application message is a stop message, the user stops the data acquisition information, the collected user information transmitted data package.

[0009] 另一方面,提供一种具有采集用户信息装置的电视机,所述电视机包括: [0009] In another aspect, there is provided a user information collecting apparatus having a television set, the television set comprising:

[0010] 通信单元,用于接收安卓Android系统发送的应用状态消息; [0010] a communication unit for receiving Android Android application status message transmitted by the system;

[0011] 第一信息采集单元,用于当所述应用状态消息是启动应用消息时,根据所述应用的标识进行用户信息数据采集; [0011] the first information collection means for, when the status message is an application message start the application, user data collection according to the identification information of the application;

[0012] 信息发送单元,用于当所述应用状态消息是停止应用消息时,停止用户信息数据采集,将采集到的用户信息数据打包发送。 [0012] The information transmitting means for, when the application state to stop the application message is a message, the user stops the data acquisition information, the collected user information transmitted data package.

[0013] 在本发明实施例中,由安卓Android系统判断应用的运行状态,并发送相应的应用状态消息至运行在后台的程序。 [0013] In an embodiment of the present invention, it is determined by the operating state Andrews Android application, and sends a corresponding message to the application state of the program running in the background. 当所述应用状态消息是启动应用消息时,运行在后台的程序根据所述应用的标识进行用户信息数据采集,;当所述应用状态消息是停止应用消息时,停止用户信息数据采集,将采集到的用户信息数据打包发送,由于应用的运行状态信息都是安卓Android系统监测并发送至运行在后台的程序的,因此运行在后台的程序能通过与安卓Android系统的交互实时得到应用的运行信息,比如,当接收到停止应用消息时,运行在后台的程序即可判断用户离开了该应用,停止采集用户信息,这样可以避免用户信息的多余采集,从而解决了传统采集方法无法解决的问题。 When the application message is a status message start the application, the program running in the background according to the identification information of the user application data acquisition; status message when the application is stopped when an application message, the user stops the data acquisition information, collected the data package to the user information transmitted, due to the application of operating state information is transmitted and Andrews Android monitoring program to run in the background, so that the program can run in the background and interactive Andrews Android application running information obtained in real time , for example, when receiving the stop message application, the program runs in the background to determine whether the user left the application, to stop the acquisition of user information, the user to avoid collecting redundant information, thereby solving the problem of the conventional acquisition method can not be solved.

附图说明 BRIEF DESCRIPTION

[0014]图1是本发明实施例一提供的采集用户信息的方法的实现流程图; [0014] FIG. 1 is a flow chart for implementing a method of collecting user information provided in an embodiment according to the present invention;

[0015]图2是本发明实施例二提供的采集用户信息的方法的实现流程图; [0015] FIG 2 is a flowchart of a method implemented collect user information according to a second embodiment of the present invention;

[0016]图3是本发明实施例三提供的具有采集用户信息装置的电视机的结构框图; [0016] FIG. 3 is a block diagram of a user information acquisition television apparatus according to a third embodiment of the present invention;

[0017]图4是本发明实施例四提供的具有采集用户信息装置的电视机的结构框图。 [0017] FIG. 4 is a block diagram of user information collecting apparatus having a television according to a fourth embodiment of the present invention.

具体实施方式 Detailed ways

[0018] 为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。 [0018] To make the objectives, technical solutions and advantages of the present invention will become more apparent hereinafter in conjunction with the accompanying drawings and embodiments of the present invention will be further described in detail. 应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。 It should be understood that the specific embodiments described herein are only intended to illustrate the present invention and are not intended to limit the present invention.

[0019] 在本发明实施例中,通过运行在安卓Android系统后台的程序,实时的与系统的核心服务Activity Manager服务进行交互,从用户点击进入某个应用开始统计,安卓Android系统通过查询运行该应用的时间、该应用所占用系统内存大小、系统的载荷等相关系统信息,由此来判断该应用的运行情况,并发送相应的应用状态消息至运行在后台的程序,由于应用的运行状态信息都是安卓Android系统监测并发送至运行在后台的程序的,因此运行在后台的程序能通过与安卓Android系统的交互实时得到应用的运行信息,比如,当接收到停止应用消息时,运行在后台的程序即可判断用户离开了该应用,停止采集用户信息,这样可以避免用户信息的多余采集,从而解决了传统采集方法无法解决的问题。 [0019] In the embodiment of the invention, the real-time by running the program in the background Andrews Android system and core services Activity Manager service system interaction from the user clicks to enter an application begins to statistics, Andrews Android system by the query is run time applications, the load system memory size, and other related system information system occupied by the application, thereby determining the operation of the application, and sends a corresponding message to the application state of the program running in the background, since the running status of the application information when Andrews Android are monitored and transmitted to the program running in the background, so that the program can run in the background and interactive Andrews Android operating information obtained in real time applications, such as, when receiving the stop message application, running in the background the program can determine the user leaves the application, stop collecting user information, to avoid unnecessary collection of user information, thereby solving the problem of the traditional collection methods can not be solved.

[0020] 以下结合具体实施例对本发明的实现进行详细描述: [0020] The following embodiments in conjunction with specific embodiments of the present invention is implemented will be described in detail:

[0021] 实施例一 [0021] Example a

[0022]图1示出了本发明实施例一提供的采集用户信息的方法的实现流程,该采集用户信息的方法可以应用在具有采集用户信息装置的电视机中,该采集用户信息装置内置有运行在后台的程序,通过该运行在后台的程序可以执行步骤SlOl至S103,详述如下: [0022] FIG. 1 shows a flow of the method of the present invention is implemented according to the acquired user information to a first embodiment, the method of collecting user information may be applied in a television device having collecting user information, the user information acquisition means built runs in the background, and steps SlOl to S103 can be performed by the program running in the background, as detailed below:

[0023] 在步骤SlOl中,接收安卓Android系统发送的应用状态消息。 [0023] In step SlOl, the application receives the status message sent by Andrews Android.

[0024] 安卓Android系统启动分为四个基本步骤,第一步:init进程启动,该init进程主要完成内核加载、初始化驱动和用户信息数据结构、启动用户级程序init,通过此init程序和一些.rc配置文件完成系统引导;第二步:本地Native服务启动,init.rc是安卓Android系统自己规定的初始化脚本,init进程打开.rc文件,解析文件内容将服务service信息存放在service_list中,调用execve O函数建立service进程,从而完成一些核心级程序的预启动,为后续服务的启动准备好环境;第三步:在完成核心级程序的预启动后,系统将启动安卓Android的一些重要的服务:System server (系统服务管理)、Zygote (孵化器)、Console (控制台进程服务)、Activity Manager (核心服务)等,安卓Android服务启动,完成系统及程序的管理和完全启动,这些服务通过注册进Systemserver服务,同时通过绑定Binder机制来进行相互资源 [0024] Andrews Android start four basic steps, the first step: init process starts, the init process is completed the main kernel is loaded, initialization drivers and user information data structure, user level programs start init, init program, and some by this .rc profiles complete the system boot; Step Two: local native service starts, init.rc Andrews Android system initialization script is self-imposed, init process open the .rc file, parses the contents of the file service information is stored in service_list service, call execve O function to create service process, thus completing the pre-start some of the core stage of the program, follow-up services to prepare for the start of a good environment; the third step: after the completion of pre-boot kernel-level program, the system will boot Android Android some important services : system server (service management system), Zygote (incubators), console (console process services), Activity Manager (core services), etc., Andrews Android service starts, complete management system and procedures and fully activated, these services by registering into Systemserver services, and resources to each other by binding mechanism Binder 的调用等,第四步:主界面HOME启动,呈现给用户主界面,用户可以在主界面中来进行程序启动操作等。 Calls, etc. Step Four: HOME start the main interface, the main interface presented to the user, the user can be programmed to start operation in the main interface.

[0025] 在本实施例中,内置运行在后台的程序的采集用户信息的装置需要与安卓Android系统的核心服务Activity Manager交互,所以需要把它自己注册进Systemserver,System server是系统级别的服务管理,通过把Activity Manager注册进System server,其它用户或者系统级别的服务则可以通过此System server来查询获取到Activity Manager服务,这样则可以调用Activity Manager服务的接口函数,就好像直接调用Android系统函数一样,这是Binder通信机制的特性之一,将采集用户信息的装置与System server绑定好后,采集用户信息的装置则进入消息接收循环,接收ActivityManager服务的接口函数发送的消息,通过该消息,采集用户信息的装置即可知道应用的运行状态,所述运行状态包括启动、暂停、继续运行和停止。 [0025] In this embodiment, the apparatus to collect user information program built to run in the background of the need to interact with the core services Activity Andrews Android system Manager, so it needs to register itself into Systemserver, System server is a system-level service management by the Activity Manager registered into the system server, other users or system-level service is through this system server to query gets to the Activity Manager service, so you can call the interface functions Activity Manager services, like direct calls to the Android system function as this is one of the characteristics Binder communication mechanism, the user information acquisition means good binding with system server, the user information acquisition device receives a message loop is entered, the message receiving service interface function ActivityManager transmitted by the message, user information acquisition means can know the running state of the application, the operating condition includes start, pause, stop and continue to run. 比如,当用户在桌面上点击一个应用程序时,Android系统则通过Activity Manager来创建应用运行的记录桟,同时创建应用的ActivityRecord到系统的记录文件中,通过socket通信到Zygote创建主要线程等,这时采集用户信息的装置接收到Activity Manager服务的接口函数发送的启动应用消息,则进入相关处理流程,当用户暂停此应用时,即该应用程序处于暂停应用状态,采集用户信息的装置则能接收到Activity Manager的接口函数发送的暂停应用消息,因为应用程序通过Activity Manager来调度应用程序在前台显示还是压入记录桟,即停止进入后台睡眠模式,其中,当所述应用状态处于运行中时,所述应用设置在记录栈的顶端;当所述应用状态处于暂停时,移动所述应用在记录栈的其它位置,所述其它位置是根据所述应用的运行顺序确定的,其中所述运行顺序由预先为所述应用设 For example, when a user clicks on an application on the desktop, Android system will be created by Activity Manager records Zhan applications running at the same time create ActivityRecord application to record the file system, create a main thread through the socket communication to Zygote, etc., which It means when collecting apparatus user information received to the startup application message interface function transmits the Activity Manager service, the process proceeds to the processing flow when the user pauses this application, i.e. the application is suspended application states, collect the user information is capable of receiving Activity Manager interface function to suspend the transmission of the application message, because the application is scheduled by application or pressed into the Activity Manager display recording Zhan, it stops the sleep mode into the background in the foreground, wherein, when the application state when in operation, the application is provided to the top of the recording stack; when the application is in a suspended state, further moving the application position of the recording stack, the other positions are determined according to the operating sequence of the application, wherein the run sequence the preset for the application 置的优先级别值来确定。 Priority value is set to be determined. 其它应用程序进入其它模式时,如再次运行resume或者停止destroy模式时,采集用户信息的装置都能监听到相应的消息来进入分别的处理流程。 When other applications to access other mode, such as running or stopping destroy resume mode again, the user information acquisition device can listen to the message to access a corresponding respective processes. 因为Android智能电视TV/DTV也是一个应用(AndroidPackage,APK),当用户进入电视端时,系统启动流程同普通的应用流程,在它的生命周期同样包含创建-启动-运行-停止-销毁这几个过程,所以电视端的采集同一般的应用,这是与传统方法的区别之一。 Because Android Smart TV TV / DTV is an application (AndroidPackage, APK), when the user enters the TV side, the system boot process with common application process, in its life cycle also includes creation - Start - Run - stop - destroy these a process, so the acquisition of the TV side with the general application, which is one of the traditional methods of difference. 另外,需要说明的是,本实施例中所述应用是电视频道的收看。 Further, it is noted that, in this embodiment the application is a TV channel.

[0026] 在步骤S102中,当所述应用状态消息是启动应用消息时,根据所述应用的标识进行用户信息数据采集。 [0026] In step S102, when the application state message is a message start the application, user information according to the identifier of the data collection application.

[0027] 在本实施例中,采集用户信息的装置与Activity Manager绑定以后,就可以进入循环侦听模式,接收Android系统发送的消息。 [0027] In the present embodiment, the user information acquisition means and the Activity Manager after binding, can enter the circulation listening mode, the system receives a message transmitted Android. 当用户在桌面上点击一个应用程序时,Android系统发送启动应用消息至采集用户信息的装置,采集用户信息的装置调用getpackgename O、getCPU O、getMemInfo O 与Android 系统交互,获取相关的Android 系统信息并存入用户信息数据库中,Android系统根据这些系统信息发送相应的应用状态消息至采集用户信息的装置。 When a user clicks on an application on the desktop, Android system sends launch the application message to the device user information collection, collection device call getpackgename O user information, getCPU O, getMemInfo O with Android system interaction, access to relevant Android system information and stored in the user information database, Android system sends a corresponding message according to the system application state information to the user information acquisition means. 当接收到启动应用消息时,采集用户信息的装置记录接收到所述启动应用消息的时间,并根据所述消息中所包含的应用的标识进行用户信息数据采集。 Upon receiving the message start the application, the user information acquisition means for recording the received message to the application starting time, and user information acquisition message according to the identifier included in the application. 具体采集的用户信息数据包括某类视频观看的时长,某个电视频道停留的时长等,收到停止应用消息时则相应的停止采集动作。 User information collected includes data specific length of time certain types of video viewing, such as a long-stay television channel, receive the corresponding stop action to stop the acquisition application message.

[0028] 在步骤S103中,当所述应用状态消息是停止应用消息时,停止用户信息数据采集,将采集到的用户信息数据打包发送。 [0028] In step S103, the status message when the application is stopped when an application message, the user stops the data acquisition information, the collected user information transmitted data package.

[0029] 在本实施例中,在将采集到的用户信息数据整理成预定的格式并打包发送出去之前,先判断采集的用户信息数据是否完整,如果完整,则将采集到的用户信息数据整理成预定的格式并打包发送出去;否则,删除所述采集的用户信息数据。 [0029] In the present embodiment, the collected user information to a predetermined format of data into and out before sending the package, the user first determines the collected information data is complete, if complete, then the collected user information collation packaged into a predetermined format and sent out; otherwise, deleting the user information of the collected data. 具体实现时,采集到的用户信息数据是实时存储在用户信息数据库中的,可以根据用户信息数据库中的预设字段的值来判断采集的用户信息数据是否异常。 In specific implementation, the collected data in real-time user information stored in the user information in the database, the user information may be determined whether data acquisition abnormal according to the value preset fields of the user information in the database.

[0030] 本实施例,当接收到启动应用消息时,根据所述应用的标识进行用户信息数据采集;当接收到停止应用消息时,停止用户信息数据采集,将采集到的用户信息数据打包发送。 [0030] Examples of the present embodiment, when the application receives a start message, the user according to the identification information to the data collection application; user information when receiving the stop message application, the user stops the data acquisition information, the collected package sent . 用户信息数据的采集是从应用的启动开始,至应用停止时结束,采集的用户信息数据是正好是整个应用生命周期的用户信息数据,可以避免用户信息数据采集的多余。 Collecting user information from the application data is beginning to start, ending when the application is stopped, the user information data acquisition is precisely the user information data throughout the application lifecycle, to avoid redundant data collection user information.

[0031] 实施例二 [0031] Second Embodiment

[0032]图2示出了本发明实施例二提供的采集用户信息的方法的实现流程,该采集用户信息的方法可以应用在具有采集用户信息装置的电视机中,详述如下: [0032] FIG. 2 shows a flow of the method of the present invention enables acquisition of user information according to a second embodiment, the method of collecting user information may be applied in a television with the user information acquisition means, detailed below:

[0033] 在步骤S201中,接收安卓Android系统发送的应用状态消息。 [0033] In step S201, the application receives the status message sent by Andrews Android.

[0034] 在步骤S202中,当所述应用状态消息是启动应用消息时,根据所述应用的标识进行用户信息数据采集。 [0034] In step S202, when the application state message is a message start the application, user information according to the identifier of the data collection application.

[0035] 在步骤S203中,当所述应用状态消息是暂停应用消息时,停止用户信息数据采集,存储采集到的用户信息数据,同时设置采集线程进入睡眠状态。 [0035] In step S203, when the application state is the suspend message application message, the user stops the data acquisition information, the user information stored in the collected data, and set acquisition thread goes to sleep.

[0036] 在步骤S204中,当所述应用状态消息是应用再次处于运行中的应用消息时,如果所述应用再次处于运行中的消息中的应用的标识与所述暂停应用消息中的应用的标识相同,则唤醒暂停应用时停止的所述采集线程,并通过所述采集线程继续进行用户信息数据的采集;否则,启动新的采集线程进行用户信息数据的采集。 [0036] In step S204, when the application state of the application message is a message is again in running the application, if the application is again in the application message application identification of the application running in the message to the suspended the same identity, the acquisition thread pause to stop the application of the wake, and continue to collect user information through the data acquisition thread; otherwise, start a new collection thread to collect user information data.

[0037] 在步骤S205中,当所述应用状态消息是停止应用消息时,停止用户信息数据采集,将采集到的用户信息数据打包发送。 [0037] In step S205, the status message when the application is stopped when an application message, the user stops the data acquisition information, the collected user information transmitted data package.

[0038] 本实施例,考虑了应用的暂停和暂停后应用再次处于运行中两种状态,使得应用用户信息数据的采集更加完整。 [0038] Examples of the present embodiment, after considering the suspension and the suspension has been applied again in operation two states, so that the user application data collection more complete information.

[0039] 另外,在该实施例中,步骤S201、S202和步骤S205具体描述可以参照实施例一中的详细说明 [0039] Further, in this embodiment, steps S201, S202 and step S205 may be described specifically in the detailed description of an embodiment with reference to

[0040] 实施例三 [0040] Example three

[0041]图3示出了本发明实施例三提供的具有采集用户信息装置的电视机的具体结构框图,为了便于说明,仅示出了与本发明实施例相关的部分。 [0041] FIG. 3 shows a block diagram of a specific configuration of the present invention the user information acquisition television apparatus according to a third embodiment, for convenience of description, only the parts related to the embodiment of the present invention. 该具有采集用户信息装置的电视机包括:通信单元31、第一信息采集单元32和信息发送单元33。 The user information acquisition apparatus having a television set comprising: a communication unit 31, the information acquisition unit 32 and a first information transmitting unit 33.

[0042] 其中,应用状态接收单元31,用于接收安卓Android系统发送的应用状态消息; [0042] wherein the application state receiving unit 31, for receiving Android application status message sent by the Android system;

[0043] 第一信息采集单元32,用于当所述应用状态消息是启动应用消息时,根据所述应用的标识进行用户信息数据采集; [0043] The first information acquisition unit 32, a status message when the application is started an application message, a user data acquisition according to the identification information of the application;

[0044] 信息发送单元33,用于当所述应用状态消息是停止应用消息时,停止用户信息数据采集,将采集到的用户信息数据打包发送。 [0044] The information transmitting unit 33, a status message when the application is stopped when an application message, the user stops the data acquisition information, the collected user information transmitted data package.

[0045] 本发明实施例提供的具有采集用户信息装置的电视机可以应用在前述对应的方法实施例一中,详情参见上述实施例一的描述,在此不再赘述。 TV user information collecting apparatus having an embodiment of the [0045] present invention can be applied in a corresponding method in the foregoing embodiment, details refer to a description of embodiments of the above-described embodiments, not described herein again.

[0046] 实施例四 [0046] Fourth Embodiment

[0047]图4示出了本发明实施例四提供的具有采集用户信息装置的电视机的具体结构框图,为了便于说明,仅示出了与本发明实施例相关的部分。 [0047] FIG. 4 shows a block diagram of a specific configuration of the present invention the user information acquisition television apparatus according to a fourth embodiment, for convenience of description, only the parts related to the embodiment of the present invention. 该具有采集用户信息装置的电视机包括:通信单元41、第一信息采集单元42、采集中断单元43和第二信息采集单元44和信息发送单元45。 The user information acquisition apparatus having a television set comprising: a communication unit 41, a first information acquisition unit 42, acquisition unit 43 and the second interrupt information acquisition unit 44 and an information transmitting unit 45.

[0048] 其中,应用状态接收单元41,用于接收安卓Android系统发送的应用状态消息; [0048] wherein the application state receiving unit 41, for receiving Android application status message sent by the Android system;

[0049] 第一信息采集单元42,用于当所述应用状态消息是启动应用消息时,根据所述应用的标识进行用户信息数据采集; [0049] The first information acquisition unit 42, a status message when the application is started an application message, a user data acquisition according to the identification information of the application;

[0050] 采集中断单元43,用于当所述应用状态消息是暂停应用消息时,停止用户信息数据采集,存储采集到的用户信息数据,同时设置所述采集线程进入睡眠状态; [0050] The acquisition unit 43 is interrupted, when the application state for pause message is an application message, the user stops the data acquisition information, the user information stored in the collected data while setting said acquisition thread to sleep;

[0051] 第二信息采集单元44,用于当所述应用状态消息是应用再次处于运行中的消息时,如果所述应用再次处于运行中的消息中的应用的标识与所述暂停应用消息中的应用的标识相同,则唤醒暂停应用时停止的所述采集线程,并通过所述采集线程继续进行用户信息数据的采集;否则,启动新的采集线程进行用户信息数据的采集; [0051] The second information acquisition unit 44, a status message when the application is an application message in operation again, if the application is again in operation in the identification of the application message in the suspended application message the application of the same identity, the acquisition thread pause to stop the application of the wake, and continue to collect user information through the data acquisition thread; otherwise, start a new collection thread to collect user information data;

[0052] 信息发送单元45,用于当所述应用状态消息是停止应用消息时,停止用户信息数据采集,将采集到的用户信息数据打包发送。 [0052] The information transmitting unit 45, a status message when the application is to stop the application message, the user stops the data acquisition information, the collected user information transmitted data package.

[0053] 另外,作为本发明一个优选实施例,所述电视机还包括注册单元46,所述注册单元46用于将核心服务Activity Manager注册到系统服务管理System server,这时,所述通信单元41通过调用所述核心服务Activity Manager获取所述应用状态消息。 [0053] Further, as a preferred embodiment of the present invention, the television set further comprises a registration unit 46, the registration unit 46 for registering the Activity Manager core services to the service management system System server, this time, the communication unit the core 41 is obtained by calling the service Activity Manager application status message.

[0054] 本发明实施例提供的具有采集用户信息装置的电视机可以应用在前述对应的方法实施例二中,详情参见上述实施例二的描述,在此不再赘述。 Embodiment [0054] The present invention provides the user with information collecting apparatus can be applied to a television in the second embodiment of the corresponding method, see the description of the above details, according to a second embodiment, which is not repeated herein.

[0055] 值得注意的是,上述系统实施例中,所包括的各个单元只是按照功能逻辑进行划分的,但并不局限于上述的划分,只要能够实现相应的功能即可;另外,各功能单元的具体名称也只是为了便于相互区分,并不用于限制本发明的保护范围。 [0055] Notably, the above-described system embodiments, the included units divided only in accordance with the logic function, but are not limited to the division, as long as the corresponding functions can be achieved; Further, each of the functional units specific names for convenience only distinguished from each other, are not intended to limit the scope of the present invention.

[0056] 另外,本领域普通技术人员可以理解实现上述各实施例方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,相应的程序可以存储于一计算机可读取存储介质中,所述的存储介质,如R0M/RAM、磁盘或光盘等。 [0056] Further, those of ordinary skill in the art may understand that the above embodiments all or part of the method steps may be relevant hardware instructed by a program, the corresponding program may be stored in a computer readable storage medium. the storage medium, such as a R0M / RAM, magnetic disk, or optical disk.

[0057] 以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。 [0057] The foregoing is only preferred embodiments of the present invention but are not intended to limit the present invention, any modifications within the spirit and principle of the present invention, equivalent substitutions and improvements should be included in the present within the scope of the invention.

Claims (8)

1.一种采集用户信息的方法,其特征在于,所述方法包括: 步骤1、接收安卓Android系统发送的应用状态消息; 步骤2、当所述应用状态消息是启动应用消息时,根据所述应用的标识进行用户信息数据采集; 步骤3、当所述应用状态消息是停止应用消息时,停止用户信息数据采集,将采集到的用户信息数据打包发送; 在步骤I之前,所述方法还包括: 将核心服务Activity Manager注册到系统服务管理System server ; 调用所述核心服务Activity Manager获取所述应用状态消息。 A method for collecting user information, wherein the method comprises: Step 1, Android application receives the status message sent by the Android system; step 2, when the application state message is a message start the application, according to the user identification information of the application data acquisition; step 3, the status message when the application is stopped when an application message, the user stops the data acquisition information, the collected user information package sent; prior to step I, said method further comprising : the Activity Manager core services registered with the service management system system server; call the core services Activity Manager application to obtain the status message.
2.如权利要求1所述的方法,其特征在于,在步骤2之后,所述方法还包括: 当所述应用状态消息是暂停应用消息时,停止用户信息数据采集,存储采集到的用户信息数据,同时设置所述采集线程进入睡眠状态。 User information message when the application state is to suspend the application message, the user information to stop data acquisition, storage collected: 2. The method according to claim 1, wherein, after step 2, the method further comprises data while setting said acquisition thread goes to sleep.
3.如权利要求2所述的方法,其特征在于,在所述当所述应用状态消息是暂停应用消息时,停止用户信息数据采集,存储采集到的用户信息数据,同时设置所述采集线程进入睡眠状态之后,所述方法还包括: 当所述应用状态消息是应用再次处于运行中的消息时,如果所述应用再次处于运行中的消息中的应用的标识与所述暂停应用消息中的应用的标识相同,则唤醒暂停应用时停止的所述采集线程,并通过所述采集线程继续进行用户信息数据的采集; 否则,启动新的采集线程进行用户信息数据的采集。 3. The method according to claim 2, wherein, when the status message when the application is to suspend the application message, the user stops the data acquisition information, the user information stored in the collected data while setting said acquisition thread after entering the sleep state, the method further comprising: when the application is an application status message in the message is again in operation, if the application is again in operation in the identification of the application message in the suspended application message the same application identification, acquisition thread pause stop the application of the wake, and continue to collect user information through the data acquisition thread; otherwise, start a new collection thread to collect user information data.
4.如权利要求3所述的方法,其特征在于,当所述应用状态处于运行中时,所述应用设置在记录栈的顶端; 当所述应用状态处于暂停时,移动所述应用在记录栈的其它位置,所述其它位置是根据所述应用的运行顺序确定的,其中所述运行顺序由预先为所述应用设置的优先级别值来确定。 4. The method according to claim 3, wherein, when the application state is in operation, the application is provided in the top of the stack of recording; when the application is in a suspended state, the mobile application in the recording other positions of the stack, the other positions are determined according to the operating sequence of the application, wherein the operation order previously determined by the priority level value set for the application.
5.如权利要求1至4任一项所述的方法,其特征在于,所述应用是电视频道的收看。 5. A method according to any one of claim 1 to claim 4, wherein said application is a TV channel.
6.一种具有采集用户信息装置的电视机,其特征在于,所述电视机包括: 通信单元,用于接收安卓Android系统发送的应用状态消息; 第一信息采集单元,用于当所述应用状态消息是启动应用消息时,根据所述应用的标识进行用户信息数据采集; 信息发送单元,用于当所述应用状态消息是停止应用消息时,停止用户信息数据采集,将采集到的用户信息数据打包发送; 所述电视机还包括: 注册单元,用于将核心服务Activity Manager注册到系统服务管理System server ; 所述通信单元通过调用所述核心服务Activity Manager获取所述应用状态消息。 A television set having the user information acquisition means, wherein, said television set comprising: a communication unit, Android application status message system for receiving a transmitted Andrews; a first information acquisition unit, when the application for launch the application status message is a message, the user according to the identification information to the data collection application; information transmitting means for, when the application state of the application message is a stop message, stop data collection user information, the collected user information transmitting data package; further said television set comprising: a registration unit for registering the Activity Manager core services to service management system system server; means acquires the communication status of the application message by calling the service core Activity Manager.
7.如权利要求6所述的电视机,其特征在于,所述电视机还包括: 采集中断单元,用于当所述应用状态消息是暂停应用消息时,停止用户信息数据采集,存储采集到的用户信息数据,同时设置所述采集线程进入睡眠状态。 7. The television receiver of claim 6, wherein said television set further comprises: acquisition interrupt means for, when the application state pause message is an application message, the user stops the data acquisition information, to store the captured the user information data, and set the acquisition thread goes to sleep.
8.如权利要求7所述的电视机,其特征在于,所述电视机还包括: 第二信息采集单元,用于当所述应用状态消息是应用再次处于运行中的消息时,如果所述应用再次处于运行中的消息中的应用的标识与所述暂停应用消息中的应用的标识相同,则唤醒暂停应用时停止的所述采集线程,并通过所述采集线程继续进行用户信息数据的采集;否则,启动新的采集线程进行用户信息数据的采集。 8. The television receiver of claim 7, wherein said television set further comprises: a second information acquisition unit, configured to, when the application is an application status message is again in operation in the message, if the application is again in the collection of the thread stops running message identifying the application with the same application pause message identifying an application, the application and wake-up time, and continue to collect user information collected through the threads ; otherwise, start a new collection thread to collect user information data.
CN201210202293.2A 2012-06-18 2012-06-18 A method for collecting user information and TV CN102780933B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210202293.2A CN102780933B (en) 2012-06-18 2012-06-18 A method for collecting user information and TV

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210202293.2A CN102780933B (en) 2012-06-18 2012-06-18 A method for collecting user information and TV

Publications (2)

Publication Number Publication Date
CN102780933A CN102780933A (en) 2012-11-14
CN102780933B true CN102780933B (en) 2015-12-02

Family

ID=47125669

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210202293.2A CN102780933B (en) 2012-06-18 2012-06-18 A method for collecting user information and TV

Country Status (1)

Country Link
CN (1) CN102780933B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104063058B (en) * 2014-07-10 2017-09-08 努比亚技术有限公司 Application of the method of split screen and the mobile terminal
CN105491453A (en) * 2015-12-10 2016-04-13 四川长虹电器股份有限公司 Method and system for restricting smart television application from running in the background
CN106098061A (en) * 2016-06-01 2016-11-09 Tcl集团股份有限公司 Speech interaction method and speech interaction device based on Android system
CN106126348A (en) * 2016-06-07 2016-11-16 青岛海信移动通信技术股份有限公司 Collected data reporting method and apparatus

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1825943A (en) * 2006-03-21 2006-08-30 李世平 Viewing rate data automatic acquiring and statistical system for digital TV system and method thereof
US20110041062A1 (en) * 2009-08-12 2011-02-17 Singer Howard M Systems, Methods, and Media for Coordinating the Presentation of Media with an Event
US20120072469A1 (en) * 2010-09-22 2012-03-22 Perez Albert R Methods and apparatus to analyze and adjust demographic information
CN102421025A (en) * 2011-11-22 2012-04-18 康佳集团股份有限公司 Television program guide method and system based on program content attributes

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1825943A (en) * 2006-03-21 2006-08-30 李世平 Viewing rate data automatic acquiring and statistical system for digital TV system and method thereof
US20110041062A1 (en) * 2009-08-12 2011-02-17 Singer Howard M Systems, Methods, and Media for Coordinating the Presentation of Media with an Event
US20120072469A1 (en) * 2010-09-22 2012-03-22 Perez Albert R Methods and apparatus to analyze and adjust demographic information
CN102421025A (en) * 2011-11-22 2012-04-18 康佳集团股份有限公司 Television program guide method and system based on program content attributes

Also Published As

Publication number Publication date
CN102780933A (en) 2012-11-14

Similar Documents

Publication Publication Date Title
CN101427237B (en) Integrated on-demand operating system and application delivery system and method
US8776105B2 (en) Method and system for automatic content recognition protocols
KR101030874B1 (en) System and method for effectively implementing personal channels for interactive television
KR101933246B1 (en) Resuming applications and/or exempting applications from suspension
US20060026162A1 (en) Content management system
US9378770B2 (en) Systems and methods of facilitating installment-by-installment consumption of discrete installments of a unitary media program
US8589512B2 (en) Application launcher systems, methods, and apparatuses
US10120645B2 (en) Electronic device, server and control method thereof
US8543164B2 (en) Sleep method, wake method and mobile terminal device
US8127168B2 (en) Data processing device for reducing power consumption while operating a virtualized environment, and a non-transitory computer-readable recording medium and integrated circuit for performing the same
US20120317271A1 (en) Video and Site Analytics
WO2012106271A1 (en) Stitching advertisements into a manifest file for streaming video
JP2012508424A (en) Portable data storage device using host device to start data transfer
CN104866342A (en) Method and device for simultaneously starting multiple same applications on intelligent terminal
KR20090115131A (en) Supporting multiple operating systems in media devices
EP2746936A1 (en) Method and system for starting application in linux container
JP2004023326A (en) Video recorder
CN103279878B (en) An interactive digital television advertising precise delivery system and method
GB2507261A (en) Reverting to a snapshot of a VM by modifying metadata
US9870268B2 (en) Virtual computing instance migration
US8997090B2 (en) Installing an operating system in a host system
US7506144B2 (en) Dynamic pre-operating system billboard service
TWI581625B (en) Information transfer method and system
CN104239132B (en) One kind of wake-up method of alignment, and a terminal device
CN104991803B (en) Method and system for control from the start of application android under certain conditions

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
C14 Grant of patent or utility model