CN108712528A - Processing method, device, storage medium and the electronic equipment of information - Google Patents
Processing method, device, storage medium and the electronic equipment of information Download PDFInfo
- Publication number
- CN108712528A CN108712528A CN201810475556.4A CN201810475556A CN108712528A CN 108712528 A CN108712528 A CN 108712528A CN 201810475556 A CN201810475556 A CN 201810475556A CN 108712528 A CN108712528 A CN 108712528A
- Authority
- CN
- China
- Prior art keywords
- magnetic
- strength values
- field strength
- magnetic sensors
- groove
- 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.)
- Granted
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 26
- 230000015654 memory Effects 0.000 claims description 23
- 238000012545 processing Methods 0.000 claims description 15
- 238000000034 method Methods 0.000 claims description 7
- 238000012216 screening Methods 0.000 claims description 7
- 238000001914 filtration Methods 0.000 claims description 4
- 230000005389 magnetism Effects 0.000 claims description 4
- 230000006870 function Effects 0.000 description 15
- 238000010586 diagram Methods 0.000 description 10
- UQMRAFJOBWOFNS-UHFFFAOYSA-N butyl 2-(2,4-dichlorophenoxy)acetate Chemical compound CCCCOC(=O)COC1=CC=C(Cl)C=C1Cl UQMRAFJOBWOFNS-UHFFFAOYSA-N 0.000 description 9
- 238000005070 sampling Methods 0.000 description 9
- 238000004590 computer program Methods 0.000 description 7
- 230000005611 electricity Effects 0.000 description 4
- 239000004973 liquid crystal related substance Substances 0.000 description 4
- 238000013461 design Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 239000011521 glass Substances 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 239000002184 metal Substances 0.000 description 2
- 239000004033 plastic Substances 0.000 description 2
- 229920003023 plastic Polymers 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 210000004556 brain Anatomy 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 239000000919 ceramic Substances 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000011982 device technology Methods 0.000 description 1
- 230000006698 induction Effects 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 239000007788 liquid Substances 0.000 description 1
- 239000000696 magnetic material Substances 0.000 description 1
- 238000007430 reference method Methods 0.000 description 1
- 229910052594 sapphire Inorganic materials 0.000 description 1
- 239000010980 sapphire Substances 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/02—Constructional features of telephone sets
- H04M1/0202—Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
- H04M1/026—Details of the structure or mounting of specific components
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Measuring Magnetic Variables (AREA)
- Telephone Function (AREA)
Abstract
The present invention is processing method, device, storage medium and the electronic equipment of information.The embodiment of the present application on the frame of the electronic equipment by being arranged groove, it is provided with magnetic sensors in the electronic equipment, it is provided with magnetic part in the groove so that the magnetic part is slided along the groove, obtain several magnetic field intensity information, the magnetic field intensity information includes the correspondence of field strength values and the field strength values and the number for the magnetic sensors for obtaining the field strength values, the magnetic field intensity that the magnetic sensors senses the magnetic part obtains the field strength values, filter out the number of the corresponding magnetic sensors of maximum value of the field strength values, volume is adjusted according to the number of the magnetic sensors, thus by the sliding of magnetic part in a groove to adjust volume, it avoids and is opening up the problem of through-hole causes feed liquor on shell, realize the water-proof function of electronic equipment.
Description
Technical field
This application involves electronic equipment control technology field more particularly to a kind of processing method of information, device, storage Jie
Matter and electronic equipment.
Background technology
Currently, with the continuous development of electronic device technology, the function of electronic equipment such as mobile phone is stronger and stronger, Yong Huke
To realize the control of volume by electronic equipment side key.But in the prior art, it is generally required that in electronic equipment side
Through-hole is arranged in frame, and setting physical button thus causes liquid and be easy to pass through entity to carry out volume adjustment in through-holes
Gap enters electronic equipment internal between button and through-hole, leads to the damage of electronic equipment.Therefore, how to design side key with
Realize that the waterproof of electronic equipment is current urgent problem to be solved.
Invention content
The embodiment of the present application provides a kind of processing method of information, device, storage medium and electronic equipment, can promote electricity
The control efficiency of sub- equipment.
A kind of processing method of information, is applied to electronic equipment, be arranged on the frame of the electronic equipment it is fluted, it is described
It is provided with magnetic sensors in electronic equipment, is provided with magnetic part in the groove so that the magnetic part is along the groove
Sliding, the treating method comprises:
Obtain several magnetic field intensity information, the magnetic field intensity information include field strength values and the field strength values with
The correspondence of the number of the magnetic sensors of the field strength values is obtained, the magnetic sensors senses the magnetic part
Magnetic field intensity obtain the field strength values;
Filter out the number of the corresponding magnetic sensors of maximum value of the field strength values;
Volume is adjusted according to the number of the magnetic sensors.
A kind of processing unit of information, including:
Acquisition module, for obtaining several magnetic field intensity information, the magnetic field intensity information includes field strength values and institute
State the correspondence of field strength values and the number for the magnetic sensors for obtaining the field strength values, the magnetic sensors sense
The magnetic field intensity for surveying the magnetic part obtains the field strength values;
Screening module, the number of the corresponding magnetic sensors of maximum value for filtering out the field strength values;
Adjustment module, for adjusting volume according to the number of the magnetic sensors.
A kind of storage medium, is stored with a plurality of instruction in the storage medium, described instruction be suitable for by processor load with
Execute the processing method of foregoing information.
A kind of electronic equipment, including:
Shell, the shell side frame have groove;
Magnetic sensors, the magnetic sensors are set in the shell, and positioned at the bottom wall of the groove towards institute
State the side in shell;
Magnetic auxiliary section, the magnetism auxiliary section includes magnetic part and gomphosis part, and the gomphosis part is embedded in institute
It states to be slided along the groove in groove, the magnetic part is set to the gomphosis part towards the one of the groove bottom wall
Side;
Memory is set in shell, for storing instruction and data;And
Processor is set in shell, the processing method for executing foregoing information.
The embodiment of the present application is provided with magnetic by the way that groove is arranged on the frame of the electronic equipment in the electronic equipment
Inductor is provided with magnetic part in the groove so that the magnetic part is slided along the groove, obtains several magnetic fields
Strength information, the magnetic field intensity information include field strength values and the field strength values and the acquisition field strength values
The correspondence of the number of magnetic sensors, the magnetic field intensity that the magnetic sensors senses the magnetic part obtain the magnetic
Field intensity value filters out the number of the corresponding magnetic sensors of maximum value of the field strength values, according to the magnetic field induction
The number of device adjusts volume, to avoid and be opened up on shell to adjust volume by the sliding of magnetic part in a groove
Through-hole causes the problem of feed liquor, realizes the water-proof function of electronic equipment.
Description of the drawings
Below in conjunction with the accompanying drawings, by the specific implementation mode detailed description to the application, the technical solution of the application will be made
And other beneficial effects are apparent.
Fig. 1 is the first structural schematic diagram of electronic equipment provided by the embodiments of the present application.
Fig. 2 is second of structural schematic diagram of electronic equipment provided by the embodiments of the present application.
Fig. 3 is the portions the A enlarged drawing for the electronic equipment that Fig. 1 is provided.
Fig. 4 is the partial sectional view in the first direction of the electronic equipment that Fig. 1 is provided.
Fig. 5 is the partial sectional view of the first embodiment in second of direction of the electronic equipment that Fig. 1 is provided
Fig. 6 is the partial sectional view of second of embodiment in second of direction of the electronic equipment that Fig. 1 is provided.
Fig. 7 is the first flow diagram of the processing method of information provided by the embodiments of the present application.
Fig. 8 is second of flow diagram of the processing method of information provided by the embodiments of the present application.
Fig. 9 is the first module diagram of the processing unit of information provided by the embodiments of the present application.
Figure 10 is second of module diagram of the processing unit of information provided by the embodiments of the present application.
Figure 11 is the third structural schematic diagram of electronic equipment provided by the embodiments of the present application.
Figure 12 is the 4th kind of structural schematic diagram of electronic equipment provided by the embodiments of the present application.
Specific implementation mode
Schema is please referred to, wherein identical component symbol represents identical component, the principle of the application is to implement one
It is illustrated in computing environment appropriate.The following description be based on illustrated by the application specific embodiment, should not be by
It is considered as limitation the application other specific embodiments not detailed herein.
Term as used herein " module " can regard the software object to be executed in the arithmetic system as.It is described herein
Different components, module, engine and service can regard as the objective for implementation in the arithmetic system.And device as described herein
And method is preferably implemented in the form of software, can also be implemented on hardware certainly, in the application protection domain
Within.
Concrete analysis explanation is carried out below.
In the present embodiment, it will be described from the angle of electronic equipment, the electronic equipment can be mobile phone, tablet electricity
Brain, palm PC (PDA, Personal Digital Assistant) etc..
With reference to figure 1, Fig. 1 is the structural schematic diagram of electronic equipment provided by the embodiments of the present application.Wherein, electronic equipment 100
Including cover board 10, display screen 20, circuit board 30 and shell 40.
Cover board 10 is installed on display screen 20, to cover display screen 20.Cover board 10 can be transparent glass cover plate.At some
In embodiment, cover board 10 can be the glass cover-plate made of the materials such as sapphire.
Display screen 20 is mounted on shell 40, to form the display surface of electronic equipment 100.In some embodiments, it shows
Screen 20 includes display area 21 and non-display area 22.Wherein, display area 21 is for showing the information such as image, text.It is non-aobvious
Show that region 22 does not show information.Non-display area 22 can be used for being arranged some functional units, such as camera, fingerprint recognition mould
The functional units such as group.In some embodiments, the non-display area 22 may include spaced multiple regions.For example,
Non-display area 22 may include positioned at two regions of 21 upper and lower part of the display area.
In some embodiments, display screen 20 can be displayed in full screen.That is, display screen 20 only includes display area 21, and
Do not include non-display area, as shown in Figure 2.
In some embodiments, display screen 20 can be liquid crystal display (Liquid Crystal Display, LCD) or
Person's organic light-emitting diode (OLED) display screen (Organic Light-Emitting Diode, OLED).
Circuit board 30 is mounted on inside shell 40.Circuit board 30 can be the mainboard of electronic equipment 100.It can on circuit board 30
To be integrated with the functional units such as camera and processor.Meanwhile display screen 20 can be electrically connected to circuit board 30.
In some embodiments, it is provided with display control circuit on circuit board 30.The display control circuit is to display screen
20 output electric signals, information is shown with control display screen 20.
Shell 40 is used to form the exterior contour of electronic equipment 100.The material of shell 40 can be plastics or metal.Shell
40 can be integrally formed, and can also be divided into several parts and be separately formed, then fit together again.
Fig. 3-6 is please referred to, forms multiple frames 41 on the periphery of the shell 40.It is arranged on the frame 41 fluted
42。
The groove 42 has opening 421 and bottom wall 422.The width D 1 of the opening 421 is less than the width of the bottom wall 422
Spend D2.Referring to Fig. 5, the interface of the groove 42 can be trapezoidal.
Referring to Fig. 6, the groove 42 flexible design, the groove 42 can also have first according to actual needs
Holding part 423 and the second holding part 424.First holding part 423 towards it is described opening 421.First holding part, 423 court
To the direction of the bottom wall 422 far from the groove 42.Second holding part 424 is towards the bottom wall 422.Described first is accommodating
The width D 3 in portion 423 is less than the width D 4 of second holding part 424.
The shape of the groove 42 is not limited to shown in Fig. 5-6, can also be flexibly arranged according to actual needs.
The electronic equipment 100 further includes magnetic sensors 43 and magnetic auxiliary section 44.The magnetic sensors 43 is arranged
In in the shell 40, and positioned at the bottom wall 422 of the groove 42 towards the side in the shell 40.
The magnetism auxiliary section 44 includes magnetic part 441 and gomphosis part 442.The gomphosis part 442 is embedded in institute
It states in groove 42 to be slided along the groove 42.The magnetic part 441 is set to the gomphosis part 442 towards the groove
The side of 42 bottom walls 422.The magnetic sensors 43 is arranged along the direction that the groove 42 extends.The magnetic part 441 can
Think magnetic material, such as magnet.The gomphosis part 442 can be plastics, metal or ceramics etc..
The gomphosis part 442 includes first part 4421 and second part 4422.The second part 4422 is placed in
In the groove 42, the first part 4421 is located at outside groove 42.The second part 4422 is towards the first part
The width D 5 of 4421 one end is less than width D 6 of the second part 4422 towards one end of the bottom wall 422 of the groove 42.
Referring to Fig. 5, the interface of the second part 4422 can be trapezoidal.
Referring to Fig. 6, the second part 4422 can also flexible design according to actual needs, the second part 4422
May include the first branch 4422a and the second branch 4422b.The first branch 4422a is connected to the first part 4421
Between the second branch 4422b.The width D 7 of the first branch 4422a is less than the width D 8 of the first part 4421
With the width D 9 of the second branch 4422b.The first branch 4422a is located at first holding part 423.Described second point
Portion 4422b is located at second holding part 424.The shape of the second part 4422 is not limited to shown in Fig. 5-6, can be with
Flexibly setting according to actual needs.
User can be by controlling first part 4421 so that the magnetism auxiliary section 44 is slided along the groove 42.
The magnetic part 441 is located at the second part 4422 towards the side of the bottom wall 422 of the groove 42.
Referring to Fig. 7, Fig. 7 is the first flow chart of the processing method of information provided by the embodiments of the present application.It is specific and
Speech, the method includes:
Step S101:Several magnetic field intensity information are obtained, the magnetic field intensity information includes field strength values and the magnetic
The correspondence of field intensity value and the number for the magnetic sensors 43 for obtaining the field strength values, the magnetic sensors 43 are felt
The magnetic field intensity for surveying the magnetic part 441 obtains the field strength values.
It should be noted that the magnetic sensors 43 can be 6, or 8,10 etc., the magnetic field sense
It answers the quantity of device 43 not limit, can flexibly be arranged according to actual needs.
The magnetic sensors 43 may include wire portion 431, current detecting part 432 and field strength calculating part 433.It is described to lead
The extending direction in line portion 431 is vertical with the extending direction of the groove 42.The magnetic part 441 along the groove 42 move with
So that the wire portion 431 generates electric current, the electric current generated in the wire portion 431 is detected by the current detecting part 432
Current value, the field strength calculating part 433 is worth to the field strength values according to the electric current.
From in practical application, prefixed time interval, such as 100 milliseconds, 150 milliseconds or 200 milliseconds can be preset
Deng carrying out the sampling of magnetic field intensity information according to prefixed time interval, such as 100 milliseconds of samplings are primary, 150 milliseconds of samplings are primary
Or 200 milliseconds of samplings are primary.Several magnetic sensors 43 are carried out at the same time sampling, are believed with obtaining several magnetic field intensities
Breath.Each magnetic sensors 43 obtains a magnetic field intensity information.
Step S102:Filter out the number of the corresponding magnetic sensors of maximum value 43 of the field strength values.
Wherein, by being compared to the field strength values in several magnetic field intensity information, to obtain the magnetic
The maximum value of field intensity value, and then obtain the number of the corresponding magnetic sensors of the maximum value 43.
Referring to Fig. 8, the step S102 may include:
S1021:Obtain the maximum value of the field strength values.
S1022:According to the correspondence, the corresponding magnetic sensors of maximum value 43 of the field strength values is obtained
Number.
Step S103:Volume is adjusted according to the number of the magnetic sensors 43.
In one embodiment, the magnetic sensors 43 can be 11, and the magnetic sensors 43 is numbered,
It is followed successively by A-B-C-D-E-F- from one end of electronic equipment 100 towards the direction of the other end, the number of the magnetic sensors 43
G-H-I-J-K.The number A-B-C-D-E-F-G-H-I-J-K of the magnetic sensors 43 is corresponding in turn to the gradient of volume, described
Gradient can be 0%, 10%, 20%, 30%, 40%, 50%, 60%, 70%, 80%, 90% and 100%.The magnetic field sense
Answer the quantity of device 43 identical with the quantity of the gradient of the volume.
Can also include step S104 after the step S103.
Step S104:Remove the magnetic field intensity information.
After having adjusted volume every time, the magnetic field intensity information that electronic equipment 100 obtains removing before, then
Return to step S101.
The processing method of information provided by the embodiments of the present application, by the way that groove is arranged on the frame of the electronic equipment,
It is provided with magnetic sensors in the electronic equipment, is provided with magnetic part in the groove so that the magnetic part is described in
Groove slides, and obtains several magnetic field intensity information, the magnetic field intensity information includes field strength values and the field strength values
With the correspondence of the number for the magnetic sensors for obtaining the field strength values, the magnetic sensors senses the magnetic portion
The magnetic field intensity of part obtains the field strength values, filters out the corresponding magnetic sensors of maximum value of the field strength values
Number adjusts volume according to the number of the magnetic sensors, thus by the sliding of magnetic part in a groove to adjust sound
Amount, avoids and is opening up the problem of through-hole causes feed liquor on shell, realize the water-proof function of electronic equipment.
For ease of preferably implementing the processing method of information provided by the embodiments of the present application, the embodiment of the present application also provides one
The device of processing method of the kind based on above- mentioned information.Wherein the meaning of noun is identical with the processing method of above- mentioned information, specifically
Realize that details can be with the explanation in reference method embodiment.
Referring to Fig. 9, Fig. 9 is the first module diagram of the processing unit of information provided by the embodiments of the present application.Tool
For body, the processing unit 300 of described information includes:Acquisition module 301, screening module 302 and adjustment module 303.
For the acquisition module 301 for obtaining several magnetic field intensity information, the magnetic field intensity information includes magnetic field intensity
The correspondence of value and the field strength values and the number for the magnetic sensors 43 for obtaining the field strength values, the magnetic field
The magnetic field intensity that inductor 43 senses the magnetic part 441 obtains the field strength values.
It should be noted that the magnetic sensors 43 can be 6, or 8,10 etc., the magnetic field sense
It answers the quantity of device 43 not limit, can flexibly be arranged according to actual needs.
The acquisition module 301 may include preset time module 3011, can be used for presetting prefixed time interval,
According to prefixed time interval, each magnetic sensors 43 obtains a magnetic field intensity information.Such as 100 milliseconds, 150 milliseconds
Or 200 milliseconds etc., the sampling of magnetic field intensity information is carried out according to prefixed time interval, for example, 100 milliseconds of samplings are primary, 150
Millisecond sampling is primary or 200 milliseconds sample once.Several magnetic sensors 43 are carried out at the same time sampling, several to obtain
Magnetic field intensity information.Each magnetic sensors 43 obtains a magnetic field intensity information.
The screening module 302 is used to filter out the volume of the corresponding magnetic sensors of maximum value 43 of the field strength values
Number.
Wherein, the screening module 302 is by being compared the field strength values in several magnetic field intensity information,
To obtain the maximum value of the field strength values, and then obtain the number of the corresponding magnetic sensors of the maximum value 43.
Referring to Fig. 10, the screening module 302 may include judgment module 3021 and respective modules 3022.The judgement
Module 3021 is used to obtain the maximum value of the field strength values.The respective modules 3022 are used for according to the correspondence,
Obtain the number of the corresponding magnetic sensors of maximum value 43 of the field strength values.
The adjustment module 303 is used to adjust volume according to the number of the magnetic sensors 43.
In one embodiment, the magnetic sensors 43 can be 11, and the magnetic sensors 43 is numbered,
It is followed successively by A-B-C-D-E-F- from one end of electronic equipment 100 towards the direction of the other end, the number of the magnetic sensors 43
G-H-I-J-K.The number A-B-C-D-E-F-G-H-I-J-K of the magnetic sensors 43 is corresponding in turn to the gradient of volume, described
Gradient can be 0%, 10%, 20%, 30%, 40%, 50%, 60%, 70%, 80%, 90% and 100%.The magnetic field sense
Answer the quantity of device 43 identical with the quantity of the gradient of the volume.
The processing unit 300 of described information further includes removing module 304.The removing module 304 is for removing the magnetic
Field intensity information.After having adjusted volume every time, the module 304 of removing will remove the magnetic field intensity letter obtained before
Breath is then back to the step of execution obtains several magnetic field intensity information.
The processing unit of information provided by the embodiments of the present application, by the way that groove is arranged on the frame of the electronic equipment,
It is provided with magnetic sensors in the electronic equipment, is provided with magnetic part in the groove so that the magnetic part is described in
Groove slides, and obtains several magnetic field intensity information, the magnetic field intensity information includes field strength values and the field strength values
With the correspondence of the number for the magnetic sensors for obtaining the field strength values, the magnetic sensors senses the magnetic portion
The magnetic field intensity of part obtains the field strength values, filters out the corresponding magnetic sensors of maximum value of the field strength values
Number adjusts volume according to the number of the magnetic sensors, thus by the sliding of magnetic part in a groove to adjust sound
Amount, avoids and is opening up the problem of through-hole causes feed liquor on shell, realize the water-proof function of electronic equipment.
The embodiment of the present application also provides a kind of electronic equipment.1 is please referred to Fig.1, electronic equipment 100 further includes processor 501
And memory 502.Wherein, processor 501 is electrically connected with memory 502.
The processor 501 is the control centre of electronic equipment 100, is set using various interfaces and the entire electronics of connection
Standby various pieces by the computer program of operation or load store in memory 502, and are called and are stored in memory
Data in 502 execute the various functions of electronic equipment 100 and handle data, to carry out whole prison to electronic equipment 100
Control.The current detecting part 432 and the field strength calculating part 433 can be integrated in the processor 501.
The memory 502 can be used for storing software program and module, and processor 501 is stored in memory by operation
502 computer program and module, to perform various functions application and data processing.Memory 502 can include mainly
Storing program area and storage data field, wherein storing program area can storage program area, the computer needed at least one function
Program (such as sound-playing function, image player function etc.) etc.;Storage data field can be stored uses institute according to electronic equipment
The data etc. of establishment.In addition, memory 502 may include high-speed random access memory, can also include non-volatile memories
Device, for example, at least a disk memory, flush memory device or other volatile solid-state parts.Correspondingly, memory
502 can also include Memory Controller, to provide access of the processor 501 to memory 502.
In the embodiment of the present application, the processor 501 in electronic equipment 100 can be according to following step, by one or one
The corresponding instruction of process of a above computer program is loaded into memory 502, and is stored in by the operation of processor 501
Computer program in reservoir 502, it is as follows to realize various functions:
Obtain several magnetic field intensity information, the magnetic field intensity information include field strength values and the field strength values with
The correspondence of the number of the magnetic sensors of the field strength values is obtained, the magnetic sensors senses the magnetic part
Magnetic field intensity obtain the field strength values;
Filter out the number of the corresponding magnetic sensors of maximum value of the field strength values;
Volume is adjusted according to the number of the magnetic sensors.
In some embodiments, several magnetic field intensity information are obtained described, the magnetic field intensity information includes magnetic field
The correspondence of intensity value and the field strength values and the number for the magnetic sensors for obtaining the field strength values, the magnetic
In the step of magnetic field intensity that field inductor senses the magnetic part obtains the field strength values, according between preset time
Every each magnetic sensors obtains a magnetic field intensity information.
In some embodiments, the volume of the corresponding magnetic sensors of the maximum value for filtering out the field strength values
Number the step of include:
Obtain the maximum value of the field strength values;
According to the correspondence, the number of the corresponding magnetic sensors of maximum value of the field strength values is obtained.
In some embodiments, after described the step of adjusting volume according to the number of the magnetic sensors, also
Including:
Remove the magnetic field intensity information.
The embodiment of the present application provides a kind of electronic equipment, by the way that groove is arranged on the frame of the electronic equipment, institute
It states and is provided with magnetic sensors in electronic equipment, be provided with magnetic part in the groove so that the magnetic part is along described recessed
Slot slides, and obtains several magnetic field intensity information, the magnetic field intensity information include field strength values and the field strength values with
The correspondence of the number of the magnetic sensors of the field strength values is obtained, the magnetic sensors senses the magnetic part
Magnetic field intensity obtain the field strength values, filter out the volume of the corresponding magnetic sensors of maximum value of the field strength values
Number, volume is adjusted according to the number of the magnetic sensors, thus by the sliding of magnetic part in a groove to adjust volume,
It avoids and is opening up the problem of through-hole causes feed liquor on shell, realize the water-proof function of electronic equipment.
Also referring to Figure 12, in some embodiments, electronic equipment 100 can also include:Display 503, radio frequency
Circuit 504, voicefrequency circuit 505 and power supply 506.Wherein, wherein display 503, radio circuit 504, voicefrequency circuit 505 with
And power supply 506 is electrically connected with processor 501 respectively.
The display 503 is displayed for information input by user or is supplied to the information of user and various figures
Shape user interface, these graphical user interface can be made of figure, text, icon, video and its arbitrary combination.Display
503 may include display panel, in some embodiments, liquid crystal display (Liquid Crystal may be used
Display, LCD) or the forms such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) match
Set display panel.
The radio circuit 504 can be used for transceiving radio frequency signal, with by radio communication with the network equipment or other electricity
Sub- equipment establishes wireless telecommunications, the receiving and transmitting signal between the network equipment or other electronic equipments.
The voicefrequency circuit 505 can be used for providing the audio between user and electronic equipment by loud speaker, microphone
Interface.
The power supply 506 is used to all parts power supply of electronic equipment 100.In some embodiments, power supply 506
Can be logically contiguous by power-supply management system and processor 501, to realize management charging by power-supply management system, put
The functions such as electricity and power managed.
Although being not shown in Figure 12, electronic equipment 100 can also include camera, bluetooth module etc., and details are not described herein.
The embodiment of the present application also provides a kind of storage medium, and the storage medium is stored with computer program, when the meter
When calculation machine program is run on computers so that the computer executes the processing method of the information in any of the above-described embodiment.
In the embodiment of the present application, storage medium can be magnetic disc, CD, read-only memory (Read OnlyMemory,
ROM) or random access memory (Random Access Memory, RAM) etc..
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment
Point, it may refer to the associated description of other embodiment.
It should be noted that for the processing method of the information of the embodiment of the present application, this field common test personnel can
With understand realize the embodiment of the present application information processing method all or part of flow, be can by computer program come
Relevant hardware is controlled to complete, the computer program can be stored in a computer read/write memory medium, be such as stored in
It in the memory of electronic equipment, and is executed by least one processor in the electronic equipment, may include in the process of implementation
Such as the flow of the embodiment of the processing method of information.Wherein, the storage medium can be magnetic disc, CD, read-only memory, with
Machine access/memory body etc..
For the processing unit of the information of the embodiment of the present application, each function module can be integrated in a processing chip
In, can also be that modules physically exist alone, can also two or more modules be integrated in a module.It is above-mentioned
The form that hardware had both may be used in integrated module is realized, can also be realized in the form of software function module.It is described integrated
If module realized in the form of software function module and when sold or used as an independent product, one can also be stored in
In a computer read/write memory medium, the storage medium is for example read-only memory, disk or CD etc..
Processing method, device, storage medium and the electronic equipment for a kind of information that the embodiment of the present application is provided above
It is described in detail, specific examples are used herein to illustrate the principle and implementation manner of the present application, the above reality
The explanation for applying example is merely used to help understand the present processes and its core concept;Meanwhile for those skilled in the art,
According to the thought of the application, there will be changes in the specific implementation manner and application range, in conclusion in this specification
Hold the limitation that should not be construed as to the application.
Claims (16)
1. a kind of processing method of information is applied to electronic equipment, which is characterized in that be provided on the frame of the electronic equipment
Groove is provided with magnetic sensors in the electronic equipment, is provided with magnetic part in the groove so that the magnetic part
It slides, the treating method comprises along the groove:
Several magnetic field intensity information are obtained, the magnetic field intensity information includes field strength values and the field strength values and acquisition
The correspondence of the number of the magnetic sensors of the field strength values, the magnetic sensors sense the magnetic of the magnetic part
Field intensity obtains the field strength values;
Filter out the number of the corresponding magnetic sensors of maximum value of the field strength values;
Volume is adjusted according to the number of the magnetic sensors.
2. the processing method of information as described in claim 1, it is characterised in that:Several magnetic field intensity information, institute are obtained described
State the magnetic sensors that magnetic field intensity information includes field strength values and the field strength values and the acquisition field strength values
Number correspondence, the magnetic field intensity that the magnetic sensors senses the magnetic part obtains the field strength values
In step, according to prefixed time interval, each magnetic sensors obtains a magnetic field intensity information.
3. the processing method of information as described in claim 1, which is characterized in that the maximum for filtering out the field strength values
The step of being worth the number of corresponding magnetic sensors include:
Obtain the maximum value of the field strength values;
According to the correspondence, the number of the corresponding magnetic sensors of maximum value of the field strength values is obtained.
4. the processing method of information as described in claim 1, which is characterized in that in the number according to the magnetic sensors
After the step of adjusting volume, further include:
Remove the magnetic field intensity information.
5. a kind of processing unit of information, which is characterized in that including:
Acquisition module, for obtaining several magnetic field intensity information, the magnetic field intensity information includes field strength values and the magnetic
The correspondence of field intensity value and the number for the magnetic sensors for obtaining the field strength values, the magnetic sensors sense institute
The magnetic field intensity for stating magnetic part obtains the field strength values;
Screening module, the number of the corresponding magnetic sensors of maximum value for filtering out the field strength values;
Adjustment module, for adjusting volume according to the number of the magnetic sensors.
6. the processing unit of information as claimed in claim 5, which is characterized in that the acquisition module includes preset time mould
Block, for according to prefixed time interval, each magnetic sensors to obtain a magnetic field intensity information.
7. the processing unit of information as claimed in claim 5, which is characterized in that the screening module includes:
Judgment module, the maximum value for obtaining the field strength values;
Respective modules, for according to the correspondence, obtaining the corresponding magnetic sensors of maximum value of the field strength values
Number.
8. the processing unit of information as claimed in claim 5, which is characterized in that the processing unit of described information further includes:
Module is removed, for removing the magnetic field intensity information.
9. a kind of storage medium, it is characterised in that:A plurality of instruction is stored in the storage medium, described instruction is suitable for by handling
Device is loaded to execute the processing method of information according to any one of claims 1 to 4.
10. a kind of electronic equipment, which is characterized in that including:
Shell, the shell side frame have groove;
Magnetic sensors, the magnetic sensors are set in the shell, and positioned at the bottom wall of the groove towards the shell
Internal side;
Magnetic auxiliary section, the magnetism auxiliary section includes magnetic part and gomphosis part, and the gomphosis part is embedded in described recessed
To be slided along the groove in slot, the magnetic part is set to the gomphosis part towards the side of the groove bottom wall;
Memory is set in shell, for storing instruction and data;And
Processor is set in shell, the processing method for executing information according to any one of claims 1 to 4.
11. electronic equipment as claimed in claim 10, it is characterised in that:The magnetic sensors is along the side that the groove extends
To arrangement.
12. electronic equipment as claimed in claim 10, it is characterised in that:The width of the opening of the groove is less than the groove
Bottom wall width.
13. electronic equipment as claimed in claim 12, it is characterised in that:The gomphosis part includes first part and second
Point, the second part is placed in the groove, and the first part is located at outside groove.
14. electronic equipment as claimed in claim 13, it is characterised in that:The second part towards the first part one
The width at end is less than width of the second part towards one end of the groove bottom wall.
15. electronic equipment as claimed in claim 13, it is characterised in that:There is the groove the first holding part and second to house
Portion, first holding part are directed away from the direction of the bottom wall of the groove, and second holding part is towards the bottom of the groove
Wall, the width of first holding part are less than the width of second holding part.
16. electronic equipment as claimed in claim 15, it is characterised in that:The second part of the gomphosis part includes first point
Portion and the second branch, first branch are connected between the first part and second branch, first branch
Width is less than the width of the first part and second branch, and first branch is located at first holding part, described
Second branch is located at second holding part.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810475556.4A CN108712528B (en) | 2018-05-17 | 2018-05-17 | Information processing method and device, storage medium and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810475556.4A CN108712528B (en) | 2018-05-17 | 2018-05-17 | Information processing method and device, storage medium and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108712528A true CN108712528A (en) | 2018-10-26 |
CN108712528B CN108712528B (en) | 2020-03-06 |
Family
ID=63869190
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810475556.4A Expired - Fee Related CN108712528B (en) | 2018-05-17 | 2018-05-17 | Information processing method and device, storage medium and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108712528B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109799043A (en) * | 2019-01-23 | 2019-05-24 | 浙江工业职业技术学院 | A kind of electrical test system and its method |
CN112713038A (en) * | 2020-12-15 | 2021-04-27 | Oppo(重庆)智能科技有限公司 | Side key assembly for electronic equipment and electronic equipment with same |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1487766A (en) * | 2002-07-26 | 2004-04-07 | �ձ�������ʽ���� | Inputting equipment and mobile terminal |
CN101377717A (en) * | 2008-10-08 | 2009-03-04 | 深圳华为通信技术有限公司 | Push button input device, terminal and method |
CN201319591Y (en) * | 2008-12-24 | 2009-09-30 | 深圳市金肯科技有限公司 | Glide-type power gear regulating control switch |
WO2012029633A1 (en) * | 2010-08-30 | 2012-03-08 | Necカシオモバイルコミュニケーションズ株式会社 | Input device, and electronic apparatus provided with same |
CN104733202A (en) * | 2015-03-13 | 2015-06-24 | 广东欧珀移动通信有限公司 | Waterproof key structure and electronic device |
CN107017120A (en) * | 2017-05-18 | 2017-08-04 | 捷开通讯(深圳)有限公司 | A kind of electronic equipment and its key device |
CN107506098A (en) * | 2017-08-10 | 2017-12-22 | 维沃移动通信有限公司 | A kind of operating method of mobile terminal and mobile terminal |
CN206908676U (en) * | 2017-05-28 | 2018-01-19 | 上海爱优威软件开发有限公司 | Crawler type operating key and intelligent terminal |
-
2018
- 2018-05-17 CN CN201810475556.4A patent/CN108712528B/en not_active Expired - Fee Related
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1487766A (en) * | 2002-07-26 | 2004-04-07 | �ձ�������ʽ���� | Inputting equipment and mobile terminal |
CN101377717A (en) * | 2008-10-08 | 2009-03-04 | 深圳华为通信技术有限公司 | Push button input device, terminal and method |
CN201319591Y (en) * | 2008-12-24 | 2009-09-30 | 深圳市金肯科技有限公司 | Glide-type power gear regulating control switch |
WO2012029633A1 (en) * | 2010-08-30 | 2012-03-08 | Necカシオモバイルコミュニケーションズ株式会社 | Input device, and electronic apparatus provided with same |
CN104733202A (en) * | 2015-03-13 | 2015-06-24 | 广东欧珀移动通信有限公司 | Waterproof key structure and electronic device |
CN107017120A (en) * | 2017-05-18 | 2017-08-04 | 捷开通讯(深圳)有限公司 | A kind of electronic equipment and its key device |
CN206908676U (en) * | 2017-05-28 | 2018-01-19 | 上海爱优威软件开发有限公司 | Crawler type operating key and intelligent terminal |
CN107506098A (en) * | 2017-08-10 | 2017-12-22 | 维沃移动通信有限公司 | A kind of operating method of mobile terminal and mobile terminal |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109799043A (en) * | 2019-01-23 | 2019-05-24 | 浙江工业职业技术学院 | A kind of electrical test system and its method |
CN112713038A (en) * | 2020-12-15 | 2021-04-27 | Oppo(重庆)智能科技有限公司 | Side key assembly for electronic equipment and electronic equipment with same |
Also Published As
Publication number | Publication date |
---|---|
CN108712528B (en) | 2020-03-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10216318B2 (en) | Electronic device with protective case and operating method thereof | |
EP3065124B1 (en) | Mobile terminal | |
CN105094225B (en) | Mobile terminal | |
CN107181559B (en) | Processing method, device, storage medium and the terminal of radio frequency interference | |
CN110602391B (en) | Photographing control method and device, storage medium and electronic equipment | |
CN108924420A (en) | Image capturing method, device, medium, electronic equipment and model training method | |
CN104102378B (en) | Touch screen control method and its electronic equipment | |
CN106527785A (en) | Mobile terminal and control method for the mobile terminal | |
CN106710524A (en) | OLED panel, terminal and photosensitive control method | |
CN108712528A (en) | Processing method, device, storage medium and the electronic equipment of information | |
CN109189220A (en) | motor control method, device, storage medium and electronic equipment | |
CN109032484A (en) | Processing method, device, storage medium and the electronic equipment of split screen display available | |
CN107943534A (en) | Method for closing, device, storage medium and the electronic equipment of background application | |
CN107276685A (en) | Processing method, device, storage medium and the terminal of Radio frequency interference | |
CN108932057A (en) | Method of controlling operation thereof, device, storage medium and electronic equipment | |
CN103970909A (en) | Method and device for displaying tabs of browser | |
CN104024973A (en) | Modular electronic device system with a detachable display | |
CN108667969A (en) | Processing method, device, storage medium and the electronic equipment of information | |
CN108563357A (en) | Processing method, device, storage medium and the electronic equipment of touch information | |
CN107241147B (en) | Radio frequency interference processing method, device, storage medium and terminal | |
CN109085983A (en) | Method of controlling operation thereof, device, storage medium and electronic equipment | |
CN109743445B (en) | Application icon adjusting method and device, storage medium and electronic equipment | |
CN108519849A (en) | Processing method, device, storage medium and the electronic equipment of touch information | |
CN108735157A (en) | Light sensor processing method, device, storage medium and electronic equipment | |
CN108491146A (en) | Processing method, device, storage medium and the electronic equipment of touch information |
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 |
Granted publication date: 20200306 |