Switch assembly, automobile door and automobile

By using a combination of magnetic and elastic parts in the car door switch assembly, the problem of smooth return of the mechanical switch is solved, stable return of the sliding mechanism and reliable control of the lock are achieved, and the durability and safety of the switch assembly are improved.

CN223387127UActive Publication Date: 2025-09-26YINWANG INTELLIGENT TECHNOLOGIES CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202422042488.6
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-08-22
Publication Date
2025-09-26
Estimated Expiration
2034-08-22

AI Technical Summary

Technical Problem

After long-term use, the mechanical switch of existing automobile door switch assemblies does not return smoothly, resulting in the door being unable to lock reliably, posing a safety hazard.

Method used

The magnetic component design provides a return assist force through the magnetic attraction between the first and second magnetic components, ensuring that the sliding mechanism can still return smoothly even when its durability deteriorates. Combined with the elastic component and transmission mechanism, stable movement of the sliding mechanism and reliable control of the locking component are achieved.

Benefits of technology

The service life of the switch assembly is extended, the sliding mechanism is ensured to return to its original position quickly and stably, and the durability and safety of the switch assembly are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN223387127U_ABST
    Figure CN223387127U_ABST
Patent Text Reader

Abstract

A switch assembly, an automobile door and an automobile wherein the switch assembly comprises a base, a sliding mechanism and an electronic switch. At least part of the sliding mechanism extends into the base and is in sliding fit with the base, and the sliding mechanism is used for being connected with the locking piece so as to drive the locking piece to move. A first magnetic part is arranged on the base, a second magnetic part is arranged on the sliding mechanism, and when the sliding mechanism is not pressed down, the second magnetic part and the first magnetic part are magnetically attracted. The electronic switch is arranged at the end, away from the base, of the sliding mechanism and used for being electrically connected with a controller for controlling the lock piece to move. In the application, in the process that the sliding mechanism returns to the initial position, auxiliary force for returning can be provided for the sliding mechanism through the magnetic attraction force between the first magnetic part and the second magnetic part, so that the sliding mechanism can smoothly and quickly return, and the problem of unsmooth returning caused by poor durability is effectively avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of switch technology, and in particular to a switch assembly, a vehicle door, and a vehicle. Background Art

[0002] As users' requirements for the operational experience and appearance of door unlocking gradually increase, switch assemblies for unlocking doors are widely used in automobile doors.

[0003] Currently, the switch components used in car doors include electronic switches and mechanical switches. These switches can be integrated into the same location on the door. When a user presses the electronic switch with a light force, the switch component sends a trigger signal to the controller, which then unlocks the door. If the electronic switch fails and the user presses it with greater force, the mechanical switch can unlock the door.

[0004] The mechanical switch automatically returns to its initial position after being pressed, facilitating the next press. However, after prolonged use, the mechanical switch may not return smoothly after being pressed, preventing the door from reliably locking, posing a safety hazard. Utility Model Content

[0005] In view of this, the present application provides a switch assembly, a vehicle door, and a vehicle to solve the problem that the switch assembly does not return smoothly after being pressed.

[0006] In a first aspect, the present application provides a switch assembly comprising: a base, a sliding mechanism, and an electronic switch. A first magnetic member is provided on the base. At least a portion of the sliding mechanism extends into the base and slides with the base. The sliding mechanism is configured to connect to a lock member to drive the lock member to move. A second magnetic member is provided on the sliding mechanism, and when the sliding mechanism is not pressed, the second magnetic member magnetically engages with the first magnetic member. The electronic switch is provided on an end of the sliding mechanism away from the base, and the electronic switch is configured to be electrically connected to a controller that controls the movement of the lock member.

[0007] In the embodiment of the present application, during the process of the sliding mechanism returning to the initial position, the magnetic attraction between the first magnetic part and the second magnetic part can provide auxiliary force for the sliding mechanism to return, thereby ensuring that the sliding mechanism can return smoothly and quickly, effectively avoiding the problem of poor durability causing unsmooth return.

[0008] In one possible implementation, a slide groove is provided in the base, and at least a portion of the sliding mechanism is slidably provided in the slide groove. The first magnetic member is provided on the inner wall of the slide groove. The inner wall of the slide groove and the outer wall of the sliding mechanism are close to each other, so that an effective magnetic attraction force can be generated between the first magnetic member and the second magnetic member, so that the sliding mechanism and the base can maintain a relatively stable position in the initial position, and in the process of the sliding mechanism returning from the unlocked position to the initial position, the magnetic attraction between the first magnetic member and the second magnetic member can provide an auxiliary force for returning, so that when the durability of the switch assembly deteriorates, the sliding mechanism can still effectively return to its position, thereby extending the service life of the switch assembly.

[0009] In one possible implementation, a first groove is provided on the inner wall of the slideway, and the first magnetic member is embedded in the first groove. The first magnetic member can be bonded to the first groove to ensure reliable fixation of the first magnetic member in the first groove. The first groove provides installation space for the first magnetic member, so that the first magnetic member does not occupy space outside the base, which is conducive to improving integration and saving space.

[0010] In one possible implementation, the thickness of the first magnetic member is less than or equal to the depth of the first groove, that is, after the first magnetic member is set in the first groove, the first magnetic member will not protrude from the first groove, thereby avoiding the first magnetic member from interfering with the movement of the sliding mechanism.

[0011] In one possible implementation, the sliding mechanism includes a body having a second groove formed therein, and the second magnetic member is embedded in the second groove. The second magnetic member can be bonded to the second groove to ensure reliable fixation of the second magnetic member in the second groove. The second groove provides installation space for the second magnetic member, eliminating the need for the second magnetic member to occupy space outside the sliding mechanism, thereby improving integration and saving space.

[0012] In one possible implementation, the sliding mechanism includes a body and a first elastic member, wherein the first elastic member is elastically and telescopically connected to the body, and the expansion and contraction direction of the first elastic member intersects with the sliding direction of the sliding mechanism. The second magnetic member is connected to an end of the first elastic member away from the body. The expansion and contraction direction of the first elastic member intersects with the sliding direction of the sliding mechanism, for example, the expansion and contraction direction of the first elastic member is perpendicular to the sliding direction of the sliding mechanism. Of course, the expansion and contraction direction of the first elastic member and the sliding direction of the sliding mechanism may also form an angle such as but not limited to 80°, 85°, 95°, 100°, etc. These angles can enable the first elastic member to press the second magnetic member onto the body. During the sliding process of the body relative to the slide groove, the second magnetic member generates a sliding friction force with the inner wall of the slide groove. The sliding friction force can provide a damping effect, thereby improving the user's pressing feel. At the same time, it can also ensure the consistency of the auxiliary return effect provided by the magnetic attraction between the first magnetic member and the second magnetic member during each return process of the body.

