WO2022028060A1 - Display device and display method - Google Patents

Display device and display method Download PDF

Info

Publication number
WO2022028060A1
WO2022028060A1 PCT/CN2021/096429 CN2021096429W WO2022028060A1 WO 2022028060 A1 WO2022028060 A1 WO 2022028060A1 CN 2021096429 W CN2021096429 W CN 2021096429W WO 2022028060 A1 WO2022028060 A1 WO 2022028060A1
Authority
WO
WIPO (PCT)
Prior art keywords
angle
camera
target
user
application
Prior art date
Application number
PCT/CN2021/096429
Other languages
French (fr)
Chinese (zh)
Inventor
李东航
刘晋
姜俊厚
司洪龙
李保成
Original Assignee
海信视像科技股份有限公司
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
Priority claimed from CN202010789824.7A external-priority patent/CN111970548B/en
Priority claimed from CN202110156378.0A external-priority patent/CN112954425A/en
Application filed by 海信视像科技股份有限公司 filed Critical 海信视像科技股份有限公司
Priority to CN202180053612.5A priority Critical patent/CN116264864A/en
Publication of WO2022028060A1 publication Critical patent/WO2022028060A1/en

Links

Images

Classifications

    • 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

Definitions

  • the present application relates to the technical field of display devices, and in particular, to a display device and a display method.
  • the display device can provide the user with playback pictures such as audio, video, and pictures.
  • display devices can not only provide users with the content of live TV programs received through data broadcasting, but also provide users with various application and service content such as online video and online games.
  • the related art configures a camera on the display device, obtains local image data collected by the camera through the controller of the display device for processing, and implements functions such as video chat, photography, and video recording on the display device.
  • the present application provides a display device, including:
  • the angle at which the camera is positioned can be adjusted to capture images in different ranges when the camera is at different angles;
  • the user operation carrying an identifier for indicating the target adjustment direction and an operation mode
  • the target angle is determined according to the target adjustment direction and the saved starting angle, and the angle of the camera is adjusted to the target angle.
  • the angle is the target angle determined last time or the angle at which the camera was located when the adjustment was terminated last time;
  • FIG. 1 exemplarily shows a schematic diagram of an operation scene between a display device and a control apparatus according to some embodiments
  • FIG. 2 exemplarily shows a hardware configuration block diagram of a display device 200 according to some embodiments
  • FIG. 3 exemplarily shows a hardware configuration block diagram of the control device 100 according to some embodiments
  • FIG. 4 exemplarily shows a schematic diagram of software configuration in the display device 200 according to some embodiments
  • FIG. 5 exemplarily shows a schematic diagram of displaying an icon control interface of an application in the display device 200 according to some embodiments
  • FIG. 6 to FIG. 11 exemplarily show the state diagrams when the camera is at different angles
  • FIG. 12 is a flowchart of a method for adjusting a camera angle according to an exemplary embodiment of the present application.
  • 13a is a schematic diagram of a display device shown in some embodiments of the present application.
  • 13b is a schematic diagram of a display device shown in some embodiments of the present application.
  • FIG. 14 exemplarily shows a flow chart of a camera control method provided by the present application.
  • FIG. 15 exemplarily shows a flowchart of a camera control method provided by the present application.
  • module refers to any known or later developed hardware, software, firmware, artificial intelligence, fuzzy logic or combination of hardware or/and software code capable of performing the function associated with that element.
  • remote control refers to a component of an electronic device, such as the display device disclosed in this application, that can wirelessly control the electronic device, usually over a short distance.
  • infrared and/or radio frequency (RF) signals and/or Bluetooth are used to connect with electronic devices, and functional modules such as WiFi, wireless USB, Bluetooth, and motion sensors may also be included.
  • RF radio frequency
  • a hand-held touch remote control replaces most of the physical built-in hard keys in a general remote control device with a user interface in a touch screen.
  • gesture used in this application refers to a user's behavior that is used by a user to express an expected thought, action, purpose/or result through an action such as a change of hand shape or hand movement.
  • FIG. 1 exemplarily shows a schematic diagram of an operation scenario between a display device and a control apparatus according to an embodiment.
  • a user may operate the display apparatus 200 through the mobile terminal 300 and the control apparatus 100 .
  • control device 100 may be a remote controller, and the communication between the remote controller and the display device includes infrared protocol communication or Bluetooth protocol communication, and other short-range communication methods, etc., and controls the display device 200 by wireless or other wired methods.
  • the user can control the display device 200 by inputting user instructions through keys on the remote control, voice input, control panel input, and the like.
  • the user can control the display device 200 by inputting corresponding control commands through the volume up/down key, channel control key, up/down/left/right movement keys, voice input key, menu key, power-on/off key, etc. on the remote control. function.
  • mobile terminals, tablet computers, computers, notebook computers, and other smart devices may also be used to control the display device 200 .
  • the display device 200 is controlled using an application running on the smart device.
  • the app can be configured to provide users with various controls in an intuitive user interface (UI) on the screen associated with the smart device.
  • UI intuitive user interface
  • the mobile terminal 300 may install a software application with the display device 200 to implement connection communication through a network communication protocol, so as to achieve the purpose of one-to-one control operation and data communication.
  • a control command protocol can be established between the mobile terminal 300 and the display device 200
  • the remote control keyboard can be synchronized to the mobile terminal 300
  • the function of controlling the display device 200 can be realized by controlling the user interface on the mobile terminal 300.
  • the audio and video content displayed on the mobile terminal 300 may also be transmitted to the display device 200 to implement a synchronous display function.
  • the display device 200 also performs data communication with the server 400 through various communication methods.
  • the display device 200 may be allowed to communicate via local area network (LAN), wireless local area network (WLAN), and other networks.
  • the server 400 may provide various contents and interactions to the display device 200 .
  • the display device 200 interacts by sending and receiving information, and electronic program guide (EPG), receiving software program updates, or accessing a remotely stored digital media library.
  • EPG electronic program guide
  • the server 400 may be a cluster or multiple clusters, and may include one or more types of servers. Other network service contents such as video-on-demand and advertising services are provided through the server 400 .
  • the display device 200 may be a liquid crystal display, an OLED display, or a projection display device.
  • the specific display device type, size and resolution are not limited. Those skilled in the art can understand that the display device 200 can make some changes in performance and configuration as required.
  • the display device 200 may additionally provide a smart IPTV function that provides computer-supported functions, including but not limited to, IPTV, smart TV, Internet Protocol TV (IPTV), and the like, in addition to the broadcast receiving TV function.
  • a smart IPTV function that provides computer-supported functions, including but not limited to, IPTV, smart TV, Internet Protocol TV (IPTV), and the like, in addition to the broadcast receiving TV function.
  • FIG. 2 exemplarily shows a block diagram of the hardware configuration of the display device 200 according to the exemplary embodiment.
  • the display device 200 includes a controller 250, a tuner and demodulator 210, a communicator 220, a detector 230, an input/output interface (the first interface to the nth interface 255), a display 275, and an audio output interface 285 , a memory 260 , a power supply 290 , a user interface 265 , and at least one of an external device interface 240 .
  • the display 275 for receiving the image signal from the output of the first processor, performs components for displaying video content and images and a menu manipulation interface.
  • the display 275 includes a display screen component for presenting pictures, and a driving component for driving image display.
  • the video content displayed may be from broadcast television content or various broadcast signals that may be received via wired or wireless communication protocols.
  • various image contents sent from the network server side can be displayed and received from the network communication protocol.
  • display 275 is used to present a user-manipulated UI interface generated in display device 200 and used to control display device 200 .
  • a driving component for driving the display is also included.
  • display 275 is a projection display, and may also include a projection device and projection screen.
  • communicator 220 is a component for communicating with external devices or external servers according to various communication protocol types.
  • the communicator may include at least one of a Wifi chip, a Bluetooth communication protocol chip, a wired Ethernet communication protocol chip and other network communication protocol chips or a near field communication protocol chip, and an infrared receiver.
  • the display device 200 may establish control signal and data signal transmission and reception between the communicator 220 and the external control device 100 or the content providing device.
  • the user interface 265 may be used to receive infrared control signals from the control device 100 (eg, an infrared remote control, etc.).
  • the detector 230 is a signal used by the display device 200 to collect the external environment or interact with the outside.
  • the detector 230 includes a light receiver, a sensor for collecting ambient light intensity, and can adaptively display parameter changes and the like by collecting ambient light.
  • the detector 230 may also include an image collector, such as a camera, a camera, etc., which can be used to collect external environment scenes, and used to collect user attributes or interactive gestures with the user, and can adaptively change display parameters, User gestures can also be recognized to implement functions that interact with users.
  • an image collector such as a camera, a camera, etc., which can be used to collect external environment scenes, and used to collect user attributes or interactive gestures with the user, and can adaptively change display parameters, User gestures can also be recognized to implement functions that interact with users.
  • detector 230 may also include a temperature sensor or the like, such as by sensing ambient temperature.
  • the display device 200 can adaptively adjust the display color temperature of the image. For example, when the temperature is relatively high, the display device 200 can be adjusted to display a relatively cool color temperature of the image, or when the temperature is relatively low, the display device 200 can be adjusted to display a warmer color of the image.
  • the detector 230 may also be a sound collector or the like, such as a microphone, which may be used to receive the user's voice. Exemplarily, it includes a voice signal of a control instruction of the user to control the display device 200, or collects ambient sounds, and is used to identify the type of the ambient scene, so that the display device 200 can adapt to the ambient noise.
  • the input/output interfaces are configured to enable data transmission between the controller 250 and other external devices or other controllers 250 . Such as receiving video signal data and audio signal data of external equipment, or command instruction data, etc.
  • the external device interface 240 may include, but is not limited to, the following: any one or more of a high-definition multimedia interface HDMI interface, an analog or data high-definition component input interface, a composite video input interface, a USB input interface, an RGB port, etc. interface. It is also possible to form a composite input/output interface by a plurality of the above-mentioned interfaces.
  • the tuner and demodulator 210 is configured to receive broadcast television signals through wired or wireless reception, and can perform modulation and demodulation processing such as amplification, frequency mixing, and resonance, and can perform modulation and demodulation processing from multiple wireless receivers.
  • the audio and video signal may include the TV audio and video signal carried in the frequency of the TV channel selected by the user, and the EPG data signal.
  • the frequency demodulated by the tuner-demodulator 210 is controlled by the controller 250, and the controller 250 can send a control signal according to the user's selection, so that the modem responds to the user-selected TV signal frequency and modulates and demodulates the frequency.
  • broadcast television signals may be classified into terrestrial broadcast signals, cable broadcast signals, satellite broadcast signals, or Internet broadcast signals, etc. according to different broadcast formats of the television signals. Or according to different modulation types, it can be divided into digital modulation signal, analog modulation signal, etc. Or, it can be divided into digital signals, analog signals, etc. according to different types of signals.
  • the controller 250 and the tuner 210 may be located in different separate devices, that is, the tuner 210 may also be located in an external device of the main device where the controller 250 is located, such as an external set-top box Wait.
  • the set-top box outputs the TV audio and video signals modulated and demodulated by the received broadcast TV signal to the main device, and the main device receives the audio and video signals through the first input/output interface.
  • the controller 250 controls the operation of the display device and responds to user operations.
  • the controller 250 may control the overall operation of the display apparatus 200 .
  • the controller 250 may perform an operation related to the object selected by the user command.
  • the object may be any of the selectable objects, such as a hyperlink or an icon.
  • Operations related to the selected object such as displaying operations linked to hyperlinked pages, documents, images, etc., or executing operations corresponding to the icon.
  • the user command for selecting the UI object may be an input command through various input devices (eg, a mouse, a keyboard, a touchpad, etc.) connected to the display device 200 or a voice command corresponding to a voice spoken by the user.
  • the controller 250 includes a random access memory 251 (Random Access Memory, RAM), a read-only memory 252 (Read-Only Memory, ROM), a video processor 270, an audio processor 280, and other processors 253 (For example: at least one of graphics processing unit (Graphics Processing Unit, GPU), central processing unit 254 (Central Processing Unit, CPU), communication interface (Communication Interface), and communication bus 256 (Bus). Wherein, the communication bus Connect the parts.
  • RAM 251 is used to store temporary data for the operating system or other running programs
  • ROM 252 is used to store various system startup instructions.
  • ROM 252 is used to store a basic input output system, called a Basic Input Output System (BIOS). It is used to complete the power-on self-check of the system, the initialization of each functional module in the system, the driver program of the basic input/output of the system, and the boot operating system.
  • BIOS Basic Input Output System
  • the power supply of the display device 200 starts to start, and the CPU executes the system start-up instruction in the ROM 252, and copies the temporary data of the operating system stored in the memory to the RAM 251, so as to facilitate startup or operation operating system.
  • the CPU copies the temporary data of various application programs in the memory to the RAM 251, so as to facilitate starting or running various application programs.
  • the CPU processor 254 executes operating system and application program instructions stored in memory. And various application programs, data and content are executed according to various interactive instructions received from the external input, so as to finally display and play various audio and video content.
  • CPU processor 254 may include multiple processors.
  • the plurality of processors may include a main processor and one or more sub-processors.
  • the main processor is used to perform some operations of the display device 200 in the pre-power-on mode, and/or an operation of displaying a picture in the normal mode.
  • One or more sub-processors for an operation in a state such as standby mode.
  • the graphics processor 253 is used to generate various graphic objects, such as: icons, operation menus, and user input instructions to display graphics and the like. It includes an operator, which performs operations by receiving various interactive instructions input by the user, and displays various objects according to the display properties. and includes a renderer, which renders various objects obtained based on the operator, and the rendered objects are used for displaying on a display.
  • various graphic objects such as: icons, operation menus, and user input instructions to display graphics and the like. It includes an operator, which performs operations by receiving various interactive instructions input by the user, and displays various objects according to the display properties. and includes a renderer, which renders various objects obtained based on the operator, and the rendered objects are used for displaying on a display.
  • the video processor 270 is configured to receive the external video signal and perform decompression, decoding, scaling, noise reduction, frame rate conversion, resolution conversion, image synthesis, etc. according to the standard codec protocol of the input signal. After video processing, a signal that can be directly displayed or played on the display device 200 can be obtained.
  • the video processor 270 includes a demultiplexing module, a video decoding module, an image synthesis 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. For example, if MPEG-2 is input, the demultiplexing module demultiplexes it into video signals and audio signals.
  • the video decoding module is used to process the demultiplexed video signal, including decoding and scaling.
  • the image synthesizing module such as an image synthesizer, is used for superimposing and mixing the GUI signal generated by the graphics generator according to the user's input or itself, and the zoomed video image, so as to generate an image signal that can be displayed.
  • the frame rate conversion module is used to convert the input video frame rate, such as converting 60Hz frame rate to 120Hz frame rate or 240Hz frame rate.
  • the usual format is implemented by means of frame insertion.
  • the display formatting module is used for converting the received frame rate into the video output signal, and changing the signal to conform to the display format signal, such as outputting the RGB data signal.
  • the graphics processor 253 may be integrated with the video processor, or may be separately configured.
  • the processing of the graphics signal output to the display may be performed.
  • different functions may be performed respectively. For example, GPU+FRC (Frame Rate Conversion)) architecture.
  • the audio processor 280 is configured to receive an external audio signal, perform decompression and decoding, and noise reduction, digital-to-analog conversion, and amplification processing according to a standard codec protocol of the input signal to obtain a The sound signal played in the speaker.
  • the video processor 270 may comprise one or more chips.
  • the audio processor may also include one or more chips.
  • the video processor 270 and the audio processor 280 may be separate chips, or may be integrated into one or more chips together with the controller.
  • the audio output under the control of the controller 250, receives the sound signal output by the audio processor 280, such as the speaker 286, and in addition to the speaker carried by the display device 200 itself, can be output to an external device.
  • the external audio output terminal of the device such as an external audio interface or an earphone interface, etc., may also include a short-range communication module in the communication interface, such as a Bluetooth module for outputting sound from a Bluetooth speaker.
  • the power supply 290 under the control of the controller 250, provides power supply support for the display device 200 with the power input from the external power supply.
  • the power supply 290 may include a built-in power supply circuit installed inside the display device 200 , or may be an external power supply installed in the display device 200 to provide an external power supply interface in the display device 200 .
  • the user interface 265 is used for receiving user input signals, and then sending the received user input signals to the controller 250 .
  • the user input signal may be a remote control signal received through an infrared receiver, and various user control signals may be received through a network communication module.
  • the user inputs user commands through the control device 100 or the mobile terminal 300 , the user input interface is based on the user's input, and the display device 200 responds to the user's input through the controller 250 .
  • the user may input user commands on a graphical user interface (GUI) displayed on the display 275, and the user input interface receives the user input commands through the graphical user interface (GUI).
  • GUI graphical user interface
  • the user may input a user command by inputting a specific sound or gesture, and the user input interface recognizes the sound or gesture through a sensor to receive the user input command.
  • a "user interface” is a medium interface for interaction and information exchange between an application program or an operating system and a user, which enables conversion between an internal form of information and a form acceptable to the user.
  • the commonly used form of user interface is Graphical User Interface (GUI), which refers to a user interface related to computer operations displayed in a graphical manner. It can be an icon, window, control and other interface elements displayed on the display screen of the electronic device, wherein the control can include icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, Widgets, etc. visual interface elements.
  • GUI Graphical User Interface
  • the memory 260 includes storing various software modules for driving the display device 200 .
  • various software modules stored in the first memory include at least one of a basic module, a detection module, a communication module, a display control module, a browser module, and various service modules.
  • the basic module is used for signal communication between various hardwares in the display device 200, and is a low-level software module that sends processing and control signals to the upper-layer module.
  • the detection module is a management module used to collect various information from various sensors or user input interfaces, perform digital-to-analog conversion, and analyze and manage.
  • the speech recognition module includes a speech parsing module and a speech instruction database module.
  • the display control module is a module used to control the display to display image content, and can be used to play information such as multimedia image content and UI interface.
  • Communication module a module for control and data communication with external devices.
  • the browser module is a module for performing data communication between browsing servers. Service modules are used to provide various services and modules including various applications.
  • the memory 260 is also used to store and receive external data and user data, images of various items in various user interfaces, and visual effect diagrams of focus objects, and the like.
  • FIG. 3 exemplarily shows a block diagram of the configuration of the control device 100 according to an exemplary embodiment.
  • the control device 100 includes a controller 110, a communication interface 130, a user input/output interface, a memory, and a power supply.
  • the control device 100 is configured to control the display device 200 , and can receive the user's input operation instructions, and convert the operation instructions into instructions that the display device 200 can recognize and respond to, and play an intermediary role between the user and the display device 200 .
  • the user operates the channel addition and subtraction keys on the control device 100, and the display device 200 responds to the channel addition and subtraction operations.
  • control device 100 may be a smart device.
  • control device 100 may install various applications for controlling the display device 200 according to user requirements.
  • the mobile terminal 300 or other intelligent electronic device can perform a similar function of controlling the device 100 after installing an application for operating the display device 200 .
  • the user can install the application, various function keys or virtual buttons of the graphical user interface provided on the mobile terminal 300 or other intelligent electronic devices, so as to realize the function of controlling the physical keys of the device 100 .
  • the controller 110 includes a processor 112 and RAM 113 and ROM 114, a communication interface 130, and a communication bus.
  • the controller is used to control the operation and operation of the control device 100, as well as the communication and cooperation among the internal components and the external and internal data processing functions.
  • the communication interface 130 realizes the communication of control signals and data signals with the display device 200 under the control of the controller 110 .
  • the received user input signal is sent to the display device 200 .
  • the communication interface 130 may include at least one of other near field communication modules such as a WiFi chip 131 , a Bluetooth module 132 , and an NFC module 133 .
  • the user input/output interface 140 wherein the input interface includes at least one of other input interfaces such as a microphone 141, a touch panel 142, a sensor 143, and a key 144.
  • the user can implement the user command input function through actions such as voice, touch, gesture, pressing, etc.
  • the input interface converts the received analog signal into a digital signal, and converts the digital signal into a corresponding command signal, and sends it to the display device 200.
  • the output interface includes an interface for transmitting received user instructions to the display device 200 .
  • it can be an infrared interface or a radio frequency interface.
  • the infrared signal interface when used, the user input instruction needs to be converted into an infrared control signal according to the infrared control protocol, and sent to the display device 200 through the infrared sending module.
  • the radio frequency signal interface when a radio frequency signal interface is used, the user input command needs to be converted into a digital signal, and then modulated according to the radio frequency control signal modulation protocol, and then sent to the display device 200 by the radio frequency transmission terminal.
  • control device 100 includes at least one of a communication interface 130 and an input-output interface 140 .
  • the communication interface 130 is configured in the control device 100, such as: WiFi, Bluetooth, NFC and other modules, which can send user input instructions to the display device 200 through WiFi protocol, or Bluetooth protocol, or NFC protocol encoding.
  • the memory 190 is used to store various operating programs, data and applications for driving and controlling the control device 200 under the control of the controller.
  • the memory 190 can store various control signal instructions input by the user.
  • the power supply 180 is used to provide operating power support for each element of the control device 100 under the control of the controller. Can battery and related control circuit.
  • a system may include a kernel (Kernel), a command parser (shell), a file system, and applications.
  • kernel Kernel
  • shell command parser
  • file system a file system
  • applications the kernel, shell, and file system make up the basic operating system structures that allow users to manage files, run programs, and use the system.
  • the kernel starts, activates the kernel space, abstracts hardware, initializes hardware parameters, etc., runs and maintains virtual memory, scheduler, signals and inter-process communication (IPC).
  • IPC inter-process communication
  • the shell and user applications are loaded.
  • An application is compiled into machine code after startup, forming a process.
  • the system is divided into four layers, from top to bottom, they are an application layer (referred to as “application layer”), an application framework layer (referred to as “framework layer”) ”), the Android runtime and the system library layer (referred to as the “system runtime layer”), and the kernel layer.
  • application layer an application layer
  • frame layer an application framework layer
  • Android runtime the Android runtime
  • system library layer the system library layer
  • kernel layer the kernel layer
  • At least one application program runs in the application program layer, and these application programs may be a Window program, a system setting program, a clock program, a camera application, etc. built into the operating system; they may also be developed by a third party
  • the application programs developed by the author such as the Hijian program, the K song program, the magic mirror program, etc.
  • the application package in the application layer is not limited to the above examples, and may actually include other application packages, which is not limited in this embodiment of the present application.
  • the framework layer provides an application programming interface (API) and a programming framework for applications in the application layer.
  • the application framework layer includes some predefined functions.
  • the application framework layer is equivalent to a processing center, which decides to let the applications in the application layer take action.
  • the application program can access the resources in the system and obtain the services of the system during execution through the API interface.
  • the application framework layer in the embodiment of the present application includes managers (Managers), content providers (Content Provider), etc., wherein the manager includes at least one of the following modules: an activity manager (Activity Manager) uses Interacts with all activities running in the system; Location Manager is used to provide system services or applications with access to system location services; Package Manager is used to retrieve files currently installed on the device Various information related to the application package; Notification Manager (Notification Manager) is used to control the display and clearing of notification messages; Window Manager (Window Manager) is used to manage icons, windows, toolbars, wallpapers on the user interface and desktop widgets.
  • an activity manager uses Interacts with all activities running in the system
  • Location Manager is used to provide system services or applications with access to system location services
  • Package Manager is used to retrieve files currently installed on the device Various information related to the application package
  • Notification Manager Notification Manager
  • Window Manager Window Manager
  • the activity manager is used to: manage the life cycle of each application and the usual navigation and fallback functions, such as controlling the exit of the application (including switching the user interface currently displayed in the display window to the system desktop), opening the , back (including switching the currently displayed user interface in the display window to the upper-level user interface of the currently displayed user interface), and the like.
  • the window manager is used to manage all window programs, such as obtaining the size of the display screen, judging whether there is a status bar, locking the screen, taking screenshots, and controlling the change of the display window (for example, reducing the display window to display, shaking display, twisting deformation display, etc.), etc.
  • the system runtime layer provides support for the upper layer, that is, the framework layer.
  • the Android operating system will run the C/C++ library included in the system runtime layer to implement the functions to be implemented by the framework layer.
  • the kernel layer is the layer between hardware and software. As shown in Figure 4, the kernel layer at least includes at least one of the following drivers: audio driver, display driver, Bluetooth driver, camera driver, WIFI driver, USB driver, HDMI driver, sensor driver (such as fingerprint sensor, temperature sensor, touch sensors, pressure sensors, etc.), etc.
  • the kernel layer at least includes at least one of the following drivers: audio driver, display driver, Bluetooth driver, camera driver, WIFI driver, USB driver, HDMI driver, sensor driver (such as fingerprint sensor, temperature sensor, touch sensors, pressure sensors, etc.), etc.
  • the kernel layer further includes a power driver module for power management.
  • software programs and/or modules corresponding to the software architecture in FIG. 4 are stored in the first memory or the second memory shown in FIG. 2 or FIG. 3 .
  • the remote control receiving device receives the input operation of the remote control
  • the corresponding hardware interrupt is sent to the kernel layer.
  • the kernel layer processes the input operation into the original input event (including the value of the input operation, the timestamp of the input operation and other information).
  • Raw input events are stored at the kernel layer.
  • the application framework layer obtains the original input event from the kernel layer, identifies the control corresponding to the input event according to the current position of the focus, and regards the input operation as a confirmation operation, and the control corresponding to the confirmation operation is the control of the magic mirror application icon.
  • the mirror application calls the interface of the application framework layer, starts the mirror application, and then starts the camera driver by calling the kernel layer to capture still images or videos through the camera.
  • the display device receives an input operation (such as a split-screen operation) performed by the user on the display screen, and the kernel layer can generate corresponding input operations according to the input operation. Enter an event and report the event to the application framework layer.
  • the window mode (such as multi-window mode) and window position and size corresponding to the input operation are set by the activity manager of the application framework layer.
  • the window management of the application framework layer draws the window according to the settings of the activity manager, and then sends the drawn window data to the display driver of the kernel layer, and the display driver displays the corresponding application interface in different display areas of the display screen.
  • the application layer contains at least one application that can display corresponding icon controls in the display, such as: live TV application icon control, video on demand application icon control, media center application Program icon controls, application center icon controls, game application icon controls, etc.
  • the live TV application may provide live TV from different sources.
  • a live TV application may provide a TV signal using input from cable, over-the-air, satellite services, or other types of live TV services.
  • the live TV application may display the video of the live TV signal on the display device 200 .
  • a video-on-demand application may provide video from various storage sources. Unlike live TV applications, video-on-demand provides a display of video from certain storage sources. For example, video-on-demand can come from a server-side cloud storage, from a local hard disk storage containing existing video programs.
  • the media center application may provide various multimedia content playback applications.
  • a media center may provide services other than live TV or video-on-demand, where users can access various images or audio through a media center application.
  • the application center may provide storage of various applications.
  • An application can be a game, an application, or some other application that is related to a computer system or other device but can be run on a Smart TV.
  • the application center can obtain these applications from various sources, store them in local storage, and then run them on the display device 200 .
  • the angle at which the camera is located is related to the field of view of the camera.
  • the gimbal is a supporting device for installing and fixing the camera. It is divided into fixed gimbal and electric gimbal. Among them, the electric gimbal is suitable for large-scale scanning and shooting, and it can expand the field of view of the camera.
  • the camera of the display device is installed on the electric pan/tilt, and the display device controller is used to control the electric pan/tilt, so that the camera can shoot at multiple angles.
  • the electric gimbal can be a horizontal rotating gimbal that can only rotate left and right, or an omnidirectional gimbal that can rotate left and right as well as up and down.
  • two motors are installed in the omnidirectional pan/tilt head, which are used to drive the pan/tilt head to rotate in the horizontal direction and the vertical direction respectively, so as to change the angle of the camera.
  • the limit angle that the camera can rotate in the horizontal direction and/or the vertical direction can be set by the user according to the needs.
  • the rotatable angle of the camera in the horizontal direction may range from 0° to 120°, where 0° and 120° are the corresponding limits of the two rotation directions (leftward and rightward) in the horizontal direction, respectively.
  • Angle; the rotatable angle of the camera in the vertical direction can be from 0° to 180°, where 0° and 180° are respectively the limit angles corresponding to the two rotation directions (up and down) in the vertical direction.
  • Fig. 6 to Fig. 11 are schematic diagrams of the angle of the camera exemplarily shown in the application, wherein Fig. 6 exemplarily shows the state when the tilt angle of the camera in the vertical direction is 0°, and Fig. 7 exemplarily shows The state when the tilt angle of the camera in the vertical direction is 90°, FIG. 8 exemplarily shows the state when the tilt angle of the camera in the vertical direction is 105°, and FIG. 9 exemplarily shows the state of the camera in the horizontal direction. The state when the horizontal angle is 0°, Fig. 10 exemplarily shows the state when the horizontal angle of the camera in the horizontal direction is 60°, and Fig. 11 exemplarily shows the state when the horizontal angle of the camera in the horizontal direction is 120° status.
  • the user can control the rotation of the PTZ by operating a designated button on the control device to adjust the angle at which the camera is located.
  • the user can input user operations for controlling the left and right rotation of the PTZ by operating the "left" and “right” direction keys on the control device. "Down” and “Up” arrow keys to input user actions for controlling the down and up rotation of the gimbal.
  • the display device receives the aforementioned user operation for adjusting the camera angle
  • the motor in the PTZ is controlled to rotate to drive the PTZ to rotate in the target adjustment direction indicated by the user operation.
  • the controller performs different processing to adjust the angle of the camera according to different operation modes of the user on the above-mentioned designated keys.
  • the controller adjusts the direction according to the target indicated by the key operated by the user in response to the received user operation. , control the camera to make incremental adjustments to the target adjustment direction based on the current angle. For example, if the target adjustment direction indicated by the key operated by the user is "right", and the angle of the camera is 15° when the user's operation is received, then adjust 10° to the right on the basis of 15°, That is, adjust to 25°.
  • the first operation mode may be a user's short-pressing operation on a designated key. The user can perform a short press operation continuously, so that the controller controls the camera to make continuous incremental adjustments to the target adjustment direction.
  • the controller adjusts the camera to the limit angle corresponding to the target adjustment direction according to the target adjustment direction indicated by the user's operation button in response to the received user operation. For example, if the target adjustment direction indicated by the key operated by the user is "right" and the limit angle corresponding to "right” is 120°, the angle of the camera is adjusted to the right until it reaches 120°.
  • the second operation mode may be a user's long-pressing operation on a designated key. Different from the processing logic of adjusting the camera angle through a short press operation, the user can perform a long press operation to adjust the camera angle to the limit angle corresponding to a certain direction at one time.
  • the controller since the controller makes incremental adjustments based on the current angle of the camera every time the controller receives a short-pressing operation, the angle adjustment may not be in place. The problem.
  • the controller when the controller receives the first short press operation and the angle of the camera is 15° when the first short press operation is received, the response The first short press operation, the controller will control the camera to rotate 10° to the right on the basis of the current 15°, that is, adjust to 25°, when the controller receives the second short press operation and after receiving the second short press
  • the angle the camera is in is 18° when pressing the operation, that is, it has not reached 25°.
  • the controller will control the camera to rotate 10° to the right on the basis of the current 18°, that is, adjust to 28° instead of 35°, resulting in the problem of not properly adjusting the angle.
  • the controller of the display device is configured to: receive a user operation for adjusting the angle of the camera, and the user operation carries a mark used to indicate the target adjustment direction and the operation mode;
  • the indicated operation mode is the first operation mode, then the target angle is determined according to the target adjustment direction and the saved starting angle, and the angle of the camera is adjusted to the target angle, wherein the saved starting angle is the last determined target angle or the upper
  • the first operation mode may be a user's short-press operation on a designated key
  • the second operation mode may be a user's long-press operation on the designated key.
  • the remote control sends the user's operation information to the display device, and the operation information includes an identifier for indicating the target adjustment direction and an identifier for indicating the operation mode.
  • the identifier used to indicate the target adjustment direction may be a key code
  • the identifier used to indicate the operation mode may be a count value. For example, when the count value in the operation information is 0, it indicates that the operation is a short-press operation, and when the count value in the operation information is greater than 0, the operation is a long-press operation.
  • the target angle is obtained by adding or subtracting the starting angle and a preset step angle.
  • the preset step angle is 10° or other values as in the above example.
  • the target adjustment direction is "rightward”
  • the starting angle is added to the preset step angle to obtain the target angle; when the target adjustment direction is "leftward”, the starting angle is added to the preset step angle.
  • the target adjustment direction is “rightward”
  • the target angle is determined to be 25°
  • the target adjustment direction is "towards the right” Left” determine the target angle as 5°.
  • the determined target angle is saved in the system, or after the camera angle adjustment is terminated, the camera angle when the adjustment is terminated is saved in the system as a next time The starting angle of the adjustment.
  • the limit angle corresponding to the target adjustment direction is used as the target angle for adjustment.
  • the limit angle of "rightward" adjustment is 120°
  • the limit angle of 120° is used as the target angle for adjustment.
  • the user can operate the designated button through different operation modes to input the user operation for adjusting the angle of the camera, wherein the user operation input through the first operation mode can control the camera at the starting angle
  • the user operation input through the second operation mode can control the camera to rotate to the limit angle corresponding to the target adjustment direction at one time.
  • the controller since every time the controller determines a target angle or terminates adjusting the camera angle, it will save the determined target angle or the camera angle when the adjustment is terminated as the starting angle for the next adjustment.
  • the camera When the camera receives a user operation based on the first operation mode, it will determine a new target angle according to the target adjustment direction and the saved starting angle, and adjust the camera to the target angle, so it can be avoided when the user repeatedly short-presses the specified There is a problem that the angle is not adjusted properly when pressing the button.
  • the controller determines the target angle to be 25° according to the starting angle of 15° and the preset step angle of 10°, and starts to control the camera to rotate to the right to 25°, and at the same time rotates the target angle determined this time. 25° is saved as the starting angle.
  • the controller receives the second short press operation, although the actual angle reached by the camera is 18°, the controller will use the saved starting angle of 25° and the preset step angle of 10°.
  • the new target angle is determined to be 35°, that is to say, the camera angle will be adjusted to 35° instead of 28° calculated from 18°, thus avoiding the angle adjustment when the user presses the specified button several times in a row The problem is not in place.
  • the controller will adjust the direction according to the target indicated by the user's operation, and the camera of the controller will rotate smoothly and uniformly to the corresponding target adjustment direction. limit angle. Furthermore, the user can adjust the camera angle to the limit angle at one time by a long press operation.
  • the controller of the display device is further configured to: before adjusting the angle of the camera to the limit angle corresponding to the target adjustment direction, detect whether to receive a message for terminating the A user operation for adjusting the angle of the camera; when receiving a user operation for terminating the adjustment of the angle of the camera, the adjustment of the angle of the camera is terminated.
  • the user operation for terminating the adjustment of the angle of the camera may be a lifting operation after receiving a long-press operation on the designated key.
  • the controller of the display device is further configured to: in the process of adjusting the angle of the camera to the limit angle corresponding to the target adjustment direction, periodically obtain the current angle of the camera, and determine whether the current angle of the camera reaches the target The limit angle corresponding to the adjustment direction; when the current angle of the camera reaches the limit angle corresponding to the target adjustment direction, the adjustment of the angle of the camera is terminated.
  • the display device controller will control the camera to rotate in the target adjustment direction; when it is detected that the user lifts the specified button or the angle of the camera reaches the corresponding target adjustment direction. When the limit angle is reached, the rotation of the camera is terminated.
  • the current angle of the camera reaches the limit angle corresponding to the target adjustment direction, including the situation where the current angle of the camera completely matches the limit angle, and/or the angle value at which the current angle of the camera reaches the limit angle is less than the preset value. situation.
  • the main thread receives the user operation for adjusting the camera angle, such as the operation information sent by the remote control, and sends the received user operation to CameraSettingActivity.
  • the user operation is repackaged, so that the repackaged user operation carries the identification used to indicate the target adjustment direction and the identification used to indicate the operation mode, and according to the different user operation modes, the repackaged user operation is assigned to different child thread for processing. Specifically, if it is a user operation based on the first operation mode, the repackaged user operation is added as a pending message to the pending queue of the first sub-thread, and the first sub-thread obtains the pending processing from the pending queue. If it is a user operation based on the second operation mode, the repackaged user operation is directly sent to the second sub-thread, and the second sub-thread processes it.
  • the first sub-thread is specifically used to obtain the pending user operation for adjusting the angle of the camera from the pending queue; obtain the target adjustment direction according to the identifier carried by the user operation and used to indicate the target adjustment direction; adjust the direction according to the target and save the
  • the starting angle determines the target angle of this operation; the method used to adjust the camera angle is called, and the camera angle is adjusted to the target angle through this method.
  • the angle of the camera reaches the target angle, the first child thread is closed.
  • the second sub-thread is specifically used to receive the user operation for adjusting the camera angle sent by CameraSettingActivity; obtain the target adjustment direction according to the identifier used to indicate the target adjustment direction carried by the user operation; call the method for adjusting the camera angle, through the The method adjusts the angle of the camera to the limit angle corresponding to the target adjustment direction. And, in the process of adjusting the angle of the camera to the limit angle corresponding to the target adjustment direction, periodically obtain the current angle of the camera, and determine whether the obtained current angle reaches the limit angle corresponding to the target adjustment direction, and when it is reached, terminate. Adjustment to the camera angle. When the adjustment of the camera angle is completed or terminated, the second sub-thread is closed.
  • the angle of the camera will not be adjusted.
  • the rotatable angle of the camera in the target adjustment direction is also referred to as the remaining angle
  • the adjustment error is also referred to as the preset minimum angle.
  • the controller of the display device is further configured to: before determining the target angle according to the target adjustment direction and the saved start angle, calculate the remaining angle according to the limit angle and the start angle corresponding to the target adjustment direction ; Determine whether the remaining angle is greater than the preset minimum angle; if the remaining angle is greater than the preset minimum angle, execute the step of determining the target angle; if the remaining angle is not greater than the preset minimum angle, generate an interface prompt and display the interface prompt to show The starting angle reaches the limit angle corresponding to the target adjustment direction.
  • the target adjustment direction is "right”
  • the limit angle corresponding to "right” is 120°
  • the saved starting angle is 118°
  • the preset minimum angle is 3°.
  • the corresponding baseline angle and The remaining angle of the saved starting angle calculation is 2°, which is smaller than the preset minimum angle, then the step of determining the target angle is not performed, but an interface prompt is generated and displayed to show that the starting angle reaches the limit corresponding to the target adjustment direction angle information.
  • the embodiments of the present application further provide a method for adjusting the angle of a camera.
  • the method is applied to the display device provided by the above embodiments, and the execution subject of the method includes but is not limited to a controller of the display device.
  • FIG. 12 is a flowchart of a method for adjusting the angle of a camera according to an exemplary embodiment of the present application. As shown in FIG. 12 , the method may include:
  • Step 121 Receive a user operation for adjusting the angle of the camera, where the user operation carries an identifier for indicating the target adjustment direction and an operation mode.
  • Step 122 if the operation mode indicated by the identification is the first operation mode, determine the target angle according to the target adjustment direction and the saved starting angle, and adjust the angle of the camera to the target angle, and the save The starting angle of is the target angle determined last time or the angle at which the camera was located when the adjustment was terminated last time.
  • the first operation mode is a user's short-press operation on a designated key
  • the second operation mode is a user's long-press operation on the designated key
  • the designated key is used to adjust the camera angle button
  • the method before determining the target angle according to the target adjustment direction and the saved starting angle, the method further includes: calculating a remaining angle according to the limit angle corresponding to the target adjustment direction and the starting angle; whether the remaining angle is greater than the preset minimum angle; if the remaining angle is greater than the preset minimum angle, execute the step of determining the target angle; if the remaining angle is not greater than the preset minimum angle, generate an interface prompt, and display the interface prompt to show that the starting angle reaches the limit angle corresponding to the target adjustment direction.
  • the determining the target angle according to the target adjustment direction and the saved starting angle includes: adding or subtracting the starting angle and a preset step angle according to different target adjustment directions , to get the target angle.
  • Step 123 if the operation mode indicated by the flag is the second operation mode, adjust the angle of the camera to the limit angle corresponding to the target adjustment direction.
  • the method before adjusting the angle of the camera to a limit angle corresponding to the target adjustment direction, the method further includes: detecting whether a user operation for terminating adjusting the angle of the camera is received; When the user operation of adjusting the angle of the camera is terminated, the adjustment of the angle of the camera is terminated.
  • the user operation for terminating the adjustment of the angle of the camera is a lifting operation after receiving a long-press operation on the designated key.
  • the process of adjusting the angle of the camera to the limit angle corresponding to the target adjustment direction further includes: periodically acquiring the current angle of the camera; judging whether the current angle of the camera reaches The limit angle corresponding to the target adjustment direction; when the current angle of the camera reaches the limit angle corresponding to the target adjustment direction, the adjustment of the angle of the camera is terminated.
  • adjusting the angle of the camera to the target angle or a limit angle corresponding to the target adjustment direction includes: controlling the camera to rotate at a predetermined speed to the target angle or the limit at a constant speed angle.
  • the target angle is determined according to the target adjustment direction and the saved start angle
  • the target angle is saved as the start angle, or the adjustment of the camera angle is terminated. Then, the angle at which the camera is located is saved as the starting angle.
  • the angle at which the camera is located is related to the field of view of the camera.
  • the gimbal is a supporting device for installing and fixing the camera. It is divided into fixed gimbal and electric gimbal. Among them, the electric gimbal is suitable for large-scale scanning and shooting, and it can expand the field of view of the camera.
  • the electric gimbal can be a horizontal rotating gimbal that can only rotate left and right, or an omnidirectional gimbal that can rotate left and right as well as up and down.
  • two motors are installed in the omnidirectional pan/tilt head, which are used to drive the pan/tilt head to rotate in the horizontal direction and the vertical direction respectively, so as to change the angle of the camera.
  • the camera installed on the electric PTZ is also called the PTZ camera.
  • the display device 200 includes a detector 230, and the detector 230 includes a camera, and the camera may be a pan-tilt camera 232 as shown in FIG. 13a.
  • the display device 200 includes an external device interface 240 through which an external device can access the display device 200 .
  • the external PTZ camera 232 can be connected to the controller 220 of the display device through the external device interface 240 .
  • the PTZ can be controlled by the display device controller, so that the camera can shoot at multiple angles.
  • the limit angle that the camera can rotate in the horizontal and/or vertical direction can be designed according to the needs.
  • the rotatable angle of the camera in the horizontal direction may range from 0° to 120°, where 0° and 120° are the corresponding limits of the two rotation directions (leftward and rightward) in the horizontal direction, respectively.
  • Angle; the rotatable angle of the camera in the vertical direction can be from 0° to 180°, where 0° and 180° are respectively the limit angles corresponding to the two rotation directions (up and down) in the vertical direction.
  • Fig. 9 to Fig. 11 are schematic diagrams of the angle of the camera exemplarily shown in the application, wherein Fig. 9 exemplarily shows the state when the tilt angle of the camera in the vertical direction is 0°, Fig. 7 exemplarily shows The state when the tilt angle of the camera in the vertical direction is 90°, FIG. 8 exemplarily shows the state when the tilt angle of the camera in the vertical direction is 105°, and FIG. 9 exemplarily shows the state of the camera in the horizontal direction. The state when the horizontal angle is 0°, Fig. 10 exemplarily shows the state when the horizontal angle of the camera in the horizontal direction is 60°, and Fig. 11 exemplarily shows the state when the horizontal angle of the camera in the horizontal direction is 120° status.
  • the camera is tilted up, which means that the tilt angle of the camera in the vertical direction is greater than a preset minimum angle; the camera is down, which means that the tilt angle of the camera in the vertical direction is smaller than a preset maximum angle.
  • the preset minimum angle and the preset maximum angle may be the same angle value, or may be different angle values.
  • the state when the camera is raised may be the state shown in FIG. 7
  • the state when the camera is falling may be the state shown in FIG. 9 .
  • the camera in the time period when the user does not use the camera, if the camera is always in a tilted state, from the perspective of user experience, it is easy to create an illusion for the user that the camera is working, thereby causing confusion to the user.
  • the camera in the event of user misoperation or system error, the camera may be turned on by mistake without the user's knowledge, which may easily lead to the leakage of user privacy, which is not conducive to user experience.
  • the camera when the application associated with the camera is switched to the foreground application, or when the foreground application calls the interface for starting the camera, the camera is controlled to tilt up; when the display device is turned off or associated with the camera The app exits from the foreground and controls the camera to land.
  • a nonsensical landing and raising occurs for the foreground app when switching between two apps, both of which are associated with the camera. Specifically, when the foreground application is switched from the first application to the second application, because the first application exits the foreground application, the camera is controlled to land, and then, because the second application enters the foreground application, the camera is controlled to be raised up. It can be seen that the The process of first landing and then leaning up is meaningless, it will increase the working frequency of the motor, reduce its service life, and prolong the waiting time of the user, which is not conducive to the user experience.
  • an embodiment of the present application provides a display device, as shown in FIG. 2 and FIG. 13 a or 6 , the display device includes a display 275 for displaying a user interface, for collecting local The camera 232 of the image and the controller 220 connected to the camera, wherein the controller 220 is configured to execute: when continuously receiving the instruction of the application to close the camera and the instruction of the application to open the camera, control the camera to maintain the current angle, wherein, continuously receiving an instruction to close the camera by the application and an instruction to open the camera by the application means that the time interval between receiving the two instructions is less than a preset duration.
  • an instruction to turn on the camera from the first application or the second application is received within a preset period of time after receiving the instruction from the first application to turn off the camera.
  • the instruction of the first application to close the camera is received within a preset time period after the instruction of the first application to open the camera is received.
  • the first application and the second application are different applications associated with the camera.
  • the camera when an instruction to turn on the camera from the first application or the second application is received within a preset period of time after the instruction to turn off the camera from the first application is received, the camera is controlled to maintain the second preset angle.
  • the angle of the camera is adjusted to the first preset angle.
  • controller 220 is configured to execute the steps shown in FIG. 14 :
  • Step 801 when the camera is in an off state, an instruction for starting the camera from the first application is received.
  • Step 802 in response to an instruction of the first application to activate the camera, activate the camera, and adjust the angle at which the camera is located from the first preset angle to the second preset angle.
  • the first preset angle is the pitch angle at which the camera is positioned after landing
  • the second preset angle is the pitch angle at which the camera is positioned after being raised.
  • Step 803 When the camera is in the on state, an instruction of the first application to turn off the camera is received. Wherein, when the first application is closed or exits the foreground, an instruction to close the camera is sent.
  • Step 804 in response to the first application closes the instruction of the camera, closes the camera, and monitors whether the first application or the second application opens the instruction of the camera within the preset duration;
  • Step 805 if an instruction to turn on the camera from the first application or the second application is received within the preset time period, the camera is turned on and the camera is maintained at the second preset angle. Wherein, after the first application or the second application is started or switched to the foreground, an instruction to turn on the camera is sent.
  • Step 806 If the first application or the second application does not receive an instruction to turn on the camera within the preset time period, adjust the angle at which the camera is located to the first preset angle.
  • the first application when the first application starts, it sends an instruction instructing to turn on the camera to the CameraService service of the system; after the CameraService service receives the instruction to turn on the camera from the first application, it calls the camera provided by the CameraControl service for controlling the tilting of the camera.
  • the method resetTorecorded() is used to control the camera tilt to the second preset angle.
  • the first application will send an instruction to the CameraService service instructing to close the camera; the CameraService service starts timing after receiving the instruction of the first application to close the camera, and simultaneously monitors whether Receive an instruction to turn on the camera from the first app or the second app; if the first app or the second app is starting or entering the foreground, the first app or the second app will send the CameraService service an instruction to turn on the camera; Before the preset time period (such as 3s) is reached, an instruction to turn on the camera from the first application or the second application is received, and the process ends; if the instruction to turn on the camera from the first application or the second application is not received before the timing period reaches the preset time length , then stop timing after the timing duration reaches the preset duration, and call the method reset() provided by the CameraControl service for controlling the camera to land to control the camera to land at the first preset angle.
  • the CameraService service starts timing after receiving the instruction of the first application to close the camera, and simultaneously monitors whether Receive an instruction to turn on the camera from the first app or
  • both the "Magic Mirror” application and the “Chat” application are applications associated with the camera.
  • the "Magic Mirror” app After the user opens the “Magic Mirror” app or switches the “Magic Mirror” app to the foreground by operation, the “Magic Mirror” app sends an instruction to turn on the camera to the CameraService service of the system; after the CameraService service receives the instruction, it calls the CameraControl service.
  • the method resetTorecorded() provided by the service for controlling the tilt of the camera is used to control the tilt of the camera to the second preset angle.
  • the "Magic Mirror” application When the user switches the “Magic Mirror” application to the foreground and switches the “Chat” application to the foreground, the "Magic Mirror” application will send an instruction to turn off the camera to the CameraService service, and the “Chat” application will send an instruction to the CameraService service. Send an instruction to turn on the camera. After the CameraService service receives the command to close the “Magic Mirror” application, it turns off the camera and starts timing.
  • the camera will be kept on, and the camera will be maintained at the second preset angle; if it is not received before the timing reaches the preset duration To the "Magic Mirror” application's opening command, the camera will be turned off, and the camera will be controlled to land at the first preset angle at the same time.
  • the preset duration such as 3s
  • the CameraService service receives an instruction from the first application or the second application to start the camera within the preset time period when the first application closes the camera, it will not control the camera to land, but will maintain the camera. at the second preset angle, thereby avoiding meaningless landing and pitching controls due to application switching.
  • a landing task is generated and added to the task queue, where the landing task refers to the task of adjusting the angle of the camera to the first preset angle ;
  • the waiting time of the landing task to be executed in the task queue reaches the preset time, read and execute the landing task, that is, adjust the angle of the camera to the first preset angle;
  • the CameraService service receives the first When the application or the second application is instructed to turn on the camera, the landing task to be executed in the task queue is deleted.
  • the waiting time of the landing task to be executed in the task queue reaches the preset time, it will be read and executed by the CameraService service. Therefore, if the first application or the second application is received in the CameraService service, the camera is turned on.
  • the waiting time of the landing tasks to be executed must be less than the preset time. By deleting the landing tasks to be executed in the task queue, it can be avoided that the waiting time reaches the predetermined time. When the time is set, it is read and executed.
  • the CameraService service receives an instruction from the first application or the second application to start the camera within the preset time period when the first application closes the camera, it will not control the camera to land, but will maintain the camera at the second preset angle. This avoids meaningless landing and pitching controls due to application switching.
  • the CameraService service receives an instruction from the application to turn on the camera when there is no landing task to be executed in the task queue, it turns on the camera and adjusts the angle of the camera from the first preset angle to the second preset angle. .
  • the camera when an instruction to turn off the camera from the first application is received within a preset period of time after the instruction to turn on the camera from the first application is received, the camera is controlled to maintain the first preset angle.
  • the angle at which the camera is located is adjusted to a second preset angle.
  • controller 220 is further configured to perform the steps shown in FIG. 15 :
  • Step 901 When the camera is in an on state, an instruction of the first application to turn off the camera is received.
  • Step 902 in response to an instruction of the first application to close the camera, close the camera, and adjust the angle at which the camera is located from the second preset angle to the first preset angle.
  • Step 903 when the camera is in an off state, an instruction of the first application to turn on the camera is received.
  • the first application enters the foreground to run, it sends an instruction to turn on the camera.
  • Step 904 in response to the first application's instruction to turn on the camera, turn on the camera, and monitor whether the first application's instruction to turn off the camera is received within a preset time period;
  • Step 905 if an instruction of the first application to close the camera is received within the preset time period, the camera is closed, and the camera is maintained at the first preset angle. Wherein, when the first application is closed or exits the foreground, an instruction to close the camera is sent.
  • Step 906 if no instruction from the first application to turn off the camera is received within the preset time period, adjust the angle at which the camera is located to a second preset angle.
  • the CameraService service when the CameraService service receives an instruction from the first application to turn on the camera, it generates a tilt task and adds it to the task queue, where the tilt task refers to adjusting the angle of the camera to the second preset angle. task; when the waiting time of the lift-up task to be executed in the task queue reaches the preset duration, read and execute the lift-up task, that is, adjust the angle of the camera to the second preset angle; when the CameraService service receives When the first application instructs to turn off the camera, delete the tilt-up task to be executed in the task queue.
  • the waiting time of the tilt-up task to be executed in the task queue reaches the preset time, it will be read and executed by the CameraService service. Therefore, if the CameraService service receives an instruction from the first application to turn off the camera , there are still pending lift-up tasks in the task queue, then the waiting time of the lift-up tasks to be executed must be less than the preset duration. When the time is set, it is read and executed. That is to say, if the CameraService service receives an instruction from the first application to turn off the camera within the preset time period when the first application opens the camera, it will not control the camera to tilt up, but will maintain the camera at the first preset angle, thereby avoiding no Meaningful landing and pitch control.
  • the present invention also provides a computer storage medium, wherein the computer storage medium can store a program, and when the program is executed, it can include some or all of the steps in the various embodiments of the camera angle adjustment method provided by the present invention .
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (English: read-only memory, abbreviated as: ROM) or a random access memory (English: random access memory, abbreviated as: RAM) and the like.
  • the technology in the embodiments of the present invention can be implemented by means of software plus a necessary general hardware platform.
  • the technical solutions in the embodiments of the present invention may be embodied in the form of software products in essence or the parts that make contributions to the prior art, and the computer software products may be stored in a storage medium, such as ROM/RAM , magnetic disk, optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in various embodiments or some parts of the embodiments of the present invention.
  • a computer device which may be a personal computer, a server, or a network device, etc.

