CN113760096A - Handle, control method and control device - Google Patents

Handle, control method and control device Download PDF

Info

Publication number
CN113760096A
CN113760096A CN202111064434.4A CN202111064434A CN113760096A CN 113760096 A CN113760096 A CN 113760096A CN 202111064434 A CN202111064434 A CN 202111064434A CN 113760096 A CN113760096 A CN 113760096A
Authority
CN
China
Prior art keywords
handle
light intensity
electronic equipment
photosensitive
component
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.)
Granted
Application number
CN202111064434.4A
Other languages
Chinese (zh)
Other versions
CN113760096B (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202111064434.4A priority Critical patent/CN113760096B/en
Publication of CN113760096A publication Critical patent/CN113760096A/en
Application granted granted Critical
Publication of CN113760096B publication Critical patent/CN113760096B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • G06F3/014Hand-worn input/output arrangements, e.g. data gloves
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/20Input arrangements for video game devices
    • A63F13/24Constructional details thereof, e.g. game controllers with detachable joystick handles

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Selective Calling Equipment (AREA)
  • Telephone Function (AREA)

Abstract

The application provides a handle, a control method of the handle, a control device of the handle and a readable storage medium. The handle is detachably connected with the electronic equipment and comprises a shell, a photosensitive component and a communication component; an accommodating space is arranged in the shell, and an opening communicated with the accommodating space is formed in the shell; the photosensitive component is arranged in the accommodating space, is opposite to the opening, can detect the light intensity of the ambient light and can generate a light intensity signal; the communication component is in communication connection with the photosensitive component, the handle can be connected with the electronic equipment through the communication component, and under the condition that the handle is in communication connection with the electronic equipment, the light intensity signal can be sent to the electronic equipment. The handle that this application provided sends the light intensity that photosensitive part detected out to electronic equipment for electronic equipment can adjust electronic equipment's screen according to the light intensity that photosensitive part detected out.

Description

Handle, control method and control device
Technical Field
The present disclosure relates to the field of electronic devices, and in particular, to a handle, a control method of the handle, a control device of the handle, and a readable storage medium.
Background
At present, the gamepad is provided with the entity keys, and the gamepad interacts with terminals such as a mobile phone, so that the operability of the terminals such as the mobile phone in a game can be improved, and the experience of a user is further improved.
In the related art, the gamepad needs to be clamped on the terminal such as the mobile phone, but when the terminal such as the mobile phone is fixed on the gamepad, the photosensitive sensor arranged at the edge of the terminal such as the mobile phone is shielded by the gamepad, so that the terminal such as the mobile phone cannot automatically adjust the brightness of the screen according to the surrounding brightness.
Disclosure of Invention
The present application is directed to solving at least one of the problems of the prior art or the related art.
To this end, a first aspect of the present application proposes a handle.
A second aspect of the present application provides a control method of a handle.
A third aspect of the present application provides a control device of a handle.
A fourth aspect of the present application provides a handle.
A fifth aspect of the present application proposes a readable storage medium.
In view of the above, a first aspect of the present application provides a handle detachably connected to an electronic device, the handle including a housing, a photosensitive part, and a communication part; an accommodating space is arranged in the shell, and an opening communicated with the accommodating space is formed in the shell; the photosensitive component is arranged in the accommodating space, is opposite to the opening, can detect the light intensity of the ambient light and can generate a light intensity signal; the communication component is in communication connection with the photosensitive component, the handle can be connected with the electronic equipment through the communication component, and under the condition that the handle is in communication connection with the electronic equipment, the light intensity signal can be sent to the electronic equipment.
The handle that this application provided, because the light-sensitive part that sets up in the casing can detect out the light intensity of surrounding environment, avoid sheltering from the luminance that leads to electronic equipment can't come the automatically regulated screen according to luminance on every side because of the photosensitive sensor at electronic equipment edge can be sheltered from by the handle for electronic equipment's photosensitive sensor also can adjust the screen in real time by the handle shelters from, has promoted electronic equipment's intelligent degree, ensures electronic equipment's stability.
The second aspect of the present application provides a control method for a handle, in which a photosensitive component is disposed on the handle, the control method including: under the condition that the handle is in communication connection with the electronic equipment, controlling the photosensitive component to detect the light intensity around the handle and generate a target light intensity signal; and sending the target light intensity signal to the electronic equipment so that the electronic equipment adjusts the display state of a screen of the electronic equipment according to the target light intensity signal.
The application provides a control method of handle, under the condition that handle and electronic equipment are connected, control photosensitive element detects the light intensity around the casing, and generate the target light intensity signal, send target light intensity signal to electronic equipment, so that electronic equipment adjusts the display state of electronic equipment's screen according to target light intensity signal, avoid because of the photosensitive sensor at electronic equipment edge can be sheltered from by the handle and lead to electronic equipment can't come the luminance of automatically regulated screen according to luminance on every side, make electronic equipment's photosensitive sensor also can adjust the screen in real time by the handle sheltering from, electronic equipment's intelligent degree has been promoted, electronic equipment's stability is ensured.
The third aspect of the application provides a control device of a handle, wherein a photosensitive part is arranged on the handle, and the control device comprises a control module and a communication module; the control module is used for controlling the photosensitive component to detect the light intensity around the handle and generate a target light intensity signal under the condition that the handle is in communication connection with the electronic equipment; the communication module is used for sending the target light intensity signal to the electronic equipment so that the electronic equipment can adjust the display state of the screen of the electronic equipment according to the target light intensity signal.
The application provides a controlling means of handle, under the condition that handle and electronic equipment are connected, control photosensitive element detects the light intensity around the casing, and generate target light intensity signal, send target light intensity signal to electronic equipment, so that electronic equipment adjusts the display state of electronic equipment's screen according to target light intensity signal, avoid sheltering from the luminance that leads to electronic equipment can't come the automatically regulated screen according to luminance on every side because of the photosensitive sensor at electronic equipment edge can be sheltered from by the handle, make electronic equipment's photosensitive sensor also can adjust the screen in real time by the handle sheltering from, electronic equipment's intelligent degree has been promoted, ensure electronic equipment's stability.
A fourth aspect of the present application provides a handle, which includes a processor, a memory, and a program or an instruction stored in the memory and executable on the processor, wherein the program or the instruction implements the steps of the control method of the handle according to any one of the above-mentioned technical solutions when being executed by the processor, and therefore the handle has all the advantages of the control method of the handle according to any one of the above-mentioned technical solutions.
A fifth aspect of the present application provides a readable storage medium, on which a program or instructions are stored, and the program or instructions, when executed by a processor, implement the steps of the control method of the handle according to any one of the above technical solutions, so that the readable storage medium has all the advantages of the control method of the handle according to any one of the above technical solutions.
Additional aspects and advantages of the present application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the present application.
Drawings
The above and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
FIG. 1 illustrates a front view of a handle according to one embodiment of the present application;
FIG. 2 shows a schematic structural diagram of a photosensitive component and an infrared component according to one embodiment of the present application;
FIG. 3 illustrates a top view of a handle according to one embodiment of the present application;
FIG. 4 illustrates a rear view of a handle according to one embodiment of the present application;
FIG. 5 shows a communication schematic of a handle and an electronic device according to an embodiment of the present application;
FIG. 6 shows a schematic view of a handle according to an embodiment of the present application;
FIG. 7 shows a schematic diagram of a charging circuit of a handle according to an embodiment of the present application;
FIG. 8 shows one of the flow charts of a control method of the handle according to one embodiment of the present application;
FIG. 9 illustrates a second flowchart of a method of controlling a handle according to an embodiment of the present application;
FIG. 10 illustrates one of the block diagrams of the control device of the handle according to one embodiment of the present application;
FIG. 11 illustrates a second block diagram of a control device of the handle according to an embodiment of the present application;
FIG. 12 illustrates a third block diagram of a control device of a handle according to an embodiment of the present application;
FIG. 13 illustrates a fourth of the block diagrams of the control device of the handle according to an embodiment of the present application;
fig. 14 shows a schematic structural diagram of an electronic device according to an embodiment of the application.
Wherein, the correspondence between the reference numbers and the part names in fig. 1 to 7 is:
10 handles, 100 cases, 110 back panels, 120 top panels, 130 panels, 140 keys, 150 right handles, 160 left handles, 170 communication parts, 180MCU, 210 openings, 220 photosensitive parts, 230 infrared parts, 240 light permeable cover plates, 250IR ink layers, 260DC-DC charging circuits, 270 batteries, 280 power modules, 700 electronic devices.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
A handle, a control method of the handle, a control device of the handle, and a readable storage medium according to some embodiments of the present application are described below with reference to fig. 1 to 14.
In one embodiment of the present application, as shown in fig. 1 and 2, there is provided a handle 10, the handle 10 being detachably connected to an electronic device 700, the handle 10 including a housing 100, a light sensing part 220, and a communication part 170; the interior of the shell is provided with an accommodating space, and the shell is provided with an opening 210 communicated with the accommodating space; the photosensitive component 220 is arranged in the accommodating space, the photosensitive component 220 is opposite to the opening 210, and can detect the light intensity of the ambient light and generate a light intensity signal; the communication part 170 is communicatively connected to the photosensitive part 220, the handle 10 may be connected to the electronic device 700 through the communication part 170, and in case the handle 10 is communicatively connected to the electronic device 700, the light intensity signal may be transmitted to the electronic device 700.
In this embodiment, the handle 10 is capable of holding the electronic device 700. The handle 10 includes a housing 100, an opening 210 is disposed on the housing 100, a light-sensitive component 220 is disposed at the opening 210, and the light-sensitive component 220 can detect the intensity of light in the environment where the handle 10 is located and can transmit the detected intensity of light to the communication component 170. The communication part 170 further transmits the light intensity detected by the light sensitive part 220 to the electronic device 700, so that the electronic device 700 can adjust the screen of the electronic device 700 according to the light intensity detected by the light sensitive part 220.
Because the light intensity of surrounding environment can be detected to the photosensitive part 220 that sets up in the casing 100, avoid leading to electronic equipment 700 can't come the luminance of automatically regulated screen according to luminance on every side because of the photosensitive sensor at electronic equipment 700 edge can be sheltered from by handle 10 for electronic equipment 700's photosensitive sensor also can adjust the screen in real time by being sheltered from by handle 10, has promoted electronic equipment 700's intelligent degree, ensures electronic equipment 700's stability.
The electronic device 700 adjusts the screen including an adjustment of the brightness of the screen and an adjustment of the color temperature of the screen.
Through a correlation algorithm, the ambient light color temperature value is calculated according to the illumination intensity detected by each photosensitive element 220, so that the screen display color temperature of the electronic device 700 can be optimized accordingly, that is, dynamic color temperature adjustment is realized.
The light-sensitive component 220 of the electronic device 700 is placed under the screen, the signal-to-noise ratio of the ambient light is low, and the color temperature adjustment cannot be realized due to the interference of the screen light, and the color temperature of the screen can be adjusted according to the color temperature of the ambient light by the electronic device 700 through the light-sensitive component 220 arranged on the handle 10.
Specifically, the photosensitive member 220 is a photosensitive sensor.
In an embodiment of the present application, as shown in fig. 1 and 2, the handle 10 further includes an infrared component 230, the infrared component 230 is disposed in the accommodating space, and an emitting end of the infrared component 230 faces the opening 210, for detecting whether the opening 210 is blocked.
In this embodiment, the handle 10 further includes an infrared component 230, the infrared component 230 is disposed at the opening 210, and the emitting end of the infrared component 230 faces the opening 210, so that the infrared component 230 and the photosensitive component 220 cooperate to detect whether the opening 210 is blocked, thereby avoiding interference of the photosensitive component 220 on detection of the illumination intensity of the surrounding environment due to the blocking of the opening 210 by a human body or an object, and improving accuracy of detection of the illumination intensity by the photosensitive component 220.
When a finger blocks the infrared, the infrared communication value IR > K1 of the infrared unit 230 is considered to be close, and the photosensitive data is not used. The infrared communication value IR is an Analog-to-digital converter (ADC) value of infrared light, and K1 is a threshold value.
Specifically, the infrared part 230 is an infrared sensor.
In one embodiment of the present application, as shown in fig. 1 and 2, the handle 10 further includes a light transmissive cover 240 and an IR (Infrared Radiation) ink layer 250; the light-permeable cover 240 covers the opening 210; the IR ink layer 250 is coated on the side of the transparent cover 240 away from the receiving space.
In this embodiment, by disposing the light-permeable cover 240 at the opening 210, it is possible to prevent an external object from damaging the photosensitive member 220, thereby improving the stability of the photosensitive member 220. Meanwhile, the light-permeable cover 240 does not block light from the surrounding environment from entering the housing 100, so that the light-sensitive member 220 can accurately detect the illumination intensity of the surrounding environment. The IR ink layer 250 is coated on the light-permeable cover 240, and the IR ink layer 250 has a low transmittance to visible light, so that the user cannot view the inside of the handle 10 from the outside of the handle 10, and the integrity of the handle 10 is improved, so that the handle 10 is more beautiful. And the IR ink layer 250 does not completely block visible light, light in the surrounding environment can still enter the housing 100 through the IR ink layer 250, so that the photosensitive member 220 can accurately detect the illumination intensity of the surrounding environment.
Specifically, the IR ink layer 250 has a transmittance of about 6% for light having a wavelength of 390nm to 780 nm.
Specifically, the light-permeable cover plate 240 is a transparent plastic plate.
In one embodiment of the present application, as shown in fig. 1 to 4, the housing 100 includes a back plate 110, two top plates 120, two face plates 130, and a plurality of keys 140; the two top plates 120 are connected with the back plate 110 and respectively arranged at two sides of the back plate 110; the two panels 130 are connected to the two top plates 120, respectively; the plurality of keys 140 are disposed on the two panels 130 and the two top plates 120, respectively.
In this embodiment, the housing 100 includes a back plate 110, two top plates 120, two panels 130, and a plurality of keys 140, wherein the plurality of keys 140 are respectively disposed on the two panels 130 and the two top plates 120, thereby facilitating a user to operate the electronic device 700 through the handle 10.
In one embodiment of the present application, as shown in fig. 1, the opening 210 is disposed on at least one panel 130 of the two panels 130 between the plurality of keys 140 and the two top panels 120.
In this embodiment, the opening 210 is located between the plurality of keys 140 and the two top plates 120, so that the user does not block the opening 210 when holding the handle 10, thereby preventing the human body from blocking the opening 210 and affecting the detection of the light-sensitive part 220 to the surrounding environment.
In an embodiment of the present application, as shown in fig. 1 to 4, the number of the openings 210 is multiple, and the multiple openings 210 are respectively disposed on the two front plates 130, the two top plates 120, and/or the back plate 110; the number of the photosensitive members 220 is plural, and the plural photosensitive members 220 are disposed corresponding to the plural openings 210.
In this embodiment, the number of the photosensitive members 220 is multiple, the plurality of photosensitive members 220 are disposed corresponding to the plurality of openings 210, and the plurality of openings 210 are disposed on the two panels 130, the two top plates 120, and/or the back plate 110, respectively, so that the detection angle of the photosensitive members 220 is increased, and the detection of the ambient light by the photosensitive members 220 is more accurate.
By arranging the plurality of photosensitive components 220, the FOV (Field of View) of photosensitive detection ambient light is greatly improved, the dynamic response of the screen of the electronic device 700 to the ambient light is greatly improved, and the photosensitive performance and the application performance are more extreme.
Specifically, as shown in fig. 3, the opening 210 is disposed on the top plate 120, and the photosensitive member 220 is disposed at the opening 210, when the ambient light is parallel to the screen of the electronic device 700, the value of the illumination intensity detected by the photosensitive member 220 disposed on the panel 130 is smaller, but the human eye can feel the light, so that the screen brightness is optimized by the illumination intensity detected by the photosensitive member 220 disposed at the top plate 120, and the adjustment of the screen of the electronic device 700 can be more accurate.
Specifically, as shown in fig. 4, the opening 210 is disposed on the back plate 110, and the photosensitive member 220 is disposed at the opening 210, when the user uses the electronic device 700 in a backlight mode, the light intensity detected by the photosensitive member 220 disposed on the front plate 130 and the top plate 120 is relatively small, but human eyes can sense light, so that the brightness of the screen is optimized by the light intensity detected by the photosensitive member 220 disposed at the back plate 110, and the adjustment of the screen of the electronic device 700 can be more accurate.
As shown in fig. 5, in one embodiment of the present application, the communication component 170 further comprises a wireless communication component and/or a communication interface; the wireless communication component is capable of transmitting a light intensity signal to the electronic device 700; and/or the handle 10 is connected to the electronic device 700 through the communication interface to transmit the light intensity signal to the electronic device 700.
In this embodiment, the wireless communication component and/or the communication interface are provided to transmit signals, so that the electronic device 700 can adjust the brightness or color temperature of the screen according to the illumination intensity detected by the handle 10.
The wireless communication part is a Bluetooth module or a radio frequency module and the like.
In one embodiment of the present application, the handle 10 further comprises: an MCU (Microcontroller Unit) 180, a key 140, a power module 280, a battery 270, and a DC (Direct Current) -DC charging circuit 260.
Specifically, light sensitive element 220 receives ambient light through the housing of gamepad 10 and converts the light signal into an electrical signal, the internal ADC converts the analog signal into a digital signal, and the digital signal is passed through I2C (Inter-Integrated Circuit, serial communication bus) is transmitted to the MCU180, and finally the MCU180 transmits the ambient light data to the electronic device 700.
As shown in fig. 5, the left handle 160 and the right handle 150 are connected wirelessly, and the right handle 150 is connected to the electronic device 700 by wire or wirelessly.
As shown in fig. 6, the communication part 170 includes an MCU180, and the wireless communication part, the infrared part 230, the light sensing part 220, and the key 140 are electrically connected to the MCU 180.
As shown in fig. 7, the DC-DC charging circuit 260 charges the battery 270, and the battery 270 supplies power to the MCU180 through the power module 280.
In an embodiment of the present application, as shown in fig. 8, there is provided a control method of a handle, the handle being provided with a photosensitive member, the control method of the handle including:
step 302, under the condition that the handle is in communication connection with the electronic equipment, controlling the photosensitive component to detect the light intensity around the handle and generating a target light intensity signal;
and step 304, sending the target light intensity signal to the electronic equipment so that the electronic equipment adjusts the display state of a screen of the electronic equipment according to the target light intensity signal.
In this embodiment, the control method of the handle can be applied to the handle of any of the above embodiments. Under the condition that the handle is connected with electronic equipment, control photosensitive element detects the light intensity around the casing, and generate target light intensity signal, send target light intensity signal to electronic equipment, so that electronic equipment adjusts the display state of electronic equipment's screen according to target light intensity signal, avoid leading to the luminance that electronic equipment can't come the automatically regulated screen according to luminance on every side because of the photosensitive sensor at electronic equipment edge can be sheltered from by the handle, even make electronic equipment's photosensitive sensor shelter from also can adjust the screen in real time by the handle, electronic equipment's intelligent degree has been promoted, ensure electronic equipment's stability.
In one embodiment of the present application, in a case where the number of the photosensitive members is plural, controlling the photosensitive members to detect the intensity of light around the housing and generate the target light intensity signal includes:
controlling a plurality of photosensitive components to detect the light intensity around the shell and generate a plurality of first light intensity signals;
and calculating to obtain a target light intensity signal according to the multiple light sensitivity coefficients corresponding to the multiple light sensitive components and the multiple first light intensity signals.
In this embodiment, when the plurality of photosensitive elements detect the light intensity of the surrounding environment simultaneously, the light intensity detected by each photosensitive element is corrected through the plurality of photosensitive coefficients, so as to obtain the actual illumination intensity, so that the detection of the light intensity of the surrounding environment by the photosensitive elements is more accurate, and further, the adjustment of the screen by the electronic device is more accurate.
Specifically, the generating the target light intensity signal according to the plurality of light sensitive coefficients corresponding to the plurality of light sensitive elements and the plurality of first light intensity signals is specifically:
ALS=(a1×als1+a2×als2+a3×als3……+an×alsn)/n;
the ALS is the light intensity corresponding to the target light intensity signal, that is, the value of the visible light detected by the ambient light sensor, a1 is the light sensitive coefficient of the first light sensitive element, a2 is the light sensitive coefficient of the second light sensitive element, a3 is the light sensitive coefficient of the third light sensitive element, an is the light sensitive coefficient of the nth light sensitive element, n is a natural number, ALS1 is the light intensity corresponding to the first light sensitive element, ALS2 is the light intensity corresponding to the second light sensitive element, ALS3 is the light intensity corresponding to the third light sensitive element, and alsn is the light intensity corresponding to the nth light sensitive element.
In an embodiment of this application, the quantity of opening is a plurality of, and is the same with the quantity of light-sensitive part, and a plurality of openings correspond the setting with a plurality of light-sensitive parts, before controlling a plurality of light-sensitive parts and detecting the light intensity around the casing, control light-sensitive part and detect the light intensity around the casing, and it still includes to generate the target light intensity signal:
controlling the infrared component to detect whether the plurality of openings are blocked;
under the condition that part of the openings in the plurality of openings are shielded, the photosensitive coefficient of the photosensitive part corresponding to the shielded openings is zero, and the photosensitive coefficient of the photosensitive part corresponding to the unshielded openings is a preset coefficient.
In this embodiment, under the condition that the opening is blocked, the light sensitive coefficient corresponding to the light sensitive component at the blocked opening is zero, that is, the preset coefficient is zero, so that the illumination intensity detected by the opening is not reflected in the final detection result, the interference of the detection of the illumination intensity of the light sensitive component on the surrounding environment due to the blocking of the opening by a human body or an object is avoided, and the accuracy of the detection of the illumination intensity by the light sensitive component is improved.
And under the condition that the opening is not shielded, the photosensitive coefficient of the photosensitive part at the opening which is not shielded is a preset coefficient. The preset coefficients of the photosensitive components are obtained by debugging according to the structure position and the actual effect when each opening is not shielded.
In one embodiment of the present application, the control method of the handle further includes:
when the opening is shielded and the shielding object is a human body, controlling the infrared component to detect the blood flow frequency of the human body;
calculating the heart rate of the human body according to the blood flow frequency;
the heart rate of the human body is sent to the electronic equipment, so that the electronic equipment can display the heart rate of the human body.
In this embodiment, through the detection of infrared subassembly to the blood flow frequency of human body, and then realize the detection to user's rhythm of the heart, when richening the handle function, make the handle can send the rhythm of the heart that detects to electronic equipment to make electronic equipment can adjust the screen according to user's rhythm of the heart, make the user can be better comfortable when using electronic equipment.
When detecting the heart rate, the infrared component is interacted and controlled through software, the infrared emission frequency is increased, and the detection of the infrared component on the blood flowing frequency of the human body is more accurate.
In one embodiment of the present application, as shown in fig. 9, a control method of a handle includes:
step 402, controlling an infrared component to detect whether a plurality of openings are blocked; when the opening is shielded, the light sensitive coefficient corresponding to the light sensitive component at the shielded opening is zero, and when the opening is not shielded, the light sensitive coefficient corresponding to the light sensitive component at the unshielded opening is a preset coefficient;
404, controlling a plurality of photosensitive components to detect the light intensity around the handle and generating a plurality of first light intensity signals;
step 406, calculating to obtain a target light intensity signal according to a plurality of light sensitivity coefficients corresponding to the plurality of light sensitive components and a plurality of first light intensity signals;
and step 408, sending the target light intensity signal to the electronic device, so that the electronic device adjusts the display state of the screen of the electronic device according to the target light intensity signal.
In one embodiment of the present application, as shown in fig. 10, there is provided a control device 500 of a handle, the handle is provided with a light-sensitive component, and the control device 500 of the handle comprises a control module 510 and a communication module 520.
The control module 510 is used for controlling the photosensitive component to detect the light intensity around the handle and generate a target light intensity signal under the condition that the handle is in communication connection with the electronic device.
The communication module 520 is configured to send the target light intensity signal to the electronic device, so that the electronic device adjusts a display state of a screen of the electronic device according to the target light intensity signal.
In this embodiment, the control means of the handle can be used with the handle of any of the above embodiments. Under the condition that the handle is connected with electronic equipment, control photosensitive element detects the light intensity around the casing, and generate target light intensity signal, send target light intensity signal to electronic equipment, so that electronic equipment adjusts the display state of electronic equipment's screen according to target light intensity signal, avoid leading to the luminance that electronic equipment can't come the automatically regulated screen according to luminance on every side because of the photosensitive sensor at electronic equipment edge can be sheltered from by the handle, even make electronic equipment's photosensitive sensor shelter from also can adjust the screen in real time by the handle, electronic equipment's intelligent degree has been promoted, ensure electronic equipment's stability.
In one embodiment of the present application, as shown in FIG. 11, the control module 510 includes a first sub-control module 512 and a first calculation module 514;
the first sub-control module 512 is used for controlling the plurality of photosensitive elements to detect the intensity of light around the housing and generate a plurality of first light intensity signals.
The first calculating module 514 is configured to calculate a target light intensity signal according to a plurality of light sensitive coefficients corresponding to the plurality of light sensitive elements and the plurality of first light intensity signals.
In this embodiment, when the plurality of photosensitive elements detect the light intensity of the surrounding environment simultaneously, the light intensity detected by each photosensitive element is corrected through the plurality of photosensitive coefficients, so as to obtain the actual illumination intensity, so that the detection of the light intensity of the surrounding environment by the photosensitive elements is more accurate, and further, the adjustment of the screen by the electronic device is more accurate.
Specifically, the generating the target light intensity signal according to the plurality of light sensitive coefficients corresponding to the plurality of light sensitive elements and the plurality of first light intensity signals is specifically:
ALS=(a1×als1+a2×als2+a3×als3……+an×alsn)/n;
wherein, ALS is the light intensity corresponding to the target light intensity signal, a1 is the light sensitive coefficient of the first light sensitive component, a2 is the light sensitive coefficient of the second light sensitive component, a3 is the light sensitive coefficient of the third light sensitive component, an is the light sensitive coefficient of the nth light sensitive component, n is a natural number, ALS1 is the light intensity corresponding to the first light sensitive component, ALS2 is the light intensity corresponding to the second light sensitive component, ALS3 is the light intensity corresponding to the third light sensitive component, and alsn is the light intensity corresponding to the nth light sensitive component.
In one embodiment of the present application, as shown in fig. 12, the number of the openings is multiple, and is the same as the number of the photosensitive elements, and the plurality of openings are disposed corresponding to the plurality of photosensitive elements, and the control module 510 further includes a second sub-control module 516.
The second sub-control module 516 is used for controlling the infrared component to detect whether the plurality of openings are blocked.
Under the condition that part of the openings in the plurality of openings are shielded, the photosensitive coefficient of the photosensitive part corresponding to the shielded openings is zero, and the photosensitive coefficient of the photosensitive part corresponding to the unshielded openings is a preset coefficient.
In this embodiment, under the condition that the opening is sheltered from, the light sensitivity coefficient corresponding to the photosensitive element at the sheltered opening is zero, so that the illumination intensity detected by the opening cannot be embodied in the final detection result, the interference of the detection of the illumination intensity of the photosensitive element on the surrounding environment due to the fact that the opening is sheltered from by a human body or an object is avoided, and the accuracy of the detection of the illumination intensity by the photosensitive element is improved.
And under the condition that the opening is not shielded, the photosensitive coefficient of the photosensitive part at the opening which is not shielded is a preset coefficient. The preset coefficients of the photosensitive components are obtained by debugging according to the structure position and the actual effect when each opening is not shielded.
In one embodiment of the present application, as shown in FIG. 13, the control module 510 further includes a third sub-control module 518 and a second calculation module 519.
The third sub-control module 518 is used for controlling the infrared component to detect the blood flow frequency of the human body when the opening is blocked and the blocking object is the human body.
The second calculation module 519 is used for calculating the heart rate of the human body according to the blood flow frequency.
The communication module is also used for sending the human heart rate to the electronic equipment so that the electronic equipment can display the human heart rate.
In this embodiment, through the detection of infrared subassembly to the blood flow frequency of human body, and then realize the detection to user's rhythm of the heart, when richening the handle function, make the handle can send the rhythm of the heart that detects to electronic equipment to make electronic equipment can adjust the screen according to user's rhythm of the heart, make the user can be better comfortable when using electronic equipment.
In an embodiment of the present application, as shown in fig. 14, there is provided a handle 10, which includes a processor 12, a memory 14 and a program or an instruction stored on the memory 14 and capable of running on the processor 12, wherein the program or the instruction realizes the steps of the control method of the handle according to any one of the above embodiments when executed by the processor 12, and therefore the handle has all the advantages of the control method of the handle according to any one of the above embodiments.
In an embodiment of the present application, a readable storage medium is provided, on which a program or instructions are stored, which when executed by a processor implement the steps of the control method of the handle according to any of the above embodiments, so that the readable storage medium has all the advantages of the control method of the handle according to any of the above embodiments.
Wherein the processor is the processor in the handle in the above embodiments. Readable storage media, including computer-readable storage media, such as Read-Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, etc.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled with the processor, and the processor is configured to execute a program or an instruction to implement each process of the control method of the handle according to the above method embodiment, and can achieve the same technical effect, and the details are not repeated here to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, or a network device) to execute the method of the embodiments of the present application.
In the claims, the specification and the drawings of the specification of the present application, the term "plurality" means two or more, unless explicitly defined otherwise, the terms "upper", "lower", and the like indicate orientations or positional relationships based on those shown in the drawings only for the purpose of more conveniently describing the present application and simplifying the description, and do not indicate or imply that the referred device or element must have the described specific orientation, be constructed in a specific orientation, and be operated, and thus the description should not be construed as limiting the present application; the terms "connect," "mount," "secure," and the like are to be construed broadly, and for example, "connect" may refer to a fixed connection between multiple objects, a removable connection between multiple objects, or an integral connection; the multiple objects may be directly connected to each other or indirectly connected to each other through an intermediate. The specific meaning of the above terms in the present application can be understood by those of ordinary skill in the art based on the above data.
In the claims, specification, and drawings of the specification in this application, the description of the terms "one embodiment," "some embodiments," "a specific embodiment," and so forth, means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In the claims, specification and drawings of the specification of the present application, schematic representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (10)