[0013] In one possible implementation, the inner wall of the slide is provided with a positioning groove, and when the sliding mechanism is not pressed, at least a portion of the second magnetic part is pushed and clamped in the positioning groove by the first elastic part. The first magnetic part is provided on the inner wall of the positioning groove. When the main body is not pressed down, the second magnetic part provided in the main body is clamped with the positioning groove on the inner wall of the slide through the elastic force of the first elastic part, thereby increasing the sliding damping of the main body. The force with which the user presses the button needs to cause the second magnetic part of the first elastic part to disengage from the positioning groove in order to make the main body slide downward. When the user presses the button with a small force, the main body will not slide. In this way, the pressing force that triggers the electronic switch function can be decoupled from the pressing force that triggers the mechanical switch function. When the user uses a smaller pressing force in normal times, only the electronic switch function will be triggered, and the slider that triggers the mechanical switch function will not move, thereby improving the user experience.

[0014] In one possible implementation, the switch assembly further includes a second elastic member disposed in the slide groove, one end of the second elastic member abutting the base, the other end of the second elastic member abutting the sliding mechanism, and the expansion and contraction direction of the second elastic member being consistent with the sliding direction of the sliding mechanism. As the sliding mechanism is pressed and slides, the second elastic member is gradually compressed. When the sliding mechanism is fully pressed, the second elastic member is in a compressed state, and the second magnetic member and the first magnetic member are separated from each other. When the force applied to the button is removed, the compressed second elastic member resets. During the reset, the second elastic member pushes the sliding mechanism to reset. When the second magnetic member approaches the first magnetic member, the magnetic attraction between the second and first magnetic members provides auxiliary force for the sliding mechanism to return to its original position, allowing the sliding mechanism to return smoothly and quickly. When the sliding mechanism returns to its initial position, the positions of the second magnetic member and the first magnetic member correspond. After the sliding mechanism returns to its initial position, it can drive the locking member to close.

[0015] In one possible implementation, the switch assembly further includes a transmission mechanism connected to the sliding mechanism, which is configured to connect to the lock element, and the sliding mechanism drives the lock element to move via the transmission mechanism. In the absence of direct contact between the sliding mechanism and the lock element, the transmission mechanism can be used to transmit the movement of the sliding mechanism to the lock element, thereby controlling the movement of the lock element to lock or unlock the switch assembly, thereby facilitating flexible placement of the switch assembly relative to the lock element.

[0016] In one possible implementation, the transmission mechanism includes a rotating shaft and an intersecting first rod and second rod, the first rod and the second rod are fixedly connected, and the connection position of the first rod and the second rod is rotatably connected to the base via the rotating shaft. The end of the first rod away from the rotating shaft is slidably connected to the sliding mechanism, and the end of the first rod away from the rotating shaft moves in the sliding direction of the sliding mechanism by the drive of the sliding mechanism. The end of the second rod away from the rotating shaft is connected to the lock element for driving the lock element to move. The connection position of the first rod and the second rod can be rotatably connected to the base via the rotating shaft, and the first rod and the second rod can rotate synchronously with the rotating shaft as the rotation center, so that the movement of the sliding mechanism can be converted into the movement of the lock element through the transmission mechanism, which is convenient for controlling the movement of the lock element.

[0017] In one possible implementation, the switch assembly further includes a third elastic member, one end of which is connected to the base, and the other end of which is connected to the first rod or the second rod. When the sliding mechanism is pressed, the third elastic member twists in the circumferential direction of the rotating shaft. The third elastic member may be a torsion spring. In other embodiments, the third elastic member may also be another component that generates an elastic force after circumferential twisting. This embodiment is described using a torsion spring as an example. The torsion spring may be mounted on the rotating shaft, with one end connected to the base and the other end connected to the second rod. When the sliding mechanism is pressed, the sliding mechanism may drive the first rod and the second rod to rotate synchronously. The rotation of the second rod may cause the torsion spring to twist, generating an elastic force in the opposite direction of the rotation of the second rod, thereby providing a force to return the second rod. When the pressure on the sliding mechanism is released, the torsion spring regains its deformation, pushing the second rod to rotate in the opposite direction. The second rod then transmits the elastic force of the torsion spring to the sliding mechanism via the first rod, causing the sliding mechanism to return to its original position. The torsion spring ensures that the sliding mechanism can return smoothly and quickly, effectively avoiding issues with poor durability and resulting in unsmooth return.

[0018] In one possible implementation, a first strip hole is provided on the side wall of the base, and the length direction of the first strip hole is consistent with the sliding direction of the sliding mechanism. A first slide post is provided on the sliding mechanism, and the first slide post is slidably provided in the first strip hole. The end of the first slide post extends out of the first strip hole and is slidably connected to the first rod. When the sliding mechanism slides relative to the base, it can drive the first slide post to move synchronously. The first slide post can slide synchronously in the first strip hole and further drive the end of the first rod away from the rotating shaft to move, thereby driving the transmission mechanism to rotate as a whole, and further converting the movement of the sliding mechanism into the movement of the locking member through the transmission mechanism.

[0019] In one possible implementation, the side wall of the base is provided with a second strip hole, the length direction of the second strip hole is consistent with the movement direction of driving the lock to lock or unlock. The transmission mechanism also includes a second slide post, the second slide post is slidably provided in the second strip hole, the end of the second slide post extends out of the second strip hole and is slidably connected to the second rod, and the second slide post is also connected to the lock to drive the lock to move. The second slide post can be fixedly connected to the lock so that the second slide post can drive the lock to move synchronously along the length direction of the second strip hole. During the rotation of the second rod with the rotating shaft as the rotation center, the second rod can generate relative sliding with the second slide post, thereby converting the rotational movement of the second rod into linear motion of the second slide post and the lock, while avoiding jamming.

[0020] In one possible implementation, the transmission mechanism includes a cable, and a first guide channel is provided on the base. The first guide channel extends continuously between the lock element and the sliding mechanism. The cable is disposed in the first guide channel, with one end of the cable connected to the sliding mechanism and the other end of the cable connected to the lock element. The first guide channel can be a groove-like structure formed on the outer surface of the base, or a hole structure formed within the side wall of the base. When the cable is disposed in the first guide channel, the first guide channel can constrain the extension direction of the cable, eliminating the need for a steering shaft to constrain the extension direction of the cable, reducing the use of parts and saving costs.

