CN113485580B - Display device, touch pen detection method, system, device and storage medium - Google Patents

Display device, touch pen detection method, system, device and storage medium Download PDF

Info

Publication number
CN113485580B
CN113485580B CN202110745600.0A CN202110745600A CN113485580B CN 113485580 B CN113485580 B CN 113485580B CN 202110745600 A CN202110745600 A CN 202110745600A CN 113485580 B CN113485580 B CN 113485580B
Authority
CN
China
Prior art keywords
data
stylus
detection
touch
display
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110745600.0A
Other languages
Chinese (zh)
Other versions
CN113485580A (en
Inventor
严义科
马楔
张连峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Hisense Commercial Display Co Ltd
Original Assignee
Qingdao Hisense Commercial Display Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qingdao Hisense Commercial Display Co Ltd filed Critical Qingdao Hisense Commercial Display Co Ltd
Priority to CN202110745600.0A priority Critical patent/CN113485580B/en
Publication of CN113485580A publication Critical patent/CN113485580A/en
Application granted granted Critical
Publication of CN113485580B publication Critical patent/CN113485580B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • G06F3/04162Control or interface arrangements specially adapted for digitisers for exchanging data with external devices, e.g. smart pens, via the digitiser sensing hardware
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • G06F3/0418Control or interface arrangements specially adapted for digitisers for error correction or compensation, e.g. based on parallax, calibration or alignment

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Position Input By Displaying (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the application provides a display device, a touch pen detection method, a touch pen detection system, a touch pen detection device and a storage medium, which belong to the electronic product technology, wherein the display device comprises a touch display, a containing device, the touch pen detection device and a controller, and the containing device is configured to place a touch pen; the stylus detection device is configured to detect whether a stylus is placed in the accommodating device; the controller is configured to: receiving a selection operation made by a user on the touch display; and responding to the selection operation, and controlling the touch pen detection device to switch from a current working mode to a target working mode corresponding to the selection operation, wherein the working mode of the touch pen detection device comprises a detection threshold adjustable mode and a detection threshold fixed mode. The method and the device can facilitate the user to correct the detection threshold of the touch pen detection device, improve the detection accuracy of different touch pens and further improve the user experience.

Description

Display device, touch pen detection method, system, device and storage medium
Technical Field
The embodiment of the application relates to the technology of electronic products. And more particularly, to a display device, a stylus detection method, a system, a device, and a storage medium.
Background
The touch display is widely applied to various scenes such as education and conferences, and is matched with a touch pen, so that various intelligent scenes are derived from the touch display, for example, when the touch pen is detected to be lifted from the accommodating device through the touch pen detection device, the touch display can automatically pop up a selection menu as an entrance of related application, the system is flatter and intelligent, and the learning cost of a user is reduced.
However, the stylus detecting device of the touch display at present can only detect whether the original stylus is picked up, if the stylus currently used by the user is not the original stylus, whether the stylus is picked up cannot be accurately identified, and the touch large screen cannot make corresponding actions according to the detection result of whether the stylus is picked up, so that the experience of the user when using the stylus and the touch display is affected.
Disclosure of Invention
The exemplary embodiments of the present application provide a display device, a method, a system, a device and a storage medium for detecting a stylus, which can improve the experience of a user when using the stylus and a touch display.
In a first aspect, embodiments of the present application provide a display device, including:
A touch display;
a housing configured to hold a stylus;
a stylus detection device configured to detect whether a stylus is placed in the accommodation device;
and a controller connected to the touch display and the stylus detection device, respectively, wherein the controller is configured to:
receiving a selection operation made by a user on the touch display;
and responding to the selection operation, and controlling the touch pen detection device to switch from a current working mode to a target working mode corresponding to the selection operation, wherein the working mode of the touch pen detection device comprises a detection threshold adjustable mode and a detection threshold fixed mode.
In some embodiments of the present application, the detection threshold adjustable mode includes a first operation mode, and the controller is further configured to:
if the target working mode is detected to be the first working mode, controlling the touch display to display first prompt information so as to prompt a user to put a touch pen into the accommodating device;
if the touch control pen is placed in the accommodating device, acquiring first data detected by the touch control pen detecting device;
controlling the touch display to display second prompt information to prompt a user to take out the touch pen from the accommodating device;
If the stylus is taken out of the accommodating device, acquiring second data detected by the stylus detection device;
and determining a first target detection threshold according to the first data and the second data, and controlling the touch pen detection device to adjust the detection threshold corresponding to the first working mode to the first target detection threshold.
In some embodiments of the present application, the controller is further configured to:
acquiring a first correction value, and correcting the first data according to the first correction value to obtain corrected first data;
acquiring a second correction value, and correcting the second data according to the second correction value to obtain corrected second data;
and determining the first target detection threshold according to the corrected first data and the corrected second data, wherein the corrected first data is the upper limit of the first target detection threshold, and the corrected second data is the lower limit of the first target detection threshold.
In some embodiments of the present application, the detection threshold adjustable mode includes a second operation mode, and the controller is further configured to:
if the target working mode is detected to be the second working mode, controlling the touch display to display a threshold selection interface;
Responding to touch operation made by a user on the threshold selection interface, and generating a second target detection threshold;
and controlling the touch pen detection device to adjust the detection threshold corresponding to the second working mode to the second target detection threshold.
In some embodiments of the present application, the stylus detection device includes one or more of an infrared detection device and a pressure detection device.
In a second aspect, an embodiment of the present application provides a method for detecting a stylus, where the method includes:
receiving a selection operation made by a user on the touch display;
controlling the stylus detection device to switch from a current working mode to a target working mode corresponding to the selection operation in response to the selection operation, wherein the working modes of the stylus detection device comprise a detection threshold adjustable mode and a detection threshold fixed mode;
and if the detection data collected by the touch pen detection device in the target working mode meets the detection threshold corresponding to the target working mode, determining that the touch pen is placed in the accommodating device.
In some embodiments of the present application, the detection threshold adjustable mode includes a first working mode, and before the detection data collected by the stylus detection device in the target working mode is detected to meet the detection threshold corresponding to the target working mode, determining that the stylus is placed in the accommodating device, the method further includes:
If the target working mode is detected to be the first working mode, controlling the touch display to display first prompt information so as to prompt a user to put a touch pen into the accommodating device;
if the touch control pen is placed in the accommodating device, acquiring first data detected by the touch control pen detecting device;
controlling the touch display to display second prompt information to prompt a user to take out the touch pen from the accommodating device;
if the stylus is taken out of the accommodating device, acquiring second data detected by the stylus detection device;
and determining a first target detection threshold according to the first data and the second data, and controlling the touch pen detection device to adjust the detection threshold corresponding to the first working mode to the first target detection threshold.
In some embodiments of the present application, before the first data detected by the stylus detecting device is acquired if the stylus is placed in the accommodating device, the method further includes:
if the touch display receives the putting confirmation operation made by the user, determining that the touch pen is put into the accommodating device;
before the receiving device is taken out of the stylus pen to obtain the second data detected by the stylus pen detecting device, the method further comprises:
And if the touch display receives the taking-out confirmation operation made by the user, determining that the touch pen is taken out of the accommodating device.
In some embodiments of the present application, the determining a first target detection threshold according to the first data and the second data includes:
acquiring a first correction value, and correcting the first data according to the first correction value to obtain corrected first data;
acquiring a second correction value, and correcting the second data according to the second correction value to obtain corrected second data;
and determining the first target detection threshold according to the corrected first data and the corrected second data, wherein the corrected first data is the upper limit of the first target detection threshold, and the corrected second data is the lower limit of the first target detection threshold.
In some embodiments of the present application, the correcting the first data according to the first correction value to obtain corrected first data includes:
determining a difference between the first data and the first correction value as the corrected first data;
the second data is corrected according to the second correction value, so as to obtain corrected second data, which comprises the following steps:
And determining the sum of the first data and the first correction value as the corrected second data.
In some embodiments of the present application, the stylus detection device includes a pressure detection device, and the method further includes:
if the selection operation of the user on the touch display is not received, controlling the pressure detection device to detect the weight value of the touch pen in the accommodating device;
and if the weight value is not matched with the appointed weight value, controlling the touch control pen detection device to enter the first working mode.
In some embodiments of the present application, the detection threshold adjustable mode includes a second working mode, and before the detection data collected by the stylus detection device in the target working mode is detected to meet the detection threshold corresponding to the target working mode, determining that the stylus is placed in the accommodating device, the method further includes:
if the target working mode is detected to be the second working mode, controlling the touch display to display a threshold selection interface;
responding to touch operation made by a user on the threshold selection interface, and generating a second target detection threshold;
and controlling the touch pen detection device to adjust the detection threshold corresponding to the second working mode to the second target detection threshold.
In a third aspect, embodiments of the present application provide a stylus detection system, where the stylus detection system is applied to a controller in a display device, the display device includes a touch display, a receiving device, and a stylus detection device, and the system includes:
the receiving module is used for receiving selection operation made by a user on the touch display;
the switching module is used for responding to the selection operation and controlling the touch control pen detection device to switch from a current working mode to a target working mode corresponding to the selection operation, wherein the working mode of the touch control pen detection device comprises a detection threshold adjustable mode and a detection threshold fixed mode;
and the detection module is used for determining that the stylus is put into the accommodating device if the detection data acquired by the stylus detection device in the target working mode meets the detection threshold corresponding to the target working mode.
In a fourth aspect, embodiments of the present application provide a stylus detection apparatus, including: a memory and a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to perform the method of the second aspect.
In a fifth aspect, embodiments of the present application provide a computer-readable storage medium having stored therein computer-executable instructions for performing the method according to the second aspect when executed by a processor.
In a sixth aspect, embodiments of the present application provide a computer program product comprising a computer program which, when executed by a processor, implements the method of the second aspect.
The display equipment, the touch pen detection method, the touch pen detection system, the touch pen detection equipment and the storage medium form the display equipment through the touch display, the accommodating device, the touch pen detection device and the controller which is respectively connected with the touch display and the touch pen detection device. Wherein the accommodation device is configured to place the stylus. And a stylus detecting device configured to detect whether the stylus is placed in the accommodating device. The controller is configured to: and receiving a selection operation made by a user on the touch display, and responding to the selection operation, controlling the touch pen detection device to switch from a current working mode to a target working mode corresponding to the selection operation, wherein the working modes of the touch pen detection device comprise a detection threshold adjustable mode and a detection threshold fixed mode. Therefore, the display equipment can select the working mode of the touch control pen detection device according to the requirements of a user, and the detection threshold value of the touch control pen detection device in the detection threshold value adjustable mode is adjustable, so that the user can correct the detection threshold value of the touch control pen detection device by selecting the required working mode, the corrected detection threshold value can be used for accurately judging whether the currently used touch control pen is placed in the accommodating device or not, even if the user replaces different touch control pens, only the detection threshold value needs to be corrected again, the touch control display can be effectively linked with the currently used touch control pen, and the user experience is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the implementation in the related art, a brief description will be given below of the drawings required for the embodiments or the related art descriptions, and it is apparent that the drawings in the following description are some embodiments of the present application, and other drawings may be obtained according to these drawings for those of ordinary skill in the art.
A hardware configuration block diagram of a display device 200 according to some embodiments is exemplarily shown in fig. 1;
a schematic structural diagram of a display device according to some embodiments is exemplarily shown in fig. 2;
an interface schematic diagram of an operating mode selection interface according to some embodiments is shown schematically in FIG. 3;
a schematic diagram of the hardware connection between the stylus detection apparatus and the touch display according to some embodiments is exemplarily shown in fig. 4;
a flow diagram illustrating the operation of a display device according to some embodiments is shown in fig. 5;
a schematic flow chart of a stylus detection method according to some embodiments is exemplarily shown in fig. 6;
a schematic flow chart of a stylus detection method according to other embodiments is exemplarily shown in fig. 7;
An interface schematic diagram of a first interface according to some embodiments is shown schematically in fig. 8;
an interface schematic diagram of a second interface according to some embodiments is shown schematically in fig. 9;
a schematic flow chart according to step 207 in the embodiment of fig. 7 is exemplarily shown in fig. 10;
a schematic flow chart of steps 203A to 203C in the embodiment according to fig. 7 is exemplarily shown in fig. 11;
an interface schematic diagram of a threshold selection interface according to some embodiments is illustrated in fig. 12;
a schematic flow chart of steps 202A to 202B in the embodiment according to fig. 7 is exemplarily shown in fig. 13;
a schematic structural diagram of a stylus detection system 400 according to some embodiments is schematically shown in fig. 14;
a block diagram of a stylus detection apparatus 500 according to some embodiments is illustrated in fig. 15.
Specific embodiments thereof have been shown by way of example in the drawings and will herein be described in more detail. These drawings and the written description are not intended to limit the scope of the inventive concepts in any way, but to illustrate the concepts of the present application to those skilled in the art by reference to specific embodiments.
Detailed Description
For purposes of clarity, embodiments and advantages of the present application, the following description will make clear and complete the exemplary embodiments of the present application, with reference to the accompanying drawings in the exemplary embodiments of the present application, it being apparent that the exemplary embodiments described are only some, but not all, of the examples of the present application.
Based on the exemplary embodiments described herein, all other embodiments that may be obtained by one of ordinary skill in the art without making any inventive effort are within the scope of the claims appended hereto. Furthermore, while the disclosure is presented in the context of an exemplary embodiment or embodiments, it should be appreciated that the various aspects of the disclosure may, separately, comprise a complete embodiment.
It should be noted that the brief description of the terms in the present application is only for convenience in understanding the embodiments described below, and is not intended to limit the embodiments of the present application. Unless otherwise indicated, these terms should be construed in their ordinary and customary meaning.
The terms first, second, third and the like in the description and in the claims and in the above-described figures are used for distinguishing between similar or similar objects or entities and not necessarily for describing a particular sequential or chronological order, unless otherwise indicated (Unless otherwise indicated). It is to be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments of the application are, for example, capable of operation in sequences other than those illustrated or otherwise described herein.
Furthermore, the terms "comprise" and "have," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a product or apparatus that comprises a list of elements is not necessarily limited to those elements expressly listed, but may include other elements not expressly listed or inherent to such product or apparatus.
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 and/or software code that is capable of performing the function associated with that element.
At present, the large touch screen is widely applied to various scenes such as education, conferences and the like, and is matched with a touch pen to derive various intelligent scenes, for example, the touch pen is detected to be picked up to automatically pop up a selection menu, and the large touch screen is used as an entrance of related application, so that the system is flatter and intelligent, and the learning cost of a user is reduced.
In the related art, a manner of detecting whether a stylus is lifted is to provide an infrared detection device in a containing device, and detect whether the stylus is placed in the containing device in an infrared detection manner.
However, the existing infrared detection scheme is greatly affected by structural design, assembly errors of a sensor board card and a structure, passing rate errors of a light guide part, surface roughness of a touch pen, chromatic aberration and other various factors are superimposed, if each product leaves a factory and sets the same trigger threshold (hereinafter referred to as a detection threshold), false triggering and failure of a part of product detection functions can be caused, for example, for the same touch screen, a user replaces different touch pens, whether the touch screen cannot detect the touch pen to be taken up or not can be caused, and the screen cannot make corresponding, so that user experience is reduced.
In view of this, the embodiments of the present application provide a display device, a method, a system, a device and a storage medium for detecting a stylus, which aim to solve the above technical problems of the related art, and enable a user to correct a detection threshold of a stylus detection device according to different used styluses, thereby improving detection accuracy and user experience of different styluses.
A hardware configuration block diagram of the display device 200 in accordance with an exemplary embodiment is illustrated in fig. 1.
In some embodiments, at least one of the controller 250, the modem 210, the communicator 220, the detector 230, the input/output interface 255, the display 275, the audio output interface 285, the memory 260, the power supply 290, the user interface 265, and the external device interface 240 is included in the display apparatus 200.
In some embodiments, the display 275 is configured to receive image signals from the first processor output, and to display video content and images and components of the menu manipulation interface. Among other things, display 275 may include a touch display.
In some embodiments, display 275 includes a display screen assembly for presenting pictures, and a drive assembly for driving the display of images.
In some embodiments, the video content is displayed from broadcast television content, or alternatively, from various broadcast signals that may be received via a wired or wireless communication protocol. Alternatively, various image contents received from the network server side transmitted from the network communication protocol may be displayed.
In some embodiments, the display 275 is used to present a user-manipulated UI interface generated in the display device 200 and used to control the display device 200.
In some embodiments, depending on the type of display 275, a drive assembly for driving the display is also included.
In some embodiments, display 275 is a projection display and may further include a projection device and a projection screen.
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, or other network communication protocol chip or a near field communication protocol chip, and an infrared receiver.
In some embodiments, the display device 200 may establish control signal and data signal transmission and reception between the communicator 220 and an external control device or a content providing device.
In some embodiments, the user interface 265 may be used to receive infrared control signals from a control device (e.g., an infrared remote control, etc.).
In some embodiments, the detector 230 is a signal that the display device 200 uses to capture or interact with the external environment.
In some embodiments, the detector 230 includes an optical receiver, a sensor for capturing the intensity of ambient light, a parameter change may be adaptively displayed by capturing ambient light, etc.
In some embodiments, the detector 230 may further include an image collector, such as a camera, a video camera, etc., which may be used to collect external environmental scenes, collect attributes of a user or interact with a user, adaptively change display parameters, and recognize a user gesture to realize an interaction function with the user.
In some embodiments, the detector 230 may also include a temperature sensor or the like, such as by sensing ambient temperature.
In some embodiments, the display device 200 may adaptively adjust the display color temperature of the image. The display device 200 may be adjusted to display a colder color temperature shade of the image, such as when the temperature is higher, or the display device 200 may be adjusted to display a warmer color shade of the image when the temperature is lower.
In some embodiments, the detector 230 may also be a sound collector or the like, such as a microphone, that may be used to receive the user's sound. Illustratively, a voice signal including a control instruction for a user to control the display apparatus 200, or an acquisition environmental sound is used to recognize an environmental scene type so that the display apparatus 200 can adapt to environmental noise.
In some embodiments, the detector 230 may also be a stylus detection device for detecting whether the stylus is in the stylus-containing device.
In some embodiments, as shown in fig. 1, the input/output interface 255 is configured to enable data transfer between the controller 250 and external other devices or other controllers 250. Such as receiving video signal data and audio signal data of an external device, command instruction data, or the like.
In some embodiments, external device interface 240 may include, but is not limited to, the following: any one or more interfaces 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, and the like can be used. The plurality of interfaces may form a composite input/output interface.
In some embodiments, as shown in fig. 1, the modem 210 is configured to receive the broadcast television signal by a wired or wireless receiving manner, and may perform modulation and demodulation processes such as amplification, mixing, and resonance, and demodulate the audio/video signal from a plurality of wireless or wired broadcast television signals, where the audio/video signal may include a television audio/video signal carried in a television channel frequency selected by a user, and an EPG data signal.
In some embodiments, the frequency point demodulated by the modem 210 is controlled by the controller 250, and the controller 250 may send a control signal according to the user selection, so that the modem responds to the television signal frequency selected by the user and modulates and demodulates the television signal carried by the frequency.
In some embodiments, the broadcast television signal may be classified into a terrestrial broadcast signal, a cable broadcast signal, a satellite broadcast signal, an internet broadcast signal, or the like according to a broadcasting system of the television signal. Or may be differentiated into digital modulation signals, analog modulation signals, etc., depending on the type of modulation. Or it may be classified into digital signals, analog signals, etc. according to the kind of signals.
In some embodiments, the controller 250 and the modem 210 may be located in separate devices, i.e., the modem 210 may also be located in an external device to the main device in which the controller 250 is located, such as an external set-top box or the like. In this way, the set-top box outputs the television audio and video signals modulated and demodulated by the received broadcast television signals to the main body equipment, and the main body equipment receives the audio and video signals through the first input/output interface.
In some embodiments, the controller 250 controls the operation of the display device and responds to user operations through various software control programs stored on the memory. The controller 250 may control the overall operation of the display apparatus 200. For example: in response to receiving a user command to select to display a UI object on the display 275, the controller 250 may perform an operation related to the object selected by the user command.
In some embodiments, the object may be any one of selectable objects, such as a hyperlink or an icon. Operations related to the selected object, such as: displaying an operation of connecting to a hyperlink page, a document, an image, or the like, or executing an operation of a program corresponding to the icon. The user command for selecting the UI object may be an input command through various input means (e.g., mouse, keyboard, touch pad, etc.) connected to the display device 200 or a voice command corresponding to a voice uttered by the user.
As shown in fig. 1, the controller 250 includes at least one of a random access Memory 251 (Random Access Memory, RAM), a Read-Only Memory 252 (ROM), a video processor 270, an audio processor 280, other processors 253 (e.g., a graphics processor (Graphics Processing Unit, GPU), a central processing unit 254 (Central Processing Unit, CPU), a communication interface (Communication Interface), and a communication Bus 256 (Bus), which connects the respective components.
In some embodiments, RAM 251 is used to store temporary data for the operating system or other on-the-fly programs
In some embodiments, ROM 252 is used to store instructions for various system boots.
In some embodiments, ROM 252 is used to store a basic input output system, referred to as a basic input output system (Basic Input Output System, BIOS). The system comprises a drive program and a boot operating system, wherein the drive program is used for completing power-on self-checking of the system, initialization of each functional module in the system and basic input/output of the system.
In some embodiments, upon receipt of the power-on signal, the display device 200 power starts up, the CPU runs system boot instructions in the ROM 252, copies temporary data of the operating system stored in memory into the RAM 251, in order to start up or run the operating system. When the operating system is started, the CPU copies temporary data of various applications in the memory to the RAM 251, and then, facilitates starting or running of the various applications.
In some embodiments, CPU processor 254 is used to execute operating system and application program instructions stored in memory. And executing various application programs, data and contents according to various interactive instructions received from the outside, so as to finally display and play various audio and video contents.
In some exemplary embodiments, the CPU processor 254 may comprise a plurality of processors. The plurality of processors may include one main processor and one or more sub-processors. A main processor for performing some operations of the display apparatus 200 in the pre-power-up mode and/or displaying a picture in the normal mode. One or more sub-processors for one operation in a standby mode or the like.
In some embodiments, the graphics processor 253 is configured to generate various graphical objects, such as: icons, operation menus, user input instruction display graphics, and the like. The device comprises an arithmetic unit, wherein the arithmetic unit is used for receiving various interaction instructions input by a user to carry out operation and displaying various objects according to display attributes. And a renderer for rendering the various objects obtained by the arithmetic unit, wherein the rendered objects are used for being displayed on a display.
In some embodiments, video processor 270 is configured to receive external video signals, perform video processing such as decompression, decoding, scaling, noise reduction, frame rate conversion, resolution conversion, image composition, etc., according to standard codec protocols for input signals, and may result in signals that are displayed or played on directly displayable device 200.
In some embodiments, video processor 270 includes a demultiplexing module, a video decoding module, an image compositing module, a frame rate conversion module, a display formatting module, and the like.
The demultiplexing module is used for demultiplexing the input audio/video data stream, such as the input MPEG-2, and demultiplexes the input audio/video data stream into video signals, audio signals and the like.
And the video decoding module is used for processing the demultiplexed video signals, including decoding, scaling and the like.
And an image synthesis module, such as an image synthesizer, for performing superposition mixing processing on the graphic generator and the video image after the scaling processing according to the GUI signal input by the user or generated by the graphic generator, so as to generate an image signal for display.
The frame rate conversion module is configured to convert the input video frame rate, for example, converting the 60Hz frame rate into the 120Hz frame rate or the 240Hz frame rate, and the common format is implemented in an inserting frame manner.
The display format module is used for converting the received frame rate into a video output signal, and changing the video output signal to a signal conforming to the display format, such as outputting an RGB data signal.
In some embodiments, the graphics processor 253 may be integrated with the video processor, or may be separately configured, where the integrated configuration may perform processing of graphics signals output to the display, and the separate configuration may perform different functions, such as gpu+ FRC (Frame Rate Conversion)) architecture, respectively.
In some embodiments, the audio processor 280 is configured to receive an external audio signal, decompress and decode the audio signal according to a standard codec protocol of an input signal, and perform noise reduction, digital-to-analog conversion, and amplification processing, so as to obtain a sound signal that can be played in a speaker.
In some embodiments, video processor 270 may include one or more chips. The audio processor may also comprise one or more chips.
In some embodiments, video processor 270 and audio processor 280 may be separate chips or may be integrated together with the controller in one or more chips.
In some embodiments, the audio output, under the control of the controller 250, receives sound signals output by the audio processor 280, such as: the speaker 286, and an external sound output terminal that can be output to a generating device of an external device, other than the speaker carried by the display device 200 itself, such as: external sound interface or earphone interface, etc. can also include the close range communication module in the communication interface, for example: and the Bluetooth module is used for outputting sound of the Bluetooth loudspeaker.
The power supply 290 supplies power input from an external power source to the display device 200 under the control of the controller 250. The power supply 290 may include a built-in power circuit installed inside the display device 200, or may be an external power source installed in the display device 200, and a power interface for providing an external power source in the display device 200.
The user interface 265 is used to receive an input signal from a user and then transmit the received user input signal 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.
In some embodiments, a user inputs a user command through a control device or a mobile terminal, the user input interface is responsive to user input through the controller 250, and the display apparatus 200 is responsive to user input.
In some embodiments, a user may input a user command through a Graphical User Interface (GUI) displayed on the display 275, and the user input interface receives the user input command through the Graphical User Interface (GUI). Alternatively, the user may input the user command by inputting a specific sound or gesture, and the user input interface recognizes the sound or gesture through the sensor to receive the user input command.
In some embodiments, a "user interface" is a media interface for interaction and exchange of information between an application or operating system and a user that enables conversion between an internal form of information and a form acceptable to the user. A commonly used presentation form of the user interface is a graphical user interface (Graphic User Interface, GUI), which refers to a user interface related to computer operations that is displayed in a graphical manner. It may be an interface element such as an icon, a window, a control, etc. displayed in a display screen of the electronic device, where the control may include a visual interface element such as an icon, a button, a menu, a tab, a text box, a dialog box, a status bar, a navigation bar, a Widget, etc.
The memory 260 includes memory storing various software modules for driving the display device 200. Such as: various software modules stored in the first memory, including: at least one of a base module, a detection module, a communication module, a display control module, a browser module, various service modules, and the like.
The base module is a bottom software module for signal communication between the various hardware in the display device 200 and for sending processing and control signals to the upper modules. The detection module is used for collecting various information from various sensors or user input interfaces and carrying out digital-to-analog conversion and analysis management.
For example, the voice recognition module includes a voice analysis module and a voice instruction database module. The display control module is used for controlling the display to display the image content, and can be used for playing the multimedia image content, the UI interface and other information. And the communication module is used for carrying out control and data communication with external equipment. And the browser module is used for executing data communication between the browsing servers. And the service module is used for providing various services and various application programs. Meanwhile, the memory 260 also stores received external data and user data, images of various items in various user interfaces, visual effect maps of focus objects, and the like.
A display device according to an embodiment is exemplarily shown in fig. 2, which may include, as shown in fig. 2: a touch display 2571, a receiving device 232, a stylus detecting device 231, and a controller (not shown) connected to the touch display 2571 and the stylus detecting device 231, respectively. Wherein:
the touch display 2571 is configured to display an image, and to receive a user operation on an interface displayed by the touch display 2571. In some embodiments, touch display 2571 may be a touch-sensitive large screen.
A receiving device 232 configured to receive a stylus. Optionally, the receiving means 232 includes a pen slot, may also be a magnetic attraction means, or the like.
In some embodiments, the receiving device 232 may be disposed on the touch display 2571 (e.g., on a bottom, a side wall, a back, etc. of the touch display 2571), or may not be disposed on the touch display 2571, which is not limited herein.
The stylus detecting means 231 is configured to detect whether the stylus is placed in the accommodating means 232.
In some embodiments, the stylus detection device 231 includes one or more of an infrared detection device and a pressure detection device. Specifically, the stylus detecting device 231 may be provided in the accommodating device 232.
The controller is configured to: a selection operation made by the user on the touch display 2571 is received. In response to the selection operation, the stylus detection apparatus 231 is controlled to switch from the current operation mode to the target operation mode corresponding to the selection operation
In some embodiments, the touch display 2571 may display an interface for selecting an operation mode of the stylus detecting device 231, on which a user may make a selection operation to select an operation mode desired by the user. The controller of the touch display 2571 may receive the selection operation, generate a control instruction for the stylus detection apparatus 231 in response to the selection operation, and transmit the control instruction to the stylus detection apparatus 231 to instruct the stylus detection apparatus 231 to switch from the current operation mode to the target operation mode corresponding to the selection operation. For example, when the user clicks a normal operation mode selected from the threshold correction operation mode (i.e., the detection threshold adjustable mode) and the normal operation mode (i.e., the detection threshold fixed mode) displayed on the interface as shown in fig. 3, the controller may control the stylus detecting device 231 to switch to the normal operation mode.
The stylus detecting device 231 may include a plurality of operation modes (e.g., a normal operation mode, a threshold correction operation mode, etc.), and the detection threshold of the stylus detecting device 231 in different operation modes may be different. The detection threshold of the stylus detection device 231 in the normal working mode is an initial detection threshold set by a factory. The detection threshold of the stylus detection device 231 in the threshold correction operation mode can be adjusted and corrected by the user.
The detection threshold is an index for determining whether the stylus is placed in the accommodating device 232, for example, the stylus detecting device 231 is an infrared detecting device, and the detection threshold includes an infrared light intensity value upper limit and an infrared light intensity value lower limit, and if the infrared light intensity value detected by the infrared detecting device is greater than the infrared light intensity value upper limit, it indicates that the stylus has been placed in the accommodating device 232, and if the infrared light intensity value detected by the infrared detecting device is less than the infrared light intensity value lower limit, it indicates that the stylus has been taken out of the accommodating device 232.
In some embodiments, the user's selection operations include, but are not limited to: single click, double click, long press, sliding, etc.
In some embodiments, the display device further includes a remote controller, and the user's selection operation further includes an operation of selecting an option displayed on the touch display 2571 through the remote controller by the user.
Where a remote control means a component of a display device, the electronic device can be controlled, typically wirelessly, over a short distance. Typically, the electronic device is connected to the electronic device using infrared and/or Radio Frequency (RF) signals and/or bluetooth, and may also include functional modules such as WiFi, wireless USB, bluetooth, motion sensors, etc. For example: the hand-held touch remote controller replaces most of the physical built-in hard keys in a general remote control device with a user interface in a touch display 2571.
In some embodiments, as shown in FIG. 4, the stylus detection apparatus 231 may include a micro control unit (Microcontroller Unit; MCU) and a SENSOR (SENSOR) between which communication may be established via an I2C bus. The controller of the touch display 2571 may include a System On Chip (SOC). The SOC may be electrically connected to the MCU through a General-purpose input/output (GPIO) port, and specifically, the GPIO port of the SOC may include GPIO1 (hereinafter referred to as IO 1) and GPIO2 (hereinafter referred to as IO 2), and the MCU may also include one GPIO1 and one GPIO2. The GPIO1 of the SOC is configured as an output port of the SOC, the GPIO1 of the MCU is configured as an input port of the SOC, and the GPIO1 of the SOC is connected with the GPIO1 of the MCU. The GPIO2 of the SOC is configured as an input port of the SOC, the GPIO2 of the MCU is configured as an output port of the SOC, and the GPIO2 of the SOC is connected with the GPIO2 of the MCU.
In some embodiments, the touch display 2571 may display a user setup menu interface in which a user may select an operation mode of the stylus detection apparatus 231, for example, the operation mode may include a normal operation mode and a threshold correction mode. The user may select one of the normal operation mode and the threshold correction mode at the user setting menu interface, and the SOC may configure the voltage of the IO port to be high or low according to the option of the user setting menu interface, and thereafter, the MCU reads the voltage of the IO port by polling and interrupting, and determines that the stylus detection device 231 enters the normal operation mode or the threshold correction operation mode according to the voltage of the IO port.
After the operation mode of the stylus detecting device 231 is determined, that is, after the detection threshold of the stylus detecting device 231 is determined, the MCU may read the infrared light intensity value of the SENSOR and compare with the detection threshold, where the detection threshold includes an upper limit and a lower limit, two states including an upper limit (indicating that the stylus has been placed in the accommodating device 232) greater than the detection threshold and a lower limit (indicating that the stylus has been taken out of the accommodating device 232) less than the detection threshold are configured to be high or low, and the SOC determines whether the stylus is placed in the accommodating device 232 by polling or interrupting the reading of the voltage change of the IO port.
In addition, communication is performed between MCU and SENSOR through I2C. After the system is powered on each time, the MCU configures a register of the SENSOR through the I2C bus, initializes the register, and sets an initial detection threshold value. After the initialization of the SENSOR is completed, the MCU reads the data acquired by the SENSOR through the I2C interface.
It can be seen that in the present embodiment, the display device is formed by the touch display 2571, the accommodating device 232, the stylus detecting device 231, and the controller respectively connected to the touch display 2571 and the stylus detecting device 231. Wherein the receiving means 232 is configured to receive a stylus. The stylus detecting means 231 is configured to detect whether the stylus is placed in the accommodating means 232. The controller is configured to: receiving a selection operation made by a user on the touch display 2571, and controlling the stylus detection apparatus 231 to switch from a current operation mode to a target operation mode corresponding to the selection operation in response to the selection operation, wherein the operation modes of the stylus detection apparatus 231 include a detection threshold adjustable mode and a detection threshold fixed mode. Therefore, the display device can select the working mode of the stylus detection device 231 according to the requirements of the user, so that the user can correct the detection threshold value of the stylus detection device 231 by selecting the required working mode, the corrected detection threshold value can be used for accurately judging whether the currently used stylus is placed in the accommodating device 232, even if the user replaces different styluses, only the detection threshold value needs to be corrected again, the touch display 2571 can be effectively linked with the currently used stylus, and the user experience is improved.
In some embodiments, the controller is further configured to: if the target operation mode is detected to be the first operation mode, the touch display 2571 is controlled to display the first prompting information to prompt the user to put the stylus into the accommodating device 232. If the stylus is put into the accommodating device 232, the first data detected by the stylus detecting device 231 is acquired. The touch display 2571 is controlled to display a second prompt message to prompt the user to take the stylus out of the accommodating device 232. If the stylus is taken out of the accommodating device 232, the second data detected by the stylus detecting device 231 is acquired. The first target detection threshold is determined according to the first data and the second data, and the stylus detection device 231 is controlled to adjust the detection threshold corresponding to the first working mode to the first target detection threshold.
Taking an infrared detection device as an example of the stylus detection device 231, the operation of the display apparatus is as shown in fig. 5:
first, the stylus detecting device 231 is powered on with the touch display 2571, and the MCU initializes the SENSOR register value and sets an initial detection threshold.
Next, the host software of the touch display 2571 decides whether to enter the normal operation mode or the threshold correction mode according to the current option of the user menu, and configures the voltage of IO1 to be high or low accordingly, for example, the high level enters the normal mode, and the low level enters the threshold correction mode.
When the MCU detects that the voltage of IO1 is at a high level, the MCU program works in a normal detection mode, circularly reads the real-time register value of the intensity value of the SENSOR infrared light, compares the real-time register value with a set threshold value, and configures the voltage of IO2 according to a comparison result.
When the MCU detects that the voltage of IO1 is at a low level, the MCU program works in a threshold correction mode, and at the moment, the UI interface of the touch display 2571 pops up prompt information to be operated by a user. Firstly, the user is prompted not to place the touch pen, under the condition that the touch pen is not placed is detected, the infrared light intensity value detected by the SENSOR is set as second data, after the touch pen is completed, the user is prompted to place the touch pen in the accommodating device 232, the SENSOR detects the infrared light intensity again, and the infrared light intensity value detected currently is set as first data. And then taking the first data as the upper limit of the first target detection threshold and the second data as the lower limit of the first target detection threshold, thereby completing the setting of the first target detection threshold, and then automatically entering a first working mode by the MCU, and detecting through the detection threshold in the first working mode.
Finally, the SOC detects the voltage of IO2 of the MCU to determine whether the stylus is placed in the accommodating device 232, for example, if the voltage of IO2 is at a low level, it is determined that the stylus is not detected in the accommodating device 232, and if the voltage of IO2 is at a high level, it is determined that the stylus is already placed in the accommodating device 232.
In some embodiments, the controller is further configured to: and acquiring a first correction value, and correcting the first data according to the first correction value to obtain corrected first data. And acquiring a second correction value, and correcting the second data according to the second correction value to obtain corrected second data. And determining a first target detection threshold according to the corrected first data and the corrected second data, wherein the corrected first data is the upper limit of the first target detection threshold, and the corrected second data is the lower limit of the first target detection threshold.
The first correction value may be a fixed value set by a user according to experience, and stored in a memory of the touch display 2571, and the controller may call the first correction value from the memory, and then correct the first data according to the first correction value, to obtain corrected first data. Similarly, the second data may be corrected according to the correction method of the first data.
In some embodiments, the controller is further configured to: if the target working mode is detected to be the second working mode, controlling the touch display 2571 to display a threshold selection interface; responding to touch operation made by a user on a threshold selection interface, and generating a second target detection threshold; the stylus detection means 231 is controlled to adjust the detection threshold corresponding to the second operation mode to a second target detection threshold.
For example, the threshold selection interface may include a plurality of detection threshold options, the user may obtain a detection threshold corresponding to the options by selecting the detection threshold options, if the user's touch operation is a touch operation performed by the user at the threshold selection interface, the controller may determine the detection threshold selected by the user as the second target detection threshold, and then the controller may control the stylus detection device 231 to adjust the detection threshold corresponding to the second operation mode to the second target detection threshold.
Fig. 6 exemplarily illustrates a method for detecting a stylus according to an embodiment, which may be applied to the display device of the above embodiment, and in particular, may be applied to a controller in the display device, that is, an execution subject of the method is a controller, and the method may include:
101. a selection operation made by a user on the touch display is received.
In some embodiments, after the touch display is powered on, a working mode selection interface for the touch pen detection device may be displayed, where the working mode selection interface may display option icons corresponding to different working modes, a user may select a required working mode by clicking the option icons on the working mode selection interface, and the controller may receive the option icons of the electrode of the user on the touch display, so as to obtain a selection operation result of the user.
102. In response to the selection operation, controlling the stylus detection device to switch from a current operation mode to a target operation mode corresponding to the selection operation, wherein the operation modes of the stylus detection device include a detection threshold adjustable mode and a detection threshold fixed mode.
In some embodiments, after receiving the selection operation of the user, the controller may generate a corresponding control instruction according to the selection result, and send the control instruction to the stylus detection device, so as to control the stylus detection device to switch to the target working mode corresponding to the control instruction. For example, the operation modes of the stylus detection device include a detection threshold adjustable mode and a detection threshold fixed mode, wherein the detection threshold adjustable mode includes: and if the controller receives the selection operation of selecting the fixed detection threshold mode by the user, the fixed detection threshold mode can be determined as the target working mode, and the touch pen detection device is controlled to be switched from the current working mode to the fixed detection threshold mode, so that the detection threshold of the touch pen detection device is adjusted. If the current working state of the touch pen detection device is the detection threshold fixed mode, the current working mode can be maintained. The first working mode and the second working mode can be threshold correction modes, the detection threshold fixing mode can be a normal working mode, and the detection threshold of the touch pen in the normal working mode is an initial threshold, namely a threshold set by a factory. If the user selects the detection threshold adjustable mode, the user can adjust the detection threshold of the touch control pen detection device in the mode.
In some embodiments, the detection threshold may be a value or a range, and may specifically depend on the stylus detection device used, which is not limited herein. For example, if the stylus detection device is a pressure detection device, the detection threshold may be a pressure threshold. If the stylus detection device is an infrared detection device, the detection threshold may be a specified range of infrared light intensity values.
103. If the detection data collected by the touch pen detection device in the target working mode meets the detection threshold corresponding to the target working mode, determining that the touch pen is put into the accommodating device.
In some embodiments, when the pressure detection device is used as the stylus detection device, the detection threshold may be a pressure threshold, at this time, the controller may detect whether pressure data collected by the stylus detection device in the target working mode is greater than a pressure threshold corresponding to the target working mode, and if the pressure data is greater than or equal to the pressure threshold, may determine that the detection data meets the detection threshold corresponding to the target working mode, and determine that the stylus is placed into the accommodating device. If the pressure data is less than the pressure threshold, it may be determined that the stylus is being removed from the containment device.
In other embodiments, when a pressure detection device is used as the stylus detection device, the detection threshold may be a range of infrared light intensity values that includes an upper infrared light intensity value limit and a lower infrared light intensity value limit. If the controller detects that the infrared light intensity value acquired by the touch control pen detection device in the target working mode is smaller than the lower limit of the infrared light intensity value corresponding to the target working mode, the detection data can be determined to meet the detection threshold corresponding to the target working mode, and the touch control pen is determined to be placed into the accommodating device. If the infrared light intensity value is greater than the upper limit of the infrared light intensity value, the stylus can be determined to be taken out of the accommodating device.
It can be seen that, in this embodiment, by receiving a selection operation made by the user on the touch display; in response to the selection operation, the touch pen detection device is controlled to switch from a current working mode to a target working mode corresponding to the selection operation, wherein the working mode of the touch pen detection device comprises a detection threshold adjustable mode and a detection threshold fixed mode, so that a user can conveniently adjust the working mode of the touch pen detection device according to the requirement of the user through the touch display, and further adjust the detection threshold of the touch pen detection device. If the detection data collected by the touch pen detection device in the target working mode meets the detection threshold corresponding to the target working mode, determining that the touch pen is put into the accommodating device. Because the detection threshold is corrected according to the requirement of the user, for example, the user replaces the touch pen and adjusts the detection threshold to be suitable for the replaced touch pen, the adjusted touch pen detection device can accurately detect whether the touch pen currently used by the user is put into the accommodating device or not, effective linkage of the touch pen and the touch pen is ensured, and user experience is improved.
For more specific embodiments of steps 101 to 103, reference may be made to the working process of the display device in the above embodiment, so that details are not repeated here.
Fig. 7 exemplarily illustrates a method for detecting a stylus according to an embodiment, which may be applied to the display device of the above embodiment, and in particular, may be applied to a controller in the display device, that is, an execution subject of the method is a controller, and the method may include:
201. a selection operation made by a user on the touch display is received.
202. In response to the selection operation, controlling the stylus detection device to switch from a current operation mode to a target operation mode corresponding to the selection operation, wherein the operation modes of the stylus detection device include a detection threshold adjustable mode and a detection threshold fixed mode.
The specific embodiments of step 201 to step 202 can refer to step 101 to step 102, and are not described herein.
203. And if the target working mode is detected to be the first working mode, controlling the touch display to display first prompt information so as to prompt a user to put the touch pen into the accommodating device.
The touch pen detection device has a detection threshold correction function in a first working mode, and a user can correct the detection threshold of the touch pen detection device through the detection threshold correction function and take the corrected threshold as the detection threshold of the touch pen detection device in the first working mode.
In an example, if the controller detects that the stylus detecting device enters the first working mode, the controller may control the touch display to display a first interface, where the first interface includes first prompt information, and the first prompt information may be information for prompting the user to put the stylus into the accommodating device, as shown in fig. 8, a text "please put the stylus into the accommodating device" may be displayed on the first interface of the touch display. In some embodiments, the first prompt may be video, still picture, moving picture, etc. in addition to text.
In another example, the touch display is configured with an audio output device, and the first prompt information may be output through the audio output device, that is, the touch display may play the first prompt information in voice.
204. And if the stylus is put into the accommodating device, acquiring the first data detected by the stylus detection device.
When the stylus is put into the accommodating device, the controller can control the stylus detecting device to detect, and the data currently detected by the stylus detecting device is used as first data and stored.
In some embodiments, prior to step 204, further comprising: and if the touch display receives the putting confirmation operation made by the user, determining that the touch pen is put into the accommodating device.
For example, referring to fig. 8 again, an option icon for "confirming placement of the stylus" may be displayed on the first interface of the touch display, and if the touch display receives a click operation of the user at the option icon for "confirming placement of the stylus", it may be determined that the touch display receives a placement confirmation operation made by the user, and determines that the stylus is placed in the accommodating device.
In some embodiments, if the touch display receives valid data that is not detected by the stylus detection device within a specified period of time after the user makes the placement confirmation operation, for example, the stylus detection device does not detect the data or the detected data is not within a preset valid range value, the controller may control the touch display to display information for reminding the user that the stylus is not placed into the accommodating device normally on the first interface, and the first interface may also display text information of "that the stylus is not placed into the accommodating device normally and that the stylus is to be placed again".
205. And controlling the touch display to display second prompt information so as to prompt the user to take the touch pen out of the accommodating device.
In some embodiments, after the first data is collected and stored, the controller may control the touch display to display a second interface, where the second interface includes second prompting information, where the second prompting information is used to prompt the user to take the stylus out of the accommodating device, as shown in fig. 9, a text "please take the stylus out of the accommodating device" may be displayed on the second interface of the touch display.
206. And if the stylus is taken out of the accommodating device, acquiring second data detected by the stylus detecting device.
When the stylus is taken out of the accommodating device, the controller can control the stylus detecting device to detect, and the data currently detected by the stylus detecting device is used as second data and stored.
In some embodiments, prior to step 206, further comprising: and if the touch display receives the taking-out confirmation operation made by the user, determining that the touch pen is taken out of the accommodating device.
For example, referring to fig. 9 again, an option icon of "confirm take-out stylus" may be further displayed on the first interface of the touch display, and if the touch display receives a click operation of the user at the option icon of "confirm take-out stylus", it may be determined that the touch display receives a take-out confirmation operation made by the user, and it is determined that the stylus is taken out of the accommodating device.
In this embodiment, if the touch display receives the put-in confirmation operation made by the user, it is determined that the touch pen is put into the accommodating device, and if the touch display receives the take-out confirmation operation made by the user, it is determined that the touch pen is taken out of the accommodating device, so that whether the touch pen is placed in the accommodating device can be accurately determined, and accuracy of data acquired by the touch pen detecting device in two states of taking out the accommodating device and putting in the accommodating device by the touch pen is effectively improved.
207. And determining a first target detection threshold according to the first data and the second data, and controlling the touch pen detection device to adjust the detection threshold corresponding to the first working mode to the first target detection threshold.
For example, taking the case that the infrared detection device is a stylus detection device, the first data and the second data are both infrared light intensity values, the first target detection threshold may be a range value, and the controller may determine the first data as an upper limit of the first target detection threshold and the second data as a lower limit of the first target detection threshold, thereby obtaining the first target detection threshold.
In some embodiments, as shown in fig. 10, step 207 may include:
2071. and acquiring a first correction value, and correcting the first data according to the first correction value to obtain corrected first data.
As an example, the first correction value may be a fixed value empirically set by a user and stored in a memory of the touch display, and the controller may call the first correction value from the memory and then correct the first data according to the first correction value to obtain corrected first data.
As another example, the first correction value may be determined according to the first data, specifically, a preset ratio set by a user according to experience may be stored in the memory, and the controller may call the preset ratio from the memory, calculate a product of the preset ratio and the first data, and then use the product of the preset ratio and the first data as the first correction value.
In some embodiments, the specific implementation of step 2071 may comprise: the difference between the first data and the first correction value is determined as corrected first data.
2072. And acquiring a second correction value, and correcting the second data according to the second correction value to obtain corrected second data.
The specific embodiment of step 2072 may refer to the modification of the first data in step 2071, and will not be described herein.
In some embodiments, the specific implementation of step 2072 may comprise: and determining the sum of the first data and the first correction value as corrected second data.
2073. And determining a first target detection threshold according to the corrected first data and the corrected second data, wherein the corrected first data is the upper limit of the first target detection threshold, and the corrected second data is the lower limit of the first target detection threshold.
In view of that the first data and the second data are obtained in one detection, the reliability is not high, and in this embodiment, the corrected first data is obtained by acquiring the first correction value and correcting the first data according to the first correction value. And obtaining a second correction value, and correcting the second data according to the second correction value to obtain corrected second data. And then determining a first target detection threshold according to the corrected first data and the corrected second data, wherein the corrected first data is the upper limit of the first target detection threshold, and the corrected second data is the lower limit of the first target detection threshold, so that the difficulty of judging whether the stylus is placed in the accommodating device or not by the stylus detection device is reduced, and the detection efficiency of the stylus detection device is improved.
In some embodiments, as shown in fig. 11, the method further comprises:
203A, if the target working mode is detected to be the second working mode, controlling the touch display to display a threshold selection interface.
When the controller detects that the stylus detecting device enters the second working mode, the controller can control the touch display to display a threshold selection interface, as shown in fig. 12, the threshold selection interface can comprise a threshold input box, and a virtual keyboard, and a user can input a detection threshold needed by the user into the threshold input box through the virtual keyboard.
As another example, the threshold selection interface may also include a stylus size input box into which a user may enter a numerical value via a virtual keyboard, and the controller may then translate the stylus size into a corresponding detection threshold.
As yet another example, the threshold selection interface may include a plurality of detection threshold options, and the user may obtain a detection threshold corresponding to the option by selecting the detection threshold option.
203B, responding to touch operation made by the user on the threshold selection interface, and generating a second target detection threshold.
For example, if the user's touch operation is inputting a value in the threshold input box and clicking the confirm icon, the controller may generate the second target detection threshold in response to the user's touch operation at the threshold selection interface, i.e., determine the value in the threshold input box as the second target detection threshold.
203C, controlling the stylus detection device to adjust the detection threshold corresponding to the second working mode to a second target detection threshold.
In this embodiment, if the target working mode is detected to be the second working mode, the touch display is controlled to display a threshold selection interface, a second target detection threshold is generated in response to a touch operation made by a user on the threshold selection interface, and then the stylus detection device is controlled to adjust the detection threshold corresponding to the second working mode to the second target detection threshold, so that the user can conveniently perform user-defined setting on the detection threshold of the stylus detection device.
208. If the detection data collected by the touch pen detection device in the target working mode meets the detection threshold corresponding to the target working mode, determining that the touch pen is put into the accommodating device.
The specific embodiment of step 208 may refer to step 103, and thus is not described herein.
In this embodiment, when the detection threshold of the stylus detection device is selected to be corrected, the user is guided to complete the detection threshold correction process of the stylus detection device by controlling the touch display to display prompt information, so that the difficulty of correcting the detection threshold of the stylus detection device by the user can be reduced, and the correction efficiency is improved.
In some embodiments, the stylus detection apparatus includes a pressure detection apparatus, as shown in fig. 13, the method further comprising:
202A, if the selection operation made by the user on the touch display is not received, controlling the pressure detection device to detect the weight value of the touch pen in the accommodating device.
For example, if the selection operation made by the user on the touch display is not received within a certain period of time after the touch display is powered on, the pressure detection device is controlled to detect the weight value of the touch pen in the accommodating device.
202B, if the weight value is not matched with the specified weight value, controlling the touch control pen detection device to enter a first working mode.
The designated weight may be the same as the weight value of the original stylus of the touch display, and may be stored in the memory of the touch display in advance, and may be recalled from the memory by the controller.
For example, if the controller detects that the weight value is inconsistent with the specified weight value, it may determine that the weight value does not match the specified weight value and control the stylus detection apparatus to enter the first operation mode.
In another example, if the controller detects that the absolute value of the difference between the weight value and the specified weight value is greater than the preset value, it may be determined that the weight value does not match the specified weight value, and the stylus detection device is controlled to enter the first operation mode.
In some embodiments, steps 202A-202B may be performed prior to step 203.
Considering that if the weights of the currently used stylus and the original stylus of the touch display are not matched, it is likely that the user has replaced the stylus, then there is a great probability that there is a deviation when the stylus detection device detects the replaced stylus, in this embodiment, by detecting that the weight value of the stylus in the accommodating device is detected if the selection operation made by the user on the touch display is not received, and when the weight value is not matched with the specified weight value, the stylus detection device is controlled to enter the first operation mode, so that the user can automatically switch to the first operation mode when the stylus is replaced, so that the user can directly correct the detection threshold value of the stylus detection device, and the correction efficiency is improved.
A stylus detection system 400 according to an embodiment is exemplarily shown in fig. 14, the stylus detection system 400 being applied to a controller in a display device in the above embodiment, the display device including a touch display, a receiving device, and a stylus detection device, the system 400 including:
the receiving module 410 is configured to receive a selection operation made by a user on the touch display.
And a switching module 420, configured to control the stylus detection device to switch from the current operation mode to a target operation mode corresponding to the selection operation in response to the selection operation, where the operation modes of the stylus detection device include a detection threshold adjustable mode and a detection threshold fixed mode.
And the detection module 430 is configured to determine that the stylus is placed in the accommodating device if it is detected that the detection data collected by the stylus detection device in the target working mode meets the detection threshold corresponding to the target working mode.
In some embodiments, the detection threshold adjustable mode includes a first mode of operation, the system 400 further comprising:
and the first reminding module is used for controlling the touch display to display first reminding information if the target working mode is detected to be the first working mode so as to remind a user to put the touch pen into the accommodating device.
And the first acquisition module is used for acquiring the first data detected by the stylus detection device if the stylus is put into the accommodating device.
The second reminding module is used for controlling the touch display to display second reminding information so as to remind a user of taking out the touch pen from the accommodating device.
And the second acquisition module is used for acquiring second data detected by the stylus detection device if the stylus is taken out of the accommodating device.
The first adjusting module is used for determining a first target detection threshold according to the first data and the second data and controlling the touch pen detecting device to adjust the detection threshold corresponding to the first working mode to the first target detection threshold.
In some embodiments, the system 400 further comprises:
and the first determining module is used for determining that the touch pen is put into the accommodating device if the touch display receives the putting confirmation operation made by the user.
And the second determining module is used for determining that the touch pen is taken out of the accommodating device if the touch display receives the taking-out confirmation operation made by the user.
In some embodiments, the first target detection threshold determination module includes:
the first correction unit is used for acquiring the first correction value, correcting the first data according to the first correction value and obtaining corrected first data.
And the second correction unit is used for acquiring a second correction value, correcting the second data according to the second correction value and obtaining corrected second data.
The first target detection threshold determining unit is used for determining a first target detection threshold according to the corrected first data and the corrected second data, wherein the corrected first data is the upper limit of the first target detection threshold, and the corrected second data is the lower limit of the first target detection threshold.
In some embodiments, the first correction unit is specifically configured to determine a difference between the first data and the first correction value as corrected first data.
And the second correction unit is specifically used for determining the sum of the first data and the first correction value as corrected second data.
In some embodiments, the stylus detection apparatus includes a pressure detection apparatus, the system 400 further comprising:
and the weight value detection module is used for controlling the pressure detection device to detect the weight value of the touch pen in the accommodating device if the selection operation of the user on the touch display is not received.
And the working mode control module is used for controlling the touch pen detection device to enter the first working mode if the weight value is not matched with the specified weight value.
In some embodiments, the detection threshold adjustable mode includes a second mode of operation, the system 400 further comprising:
and the threshold selection interface display module is used for controlling the touch display to display a threshold selection interface if the target working mode is detected to be the second working mode.
And the second target detection threshold generating module is used for responding to touch operation made by the user on the threshold selection interface and generating a second target detection threshold.
The second adjusting module is used for controlling the touch pen detecting device to adjust the detecting threshold corresponding to the second working mode to a second target detecting threshold.
A stylus detection apparatus 500 according to an embodiment is exemplarily shown in fig. 15, and includes: a memory 510 and a processor 520.
Memory 510, a memory for storing processor-executable instructions.
The stylus detecting device 500 further includes a stylus detecting device 530, where the stylus detecting device 530 is configured to detect whether a stylus is placed in the accommodating device.
Wherein the processor 520 is configured to perform the stylus detection method of the above embodiments.
The embodiment of the application also provides a computer readable storage medium, wherein computer executable instructions are stored in the computer readable storage medium, and the computer executable instructions are used for realizing the touch pen detection method provided by the embodiment when being executed by a processor.
Embodiments of the present application provide a computer program product comprising: computer program, the computer program is stored in a readable storage medium, and at least one processor of the electronic device can read the computer program from the readable storage medium, and the at least one processor executes the computer program to cause the electronic device to execute the stylus detection method provided in any one of the embodiments.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.
The foregoing description, for purposes of explanation, has been presented in conjunction with specific embodiments. However, the illustrative discussions above are not intended to be exhaustive or to limit the embodiments to the precise forms disclosed above. Many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles and the practical application, to thereby enable others skilled in the art to best utilize the embodiments and various embodiments with various modifications as are suited to the particular use contemplated.

Claims (12)

1. A display device, characterized by comprising:
a touch display;
A housing configured to hold a stylus;
a stylus detection device configured to detect whether a stylus is placed in the accommodation device;
and a controller connected to the touch display and the stylus detection device, respectively, wherein the controller is configured to:
receiving a selection operation made by a user on the touch display;
and responding to the selection operation, and controlling the touch pen detection device to switch from a current working mode to a target working mode corresponding to the selection operation, wherein the working mode of the touch pen detection device comprises a detection threshold adjustable mode and a detection threshold fixed mode.
2. The display device of claim 1, wherein the detection threshold adjustable mode comprises a first mode of operation, the controller further configured to:
if the target working mode is detected to be the first working mode, controlling the touch display to display first prompt information so as to prompt a user to put a touch pen into the accommodating device;
if the touch control pen is placed in the accommodating device, acquiring first data detected by the touch control pen detecting device;
controlling the touch display to display second prompt information to prompt a user to take out the touch pen from the accommodating device;
If the stylus is taken out of the accommodating device, acquiring second data detected by the stylus detection device;
and determining a first target detection threshold according to the first data and the second data, and controlling the touch pen detection device to adjust the detection threshold corresponding to the first working mode to the first target detection threshold.
3. The display device of claim 2, wherein the controller is further configured to:
acquiring a first correction value, and correcting the first data according to the first correction value to obtain corrected first data;
acquiring a second correction value, and correcting the second data according to the second correction value to obtain corrected second data;
and determining the first target detection threshold according to the corrected first data and the corrected second data, wherein the corrected first data is the upper limit of the first target detection threshold, and the corrected second data is the lower limit of the first target detection threshold.
4. The display device of claim 1, wherein the detection threshold adjustable mode comprises a second mode of operation, the controller further configured to:
If the target working mode is detected to be the second working mode, controlling the touch display to display a threshold selection interface;
responding to touch operation made by a user on the threshold selection interface, and generating a second target detection threshold;
and controlling the touch pen detection device to adjust the detection threshold corresponding to the second working mode to the second target detection threshold.
5. The display device of any one of claims 1-4, wherein the stylus detection means comprises one or more of an infrared detection means and a pressure detection means.
6. A stylus detection method, the method comprising:
receiving a selection operation made by a user on a touch display;
controlling a touch pen detection device to switch from a current working mode to a target working mode corresponding to the selection operation in response to the selection operation, wherein the working modes of the touch pen detection device comprise a detection threshold adjustable mode and a detection threshold fixed mode;
and if the detection data collected by the touch pen detection device in the target working mode meets the detection threshold corresponding to the target working mode, determining that the touch pen is put into the accommodating device.
7. The method of claim 6, wherein the detection threshold adjustable mode includes a first operation mode, and before the detecting that the detection data collected by the stylus detection device in the target operation mode meets the detection threshold corresponding to the target operation mode, determining that the stylus is placed in the accommodating device further includes:
if the target working mode is detected to be the first working mode, controlling the touch display to display first prompt information so as to prompt a user to put a touch pen into the accommodating device;
if the touch control pen is placed in the accommodating device, acquiring first data detected by the touch control pen detecting device;
controlling the touch display to display second prompt information to prompt a user to take out the touch pen from the accommodating device;
if the stylus is taken out of the accommodating device, acquiring second data detected by the stylus detection device;
and determining a first target detection threshold according to the first data and the second data, and controlling the touch pen detection device to adjust the detection threshold corresponding to the first working mode to the first target detection threshold.
8. The method of claim 7, further comprising, prior to the first data detected by the stylus detection device being received by the receiving device:
If the touch display receives the putting confirmation operation made by the user, determining that the touch pen is put into the accommodating device;
before the receiving device is taken out of the stylus pen to obtain the second data detected by the stylus pen detecting device, the method further comprises:
and if the touch display receives the taking-out confirmation operation made by the user, determining that the touch pen is taken out of the accommodating device.
9. The method of claim 7, wherein said determining a first target detection threshold from said first data and said second data comprises:
acquiring a first correction value, and correcting the first data according to the first correction value to obtain corrected first data;
acquiring a second correction value, and correcting the second data according to the second correction value to obtain corrected second data;
and determining the first target detection threshold according to the corrected first data and the corrected second data, wherein the corrected first data is the upper limit of the first target detection threshold, and the corrected second data is the lower limit of the first target detection threshold.
10. The method of claim 9, wherein the modifying the first data according to the first correction value results in modified first data, comprising:
Determining a difference between the first data and the first correction value as the corrected first data;
the second data is corrected according to the second correction value, so as to obtain corrected second data, which comprises the following steps:
and determining the sum of the first data and the first correction value as the corrected second data.
11. The method of any of claims 7-10, wherein the stylus detection device comprises a pressure detection device, the method further comprising:
if the selection operation of the user on the touch display is not received, controlling the pressure detection device to detect the weight value of the touch pen in the accommodating device;
and if the weight value is not matched with the appointed weight value, controlling the touch control pen detection device to enter the first working mode.
12. The method of claim 6, wherein the detection threshold adjustable mode includes a second operation mode, and before the detecting that the detection data collected by the stylus detection device in the target operation mode meets the detection threshold corresponding to the target operation mode, determining that the stylus is placed in the accommodating device further includes:
If the target working mode is detected to be the second working mode, controlling the touch display to display a threshold selection interface;
responding to touch operation made by a user on the threshold selection interface, and generating a second target detection threshold;
and controlling the touch pen detection device to adjust the detection threshold corresponding to the second working mode to the second target detection threshold.
CN202110745600.0A 2021-06-30 2021-06-30 Display device, touch pen detection method, system, device and storage medium Active CN113485580B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110745600.0A CN113485580B (en) 2021-06-30 2021-06-30 Display device, touch pen detection method, system, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110745600.0A CN113485580B (en) 2021-06-30 2021-06-30 Display device, touch pen detection method, system, device and storage medium

Publications (2)

Publication Number Publication Date
CN113485580A CN113485580A (en) 2021-10-08
CN113485580B true CN113485580B (en) 2024-04-02

Family

ID=77939256

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110745600.0A Active CN113485580B (en) 2021-06-30 2021-06-30 Display device, touch pen detection method, system, device and storage medium

Country Status (1)

Country Link
CN (1) CN113485580B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113741727A (en) * 2021-08-05 2021-12-03 青岛海信商用显示股份有限公司 Touch display device and control method thereof

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014066962A (en) * 2012-09-27 2014-04-17 Seiko Epson Corp Projector system, and control method of projector system
CN111124245A (en) * 2019-12-24 2020-05-08 维沃移动通信有限公司 Control method and electronic equipment
CN111338492A (en) * 2020-03-18 2020-06-26 深圳市鸿合创新信息技术有限责任公司 Display apparatus and control method of display apparatus
CN112286378A (en) * 2020-10-28 2021-01-29 维沃移动通信有限公司 Electronic equipment control method and electronic equipment
CN112865214A (en) * 2020-12-31 2021-05-28 联想(北京)有限公司 Power supply equipment and control method
CN112925426A (en) * 2021-02-08 2021-06-08 维沃移动通信有限公司 Processing method and device of stylus and electronic equipment

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7116225B2 (en) * 2004-06-03 2006-10-03 Inventec Appliances Corporation Structure for preventing loss of pen for electronic devices
KR20140076261A (en) * 2012-12-12 2014-06-20 삼성전자주식회사 Terminal and method for providing user interface using pen
WO2016064106A1 (en) * 2014-10-22 2016-04-28 삼성전자 주식회사 Mobile device comprising stylus pen and operation method therefor
TWI552031B (en) * 2015-10-16 2016-10-01 翰碩電子股份有限公司 Capacitive stylus having adjustable pressure sensing structure
KR102107889B1 (en) * 2018-01-05 2020-05-07 박승규 Pen holder and mobile case using the same
CN110794976B (en) * 2018-08-03 2022-04-22 华为技术有限公司 Touch device and method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014066962A (en) * 2012-09-27 2014-04-17 Seiko Epson Corp Projector system, and control method of projector system
CN111124245A (en) * 2019-12-24 2020-05-08 维沃移动通信有限公司 Control method and electronic equipment
CN111338492A (en) * 2020-03-18 2020-06-26 深圳市鸿合创新信息技术有限责任公司 Display apparatus and control method of display apparatus
CN112286378A (en) * 2020-10-28 2021-01-29 维沃移动通信有限公司 Electronic equipment control method and electronic equipment
CN112865214A (en) * 2020-12-31 2021-05-28 联想(北京)有限公司 Power supply equipment and control method
CN112925426A (en) * 2021-02-08 2021-06-08 维沃移动通信有限公司 Processing method and device of stylus and electronic equipment

Also Published As

Publication number Publication date
CN113485580A (en) 2021-10-08

Similar Documents

Publication Publication Date Title
CN113763958B (en) Voice wakeup method, voice wakeup device, electronic equipment and storage medium
CN113330736A (en) Display and image processing method
CN112214189B (en) Image display method and display device
CN112543359B (en) Display device and method for automatically configuring video parameters
CN112188249B (en) Electronic specification-based playing method and display device
CN112073865A (en) Bluetooth headset volume setting method and device and electronic equipment
CN112333499A (en) Method for searching target equipment and display equipment
CN113473202B (en) Interface display method and display equipment
CN112565862A (en) Display equipment and equipment parameter memorizing method and restoring method thereof
CN112994818B (en) Time synchronization method and display device
CN112399254B (en) Display device and color gamut space dynamic adjustment method
CN113485580B (en) Display device, touch pen detection method, system, device and storage medium
CN113630569A (en) Display apparatus and control method of display apparatus
CN112214190A (en) Display equipment resource playing method and display equipment
CN112399233A (en) Display device and position self-adaptive adjusting method of video chat window
CN112423042A (en) Upgrading method and system for dual-system Bluetooth remote controller
CN111918132B (en) Display device and multi-interface device judgment method
CN113810747B (en) Display equipment and signal source setting interface interaction method
CN112399071B (en) Control method and device for camera motor and display equipment
CN112073666B (en) Power supply control method of display equipment and display equipment
CN113438528A (en) Method for realizing combined key and display equipment
CN111931692A (en) Display device and image recognition method
CN113542878A (en) Awakening method based on face recognition and gesture detection and display device
CN112399235A (en) Method for enhancing photographing effect of camera of smart television and display device
CN214412919U (en) Display device and camera

Legal Events

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