CN108900665B - Electronic device and control method of electronic device - Google Patents

Electronic device and control method of electronic device Download PDF

Info

Publication number
CN108900665B
CN108900665B CN201810592943.6A CN201810592943A CN108900665B CN 108900665 B CN108900665 B CN 108900665B CN 201810592943 A CN201810592943 A CN 201810592943A CN 108900665 B CN108900665 B CN 108900665B
Authority
CN
China
Prior art keywords
support
hall sensor
receiver
extension part
signal value
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.)
Expired - Fee Related
Application number
CN201810592943.6A
Other languages
Chinese (zh)
Other versions
CN108900665A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810592943.6A priority Critical patent/CN108900665B/en
Publication of CN108900665A publication Critical patent/CN108900665A/en
Application granted granted Critical
Publication of CN108900665B publication Critical patent/CN108900665B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/0206Portable telephones comprising a plurality of mechanically joined movable body parts, e.g. hinged housings
    • H04M1/0208Portable telephones comprising a plurality of mechanically joined movable body parts, e.g. hinged housings characterized by the relative motions of the body parts
    • H04M1/0235Slidable or telescopic telephones, i.e. with a relative translation movement of the body parts; Telephones using a combination of translation and other relative motions of the body parts
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1615Constructional details or arrangements for portable computers with several enclosures having relative motions, each enclosure supporting at least one I/O or computing function
    • G06F1/1624Constructional details or arrangements for portable computers with several enclosures having relative motions, each enclosure supporting at least one I/O or computing function with sliding enclosures, e.g. sliding keyboard or display
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/12Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion

Abstract

The application provides an electronic device and a control method of the electronic device, the electronic device comprises a controller, a first support, a second support, a receiver, a first Hall sensor and a second Hall sensor, the first support and the second support move relatively under the action of the controller, the receiver is provided with a magnet, the receiver is positioned on the first support, the first Hall sensor and the second Hall sensor are positioned on the second support, when the first support slides relative to the second support, the first Hall sensor and the second Hall sensor move relative to the telephone receiver, the first Hall sensor and the second Hall sensor respectively generate Hall effect with a magnet in the telephone receiver to generate a first signal value and a second signal value, and the controller is used for receiving the first signal value and the second signal value and judging whether the difference between the first signal value and the second signal value is within a preset range so as to judge whether the first support reaches a preset position. The method and the device can improve the accuracy of the sliding in place of the first support in the electronic equipment.

Description