[0021] In one possible implementation, the transmission mechanism includes a cable and a mounting frame, the mounting frame is connected to the base, a second guide channel is provided on the mounting frame, the second guide channel extends continuously between the lock and the sliding mechanism, the cable is provided in the second guide channel, one end of the cable is connected to the sliding mechanism, and the other end of the cable is connected to the lock. The second guide channel can be a groove structure formed on the outer surface of the mounting frame, or a channel structure formed inside the mounting frame. When the cable is provided in the second guide channel, the second guide channel can realize the constraint of the extension direction of the cable, thereby eliminating the need to use a steering shaft to constrain the extension direction of the cable, reducing the use of parts and saving costs. In one embodiment, the second guide channel can be integrally formed during the processing and manufacturing process of the base mounting frame, thereby simplifying the process and improving the processing accuracy and consistency of the second guide channel.

[0022] In a second aspect, an embodiment of the present application further provides a vehicle door, wherein the vehicle door comprises a door body, a lock, and the switch assembly provided in the first aspect of the present application, wherein the lock and the switch assembly are both mounted on the door body. A button is mounted on the operating panel of the door body, the button covering the touch portion of the electronic switch, and the button is used to touch the electronic switch and / or press the sliding mechanism to slide. A vehicle door including the switch assembly provided in the first aspect of the present application has similar technical effects as the aforementioned switch assembly, and will not be described in detail here.

[0023] In a third aspect, an embodiment of the present application further provides an automobile, wherein the automobile includes the door provided in the second aspect of the present application. The automobile including the switch assembly provided in the first aspect of the present application has similar technical effects as the aforementioned switch assembly, and will not be further described here.

[0024] It should be understood that the foregoing general description and the following detailed description are merely illustrative and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments. 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 any creative work.

[0026] Figure 1 A front view of a switch assembly provided in one embodiment of the present application;

[0027] Figure 2 A partial cross-sectional view of a switch assembly provided in one embodiment of the present application;

[0028] Figure 3 A partial cross-sectional view of a switch assembly provided in another embodiment of the present application;

[0029] Figure 4 A partial cross-sectional view of a switch assembly provided in another embodiment of the present application;

[0030] Figure 5 A partial view of a switch assembly provided in one embodiment of the present application;

[0031] Figure 6 A partial view of a switch assembly provided in another embodiment of the present application;

[0032] Figure 7 A partial cross-sectional view of a switch assembly provided in another embodiment of the present application;

[0033] Figure 8A partial cross-sectional view of a switch assembly provided in another embodiment of the present application;

[0034] Figure 9 A schematic structural diagram of a switch assembly provided in one embodiment of the present application;

[0035] Figure 10 A front view of a switch assembly provided in another embodiment of the present application;

[0036] Figure 11 for Figure 10 The cross-sectional view at AA in FIG.

[0037] Figure 12 A front view of a switch assembly provided in another embodiment of the present application;

[0038] Figure 13 A front view of a switch assembly provided in another embodiment of the present application;

[0039] Figure 14 A front view of a switch assembly provided in another embodiment of the present application.

[0040] Reference numerals:

[0041] 1- base;

[0042] 1a-first magnetic member;

[0043] 11- chute;

[0044] 111-first groove;

[0045] 112- positioning slot;

[0046] 12- first strip hole;

[0047] 13- second strip hole;

[0048] 14-first guide channel;

[0049] 2- Sliding mechanism;

[0050] 21-Ontology;

[0051] 211- second groove;

[0052] 212-third groove;

[0053] 22-first elastic member;

[0054] 221-spring;

[0055] 222-contact block;

[0056] 23- second elastic member;

[0057] 24-first slide;

[0058] 2a-second magnetic member;

[0059] 3-Electronic switch;

[0060] 31-touch part;

[0061] 4 buttons;

[0062] 5-locking piece;

[0063] 6- transmission mechanism;

[0064] 61-first rod;

[0065] 611-first adjustment hole;

[0066] 62- second rod;

[0067] 621-second adjustment hole;

[0068] 63-rotating shaft;

[0069] 64-second slide;

[0070] 65-cable;

[0071] 66-steering shaft;

[0072] 7-Mounting frame;

[0073] 71- second guide channel;

[0074] 8-third elastic member;

[0075] 81-Torsion spring. DETAILED DESCRIPTION

[0076] In order to better understand the technical solution of the present application, the embodiments of the present application are described in detail below with reference to the accompanying drawings.

[0077] It should be clear that the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0078] The terms used in the embodiments of the present application are for the purpose of describing specific embodiments only and are not intended to limit the present application. The singular forms "a", "an", "the" and "the" used in the embodiments of the present application and the appended claims are also intended to include plural forms unless the context clearly indicates otherwise.

[0079] It should be understood that the term "and / or" as used herein simply describes a relationship between associated objects, indicating that three possible relationships exist. For example, "A and / or B" can represent: A alone, A and B together, or B alone. Furthermore, the character " / " in this document generally indicates an "or" relationship between the associated objects.

[0080] In the description of this application, unless otherwise specified or limited, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance; unless otherwise specified or explained, the term "plurality" refers to two or more; the terms "connected" and "fixed" should be understood in a broad sense. For example, "connected" can mean a fixed connection, a detachable connection, an integral connection, or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium. For those skilled in the art, the specific meanings of the above terms in this application can be understood according to the specific circumstances.

[0081] The present application relates to a switch assembly that integrates an electronic switch and a mechanical switch. When a user presses the switch assembly with relatively light force, the electronic switch is triggered to unlock or lock. When the user presses the switch assembly with greater force, the mechanical switch is triggered to unlock or lock. This ensures that even if a circuit malfunction or a power outage renders the electronic switch inoperable, the mechanical switch can still unlock or lock, thereby improving the safety of the switch assembly.

[0082] The switch assembly can be used in a vehicle door, which includes a door body and a lock member. The lock member can be a door lock. The door lock and the switch assembly provided in this embodiment can both be mounted on the door body. The switch assembly can control the movement of the lock member to unlock the door lock and open the door. For example, the switch assembly can be mounted on the inside of the door, or on the outside of the door.

[0083] The switch assembly can also be used in an electronic door to unlock or lock the door lock of the electronic door. This embodiment does not limit the application scenario of the switch assembly, and it can be used in any scenario that requires a switch. For ease of understanding, the switch assembly can be used in a car door to unlock or lock the car door lock as an example.

[0084] The structural features of the switch assembly will be described below.

[0085] Figure 1 This is a front view of a switch assembly provided in one embodiment of the present application, wherein: Figure 1 The button 4 is partially cut away, as shown in FIG. Figure 1As shown, the switch assembly includes a base 1, a sliding mechanism 2 and an electronic switch 3, wherein the base 1 is box-shaped, the sliding mechanism 2 is strip-shaped, at least part of the sliding mechanism 2 extends into the base 1, and at least part of it extends out of the base 1, and the electronic switch 3 is located on one end of the sliding mechanism 2 extending out of the base 1, so that the electronic switch 3 and the sliding mechanism 2 can be distributed in the pressing direction.