1. A handle, wherein the handle is detachably connected to an electronic device, the handle comprising:
the shell is internally provided with an accommodating space, and the shell is provided with an opening communicated with the accommodating space;
the photosensitive component is arranged in the accommodating space, is opposite to the opening, can detect the light intensity of ambient light and can generate a light intensity signal;
a communication component connected with the photosensitive component;
the handle can be in communication connection with the electronic equipment through the communication component, and the light intensity signal can be sent to the electronic equipment under the condition that the handle is in communication connection with the electronic equipment.
2. The handle of claim 1, further comprising:
the infrared component is arranged in the accommodating space, and the transmitting end of the infrared component faces the opening and is used for detecting whether the opening is shielded or not.
3. The handle of claim 1, further comprising:
the light-permeable cover plate is arranged on the opening in a covering manner;
and the IR printing ink layer is coated on one side of the light-permeable cover plate, which is far away from the accommodating space.
4. The handle according to any one of claims 1 to 3, wherein the housing comprises:
a back plate;
the two top plates are connected with the back plate and are respectively arranged on two sides of the back plate;
the two panels are respectively connected with the two top plates;
and the keys are respectively arranged on the two panels and the two top plates.
5. The handle according to claim 4,
the opening is arranged on at least one of the two panels and is positioned between the plurality of keys and the two top plates.
6. A control method of a handle is characterized in that a photosensitive component is arranged on the handle, and the control method comprises the following steps:
under the condition that the handle is in communication connection with the electronic equipment, controlling the photosensitive component to detect the light intensity around the handle and generate a target light intensity signal;
and sending the target light intensity signal to the electronic equipment so that the electronic equipment adjusts the display state of a screen of the electronic equipment according to the target light intensity signal.
7. The method of claim 6, wherein the controlling the photosensitive member to detect the intensity of light around the housing and generate the target light intensity signal comprises:
controlling a plurality of photosensitive components to detect the light intensity around the shell and generate a plurality of first light intensity signals;
and calculating to obtain the target light intensity signal according to a plurality of photosensitive coefficients corresponding to the photosensitive components and the first light intensity signals.
8. The method as claimed in claim 7, wherein the number of the openings is a plurality of openings, the number of the openings is the same as the number of the photosensitive members, the plurality of openings are provided corresponding to the plurality of photosensitive members, the controlling of the photosensitive members detects the intensity of the light around the housing before the controlling of the plurality of photosensitive members detects the intensity of the light around the housing, and the generating of the target light intensity signal further comprises:
controlling the infrared component to detect whether the plurality of openings are blocked;
in the case where some of the plurality of openings are blocked, the photosensitivity of the photosensitive member corresponding to the blocked opening is zero,
the photosensitive coefficient of the photosensitive part corresponding to the opening which is not shielded is a preset coefficient.
9. The control method of the handle according to any one of claims 6 to 8, further comprising:
when the opening is shielded and the shielding object is a human body, controlling the infrared component to detect the blood flow frequency of the human body;
calculating the heart rate of the human body according to the blood flow frequency;
and sending the heart rate of the human body to electronic equipment so that the electronic equipment can display the heart rate of the human body.
10. A control device of a handle, characterized in that a photosensitive member is provided on the handle, the control device comprising:
the control module is used for controlling the photosensitive component to detect the light intensity around the handle and generate a target light intensity signal under the condition that the handle is in communication connection with the electronic equipment;
and the communication module is used for sending the target light intensity signal to the electronic equipment so that the electronic equipment adjusts the display state of a screen of the electronic equipment according to the target light intensity signal.
CN202111064434.4A 2021-09-10 2021-09-10 Handle, control method and control device Active CN113760096B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111064434.4A CN113760096B (en) 2021-09-10 2021-09-10 Handle, control method and control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111064434.4A CN113760096B (en) 2021-09-10 2021-09-10 Handle, control method and control device