Electronic device and control method of electronic device
Technical Field
The present disclosure relates to the field of electronic technologies, and in particular, to an electronic device and a control method of the electronic device.
Background
Along with the morphological development of electronic equipment, electronic equipment can comprise relative motion's first support and second support, and step motor can drive first support and advance in order to keep away from or be close to the fixing base towards preset position, but because the interference of factors such as frictional force in the reality, step motor can have the phenomenon of losing one's step, causes the actual displacement of first support to appear the deviation, leads to the unable motion of first support to target in place to reduce electronic equipment's reliability.
Disclosure of Invention
The application provides electronic equipment and a control method of the electronic equipment, which can improve the accuracy of the sliding in-place of a first support in the electronic equipment.
In one aspect, the present application provides an electronic device, the electronic device includes a controller, a first support, a second support, a receiver, a first hall sensor and a second hall sensor, the first support and the second support are in relative motion under the action of the controller, a magnet is provided in the receiver, the receiver is located in the first support, the first hall sensor and the second hall sensor are located in the second support, so that the first support is opposite to the second support when sliding, the first hall sensor and the second hall sensor and the receiver are in relative motion, the first hall sensor and the second hall sensor respectively with the magnet in the receiver generates hall effect to generate a first signal value and a second signal value, the controller is configured to receive the first signal value and the second signal value and judge whether the difference between the first signal value and the second signal value is at the position of the first signal value and the second signal value And judging whether the first support reaches a preset position within a preset range.
On the other hand, the application also provides a control method of the electronic equipment, wherein the electronic equipment comprises a first support, a second support, a receiver, a first hall sensor, a second hall sensor and a controller, a magnet is arranged in the receiver, the receiver is positioned on the first support, and the first hall sensor and the second hall sensor are positioned on the second support; the method comprises the following steps:
the controller receives a sliding signal;
the controller controls the first support to move to a preset distance threshold relative to the second support according to the sliding signal;
the controller receives a first signal value and a second signal value generated by the first Hall sensor and the second Hall sensor, and detects whether the first support moves to the preset distance threshold value relative to the second support according to whether the difference between the first signal value and the second signal value is within a preset range.
The magnetic field intensity of a magnet in the telephone receiver is sensed through the first Hall sensor and the second Hall sensor, the magnet moves along with the first support relative to the first Hall sensor and the second Hall sensor, so that the first Hall sensor and the second Hall sensor generate a first signal value and a second signal value, the controller judges whether the difference between the first signal value and the second signal value is within a preset range or not, whether the first support and the second support slide in place or not in the relative movement process is judged, the interference of an external magnetic field is avoided, the accuracy of in-place detection of the Hall sensor is improved, the magnet in the telephone receiver is used as an induction magnetic field, the dual-purpose of one object of the telephone receiver is realized, the additional arrangement of the magnet is avoided, and the space in the electronic equipment is saved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic internal structural diagram of an electronic device in an extended state according to an embodiment of the present application.
Fig. 2 is a schematic diagram of an internal structure of the electronic device provided in fig. 1 in a retracted state.
Fig. 3 is a cross-sectional view of fig. 1 taken along the direction a-a.
Fig. 4 is a cross-sectional view of fig. 2 taken along the direction a-a.
Fig. 5 is another cross-sectional view taken along a-a of fig. 1.
Fig. 6 is another cross-sectional view taken along a-a of fig. 2.
Fig. 7 is a further cross-sectional view taken along a-a of fig. 2.
Fig. 8 is a schematic structural diagram of an electronic device in an extended state according to an embodiment of the present application.
Fig. 9 is a schematic structural diagram of an electronic device in a retracted state according to an embodiment of the present application.
Fig. 10 is a schematic structural diagram of an electronic device in a retracted state according to another embodiment of the present application.
Fig. 11 is a flowchart of a control method of an electronic device according to an embodiment of the present application.
Detailed Description
In order that the above objects, features and advantages of the present application can be more clearly understood, a detailed description of the present application will be given below with reference to the accompanying drawings and detailed description. In addition, the embodiments and features of the embodiments of the present application may be combined with each other without conflict.
Unless expressly stated or limited otherwise, the terms "mounted," "connected," and "coupled" are intended to be inclusive and mean, for example, that they may be fixedly coupled, detachably coupled, or integrally coupled; may be a mechanical connection; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The terms described above are meant to be illustrative in the present invention and are understood to be specific to those of ordinary skill in the art.
Referring to fig. 1, fig. 1 is a block diagram of an electronic device 100 according to an embodiment of the present disclosure. The electronic device 100 may be any device having a camera module and a receiver module, for example: smart devices such as tablet computers, televisions, mobile phones, cameras, personal computers, notebook computers, vehicle-mounted devices, wearable devices, and the like. For convenience of description, the electronic device 100 is defined with reference to the first viewing angle, the width direction of the electronic device 100 is defined as the X direction, and the length direction of the electronic device 100 is defined as the Y direction.
Referring to fig. 1 and 2, an electronic device 100 includes a first support 1 and a second support 2. The first support 1 is slidable relative to the second support 2, as shown in fig. 1, the first support 1 may be in an extended state relative to the second support 2, as shown in fig. 2, and the first support 1 may be in a retracted state relative to the second support 2.
Referring to fig. 1 and 2, the electronic device 100 includes a first support 1, a second support 2, a receiver 3, a first hall sensor 4, a second hall sensor 5, and a controller 6. The receiver 3 has a magnet 31 therein. The receiver 3 is positioned on the first support 1. The first hall sensor 4 and the second hall sensor 5 are located on the second support 2. The first support 1 is close to or far from the second support 2 under the action of the controller 6, so that the first hall sensor 4 and the second hall sensor 5 move relative to the receiver 3. The first hall sensor 4 and the second hall sensor 5 respectively generate hall effect with the magnet 31 in the receiver 3 to generate a first signal value and a second signal value. The controller 6 is configured to receive the first signal value and the second signal value and determine whether a difference between the first signal value and the second signal value is within a preset range, so as to determine whether the first support 1 reaches a preset position.
As can be understood, referring to fig. 3, the receiver 3 includes a magnet 31 and a diaphragm 30, and the magnet 31 drives the diaphragm 30 to vibrate to generate sound. A magnetic field is formed around the magnet 31 of the receiver 3. The first hall sensor 4 and the second hall sensor 5 sense the magnetic field strength of the magnet 31 and generate a first signal value and a second signal value, and the controller 6 can judge whether the first support 1 moves in place according to the magnetic field strength sensed by the first hall sensor 4 and the second hall sensor 5.
Since the Hall sensors (4, 5) may be interfered by the magnetic field other than the magnet 31, and the signal values transmitted by the Hall sensors (4, 5) may be interfered, the present application can calculate whether the difference between the first signal value and the second signal value transmitted by the first Hall sensor 4 and the second Hall sensor 5 is within a preset range by providing two Hall sensors (the first Hall sensor 4 and the second Hall sensor 5), rather than determining whether the first support 1 slides in place according to one signal value transmitted by a single Hall sensor, so as to avoid the problem that the detection values of the Hall sensors (4, 5) are inaccurate due to the interference of the Hall sensors (4, 5) by the external magnetic field other than the magnetic field of the magnet 31 in the present application), and further improve the accuracy of whether the Hall sensors (4, 5) are in place or not, the reliability of the electronic device 100 is improved.
The magnetic field intensity of the magnet 31 in the receiver 3 is sensed by the first hall sensor 4 and the second hall sensor 5, the magnet 31 moves along with the first support 1 relative to the first hall sensor 4 and the second hall sensor 5, so that the first hall sensor 4 and the second hall sensor 5 generate a first signal value and a second signal value, the controller 6 judges whether the difference between the first signal value and the second signal value is within a preset range, so as to judge whether the first support 1 and the second support 2 slide in place in the relative movement process, avoid the interference of an external magnetic field, improve the accuracy of the hall sensor in-place detection, and in addition, the magnet 31 in the receiver 3 is used as an induction magnetic field, so that the first object dual-purpose of the receiver 3 is realized, the additional arrangement of the magnet 31 is avoided, and the space in the electronic device 100 is saved.
As can be understood, referring to fig. 1 and fig. 2, the electronic device 100 further includes a driving member 7, where the driving member 7 is connected to the first support 1 and is used for driving the first support 1 and the second support 2 to move relatively. The driving member 7 may be a stepping motor or a micro motor, etc. The driver 7 is electrically connected to the controller 6 so that the controller 6 controls the operation and stop of the driver 7.
It is understood that the first hall sensor 4 and the second hall sensor 5 are electrically connected to the controller 6. The first hall sensor 4 and the second hall sensor 5 are within the range of the magnetic field generated by the magnet 31. The first hall sensor 4 and the second hall sensor 5 are subjected to magnetic force and generate a first signal value and a second signal value, respectively. The first hall sensor 4 and the second hall sensor 5 transmit the first signal value and the second signal value to the controller 6, and the controller 6 calculates a difference between the first signal value and the second signal value and compares the difference between the first signal value and the second signal value with a preset range. If the difference between the first signal value and the second signal value is within a preset range, the controller 6 judges that the first support 1 or the second support 2 reaches a preset position, and the controller 6 controls the driving member 7 to stop running. If the difference between the first signal value and the second signal value is outside the preset range, the controller 6 judges that the first support 1 or the second support 2 does not reach the preset position, and the controller 6 controls the driving member 7 to continue to operate until the difference between the first signal value and the second signal value is within the preset range.
In this embodiment, referring to fig. 2, if the first support 1 moves relative to the second support 2, when the first support 1 is located at the first position, the first hall sensor 4 and the second hall sensor 5 generate a hall effect with the magnet 31 and generate a first signal value and a second signal value, the controller 6 receives the first signal value and the second signal value, and calculates whether a difference between the first signal value and the second signal value is within a first preset range, if so, it indicates that the first support 1 moves to the first preset position (for example, the maximum position of the first support 1 away from the second support 2), the controller 6 controls the driving member 7 to stop driving, and if not, the controller 6 controls the driving member 7 to continue to drive the first support 1 and the second support 2 until the maximum position of the first support 1 away from the second support 2.
In this embodiment, referring to fig. 1, when the first support 1 carries the receiver 3 and completely extends out of the second support 2, the first support 1 is at a first preset position. Referring to fig. 2, when the first cradle 1 carrying the receiver 3 is completely covered by the second cradle 2, the first cradle 1 is at a second predetermined position.
Referring to fig. 1, when the first support 1 is located at the second position, the first hall sensor 4, the second hall sensor 5 and the magnet 31 generate a hall effect and generate another first signal value and a second signal value, the controller 6 receives the first signal value and the second signal value, and calculates whether a difference between the first signal value and the second signal value is within a second preset range, if so, it indicates that the first support 1 moves to the second preset position (for example, the first support 1 abuts against the second support 2), the controller 6 controls the driving member 7 to stop driving, and if not, the controller 6 controls the driving member 7 to continue driving the first support 1 and the second support 2 until the first support 1 abuts against the second support 2.
In an embodiment, referring to fig. 3 and 4, a thickness direction of the electronic apparatus 100 is a Z direction. The second mount 2 includes a main body portion 21 and an extension portion 22. The extension portion 22 is connected to an end of the main body portion 21. The first holder 1 abuts against an end of the main body 21. The first seat 1 and the extension 22 are stacked on each other. The first support 1 is slidably connected to the extension 22. The first hall sensor 4 and the second hall sensor 5 are located at the extension portion 22. The first hall sensor 4 and the second hall sensor 5 are arranged along the sliding direction of the first mount 1. In the sliding process of the first support 1, the receiver 3 slides between the first hall sensor 4 and the second hall sensor 5.
By locating the first hall sensor 4 and the second hall sensor 5 at the extension portion 22, the receiver 3 and the first hall sensor 4 and the second hall sensor 5 can be stacked in the Z direction, so that the receiver 3 can be operated by the first cradle 1, moves between the first hall sensor 4 and the second hall sensor 5, without colliding with the first hall sensor 4 and the second hall sensor 5, meanwhile, the receiver 3 is stacked with the first hall sensor 4 and the second hall sensor 5 in the Z direction, it is achieved that the distance between the first hall sensor 4 and the receiver 3 is small during a time period, and the distance between the second hall sensor 5 and the receiver 3 is small during another time period, this makes the magnetic field strength sensed by the first hall sensor 4 and the second hall sensor 5 over a period of time greater, so that the first signal value and the second signal value are more accurate.
In addition, the receiver 3 slides between the first hall sensor 4 and the second hall sensor 5, the first signal value of the first hall sensor 4 gradually increases or gradually decreases with the movement of the first cradle 1, such that the first signal value corresponds one-to-one to the distance between the receiver 3 and the first hall sensor 4, and the second signal value of the second hall sensor 5 gradually decreases or gradually increases with the movement of the first cradle 1, such that the second signal value corresponds one-to-one to the distance between the receiver 3 and the second hall sensor 5.
In an embodiment, referring to fig. 3, when the first cradle 1 is unfolded relative to the extending portion 22, the first cradle 1 is located at a first preset position (for example, when the first cradle 1 is away from the maximum position of the main body portion 21), and the receiver 3 faces the first hall sensor 4. Referring to fig. 4, when the first cradle 1 is stacked relative to the extending portion 22, the first cradle 1 is located at a second predetermined position (for example, the first cradle 1 abuts against the main body portion 21), and the receiver 3 faces the second hall sensor 5.
Further, referring to fig. 3 and 4, the first support 1 has a first surface 101. The first surface 101 is opposite to the extension 22. The first surface 101 has a receiving window 32. The telephone receiver 3 is opposite to the telephone receiving window 32. The front sound cavity of the receiver 3 is connected with the receiving window 32. When the first support 1 is unfolded relative to the extension part 22, the telephone receiving window 32 is exposed out of the extension part 22. When the first holder 1 is stacked relative to the extension part 22, the extension part 22 covers the receiving window 32.
In another embodiment, referring to fig. 5 and 6, the extension portion 22 includes a first extension portion 221 and a second extension portion 222. The first extension portion 221 is opposite to and spaced apart from the second extension portion 222. The first support 1 is located between the first extension 221 and the second extension 222. The first hall sensor 4 and the second hall sensor 5 are protruded on the second extension portion 222. The first support 1 has a second surface 102 and a third surface 103. The third surface 103 is disposed opposite to the second surface 102. The receiver 3 is arranged between the second surface 102 and the third surface 103. The third surface 103 has a reception window 32. The telephone receiver 3 emits sound through the telephone receiving window 32. Referring to fig. 5, when the first support 1 is unfolded relative to the second extension portion 222, the receiving window 32 is exposed outside the first extension portion 221. Referring to fig. 6, when the first support 1 is stacked relative to the first extending portion 221, the first extending portion 221 covers the receiving window 32.
Further, referring to fig. 5 and fig. 6, the second surface 102 has a first receiving groove 10a and a second receiving groove 10 b. The first receiving slot 10a and the second receiving slot 10b are close to the receiver 3 and are respectively located at two opposite sides of the receiver 3. The first receiving groove 10a and the second receiving groove 10b are aligned in the Y direction. The first hall sensor 4 and the second hall sensor 5 are respectively located at least partially in the first receiving groove 10a and the second receiving groove 10 b. That is, the first hall sensor 4, the receiver 3, and the second hall sensor 5 are arranged in the Y direction in this order in the Y direction, so that the receiver 3 slides between the first hall sensor 4 and the second hall sensor 5 when the receiver 3 moves in the Y direction.
Further, referring to fig. 5 and fig. 6, the receiving window 32 and the receiver 3 can be staggered in the Y direction, and the receiving window 32 is far away from the main body 21 relative to the receiver 3, so that the receiving window 32 extends out of the first extending portion 221 along with the first cradle 1, and the receiver 3 can still be covered by the first extending portion 221.
By respectively arranging the first hall sensor 4 and the second hall sensor 5 in the first accommodating groove 10a and the second accommodating groove 10b, the projection of the magnet 31 of the receiver 3 in the Y direction can be at least partially overlapped with the first hall sensor 4 and the second hall sensor 5, and the relative area of the first hall sensor 4 and the second hall sensor 5 and the magnet 31 of the receiver 3 in the Y direction can be increased, so that the magnetic field intensity of the magnet 31 of the receiver 3 induced by the first hall sensor 4 and the second hall sensor 5 is increased, and the accuracy of in-place detection of the first hall sensor 4 and the second hall sensor 5 is improved.
In another embodiment, referring to fig. 7, a sliding slot 10c may be disposed on a surface of the second extending portion 222 facing the first support 1, and the first hall sensor 4, the sliding slot 10c, and the second hall sensor 5 are arranged along the Y direction. The receiver 3 can be protruded from the second surface 102, and the receiver 3 is at least partially accommodated in the sliding slot 10 c. During the sliding of the first cradle 1, the receiver 3 slides with the first cradle 1 in the chute 10 c.
In other embodiments, the first receiving groove 10a and the second receiving groove 10b may be disposed in parallel. The extending direction of the first receiving groove 10a and the second receiving groove 10b may be identical to the sliding direction of the first holder 1. The first receiving groove 10a and the second receiving groove 10b may extend in the Y direction, and the first receiving groove 10a, the receiver 3, and the second receiving groove 10b may be arranged in the X direction in this order.
In an embodiment, referring to fig. 8, the electronic device 100 further includes a camera module 8 and a flash module 9. The camera module 8 and the flash module 9 are located on the first support 1. The first support 1 further has a light-transmitting portion 103, and the light-transmitting portion 103 is used for transmitting light signals of the camera module 8 and the flash module 9. When the first support 1 is unfolded relative to the extension part 22, the camera module 8 and the flash module 9 are exposed outside the extension part 22, so that a user can shoot and the like by using the camera module 8 and the flash module 9. In the present embodiment, when the camera module 8 and the flash module 9 are completely disposed outside the extension portion 22, the first holder 1 is disposed at a first predetermined position. When the first holder 1 is stacked relative to the extension portion 22, the extension portion 22 covers the camera module 8 and the flash module 9, so as to improve the portability of the electronic device 100. When the camera module 8 and the flash module 9 are completely covered by the extension portion 22, the first support 1 is located at a second preset position.
In an embodiment, referring to fig. 1, a sliding direction of the first support 1 is consistent with an arrangement direction of the main body 21 and the extension portion 22. That is, the main body 21 and the extension 22 are arranged in the Y direction, and the first cradle 1 slides in the Y direction. When the electronic device 100 is a mobile phone, the first cradle 1 slides out from the top of the electronic device 100.
In another embodiment, the sliding direction of the first mount 1 intersects with the arrangement direction of the main body portion 21 and the extension portion 22. That is, the main body 21 and the extension 22 are arranged in the Y direction, and the first cradle 1 slides in the direction intersecting the Y direction. Further, the main body 21 and the extension 22 are arranged in the Y direction, and the first cradle 1 can slide in the X direction.
Referring to fig. 10, the electronic device 100 includes a display 20 and a functional device 30. The display screen 20 is fixed on the second support 2, and the functional device 30 is located in the first support 1. When the first support 1 and the second support 2 are close to each other, the display screen 20 covers the first support 1 and the functional device. When the first support 1 and the second support 2 are far away from each other, the functional device 30 extends out of the display screen 20.
When the first support 1 and the second support 2 are close to each other, the display screen 20 covers the functional device 30. Namely, by providing a signal penetration portion for signal transmission of the functional device 30 with the outside on the first mount 1. Since the signal penetration portion does not need to be provided in the non-display area of the display screen 20, the display area of the display screen 20 (i.e., the area where an image is displayed) may have as large an area as possible, thereby increasing the screen occupation ratio of the display screen 20. Further, it is possible to reduce the number of processes such as hollowing or punching the display screen 20 and to reduce the number of processes for processing the display screen 20.
In this embodiment, when the first support 1 carries the functional device and completely extends out of the second support 2, the first support 1 is in the first preset position. When the first support 1 carrying the functional device is completely covered by the second support 2, the first support 1 is in the second preset position.
Referring to fig. 10, the functional device 30 may be a receiver module, a camera module, a flashlight module, a microphone module, a fingerprint recognition module, an antenna module, a face recognition module, an iris recognition module, etc.
In this embodiment, the second support 2 may include a back shell and a middle frame surrounding the back shell. The back housing is disposed opposite the display screen 20. The middle frame is connected between the back shell and the display screen 20. The middle frame is provided with a groove. The recess may or may not extend through the back shell. The first support 1 can be slidably connected with the inner wall of the groove. Under the action of the driving member 7, the first support 1 can be received in the recess, so that the first support 1 and the second support 2 form a complete housing surface of the electronic device 100.
In other embodiments, the first support 1 and the second support 2 are oppositely disposed and joined together, such that the first support 1 and the second support 2 form a complete enclosure surface of the electronic device 100.
In other embodiments, the display screen 20 may also be fixed to the first support 1. The display screen 20 is stacked on the second support 2. The second support 2 is telescopic relative to the first support 1.
Referring to fig. 11, the present application further provides a control method S10 of the electronic device 100, which is applied to the electronic device 100 according to any of the above embodiments. The method S10 includes the following steps.
And S101, the controller receives a sliding signal.
S103, the controller controls the first support to move to a preset distance threshold relative to the second support according to the sliding signal. The preset distance threshold may be that the first support abuts the second support, and the preset distance threshold may be that the functional device on the first support completely protrudes out of the second support.
S105, the controller receives a first signal value and a second signal value generated by the first Hall sensor and the second Hall sensor, and detects whether the first support moves to the preset distance threshold relative to the second support according to whether the difference between the first signal value and the second signal value is within a preset range.
Further, if the first support 1 moves to a preset distance threshold relative to the second support 2, the controller 6 controls the driving member 7 to stop driving; if the first support 1 does not move to the preset distance threshold relative to the second support 2, the controller 6 controls the driving member 7 to continue to drive the first support 1 and the second support 2 to move until the first support 1 and the second support 2 are in place, so that the first support 1 and the second support 2 move to the correct place, and the reliability of the electronic device 100 is improved. The magnetic field intensity of the magnet 31 in the receiver 3 is sensed by the first hall sensor 4 and the second hall sensor 5, the magnet 31 moves along with the first support 1 relative to the first hall sensor 4 and the second hall sensor 5, so that the first hall sensor 4 and the second hall sensor 5 generate a first signal value and a second signal value, the controller 6 judges whether the difference between the first signal value and the second signal value is within a preset range, so as to judge whether the first support 1 and the second support 2 slide in place in the relative movement process, avoid the interference of an external magnetic field, improve the accuracy of the hall sensor in-place detection, and in addition, the magnet 31 in the receiver 3 is used as an induction magnetic field, so that the first object dual-purpose of the receiver 3 is realized, the additional arrangement of the magnet 31 is avoided, and the space in the electronic device 100 is saved.
Finally, it should be noted that the above embodiments are only for illustrating the technical solutions of the present application and not for limiting, and although the present application is described in detail with reference to the above preferred embodiments, it should be understood by those skilled in the art that modifications or equivalent substitutions may be made to the technical solutions of the present application without departing from the spirit and scope of the technical solutions of the present application.

