CN103167157A - System and method for achieving frequency modulation (FM) control of mobile phone based on range sensor - Google Patents
System and method for achieving frequency modulation (FM) control of mobile phone based on range sensor Download PDFInfo
- Publication number
- CN103167157A CN103167157A CN2012103588410A CN201210358841A CN103167157A CN 103167157 A CN103167157 A CN 103167157A CN 2012103588410 A CN2012103588410 A CN 2012103588410A CN 201210358841 A CN201210358841 A CN 201210358841A CN 103167157 A CN103167157 A CN 103167157A
- Authority
- CN
- China
- Prior art keywords
- cpu
- microprocessor
- distance
- mobile phone
- control
- 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
Images
Landscapes
- Mobile Radio Communication Systems (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses a system and a method for achieving frequency modulation (FM) control of a mobile phone based on a range sensor. The method comprises the steps: A, obtaining a distance inductive value through the distance sensor, and sending the distance inductive value to a microprocessor; B, conducting comparative analysis on the distance inductive value through the microprocessor, generating a control request command according to a comparative analysis result, and sending the control request command to a central processing unit (CPU); C, generating a control signal by the CPU according to the request command, and sending the control signal to a controller; and D, controlling an FM module by the controller according to the control signal. According to the system and the method, after a display screen of the mobile phone is closed, the range sensor is correspondingly started, the distance inductive value is obtained, the distance inductive value is compared with a distance inductive threshold value, and the CPU controls the FM module to conduct channel switching and suspending according to the comparative result. The system and the method solve the problem that under the conditions that a user listens to a radio through the external playing function of the mobile phone and the screen is closed, the control on the FM module cannot be achieved.
Description
Technical field
The present invention relates to mobile phone, what be specifically related to is a kind of control system and the method that distance-based transducer is realized mobile phone FM, is mainly used in solving mobile phone in the situation that screen is closed, and can't realize the control to FM.
Background technology
Fast development along with smart mobile phone, the function of smart mobile phone is more and more, a lot of users can listen to broadcast receiver with smart mobile phone, listen to broadcast receiver by mobile phone at present and mainly contain dual mode: the one, and be connected to mobile phone by earphone and carry out, by earphone, mobile phone FM is carried out X-by-Wire; The 2nd, directly listen by straightening outward to receive, by mobile phone FM menu is operated control.
Carry out line traffic control by earphone, can be in the situation that mobile phone screen be closed the control that realizes FM, listen to but directly put outward by mobile phone, in the situation that mobile phone screen is closed, can not realize the control to FM, after need to opening screen, operate, there is complex operation in it, frequently opens the large problem of screen power consumption.
Summary of the invention
The object of the present invention is to provide a kind of distance-based transducer to realize control system and the method for mobile phone FM, listen to broadcast receiver to solve mobile phone by putting outward, and in the screen situation of closing, can't realize the problem to the control of FM.
The objective of the invention is to be achieved through the following technical solutions.
A kind of distance-based transducer is realized the control system of mobile phone FM, comprise range sensor, microprocessor, CPU, display screen and FM module, described range sensor is connected with microprocessor, be used for obtaining apart from influence value, and send to microprocessor to carry out Treatment Analysis, microprocessor is connected with CPU, and the Treatment Analysis result is sent to CPU, by CPU, the FM module is controlled.
Preferably, described CPU is connected with the FM module by controller, and CPU sends control signal to controller, by controller, the FM module is controlled.
Preferably, this system also includes a memory, and this memory is connected with microprocessor, is used for the storage distance perspective and answers threshold value.
Preferably, described CPU is connected with display screen, is used for obtaining the screen signal that goes out of display screen, and correspondence sends to microprocessor, starts range sensor by microprocessor and carries out distance perspective and answer.
In addition, the present invention also provides a kind of distance-based transducer to realize the control method of mobile phone FM, specifically comprises step:
A, range sensor obtain apart from influence value, and send to microprocessor;
B, microprocessor compare analysis to above-mentioned apart from influence value, produce according to the comparative analysis result and control request instruction, and send to CPU;
C, CPU produce control signal according to above-mentioned request instruction, send to controller;
D, controller are controlled the FM module according to control signal.
Preferably, comprise before steps A:
CPU obtains the screen signal that goes out of display screen, and correspondence sends to microprocessor, by microprocessor start range sensor carry out distance perspective should.
Preferably, also comprise before steps A:
Distance perspective is set answers threshold value, and pass through the CPU corresponding stored in memory.
Preferably, step B specifically comprises:
The distance perspective that microprocessor calls in memory is answered threshold value, with it and above-mentionedly compare analysis apart from influence value, if obtain answer threshold value apart from influence value less than distance perspective, do not produce the control request instruction; If answer threshold value greater than distance perspective, produce and control request instruction, and send to CPU.
The present invention compared with prior art, beneficial effect is: distance-based transducer provided by the invention is realized control system and the method for mobile phone FM, after mobile phone display screen is closed, the corresponding range sensor that starts, and obtain apart from influence value, answer threshold value to compare with distance perspective, control the FM module according to comparative result by CPU and stop or handover operation.The invention solves mobile phone and listen to broadcast receiver by putting outward, and in the screen situation of closing, can't realize the problem to the control of FM.
Description of drawings
Fig. 1 is system principle diagram of the present invention.
Fig. 2 is operation principle flow chart of the present invention.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, is not intended to limit the present invention.
See also shown in Figure 1ly, Fig. 1 is system principle diagram of the present invention.The present invention is to provide a kind of distance-based transducer and realize the control system of mobile phone FM, be mainly used in solving mobile phone and listen to FM by putting outward, and in the screen situation of closing, can't realize the control to FM.
Wherein this system includes range sensor, microprocessor, CPU, controller, memory, display screen and FM module, described range sensor is connected with microprocessor, be used for obtaining apart from influence value, and send to microprocessor to carry out Treatment Analysis, microprocessor is connected with CPU, the Treatment Analysis result is sent to CPU, by CPU, the FM module is controlled; Described CPU is connected with the FM module by controller, and CPU sends control signal to controller, by controller, the FM module is controlled; Described memory is connected with microprocessor, CPU respectively, is used for arranging and store distance perspective by CPU and answers threshold value; Described CPU is connected with display screen, is used for obtaining the screen signal that goes out of display screen, and correspondence sends to microprocessor, starts range sensor by microprocessor and carries out distance perspective and answer.
At first native system arranges staff near the distance threshold of range sensor and the time of staying on range sensor, and corresponding stored is in memory, such as after setting mobile phone display screen and closing, staff (or object is arranged) blocks range sensor, the place of 3cm above range sensor, stopped about 2 seconds, thinking needs to produce the control signal of suspending the FM function; If staff (or object is arranged) blocks range sensor, the place about 3cm above range sensor ~ 2 cm, during fast moving, thinking needs to produce the control signal of playing next FM channel.
Be more than to realize the explanation of the control system of mobile phone FM to the present invention is based on range sensor, the present invention is based on range sensor below in conjunction with 2 pairs, accompanying drawing and realize that the control method of mobile phone FM is further described.
Shown in Figure 2, Fig. 2 is operation principle flow chart of the present invention.The present invention also provides a kind of distance-based transducer to realize the control method of mobile phone FM, and it specifically comprises the following steps:
At first require that according to mobile phone distance perspective is set and answer threshold value, and pass through the CPU corresponding stored in memory, it specifically arranges as follows: block the position of 3cm left and right above range sensor, and about 2 seconds time of staying, thinking needs to produce the control signal of suspending the FM playing function; The object fast moving is blocked in place about 3cm above range sensor ~ 2 cm, and thinking needs to produce next FM channel control signal of broadcast.
Secondly CPU obtains the screen signal that goes out of display screen, and correspondence sends to microprocessor, starts range sensor by microprocessor and carries out distance perspective and answer.
A, range sensor obtain apart from influence value, and send to microprocessor;
B, microprocessor compare analysis to above-mentioned apart from influence value, produce according to the comparative analysis result and control request instruction, and send to CPU;
The distance perspective that microprocessor calls in memory is answered threshold value, with it and above-mentionedly compare analysis apart from influence value, if obtain answer threshold value apart from influence value less than distance perspective, do not produce the control request instruction; If answer threshold value greater than distance perspective, produce and control request instruction, and send to CPU.
C, CPU produce control signal according to above-mentioned request instruction, send to controller;
D, controller are controlled the FM module according to control signal.
Invention is after mobile phone display screen is closed, and correspondence starts range sensor, and obtains apart from influence value, answers threshold value to compare with distance perspective, controls the FM module according to comparative result by CPU and plays, suspends, plays next.The invention solves mobile phone and listen to FM by putting outward, and in the screen situation of closing, can't realize the problem to the control of FM.
The above is only preferred embodiment of the present invention, not in order to limiting the present invention, all any modifications of doing within the spirit and principles in the present invention, is equal to and replaces and improvement etc., within all should being included in protection scope of the present invention.
Claims (8)
1. a distance-based transducer is realized the control system of mobile phone FM, it is characterized in that comprising range sensor, microprocessor, CPU, display screen and FM module, described range sensor is connected with microprocessor, be used for obtaining apart from influence value, and send to microprocessor to carry out Treatment Analysis, microprocessor is connected with CPU, and the Treatment Analysis result is sent to CPU, by CPU, the FM module is controlled.
2. distance-based transducer according to claim 1 is realized the control system of mobile phone FM, it is characterized in that described CPU is connected with the FM module by controller, and CPU sends control signal to controller, by controller, the FM module is controlled.
3. distance-based transducer according to claim 1 is realized the control system of mobile phone FM, characterized by further comprising a memory, and this memory is connected with microprocessor, is used for the storage distance perspective and answers threshold value.
4. distance-based transducer according to claim 1 is realized the control system of mobile phone FM, it is characterized in that described CPU is connected with display screen, be used for obtaining the screen signal that goes out of display screen, and correspondence sends to microprocessor, starts range sensor by microprocessor and carry out distance perspective and answer.
5. a distance-based transducer is realized the control method of mobile phone FM, it is characterized in that specifically comprising step:
A, range sensor obtain apart from influence value, and send to microprocessor;
B, microprocessor compare analysis to above-mentioned apart from influence value, produce according to the comparative analysis result and control request instruction, and send to CPU;
C, CPU produce control signal according to above-mentioned request instruction, send to controller;
D, controller are controlled the FM module according to control signal.
6. distance-based transducer according to claim 5 is realized the control method of mobile phone FM, it is characterized in that comprising before steps A:
CPU obtains the screen signal that goes out of display screen, and correspondence sends to microprocessor, by microprocessor start range sensor carry out distance perspective should.
7. distance-based transducer according to claim 5 is realized the control method of mobile phone FM, it is characterized in that also comprising before steps A:
Distance perspective is set answers threshold value, and pass through the CPU corresponding stored in memory.
8. distance-based transducer according to claim 5 is realized the control method of mobile phone FM, it is characterized in that step B specifically comprises:
The distance perspective that microprocessor calls in memory is answered threshold value, with it and above-mentionedly compare analysis apart from influence value, if obtain answer threshold value apart from influence value less than distance perspective, do not produce the control request instruction; If answer threshold value greater than distance perspective, produce and control request instruction, and send to CPU.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210358841.0A CN103167157B (en) | 2012-09-25 | 2012-09-25 | System and method for achieving frequency modulation (FM) control of mobile phone based on range sensor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210358841.0A CN103167157B (en) | 2012-09-25 | 2012-09-25 | System and method for achieving frequency modulation (FM) control of mobile phone based on range sensor |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103167157A true CN103167157A (en) | 2013-06-19 |
CN103167157B CN103167157B (en) | 2015-04-29 |
Family
ID=48589889
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210358841.0A Expired - Fee Related CN103167157B (en) | 2012-09-25 | 2012-09-25 | System and method for achieving frequency modulation (FM) control of mobile phone based on range sensor |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103167157B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104463036A (en) * | 2014-11-22 | 2015-03-25 | 广东欧珀移动通信有限公司 | Password inputting method, mobile terminal and system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101958950A (en) * | 2010-05-17 | 2011-01-26 | 宇龙计算机通信科技(深圳)有限公司 | Volume adjusting method of mobile terminal and mobile terminal |
WO2012003688A1 (en) * | 2010-07-07 | 2012-01-12 | 中兴通讯股份有限公司 | Method for controlling music playing and music playing terminal |
WO2012055361A1 (en) * | 2010-10-28 | 2012-05-03 | 华为终端有限公司 | Processing method for earphones and user equipment |
CN102469206A (en) * | 2010-11-18 | 2012-05-23 | 西安龙飞软件有限公司 | Method for controlling cellphone by gestures |
-
2012
- 2012-09-25 CN CN201210358841.0A patent/CN103167157B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101958950A (en) * | 2010-05-17 | 2011-01-26 | 宇龙计算机通信科技(深圳)有限公司 | Volume adjusting method of mobile terminal and mobile terminal |
WO2012003688A1 (en) * | 2010-07-07 | 2012-01-12 | 中兴通讯股份有限公司 | Method for controlling music playing and music playing terminal |
WO2012055361A1 (en) * | 2010-10-28 | 2012-05-03 | 华为终端有限公司 | Processing method for earphones and user equipment |
CN102469206A (en) * | 2010-11-18 | 2012-05-23 | 西安龙飞软件有限公司 | Method for controlling cellphone by gestures |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104463036A (en) * | 2014-11-22 | 2015-03-25 | 广东欧珀移动通信有限公司 | Password inputting method, mobile terminal and system |
CN104463036B (en) * | 2014-11-22 | 2018-11-16 | 广东欧珀移动通信有限公司 | Method, mobile terminal and the system of Password Input |
Also Published As
Publication number | Publication date |
---|---|
CN103167157B (en) | 2015-04-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3163885B1 (en) | Method and apparatus for controlling electronic device | |
CN110851213B (en) | Information display method and terminal | |
EP3873004A1 (en) | Method for establishing classic bluetooth connection between dual-mode bluetooth devices, and dual-mode bluetooth device | |
CN103414982B (en) | A kind of method and apparatus that sound is provided | |
CN104378838B (en) | A kind of method and device for establishing wireless connection | |
CN202818560U (en) | Bluetooth headset, mobile terminal and voice control system | |
CN103167155B (en) | System and method for achieving control of music player of mobile phone based on range sensor | |
CN104315662A (en) | Method and device for controlling work of air purifier | |
CN105307166B (en) | Terminal switching method, access device, terminal and system | |
CN104350776A (en) | Method for adjusting signal measurement period, wireless communication device, and terminal | |
CN106664191A (en) | Method and device for configuring operation bandwidth | |
CN105532634A (en) | Ultrasonic wave mosquito repel method, device and system | |
CN102446396A (en) | Method and system for controlling electronic equipment by mobile terminal and mobile terminal | |
CN110072013B (en) | Terminal control method and device | |
JP2022514901A (en) | Methods and devices for transmitting configuration information related to measurement control | |
CN106851840A (en) | One kind sends critical system information methods, devices and systems | |
KR20160095106A (en) | Method and device for controlling device | |
EP3883299A1 (en) | Method for smart home appliance to access network and related device | |
CN114245267A (en) | Method and system for multi-device cooperative work and electronic device | |
CN207968087U (en) | Wireless charging device, electronic equipment | |
CN105282867A (en) | Network connection method and device | |
CN112838629A (en) | Wireless charging method and device, electronic equipment and readable storage medium | |
CN106208271B (en) | The management method and device of mobile power source | |
CN103167157A (en) | System and method for achieving frequency modulation (FM) control of mobile phone based on range sensor | |
CN111130183A (en) | Wireless charging method and device, wireless charging equipment and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
PP01 | Preservation of patent right |
Effective date of registration: 20180428 Granted publication date: 20150429 |
|
PP01 | Preservation of patent right | ||
PD01 | Discharge of preservation of patent |
Date of cancellation: 20210428 Granted publication date: 20150429 |
|
PD01 | Discharge of preservation of patent | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20150429 Termination date: 20200925 |
|
CF01 | Termination of patent right due to non-payment of annual fee |