[go: up one dir, main page]

CN116056380B - Electronic equipment accessory and control method thereof - Google Patents

Electronic equipment accessory and control method thereof Download PDF

Info

Publication number
CN116056380B
CN116056380B CN202211598597.5A CN202211598597A CN116056380B CN 116056380 B CN116056380 B CN 116056380B CN 202211598597 A CN202211598597 A CN 202211598597A CN 116056380 B CN116056380 B CN 116056380B
Authority
CN
China
Prior art keywords
parameter value
cover body
electronic device
state
cover
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202211598597.5A
Other languages
Chinese (zh)
Other versions
CN116056380A (en
Inventor
廖品翔
刘崇义
许宁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202211598597.5A priority Critical patent/CN116056380B/en
Publication of CN116056380A publication Critical patent/CN116056380A/en
Application granted granted Critical
Publication of CN116056380B publication Critical patent/CN116056380B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05KPRINTED CIRCUITS; CASINGS OR CONSTRUCTIONAL DETAILS OF ELECTRIC APPARATUS; MANUFACTURE OF ASSEMBLAGES OF ELECTRICAL COMPONENTS
    • H05K5/00Casings, cabinets or drawers for electric apparatus
    • H05K5/02Details
    • H05K5/0217Mechanical details of casings
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01DMEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
    • G01D21/00Measuring or testing not otherwise provided for
    • G01D21/02Measuring two or more variables by means not covered by a single other subclass
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01FMAGNETS; INDUCTANCES; TRANSFORMERS; SELECTION OF MATERIALS FOR THEIR MAGNETIC PROPERTIES
    • H01F7/00Magnets
    • H01F7/06Electromagnets; Actuators including electromagnets
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05KPRINTED CIRCUITS; CASINGS OR CONSTRUCTIONAL DETAILS OF ELECTRIC APPARATUS; MANUFACTURE OF ASSEMBLAGES OF ELECTRICAL COMPONENTS
    • H05K5/00Casings, cabinets or drawers for electric apparatus
    • H05K5/0017Casings, cabinets or drawers for electric apparatus with operator interface units
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05KPRINTED CIRCUITS; CASINGS OR CONSTRUCTIONAL DETAILS OF ELECTRIC APPARATUS; MANUFACTURE OF ASSEMBLAGES OF ELECTRICAL COMPONENTS
    • H05K5/00Casings, cabinets or drawers for electric apparatus
    • H05K5/02Details
    • H05K5/0217Mechanical details of casings
    • H05K5/0234Feet; Stands; Pedestals, e.g. wheels for moving casing on floor
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05KPRINTED CIRCUITS; CASINGS OR CONSTRUCTIONAL DETAILS OF ELECTRIC APPARATUS; MANUFACTURE OF ASSEMBLAGES OF ELECTRICAL COMPONENTS
    • H05K5/00Casings, cabinets or drawers for electric apparatus
    • H05K5/02Details
    • H05K5/03Covers

Landscapes

  • Engineering & Computer Science (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • General Physics & Mathematics (AREA)
  • Power Engineering (AREA)
  • Casings For Electric Apparatus (AREA)

Abstract

本申请公开了一种电子设备配件及其控制方法,电子设备配件用于与电子设备配合,电子设备配件包括:壳体,壳体包括底座和盖体,沿第一方向,底座与盖体活动连接;电磁铁组件,设于盖体,用于吸附电子设备;检测组件,检测组件与底座和盖体连接,用于检测盖体的参数值;控制部,与检测组件和电磁铁组件连接,控制部用于根据参数值确定盖体所处的状态,并根据状态控制电磁铁组件工作。

The present application discloses an electronic device accessory and a control method thereof, wherein the electronic device accessory is used to cooperate with the electronic device, and the electronic device accessory comprises: a shell, wherein the shell comprises a base and a cover, wherein the base and the cover are movably connected along a first direction; an electromagnet assembly, which is arranged on the cover and is used to adsorb the electronic device; a detection assembly, which is connected to the base and the cover and is used to detect a parameter value of the cover; and a control unit, which is connected to the detection assembly and the electromagnet assembly, and is used to determine the state of the cover according to the parameter value, and control the operation of the electromagnet assembly according to the state.

Description

Electronic equipment accessory and control method thereof
Technical Field
The application belongs to the technical field of electronic equipment, and particularly relates to an electronic equipment accessory and a control method thereof.
Background
Currently, as the frequency of use of electronic devices is higher and higher, the demands of users for accessories of electronic devices are also increasing.
In the related art, a circle of permanent magnet is arranged in the shell of the magnetic electronic equipment accessory, so that the electronic equipment can be firmly adsorbed by the permanent magnet in the use process to realize the support of the electronic equipment, but the electronic equipment accessory in the related art cannot control the adsorption or separation between the permanent magnet and the electronic equipment according to different use states, and is inconvenient to operate.
Disclosure of Invention
The application aims to provide an electronic equipment accessory and a control method thereof, which at least solve the problem that the electronic equipment accessory cannot control the adsorption or separation between a permanent magnet and electronic equipment according to different using states, so that the electronic equipment is inconvenient to take.
In order to solve the technical problems, the application is realized as follows:
in a first aspect, an embodiment of the present application provides an electronic device accessory for cooperating with an electronic device, where the electronic device accessory includes: the shell comprises a base and a cover body, and the base is movably connected with the cover body along a first direction; the electromagnet assembly is arranged on the cover body and used for adsorbing the electronic equipment; the detection component is connected with the base and the cover body and is used for detecting the parameter value of the cover body; and the control part is connected with the detection assembly and the electromagnet assembly, and is used for determining the state of the cover body according to the parameter value and controlling the electromagnet assembly to work according to the state.
In a second aspect, an embodiment of the present application provides a control method for an electronic device accessory, where the control method is used for the electronic device accessory according to any one of the first aspect, and the control method includes: acquiring a parameter value of the cover body; and determining the state of the cover body according to the parameter value, and controlling the electromagnet assembly to work according to the state.
In a third aspect, an embodiment of the present application provides a control device for an electronic equipment accessory, where the control device is configured to any one of the electronic equipment accessories in the first aspect, and the control device includes: an acquisition unit for acquiring a parameter value of the cover body; and the control unit is used for determining the state of the cover body according to the parameter value and controlling the electromagnet assembly to work according to the state.
In a fourth aspect, an embodiment of the present application provides an electronic device accessory, including: a processor and a memory storing a program or instructions executable on the processor, the program or instructions when executed by the processor implementing the steps of the method of controlling an electronic device accessory as in any of the second aspects.
In a fifth aspect, an embodiment of the present application proposes a readable storage medium having stored thereon a program or instructions which, when executed by a processor, perform the control method of the electronic device accessory of any of the second aspects.
In a sixth aspect, embodiments of the present application provide a chip comprising a processor and a communication interface, the communication interface being coupled to the processor, the processor being configured to execute programs or instructions to implement a method as in the second aspect.
In a seventh aspect, embodiments of the present application provide a computer program product stored in a storage medium, the program product being executable by at least one processor to implement a method as in the second aspect.
In the embodiment of the application, the electronic equipment accessory comprises a shell, an electromagnet assembly, a detection assembly and a control part, wherein the detection assembly detects the parameter value of the cover body, the cover body can move along a first direction relative to the base, the position or the gesture of the cover body relative to the base changes in the moving process of the cover body, and the detection assembly detects the different parameter values of the cover body at different positions or gestures, so that the control part can determine the state of the cover body according to the parameter value of the cover body, and control the electromagnet assembly to work according to the different states of the cover body, thereby realizing the adsorption or desorption of the electronic equipment under different states without manually controlling the on-off of the electromagnet assembly, and being convenient to use.
Additional aspects and advantages of the application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the application.
Drawings
The foregoing and/or additional aspects and advantages of the application will become apparent and may be better understood from the following description of embodiments taken in conjunction with the accompanying drawings in which:
FIG. 1 is a schematic illustration of an electronic device accessory in a ready-to-use state according to an embodiment of the present application;
FIG. 2 is a schematic illustration of an electronic device accessory in an operational state according to an embodiment of the present application;
FIG. 3 is a schematic illustration of an electronic device accessory in a picked-up state in accordance with an embodiment of the present application;
FIG. 4 is a schematic diagram of an electronic device accessory according to an embodiment of the present application;
FIG. 5 is one of the flow charts of the control method of the electronic equipment accessory according to the embodiment of the application;
FIG. 6 is a second flow chart of a control method of an electronic device accessory according to an embodiment of the application;
fig. 7 is a schematic block diagram of a control apparatus of an electronic equipment accessory according to an embodiment of the present application;
FIG. 8 is a schematic block diagram of an electronic device accessory according to an embodiment of the present application;
Fig. 9 is a schematic hardware structure of an electronic device accessory according to an embodiment of the present application.
Reference numerals:
1 shell, 10 base, 12 cover, 14 reset piece, 16 guide pillar, 18 spring, 19 cushion, 2 electromagnet assembly, 3 detection assembly, 30 first detection part, 302 first permanent magnet, 304 first detection piece, 32 second detection part, 320 second permanent magnet, 322 second detection piece, 600 electronic equipment accessory control device, 602, acquisition unit, 604 control unit.
Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to like or similar elements throughout or elements having like or similar functionality. The embodiments described below by referring to the drawings are illustrative only and are not to be construed as limiting the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The features of the application "first", "second" and the like in the description and in the claims may be used for the explicit or implicit inclusion of one or more such features. In the description of the present application, unless otherwise indicated, the meaning of "a plurality" is two or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
In the description of the present application, it should be understood that the terms "length," "width," "thickness," "upper," "lower," "left," "right," and the like indicate orientations or positional relationships based on the orientation or positional relationships shown in the drawings, merely to facilitate description of the present application and simplify the description, and do not indicate or imply that the device or element being referred to must have a specific orientation, be configured and operated in a specific orientation, and thus should not be construed as limiting the present application.
In the description of the present application, it should be noted that, unless explicitly specified and limited otherwise, the terms "mounted," "connected," and "connected" are to be construed broadly, and may be either fixedly connected, detachably connected, or integrally connected, for example; can be mechanically or electrically connected; can be directly connected or indirectly connected through an intermediate medium, and can be communication between two elements. The specific meaning of the above terms in the present application will be understood in specific cases by those of ordinary skill in the art.
An electronic device accessory and a control method thereof according to an embodiment of the present application are described below with reference to fig. 1 to 9.
As shown in fig. 1 to 4, an electronic device accessory according to some embodiments of the present application for cooperating with an electronic device, the electronic device accessory includes: the shell 1, the shell 1 comprises a base 10 and a cover 12, and the base 10 is movably connected with the cover 12 along a first direction; the electromagnet assembly 2 is arranged on the cover body 12 and is used for adsorbing electronic equipment; the detection assembly 3 is connected with the base 10 and the cover 12 and is used for detecting the parameter value of the cover 12; and the control part is connected with the detection assembly 3 and the electromagnet assembly 2, and is used for determining the state of the cover body 12 according to the parameter value and controlling the electromagnet assembly 2 to work according to the state.
According to the electronic equipment accessory provided by the embodiment of the application, the electronic equipment accessory comprises the shell 1, the electromagnet assembly 2, the detection assembly 3 and the control part, wherein the detection assembly 3 detects the parameter value of the cover body 12, the cover body 12 can move along the first direction relative to the base 10, the position or the gesture of the cover body 12 relative to the base 10 changes in the moving process of the cover body 12, and the detection assembly 3 detects that the parameter value of the cover body 12 is different in different positions or gestures, so that the control part can determine the state of the cover body 12 according to the parameter value of the cover body 12, and control the electromagnet assembly 2 to work according to different states of the cover body 12, thereby realizing the adsorption or desorption of electronic equipment under different states without manually controlling the power on and off of the electromagnet assembly 2, and being convenient to use.
It should be noted that, the states of the cover 12 at least include a to-be-used state, a working state, and a picking state, and in the picking state, the control portion controls the electromagnet assembly 2 to be powered off, so that a user can pick up the electronic device without lifting the electronic device accessory, and the user picking process is simple to operate. In the working state, the control part controls the electromagnet assembly 2 to be electrified so as to adsorb the electronic equipment, and further ensures the connection reliability of the electronic equipment and the electronic equipment accessories. In the waiting working state, the control part controls the electromagnet assembly 2 to be powered off so as to save the electricity consumption of the electronic equipment accessories.
In a particular application, the first direction is the thickness direction of the base 10.
As shown in fig. 3, according to some embodiments of the application, the detection assembly 3 comprises: the plurality of detection parts at least comprise a first detection part 30 and a second detection part 32 which are arranged at intervals along the second direction, wherein the state at least comprises a picking state, and the control part determines the state of the cover body 12 according to the first parameter value detected by the first detection part 30 and the second parameter value detected by the second detection part 32 and controls the electromagnet assembly 2 to be powered off in the picking state.
In this embodiment, the detecting assembly 3 includes a plurality of detecting portions distributed along the second direction, where the plurality of detecting portions includes at least a first detecting portion 30 and a second detecting portion 32 that are disposed at intervals along the second direction, so that when a user presses an upper end of the electronic device along the second direction, a lower end of the electronic device along the second direction is lifted, under an adsorption effect of the electromagnet assembly 2, a first end of the cover 12 along the second direction is pressed down, and a second end of the cover 12 along the second direction is lifted, so that a first parameter value of the first detecting portion 30 and a second parameter value of the second detecting portion 32 are different, and a state in which the cover 12 is located can be determined according to the first parameter value and the second parameter value, and then the electromagnet assembly 2 is controlled to be powered off in the taking state, so as to release the adsorption of the electromagnet assembly 2 on the electronic device, and facilitate the taking of the electronic device by the user.
Specifically, along the second direction, the first detecting portion 30 is disposed near the first end of the cover 12, and the second detecting portion 32 is disposed near the second end of the cover 12, so that when the user takes the electronic device, the upper end of the electronic device (corresponding to the first end of the cover 12) is pressed, the lower end of the electronic device (corresponding to the second end of the cover 12) is tilted, the first end of the cover 12 is pressed down under the adsorption of the electromagnet assembly 2, the second end of the cover 12 is tilted, and the first parameter value of the first detecting portion 30 and the second parameter value of the second detecting portion 32 are further made different.
Further, as shown in fig. 1 and 3, the state of the cover 12 also includes a ready-to-use state and an operating state. Specifically, as shown in fig. 3, in the picking state, the control portion controls the electromagnet assembly 2 to be powered off, so that the adsorption action between the electronic device and the electromagnet assembly 2 is released, and the picking of the electronic device is facilitated. As shown in fig. 2, in the working state, the control part controls the electromagnet assembly 2 to be electrified, so that the electromagnet assembly 2 is adsorbed to the electronic equipment, and the connection reliability of the electronic equipment and the electronic equipment accessories is ensured. As shown in fig. 1, when the electronic device is in a state to be used, the electromagnet assembly 2 is controlled to be powered off so as to reduce the power consumption of the electronic device accessory.
Specifically, the second direction is a length direction or a width direction of the electronic equipment accessory.
As shown in fig. 1, 2 and 3, according to some embodiments of the present application, the first detecting portion 30 includes a first permanent magnet 302 and a first detecting member 304 that are disposed correspondingly, one of the first permanent magnet 302 and the first detecting member 304 is disposed on the base 10, and the other is disposed on the cover 12; the second detecting portion 32 includes a second permanent magnet 320 and a second detecting member 322 that are disposed correspondingly, one of the second permanent magnet 320 and the second detecting member 322 is disposed on the base 10, and the other is disposed on the cover 12; the parameter values at least include a magnetic field intensity, the first detecting element 304 is configured to detect the magnetic field intensity of the first permanent magnet 302, and the second detecting element 322 is configured to detect the magnetic field intensity of the second permanent magnet 320, where, as shown in fig. 3, in a case where an absolute value of a difference between the first parameter value and the second parameter value is greater than a first threshold, the cover 12 is in a taken state, and the control portion controls the electromagnet assembly 2 to be powered off.
In this embodiment, the first detecting portion 30 includes a first permanent magnet 302 and a first detecting member 304 that are correspondingly disposed, the second detecting portion 32 includes a second permanent magnet 320 and a second detecting member 322 that are correspondingly disposed, and the first permanent magnet 302 and the first detecting member 304 are correspondingly disposed, and the second permanent magnet 320 and the second detecting member 322 are correspondingly disposed, so that when the distances between the two ends of the cover 12 and the base 10 are different, the parameter values detected by the first detecting member 304 and the second detecting member 322 are also different, and when the absolute value of the difference between the first parameter value and the second parameter value is greater than the first threshold, it is indicated that the cover 12 is inclined, and the user wants to take the electronic device, so that the electromagnet assembly 2 is controlled to be powered off, so that the electronic device is convenient to take, and the operation is simple.
Specifically, when a user takes the electronic device, the user grabs the electronic device and presses a single side of the electronic device along a first direction, and meanwhile, the electronic device is separated in a mode of tilting the other end, wherein the method comprises the steps that a finger grabs the side surface of the electronic device, and a palm root presses the lower side of the electronic device (corresponding to the first end of the cover body 12) and lifts the upper side of the electronic device (corresponding to the second end of the cover body 12); or the finger grabs the side of the electronic device, the index finger presses the upper side of the electronic device (corresponding to the second end of the cover 12) and lifts the lower side of the electronic device (corresponding to the first end of the cover 12), so that the electronic device is used with hands without excessive complex operations.
In this way, in the process of taking the electronic device by the user, the distances between the two ends of the cover body 12 relative to the base 10 are different, and the magnetic field strength shown by the first parameter value is different from the magnetic field strength shown by the second parameter value, so that the absolute value of the difference between the first parameter value and the second parameter value is greater than the first threshold value, and the control part controls the electromagnet assembly 2 to be powered off, so that the adsorption effect of the electromagnet assembly 2 on the electronic device is relieved, and the user can take the electronic device conveniently.
Further, in the case where the absolute value of the difference between the first parameter value and the second parameter value is greater than the first threshold value, the cover 12 is in the taken state.
In a specific application, the first threshold is set according to the actual situation.
In a specific application, the first detecting member 304 and the second detecting member 322 include hall sensors.
Further, the first detecting element 304 and the second detecting element 322 are disposed on the base 10, the first permanent magnet 302 and the second permanent magnet 320 are disposed on the cover 12, the cushion block 19 is disposed between the first permanent magnet 302 and the cover 12, and the cushion block 19 is disposed between the second permanent magnet 320 and the cover 12, so as to increase the distance between the electronic device and the cushion block, and further avoid the adsorption to the electronic device.
It will be appreciated that in the case where the distance between the first permanent magnet 302 and the first detecting member 304 is large, the magnetic field strength detected by the first detecting member 304 is small, and in the case where the distance between the first permanent magnet 302 and the first detecting member 304 is small, the magnetic field strength detected by the first detecting member 304 is large. When the distance between the second permanent magnet 320 and the second detecting piece 322 is long, the magnetic field intensity detected by the second detecting piece 322 is small, and when the distance between the second permanent magnet 320 and the second detecting piece 322 is short, the magnetic field intensity detected by the second detecting piece 322 is large.
According to some embodiments of the application, the electromagnet assembly 2 comprises at least one electromagnet.
In this embodiment, the electromagnet assembly 2 includes at least one electromagnet, and by controlling the energization or the de-energization of the electromagnet, the electronic device is attracted under the condition that the electromagnet is energized, so that the reliability of the connection between the electronic device and the electronic device accessory is ensured. And the adsorption with the electronic equipment is released under the condition that the electromagnet is powered off, so that the electronic equipment is convenient to take.
In a specific application, the number of electromagnets is a plurality, and the plurality of electromagnets is disposed between the first permanent magnet 302 and the second permanent magnet 320.
As shown in fig. 1 to 3, according to some embodiments of the application, the housing 1 further comprises: the reset element 14 is positioned between the base 10 and the cover 12, and the cover 12 is abutted with the base 10 through the reset element 14.
In this embodiment, the housing 1 further includes a reset element 14, where the reset element 14 is disposed between the base 10 and the cover 12, and the cover 12 abuts against the base 10 through the reset element 14, so that when the cover 12 is pressed and moves towards the inside of the base 10, the cover 12 is prevented from directly colliding with the base 10 through buffering of the reset element 14, and the service life of the electronic equipment accessory is improved. After the electronic device is taken out, the cover 12 can be reset by the reset member 14.
In a specific application, after the cover 12 is reset, the distance between the base 10 and the cover 12 is increased, so that the control part controls the electromagnet assembly 2 to be powered off, so as to save the electricity consumption of the electronic equipment accessories.
As shown in fig. 1 to 3, the reset element 14 includes: the guide post 16 is arranged on the base 10; and a spring 18, wherein a part of the spring 18 is sleeved on the guide post 16, and the other part of the spring 18 is connected with the cover body 12.
In this embodiment, the restoring member 14 includes a guide post 16 and a spring 18, where the guide post 16 is disposed on the base 10, a part of the spring 18 is sleeved on the guide post 16, and another part of the spring is connected with the cover 12, so that the cover 12 contacts with the base 10 through the spring 18, thereby achieving the effects of buffering and restoring.
In a specific application, the guide post 16 is disposed at the bottom wall of the base 10 and extends toward the cover 12 in the first direction.
Further, a limiting groove is formed in the cover body 12, and the end portion, contacted with the cover body 12, of the spring 18 is arranged in the limiting groove, so that connection reliability of the cover body 12 and the spring 18 is guaranteed.
Further, in the first direction, in the projection of the plane perpendicular to the first direction, the projection of the guide post 16 is within the projection of the limit slot. Specifically, a part of the guide post 16 extends into the limit groove, and the reliability of the movement of the cover 12 and the base 10 is ensured through the cooperation of the limit groove and the guide post 16.
According to some embodiments of the present application, the guide post 16 is spherical toward one end of the cover 12.
In this embodiment, the end of the guide post 16 facing the cover 12 is spherical to ensure that the upper half of the spring 18 has a certain play.
According to some embodiments of the application, the electronic device accessory further comprises: and a charging part, which is arranged in the base 10 or the cover 12 and is used for supplying power to the electronic equipment.
In this embodiment, the electronic device accessory further includes a charging portion disposed in the base 10 for supplying power to the electronic device, and of course, the charging portion may also be disposed in the cover 12, so as to reduce the distance between the charging portion and the electronic device and improve the charging efficiency.
In a specific application, the charging part is wirelessly transmitted with the electronic device. The electronic equipment accessory can support and supply power to the electronic equipment, and wireless power supply of the electronic equipment is realized.
According to some embodiments of the present application, the first detecting part 30 includes a first distance sensor, the second detecting part 32 includes a second distance sensor, the parameter value includes a distance value, the first distance sensor and the second distance sensor are used for detecting the distance value between the cover 12 and the base 10, and the control part controls the electromagnet assembly 2 to be powered off when the absolute value of the difference between the distance value detected by the first distance sensor and the distance value detected by the second distance sensor is greater than the distance threshold.
In this embodiment, the detecting component 3 may also be a distance sensor, specifically, the first distance sensor and the second distance sensor are both used for detecting a distance value between the cover body 12 and the base 10, and when a difference between the distance value detected by the first distance sensor and the distance value detected by the second distance sensor is greater than a distance threshold, it is indicated that one end of the cover body 12 is pressed, and the other end is tilted, so that the action of taking the electronic device by a user is met, and then the control part controls the electromagnet component 2 to be powered off so as to release the adsorption to the electronic device, so that the electronic device is convenient to take.
Further, in the case where the difference between the distance value detected by the first distance sensor and the distance value detected by the second distance sensor is greater than the distance threshold value, the control section determines that the cover 12 is in the taken state.
Specifically, when a user takes the electronic device, the user grabs the electronic device and presses a single side of the electronic device along a first direction, and meanwhile, the electronic device is separated in a mode of tilting the other end, wherein the method comprises the steps that a finger grabs the side surface of the electronic device, and a palm root presses the lower side of the electronic device (corresponding to the first end of the cover body 12) and lifts the upper side of the electronic device (corresponding to the second end of the cover body 12); or the finger grabs the side of the electronic device, the index finger presses the upper side of the electronic device (corresponding to the second end of the cover 12) and lifts the lower side of the electronic device (corresponding to the first end of the cover 12), so that the electronic device is used with hands without excessive complex operations.
Thus, in the process of taking the electronic device by the user, the distances between the two ends of the cover body 12 relative to the base 10 are different, and then the distance value detected by the first distance sensor close to the first end of the cover body 12 is different from the distance value detected by the second distance sensor close to the second end of the cover body 12, so that the absolute value of the difference value of the two is greater than the distance threshold value, and the control part controls the electromagnet assembly 2 to be powered off, so that the adsorption effect of the electromagnet assembly 2 on the electronic device is relieved, and the user can conveniently take the electronic device.
It is understood that the distance sensor includes an infrared sensor, an ultrasonic sensor, and the like, and the distance threshold may be set according to actual conditions.
In one possible design, the electronic device accessory provided by the application is provided with a small permanent magnet in the cover 12, and a hall sensor in the base 10, and the change of the position and the posture of the cover 12 can influence the distance between the permanent magnet and the hall sensor, and further influence the measured value of the hall sensor. Therefore, the cover 12 can be judged to be in a to-be-used state, a working state or a taking state by the change of the parameter value, and then the on or off of the electromagnet is controlled by the corresponding circuit, so that the adsorption and separation states of the electronic equipment and the electronic equipment accessories are switched. A spring 18 is arranged in the center of the base 10, so that the electronic equipment can be placed for buffering, and the service life is prolonged; after the electronic equipment is taken, the cover body 12 can be jacked up to play a role in resetting.
Specifically, as shown in fig. 4, the magnetic force of the electronic equipment accessory is controlled by an electromagnet, and the whole structure is cuboid. When the electronic equipment accessory is in a state to be used, as shown in fig. 1, the first detecting member 304 (hall sensor) and the second detecting member 322 (hall sensor) are respectively mounted on two sides of the interior of the base 10. A guide post 16 is designed in the middle of the base 10, a spring 18 is installed on the guide post 16, and the upper end of the guide post 16 is spherical so as to ensure that a certain movable space exists in the upper half part of the spring 18. Two cushion blocks 19 are respectively arranged on two sides of the interior of the cover body 12, a first permanent magnet 302 and a second permanent magnet 320 are respectively arranged on the cushion blocks 19 on two sides, and the first permanent magnet 302 and the second permanent magnet 320 respectively correspond to a first detection piece 304 and a second detection piece 322 in horizontal positions. The electromagnet assembly 2 is mounted on the cover 12 and used for adsorbing electronic equipment during operation, and ensuring the stability and alignment during charging. A certain gap exists between the two sides of the base 10 and the cover 12 in the first direction and the second direction, so as to ensure that the cover 12 has a certain movable space in the first direction and the second direction.
The parameter value between the first detecting member 304 and the first permanent magnet 302 is defined as a first parameter value a, and the parameter value between the second detecting member 322 and the second permanent magnet 320 is defined as a second parameter value b. Two trigger thresholds are set separately, namely a second threshold alpha and a first threshold beta, the second threshold is used for comparing the first parameter value and the second parameter value, and the first threshold is used for comparing the difference value between the first parameter value and the second parameter value. And judging the use state of the electronic equipment accessory by judging whether the first parameter value and the second parameter value trigger the first threshold value and the second threshold value or not, wherein the use state is used for controlling the on-off of the electromagnet assembly 2.
When the electronic equipment accessory is in the to-be-used state, the cover 12 is jacked up under the elastic force of the spring 18, the distance between the first permanent magnet 302 and the first detecting member 304, the distance between the second permanent magnet 320 and the second detecting member 322 are far, and the first parameter value a and the second parameter value b are smaller, so that a and b are smaller than a, the cover 12 is in a horizontal state, a is approximately equal to b, and the electromagnet is not electrified.
As shown in fig. 2, when the electronic device is placed on the electronic device accessory, and the electronic device accessory is in an operating state, the cover 12 is pressed down under the action of the gravity of the electronic device, and the spring 18 is compressed, so that the distance between the permanent magnet and the hall sensor is reduced, the first parameter value a and the second parameter value b are increased, and both a and b are larger than α; in the normal use state, the cover body 12 can be in a horizontal state, so a is approximately equal to b, |a-b| < beta, at the moment, the electromagnet is controlled to be electrified, and the electronic equipment is adsorbed on the cover body 12, so that stable charging is ensured.
When the charging is completed and the electronic device needs to be taken out, in this state, as shown in fig. 3, when one side of the electronic device is pressed, the left side of the cover 12 (and vice versa) is pressed down together with the electronic device. Because of the magnetic force between the electronic equipment and the cover body 12, the right side of the cover body 12 is lifted at the same time when the other side of the electronic equipment is lifted, and finally the cover body 12 tilts under the action of force, at the moment, the distance between the first permanent magnet 302 and the first detection piece 304 is reduced, and the value of a is increased; the distance between the second permanent magnet 320 and the second detecting member 322 increases, the value b decreases, a difference exists between the values a and b, |a-b| > beta, and the magnetic force between the electronic device and the cover 12 disappears, so that the electronic device can be easily taken out. When the electronic device is separated, the cover 12 is automatically reset to a state to be used under the action of the spring 18.
The scheme provides a magnetic attraction type electronic equipment accessory structural design scheme convenient for one-hand taking, and the Hall sensor is used for detecting the magnetic field change of the permanent magnet to judge the position and the gesture of the electronic equipment accessory cover body 12, so that the use state of the electronic equipment accessory is judged, the on-off of an electromagnet is controlled, the electronic equipment can be firmly adsorbed by a user when the electronic equipment accessory is used, the magnetic force is eliminated by cutting off a circuit when the electronic equipment accessory is required to be taken, and the purpose that the electronic equipment can be separated from the electronic equipment accessory by one hand is realized. The beneficial effects are as follows:
the application automatically detects the use state of the electronic equipment accessory according to the change of the measured value of the Hall sensor, controls the on-off of the electromagnet, does not need to be manually switched on or off, and is convenient to use. When the electric charging device is used, a user only needs to put the electronic equipment on an electronic equipment accessory when the electric charging device needs to be charged, the electromagnet can be automatically electrified, and the electronic equipment is adsorbed to start charging; when the electronic equipment is taken by a specific action, the electromagnet is automatically powered off, so that a user can easily take the electronic equipment without taking up accessories of the electronic equipment.
The taking action defined by the application accords with the action of normal taking of the separated electronic equipment by a user, is convenient to use and easy to operate, does not need excessive complex actions, and can be charged and taken at any time.
The structure can be automatically reset to the to-be-used state after the electronic equipment is taken, and the electromagnet is not electrified in the to-be-used state, so that the power saving effect is achieved.
The hard contact between the designed structures is less, so that the mechanical abrasion in the use process is small, and the service life is long.
The electronic equipment accessory provided by the application can be applied to wireless charging seats, wireless charging devices, vehicle-mounted brackets, electronic equipment brackets and the like.
According to some embodiments of the present application, a control method of an electronic device accessory is provided, for an electronic device accessory provided in any of the foregoing embodiments, as shown in fig. 5, the control method includes:
Step 402: acquiring a parameter value of the cover body;
Step 404: and determining the state of the cover body according to the parameter value, and controlling the electromagnet assembly to work according to the state.
In this embodiment, the parameter value of the cover body is obtained, and the position or the gesture of the cover body relative to the base is different, so that the state of the cover body can be determined according to the parameter value of the cover body, thus, the work of the electromagnet assembly can be controlled according to the different states of the cover body, the adsorption or the desorption of the electronic equipment in the different states can be realized, the on-off of the electromagnet assembly is not required to be controlled manually, and the use is convenient.
According to some embodiments of the present application, the detecting assembly includes a first detecting member, a second detecting member, a first permanent magnet and a second permanent magnet, and the step of obtaining the parameter value of the cover body specifically includes: and acquiring a first parameter value detected by the first detection part and a second parameter value detected by the second detection part.
In this embodiment, the detecting assembly includes a first detecting member, a second detecting member, a first permanent magnet and a second permanent magnet, and the step of obtaining the parameter value of the cover specifically includes: and acquiring a first parameter value detected by the first detection part and a second parameter value detected by the second detection part, and further controlling the power on and power off of the electromagnet assembly according to the first parameter value and the second parameter value.
Specifically, the first permanent magnet is close to the first end of the cover body, the second permanent magnet is close to the second end of the cover body, the first permanent magnet and the first detection piece are correspondingly arranged, and the second permanent magnet and the second detection piece are correspondingly arranged. The first detection piece can detect the magnetic field intensity of the first permanent magnet, and the second detection piece can detect the magnetic field intensity of the second permanent magnet.
Like this, under the condition that the both ends of lid and the distance of base are different, the parameter value that first detection spare and second detection spare detected also are different, consequently according to first parameter value and second parameter value can confirm the state that the lid was located, and then control electromagnet assembly's behavior under different states.
According to some embodiments of the present application, the cover has at least a picking state, determines the state of the cover according to the parameter value, and controls the electromagnet assembly to work according to the state, which specifically includes: and under the condition that the absolute value of the difference between the first parameter value and the second parameter value is larger than a first threshold value, determining that the cover body is in a taking state, and controlling the electromagnet assembly to be powered off.
In this embodiment, the cover body has at least a picking state, and determining, according to the parameter value, the state in which the cover body is located specifically includes, when an absolute value of a difference value between the first parameter value and the second parameter value is greater than a first threshold value, indicating that the cover body is inclined to one end, further determining that the cover body is in the picking state, and further controlling the electromagnet assembly to be powered off, so as to facilitate picking of the electronic device.
It can be understood that when a user takes the electronic device, the user grabs the electronic device and presses a single side of the electronic device along a first direction, and meanwhile, the electronic device is separated in a way of tilting the other end, including that a finger grabs a side surface of the electronic device, and a palm root presses a lower side of the electronic device (corresponding to a first end of the cover) and lifts an upper side of the electronic device (corresponding to a second end of the cover); or the finger grabs the side of the electronic equipment, and the index finger presses the upper side of the electronic equipment (corresponding to the second end of the cover body) and lifts the lower side of the electronic equipment (corresponding to the first end of the cover body), so that the electronic equipment is used smoothly without excessive complex operation.
Therefore, in the process that a user takes the electronic equipment, the distance between the two ends of the cover body and the base is different, and the magnetic field intensity shown by the first parameter value is different from the magnetic field intensity shown by the second parameter value, so that the absolute value of the difference between the first parameter value and the second parameter value is larger than a first threshold value, and the control part controls the electromagnet assembly to be powered off, so that the adsorption effect of the electromagnet assembly on the electronic equipment is relieved, and the electronic equipment is convenient for the user to take.
The first threshold value is set according to actual conditions.
According to some embodiments of the present application, the cover further has a to-be-used state and an operating state, the state of the cover is determined according to the parameter value, and the electromagnet assembly is controlled to operate according to the state, and the method further includes: under the condition that the first parameter value and the second parameter value are both larger than a second threshold value, determining that the cover body is in a to-be-used state, and controlling the electromagnet assembly to be powered off; determining the absolute value of the difference between the first parameter value and the second parameter value and the magnitude of the first threshold value, if both the first parameter value and the second parameter value are smaller than the second threshold value; and under the condition that the absolute value is smaller than a first threshold value, determining that the cover body is in a working state, and controlling the electromagnet assembly to be electrified.
Specifically, as shown in fig. 6, a flow chart of a control method of an electronic equipment accessory is shown, and the control method includes:
step 502: acquiring a first parameter value and a second parameter value of the cover body;
step 504: judging whether the first parameter value and the second parameter value are both greater than a second threshold value, if so, entering a step 508, otherwise, entering a step 506;
step 506: the electromagnet assembly is powered off;
Step 508: judging whether the absolute value of the difference between the first parameter value and the second parameter value is greater than a first threshold value, if so, proceeding to step 510, otherwise proceeding to step 512;
step 510: the electromagnet assembly is powered off;
step 512: the electromagnet assembly is energized.
In this embodiment, the cover further has a to-be-used state and a working state, and when the first parameter value and the second parameter value are both greater than the second threshold value, it is indicated that the cover is far away from the base, that is, the electronic device is not placed on the cover, so that the electromagnet assembly is controlled to be powered off, so as to reduce the power consumption of the electronic device accessory. And under the condition that the first parameter value and the second parameter value are smaller than the second threshold value, the electronic equipment is judged to be in a working state or a taking state, wherein under the condition that the absolute value of the difference value of the first parameter value and the second parameter value is smaller than the first threshold value, the condition that the electronic equipment is placed on the cover body is judged that the first end and the second end of the cover body are not lifted, namely the electronic equipment accessory is in the working state, the electromagnet assembly is controlled to be electrified so as to absorb the electronic equipment, and the connection reliability of the electronic equipment and the electronic equipment accessory is ensured.
It will be appreciated that, in general, the first parameter value and the second parameter value are larger and the first parameter value and the second parameter value are approximately equal in the case where the cover is in the state to be used. When the cover is in an operating state, the first parameter value and the second parameter value are smaller, and the first parameter value and the second parameter value are approximately equal, so that the difference between the first parameter value and the second parameter value is approximately equal to 0.
As shown in fig. 7, according to some embodiments of the present application, there is also provided a control apparatus 600 of an electronic device accessory, for an electronic device accessory according to any one of the first aspect, the control apparatus 600 including: an acquisition unit 602 that acquires a parameter value of the cover; the control unit 604 determines the state of the cover body according to the parameter value, and controls the electromagnet assembly to work according to the state.
In this embodiment, the acquiring unit 602 acquires the parameter value of the cover body, and the position or the posture of the cover body relative to the base is different, so that the state of the cover body can be determined according to the parameter value of the cover body, thus, the control unit 604 controls the electromagnet assembly to work according to the different states of the cover body, and the electronic equipment can be adsorbed or desorbed in the different states without manually controlling the on/off of the electromagnet assembly, so that the use is convenient.
According to some embodiments of the present application, the detecting assembly includes a first detecting member, a second detecting member, a first permanent magnet and a second permanent magnet, and the step of acquiring the parameter value of the cover by the acquiring unit 602 specifically includes: and acquiring a first parameter value detected by the first detection part and a second parameter value detected by the second detection part.
In this embodiment, the detecting assembly includes a first detecting member, a second detecting member, a first permanent magnet and a second permanent magnet, and the step of obtaining the parameter value of the cover specifically includes: and acquiring a first parameter value detected by the first detection part and a second parameter value detected by the second detection part, and further controlling the power on and power off of the electromagnet assembly according to the first parameter value and the second parameter value.
Specifically, the first permanent magnet is close to the first end of the cover body, the second permanent magnet is close to the second end of the cover body, the first permanent magnet and the first detection piece are correspondingly arranged, and the second permanent magnet and the second detection piece are correspondingly arranged. The first detection piece can detect the magnetic field intensity of the first permanent magnet, and the second detection piece can detect the magnetic field intensity of the second permanent magnet.
Like this, under the condition that the both ends of lid and the distance of base are different, the parameter value that first detection spare and second detection spare detected also are different, consequently according to first parameter value and second parameter value can confirm the state that the lid was located, and then control electromagnet assembly's behavior under different states.
According to some embodiments of the present application, the cover has at least a picking state, the control unit 604 determines the state of the cover according to the parameter value, and controls the electromagnet assembly to work according to the state, which specifically includes: and under the condition that the absolute value of the difference between the first parameter value and the second parameter value is larger than a first threshold value, determining that the cover body is in a taking state, and controlling the electromagnet assembly to be powered off.
In this embodiment, the cover body has at least a picking state, and determining, according to the parameter value, the state in which the cover body is located specifically includes, when an absolute value of a difference value between the first parameter value and the second parameter value is greater than a first threshold value, indicating that the cover body is inclined to one end, further determining that the cover body is in the picking state, and further controlling the electromagnet assembly to be powered off, so as to facilitate picking of the electronic device.
It can be understood that when a user takes the electronic device, the user grabs the electronic device and presses a single side of the electronic device along a first direction, and meanwhile, the electronic device is separated in a way of tilting the other end, including that a finger grabs a side surface of the electronic device, and a palm root presses a lower side of the electronic device (corresponding to a first end of the cover) and lifts an upper side of the electronic device (corresponding to a second end of the cover); or the finger grabs the side of the electronic equipment, and the index finger presses the upper side of the electronic equipment (corresponding to the second end of the cover body) and lifts the lower side of the electronic equipment (corresponding to the first end of the cover body), so that the electronic equipment is used smoothly without excessive complex operation.
Therefore, in the process that a user takes the electronic equipment, the distance between the two ends of the cover body and the base is different, and the magnetic field intensity shown by the first parameter value is different from the magnetic field intensity shown by the second parameter value, so that the absolute value of the difference between the first parameter value and the second parameter value is larger than a first threshold value, and the control part controls the electromagnet assembly to be powered off, so that the adsorption effect of the electromagnet assembly on the electronic equipment is relieved, and the electronic equipment is convenient for the user to take.
The first threshold value is set according to actual conditions.
According to some embodiments of the present application, the cover further has a to-be-used state and an operating state, and the control unit 604 determines the state of the cover according to the parameter value, and controls the electromagnet assembly to operate according to the state, and further includes: under the condition that the first parameter value and the second parameter value are both larger than a second threshold value, determining that the cover body is in a to-be-used state, and controlling the electromagnet assembly to be powered off; determining the absolute value of the difference between the first parameter value and the second parameter value and the magnitude of the first threshold value, if both the first parameter value and the second parameter value are smaller than the second threshold value; and under the condition that the absolute value is smaller than a first threshold value, determining that the cover body is in a working state, and controlling the electromagnet assembly to be electrified.
In this embodiment, the cover further has a to-be-used state and a working state, and when the first parameter value and the second parameter value are both greater than the second threshold value, it is indicated that the cover is far away from the base, that is, the electronic device is not placed on the cover, so that the electromagnet assembly is controlled to be powered off, so as to reduce the power consumption of the electronic device accessory. And under the condition that the first parameter value and the second parameter value are smaller than the second threshold value, the electronic equipment is judged to be in a working state or a taking state, wherein under the condition that the absolute value of the difference value of the first parameter value and the second parameter value is smaller than the first threshold value, the condition that the electronic equipment is placed on the cover body is judged that the first end and the second end of the cover body are not lifted, namely the electronic equipment accessory is in the working state, the electromagnet assembly is controlled to be electrified so as to absorb the electronic equipment, and the connection reliability of the electronic equipment and the electronic equipment accessory is ensured.
It will be appreciated that, in general, the first parameter value and the second parameter value are larger and the first parameter value and the second parameter value are approximately equal in the case where the cover is in the state to be used. When the cover is in an operating state, the first parameter value and the second parameter value are smaller, and the first parameter value and the second parameter value are approximately equal, so that the difference between the first parameter value and the second parameter value is approximately equal to 0.
The device in the embodiment of the application can be a device with an operating system. The operating system may be an Android operating system, an ios operating system, or other possible operating systems, and the embodiment of the present application is not limited specifically.
The device provided by the embodiment of the present application can implement each process implemented by the method embodiment of fig. 6, and in order to avoid repetition, details are not repeated here.
As shown in fig. 8, an embodiment of the present application further provides an electronic device accessory 700, including: the electronic device assembly 700 includes a processor 702 and a memory 704, where the memory 704 stores a program or instructions executable on the processor 702, and the program or instructions implement the steps of the control method embodiment of the electronic device assembly 700 when executed by the processor 702, and achieve the same technical effects, so that repetition is avoided and detailed descriptions thereof are omitted.
Specifically, the electronic device includes a mobile phone, a tablet computer, and the like.
Fig. 9 is a schematic hardware structure of an electronic device accessory 800 implementing an embodiment of the present application.
The electronic device accessory 800 includes, but is not limited to: radio frequency unit 801, network module 802, audio 5 output unit 803, input unit 804, sensor 805, display unit 806, user input unit 807, interface unit 808, memory 809, and processor 810.
Those skilled in the art will appreciate that the electronic device accessory 800 may also include a power source (e.g., a battery) for powering the various components, the power source may be logically connected to the processor 810 through a power management system,
Thus realizing the functions of charge, discharge, power consumption management and the like through the power management system. The electronic device accessory structure shown in fig. 9 does not constitute a limitation of the electronic device accessory, and the electronic device accessory
More or fewer components than shown may be included, or certain components may be combined, or different component arrangements may be provided and will not be described in detail herein.
The processor 810 is configured to obtain a parameter value of the cover; and determining the state of the cover body according to the parameter value, and controlling the electromagnet assembly to work according to the state.
5 In this embodiment, the parameter values of the cover are obtained, the positions or attitudes of the cover relative to the base are different,
The cover body has different parameter values, so that the state of the cover body can be determined according to the parameter values of the cover body, the electromagnet assembly is controlled to work according to the different states of the cover body, the electronic equipment can be adsorbed or desorbed in the different states, the electromagnet assembly is not required to be controlled to be powered on or off by people, and the use is convenient.
Further, the detecting assembly includes a first detecting member, a second detecting member, a first permanent magnet and a second 0 permanent magnet, and the step of obtaining the parameter value of the cover by the processor 810 specifically includes: and acquiring a first parameter value detected by the first detection part and a second parameter value detected by the second detection part.
Further, the cover has at least a taking state, and the processor 810 determines the state of the cover according to the parameter value, and controls the electromagnet assembly to work according to the state, which specifically includes: at the first parameter
And under the condition that the absolute value of the difference between the value and the second parameter value is larger than the first threshold value, determining that the cover body is in the taking state 5 state, and controlling the electromagnet assembly to be powered off.
Further, the cover body further has a to-be-used state and a working state, and the processor 810 determines the state of the cover body according to the parameter value and controls the electromagnet assembly to work according to the state, and further includes: under the condition that the first parameter value and the second parameter value are both larger than a second threshold value, determining that the cover body is in a to-be-used state, and controlling the electromagnet assembly to be powered off; determining the absolute value of the difference between the first parameter value and the second parameter value and the magnitude of the first threshold value, if both the first parameter value and the second parameter value are smaller than the second threshold value; and under the condition that the absolute value is smaller than a first threshold value, determining that the cover body is in a working state, and controlling the electromagnet assembly to be electrified.
It should be appreciated that in embodiments of the present application, the input unit 804 may include a graphics processor (Graphics Processing Unit, GPU) 8041 and a microphone 8042, with the graphics processor 8041 processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The display unit 806 may include a display panel 8061, and the display panel 8061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 807 includes at least one of a touch panel 8071 and other input devices 8072. Touch panel 8071, also referred to as a touch screen. The touch panel 8071 may include two parts, a touch detection device and a touch controller. Other input devices 8072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and so forth, which are not described in detail herein.
The memory 809 can be used to store software programs as well as various data. The memory 809 may mainly include a first storage area storing programs or instructions and a second storage area storing data, wherein the first storage area may store an operating system, application programs or instructions (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like. Further, the memory 809 may include volatile memory or nonvolatile memory, or the memory 809 may include both volatile and nonvolatile memory. The nonvolatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable EPROM (EEPROM), or a flash Memory. The volatile memory may be random access memory (Random Access Memory, RAM), static random access memory (STATIC RAM, SRAM), dynamic random access memory (DYNAMIC RAM, DRAM), synchronous Dynamic Random Access Memory (SDRAM), double data rate Synchronous dynamic random access memory (Double DATA RATE SDRAM, DDRSDRAM), enhanced Synchronous dynamic random access memory (ENHANCED SDRAM, ESDRAM), synchronous link dynamic random access memory (SYNCH LINK DRAM, SLDRAM), and Direct random access memory (DRRAM). Memory 809 in embodiments of the application includes, but is not limited to, these and any other suitable types of memory.
The processor 810 may include one or more processing units; optionally, the processor 810 integrates an application processor that primarily processes operations involving an operating system, user interface, application programs, etc., and a modem processor that primarily processes wireless communication signals, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into the processor 810.
The embodiment of the application also provides a readable storage medium, and the readable storage medium stores a program or an instruction, which when executed by a processor, realizes each process of the control method embodiment of the electronic equipment accessory, and can achieve the same technical effect, and in order to avoid repetition, the description is omitted here.
The processor is a processor in the electronic device in the above embodiment. Readable storage media include computer readable storage media such as computer readable memory ROM, random access memory RAM, magnetic or optical disks, and the like.
The embodiment of the application further provides a chip, the chip comprises a processor and a communication interface, the communication interface is coupled with the processor, the processor is used for running programs or instructions, the processes of the control method embodiment of the electronic equipment can be realized, the same technical effects can be achieved, and the repetition is avoided, and the description is omitted here.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, etc.
Embodiments of the present application provide a computer program product stored in a storage medium, where the program product is executed by at least one processor to implement the respective processes of the control method embodiments of the electronic device, and achieve the same technical effects, and are not described herein in detail to avoid repetition.
In the description of the present specification, reference to the terms "one embodiment," "some embodiments," "illustrative embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiments or examples. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
While embodiments of the present application have been shown and described, it will be understood by those of ordinary skill in the art that: many changes, modifications, substitutions and variations may be made to the embodiments without departing from the spirit and principles of the application, the scope of which is defined by the claims and their equivalents.

Claims (9)

1. An electronic device accessory for mating with an electronic device, the electronic device accessory comprising:
the shell comprises a base and a cover body, and the base is movably connected with the cover body along a first direction;
The electromagnet assembly is arranged on the cover body and used for adsorbing the electronic equipment;
The detection component is connected with the base and the cover body and is used for detecting the parameter value of the cover body;
The control part is connected with the detection assembly and the electromagnet assembly, and is used for determining the state of the cover body according to the parameter value and controlling the electromagnet assembly to work according to the state;
The detection assembly includes:
a plurality of detection parts including at least a first detection part and a second detection part arranged at intervals along a second direction,
The control part determines the state of the cover body according to the first parameter value detected by the first detection part and the second parameter value detected by the second detection part, and controls the electromagnet assembly to be powered off in the taking state.
2. The electronic device accessory of claim 1, wherein the electronic device accessory is configured to,
The first detection part comprises a first permanent magnet and a first detection piece which are correspondingly arranged, one of the first permanent magnet and the first detection piece is arranged on the base, and the other one of the first permanent magnet and the first detection piece is arranged on the cover body;
The second detection part comprises a second permanent magnet and a second detection piece which are correspondingly arranged, one of the second permanent magnet and the second detection piece is arranged on the base, and the other one of the second permanent magnet and the second detection piece is arranged on the cover body;
the parameter value at least comprises magnetic field intensity, the first detecting piece is used for detecting the magnetic field intensity of the first permanent magnet, the second detecting piece is used for detecting the magnetic field intensity of the second permanent magnet,
And when the absolute value of the difference between the first parameter value and the second parameter value is larger than a first threshold value, the cover body is in the taking state, and the control part controls the electromagnet assembly to be powered off.
3. The electronic device accessory of claim 1 or 2, wherein the housing further comprises:
the reset piece is positioned between the base and the cover body, and the cover body is in butt joint with the base through the reset piece.
4. The electronic device accessory of claim 3, wherein the reset element comprises:
The guide post is arranged on the base;
and one part of the spring is sleeved on the guide post, and the other part of the spring is connected with the cover body.
5. The electronic device accessory of claim 1 or 2, further comprising:
and the charging part is arranged in the base or the cover body and is used for supplying power to the electronic equipment.
6. The electronic device accessory of claim 1, wherein the electronic device accessory is configured to,
The first detection part comprises a first distance sensor, and the second detection part comprises a second distance sensor;
the parameter values comprise distance values, the first distance sensor and the second distance sensor are used for detecting the distance value between the cover body and the base, and the control part controls the electromagnet assembly to be powered off under the condition that the absolute value of the difference between the distance value detected by the first distance sensor and the distance value detected by the second distance sensor is larger than a distance threshold value.
7. A control method of an electronic equipment accessory, for the electronic equipment accessory according to any one of claims 1 to 6, characterized by comprising:
acquiring a parameter value of the cover body;
determining the state of the cover body according to the parameter value, and controlling the electromagnet assembly to work according to the state;
the detection assembly comprises a first detection piece, a second detection piece, a first permanent magnet and a second permanent magnet, and the step of acquiring the parameter value of the cover body specifically comprises the following steps:
And acquiring a first parameter value detected by the first detection part and a second parameter value detected by the second detection part.
8. The method for controlling an accessory of an electronic device according to claim 7, wherein the cover has at least a picking state, the step of determining the state of the cover according to the parameter value, and controlling the operation of the electromagnet assembly according to the state specifically comprises:
and under the condition that the absolute value of the difference between the first parameter value and the second parameter value is larger than a first threshold value, determining that the cover body is in a taking state, and controlling the electromagnet assembly to be powered off.
9. The method for controlling an accessory of an electronic device according to claim 8, wherein the cover further has a to-be-used state and an operating state, the step of determining the state of the cover according to the parameter value and controlling the operation of the electromagnet assembly according to the state, further comprises:
Under the condition that the first parameter value and the second parameter value are both larger than a second threshold value, determining that the cover body is in the to-be-used state, and controlling the electromagnet assembly to be powered off;
Determining a magnitude of an absolute value of a difference between the first parameter value and the second parameter value and the first threshold value, if both the first parameter value and the second parameter value are less than the second threshold value;
and under the condition that the absolute value is smaller than the first threshold value, determining that the cover body is in a working state, and controlling the electromagnet assembly to be electrified.
CN202211598597.5A 2022-12-14 2022-12-14 Electronic equipment accessory and control method thereof Active CN116056380B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211598597.5A CN116056380B (en) 2022-12-14 2022-12-14 Electronic equipment accessory and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211598597.5A CN116056380B (en) 2022-12-14 2022-12-14 Electronic equipment accessory and control method thereof

Publications (2)

Publication Number Publication Date
CN116056380A CN116056380A (en) 2023-05-02
CN116056380B true CN116056380B (en) 2024-11-15

Family

ID=86122809

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211598597.5A Active CN116056380B (en) 2022-12-14 2022-12-14 Electronic equipment accessory and control method thereof

Country Status (1)

Country Link
CN (1) CN116056380B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115208014A (en) * 2022-07-15 2022-10-18 维沃移动通信有限公司 Charging device, control method and control device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5710859B2 (en) * 2007-09-21 2015-04-30 ソニー株式会社 Input device and electronic device
US9442527B2 (en) * 2014-02-20 2016-09-13 Audi Ag Docking and undocking mechanism for remote devices
CN106526922B (en) * 2017-01-04 2019-12-06 京东方科技集团股份有限公司 Substrate repairing method and device, pressing mechanism and substrate repairing equipment
CN112953040B (en) * 2021-02-08 2023-06-13 Oppo广东移动通信有限公司 Electronic device, control method thereof, and electronic device system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115208014A (en) * 2022-07-15 2022-10-18 维沃移动通信有限公司 Charging device, control method and control device

Also Published As

Publication number Publication date
CN116056380A (en) 2023-05-02

Similar Documents

Publication Publication Date Title
JP7482208B2 (en) Information processing system, information processing device, operation device, and accessory device
US20240399242A1 (en) Accessory device
JP5176005B2 (en) Motion sensor data processing using different power management modes
KR102081908B1 (en) Device for holding a portable phone having wireless charging function and method for holding and detaching a portable phone thereof
US9851779B2 (en) Method and apparatus for controlling sleep mode using a low power processor in portable terminal
KR101637985B1 (en) Case for mobile device
CN102298162B (en) Backlight regulating system and method
KR102141390B1 (en) Remotely controller
KR101340794B1 (en) Portable terminal and method for driving the same
CN104090655A (en) Terminal and terminal control method and device.
CN105389024A (en) screen control method of electronic device
CN116056380B (en) Electronic equipment accessory and control method thereof
CN105991903B (en) Electronic device and information processing method
CN108055364A (en) Electronic equipment
JP2006246566A (en) Portable information reading device
CN108055372B (en) Electronic device
TW200416524A (en) Power saving method of wireless input equipment and mechanism thereof
CN113438349B (en) Electronic equipment and control methods and control devices thereof
CN210244316U (en) Control handle with touch screen
CN115208014A (en) Charging device, control method and control device
CN217592702U (en) Cleaning device
CN108062524B (en) Iris recognition assembly for electronic device and electronic device
CN108182387B (en) Iris recognition assembly for electronic device and electronic device
CN110730259B (en) Flash lamp structure for mobile equipment and mobile equipment
CN204667250U (en) Electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant