Electronic device

By designing the first key and detection element of sliding connection in the electronic device, multi-functional operation is achieved, and the problem of single key function of the existing equipment is solved and the user experience is improved.

CN119296596APending Publication Date: 2025-01-10IFLYTEK CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411502806.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-25
Publication Date
2025-01-10

AI Technical Summary

Technical Problem

The key function of existing electronic devices is single, and the operation is not simple and fast enough, which affects the user experience.

Method used

Design an electronic device, including a housing, a first button, a switch and a detection element, the first button is slidably connected to the housing, and the position signal is feedbacked to the controller by the detection element, and multifunctional operation is realized; sliding and pressing of the first button Operations can trigger different functions to reduce the frequency of operation based on software pages.

Benefits of technology

Multi-functions are achieved through sliding and pressing operations, simplifying user operations and improving user experience, making operation easy and simple.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119296596A_ABST
    Figure CN119296596A_ABST
Patent Text Reader

Abstract

The invention discloses electronic equipment. The electronic equipment comprises a shell, a first key, a switch, a detection element and a controller, the first key is in sliding connection with the shell so as to be switched between at least two working positions, the detection element is electrically connected with the controller, the detection element is used for feeding back a position signal of the first key to the controller, and the controller is used for executing a first function matched with the position signal; the first key is arranged in the shell, a part of the first key is exposed out of the shell, the switch and the controller are both installed in the shell, the switch is electrically connected with the controller, and the switch is configured to be capable of triggering the switch to send a signal for executing a second function to the controller when the first key is pressed. According to the electronic equipment, through structure optimization, functions which can be realized by the operation keys are enriched, and a user has better use experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of terminal equipment, and in particular to an electronic device. Background Art

[0002] With the rise of artificial intelligence (AI), electronic devices are becoming more and more versatile. Take a voice recorder as an example. After real-time recording, the voice recorder can translate the audio into text and generate summaries or minutes.

[0003] In the related art, the buttons of the voice recorder are mostly single-function buttons. For example, to realize the recording function, the user needs to open the recording interface. When the voice recorder is in the screen-on state, the user can start or pause the recording by pressing the button. The subsequent processing of the recorded audio still needs to be operated in the recording interface. In other words, the realization of the voice recorder's real-time recording and audio processing functions needs to be operated based on the software page, which is not simple and fast enough, affecting the user experience.

[0004] For other electronic products with buttons, similar problems also exist in realizing related functions.

[0005] In view of this, how to optimize the structure of electronic devices to enrich the functions that can be realized by their buttons is a technical problem that technical personnel in this field need to solve. Summary of the invention

[0006] The purpose of this application is to provide an electronic device that, through structural optimization, enriches the functions that can be realized by operating buttons, so that users have a better usage experience.

[0007] In order to solve the above technical problems, the present application provides an electronic device, including a housing, a first button, a switch, a detection element and a controller;

[0008] The first button is slidably connected to the housing to switch between at least two working positions, the detection element is electrically connected to the controller, the detection element is used to feed back a position signal of the first button to the controller, and the controller is used to execute a first function matching the position signal;

[0009] Part of the first button is exposed from the shell, the switch and the controller are both installed inside the shell, the switch is electrically connected to the controller, and is configured so that when the first button is pressed, the switch can be triggered to send a signal to the controller to execute the second function.

[0010] In an achievable solution, the electronic device further includes a second button, which is installed inside the shell and located between the first button and the switch, and the first button triggers the switch by pressing the second button; a stop structure is provided between the first button and the second button, and the stop structure is used to limit the relative position between the first button and the second button in different working positions.

[0011] In an achievable solution, the stop structure includes a convex portion and a concave portion, and at least one of the convex portion and the concave portion is provided in plurality along the sliding direction of the first key;

[0012] One of the convex portion and the concave portion is provided on the first key, and the other is provided on the second key;

[0013] The first button slides to one of the working positions, and at least a portion of the convex portion corresponding to the working position is embedded in the concave portion corresponding to the working position.

[0014] In a feasible solution, the electronic device also includes a support member, which is fixed inside the shell, and an elastic member is provided between the second button and the support member. When the second button is pressed, the elastic member can accumulate elastic deformation energy for driving the second button away from the switch.