Claims (6)

1. The electronic equipment is characterized by comprising a controller, a first support, a second support, a receiver, a first Hall sensor and a second Hall sensor, wherein the first support and the second support move relatively under the action of the controller, a magnet is arranged in the receiver, the receiver is positioned in the first support, the first Hall sensor and the second Hall sensor are positioned in the second support, so that when the first support slides relative to the second support, the first Hall sensor and the second Hall sensor move relative to the receiver, the first Hall sensor and the second Hall sensor respectively generate Hall effect with the magnet in the receiver to generate a first signal value and a second signal value, the controller is used for receiving the first signal value and the second signal value and judging whether the difference between the first signal value and the second signal value is preset or not Within the range, judging whether the first support reaches a preset position or not;
the second support comprises a main body part and an extension part, the extension part is connected with the end part of the main body part, the first support is further provided with a telephone receiving window, the telephone receiving window and a telephone receiver are arranged in a staggered mode in the movement direction of the first support, the telephone receiving window is far away from the main body part relative to the telephone receiver, so that the telephone receiving window is unfolded along with the first support relative to the extension part, when the first support is located at a first preset position, the telephone receiver is still covered by the extension part, and the first preset position is the maximum position at which the first support is far away from the main body part;
the extension part comprises a first extension part and a second extension part, the first extension part is opposite to the second extension part and is arranged at intervals, the first support seat is positioned between the first extension part and the second extension part, the first Hall sensor and the second Hall sensor are convexly arranged on the second extension part, a sliding groove is formed in the surface, facing the first support seat, of the second extension part, the receiver is convexly arranged on the surface, facing the second extension part, of the first support seat, at least part of the receiver is contained in the sliding groove, and in the sliding process of the first support seat, the receiver slides in the sliding groove along with the first support seat.
2. The electronic device of claim 1, further comprising a camera module and a flash module, the camera module and the flash module being located within the first cradle, the first cradle further having a light-transmissive portion for transmitting light signals through the camera module and the flash module, the camera module and the flash module being exposed outside of the extension when the first cradle is deployed relative to the extension; when the first support is stacked relative to the extension part, the extension part covers the camera module and the flash lamp module.
3. The electronic device according to claim 1, wherein a sliding direction of the first holder coincides with an arrangement direction of the main body portion and the extension portion.
4. The electronic device according to claim 1, wherein a sliding direction of the first holder intersects with an arrangement direction of the main body portion and the extension portion.
5. The electronic device of claim 1, wherein the electronic device comprises a display screen and a functional device, the display screen is fixed on the second support, the functional device is located in the first support, and when the first support and the second support are close to each other, the display screen covers the first support and the functional device; when the first support and the second support are far away from each other, the functional device extends out of the display screen.
6. The control method of the electronic equipment is characterized by being applied to the electronic equipment, wherein the electronic equipment comprises a first support, a second support, a telephone receiver, a first Hall sensor, a second Hall sensor and a controller, a magnet is arranged in the telephone receiver, the telephone receiver is positioned on the first support, and the first Hall sensor and the second Hall sensor are positioned on the second support; the method comprises the following steps:
the controller receives a sliding signal;
the controller controls the first support to move to a preset distance threshold relative to the second support according to the sliding signal;
the controller receives a first signal value and a second signal value generated by the first Hall sensor and the second Hall sensor, and detects whether the first support moves to the preset distance threshold relative to the second support according to whether the difference between the first signal value and the second signal value is within a preset range;
the second support comprises a main body part and an extension part, the extension part is connected with the end part of the main body part, the first support is further provided with a telephone receiving window, the telephone receiving window and a telephone receiver are arranged in a staggered mode in the movement direction of the first support, the telephone receiving window is far away from the main body part relative to the telephone receiver, so that the telephone receiving window is unfolded along with the first support relative to the extension part, when the first support is located at a first preset position, the telephone receiver is still covered by the extension part, and the first preset position is the maximum position at which the first support is far away from the main body part; the extension part comprises a first extension part and a second extension part, the first extension part is opposite to the second extension part and is arranged at intervals, the first support seat is positioned between the first extension part and the second extension part, the first Hall sensor and the second Hall sensor are convexly arranged on the second extension part, a sliding groove is formed in the surface, facing the first support seat, of the second extension part, the receiver is convexly arranged on the surface, facing the second extension part, of the first support seat, at least part of the receiver is contained in the sliding groove, and in the sliding process of the first support seat, the receiver slides in the sliding groove along with the first support seat.
CN201810592943.6A 2018-06-08 2018-06-08 Electronic device and control method of electronic device Expired - Fee Related CN108900665B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810592943.6A CN108900665B (en) 2018-06-08 2018-06-08 Electronic device and control method of electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810592943.6A CN108900665B (en) 2018-06-08 2018-06-08 Electronic device and control method of electronic device