Abstract

The present application discloses a display device and a display method. A user operation inputted in a first operation manner can control a camera to make, on the basis of a starting angle, incremental adjustments in a target adjustment direction, and a user operation inputted in a second operation manner can control the camera to rotate, in a single operation, to a limit angle corresponding to the target adjustment direction.

Description

一种显示设备及显示方法A display device and display method
本申请要求在2020年8月21日提交中国专利局、申请号为202010851738.4、发明名称为“显示设备及摄像头控制方法”的中国专利申请的优先权,其全部内容通过引用结合在本申请中;本申请要求在2021年2月04日提交中国专利局、申请号为202110156378.0、发明名称为“显示设备及摄像头控制方法”的中国专利申请的优先权,其全部内容通过引用结合在本申请中;本申请要求在2020年8月07日提交中国专利局、申请号为202010789824.7、发明名称为“显示设备及摄像头控制方法”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number 202010851738.4 and the invention titled "Display Device and Camera Control Method" submitted to the China Patent Office on August 21, 2020, the entire contents of which are incorporated into this application by reference; This application claims the priority of the Chinese patent application with the application number 202110156378.0 and the invention title "Display Device and Camera Control Method" submitted to the China Patent Office on February 04, 2021, the entire contents of which are incorporated into this application by reference; This application claims the priority of the Chinese patent application filed on August 07, 2020 with the application number 202010789824.7 and the invention titled "Display Device and Camera Control Method", the entire contents of which are incorporated into this application by reference.
技术领域technical field
本申请涉及显示设备技术领域,尤其涉及一种显示设备及显示方法。The present application relates to the technical field of display devices, and in particular, to a display device and a display method.
背景技术Background technique
显示设备可以为用户提供诸如音频、视频、图片等播放画面。如今,显示设备不仅可以为用户提供通过数据广播接收的直播电视节目内容,而且可以为用户提供诸如网络视频、网络游戏等各种应用和服务内容。The display device can provide the user with playback pictures such as audio, video, and pictures. Today, display devices can not only provide users with the content of live TV programs received through data broadcasting, but also provide users with various application and service content such as online video and online games.
为了进一步满足用户的个性化需求,相关技术在显示设备上配置摄像头,通过显示设备的控制器获取摄像头采集的本地图像数据进行处理,在显示设备上实现视频聊天、拍照、录像等功能。In order to further meet the individual needs of users, the related art configures a camera on the display device, obtains local image data collected by the camera through the controller of the display device for processing, and implements functions such as video chat, photography, and video recording on the display device.
发明内容SUMMARY OF THE INVENTION
本申请提供一种显示设备,包括:The present application provides a display device, including:
显示器,用于显示用户界面;a display for displaying the user interface;
摄像头,用于采集图像,所述摄像头所处的角度可被调整,以在所述摄像头处于不同的角度时,采集到不同范围内的图像;a camera, used for capturing images, the angle at which the camera is positioned can be adjusted to capture images in different ranges when the camera is at different angles;
与所述摄像头连接的控制器,用于:A controller connected to the camera for:
接收用于调整摄像头角度的用户操作,所述用户操作携带用于指示目标调整方向和用于指示操作方式的标识;receiving a user operation for adjusting the angle of the camera, the user operation carrying an identifier for indicating the target adjustment direction and an operation mode;
若所述标识指示的操作方式是第一操作方式,则根据所述目标调整方向和保存的起始角度确定目标角度,并调整所述摄像头的角度到所述目标角度,所述保存的起始角度为上一次确定的目标角度或者上一次终止调整时所述摄像头所处的角度;If the operation mode indicated by the flag is the first operation mode, the target angle is determined according to the target adjustment direction and the saved starting angle, and the angle of the camera is adjusted to the target angle. The angle is the target angle determined last time or the angle at which the camera was located when the adjustment was terminated last time;
若所述标识指示的操作方式是第二操作方式,则调整所述摄像头的角度到所述目标调整方向对应的极限角度。If the operation mode indicated by the flag is the second operation mode, adjust the angle of the camera to the limit angle corresponding to the target adjustment direction.
附图说明Description of drawings
为了更清楚地说明本申请的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions of the present application more clearly, the accompanying drawings that need to be used in the embodiments will be briefly introduced below. Other drawings can also be obtained from these drawings.
图1中示例性示出了根据一些实施例的显示设备与控制装置之间操作场景的示意图;FIG. 1 exemplarily shows a schematic diagram of an operation scene between a display device and a control apparatus according to some embodiments;
图2中示例性示出了根据一些实施例的显示设备200的硬件配置框图;FIG. 2 exemplarily shows a hardware configuration block diagram of a display device 200 according to some embodiments;
图3中示例性示出了根据一些实施例的控制设备100的硬件配置框图;FIG. 3 exemplarily shows a hardware configuration block diagram of the control device 100 according to some embodiments;
图4中示例性示出了根据一些实施例的显示设备200中软件配置示意图;FIG. 4 exemplarily shows a schematic diagram of software configuration in the display device 200 according to some embodiments;
图5中示例性示出了根据一些实施例的显示设备200中应用程序的图标控件界面显示示意图;FIG. 5 exemplarily shows a schematic diagram of displaying an icon control interface of an application in the display device 200 according to some embodiments;
图6至图11示例性示出了摄像头处于不同角度时的状态示意图;FIG. 6 to FIG. 11 exemplarily show the state diagrams when the camera is at different angles;
图12为本申请根据示例性实施例示出的调整摄像头角度的方法流程图;FIG. 12 is a flowchart of a method for adjusting a camera angle according to an exemplary embodiment of the present application;
图13a为本申请在一些实施例中示出的显示设备示意图;13a is a schematic diagram of a display device shown in some embodiments of the present application;
图13b为本申请在一些实施例中示出的显示设备示意图;13b is a schematic diagram of a display device shown in some embodiments of the present application;
图14中示例性示出了本申请提供的一种摄像头控制方法流程图;FIG. 14 exemplarily shows a flow chart of a camera control method provided by the present application;
图15中示例性示出了本申请提供的一种摄像头控制方法流程图。FIG. 15 exemplarily shows a flowchart of a camera control method provided by the present application.
具体实施方式detailed description
为使本申请的目的、实施方式和优点更加清楚,下面将结合本申请示例性实施例中的附图,对本申请示例性实施方式进行清楚、完整地描述,显然,所描述的示例性实施例仅是本申请一部分实施例,而不是全部的实施例。In order to make the objectives, implementations and advantages of the present application clearer, the exemplary embodiments of the present application will be described clearly and completely below with reference to the accompanying drawings in the exemplary embodiments of the present application. Obviously, the exemplary embodiments described It is only a part of the embodiments of the present application, but not all of the embodiments.
基于本申请描述的示例性实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请所附权利要求保护的范围。此外,虽然本申请中公开内容按照示范性一个或几个实例来介绍,但应理解,可以就这些公开内容的各个方面也可以单独构成一个完整实施方式。Based on the exemplary embodiments described in this application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the appended claims of this application. Furthermore, although the disclosures in this application have been presented in terms of illustrative example or instances, it should be understood that various aspects of this disclosure may also constitute a complete embodiment in isolation.
需要说明的是,本申请中对于术语的简要说明,仅是为了方便理解接下来描述的实施方式,而不是意图限定本申请的实施方式。除非另有说明,这些术语应当按照其普通和通常的含义理解。It should be noted that the brief description of the terms in the present application is only for the convenience of understanding the embodiments described below, rather than intended to limit the embodiments of the present application. Unless otherwise specified, these terms are to be understood according to their ordinary and ordinary meanings.
本申请中说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”等是用于区别类似或同类的对象或实体,而不必然意味着限定特定的顺序或先后次序,除非另外注明(Unless otherwise indicated)。应该理解这样使用的用语在适当情况下可以互换,例如能够根据本申请实施例图示或描述中给出那些以外的顺序实施。The terms "first", "second", "third", etc. in the description and claims of this application and the above drawings are used to distinguish similar or similar objects or entities, and are not necessarily meant to limit specific Order or precedence unless otherwise indicated. It should be understood that the terms so used are interchangeable under appropriate circumstances, eg, can be implemented in an order other than those given in the illustration or description of the embodiments of the present application.
此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖但不排他的包含,例如,包含了一系列组件的产品或设备不必限于清楚地列出 的那些组件,而是可包括没有清楚地列出的或对于这些产品或设备固有的其它组件。Furthermore, the terms "comprising" and "having" and any variations thereof, are intended to cover but not exclusively include, for example, a product or device incorporating a series of components is not necessarily limited to those explicitly listed, but may include No other components are expressly listed or inherent to these products or devices.
本申请中使用的术语“模块”,是指任何已知或后来开发的硬件、软件、固件、人工智能、模糊逻辑或硬件或/和软件代码的组合,能够执行与该元件相关的功能。The term "module" as used in this application refers to any known or later developed hardware, software, firmware, artificial intelligence, fuzzy logic or combination of hardware or/and software code capable of performing the function associated with that element.
本申请中使用的术语“遥控器”,是指电子设备(如本申请中公开的显示设备)的一个组件,通常可在较短的距离范围内无线控制电子设备。一般使用红外线和/或射频(RF)信号和/或蓝牙与电子设备连接,也可以包括WiFi、无线USB、蓝牙、动作传感器等功能模块。例如:手持式触摸遥控器,是以触摸屏中用户界面取代一般遥控装置中的大部分物理内置硬键。As used in this application, the term "remote control" refers to a component of an electronic device, such as the display device disclosed in this application, that can wirelessly control the electronic device, usually over a short distance. Generally, infrared and/or radio frequency (RF) signals and/or Bluetooth are used to connect with electronic devices, and functional modules such as WiFi, wireless USB, Bluetooth, and motion sensors may also be included. For example, a hand-held touch remote control replaces most of the physical built-in hard keys in a general remote control device with a user interface in a touch screen.
本申请中使用的术语“手势”,是指用户通过一种手型的变化或手部运动等动作,用于表达预期想法、动作、目的/或结果的用户行为。The term "gesture" used in this application refers to a user's behavior that is used by a user to express an expected thought, action, purpose/or result through an action such as a change of hand shape or hand movement.
图1中示例性示出了根据实施例中显示设备与控制装置之间操作场景的示意图。如图1中示出,用户可通过移动终端300和控制装置100操作显示设备200。FIG. 1 exemplarily shows a schematic diagram of 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 the mobile terminal 300 and the control apparatus 100 .
在一些实施例中,控制装置100可以是遥控器,遥控器和显示设备的通信包括红外协议通信或蓝牙协议通信,及其他短距离通信方式等,通过无线或其他有线方式来控制显示设备200。用户可以通过遥控器上按键,语音输入、控制面板输入等输入用户指令,来控制显示设备200。如:用户可以通过遥控器上音量加减键、频道控制键、上/下/左/右的移动按键、语音输入按键、菜单键、开关机按键等输入相应控制指令,来实现控制显示设备200的功能。In some embodiments, the control device 100 may be a remote controller, and the communication between the remote controller and the display device includes infrared protocol communication or Bluetooth protocol communication, and other short-range communication methods, etc., and controls the display device 200 by wireless or other wired methods. The user can control the display device 200 by inputting user instructions through keys on the remote control, voice input, control panel input, and the like. For example, the user can control the display device 200 by inputting corresponding control commands through the volume up/down key, channel control key, up/down/left/right movement keys, voice input key, menu key, power-on/off key, etc. on the remote control. function.
在一些实施例中,也可以使用移动终端、平板电脑、计算机、笔记本电脑、和其他智能设备以控制显示设备200。例如,使用在智能设备上运行的应用程序控制显示设备200。该应用程序通过配置可以在与智能设备关联的屏幕上,在直观的用户界面(UI)中为用户提供各种控制。In some embodiments, mobile terminals, tablet computers, computers, notebook computers, and other smart devices may also be used to control the display device 200 . For example, the display device 200 is controlled using an application running on the smart device. The app can be configured to provide users with various controls in an intuitive user interface (UI) on the screen associated with the smart device.
在一些实施例中,移动终端300可与显示设备200安装软件应用,通过网络通信协议实现连接通信,实现一对一控制操作的和数据通信的目的。如:可以实现用移动终端300与显示设备200建立控制指令协议,将遥控控制键盘同步到移动终端300上,通过控制移动终端300上用户界面,实现控制显示设备200的功能。也可以将移动终端300上显示音视频内容传输到显示设备200上,实现同步显示功能。In some embodiments, the mobile terminal 300 may install a software application with the display device 200 to implement connection communication through a network communication protocol, so as to achieve the purpose of one-to-one control operation and data communication. For example, a control command protocol can be established between the mobile terminal 300 and the display device 200, the remote control keyboard can be synchronized to the mobile terminal 300, and the function of controlling the display device 200 can be realized by controlling the user interface on the mobile terminal 300. The audio and video content displayed on the mobile terminal 300 may also be transmitted to the display device 200 to implement a synchronous display function.
如图1中还示出,显示设备200还与服务器400通过多种通信方式进行数据通信。可允许显示设备200通过局域网(LAN)、无线局域网(WLAN)和其他网络进行通信连接。服务器400可以向显示设备200提供各种内容和互动。示例的,显示设备200通过发送和接收信息,以及电子节目指南(EPG)互动,接收软件程序更新,或访问远程储存的数字媒体库。服务器400可以是一个集群,也可 以是多个集群,可以包括一类或多类服务器。通过服务器400提供视频点播和广告服务等其他网络服务内容。As also shown in FIG. 1 , the display device 200 also performs data communication with the server 400 through various communication methods. The display device 200 may be allowed to communicate via local area network (LAN), wireless local area network (WLAN), and other networks. The server 400 may provide various contents and interactions to the display device 200 . For example, the display device 200 interacts by sending and receiving information, and electronic program guide (EPG), receiving software program updates, or accessing a remotely stored digital media library. The server 400 may be a cluster or multiple clusters, and may include one or more types of servers. Other network service contents such as video-on-demand and advertising services are provided through the server 400 .
显示设备200,可以液晶显示器、OLED显示器、投影显示设备。具体显示设备类型,尺寸大小和分辨率等不作限定,本领技术人员可以理解的是,显示设备200可以根据需要做性能和配置上一些改变。The display device 200 may be a liquid crystal display, an OLED display, or a projection display device. The specific display device type, size and resolution are not limited. Those skilled in the art can understand that the display device 200 can make some changes in performance and configuration as required.
显示设备200除了提供广播接收电视功能之外,还可以附加提供计算机支持功能的智能网络电视功能,包括但不限于,网络电视、智能电视、互联网协议电视(IPTV)等。The display device 200 may additionally provide a smart IPTV function that provides computer-supported functions, including but not limited to, IPTV, smart TV, Internet Protocol TV (IPTV), and the like, in addition to the broadcast receiving TV function.
图2中示例性示出了根据示例性实施例中显示设备200的硬件配置框图。FIG. 2 exemplarily shows a block diagram of the hardware configuration of the display device 200 according to the exemplary embodiment.
在一些实施例中,显示设备200中包括控制器250、调谐解调器210、通信器220、检测器230、输入/输出接口(第一接口~第n接口255)、显示器275,音频输出接口285、存储器260、供电电源290、用户接口265、外部装置接口240中的至少一种。In some embodiments, the display device 200 includes a controller 250, a tuner and demodulator 210, a communicator 220, a detector 230, an input/output interface (the first interface to the nth interface 255), a display 275, and an audio output interface 285 , a memory 260 , a power supply 290 , a user interface 265 , and at least one of an external device interface 240 .
在一些实施例中,显示器275,用于接收源自第一处理器输出的图像信号,进行显示视频内容和图像以及菜单操控界面的组件。In some embodiments, the display 275, for receiving the image signal from the output of the first processor, performs components for displaying video content and images and a menu manipulation interface.
在一些实施例中,显示器275,包括用于呈现画面的显示屏组件,以及驱动图像显示的驱动组件。In some embodiments, the display 275 includes a display screen component for presenting pictures, and a driving component for driving image display.
在一些实施例中,显示视频内容,可以来自广播电视内容,也可以是说,可通过有线或无线通信协议接收的各种广播信号。或者,可显示来自网络通信协议接收来自网络服务器端发送的各种图像内容。In some embodiments, the video content displayed may be from broadcast television content or various broadcast signals that may be received via wired or wireless communication protocols. Alternatively, various image contents sent from the network server side can be displayed and received from the network communication protocol.
在一些实施例中,显示器275用于呈现显示设备200中产生且用于控制显示设备200的用户操控UI界面。In some embodiments, display 275 is used to present a user-manipulated UI interface generated in display device 200 and used to control display device 200 .
在一些实施例中,根据显示器275类型不同,还包括用于驱动显示的驱动组件。In some embodiments, depending on the type of display 275, a driving component for driving the display is also included.
在一些实施例中,显示器275为一种投影显示器,还可以包括一种投影装置和投影屏幕。In some embodiments, display 275 is a projection display, and may also include a projection device and projection screen.
在一些实施例中,通信器220是用于根据各种通信协议类型与外部设备或外部服务器进行通信的组件。例如:通信器可以包括Wifi芯片,蓝牙通信协议芯片,有线以太网通信协议芯片等其他网络通信协议芯片或近场通信协议芯片,以及红外接收器中的至少一种。In some embodiments, communicator 220 is a component for communicating with external devices or external servers according to various communication protocol types. For example, the communicator may include at least one of a Wifi chip, a Bluetooth communication protocol chip, a wired Ethernet communication protocol chip and other network communication protocol chips or a near field communication protocol chip, and an infrared receiver.
在一些实施例中,显示设备200可以通过通信器220与外部控制设备100或内容提供设备之间建立控制信号和数据信号发送和接收。In some embodiments, the display device 200 may establish control signal and data signal transmission and reception between the communicator 220 and the external control device 100 or the content providing device.
在一些实施例中,用户接口265,可用于接收控制装置100(如:红外遥控器等)红外控制信号。In some embodiments, the user interface 265 may be used to receive infrared control signals from the control device 100 (eg, an infrared remote control, etc.).
在一些实施例中,检测器230是显示设备200用于采集外部环境或与外部交互的信号。In some embodiments, the detector 230 is a signal used by the display device 200 to collect the external environment or interact with the outside.
在一些实施例中,检测器230包括光接收器,用于采集环境光线强度的传感器,可以通过采集环境光可以自适应性显示参数变化等。In some embodiments, the detector 230 includes a light receiver, a sensor for collecting ambient light intensity, and can adaptively display parameter changes and the like by collecting ambient light.
在一些实施例中,检测器230还可以包括图像采集器,如相机、摄像头等,可以用于采集外部环境场景,以及用于采集用户的属性或与用户交互手势,可以自适应变化显示参数,也可以识别用户手势,以实现与用户之间互动的功能。In some embodiments, the detector 230 may also include an image collector, such as a camera, a camera, etc., which can be used to collect external environment scenes, and used to collect user attributes or interactive gestures with the user, and can adaptively change display parameters, User gestures can also be recognized to implement functions that interact with users.
在一些实施例中,检测器230还可以包括温度传感器等,如通过感测环境温度。In some embodiments, detector 230 may also include a temperature sensor or the like, such as by sensing ambient temperature.
在一些实施例中,显示设备200可自适应调整图像的显示色温。如当温度偏高的环境时,可调整显示设备200显示图像色温偏冷色调,或当温度偏低的环境时,可以调整显示设备200显示图像偏暖色调。In some embodiments, the display device 200 can adaptively adjust the display color temperature of the image. For example, when the temperature is relatively high, the display device 200 can be adjusted to display a relatively cool color temperature of the image, or when the temperature is relatively low, the display device 200 can be adjusted to display a warmer color of the image.
在一些实施例中,检测器230还可声音采集器等,如麦克风,可以用于接收用户的声音。示例性的,包括用户控制显示设备200的控制指令的语音信号,或采集环境声音,用于识别环境场景类型,使得显示设备200可以自适应环境噪声。In some embodiments, the detector 230 may also be a sound collector or the like, such as a microphone, which may be used to receive the user's voice. Exemplarily, it includes a voice signal of a control instruction of the user to control the display device 200, or collects ambient sounds, and is used to identify the type of the ambient scene, so that the display device 200 can adapt to the ambient noise.
在一些实施例中,如图2所示,输入/输出接口(第一接口~第n接口255)被配置为,可进行控制器250与外部其他设备或其他控制器250之间的数据传输。如接收外部设备的视频信号数据和音频信号数据、或命令指令数据等。In some embodiments, as shown in FIG. 2 , the input/output interfaces (the first interface to the nth interface 255 ) are configured to enable data transmission between the controller 250 and other external devices or other controllers 250 . Such as receiving video signal data and audio signal data of external equipment, or command instruction data, etc.
在一些实施例中,外部装置接口240可以包括,但不限于如下:可以高清多媒体接口HDMI接口、模拟或数据高清分量输入接口、复合视频输入接口、USB输入接口、RGB端口等任一个或多个接口。也可以是上述多个接口形成复合性的输入/输出接口。In some embodiments, the external device interface 240 may include, but is not limited to, the following: any one or more of a high-definition multimedia interface HDMI interface, an analog or data high-definition component input interface, a composite video input interface, a USB input interface, an RGB port, etc. interface. It is also possible to form a composite input/output interface by a plurality of the above-mentioned interfaces.
在一些实施例中,如图2所示,调谐解调器210被配置为,通过有线或无线接收方式接收广播电视信号,可以进行放大、混频和谐振等调制解调处理,从多个无线或有线广播电视信号中解调出音视频信号,该音视频信号可以包括用户所选择电视频道频率中所携带的电视音视频信号,以及EPG数据信号。In some embodiments, as shown in FIG. 2 , the tuner and demodulator 210 is configured to receive broadcast television signals through wired or wireless reception, and can perform modulation and demodulation processing such as amplification, frequency mixing, and resonance, and can perform modulation and demodulation processing from multiple wireless receivers. Or demodulate the audio and video signal from the cable broadcast TV signal, the audio and video signal may include the TV audio and video signal carried in the frequency of the TV channel selected by the user, and the EPG data signal.
在一些实施例中,调谐解调器210解调的频点受到控制器250的控制,控制器250可根据用户选择发出控制信号,以使的调制解调器响应用户选择的电视信号频率以及调制解调该频率所携带的电视信号。In some embodiments, the frequency demodulated by the tuner-demodulator 210 is controlled by the controller 250, and the controller 250 can send a control signal according to the user's selection, so that the modem responds to the user-selected TV signal frequency and modulates and demodulates the frequency. The frequency carried by the television signal.
在一些实施例中,广播电视信号可根据电视信号广播制式不同区分为地面广播信号、有线广播信号、卫星广播信号或互联网广播信号等。或者根据调制类型不同可以区分为数字调制信号,模拟调制信号等。或者根据信号种类不同区分为数字信号、模拟信号等。In some embodiments, broadcast television signals may be classified into terrestrial broadcast signals, cable broadcast signals, satellite broadcast signals, or Internet broadcast signals, etc. according to different broadcast formats of the television signals. Or according to different modulation types, it can be divided into digital modulation signal, analog modulation signal, etc. Or, it can be divided into digital signals, analog signals, etc. according to different types of signals.
在一些实施例中,控制器250和调谐解调器210可以位于不同的分体设备中,即调谐解调器210也可在控制器250所在的主体设备的外置设备中,如外置机顶盒等。这样,机顶盒将接收到的广播电视信号调制解调后的电视音视 频信号输出给主体设备,主体设备经过第一输入/输出接口接收音视频信号。In some embodiments, the controller 250 and the tuner 210 may be located in different separate devices, that is, the tuner 210 may also be located in an external device of the main device where the controller 250 is located, such as an external set-top box Wait. In this way, the set-top box outputs the TV audio and video signals modulated and demodulated by the received broadcast TV signal to the main device, and the main device receives the audio and video signals through the first input/output interface.
在一些实施例中,控制器250,通过存储在存储器上中各种软件控制程序,来控制显示设备的工作和响应用户的操作。控制器250可以控制显示设备200的整体操作。例如:响应于接收到用于选择在显示器275上显示UI对象的用户命令,控制器250便可以执行与由用户命令选择的对象有关的操作。In some embodiments, the controller 250, through various software control programs stored on the memory, controls the operation of the display device and responds to user operations. The controller 250 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 275, the controller 250 may perform an operation related to the object selected by the user command.
在一些实施例中,所述对象可以是可选对象中的任何一个,例如超链接或图标。与所选择的对象有关操作,例如:显示连接到超链接页面、文档、图像等操作,或者执行与所述图标相对应程序的操作。用于选择UI对象用户命令,可以是通过连接到显示设备200的各种输入装置(例如,鼠标、键盘、触摸板等)输入命令或者与由用户说出语音相对应的语音命令。In some embodiments, the object may be any of the selectable objects, such as a hyperlink or an icon. Operations related to the selected object, such as displaying operations linked to hyperlinked pages, documents, images, etc., or executing operations corresponding to the icon. The user command for selecting the UI object may be an input command through various input devices (eg, a mouse, a keyboard, a touchpad, etc.) connected to the display device 200 or a voice command corresponding to a voice spoken by the user.
如图2所示,控制器250包括随机存取存储器251(Random Access Memory,RAM)、只读存储器252(Read-Only Memory,ROM)、视频处理器270、音频处理器280、其他处理器253(例如:图形处理器(Graphics Processing Unit,GPU)、中央处理器254(Central Processing Unit,CPU)、通信接口(Communication Interface),以及通信总线256(Bus)中的至少一种。其中,通信总线连接各个部件。As shown in FIG. 2 , the controller 250 includes a random access memory 251 (Random Access Memory, RAM), a read-only memory 252 (Read-Only Memory, ROM), a video processor 270, an audio processor 280, and other processors 253 (For example: at least one of graphics processing unit (Graphics Processing Unit, GPU), central processing unit 254 (Central Processing Unit, CPU), communication interface (Communication Interface), and communication bus 256 (Bus). Wherein, the communication bus Connect the parts.
在一些实施例中,RAM 251用于存储操作系统或其他正在运行中的程序的临时数据,In some embodiments, RAM 251 is used to store temporary data for the operating system or other running programs,
在一些实施例中,ROM 252用于存储各种系统启动的指令。In some embodiments, ROM 252 is used to store various system startup instructions.
在一些实施例中,ROM 252用于存储一个基本输入输出系统,称为基本输入输出系统(Basic Input Output System,BIOS)。用于完成对系统的加电自检、系统中各功能模块的初始化、系统的基本输入/输出的驱动程序及引导操作系统。In some embodiments, ROM 252 is used to store a basic input output system, called a Basic Input Output System (BIOS). It is used to complete the power-on self-check of the system, the initialization of each functional module in the system, the driver program of the basic input/output of the system, and the boot operating system.
在一些实施例中,在收到开机信号时,显示设备200电源开始启动,CPU运行ROM 252中系统启动指令,将存储在存储器的操作系统的临时数据拷贝至RAM 251中,以便于启动或运行操作系统。当操作系统启动完成后,CPU再将存储器中各种应用程序的临时数据拷贝至RAM 251中,然后,以便于启动或运行各种应用程序。In some embodiments, when the power-on signal is received, the power supply of the display device 200 starts to start, and the CPU executes the system start-up instruction in the ROM 252, and copies the temporary data of the operating system stored in the memory to the RAM 251, so as to facilitate startup or operation operating system. After the startup of the operating system is completed, the CPU copies the temporary data of various application programs in the memory to the RAM 251, so as to facilitate starting or running various application programs.
在一些实施例中,CPU处理器254,用于执行存储在存储器中操作系统和应用程序指令。以及根据接收外部输入的各种交互指令,来执行各种应用程序、数据和内容,以便最终显示和播放各种音视频内容。In some embodiments, the CPU processor 254 executes operating system and application program instructions stored in memory. And various application programs, data and content are executed according to various interactive instructions received from the external input, so as to finally display and play various audio and video content.
在一些示例性实施例中,CPU处理器254,可以包括多个处理器。多个处理器可包括一个主处理器以及一个或多个子处理器。主处理器,用于在预加电模式中执行显示设备200一些操作,和/或在正常模式下显示画面的操作。一个或多个子处理器,用于在待机模式等状态下一种操作。In some exemplary embodiments, CPU processor 254 may include multiple processors. The plurality of processors may include a main processor and one or more sub-processors. The main processor is used to perform some operations of the display device 200 in the pre-power-on mode, and/or an operation of displaying a picture in the normal mode. One or more sub-processors for an operation in a state such as standby mode.
在一些实施例中,图形处理器253,用于产生各种图形对象,如:图标、 操作菜单、以及用户输入指令显示图形等。包括运算器,通过接收用户输入各种交互指令进行运算,根据显示属性显示各种对象。以及包括渲染器,对基于运算器得到的各种对象,进行渲染,上述渲染后的对象用于显示在显示器上。In some embodiments, the graphics processor 253 is used to generate various graphic objects, such as: icons, operation menus, and user input instructions to display graphics and the like. It includes an operator, which performs operations by receiving various interactive instructions input by the user, and displays various objects according to the display properties. and includes a renderer, which renders various objects obtained based on the operator, and the rendered objects are used for displaying on a display.
在一些实施例中,视频处理器270被配置为将接收外部视频信号,根据输入信号的标准编解码协议,进行解压缩、解码、缩放、降噪、帧率转换、分辨率转换、图像合成等等视频处理,可得到直接可显示设备200上显示或播放的信号。In some embodiments, the video processor 270 is configured to receive the external video signal and perform decompression, decoding, scaling, noise reduction, frame rate conversion, resolution conversion, image synthesis, etc. according to the standard codec protocol of the input signal. After video processing, a signal that can be directly displayed or played on the display device 200 can be obtained.
在一些实施例中,视频处理器270,包括解复用模块、视频解码模块、图像合成模块、帧率转换模块、显示格式化模块等。In some embodiments, the video processor 270 includes a demultiplexing module, a video decoding module, an image synthesis module, a frame rate conversion module, a display formatting module, and the like.
其中,解复用模块,用于对输入音视频数据流进行解复用处理,如输入MPEG-2,则解复用模块进行解复用成视频信号和音频信号等。Wherein, the demultiplexing module is used for demultiplexing the input audio and video data stream. For example, if MPEG-2 is input, the demultiplexing module demultiplexes it into video signals and audio signals.
视频解码模块,则用于对解复用后的视频信号进行处理,包括解码和缩放处理等。The video decoding module is used to process the demultiplexed video signal, including decoding and scaling.
图像合成模块,如图像合成器,其用于将图形生成器根据用户输入或自身生成的GUI信号,与缩放处理后视频图像进行叠加混合处理,以生成可供显示的图像信号。The image synthesizing module, such as an image synthesizer, is used for superimposing and mixing the GUI signal generated by the graphics generator according to the user's input or itself, and the zoomed video image, so as to generate an image signal that can be displayed.
帧率转换模块,用于对转换输入视频帧率,如将60Hz帧率转换为120Hz帧率或240Hz帧率,通常的格式采用如插帧方式实现。The frame rate conversion module is used to convert the input video frame rate, such as converting 60Hz frame rate to 120Hz frame rate or 240Hz frame rate. The usual format is implemented by means of frame insertion.
显示格式化模块,则用于将接收帧率转换后视频输出信号,改变信号以符合显示格式的信号,如输出RGB数据信号。The display formatting module is used for converting the received frame rate into the video output signal, and changing the signal to conform to the display format signal, such as outputting the RGB data signal.
在一些实施例中,图形处理器253可以和视频处理器可以集成设置,也可以分开设置,集成设置的时候可以执行输出给显示器的图形信号的处理,分离设置的时候可以分别执行不同的功能,例如GPU+FRC(Frame Rate Conversion))架构。In some embodiments, the graphics processor 253 may be integrated with the video processor, or may be separately configured. When the integrated setting is performed, the processing of the graphics signal output to the display may be performed. When the separate setting is performed, different functions may be performed respectively. For example, GPU+FRC (Frame Rate Conversion)) architecture.
在一些实施例中,音频处理器280,用于接收外部的音频信号,根据输入信号的标准编解码协议,进行解压缩和解码,以及降噪、数模转换、和放大处理等处理,得到可以在扬声器中播放的声音信号。In some embodiments, the audio processor 280 is configured to receive an external audio signal, perform decompression and decoding, and noise reduction, digital-to-analog conversion, and amplification processing according to a standard codec protocol of the input signal to obtain a The sound signal played in the speaker.
在一些实施例中,视频处理器270可以包括一颗或多颗芯片组成。音频处理器,也可以包括一颗或多颗芯片组成。In some embodiments, the video processor 270 may comprise one or more chips. The audio processor may also include one or more chips.
在一些实施例中,视频处理器270和音频处理器280,可以单独的芯片,也可以于控制器一起集成在一颗或多颗芯片中。In some embodiments, the video processor 270 and the audio processor 280 may be separate chips, or may be integrated into one or more chips together with the controller.
在一些实施例中,音频输出,在控制器250的控制下接收音频处理器280输出的声音信号,如:扬声器286,以及除了显示设备200自身携带的扬声器之外,可以输出至外接设备的发生装置的外接音响输出端子,如:外接音响接口或耳机接口等,还可以包括通信接口中的近距离通信模块,例如:用于 进行蓝牙扬声器声音输出的蓝牙模块。In some embodiments, the audio output, under the control of the controller 250, receives the sound signal output by the audio processor 280, such as the speaker 286, and in addition to the speaker carried by the display device 200 itself, can be output to an external device. The external audio output terminal of the device, such as an external audio interface or an earphone interface, etc., may also include a short-range communication module in the communication interface, such as a Bluetooth module for outputting sound from a Bluetooth speaker.
供电电源290,在控制器250控制下,将外部电源输入的电力为显示设备200提供电源供电支持。供电电源290可以包括安装显示设备200内部的内置电源电路,也可以是安装在显示设备200外部电源,在显示设备200中提供外接电源的电源接口。The power supply 290, under the control of the controller 250, provides power supply support for the display device 200 with the power input from the external power supply. The power supply 290 may include a built-in power supply circuit installed inside the display device 200 , or may be an external power supply installed in the display device 200 to provide an external power supply interface in the display device 200 .
用户接口265,用于接收用户的输入信号,然后,将接收用户输入信号发送给控制器250。用户输入信号可以是通过红外接收器接收的遥控器信号,可以通过网络通信模块接收各种用户控制信号。The user interface 265 is used for receiving user input signals, and then sending the received user input signals to the controller 250 . The user input signal may be a remote control signal received through an infrared receiver, and various user control signals may be received through a network communication module.
在一些实施例中,用户通过控制装置100或移动终端300输入用户命令,用户输入接口则根据用户的输入,显示设备200则通过控制器250响应用户的输入。In some embodiments, the user inputs user commands through the control device 100 or the mobile terminal 300 , the user input interface is based on the user's input, and the display device 200 responds to the user's input through the controller 250 .
在一些实施例中,用户可在显示器275上显示的图形用户界面(GUI)输入用户命令,则用户输入接口通过图形用户界面(GUI)接收用户输入命令。或者,用户可通过输入特定的声音或手势进行输入用户命令,则用户输入接口通过传感器识别出声音或手势,来接收用户输入命令。In some embodiments, the user may input user commands on a graphical user interface (GUI) displayed on the display 275, and the user input interface receives the user input commands 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 recognizes the sound or gesture through a sensor to receive the user input command.
在一些实施例中,“用户界面”,是应用程序或操作系统与用户之间进行交互和信息交换的介质接口,它实现信息的内部形式与用户可以接受形式之间的转换。用户界面常用的表现形式是图形用户界面(Graphic User Interface,GUI),是指采用图形方式显示的与计算机操作相关的用户界面。它可以是在电子设备的显示屏中显示的一个图标、窗口、控件等界面元素,其中控件可以包括图标、按钮、菜单、选项卡、文本框、对话框、状态栏、导航栏、Widget等可视的界面元素。In some embodiments, a "user interface" is a medium interface for interaction and information exchange between an application program or an operating system and a user, which enables conversion between an internal form of information and a form acceptable to the user. The commonly used form of user interface is Graphical User Interface (GUI), which refers to a user interface related to computer operations displayed in a graphical manner. It can be an icon, window, control and other interface elements displayed on the display screen of the electronic device, wherein the control can include icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, Widgets, etc. visual interface elements.
存储器260,包括存储用于驱动显示设备200的各种软件模块。如:第一存储器中存储的各种软件模块,包括:基础模块、检测模块、通信模块、显示控制模块、浏览器模块、和各种服务模块等中的至少一种。The memory 260 includes storing various software modules for driving the display device 200 . For example, various software modules stored in the first memory include at least one of a basic module, a detection module, a communication module, a display control module, a browser module, and various service modules.
基础模块用于显示设备200中各个硬件之间信号通信、并向上层模块发送处理和控制信号的底层软件模块。检测模块用于从各种传感器或用户输入接口中收集各种信息,并进行数模转换以及分析管理的管理模块。The basic module is used for signal communication between various hardwares in the display device 200, and is a low-level software module that sends processing and control signals to the upper-layer module. The detection module is a management module used to collect various information from various sensors or user input interfaces, perform digital-to-analog conversion, and analyze and manage.
例如,语音识别模块中包括语音解析模块和语音指令数据库模块。显示控制模块用于控制显示器进行显示图像内容的模块,可以用于播放多媒体图像内容和UI界面等信息。通信模块,用于与外部设备之间进行控制和数据通信的模块。浏览器模块,用于执行浏览服务器之间数据通信的模块。服务模块,用于提供各种服务以及各类应用程序在内的模块。同时,存储器260还用存储接收外部数据和用户数据、各种用户界面中各个项目的图像以及焦点对象的视觉效果图等。For example, the speech recognition module includes a speech parsing module and a speech instruction database module. The display control module is a module used to control the display to display image content, and can be used to play information such as multimedia image content and UI interface. Communication module, a module for control and data communication with external devices. The browser module is a module for performing data communication between browsing servers. Service modules are used to provide various services and modules including various applications. At the same time, the memory 260 is also used to store and receive external data and user data, images of various items in various user interfaces, and visual effect diagrams of focus objects, and the like.
图3示例性示出了根据示例性实施例中控制设备100的配置框图。如图3所 示,控制设备100包括控制器110、通信接口130、用户输入/输出接口、存储器、供电电源。FIG. 3 exemplarily shows a block diagram of the configuration of the control device 100 according to an exemplary embodiment. As shown in FIG. 3, the control device 100 includes a controller 110, a communication interface 130, a user input/output interface, a memory, and a power supply.
控制设备100被配置为控制显示设备200,以及可接收用户的输入操作指令,且将操作指令转换为显示设备200可识别和响应的指令,起用用户与显示设备200之间交互中介作用。如:用户通过操作控制设备100上频道加减键,显示设备200响应频道加减的操作。The control device 100 is configured to control the display device 200 , and can receive the user's input operation instructions, and convert the operation instructions into instructions that the display device 200 can recognize and respond to, and play an intermediary role between the user and the display device 200 . For example, the user operates the channel addition and subtraction keys on the control device 100, and the display device 200 responds to the channel addition and subtraction operations.
在一些实施例中,控制设备100可是一种智能设备。如:控制设备100可根据用户需求安装控制显示设备200的各种应用。In some embodiments, the control device 100 may be a smart device. For example, the control device 100 may install various applications for controlling the display device 200 according to user requirements.
在一些实施例中,如图1所示,移动终端300或其他智能电子设备,可在安装操控显示设备200的应用之后,可以起到控制设备100类似功能。如:用户可以通过安装应用,在移动终端300或其他智能电子设备上可提供的图形用户界面的各种功能键或虚拟按钮,以实现控制设备100实体按键的功能。In some embodiments, as shown in FIG. 1 , the mobile terminal 300 or other intelligent electronic device can perform a similar function of controlling the device 100 after installing an application for operating the display device 200 . For example, the user can install the application, various function keys or virtual buttons of the graphical user interface provided on the mobile terminal 300 or other intelligent electronic devices, so as to realize the function of controlling the physical keys of the device 100 .
控制器110包括处理器112和RAM 113和ROM 114、通信接口130以及通信总线。控制器用于控制控制设备100的运行和操作,以及内部各部件之间通信协作以及外部和内部的数据处理功能。The controller 110 includes a processor 112 and RAM 113 and ROM 114, a communication interface 130, and a communication bus. The controller is used to control the operation and operation of the control device 100, as well as the communication and cooperation among the internal components and the external and internal data processing functions.
通信接口130在控制器110的控制下,实现与显示设备200之间控制信号和数据信号的通信。如:将接收到的用户输入信号发送至显示设备200上。通信接口130可包括WiFi芯片131、蓝牙模块132、NFC模块133等其他近场通信模块中至少之一种。The communication interface 130 realizes the communication of control signals and data signals with the display device 200 under the control of the controller 110 . For example, the received user input signal is sent to the display device 200 . The communication interface 130 may include at least one of other near field communication modules such as a WiFi chip 131 , a Bluetooth module 132 , and an NFC module 133 .
用户输入/输出接口140,其中,输入接口包括麦克风141、触摸板142、传感器143、按键144等其他输入接口中至少一者。如:用户可以通过语音、触摸、手势、按压等动作实现用户指令输入功能,输入接口通过将接收的模拟信号转换为数字信号,以及数字信号转换为相应指令信号,发送至显示设备200。The user input/output interface 140, wherein the input interface includes at least one of other input interfaces such as a microphone 141, a touch panel 142, a sensor 143, and a key 144. For example, the user can implement the user command input function through actions such as voice, touch, gesture, pressing, etc. The input interface converts the received analog signal into a digital signal, and converts the digital signal into a corresponding command signal, and sends it to the display device 200.
输出接口包括将接收的用户指令发送至显示设备200的接口。在一些实施例中,可以红外接口,也可以是射频接口。如:红外信号接口时,需要将用户输入指令按照红外控制协议转化为红外控制信号,经红外发送模块进行发送至显示设备200。再如:射频信号接口时,需将用户输入指令转化为数字信号,然后按照射频控制信号调制协议进行调制后,由射频发送端子发送至显示设备200。The output interface includes an interface for transmitting received user instructions to the display device 200 . In some embodiments, it can be an infrared interface or a radio frequency interface. For example, when the infrared signal interface is used, the user input instruction needs to be converted into an infrared control signal according to the infrared control protocol, and sent to the display device 200 through the infrared sending module. For another example, when a radio frequency signal interface is used, the user input command needs to be converted into a digital signal, and then modulated according to the radio frequency control signal modulation protocol, and then sent to the display device 200 by the radio frequency transmission terminal.
在一些实施例中,控制设备100包括通信接口130和输入输出接口140中至少一者。控制设备100中配置通信接口130,如:WiFi、蓝牙、NFC等模块,可将用户输入指令通过WiFi协议、或蓝牙协议、或NFC协议编码,发送至显示设备200.In some embodiments, the control device 100 includes at least one of a communication interface 130 and an input-output interface 140 . The communication interface 130 is configured in the control device 100, such as: WiFi, Bluetooth, NFC and other modules, which can send user input instructions to the display device 200 through WiFi protocol, or Bluetooth protocol, or NFC protocol encoding.
存储器190,用于在控制器的控制下存储驱动和控制控制设备200的各种运行程序、数据和应用。存储器190,可以存储用户输入的各类控制信号指令。The memory 190 is used to store various operating programs, data and applications for driving and controlling the control device 200 under the control of the controller. The memory 190 can store various control signal instructions input by the user.
供电电源180,用于在控制器的控制下为控制设备100各元件提供运行电力支持。可以电池及相关控制电路。The power supply 180 is used to provide operating power support for each element of the control device 100 under the control of the controller. Can battery and related control circuit.
在一些实施例中,系统可以包括内核(Kernel)、命令解析器(shell)、文件系统和应用程序。内核、shell和文件系统一起组成了基本的操作系统结构,它们让用户可以管理文件、运行程序并使用系统。上电后,内核启动,激活内核空间,抽象硬件、初始化硬件参数等,运行并维护虚拟内存、调度器、信号及进程间通信(IPC)。内核启动后,再加载Shell和用户应用程序。应用程序在启动后被编译成机器码,形成一个进程。In some embodiments, a system may include a kernel (Kernel), a command parser (shell), a file system, and applications. Together, the kernel, shell, and file system make up the basic operating system structures that allow users to manage files, run programs, and use the system. After power-on, the kernel starts, activates the kernel space, abstracts hardware, initializes hardware parameters, etc., runs and maintains virtual memory, scheduler, signals and inter-process communication (IPC). After the kernel starts, the shell and user applications are loaded. An application is compiled into machine code after startup, forming a process.
参见图4,在一些实施例中,将系统分为四层,从上至下分别为应用程序(Applications)层(简称“应用层”),应用程序框架(Application Framework)层(简称“框架层”),安卓运行时(Android runtime)和系统库层(简称“系统运行库层”),以及内核层。Referring to FIG. 4 , in some embodiments, the system is divided into four layers, from top to bottom, they are an application layer (referred to as “application layer”), an application framework layer (referred to as “framework layer”) ”), the Android runtime and the system library layer (referred to as the “system runtime layer”), and the kernel layer.
在一些实施例中,应用程序层中运行有至少一个应用程序,这些应用程序可以是操作系统自带的窗口(Window)程序、系统设置程序、时钟程序、相机应用等;也可以是第三方开发者所开发的应用程序,比如嗨见程序、K歌程序、魔镜程序等。在具体实施时,应用程序层中的应用程序包不限于以上举例,实际还可以包括其它应用程序包,本申请实施例对此不做限制。In some embodiments, at least one application program runs in the application program layer, and these application programs may be a Window program, a system setting program, a clock program, a camera application, etc. built into the operating system; they may also be developed by a third party The application programs developed by the author, such as the Hijian program, the K song program, the magic mirror program, etc. During specific implementation, the application package in the application layer is not limited to the above examples, and may actually include other application packages, which is not limited in this embodiment of the present application.
框架层为应用程序层的应用程序提供应用编程接口(application programming interface,API)和编程框架。应用程序框架层包括一些预先定义的函数。应用程序框架层相当于一个处理中心,这个中心决定让应用层中的应用程序做出动作。应用程序通过API接口,可在执行中访问系统中的资源和取得系统的服务。The framework layer provides an application programming interface (API) and a programming framework for applications in the application layer. The application framework layer includes some predefined functions. The application framework layer is equivalent to a processing center, which decides to let the applications in the application layer take action. The application program can access the resources in the system and obtain the services of the system during execution through the API interface.
如图4所示,本申请实施例中应用程序框架层包括管理器(Managers),内容提供者(Content Provider)等,其中管理器包括以下模块中的至少一个:活动管理器(Activity Manager)用与和系统中正在运行的所有活动进行交互;位置管理器(Location Manager)用于给系统服务或应用提供了系统位置服务的访问;文件包管理器(Package Manager)用于检索当前安装在设备上的应用程序包相关的各种信息;通知管理器(Notification Manager)用于控制通知消息的显示和清除;窗口管理器(Window Manager)用于管理用户界面上的括图标、窗口、工具栏、壁纸和桌面部件。As shown in FIG. 4 , the application framework layer in the embodiment of the present application includes managers (Managers), content providers (Content Provider), etc., wherein the manager includes at least one of the following modules: an activity manager (Activity Manager) uses Interacts with all activities running in the system; Location Manager is used to provide system services or applications with access to system location services; Package Manager is used to retrieve files currently installed on the device Various information related to the application package; Notification Manager (Notification Manager) is used to control the display and clearing of notification messages; Window Manager (Window Manager) is used to manage icons, windows, toolbars, wallpapers on the user interface and desktop widgets.
在一些实施例中,活动管理器用于:管理各个应用程序的生命周期以及通常的导航回退功能,比如控制应用程序的退出(包括将显示窗口中当前显示的用户界面切换到系统桌面)、打开、后退(包括将显示窗口中当前显示的用户界面切换到当前显示的用户界面的上一级用户界面)等。In some embodiments, the activity manager is used to: manage the life cycle of each application and the usual navigation and fallback functions, such as controlling the exit of the application (including switching the user interface currently displayed in the display window to the system desktop), opening the , back (including switching the currently displayed user interface in the display window to the upper-level user interface of the currently displayed user interface), and the like.
在一些实施例中,窗口管理器用于管理所有的窗口程序,比如获取显示屏大小,判断是否有状态栏,锁定屏幕,截取屏幕,控制显示窗口变化(例如 将显示窗口缩小显示、抖动显示、扭曲变形显示等)等。In some embodiments, the window manager is used to manage all window programs, such as obtaining the size of the display screen, judging whether there is a status bar, locking the screen, taking screenshots, and controlling the change of the display window (for example, reducing the display window to display, shaking display, twisting deformation display, etc.), etc.
在一些实施例中,系统运行库层为上层即框架层提供支撑,当框架层被使用时,安卓操作系统会运行系统运行库层中包含的C/C++库以实现框架层要实现的功能。In some embodiments, the system runtime layer provides support for the upper layer, that is, the framework layer. When the framework layer is used, the Android operating system will run the C/C++ library included in the system runtime layer to implement the functions to be implemented by the framework layer.
在一些实施例中,内核层是硬件和软件之间的层。如图4所示,内核层至少包含以下驱动中的至少一种:音频驱动、显示驱动、蓝牙驱动、摄像头驱动、WIFI驱动、USB驱动、HDMI驱动、传感器驱动(如指纹传感器,温度传感器,触摸传感器、压力传感器等)等。In some embodiments, the kernel layer is the layer between hardware and software. As shown in Figure 4, the kernel layer at least includes at least one of the following drivers: audio driver, display driver, Bluetooth driver, camera driver, WIFI driver, USB driver, HDMI driver, sensor driver (such as fingerprint sensor, temperature sensor, touch sensors, pressure sensors, etc.), etc.
在一些实施例中,内核层还包括用于进行电源管理的电源驱动模块。In some embodiments, the kernel layer further includes a power driver module for power management.
在一些实施例中,图4中的软件架构对应的软件程序和/或模块存储在图2或图3所示的第一存储器或第二存储器中。In some embodiments, software programs and/or modules corresponding to the software architecture in FIG. 4 are stored in the first memory or the second memory shown in FIG. 2 or FIG. 3 .
在一些实施例中,以魔镜应用(拍照应用)为例,当遥控接收装置接收到遥控器输入操作,相应的硬件中断被发给内核层。内核层将输入操作加工成原始输入事件(包括输入操作的值,输入操作的时间戳等信息)。原始输入事件被存储在内核层。应用程序框架层从内核层获取原始输入事件,根据焦点当前的位置识别该输入事件所对应的控件以及以该输入操作是确认操作,该确认操作所对应的控件为魔镜应用图标的控件,魔镜应用调用应用框架层的接口,启动魔镜应用,进而通过调用内核层启动摄像头驱动,实现通过摄像头捕获静态图像或视频。In some embodiments, taking the magic mirror application (photography application) as an example, when the remote control receiving device receives the input operation of the remote control, the corresponding hardware interrupt is sent to the kernel layer. The kernel layer processes the input operation into the original input event (including the value of the input operation, the timestamp of the input operation and other information). Raw input events are stored at the kernel layer. The application framework layer obtains the original input event from the kernel layer, identifies the control corresponding to the input event according to the current position of the focus, and regards the input operation as a confirmation operation, and the control corresponding to the confirmation operation is the control of the magic mirror application icon. The mirror application calls the interface of the application framework layer, starts the mirror application, and then starts the camera driver by calling the kernel layer to capture still images or videos through the camera.
在一些实施例中,对于具备触控功能的显示设备,以分屏操作为例,显示设备接收用户作用于显示屏上的输入操作(如分屏操作),内核层可以根据输入操作产生相应的输入事件,并向应用程序框架层上报该事件。由应用程序框架层的活动管理器设置与该输入操作对应的窗口模式(如多窗口模式)以及窗口位置和大小等。应用程序框架层的窗口管理根据活动管理器的设置绘制窗口,然后将绘制的窗口数据发送给内核层的显示驱动,由显示驱动在显示屏的不同显示区域显示与之对应的应用界面。In some embodiments, for a display device with a touch function, taking a split-screen operation as an example, the display device receives an input operation (such as a split-screen operation) performed by the user on the display screen, and the kernel layer can generate corresponding input operations according to the input operation. Enter an event and report the event to the application framework layer. The window mode (such as multi-window mode) and window position and size corresponding to the input operation are set by the activity manager of the application framework layer. The window management of the application framework layer draws the window according to the settings of the activity manager, and then sends the drawn window data to the display driver of the kernel layer, and the display driver displays the corresponding application interface in different display areas of the display screen.
在一些实施例中,如图5中所示,应用程序层包含至少一个应用程序可以在显示器中显示对应的图标控件,如:直播电视应用程序图标控件、视频点播应用程序图标控件、媒体中心应用程序图标控件、应用程序中心图标控件、游戏应用图标控件等。In some embodiments, as shown in FIG. 5, the application layer contains at least one application that can display corresponding icon controls in the display, such as: live TV application icon control, video on demand application icon control, media center application Program icon controls, application center icon controls, game application icon controls, etc.
在一些实施例中,直播电视应用程序,可以通过不同的信号源提供直播电视。例如,直播电视应用程可以使用来自有线电视、无线广播、卫星服务或其他类型的直播电视服务的输入提供电视信号。以及,直播电视应用程序可在显示设备200上显示直播电视信号的视频。In some embodiments, the live TV application may provide live TV from different sources. For example, a live TV application may provide a TV signal using input from cable, over-the-air, satellite services, or other types of live TV services. And, the live TV application may display the video of the live TV signal on the display device 200 .
在一些实施例中,视频点播应用程序,可以提供来自不同存储源的视频。不同于直播电视应用程序,视频点播提供来自某些存储源的视频显示。例如, 视频点播可以来自云存储的服务器端、来自包含已存视频节目的本地硬盘储存器。In some embodiments, a video-on-demand application may provide video from various storage sources. Unlike live TV applications, video-on-demand provides a display of video from certain storage sources. For example, video-on-demand can come from a server-side cloud storage, from a local hard disk storage containing existing video programs.
在一些实施例中,媒体中心应用程序,可以提供各种多媒体内容播放的应用程序。例如,媒体中心,可以为不同于直播电视或视频点播,用户可通过媒体中心应用程序访问各种图像或音频所提供服务。In some embodiments, the media center application may provide various multimedia content playback applications. For example, a media center may provide services other than live TV or video-on-demand, where users can access various images or audio through a media center application.
在一些实施例中,应用程序中心,可以提供储存各种应用程序。应用程序可以是一种游戏、应用程序,或某些和计算机系统或其他设备相关但可以在智能电视中运行的其他应用程序。应用程序中心可从不同来源获得这些应用程序,将它们储存在本地储存器中,然后在显示设备200上可运行。In some embodiments, the application center may provide storage of various applications. An application can be a game, an application, or some other application that is related to a computer system or other device but can be run on a Smart TV. The application center can obtain these applications from various sources, store them in local storage, and then run them on the display device 200 .
摄像头所处的角度,如其在竖直方向上的俯仰角度或者其在水平方向上相对于显示设备正前方的角度,关乎摄像头的视场范围。云台是安装和固定摄像头的支撑装置,分为固定云台和电动云台,其中,电动云台适用于大范围扫描拍摄,它可以扩大摄像头的视场范围。将显示设备的摄像头安装在电动云台上,并利用显示设备控制器对电动云台进行控制,可以使摄像头在多个角度下进行拍摄。电动云台可以是只能左右旋转的水平旋转云台,也可以是既能左右旋转又能上下旋转的全方位云台。一般,全方位云台内安装两个电动机,分别用于驱动云台在水平方向和垂直方向上旋转,以改变摄像头所处的角度。The angle at which the camera is located, such as its tilt angle in the vertical direction or its angle in the horizontal direction relative to the front of the display device, is related to the field of view of the camera. The gimbal is a supporting device for installing and fixing the camera. It is divided into fixed gimbal and electric gimbal. Among them, the electric gimbal is suitable for large-scale scanning and shooting, and it can expand the field of view of the camera. The camera of the display device is installed on the electric pan/tilt, and the display device controller is used to control the electric pan/tilt, so that the camera can shoot at multiple angles. The electric gimbal can be a horizontal rotating gimbal that can only rotate left and right, or an omnidirectional gimbal that can rotate left and right as well as up and down. Generally, two motors are installed in the omnidirectional pan/tilt head, which are used to drive the pan/tilt head to rotate in the horizontal direction and the vertical direction respectively, so as to change the angle of the camera.
摄像头在水平方向和/或垂直方向可旋转的极限角度,可以由用户根据需求设置。示例性的,摄像头在水平方向上的可旋转角度范围可以为0°~120°,其中,0°和120°分别为在水平方向上的两个旋转方向(向左和向右)对应的极限角度;摄像头在垂直方向上的可旋转角度可以为0°~180°,其中,0°和180°分别为在垂直方向上的两个旋转方向(向上和向下)对应的极限角度。The limit angle that the camera can rotate in the horizontal direction and/or the vertical direction can be set by the user according to the needs. Exemplarily, the rotatable angle of the camera in the horizontal direction may range from 0° to 120°, where 0° and 120° are the corresponding limits of the two rotation directions (leftward and rightward) in the horizontal direction, respectively. Angle; the rotatable angle of the camera in the vertical direction can be from 0° to 180°, where 0° and 180° are respectively the limit angles corresponding to the two rotation directions (up and down) in the vertical direction.
图6至图11为本申请示例性示出的摄像头所处角度示意图,其中,图6示例性示出了摄像头在垂直方向上的俯仰角度为0°时的状态,图7示例性示出了摄像头在垂直方向上的俯仰角度为90°时的状态,图8示例性示出了摄像头在垂直方向上的俯仰角度为105°时的状态,图9示例性示出了摄像头在水平方向上的水平角度为0°时的状态,图10示例性示出了摄像头在水平方向上的水平角度为60°时的状态,图11示例性示出了摄像头在水平方向上的水平角度为120°时的状态。Fig. 6 to Fig. 11 are schematic diagrams of the angle of the camera exemplarily shown in the application, wherein Fig. 6 exemplarily shows the state when the tilt angle of the camera in the vertical direction is 0°, and Fig. 7 exemplarily shows The state when the tilt angle of the camera in the vertical direction is 90°, FIG. 8 exemplarily shows the state when the tilt angle of the camera in the vertical direction is 105°, and FIG. 9 exemplarily shows the state of the camera in the horizontal direction. The state when the horizontal angle is 0°, Fig. 10 exemplarily shows the state when the horizontal angle of the camera in the horizontal direction is 60°, and Fig. 11 exemplarily shows the state when the horizontal angle of the camera in the horizontal direction is 120° status.
在一些实施例中,用户可以通过操作控制装置上的指定按键来控制云台旋转,以调整摄像头所处的角度。例如,用户可以通过操作控制装置上的“向左”和“向右”的方向键,以输入用于控制云台向左和向右旋转的用户操作,再如,用户可以通过操作控制装置上的“向下”和“向上”的方向键,以输入用于控制云台向下和向上旋转的用户操作。当显示设备接收到如前所述的 用于调整摄像头角度的用户操作后,响应于接收到的用户操作,控制云台内的电机转动以驱动云台向用户操作所指示的目标调整方向旋转。In some embodiments, the user can control the rotation of the PTZ by operating a designated button on the control device to adjust the angle at which the camera is located. For example, the user can input user operations for controlling the left and right rotation of the PTZ by operating the "left" and "right" direction keys on the control device. "Down" and "Up" arrow keys to input user actions for controlling the down and up rotation of the gimbal. When the display device receives the aforementioned user operation for adjusting the camera angle, in response to the received user operation, the motor in the PTZ is controlled to rotate to drive the PTZ to rotate in the target adjustment direction indicated by the user operation.
在一些实施例中,根据用户对上述指定按键的操作方式的不同,控制器执行不同的处理来调整摄像头的角度。In some embodiments, the controller performs different processing to adjust the angle of the camera according to different operation modes of the user on the above-mentioned designated keys.
以遥控器上用于调整摄像头角度的实体指定按键为例,当用户以第一操作方式操作指定按键时,控制器响应于接收到的用户操作,根据用户所操作的按键所指示的目标调整方向,控制摄像头在当前角度基础上向目标调整方向做增量调整。例如,如果用户所操作的按键所指示的目标调整方向为“向右”,且在接收到用户操作时,摄像头所处的角度是15°,则在15°的基础上向右调整10°,即调整到25°。其中,第一操作方式可以是用户对指定按键的短按操作。用户可以连续执行短按操作,以使控制器控制摄像头向目标调整方向做连续的增量调整。Taking the physical designated key on the remote control for adjusting the camera angle as an example, when the user operates the designated key in the first operation mode, the controller adjusts the direction according to the target indicated by the key operated by the user in response to the received user operation. , control the camera to make incremental adjustments to the target adjustment direction based on the current angle. For example, if the target adjustment direction indicated by the key operated by the user is "right", and the angle of the camera is 15° when the user's operation is received, then adjust 10° to the right on the basis of 15°, That is, adjust to 25°. The first operation mode may be a user's short-pressing operation on a designated key. The user can perform a short press operation continuously, so that the controller controls the camera to make continuous incremental adjustments to the target adjustment direction.
当用户以第二操作方式操作指定按键时,控制器响应于接收到的用户操作,根据用户所操作的按键所指示的目标调整方向,将摄像头调整到该目标调整方向对应的极限角度。例如,如果用户所操作的按键所指示的目标调整方向为“向右”且“向右”对应的极限角度是120°,则向右调整摄像头的角度直到达到120°。其中,第二操作方式可以是用户对指定按键的长按操作。与通过短按操作调节摄像头角度的处理逻辑不同,用户执行一次长按操作即可将摄像头的角度一次性调整到某一方向对应的极限角度。When the user operates the designated button in the second operation mode, the controller adjusts the camera to the limit angle corresponding to the target adjustment direction according to the target adjustment direction indicated by the user's operation button in response to the received user operation. For example, if the target adjustment direction indicated by the key operated by the user is "right" and the limit angle corresponding to "right" is 120°, the angle of the camera is adjusted to the right until it reaches 120°. The second operation mode may be a user's long-pressing operation on a designated key. Different from the processing logic of adjusting the camera angle through a short press operation, the user can perform a long press operation to adjust the camera angle to the limit angle corresponding to a certain direction at one time.
在上述用户对指定按键执行连续的短按操作的实现场景中,由于控制器每接收到一次短按操作时,都是在摄像头的当前角度基础上做增量调整,因此会出现角度调整不到位的问题。例如,如果用户连续两次短按“向右”的方向键,当控制器接收到第一次短按操作且在接收到第一次短按操作时摄像头所处的角度是15°,响应于该第一次短按操作,控制器将控制摄像头在当前15°的基础上向右旋转10°,即调整到25°,当控制器接收到第二短按操作且在接收到第二次短按操作时摄像头所处的角度是18°,即并未达到25°,响应于该第二次短按操作,控制器将控制摄像头在当前18°的基础上向右旋转10°,即调整到28°,而不是35°,从而出现角度调整不到位的问题。In the above-mentioned implementation scenario where the user performs continuous short-pressing operations on the designated buttons, since the controller makes incremental adjustments based on the current angle of the camera every time the controller receives a short-pressing operation, the angle adjustment may not be in place. The problem. For example, if the user presses the "right" direction key twice in a row, when the controller receives the first short press operation and the angle of the camera is 15° when the first short press operation is received, the response The first short press operation, the controller will control the camera to rotate 10° to the right on the basis of the current 15°, that is, adjust to 25°, when the controller receives the second short press operation and after receiving the second short press The angle the camera is in is 18° when pressing the operation, that is, it has not reached 25°. In response to the second short press operation, the controller will control the camera to rotate 10° to the right on the basis of the current 18°, that is, adjust to 28° instead of 35°, resulting in the problem of not properly adjusting the angle.
为解决上述问题,本申请实施例中,显示设备的控制器被配置为:接收用于调整摄像头角度的用户操作,用户操作携带用于指示目标调整方向和用于指示操作方式的标识;若标识指示的操作方式是第一操作方式,则根据目标调整方向和保存的起始角度确定目标角度,并调整摄像头的角度到目标角度,其中,保存的起始角度为上一次确定的目标角度或者上一次终止调整时摄像头所处的角度;若标识指示的操作方式是第二操作方式,则调整摄像头的角度到目标调整方向对应的极限角度。In order to solve the above problems, in this embodiment of the present application, the controller of the display device is configured to: receive a user operation for adjusting the angle of the camera, and the user operation carries a mark used to indicate the target adjustment direction and the operation mode; The indicated operation mode is the first operation mode, then the target angle is determined according to the target adjustment direction and the saved starting angle, and the angle of the camera is adjusted to the target angle, wherein the saved starting angle is the last determined target angle or the upper The angle of the camera when the adjustment is terminated once; if the operation mode indicated by the flag is the second operation mode, adjust the angle of the camera to the limit angle corresponding to the target adjustment direction.
在上述实施例中,第一操作方式可以是用户对指定按键的短按操作,第 二操作方式可以是用户对指定按键的长按操作,指定按键是指控制装置(如遥控器)上用于调整摄像头角度的按键。当用户短按或者长按遥控器上的指定按键时,遥控器发送用户的操作信息给显示设备,操作信息中包含用于指示目标调整方向的标识和用于指示操作方式的标识。其中,用于指示目标调整方向的标识可以为按键编码,用于指示操作方式的标识可以是count值。例如,当操作信息中的count值为0时,指示该操作为短按操作,当操作信息中的count值大于0时,这是该操作为长按操作。In the above-mentioned embodiment, the first operation mode may be a user's short-press operation on a designated key, and the second operation mode may be a user's long-press operation on the designated key. Button to adjust the camera angle. When the user short-presses or long-presses a designated button on the remote control, the remote control sends the user's operation information to the display device, and the operation information includes an identifier for indicating the target adjustment direction and an identifier for indicating the operation mode. Wherein, the identifier used to indicate the target adjustment direction may be a key code, and the identifier used to indicate the operation mode may be a count value. For example, when the count value in the operation information is 0, it indicates that the operation is a short-press operation, and when the count value in the operation information is greater than 0, the operation is a long-press operation.
在一些实施例中,根据目标调整方向的不同,将所述起始角度与预设步长角度相加或者相减,得到所述目标角度。其中,预设步长角度即如上述示例中的10°或者其他数值。示例性的,当目标调整方向为“向右”时,将起始角度与预设步长角度相加,得到目标角度;当目标调整方向为“向左”时,将起始角度与预设步长角度相减,得到目标角度。示例性的,在保存的起始角度为15°、预设步长角度为10°的情况下,若目标调整方向为“向右”,确定目标角度为25°,若目标调整方向为“向左”,确定目标角度为5°。In some embodiments, according to different target adjustment directions, the target angle is obtained by adding or subtracting the starting angle and a preset step angle. The preset step angle is 10° or other values as in the above example. Exemplarily, when the target adjustment direction is "rightward", the starting angle is added to the preset step angle to obtain the target angle; when the target adjustment direction is "leftward", the starting angle is added to the preset step angle. Subtract the step angle to get the target angle. Exemplarily, in the case where the saved starting angle is 15° and the preset step angle is 10°, if the target adjustment direction is "rightward", the target angle is determined to be 25°, and if the target adjustment direction is "towards the right" Left", determine the target angle as 5°.
在一些实施例中,每次确定目标角度后,将确定的目标角度保存到系统中,或者在终止调整摄像头的角度后,将终止调整时摄像头所处的角度保存到系统中,以作为下一次调整的起始角度。In some embodiments, after each time the target angle is determined, the determined target angle is saved in the system, or after the camera angle adjustment is terminated, the camera angle when the adjustment is terminated is saved in the system as a next time The starting angle of the adjustment.
需要说明的是,当确定的目标角度超过目标调整方向对应的极限角度时,以目标调整方向对应的极限角度作为目标角度进行调整。例如,假设“向右”调整的极限角度是120°,若根据目标调整方向和保存的起始角度确定的目标角度是125°,则以极限角度120°作为目标角度进行调整。It should be noted that when the determined target angle exceeds the limit angle corresponding to the target adjustment direction, the limit angle corresponding to the target adjustment direction is used as the target angle for adjustment. For example, assuming that the limit angle of "rightward" adjustment is 120°, if the target angle determined according to the target adjustment direction and the saved starting angle is 125°, the limit angle of 120° is used as the target angle for adjustment.
可以看出,在上述实施例中,用户可以通过不同的操作方式操作指定按键,以输入用于调整摄像头角度的用户操作,其中,通过第一操作方式输入的用户操作可以控制摄像头在起始角度基础上向目标调整方向做增量调整,通过第二操作方式输入的用户操作可以控制摄像头一次性旋转到目标调整方向对应的极限角度。并且,由于每当控制器确定一个目标角度后或者在终止调整摄像头的角度后,都会将确定的目标角度或者终止调整时摄像头所处的角度作为下一次调整的起始角度进行保存,每当控制器接收到基于第一操作方式的用户操作时,都会根据目标调整方向和保存的起始角度确定新的目标角度,并将摄像头调整到该目标角度,因此可以避免在用户连续多次短按指定按键时出现角度调整不到位的问题。It can be seen that in the above-mentioned embodiment, the user can operate the designated button through different operation modes to input the user operation for adjusting the angle of the camera, wherein the user operation input through the first operation mode can control the camera at the starting angle On the basis of incremental adjustment to the target adjustment direction, the user operation input through the second operation mode can control the camera to rotate to the limit angle corresponding to the target adjustment direction at one time. Moreover, since every time the controller determines a target angle or terminates adjusting the camera angle, it will save the determined target angle or the camera angle when the adjustment is terminated as the starting angle for the next adjustment. When the camera receives a user operation based on the first operation mode, it will determine a new target angle according to the target adjustment direction and the saved starting angle, and adjust the camera to the target angle, so it can be avoided when the user repeatedly short-presses the specified There is a problem that the angle is not adjusted properly when pressing the button.
例如,如果用户连续两次短按“向右”的方向键,当控制器接收到第一次短按操作且在接收到第一次短按操作时保存的起始角度是15°,响应于该第一次短按操作,控制器根据起始角度15°和预设步长角度10°确定目标角度为25°,并开始控制摄像头向右旋转到25°,同时将本次确定的目标角度 25°作为起始角度保存,当控制器接收到第二短按操作时,摄像头实际到达的角度虽然是18°,但控制器将根据保存的起始角度25°和预设步长角度10°确定新的目标角度为35°,也就是说,将会将摄像头角度调整到35°,而不是根据18°计算得到的28°,因此避免了在用户连续多次短按指定按键时出现角度调整不到位的问题。For example, if the user short presses the "right" direction key twice in a row, when the controller receives the first short press operation and the saved starting angle is 15° when the first short press operation is received, the response In this first short press operation, the controller determines the target angle to be 25° according to the starting angle of 15° and the preset step angle of 10°, and starts to control the camera to rotate to the right to 25°, and at the same time rotates the target angle determined this time. 25° is saved as the starting angle. When the controller receives the second short press operation, although the actual angle reached by the camera is 18°, the controller will use the saved starting angle of 25° and the preset step angle of 10°. The new target angle is determined to be 35°, that is to say, the camera angle will be adjusted to 35° instead of 28° calculated from 18°, thus avoiding the angle adjustment when the user presses the specified button several times in a row The problem is not in place.
另外,若用户操作携带的标识指示的操作方式是第二操作方式,即长按操作,控制器将会根据用户操作所指示的目标调整方向,控制器摄像头平滑、匀速的旋转到目标调整方向对应的极限角度。进而,使用户可以通过一次长按操作将摄像头角度一次调整到极限角度。In addition, if the operation mode indicated by the logo carried by the user is the second operation mode, that is, a long-press operation, the controller will adjust the direction according to the target indicated by the user's operation, and the camera of the controller will rotate smoothly and uniformly to the corresponding target adjustment direction. limit angle. Furthermore, the user can adjust the camera angle to the limit angle at one time by a long press operation.
值得注意的是,在上述用户对指定按键执行长按操作的实现场景中,在缺少用于终止摄像头旋转的旋转停止接口的情况下,无法中途停止摄像头的旋转控制。It is worth noting that in the above-mentioned implementation scenario where the user performs a long-press operation on a designated button, in the absence of a rotation stop interface for terminating the rotation of the camera, the rotation control of the camera cannot be stopped midway.
为进一步解决该问题以进一步提升用户体验,在一些实施例中,显示设备的控制器进一步被配置为:在将摄像头的角度调整到目标调整方向对应的极限角度之前,检测是否接收到用于终止调整摄像头的角度的用户操作;当接收到用于终止调整摄像头的角度的用户操作时,终止对摄像头角度的调整。示例性的,用于终止调整摄像头的角度的用户操作可以是,在接收到对所述指定按键的长按操作后的抬起操作。In order to further solve this problem and further improve the user experience, in some embodiments, the controller of the display device is further configured to: before adjusting the angle of the camera to the limit angle corresponding to the target adjustment direction, detect whether to receive a message for terminating the A user operation for adjusting the angle of the camera; when receiving a user operation for terminating the adjustment of the angle of the camera, the adjustment of the angle of the camera is terminated. Exemplarily, the user operation for terminating the adjustment of the angle of the camera may be a lifting operation after receiving a long-press operation on the designated key.
在另一些实施例中,显示设备的控制器进一步被配置为:调整摄像头的角度到目标调整方向对应的极限角度的过程中,周期性获取摄像头的当前角度,并判断摄像头的当前角度是否达到目标调整方向对应的极限角度;当摄像头的当前角度达到目标调整方向对应的极限角度时,终止对摄像头的角度的调整。In other embodiments, the controller of the display device is further configured to: in the process of adjusting the angle of the camera to the limit angle corresponding to the target adjustment direction, periodically obtain the current angle of the camera, and determine whether the current angle of the camera reaches the target The limit angle corresponding to the adjustment direction; when the current angle of the camera reaches the limit angle corresponding to the target adjustment direction, the adjustment of the angle of the camera is terminated.
由上述实施例可以看出,当用户长按某一指定按键后,显示设备控制器将控制摄像头向目标调整方向旋转;当检测到用户抬起该指定按键时或者摄像头的角度达到目标调整方向对应的极限角度时,终止旋转摄像头。It can be seen from the above embodiment that when the user presses a specified button for a long time, the display device controller will control the camera to rotate in the target adjustment direction; when it is detected that the user lifts the specified button or the angle of the camera reaches the corresponding target adjustment direction. When the limit angle is reached, the rotation of the camera is terminated.
需要说明的是,摄像头的当前角度达到目标调整方向对应的极限角度,包括摄像头的当前角度与极限角度完全吻合的情形,和/或,摄像头的当前角度距离达到极限角度的角度值小于预设值的情形。It should be noted that the current angle of the camera reaches the limit angle corresponding to the target adjustment direction, including the situation where the current angle of the camera completely matches the limit angle, and/or the angle value at which the current angle of the camera reaches the limit angle is less than the preset value. situation.
具体实现时,由主线程接收用于调整摄像头角度的用户操作,如遥控器发送的操作信息,并将接收到的用户操作发送给CameraSettingActivity,CameraSettingActivity根据用户操作对应的按键编码和用户的操作方式,对用户操作进行重新封装,以使重新封装后的用户操作携带用于指示目标调整方向的标识和用于指示操作方式的标识,并根据用户操作方式的不同,将重新封装的用户操作分配给不同的子线程进行处理。具体的,如果是基于第一操作方式的用户操作,则将重新封装的用户操作作为待处理消息添加到第一子 线程的待处理队列中,由第一子线程从待处理队列中获取待处理的用户操作,并对其进行处理;如果是基于第二操作方式的用户操作,则将重新封装的用户操作直接发送给第二子线程,由第二子线程对其进行处理。In the specific implementation, the main thread receives the user operation for adjusting the camera angle, such as the operation information sent by the remote control, and sends the received user operation to CameraSettingActivity. The user operation is repackaged, so that the repackaged user operation carries the identification used to indicate the target adjustment direction and the identification used to indicate the operation mode, and according to the different user operation modes, the repackaged user operation is assigned to different child thread for processing. Specifically, if it is a user operation based on the first operation mode, the repackaged user operation is added as a pending message to the pending queue of the first sub-thread, and the first sub-thread obtains the pending processing from the pending queue. If it is a user operation based on the second operation mode, the repackaged user operation is directly sent to the second sub-thread, and the second sub-thread processes it.
第一子线程,具体用于从待处理队列中获取待处理的用于调整摄像头角度的用户操作;根据用户操作携带的用于指示目标调整方向的标识获取目标调整方向;根据目标调整方向和保存的起始角度确定本次操作的目标角度;调用用于调整摄像头角度的方法,通过该方法调整摄像头的角度到目标角度。当摄像头的角度达到目标角度时,第一子线程被关闭。The first sub-thread is specifically used to obtain the pending user operation for adjusting the angle of the camera from the pending queue; obtain the target adjustment direction according to the identifier carried by the user operation and used to indicate the target adjustment direction; adjust the direction according to the target and save the The starting angle determines the target angle of this operation; the method used to adjust the camera angle is called, and the camera angle is adjusted to the target angle through this method. When the angle of the camera reaches the target angle, the first child thread is closed.
第二子线程,具体用于接收CameraSettingActivity发送的用于调整摄像头角度的用户操作;根据用户操作携带的用于指示目标调整方向的标识获取目标调整方向;调用用于调整摄像头角度的方法,通过该方法调整摄像头的角度到目标调整方向对应的极限角度。以及,在调整摄像头的角度到目标调整方向对应的极限角度的过程中,周期性获取摄像头所处的当前角度,并判断获取的当前角度是否达到目标调整方向对应的极限角度,当达到时,终止对摄像头角度的调整。当完成或者终止对摄像头角度的调整时,第二子线程被关闭。The second sub-thread is specifically used to receive the user operation for adjusting the camera angle sent by CameraSettingActivity; obtain the target adjustment direction according to the identifier used to indicate the target adjustment direction carried by the user operation; call the method for adjusting the camera angle, through the The method adjusts the angle of the camera to the limit angle corresponding to the target adjustment direction. And, in the process of adjusting the angle of the camera to the limit angle corresponding to the target adjustment direction, periodically obtain the current angle of the camera, and determine whether the obtained current angle reaches the limit angle corresponding to the target adjustment direction, and when it is reached, terminate. Adjustment to the camera angle. When the adjustment of the camera angle is completed or terminated, the second sub-thread is closed.
在本申请实施例中,考虑到在调整摄像头的角度时存在的调整误差,当摄像头在目标调整方向上的可旋转角度小于调整误差时,将不再对摄像头的角度进行调整。在一些实施例中,摄像头在目标调整方向上的可旋转角度又被称为剩余角度,调整误差又被称为预设最小角度。In this embodiment of the present application, considering the adjustment error existing when adjusting the angle of the camera, when the rotatable angle of the camera in the target adjustment direction is smaller than the adjustment error, the angle of the camera will not be adjusted. In some embodiments, the rotatable angle of the camera in the target adjustment direction is also referred to as the remaining angle, and the adjustment error is also referred to as the preset minimum angle.
基于此,在一些实施例中,显示设备的控制器进一步被配置为:在根据目标调整方向和保存的起始角度确定目标角度之前,根据目标调整方向对应的极限角度和起始角度计算剩余角度;判断剩余角度是否大于预设最小角度;若剩余角度大于预设最小角度,则执行确定目标角度的步骤;若剩余角度不大于预设最小角度,则生成界面提示,并显示界面提示,以示出起始角度达到目标调整方向对应的极限角度。Based on this, in some embodiments, the controller of the display device is further configured to: before determining the target angle according to the target adjustment direction and the saved start angle, calculate the remaining angle according to the limit angle and the start angle corresponding to the target adjustment direction ; Determine whether the remaining angle is greater than the preset minimum angle; if the remaining angle is greater than the preset minimum angle, execute the step of determining the target angle; if the remaining angle is not greater than the preset minimum angle, generate an interface prompt and display the interface prompt to show The starting angle reaches the limit angle corresponding to the target adjustment direction.
例如,假设目标调整方向为“向右”,“向右”对应的极限角度是120°,保存的起始角度是118°,预设最小角度是3°,根据目标调整方向对应的基线角度和保存的起始角度计算的剩余角度为2°,其小于预设最小角度,则不执行确定目标角度的步骤,而是生成并显示界面提示,以示出起始角度达到目标调整方向对应的极限角度的信息。For example, assuming that the target adjustment direction is "right", the limit angle corresponding to "right" is 120°, the saved starting angle is 118°, and the preset minimum angle is 3°. According to the target adjustment direction, the corresponding baseline angle and The remaining angle of the saved starting angle calculation is 2°, which is smaller than the preset minimum angle, then the step of determining the target angle is not performed, but an interface prompt is generated and displayed to show that the starting angle reaches the limit corresponding to the target adjustment direction angle information.
根据上述实施例,本申请实施例还提供一种调整摄像头的角度的方法,该方法应用于上述实施例提供的显示设备,该方法的执行主体包括但不限于显示设备的控制器。图12为本申请根据示例性实施例示出的调整摄像头的角度的方法流程图,如图12所示,该方法可以包括:According to the above embodiments, the embodiments of the present application further provide a method for adjusting the angle of a camera. The method is applied to the display device provided by the above embodiments, and the execution subject of the method includes but is not limited to a controller of the display device. FIG. 12 is a flowchart of a method for adjusting the angle of a camera according to an exemplary embodiment of the present application. As shown in FIG. 12 , the method may include:
步骤121,接收用于调整摄像头角度的用户操作,所述用户操作携带用于 指示目标调整方向和用于指示操作方式的标识。Step 121: Receive a user operation for adjusting the angle of the camera, where the user operation carries an identifier for indicating the target adjustment direction and an operation mode.
步骤122,若所述标识指示的操作方式是第一操作方式,则根据所述目标调整方向和保存的起始角度确定目标角度,并调整所述摄像头的角度到所述目标角度,所述保存的起始角度为上一次确定的目标角度或者上一次终止调整时所述摄像头所处的角度。 Step 122, if the operation mode indicated by the identification is the first operation mode, determine the target angle according to the target adjustment direction and the saved starting angle, and adjust the angle of the camera to the target angle, and the save The starting angle of is the target angle determined last time or the angle at which the camera was located when the adjustment was terminated last time.
在一些实施例中,所述第一操作方式为用户对指定按键的短按操作,所述第二操作方式为用户对所述指定按键的长按操作,所述指定按键为用于调整摄像头角度的按键。In some embodiments, the first operation mode is a user's short-press operation on a designated key, and the second operation mode is a user's long-press operation on the designated key, and the designated key is used to adjust the camera angle button.
在一些实施例中,所述根据所述目标调整方向和保存的起始角度确定目标角度之前,还包括:根据所述目标调整方向对应的极限角度和所述起始角度计算剩余角度;判断所述剩余角度是否大于预设最小角度;若所述剩余角度大于所述预设最小角度,则执行所述确定目标角度的步骤;若所述剩余角度不大于所述预设最小角度,则生成界面提示,并显示所述界面提示,以示出所述起始角度达到所述目标调整方向对应的极限角度。In some embodiments, before determining the target angle according to the target adjustment direction and the saved starting angle, the method further includes: calculating a remaining angle according to the limit angle corresponding to the target adjustment direction and the starting angle; whether the remaining angle is greater than the preset minimum angle; if the remaining angle is greater than the preset minimum angle, execute the step of determining the target angle; if the remaining angle is not greater than the preset minimum angle, generate an interface prompt, and display the interface prompt to show that the starting angle reaches the limit angle corresponding to the target adjustment direction.
在一些实施例中,所述根据所述目标调整方向和保存的起始角度确定目标角度,包括:根据目标调整方向的不同,将所述起始角度与预设步长角度相加或者相减,得到所述目标角度。In some embodiments, the determining the target angle according to the target adjustment direction and the saved starting angle includes: adding or subtracting the starting angle and a preset step angle according to different target adjustment directions , to get the target angle.
步骤123,若所述标识指示的操作方式是第二操作方式,则调整所述摄像头的角度到所述目标调整方向对应的极限角度。 Step 123 , if the operation mode indicated by the flag is the second operation mode, adjust the angle of the camera to the limit angle corresponding to the target adjustment direction.
在一些实施例中,调整所述摄像头的角度到所述目标调整方向对应的极限角度之前,还包括:检测是否接收到用于终止调整所述摄像头的角度的用户操作;当接收到所述用于终止调整所述摄像头的角度的用户操作时,终止对所述摄像头角度的调整。其中,所述用于终止调整所述摄像头的角度的用户操作为在接收到对所述指定按键的长按操作后的抬起操作。In some embodiments, before adjusting the angle of the camera to a limit angle corresponding to the target adjustment direction, the method further includes: detecting whether a user operation for terminating adjusting the angle of the camera is received; When the user operation of adjusting the angle of the camera is terminated, the adjustment of the angle of the camera is terminated. Wherein, the user operation for terminating the adjustment of the angle of the camera is a lifting operation after receiving a long-press operation on the designated key.
在一些实施例中,所述调整所述摄像头的角度到所述目标调整方向对应的极限角度的过程中,还包括:周期性获取所述摄像头的当前角度;判断所述摄像头的当前角度是否达到所述目标调整方向对应的极限角度;当所述摄像头的当前角度达到所述目标调整方向对应的极限角度时,终止对所述摄像头的角度的调整。In some embodiments, the process of adjusting the angle of the camera to the limit angle corresponding to the target adjustment direction further includes: periodically acquiring the current angle of the camera; judging whether the current angle of the camera reaches The limit angle corresponding to the target adjustment direction; when the current angle of the camera reaches the limit angle corresponding to the target adjustment direction, the adjustment of the angle of the camera is terminated.
在一些实施例中,调整所述摄像头的角度到所述目标角度或者所述目标调整方向对应的极限角度,包括:控制与所述摄像头以预设速度匀速旋转到所述目标角度或者所述极限角度。In some embodiments, adjusting the angle of the camera to the target angle or a limit angle corresponding to the target adjustment direction includes: controlling the camera to rotate at a predetermined speed to the target angle or the limit at a constant speed angle.
在一些实施例中,所述根据所述目标调整方向和保存的起始角度确定目标角度后,将所述目标角度作为所述起始角度保存,或者,所述终止对所述摄像头角度的调整后,将所述摄像头所处的角度作为所述起始角度保存。In some embodiments, after the target angle is determined according to the target adjustment direction and the saved start angle, the target angle is saved as the start angle, or the adjustment of the camera angle is terminated. Then, the angle at which the camera is located is saved as the starting angle.
摄像头所处的角度,如其在竖直方向上的俯仰角度或者其在水平方向上的角度,关乎摄像头的视场范围。云台是安装和固定摄像头的支撑装置,分为固定云台和电动云台,其中,电动云台适用于大范围扫描拍摄,它可以扩大摄像头的视场范围。电动云台可以是只能左右旋转的水平旋转云台,也可以是既能左右旋转又能上下旋转的全方位云台。一般,全方位云台内安装两个电动机,分别用于驱动云台在水平方向和垂直方向上旋转,以改变摄像头所处的角度。安装在电动云台上的摄像头又称为云台摄像头。The angle at which the camera is located, such as its tilt angle in the vertical direction or its angle in the horizontal direction, is related to the field of view of the camera. The gimbal is a supporting device for installing and fixing the camera. It is divided into fixed gimbal and electric gimbal. Among them, the electric gimbal is suitable for large-scale scanning and shooting, and it can expand the field of view of the camera. The electric gimbal can be a horizontal rotating gimbal that can only rotate left and right, or an omnidirectional gimbal that can rotate left and right as well as up and down. Generally, two motors are installed in the omnidirectional pan/tilt head, which are used to drive the pan/tilt head to rotate in the horizontal direction and the vertical direction respectively, so as to change the angle of the camera. The camera installed on the electric PTZ is also called the PTZ camera.
如图2所示,显示设备200包括检测器230,检测器230包括摄像头,该摄像头可以为如图13a所示的云台摄像头232。As shown in FIG. 2 , the display device 200 includes a detector 230, and the detector 230 includes a camera, and the camera may be a pan-tilt camera 232 as shown in FIG. 13a.
如图2所示,显示设备200包括外部装置接口240,外部装置可以通过该外部装置接口240接入显示设备200。如图13b所示,外部的云台摄像头232可以通过外部装置接口240与显示设备的控制器220连接。As shown in FIG. 2 , the display device 200 includes an external device interface 240 through which an external device can access the display device 200 . As shown in FIG. 13 b , the external PTZ camera 232 can be connected to the controller 220 of the display device through the external device interface 240 .
对于内置或者外接有云台摄像头的显示设备,利用显示设备控制器对云台进行控制,可以使摄像头在多个角度下进行拍摄。For a display device with a built-in or external PTZ camera, the PTZ can be controlled by the display device controller, so that the camera can shoot at multiple angles.
摄像头在水平方向和/或垂直方向可旋转的极限角度,可以根据需求进行设计。示例性的,摄像头在水平方向上的可旋转角度范围可以为0°~120°,其中,0°和120°分别为在水平方向上的两个旋转方向(向左和向右)对应的极限角度;摄像头在垂直方向上的可旋转角度可以为0°~180°,其中,0°和180°分别为在垂直方向上的两个旋转方向(向上和向下)对应的极限角度。The limit angle that the camera can rotate in the horizontal and/or vertical direction can be designed according to the needs. Exemplarily, the rotatable angle of the camera in the horizontal direction may range from 0° to 120°, where 0° and 120° are the corresponding limits of the two rotation directions (leftward and rightward) in the horizontal direction, respectively. Angle; the rotatable angle of the camera in the vertical direction can be from 0° to 180°, where 0° and 180° are respectively the limit angles corresponding to the two rotation directions (up and down) in the vertical direction.
图9至图11为本申请示例性示出的摄像头所处角度示意图,其中,图9示例性示出了摄像头在垂直方向上的俯仰角度为0°时的状态,图7示例性示出了摄像头在垂直方向上的俯仰角度为90°时的状态,图8示例性示出了摄像头在垂直方向上的俯仰角度为105°时的状态,图9示例性示出了摄像头在水平方向上的水平角度为0°时的状态,图10示例性示出了摄像头在水平方向上的水平角度为60°时的状态,图11示例性示出了摄像头在水平方向上的水平角度为120°时的状态。Fig. 9 to Fig. 11 are schematic diagrams of the angle of the camera exemplarily shown in the application, wherein Fig. 9 exemplarily shows the state when the tilt angle of the camera in the vertical direction is 0°, Fig. 7 exemplarily shows The state when the tilt angle of the camera in the vertical direction is 90°, FIG. 8 exemplarily shows the state when the tilt angle of the camera in the vertical direction is 105°, and FIG. 9 exemplarily shows the state of the camera in the horizontal direction. The state when the horizontal angle is 0°, Fig. 10 exemplarily shows the state when the horizontal angle of the camera in the horizontal direction is 60°, and Fig. 11 exemplarily shows the state when the horizontal angle of the camera in the horizontal direction is 120° status.
需要说明的是,本申请以下实施例中涉及的摄像头,在没有特别指出的情况下,均为云台摄像头。It should be noted that the cameras involved in the following embodiments of the present application are all pan-tilt cameras unless otherwise specified.
在一些实施例中,摄像头仰起,是指摄像头在垂直方向上的俯仰角度大于一个预设最小角度;摄像头降落,是指摄像头在垂直方向上的俯仰角度小于一个预设最大角度。该预设最小角度和预设最大角度可以是同一角度值,也可以是不同角度值。示例性的,摄像头仰起时的状态可如图7所示的状态,摄像头落下时的状态可如图9所示的状态。In some embodiments, the camera is tilted up, which means that the tilt angle of the camera in the vertical direction is greater than a preset minimum angle; the camera is down, which means that the tilt angle of the camera in the vertical direction is smaller than a preset maximum angle. The preset minimum angle and the preset maximum angle may be the same angle value, or may be different angle values. Exemplarily, the state when the camera is raised may be the state shown in FIG. 7 , and the state when the camera is falling may be the state shown in FIG. 9 .
参阅图7,在用户不使用摄像头的时间段,若摄像头一直处于仰起状态,这在用户体验角度,容易给用户造成一种摄像头正在工作的错觉,从而给用户带来困扰。另外,在用户误操作或者系统错误时,可能导致摄像头在不为 用户所知的情况下被误开启,极易造成用户隐私泄露的问题,不利于用户体验。Referring to FIG. 7 , in the time period when the user does not use the camera, if the camera is always in a tilted state, from the perspective of user experience, it is easy to create an illusion for the user that the camera is working, thereby causing confusion to the user. In addition, in the event of user misoperation or system error, the camera may be turned on by mistake without the user's knowledge, which may easily lead to the leakage of user privacy, which is not conducive to user experience.
在一些可以解决上述问题的方案中,当与摄像头关联的应用被切换至前台应用时,或者,当前台应用调用用于启动摄像头的接口时,控制摄像头仰起;当显示设备关机或者与摄像头关联的应用从前台退出,控制摄像头降落。In some solutions that can solve the above problems, when the application associated with the camera is switched to the foreground application, or when the foreground application calls the interface for starting the camera, the camera is controlled to tilt up; when the display device is turned off or associated with the camera The app exits from the foreground and controls the camera to land.
也就是说,仅在需要使用摄像头时,使其仰起,结束使用后即可将其降落。在这种实施情况下,对于前台应用在两个均为与摄像头关联的应用之间切换时,会发生一次无意义的降落和仰起。具体而言,当前台应用由第一应用切换成第二应用时,由于第一应用退出前台应用,摄像头被控制降落,之后,由于第二应用进入前台应用,摄像头被控制仰起,可见,该先降落后仰起的过程是无意义的,会增加马达的工作次数,降低其使用寿命,还会延长用户的等待时间,不利于用户体验。That is, only raise the camera when you need to use it, and lower it when you're done. In this implementation, a nonsensical landing and raising occurs for the foreground app when switching between two apps, both of which are associated with the camera. Specifically, when the foreground application is switched from the first application to the second application, because the first application exits the foreground application, the camera is controlled to land, and then, because the second application enters the foreground application, the camera is controlled to be raised up. It can be seen that the The process of first landing and then leaning up is meaningless, it will increase the working frequency of the motor, reduce its service life, and prolong the waiting time of the user, which is not conducive to the user experience.
为了避免发生无意义的仰起和降落控制,本申请实施例提供一种显示设备,如图2和图13a或者6所示,该显示设备包括用于显示用户界面的显示器275、用于采集本地图像的摄像头232以及与摄像头连接的控制器220,其中,控制器220被配置为执行:当连续接收到应用关闭摄像头的指令和应用打开摄像头的指令时,控住摄像头维持在当前所处角度,其中,连续接收到应用关闭摄像头的指令和应用打开摄像头的指令是指接收到两个指令的时间间隔小于预设时长。比如,在接收到第一应用关闭摄像头的指令后的预设时长内接收到第一应用或者第二应用打开摄像头的指令。再比如,在接收到第一应用打开摄像头的指令后的预设时长内接收到第一应用关闭摄像头的指令。其中,第一应用和第二应用为与摄像头关联的不同应用。In order to avoid meaningless raising and lowering control, an embodiment of the present application provides a display device, as shown in FIG. 2 and FIG. 13 a or 6 , the display device includes a display 275 for displaying a user interface, for collecting local The camera 232 of the image and the controller 220 connected to the camera, wherein the controller 220 is configured to execute: when continuously receiving the instruction of the application to close the camera and the instruction of the application to open the camera, control the camera to maintain the current angle, Wherein, continuously receiving an instruction to close the camera by the application and an instruction to open the camera by the application means that the time interval between receiving the two instructions is less than a preset duration. For example, an instruction to turn on the camera from the first application or the second application is received within a preset period of time after receiving the instruction from the first application to turn off the camera. For another example, the instruction of the first application to close the camera is received within a preset time period after the instruction of the first application to open the camera is received. Wherein, the first application and the second application are different applications associated with the camera.
在一些实施例中,当在接收到第一应用关闭摄像头的指令后的预设时长内接收到第一应用或者第二应用打开摄像头的指令,控制摄像头维持在第二预设角度。当在接收到第一应用关闭摄像头的指令后的预设时长内未接收到第一应用或者第二应用打开摄像头的指令时,将摄像头的角度调整到第一预设角度。In some embodiments, when an instruction to turn on the camera from the first application or the second application is received within a preset period of time after the instruction to turn off the camera from the first application is received, the camera is controlled to maintain the second preset angle. When an instruction to turn on the camera from the first application or the second application is not received within a preset period of time after receiving the instruction of the first application to turn off the camera, the angle of the camera is adjusted to the first preset angle.
具体实现时,控制器220,被配置为执行图14所示步骤:During specific implementation, the controller 220 is configured to execute the steps shown in FIG. 14 :
步骤801,在摄像头处于关闭状态时,接收到第一应用启动摄像头的指令。 Step 801, when the camera is in an off state, an instruction for starting the camera from the first application is received.
步骤802,响应于第一应用启动摄像头的指令,启动摄像头,并将摄像头所处角度由第一预设角度调整到第二预设角度。 Step 802, in response to an instruction of the first application to activate the camera, activate the camera, and adjust the angle at which the camera is located from the first preset angle to the second preset angle.
其中,第一预设角度为摄像头降落后所处的俯仰角度,第二预设角度为摄像头仰起后所处的俯仰角度。Wherein, the first preset angle is the pitch angle at which the camera is positioned after landing, and the second preset angle is the pitch angle at which the camera is positioned after being raised.
步骤803,在摄像头处于开启状态时,接收到第一应用关闭摄像头的指令。其中,第一应用关闭时或者退出前台时,发送关闭摄像头的指令。Step 803: When the camera is in the on state, an instruction of the first application to turn off the camera is received. Wherein, when the first application is closed or exits the foreground, an instruction to close the camera is sent.
步骤804,响应于第一应用关闭摄像头的指令,关闭摄像头,并监测在预 设时长内是否接收到第一应用或者第二应用开启摄像头的指令; Step 804, in response to the first application closes the instruction of the camera, closes the camera, and monitors whether the first application or the second application opens the instruction of the camera within the preset duration;
步骤805,若在预设时长内接收到第一应用或者第二应用开启摄像头的指令,则开启摄像头,并维持摄像头在第二预设角度。其中,第一应用或者第二应用在启动或者切换到前台后,发送开启摄像头的指令。 Step 805 , if an instruction to turn on the camera from the first application or the second application is received within the preset time period, the camera is turned on and the camera is maintained at the second preset angle. Wherein, after the first application or the second application is started or switched to the foreground, an instruction to turn on the camera is sent.
步骤806,若在预设时长内未接收到第一应用或者第二应用开启摄像头的指令,则将摄像头所处角度调整到第一预设角度。在一些实施场景中,第一应用启动时,向系统的CameraService服务发送指示开启摄像头的指令;CameraService服务接收到第一应用开启摄像头的指令后,调用由CameraControl服务提供的用于控制摄像头仰起的方法resetTorecorded()来控制摄像头仰起到第二预设角度。Step 806: If the first application or the second application does not receive an instruction to turn on the camera within the preset time period, adjust the angle at which the camera is located to the first preset angle. In some implementation scenarios, when the first application starts, it sends an instruction instructing to turn on the camera to the CameraService service of the system; after the CameraService service receives the instruction to turn on the camera from the first application, it calls the camera provided by the CameraControl service for controlling the tilting of the camera. The method resetTorecorded() is used to control the camera tilt to the second preset angle.
接着,在一种情况中,若第一应用被关闭或者退出前台,第一应用会向CameraService服务发送指示关闭摄像头的指令;CameraService服务接收到第一应用关闭摄像头的指令后开始计时,同时监测是否接收到第一应用或者第二应用开启摄像头的指令;若第一应用或者第二应用在启动或者进入前台,第一应用或者第二应用会向CameraService服务发送指示开启摄像头的指令;若在计时时长达到预设时长(如3s)前接收到第一应用或者第二应用开启摄像头的指令,则结束流程;若在计时时长达到预设时长前未接收到第一应用或者第二应用开启摄像头的指令,则在计时时长达到预设时长后停止计时,并调用由CameraControl服务提供的用于控制摄像头降落的方法reset()来控制摄像头降落到第一预设角度。Next, in one case, if the first application is closed or exits the foreground, the first application will send an instruction to the CameraService service instructing to close the camera; the CameraService service starts timing after receiving the instruction of the first application to close the camera, and simultaneously monitors whether Receive an instruction to turn on the camera from the first app or the second app; if the first app or the second app is starting or entering the foreground, the first app or the second app will send the CameraService service an instruction to turn on the camera; Before the preset time period (such as 3s) is reached, an instruction to turn on the camera from the first application or the second application is received, and the process ends; if the instruction to turn on the camera from the first application or the second application is not received before the timing period reaches the preset time length , then stop timing after the timing duration reaches the preset duration, and call the method reset() provided by the CameraControl service for controlling the camera to land to control the camera to land at the first preset angle.
在一个例子中,“魔镜”应用和“聊天”应用均为与摄像头关联的应用。用户打开“魔镜”应用或者通过操作将“魔镜”应用切换到前台运行后,“魔镜”应用向系统的CameraService服务发送指示开启摄像头的指令;CameraService服务接收到该指令后,调用由CameraControl服务提供的用于控制摄像头仰起的方法resetTorecorded()来控制摄像头仰起到第二预设角度。用户通过操作将“魔镜”应用切换到前台运行,并将“聊天”应用切换到前台运行时,“魔镜”应用会向CameraService服务发送指示关闭摄像头的指令,“聊天”应用会向CameraService服务发送指示开启摄像头的指令,CameraService服务接收到“魔镜”应用的关闭指令后,关闭摄像头,并开始计时。若在计时时长达到预设时长(如3s)前接收到“魔镜”应用的开启指令,则维持摄像头开启,以及维持摄像头在第二预设角度;若在计时时长达到预设时长前未接收到“魔镜”应用的开启指令,则关闭摄像头,同时控制摄像头降落到第一预设角度。In one example, both the "Magic Mirror" application and the "Chat" application are applications associated with the camera. After the user opens the "Magic Mirror" app or switches the "Magic Mirror" app to the foreground by operation, the "Magic Mirror" app sends an instruction to turn on the camera to the CameraService service of the system; after the CameraService service receives the instruction, it calls the CameraControl service. The method resetTorecorded() provided by the service for controlling the tilt of the camera is used to control the tilt of the camera to the second preset angle. When the user switches the "Magic Mirror" application to the foreground and switches the "Chat" application to the foreground, the "Magic Mirror" application will send an instruction to turn off the camera to the CameraService service, and the "Chat" application will send an instruction to the CameraService service. Send an instruction to turn on the camera. After the CameraService service receives the command to close the "Magic Mirror" application, it turns off the camera and starts timing. If the opening command of the "Magic Mirror" application is received before the timing reaches the preset duration (such as 3s), the camera will be kept on, and the camera will be maintained at the second preset angle; if it is not received before the timing reaches the preset duration To the "Magic Mirror" application's opening command, the camera will be turned off, and the camera will be controlled to land at the first preset angle at the same time.
由图14所示实施例可以看出,若CameraService服务在第一应用关闭摄像头的预设时长内接收到第一应用或者第二应用启动摄像头的指令,则不控制摄像头降落,而是将维持摄像头在第二预设角度,从而避免由于应用切换到 导致无意义的降落和仰起控制。It can be seen from the embodiment shown in FIG. 14 that if the CameraService service receives an instruction from the first application or the second application to start the camera within the preset time period when the first application closes the camera, it will not control the camera to land, but will maintain the camera. at the second preset angle, thereby avoiding meaningless landing and pitching controls due to application switching.
在另一些实施例中,当CameraService服务接收到第一应用关闭摄像头的指令时,生成一个降落任务并添加到任务队列中,该降落任务是指将摄像头的角度调整到第一预设角度的任务;当任务队列中待执行的降落任务的等待时长达到预设时长时,读取并执行该降落任务,即将所述摄像头的角度调整到所述第一预设角度;当CameraService服务接收到第一应用或者第二应用打开摄像头的指令时,将任务队列中待执行的降落任务删除。In other embodiments, when the CameraService service receives an instruction from the first application to turn off the camera, a landing task is generated and added to the task queue, where the landing task refers to the task of adjusting the angle of the camera to the first preset angle ; When the waiting time of the landing task to be executed in the task queue reaches the preset time, read and execute the landing task, that is, adjust the angle of the camera to the first preset angle; when the CameraService service receives the first When the application or the second application is instructed to turn on the camera, the landing task to be executed in the task queue is deleted.
在这些实施例中,由于任务队列中待执行的降落任务的等待时长达到预设时长时,将会被CameraService服务读取并执行,因此若在CameraService服务接收到第一应用或者第二应用打开摄像头的指令时,任务队列中仍存在待执行的降落任务,则待执行的降落任务的等待时长必然小于预设时长,通过将任务队列中待执行的降落任务删除,可以避免其在等待时长达到预设时长时,被读取执行。也就是说,若CameraService服务在第一应用关闭摄像头的预设时长内接收到第一应用或者第二应用启动摄像头的指令,则不控制摄像头降落,而是将维持摄像头在第二预设角度,从而避免由于应用切换到导致无意义的降落和仰起控制。In these embodiments, since the waiting time of the landing task to be executed in the task queue reaches the preset time, it will be read and executed by the CameraService service. Therefore, if the first application or the second application is received in the CameraService service, the camera is turned on. When there are landing tasks to be executed in the task queue, the waiting time of the landing tasks to be executed must be less than the preset time. By deleting the landing tasks to be executed in the task queue, it can be avoided that the waiting time reaches the predetermined time. When the time is set, it is read and executed. That is to say, if the CameraService service receives an instruction from the first application or the second application to start the camera within the preset time period when the first application closes the camera, it will not control the camera to land, but will maintain the camera at the second preset angle. This avoids meaningless landing and pitching controls due to application switching.
应当理解,当CameraService服务在任务队列中不存在待执行的降落任务的情况下接收到应用开启摄像头的指令时,开启摄像头,并将摄像头的角度由第一预设角度调整到第二预设角度。It should be understood that when the CameraService service receives an instruction from the application to turn on the camera when there is no landing task to be executed in the task queue, it turns on the camera and adjusts the angle of the camera from the first preset angle to the second preset angle. .
在一些实施例中,当在接收到第一应用打开摄像头的指令后的预设时长内接收到第一应用关闭摄像头的指令,控制摄像头维持在第一预设角度。当在接收到第一应用打开摄像头的指令后的预设时长内未接收到第一应用关闭摄像头的指令时,将摄像头所处角度调整到第二预设角度。In some embodiments, when an instruction to turn off the camera from the first application is received within a preset period of time after the instruction to turn on the camera from the first application is received, the camera is controlled to maintain the first preset angle. When an instruction to close the camera from the first application is not received within a preset period of time after the instruction to open the camera from the first application is received, the angle at which the camera is located is adjusted to a second preset angle.
具体实现时,控制器220,还被配置为执行图15所示步骤:During specific implementation, the controller 220 is further configured to perform the steps shown in FIG. 15 :
步骤901,在摄像头处于开启状态时,接收到第一应用关闭摄像头的指令。Step 901: When the camera is in an on state, an instruction of the first application to turn off the camera is received.
步骤902,响应于第一应用关闭摄像头的指令,关闭摄像头,并将摄像头所处角度由第二预设角度调整到第一预设角度。 Step 902, in response to an instruction of the first application to close the camera, close the camera, and adjust the angle at which the camera is located from the second preset angle to the first preset angle.
步骤903,在摄像头处于关闭状态时,接收到第一应用打开摄像头的指令。其中,第一应用进入到前台运行时,发送打开摄像头的指令。 Step 903, when the camera is in an off state, an instruction of the first application to turn on the camera is received. Wherein, when the first application enters the foreground to run, it sends an instruction to turn on the camera.
步骤904,响应于第一应用打开摄像头的指令,打开摄像头,并监测在预设时长内是否接收到第一应用关闭摄像头的指令; Step 904, in response to the first application's instruction to turn on the camera, turn on the camera, and monitor whether the first application's instruction to turn off the camera is received within a preset time period;
步骤905,若在预设时长内接收到第一应用关闭摄像头的指令,则关闭摄像头,并维持摄像头在第一预设角度。其中,第一应用关闭或者退出前台时,发送关闭摄像头的指令。 Step 905 , if an instruction of the first application to close the camera is received within the preset time period, the camera is closed, and the camera is maintained at the first preset angle. Wherein, when the first application is closed or exits the foreground, an instruction to close the camera is sent.
步骤906,若在预设时长内未接收到第一应用关闭摄像头的指令,则将摄像头所处角度调整到第二预设角度。 Step 906 , if no instruction from the first application to turn off the camera is received within the preset time period, adjust the angle at which the camera is located to a second preset angle.
由图15所示实施例可以看出,若在第一应用打开摄像头的预设时长内接收到第一应用关闭摄像头的指令,则不控制摄像头仰起,而是将维持摄像头在第一预设角度,从而避免无意义的降落和仰起控制。It can be seen from the embodiment shown in FIG. 15 that if the first application receives an instruction to turn off the camera within the preset time period when the first application opens the camera, the camera will not be controlled to tilt up, but the camera will be maintained at the first preset time. angle, thereby avoiding pointless landing and pitch control.
在一些实施例中,当CameraService服务接收到第一应用打开摄像头的指令时,生成一个仰起任务并添加到任务队列中,该仰起任务是指将摄像头的角度调整到第二预设角度的任务;当任务队列中待执行的仰起任务的等待时长达到预设时长时,读取并执行该仰起任务,即将所述摄像头的角度调整到所述第二预设角度;当CameraService服务接收到第一应用关闭摄像头的指令时,将任务队列中待执行的仰起任务删除。In some embodiments, when the CameraService service receives an instruction from the first application to turn on the camera, it generates a tilt task and adds it to the task queue, where the tilt task refers to adjusting the angle of the camera to the second preset angle. task; when the waiting time of the lift-up task to be executed in the task queue reaches the preset duration, read and execute the lift-up task, that is, adjust the angle of the camera to the second preset angle; when the CameraService service receives When the first application instructs to turn off the camera, delete the tilt-up task to be executed in the task queue.
在这些实施例中,由于任务队列中待执行的仰起任务的等待时长达到预设时长时,将会被CameraService服务读取并执行,因此若在CameraService服务接收到第一应用关闭摄像头的指令时,任务队列中仍存在待执行的仰起任务,则待执行的仰起任务的等待时长必然小于预设时长,通过将任务队列中待执行的仰起任务删除,可以避免其在等待时长达到预设时长时,被读取执行。也就是说,若CameraService服务在第一应用打开摄像头的预设时长内接收到第一应用关闭摄像头的指令,则不控制摄像头仰起,而是将维持摄像头在第一预设角度,从而避免无意义的降落和仰起控制。In these embodiments, since the waiting time of the tilt-up task to be executed in the task queue reaches the preset time, it will be read and executed by the CameraService service. Therefore, if the CameraService service receives an instruction from the first application to turn off the camera , there are still pending lift-up tasks in the task queue, then the waiting time of the lift-up tasks to be executed must be less than the preset duration. When the time is set, it is read and executed. That is to say, if the CameraService service receives an instruction from the first application to turn off the camera within the preset time period when the first application opens the camera, it will not control the camera to tilt up, but will maintain the camera at the first preset angle, thereby avoiding no Meaningful landing and pitch control.
具体实现中,本发明还提供一种计算机存储介质,其中,该计算机存储介质可存储有程序,该程序执行时可包括本发明提供的摄像头角度的调整方法的各实施例中的部分或全部步骤。所述的存储介质可为磁碟、光盘、只读存储记忆体(英文:read-only memory,简称:ROM)或随机存储记忆体(英文:random access memory,简称:RAM)等。In a specific implementation, the present invention also provides a computer storage medium, wherein the computer storage medium can store a program, and when the program is executed, it can include some or all of the steps in the various embodiments of the camera angle adjustment method provided by the present invention . The storage medium may be a magnetic disk, an optical disk, a read-only memory (English: read-only memory, abbreviated as: ROM) or a random access memory (English: random access memory, abbreviated as: RAM) and the like.
本领域的技术人员可以清楚地了解到本发明实施例中的技术可借助软件加必需的通用硬件平台的方式来实现。基于这样的理解,本发明实施例中的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例或者实施例的某些部分所述的方法。Those skilled in the art can clearly understand that the technology in the embodiments of the present invention can be implemented by means of software plus a necessary general hardware platform. Based on such understanding, the technical solutions in the embodiments of the present invention may be embodied in the form of software products in essence or the parts that make contributions to the prior art, and the computer software products may be stored in a storage medium, such as ROM/RAM , magnetic disk, optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in various embodiments or some parts of the embodiments of the present invention.
本说明书中各个实施例之间相同相似的部分互相参见即可。尤其,对于显示设备实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例中的说明即可。It is sufficient to refer to each other for the same and similar parts among the various embodiments in this specification. In particular, for the display device embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and for the relevant parts, please refer to the descriptions in the method embodiments.
以上所述的本发明实施方式并不构成对本发明保护范围的限定。The embodiments of the present invention described above do not limit the protection scope of the present invention.