Publications (2)

Publication Number Publication Date
CN113760096A true CN113760096A (en) 2021-12-07
CN113760096B CN113760096B (en) 2024-05-07

Family

ID=78794994

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111064434.4A Active CN113760096B (en) 2021-09-10 2021-09-10 Handle, control method and control device

Country Status (1)

Country Link
CN (1) CN113760096B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
BRPI1001452A2 (en) * 2010-05-17 2012-01-10 Alexandre Kroeff Zim Optical cable with intelligent control and method for adjusting the sensitivity and intensity of the communication interface with electronic power meters
CN105516427A (en) * 2015-11-24 2016-04-20 北京儒伯乐科技有限公司 Communication handle
CN105976790A (en) * 2016-06-20 2016-09-28 广州视睿电子科技有限公司 Display screen brightness adjusting device and electronic equipment thereof
CN208384528U (en) * 2018-05-16 2019-01-15 Oppo广东移动通信有限公司 For the external handle component of electronic device and with its electronic device assembly
CN109568940A (en) * 2018-12-24 2019-04-05 武汉西山艺创文化有限公司 A kind of AR game palm machine and exchange method based on transparent liquid crystal display
CN112509510A (en) * 2020-12-02 2021-03-16 维沃移动通信有限公司 Brightness adjusting method and device and electronic equipment
CN113041605A (en) * 2021-04-22 2021-06-29 深圳市智旭科技有限公司 Function key module of game paddle

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
BRPI1001452A2 (en) * 2010-05-17 2012-01-10 Alexandre Kroeff Zim Optical cable with intelligent control and method for adjusting the sensitivity and intensity of the communication interface with electronic power meters
CN105516427A (en) * 2015-11-24 2016-04-20 北京儒伯乐科技有限公司 Communication handle
CN105976790A (en) * 2016-06-20 2016-09-28 广州视睿电子科技有限公司 Display screen brightness adjusting device and electronic equipment thereof
CN208384528U (en) * 2018-05-16 2019-01-15 Oppo广东移动通信有限公司 For the external handle component of electronic device and with its electronic device assembly
CN109568940A (en) * 2018-12-24 2019-04-05 武汉西山艺创文化有限公司 A kind of AR game palm machine and exchange method based on transparent liquid crystal display
CN112509510A (en) * 2020-12-02 2021-03-16 维沃移动通信有限公司 Brightness adjusting method and device and electronic equipment
CN113041605A (en) * 2021-04-22 2021-06-29 深圳市智旭科技有限公司 Function key module of game paddle

