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.