Claims (10)

  1. 一种显示设备,其特征在于,包括:A display device, comprising:
    显示器,用于显示用户界面;a display for displaying the user interface;
    摄像头,用于采集图像,所述摄像头所处的角度可被调整,以在所述摄像头处于不同的角度时,采集到不同范围内的图像;a camera, used for capturing images, the angle at which the camera is positioned can be adjusted to capture images in different ranges when the camera is at different angles;
    与所述摄像头连接的控制器,用于:A controller connected to the camera for:
    接收用于调整摄像头角度的用户操作,所述用户操作携带用于指示目标调整方向和用于指示操作方式的标识;receiving a user operation for adjusting the angle of the camera, the user operation carrying an identifier for indicating the target adjustment direction and an operation mode;
    若所述标识指示的操作方式是第一操作方式,则根据所述目标调整方向和保存的起始角度确定目标角度,并调整所述摄像头的角度到所述目标角度,所述保存的起始角度为上一次确定的目标角度或者上一次终止调整时所述摄像头所处的角度;If the operation mode indicated by the flag is the first operation mode, the target angle is determined according to the target adjustment direction and the saved starting angle, and the angle of the camera is adjusted to the target angle. The angle is the target angle determined last time or the angle at which the camera was located when the adjustment was terminated last time;
    若所述标识指示的操作方式是第二操作方式,则调整所述摄像头的角度到所述目标调整方向对应的极限角度。If the operation mode indicated by the flag is the second operation mode, adjust the angle of the camera to the limit angle corresponding to the target adjustment direction.
  2. 根据权利要求1所述的显示设备,其特征在于,所述第一操作方式为用户对指定按键的短按操作,所述第二操作方式为用户对所述指定按键的长按操作,所述指定按键为用于调整摄像头角度的按键。The display device according to claim 1, wherein the first operation mode is a user's short-press operation on a designated key, the second operation mode is a user's long-press operation on the designated key, and the The designated key is the key used to adjust the camera angle.
  3. 根据权利要求2所述的显示设备,其特征在于,所述调整所述摄像头的角度到所述目标调整方向对应的极限角度之前,还包括:The display device according to claim 2, wherein before the adjusting the angle of the camera to the limit angle corresponding to the target adjustment direction, further comprising:
    检测是否接收到用于终止调整所述摄像头的角度的用户操作;Detecting whether a user operation for terminating the angle adjustment of the camera is received;
    当接收到所述用于终止调整所述摄像头的角度的用户操作时,终止对所述摄像头角度的调整。When the user operation for terminating the adjustment of the angle of the camera is received, the adjustment of the angle of the camera is terminated.
  4. 根据权利要求3所述的显示设备,其特征在于,所述用于终止调整所述摄像头的角度的用户操作为在接收到对所述指定按键的长按操作后的抬起操作。The display device according to claim 3, wherein the user operation for terminating the adjustment of the angle of the camera is a lift operation after receiving a long-press operation on the designated key.
  5. 根据权利要求2所述的显示设备,其特征在于,所述调整所述摄像头的角度到所述目标调整方向对应的极限角度的过程中,还包括:The display device according to claim 2, wherein the process of adjusting the angle of the camera to the limit angle corresponding to the target adjustment direction further comprises:
    周期性获取所述摄像头的当前角度;Periodically obtain the current angle of the camera;
    判断所述摄像头的当前角度是否达到所述目标调整方向对应的极限角度;Determine whether the current angle of the camera reaches the limit angle corresponding to the target adjustment direction;
    当所述摄像头的当前角度达到所述目标调整方向对应的极限角度时,终止对所述摄像头的角度的调整。When the current angle of the camera reaches the limit angle corresponding to the target adjustment direction, the adjustment of the angle of the camera is terminated.
  6. 根据权利要求3或5所述的显示设备,其特征在于,所述根据所述目标调整方向和保存的起始角度确定目标角度后,将所述目标角度作为所述起始角度保存,或者,所述终止对所述摄像头角度的调整后,将所述摄像头所处的角度作为所述起始角度保存。The display device according to claim 3 or 5, wherein after the target angle is determined according to the target adjustment direction and the saved start angle, the target angle is saved as the start angle, or, After the adjustment of the angle of the camera is terminated, the angle at which the camera is located is stored as the starting angle.
  7. 根据权利要求1所述的显示设备,其特征在于,所述根据所述目标调整方向和保存的起始角度确定目标角度之前,还包括:The display device according to claim 1, wherein before determining the target angle according to the target adjustment direction and the saved starting angle, the method further comprises:
    根据所述目标调整方向对应的极限角度和所述起始角度计算剩余角度;Calculate the remaining angle according to the limit angle corresponding to the target adjustment direction and the starting angle;
    判断所述剩余角度是否大于预设最小角度;judging whether the remaining angle is greater than a preset minimum angle;
    若所述剩余角度大于所述预设最小角度,则执行所述确定目标角度的步骤;If the remaining angle is greater than the preset minimum angle, the step of determining the target angle is performed;
    若所述剩余角度不大于所述预设最小角度,则生成界面提示,并显示所述界面提示,以示出所述起始角度达到所述目标调整方向对应的极限角度。If the remaining angle is not greater than the preset minimum angle, an interface prompt is generated, and the interface prompt is displayed to show that the starting angle reaches the limit angle corresponding to the target adjustment direction.
  8. 根据权利要求1所述的显示设备,其特征在于,所述根据所述目标调整方向和保存的起始角度确定目标角度,包括:The display device according to claim 1, wherein the determining the target angle according to the target adjustment direction and the saved starting angle comprises:
    根据目标调整方向的不同,将所述起始角度与预设步长角度相加或者相减,得到所述目标角度。According to different target adjustment directions, the target angle is obtained by adding or subtracting the starting angle and the preset step angle.
  9. 根据权利要求1所述的显示设备,其特征在于,调整所述摄像头的角度到所述目标角度或者所述目标调整方向对应的极限角度,包括:The display device according to claim 1, wherein adjusting the angle of the camera to the target angle or a limit angle corresponding to the target adjustment direction comprises:
    控制与所述摄像头以预设速度匀速旋转到所述目标角度或者所述极限角度。The control and the camera rotate at a preset speed to the target angle or the limit angle at a constant speed.
  10. 一种显示方法,其特征在于,所述方法包括:A display method, characterized in that the method comprises:
    接收用于调整摄像头角度的用户操作,所述用户操作携带用于指示目标调整方向和用于指示操作方式的标识;receiving a user operation for adjusting the angle of the camera, the user operation carrying an identifier for indicating the target adjustment direction and an operation mode;
    若所述标识指示的操作方式是第一操作方式,则根据所述目标调整方向和保存的起始角度确定目标角度,并调整所述摄像头的角度到所述目标角度,所述保存的起始角度为上一次确定的目标角度或者上一次终止调整时所述摄像头所处的角度;If the operation mode indicated by the flag is the first operation mode, the target angle is determined according to the target adjustment direction and the saved starting angle, and the angle of the camera is adjusted to the target angle. The angle is the target angle determined last time or the angle at which the camera was located when the adjustment was terminated last time;
    若所述标识指示的操作方式是第二操作方式,则调整所述摄像头的角度到所述目标调整方向对应的极限角度。If the operation mode indicated by the flag is the second operation mode, adjust the angle of the camera to the limit angle corresponding to the target adjustment direction.