[0086] The operating panel of the vehicle door body may be equipped with a button 4 , which may cover the touch portion 31 of the electronic switch 3 . The button 4 is used to touch the touch portion 31 of the electronic switch 3 and also to press the sliding mechanism 2 to cause the sliding mechanism 2 to slide.

[0087] In one embodiment, the button 4 is movably mounted on the vehicle door. When the switch assembly is installed, the touch portion 31 of the electronic switch 3 can be aligned with the button 4. In one embodiment, the button 4 can be connected to the touch portion 31 of the electronic switch 3. When the switch assembly is assembled on the vehicle door, the button 4 and the operating panel of the door body are loosely matched, so that pressing the button 4 can also achieve the action of driving the electronic switch 3 and the sliding mechanism 2.

[0088] In one embodiment, the electronic switch 3 is used to be electrically connected to the controller that controls the lock element 5. When the touch portion 31 of the electronic switch 3 is touched, it can send a touch signal to the controller. After receiving the touch signal, the controller controls the lock element 5 to unlock or lock, thereby enabling the switch assembly to have the function of the electronic switch 3.

[0089] The electronic switch 3 may include, but is not limited to, a touch switch and a pressure switch. For example, if the electronic switch 3 is a touch switch, the touch signal may be a touch signal. For example, if the electronic switch 3 is a pressure switch, the touch signal may be a pressure signal. The pressure switch may include, but is not limited to, a micro switch or a pressure-sensitive capacitive switch.

[0090] like Figure 1 As shown, the sliding mechanism 2 is slidably matched with the base 1, and the sliding mechanism 2 can be connected to the lock member 5 through a transmission mechanism 6 (described in detail below) to drive the lock member 5 to move to unlock or lock.

[0091] To ensure that the pressing portion 31 of the electronic switch 3 is pressed without sliding the sliding mechanism 2 when the user applies relatively little force to the button 4, the static friction between the sliding mechanism 2 and the base 1 must be greater than the force required to press the pressing portion 31 of the electronic switch 3. For example, the static friction between the sliding mechanism 2 and the base 1 is significantly greater than the minimum force required to press the pressing portion 31 of the electronic switch 3. If a user applies a force of 5N-8N to the button 4, the pressing portion 31 of the electronic switch 3 is pressed. The static friction between the sliding mechanism 2 and the base 1 can be greater than, or even significantly greater than, 8N.

[0092] It should be noted that, when describing the pressing of the touch portion 31 , unless otherwise specified, this description is for the case where the electronic switch 3 is a pressure switch. In the case where the electronic switch 3 is a touch switch, the touch portion 31 will not be pressed.

[0093] Thus, when the user presses the button 4 with normal force, only the contact portion 31 of the electronic switch 3 is pressed, while the sliding mechanism 2 remains stationary and does not slide. However, when the user presses the button 4 with normal force (low force) but fails to unlock or lock the lock 5, the user may subconsciously increase the force, which will trigger the sliding mechanism 2 to slide, thereby performing mechanical unlocking or mechanical locking.

[0094] Therefore, the switch assembly has both the function of a mechanical switch and the function of an electronic switch 3 , thereby taking into account both the intelligence and safety of the switch assembly.

[0095] In one example, after the user stops applying force to the button 4, the touch portion 31 of the electronic switch 3 will reset due to the reset structure inside the electronic switch 3. If the sliding mechanism 2 is also pressed, the sliding mechanism 2 will also reset after the user releases the button. For example, if the sliding mechanism 2 is connected to the lock 5, and the lock 5 has a reset structure inside, the reset structure inside the lock 5 will reset the sliding mechanism 2 in the process of causing the lock 5 to reset.

[0096] It should be noted that when the lock member 5 is reset, the force applied to the sliding mechanism 2 is greater than the static friction force on the sliding mechanism 2 (such as the static friction force between the sliding mechanism 2 and the base 1), so as to promote the sliding mechanism 2 to reset.

[0097] However, after frequent and long-term use, the durability of the switch assembly deteriorates, and the sliding mechanism 2 is prone to the problem of not returning smoothly.

[0098] In view of this, the embodiments of the present application provide the following solutions.

[0099] Figure 2 A partial cross-sectional view of a switch assembly provided in one embodiment of the present application is shown in FIG. Figure 2As shown, in this embodiment, a first magnetic member 1a may be provided on the base 1, and a second magnetic member 2a may be provided on the sliding mechanism 2. When the sliding mechanism 2 is not pressed, the second magnetic member 2a is magnetically attracted to the first magnetic member 1a. The first magnetic member 1a and the second magnetic member 2a may be ferrite magnets, neodymium iron boron magnets, aluminum nickel cobalt magnets or bonded magnets. For ease of explanation, the position of the sliding mechanism 2 when it is not pressed may be defined as the initial position, and the position of the sliding mechanism 2 when it is unlocked after being pressed may be defined as the unlocked position. When the sliding mechanism 2 is in the initial position, the second magnetic member 2a on the sliding mechanism 2 is opposite to the first magnetic member 1a on the base 1 and is attracted to each other, so that the sliding mechanism 2 can be stably maintained in the initial position, and when the user applies a small pressing force to the electronic switch 3, the electronic switch 3 can be triggered without causing the sliding mechanism 2 to slide relative to the base 1.

[0100] When the user applies a large pressing force to make the sliding mechanism 2 slide to the unlocked position relative to the base 1, the pressing force can be canceled after unlocking. The sliding mechanism 2 can slide to the initial position through the action of a reset structure such as in the lock member 5. During this process, the second magnetic member 2a gradually approaches the first magnetic member 1a. When the second magnetic member 2a moves with the sliding mechanism 2 to a range where it can be mutually adsorbed with the first magnetic member 1a, the magnetic attraction force between the first magnetic member 1a and the second magnetic member 2a can provide an auxiliary force for the sliding mechanism 2 to return to its original position, thereby ensuring that the sliding mechanism 2 can return to its original position smoothly and quickly, effectively avoiding the problem of poor durability leading to unsmooth return.

[0101] In one embodiment, if Figure 2 As shown, a slot 11 is provided in the base 1, and at least a portion of the sliding mechanism 2 slides in the slot 11. The depth of the slot 11 is greater than the travel of the sliding mechanism 2 in the slot 11, thereby ensuring that the sliding mechanism 2 can drive the lock member 5 by sliding back and forth in the slot 11, thereby achieving locking or unlocking. Specifically, the first magnetic member 1a can be provided on the inner wall of the slot 11, and the second magnetic member 2a can be provided on the outer wall of the sliding mechanism 2. The inner wall of the slot 11 and the outer wall of the sliding mechanism 2 are close to each other, thereby generating an effective magnetic attraction between the first magnetic member 1a and the second magnetic member 2a, thereby maintaining a relatively stable position between the sliding mechanism 2 and the base 1 in the initial position. During the process of the sliding mechanism 2 returning from the unlocked position to the initial position, the magnetic attraction between the first magnetic member 1a and the second magnetic member 2a can provide an auxiliary force for returning to the initial position. This ensures that the sliding mechanism 2 can still effectively return to its original position even when the durability of the switch assembly deteriorates, thereby extending the service life of the switch assembly.