[0015] In an achievable solution, the shell includes a first shell portion, and the first button can slide along the outer surface of the first shell portion; the first shell portion has a sound receiving hole, and the first button has a through hole; the first button is in one working position, and the sound receiving hole is connected to the through hole; the first button is in another working position, and the sound receiving hole is staggered with the through hole, and the first button covers the sound receiving hole, and the first shell portion blocks the through hole.

[0016] In an achievable solution, when the first button is in a working position where the through hole is connected to the sound receiving hole, the first function includes opening a recording interface, and the second function includes at least one of starting recording and pausing recording;

[0017] When the first button is in a working position where the through hole and the sound receiving hole are staggered, the first function includes at least one of closing the recording interface and outputting text, and the second function includes generating text.

[0018] In one feasible solution, the shell further includes a second shell portion, the second shell portion is located on the outside of the first shell portion, a slide groove is formed between the first shell portion and the second shell portion, the first button includes a wing portion that slides with the slide groove, and the through hole is provided on the wing portion.

[0019] In a feasible solution, a sealing ring is provided between the first shell portion and the first button, and the sealing ring is fixedly arranged on the outer side of the first shell portion, and the position of the sealing ring corresponds to the sound receiving hole.

[0020] In a feasible solution, the detection element includes a magnetic member and a Hall sensor, and the Hall sensor is electrically connected to the controller; the magnetic member is arranged on the first button, and the Hall sensor is fixed in the housing.

[0021] In one feasible solution, the electronic device is a voice recorder.

[0022] The electronic device provided in the implementation scheme of the present application has a first button that can be pressed and is slidably connected to the housing to have at least two working positions. When the first button changes its working position by sliding, the detection element can detect the current working position of the first button and feed back the corresponding position signal to the controller, and the controller can execute the first function in response to the position signal; when the first button is pressed, it can trigger a switch to send a signal to the controller to execute the second function. In this way, more functions can be realized by sliding and / or pressing the first button, which can reduce the frequency of realizing functions based on software page operations, and the operation is convenient and simple, so that users have a better use experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] FIG1 is a cross-sectional schematic diagram of a recording pen in a first working position according to an embodiment of the present application;

[0024] FIG2 is a cross-sectional schematic diagram of a recording pen in a second working position according to an embodiment of the present application;

[0025] FIG3 is a cross-sectional schematic diagram of a voice recorder in a third working position according to an embodiment of the present application.

[0026] Description of reference numerals:

[0027] Shell 10, first shell portion 11, sound receiving hole 111, second shell portion 12, slide slot 101;

[0028] First button 21, recess 211, wing 212, through hole 2121, second button 22, protrusion 221;

[0029] Switch 30 , detection element 40 , magnet 41 , Hall sensor 42 , support member 50 , elastic member 60 , sealing ring 70 , microphone 80 , flexible circuit board 90 . DETAILED DESCRIPTION

[0030] In order to enable those skilled in the art to better understand the present application, the present application is further described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0031] Without loss of generality, the following text will be combined with the accompanying drawings and use the electronic device shown in the drawings as the description subject to explain in detail the specific settings of the key-related structures of the electronic device. The settings of the key-related structures enrich the functions that can be achieved by operating the keys of the electronic device.

[0032] Please refer to Figures 1 to 3, Figure 1 is a cross-sectional schematic diagram of a voice recorder in a first working position in an embodiment provided in the present application, Figure 2 is a cross-sectional schematic diagram of a voice recorder in a second working position in an embodiment provided in the present application, and Figure 3 is a cross-sectional schematic diagram of a voice recorder in a third working position in an embodiment provided in the present application.

[0033] In this embodiment, the electronic device includes a housing 10 , a first button 21 , a switch 30 , a detection element 40 and a controller (not shown in the figure).

[0034] The first button 21 is slidably connected to the housing 10 to switch between at least two working positions. The detection element 40 is electrically connected to the controller. The detection element 40 is used to feed back the position signal of the first button 21 to the controller, and the controller is used to execute a first function matching the position signal.

[0035] Part of the first button 21 is exposed from the shell 10, that is, part of the first button 21 is visible to the user, the switch 30 and the controller are both installed inside the shell 10, the switch 30 is electrically connected to the controller, and is configured so that when the first button 21 is pressed, the switch 30 can be triggered to send a signal to the controller to execute the second function.

