CN109819072A - Electronic equipment and its operating mode method of adjustment - Google Patents
Electronic equipment and its operating mode method of adjustment Download PDFInfo
- Publication number
- CN109819072A CN109819072A CN201811481428.7A CN201811481428A CN109819072A CN 109819072 A CN109819072 A CN 109819072A CN 201811481428 A CN201811481428 A CN 201811481428A CN 109819072 A CN109819072 A CN 109819072A
- Authority
- CN
- China
- Prior art keywords
- magnetic
- magnetic sensor
- electronic equipment
- slide switch
- threshold range
- 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.)
- Pending
Links
Landscapes
- Slide Switches (AREA)
- Switches That Are Operated By Magnetic Or Electric Fields (AREA)
Abstract
The present invention relates to a kind of electronic equipment, including shell;The outside of shell is arranged in slide switch, and magnetic element is equipped on the slide switch, and the magnetic element has multiple operating positions in the sliding scale of slide switch;Wherein, there are more than two Magnetic Sensors, the operating position of magnetic element corresponding to the installation site of each Magnetic Sensor is different in the shell.The sliding action that slide switch is incuded by Magnetic Sensor does not need complicated and accurate mechanical structure, guarantees reliability, and it is small to occupy equipment inner space.Furthermore, it is also proposed that a kind of method of above-mentioned adjustment electronic device works mode maps different operating modes using the data threshold values of Magnetic Sensor, to adjust the operating mode of electronic equipment in slide switch change in location.
Description
Technical field
The present invention relates to technical field of electronic equipment, more particularly to a kind of electronic equipment and its operating mode adjustment side
Method.
Background technique
Traditional mobile phone with slide switch, usually mechanical structure formula, specific: the slide switch on mobile phone center
Mechanical slide bar movement is driven, the position-limit mechanism of mechanical slide bar drives toggle switch movement on cell phone mainboard, to realize that mobile phone is sliding
The function of moving type switch.Mechanical slide bar outer layer has mechanical structure limit, guarantees the linear motion of slide bar, and entire slide bar module passes through
Screw is fixed on mobile phone center.
Applicant has found during realizing traditional technology: the dimensional discrepancy of mechanical structure formula in process can be led
Cause slide bar cannot slide or gap is larger, and then whole slide switching function is caused to fail.The machines such as mechanical slide bar, limiting device
Tool structure is all metal, occupies too many interior of mobile phone space, and cell phone mainboard area, battery capacity is caused a series of ask such as to be compressed
Topic.And once going wrong in assembling process, very inconvenient replacement mechanical structure.
Summary of the invention
Based on this, it is necessary to for slide switch poor reliability, occupy the big problem in equipment inner space, propose a kind of electricity
Sub- equipment.Also propose a kind of method for adjusting electronic device works mode.
A kind of electronic equipment, including
Shell;
The outside of shell is arranged in slide switch, and magnetic element is equipped on the slide switch, and the magnetic element exists
There are multiple operating positions in the sliding scale of slide switch;
Wherein, there are more than two Magnetic Sensors, corresponding to the installation site of each Magnetic Sensor in the shell
The operating position of magnetic element is different.
Above-mentioned electronic equipment incudes the sliding action of slide switch by Magnetic Sensor, does not need complicated and precision
Mechanical structure guarantees reliability, and it is small to occupy equipment inner space.
The number of the Magnetic Sensor is less than the number of operating position in one of the embodiments,.
The multiple operating position includes lower position, upper limit position in one of the embodiments, and is located at the limit
Middle position between position and upper limit position, the shell is interior to be equipped with a Magnetic Sensor corresponding with the lower position,
An and Magnetic Sensor corresponding with the middle position.
The magnetic element is sealed in inside slide switch in one of the embodiments,.
The magnetic element is permanent magnet in one of the embodiments,.
The Magnetic Sensor is Hall sensor in one of the embodiments,.
A method of adjustment electronic device works mode, comprising steps of
After slide switch is slided, obtains the sensing data of Magnetic Sensor output and judge the sensing data institute
The data threshold range fallen into;
The operating mode of electronic equipment is adjusted to match with the data threshold range according to the data threshold range
Operating mode.
The above method maps different operating modes using the data threshold values of Magnetic Sensor, thus in slide switch position
The operating mode that equipment is adjusted when variation, does not need complicated mechanical switch structure, conducive to the complexity for reducing electronic equipment and
Cost.
The data threshold values includes the first threshold range, the second threshold range and third valve in one of the embodiments,
It is worth range, the operating mode includes corresponding first operating mode, the second operating mode and third operating mode.
The sensing data of Magnetic Sensor output is obtained in one of the embodiments, and judges the sensing data institute
The data threshold range fallen into, comprising:
It obtains the sensing data of the first Magnetic Sensor output and judges whether to fall into first threshold range;Obtain the
The sensing data of two Magnetic Sensors output simultaneously judges whether to fall into second threshold range, obtains the first Magnetic Sensor and the
The sum of sensing data of two Magnetic Sensors output simultaneously judges whether the third threshold range.
The sensing data is the output voltage of Hall sensor in one of the embodiments,.
Detailed description of the invention
Fig. 1 is that the slide switch of the electronic equipment of an embodiment is in the structural schematic diagram of lower gear;
Fig. 2 is that the slide switch of the electronic equipment of an embodiment is in the structural schematic diagram of middle gear;
Fig. 3 is that the slide switch of the electronic equipment of an embodiment is in the structural schematic diagram of upper gear;And
Fig. 4 is the flow chart of the method for the adjustment electronic device works mode of an embodiment.
Specific embodiment
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, with reference to the accompanying drawing to the present invention
Specific embodiment be described in detail.Many details are explained in the following description in order to fully understand this hair
It is bright.But the invention can be embodied in many other ways as described herein, those skilled in the art can be not
Similar improvement is done in the case where violating intension of the present invention, therefore the present invention is not limited by the specific embodiments disclosed below.
It should be noted that it can directly on the other element when element is referred to as " being fixed on " another element
Or there may also be elements placed in the middle.When an element is considered as " connection " another element, it, which can be, is directly connected to
To another element or it may be simultaneously present centering elements.
Unless otherwise defined, all technical and scientific terms used herein and belong to technical field of the invention
The normally understood meaning of technical staff is identical.Term as used herein in the specification of the present invention is intended merely to description tool
The purpose of the embodiment of body, it is not intended that in the limitation present invention.Term " and or " used herein includes one or more phases
Any and all combinations of the listed item of pass.
For traditional slide switch poor reliability and the excessive problem in equipment inner space is occupied, the present invention proposes one kind
Electronic equipment.The electronic equipment can be smart phone, tablet computer etc..
Referring to FIG. 1, illustrating the electronic equipment of one embodiment of the invention, including shell 10, setting are in 10 outside of shell
Slide switch 20, the magnetic element 30 that is mounted on slide switch 20, and multiple Magnetic Sensors being arranged in shell 10.Magnetic
Sensor is converted to electric signal to sense change of magnetic field strength, and by this variation.Magnetic Sensor can use hall sensing
Device etc..
Specifically, slide switch 20 can be the lateral surface for being slidably arranged in shell 10.When slide switch 20 slides
Electronic equipment can be made to be in different operating modes, realize different functions.For example, electronic equipment is smart phone, operation
It can control the opening and closing of flashlight function when slide switch 20, or realize the functions such as screen locking, volume adjustment.Sliding is opened
Closing when 20 opposite shells 10 slide drives magnetic element 30 to move, and makes magnetic element 30 in the sliding scale of slide switch 20
With multiple operating positions, different functions is realized.
Magnetic Sensor is located inside shell 10, can be set on the cell phone mainboard inside shell 10, with cell phone mainboard
On controller communication connection.When slide switch 20 slides, magnetic element 30 switches between different operating positions, such magnetic
The magnetic field strength that sensor detects is different, so as to export different sensing datas.Sensor by will acquire as a result,
The data threshold range of data and pre-set sensor compares, it is possible to determine that the gear of slide switch 20, thus by electronics
Equipment is adjusted to corresponding operating mode.The electronic equipment of the present embodiment incudes the sliding of slide switch by Magnetic Sensor
Movement does not need complicated and accurate mechanical structure, guarantees reliability, and it is small to occupy equipment inner space.
The number of Magnetic Sensor is 2 or more, and magnetic element 30 corresponding to the installation site of each Magnetic Sensor
Operating position is different.In other words, Magnetic Sensor is respectively set in shell 10 in the operating position of corresponding at least two.Thus, and only
Multiple gears that the Magnetic Sensor detection slide switch 20 at one is arranged are compared, the electronic equipment of the present embodiment it is possible to prevente effectively from
The interference of external magnetic field, and then prevent 20 disabler of slide switch.It is to be appreciated that corresponding in Magnetic Sensor herein
The line at the center of the heart and magnetic element 30 is parallel with the width direction of shell 10, can also be certain angle certainly.
For example, as shown in Figure 1 to Figure 3, slide switch 20 has the gear of upper, middle and lower 3, magnetic element 30 has 3 works
Make position, from bottom to top respectively lower position, middle position and upper limit position.2 Magnetic Sensors are equipped in shell 10, including
First Magnetic Sensor 410 of corresponding lower limit position setting, corresponding middle position are provided with the second Magnetic Sensor 420.
As shown in Figure 1, slide switch 20 is in lower gear, magnetic element 30 is in its lower position, can obtain at this time
The sensing data of one Magnetic Sensor 410 output is simultaneously compared with preset data threshold range.As shown in Fig. 2, working as slide switch
20 by lower gear upward sliding to middle gear, when magnetic element 30 being made to move to middle position, can obtain the second Magnetic Sensor 420
The sensing data of output is simultaneously compared with preset data threshold range.As shown in Figure 3, when 20 middle gear of slide switch continue to
On slide into gear, when magnetic element 30 moves to its upper limit position, can obtain the first Magnetic Sensor 410 and the second magnetic sensing
The sum of sensing data that device 420 exports will simultaneously be compared with preset data threshold range.
According to some embodiments of the present invention, the number of the Magnetic Sensor is less than the number of operating position.For example, can be with
It is Magnetic Sensor not to be correspondingly arranged at some operating position, and other operating positions are correspondingly arranged on magnetic sensing
Device.The number of Magnetic Sensor is 2, and the number of the operating position of magnetic element 30 is 3, and the number of Magnetic Sensor is less than magnetism
The number of the operating position of element 30.When slide switch 20 drives magnetic element 30 to move to the position, using others
Magnetic Sensor output data, and then judge the gear of slide switch 20, it equally can be realized the Working mould of adjustment electronic equipment
Formula.In this way, in the case where avoiding the interference of external magnetic field, reduce the number of Magnetic Sensor, reduce structure complexity and at
This.As shown in Figure 1 to Figure 3, when slide switch 20 has 3 gears in upper, middle and lower, the upper limit position of magnetic element 30 is not
It is correspondingly arranged Magnetic Sensor.When slide switch 20 slides into upper gear, although magnetic element 30 apart from Magnetic Sensor farther out,
By acquiring the data of the first Magnetic Sensor 410 and the second Magnetic Sensor 420 simultaneously, collected Magnetic Sensor is still ensured that
The stability of sensing data.
According to some embodiments of the present invention, the magnetic element 30 is sealed in inside slide switch.As shown in Figure 1, magnetic
Property element 30 be inside positioned at slide switch 20, surrounded by the shell of slide switch 20, therefore there is preferable waterproof performance,
Reliability is preferable.In addition, slide switch 20, which can be, is exposed to shell partially into inside shell 10, reducing slide switch 20
The volume of part outside body 10, conducive to the miniaturization for realizing electronic equipment.Further, magnetic element 30 can follow sliding
Switch 20 partly or entirely enters inside shell 10, further protects magnetic element to be also able to achieve using shell 10
30。
Further, magnetic element 30 is permanent magnet.In the present embodiment, stable magnetic field is provided preferably by permanent magnet,
Also other magnetic devices can be used.
Based on the above principles, one embodiment of the invention also proposes a kind of method for adjusting electronic device works mode.Ginseng
The step of Fig. 4, the method for adjustment electronic device works mode, details are as follows.
S100, after slide switch is slided, obtain Magnetic Sensor output sensing data and judge the sensor
The data threshold range that data are fallen into.
When slide switch switches before different stalls, the operating position of magnetic element 30 also changes therewith, thus magnetic passes
The magnetic field strength that sensor detects is different, to export different sensing datas.Sensing data can be Magnetic Sensor
Output voltage.Therefore, magnetic sensor data when being slided by test slide switch 20 corresponding to different stalls, can map
Relationship between magnetic sensor data corresponding to 20 working condition of slide switch out.It is opened in this way, sliding can be preset out
The data threshold range for closing 20 Magnetic Sensors corresponding in different stalls, matches with the gear of slide switch 20.When
After judging whether the sensing data of the Magnetic Sensor got falls into corresponding data threshold range, it can obtain sliding and open
Close the foundation of 20 working condition and the operating mode as adjustment electronic equipment.
S120, the operating mode of electronic equipment is adjusted to and the data threshold range according to the data threshold range
Matched operating mode.Electronic equipment can set different operating modes for different data threshold ranges, and sliding in this way is opened
When pass is slided between different stalls, the operating mode of electronic equipment can be correspondingly adjusted.
Further illustrate how method of the invention is implemented below by way of a specific embodiment.With slide switch
With being illustrated for the gear of upper, middle and lower 3, Magnetic Sensor includes the first Magnetic Sensor 410 and the second Magnetic Sensor 420,
Data threshold range includes the first threshold range, the second threshold range and third threshold range at this time, and the operating mode includes
Corresponding first operating mode, the second operating mode and third operating mode.For example, when electronic equipment is smart phone,
First operating mode can be screen locking pattern, and the second operating mode can be screen locking and open torch mode, third Working mould
Formula can be bright screen and close torch mode.When slide switch slides between different stalls, the operating mode of electronic equipment
It can correspondingly be adjusted.
As shown in Figure 1, slide switch 20 is in lower gear, the position of magnetic element 30 is corresponding with the first Magnetic Sensor, this
When obtain the first Magnetic Sensor 410 output sensing data and judge whether to fall into first threshold range.It is then to adjust
The operating mode of electronic equipment is the first operating mode.First Magnetic Sensor 410 and the second Magnetic Sensor 420 can be Hall
Sensor, sensing data can be the output voltage of Hall sensor.
As shown in Fig. 2, the position of magnetic element 30 and the second magnetic sense when slide switch 20 moves up to middle gear
Device 420 is corresponding, obtains the sensing data of the second Magnetic Sensor 420 output at this time and judges whether to fall into the second threshold values model
It encloses.It is that the operating mode of electronic equipment is then adjusted to the second operating mode by the first operating mode.
As shown in figure 3, when slide switch 20 is continued to slide up by middle gear and reaches upper gear, available first
The sum of Magnetic Sensor 410 and the sensing data of the second Magnetic Sensor 420 output simultaneously judge whether the third threshold range.Such as
It is that the operating mode of electronic equipment is then adjusted to third operating mode by the second operating mode.
The above method maps different operating modes using the data threshold values of Magnetic Sensor, thus at 20 grades of slide switch
The operating mode that electronic equipment is adjusted when the variation of position, does not need complicated mechanical switch structure, conducive to answering for electronic equipment is reduced
Miscellaneous degree and cost.In addition, being exported in different gears using different Magnetic Sensors and/or different number of Magnetic Sensor
Sensing data, it is possible to prevente effectively from the interference of external magnetic field, prevents 20 disabler of slide switch.
Each technical characteristic of above embodiments can be combined arbitrarily, for simplicity of description, not to above-described embodiment
In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lance
Shield all should be considered as described in this specification.
Only several embodiments of the present invention are expressed for above embodiments, and the description thereof is more specific and detailed, but can not
Therefore it is construed as limiting the scope of the patent.It should be pointed out that for those of ordinary skill in the art,
Under the premise of not departing from present inventive concept, various modifications and improvements can be made, and these are all within the scope of protection of the present invention.
Therefore, the scope of protection of the patent of the invention shall be subject to the appended claims.
Claims (10)
1. a kind of electronic equipment, which is characterized in that including
Shell;
The outside of shell is arranged in slide switch, and magnetic element is equipped on the slide switch, and the magnetic element is sliding
There are multiple operating positions in the sliding scale of switch;
Wherein, there is more than two Magnetic Sensors, magnetism corresponding to the installation site of each Magnetic Sensor in the shell
The operating position of element is different.
2. electronic equipment according to claim 1, which is characterized in that the number of the Magnetic Sensor is less than operating position
Number.
3. electronic equipment according to claim 2, which is characterized in that the multiple operating position include lower position, on
Extreme position, and the middle position between the extreme position and upper limit position, the shell is interior to be equipped with one and the lower limit
The corresponding Magnetic Sensor in position and a Magnetic Sensor corresponding with the middle position.
4. electronic equipment according to claim 1, which is characterized in that the magnetic element is sealed in inside slide switch.
5. electronic equipment according to claim 1, which is characterized in that the magnetic element is permanent magnet.
6. electronic equipment according to claim 1-5, which is characterized in that the Magnetic Sensor is hall sensing
Device.
7. a kind of method for adjusting electronic device works mode, which is characterized in that comprising steps of
After slide switch is slided, obtains the sensing data of Magnetic Sensor output and judge that the sensing data is fallen into
Data threshold range;
The operating mode of electronic equipment is adjusted to and the matched work of data threshold range according to the data threshold range
Operation mode.
8. the method according to the description of claim 7 is characterized in that the data threshold values includes the first threshold range, the second valve
It is worth range and third threshold range, the operating mode includes corresponding first operating mode, the second operating mode and third
Operating mode.
9. according to the method described in claim 8, it is characterized in that, obtaining the sensing data of Magnetic Sensor output and judging institute
State the data threshold range that sensing data is fallen into, comprising:
It obtains the sensing data of the first Magnetic Sensor output and judges whether to fall into first threshold range;Obtain the second magnetic
The sensing data of sensor output simultaneously judges whether to fall into second threshold range, the first Magnetic Sensor of acquisition and the second magnetic
The sum of sensing data of sensor output simultaneously judges whether the third threshold range.
10. the method according to the description of claim 7 is characterized in that the sensing data is the output electricity of Hall sensor
Pressure.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811481428.7A CN109819072A (en) | 2018-12-05 | 2018-12-05 | Electronic equipment and its operating mode method of adjustment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811481428.7A CN109819072A (en) | 2018-12-05 | 2018-12-05 | Electronic equipment and its operating mode method of adjustment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109819072A true CN109819072A (en) | 2019-05-28 |
Family
ID=66601628
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811481428.7A Pending CN109819072A (en) | 2018-12-05 | 2018-12-05 | Electronic equipment and its operating mode method of adjustment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109819072A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114521163A (en) * | 2019-11-14 | 2022-05-20 | 喜利得股份公司 | Method for open and closed loop control of a power tool |
WO2024041144A1 (en) * | 2022-08-24 | 2024-02-29 | Oppo广东移动通信有限公司 | Non-contact switch and electronic device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1725093A (en) * | 2004-07-23 | 2006-01-25 | 乐金电子(中国)研究开发中心有限公司 | Switch assembly |
CN101377717A (en) * | 2008-10-08 | 2009-03-04 | 深圳华为通信技术有限公司 | Push button input device, terminal and method |
EP2041765B1 (en) * | 2006-07-12 | 2012-05-02 | Schneider Electric Industries S.A.S. | Switching device including a moving ferromagnetic part |
CN103744471A (en) * | 2013-12-31 | 2014-04-23 | 上海华勤通讯技术有限公司 | Wearable equipment key and circuit thereof |
CN107102743A (en) * | 2016-02-23 | 2017-08-29 | 宏达国际电子股份有限公司 | Electronic installation and key-press module |
-
2018
- 2018-12-05 CN CN201811481428.7A patent/CN109819072A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1725093A (en) * | 2004-07-23 | 2006-01-25 | 乐金电子(中国)研究开发中心有限公司 | Switch assembly |
EP2041765B1 (en) * | 2006-07-12 | 2012-05-02 | Schneider Electric Industries S.A.S. | Switching device including a moving ferromagnetic part |
CN101377717A (en) * | 2008-10-08 | 2009-03-04 | 深圳华为通信技术有限公司 | Push button input device, terminal and method |
CN103744471A (en) * | 2013-12-31 | 2014-04-23 | 上海华勤通讯技术有限公司 | Wearable equipment key and circuit thereof |
CN107102743A (en) * | 2016-02-23 | 2017-08-29 | 宏达国际电子股份有限公司 | Electronic installation and key-press module |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114521163A (en) * | 2019-11-14 | 2022-05-20 | 喜利得股份公司 | Method for open and closed loop control of a power tool |
WO2024041144A1 (en) * | 2022-08-24 | 2024-02-29 | Oppo广东移动通信有限公司 | Non-contact switch and electronic device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109819072A (en) | Electronic equipment and its operating mode method of adjustment | |
CN103200291B (en) | A kind of mobile terminal and detection method realizing folding lid state-detection | |
CN103943410A (en) | Automatic switchover switching circuit based on magnetic latching relay | |
CN111489467A (en) | Intelligent door lock, system and unlocking method based on UWB | |
CN106226579A (en) | It is automatically adjusted the current-to-voltage converting circuit of range | |
CN213562607U (en) | Automatic arm lifting and containing device and automatic moxibustion equipment | |
CN201657046U (en) | Mobile terminal and opening and closing detector thereof | |
CN205264969U (en) | Electric connector and vehicle | |
US8249674B2 (en) | Portable electronic device | |
CN211473721U (en) | Wisdom storehouse pipe lock | |
CN209627646U (en) | A kind of novel intelligent charging bluetooth earphone box | |
CN202545398U (en) | Cartridge valve structure with electronic induction switch | |
CN209230666U (en) | A kind of portable air quality monitor for air purifier | |
CN111599047A (en) | Intelligent door lock, system and door closing method based on UWB | |
CN207585519U (en) | A kind of breaker hydraulic disk spring mechanism disc spring decrement self-operated measuring unit | |
CN203377173U (en) | Relay structure for automobile socket | |
CN103514732B (en) | Control method and control device as well as control system of electronic equipment | |
CN102292966A (en) | Illumination detection method, flip-type electronic device and program | |
CN206331254U (en) | Modular combination table | |
CN2892778Y (en) | Integrated elevator smart card controller utilizing ARM processor | |
EP2511890B1 (en) | Operating unit | |
CN204925653U (en) | Load fingerprint identification module's electronic watch | |
CN101485521A (en) | Automatic control type multimedia platform and method for realizing the same | |
CN210377830U (en) | Multi-path low-voltage carrier communication copying and controlling switching device | |
CN106095062A (en) | A kind of electronic equipment and the method switching its duty |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190528 |
|
RJ01 | Rejection of invention patent application after publication |