[0102] Among them, one or more first magnetic parts 1a can be provided. When multiple first magnetic parts 1a are provided, multiple first magnetic parts 1a can be distributed at intervals on the circumferential direction of the inner wall of the slide groove 11. Correspondingly, multiple second magnetic parts 2a can also be provided, and multiple second magnetic parts 2a correspond one-to-one with multiple first magnetic parts 1a.

[0103] Figure 3 A partial cross-sectional view of a switch assembly provided in another embodiment of the present application is shown in FIG. Figure 3 As shown, a first groove 111 may be provided on the inner wall of the slide 11, and the first magnetic member 1a may be embedded in the first groove 111. The first magnetic member 1a may be bonded to the first groove 111 to ensure the reliability of the first magnetic member 1a being fixed in the first groove 111. The first groove 111 provides installation space for the first magnetic member 1a, so that the first magnetic member 1a does not occupy space outside the base 1, which is conducive to improving integration and saving space.

[0104] Among them, the thickness of the first magnetic part 1a is less than or equal to the depth of the first groove 111, that is, after the first magnetic part 1a is set in the first groove 111, the first magnetic part 1a will not protrude from the first groove 111, thereby avoiding the first magnetic part 1a from interfering with the movement of the sliding mechanism 2.

[0105] Figure 4 A partial cross-sectional view of a switch assembly provided in another embodiment of the present application is shown in FIG. Figure 4 As shown, the sliding mechanism 2 includes a body 21, at least a portion of which can be slidably disposed in the slide groove 11 of the base 1, at least a portion of the body 21 can extend from the slide groove 11, and can be connected to the electronic switch 3. A second groove 211 can be provided on the body 21, and the second magnetic member 2a is embedded in the second groove 211. The second magnetic member 2a can be bonded to the second groove 211 to ensure the reliability of the second magnetic member 2a being fixed in the second groove 211. The second groove 211 can provide an installation space for the second magnetic member 2a, so that the second magnetic member 2a does not occupy space outside the sliding mechanism 2, which is conducive to improving integration and saving space.

[0106] Figure 5 A partial view of a switch assembly provided in one embodiment of the present application, such as Figure 5As shown, the sliding mechanism 2 includes a body 21 and a first elastic member 22. The first elastic member 22 is elastically and retractably connected to the body 21, and the second magnetic member 2a is connected to an end of the first elastic member 22 away from the body 21. The extension and contraction direction of the first elastic member 22 intersects the sliding direction of the sliding mechanism 2. For example, the extension and contraction direction of the first elastic member 22 is perpendicular to the sliding direction of the sliding mechanism 2. Of course, the extension and contraction direction of the first elastic member 22 and the sliding direction of the sliding mechanism 2 may also form an angle of, but not limited to, 80°, 85°, 95°, or 100°. These angles enable the first elastic member 22 to press the second magnetic member 2a against the body 21. During the sliding process of the body 21 relative to the slide groove 11, the second magnetic member 2a generates sliding friction with the inner wall of the slide groove 11. This sliding friction can provide a damping effect, improving the user's pressing feel. At the same time, it can also ensure the consistency of the auxiliary return effect provided by the magnetic attraction between the first magnetic member 1a and the second magnetic member 2a during each return process of the body 21.

[0107] like Figure 5 As shown, the body 21 is provided with a third groove 212. The first elastic member 22 may include a spring and a contact block 222. Both the spring and the contact block 222 may be disposed in the third groove 212. One end of the spring abuts against the bottom of the third groove 212, and the other end of the spring abuts against the contact block 222. The aforementioned abutment, as well as the abutment mentioned below, may be understood to mean that contact is maintained at all times unless otherwise specified.

[0108] In one embodiment, the second magnetic member 2a can be arranged on the contact block 222 at one end away from the spring, so as to facilitate the assembly of the second magnetic member 2a. In another embodiment, the second magnetic member 2a can be embedded in the contact block 222, and the contact block 222 can partially cover or completely cover the second magnetic member 2a, and the contact block 222 can be in contact with the body. The material of the contact block 222 can be a material such as rubber, silicone, etc. with a large friction coefficient. When the contact block 222 contacts the body 21, a large damping force can be generated between the contact block 222 and the body 21, which can ensure the positional stability of the body 21 at the initial position, and when the pressing force is small, the relative stillness between the body 21 and the base 1 can be ensured.

[0109] In some other embodiments, the first elastic member 22 may be merely a spring, and the second magnetic member 2a is connected to one end of the spring.

[0110] Figure 6 A partial view of a switch assembly provided in another embodiment of the present application is shown in FIG. Figure 6As shown, the inner wall of the slide groove 11 can be provided with a positioning groove 112. When the sliding mechanism 2 is not pressed, at least part of the second magnetic member 2a is pushed and clamped in the positioning groove 112 by the first elastic member 22. Among them, the first magnetic member 1a can be provided on the inner wall of the positioning groove 112.

[0111] Thus, when the main body 21 is not pressed down, the second magnetic member 2a provided in the main body 21 is engaged with the positioning groove 112 on the inner wall of the slide groove 11 through the elastic force of the first elastic member 22, thereby increasing the sliding damping of the main body 21. The force with which the user presses the button 4 is required to cause the second magnetic member 2a of the first elastic member 22 to disengage from the positioning groove 112 in order to slide the main body 21 downward. When the user presses the button 4 with a small force, the main body 21 will not slide. In this way, the pressing force that triggers the function of the electronic switch 3 can be decoupled from the pressing force that triggers the function of the mechanical switch. When the user normally uses a small pressing force, only the function of the electronic switch 3 will be triggered, and the slider that triggers the mechanical switch function will not move, thereby improving the user experience.

[0112] In one embodiment, if Figure 6 As shown, the positioning groove 112 can be an arc-shaped groove or a spherical groove, and the end of the second magnetic member 2a is also arc-shaped or spherical to facilitate matching with the positioning groove 112. As described above, the first elastic member 22 can include a contact block 222 and a spring, and the second magnetic member 2a can be embedded in the interior of the contact block 222, and the contact block 222 can contact the inner wall of the slide groove 11. Therefore, the end of the contact block 222 can be arc-shaped or spherical to facilitate matching with the positioning groove 112.