[0036] The moving direction of the first button 21 when pressed is different from the sliding direction of the first button 21 relative to the housing 10. The first button 21 can be pressed, that is, under the action of external force, the first button 21 can move relatively closer to or away from the inner side of the housing 10.

[0037] In the orientation shown in the figure, the left side is the outer side of the shell 10, and the right side is the inner side of the shell 10. The movement direction of the first button 21 when pressed is the left-right direction in the figure, and the sliding direction of the first button 21 is the up-down direction in the figure.

[0038] In the application, the first function may include multiple functions. Specifically, when the first button 21 is in the same working position, different presses of the first button 21 may correspond to different functions, or presses of the first button 21 for different durations may correspond to different functions, or different functions may be achieved by combining the number of presses of the first button 21 with the duration of the presses.

[0039] For example, when the first button 21 is in a certain working position, pressing the first button 21 for the first time can realize the function of starting recording, and pressing the first button 21 for the second time can realize the function of stopping recording. Alternatively, pressing the first button 21 for the first time can realize the function of increasing the volume, and pressing the first button 21 for the second time can realize the function of decreasing the volume.

[0040] With the above solution, the first button 21 can be pressed and is slidably connected to the housing 10 to have at least two working positions. When the first button 21 changes its working position by sliding, the detection element 40 can detect the current working position of the first button 21 and feed back the corresponding position signal to the controller. The controller can execute the first function in response to the position signal; when the first button 21 is pressed, it can trigger the switch 30 to send a signal to the controller to execute the second function. In this way, through different operations on the first button 21, more functions can be realized, reducing the frequency of realizing functions based on software page operations, and the operation is convenient and simple, so that users have a better use experience.

[0041] In a specific implementation, the electronic device includes a flexible circuit board 90, and the flexible circuit board 90 is installed inside the housing 10. Both the controller and the switch 30 can be installed on the flexible circuit board 90, and the electrical connection is achieved through the circuit on the flexible circuit board 90.

[0042] In actual use, different function combinations can be achieved by combining the sliding operation of the first button 21 and the pressing operation of the first button 21 .

[0043] In some embodiments, at each working position, the first button 21 can be pressed to enable the controller to execute the first function. When the first button 21 is in different working positions, the first function implemented by pressing the first button 21 can be the same or different.

[0044] For example, in any working position, pressing the first button 21 corresponds to the function of increasing or decreasing the volume.

[0045] For another example, in one working position, pressing the first button 21 corresponds to a function of increasing or decreasing the volume, and in another working position, pressing the first button 21 corresponds to a function of starting or pausing recording.

[0046] In some embodiments, the first button 21 may be pressed only in a certain working position to cause the controller to respond to the signal sent by the switch 30 and execute the first function. In other working positions, the controller only receives the signal fed back by the switch 30 without performing any operation.

[0047] For example, in one working position, pressing the first button 21 corresponds to a function of starting or pausing recording, while in other working positions, pressing the first button 21 has no corresponding function executed.

[0048] In actual use, the first function and the second function may be associated, for example, the first function and the second function may be functional operations corresponding to different steps when a certain application is used. The first function and the second function may also be unassociated.

[0049] In this embodiment, the electronic device also includes a second button 22, which is installed inside the shell 10. The second button 22 is located between the first button 21 and the switch 30. The first button 21 triggers the switch 30 by pressing the second button 22. A stop structure is provided between the first button 21 and the second button 22, and the stop structure is used to limit the relative position of the first button 21 and the second button 22 in different working positions.

[0050] After the above arrangement, when the first button 21 is pressed, the first button 21 moves toward the inside of the housing 10, and in the orientation shown in the figure, when the first button 21 is pressed, the first button 21 moves to the right side and presses the second button 22, thereby triggering the switch 30. The stop structure arranged between the first button 21 and the second button 22 can limit the sliding position of the first button 21, and the arrangement of the second button 22 facilitates the arrangement of the stop structure, and can also ensure the triggering operation of the switch 30 when the first button 21 is pressed.

