[go: up one dir, main page]

CN107835460A - A kind of method and device for controlling terminal plays state - Google Patents

A kind of method and device for controlling terminal plays state Download PDF

Info

Publication number
CN107835460A
CN107835460A CN201711365395.5A CN201711365395A CN107835460A CN 107835460 A CN107835460 A CN 107835460A CN 201711365395 A CN201711365395 A CN 201711365395A CN 107835460 A CN107835460 A CN 107835460A
Authority
CN
China
Prior art keywords
terminal
default
preset
enter
control
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.)
Pending
Application number
CN201711365395.5A
Other languages
Chinese (zh)
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201711365395.5A priority Critical patent/CN107835460A/en
Publication of CN107835460A publication Critical patent/CN107835460A/en
Pending legal-status Critical Current

Links

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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/161Detection; Localisation; Normalisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/168Feature extraction; Face representation
    • 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/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Databases & Information Systems (AREA)
  • Signal Processing (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • Social Psychology (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a kind of method and device for controlling terminal plays state, methods described includes:Image in front of the camera collection second terminal of first terminal, the second terminal are in broadcast state;According to described image, determine whether pre-set user enters and default forbid viewing areas;When the pre-set user enter it is described it is default forbid viewing areas when, control the second terminal to enter and stop broadcast state.The solution of the present invention can more effectively correct viewing behavior in the multimedia messages that user plane plays to terminal viewing terminal, so as to more effectively form good viewing custom.

Description

一种控制终端播放状态的方法及装置A method and device for controlling the playback state of a terminal

技术领域technical field

本发明涉及终端领域,尤其涉及一种控制终端播放状态的方法及装置。The present invention relates to the field of terminals, in particular to a method and device for controlling the playback state of a terminal.

背景技术Background technique

多媒体作为信息传播的重要形式,广泛应用于各种终端中,如固定终端(电视、台式电脑)或移动终端(手机、平板电脑)。具体地,可以在终端中播放展示音、视频等媒体信息,比如通过电视播放电影,或为儿童播放动画片等。As an important form of information dissemination, multimedia is widely used in various terminals, such as fixed terminals (TV, desktop computer) or mobile terminals (mobile phone, tablet computer). Specifically, media information such as audio and video can be displayed on the terminal, such as playing movies on TV, or playing cartoons for children.

然而,在终端播放多媒体信息的过程中,用户通常会面对终端的屏幕进行观看,出于对健康的考虑,通常需要用户以合适的视角或保持合适的距离进行观看,即需要保持健康的观看行为,对于年幼的儿童更是如此。这就需要在用户面对终端观看多媒体信息时,尽量保持健康的观看行为,并在出现不健康的观看行为时对用户进行纠正。因此,亟需一种在用户面对终端观看多媒体信息时,更有效的对用户的观看行为进行纠正的方案。However, when the terminal is playing multimedia information, the user usually watches the screen of the terminal. For health reasons, the user is usually required to watch at an appropriate viewing angle or at an appropriate distance, that is, it is necessary to maintain healthy viewing behavior, especially for young children. This requires that when the user faces the terminal to watch multimedia information, try to maintain a healthy viewing behavior, and correct the user when an unhealthy viewing behavior occurs. Therefore, there is an urgent need for a more effective solution to correct the user's viewing behavior when the user faces the terminal to view multimedia information.

发明内容Contents of the invention

本发明实施例提供一种控制终端屏幕播放状态的方法,旨在在用户面对终端观看终端播放的多媒体信息时,更有效地纠正观看行为,从而更有效地养成良好的观看习惯。The embodiment of the present invention provides a method for controlling the playback state of the terminal screen, aiming at more effectively correcting the viewing behavior when the user faces the terminal to watch the multimedia information played by the terminal, so as to more effectively form a good viewing habit.

为了解决上述技术问题,本发明是这样实现的:In order to solve the problems of the technologies described above, the present invention is achieved in that:

第一方面,提供了一种控制终端播放状态的方法,该方法包括:In the first aspect, a method for controlling the playback state of a terminal is provided, the method comprising:

第一终端的摄像头采集第二终端前方的图像,所述第二终端处于播放状态;The camera of the first terminal collects images in front of the second terminal, and the second terminal is in a playback state;

根据所述图像,确定预设用户是否进入预设的禁止观看区域;According to the image, determine whether the preset user enters the preset prohibited viewing area;

当所述预设用户进入所述预设的禁止观看区域时,控制所述第二终端进入停止播放状态。When the preset user enters the preset prohibited viewing area, control the second terminal to enter the stop playing state.

第二方面,提供了一种控制终端播放状态的装置,该装置包括:第一终端的摄像头、禁区探测模块、控制模块,其中,In the second aspect, a device for controlling the playback state of a terminal is provided, the device includes: a camera of the first terminal, a forbidden zone detection module, and a control module, wherein,

所述第一终端的摄像头,用于采集第二终端前方的图像,所述第二终端处于播放状态;The camera of the first terminal is used to collect images in front of the second terminal, and the second terminal is in a playback state;

所述禁区探测模块,用于根据所述图像,确定预设用户是否进入预设的禁止观看区域;The restricted area detection module is used to determine whether the preset user enters the preset prohibited viewing area according to the image;

所述控制模块,用于当所述预设用户进入所述预设的禁止观看区域时,控制所述第二终端进入停止播放状态。The control module is configured to control the second terminal to enter a playback stop state when the preset user enters the preset prohibited viewing area.

第三方面,提供了一种终端设备,该终端设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如第一方面所述的方法的步骤。In a third aspect, a terminal device is provided. The terminal device includes a processor, a memory, and a computer program stored in the memory and operable on the processor. When the computer program is executed by the processor The steps of the method described in the first aspect are realized.

第四方面,提供了一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如第一方面所述的方法的步骤。In a fourth aspect, a computer-readable storage medium is provided, wherein a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method according to the first aspect are implemented .

在本发明实施例中,根据第一终端摄像头采集到的处于播放状态的第二终端前方的图像,确定预设用户是否进入预设的禁止观看区域,当确定该预设用户进入预设的禁止观看区域时,控制第二终端进入停止播放状态。即在用户观看终端中的多媒体信息时,通过发现用户进入观看禁区的行为而停止播放的方式,帮助用户自主地意识不健康的观看行为,从而更有效的纠正观看行为,也可以更有效地养成良好的观看习惯,解决了现有通过自主或人为训导的方式纠正观看行为效果较差的问题。In the embodiment of the present invention, according to the image in front of the second terminal in the playing state collected by the camera of the first terminal, it is determined whether the preset user enters the preset forbidden viewing area, and when it is determined that the preset user enters the preset forbidden When watching the area, control the second terminal to enter the stop playing state. That is to say, when the user watches the multimedia information in the terminal, by finding the behavior of the user entering the restricted viewing area and stopping the playback, it helps the user to realize the unhealthy viewing behavior autonomously, so as to correct the viewing behavior more effectively and develop a more effective The good viewing habit solves the problem that the existing self-directed or artificial training methods are less effective in correcting viewing behaviors.

附图说明Description of drawings

此处所说明的附图用来提供对本发明的进一步理解,构成本发明的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The accompanying drawings described here are used to provide a further understanding of the present invention, and constitute a part of the present invention. The schematic embodiments of the present invention and their descriptions are used to explain the present invention, and do not constitute improper limitations to the present invention. In the attached picture:

图1是观看行为的示意图;Figure 1 is a schematic diagram of viewing behavior;

图2是本发明提供的控制终端播放状态的方法的流程示意图;FIG. 2 is a schematic flowchart of a method for controlling the playback state of a terminal provided by the present invention;

图3是本发明提供采集第二终端前方图像的示意图;Fig. 3 is a schematic diagram of collecting images in front of the second terminal provided by the present invention;

图4是本发明提供的确定预设用户是否进入预设的禁止观看区域的示意图;Fig. 4 is a schematic diagram of determining whether a preset user enters a preset prohibited viewing area provided by the present invention;

图5是本发明提供的确定预设用户是否进入预设的禁止观看区域的示意图;Fig. 5 is a schematic diagram of determining whether a preset user enters a preset prohibited viewing area provided by the present invention;

图6是本发明提供的控制终端播放状态的装置的结构图;Fig. 6 is a structural diagram of a device for controlling the playback state of a terminal provided by the present invention;

图7是本发明提供的实现控制终端播放状态的示意图;Fig. 7 is a schematic diagram of realizing the playing state of the control terminal provided by the present invention;

图8是本发明提供的实现控制终端播放状态的示意图;Fig. 8 is a schematic diagram of realizing the playing state of the control terminal provided by the present invention;

图9是本发明提供的实现控制终端播放状态的示意图;Fig. 9 is a schematic diagram of realizing the playing state of the control terminal provided by the present invention;

图10是本发明提供的一种移动终端的硬件结构示意图。FIG. 10 is a schematic diagram of a hardware structure of a mobile terminal provided by the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

如前所述,在用户观看终端播放的多媒体信息时,出于健康的考虑,通常需要保持健康的观看行为,对于年幼的儿童而言更是如此。比如图1所示,为观看行为的示意图,比如图中的儿童可以在电视终端(简称电视)的正前方、且较远的距离。但如果距离过近,就需要及时进行纠正,避免形成不好的习惯。目前可以通过自律或他人训导的方式对观看行为进行纠正,但两种方式起到的效果均不理想。首先,在集中精力观看时很难保持较高的自律性,对于自律性普遍较差的儿童更是如此;其次,他人监督的方式也会浪费人力,况且对于认知普遍较差的儿童而言,很难理解何为健康。所以,基于上述缺陷,本发明实施例提供一种控制终端播放状态的方法,在用户面对终端观看终端播放的多媒体信息时,更有效的纠正观看行为,从而更有效地养成良好的观看习惯,参见图2所示,本方案可以应用于第一终端,该方法包括:As mentioned above, when a user watches multimedia information played by a terminal, it is generally necessary to maintain a healthy viewing behavior for health considerations, especially for young children. For example, as shown in FIG. 1 , it is a schematic diagram of viewing behavior. For example, the child in the figure may be directly in front of the TV terminal (referred to as TV) and at a relatively long distance. But if the distance is too close, it needs to be corrected in time to avoid forming bad habits. At present, viewing behavior can be corrected through self-discipline or other people's discipline, but the effect of the two methods is not satisfactory. First of all, it is difficult to maintain a high level of self-discipline when concentrating on watching, especially for children with generally poor self-discipline; , it is difficult to understand what is healthy. Therefore, based on the above defects, the embodiment of the present invention provides a method for controlling the playback status of the terminal, which can more effectively correct the viewing behavior when the user faces the terminal to watch the multimedia information played by the terminal, so as to more effectively develop a good viewing habit , as shown in FIG. 2, this solution can be applied to the first terminal, and the method includes:

步骤101:第一终端的摄像头采集第二终端前方的图像。Step 101: The camera of the first terminal collects an image in front of the second terminal.

前文已经描述,用户通常会面对终端进行观看,即在终端的前方观看多媒体信息,所以为了对用户的观看行为进行纠正,可以先获知用户的观看行为。具体地,第一终端可以是集成摄像头的独立的终端,比如可以是集成摄像头(具有图像采集功能的)的移动终端,而第二终端可以是用于播放多媒体信息的终端,比如可以是前文举例的电视。从而可以通过移动终端的摄像头采集电视前方的图像,而在实际应用中,移动终端在采集电视前方的图像时,可以以适合的位置或角度进行采集。比如如图3所示,为移动终端的摄像头采集电视前方的图像的示意图,其中,摄像头1(CAMERA,简称C)和摄像头2可以是放置在不同位置的移动终端(即第一终端)的摄像头。而在实际应用中,可以通过至少一个移动终端的摄像头,采集电视前方的图像,比如可以只通过摄像头2来采集。而如图3中的虚线区域,就可以是电视前方的区域,可以通过设置至少一个移动终端的摄像头的位置和角度,采集到电视前方的图像。由于通常是在电视播放状态下,也就是用户观看时,需要进行行为纠正,所以此时的第二终端可以处于播放状态。As described above, the user usually watches the terminal, that is, watches the multimedia information in front of the terminal. Therefore, in order to correct the user's viewing behavior, the user's viewing behavior can be obtained first. Specifically, the first terminal may be an independent terminal with an integrated camera, such as a mobile terminal with an integrated camera (with an image collection function), and the second terminal may be a terminal for playing multimedia information, such as the preceding example TV. Therefore, the image in front of the TV can be collected by the camera of the mobile terminal, and in practical applications, when the mobile terminal collects the image in front of the TV, it can be collected at a suitable position or angle. For example, as shown in FIG. 3 , it is a schematic diagram of capturing an image in front of a TV by a camera of a mobile terminal, wherein camera 1 (CAMERA, referred to as C) and camera 2 may be cameras of a mobile terminal (ie, a first terminal) placed in different positions . In a practical application, the image in front of the TV can be collected through at least one camera of the mobile terminal, for example, the image can be collected only through the camera 2 . The dotted line area in FIG. 3 can be the area in front of the TV, and the image in front of the TV can be collected by setting the position and angle of at least one camera of the mobile terminal. Since it is usually in the TV playing state, that is, when the user is watching, behavior correction needs to be performed, so the second terminal at this time can be in the playing state.

步骤103:根据采集到的图像,确定预设用户是否进入预设的禁止观看区域。Step 103: According to the collected images, determine whether the preset user enters the preset prohibited viewing area.

预设的禁止观看区域可以是指预先设置的禁止观看第二终端播放的多媒体信息时所处的区域。比如该禁止观看区域可以是距离电视过近的区域,也可以是视角过大的区域等。本步骤就可以根据采集到的第二终端前方的图像,确定预设用户是否进入预设的禁止观看区域。The preset forbidden viewing area may refer to a preset area where watching the multimedia information played by the second terminal is prohibited. For example, the prohibited viewing area may be an area that is too close to the TV, or an area that has a large viewing angle. In this step, it can be determined whether the preset user enters the preset prohibited viewing area according to the collected image in front of the second terminal.

具体而言,可以通过下述两种方式确定预设用户是否进入到预设的禁止观看区域:Specifically, the following two methods can be used to determine whether the preset user has entered the preset prohibited viewing area:

第一种方式,可以将能够采集到的第二终端前方的图像范围对应的第二终端前方的区域设置为禁止观看的区域,即只要识别到预设用户出现在采集到的图像中,就可以确定该预设用户进入到预设的禁止观看区域。具体地,当第一终端的摄像头采集到第二终端前方的图像后,可以对图像进行特征提取,当提取出的特征满足预设条件时,就可以确定有预设用户出现在图像中,即在图像中识别出有预设用户存在。比如,可以将提取结果与预设的人类特征进行匹配,当匹配成功后,即可以确定提取出的特征满足预设条件。在实际中,可以预先存储人类特征,比如可以是以人类身体结构为基础的特征,当采集到图像后,可以对图像进行特征提取,从而确定是否识别出预设用户。如图4所示,电视前方的矩形阴影区域可以是对应的移动终端摄像头能够采集到的图像范围,则当在采集到的图像中识别出预设用户时,即可认为预设用户出现在图4的阴影区域内,则可以确定该预设用户进入预设的禁止观看区域。In the first way, the area in front of the second terminal corresponding to the image range in front of the second terminal that can be collected can be set as an area that is prohibited from viewing, that is, as long as it is recognized that the preset user appears in the collected image, you can It is determined that the preset user has entered a preset prohibited viewing area. Specifically, after the camera of the first terminal captures the image in front of the second terminal, feature extraction can be performed on the image, and when the extracted feature meets the preset condition, it can be determined that a preset user appears in the image, that is, The preset user presence is recognized in the image. For example, the extraction result can be matched with preset human features, and when the matching is successful, it can be determined that the extracted features meet the preset conditions. In practice, human features can be stored in advance, such as features based on human body structure, and after the image is collected, feature extraction can be performed on the image to determine whether the preset user is recognized. As shown in Figure 4, the rectangular shaded area in front of the TV can be the range of images that can be collected by the corresponding mobile terminal camera, then when the preset user is identified in the collected image, it can be considered that the preset user appears in 4, it can be determined that the preset user has entered the preset prohibited viewing area.

第二种方式,可以在能够采集到的第二终端前方的图像中划分一预设范围,将该预设范围对应的第二终端前方的区域中的部分区域设置为禁止观看的区域,即只要识别出预设用户出现在采集到的图像的预设范围内时,就可以确定该预设用户进入了禁止观看区域,所以在一种实施方式中,预设的禁止观看区域可以为图像内的预设范围,则确定预设用户进入预设的禁止观看区域,可以包括:当在图像的该预设范围内识别出预设用户时,确定该预设用户进入预设的禁止观看区域。具体地,当第一终端的摄像头采集到第二终端前方的图像后,也可以与前一种方式类似地,对图像进行特征提取,当提取出的特征满足预设条件时,可以确定有预设用户出现在图像中,并根据提取出的特征的位置,确定出该预设用户在图像中的位置,从而确定该预设用户是否在该图像的预设范围内。如图5所示,电视前方的区域可以是对应的移动终端摄像头能够采集到的图像,可以在该区域中划分出一个预设的矩形范围(对应采集到的图像的预设范围),当在采集到的图像中(即相当于在图5中的终端前方的区域)的该预设范围内(相当于在图5中的阴影区域)识别出用户时,则可以确定用户进入预设的禁止观看区域。而在实际应用中,也完全可以将预设范围设置为图像内的全部范围,达到的效果就可以类似于第一种方式,即在能够采集到的终端前方的图像中划分一预设范围,该预设范围为图像的全部范围,则只要在图像内识别到预设用户出现时,就可以确定该预设用户进入了禁止观看区域。In the second way, a preset range can be divided in the image in front of the second terminal that can be collected, and part of the area in front of the second terminal corresponding to the preset range can be set as a prohibited viewing area, that is, as long as When it is recognized that the preset user appears within the preset range of the captured image, it can be determined that the preset user has entered the prohibited viewing area, so in one embodiment, the preset prohibited viewing area can be a In the preset range, determining that the preset user enters the preset no-viewing area may include: when the preset user is identified within the preset range of the image, determining that the preset user enters the preset no-viewing area. Specifically, after the camera of the first terminal captures the image in front of the second terminal, similar to the previous method, feature extraction can be performed on the image, and when the extracted feature satisfies the preset condition, it can be determined that there is a preset Assume that the user appears in the image, and determine the position of the preset user in the image according to the extracted feature position, so as to determine whether the preset user is within the preset range of the image. As shown in Figure 5, the area in front of the TV can be the image that can be captured by the corresponding mobile terminal camera, and a preset rectangular range (corresponding to the preset range of the captured image) can be divided in this area. When a user is identified within the preset range (equivalent to the shaded area in FIG. 5 ) in the collected image (that is, the area in front of the terminal in FIG. 5 ), it can be determined that the user is prohibited from entering the preset viewing area. In practical applications, it is also possible to set the preset range as the entire range in the image, and the effect achieved can be similar to the first method, that is, to divide a preset range in the image in front of the terminal that can be collected. The preset range is the entire range of the image, so as long as the preset user is recognized in the image, it can be determined that the preset user has entered the prohibited viewing area.

在实际应用中,并不需要确定所有用户是否进入预设的禁止观看区域,比如,可以仅针对儿童,而对于成年人,由于通常情况下自律性较强,所以无需在其进行观看时进行行为纠正。所以,在一种实施方式中,根据图像,确定预设用户是否进入预设的禁止观看区域,可以包括:根据图像对识别到的用户进行特征提取;当提取的特征与预设的特征匹配时,将该识别到的用户确定为预设用户,并确定该预设用户是否进入预设的禁止观看区域。具体地,可以预先存储需要进行纠正的预设用户的特征,比如可以将儿童的人脸特征进行存储,当采集到第二终端前方的图像后,可以对该图像进行人脸识别,当识别结果与预存的人脸特征匹配时,则可以将该识别到的用户确定为预设用户,并可以确定该预设用户是否进入预设的禁止观看区域。In practical applications, it is not necessary to determine whether all users enter the preset prohibited viewing area. For example, it can only target children, but for adults, since they are usually more self-disciplined, there is no need to act when they are watching correct. Therefore, in one embodiment, determining whether the preset user enters the preset prohibited viewing area according to the image may include: performing feature extraction on the identified user according to the image; when the extracted feature matches the preset feature , determining the identified user as a preset user, and determining whether the preset user enters a preset prohibited viewing area. Specifically, the features of preset users that need to be corrected can be stored in advance, for example, the face features of children can be stored, and after the image in front of the second terminal is collected, face recognition can be performed on the image, and when the recognition result When matching with the pre-stored facial features, the recognized user can be determined as the preset user, and it can be determined whether the preset user enters the preset prohibited viewing area.

步骤105:当预设用户进入预设的禁止观看区域时,控制第二终端进入停止播放状态。Step 105: When the preset user enters the preset prohibited viewing area, control the second terminal to enter the stop playing state.

现有的通过自律或训导的方式对于纠正观看行为,对养成良好的观看习惯效果不佳,一部分原因在于不论用户是否处于健康的观看行为中,均不会影响正常观看,也就导致用户更容易忽略纠正观看行为,尤其针对儿童,不论是否处于健康的观看行为中,均不影响正常观看。比如,即使离电视距离很近,或听从家长的训导远离电视,均不影响正常观看,不利于儿童自己意识观看行为的健康与否,而如果家长此时关闭电视反而会激发儿童的逆反心理。所以,本步骤可以在确定出预设用户进入预设的禁止观看区域时,控制第二终端进入停止播放状态,使用户能够自主地意识到自身正在处于非健康的观看行为。比如通过发送暂停播放的指令,控制电视正在播放的多媒体信息进入停止播放状态。The existing methods of self-discipline or discipline are ineffective in correcting viewing behavior and developing good viewing habits. Part of the reason is that no matter whether the user is in a healthy viewing behavior, it will not affect normal viewing, which will lead to more frequent viewing of users. It is easy to neglect to correct viewing behavior, especially for children, whether they are in healthy viewing behavior or not, it does not affect normal viewing. For example, even if the distance from the TV is very close, or follow the instructions of the parents to stay away from the TV, it will not affect the normal viewing, which is not conducive to the health of children's self-awareness of watching behavior. However, if the parents turn off the TV at this time, it will stimulate the children's rebellious psychology. Therefore, this step can control the second terminal to enter the stop playing state when it is determined that the preset user enters the preset prohibited viewing area, so that the user can autonomously realize that he is in an unhealthy viewing behavior. For example, by sending an instruction to pause playback, the multimedia information being played on the TV is controlled to enter a stop playing state.

在实际应用中,当预设用户确实进入预设的禁止观看区域时,也可能出于自主的意识或判断,进行自主纠正,比如,当儿童距离电视过近,自主意识到这一问题或家长及时训导后,退出禁止观看的区域,也就无需停止播放电视中的多媒体信息。所以在一种实施方式中,当预设用户进入预设的禁止观看区域时,控制第二终端进入停止播放状态,可以包括:当预设用户进入预设的禁止观看区域且持续时间大于预设时间阈值时,控制第二终端进入停止播放状态。即当用户进入预设的禁止观看区域后,可以留给用户一段时间(预设时间阈值)自主纠正,当超过预设时间阈值后,依旧处在禁止观看区域中时,则可以控制第二终端进入停止播放状态。In practical applications, when the preset user does enter the preset prohibited viewing area, it may also be corrected out of voluntary awareness or judgment. After instructing in time, exit the area that is forbidden to watch, just needn't stop playing the multimedia information in the TV. Therefore, in one embodiment, when the preset user enters the preset prohibited viewing area, controlling the second terminal to enter the stop playing state may include: when the preset user enters the preset prohibited viewing area and the duration is longer than the preset When the time threshold is reached, the second terminal is controlled to enter the playback stop state. That is, when the user enters the preset prohibited viewing area, the user can be left for a period of time (preset time threshold) to make corrections independently. When the user is still in the prohibited viewing area after exceeding the preset time threshold, the second terminal can be controlled Enter the stop playback state.

在实际应用中,为了达到更好地引导用户纠正观看行为的目的,本方法还可以包括:控制第二终端播放预设的音频和/或视频。具体地,该预设的音频和/或视频可以用于提示用户退出禁止观看区域。比如,该音频和/或视频可以是为儿童制作的观看电视的健康宣传片,其中可以包含观看姿势、观看距离等宣传内容。In practical applications, in order to better guide the user to correct the viewing behavior, the method may further include: controlling the second terminal to play preset audio and/or video. Specifically, the preset audio and/or video may be used to prompt the user to exit the prohibited viewing area. For example, the audio and/or video may be a health promotional video for children watching TV, which may contain promotional content such as viewing posture and viewing distance.

在实际应用中,为了达到更好地引导用户纠正观看行为的目的,能够让用户自主地意识到何为健康的观看行为,控制第二终端进入停止播放状态之后,本方法还可以包括:当预设用户退出预设的禁止观看区域时,控制第二终端进入播放状态。具体地,在步骤103中,可以确定出用户进入预设的禁止观看区域,那么也可以根据预设的禁止观看区域,确定用户退出(未进入)预设的禁止观看区域,从而可以第二控制终端进入播放状态。使得用户在纠正了观看行为后,通过使第二终端进入播放状态,提示用户已经处于健康的观看行为。In practical applications, in order to better guide the user to correct the viewing behavior, to enable the user to automatically realize what is a healthy viewing behavior, after controlling the second terminal to enter the stop playing state, the method may also include: It is assumed that when the user exits the preset prohibited viewing area, the second terminal is controlled to enter the playing state. Specifically, in step 103, it can be determined that the user enters the preset prohibited viewing area, then it can also be determined according to the preset prohibited viewing area that the user exits (does not enter) the preset prohibited viewing area, so that the second control The terminal enters the playing state. After correcting the viewing behavior, the user is reminded that the user is already in a healthy viewing behavior by making the second terminal enter the playing state.

以上给出的本发明实施例中,根据第一终端摄像头采集到的处于播放状态的第二终端前方的图像,确定预设用户是否进入预设的禁止观看区域,当确定该预设用户进入预设的禁止观看区域时,控制第二终端进入停止播放状态。即在用户观看终端中的多媒体信息时,通过发现用户进入观看禁区的行为而停止播放的方式,帮助用户自主地意识不健康的观看行为,从而更有效的纠正观看行为,也可以更有效地养成良好的观看习惯,解决了现有通过自主或人为训导的方式纠正观看行为效果较差的问题。另外,通过发现用户退出观看禁区而播放的方式,进一步地帮助用户自主意识健康的观看行为,更加有效地纠正观看行为、养成良好的观看习惯。In the embodiment of the present invention given above, according to the image in front of the second terminal in the playing state collected by the camera of the first terminal, it is determined whether the preset user enters the preset prohibited viewing area, when it is determined that the preset user enters the preset When the prohibited viewing area is set, the second terminal is controlled to enter the stop playing state. That is to say, when the user watches the multimedia information in the terminal, by finding the behavior of the user entering the restricted viewing area and stopping the playback, it helps the user to realize the unhealthy viewing behavior autonomously, so as to correct the viewing behavior more effectively and develop a more effective The good viewing habit solves the problem that the existing self-directed or artificial training methods are less effective in correcting viewing behaviors. In addition, by discovering the way the user exits the viewing restricted zone and playing, it further helps the user to be conscious of healthy viewing behavior, correct the viewing behavior more effectively, and develop a good viewing habit.

基于相当的发明思路,本发明实施例提供一种控制终端播放状态的装置,参见图6所示,该控制终端播放状态的装置20可以包括:第一终端摄像头201、禁区探测模块203、控制模块205,其中,Based on a considerable inventive idea, an embodiment of the present invention provides a device for controlling the playback state of a terminal, as shown in FIG. 205, of which,

第一终端摄像头201,可以用于采集第二终端前方的图像,所述第二终端处于播放状态;The first terminal camera 201 may be used to collect images in front of the second terminal, and the second terminal is in a playback state;

禁区探测模块203,可以用于根据所述图像,确定预设用户是否进入预设的禁止观看区域;The restricted area detection module 203 can be used to determine whether the preset user enters the preset prohibited viewing area according to the image;

控制模块205,可以用于当所述预设用户进入所述预设的禁止观看区域时,控制所述第二终端进入停止播放状态。The control module 205 may be configured to control the second terminal to enter a playback stop state when the preset user enters the preset prohibited viewing area.

在一种实施方式中,所述预设的禁止观看区域为所述图像内的预设范围,则禁区探测模块203,可以用于:In one embodiment, the preset prohibited viewing area is a preset range in the image, then the restricted area detection module 203 can be used to:

当在图像的所述预设范围内识别出所述预设用户时,确定所述预设用户进入所述预设的禁止观看区域。When the preset user is identified within the preset range of the image, it is determined that the preset user enters the preset forbidden viewing area.

在一种实施方式中,禁区探测模块203包括,In one embodiment, the restricted area detection module 203 includes:

特征提取单元,可以用于根据所述图像对识别到的用户进行特征提取;A feature extraction unit can be used to perform feature extraction on the identified user according to the image;

禁区探测单元,可以用于当提取的特征与预设的特征匹配时,将所述识别到的用户确定为预设用户,并确定所述预设用户是否进入预设的禁止观看区域。The restricted area detection unit may be configured to determine the identified user as a preset user when the extracted feature matches a preset feature, and determine whether the preset user enters a preset prohibited viewing area.

在一种实施方式中,控制模块205包括控制单元,可以用于:In one embodiment, the control module 205 includes a control unit, which can be used for:

当所述预设用户进入所述预设的禁止观看区域且持续时间大于预设时间阈值时,控制所述第二终端进入停止播放状态。When the preset user enters the preset prohibited viewing area for a duration greater than a preset time threshold, the second terminal is controlled to enter a playback stop state.

在一种实施方式中,控制模块205还包括播放单元,可以用于:控制所述第二终端进入停止播放状态之后,In one embodiment, the control module 205 also includes a playback unit, which can be used to: control the second terminal to enter the stop playback state,

控制所述第二终端播放预设的音频和/或视频。Controlling the second terminal to play preset audio and/or video.

在一种实施方式中,控制模块205,还可以用于:控制所述第二终端进入停止播放状态之后,In one embodiment, the control module 205 can also be used to: after controlling the second terminal to enter the stop playing state,

当所述预设用户退出所述预设的禁止观看区域时,控制所述第二终端进入播放状态。When the preset user exits the preset prohibited viewing area, control the second terminal to enter a playing state.

在一种实施方式中,控制模块205,可以用于:In one embodiment, the control module 205 can be used for:

通过数字机顶盒或红外控制装置控制所述第二终端进入停止播放状态。The second terminal is controlled by a digital set-top box or an infrared control device to enter a stop playing state.

在实际应用中,前文已经介绍,本发明的执行主体可以是第一终端,比如移动终端,即可以是具有摄像头201、禁区探测模块203和控制模块205的智能移动终端,通过第一终端摄像头201可以采集第二终端前方的图像,而通过禁区探测模块203可以确定预设用户是否进入预设的禁止观看区域。在实际中,通常可以有两种方式控制第二终端(比如电视)的播放状态,第一种方式可以是通过数字机顶盒,如图7所示,为实现控制第二终端播放状态的示意图,其中,电视可以接收数字机顶盒发送的数字信号而实现播放,所以移动终端可以在确定预设用户进入预设的禁止观看区域时,向数字机顶盒发送停止播放的指令,从而通过数字机顶盒控制电视进入停止播放状态。而第二种方式可以是通过红外控制装置实现,如图8所示,其中,移动终端中还可以集成红外控制装置,比如目前非常流行的家电遥控器功能,移动终端可以在内部向红外控制装置发送停止播放的指令,由红外控制装置控制电视进入停止播放状态,从而实现了通过红外控制装置控制第二终端进入停止播放状态,具体可以是红外控制装置接收数字信息,再转换为红外信号发送至电视。如图9所示,还可以独立存在一个红外控制装置,可以通过蓝牙(Bluetooth)、Wi-Fi(WIreless-Fidelity,无线保真)等途径接收控制电视的信号,再转换为红外信号发送至电视,以便控制电视的播放状态。In practical applications, as mentioned above, the executive subject of the present invention may be a first terminal, such as a mobile terminal, that is, an intelligent mobile terminal with a camera 201, a restricted area detection module 203, and a control module 205. Through the first terminal camera 201 The image in front of the second terminal can be collected, and the restricted area detection module 203 can determine whether the preset user enters the preset prohibited viewing area. In practice, there are usually two ways to control the playback state of the second terminal (such as a TV). The first method can be through a digital set-top box, as shown in Figure 7, which is a schematic diagram of controlling the playback state of the second terminal, wherein , the TV can receive the digital signal sent by the digital set-top box to realize playback, so the mobile terminal can send an instruction to stop playing to the digital set-top box when it is determined that the preset user enters the preset prohibited viewing area, so as to control the TV through the digital set-top box to stop playing state. The second method can be realized through an infrared control device, as shown in Figure 8, wherein the mobile terminal can also integrate an infrared control device, such as the very popular home appliance remote control function, and the mobile terminal can send an infrared control device internally. Send an instruction to stop playing, and the infrared control device controls the TV to enter the stop playing state, thereby realizing the control of the second terminal through the infrared control device to enter the stop playing state. Specifically, the infrared control device can receive digital information, and then convert it into an infrared signal and send it to television. As shown in Figure 9, an infrared control device can also exist independently, and can receive the signal for controlling the TV through Bluetooth (Bluetooth), Wi-Fi (WIreless-Fidelity, wireless fidelity), etc., and then convert it into an infrared signal and send it to the TV. to control the playback status of the TV.

图10为实现本发明各个实施例的一种移动终端的硬件结构示意图。能够实现图2的方法实施例中实现的各个过程,以解决现有通过自主或人为训导的方式纠正观看行为效果较差的问题,在用户面对终端观看终端播放的多媒体信息时,更有效地纠正观看行为,从而更有效地养成良好的观看习惯。为避免重复,这里不再赘述。FIG. 10 is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention. The various processes implemented in the method embodiment of FIG. 2 can be realized to solve the problem of poor effect of correcting the viewing behavior by means of autonomous or human training. When the user faces the terminal to watch the multimedia information played by the terminal, more effectively Correct viewing behavior to more effectively develop good viewing habits. To avoid repetition, details are not repeated here.

该移动终端300包括但不限于:射频单元301、网络模块302、音频输出单元303、输入单元304、传感器305、显示单元306、用户输入单元307、接口单元308、存储器309、处理器310、以及电源311等部件。本领域技术人员可以理解,图10中示出的移动终端结构并不构成对移动终端的限定,移动终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,移动终端包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。The mobile terminal 300 includes, but is not limited to: a radio frequency unit 301, a network module 302, an audio output unit 303, an input unit 304, a sensor 305, a display unit 306, a user input unit 307, an interface unit 308, a memory 309, a processor 310, and Power supply 311 and other components. Those skilled in the art can understand that the structure of the mobile terminal shown in Figure 10 does not constitute a limitation on the mobile terminal, and the mobile terminal may include more or less components than shown in the figure, or combine some components, or different components layout. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a vehicle-mounted terminal, a wearable device, and a pedometer.

其中,第一终端的图形处理器3041,可以用于采集第二终端前方的图像;Wherein, the graphics processor 3041 of the first terminal may be used to collect images in front of the second terminal;

处理器310,可以用于根据所述图像,确定预设用户是否进入预设的禁止观看区域;当所述预设用户进入所述预设的禁止观看区域时,控制所述第二终端进入停止播放状态。The processor 310 may be configured to determine whether a preset user enters a preset prohibited viewing area according to the image; when the preset user enters the preset prohibited viewing area, control the second terminal to enter a stop Playing status.

在实际应用中,也可以由第一终端的图形处理器3041采集第二终端前方的图像,并根据所述图像,确定预设用户是否进入预设的禁止观看区域,当所述预设用户进入所述预设的禁止观看区域时,通知处理器310,控制所述第二终端进入停止播放状态。In practical applications, the graphics processor 3041 of the first terminal may also collect the image in front of the second terminal, and determine whether the preset user enters the preset prohibited viewing area according to the image. When the preset user enters the Notify the processor 310 to control the second terminal to enter the playback stop state when the preset prohibited viewing area is selected.

根据本实施例提供的移动终端,根据第一终端摄像头采集到的处于播放状态的第二终端前方的图像,确定预设用户是否进入预设的禁止观看区域,当确定该预设用户进入预设的禁止观看区域时,控制第二终端进入停止播放状态。即在用户观看终端中的多媒体信息时,通过发现用户进入观看禁区的行为而停止播放的方式,帮助用户自主地意识不健康的观看行为,从而更有效的纠正观看行为,也可以更有效地养成良好的观看习惯,解决了现有通过自主或人为训导的方式纠正观看行为效果较差的问题。According to the mobile terminal provided in this embodiment, according to the image in front of the second terminal in the playing state collected by the camera of the first terminal, it is determined whether the preset user enters the preset prohibited viewing area, and when it is determined that the preset user enters the preset In the prohibited viewing area, control the second terminal to enter the playback stop state. That is to say, when the user watches the multimedia information in the terminal, by finding the behavior of the user entering the restricted viewing area and stopping the playback, it helps the user to realize the unhealthy viewing behavior autonomously, so as to correct the viewing behavior more effectively and develop a more effective The good viewing habit solves the problem that the existing self-directed or artificial training methods are less effective in correcting viewing behaviors.

应理解的是,本发明实施例中,射频单元301可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器310处理;另外,将上行的数据发送给基站。通常,射频单元301包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元301还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in the embodiment of the present invention, the radio frequency unit 301 can be used for receiving and sending signals during sending and receiving information or during a call. Specifically, the downlink data from the base station is received and processed by the processor 310; in addition, the Uplink data is sent to the base station. Generally, the radio frequency unit 301 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 301 can also communicate with the network and other devices through a wireless communication system.

移动终端通过网络模块302为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The mobile terminal provides users with wireless broadband Internet access through the network module 302, such as helping users to send and receive emails, browse web pages, and access streaming media.

音频输出单元303可以将射频单元301或网络模块302接收的或者在存储器309中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元303还可以提供与移动终端300执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元303包括扬声器、蜂鸣器以及受话器等。The audio output unit 303 may convert audio data received by the radio frequency unit 301 or the network module 302 or stored in the memory 309 into an audio signal and output as sound. Also, the audio output unit 303 can also provide audio output related to a specific function performed by the mobile terminal 300 (eg, call signal reception sound, message reception sound, etc.). The audio output unit 303 includes a speaker, a buzzer, a receiver and the like.

输入单元304用于接收音频或视频信号。输入单元304可以包括图形处理器(Graphics Processing Unit,GPU)1041和麦克风3042,图形处理器3041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元306上。经图形处理器3041处理后的图像帧可以存储在存储器309(或其它存储介质)中或者经由射频单元301或网络模块302进行发送。麦克风3042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元301发送到移动通信基站的格式输出。The input unit 304 is used for receiving audio or video signals. The input unit 304 can include a graphics processing unit (Graphics Processing Unit, GPU) 1041 and a microphone 3042, and the graphics processing unit 3041 is used for still pictures or video images obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The data is processed. The processed image frames may be displayed on the display unit 306 . The image frames processed by the graphics processor 3041 may be stored in the memory 309 (or other storage medium) or sent via the radio frequency unit 301 or the network module 302 . The microphone 3042 can receive sound, and can process such sound into audio data. The processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 301 for output in the case of a phone call mode.

移动终端300还包括至少一种传感器305,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板3061的亮度,接近传感器可在移动终端300移动到耳边时,关闭显示面板3061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别移动终端姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器305还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The mobile terminal 300 also includes at least one sensor 305, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 3061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 3061 and the display panel 3061 when the mobile terminal 300 moves to the ear / or backlighting. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes), and can detect the magnitude and direction of gravity when it is still, and can be used to identify the posture of mobile terminals (such as horizontal and vertical screen switching, related games, etc.) , magnetometer attitude calibration), vibration recognition related functions (such as pedometer, knocking), etc.; the sensor 305 can also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, Infrared sensors, etc., will not be repeated here.

