CN112399220B - Camera physical switch locking state display method and display equipment - Google Patents

Camera physical switch locking state display method and display equipment Download PDF

Info

Publication number
CN112399220B
CN112399220B CN202010355746.XA CN202010355746A CN112399220B CN 112399220 B CN112399220 B CN 112399220B CN 202010355746 A CN202010355746 A CN 202010355746A CN 112399220 B CN112399220 B CN 112399220B
Authority
CN
China
Prior art keywords
image
camera
lock
frame image
pixels
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010355746.XA
Other languages
Chinese (zh)
Other versions
CN112399220A (en
Inventor
杨鲁明
于文钦
朱铄
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hisense Visual Technology Co Ltd
Original Assignee
Hisense Visual Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hisense Visual Technology Co Ltd filed Critical Hisense Visual Technology Co Ltd
Publication of CN112399220A publication Critical patent/CN112399220A/en
Application granted granted Critical
Publication of CN112399220B publication Critical patent/CN112399220B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • 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/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/42204User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
    • H04N21/42206User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor characterized by hardware details
    • H04N21/4222Remote control device emulator integrated into a non-television apparatus, e.g. a PDA, media center or smart toy
    • 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/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/42204User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
    • H04N21/42206User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor characterized by hardware details
    • H04N21/42221Transmission circuitry, e.g. infrared [IR] or radio frequency [RF]
    • 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/41Structure of client; Structure of client peripherals
    • H04N21/426Internal components of the client ; Characteristics thereof
    • 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/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • 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/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4781Games
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4788Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/57Mechanical or electrical details of cameras or camera modules specially adapted for being embedded in other devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/66Remote control of cameras or camera parts, e.g. by remote control devices

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The embodiment of the application shows a method for displaying a locking state of a physical switch of a camera and display equipment, wherein the display equipment comprises: a camera configured to: collecting image data, and controlling to rise or fall by a lifting power device; a physical switch configured to: locking the lifting position of the camera; a display configured to: displaying a user interface, and/or image data; a controller configured to: controlling the camera to ascend through the ascending and descending power device in response to a command which is input by a user and used for indicating the camera to be opened; and detecting whether the camera is lifted within the preset time, and controlling the display to display a prompt message that the physical switch is in a locked state if the camera is not lifted. In the implementation mode shown in the embodiment of the application, whether the camera rises within the preset time is detected, and if the camera does not rise is detected, a user is prompted to turn on the physical switch through a prompt message that the physical switch displayed on the display is in a locked state.

Description

Camera physical switch locking state display method and display equipment
The present application claims priority from the chinese patent application having application number 201910762189.0 filed by the chinese patent office on 18/08 in 2019, the entire contents of which are incorporated herein by reference.
Technical Field
The application relates to the technical field of television software, in particular to a method and a device for displaying a locking state of a physical switch of a camera.
Background
Currently, a display device such as a smart tv receives a wide attention from a user because it can provide a user with a play picture such as audio, video, picture, and the like.
With the development of big data and artificial intelligence, the functional requirements of users on display devices are increasing day by day. For example, a user wants to play a display screen and simultaneously present a multi-channel video chat screen; or when the user is in a game scene, displaying that the participant is a real picture in real time; or the user can learn the current picture content in the education application program and simultaneously perform remote audio-video interaction with parents/teachers in real time, and the like.
Therefore, it is desirable to provide a display device capable of implementing the above functions to present a screen of a user on the display device.
Disclosure of Invention
Based on the technical problem, the invention of the present application aims to provide a method for displaying a locked state of a physical switch of a camera and a display device.
A first aspect of embodiments of the present application shows a display device, including:
a camera configured to: collecting image data, and controlling to rise or fall by a lifting power device;
a physical switch configured to: locking the lifting position of the camera;
a display configured to: displaying a user interface, and/or the image data;
a controller configured to:
controlling the camera to ascend through a lifting power device in response to a command which is input by a user and used for indicating that the camera is opened;
and detecting whether the camera is lifted within preset time, and controlling the display to display a prompt message that the physical switch is in a locked state if the camera is not lifted.
A second aspect of the embodiments of the present application shows a method for displaying a locked state of a physical switch of a camera, including:
controlling the camera to ascend through a lifting power device in response to a command which is input by a user and used for indicating the camera to be opened;
and detecting whether the camera is lifted within preset time, and if the camera is not lifted, controlling the display to display a prompt message that the physical switch is in a locked state.
As can be seen from the above embodiments, the embodiments of the present application illustrate a method for displaying a locked state of a physical switch of a camera and a display device, where the display device includes: a camera configured to: collecting image data, and controlling to rise or fall by a lifting power device; a physical switch configured to: locking the lifting position of the camera; a display configured to: displaying a user interface, and/or the image data; a controller configured to: controlling the camera to ascend through a lifting power device in response to a command which is input by a user and used for indicating the camera to be opened; and detecting whether the camera is lifted within preset time, and if the camera is not lifted, controlling the display to display a prompt message that the physical switch is in a locked state. In the implementation mode shown in the embodiment of the application, whether the camera is lifted within the preset time is detected, and if the camera is not lifted, a user is prompted to turn on the physical switch through a prompt message that the physical switch is in a locked state and is displayed on the display.
Drawings
In order to more clearly illustrate the embodiments of the present application or the embodiments in the prior art, the drawings needed for the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings can be obtained by those skilled in the art without inventive effort.
Fig. 1 is a schematic diagram illustrating an operation scenario between a display device and a control apparatus according to an embodiment;
fig. 2 is a block diagram exemplarily showing a hardware configuration of a display device 200 according to an embodiment;
fig. 3 is a block diagram exemplarily showing a hardware configuration of the control apparatus 100 according to the embodiment;
fig. 4 is a diagram exemplarily showing a functional configuration of the display device 200 according to the embodiment;
fig. 5a schematically illustrates a software configuration in the display device 200 according to an embodiment;
fig. 5b schematically illustrates a configuration of an application in the display device 200 according to an embodiment;
fig. 6 schematically illustrates a user interface in the display device 200 according to an embodiment;
FIG. 7 is a front view of a camera fully raised from a display device backplane according to an exemplary embodiment of the present application;
FIG. 8 is a top view of a physical switch according to an exemplary embodiment of the present application;
FIG. 9 is a diagram illustrating an exemplary user interaction;
FIG. 10 is a flowchart illustrating a method for displaying a locked state of a physical switch of a camera in accordance with an alternative embodiment;
FIG. 11 is a front view of a camera partially raised from a back plate of a display device according to an exemplary embodiment of the present application;
fig. 12 is a shot image when a camera according to an exemplary embodiment of the present application is partially raised from the middle of a back plate of a display device;
fig. 13 shows an exemplary NV21 format in accordance with an exemplary embodiment of the present application.
Detailed Description
To make the objects, embodiments and advantages of the exemplary embodiments of the present application clearer, the embodiments of the exemplary embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings of the exemplary embodiments of the present application, and it is to be understood that the exemplary embodiments described are only a part of the exemplary embodiments of the present application, and not all of the exemplary embodiments.
All other embodiments, which can be derived by a person skilled in the art from the exemplary embodiments shown in the present application without inventive effort, shall fall within the scope of protection of the present application. In addition, while the disclosure herein has been presented in terms of one or more exemplary examples, it should be appreciated that aspects of the disclosure may be implemented solely as a complete embodiment.
It should be understood that the terms "first," "second," "third," and the like in the description and in the claims of the present application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used are interchangeable under appropriate circumstances and can be implemented in sequences other than those illustrated or otherwise described herein with respect to the embodiments of the application, for example.
Furthermore, the terms "comprises" and "comprising," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a product or device that comprises a list of elements is not necessarily limited to those elements explicitly listed, but may include other elements not expressly listed or inherent to such product or device.
The term module, as used herein, refers to any known or later developed hardware, software, firmware, artificial intelligence, fuzzy logic, or combination of hardware or/and software code that is capable of performing the functionality associated with that element.
The term "remote control" as used in this application refers to a component of an electronic device, such as the display device disclosed in this application, that is typically wirelessly controllable over a short distance. Typically using infrared and/or Radio Frequency (RF) signals and/or bluetooth to interface with the electronic device, and may also include WiFi, wireless USB, bluetooth, motion sensor, etc. functional modules. For example: the hand-held touch remote controller replaces most of the physical built-in hard keys in the common remote control device with the user interface in the touch screen.
The term "gesture" as used in this application refers to a user's behavior through a change in hand shape or an action such as hand motion to convey a desired idea, action, purpose, and/or result.
Fig. 1 is a schematic diagram illustrating an operation scenario between a display device and a control apparatus according to an embodiment. As shown in fig. 1, a user may operate the display apparatus 200 through a control device.
The control device may be a remote controller 100A, which includes infrared protocol communication, bluetooth protocol communication, other short-distance communication methods, and the like, and controls the display apparatus 200 in a wireless or other wired manner. The user may input a user instruction through a key on a remote controller, voice input, control panel input, etc., to control the display apparatus 200. Such as: the user can input a corresponding control command through a volume up/down key, a channel control key, up/down/left/right moving keys, a voice input key, a menu key, a power on/off key, etc. on the remote controller, to implement the function of controlling the display device 200.
The control device may also be a smart device, such as a mobile terminal 100B, a tablet computer, a notebook computer, etc. For example, the display device 200 is controlled using an application program running on the smart device. The application may provide the user with various controls through an intuitive User Interface (UI) on a screen associated with the smart device.
For example, the mobile terminal 100B may install a software application with the display device 200, implement connection communication through a network communication protocol, and implement the purpose of one-to-one control operation and data communication. Such as: the mobile terminal 100B and the display device 200 may establish a control instruction protocol, synchronize the remote control keyboard to the mobile terminal 100B, and control the function of the display device 200 by controlling the user interface on the mobile terminal 100B. The audio and video content displayed on the mobile terminal 100B may also be transmitted to the display device 200, so as to implement a synchronous display function.
As shown in fig. 1, the display apparatus 200 also performs data communication with the server 300 through various communication means. The display device 200 may be allowed to be communicatively connected through a Local Area Network (LAN), a Wireless Local Area Network (WLAN), and other networks. The server 300 may provide various contents and interactions to the display apparatus 200. Illustratively, the display device 200 receives software program updates, or accesses a remotely stored digital media library, by sending and receiving information, as well as Electronic Program Guide (EPG) interactions. The servers 300 may be a group or groups, and may be one or more types of servers. Other web service contents such as a video on demand and an advertisement service are provided through the server 300.
The display device 200 may be a liquid crystal display, an OLED display, a projection display device. The particular display device type, size, resolution, etc. are not limiting, and those skilled in the art will appreciate that the display device 200 may be modified in performance and configuration as desired.
The display apparatus 200 may additionally provide an intelligent network tv function that provides a computer support function in addition to the broadcast receiving tv function. Examples include a network television, a display device, an Internet Protocol Television (IPTV), and the like.
As shown in fig. 1, the display device may be connected or provided with a camera, and is configured to present a picture taken by the camera on a display interface of the display device or other display devices, so as to implement interactive chat between users. Specifically, the picture shot by the camera can be displayed on the display device in a full screen mode, a half screen mode or any optional area.
As an exemplary embodiment, the camera is connected to the display rear shell through a connecting plate, and is fixedly installed in the middle of the upper side of the display rear shell, and as an installable manner, the camera can be fixedly installed at any position of the display rear shell, and it is ensured that the image capturing area is not shielded by the rear shell, for example, the image capturing area and the display orientation of the display device are the same.
As another way of connection in an exemplary embodiment, the camera is connected to the display back shell in a liftable manner through a connection board or other conceivable connector, and a lifting motor is installed on the connector, and when a user wants to use the camera or an application program wants to use the camera, the camera is lifted out of the display, and when the camera does not need to be used, the camera can be embedded behind the back shell to protect the camera from being damaged.
As an embodiment, the camera adopted in the present application may have 1600 ten thousand pixels, so as to achieve the purpose of ultra high definition display. In actual use, cameras higher or lower than 1600 ten thousand pixels may also be used.
After the display equipment is provided with the camera, contents displayed by different application scenes of the display equipment can be fused in various different modes, so that the function which cannot be realized by the traditional display equipment is achieved.
Illustratively, a user may conduct a video chat with at least one other user while watching a video program. The presentation of the video program may be as a background frame over which a window for video chat is displayed. The function is called 'chat while watching'.
In an exemplary embodiment, in a "chat while watching live video or network video" scenario, at least one video chat is performed across the terminals.
In other embodiments, the user can conduct a video chat with at least one other user while entering the educational application for learning. For example, a student may be able to remotely interact with a teacher while learning content in an educational application. Vividly, this function can be called "chatting while learning".
In other embodiments, a user conducts a video chat with a player entering a card game while playing the card game. For example, a player may enable remote interaction with other players when entering a gaming application to participate in a game. Figuratively, the function may be said to be "play while looking".
In an exemplary implementation mode, a game scene is fused with a video picture, a portrait in the video picture is scratched and displayed in the game picture, and user experience is improved.
In an exemplary embodiment, in a motion sensing game (such as a ball, a boxing game, a running game, a dancing game and the like), the posture and the action of a human body, the detection and the tracking of limbs and the detection of the key point data of human skeleton are obtained through a camera, and then the key point data are fused with an animation in the game, so that the game of scenes such as sports, dancing and the like is realized.
In other embodiments, the user may interact with at least one other user in a karaoke application in a video and voice manner. Figuratively, the function may be called "sing while looking". Preferably, when at least one user enters the application in a chat scenario, multiple users can jointly complete recording of a song.
In other embodiments, the user may turn on the camera locally to take pictures and videos, figurative, which may be referred to as "looking into the mirror".
In other examples, more or less functionality may be added. The function of the display device is not particularly limited in the present application.
A hardware configuration block diagram of a display device 200 according to an exemplary embodiment is exemplarily shown in fig. 2. As shown in fig. 2, the display apparatus 200 may include a tuner demodulator 220, a communicator 230, a detector 240, an external device interface 250, a controller 210, a memory 290, a user input interface, a video processor 260-1, an audio processor 260-2, a display 280, an audio output interface 270, and a power supply.
The tuning demodulator 220 receives the broadcast television signals in a wired or wireless manner, may perform modulation and demodulation processing such as amplification, mixing, resonance, and the like, and is configured to demodulate, from a plurality of wireless or wired broadcast television signals, an audio/video signal carried in a frequency of a television channel selected by a user, and additional information (e.g., an EPG data signal).
The tuner demodulator 220 is responsive to the user-selected television channel frequency and the television signal carried thereby, as selected by the user and as controlled by the controller 210.
The tuner/demodulator 220 may receive signals according to different broadcasting systems of television signals, such as: terrestrial broadcasting, cable broadcasting, satellite broadcasting, internet broadcasting, or the like; and according to different modulation types, the digital modulation mode and the analog modulation mode can be adopted; and can demodulate the analog signal and the digital signal according to different types of the received television signals.
In other exemplary embodiments, the tuning demodulator 220 may be in an external device, such as an external set-top box. In this way, the set-top box outputs television audio/video signals after modulation and demodulation, and the television audio/video signals are input into the display device 200 through the external device interface 250.
The communicator 230 is a component for communicating with an external device or an external server according to various communication protocol types. For example: the communicator 230 may include a WIFI module 231, a bluetooth communication protocol module 232, a wired ethernet communication protocol module 233, and other network communication protocol modules or near field communication protocol modules.
The display apparatus 200 may establish a connection of a control signal and a data signal with an external control apparatus or a content providing apparatus through the communicator 230. For example, the communicator may receive a control signal of the remote controller 100 according to the control of the controller.
The detector 240 is a component of the display apparatus 200 for collecting signals of an external environment or interaction with the outside. The detector 240 may include a light receiver 242, a sensor for collecting the intensity of ambient light, a sensor for collecting ambient light to adapt to changes in display parameters, etc.; the system can further include an image collector 241, such as a camera, etc., which can be used for collecting external environment scenes, collecting attributes of the user or interacting gestures with the user, adaptively changing display parameters, and recognizing user gestures, so as to realize the function of interaction with the user.
In some exemplary embodiments, the image collector 241 is a camera, and when the camera is in an open state, the image collector can collect image data around the display device and display the collected image data on the display. The user can trigger the instruction of taking a picture through modes such as voice, gestures or a remote controller, and the like, and the data of one frame is obtained from the camera. And the user can trigger an instruction for recording by voice, gestures or a remote controller and the like, and a plurality of frames of data are recorded in the camera.
In some exemplary embodiments, the controller controls the camera to be raised or lowered by a lifting power device, which may be a motor, for example.
In some other exemplary embodiments, the detector 240 may further include a temperature sensor, such as by sensing an ambient temperature, and the display device 200 may adaptively adjust a display color temperature of the image. For example, when the temperature is higher, the display apparatus 200 may be adjusted to display a color temperature of an image that is cooler; when the temperature is lower, the display device 200 may be adjusted to display a warmer color temperature of the image.
In some other exemplary embodiments, the detector 240 may further include a sound collector, such as a microphone, which may be used to receive a user's voice, a voice signal including a control instruction of the user to control the display device 200, or collect an ambient sound for identifying an ambient scene type, and the display device 200 may adapt to the ambient noise.
The external device interface 250 provides a component for the controller 210 to control data transmission between the display apparatus 200 and other external apparatuses. The external device interface may be connected with an external apparatus such as a set-top box, a game device, a notebook computer, etc. in a wired/wireless manner, and may receive data such as a video signal (e.g., moving image), an audio signal (e.g., music), additional information (e.g., EPG), etc. of the external apparatus.
The external device interface 250 may include: a High Definition Multimedia Interface (HDMI) terminal 251, a Composite Video Blanking Sync (CVBS) terminal 252, an analog or digital component terminal 253, a Universal Serial Bus (USB) terminal 254, a red, green, blue (RGB) terminal (not shown), and the like.
The controller 210 controls the operation of the display device 200 and responds to the operation of the user by running various software control programs (such as an operating system and various application programs) stored on the memory 290.
As shown in fig. 2, the controller 210 includes a random access memory RAM214, a read only memory ROM213, a graphics processor 216, a CPU processor 212, a communication interface, and a communication bus. The RAM214, the ROM213, the graphic processor 216, the CPU processor 212, and the communication interface are connected via a bus.
A ROM213 for storing instructions for various system boots. If the display device 200 is powered on when a power-on signal is received, the CPU processor 212 executes a system boot instruction in the ROM and copies the operating system stored in the memory 290 to the RAM214 to start running the boot operating system. After the start of the operating system is completed, the CPU processor 212 copies the various application programs in the memory 290 to the RAM214, and then starts running and starting the various application programs.
A graphics processor 216 for generating various graphics objects, such as: icons, operation menus, user input instruction display graphics, and the like. The display device comprises an arithmetic unit which carries out operation by receiving various interactive instructions input by a user and displays various objects according to display attributes. And a renderer for generating various objects based on the operator and displaying the rendered result on the display 280.
A CPU processor 212 for executing operating system and application program instructions stored in memory 290. And executing various application programs, data and contents according to various interactive instructions received from the outside so as to finally display and play various audio and video contents.
In some exemplary embodiments, the CPU processor 212 may include a plurality of processors. The plurality of processors may include one main processor and a plurality of or one sub-processor. A main processor for performing some operations of the display apparatus 200 in a pre-power-up mode and/or operations of displaying a screen in a normal mode. A plurality of or one sub-processor for performing an operation in a standby mode or the like.
The communication interfaces may include a first interface 218-1 through an nth interface 218-n. These interfaces may be network interfaces that are connected to external devices via a network.
The controller 210 may control the overall operation of the display apparatus 200. For example: in response to receiving a user command for selecting a UI object to be displayed on the display 280, the controller 210 may perform an operation related to the object selected by the user command.
Wherein the object may be any one of selectable objects, such as a hyperlink or an icon. Operations related to the selected object, such as: displaying an operation connected to a hyperlink page, document, image, or the like, or performing an operation of a program corresponding to an icon. The user command for selecting the UI object may be a command input through various input means (e.g., a mouse, a keyboard, a touch pad, etc.) connected to the display apparatus 200 or a voice command corresponding to a voice spoken by the user.
The memory 290 includes a memory for storing various software modules for driving and controlling the display apparatus 200. Such as: various software modules stored in memory 290, including: the system comprises a basic module, a detection module, a communication module, a display control module, a browser module, various service modules and the like.
The basic module is a bottom layer software module for signal communication between hardware in the display device 200 and sending processing and control signals to an upper layer module. The detection module is a management module used for collecting various information from various sensors or user input interfaces, and performing digital-to-analog conversion and analysis management.
For example: the voice recognition module comprises a voice analysis module and a voice instruction database module. The display control module is a module for controlling the display 280 to display image content, and may be used to play information such as multimedia image content and UI interface. The communication module is used for carrying out control and data communication with external equipment. And the browser module is used for executing data communication between the browsing servers. The service module is a module for providing various services and various application programs.
Meanwhile, the memory 290 is also used to store visual effect maps and the like for receiving external data and user data, images of respective items in various user interfaces, and a focus object.
A user input interface for transmitting an input signal of a user to the controller 210 or transmitting a signal output from the controller to the user. For example, the control device (e.g., a mobile terminal or a remote controller) may transmit an input signal input by a user, such as a power switch signal, a channel selection signal, a volume adjustment signal, etc., to the user input interface, and then the input signal is forwarded to the controller through the user input interface; alternatively, the control device may receive an output signal such as audio, video, or data output from the user input interface via the controller, and display the received output signal or output the received output signal in audio or vibration form.
In some embodiments, the user may input a user command on a Graphical User Interface (GUI) displayed on the display 280, and the user input interface receives the user input command through the Graphical User Interface (GUI). Alternatively, the user may input a user command by inputting a specific sound or gesture, and the user input interface receives the user input command by recognizing the sound or gesture through the sensor.
The video processor 260-1 is configured to receive a video signal, and perform video data processing such as decompression, decoding, scaling, noise reduction, frame rate conversion, resolution conversion, and image synthesis according to a standard codec protocol of the input signal, so as to obtain a video signal that is directly displayed or played on the display 280.
Illustratively, the video processor 260-1 includes a demultiplexing module, a video decoding module, an image synthesizing module, a frame rate conversion module, a display formatting module, and the like.
The demultiplexing module is used for demultiplexing the input audio and video data stream, and if the input MPEG-2 is input, the demultiplexing module demultiplexes the input audio and video data stream into a video signal and an audio signal.
And the video decoding module is used for processing the demultiplexed video signal, including decoding, scaling and the like.
And the image synthesis module, such as an image synthesizer, is used for performing superposition mixing processing on the GUI signal input by the user or generated by the user and the video image after the zooming processing by the graphics generator so as to generate an image signal for display.
The frame rate conversion module is configured to convert a frame rate of an input video, such as a 24Hz, 25Hz, 30Hz, or 60Hz video, into a 60Hz, 120Hz, or 240Hz frame rate, where the input frame rate may be related to a source video stream, and the output frame rate may be related to an update rate of a display. The input is realized in a common format by using a frame insertion mode.
And a display formatting module for converting the signal output by the frame rate conversion module into a signal conforming to a display format of a display, such as converting the format of the signal output by the frame rate conversion module to output an RGB data signal.
And a display 280 for receiving the image signal input from the video processor 260-1 and displaying the video content and image and the menu manipulation interface. The display 280 includes a display component for presenting a picture and a driving component for driving image display. The video content may be displayed from the video in the broadcast signal received by the tuner/demodulator 220, or from the video content input from the communicator or the external device interface. The display 280 simultaneously displays a user manipulation interface UI generated in the display apparatus 200 and used to control the display apparatus 200.
And, according to the type of the display 280, a driving component for driving the display is further included. Alternatively, a projection device and projection screen may also be included, provided that display 280 is a projection display.
The audio processor 260-2 is configured to receive an audio signal, decompress and decode the audio signal according to a standard codec protocol of the input signal, and perform noise reduction, digital-to-analog conversion, amplification and other audio data processing to obtain an audio signal that can be played in the speaker 272.
An audio output interface 270 for receiving the audio signal output from the audio processor 260-2 under the control of the controller 210, which may include a speaker 272 or an external audio output terminal 274 for outputting to a generating device of an external device, such as: external sound terminal or earphone output terminal etc..
In other exemplary embodiments, video processor 260-1 may comprise one or more chip components. The audio processor 260-2 may also include one or more chips.
And, in other exemplary embodiments, the video processor 260-1 and the audio processor 260-2 may be separate chips or may be integrated in one or more chips with the controller 210.
And a power supply for supplying power supply support to the display apparatus 200 from the power input from the external power source under the control of the controller 210. The power supply may include a built-in power supply circuit installed inside the display apparatus 200, or may be a power supply installed outside the display apparatus 200, such as a power supply interface for providing an external power supply in the display apparatus 200.
Fig. 3 is a block diagram schematically showing the configuration of the control apparatus 100 according to the exemplary embodiment. As shown in fig. 3, the control device 100 includes a controller 110, a communicator 130, a user input/output interface 140, a memory 190, and a power supply 180.
Fig. 4 is a diagram schematically illustrating a functional configuration of the display device 200 according to an exemplary embodiment. As shown in fig. 4, the memory 290 is used to store an operating system, application programs, contents, user data, and the like, and performs system operations for driving the display device 200 and various operations in response to a user under the control of the controller. The memory 290 may include volatile and/or nonvolatile memory.
The memory 290 is specifically used for storing an operating program for driving the controller of the display device 200, and storing various applications installed in the display device 200, various applications downloaded by a user from an external device, various graphical user interfaces related to the applications, various objects related to the graphical user interfaces, user data information, and internal data of various supported applications. The memory 290 is used to store system software such as an Operating System (OS) kernel, middleware, and applications, and to store input video data and audio data, and other user data.
The memory 290 is used for storing drivers and related data, such as video and audio processors, displays, communication interfaces, tuning demodulators, detectors, input/output interfaces, etc.
In some embodiments, memory 290 may store software and/or programs representing software programs for an Operating System (OS) including, for example: a kernel, middleware, an Application Programming Interface (API), and/or an application program. For example, the kernel may control or manage system resources, or functions implemented by other programs (e.g., the middleware, APIs, or applications), and the kernel may provide interfaces to allow the middleware and APIs, or applications, to access the controller to implement controlling or managing system resources.
The memory 290, for example, includes a broadcast receiving module 2901, a channel control module 2902, a volume control module 2903, an image control module 2904, a display control module 2905, an audio control module 2906, an external instruction recognition module 2907, a communication control module 2908, a light receiving module 2909, a power control module 2910, an operating system 2911, and other applications 2912, a browser module, and so forth. The controller performs functions such as: a broadcast television signal reception demodulation function, a television channel selection control function, a volume selection control function, an image control function, a display control function, an audio control function, an external instruction recognition function, a communication control function, an optical signal reception function, an electric power control function, a software control platform supporting various functions, a browser function, and the like.
A block diagram of a configuration of a software system in a display device 200 according to an exemplary embodiment is exemplarily shown in fig. 5 a.
As shown in FIG. 5a, an operating system 2911, including the executing operating software for handling various basic system services and for performing hardware related tasks, acts as an intermediary between application programs and hardware components for performing data processing.
In some embodiments, portions of the operating system kernel may contain a series of software to manage the display device hardware resources and provide services to other programs or software code.
In other embodiments, portions of the operating system kernel may include one or more device drivers, which may be a set of software code in the operating system that assists in operating or controlling the devices or hardware associated with the display device. The driver may contain code to operate video, audio and/or other multimedia components. Examples include a display, a camera, flash, wiFi, and audio drivers.
The accessibility module 2911-1 is configured to modify or access the application program to achieve accessibility and operability of the application program for displaying content.
A communication module 2911-2 for connection to other peripherals via associated communication interfaces and a communication network.
The user interface module 2911-3 is configured to provide an object for displaying a user interface, so that each application program can access the object, and user operability can be achieved.
Control applications 2911-4 for controlling process management, including runtime applications and the like.
The event transmission system 2914 may be implemented within the operating system 2911 or within the application 2912. In some embodiments, an aspect is implemented within the operating system 2911, while implemented in the application 2912, for listening for various user input events, and will implement one or more sets of predefined operations in response to various events referring to the recognition of various types of events or sub-events.
The event monitoring module 2914-1 is configured to monitor an event or a sub-event input by the user input interface.
The event identification module 2914-2 is used to input various event definitions for various user input interfaces, identify various events or sub-events, and transmit them to the process for executing one or more sets of their corresponding handlers.
The event or sub-event refers to an input detected by one or more sensors in the display device 200 and an input of an external control device (e.g., the control apparatus 100). Such as: the method comprises the following steps of inputting various sub-events through voice, inputting a gesture sub-event through gesture recognition, inputting a remote control key command of a control device and the like. Illustratively, the one or more sub-events in the remote control include a variety of forms including, but not limited to, one or a combination of key presses up/down/left/right/, ok key, key press and the like. And non-physical key operations such as move, hold, release, etc.
The interface layout management module 2913, directly or indirectly receiving the input event or sub-event from the event transmission system 2914, monitors the input events or sub-events, and updates the layout of the user interface, including but not limited to the position of each control or sub-control in the interface, and the size, position, and level of the container, and other various execution operations related to the layout of the interface.
As shown in fig. 5b, applications 2912 include various applications that may be executed on the display device 200. The applications may include, but are not limited to, one or more applications such as: live tv applications, video-on-demand applications, media center applications, application centers, gaming applications, etc.
The live television application program can provide live television through different signal sources. For example, a live television application may provide television signals using input from cable television, radio broadcasts, satellite services, or other types of live television services. And, the live television application may display video of the live television signal on the display device 200.
A video-on-demand application may provide video from different storage sources. Unlike live television applications, video on demand provides a video display from some storage source. For example, the video on demand may come from a server side of the cloud storage, from a local hard disk storage containing stored video programs.
The media center application program can provide various applications for playing multimedia contents. For example, a media center, which may be other than live television or video on demand, may provide services for a user to access various images or audio through a media center application.
The application center can provide and store various applications. The application may be a game, an application, or some other application associated with a computer system or other device that may be run on a display device. The application center may obtain these applications from different sources, store them in local storage, and then be executable on the display device 200.
A schematic diagram of a user interface in a display device 200 according to an exemplary embodiment is illustrated in fig. 6. As shown in fig. 6, the user interface includes a plurality of view display areas, illustratively, a first view display area 201 and a play screen 202, wherein the play screen includes a layout of one or more different items. And a selector in the user interface indicating that the item is selected, the position of the selector being movable by user input to change the selection of a different item.
It should be noted that the multiple view display areas may present display screens of different hierarchies. For example, a first view display area may present system-level item content (e.g., current properties, etc.), and a second view display area may present application-level item content (e.g., web video, VOD presentation, application screen, etc.).
In an exemplary embodiment, there is a priority distinction in the presentation of different view display areas, and the display priority of the view display areas differs between view display areas with different priorities. If the priority of the system layer is higher than that of the application layer, when the user uses the acquisition selector and picture switching in the application layer, the picture display of the view display area of the system layer is not blocked; and when the size and the position of the view display area of the application layer are changed according to the selection of the user, the size and the position of the view display area of the system layer are not influenced.
The display frames of the same hierarchy can also be presented, at this time, the selector can switch between the first view display area and the second view display area, and when the size and the position of the first view display area are changed, the size and the position of the second view display area can be changed along with the change.
In order to increase the social contact function of the display device, the social television is exemplarily shown, and the social television adopts a camera-mounted mode so as to expand the use of the social television. Generally, the camera is hidden in the social television backboard and has an automatic lifting function. When the camera 1 is used, the camera 1 is raised, as shown in fig. 7; when the camera 1 is not used, the camera 1 is automatically lowered.
In order to protect the privacy of a user and prevent a camera from being lifted under the condition of misoperation and shoot the surrounding environment of the social television, an independent physical switch 2 which is not controlled by a main control panel of the social television is installed on the social television, as shown in fig. 8, the camera can be locked by the physical switch 2, and the camera 1 cannot be lifted after being locked. The physical switch 2 can avoid the camera shooting the surrounding environment of the social television under the condition that the user does not voluntarily due to misoperation. The physical switch with the privacy prevention function is arranged on the social television, so that the camera cannot shoot the surrounding environment under misoperation. However, the social television cannot know the physical switch state, including the locked state or the opened state, and at this time, when the physical switch is in the locked state, the camera cannot shoot a normal image.
In order to solve technical problems in the prior art, a first aspect of an embodiment of the present application shows a display device, where the display device includes:
a camera configured to: image data is collected, and the lifting or the lowering is controlled by a lifting power device. The camera may be the image collector 241 in fig. 2.
A physical switch configured to: the camera is locked at the lifting position, when the physical switch is in a locking state, the camera cannot be lifted by the lifting power device, when the physical switch is in an opening state, the camera can be lifted by the lifting power device, and therefore the camera can acquire normal image data.
A display configured to: a user interface, and/or the display image data;
a controller configured to: controlling the camera to ascend through a lifting power device in response to a command which is input by a user and used for indicating that the camera is opened;
detecting whether the camera is lifted within a preset time, and if the camera is not lifted, controlling the display to display a prompt message that the physical switch is in a locked state, for example, the prompt message that the physical switch is in the locked state is shown in fig. 9.
A display configured to: and displaying a prompt message that the physical switch is in the locking state.
In the embodiment of the application, when a user inputs a camera opening instruction, if the camera is not lifted, at this time, the user needs to be reminded how to normally lift the camera, as shown in fig. 9, a prompt message that the physical switch in fig. 9 is in a locked state includes a reminding character and a reminding operation diagram, specifically, the reminding character is that the camera may be locked or shielded, and it is recommended to unlock according to the diagram. The reminding operation schematic diagram is an operation method image of how to open the physical switch. In this way, the user may be prompted to open the physical switch.
In some embodiments, the controller is configured to perform the detecting whether the camera is lifted within the preset time according to the following steps, as shown in fig. 10, including: s100, acquiring a frame image of preset time in a preview image acquired by a camera;
in the embodiment of the application, the display equipment adopts the android system, the android system provides a callback interface for the camera, and the preview image shot by the camera can be returned.
It should be noted that, if the physical switch is in an on state, it takes a certain time for the camera to completely lift from the back plate of the display device, and a part of the camera may be blocked by a frame of the display device during the lifting process, as shown in fig. 11, the camera in fig. 11 is partially blocked, and a dotted line is a position after the camera is completely lifted, so that an image shot by the camera may have a normal image shot at an upper part, and an abnormal image shot at a lower part due to the blocking of the frame, as shown in fig. 12. With the continuous rising of the camera, normal images appear on the images shot by the camera from top to bottom, and when the camera is completely raised, all the images shot by the camera are normal images, wherein the normal images are real images of the surrounding environment of the display equipment. If the physical switch is in a locked state, the camera cannot be lifted, and all images shot by the camera at the moment are abnormal images.
Therefore, in the embodiment of the application, when the physical switch is in the locked state, all the characteristics of the abnormal images appear in the images shot by the camera, and the frame images in the preview image are analyzed to determine the state of the physical switch. If the physical switch is in the locked state, the camera can only shoot the frame images which are all abnormal images, and if the physical switch is in the opened state, the camera can shoot partial normal images or all normal images.
In order to save the time for determining the state of the physical switch, the embodiment of the application analyzes the frame image of the preset time in the preview image to determine the state of the physical switch, instead of using the frame image obtained by shooting after the camera is completely lifted. The camera is lifted from the social television completely, about 1.5s is needed, and the preset time can enable the frame image shot when the camera part is not shielded by the frame to be set to be 0.5s, so that the time for determining the physical on-off state can be saved.
However, the frame image is not the first frame image in the preview image captured by the camera after receiving the camera opening instruction, because the camera cannot be lifted immediately after receiving the camera opening instruction, and the first frame image may be all abnormal images and has no analysis value.
S200, if the frame image is a lock image, determining that the physical switch is in a locked state, wherein the lock image is an image acquired by the camera in the locked state of the physical switch, and the locked state of the physical switch indicates that the camera is not lifted. It should be noted that the frame image captured by the camera when the physical switch is in the locked state is different from the frame image captured by the camera when the physical switch is in the open state, because the camera can be raised when the physical switch is in the open state, the captured image may be a part of a normal image and a part of an abnormal image, and when the physical switch is in the locked state, the camera cannot be raised, and the captured images are all abnormal images.
In an exemplary embodiment, the controller is configured to perform the determining that the physical switch is in the locked state if the frame image is a lock image according to the following steps:
a color value for each pixel in the frame image is obtained. Specifically, the color value of each pixel is obtained according to the resolution of the frame image.
In the embodiment of the application, before the color value of each pixel in the frame image is obtained, the format of the frame image can be converted into the preset format.
The preview images are frames of images saved in NV21 encoding format. Specifically, the default format of an image acquired by a camera in the android system is NV21 coding. NV21 belongs to YUV420 format, and shares a set of UV every four Y, for example, in fig. 12, Y1, Y2, Y9, and Y10 share a set of V1 and U1, NV21 is a two-Plane mode, i.e., Y and UV are divided into two planes, and UV is interleaved storage. All Y is stored first, then UV interleaved, V is stored first, then U in NV21 encoded format.
However, in the process of picking up the color value of the pixel point by the frame image in the NV21 encoding format, because the color value of the pixel point of the frame image in the NV21 encoding format is composed of the separately stored Y and UV, the color value of the pixel point is obtained by obtaining the Y and the UV stored at different positions, and the difficulty in obtaining the color value of the pixel point is increased. Because obtaining the frame image in the NV21 coding format is not beneficial to obtaining the color value of the pixel point, the embodiment of the present application converts the obtained frame image in the NV21 coding format into a bitmap (bitmap) image with a color value that is easy to read, pixels of the bitmap image are all allocated with specific positions and color values, and the color value of each pixel is combined by RGB.
The specific method for converting the frame image in the NV21 encoding format into a bitmap image with RGB color values easy to read is as follows: according to a YuvImage functional interface class provided by the android system, an image byte array in an NV21 encoding format, image width and height information are input, a frame image in the NV21 encoding format can be converted into a byte stream in a JPEG format, and then the obtained byte stream can be decoded into a Bitmap image.
And determining the number of pixels of each line of the image lock in the frame image according to the color value of each pixel.
And if the proportion of the number of the pixels to the number of the pixels in each row of the image lock is larger than the preset proportion, determining that the physical switch is in a locked state.
In the embodiment of the application, the number of the image lock pixels in each row is counted, and if the proportion of the number of the image lock pixels in each row to the number of the pixels is greater than a preset proportion, which can be 90%, the physical switch is in a locked state.
In an exemplary embodiment, the controller is configured to perform the determining that the physical switch is in the locked state if the frame image is a lock image according to the following steps:
acquiring a color value of each pixel of a first row of images in a frame image;
if the proportion of the number of the locking pixels to the number of the pixels is larger than the preset proportion, obtaining the color value of each pixel of the next row of images in the frame image, repeatedly executing the step of determining the number of the locking pixels according to the color value of each pixel until the proportion of the number of the locking pixels to the number of the pixels of the last row of images in the frame image is larger than the preset proportion, and determining that the physical switch is in a locking state.
It should be noted that, the number of lock pixels of the first row of images is determined, and if the ratio of the number of lock pixels of the first row of images to the number of pixels of the first row of images is greater than a preset ratio, which may be 90%, it is determined that the camera is not lifted, and it may also be determined that a real image of a captured peripheral image of the display device is approximately black after the camera is normally lifted. Specifically, referring again to fig. 12, the peripheral image of the display device displayed above the frame image is a dark scene, which may cause the ratio of the number of lock pixels to the number of pixels to be greater than the predetermined ratio. In order to accurately determine whether a frame image is a lock image, obtaining a color value of each pixel of a second row image of the frame image, executing a step of determining the number of lock pixels according to the color value of each pixel, judging the proportion of the number of lock images of the second row image to the number of pixels of the second row image and the preset occupation ratio, if the proportion of the number of lock images of the second row image to the number of pixels is greater than the preset occupation ratio, continuously judging the proportion of the number of lock images in a third row image to the number of pixels of the third row image until judging whether the proportion of the number of lock images of a last row image of the frame image to the number of pixels is greater than the preset occupation ratio, and if the proportion of the number of lock images of last row image to the number of pixels is greater than the preset occupation ratio, indicating that a physical switch is in a lock state.
In an exemplary embodiment, if the ratio of the number of lock pixels to the number of pixels is less than or equal to the preset duty ratio, it is determined that the frame image is not the lock image, and the color value of each pixel of the next row image is not acquired.
Specifically, when the preset proportion is 90%, if the proportion of the number of lock pixels to the number of pixels is less than or equal to 90%, it is determined that the frame image is not a lock image.
In an exemplary embodiment, the controller is configured to perform the determining the number of image-locked pixels per line in the frame image according to the color value of each pixel by:
acquiring image deviation; specifically, in order to obtain a better display effect on the display device, the original image obtained by the camera is corrected and processed in image quality, so that the obtained preview image has a certain difference from the original image obtained by the actual camera. For example, if the camera lock is not raised, the image captured by the camera is close to black (RGB values are (0, 0)), and after the image quality processing, the RGB values of the frame image of the preview image obtained are deviated from black by a certain amount. When the format of the frame image is RGB values, the image offsets include Sr (red offset), sg (green offset), and Sb (blue offset).
In addition, the step of obtaining the image deviation may be completed before the step of subtracting the color value of the pixel from the image deviation and taking an absolute value to obtain an absolute value of the color in the embodiment of the present application.
In an exemplary embodiment, the image deviation is determined according to a PQ image quality adjustment parameter.
Specifically, the preview image is an image obtained after the ISP processing. The ISP is a hardware processing module and is used for preprocessing an original image acquired by the photosensitive module of the camera to acquire a preview image with higher quality. The different adjustment of the parameters of the ISP module may affect the display effect of the preview image. The PQ Tools complete online image quality adjustment of the ISP through a network port or a serial port. The PQ picture quality adjustment parameter is a parameter for adjusting the image quality in the PQ Tools.
Subtracting the color value of each pixel from the image deviation, and taking an absolute value to obtain a color absolute value of each pixel;
and counting the number of lock pixels of each line of the image, wherein the lock pixels mean that the absolute value of the color is greater than the color threshold value.
In an exemplary embodiment, the controller is configured to perform the determining that the physical switch is in the locked state if the frame image is a lock image according to the following steps:
if the frame image is the lock image, repeatedly executing the step of judging whether the frame image is the lock image at intervals of preset time until the repetition times reach the preset times;
counting the number of times that the frame image is a lock image, and if the number of times is equal to the number of repetitions, confirming that the frame image is a lock image.
Specifically, in order to make the detection of the state of the physical switch more accurate, the step of determining whether the frame image is the lock image may be repeated multiple times. If the preset times is set to be 3 times, after the frame image is determined to be the lock image for the first time, the step of judging whether the frame image is the lock image is repeatedly executed at intervals of preset time, after the frame image is determined to be the lock image for the second time, the step of judging whether the frame image is the lock image is repeatedly executed at intervals of preset time, and after the frame image is determined to be the lock image for the third time, the physical switch is confirmed to be in the locking state.
If the step of judging whether the frame image is the lock image is repeatedly performed at intervals of a preset time after the frame image is determined to be the lock image for the first time, determining that the frame image is not the lock image, and ending the determination of the locking state of the physical switch. The accuracy of determining the physical switch state of the embodiment of the application can be ensured by judging whether the frame image is the lock image for many times.
In an exemplary embodiment, the controller is further configured to perform the detecting whether the camera is lifted within a preset time according to the following steps: and if the frame image is not the lock image, determining that the physical switch is in an open state, wherein the physical switch is in the open state and indicates that the camera is lifted.
Specifically, if the frame image is not a lock image, it means that there is a case where the proportion of the number of lock pixels of one line of the frame image to the number of pixels is less than or equal to a preset proportion, which indicates that the camera has shot a normal image, and thus it is determined that the physical switch is in an on state.
In one example, the controller is configured to perform the following steps of detecting whether the camera is lifted within a preset time:
and acquiring a 0.5s frame image in the preview data, and converting the format of the frame image into an RGB format. Determining image deviation according to the PQ image quality adjustment parameter, obtaining an RGB value of each pixel of a first line image of a frame image, subtracting the image deviation from the RGB value of each pixel, taking an absolute value to obtain a color absolute value, if the color absolute value is greater than a color threshold value, taking the pixel as a lock pixel, counting the lock pixel of the first line image, if the proportion of the number of the lock pixels to the number of the first line image is greater than a preset duty ratio, continuously obtaining the RGB value of each pixel of a second line image of the frame image, determining the number of the lock pixels of the second line image according to the RGB value of each pixel, if the proportion of the number of the lock pixels to the number of the first line image is greater than the preset duty ratio, obtaining a color value of each pixel of a third line image until the proportion of the number of the lock pixels to the number of the last line image of the frame image is greater than the preset duty ratio, and determining that the frame image is a lock image. In order to increase accuracy, when the frame image is determined to be the lock image for the first time, repeated judgment is performed at intervals of 0.5s to determine whether the frame image is the lock image, and if all the results of the 3 times of detection indicate that the frame image is the lock image, it is determined that the physical switch is in the locked state. And after detecting that the frame images are all locking images for 3 times, determining that the camera is not lifted, and displaying a prompt message that the physical switch is in a locking state on the display.
A second aspect of the embodiments of the present application shows a method for displaying a locked state of a physical switch of a camera, including:
controlling the camera to ascend through a lifting power device in response to a command which is input by a user and used for indicating the camera to be opened;
and detecting whether the camera is lifted within preset time, and if the camera is not lifted, controlling the display to display a prompt message that the physical switch is in a locked state.
As can be seen from the foregoing embodiments, an embodiment of the present application illustrates a method for displaying a locked state of a physical switch of a camera and a display device, where the display device includes: a camera configured to: collecting image data, and controlling the lifting or descending by a lifting power device; a physical switch configured to: locking the lifting position of the camera; a display configured to: displaying a user interface, and/or the image data; a controller configured to: controlling the camera to ascend through a lifting power device in response to a command which is input by a user and used for indicating the camera to be opened; and detecting whether the camera is lifted within preset time, and if the camera is not lifted, controlling the display to display a prompt message that the physical switch is in a locked state. In the implementation mode shown in the embodiment of the application, whether the camera is lifted within the preset time is detected, and if the camera is not lifted, a user is prompted to turn on the physical switch through a prompt message that the physical switch displayed on the display is in a locked state.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It will be understood that the present application is not limited to the precise arrangements that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (8)

1. A display device, comprising:
a camera configured to: collecting image data, and controlling the lifting or descending by a lifting power device;
a physical switch configured to: locking the lifting position of the camera;
a display configured to: displaying a user interface, and/or the image data;
a controller configured to:
controlling the camera to ascend through a lifting power device in response to a command which is input by a user and used for indicating the camera to be opened;
acquiring a frame image of a preset time in a preview image acquired by the camera;
detecting whether the frame image is a lock image; wherein, the step of detecting whether the frame image is a lock image comprises: acquiring a color value of each pixel of a first row of images in the frame image; determining the number of lock pixels according to the color value of each pixel; if the proportion of the number of the locking pixels to the number of the pixels is larger than the preset proportion, obtaining the color value of each pixel of the next row of images in the frame image, and repeatedly executing the step of determining the number of the locking pixels according to the color value of each pixel until the proportion of the number of the locking pixels to the number of the pixels of the last row of images in the frame image is larger than the preset proportion, and determining the frame image as the locking image;
if the frame image is a lock image, determining that the physical switch is in a locked state, wherein the lock image is an image acquired by the camera in the locked state of the physical switch, and the camera is indicated not to be lifted by the fact that the physical switch is in the locked state;
and if the camera is detected not to be lifted, controlling the display to display a prompt message that the physical switch is in a locked state.
2. The display device according to claim 1, wherein the controller is configured to perform detecting whether the frame image is a lock image according to the following steps:
acquiring a color value of each pixel in the frame image;
determining the number of pixels of each line of image lock in the frame image according to the color value of each pixel;
and if the proportion of the number of the lock pixels to the number of the pixels of each row of the image is larger than the preset proportion, determining that the frame image is the lock image.
3. The display device of claim 1, wherein the controller is further configured to:
and if the proportion of the number of the lock pixels to the number of the pixels is less than or equal to a preset proportion, determining that the frame image is not the lock image.
4. The display device of claim 1 or 2, wherein the controller is further configured to, prior to the step of obtaining a color value for each pixel in the frame image, further comprise: and converting the format of the frame image into a preset format.
5. The display device of claim 2, wherein the controller is configured to perform the determining the number of image-locked pixels per line in the frame image according to the color value of each pixel by:
acquiring an image deviation;
subtracting the color value of each pixel from the image deviation, and taking an absolute value to obtain a color absolute value of each pixel;
and counting the number of lock pixels of each line of the image, wherein the lock pixels mean that the absolute value of the color is greater than the color threshold value.
6. The display device according to claim 1, wherein the controller is configured to perform the determining that the physical switch is in the locked state if the frame image is a lock image according to the following steps:
if the frame image is the lock image, repeatedly executing the step of detecting whether the frame image is the lock image at intervals of preset time until the repetition times reach the preset times;
counting the number of times that the frame image is a lock image, and if the number of times is equal to the number of repetitions, confirming that the frame image is a lock image.
7. The display device of claim 1, wherein the controller is further configured to:
and if the frame image is not the lock image, determining that a physical switch is in an open state, and indicating that the camera is lifted when the physical switch is in the open state.
8. A method for displaying a locking state of a physical switch of a camera is characterized by comprising the following steps:
controlling the camera to ascend through a lifting power device in response to a command which is input by a user and used for indicating that the camera is opened;
acquiring a frame image of a preset time in a preview image acquired by the camera;
detecting whether the frame image is a lock image; wherein, the step of detecting whether the frame image is a lock image comprises: acquiring a color value of each pixel of a first row of images in the frame image; determining the number of lock pixels according to the color value of each pixel; if the proportion of the number of the locking pixels to the number of the pixels is larger than the preset proportion, obtaining the color value of each pixel of the next row of images in the frame image, and repeatedly executing the step of determining the number of the locking pixels according to the color value of each pixel until the proportion of the number of the locking pixels to the number of the pixels of the last row of images in the frame image is larger than the preset proportion, and determining the frame image as the locking image;
if the frame image is a lock image, determining that the physical switch is in a locked state, wherein the lock image is an image acquired by the camera in the locked state of the physical switch, and the camera is indicated not to be lifted by the fact that the physical switch is in the locked state;
and if the camera is detected not to be lifted, controlling a display to display a prompt message that the physical switch is in a locked state.
CN202010355746.XA 2019-08-18 2020-04-29 Camera physical switch locking state display method and display equipment Active CN112399220B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910762189 2019-08-18
CN2019107621890 2019-08-18

Publications (2)

Publication Number Publication Date
CN112399220A CN112399220A (en) 2021-02-23
CN112399220B true CN112399220B (en) 2022-10-28

Family

ID=74602838

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010355746.XA Active CN112399220B (en) 2019-08-18 2020-04-29 Camera physical switch locking state display method and display equipment

Country Status (2)

Country Link
CN (1) CN112399220B (en)
WO (1) WO2021031608A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114296669A (en) * 2021-03-11 2022-04-08 海信视像科技股份有限公司 Display device
CN113347359B (en) * 2021-06-02 2022-10-04 深圳康佳电子科技有限公司 Position adjusting method, device and equipment of image acquisition device and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102196087A (en) * 2010-03-12 2011-09-21 中兴通讯股份有限公司 Lens control method and terminals
CN103533406A (en) * 2012-07-06 2014-01-22 三星电子株式会社 Display apparatus and control method thereof
CN104346064A (en) * 2013-08-08 2015-02-11 联想(北京)有限公司 Information processing method and electronic equipment
CN104994292A (en) * 2015-06-30 2015-10-21 广东欧珀移动通信有限公司 Control method of wide-angle camera and electronic terminal
CN105847680A (en) * 2016-03-28 2016-08-10 维沃移动通信有限公司 Camera power consumption control method and mobile terminal
CN106454336A (en) * 2016-11-23 2017-02-22 北京小米移动软件有限公司 Method and device for detecting whether camera of terminal is covered or not, and terminal
CN106774670A (en) * 2016-12-21 2017-05-31 南京九致信息科技有限公司 Mobile terminal with extended formula camera
CN109274884A (en) * 2018-09-05 2019-01-25 珠海格力电器股份有限公司 Control method and control device of camera module and mobile terminal
CN109561184A (en) * 2019-01-15 2019-04-02 维沃移动通信(杭州)有限公司 A kind of terminal

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012145568A (en) * 2010-12-21 2012-08-02 Panasonic Corp Optical tomographic image acquisition device
KR101820734B1 (en) * 2011-10-14 2018-03-13 삼성전자 주식회사 Method and apparatus for dynamically unlocking mobile terminal
CN102892038B (en) * 2012-09-28 2016-02-10 歌尔声学股份有限公司 Television multimedia assists interactive system and television interaction method
CN104601965B (en) * 2015-02-06 2018-01-16 大连嘉运电子科技有限公司 Camera occlusion detection method
CN106454067A (en) * 2016-08-25 2017-02-22 乐视控股(北京)有限公司 Control method and device for image acquisition device
CN106979948B (en) * 2017-02-21 2020-05-19 上海大学 Handheld portable fabric density detection system
CN207017925U (en) * 2017-07-18 2018-02-16 广东工业大学 A kind of electric extendable door
CN109862226B (en) * 2017-11-30 2021-04-27 Oppo广东移动通信有限公司 Camera assembly, mobile terminal and control method of camera assembly
CN110138913A (en) * 2018-02-09 2019-08-16 广东欧珀移动通信有限公司 Mobile terminal
CN110062084A (en) * 2019-05-30 2019-07-26 Oppo广东移动通信有限公司 A kind of terminal device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102196087A (en) * 2010-03-12 2011-09-21 中兴通讯股份有限公司 Lens control method and terminals
CN103533406A (en) * 2012-07-06 2014-01-22 三星电子株式会社 Display apparatus and control method thereof
CN104346064A (en) * 2013-08-08 2015-02-11 联想(北京)有限公司 Information processing method and electronic equipment
CN104994292A (en) * 2015-06-30 2015-10-21 广东欧珀移动通信有限公司 Control method of wide-angle camera and electronic terminal
CN105847680A (en) * 2016-03-28 2016-08-10 维沃移动通信有限公司 Camera power consumption control method and mobile terminal
CN106454336A (en) * 2016-11-23 2017-02-22 北京小米移动软件有限公司 Method and device for detecting whether camera of terminal is covered or not, and terminal
CN106774670A (en) * 2016-12-21 2017-05-31 南京九致信息科技有限公司 Mobile terminal with extended formula camera
CN109274884A (en) * 2018-09-05 2019-01-25 珠海格力电器股份有限公司 Control method and control device of camera module and mobile terminal
CN109561184A (en) * 2019-01-15 2019-04-02 维沃移动通信(杭州)有限公司 A kind of terminal

Also Published As

Publication number Publication date
CN112399220A (en) 2021-02-23
WO2021031608A1 (en) 2021-02-25

Similar Documents

Publication Publication Date Title
CN113330736B (en) Display and image processing method
CN111405338B (en) Intelligent image quality switching method and display device
CN112073788B (en) Video data processing method and device and display equipment
CN112399243A (en) Playing method and display device
CN112073662A (en) Display device
CN112073778A (en) Display device and fault-tolerant method for key transmission
CN112073774A (en) Image quality processing method and display device
CN112399220B (en) Camera physical switch locking state display method and display equipment
CN112073795B (en) Video data processing method and device and display equipment
CN112399233A (en) Display device and position self-adaptive adjusting method of video chat window
CN112399254A (en) Display device and color gamut space dynamic adjustment method
CN112463267A (en) Method for presenting screen saver information on screen of display device and display device
CN112073789B (en) Sound processing method and display device
CN112073790A (en) Display device and method for synchronizing starting state between two systems
CN112783380A (en) Display apparatus and method
CN112073663A (en) Audio gain adjusting method, video chatting method and display equipment
CN112399235B (en) Camera shooting effect enhancement method and display device of intelligent television
CN112073666B (en) Power supply control method of display equipment and display equipment
CN112399071B (en) Control method and device for camera motor and display equipment
CN112073776B (en) Voice control method and display device
CN112399245A (en) Playing method and display device
CN112788387A (en) Display apparatus, method and storage medium
CN112073777A (en) Voice interaction method and display device
CN112399223B (en) Method for improving moire fringe phenomenon and display device
CN112073779B (en) Display device and fault-tolerant method for key transmission

Legal Events

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