[0051] In a specific implementation, the stop structure includes a protrusion 221 and a recess 211, and at least one of the protrusion 221 and the recess 211 is provided with multiple ones along the sliding direction of the first button 21; one of the protrusion 221 and the recess 211 is provided on the first button 21, and the other is provided on the second button 22; the first button 21 slides to a working position, and at least part of the protrusion 221 corresponding to the working position is embedded in the recess 211 corresponding to the working position.

[0052] As mentioned above, when the first button 21 slides under the action of external force, the mating convex portion 221 and the concave portion 211 may be disengaged under the action of external force. When the first button 21 slides to a working position, the convex portion 221 and the concave portion 211 corresponding to the working position cooperate again to limit the relative position of the first button 21 and the second button 22.

[0053] In the illustrated embodiment, the concave portion 211 is disposed on the first button 21 , the convex portion 221 is disposed on the second button 22 , and a plurality of concave portions 211 are disposed along the sliding direction of the first button 21 .

[0054] It can be understood that the concave portion 211 is arranged on a side of the first button 21 facing the inner side of the housing 10 , that is, on a side of the first button 21 facing the second button 22 , and the convex portion 221 is arranged on a side of the second button 22 facing the first button 21 .

[0055] In a specific implementation, the first button 21 may be provided with a protrusion extending toward the second button 22 , so that the concave portion 211 is disposed on the protrusion to facilitate cooperation with the convex portion 221 of the second button 22 .

[0056] In other embodiments, the concave portion 211 may be disposed on the second button 22 , the convex portion 221 may be disposed on the first button 21 , and a plurality of convex portions 221 may be disposed along the sliding direction of the first button 21 .

[0057] In other embodiments, a plurality of convex portions 221 or concave portions 211 provided on the second button 22 may be provided along the sliding direction of the first button 21 .

[0058] The specific location and quantity of the concave portion 211 and the convex portion 221 may be determined based on actual conditions.

[0059] In the illustrated embodiment, the first button 21 has three working positions relative to the housing 10. Accordingly, the first button 21 is provided with three recesses 211. At the three working positions, the three recesses 211 can respectively cooperate with the protrusions 221 to limit the relative positions of the first button 21 and the second button 22 at different working positions.

[0060] To simplify the structure, in actual configuration, only one of the concave portion 211 and the convex portion 221 needs to be provided with a number matching the number of working positions.

[0061] In a specific implementation, the surfaces where the concave portion 211 and the convex portion 221 cooperate with each other can be arc surfaces. In this way, when an external force pushes the first button 21 to slide, the concave portion 211 of the first button 21 can be easily separated from the convex portion 221 that cooperates with it. After the first button 21 slides to the next working position, the next concave portion 211 cooperates with the convex portion 221. Without the action of external force, the concave-convex engagement of the concave portion 211 and the convex portion 221 is not easy to be separated, which can ensure that the first button 21 is in the current working position.

[0062] In this embodiment, the electronic device also includes a support member 50, which is fixed inside the shell 10. An elastic member 60 is provided between the second button 22 and the support member 50. When the second button 22 is pressed, the elastic member 60 can accumulate elastic deformation energy for driving the second button 22 away from the switch 30.

[0063] In this way, after the external pressing force acting on the first button 21 disappears, under the action of the elastic deformation energy of the elastic member 60, the second button 22 can move away from the switch 30 and drive the first button 21 to move away from the inner side of the housing 10, so that the first button 21 and the second button 22 are reset.

[0064] In a specific implementation, the support member 50 can be installed on a side of the flexible circuit board 90 facing the first button 21, and the elastic member 60 is arranged on a side of the second button 22 away from the first button 21. In this way, the elastic member 60 and the support member 50 can be prevented from interfering with the sliding of the first button 21, and the assembly and cooperation of the first button 21 and the housing 10 are facilitated.

[0065] The switch 30 can be installed on the side of the flexible circuit board 90 facing the second button 22 to ensure that the switch 30 can be triggered when the second button 22 is pressed. The support member 50 can be set as a ring structure, and the through hole in the middle is used as a space to avoid the switch 30. The elastic member 60 can be set on the periphery of the switch 30, and the elastic member 60 can be evenly arranged along the circumference of the switch 30 to stably support the second button 22 and ensure the reliability and smoothness of the action of the second button 22.