显示单元306用于显示由用户输入的信息或提供给用户的信息。显示单元306可包括显示面板3061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板3061。The display unit 306 is used to display information input by the user or information provided to the user. The display unit 306 may include a display panel 3061, and the display panel 3061 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an organic light-emitting diode (Organic Light-Emitting Diode, OLED), or the like.

用户输入单元307可用于接收输入的数字或字符信息,以及产生与移动终端的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元307包括触控面板3071以及其他输入设备3072。触控面板3071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板3071上或在触控面板3071附近的操作)。触控面板3071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器310,接收处理器310发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板3071。除了触控面板3071,用户输入单元307还可以包括其他输入设备3072。具体地,其他输入设备3072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 307 can be used to receive input numbers or character information, and generate key signal input related to user settings and function control of the mobile terminal. Specifically, the user input unit 307 includes a touch panel 3071 and other input devices 3072 . The touch panel 3071, also referred to as a touch screen, can collect touch operations of the user on or near it (for example, the user uses any suitable object or accessory such as a finger or a stylus on the touch panel 3071 or near the touch panel 3071). operate). The touch panel 3071 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and sends it to the For the processor 310, receive the command sent by the processor 310 and execute it. In addition, the touch panel 3071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 3071 , the user input unit 307 may also include other input devices 3072 . Specifically, other input devices 3072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here.

