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

Handle, control method and control device Download PDF

Info

Publication number
CN113760096B
CN113760096B CN202111064434.4A CN202111064434A CN113760096B CN 113760096 B CN113760096 B CN 113760096B CN 202111064434 A CN202111064434 A CN 202111064434A CN 113760096 B CN113760096 B CN 113760096B
Authority
CN
China
Prior art keywords
handle
photosensitive
electronic equipment
light intensity
opening
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
CN202111064434.4A
Other languages
Chinese (zh)
Other versions
CN113760096A (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

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)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)
  • Selective Calling Equipment (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; the shell is internally provided with an accommodating space, 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 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. The handle provided by the application transmits the light intensity detected by the photosensitive component to the electronic equipment, so that the electronic equipment can adjust the screen of the electronic equipment according to the light intensity detected by the photosensitive component.

Description

Handle, control method and control device
Technical Field
The present application relates to the technical 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, entity keys are arranged on the game handle, and the game handle 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 game handle 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 game handle, the photosensitive sensor arranged at the edge of the terminal such as the mobile phone is blocked by the game handle, 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 aims to solve at least one of the technical problems existing in the prior art or related art.
To this end, a first aspect of the application proposes a handle.
A second aspect of the present application proposes a control method of a handle.
A third aspect of the present application proposes a control device for a handle.
A fourth aspect of the 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 member, and a communication member; the shell is internally provided with an accommodating space, 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 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.
According to the handle provided by the application, as the photosensitive component arranged in the shell can detect the light intensity of the surrounding environment, the problem that the electronic equipment cannot automatically adjust the brightness of the screen according to the surrounding brightness because the photosensitive sensor at the edge of the electronic equipment is shielded by the handle is avoided, so that the photosensitive sensor of the electronic equipment can adjust the screen in real time even if the photosensitive sensor is shielded by the handle, the intelligent degree of the electronic equipment is improved, and the stability of the electronic equipment is ensured.
The second aspect of the present application provides a control method of a handle provided with a photosensitive member, the control method comprising: under the condition that the handle is in communication connection with the electronic equipment, controlling the photosensitive component to detect the intensity of light around the handle and generating 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 the screen of the electronic equipment according to the target light intensity signal.
According to the control method of the handle, provided by the application, under the condition that the handle is connected with the electronic equipment, the photosensitive component is controlled to detect the light intensity around the shell, the target light intensity signal is generated, and the target light intensity signal is sent 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 problem that the electronic equipment cannot automatically adjust the brightness of the screen according to the surrounding brightness because the photosensitive sensor at the edge of the electronic equipment is shielded by the handle is avoided, the photosensitive sensor of the electronic equipment can adjust the screen in real time even if the photosensitive sensor of the electronic equipment is shielded by the handle, the intelligent degree of the electronic equipment is improved, and the stability of the electronic equipment is ensured.
The third aspect of the application provides a control device of a handle, wherein a photosensitive component 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 generating 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.
According to the control device for the handle, provided by the application, under the condition that the handle is connected with the electronic equipment, the photosensitive component is controlled to detect the light intensity around the shell, the target light intensity signal is generated, and the target light intensity signal is sent 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 problem that the electronic equipment cannot automatically adjust the brightness of the screen according to the surrounding brightness because the photosensitive sensor at the edge of the electronic equipment is shielded by the handle is avoided, the photosensitive sensor of the electronic equipment can adjust the screen in real time even if the photosensitive sensor of the electronic equipment is shielded by the handle, the intelligent degree of the electronic equipment is improved, and the stability of the electronic equipment is ensured.
A fourth aspect of the present application provides a handle comprising a processor, a memory and a program or instruction stored on the memory and executable on the processor, the program or instruction when executed by the processor implementing the steps of the method for controlling a handle according to any one of the above-mentioned aspects, whereby the handle has all the advantages of the method for controlling a handle according to any one of the above-mentioned aspects.
A fifth aspect of the present application provides a readable storage medium having stored thereon a program or instructions which, when executed by a processor, implement the steps of the method for controlling a handgrip according to any one of the above-mentioned aspects, thereby providing all the advantageous effects of the method for controlling a handgrip according to any one of the above-mentioned aspects.
Additional aspects and advantages of the 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 application.
Drawings
The foregoing and/or additional aspects and advantages of the application will become apparent and may be better understood from the following description of embodiments taken in conjunction with the accompanying drawings in which:
FIG. 1 illustrates a front view of a handle according to one embodiment of the 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 shows a top view of a handle according to one embodiment of the application;
FIG. 4 shows a rear view of a handle according to one embodiment of the application;
FIG. 5 shows a schematic diagram of the communication of a handle with an electronic device according to one embodiment of the application;
FIG. 6 shows a schematic view of a handle according to one embodiment of the application;
FIG. 7 shows a schematic diagram of a charging circuit of a handle according to one embodiment of the application;
FIG. 8 shows one of the flowcharts of the control method of the handle according to one embodiment of the application;
FIG. 9 shows a second flowchart of a method of controlling a handle according to an embodiment of the application;
FIG. 10 shows one of the block diagrams of the control device of the handle according to one embodiment of the application;
FIG. 11 shows a second block diagram of a control device for a handle according to one embodiment of the application;
FIG. 12 shows a third block diagram of a control device for a handle according to one embodiment of the application;
FIG. 13 shows a fourth block diagram of a control device for a handle according to one embodiment of the application;
fig. 14 shows a schematic structural diagram of an electronic device according to an embodiment of the present application.
Wherein, the correspondence between the reference numerals and the component names in fig. 1 to 7 is:
10 handles, 100 housings, 110 back plates, 120 top plates, 130 panels, 140 keys, 150 right handles, 160 left handles, 170 communication components, 180 mcus, 210 openings, 220 photosensitive components, 230 infrared components, 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 of the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which are obtained by a person skilled in the art based on the embodiments of the present application, fall within the scope of protection of the present application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged, as appropriate, such that embodiments of the present application may be implemented in sequences other than those illustrated or described herein, and that the objects identified by "first," "second," etc. are generally of a type, and are not limited to the number of objects, such as the first object may be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is 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 photosensitive member 220, and a communication member 170; the shell is internally provided with a containing space, and an opening 210 communicated with the containing space is arranged on the shell; the photosensitive component 220 is disposed in the accommodating space, and the photosensitive component 220 is opposite to the opening 210, so that the light intensity of the ambient light can be detected, and a light intensity signal can be generated; the communication part 170 is communicatively connected with the photosensitive part 220, the handle 10 may be connected with the electronic device 700 through the communication part 170, and in case the handle 10 is communicatively connected with the electronic device 700, a 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 provided in the housing 100, a photosensitive member 220 is provided at the opening 210, and the photosensitive member 220 is capable of detecting the intensity of light in the environment where the handle 10 is located and transmitting the detected intensity of light to the communication member 170. The communication part 170 then 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 photosensitive component 220 arranged in the shell 100 can detect the light intensity of the surrounding environment, the situation that the electronic equipment 700 cannot automatically adjust the brightness of the screen according to the surrounding brightness because the photosensitive sensor at the edge of the electronic equipment 700 is shielded by the handle 10 is avoided, so that the photosensitive sensor of the electronic equipment 700 can adjust the screen in real time even if the photosensitive sensor is shielded by the handle 10, the intelligent degree of the electronic equipment 700 is improved, and the stability of the electronic equipment 700 is ensured.
The electronic device 700 adjusts the screen including adjusting the brightness of the screen and adjusting the color temperature of the screen.
By means of a correlation algorithm, the color temperature value of the ambient light 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 according to the color temperature value, i.e. dynamic color temperature adjustment can be realized.
The photosensitive component 220 of the electronic device 700 is placed under the screen, the signal-to-noise ratio of the ambient light is low, the screen light has interference, and the color temperature adjustment cannot be realized, and the electronic device 700 can adjust the color temperature of the screen according to the color temperature of the ambient light through the photosensitive component 220 arranged on the handle 10.
Specifically, the photosensitive member 220 is a photosensitive sensor.
In one embodiment of the present application, as shown in fig. 1 and 2, the handle 10 further includes an infrared component 230, where 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, so as to avoid interference of the photosensitive component 220 with detection of illumination intensity of the surrounding environment due to the blocking of the opening 210 by a human body or an object, and improve accuracy of detection of illumination intensity by the photosensitive component 220.
When there is a finger blocking infrared, the infrared communication value IR > K1 of the infrared member 230, i.e., a finger is considered to be close, the photosensitive data is not used. The infrared communication value IR refers to an ADC (Analog-to-digital converter ) value of infrared light, and K1 is a threshold value.
Specifically, the infrared component 230 is an infrared sensor.
In one embodiment of the present application, as shown in FIGS. 1 and 2, the handle 10 further includes a light transmissive cover plate 240 and an IR (Infrared Radiation ) ink layer 250; the transparent cover plate 240 is disposed on the opening 210; the IR ink layer 250 is coated on a side of the light-permeable cover plate 240 remote from the receiving space.
In this embodiment, by providing the light-permeable cover plate 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. At the same time, the light-permeable cover 240 does not block the light in the surrounding environment from entering the housing 100, so that the light-sensitive component 220 can accurately detect the illumination intensity of the surrounding environment. The IR ink layer 250 is coated on the light-permeable cover plate 240, and the transmittance of the IR ink layer 250 to visible light is low, so that a user cannot watch the inside of the handle 10 from the outside of the handle 10, the integrity of the handle 10 is improved, and the handle 10 is more attractive. And the IR ink layer 250 does not completely block visible light, light in the surrounding environment can still pass through the IR ink layer 250 and enter the housing 100, so that the light-sensitive component 220 can accurately detect the illumination intensity of the surrounding environment.
Specifically, the transmittance of the IR ink layer 250 is 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 are respectively arranged at two sides of the back plate 110; the two panels 130 are respectively connected with the two top plates 120; 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 face plates 130 and a plurality of keys 140, and the plurality of keys 140 are respectively disposed on the two face plates 130 and the two top plates 120, so as to facilitate the 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, and is located between the plurality of keys 140 and the two top plates 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 cover the opening 210 when holding the handle 10, and further, the light detection of the surrounding environment by the photosensitive member 220 is prevented from being affected by the shielding of the opening 210 by the human body.
In one embodiment of the present application, as shown in fig. 1 to 4, the number of the openings 210 is plural, and the plurality of openings 210 are respectively disposed on the two face 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 plural, the plural photosensitive members 220 are disposed corresponding to the plural openings 210, and the plural 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 providing a plurality of photosensitive elements 220, the photosensitive detection ambient light FOV (Field of View) is greatly improved, the screen of the electronic device 700 is greatly improved in terms of dynamic response to ambient light, and the photosensitive performance and application performance are more pronounced.
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 will be smaller, but the human eye can feel the light, so that the adjustment of the screen of the electronic device 700 can be made more accurate by optimizing the screen brightness through the illumination intensity detected by the photosensitive member 220 disposed at the top plate 120.
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, and when the user backlights the electronic device 700, the values of the illumination intensities detected by the photosensitive member 220 disposed on the front plate 130 and the top plate 120 will be smaller, but the human eyes can feel the light, so that the adjustment of the screen of the electronic device 700 can be more accurate by optimizing the screen brightness through the illumination intensities detected by the photosensitive member 220 disposed at the back plate 110.
As shown in fig. 5, in one embodiment of the application, the communication component 170 further comprises a wireless communication component and/or a communication interface; the wireless communication means 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 via a communication interface to send a light intensity signal to the electronic device 700.
In this embodiment, the transmission of signals is achieved by providing a wireless communication means and/or a communication interface, thereby enabling the electronic device 700 to adjust the brightness or color temperature of the screen according to the intensity of illumination detected by the handle 10.
The wireless communication component is a Bluetooth module or a radio frequency module and the like.
In one embodiment of the present application, the handle 10 further comprises: MCU (Microcontroller Unit), key 140, power module 280, battery 270 and DC (Direct Current) -DC charging circuit 260.
Specifically, the photosensitive component 220 receives ambient light through the casing of the game pad 10, converts the light signal into an electrical signal, the internal ADC converts the analog signal into a digital signal, and then transmits the digital signal to the MCU180 through the I 2 C (Inter-INTEGRATED CIRCUIT, serial communication bus), and finally the MCU180 transmits the ambient light data to the electronic device 700.
As shown in fig. 5, the left and right handles 160 and 150 are connected by wireless, and the right handle 150 is connected with 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 photosensitive 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 one embodiment of the present application, as shown in fig. 8, there is provided a control method of a handle provided with a photosensitive member thereon, the control method of the handle comprising:
Step 302, controlling a photosensitive component to detect the intensity of light around the handle and generating a target light intensity signal under the condition that the handle is in communication connection with the electronic device;
and step 304, the target light intensity signal is sent to the electronic equipment, so that the electronic equipment adjusts the display state of the screen of the electronic equipment according to the target light intensity signal.
In this embodiment, the control method of the handle can be used for the handle of any of the above embodiments. Under the condition that the handle is connected with the electronic equipment, the photosensitive component is controlled to detect the light intensity around the shell, and a target light intensity signal is generated, and the target light intensity signal is sent 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 situation that the electronic equipment cannot automatically adjust the brightness of the screen according to the surrounding brightness due to the fact that the photosensitive sensor at the edge of the electronic equipment is shielded by the handle is avoided, the photosensitive sensor of the electronic equipment can adjust the screen in real time even if the photosensitive sensor of the electronic equipment is shielded by the handle is avoided, the intelligent degree of the electronic equipment is improved, and the stability of the electronic equipment is ensured.
In one embodiment of the present application, in the case where the number of the photosensitive members is plural, controlling the photosensitive members to detect the intensity of light around the housing and generating the target light intensity signal includes:
controlling a plurality of photosensitive components to detect the light intensity around the shell and generating a plurality of first light intensity signals;
and calculating a target light intensity signal according to the plurality of light sensitivity coefficients and the plurality of first light intensity signals corresponding to the plurality of light sensitive components.
In this embodiment, when the plurality of photosensitive components detect the light intensity of the surrounding environment at the same time, the light intensity detected by each photosensitive component is corrected by the plurality of photosensitive coefficients, so as to obtain the actual illumination intensity, so that the detection of the illumination intensity of the surrounding environment by the photosensitive component is more accurate, and the adjustment of the screen by the electronic device is more accurate.
Specifically, generating the target light intensity signal based on the plurality of light sensitivity coefficients and the plurality of first light intensity signals corresponding to the plurality of light sensitive components 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, that is, the value of visible light detected by the ambient light sensor, 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, the number of the openings is plural, 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, and before controlling the plurality of photosensitive members to detect the intensity of light around the housing, controlling the photosensitive members to detect the intensity of light around the housing, and generating the target light intensity signal further includes:
Controlling the infrared part to detect whether the plurality of openings are shielded;
when some of the plurality of openings are blocked, the photosensitive coefficient of the photosensitive member corresponding to the blocked opening is zero, and the photosensitive coefficient of the photosensitive member corresponding to the non-blocked opening is a preset coefficient.
In this embodiment, under the condition that the opening is blocked, the photosensitive coefficient corresponding to the photosensitive component at the blocked opening is zero, that is, the preset coefficient is zero, so that the illumination intensity detected by the opening cannot be reflected in the final detection result, the interference of the detection of the illumination intensity of the photosensitive component to 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 photosensitive component is improved.
In the case that the opening is not blocked, the photosensitivity of the photosensitive member at the unblocked opening 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:
controlling the infrared part to detect the blood flow frequency of the human body under the condition that the opening is shielded and the shielding object is the human body;
Calculating to obtain 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 device so that the electronic device can display the heart rate of the human body.
In this embodiment, through the detection of infrared subassembly to human blood flow frequency, and then realize the detection to user's rhythm of the heart, when enriching the handle function for the handle can send the rhythm of the heart that detects to electronic equipment, so that electronic equipment can adjust the screen according to user's rhythm of the heart, makes the user can be better comfortable when using electronic equipment.
When heart rate is detected, the infrared component is interacted and controlled through software, so that the infrared emission frequency is increased, and the detection of the blood flow frequency of a human body by the infrared component 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 the infrared part to detect whether a plurality of openings are shielded; under the condition that the opening is shielded, the photosensitive coefficient corresponding to the photosensitive component at the shielded opening is zero, and under the condition that the opening is not shielded, the photosensitive coefficient corresponding to the photosensitive component at the non-shielded opening is a preset coefficient;
Step 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 a target light intensity signal according to a plurality of light sensitivity coefficients and a plurality of first light intensity signals corresponding to the plurality of light sensitive components;
step 408, the target light intensity signal is sent 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 for a handle, on which a photosensitive member is provided, the control device 500 for a handle including a control module 510 and a communication module 520.
The control module 510 is configured to control the photosensitive member to detect the intensity of light around the handle and generate a target light intensity signal when the handle is communicatively coupled to 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 embodiments described above. Under the condition that the handle is connected with the electronic equipment, the photosensitive component is controlled to detect the light intensity around the shell, and a target light intensity signal is generated, and the target light intensity signal is sent 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 situation that the electronic equipment cannot automatically adjust the brightness of the screen according to the surrounding brightness due to the fact that the photosensitive sensor at the edge of the electronic equipment is shielded by the handle is avoided, the photosensitive sensor of the electronic equipment can adjust the screen in real time even if the photosensitive sensor of the electronic equipment is shielded by the handle is avoided, the intelligent degree of the electronic equipment is improved, and the stability of the electronic equipment is ensured.
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 configured to control the plurality of photosensitive components 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 sensitivity coefficients corresponding to the plurality of light sensitive components and the plurality of first light intensity signals.
In this embodiment, when the plurality of photosensitive components detect the light intensity of the surrounding environment at the same time, the light intensity detected by each photosensitive component is corrected by the plurality of photosensitive coefficients, so as to obtain the actual illumination intensity, so that the detection of the illumination intensity of the surrounding environment by the photosensitive component is more accurate, and the adjustment of the screen by the electronic device is more accurate.
Specifically, generating the target light intensity signal based on the plurality of light sensitivity coefficients and the plurality of first light intensity signals corresponding to the plurality of light sensitive components 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 sensitivity coefficient of the first light sensitive component, a2 is the light sensitivity coefficient of the second light sensitive component, a3 is the light sensitivity coefficient of the third light sensitive component, an is the light sensitivity 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, 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 a plurality, which 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 to control the infrared component to detect whether the plurality of openings are occluded.
When some of the plurality of openings are blocked, the photosensitive coefficient of the photosensitive member corresponding to the blocked opening is zero, and the photosensitive coefficient of the photosensitive member corresponding to the non-blocked opening is a preset coefficient.
In this embodiment, under the condition that the opening is blocked, the photosensitive coefficient corresponding to the photosensitive component at the blocked opening is zero, so that the illumination intensity detected by the opening cannot be reflected in the final detection result, interference of detection of the illumination intensity of the photosensitive component to the surrounding environment due to the blocking of the opening by a human body or an object is avoided, and the accuracy of detection of the illumination intensity by the photosensitive component is improved.
In the case that the opening is not blocked, the photosensitivity of the photosensitive member at the unblocked opening 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 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 part 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 configured to calculate a heart rate of the human body according to the blood flow frequency.
The communication module is also used for sending the heart rate of the human body 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 human blood flow frequency, and then realize the detection to user's rhythm of the heart, when enriching the handle function for the handle can send the rhythm of the heart that detects to electronic equipment, so that electronic equipment can adjust the screen according to user's rhythm of the heart, makes the user can be better comfortable when using electronic equipment.
In one embodiment of the present application, as shown in fig. 14, there is provided a handle 10 comprising a processor 12, a memory 14 and a program or instruction stored on the memory 14 and executable on the processor 12, which when executed by the processor 12, implements the steps of the control method of the handle of any of the embodiments described above, and thus the handle has all the advantages of the control method of the handle of any of the embodiments described above.
In one embodiment of the present application, there is provided a readable storage medium having stored thereon a program or instructions which, when executed by a processor, implement the steps of the method for controlling a handle of any of the embodiments described above, and which therefore has all the advantageous effects of the method for controlling a handle of any of the embodiments described above.
Wherein the processor is the processor in the handle in the above embodiment. Readable storage media include computer readable storage media such as Read-Only Memory (ROM), random access Memory (Random Access Memory, RAM), magnetic or optical disks, and the like.
The embodiment of the application further provides a chip, the chip comprises a processor and a communication interface, the communication interface is coupled with the processor, the processor is used for running programs or instructions, the control method of the handle of the embodiment of the method is realized, the same technical effects can be achieved, and the repetition is avoided, and the description is omitted here.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, 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 one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in part in the form of a computer software product stored on a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method of the embodiments of the present application.
In the claims, specification and drawings of the present application, the term "plurality" means two or more, unless explicitly defined otherwise, the orientation or positional relationship indicated by the terms "upper", "lower", etc. are based on the orientation or positional relationship shown in the drawings, only for the convenience of describing the present application and making the description process easier, and not for the purpose of indicating or implying that the device or element in question must have the particular orientation described, be constructed and operated in the particular orientation, and therefore such description should not be construed as limiting the present application; the terms "connected," "mounted," "secured," and the like are to be construed broadly, and may be, for example, a fixed connection between a plurality of objects, a removable connection between a plurality of objects, or an integral connection; the objects may be directly connected to each other or indirectly connected to each other through an intermediate medium. The specific meaning of the terms in the present application can be understood in detail from the above data by those of ordinary skill in the art.
In the claims, specification, and drawings of the present application, the descriptions of terms "one embodiment," "some embodiments," "particular embodiments," etc., mean 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 present application. In the claims, specification and drawings of the present application, the schematic representations of the above terms do not necessarily refer to the same embodiments or examples. 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 of the preferred embodiments of the present application and is not intended to limit the present application, but various modifications and variations can be made to the present application by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (8)

1. A handle, wherein the handle is detachably connected with an electronic device, the handle comprising:
The shell is internally provided with an accommodating space, 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 ambient light, and can generate a light intensity signal;
The infrared component corresponds to the photosensitive component, the infrared component is arranged in the accommodating space, and the emitting end of the infrared component faces the opening and is used for detecting whether the opening is shielded or not, and the photosensitive coefficient of the photosensitive component corresponding to the shielded opening is zero;
a communication part connected with the photosensitive part;
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, so that the electronic equipment can adjust the display state of the screen of the electronic equipment according to the light intensity signal.
2. The handle according to claim 1, further comprising:
the light-permeable cover plate is covered on the opening;
And the IR ink layer is coated on one side of the transparent cover plate far away from the accommodating space.
3. A handle according to claim 1 or 2, wherein the housing comprises:
A back plate;
the two top plates are connected with the back plate and are respectively arranged at two sides of the back plate;
the two panels are respectively connected with the two top plates;
the keys are respectively arranged on the two panels and the two top plates.
4. A handle as in claim 3, wherein the handle comprises a handle portion,
The opening is arranged on at least one panel of the two panels and is positioned between the plurality of keys and the two top plates.
5. A control method of a handle, characterized in that a photosensitive member is provided on the handle, the number of openings is plural, the same as the number of the photosensitive members, and plural openings are provided corresponding to plural photosensitive members, the control method comprising:
Controlling the infrared part to detect whether the plurality of openings are shielded;
In the case where a part of the plurality of openings is blocked, the photosensitive coefficient of the photosensitive member corresponding to the blocked opening is zero,
The photosensitive coefficient of the photosensitive component corresponding to the non-shielded opening is a preset coefficient;
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 sending the target light intensity signal to the electronic equipment so that the electronic equipment adjusts the display state of the screen of the electronic equipment according to the target light intensity signal.
6. The method of controlling a handle according to claim 5, wherein in the case where the number of the photosensitive members is plural, controlling the photosensitive members to detect the intensity of light around the housing and generating the target light intensity signal includes:
controlling a plurality of photosensitive components to detect the light intensity around the shell and generating a plurality of first light intensity signals;
and calculating the target light intensity signal according to a plurality of light sensitivity coefficients corresponding to the plurality of light sensitive components and the plurality of first light intensity signals.
7. The control method of a handle according to claim 5 or 6, characterized by further comprising:
controlling the infrared part to detect the blood flow frequency of the human body under the condition that the opening is shielded and the shielding object is 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.
8. A control device of handle, characterized in that is provided with photosensitive element on the handle, and the quantity of opening is a plurality of, with photosensitive element's quantity is the same, a plurality of the opening with a plurality of photosensitive element corresponds the setting, control device includes:
the control module further comprises a second sub-control module, wherein the second sub-control module is used for controlling the infrared part to detect whether the plurality of openings are shielded;
In the case where a part of the plurality of openings is blocked, the photosensitive coefficient of the photosensitive member corresponding to the blocked opening is zero,
The photosensitive coefficient of the photosensitive component corresponding to the non-shielded opening is a preset coefficient;
the control module is used for controlling the photosensitive component to detect the light intensity around the handle and generating 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 can adjust the display state of the 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 CN113760096A (en) 2021-12-07
CN113760096B true 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
CN113760096A (en) 2021-12-07

Similar Documents

Publication Publication Date Title
CN105078409B (en) Approaches to IM and electronic device
EP3562131A1 (en) Display screen state control method and apparatus, storage medium, and electronic device
US10355415B2 (en) PCB including connector and grounds with different potentials, and electronic device having the same
CN108989567B (en) Information reminding method, storage medium and electronic equipment
CN108257581A (en) A kind of method of adjustment of light intensity sensing device, mobile terminal and brightness of display screen
CN103685624B (en) Hand-hold electronic device
KR20190048194A (en) Electronic device with display
EP3835926A1 (en) Prompt method and apparatus for eye-protection mode, electronic device and storage medium
US11450230B2 (en) Electronic device including meditation application
CN109661804A (en) The method of electronic equipment and operation electronic equipment including iris recognition sensor
CN110012153A (en) It goes out and shields the method and electronic equipment of display
CN113760096B (en) Handle, control method and control device
CN109257463A (en) A kind of terminal device and its control method
US20200333938A1 (en) Method and device for sensing pressure applied to a screen with at least one sensor means
CN109963005A (en) A kind of double screen brightness control system, method and computer storage medium
CN108968962B (en) Exhaled gas detection method and device, storage medium and terminal equipment
WO2021054566A1 (en) Electronic device and method for electronic device to control transmission power
CN113133741A (en) Skin detection method and device and skin detector
WO2023163505A1 (en) Electronic device for providing exercise guide on basis of exercise capacity and method for controlling same
US11474026B2 (en) Optical fingerprint assembly and signal processing method
CN113596202B (en) Control method of photosensitive sensor and electronic equipment
US20240164715A1 (en) Electronic device including sensor module
CN218886549U (en) Head-mounted device and handle assembly
CN109040425A (en) Information processing method and related product
US20210153810A1 (en) Electronic device for measuring bio-signals

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