[0066] In the illustrated example, a limiting groove may be provided on the side of the second button 22 facing the support member 50 to limit the position of the elastic member 60. In other embodiments, a limiting convex portion may be provided on the support member 50 to limit the position of the elastic member 60, or both a limiting groove and a limiting convex portion may be provided on the second button 22 to limit the position of the elastic member 60.

[0067] Exemplarily, the elastic member 60 can be a spring.

[0068] In this embodiment, the housing 10 includes a first housing 11, and the first button 21 can slide along the outer side of the first housing 11, where the outer side refers to the side of the first housing 11 facing outward. The first housing 11 has a sound receiving hole 111, and the first button 21 has a through hole 2121. The first button 21 is in one working position, and the sound receiving hole 111 is connected to the through hole 2121. The first button 21 is in another working position, and the sound receiving hole 111 is staggered with the through hole 2121, and the first button 21 covers the sound receiving hole 111, and the first housing 11 blocks the through hole 2121.

[0069] The electronic device includes a microphone 80, and the sound receiving hole 111 of the first shell 11 corresponds to the position of the microphone 80. The microphone 80 can be electrically connected to the flexible circuit board 90. Specifically, the microphone 80 can be installed on the side of the flexible circuit board 90 facing away from the first button 21. At this time, a perforation can be opened on the flexible circuit board 90 corresponding to the position of the sound receiving hole 111 to ensure the sound receiving function of the microphone 80.

[0070] After the above settings, when the microphone 80 needs to be used, the first button 21 can be slid to the working position where its through hole 2121 is connected to the sound receiving hole 111, so that the electronic device can receive sound normally; when the microphone 80 is not needed, the first button 21 can be slid to the position where its through hole 2121 is staggered from the sound receiving hole 111, so that the first button 21 can block the sound receiving hole 111, and the first shell 11 blocks the through hole 2121. In this way, external impurities such as dust can be prevented from entering the sound receiving hole 111 and affecting the normal operation of the microphone 80.

[0071] In a specific implementation, the shell 10 also includes a second shell portion 12, which is located outside the first shell portion 11, and a slide groove 101 is formed between the first shell portion 11 and the second shell portion 12, and the first button 21 includes a wing portion 212 that slidably cooperates with the slide groove 101.

[0072] The first shell 11 has an opening for partially exposing the first button 21 , and the size of the opening should not affect the sliding of the first button 21 .

[0073] As shown in the figure, part of the structure of the first button 21 extends out of the housing 10 from the opening of the first shell 11 , and the wing 212 of the first button 21 can be slidably inserted into the slide groove 101 formed between the first shell 11 and the second shell 12 .

[0074] The thickness of the wing portion 212 of the first button 21 can be set to be relatively thin, so as to facilitate the sliding fit between the first button 21 and the housing 10 .

[0075] Exemplarily, a through hole 2121 for cooperating with the sound receiving hole 111 may be provided on the wing portion 212 .

[0076] In the illustrated example, the first button 21 has two wings 212 in the up and down directions, and is provided with two through holes 2121, and the flexible circuit board 90 in the housing 10 is electrically connected to two microphones 80. In other embodiments, the number and location of the microphones 80 and the corresponding number and location of the sound receiving holes 111 and through holes 2121 can be set according to actual application needs, and are not limited here.

[0077] In a specific implementation, a sealing ring 70 is provided between the first shell 11 and the first button 21. The sealing ring 70 is fixedly arranged on the outside of the first shell 11, and the sealing ring 70 corresponds to the position of the sound receiving hole 111. In this way, the sound receiving hole 111 can be sealed to prevent foreign matter from entering the sound receiving hole 111 and affecting the sound receiving effect.

[0078] After the first button 21 is slidably matched with the housing 10 , the first button 21 can press the sealing ring 70 onto the first housing portion 11 to ensure the sealing between the first button 21 and the first housing portion 11 .

[0079] In this embodiment, the detection element 40 includes a magnetic member 41 and a Hall sensor 42. The Hall sensor 42 is electrically connected to the controller. The magnetic member 41 is provided on the first button 21, and the Hall sensor 42 is fixed in the housing 10. When the first button 21 slides relative to the housing 10, the magnetic member 41 slides accordingly. The Hall sensor 42 can determine the working position of the first button 21 by detecting the magnetic field strength generated by the magnetic member 41, and feed back the corresponding position signal to the controller.