进一步的,触控面板3071可覆盖在显示面板3061上,当触控面板3071检测到在其上或附近的触摸操作后,传送给处理器310以确定触摸事件的类型,随后处理器310根据触摸事件的类型在显示面板3061上提供相应的视觉输出。虽然在图10中,触控面板3071与显示面板3061是作为两个独立的部件来实现移动终端的输入和输出功能,但是在某些实施例中,可以将触控面板3071与显示面板3061集成而实现移动终端的输入和输出功能,具体此处不做限定。Furthermore, the touch panel 3071 can be covered on the display panel 3061, and when the touch panel 3071 detects a touch operation on or near it, it will be sent to the processor 310 to determine the type of the touch event, and then the processor 310 can The type of event provides a corresponding visual output on the display panel 3061 . Although in FIG. 10, the touch panel 3071 and the display panel 3061 are used as two independent components to realize the input and output functions of the mobile terminal, in some embodiments, the touch panel 3071 and the display panel 3061 can be integrated The implementation of the input and output functions of the mobile terminal is not specifically limited here.

接口单元308为外部装置与移动终端300连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元308可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到移动终端300内的一个或多个元件或者可以用于在移动终端300和外部装置之间传输数据。The interface unit 308 is an interface for connecting an external device to the mobile terminal 300 . For example, an external device may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) ports, video I/O ports, headphone ports, and more. The interface unit 308 can be used to receive input from an external device (for example, data information, power, etc.) transfer data between devices.

