Flip device and flip device control method
By introducing mutually repulsive magnetic force into the flip cover device, the vibration problem when the cover body and the main body are closed is solved, and the structural stability and service life of the equipment are improved.
Patent Information
- Application Number
- CN202510260386.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-06
- Publication Date
- 2025-04-04
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The flip device produces greater vibration when the cover body and main body are closed, which may cause loose mechanical connection components and microcracks to appear on the solder joints of the printed circuit board, affecting the structural stability of the equipment and electrical signal transmission.
By introducing mutually repulsive magnetic force between the cover body and the main body part of the flip device, the relative speed and acceleration between the cover body and the main body part are reduced, thereby reducing vibration at the moment of closing.
It effectively reduces the vibration of the cover and main body part when closing, and improves the structural stability and service life of the equipment.
Smart Images

Figure CN119763980A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of electronic equipment, and more specifically, to a flip device and a flip device control method. Background Art
[0002] At present, some flip-cover devices on the market (such as Bluetooth headset charging compartments) are equipped with magnets between the cover and the main body. When the device is closed, the cover and the main body can be attracted to each other through the magnets, thereby achieving a tight closure. For example, after the Bluetooth headset charging compartment is closed, the magnet of the main body attracts the magnet of the cover, which can prevent the headset in the compartment from falling out and ensure that the headset is safe and stable during carrying.
[0003] However, when the cover and the main body are closed, a large vibration will be generated. In the long run, this vibration may cause screws, buckles or other mechanical connection parts to loosen, thereby reducing the structural stability of the device. In addition, the solder joints on the printed circuit board are also prone to micro-cracks due to frequent vibrations, which in turn leads to poor contact and affects the transmission of electrical signals. Summary of the invention
[0004] The embodiment of the present application provides a flip cover device and a flip cover device control method. The solution of the embodiment of the present application can reduce the acceleration at the moment when the cover body and the main body are closed, reduce vibration, and improve the structural stability of the device.
[0005] In a first aspect, this embodiment provides a flip cover device, comprising: a main body and a cover body movably connected to the main body, the cover body comprising a first magnetic component, the main body comprising a second magnetic component, and the magnetic pole of the first magnetic component facing one end of the main body is a first magnetic pole; When the target state of the cover body relative to the main body is a closed state, and the current state of the cover body relative to the main body is a close state, the magnetic pole of the second magnetic component facing one end of the cover body is the first magnetic pole, so that a mutually repulsive magnetic force is generated between the cover body and the main body; wherein the magnetic force is used to reduce the relative speed and / or relative acceleration between the cover body and the main body.
[0006] Optionally, the magnetic pole of the second magnetic component is adjustable. When the target state of the cover body relative to the main body is a closed state, and the current state of the cover body relative to the main body is a closed state, the magnetic pole of the second magnetic component facing one end of the cover body is a second magnetic pole with opposite polarity to the first magnetic pole, so that a mutual attractive magnetic force is generated between the cover body and the main body.
[0007] Optionally, the main body further comprises a power supply unit and a switch unit connected to the power supply unit, the power supply unit is used to provide currents of different directions to the second magnetic component, and the switch unit has a first connection state and a second connection state; In the first connection state, the switch unit is used to control the power supply unit to provide current in a first direction, so that the magnetic pole of the second magnetic component facing one end of the cover body is the first magnetic pole; In the second connection state, the switch unit is used to control the power supply unit to provide current in a second direction, so that the magnetic pole of the second magnetic component facing one end of the cover body is a second magnetic pole with a polarity opposite to the first magnetic pole.
[0008] Optionally, the main body further includes a first detection unit, which is used to detect the relative distance between the cover body and the main body, and determine the current state and / or target state of the cover body relative to the main body according to the change of the relative distance.
[0009] Optionally, when the target state of the cover body relative to the main body is an open state, and the current state of the cover body relative to the main body is a closed state, the magnetic pole of the second magnetic component facing one end of the cover body is the first magnetic pole, so that the cover body pops open to the open state under the mutually repulsive magnetic force.
[0010] Optionally, the main body further includes a second detection unit, The second detection unit is used to detect a set area of the user's face, so as to determine that the target state of the cover relative to the main body is the open state when the current state is the closed state and the second detection unit detects the set area.
[0011] Optionally, the main body further includes a third detection unit, which is used to detect the change in motion per unit time of the flip device, so as to determine that the target state is the open state according to the change in motion per unit time and the detection result of the second detection unit.
[0012] In a second aspect, this embodiment provides a flip device control method, which is applied to the flip device as described in any one of the first aspects, and the method includes: Acquire a target state and a current state of the cover body of the flip device relative to the main body; When the target state is a closed state and the current state is a close state, the magnetic pole of the second magnetic component in the main body facing one end of the cover body is controlled to be the first magnetic pole, so that a mutually repulsive magnetic force is generated between the cover body and the main body; wherein the first magnetic pole has the same polarity as the magnetic pole of the first magnetic component in the cover body facing one end of the main body, and the magnetic force is used to reduce the relative speed and / or relative acceleration between the cover body and the main body.
[0013] Optionally, the method further comprises: When the target state of the cover body relative to the main body is a closed state, and the current state of the cover body relative to the main body is a closed state, the magnetic pole of the second magnetic component facing one end of the cover body is controlled to be a second magnetic pole with a polarity opposite to the first magnetic pole, so that a mutual attractive magnetic force is generated between the cover body and the main body.
[0014] Optionally, the method further comprises: When the target state of the cover body relative to the main body is an open state, and the current state of the cover body relative to the main body is a closed state, the magnetic pole of the second magnetic component facing one end of the cover body is controlled to be the first magnetic pole, so that the cover body pops open to an open state under the mutually repelling magnetic force.
[0015] Optionally, the method further comprises: When the current state is the closed state, obtaining a unit time motion variation of the flip device and a detection result of a user face setting area; When the amount of motion change per unit time is greater than or equal to a threshold value and the detection result indicates that a set area in which a user's face is detected, it is determined that the target state of the cover relative to the main body is an open state.
[0016] In a third aspect, this embodiment provides a non-volatile computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the method as described in any one of the second aspects of the present application is implemented.
[0017] In a fourth aspect, this embodiment provides a flip device, comprising a memory and a processor, wherein the memory is used to store computer instructions, and the processor is used to call the computer instructions from the memory to execute a method as described in any one of the second aspects of the present application.
[0018] In the process of the cover of the flip device of the embodiment of the present application approaching the main body, the magnetic pole of the first magnetic component in the cover facing the end of the main body and the magnetic pole of the second magnetic component in the main body facing the cover have the same polarity, so that a mutually repulsive magnetic force is generated between the cover and the main body. Under the action of the mutually repulsive magnetic force, the relative speed and / or relative acceleration between the cover and the main body are reduced, and the vibration amount at the moment of closing the cover and the main body is reduced, thereby improving the structural stability of the device and increasing the service life of the product.
[0019] Other features and advantages of the present application will become apparent from the following detailed description of exemplary embodiments of the present application with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the application and, together with the description, serve to explain the principles of the application.
[0021] Figure 1 A schematic side view of a flip device provided by an embodiment of the present application is shown.
[0022] Figure 2 A schematic connection diagram of a second magnetic component and a power supply unit provided in an embodiment of the present application is shown.
[0023] Figure 3 A schematic connection diagram of another second magnetic component and a power supply unit provided in an embodiment of the present application is shown.
[0024] Figure 4 A schematic connection diagram of another second magnetic component and a power supply unit provided in an embodiment of the present application is shown.
[0025] Figure 5 A schematic flow chart of a flip device control method provided in an embodiment of the present application is shown.
[0026] Figure 6 A schematic block diagram of another flip device provided in an embodiment of the present application is shown. DETAILED DESCRIPTION
[0027] Various exemplary embodiments of the present application will now be described in detail with reference to the accompanying drawings. It should be noted that unless otherwise specifically stated, the relative arrangement of components and steps, numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present application.
[0028] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the present application, its application, or uses.
[0029] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the technologies, methods, and equipment should be considered as part of the specification.
[0030] In all examples shown and discussed herein, any specific values should be interpreted as merely exemplary and not limiting. Therefore, other examples of the exemplary embodiments may have different values.
[0031] It should be noted that like reference numerals and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.
[0032] At present, some flip-cover devices on the market (such as Bluetooth headset charging compartments) are equipped with magnets between the cover and the main body. When the device is closed, the cover and the main body can be attracted to each other through the magnets, thereby achieving a tight closure. For example, after the Bluetooth headset charging compartment is closed, the magnet of the main body attracts the magnet of the cover, which can prevent the headset in the compartment from falling out and ensure that the headset is safe and stable during carrying.
[0033] However, when the cover and the main body are closed, a large vibration will be generated. In the long run, this vibration may cause screws, buckles or other mechanical connection parts to loosen, thereby reducing the structural stability of the device. In addition, the solder joints on the printed circuit board are also prone to micro-cracks due to frequent vibrations, which in turn leads to poor contact and affects the transmission of electrical signals.
[0034] In response to the above problem, the applicant analyzed and found that when a user closes the cover of a flip device, the cover is subjected to the external force applied by the user, the cover's own gravity, and the magnetic force of the magnets attracting each other. The combined force generated by the superposition of these forces causes a large relative speed and / or relative acceleration between the cover and the main body, thereby causing a large vibration.
[0035] Based on this, an embodiment of the present application provides a flip cover device. In the process of the cover of the flip cover device approaching the main body, the magnetic pole of the magnetic component in the cover facing the end of the main body and the magnetic pole of the magnetic component in the main body facing the cover have the same polarity, so that a mutually repulsive magnetic force is generated between the cover and the main body. Under the action of the mutually repulsive magnetic force, the relative speed and / or relative acceleration between the cover and the main body are reduced, and the vibration amount at the moment of closing the cover and the main body is reduced, thereby improving the structural stability of the device and increasing the service life of the product.
[0036] The flip device of the embodiment of the present application can be any flip device having the above-mentioned problem. In one example, the flip device can be a headphone charging compartment, such as a TWS (True Wireless Stereo) headphone charging compartment.
[0037] like Figure 1 As shown, the flip cover device may include a main body 110 and a cover body 120 movably connected to the main body 110 .
[0038] In one example, the main body 110 may be a housing for accommodating and charging earphones.
[0039] In one example, the main body 110 and the cover 120 may be movably connected via a rotating shaft.
[0040] In this embodiment, the state of the cover 120 relative to the main body 110 may include a closed state, an open state, and a close state. The closed state refers to a state in which the cover 120 and the main body 110 are completely closed, forming a seal or close contact. The open state refers to a state in which the cover 120 is opened and separated from the main body 110. The close state refers to a state in which the cover 120 is close to the main body 110. Taking the flip device as an earphone charging compartment as an example, the open state may refer to a state in which the cover 120 is opened and the user can take out or put in the earphone.
[0041] In this embodiment, the cover 120 includes a first magnetic component 121. The main body 110 includes a second magnetic component 111. In one example, when the cover 120 is in a closed state relative to the main body 110, the first magnetic component 121 and the second magnetic component 111 are located opposite to each other.
[0042] The first magnetic component 121 or the second magnetic component 111 can be a magnetic element, or a collection of magnetic elements and other structural parts related thereto. In one example, the first magnetic component 121 can be a magnet, and the second magnetic component 111 can be a coil. In another example, the second magnetic component 111 can be a collection of a coil and an insulator for winding the coil. The specific shape of the insulator is not limited, for example, it can be a rectangular parallelepiped. In another example, the magnet in the cover body in the related art can be used as the first magnetic component 121, and the magnet in the main body in the related art can be replaced by the second magnetic component 111.
[0043] In this embodiment, the magnetic pole of one end of the first magnetic component 121 facing the main body 110 is the first magnetic pole. The magnetic pole in this embodiment refers to the north pole (N) or the south pole (S) of the magnetic material.
[0044] In this embodiment, when the target state of the cover 120 relative to the main body 110 is the closed state, and the current state of the cover 120 relative to the main body 110 is the close state, the magnetic pole of the end of the second magnetic component 111 in the main body 110 facing the cover 120 is the same as the first magnetic pole of the end of the first magnetic component 121 facing the main body, so that a mutually repelling magnetic force is generated between the cover 120 and the main body 110. In this way, the resultant force on the cover will be reduced, thereby reducing the relative speed and / or relative acceleration between the cover 120 and the main body 110.
[0045] It can be understood that when the mutually repulsive magnetic force on the cover is small, the resultant force on the cover is directed to the main body 110. As the cover 120 gradually approaches the main body 110, the mutually repulsive magnetic force on the cover gradually increases, and the resultant force on the cover gradually decreases. At this time, the relative acceleration between the cover and the main body gradually decreases, so that the closing instant speed obtained by this embodiment is necessarily smaller than the closing instant speed in the related art. And, in one example, the mutually repulsive magnetic force on the cover can be large enough, at which time the resultant force between the cover and the main body will be directed to the cover, and the relative speed between the cover and the main body will also gradually decrease. Through the solution of the embodiment of the present application, the amount of vibration at the moment of closing of the cover and the main body is reduced, thereby improving the structural stability of the equipment and improving the service life of the product.
[0046] The magnetic pole direction of the second magnetic component 111 can be fixed. That is, the magnetic pole of the end of the second magnetic component 111 facing the cover body 120 can be a fixed first magnetic pole. When the cover body 120 approaches the main body 110 to a closed state, in order to ensure a tight closure between the cover body and the main body, in some embodiments, the magnetic field between the cover body and the main body can be eliminated so that the magnetic pole of the end of the second magnetic component 111 facing the cover body 120 disappears. In one example, the current input to the second magnetic component can be disconnected. In this way, there will no longer be a mutually repulsive magnetic force between the cover body and the main body, which is more conducive to a tight closure between the cover body and the main body. In this example, a tight closure between the cover body and the main body can also be achieved through a mechanical component.
[0047] The magnetic pole direction of the second magnetic component 111 may also be adjustable. That is, the magnetic pole of the end of the second magnetic component 111 facing the cover body 120 may be adjusted to a second magnetic pole with a polarity opposite to the first magnetic pole. In other embodiments, when the target state of the cover body relative to the main body is a closed state, and the current state of the cover body relative to the main body is a closed state, that is, when the cover body approaches the main body to the closed state, the magnetic pole direction of the end of the second magnetic component 111 facing the cover body 120 may be switched to the opposite direction, at which time the magnetic pole of the end of the second magnetic component 111 facing the cover body 120 is switched to a second magnetic pole with a polarity opposite to the first magnetic pole, so that a magnetic force of mutual attraction is generated between the cover body and the main body. In one example, the direction of the current input to the second magnetic component may be switched to the opposite direction, so that the magnetic pole direction of the end of the second magnetic component 111 facing the cover body 120 is switched to the opposite direction.
[0048] In this embodiment, when the cover is moved closer to the main body to a closed state, the magnetic pole of the end of the second magnetic component 111 facing the cover 120 is switched to a second magnetic pole with a polarity opposite to the first magnetic pole, and a magnetic force of attraction is generated between the cover and the main body, so that the cover and the main body can be more tightly attracted. In the case of an earphone charging compartment, the earphones in the compartment can be prevented from falling out, thereby improving the safety of the earphones during carrying.
[0049] In some embodiments, the main body 110 may further include a power supply unit 112. The power supply unit 112 may provide currents of different directions to the second magnetic component 111. Under currents of different directions, the magnetic poles of the end of the second magnetic component 111 facing the cover 120 are different.
[0050] In one example, if Figure 2 As shown, when the power supply unit 112 provides a current in a first direction (such as flowing from C to D) to the second magnetic component 111, the magnetic pole at one end of the second magnetic component facing the cover 120 is the first magnetic pole. When the power supply unit 112 provides a current in a second direction (such as flowing from A to B) to the second magnetic component 111, the magnetic pole at one end of the second magnetic component 111 facing the cover 120 is the second magnetic pole with a polarity opposite to the first magnetic pole.
[0051] Taking the S-level magnetic pole of the first magnetic component facing one end of the main body in the cover as an example, when the target state of the cover relative to the main body is a closed state, and the current state of the cover relative to the main body is a close state, the power supply unit 112 can be controlled to output a current in the first direction, and at this time, the magnetic pole of the end B of the second magnetic component 111 facing the cover 120 is the S pole. In this way, a mutually repulsive magnetic force is generated between the cover and the main body. When the target state of the cover relative to the main body is a closed state, and the current state of the cover relative to the main body is a closed state, the power supply unit 112 can be controlled to output a current in the second direction, and at this time, the magnetic pole of the end B of the second magnetic component 111 facing the cover 120 is the N pole.
[0052] The power supply unit 112 may also be used to control whether to provide current to the second magnetic component 111. When the power supply unit 112 stops providing current to the second magnetic component 111, the second magnetic component 111 will not have a magnetic pole direction.
[0053] Taking the magnetic pole of the first magnetic component in the cover body facing one end of the main body as S level as an example, when the target state of the cover body relative to the main body is the closed state, and the current state of the cover body relative to the main body is the close state, the power supply unit 112 can be controlled to output a current in the first direction, and at this time, the magnetic pole of the end B of the second magnetic component 111 facing the cover body 120 is the S pole. When the target state of the cover body relative to the main body is the closed state, and the current state of the cover body relative to the main body is the closed state, the power supply unit 112 can be controlled to disconnect the current in the first direction, and at this time, the magnetic pole of the end B of the second magnetic component 111 facing the cover body 120 disappears.
[0054] In this embodiment, the power supply unit 112 may be any unit capable of providing current. In one example, the power supply unit 112 may reuse an existing power supply unit in the flip device, such as a battery in the headphone charging compartment for charging the headphone. In another example, the power supply unit 112 may also be a newly added power supply unit.
[0055] In some embodiments, the main body 110 may further include a switch unit connected to the power supply unit 112. The switch unit has a first connection state and a second connection state. In the first connection state, the switch unit is used to control the power supply unit 112 to provide a current in a first direction, so that the magnetic pole of one end of the second magnetic component facing the cover body is the first magnetic pole. In the second connection state, the switch unit is used to control the power supply unit 112 to provide a current in a second direction, so that the magnetic pole of one end of the second magnetic component facing the cover body is a second magnetic pole with a polarity opposite to the first magnetic pole.
[0056] In some embodiments, the power supply unit 112 may include only one. Providing currents of different directions to the second magnetic component may be achieved by only one power supply unit. Figure 3As shown, the switch unit may include a first switch S1, a second switch S2, a third switch S3, and a fourth switch S4. The first switch S1 is connected between the positive pole of the power supply unit and the end of the second magnetic component facing the cover body, the second switch S2 is connected between the negative pole of the power supply unit and the end of the second magnetic component away from the cover body, one end of the third switch S3 is connected between the negative pole of the power supply unit and the second switch S2, the other end of the third switch S3 is connected between the end of the second magnetic component facing the cover body and the first switch S1, one end of the fourth switch S4 is connected between the positive pole of the power supply unit and the first switch S1, and the other end of the fourth switch S4 is connected between the end of the second magnetic component away from the cover body and the second switch S2.
[0057] Taking the S-pole of the magnetic pole of the end of the first magnetic component facing the main body in the cover as an example, in this example, when the switch unit is in the first connection state, the first switch S1 and the second switch S2 are disconnected, and the third switch S3 and the fourth switch S4 are closed, so as to control the power supply unit 112 to provide a current in the first direction, so that the magnetic pole of the end of the second magnetic component facing the cover is the S pole. When the switch unit is in the second connection state, the first switch S1 and the second switch S2 are closed, and the third switch S3 and the fourth switch S4 are disconnected, so as to control the power supply unit 112 to provide a current in the second direction, so that the magnetic pole of the end of the second magnetic component facing the cover is the N pole.
[0058] In some other embodiments, the power supply unit 112 may include two power supply sub-units. The two power supply sub-units may be used to provide currents of different directions to the second magnetic component. Figure 4 As shown, the switch unit may include a fifth switch S5 and a sixth switch S6. The fifth switch S5 and the sixth switch S6 are single-pole double-throw switches. The first end of the fifth switch S5 is connected to the end B of the second magnetic component facing the cover body, the second end of the fifth switch S5 is connected to the positive pole A of the first power supply unit 112A, and the third end of the fifth switch S5 is connected to the negative pole of the second power supply unit 112B; the first end of the sixth switch S6 is connected to the end D of the second magnetic component away from the cover body, the second end of the sixth switch S6 is connected to the negative pole of the first power supply unit 112A, and the third end of the sixth switch S6 is connected to the positive pole C of the second power supply unit 112B.
[0059] Taking the magnetic pole of the first magnetic component in the cover body facing one end of the main body as S pole as an example, in this example, in the first connection state of the switch unit, the first end and the second end of the fifth switch S5 are disconnected, and the first end and the third end of the fifth switch S5 are connected; the first end and the second end of the sixth switch S6 are disconnected, and the first end and the third end of the sixth switch S6 are connected, so as to control the second power supply unit 112B to provide a current in the first direction (flowing from C to D), so that the magnetic pole of the end B of the second magnetic component facing the cover body is S pole. In the second connection state of the switch unit, the first end and the second end of the fifth switch S5 are connected, and the first end and the third end of the fifth switch S5 are disconnected; the first end and the second end of the sixth switch S6 are connected, and the first end and the third end of the sixth switch S6 are disconnected, so as to control the first power supply unit 112A to provide a current in the second direction (flowing from A to B), so that the magnetic pole of the end B of the second magnetic component facing the cover body is N pole.
[0060] In another example, the fifth switch S5 or the sixth switch S6 may also be replaced by two single-pole single-throw switches.
[0061] In some embodiments, the power supply unit 112 can also be used to provide different currents to the second magnetic component. The second magnetic component has different magnetic fields under different currents, so that there are different magnetic forces between the cover and the main body. Different magnetic forces can cause different speeds and accelerations when the cover and the main body are closed.
[0062] In one example, when the cover is approaching the main body, and a mutually repelling magnetic force is generated between the cover and the main body, the current input to the second magnetic component can be gradually reduced, so that the magnetic field generated by the second magnetic component is gradually weakened, thereby gradually reducing the magnetic force between the cover and the main body. If the current size is set reasonably, the cover can be moved closer to the main body at a set speed, and the speed and acceleration of the closing moment of the cover and the main body can be accurately controlled.
[0063] In some embodiments, the main body may further include a first detection unit for detecting the relative distance between the cover and the main body, and determining the current state and / or target state of the cover relative to the main body according to the change of the relative distance.
[0064] In one example, the first detection unit may be a distance sensor.
[0065] In one example, the first detection unit may be mounted on an upper end surface of the main body, which is a contact surface between the cover and the main body in a closed state.
[0066] In one example, when the relative distance between the cover and the main body gradually decreases, the current state of the cover relative to the main body is determined to be a close state. And / or, when the relative distance between the cover and the main body is equal to 0, the current state of the cover relative to the main body is determined to be a closed state.
[0067] In one example, when the relative distance between the cover and the main body gradually decreases, the target state of the cover relative to the main body is determined to be the closed state. And / or, when the relative distance between the cover and the main body gradually increases, the target state of the cover relative to the main body is determined to be the open state.
[0068] For flip devices, in addition to the need for closing, there is also a need for opening. In the related art, the flip device needs to be opened manually by the user, which is not convenient. Based on this, in some embodiments, when the target state of the cover body relative to the main body is the open state, and the current state of the cover body relative to the main body is the closed state, the magnetic pole of the second magnetic component facing one end of the cover body is the first magnetic pole with the same polarity as the magnetic pole of the first magnetic component in the cover body facing one end of the main body, so that the cover body pops open to the open state under the mutually repulsive magnetic force. In other words, when the user needs to open the flip device, the magnetic pole of the second magnetic component facing one end of the cover body will be switched to the first magnetic pole with the same polarity as the magnetic pole of the first magnetic component in the cover body facing one end of the main body, so that the cover body automatically pops open to the open state under the mutually repulsive magnetic force, so that the function of automatic opening of the cover can be realized.
[0069] In some embodiments, the main body 110 may further include a second detection unit. The second detection unit is used to detect a set area of the user's face, so as to determine that the target state of the cover relative to the main body is the open state when the current state of the cover relative to the main body is the closed state and the second detection unit detects the set area of the user's face.
[0070] In one example, the second detection unit may be an image acquisition unit.
[0071] The installation position of the second detection unit can be set according to the specific structure of the flip device. Taking the flip device as an earphone charging compartment as an example, the second detection unit can be set on the front of the main body. The front of the main body can refer to the side facing the user that is perpendicular to the contact surface between the cover and the main body in the closed state.
[0072] To prevent false triggering, in one example, the second detection unit can determine that the target state of the cover relative to the main body is an open state when the current state of the cover relative to the main body is a closed state and the duration of the second detection unit detecting the set area of the user's face is greater than or equal to a preset time.
[0073] In order to avoid unnecessary detection operations, in some embodiments, the main body 110 may further include a third detection unit. The third detection unit is used to detect the change in motion per unit time of the flip device, so as to determine that the target state is the open state according to the change in motion per unit time and the detection result of the second detection unit. The change in motion per unit time of the flip device in this embodiment is for the flip device as a whole.
[0074] In one example, the third detection unit may be an acceleration sensor, which can be used to detect the acceleration change of the flip device within a unit time, so as to trigger the second detection unit to detect a set area of the user's face according to the acceleration change within the unit time.
[0075] In one example, the third detection unit may be mounted on the main body of the flip device.
[0076] In one example, when the current state of the cover body relative to the main body is a closed state, the unit time motion change of the flip device is obtained; when the unit time motion change is greater than or equal to a threshold, the second detection unit is triggered to detect a set area of the user's face.
[0077] In one example, when the current state of the cover body relative to the main body is a closed state, the unit time motion change of the flip device and the detection result of the user face set area are obtained; when the unit time motion change is greater than or equal to a threshold and the detection result indicates that the set area of the user face is detected, it is determined that the target state of the cover body relative to the main body is an open state.
[0078] The present application also provides a flip device control method. The method can be applied to the flip device in the above embodiment. Figure 5 As shown, the method may include steps S110 to S120.
[0079] Step S110, obtaining a target state and a current state of the cover of the flip device relative to the main body.
[0080] Step S120, when the target state of the cover body relative to the main body is a closed state and the current state is a close state, control the magnetic pole of the second magnetic component in the main body facing one end of the cover body to be the first magnetic pole, so that a mutually repulsive magnetic force is generated between the cover body and the main body; wherein the first magnetic pole has the same polarity as the magnetic pole of the first magnetic component in the cover body facing one end of the main body, and the mutually repulsive magnetic force is used to reduce the relative speed and / or relative acceleration between the cover body and the main body.
[0081] In the embodiment of the present application, when the cover is approaching the main body, the magnetic pole of the second magnetic component in the main body facing the cover is controlled to have the same polarity as the magnetic pole of the first magnetic component in the cover facing the main body, so that a mutually repulsive magnetic force is generated between the cover and the main body. Under the action of the mutually repulsive magnetic force, the relative speed and / or relative acceleration between the cover and the main body is reduced, and the vibration amount at the moment of closing the cover and the main body is reduced, thereby improving the structural stability of the device and increasing the service life of the product.
[0082] In some embodiments, the method may further include step S130.
[0083] Step S130, when the target state of the cover body relative to the main body is the closed state, and the current state of the cover body relative to the main body is the closed state, control the magnetic pole of the second magnetic component facing one end of the cover body to be a second magnetic pole with a polarity opposite to the first magnetic pole, so that a mutual attractive magnetic force is generated between the cover body and the main body.
[0084] In the embodiment of the present application, after the cover body and the main body are brought close to each other and closed, the magnetic pole of the second magnetic component in the main body facing the cover body is controlled to have an opposite polarity to the magnetic pole of the first magnetic component in the cover body facing the main body, thereby generating a mutually attractive magnetic force between the cover body and the main body, so that the cover body and the main body can be more tightly attracted to each other.
[0085] In some embodiments, the method may further include step S140.
[0086] Step S140, when the target state of the cover body relative to the main body is the open state and the current state of the cover body relative to the main body is the closed state, control the magnetic pole of the second magnetic component facing one end of the cover body to be the first magnetic pole, so that the cover body pops open to the open state under the mutually repelling magnetic force.
[0087] In the embodiment of the present application, when the user needs to open the flip device, the magnetic pole of the second magnetic component facing the end of the cover body is switched to the first magnetic pole with the same polarity as the magnetic pole of the first magnetic component in the cover body facing the end of the main body, so that the cover body automatically pops open to an open state under the mutually repulsive magnetic force, thereby realizing the function of automatic opening of the cover.
[0088] In some embodiments, the method may further include steps S150 to S160.
[0089] Step S150, when the cover is currently in a closed state relative to the main body, obtaining the motion variation per unit time of the flip device and the detection result of the user face setting area.
[0090] Step S160, when the change in motion per unit time of the flip device is greater than or equal to the threshold and the detection result indicates that a set area where the user's face is detected, determining that the target state of the cover relative to the main body is an open state.
[0091] In one example, step S150 may include: when the current state of the cover body relative to the main body is a closed state, obtaining the unit time motion change of the flip device; when the unit time motion change is greater than or equal to a threshold, obtaining the detection result of the user face setting area.
[0092] In the embodiment of the present application, when the change in the unit time motion of the flip device and the detection result of the user's face setting area both meet the requirements, it is determined that the target state of the cover body relative to the main body is the open state, which can avoid misjudgment.
[0093] The specific steps in the flip device control method embodiment of the present application can be implemented by referring to the device embodiment, which will not be repeated here.
[0094] The embodiment of the present application also provides a non-volatile computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the method described in any one of the above method embodiments is implemented. Optionally, the computer-readable storage medium may be a non-transitory storage medium, but is not limited thereto, and may also be a transient storage medium.
[0095] The present application also provides a flip device. Figure 6 As shown, the flip device 1000 may include a memory 1100 and a processor 1200. The memory 1100 may be used to store computer instructions, and the processor 1200 may be used to call computer instructions from the memory 1100 to execute all or part of the steps of any method in the aforementioned embodiments of the present disclosure. It should be noted that the processor 1200 may include one or more processors to execute instructions, and the memory 1100 may also include one or more memories to store computer instructions.
[0096] An embodiment of the present application further provides a computer program product, which may include a computer program. When the computer program is executed by a processor, any method in the aforementioned embodiments of the present disclosure can be implemented.
[0097] The present application may be a system, a method and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for causing a processor to implement various aspects of the present application.
[0098] A computer-readable storage medium may be a tangible device that can hold and store instructions used by an instruction execution device. A computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the above. More specific examples (a non-exhaustive list) of computer-readable storage media include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punch card or a raised structure in a groove on which instructions are stored, and any suitable combination of the above. The computer-readable storage medium used herein is not to be interpreted as a transient signal itself, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., a light pulse through a fiber optic cable), or an electrical signal transmitted through a wire.
[0099] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.
[0100] The computer program instructions for performing the operation of the present application may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages, such as SmallTalk, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. Computer-readable program instructions may be executed entirely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer, partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect via the Internet). In some embodiments, an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), may be personalized by utilizing the state information of the computer-readable program instructions, and the electronic circuit may execute the computer-readable program instructions, thereby realizing various aspects of the present application.
[0101] Various aspects of the present application are described herein with reference to flowcharts and / or block diagrams of methods, devices (systems) and computer program products according to embodiments of the present application. It should be understood that each box in the flowchart and / or block diagram and the combination of boxes in the flowchart and / or block diagram can be implemented by computer-readable program instructions.
[0102] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processor of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0103] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operating steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0104] The flowchart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a part of a module, program segment or instruction, and the part of the module, program segment or instruction contains one or more executable instructions for realizing the specified logical function. In some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of the boxes in the block diagram and / or flowchart can be implemented by a dedicated hardware-based system that performs the specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions. It is well known to those skilled in the art that it is equivalent to implement it by hardware, implement it by software, and implement it by combining software and hardware.
[0105] The embodiments of the present application have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or technical improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein. The scope of the present application is defined by the appended claims.
Claims
1. A flip device, characterized in that: include: A main body and a cover body movably connected to the main body, wherein the cover body comprises a first magnetic component, the main body comprises a second magnetic component, and the magnetic pole of the first magnetic component facing one end of the main body is a first magnetic pole; When the target state of the cover body relative to the main body is a closed state, and the current state of the cover body relative to the main body is a close state, the magnetic pole of the second magnetic component facing one end of the cover body is the first magnetic pole, so that a mutually repulsive magnetic force is generated between the cover body and the main body; wherein the magnetic force is used to reduce the relative speed and / or relative acceleration between the cover body and the main body.
2. The flip cover device according to claim 1, characterized in that: The magnetic pole of the second magnetic component is adjustable. When the target state of the cover body relative to the main body is a closed state and the current state of the cover body relative to the main body is a closed state, the magnetic pole of the second magnetic component facing one end of the cover body is a second magnetic pole with a polarity opposite to that of the first magnetic pole, so that a mutual attractive magnetic force is generated between the cover body and the main body.
3. The flip cover device according to claim 1, characterized in that: The main body also includes a power supply unit and a switch unit connected to the power supply unit, the power supply unit is used to provide currents of different directions to the second magnetic component, and the switch unit has a first connection state and a second connection state; In the first connection state, the switch unit is used to control the power supply unit to provide current in a first direction, so that the magnetic pole of the second magnetic component facing one end of the cover body is the first magnetic pole; In the second connection state, the switch unit is used to control the power supply unit to provide current in a second direction, so that the magnetic pole of the second magnetic component facing one end of the cover body is a second magnetic pole with a polarity opposite to the first magnetic pole.
4. The flip cover device according to any one of claims 1 to 3, characterized in that: The main body also includes a first detection unit, which is used to detect the relative distance between the cover and the main body, and determine the current state and / or target state of the cover relative to the main body according to the change of the relative distance.
5. The flip cover device according to claim 1, characterized in that: When the target state of the cover body relative to the main body is an open state, and the current state of the cover body relative to the main body is a closed state, the magnetic pole of the second magnetic component facing one end of the cover body is the first magnetic pole, so that the cover body bounces open to the open state under the mutually repulsive magnetic force.
6. The flip cover device according to claim 5, characterized in that: The main body also includes a second detection unit, The second detection unit is used to detect a set area of the user's face, so as to determine that the target state of the cover relative to the main body is the open state when the current state is the closed state and the second detection unit detects the set area.
7. The flip cover device according to claim 6, characterized in that: The main body also includes a third detection unit, which is used to detect the change in motion per unit time of the flip device, so as to determine that the target state is the open state according to the change in motion per unit time and the detection result of the second detection unit.
8. A method for controlling a flip device, characterized in that: Applied to the flip device according to any one of claims 1 to 7, the method comprises: Acquire a target state and a current state of the cover body of the flip device relative to the main body; When the target state is a closed state and the current state is a close state, the magnetic pole of the second magnetic component in the main body facing one end of the cover body is controlled to be the first magnetic pole, so that a mutually repulsive magnetic force is generated between the cover body and the main body; wherein the first magnetic pole has the same polarity as the magnetic pole of the first magnetic component in the cover body facing one end of the main body, and the magnetic force is used to reduce the relative speed and / or relative acceleration between the cover body and the main body.
9. The method according to claim 8, characterized in that The method further comprises: When the target state of the cover body relative to the main body is a closed state, and the current state of the cover body relative to the main body is a closed state, the magnetic pole of the second magnetic component facing one end of the cover body is controlled to be a second magnetic pole with a polarity opposite to the first magnetic pole, so that a mutual attractive magnetic force is generated between the cover body and the main body.
10. The method according to claim 8, characterized in that The method further comprises: When the target state of the cover body relative to the main body is an open state, and the current state of the cover body relative to the main body is a closed state, the magnetic pole of the second magnetic component facing one end of the cover body is controlled to be the first magnetic pole, so that the cover body pops open to an open state under the mutually repelling magnetic force.
Citation Information
Patent Citations
Opening and closing control method and device, opening and closing equipment and refrigerator
CN112049539A
Electronic equipment and electronic equipment opening and closing control method
CN115866113A
Refrigeration equipment and control method thereof
CN119468604A
Magnetic open and close device for portable computer
CN1302006A
Electronic equipment
CN205193667U