[0080] Exemplarily, the magnetic member 41 is a magnet, which is easy to obtain and has low cost.

[0081] In a specific implementation, the Hall sensor 42 is electrically connected to the flexible circuit board 90 , and is specifically disposed on a side of the flexible circuit board 90 facing the first button 21 , so as to improve the detection accuracy.

[0082] In a specific implementation, the detection element 40 may be provided with two Hall sensors 42 , and the position of the first button 21 may be determined by sensing the magnetic field strength by the two Hall sensors 42 , which has higher accuracy and can reduce the probability of false triggering of the function.

[0083] In actual applications, the first function and the second function may be associated with the usage status of the microphone 80 .

[0084] In some embodiments, when the first button 21 is in a working position where the through hole 2121 is connected to the sound receiving hole 111, the first function that can be executed by the controller based on the position signal of the first button 21 fed back by the detection element 40 can be to open the recording interface. In this working position, after pressing the first button 21, the second function executed by the controller can be at least one of starting recording and pausing recording.

[0085] In some embodiments, when the first button 21 is in a working position where the through hole 2121 is staggered from the sound receiving hole 111, the first function that can be executed by the controller based on the position signal of the first button 21 fed back by the detection element 40 includes closing the recording interface or outputting text. In this working position, after pressing the first button 21, the second function executed by the controller can be generating text.

[0086] The generated text here can be a text that is directly converted from the audio content of the recording, or a translated text generated by translating the audio of one language of the recording into the audio of another language, or a minutes text generated by summarizing the audio content of the recording.

[0087] The electronic device may be a voice recorder or other electronic products. A specific application scenario is described below using the electronic device as a voice recorder in conjunction with FIGS. 1 to 3 .

[0088] In the illustrated example, the voice recorder has three working positions, and its first button 21 can achieve three-stage sliding.

[0089] As shown in FIG1 , the first button 21 of the voice recorder is in the first working position. In this working position, the first button 21 is located at the lower side relative to the housing 10. The first concave portion 211 from top to bottom on the first button 21 cooperates with the convex portion 221 of the second button 22. The through hole 2121 of the first button 21 is located below the sound receiving hole 111 and staggered with the sound receiving hole 111. The sound receiving hole 111 is covered and the through hole 2121 is blocked. The voice recorder has an integrated design in appearance and there is no visible hole structure. When the detection element 40 detects that the first button 21 is in the working position shown in FIG1 , the position signal can be fed back to the controller, and the controller can execute the function of closing the recording interface according to the position signal, that is, in the working position shown in FIG1 , the voice recorder is in a non-recording state.

[0090] Slide the first button 21 of the voice recorder upward, and the first button 21 can be in the second working position shown in FIG. 2. In this working position, the second concave portion 211 from top to bottom on the first button 21 cooperates with the convex portion 221 of the second button 22, and the through hole 2121 of the first button 21 faces the sound receiving hole 111, and the through hole 2121 is connected to the sound receiving hole 111. When the detection element 40 detects that the first button 21 is in the working position shown in FIG. 2, the position signal can be fed back to the controller, and the controller can execute the function of opening the recording interface according to the position signal, that is, in the state shown in FIG. 2, the voice recorder is in a recording state.

[0091] In the working position shown in Figure 2, by pressing the first button 21, the switch 30 can be triggered through the second button 22, so that the switch 30 sends a signal to the controller to start recording; by pressing the first button 21 again, the switch 30 can be triggered again through the second button 22, so that the switch 30 sends a signal to the controller to pause recording.

[0092] After the recording is finished, the first button 21 of the recording pen can continue to slide upward, and the first button 21 can be in the third working position shown in Figure 3. In this working position, the third concave portion 211 from top to bottom on the first button 21 cooperates with the convex portion 221 of the second button 22, and the through hole 2121 of the first button 21 is located above the sound receiving hole 111 and staggered with the sound receiving hole 111. The sound receiving hole 111 is covered and the through hole 2121 is blocked. The recording pen has an integrated design in appearance, and there is no visible hole structure. When the detection element 40 detects that the first button 21 is in the working position shown in Figure 3, the position signal can be fed back to the controller, and the controller can execute at least one function of closing the recording interface and outputting text according to the position signal.