[0113] Figure 7 A partial cross-sectional view of a switch assembly provided in another embodiment of the present application is shown in FIG. Figure 7 As shown, the switch assembly also includes a second elastic member 23, which is arranged in the slide groove 11, one end of the second elastic member 23 abuts against the base 1, and the other end of the second elastic member 23 abuts against the sliding mechanism 2, and the extension and contraction direction of the second elastic member 23 is consistent with the sliding direction of the sliding mechanism 2.

[0114] In the normal state of the sliding mechanism 2, that is, when the button 4 is not subjected to external pressure, or when the force applied to the button 4 is insufficient to press the sliding mechanism 2, the second elastic member 23 can be in a natural state or a compressed state. The state of the second elastic member 23 is related to the assembly position of the switch assembly. For example, if the switch assembly is vertically assembled in the vehicle door and the user presses the button 4 downward to trigger the lock 5, the second elastic member 23 is located below the sliding mechanism 2 and is subjected to the gravity of the sliding mechanism 2, thus being in a compressed state. For another example, if the switch assembly is horizontally assembled in the vehicle door and the user presses the button 4 toward the outside of the vehicle door, the second elastic member 23 and the sliding mechanism 2 are at the same height, and the second elastic member 23 is closer to the outside of the vehicle door than the sliding mechanism 2. In this positional relationship, the second elastic member 23 is in a natural state.

[0115] Figure 8 A partial cross-sectional view of a switch assembly provided in another embodiment of the present application is shown in FIG. Figure 8 As shown, since the second elastic member 23 contacts the sliding mechanism 2, the expansion and contraction direction of the second elastic member 23 is consistent with the sliding direction of the sliding mechanism 2. When the sliding mechanism 2 is pressed and slides, the second elastic member 23 is gradually compressed. When the sliding mechanism 2 is fully pressed, the second elastic member 23 is in a compressed state, and the second magnetic member 2a and the first magnetic member 1a are separated from each other. Figure 7 When the force on button 4 is removed, the compressed second elastic member 23 resets. During this reset, the second elastic member 23 pushes the sliding mechanism 2 to reset. When the second magnetic member 2a approaches the first magnetic member 1a, the magnetic attraction between the second magnetic member 2a and the first magnetic member 1a provides auxiliary force for the sliding mechanism 2 to return to its original position, allowing the sliding mechanism 2 to return smoothly and quickly. When the sliding mechanism 2 returns to its initial position, the positions of the second magnetic member 2a and the first magnetic member 1a correspond. After the sliding mechanism 2 returns to its initial position, it can drive the lock member 5 to close.

[0116] It should be noted that when the second elastic member 23 is reset, the force exerted on the sliding mechanism 2 is greater than the static friction force on the sliding mechanism 2 , and the static friction force on the sliding mechanism 2 is the static friction force between the sliding mechanism 2 and the sliding groove 11 .

[0117] In one embodiment, the second elastic member 23 is any structure capable of telescopic movement, for example, Figure 8 As shown, the second elastic member 23 is a spring. In another embodiment, the second elastic member 23 can also be a rubber block or a silicone block, etc., which can be compressed under external force and can be reset after the external force is removed.

[0118] Figure 9A schematic diagram of the structure of a switch assembly provided in one embodiment of the present application is shown in FIG. Figure 9 As shown, the switch assembly further includes a transmission mechanism 6, which is connected to the sliding mechanism 2. The transmission mechanism 6 is used to connect to the lock member 5. The sliding mechanism 2 drives the lock member 5 to move through the transmission mechanism 6. In the case where the sliding mechanism 2 and the lock member 5 are not in direct contact, the transmission mechanism 6 can be used to transmit the movement of the sliding mechanism 2 to the lock member 5, and can control the movement of the lock member 5 to achieve locking or unlocking, thereby facilitating the flexible arrangement of the switch assembly relative to the lock member 5.

[0119] Figure 10 A front view of a switch assembly provided in another embodiment of the present application is shown as follows: Figure 10 As shown, the transmission mechanism 6 includes a rotating shaft 63 and intersecting first and second rods 61 and 62. For example, the first and second rods 61 and 62 can form a "V" shape. The first and second rods 61 and 62 are fixedly connected. For example, the transmission mechanism 6 can be integrally formed, that is, the first and second rods 61 and 62 can be integrally formed during the molding process of the transmission mechanism 6.

[0120] The connection position of the first rod 61 and the second rod 62 can be rotatably connected to the base 1 through the rotating shaft 63. The first rod 61 and the second rod 62 can rotate synchronously with the rotating shaft 63 as the rotation center, so that the movement of the sliding mechanism 2 can be converted into the movement of the locking member 5 through the transmission mechanism 6, which is convenient for controlling the movement of the locking member 5.

[0121] like Figure 10 As shown, the end of the first rod 61 away from the rotating shaft 63 is slidably connected to the sliding mechanism 2. The end of the first rod 61 away from the rotating shaft 63 is driven by the sliding mechanism 2 to move in the sliding direction of the sliding mechanism 2. The end of the second rod 62 away from the rotating shaft 63 is connected to the lock member 5, which is used to drive the lock member 5 to move. When the sliding mechanism 2 slides relative to the base 1, the sliding mechanism 2 first drives the end of the first rod 61 away from the rotating shaft 63 to move in the sliding direction of the sliding mechanism 2. The first rod 61 and the second rod 62 rotate synchronously relative to the base 1 via the rotating shaft 63. During the rotation of the second rod 62, the second rod 62 can drive the lock member 5 to move synchronously, thereby locking or unlocking the lock member 5. At the same time, during this process, relative sliding occurs between the first rod 61 and the sliding mechanism 2 to prevent the transmission mechanism 6 from getting stuck with the sliding mechanism 2 during the overall rotation.

[0122] like Figure 10As shown, the side wall of the base 1 may be provided with a first strip hole 12, the length direction of the first strip hole 12 being consistent with the sliding direction of the sliding mechanism 2. The sliding mechanism 2 may be provided with a first slide post 24, which is slidably disposed in the first strip hole 12. The end of the first slide post 24 extends out of the first strip hole 12 and is slidably connected to the first rod 61. When the sliding mechanism 2 slides relative to the base 1, it can drive the first slide post 24 to move synchronously. The first slide post 24 can synchronously slide in the first strip hole 12 and further drive the end of the first rod 61 away from the rotating shaft 63 to move, thereby driving the transmission mechanism 6 to rotate as a whole, and further converting the movement of the sliding mechanism 2 into the movement of the locking member 5 through the transmission mechanism 6.