Publications (2)

Publication Number Publication Date
CN108900665A CN108900665A (en) 2018-11-27
CN108900665B true CN108900665B (en) 2021-04-06

Family

ID=64344776

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810592943.6A Expired - Fee Related CN108900665B (en) 2018-06-08 2018-06-08 Electronic device and control method of electronic device

Country Status (1)

Country Link
CN (1) CN108900665B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109542174B (en) * 2018-11-30 2020-07-31 Oppo广东移动通信有限公司 Method and device for correcting sliding of sliding component
CN109873949A (en) * 2019-01-31 2019-06-11 维沃移动通信有限公司 A kind of camera control system, camera control method and mobile terminal
WO2021000103A1 (en) * 2019-06-29 2021-01-07 瑞声声学科技(深圳)有限公司 Terminal device
WO2021000107A1 (en) * 2019-06-29 2021-01-07 瑞声声学科技(深圳)有限公司 Terminal device
CN113933996A (en) * 2021-10-20 2022-01-14 歌尔光学科技有限公司 Wearable equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2474990Y (en) * 2001-04-10 2002-01-30 东华大学 Detection and sensing device for electric spark machining discharging position by electromagnetic signal method
CN101355598A (en) * 2007-07-27 2009-01-28 富士通株式会社 Sliding mechanism, electronic apparatus and portable device
WO2017220173A1 (en) * 2016-06-24 2017-12-28 Surgical Sensors Bvba Integrated ligament strain measurement
CN107576321A (en) * 2017-08-30 2018-01-12 北京小米移动软件有限公司 Determine the method, device and mobile terminal of magnetic azimuth
CN107819907A (en) * 2017-11-14 2018-03-20 维沃移动通信有限公司 A kind of camera control method and mobile terminal

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7580017B2 (en) * 2004-05-11 2009-08-25 Fuji Xerox Co., Ltd. Image display medium and image writing apparatus
US7843190B2 (en) * 2005-12-16 2010-11-30 Asahi Kasei Emd Corporation Position detection apparatus
CN102646437A (en) * 2011-02-17 2012-08-22 鸿富锦精密工业(深圳)有限公司 Electronic device
CN102785747A (en) * 2012-07-28 2012-11-21 成都宽和科技有限责任公司 Sensing element with non-uniform distribution of multiple magnetic block positions and magnetic flux in casing

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2474990Y (en) * 2001-04-10 2002-01-30 东华大学 Detection and sensing device for electric spark machining discharging position by electromagnetic signal method
CN101355598A (en) * 2007-07-27 2009-01-28 富士通株式会社 Sliding mechanism, electronic apparatus and portable device
WO2017220173A1 (en) * 2016-06-24 2017-12-28 Surgical Sensors Bvba Integrated ligament strain measurement
CN107576321A (en) * 2017-08-30 2018-01-12 北京小米移动软件有限公司 Determine the method, device and mobile terminal of magnetic azimuth
CN107819907A (en) * 2017-11-14 2018-03-20 维沃移动通信有限公司 A kind of camera control method and mobile terminal