[0093] In some embodiments, in the working position shown in FIG3 , the controller can be configured to close the recording interface and output a function of directly converting the audio into text according to the position signal. In other embodiments, in the working position shown in FIG3 , the controller can be configured to execute the function of translating text or generating a minutes text by pressing the first button 21 .

[0094] In other embodiments, the sliding and pressing operations of the first button 21 can also cooperate to realize other functions, such as starting and closing the camera page, starting or pausing the camera recording, etc.

[0095] The figure takes the example that the first button 21 has three working positions by sliding. In other embodiments, the first button 21 may have only two working positions, or four or more working positions by sliding. The relevant function implementation is set based on the actual application requirements of the electronic device, and will not be illustrated one by one here.

[0096] Specific examples are used herein to illustrate the principles and implementation methods of the present application, and the description of the above embodiments is only used to help understand the method and core ideas of the present application. It should be pointed out that for ordinary technicians in this technical field, without departing from the principles of the present application, several improvements and modifications can be made to the present application, and these improvements and modifications also fall within the scope of protection of the claims of the present application.

Claims

1. An electronic device, characterized in that It includes a housing, a first button, a switch, a detection element and a controller; The first button is slidably connected to the housing to switch between at least two working positions, the detection element is electrically connected to the controller, the detection element is used to feed back a position signal of the first button to the controller, and the controller is used to execute a first function matching the position signal; Part of the first button is exposed from the shell, the switch and the controller are both installed inside the shell, the switch is electrically connected to the controller, and is configured so that when the first button is pressed, the switch can be triggered to send a signal to the controller to execute the second function.

2. The electronic device according to claim 1, characterized in that: The electronic device also includes a second button, which is installed inside the shell and located between the first button and the switch. The first button triggers the switch by pressing the second button. A stop structure is provided between the first button and the second button, and the stop structure is used to limit the relative position between the first button and the second button in different working positions.

3. The electronic device according to claim 2, characterized in that: The stop structure includes a convex portion and a concave portion, and at least one of the convex portion and the concave portion is provided in plurality along the sliding direction of the first key; One of the convex portion and the concave portion is provided on the first key, and the other is provided on the second key; The first button slides to one of the working positions, and at least a portion of the convex portion corresponding to the working position is embedded in the concave portion corresponding to the working position.

4. The electronic device according to claim 2, characterized in that: The electronic device further comprises a support member, wherein the support member is fixedly arranged inside the housing, an elastic member is arranged between the second button and the support member, and when the second button is pressed, the elastic member can accumulate elastic deformation energy for driving the second button away from the switch.

5. The electronic device according to claim 1, characterized in that: The shell includes a first shell part, and the first button can slide along the outer side surface of the first shell part; the first shell part has a sound receiving hole, and the first button has a through hole. The first button is in one working position, and the sound receiving hole is connected to the through hole. The first button is in another working position, and the sound receiving hole is staggered with the through hole, and the first button covers the sound receiving hole, and the first shell part blocks the through hole.

6. The electronic device according to claim 5, characterized in that: When the first button is in a working position where the through hole is connected to the sound receiving hole, the first function includes opening a recording interface, and the second function includes at least one of starting recording and pausing recording; When the first button is in a working position where the through hole and the sound receiving hole are staggered, the first function includes at least one of closing the recording interface and outputting text, and the second function includes generating text.

7. The electronic device according to claim 5, characterized in that: The shell body also includes a second shell portion, the second shell portion is located on the outside of the first shell portion, a slide groove is formed between the first shell portion and the second shell portion, the first button includes a wing portion that slidably cooperates with the slide groove, and the through hole is provided in the wing portion.

8. The electronic device according to claim 5, characterized in that: A sealing ring is provided between the first shell portion and the first button. The sealing ring is fixedly arranged on the outer side of the first shell portion. The sealing ring corresponds to the position of the sound receiving hole.

9. The electronic device according to any one of claims 1 to 8, characterized in that: The detection element includes a magnetic component and a Hall sensor, and the Hall sensor is electrically connected to the controller; the magnetic component is arranged on the first button, and the Hall sensor is fixed in the housing.

10. The electronic device according to any one of claims 1 to 8, characterized in that: The electronic device is a voice recorder.