Key module and electronic equipment
By designing a button module on an electronic device, using the acquisition device and control unit combined with the measured surface of the moving part, the problem of cumbersome determination of the moving position of the toggle switch in the prior art is solved, and a simple and efficient control instruction provision is achieved.
Patent Information
- Application Number
- CN202310956700.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-31
- Publication Date
- 2025-02-14
AI Technical Summary
In the prior art, the method of determining the moving position of the toggle switch is more cumbersome and is not conducive to implementation.
A key module is provided, including a moving part, a acquisition device and a control unit. The measured surface of the moving part is arranged with the acquisition device, and the control unit provides control instructions based on the collected information to be tested.
Obtaining the mobile information of the mobile parts through contactless acquisition simplifies the design process and avoids dependence on complex algorithms and structural changes.
Smart Images

Figure CN119449935A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of electronic equipment structure, and in particular to a key module and electronic equipment. Background Art
[0002] With the rapid development of mobile communication technology, electronic devices such as mobile phones and tablet computers have become indispensable devices in people's daily lives. The toggle switch on the electronic device is a way to control the electronic device to achieve corresponding functions, for example, triggering to turn on or off the camera, controlling music playback, or scrolling the display interface. The toggle switch is generally arranged on the side of the electronic device and can be moved along the extension direction of the side length of the side to achieve the corresponding triggering or control functions according to the moving position of the toggle switch.
[0003] However, the method of determining the moving position of the toggle switch in the related art is relatively complicated and not conducive to implementation. Summary of the invention
[0004] On the one hand, an embodiment of the present application provides a button module, which includes a moving part, a collection device and a control unit; the moving part has a measured surface; the collection device is arranged opposite to the measured surface, and is used to collect information to be measured on the measured surface; the control unit is electrically connected to the collection device, and is used to provide control instructions according to the information to be measured collected by the collection device; wherein, when the moving part moves relative to the collection device, the collection device can collect changing information to be measured, and the control unit can obtain movement information of the moving part according to the information to be measured, and provide corresponding control instructions according to the movement information.
[0005] On the other hand, an embodiment of the present application further provides an electronic device, which includes a shell and the key module described in the above embodiment, wherein a moving part in the key module is assembled on the shell, and a measured surface of the moving part faces the accommodating space, and a collection device and a control unit in the key module are assembled in the accommodating space.
[0006] The key module and electronic device provided in the embodiment of the present application, by arranging the acquisition device and the measured surface of the moving part relative to each other, can acquire the changed information to be measured when the moving part is moved by the external force, thereby enabling the control unit to obtain the movement information of the moving part and provide corresponding control instructions. That is, the embodiment of the present application acquires the movement information of the moving part by the non-contact acquisition method of the acquisition device, which is not easily affected by changes in the external environment, and does not need to use complex algorithms to avoid interference or structural changes during design. BRIEF DESCRIPTION OF THE DRAWINGS
[0007] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0008] Figure 1 is a schematic diagram of the structure of an electronic device in some embodiments of the present application;
[0009] Figure 2 is a schematic block diagram of the structure of an electronic device in some embodiments of the present application;
[0010] Figure 3 is a schematic diagram of the structure of a key module in some embodiments of the present application;
[0011] Figure 4 yes Figure 3 The structural schematic diagram of the key module shown is in the first state;
[0012] Figure 5 yes Figure 3 The structural schematic diagram of the key module shown is in the second state;
[0013] Figure 6 yes Figure 3 The structural schematic diagram of the key module shown is in the third state;
[0014] Figure 7 is a structural schematic diagram of a key module in some other embodiments of the present application when it is in a first state;
[0015] Figure 8 yes Figure 7 The structural schematic diagram of the key module shown is in the second state;
[0016] Fig. 9 is a schematic diagram of the structure of the key module in other embodiments of the present application;
[0017] Fig.10 is a structural schematic diagram of a key module in some other embodiments of the present application when it is in a first state;
[0018] Fig.11 yes Fig.10 The structural schematic diagram of the key module shown is in the second state;
[0019] Fig.12 is a partial structural schematic diagram of an electronic device in some other embodiments of the present application;
[0020] Fig.13 is a partial structural schematic diagram of an electronic device in some other embodiments of the present application;
[0021] Fig.14 It is a partial structural diagram of an electronic device in some other embodiments of the present application. DETAILED DESCRIPTION
[0022] The present application is further described in detail below in conjunction with the accompanying drawings and examples. It is particularly noted that the following examples are only used to illustrate the present application, but are not intended to limit the scope of the present application. Similarly, the following examples are only some embodiments of the present application rather than all embodiments, and all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application.
[0023] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0024] See also Figure 1 , Figure 1 1 is a schematic diagram of the structure of an electronic device 100 in some embodiments of the present application. The electronic device 100 may be a mobile phone, a tablet computer, a laptop computer, or a wearable device. For example, the electronic device in the embodiments of the present application may be a mobile phone.
[0025] The electronic device 100 may include the following structure: a housing 110 and a display screen 120 disposed on the housing 110. The display screen 120 may be used to provide an image display function for the electronic device 100, and the display screen 120 may be covered on one side of the middle frame 111, and the two may be bonded and fixed by adhesive. The display screen 120 may be used to display images, and may be used as an interactive interface to instruct the user to perform touch operations such as clicking, sliding, and pressing. At the same time, the display screen 120 may be a dual-curved screen or a quad-curved screen in appearance to reduce the black border of the display screen 120 and increase the visible area of the display screen 120. Accordingly, the display screen 120 may also be a conventional flat screen, and the display screen 120 only needs to be able to realize the graphic display function of the electronic device 100.
[0026] The housing 110 may be a box-shaped structure with an opening at one end. The display screen 120 covers the opening of the housing 110 and surrounds the housing 110 to form a receiving space for assembling the electronic device 100 and installing components (such as a motherboard, battery, etc., not shown in the figure).
[0027] Optionally, the housing 110 may include a middle frame 111 and a cover plate 112. The middle frame 111 may include a middle plate and a frame (not shown in the figure), and the frame may be formed by extending the side wall of the middle plate in the thickness direction of the middle plate, so that the two sides of the middle frame 111 that are oppositely arranged can form corresponding open structures. The display screen 120 and the cover plate 112 may be respectively covered on the open structures on the opposite sides of the middle frame 111, thereby forming a housing space for the electronic device 100 together with the middle frame 111. In addition, in some embodiments, the middle frame 111 may include only a frame, the display screen 120 may be connected to one side of the middle frame 111, and the cover plate 112 may be connected to the other opposite side of the middle frame 111. The display screen 120 and the cover plate 112 may be respectively covered on the open structures on the opposite sides of the middle frame 111, thereby forming a housing space for the electronic device 100 together with the middle frame 111. The housing space can be used to install components of the electronic device 100 such as batteries and motherboards. It should be noted that all directional indications in the embodiments of the present application (such as up, down, left, right, front, back, etc.) are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.
[0028] A processor (Central Processing Unit, CPU) may be integrated on the main board of the electronic device 100, and the CPU may issue control instructions in response to user operations to implement related functions.
[0029] See also Figure 2 , Figure 2 1 is a schematic block diagram of the structure of the electronic device 100 in some embodiments of the present application. The electronic device 100 may include a processor 101, an external memory interface 102, an internal memory 103, a universal serial bus (USB) interface 104, a first antenna 1051, a second antenna 1052, a mobile communication module 106, a wireless communication module 107, an audio module 108, a speaker 1081, a receiver 1082, a microphone 1083, an earphone interface 1084, and a sensor module 109, etc.
[0030] It is understandable that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0031] See again Figure 1, the electronic device 100 may further include a button module 130, which may be configured to implement the corresponding functions of the toggle switch. That is, the button module 130 can move relative to the housing 110 of the electronic device 100 to trigger the processor to provide corresponding control instructions and thereby implement the corresponding functions. Among them, the corresponding functions that can be implemented by the button module 130 can be understood as the functions that can be implemented by the toggle switch of the electronic device 100 in a specific application scenario. For example, the movement of the button module 130 relative to the housing 110 can implement functions such as triggering turning on / off the camera, adjusting the volume, turning the machine on and off, controlling music playback (pause, previous song, next song), web browsing, or switching the position of application icons.
[0032] See also Figure 3 , Figure 3 1 is a schematic diagram of the structure of the key module 130 in some embodiments of the present application. The key module 130 may include: a moving part 310 disposed on the housing 110 of the electronic device 100 and movable relative to the housing 110, a collection device 320 disposed in the accommodating space of the electronic device 100, and a control unit (not shown in the figure). Among them, the control unit may be the processor in the aforementioned embodiment, or the processing circuit integrated on the mainboard in the aforementioned embodiment. The control unit is connected to the collection device 320 by signal, so as to receive the relevant information collected by the collection device 320 and provide corresponding control instructions according to the information.
[0033] Specifically, the moving member 310 can be arranged on the middle frame 111 of the housing 110, and can be moved relative to the middle frame 111. Of course, in other embodiments, the moving member 310 can be arranged on the cover plate 112 of the housing 110, and can be moved relative to the cover plate 112. Alternatively, the moving member 310 can also be arranged on the joint of the middle frame 111 and the cover plate 112, and can be moved relative to the housing 110. Optionally, a slot 1101 is provided on the middle frame 111 of the housing 110, and the moving member 310 is at least partially arranged in the slot 1101 and can be moved along the slot 1101. Optionally, the moving member 310 can be penetrated in the slot 1101 and extend into the accommodating space of the electronic device 100, and can be moved along the slot 1101. Wherein, when the moving member 310 is subjected to an external force (such as a user's dialing, or pressing operation), the moving member 310 can move relative to the housing 110 in the slot 1101.
[0034] It can be understood that the direction in which the longer side of the slot 1101 extends can be consistent with the length direction of the electronic device 100, so that the moving member 310 can move in the length direction of the electronic device 100. Alternatively, the direction in which the longer side of the slot 1101 extends can be consistent with the width direction of the electronic device 100, so that the moving member 310 can move in the width direction of the electronic device 100. Alternatively, the direction in which the longer side of the slot 1101 extends can be consistent with the thickness direction of the electronic device 100, so that the moving member 310 can move in the thickness direction of the electronic device 100. Further, the moving member 310 can have an end face exposed in the accommodating space of the electronic device 100, and the end face is arranged opposite to the acquisition device 320, so that the acquisition device 320 can collect the information to be measured on the end face. The information to be measured on the end face can be image information such as color and / or pattern, or it can be pixel point information or texture information on the end face.
[0035] In one embodiment, the slot 1101 may be a through hole penetrating the housing 110, and the moving member 310 is at least partially disposed in the slot 1101, so that the end surface of the moving member 310 is exposed in the accommodation space of the electronic device 100 and is opposite to the collection device 320. In addition, in some embodiments, the slot 1101 may be a blind hole with an opening direction away from the accommodation space of the electronic device 100, and the bottom wall of the slot 1101 is transparent, and the moving member 310 is at least partially disposed in the slot 1101, so that the end surface of the moving member 310 can be exposed in the accommodation space of the electronic device 100 and is opposite to the collection device 320.
[0036] In one embodiment, the moving part 310 has a measured surface 311, and the measured side surface 331 can be understood as the end surface exposed in the accommodation space of the electronic device 100 in the above embodiment. Of course, in other embodiments, the measured surface 311 can be understood as the surface of other components arranged in the accommodation space and connected to the moving part 310, and the surface of the other component is arranged opposite to the acquisition device 320. Among them, the acquisition device 320 is arranged opposite to the measured surface 311, and is configured to collect the information to be measured on the measured side surface 311. Optionally, the information to be measured on the measured side surface 311 can be image information such as color and / or pattern formed on the measured side surface 311, and / or, the information to be measured on the measured side surface 311 can be pixel point information or texture information of the measured surface 311 itself.
[0037] The acquisition device 320 is located in the accommodation space and is arranged opposite to the measured surface 311 to collect the information to be measured on the measured surface 311. The acquisition device 320 can be a color camera, a black and white camera, or a photosensitive device that can collect the information to be measured on the measured surface 311.
[0038] Furthermore, the control unit is connected to the acquisition device 320 by wire or wireless means to realize signal connection, and is used to receive the information to be tested collected by the acquisition device 320, and analyze and process the information to be tested to provide corresponding control instructions. Among them, the control unit can be the processor in the aforementioned embodiment, or the processing circuit integrated on the mainboard in the aforementioned embodiment. The control unit can provide corresponding control instructions based on the information collected by the acquisition device 320, so that the mobile part 310 can realize functions such as turning on / off the camera, adjusting the volume, turning on and off, controlling music playback (pause, previous song, next song), web browsing, or switching the position of application icons.
[0039] In one embodiment, when the user moves the moving member 310 up and down or left and right, or presses the moving member 310 to move the moving member 310 into the accommodating space, the moving member 310 moves relative to the acquisition device 320, and the surface to be measured 311 on the moving member 310 moves synchronously relative to the acquisition device 320. In other words, when the moving member 310 is subjected to force and moves relative to the acquisition device 320, the acquisition device 320 can collect the information to be measured of the movement change, and transmit the collected information to be measured to the control unit, so that the control unit can obtain the movement information of the moving member 310 according to the information to be measured on the side surface 311, and provide corresponding control instructions according to the movement information of the moving member 310. Among them, the movement information of the moving member 310 can be the moving direction and moving distance of the moving member 310, or it can be the position change of the moving member 310 before and after the movement.
[0040] Optionally, the control unit may provide control instructions of different degrees according to the moving direction, moving distance, and / or position change before and after the movement of the moving member 310 .
[0041] For example, when the moving member 310 moves upward by one unit distance, a control instruction for increasing the volume by 10% is provided, and when the moving member 310 moves upward by two unit distances, a control instruction for increasing the volume by 20% is provided. The control unit may also provide a preset control instruction according to the position of the moving member 310 after movement, such as providing a preset control instruction for turning on the camera when the moving member 310 moves to a certain position.
[0042] The key module and electronic device provided in the embodiment of the present application can collect the changing information to be measured when the moving part is moved by the external force by arranging the acquisition device and the measured surface of the moving part relative to each other, thereby enabling the control unit to obtain the movement information of the moving part and provide corresponding control instructions. That is, the embodiment of the present application obtains the movement information of the moving part by the non-contact acquisition method of the acquisition device, which is not easily affected by changes in the external environment, and does not need to use complex algorithms to avoid interference or structural changes during design.
[0043] See also Figure 4 and Figure 5 , Figure 4 yes Figure 3 The key module 130 is in the first state. Figure 5 yes Figure 3 The key module 130 shown is a structural schematic diagram when it is in the second state, wherein in the first state of the key module 130, the movable member 310 is located at the first position of the shell 110, and in the second state of the key module 130, the movable member 310 is located at the second position of the shell 110.
[0044] Specifically, the moving member 310 can move between a first position and a second position relative to the housing 110, and the measured surface 311 can have a first measured portion 3111 and a second measured portion 3112, and the first measured portion 3111 and the second measured portion 3112 are sequentially distributed in the moving direction of the moving member 310. Optionally, the sequential distribution of the first measured portion 3111 and the second measured portion 3112 can be sequentially spaced, partially overlapped, or sequentially arranged with adjacent edges in the moving direction of the moving member 310.
[0045] In one embodiment, when the moving member 310 is at the first position, the collecting device 320 is opposite to the first detected portion 3111 of the moving member 310 (eg, Figure 4 3111) to collect the information to be measured of the first measured part 3111. When the moving member 310 is in the second position, the collecting device 320 is opposite to the second measured part 3112 of the moving member 310 (as shown in FIG. Figure 5 As shown), to collect the information to be measured of the second measured part 3112. In other words, when the moving part 310 is in the first position, the collecting device 320 is opposite to the first measured part 3111, and the collecting device 320 can collect the information to be measured of the first measured part 3111; when the moving part 310 is in the second position, the collecting device 320 is opposite to the second measured part 3112, and the collecting device 320 can collect the information to be measured of the second measured part 3112. The control unit can compare the two pieces of information to be measured collected by the collecting device 320 to obtain the moving position and moving distance of the moving part; the corresponding relationship between the position of the moving part 310 and the information to be measured of the measured part can also be preset in the control unit. After collecting the information to be measured of the movement of the moving part 310, the collected information to be measured is compared with the preset corresponding relationship to obtain the position of the moving part 310 after movement.
[0046] It can be understood that the measured surface 311 can also have a third measured part, that is, the number of measured parts is not limited to two, and can be three, four, or more. When the number of measured parts is N (N ≥ 3), the Nth position of the moving member 310 can be set between the first position and the second position, and the Nth measured part corresponding thereto is set on the measured surface. When the moving member 310 is in the Nth position, the collection device 320 is opposite to the Nth measured part, and the collection device 320 can collect the information to be measured of the Nth measured part.
[0047] Optionally, the acquisition device 320 may be a camera for acquiring images. The information to be measured on the first measured part 3111 may be first image information formed on the measured surface 311 , and the information to be measured on the second measured part 3112 may be second image information formed on the measured surface 311 .
[0048] The first image information includes a first pattern and / or a first color, and the second image information includes a second pattern and / or a second color. Specifically, the first image information and the second image information should not be exactly the same. For example, the first image information may be a combination of a first pattern and a second pattern; the first image information may be a combination of a first pattern and a second color; the first image information may be a combination of a first color and a second color; the first image information may be a combination of a first color and a second pattern; the first image information may be a combination of a first pattern and a first color, and the second image information may be a combination of a second pattern and a second color.
[0049] The first pattern and the second pattern may be figures such as triangles, squares, or circles, symbols such as "+" or "-", or letter patterns such as "A", "B", or "C", or patterns such as text. The first color and the second color may be colors such as red, yellow, or blue, or colors with different gray values. When the first pattern or the second pattern has a color combination, the acquisition device 320 is a color camera; in other combinations, the acquisition device 320 may be a color camera or a black and white camera.
[0050] Furthermore, when the information to be measured collected by the collection device 320 includes the first image information and the second image information, the control unit may provide corresponding control instructions according to the first image information and / or the second image information, that is, provide corresponding control instructions based on the difference between the first image information and / or the second image information.
[0051] In one embodiment, the button module 130 further includes a limiting member (not shown in the figure), and the limiting member is configured to limit the moving member 310 to the first position or the second position. For example, the limiting member can be an elastic structural member such as a spring or foam provided on one of the moving member 310 and the housing 110, and the other of the moving member 310 and the housing 110 is provided with a limiting structure such as a limiting groove or a matching position that matches the limiting member, and the elastic structural member such as the spring or foam cooperates with the limiting structure such as the limiting groove or the matching position so that the moving member 310 is positioned in the first position or the second position. Of course, in other embodiments, the limiting member can be other positioning structures so that the moving member 310 can be positioned in the first position or the second position.
[0052] See also Figure 6 , Figure 6 yes Figure 3 The schematic diagram of the structure of the key module 130 shown in the third state, wherein in the third state of the key module 130, the moving part 310 is located between the first position and the second position of the housing 110. Further, when the information to be measured collected by the acquisition device 320 includes the first image information and the second image information, the control unit can provide corresponding control instructions according to the area size of the first image information and the second image information. When the moving part 310 moves to the third position between the first position and the second position, the acquisition device 320 cannot completely collect the first image information or the second image information, but collects part of the first image information and part of the second image information. At this time, the control unit compares the area size of the first image information and the second image information, determines that the moving part 310 is in a position where the image information area is larger, and then provides corresponding instructions. The area of the second image information is larger than the area of the first image information, and the moving part is judged to be in the second position, and the instruction corresponding to the second position is provided.
[0053] See also Figure 7 and Figure 8 , Figure 7 is a schematic diagram of the structure of the key module 130 in some other embodiments of the present application when it is in the first state, Figure 8 yes Figure 7 The key module 130 shown is a structural schematic diagram when it is in the second state, wherein in the first state of the key module 130, the movable member 310 is located at the first position of the shell 110, and in the second state of the key module 130, the movable member 310 is located at the second position of the shell 110.
[0054] The moving part 310 can move between a first position and a second position relative to the housing 110. When the moving part 310 is in the first position, the acquisition device 320 can acquire the information to be measured of the first measured part 3111 of the moving part 310. When the moving part 310 is in the second position, the acquisition device 320 can acquire the information to be measured of the second measured part 3112 of the moving part 310. Among them, the acquisition device 320 is a camera that can acquire pixel points. The information to be measured of the first measured part 3111 and the information to be measured of the second measured part 3112 are both pixel point information formed on the measured surface 311. The pixel point information can be the pixel points of the measured surface 311 itself. When the first measured part 3111 and the second measured part 3112 are distributed in sequence, there may be partial overlap in the range, there may be no overlap and close proximity with a spacing distance, or there may be a certain distance between them.
[0055] When the moving part 310 moves relative to the acquisition device 320, the acquisition device 320 acquires the changed pixel point information, and the control unit obtains the movement information of the moving part according to the changed pixel point information. Specifically, since the measured surface 311 itself forms continuous pixel points, as the measured surface 311 moves relative to the acquisition device 320, the pixel points acquired by the acquisition device 320 also move relatively. The moving part 310, the measured surface 311, and the pixel points move in the same direction and distance. The control unit can compare the pixel point information on the measured surface 311 acquired by the acquisition device 320 at different times to obtain the moving direction and distance of the pixel points, and then obtain the moving direction and distance of the moving part 310; the corresponding relationship between the moving part 310 and the pixel point information on the measured surface 311 can also be preset in the control unit, and the pixel point information at a certain moment is compared with the preset information to obtain the position information of the moving part 310. In this way, the control unit can obtain the displacement information of the moving part 310 according to the pixel point information, and then provide corresponding control instructions according to the obtained displacement information.
[0056] See also Fig. 9 , Fig. 9 3 is a schematic diagram of the structure of the key module 130 in other embodiments of the present application. Among them, the acquisition device 320 can be a photosensitive device, and the information to be measured is the texture information formed on the measured surface 311. The light emitted by the photosensitive device reaches the measured surface 311 of the moving part 310 and is reflected, and the reflected light reaches the photosensitive device, so that the photosensitive device detects the changed texture information due to the relative movement with the moving part 310, and the control unit obtains the movement information of the moving part 310 according to the texture information.
[0057] It can be understood that the photosensitive device can be an optical tracking device, which can calculate the moving distance and direction of the moving member 310 by capturing the texture on the measured surface 311 and comparing and calculating the displacement of the texture. The photosensitive device can establish a signal connection with the CPU of the electronic device to send the acquired information to the CPU of the electronic device, so that the CPU of the electronic device can obtain the moving displacement and / or moving direction of the moving member 310 according to the signal detected by the photosensitive device; further, the CPU of the electronic device can also provide the electronic device with corresponding control instructions in the aforementioned embodiment according to the signal detected by the photosensitive device.
[0058] In some embodiments, the button module 130 also includes a reset member (not shown in the figure), and when the movable member 310 moves to the second position, the reset member can generate a reset force that causes the movable member to move to the first position. The reset method can be an elastic reset method or a magnetic reset method. For example, the reset member can be an elastic structural member such as a spring or foam disposed between the movable member 310 and the housing 110. When the user presses the movable member 310 to apply a force to the movable member 310 so that the movable member 310 moves from the first position to the second position, the reset member is deformed to generate an elastic force. When the user cancels the pressing operation, the movable member 310 returns to the first position from the second position under the action of the above-mentioned elastic force. For another example, the reset member may be a magnet provided on one of the movable member 310 and the shell 110, and a magnetic body may be provided on the other of the movable member 310 and the shell 110; when the user presses the movable member 310 to apply a force to the movable member 310 so that the movable member 310 can overcome the magnetic force between the magnet and the magnetic body and move from the first position to the second position, when the user cancels the pressing operation, the movable member 310 returns to the first position from the second position under the action of the above-mentioned magnetic force.
[0059] See also Fig.10 and Fig.11 , Fig.10 is a schematic diagram of the structure of the key module 130 in some other embodiments of the present application when it is in the first state, Fig.11 yes Fig.10 The key module 130 is shown in a structural schematic diagram when it is in the second state. In the first state of the key module 130, the movable member 310 is located at the third position of the shell 110. In the second state of the key module 130, the movable member 310 is located at the fourth position of the shell 110.
[0060] The moving member 310 can move between the first position and the second position. For specific technical features, reference can be made to the relevant description of the key module 130 in the aforementioned embodiment. The moving member 310 can also move between the third position and the fourth position relative to the housing 110. When the moving member 310 is at the third position or the fourth position, the acquisition device 320 can collect the information to be measured corresponding to the measured surface 311. Among them, the moving direction of the moving member 310 between the third position and the fourth position intersects or is perpendicular to the moving direction of the moving member 310 between the first position and the second position. For example, when the user presses the moving member 310, the moving member 310 moves from the third position to the fourth position, that is, the moving member 310 moves into the accommodating space. It can be understood that when the moving member 310 moves between the third position and the fourth position, the information to be measured collected by the acquisition device 320 can refer to the information to be measured when the moving member 310 moves between the first position and the second position.
[0061] As mentioned above, the moving member 130 can move between the first position and the second position along the direction in which the side length of the housing 110 extends, so as to achieve functions such as volume adjustment, controlling music playback (previous song, next song), web browsing, or switching the position of application icons. The moving member 130 can also move between the third position and the fourth position along the direction close to or away from the housing 110, so as to achieve functions such as power on and off, pausing music playback, or turning the camera on / off. In other words, the moving member 130 moving between the first position and the second position can achieve functions such as a toggle switch of an electronic device, and the moving member 130 moving between the third position and the fourth position can achieve functions such as a push button of an electronic device.
[0062] In some embodiments, the button module 130 also includes a reset member (not shown in the figure), and when the movable member 310 moves to the fourth position, the reset member can generate a reset force that causes the movable member to move to the third position. The reset method can be an elastic reset method or a magnetic reset method. For example, the reset member can be an elastic structural member such as a spring or foam disposed between the movable member 310 and the housing 110. When the user presses the movable member 310 to apply a force to the movable member 310 so that the movable member 310 moves from the third position to the fourth position, the reset member is deformed to generate an elastic force. When the user cancels the pressing operation, the movable member 310 returns to the third position from the fourth position under the action of the above-mentioned elastic force. For another example, the reset member may be a magnet provided on one of the movable member 310 and the shell 110, and a magnetic body may be provided on the other of the movable member 310 and the shell 110; when the user presses the movable member 310 to apply a force to the movable member 310 so that the movable member 310 can overcome the magnetic force between the magnet and the magnetic body and move from the third position to the fourth position, when the user cancels the pressing operation, the movable member 310 returns to the third position from the fourth position under the action of the above-mentioned magnetic force.
[0063] See also Fig.12 , Fig.12 1 is a partial structural diagram of an electronic device 100 in some other embodiments of the present application. The electronic device 100 may include the key module 130 in the above embodiment. The technical features of the key module 130 not fully described in this embodiment can be referred to the specific description in the above embodiment, so it will not be repeated here.
[0064] Optionally, the housing 110 of the electronic device 100 may be provided with a light-transmitting portion 1121, for example, the light-transmitting portion 1121 may be provided on the cover plate 112 of the housing 110, and external light may enter the accommodation space of the electronic device 100 through the light-transmitting portion 1121 to provide brightness for the acquisition device 320 to collect the information to be measured. The light-transmitting portion 1121 may be a through hole penetrating the cover plate 112, or may be a transparent area formed on the cover plate 112.
[0065] In one embodiment, a light source 160 may be further provided in the accommodation space of the electronic device 100, and the light source 160 may be electrically connected to the mainboard for fill light. The light source 160 may be a flash lamp, an infrared lamp, or the like. For example, the light emitted by the flash lamp is emitted to the measured surface 311 to illuminate the side surface 311, thereby providing brightness for the acquisition device 320 to collect the information to be measured. When the acquisition device 320 is a camera, the light source 160 may provide fill light for the camera to shoot. The detailed technical features of the other parts of the structure of the electronic device 100 are within the scope of understanding of those skilled in the art, so this application will not repeat them.
[0066] See also Fig.13 , Fig.13 1 is a partial structural diagram of an electronic device 100 in some other embodiments of the present application. The electronic device 100 may include a housing 110, a light-transmitting portion 510, a collection device 520, and a control unit (not shown in the figure). The housing 110 has a containing space and a light-transmitting portion 510.
[0067] The acquisition device 520 is assembled in the accommodating space and is arranged opposite to the light-transmitting portion 510. The acquisition device 520 can collect the information to be measured of the external object 540 of the housing 110 through the light-transmitting portion 510. The acquisition device 520 can be a device that can collect the information to be measured, such as a camera, a light-sensing device, a distance sensor, etc. The control unit is connected to the acquisition device 520 by signal through a wired or wireless method, and is used to receive the information to be measured collected by the acquisition device 520, analyze and process the information to be measured, and provide corresponding control instructions. The control instructions can be functions such as turning on / off the camera, adjusting the volume, turning on and off the machine, controlling music playback (pause, previous song, next song), browsing the web, or switching the position of the application icon in the aforementioned embodiment.
[0068] When the external object 540 moves relative to the light-transmitting portion 510, the acquisition device 520 can acquire the information to be measured of the movement change, and the control unit can obtain the movement information of the external object 540 according to the information to be measured, and provide corresponding control instructions according to the movement information. Among them, the external object 540 can be a finger, a stylus, etc., which can move up and down, left and right relative to the light-transmitting portion 510, and can also move closer to or away from the light-transmitting portion 510. When the user moves the finger or stylus or other objects relative to the light-transmitting portion 510 up and down, left and right, or moves closer to and away from the light-transmitting portion 510, the information to be measured on the finger or stylus or other objects also moves relative to the acquisition device 520. The information to be measured collected by the acquisition device 520 changes, and the acquisition device transmits the collected information to be measured to the control unit. The control unit analyzes and processes the information to be measured, obtains the movement information of the external object 540, and provides corresponding control instructions according to the movement information. The movement information is the movement direction and movement distance of the external object 540. The control unit can provide different degrees of control instructions according to the moving direction and moving distance of the external object 540, such as providing a control instruction for increasing the volume by 10% when the external object 540 moves upward by one unit distance, and providing a control instruction for increasing the volume by 20% when the external object 540 moves upward by two unit distances. It can be understood that the difference between this embodiment and the aforementioned embodiment is only that the moving part is eliminated, and a light-transmitting part is provided on the shell, so that the acquisition device can collect the information to be measured of the movement change through the movement of the external object relative to the shell. Therefore, the technical features of the electronic device 100 not fully described in this embodiment can refer to the aforementioned embodiment, and the repeated technical features will not be repeated in this embodiment.
[0069] Furthermore, the acquisition device 520 can respectively acquire the first information to be measured and the second information to be measured at the first time and the second time that are separated, and the control unit provides corresponding control instructions according to the first information to be measured and the second information to be measured. Specifically, the time interval between the first time and the second time can be 30ms, 50ms, 100ms, 300ms, 500ms, etc.
[0070] like Fig.13 As shown, the acquisition device 520 may be a camera. At a first moment, the external object 540 is located at a first position of the light-transmitting portion 510, and the first information to be measured acquired by the acquisition device 520 is the first image information of the external object 540; at a second moment, the external object 540 is located at a second position of the light-transmitting portion 510, and the second information to be measured acquired by the acquisition device 520 is the second image information of the external object 540.
[0071] Specifically, from the first moment to the second moment, the external object 540 moves from the first position to the second position relative to the light-transmitting portion 510, and the acquisition device 520 acquires the image information of the external object exposed to the light-transmitting portion 510, forming the first image information and the second image information respectively. The control unit analyzes the moving direction and moving distance of the pixels on the first image information and the second image information, obtains the displacement information of the external object 540 relative to the light-transmitting portion, and provides corresponding control instructions according to the displacement information. For example, within the set interval time of 100ms, the finger moves from the upper part of the light-transmitting portion to the lower part of the light-transmitting portion, and the camera captures the image of the light-transmitting portion before and after 100ms. By comparing the moving direction and distance of the pixels on the image, that is, the pixels move downward by N pixel units, the displacement of the finger is obtained, thereby providing a corresponding control instruction to reduce the volume of the mobile phone.
[0072] In one embodiment, the acquisition device 520 may be a camera; at a first moment, there is a first distance between the external object 540 and the light-transmitting portion 510, and the first information to be measured collected by the acquisition device 520 is the first image information of the external object 540; at a second moment, there is a second distance between the external object 540 and the light-transmitting portion 510, and the second information to be measured collected by the acquisition device 520 is the second image information of the external object 540; wherein the first distance is greater than the second distance. Specifically, from the first moment to the second moment, the external object 540 moves toward the direction close to the light-transmitting portion 510, and the acquisition device 520 collects the image information of the external object exposed to the light-transmitting portion 510, forming the first image information and the second image information respectively. The control unit analyzes the moving direction and moving distance of the pixel points on the first image information and the second image information, obtains the displacement information of the external object 540 relative to the light-transmitting portion 510, and provides corresponding control instructions according to the displacement information. In addition, the collection device 520 can be a photosensitive device. At the first moment and the second moment, the photosensitive device respectively emits light through the light-transmitting portion to reach the external object, and after being reflected by the external object, the light is received by the photosensitive device through the light-transmitting portion; the photosensitive device obtains the displacement information of the external object 540 relative to the light-transmitting portion 510 based on the emitted and received light, and sends it to the control unit, so that the control unit can provide corresponding control instructions based on the displacement information.
[0073] See also Fig.14 , Fig.14It is a partial structural diagram of the electronic device 100 in other embodiments of the present application. Among them, the acquisition device 520 can be a photosensitive device. At the first moment, the photosensitive device emits a first outgoing light and receives a first reflected light from the first outgoing light; at the second moment, the photosensitive device emits a second outgoing light and receives a second reflected light from the second outgoing light. Among them, the first information to be measured is the first reflected light received by the acquisition device 520, and the second information to be measured is the second reflected light received by the acquisition device 520. It can be understood that the photosensitive device can be an optical tracking device, which calculates the moving distance and direction of the moving part 310 by capturing the texture on the measured surface 311 and comparing and calculating the displacement of the texture. Among them, the photosensitive device can establish a signal connection with the CPU of the electronic device to send the acquired information to the CPU of the electronic device, so that the CPU of the electronic device can obtain the moving displacement and / or moving direction of the moving part 310 according to the signal detected by the photosensitive device; further, the CPU of the electronic device can also provide the corresponding control instructions of the electronic device in the aforementioned embodiment according to the signal detected by the photosensitive device.
[0074] Furthermore, the acquisition device 520 can compare and calculate the displacement of the texture on the external object according to the received first reflected light and the second reflected light to obtain the movement distance of the external object 540 relative to the light-transmitting portion 510 .
[0075] The above-mentioned embodiments are implemented based on the external object 540 moving on the light-transmitting portion 510 . In other embodiments, the embodiments may be implemented based on the external object 540 moving away from or approaching the light-transmitting portion 510 .
[0076] That is, in some embodiments, at the first moment, the photosensitive device obtains the third distance between the external object 540 and the photosensitive device, and the first information to be measured collected by the acquisition device 520 is the third distance; at the second moment, the photosensitive device obtains the fourth distance between the external object 540 and the photosensitive device, and the second information to be measured collected by the acquisition device 520 is the fourth distance. The control unit provides control instructions based on the third distance and the fourth distance. For example, from the first moment to the second moment, the user's finger is away from the light-transmitting portion 510, and the third distance and the fourth distance between the external object 540 and the photosensitive device obtained by the photosensitive device are 2mm and 5mm respectively. The control unit obtains the information that the external object is away from the light-transmitting portion 510 and provides a corresponding shutdown instruction.
[0077] Optionally, the electronic device 100 further includes a distance sensor, which is located in the accommodating space to detect the distance between the external object and the light-transmitting portion 510; when the distance sensor detects that the distance between the external object 540 and the light-transmitting portion 510 is less than a preset threshold, a trigger instruction is sent to the control unit. The distance sensor can be a laser distance sensor, an ultrasonic distance sensor, or an infrared distance sensor, which detects the distance between the external object 540 and the light-transmitting portion 510 through the distance sensor, and compares it with the preset threshold to determine whether to respond. The preset threshold can be 0.1mm, 0.2mm, 0.5mm, 1mm, 2mm, 5mm, etc. For example. The preset threshold is 0.5mm. When the distance between the external object 540 and the light-transmitting portion 510 is detected to be 0.5mm, no trigger instruction is sent to the control unit; when the distance between the external object 540 and the light-transmitting portion 510 is detected to be 0.3mm, a trigger instruction is sent to the control unit.
[0078] Optionally, the electronic device 100 further includes a display screen 120 disposed on the housing 110, and the display screen 120 can display an image mark. The control unit can provide a control instruction for the movement of the image mark according to the information to be measured. Specifically, the image mark can be an indicator needle. When an external object such as a finger is displaced relative to the light-transmitting portion 510, the control unit provides a control instruction for the movement of the indicator needle, so that the indicator needle also undergoes a corresponding displacement on the display screen. The displacement of the finger and the displacement of the indicator needle can be preset in a movement ratio, such as when the finger moves one unit distance relative to the light-transmitting portion, the indicator needle moves ten unit distances on the display screen.
[0079] Optionally, the light-transmitting portion 510 is a transparent area or a semi-transparent area formed on the housing 110. In order for the acquisition device 520 to acquire image information of objects outside the housing, the light-transmitting portion 510 must be a transparent or semi-transparent area. Specifically, the light-transmitting portion material can be transparent or semi-transparent glass, alumina, ceramics and other materials.
[0080] Optionally, a light source 160 is further provided in the housing 110, and the light source 160 can be electrically connected to the mainboard. When the outside world is in a darker environment, the light entering the acquisition device 520 through the light-transmitting portion by reflection is reduced, which is not conducive to the collection of image information. Therefore, in the accommodating space of the housing 110, the light source 160 can play a role in supplementing light. The light source 160 can be a flash lamp, an infrared lamp, etc. For example, the light emitted by the flash lamp is emitted to the external object 540 to provide fill light for the camera to shoot.
[0081] In the present application, different numbers for the same name in different embodiments are only for the purpose of distinguishing the corresponding drawings. In some scenarios, the same name with different numbers can be interchangeable.
[0082] The electronic device provided in the embodiment of the present application, by providing a light-transmitting portion opposite to the acquisition device on the electronic device, enables the acquisition device to collect the information to be measured of the external object. When the external object moves relative to the acquisition device, the acquisition device can collect the changing information to be measured, so that the control unit can provide corresponding control instructions according to the information to be measured collected by the acquisition device. That is, the embodiment of the present application obtains the movement information of the external object through the non-contact acquisition method of the acquisition device, which is not easily affected by changes in the external environment, and does not need to use complex algorithms to avoid interference or structural changes during design. In addition, compared with the aforementioned embodiment, the moving parts are eliminated, so that the structure of the electronic device is simplified and the consistency of the appearance is improved.
[0083] It should be noted that the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products or devices.
[0084] The above descriptions are only some embodiments of the present application, and do not limit the protection scope of the present application. Any equivalent device or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly used in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A key module for electronic equipment, characterized in that: The button module comprises: A moving part having a measured surface; A collection device, arranged opposite to the measured surface and used for collecting the information to be measured of the measured surface; and A control unit, electrically connected to the acquisition device, and used to provide control instructions according to the information to be measured acquired by the acquisition device; When the moving part moves relative to the acquisition device, the acquisition device can acquire the changing information to be measured, and the control unit can obtain the movement information of the moving part according to the information to be measured and provide corresponding control instructions according to the movement information.
2. The key module according to claim 1, characterized in that: The moving member can move between a first position and a second position, the measured surface has a first measured portion and a second measured portion, and the first measured portion and the second measured portion are sequentially distributed in the moving direction of the moving member; When the moving part is at the first position, the collecting device can collect the information to be measured of the first measured part; When the moving member is at the second position, the collecting device can collect the information to be measured of the second measured part.
3. The key module according to claim 2, characterized in that: The acquisition device is a camera; the information to be measured of the first measured part is first image information formed on the measured surface, and the information to be measured of the second measured part is second image information formed on the measured surface.
4. The key module according to claim 3, characterized in that: The control unit provides corresponding control instructions according to the area size of the first image information and / or the second image information.
5. The key module according to claim 3, characterized in that: The first image information includes a first pattern and / or a first color, and the second image information includes a second pattern and / or a second color; the control unit provides corresponding control instructions according to the pattern and / or color contained in the information to be tested collected by the collection device.
6. The key module according to claim 2, characterized in that: The button module further includes a limiting member, and the limiting member is configured to limit the moving member to the first position or the second position.
7. The key module according to claim 2, characterized in that: The moving member is movable between a third position and a fourth position, and a moving direction of the moving member between the third position and the fourth position intersects or is perpendicular to a moving direction of the moving member between the first position and the second position.
8. The key module according to claim 7, characterized in that: The key module further includes a restoring member, and when the moving member moves to the fourth position, the restoring member can generate a restoring force to move the moving member to the third position.
9. The key module according to claim 1, characterized in that: The acquisition device is a camera, and the information to be measured is pixel point information formed on the measured surface; when the moving part moves relative to the acquisition device, the acquisition device can collect the changed pixel point information, and the control unit can obtain the movement information of the moving part based on the changed pixel point information.
10. The key module according to claim 1, characterized in that: The acquisition device is a photosensitive device, and the information to be measured is texture information formed on the measured surface; the light emitted by the photosensitive device can reach the measured surface and be reflected, and the reflected light reaches the photosensitive device, so that the photosensitive device detects the changed texture information due to relative movement with the moving part, and the control unit can obtain the movement information of the moving part based on the changed texture information.
11. An electronic device, characterized in that: The electronic device comprises: A housing having a receiving space; and The key module according to any one of claims 1 to 10, The moving part in the button module is assembled on the shell, and the measured surface of the moving part faces the accommodating space, and the acquisition device and the control unit in the button module are assembled in the accommodating space.
12. The electronic device according to claim 11, characterized in that: A light source is arranged in the accommodating space of the shell, and the light source is arranged opposite to the measured surface for supplementary lighting.