Also Published As

Publication number Publication date
CN108900665A (en) 2018-11-27

Similar Documents

Publication Publication Date Title
CN108900665B (en) Electronic device and control method of electronic device
EP3876073B1 (en) Electronic apparatus for controlling size of display, and method for controlling the same
US10564392B2 (en) Imaging apparatus and focus control method
KR102106296B1 (en) Electric device including camera and operating method thereof
EP3547444A2 (en) Electronic device
KR102471644B1 (en) Pop-up and rotation camera and electric device including the same
US20230093986A1 (en) Electronic device including rollable display
CN108900664B (en) Electronic device and control method of electronic device
CN109995973B (en) Functional module, electronic device and control method of electronic device
CN111669208B (en) Antenna selection method, first electronic device and storage medium
KR102114727B1 (en) Operating method for acceleration sensor and electronic device therof
WO2019227974A1 (en) Electronic assembly and electronic device
EP3575997A1 (en) Vein biometric authentication device and method
CN108418917B (en) Electronic component and electronic device
CN108900662B (en) Electronic device and drive control method
CN108828674B (en) Electronic device and control method of electronic device
KR20170026002A (en) 3d camera module and mobile terminal comprising the 3d camera module
CN108810374B (en) Imaging module, electronic device, and control method of electronic device
EP3813349A1 (en) Terminal device, lens adjustment method and readable storage medium
KR101799940B1 (en) Image device with transparent lcd screen
KR20210048725A (en) Method for controlling camera and electronic device therefor
US20230188072A1 (en) Rollable electronic device including gear assembly
US20230260437A1 (en) Electronic device with flexible display
EP3787275B1 (en) Imaging component, electronic component, electronic apparatus, and control method for electronic apparatus
CN114419718B (en) Electronic equipment and face recognition method

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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20210406