存储器309可用于存储软件程序以及各种数据。存储器309可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器309可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 309 can be used to store software programs as well as various data. The memory 309 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application program required by a function (such as a sound playback function, an image playback function, etc.); Data created by the use of mobile phones (such as audio data, phonebook, etc.), etc. In addition, the memory 309 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices.

处理器310是移动终端的控制中心,利用各种接口和线路连接整个移动终端的各个部分,通过运行或执行存储在存储器309内的软件程序和/或模块,以及调用存储在存储器309内的数据,执行移动终端的各种功能和处理数据,从而对移动终端进行整体监控。处理器310可包括一个或多个处理单元;优选的,处理器310可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器310中。The processor 310 is the control center of the mobile terminal, and uses various interfaces and lines to connect various parts of the entire mobile terminal, by running or executing software programs and/or modules stored in the memory 309, and calling data stored in the memory 309 , execute various functions of the mobile terminal and process data, so as to monitor the mobile terminal as a whole. The processor 310 may include one or more processing units; preferably, the processor 310 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface and application programs, etc., and the modem The processor mainly handles wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 310 .

移动终端300还可以包括给各个部件供电的电源311(比如电池),优选的,电源311可以通过电源管理系统与处理器310逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The mobile terminal 300 can also include a power supply 311 (such as a battery) for supplying power to various components. Preferably, the power supply 311 can be logically connected to the processor 310 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. and other functions.