Also Published As

Publication number Publication date
CN113760096B (en) 2024-05-07

Similar Documents

Publication Publication Date Title
WO2019024603A1 (en) Terminal and child mode implementation method, and computer readable storage medium
US20140267202A1 (en) Ambient Light Sensors with Photodiode Leakage Current Compensation
CN107943345A (en) Calibration method, device, storage medium and the electronic equipment of proximity sensor
CN110012153A (en) It goes out and shields the method and electronic equipment of display
WO2023045884A1 (en) Screen light detection model training method, ambient light detection method, and apparatus
WO2019190077A1 (en) Skin care system and method
CN111380609B (en) Light sensation data acquisition method and device, electronic equipment and storage medium
EP3092721A1 (en) Sensor device and electronic device having the same
CN108574778A (en) Throw screen brightness adjusting method and Related product
CN106506749A (en) Flash lamp component, mobile terminal
US20190064989A1 (en) Fingerprint circuit, force touch control method and device and computer-readable storage medium
CN110519444A (en) A kind of control method and electronic equipment of equipment
WO2019039698A1 (en) Method for processing image on basis of external light, and electronic device supporting same
CN106598444A (en) Mobile terminal control method and mobile terminal
CN106161728B (en) Sensing device, electronic equipment and detection method
CN107454245B (en) Mobile terminal and control method thereof
CN112367583B (en) Wireless earphone and wearing detection method thereof
CN113760096A (en) Handle, control method and control device
CN214733583U (en) But voice control's contact-free holographic display touch-control elevator exhales device outward
CN115479665A (en) Ambient light detection method and electronic equipment
CN111930217A (en) Electronic equipment and infrared module control method
CN113779868A (en) Rectangular hole metal plate shielding effectiveness prediction method, system, terminal and storage medium
CN109946709B (en) Image sensor, depth of field measuring method of terminal and terminal
CN209055954U (en) Electronic equipment
EP3920084A1 (en) Optical fingerprint assembly and signal processing method

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