[0123] Among them, Figure 10 As shown, the first rod 61 may be provided with a first adjustment hole 611, which is located away from the rotation axis 63. The first adjustment hole 611 is elongated, and the length direction of the first adjustment hole 611 may be consistent with the length direction of the first rod 61. When the sliding mechanism 2 drives the end of the first rod 61 away from the rotation axis 63 via the first slide post 24, the first rod 61 can slide relative to the first slide post 24 through the first adjustment hole 611 during the process of rotating relative to the rotation axis 63, thereby converting the sliding motion of the sliding mechanism 2 into rotational motion of the first rod 61 and preventing jamming.

[0124] like Figure 10 As shown, the side wall of the base 1 can be provided with a second strip hole 13, and the length direction of the second strip hole 13 is consistent with the movement direction of driving the lock member 5 to lock or unlock. Among them, the positional relationship between the first strip hole 12 and the second strip hole 13 is related to the positional relationship between the switch assembly and the lock member 5. For example, the switch assembly is used in a car door. In the car door, the switch assembly is usually located in front of the door lock (i.e., the lock member 5) (defined as the front of the car and the rear of the car). The switch assembly and the door lock can be distributed front and back. The door lock moves in the front-to-back direction, and the sliding mechanism 2 slides in the up-down direction or in the front-to-back direction. Therefore, as shown in FIG. Figure 10 As shown, the length direction of the first strip-shaped hole 12 intersects with the length direction of the second strip-shaped hole 13 , for example, they may intersect perpendicularly.

[0125] like Figure 10As shown, the transmission mechanism 6 further includes a second slide post 64, which is slidably disposed within the second strip-shaped hole 13. The end of the second slide post 64 extends out of the second strip-shaped hole 13 and is slidably connected to the second rod 62. The second slide post 64 is also connected to the lock member 5 to drive the lock member 5. The second slide post 64 can be fixedly connected to the lock member 5, enabling the second slide post 64 to drive the lock member 5 to move synchronously along the length of the second strip-shaped hole 13. As the second rod 62 rotates about the rotation axis 63, relative sliding occurs between the second rod 62 and the second slide post 64, thereby converting the rotational motion of the second rod 62 into linear motion of the second slide post 64 and the lock member 5 while preventing binding.

[0126] Among them, Figure 10 As shown, the second rod 62 may be provided with a second adjustment hole 621, which is located away from the rotation axis 63. The second adjustment hole 621 is elongated, and the length direction of the second adjustment hole 621 may be consistent with the length direction of the second rod 62. When the sliding mechanism 2 drives the end of the first rod 61 away from the rotation axis 63 via the first slide post 24, the first rod 61 and the second rod 62 can rotate synchronously relative to the base 1 via the rotation axis 63. The second adjustment hole 621 on the second rod 62 slides relative to the second slide post 64, thereby converting the rotational motion of the second rod 62 into linear motion of the second slide post 64 and the locking member 5, and preventing jamming.

[0127] Figure 11 for Figure 10 The cross-sectional view at AA is as follows: Figure 11 As shown, the switch assembly further includes a third elastic member 8, one end of the third elastic member 8 is connected to the base 1, and the other end of the third elastic member 8 is connected to the first rod 61 or the second rod 62. Figure 11 The third elastic member 8 is shown as being connected to the second rod 62. When the sliding mechanism 2 is pressed, the third elastic member 8 twists in the circumferential direction of the rotating shaft 63. The third elastic member 8 may be a torsion spring 81. In other embodiments, the third elastic member 8 may be another component capable of generating an elastic force after circumferential twisting. This embodiment uses the torsion spring 81 as an example for description.

[0128] like Figure 11As shown, a torsion spring 81 can be mounted on the rotating shaft 63. One end of the torsion spring 81 is connected to the base 1, and the other end is connected to the second rod 62. When the sliding mechanism 2 is pressed, the sliding mechanism 2 can drive the first rod 61 and the second rod 62 to rotate synchronously. During the rotation of the second rod 62, the torsion spring 81 can be twisted. During this twisting process, the torsion spring 81 can generate an elastic force in the direction opposite to the rotation direction of the second rod 62, thereby providing a force to return the second rod 62 to its original position. When the pressing force on the sliding mechanism 2 is released, the torsion spring 81 recovers its deformation, pushing the second rod 62 to rotate in the opposite direction. The second rod 62 can then transmit the elastic force of the torsion spring 81 to the sliding mechanism 2 via the first rod 61, thereby causing the sliding mechanism 2 to return to its original position. Thus, the action of the torsion spring 81 ensures that the sliding mechanism 2 can return smoothly and quickly, effectively avoiding the problem of poor durability causing an unsmooth return.

[0129] Figure 12 A front view of a switch assembly provided in another embodiment of the present application is shown as follows: Figure 12 As shown, the transmission mechanism 6 includes a cable 65 and a steering shaft 66. The steering shaft 66 can be fixedly connected to the base 1 or rotatably connected to the base 1. In some embodiments, the steering shaft 66 can also replace the pulley. One end of the cable 65 can be connected to the first slide column 24, and the other end can be connected to the second slide column 64. The portion of the cable 65 located between the first slide column 24 and the second slide column 64 can be overlapped on the steering shaft 66. The steering shaft 66 can change the direction in which the cable 65 extends. For example, when the length direction of the first strip groove is perpendicular to the length direction of the second strip groove, the steering shaft 66 can be located at the intersection of the extension line of the first strip groove and the extension line of the second strip groove. Through the cooperation of the cable 65 and the steering shaft 66, the movement of the sliding mechanism 2 along the length direction of the first strip groove can be converted into the movement of the locking element 5 along the length direction of the second strip groove.

[0130] Figure 13 A front view of a switch assembly provided in another embodiment of the present application is shown as follows: Figure 13 As shown, the transmission mechanism 6 includes a cable 65. A first guide channel 14 may be provided on the base 1. The first guide channel 14 extends continuously between the lock 5 and the sliding mechanism 2. The cable 65 is provided in the first guide channel 14. One end of the cable 65 is connected to the sliding mechanism 2, and the other end of the cable 65 is connected to the lock 5. The first guide channel 14 may be a groove-shaped structure formed on the outer surface of the base 1, or a hole structure formed inside the side wall of the base 1. When the cable 65 is provided in the first guide channel 14, the first guide channel 14 can constrain the extension direction of the cable 65, thereby eliminating the need for the aforementioned steering shaft 66 (refer to FIG. 1 ). Figure 12), reducing the use of parts and saving costs. In one embodiment, the first guide channel 14 can be integrally formed during the manufacturing process of the base 1, thereby simplifying the process and improving the processing accuracy and consistency of the first guide channel 14.