另外,移动终端300包括一些未示出的功能模块,在此不再赘述。In addition, the mobile terminal 300 includes some functional modules not shown, which will not be repeated here.

优选的,本发明实施例还提供一种移动终端,包括处理器310,存储器309,存储在存储器309上并可在所述处理器310上运行的计算机程序,该计算机程序被处理器310执行时实现上述控制终端播放状态的方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Preferably, the embodiment of the present invention also provides a mobile terminal, including a processor 310, a memory 309, a computer program stored in the memory 309 and operable on the processor 310, when the computer program is executed by the processor 310 Each process of the above embodiment of the method for controlling the playback state of the terminal can achieve the same technical effect, so in order to avoid repetition, details are not repeated here.

本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述控制终端播放状态的方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random AccessMemory,简称RAM)、磁碟或者光盘等。The embodiment of the present invention also provides a computer-readable storage medium. A computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, each process of the above-mentioned method embodiment for controlling the playback state of a terminal is realized, and can achieve The same technical effects are not repeated here to avoid repetition. Wherein, the computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM for short), a random access memory (Random Access Memory, RAM for short), a magnetic disk or an optical disk, and the like.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on such an understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art can be embodied in the form of software products, and the computer software products are stored in a storage medium (such as ROM/RAM, disk, CD) contains several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in various embodiments of the present invention.

