CN108712528B - Information processing method and device, storage medium and electronic equipment - Google Patents
Information processing method and device, storage medium and electronic equipment Download PDFInfo
- Publication number
- CN108712528B CN108712528B CN201810475556.4A CN201810475556A CN108712528B CN 108712528 B CN108712528 B CN 108712528B CN 201810475556 A CN201810475556 A CN 201810475556A CN 108712528 B CN108712528 B CN 108712528B
- Authority
- CN
- China
- Prior art keywords
- magnetic field
- field strength
- magnetic
- groove
- inductor
- 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
Links
- 230000010365 information processing Effects 0.000 title claims abstract description 25
- 238000003672 processing method Methods 0.000 title claims abstract description 21
- 238000000034 method Methods 0.000 claims description 15
- 238000012545 processing Methods 0.000 claims description 15
- 238000012216 screening Methods 0.000 claims description 12
- 238000001914 filtration Methods 0.000 claims description 2
- 230000006870 function Effects 0.000 description 11
- 238000004590 computer program Methods 0.000 description 9
- 238000010586 diagram Methods 0.000 description 8
- 239000007788 liquid Substances 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 3
- 239000007787 solid Substances 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 239000011521 glass Substances 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 239000002184 metal Substances 0.000 description 2
- 239000004033 plastic Substances 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 239000000919 ceramic Substances 0.000 description 1
- 238000004140 cleaning Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000011982 device technology Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000000696 magnetic material Substances 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
- 229910052594 sapphire Inorganic materials 0.000 description 1
- 239000010980 sapphire Substances 0.000 description 1
Images
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)
- Telephone Function (AREA)
- Measuring Magnetic Variables (AREA)
Abstract
The invention provides an information processing method, an information processing device, a storage medium and an electronic device. This application embodiment is through set up the recess on electronic equipment's the frame, be provided with the magnetic field inductor in the electronic equipment, be provided with magnetic part in the recess so that magnetic part follows the recess slides, acquires a plurality of magnetic field intensity information, the magnetic field intensity information include magnetic field intensity value with obtain the corresponding relation of the serial number of the magnetic field inductor of magnetic field intensity value, the magnetic field inductor sensing magnetic part's magnetic field intensity obtains magnetic field intensity value selects the serial number of the magnetic field inductor that the maximum value of magnetic field intensity value corresponds, according to the volume is adjusted to the serial number of magnetic field inductor to through the slip of magnetic part in the recess with adjust the volume, avoided seting up the problem that the through-hole caused the feed liquor on the casing, realized electronic equipment's waterproof function.
Description
Technical Field
The present application relates to the field of electronic device control technologies, and in particular, to an information processing method and apparatus, a storage medium, and an electronic device.
Background
At present, with the continuous development of electronic device technology, the functions of electronic devices such as mobile phones are more and more powerful, and users can control the volume through the side keys of the electronic devices. However, in the prior art, it is usually necessary to provide a through hole in a side frame of the electronic device and to provide a solid key in the through hole for volume adjustment, so that liquid is likely to enter the electronic device through a gap between the solid key and the through hole, resulting in damage to the electronic device. Therefore, how to design the side key to achieve the waterproof of the electronic device is an urgent problem to be solved at present.
Disclosure of Invention
The embodiment of the application provides an information processing method and device, a storage medium and an electronic device, which can improve the control efficiency of the electronic device.
A processing method of information is applied to electronic equipment, a groove is arranged on a frame of the electronic equipment, a magnetic field inductor is arranged in the electronic equipment, and a magnetic component is arranged in the groove so as to enable the magnetic component to slide along the groove, and the processing method comprises the following steps:
acquiring a plurality of pieces of magnetic field strength information, wherein the pieces of magnetic field strength information comprise magnetic field strength values and corresponding relations between the magnetic field strength values and numbers of magnetic field sensors for acquiring the magnetic field strength values, and the magnetic field sensors sense the magnetic field strength of the magnetic component to acquire the magnetic field strength values;
screening out the serial number of the magnetic field inductor corresponding to the maximum value of the magnetic field strength value;
and adjusting the volume according to the serial number of the magnetic field inductor.
An apparatus for processing information, comprising:
the magnetic field strength information comprises a magnetic field strength value and a corresponding relation between the magnetic field strength value and the number of a magnetic field inductor which obtains the magnetic field strength value, and the magnetic field inductor senses the magnetic field strength of the magnetic component to obtain the magnetic field strength value;
the screening module is used for screening the serial number of the magnetic field inductor corresponding to the maximum value of the magnetic field strength value;
and the adjusting module is used for adjusting the volume according to the serial number of the magnetic field inductor.
A storage medium having stored therein a plurality of instructions adapted to be loaded by a processor to perform a method of processing information as previously described.
An electronic device, comprising:
the shell side frame is provided with a groove;
the magnetic field inductor is arranged in the shell and positioned on one side, facing the shell, of the bottom wall of the groove;
a magnetic engagement portion including a magnetic member and an engagement member, the engagement member being engaged in the groove to slide along the groove, the magnetic member being provided on a side of the engagement member facing a bottom wall of the groove;
the memory is arranged in the shell and used for storing instructions and data; and
and the processor is arranged in the shell and used for executing the information processing method.
This application embodiment is through set up the recess on electronic equipment's the frame, be provided with the magnetic field inductor in the electronic equipment, be provided with magnetic part in the recess so that magnetic part follows the recess slides, acquires a plurality of magnetic field intensity information, the magnetic field intensity information include magnetic field intensity value with obtain the corresponding relation of the serial number of the magnetic field inductor of magnetic field intensity value, the magnetic field inductor sensing magnetic part's magnetic field intensity obtains magnetic field intensity value selects the serial number of the magnetic field inductor that the maximum value of magnetic field intensity value corresponds, according to the volume is adjusted to the serial number of magnetic field inductor to through the slip of magnetic part in the recess with adjust the volume, avoided seting up the problem that the through-hole caused the feed liquor on the casing, realized electronic equipment's waterproof function.
Drawings
The technical solution and other advantages of the present application will become apparent from the detailed description of the embodiments of the present application with reference to the accompanying drawings.
Fig. 1 is a first structural schematic diagram of an electronic device according to an embodiment of the present application.
Fig. 2 is a schematic structural diagram of a second electronic device according to an embodiment of the present application.
Fig. 3 is an enlarged view of a portion a of the electronic device provided in fig. 1.
Fig. 4 is a partial cross-sectional view of the electronic device provided in fig. 1 in a first orientation.
FIG. 5 is a partial cross-sectional view of the electronic device provided in FIG. 1 in a first implementation in a second orientation
FIG. 6 is a partial cross-sectional view of a second implementation of a second orientation of the electronic device provided in FIG. 1.
Fig. 7 is a first flowchart illustrating a method for processing information according to an embodiment of the present application.
Fig. 8 is a second flowchart illustrating an information processing method according to an embodiment of the present application.
Fig. 9 is a schematic block diagram of a first module of an information processing apparatus according to an embodiment of the present application.
Fig. 10 is a schematic block diagram of an information processing apparatus according to an embodiment of the present application.
Fig. 11 is a third schematic structural diagram of an electronic device according to an embodiment of the present application.
Fig. 12 is a fourth structural schematic diagram of an electronic device according to an embodiment of the present application.
Detailed Description
Referring to the drawings, wherein like reference numbers refer to like elements, the principles of the present application are illustrated as being implemented in a suitable computing environment. The following description is based on illustrated embodiments of the application and should not be taken as limiting the application with respect to other embodiments that are not detailed herein.
The term "module" as used herein may be considered a software object executing on the computing system. The different components, modules, engines, and services described herein may be viewed as implementation objects on the computing system. The apparatus and method described herein are preferably implemented in software, but may also be implemented in hardware, and are within the scope of the present application.
The following is a detailed description of the analysis.
In the present embodiment, description will be made from the perspective of an electronic device, which may be a mobile phone, a tablet computer, a Personal Digital Assistant (PDA), or the like.
Referring to fig. 1, fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure. The electronic device 100 includes a cover plate 10, a display 20, a circuit board 30, and a housing 40.
The cover plate 10 is mounted to the display screen 20 to cover the display screen 20. The cover plate 10 may be a transparent glass cover plate. In some embodiments, the cover plate 10 may be a glass cover plate made of a material such as sapphire.
The display screen 20 is mounted on the housing 40 to form a display surface of the electronic device 100. In some embodiments, the display screen 20 includes a display area 21 and a non-display area 22. The display area 21 is used for displaying information such as images and texts. The non-display area 22 does not display information. The non-display area 22 may be used to set some functional components, such as a camera, a fingerprint recognition module, and the like. In some embodiments, the non-display area 22 may include a plurality of areas spaced apart from each other. For example, the non-display area 22 may include two areas located at the upper and lower portions of the display area 21.
In some embodiments, the display screen 20 may be displayed full screen. That is, the display 20 includes only the display area 21 and does not include the non-display area, as shown in fig. 2.
In some embodiments, the Display 20 may be a Liquid Crystal Display (LCD) or an Organic Light-Emitting Diode (OLED) Display.
The circuit board 30 is mounted inside the housing 40. The circuit board 30 may be a motherboard of the electronic device 100. Functional components such as a camera and a processor may be integrated on the circuit board 30. Meanwhile, the display screen 20 may be electrically connected to the circuit board 30.
In some embodiments, display control circuitry is disposed on the circuit board 30. The display control circuit outputs an electrical signal to the display screen 20 to control the display screen 20 to display information.
The housing 40 is used to form the outer contour of the electronic device 100. The housing 40 may be made of plastic or metal. The housing 40 may be integrally formed or may be divided into several parts and separately formed and then assembled together.
Referring to fig. 3-6, a plurality of frames 41 are formed on the periphery of the housing 40. The frame 41 is provided with a groove 42.
The recess 42 has an opening 421 and a bottom wall 422. The width D1 of the opening 421 is less than the width D2 of the bottom wall 422. Referring to fig. 5, the interface of the groove 42 may be trapezoidal.
Referring to fig. 6, the groove 42 may also be designed flexibly according to actual needs, and the groove 42 may have a first accommodating portion 423 and a second accommodating portion 424. The first receiving portion 423 faces the opening 421. The first receiving portion 423 faces away from the bottom wall 422 of the groove 42. The second receiving portion 424 faces the bottom wall 422. The width D3 of the first receptacle 423 is less than the width D4 of the second receptacle 424.
The shape of the groove 42 is not limited to that shown in fig. 5-6, and can be flexibly arranged according to actual needs.
The electronic device 100 further includes a magnetic field inductor 43 and a magnetic fitting 44. The magnetic field inductor 43 is disposed in the housing 40 and is located on a side of the bottom wall 422 of the recess 42 facing the inside of the housing 40.
The magnetic engagement portion 44 includes a magnetic member 441 and a fitting member 442. The fitting part 442 is fitted in the groove 42 to slide along the groove 42. The magnetic member 441 is disposed on a side of the engaging member 442 facing the bottom wall 422 of the recess 42. The magnetic field inductors 43 are aligned in a direction in which the grooves 42 extend. The magnetic member 441 may be a magnetic material, such as a magnet. The engaging member 442 may be plastic, metal, ceramic, or the like.
The fitting part 442 includes a first portion 4421 and a second portion 4422. The second portion 4422 is received in the groove 42 and the first portion 4421 is located outside the groove 42. The width D5 of the second portion 4422 toward the end of the first portion 4421 is less than the width D6 of the second portion 4422 toward the end of the bottom wall 422 of the groove 42. Referring to fig. 5, the interface of the second portion 4422 may be trapezoidal.
Referring to fig. 6, the second portion 4422 may be flexibly designed according to actual requirements, and the second portion 4422 may include a first sub-portion 4422a and a second sub-portion 4422 b. The first part 4422a is connected between the first part 4421 and the second part 4422 b. The width D7 of the first section 4422a is less than the width D8 of the first portion 4421 and the width D9 of the second section 4422 b. The first portion 4422a is located in the first receiving portion 423. The second portion 4422b is located in the second receiving portion 424. The shape of the second portion 4422 is not limited to that shown in fig. 5 to 6, and can be flexibly configured according to actual needs.
The user can control the first portion 4421 to slide the magnetic fitting 44 along the groove 42. The magnetic member 441 is located on the side of the second portion 4422 facing the bottom wall 422 of the groove 42.
Referring to fig. 7, fig. 7 is a first flowchart of a method for processing information according to an embodiment of the present application. Specifically, the method comprises the following steps:
step S101: acquiring a plurality of magnetic field strength information, wherein the magnetic field strength information comprises a magnetic field strength value and a corresponding relation between the magnetic field strength value and the number of the magnetic field sensor 43 acquiring the magnetic field strength value, and the magnetic field sensor 43 senses the magnetic field strength of the magnetic component 441 to obtain the magnetic field strength value.
It should be noted that the number of the magnetic field sensors 43 may be 6, 8, 10, etc., and the number of the magnetic field sensors 43 is not limited, and may be flexibly set according to actual needs.
The magnetic field sensor 43 may include a lead portion 431, a current detection portion 432, and a field strength calculation portion 433. The extending direction of the lead portion 431 is perpendicular to the extending direction of the groove 42. The magnetic member 441 moves along the groove 42 to make the lead portion 431 generate current, the current value of the current generated in the lead portion 431 is detected by the current detecting portion 432, and the field intensity calculating portion 433 obtains the magnetic field intensity value according to the current value.
In practical applications, a preset time interval, for example, 100 milliseconds, 150 milliseconds, or 200 milliseconds, may be preset, and the magnetic field strength information may be sampled according to the preset time interval, for example, once every 100 milliseconds, once every 150 milliseconds, or once every 200 milliseconds. The plurality of magnetic field sensors 43 simultaneously sample to obtain a plurality of magnetic field strength information. Each of the magnetic field sensors 43 acquires information on the magnetic field strength.
Step S102: the number of the magnetic field sensor 43 corresponding to the maximum value of the magnetic field intensity value is selected.
Wherein, the magnetic field strength values in the plurality of pieces of magnetic field strength information are compared to obtain the maximum value of the magnetic field strength values, and then the number of the magnetic field sensor 43 corresponding to the maximum value is obtained.
Referring to fig. 8, the step S102 may include:
s1021: and acquiring the maximum value of the magnetic field strength value.
S1022: and acquiring the number of the magnetic field inductor 43 corresponding to the maximum value of the magnetic field strength value according to the corresponding relation.
Step S103: the volume is adjusted according to the number of the magnetic field sensor 43.
In one embodiment, the number of the magnetic field sensors 43 may be 11, and the magnetic field sensors 43 are numbered, and the number of the magnetic field sensors 43 is a-B-C-D-E-F-G-H-I-J-K in sequence from one end of the electronic device 100 to the other end. The number a-B-C-D-E-F-G-H-I-J-K of the magnetic field sensor 43 corresponds in sequence to a gradient of volume, which may be 0%, 10%, 20%, 30%, 40%, 50%, 60%, 70%, 80%, 90% and 100%. The number of the magnetic field sensors 43 is the same as the number of gradients of the volume.
After the step S103, a step S104 may be further included.
Step S104: and clearing the magnetic field intensity information.
After each adjustment of the volume, the electronic device 100 clears the magnetic field strength information acquired before, and then returns to execute step S101.
In the information processing method provided by the embodiment of the application, by arranging the groove on the frame of the electronic equipment, a magnetic field inductor is arranged in the electronic equipment, a magnetic part is arranged in the groove to enable the magnetic part to slide along the groove to obtain a plurality of magnetic field intensity information, the magnetic field strength information comprises a magnetic field strength value and a corresponding relation between the magnetic field strength value and the number of a magnetic field inductor which obtains the magnetic field strength value, the magnetic field inductor senses the magnetic field intensity of the magnetic component to obtain the magnetic field intensity value, the number of the magnetic field inductor corresponding to the maximum value of the magnetic field intensity value is screened out, the volume is adjusted according to the serial number of the magnetic field inductor, so that the volume is adjusted through the sliding of the magnetic part in the groove, the problem that liquid feeding is caused by the fact that a through hole is formed in the shell is avoided, and the waterproof function of the electronic equipment is achieved.
In order to better implement the information processing method provided by the embodiment of the present application, the embodiment of the present application further provides a device based on the information processing method. The terms are the same as those in the above information processing method, and details of implementation may refer to the description in the method embodiment.
Referring to fig. 9, fig. 9 is a schematic block diagram of an information processing apparatus according to an embodiment of the present disclosure. Specifically, the information processing apparatus 300 includes: an acquisition module 301, a screening module 302, and an adjustment module 303.
The obtaining module 301 is configured to obtain a plurality of magnetic field strength information, where the magnetic field strength information includes a magnetic field strength value and a correspondence between the magnetic field strength value and a serial number of the magnetic field sensor 43 that obtains the magnetic field strength value, and the magnetic field sensor 43 senses the magnetic field strength of the magnetic component 441 to obtain the magnetic field strength value.
It should be noted that the number of the magnetic field sensors 43 may be 6, 8, 10, etc., and the number of the magnetic field sensors 43 is not limited, and may be flexibly set according to actual needs.
The obtaining module 301 may include a preset time module 3011, which may be configured to preset a preset time interval, and each magnetic field sensor 43 obtains magnetic field strength information according to the preset time interval. E.g. 100 ms, 150 ms or 200 ms, etc., the sampling of the magnetic field strength information is performed according to a preset time interval, e.g. 100 ms, 150 ms or 200 ms. The plurality of magnetic field sensors 43 simultaneously sample to obtain a plurality of magnetic field strength information. Each of the magnetic field sensors 43 acquires information on the magnetic field strength.
The screening module 302 is configured to screen out the serial number of the magnetic field sensor 43 corresponding to the maximum value of the magnetic field strength value.
The screening module 302 compares the magnetic field strength values in the magnetic field strength information to obtain a maximum value of the magnetic field strength values, and further obtains a number of the magnetic field sensor 43 corresponding to the maximum value.
Referring to fig. 10, the filtering module 302 may include a determining module 3021 and a corresponding module 3022. The determining module 3021 is configured to obtain a maximum value of the magnetic field strength value. The corresponding module 3022 is configured to obtain, according to the corresponding relationship, the number of the magnetic field inductor 43 corresponding to the maximum value of the magnetic field strength value.
The adjusting module 303 is configured to adjust the volume according to the number of the magnetic field sensor 43.
In one embodiment, the number of the magnetic field sensors 43 may be 11, and the magnetic field sensors 43 are numbered, and the number of the magnetic field sensors 43 is a-B-C-D-E-F-G-H-I-J-K in sequence from one end of the electronic device 100 to the other end. The number a-B-C-D-E-F-G-H-I-J-K of the magnetic field sensor 43 corresponds in sequence to a gradient of volume, which may be 0%, 10%, 20%, 30%, 40%, 50%, 60%, 70%, 80%, 90% and 100%. The number of the magnetic field sensors 43 is the same as the number of gradients of the volume.
The apparatus 300 for processing information further comprises a cleaning module 304. The clearing module 304 is configured to clear the magnetic field strength information. After each adjustment of the volume, the clearing module 304 will clear the magnetic field strength information previously acquired and then return to performing the step of acquiring a number of magnetic field strength information.
The information processing device provided by the embodiment of the application has the advantages that the groove is arranged on the frame of the electronic equipment, a magnetic field inductor is arranged in the electronic equipment, a magnetic part is arranged in the groove to enable the magnetic part to slide along the groove to obtain a plurality of magnetic field intensity information, the magnetic field strength information comprises a magnetic field strength value and a corresponding relation between the magnetic field strength value and the number of a magnetic field inductor which obtains the magnetic field strength value, the magnetic field inductor senses the magnetic field intensity of the magnetic component to obtain the magnetic field intensity value, the number of the magnetic field inductor corresponding to the maximum value of the magnetic field intensity value is screened out, the volume is adjusted according to the serial number of the magnetic field inductor, so that the volume is adjusted through the sliding of the magnetic part in the groove, the problem that liquid feeding is caused by the fact that a through hole is formed in the shell is avoided, and the waterproof function of the electronic equipment is achieved.
The embodiment of the application also provides the electronic equipment. Referring to fig. 11, the electronic device 100 further includes a processor 501 and a memory 502. The processor 501 is electrically connected to the memory 502.
The processor 501 is a control center of the electronic device 100, connects various parts of the whole electronic device by using various interfaces and lines, executes various functions of the electronic device 100 and processes data by running or loading a computer program stored in the memory 502 and calling data stored in the memory 502, thereby performing overall monitoring of the electronic device 100. The current detection part 432 and the field intensity calculation part 433 may be integrated in the processor 501.
The memory 502 may be used to store software programs and modules, and the processor 501 executes various functional applications and data processing by operating the computer programs and modules stored in the memory 502. The memory 502 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, a computer program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data created according to use of the electronic device, and the like. Further, the memory 502 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 502 may also include a memory controller to provide the processor 501 with access to the memory 502.
In this embodiment, the processor 501 in the electronic device 100 loads instructions corresponding to one or more processes of the computer program into the memory 502, and the processor 501 runs the computer program stored in the memory 502, so as to implement various functions as follows:
acquiring a plurality of pieces of magnetic field strength information, wherein the pieces of magnetic field strength information comprise magnetic field strength values and corresponding relations between the magnetic field strength values and numbers of magnetic field sensors for acquiring the magnetic field strength values, and the magnetic field sensors sense the magnetic field strength of the magnetic component to acquire the magnetic field strength values;
screening out the serial number of the magnetic field inductor corresponding to the maximum value of the magnetic field strength value;
and adjusting the volume according to the serial number of the magnetic field inductor.
In some embodiments, in the step of obtaining a plurality of pieces of magnetic field strength information, the pieces of magnetic field strength information include a magnetic field strength value and a correspondence between the magnetic field strength value and a number of a magnetic field sensor that obtains the magnetic field strength value, and the magnetic field sensors sense the magnetic field strength of the magnetic component to obtain the magnetic field strength value, each of the magnetic field sensors obtains one piece of magnetic field strength information according to a preset time interval.
In some embodiments, the step of screening the number of the magnetic field sensor corresponding to the maximum value of the magnetic field strength values includes:
obtaining the maximum value of the magnetic field strength value;
and acquiring the number of the magnetic field inductor corresponding to the maximum value of the magnetic field strength value according to the corresponding relation.
In some embodiments, after the step of adjusting the volume according to the number of the magnetic field sensor, the method further comprises:
and clearing the magnetic field intensity information.
The embodiment of the application provides an electronic device, which is characterized in that a groove is arranged on a frame of the electronic device, a magnetic field inductor is arranged in the electronic equipment, a magnetic part is arranged in the groove to enable the magnetic part to slide along the groove to obtain a plurality of magnetic field intensity information, the magnetic field strength information comprises a magnetic field strength value and a corresponding relation between the magnetic field strength value and the number of a magnetic field inductor which obtains the magnetic field strength value, the magnetic field inductor senses the magnetic field intensity of the magnetic component to obtain the magnetic field intensity value, the number of the magnetic field inductor corresponding to the maximum value of the magnetic field intensity value is screened out, the volume is adjusted according to the serial number of the magnetic field inductor, so that the volume is adjusted through the sliding of the magnetic part in the groove, the problem that liquid feeding is caused by the fact that a through hole is formed in the shell is avoided, and the waterproof function of the electronic equipment is achieved.
Referring to fig. 12, in some embodiments, the electronic device 100 may further include: a display 503, radio frequency circuitry 504, audio circuitry 505, and a power supply 506. The display 503, the rf circuit 504, the audio circuit 505, and the power source 506 are electrically connected to the processor 501.
The display 503 may be used to display information entered by or provided to the user as well as various graphical user interfaces, which may be made up of graphics, text, icons, video, and any combination thereof. The display 503 may include a display panel, and in some embodiments, the display panel may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The rf circuit 504 may be used for transceiving rf signals to establish wireless communication with a network device or other electronic devices via wireless communication, and for transceiving signals with the network device or other electronic devices.
The audio circuit 505 may be used to provide an audio interface between a user and an electronic device through a speaker, microphone.
The power source 506 may be used to power various components of the electronic device 100. In some embodiments, power supply 506 may be logically coupled to processor 501 through a power management system, such that functions of managing charging, discharging, and power consumption are performed through the power management system.
Although not shown in fig. 12, the electronic device 100 may further include a camera, a bluetooth module, and the like, which are not described in detail herein.
An embodiment of the present application further provides a storage medium, where a computer program is stored, and when the computer program runs on a computer, the computer is caused to execute the information processing method in any one of the above embodiments.
In the embodiment of the present application, the storage medium may be a magnetic disk, an optical disk, a Read Only Memory (ROM), a Random Access Memory (RAM), or the like.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
It should be noted that, for the information processing method in the embodiment of the present application, it can be understood by a person skilled in the art that all or part of the flow of the information processing method in the embodiment of the present application can be completed by controlling the relevant hardware through a computer program, where the computer program can be stored in a computer readable storage medium, such as a memory of an electronic device, and executed by at least one processor in the electronic device, and during the execution process, the flow of the embodiment of the information processing method can be included. The storage medium may be a magnetic disk, an optical disk, a read-only memory, a random access memory, etc.
In the information processing apparatus according to the embodiment of the present application, each functional module may be integrated into one processing chip, or each module may exist alone physically, or two or more modules may be integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium, such as a read-only memory, a magnetic or optical disk, or the like.
The foregoing detailed description is directed to an information processing method, an information processing apparatus, a storage medium, and an electronic device provided in the embodiments of the present application, and specific examples are applied in the present application to explain the principles and implementations of the present application, and the descriptions of the foregoing embodiments are only used to help understand the method and the core ideas of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.
Claims (16)
1. A processing method of information is applied to electronic equipment, and is characterized in that a groove is formed in a frame of the electronic equipment, a magnetic field inductor is arranged in the electronic equipment, and a magnetic component is arranged in the groove so as to enable the magnetic component to slide along the groove, and the processing method comprises the following steps:
acquiring a plurality of pieces of magnetic field strength information, wherein the pieces of magnetic field strength information comprise magnetic field strength values and corresponding relations between the magnetic field strength values and numbers of magnetic field sensors for acquiring the magnetic field strength values, and the magnetic field sensors sense the magnetic field strength of the magnetic component to acquire the magnetic field strength values;
screening out the serial number of the magnetic field inductor corresponding to the maximum value of the magnetic field strength value;
and adjusting the volume according to the serial number of the magnetic field inductor.
2. The information processing method of claim 1, wherein: the magnetic field intensity information comprises a magnetic field intensity value and a corresponding relation between the magnetic field intensity value and the number of a magnetic field inductor for obtaining the magnetic field intensity value, and each magnetic field inductor obtains magnetic field intensity information according to a preset time interval in the step of obtaining the magnetic field intensity value by sensing the magnetic field intensity of the magnetic part.
3. The method for processing information according to claim 1, wherein the step of screening out the number of the magnetic field sensor corresponding to the maximum value of the magnetic field intensity value comprises:
obtaining the maximum value of the magnetic field strength value;
and acquiring the number of the magnetic field inductor corresponding to the maximum value of the magnetic field strength value according to the corresponding relation.
4. The method of processing information according to claim 1, further comprising, after the step of adjusting the volume according to the number of the magnetic field sensors:
and clearing the magnetic field intensity information.
5. The utility model provides a processing apparatus of information, is applied to electronic equipment, its characterized in that, be provided with the recess on electronic equipment's the frame, be provided with magnetic field inductor in the electronic equipment, be provided with magnetic component in the recess so that magnetic component follows the recess slides, include:
the magnetic field strength information comprises a magnetic field strength value and a corresponding relation between the magnetic field strength value and the number of a magnetic field inductor which obtains the magnetic field strength value, and the magnetic field inductor senses the magnetic field strength of a magnetic component to obtain the magnetic field strength value;
the screening module is used for screening the serial number of the magnetic field inductor corresponding to the maximum value of the magnetic field strength value;
and the adjusting module is used for adjusting the volume according to the serial number of the magnetic field inductor.
6. The apparatus for processing information according to claim 5, wherein the acquiring module comprises a preset time module for acquiring a magnetic field strength information from each magnetic field sensor according to a preset time interval.
7. The apparatus for processing information according to claim 5, wherein the filtering module comprises:
the judging module is used for acquiring the maximum value of the magnetic field strength value;
and the corresponding module is used for acquiring the serial number of the magnetic field inductor corresponding to the maximum value of the magnetic field strength value according to the corresponding relation.
8. The apparatus for processing information according to claim 5, further comprising:
and the clearing module is used for clearing the magnetic field intensity information.
9. A storage medium, characterized by: the storage medium has stored therein a plurality of instructions adapted to be loaded by a processor to perform a method of processing information according to any one of claims 1 to 4.
10. An electronic device, comprising:
the shell side frame is provided with a groove;
the magnetic field inductor is arranged in the shell and positioned on one side, facing the shell, of the bottom wall of the groove;
a magnetic engagement portion including a magnetic member and an engagement member, the engagement member being engaged in the groove to slide along the groove, the magnetic member being provided on a side of the engagement member facing a bottom wall of the groove;
the memory is arranged in the shell and used for storing instructions and data; and
a processor disposed within the housing for performing the method of processing information of any of claims 1-4.
11. The electronic device of claim 10, wherein: the magnetic field inductors are arranged along the direction in which the grooves extend.
12. The electronic device of claim 10, wherein: the width of the opening of the groove is smaller than the width of the bottom wall of the groove.
13. The electronic device of claim 12, wherein: the embedded component comprises a first part and a second part, the second part is accommodated in the groove, and the first part is positioned outside the groove.
14. The electronic device of claim 13, wherein: the width of the second portion towards the end of the first portion is smaller than the width of the second portion towards the end of the bottom wall of the groove.
15. The electronic device of claim 13, wherein: the groove is provided with a first accommodating part and a second accommodating part, the first accommodating part faces to the direction far away from the bottom wall of the groove, the second accommodating part faces to the bottom wall of the groove, and the width of the first accommodating part is smaller than that of the second accommodating part.
16. The electronic device of claim 15, wherein: the second portion of the fitting member includes a first section and a second section, the first section being connected between the first portion and the second section, the first section having a width smaller than widths of the first portion and the second section, the first section being located in the first receiving portion, and the second section being located in the second receiving portion.
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 CN108712528A (en) | 2018-10-26 |
CN108712528B true 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) |
Families Citing this family (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 |
CN112713038B (en) * | 2020-12-15 | 2023-04-07 | 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 |
Also Published As
Publication number | Publication date |
---|---|
CN108712528A (en) | 2018-10-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107945769B (en) | Ambient light intensity detection method and device, storage medium and electronic equipment | |
US11175824B2 (en) | Method for detecting ambient light intensity, storage medium and electronic device | |
CN110471858B (en) | Application program testing method, device and storage medium | |
CN106527785B (en) | Mobile terminal and control method for the same | |
EP3627730A1 (en) | Radio frequency interference processing method and electronic device | |
CN108132790B (en) | Method, apparatus and computer storage medium for detecting a garbage code | |
CN106204552B (en) | A kind of detection method and device of video source | |
CN103916468B (en) | Method for upgrading system, terminal, server and upgrade-system | |
CN111078521A (en) | Abnormal event analysis method, device, equipment, system and storage medium | |
CN110442521B (en) | Control unit detection method and device | |
CN111754386B (en) | Image area shielding method, device, equipment and storage medium | |
CN110796725A (en) | Data rendering method, device, terminal and storage medium | |
CN108712528B (en) | Information processing method and device, storage medium and electronic equipment | |
CN111182236A (en) | Image synthesis method and device, storage medium and terminal equipment | |
CN112230781B (en) | Character recommendation method, device and storage medium | |
CN111324515A (en) | Screen-turning control method and device, storage medium and mobile terminal | |
CN111857793B (en) | Training method, device, equipment and storage medium of network model | |
CN108667969B (en) | Information processing method and device, storage medium and electronic equipment | |
CN107944024B (en) | Method and device for determining audio file | |
CN108563357A (en) | Processing method, device, storage medium and the electronic equipment of touch information | |
CN108958607B (en) | Split screen display starting method and device, storage medium and electronic equipment | |
CN109743445B (en) | Application icon adjusting method and device, storage medium and electronic equipment | |
CN108984097B (en) | Touch operation method and device, storage medium and electronic equipment | |
CN108735157A (en) | Light sensor processing method, device, storage medium and electronic equipment | |
CN111949341A (en) | Method, device and equipment for displaying information and storage medium |
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 |
|
CF01 | Termination of patent right due to non-payment of annual fee |