[0131] Figure 14 A front view of a switch assembly provided in another embodiment of the present application is shown as follows: Figure 14 As shown, the transmission mechanism 6 includes a cable 65 and a mounting bracket 7. The mounting bracket 7 is connected to the base 1. For example, the mounting bracket 7 can be locked to the base 1 by screws or other connecting members, or can be fixed to the base 1 by a snap connection. The mounting bracket 7 can be an independently manufactured part that can be independently mounted on the base 1. The mounting bracket 7 can be designed according to the structure of the base 1 so that the mounting bracket 7 can be adapted to bases 1 with different structural forms, thereby improving design flexibility.

[0132] A second guide channel 71 may be provided on the mounting frame 7 , and the second guide channel 71 extends continuously between the lock 5 and the sliding mechanism 2 . The cable 65 is provided in the second guide channel 71 , and one end of the cable 65 is connected to the sliding mechanism 2 , for example, the cable 65 is connected to the first sliding column 24 , and the other end of the cable 65 is connected to the lock 5 or the second sliding column 64 .

[0133] The second guide channel 71 can be a groove-shaped structure formed on the outer surface of the mounting frame 7, or a channel structure formed inside the mounting frame 7. When the cable 65 is arranged in the second guide channel 71, the second guide channel 71 can constrain the extension direction of the cable 65, thereby eliminating the need to use the aforementioned steering shaft 66 (see FIG. Figure 12 ), reducing the use of parts and saving costs. In one embodiment, the second guide channel 71 can be integrally formed during the manufacturing process of the base 1 mounting frame 7, thereby simplifying the process and improving the processing accuracy and consistency of the second guide channel 71.

[0134] The above are merely preferred embodiments of the present application and are not intended to limit the present application. Those skilled in the art will readily appreciate that various modifications and variations are possible. Any modifications, equivalent substitutions, or improvements made within the spirit and principles of the present application shall be included within the scope of protection of the present application.

Claims

1. A switch assembly, characterized in that: include: a base, wherein a first magnetic member is provided on the base; a sliding mechanism, at least a portion of which extends into the base and slides with the base; the sliding mechanism is used to connect with the lock element to drive the lock element to move; the sliding mechanism is provided with a second magnetic element, and when the sliding mechanism is not pressed, the second magnetic element is magnetically attracted to the first magnetic element; An electronic switch is provided on an end of the sliding mechanism away from the base, and is used to be electrically connected to a controller that controls the movement of the lock.

2. The switch assembly according to claim 1, wherein: A slide groove is provided in the base, and at least a portion of the sliding mechanism is slidably provided in the slide groove; The first magnetic component is arranged on the inner wall of the sliding groove.

3. The switch assembly according to claim 2, wherein: A first groove is provided on the inner wall of the slide slot, and the first magnetic member is embedded in the first groove.

4. The switch assembly according to claim 3, characterized in that The thickness of the first magnetic member is less than or equal to the depth of the first groove.

5. The switch assembly according to any one of claims 1 to 4, characterized in that: The sliding mechanism includes a body, the body is provided with a second groove, and the second magnetic member is embedded in the second groove.

6. The switch assembly according to any one of claims 2 to 4, characterized in that: The sliding mechanism includes a body and a first elastic member, wherein the first elastic member is elastically and telescopically connected to the body, and a telescopic direction of the first elastic member intersects with a sliding direction of the sliding mechanism; The second magnetic member is connected to an end of the first elastic member away from the body.

7. The switch assembly according to claim 6, characterized in that The inner wall of the slide groove is provided with a positioning groove, and when the sliding mechanism is not pressed, at least a portion of the second magnetic member is pushed and locked in the positioning groove by the first elastic member; The first magnetic member is arranged on the inner wall of the positioning groove.

8. The switch assembly according to any one of claims 2 to 4, characterized in that: It also includes a second elastic member, which is arranged in the sliding groove, one end of the second elastic member abuts the base, and the other end of the second elastic member abuts the sliding mechanism, and the extension and contraction direction of the second elastic member is consistent with the sliding direction of the sliding mechanism.

9. The switch assembly according to any one of claims 1 to 4 and 7, characterized in that: It also includes a transmission mechanism, which is connected to the sliding mechanism. The transmission mechanism is used to connect with the locking element, and the sliding mechanism drives the locking element to move through the transmission mechanism.

10. The switch assembly according to claim 9, characterized in that The transmission mechanism includes a rotating shaft and a first rod and a second rod intersecting each other, the first rod and the second rod are fixedly connected, and the connection position between the first rod and the second rod is rotatably connected to the base through the rotating shaft; One end of the first rod away from the rotating shaft is slidably connected to the sliding mechanism, and the end of the first rod away from the rotating shaft is driven by the sliding mechanism to move in the sliding direction of the sliding mechanism; One end of the second rod away from the rotating shaft is connected to the locking element for driving the locking element to move.

11. The switch assembly according to claim 10, wherein: It also includes a third elastic member, one end of which is connected to the base, and the other end of which is connected to the first rod or the second rod. When the sliding mechanism is pressed, the third elastic member twists in the circumferential direction of the rotating shaft.

12. The switch assembly according to claim 10 or 11, characterized in that The side wall of the base is provided with a first strip-shaped hole, and the length direction of the first strip-shaped hole is consistent with the sliding direction of the sliding mechanism; The sliding mechanism is provided with a first sliding column, which is slidably arranged in the first strip hole. The end of the first sliding column extends out of the first strip hole and is slidably connected to the first rod.

13. The switch assembly according to claim 10 or 11, characterized in that A second strip-shaped hole is provided on the side wall of the base, and the length direction of the second strip-shaped hole is consistent with the movement direction of driving the lock to lock or unlock; The transmission mechanism also includes a second slide post, which is slidably arranged in the second strip hole. The end of the second slide post extends out of the second strip hole and is slidably connected to the second rod. The second slide post is also connected to the lock element for driving the lock element to move.

14. The switch assembly according to claim 9, wherein: The transmission mechanism includes a cable, and a first guide channel is provided on the base. The first guide channel extends continuously between the lock and the sliding mechanism. The cable is provided in the first guide channel, one end of the cable is connected to the sliding mechanism, and the other end of the cable is connected to the lock.

15. The switch assembly according to claim 9, wherein The transmission mechanism includes a cable and a mounting bracket, the mounting bracket is connected to the base, a second guide channel is provided on the mounting bracket, the second guide channel extends continuously between the lock and the sliding mechanism, the cable is provided in the second guide channel, one end of the cable is connected to the sliding mechanism, and the other end of the cable is connected to the lock.

16. A vehicle door, characterized in that: The vehicle door comprises a door body, a lock and a switch assembly according to any one of claims 1 to 15, wherein the lock and the switch assembly are both assembled on the door body; Wherein, a button is assembled on the operation panel of the door body, the button covers the touch portion of the electronic switch, and the button is used to touch the electronic switch and / or press the sliding mechanism to slide.

17. An automobile, characterized in that: The automobile includes the door according to claim 16.