上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本发明的保护之内。Embodiments of the present invention have been described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementations, and the above-mentioned specific implementations are only illustrative, rather than restrictive, and those of ordinary skill in the art will Under the enlightenment of the present invention, without departing from the gist of the present invention and the protection scope of the claims, many forms can also be made, all of which belong to the protection of the present invention.

Claims (12)

  1. A kind of 1. method for controlling terminal plays state, it is characterised in that including:
    Image in front of the camera collection second terminal of first terminal, the second terminal are in broadcast state;
    According to described image, determine whether pre-set user enters and default forbid viewing areas;
    When the pre-set user enter it is described it is default forbid viewing areas when, control the second terminal to enter and stop playing shape State.
  2. 2. the method as described in claim 1, it is characterised in that described default to forbid viewing areas to be pre- in described image If scope, it is determined that the pre-set user enter it is described it is default forbid viewing areas, specifically include:
    When identifying the pre-set user in the preset range in image, it is described default to determine that the pre-set user enters Forbid viewing areas.
  3. 3. the method as described in claim 1, it is characterised in that according to described image, it is default to determine whether pre-set user enters Forbid viewing areas, including:
    Feature extraction is carried out to the user recognized according to described image;
    When the feature of extraction is with default characteristic matching, the user recognized is defined as pre-set user, and determine institute State pre-set user and whether enter and default forbid viewing areas.
  4. 4. the method as described in claim 1, it is characterised in that described default forbid viewing area when the pre-set user enters During domain, control the second terminal to enter and stop broadcast state, including:
    When the pre-set user enter it is described it is default forbid viewing areas, and when the duration is more than preset time threshold, control Make the second terminal and enter stopping broadcast state.
  5. 5. the method as described in claim 1, it is characterised in that control the second terminal to enter after stopping broadcast state, Methods described also includes:
    The second terminal is controlled to play default audio and/or video.
  6. 6. such as method according to any one of claims 1 to 5, it is characterised in that control the second terminal to be broadcast into stopping State is put, including:
    Control the second terminal to enter by top box of digital machine or infrared control device and stop broadcast state.
  7. A kind of 7. device for controlling terminal plays state, it is characterised in that including:First terminal camera, forbidden zone detecting module, Control module, wherein,
    The first terminal camera, for gathering the image in front of second terminal, the second terminal is in broadcast state;
    The forbidden zone detecting module, default forbid viewing areas for according to described image, determining whether pre-set user enters;
    The control module, for when the pre-set user enter it is described it is default forbid viewing areas when, control described second Terminal, which enters, stops broadcast state.
  8. 8. device as claimed in claim 7, it is characterised in that described default to forbid viewing areas to be pre- in described image If scope, then the forbidden zone detecting module, is used for:
    When identifying the pre-set user in the preset range in image, it is described default to determine that the pre-set user enters Forbid viewing areas.
  9. 9. device as claimed in claim 7, it is characterised in that the forbidden zone detecting module includes:
    Feature extraction unit, for carrying out feature extraction to the user recognized according to described image;
    Forbidden zone probe unit, for when the feature of extraction is with default characteristic matching, the user recognized to be defined as Pre-set user, and determine whether the pre-set user enters and default forbid viewing areas.
  10. 10. device as claimed in claim 7, it is characterised in that the control module includes control unit, is used for:
    When the pre-set user enter it is described it is default forbid viewing areas and when the duration is more than preset time threshold, control The second terminal, which enters, stops broadcast state.
  11. 11. device as claimed in claim 7, it is characterised in that described device also includes broadcast unit, is used for:Described in control Second terminal enters after stopping broadcast state,
    The second terminal is controlled to play default audio and/or video.
  12. 12. the device as any one of claim 7~11, it is characterised in that the control module, be used for:
    Control the second terminal to enter by top box of digital machine or infrared control device and stop broadcast state.