PCT/CN2021/096429 2020-08-07 2021-05-27 Display device and display method WO2022028060A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202180053612.5A CN116264864A (en) 2020-08-07 2021-05-27 Display equipment and display method

Applications Claiming Priority (6)

Application Number Priority Date Filing Date Title
CN202010789824.7A CN111970548B (en) 2020-08-07 2020-08-07 Display device and method for adjusting angle of camera
CN202010789824.7 2020-08-07
CN202010851738.4 2020-08-21
CN202010851738 2020-08-21
CN202110156378.0A CN112954425A (en) 2020-08-21 2021-02-04 Display device and camera control method
CN202110156378.0 2021-02-04

Publications (1)

Publication Number Publication Date
WO2022028060A1 true WO2022028060A1 (en) 2022-02-10

Family

ID=80119870

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/096429 WO2022028060A1 (en) 2020-08-07 2021-05-27 Display device and display method

Country Status (2)

Country Link
CN (1) CN116264864A (en)
WO (1) WO2022028060A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114739361A (en) * 2022-02-25 2022-07-12 中国科学院空天信息创新研究院 Earth observation method, device, electronic device and storage medium
CN115031694A (en) * 2022-04-25 2022-09-09 中国科学院空天信息创新研究院 Earth observation method, apparatus, storage medium, and program product

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1739534A2 (en) * 2005-06-30 2007-01-03 Sony Corporation Graphical user interface device, operating input processing method, and two-way communication apparatus
CN105120162A (en) * 2015-08-27 2015-12-02 广东欧珀移动通信有限公司 Camera rotation control method and terminal
CN110213489A (en) * 2019-06-20 2019-09-06 维沃移动通信有限公司 A kind of control method, device and terminal device
CN110418050A (en) * 2018-04-26 2019-11-05 Oppo广东移动通信有限公司 Camera control method, device, mobile terminal and the storage medium of mobile terminal
CN111970548A (en) * 2020-08-07 2020-11-20 海信视像科技股份有限公司 Display device and method for adjusting angle of camera

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1739534A2 (en) * 2005-06-30 2007-01-03 Sony Corporation Graphical user interface device, operating input processing method, and two-way communication apparatus
CN105120162A (en) * 2015-08-27 2015-12-02 广东欧珀移动通信有限公司 Camera rotation control method and terminal
CN110418050A (en) * 2018-04-26 2019-11-05 Oppo广东移动通信有限公司 Camera control method, device, mobile terminal and the storage medium of mobile terminal
CN110213489A (en) * 2019-06-20 2019-09-06 维沃移动通信有限公司 A kind of control method, device and terminal device
CN111970548A (en) * 2020-08-07 2020-11-20 海信视像科技股份有限公司 Display device and method for adjusting angle of camera

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114739361A (en) * 2022-02-25 2022-07-12 中国科学院空天信息创新研究院 Earth observation method, device, electronic device and storage medium
CN114739361B (en) * 2022-02-25 2023-06-13 中国科学院空天信息创新研究院 Earth observation method, apparatus, electronic device and storage medium
CN115031694A (en) * 2022-04-25 2022-09-09 中国科学院空天信息创新研究院 Earth observation method, apparatus, storage medium, and program product