CN201711365395.5A 2017-12-18 2017-12-18 A kind of method and device for controlling terminal plays state Pending CN107835460A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711365395.5A CN107835460A (en) 2017-12-18 2017-12-18 A kind of method and device for controlling terminal plays state

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711365395.5A CN107835460A (en) 2017-12-18 2017-12-18 A kind of method and device for controlling terminal plays state

Publications (1)

Publication Number Publication Date
CN107835460A true CN107835460A (en) 2018-03-23

Family

ID=61645057

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711365395.5A Pending CN107835460A (en) 2017-12-18 2017-12-18 A kind of method and device for controlling terminal plays state

Country Status (1)

Country Link
CN (1) CN107835460A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114554258A (en) * 2022-02-24 2022-05-27 深圳创维-Rgb电子有限公司 Watching user control method, device, equipment and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103986956A (en) * 2014-06-03 2014-08-13 安徽海聚信息科技有限责任公司 Set top box with face recognition function
CN104008590A (en) * 2014-06-12 2014-08-27 深圳市智能帮科技有限公司 Intelligent access control and intelligent housing system
CN104506938A (en) * 2015-01-19 2015-04-08 无锡桑尼安科技有限公司 Television broadcasting control system capable of prohibiting children from watching television
CN104540019A (en) * 2015-01-19 2015-04-22 无锡桑尼安科技有限公司 TV playback control method for preventing children from watching TV programs
CN106204393A (en) * 2016-07-13 2016-12-07 合肥指南针电子科技有限责任公司 A kind of service hall intelligent monitor system
CN106780850A (en) * 2016-10-27 2017-05-31 王泽楷 A kind of camera Intelligent Recognition vehicle management gate control system
CN106878780A (en) * 2017-04-28 2017-06-20 张青 It is capable of the intelligent TV set and its control system and control method of Intelligent adjustment brightness
CN107278374A (en) * 2016-12-01 2017-10-20 深圳前海达闼云端智能科技有限公司 Interactive advertisement display method, terminal and smart city interactive system
CN107454250A (en) * 2017-07-07 2017-12-08 广东小天才科技有限公司 Eye protection method and device during use of mobile terminal, mobile terminal and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103986956A (en) * 2014-06-03 2014-08-13 安徽海聚信息科技有限责任公司 Set top box with face recognition function
CN104008590A (en) * 2014-06-12 2014-08-27 深圳市智能帮科技有限公司 Intelligent access control and intelligent housing system
CN104506938A (en) * 2015-01-19 2015-04-08 无锡桑尼安科技有限公司 Television broadcasting control system capable of prohibiting children from watching television
CN104540019A (en) * 2015-01-19 2015-04-22 无锡桑尼安科技有限公司 TV playback control method for preventing children from watching TV programs
CN106204393A (en) * 2016-07-13 2016-12-07 合肥指南针电子科技有限责任公司 A kind of service hall intelligent monitor system
CN106780850A (en) * 2016-10-27 2017-05-31 王泽楷 A kind of camera Intelligent Recognition vehicle management gate control system
CN107278374A (en) * 2016-12-01 2017-10-20 深圳前海达闼云端智能科技有限公司 Interactive advertisement display method, terminal and smart city interactive system
CN106878780A (en) * 2017-04-28 2017-06-20 张青 It is capable of the intelligent TV set and its control system and control method of Intelligent adjustment brightness
CN107454250A (en) * 2017-07-07 2017-12-08 广东小天才科技有限公司 Eye protection method and device during use of mobile terminal, mobile terminal and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114554258A (en) * 2022-02-24 2022-05-27 深圳创维-Rgb电子有限公司 Watching user control method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN107809658A (en) A kind of barrage content display method and terminal
CN107786827B (en) Video shooting method, video playing method and device and mobile terminal
WO2019196929A1 (en) Video data processing method and mobile terminal
CN110970003A (en) Screen brightness adjusting method and device, electronic equipment and storage medium
CN107613362A (en) A video display control method and mobile terminal
CN108174037B (en) Notification message prompting method and mobile terminal
CN108762877B (en) Control method of mobile terminal interface and mobile terminal
CN110465080A (en) Control method, apparatus, mobile terminal and the computer readable storage medium of vibration
CN110177296A (en) A kind of video broadcasting method and mobile terminal
CN107801106A (en) A kind of video segment intercept method and electronic equipment
CN110138967B (en) Terminal operation control method and terminal
CN107707953A (en) A kind of resource data methods of exhibiting and mobile terminal
CN108924362A (en) A kind of notification event processing method and terminal
WO2020228538A1 (en) Screenshot method and mobile terminal
CN110062281B (en) A playback progress adjustment method and terminal device thereof
CN108881617A (en) A display switching method and mobile terminal
CN108924616A (en) A kind of display control method and terminal
CN109729431B (en) Video privacy protection method and terminal device
CN109451178B (en) Video playing method and terminal
CN108012026A (en) One kind protection eyesight method and mobile terminal
CN107835495A (en) A kind of message prompt method, device and mobile terminal
CN110650367A (en) Video processing method, electronic device, and medium
CN107908983A (en) A kind of method and mobile terminal for controlling mobile terminal screen
CN107707764A (en) The control method and mobile terminal of a kind of application
CN108366166B (en) Mobile terminal and operation method thereof

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180323