Also Published As

Publication number Publication date
CN116264864A (en) 2023-06-16

Similar Documents

Publication Publication Date Title
CN111741372B (en) Screen projection method for video call, display device and terminal device
WO2022073392A1 (en) Picture display method, and display device
CN111970548B (en) Display device and method for adjusting angle of camera
CN112291599B (en) Display device and method for adjusting angle of camera
WO2022048203A1 (en) Display method and display device for manipulation prompt information of input method control
WO2022021669A1 (en) Method for controlling intelligent image mode switching and display device
CN112118400B (en) Display method of image on display device and display device
CN113938724A (en) Display device and screen recording sharing method
WO2022028060A1 (en) Display device and display method
CN111970549A (en) Menu display method and display device
CN111954059A (en) Screen saver display method and display device
CN112243141A (en) Display method and display equipment for screen projection function
CN111866498B (en) Camera abnormity processing method and display device
CN112306604B (en) Progress display method and display device for file transmission
CN112040535B (en) Wifi processing method and display device
WO2022083357A1 (en) Display device and camera control method
CN113824870A (en) Display device and camera angle adjusting method
CN114302197A (en) Voice separation control method and display device
CN114417035A (en) Picture browsing method and display device
CN113825001B (en) Panoramic picture browsing method and display device
CN112866768B (en) Display device and information prompting method
WO2022105410A1 (en) Display method, and device parameter memory method and recovery method therefor
CN113194355B (en) Video playing method and display equipment
CN113436564B (en) EPOS display method and display equipment
WO2022100252A1 (en) Display device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21853847

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21853847

Country of ref document: EP

Kind code of ref document: A1