CN101420707A - Mobile phone monitoring system and monitoring method thereof - Google Patents

Mobile phone monitoring system and monitoring method thereof Download PDF

Info

Publication number
CN101420707A
CN101420707A CNA2008102394089A CN200810239408A CN101420707A CN 101420707 A CN101420707 A CN 101420707A CN A2008102394089 A CNA2008102394089 A CN A2008102394089A CN 200810239408 A CN200810239408 A CN 200810239408A CN 101420707 A CN101420707 A CN 101420707A
Authority
CN
China
Prior art keywords
monitoring
mobile phone
data
control command
control unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CNA2008102394089A
Other languages
Chinese (zh)
Inventor
高金铎
祁柱晓
蒋蒙安
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
INNER MONGOLIA ELECTRONIC INFORMATION VOCATIONAL TECHNICAL COLLEGE
Original Assignee
INNER MONGOLIA ELECTRONIC INFORMATION VOCATIONAL TECHNICAL COLLEGE
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by INNER MONGOLIA ELECTRONIC INFORMATION VOCATIONAL TECHNICAL COLLEGE filed Critical INNER MONGOLIA ELECTRONIC INFORMATION VOCATIONAL TECHNICAL COLLEGE
Priority to CNA2008102394089A priority Critical patent/CN101420707A/en
Publication of CN101420707A publication Critical patent/CN101420707A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention relates to a mobile phone monitoring system, comprising a monitoring probe consisting of a monitoring mobile phone or a mobile phone monitor, a rotation connection device which is connected with the monitoring probe, and a monitoring terminal; wherein, the monitoring terminal sends monitoring orders to the monitoring probe or sends rotation control orders used for controlling the rotation of the rotation connection device in the form of short messages, speech calling or sending order data, and receives the monitoring data; the rotation connection device is connected with the mobile phone monitor or the monitoring mobile phone by the tail-insertion interface or the audio output interface of the mobile phone monitor or the monitoring mobile phone; the monitoring probe directly transfers the control orders by the tail-insertion interface or sends control pulses by the audio output interface or writes the ASCII characters into a WAVE acoustic wave file in the form of PCM data, and transfers the data to the rotation connection device from the audio output interface so that the rotation connection device drives the monitoring probe to rotate, thus realizing multi-angle monitoring. The system easily realizes the controlled rotation of the monitoring probe, and has the advantage of convenient operation, which leads to a more practical mobile phone monitoring system.

Description

A kind of monitoring mobile phone system and method for supervising thereof
Technical field
The present invention relates to the monitoring mobile phone field, be specifically related to a kind of practical micro-cells supervisory control system and this its method for supervising.
Background technology
In supervisory control system, for obtaining wider image frame, usually need pick-up lens to rotate, pick-up lens is placed on the rotary The Cloud Terrace for this reason, on operation bench, camera lens is implemented to rotate control.In general the rotation of the controls lens on operation bench is by control cable control signal to be sent, thereby the rotation of manipulation motor.This system price costliness, the installation complexity that line traffic control is arranged, command range is limited, only adapts to public situation such as some communities, mansion, school, square and uses.In some specific places such as the material library of family, small-sized independent office, temporary needs monitoring etc. then be difficult to put to good use, because of people can not be provided with operation bench again and the special nurse on duty of people is arranged at home or in the office of a needs monitoring.Therefore be suitable as very much replenishing of large-scale wired monitoring system with multimedia handset as the micro radio monitor mode of monitoring camera lens.The monitoring mobile phone system price is cheap, installation is simple, can obtain monitor message under mobile status, without any distance limit, so have extraordinary application prospect.
But in the supervisory control system that constitutes by monitoring cell-phone or monitoring mobile phone device, the monitoring camera lens is to be served as by the subsidiary camera lens of mobile module, and mobile phone is designed for the personal hand-held operation, except that hand-held, general mobile phone is to present a kind of stable state that is fit to take pictures, and monitoring cell-phone can't be realized the rotation of camera again.Even made corresponding support component, also monitoring or monitoring mobile phone device can only be fixed as monitoring to a certain direction, if want to obtain the image frame of different angles, must cause the inconvenience of using by the riding position of manually adjusting mobile phone.Therefore also there is deficiency in present monitoring cell-phone aspect practicability, and weak point is that mobile phone is difficult to controlled rotation, can only a certain direction that configures of fixed surveillance.
Summary of the invention
The purpose of this invention is to provide a kind of monitoring cell-phone or monitoring mobile phone device and be easy to controlled rotation as the monitoring probe, and easy to operate practical micro-cells supervisory control system and method for supervising thereof.
For achieving the above object, the present invention adopts following technical scheme:
A kind of monitoring mobile phone system, it is characterized in that this system comprises: the monitoring probe is used for transmitting the rotation control command that monitoring client sends to rotary connecting device, and take pictures, record and the recording monitor operation, and send monitor data according to the monitor command that described monitoring client sends; Rotary connecting device links to each other with described monitoring probe, is used for rotating according to the rotation control command that described monitoring probe is transmitted, and rotates thereby drive described monitoring probe; Monitoring client sends described rotation control command or monitor command with short message, audio call or the form that sends order data to described monitoring probe, and receives monitor data.
Wherein, described rotary connecting device comprises: control unit, link to each other with described monitoring probe, and receive the rotation control command that described monitoring probe is transmitted, drive rotating unit and rotate; Rotating unit links to each other with described control unit, and the control command that receives described control unit is rotated, and drives connected described monitoring probe and rotates.
Wherein, described monitoring probe is monitoring cell-phone or monitoring mobile phone device; Described monitoring client is landline telephone, mobile phone or PC.
Wherein, described control unit is single-chip microcomputer or CPU, and described rotating unit is a stepping motor.
Wherein, described control unit is coupled by the tail interface or the audio output interface of described monitoring mobile phone device or monitoring cell-phone.
Wherein, if described control unit is coupled by the audio output interface of described monitoring mobile phone device or monitoring cell-phone, then described monitoring mobile phone device or monitoring cell-phone are transmitted described rotation control command by the form that sends control impuls; Perhaps by creating the WAVE wave file, ascii character that will the described rotation control command of expression writes described WAVE wave file with the form of PCM data, and is transmitted to described control unit from described audio output interface.
The method for supervising of monitoring mobile phone system, the method comprising the steps of:
S1. monitoring client rotates control command or monitor command by the form of short message, audio call or transmission order data to the transmission of monitoring probe;
S2. described monitoring probe receives and resolves the data that described monitoring client sends, if the data that described monitoring client sends are then execution in step S3 of monitor command, if the data that described monitoring client sends are for rotating control command, execution in step S4 then, otherwise handle by common short message, audio call, Data Receiving;
S3. described monitoring probe is according to described monitor command, takes pictures, recording or recording monitor operation, and sends monitor data to described monitoring client;
S4. described monitoring probe is directly transmitted described rotation control command by the tail interface that is connected with the control unit of described rotary connecting device, or from audio output interface, transmit described rotation control command by the form that sends control impuls to described control unit, perhaps, to create the WAVE wave file, ascii character that will the described rotation control command of expression writes the form of WAVE wave file with the form of PCM data, transmits to described control unit by described audio output interface;
S5. described control unit receives and carries out described rotation control command.
Wherein, described control unit is carried out described rotation control command and is comprised step:
S5.1 judges described rotation control command for rotating order or for making zero order, if rotate order, and execution in step S5.2 then, if make zero order, execution in step S5.11 then, otherwise by common short message, audio call, Data Receiving processing;
The described control unit of S5.11 carries out the initialization setting, sets the condition that makes zero;
S5.12 drives described rotating unit and rotates forward or backwards;
S5.13 satisfies the condition of setting that makes zero if described control unit is judged, execution in step S5.14 then, otherwise continue execution in step S5.12;
S5.14 controls described rotating unit stops operating it, waits for receiving and rotates control command and return step S5.1;
S5.2 drives described rotating unit and rotates according to described rotation order.
Wherein, described monitoring probe is monitoring cell-phone or monitoring mobile phone device; Described monitoring client is landline telephone, mobile phone or PC.
Wherein, described control unit is single-chip microcomputer or CPU, and described rotating unit is a stepping motor.
Description of drawings
Fig. 1 is that monitoring mobile phone of the present invention system constitutes schematic diagram;
Fig. 2 is the structural representation of The Cloud Terrace among the embodiment;
Fig. 3 is the connection diagram in the monitoring mobile phone system among the embodiment;
Fig. 4 a is provided with schematic diagram for the The Cloud Terrace light-sensitive device;
Fig. 4 b is that The Cloud Terrace positioning lamp, spacing lamp are provided with schematic diagram;
Fig. 5 is the view of The Cloud Terrace initial position;
Fig. 6 is the method for supervising flow chart of monitoring mobile phone system;
Fig. 7 is the monitoring mobile phone system among the embodiment implements the method for monitoring with short message/audio call a flow chart;
Fig. 8 is binary digital pulse representation schematic diagram;
Fig. 9 is for rotating the composition schematic diagram of control command WAVE wave file;
Figure 10 is the PCM data mode of binary digit " 0 ", " 1 ";
Figure 11 is the flowchart of order of making zero.
Among the figure: 1, pedestal; 2, fixed bin; 3, Tuo Gai; 4, driving wheel; 5, driven pulley; 6, internal tooth; 7, stepping motor; 8, single-chip microcomputer; 9, earphone jack; 10, camera.
Embodiment
Monitoring mobile phone system, the The Cloud Terrace in this system and the method for supervising of this system that the present invention proposes are described in detail as follows in conjunction with the accompanying drawings and embodiments.
Embodiment
As shown in Figure 1, the monitoring mobile phone system of present embodiment is made up of three parts, promptly monitors probe, rotary connecting device and monitoring client.
Wherein, the monitoring probe can be monitoring mobile phone device or monitoring cell-phone, monitoring probe in the present embodiment is taken on by monitoring cell-phone, its constitute as number of patent application be 200610021357.3,200610021027.4, described in the 200810119328.X, be used for transmitting the rotation control command that monitoring client sends to rotary connecting device, and implement to take pictures, record and policer operation such as video recording, and send monitor data according to the monitor command of monitoring client.Rotary connecting device is used for rotating according to the rotation control command that the monitoring probe is transmitted, thereby rotates the monitoring probe.Monitoring client is landline telephone, regular handset, monitoring cell-phone or PC, form with short message, audio call or transmission order data sends rotation control command or monitor command to the monitoring probe, and reception monitor data, in the present embodiment if monitoring client is landline telephone or regular handset, then can control the operation that monitoring cell-phone is taken pictures, recorded and records a video, and monitor data be mail to phone, E-mail address or the mobile phone of appointment by the mode of audio call; If hold the mode that then can pass through audio call, send SMS that monitoring cell-phone is implemented control as monitoring by regular handset; Then can adopt audio call, short message or control monitoring cell-phone if monitoring client is monitoring cell-phone or PC by the mode that the Internet sends order data.
Rotary connecting device comprises: control unit, and coupled by the tail interface or the audio output interface of monitoring mobile phone device or monitoring cell-phone, receive the rotation control command that the monitoring probe is transmitted, drive rotating unit and rotate; Rotating unit links to each other with control unit, and the control command that receives control unit is rotated, and drives connected monitoring probe and rotates.Control unit is single-chip microcomputer or CPU, and rotating unit is generally stepping motor.
If control unit is coupled by the tail interface of monitoring mobile phone device or monitoring cell-phone, then can directly sends and rotate control command to control unit; If control unit is coupled by the audio output interface of monitoring mobile phone device or monitoring cell-phone, then monitoring mobile phone device or monitoring cell-phone are transmitted by the form that sends control impuls and are rotated control command, perhaps by creating the WAVE wave file, expression is rotated the ascii character of control command, form with the PCM data writes the WAVE wave file, and is transmitted to control unit from audio output interface.
The WAVE wave file is called the waveform sound file again, is meant the audio file that simulated audio signal becomes after digitlization, supports multiple audio frequency figure place, sample frequency and sound channel, is AIFC widely popular on the present PC.It is a kind of multimedia file format that Microsoft designs for Windows, it has adopted PCM (the Pulse CodeModulation of uncompressed, pulse code modulation) form, be that original sound is converted to the data message that obtains behind the PCM by A/D (mould/number), the PCM data are converted to through D/A (D/A) that the analog electrical acoustical signal drives earphone or loud speaker is listened to by people's ear again during broadcast.We know truly restoring data form of the numerical data that is converted to through the A/D D/A conversion by constructed index, as the displaying audio file of hearing on computer or mobile phone.Therefore the present invention will represent to rotate the PCM data of the ascii character of control command and write wherein by creating the WAVE file that can produce a series of certain frequency pulse square waves, and export at earphone.
As shown in Figure 2, rotary connecting device in the present embodiment supervisory control system is the The Cloud Terrace with ad hoc structure, being used for fixing and driving monitoring cell-phone rotates, this The Cloud Terrace comprises: pedestal 1 and be installed on mobile phone fixture on the described pedestal, wherein, pedestal 1 is cylindrical, inside is provided with: control unit 8, link to each other with monitoring cell-phone, be single-chip microcomputer, tail interface or audio output interface by monitoring cell-phone---earphone jack links to each other with monitoring cell-phone, receives the rotation control command that monitoring cell-phone is transmitted; Rotating unit is a stepping motor 7, links to each other with single-chip microcomputer; Driving wheel 4 is fixed in the rotating shaft of stepping motor 7, rotates with the rotation of the rotating shaft of stepping motor 7; Driven pulley 5 is connected with driving wheel 4 by gears engaged, under the drive of driving wheel 4 with driving wheel 4 counter-rotation; Driving wheel 4, driven pulley 5 are positioned at the upper surface of pedestal 1, and the central shaft of the rotating shaft of driving wheel 4 and pedestal 1 is on same straight line, and driven pulley 5 is circumscribed with driving wheel 4, and with pedestal 1 inscribe; The mobile phone fixture is by the holder lid 3 of its below and cover the fixed bin 3 that 2 one link to each other, are used to lay mobile phone with holder and constitute, wherein, holder is covered 2 grooves by its inside center place and is fixed in the rotating shaft of driving wheel 4, it is that a circle is used for the internal tooth 6 that meshes with driven pulley 5 that 3 inboard bottoms covers in holder, make holder cover 3 and link to each other with driven pulley 5 engagement, driving wheel 4, driven pulley 5 and holding in the palm covers 3 internal tooth 6 diameters and compares D1:D2:D3=8:21:50 in the present embodiment.
Wherein, the rotation of The Cloud Terrace is dragged by stepping motor 7 and finishes, when stepping motor 7 rotates, drive the rotation of driving wheel 4, rotate thereby drive driven pulley 5, the rotation of driven pulley 5 and driving wheel 4 direction of rotation, driven pulley 5 makes holder cover 3 by internal tooth 6 and rotates, holder cover the just feasible monitoring cell-phone that is fixedly placed in the fixed bin 2 of 3 rotation and is rotated thereupon, thereby has realized the rotation of monitoring cell-phone pick-up lens.Leave openwork part on fixed bin 2 box bodys, the camera 10 and the navigation key of monitoring cell-phone exposed, be convenient to operation.
Send stepping pulsed drive stepping motor by single-chip microcomputer and rotate, thereby finally rotate monitoring camera, at first must calculate the step-by-step impulse number that rotating certain angle need send.Stepping motor is a kind of actuator that electric pulse is converted into angular displacement, when step actuator receives a pulse signal, it rotates a fixing angle (step angle) with regard to drive stepping motor by the direction of setting, the step angle of stepping motor depends on its stator number of phases and the rotor number of teeth, the angular displacement of rotor is proportional to the quantity of input pulse, the angular speed of rotor is proportional to the frequency of input pulse, and the direction of rotation of rotor depends on the power-up sequence of stator winding.Formula is arranged:
Step pitch * step-by-step impulse number=angle (1)
Step-by-step impulse number=angle/step pitch (2)
Easily calculate the needed control impuls quantity of rotational angle according to above-mentioned formula, single-chip microcomputer output has the rotation of the control impuls control step motor of some cycles, thereby comes the pilot angle displacement to reach the purpose of accurate location by the control impuls number.Certainly, because step pitch is not an integer, when working control, only need calculates an approaching angle and get final product.Can come the speed and the acceleration of the rotation of control step motor by the control step pulse frequency simultaneously, thereby reach the purpose of speed governing.
Because it is very high to required precision unlike disk, laser disc or precision finishing machine that native system is used for the The Cloud Terrace of video monitoring, so the stepping motors that the stepping motor in the present embodiment in the The Cloud Terrace selects for use four phases four to clap working methods are enough to meet the demands, its step angle is 1.8 degree.
Calculate the rotational angle of final The Cloud Terrace, also need the gearratio and the direction of 6 of driving wheel 4, driven pulley 5 and internal tooths are taken into account, could realize final location.For example in the present embodiment, if will make 60 ° of The Cloud Terrace forward rotation, to calculate the gearratio of driving wheel 4 and internal tooth 6 earlier, that is:
50/8=6.25
It is 33.33 that known stepping motor 7 rotates 60 ° of required pulse numbers, and the step pitch of calculating The Cloud Terrace according to gearratio is:
1.8/6.25=0.288 degree
According to formula (2) draw The Cloud Terrace rotate 60 ° required:
33.33×6.25≈60/0.288≈208
Individual step-by-step impulse.Under the situation of known step-by-step impulse quantity, when the output control word, can reach above-mentioned rotation requirement according to backward rotation control table mode.
Connected mode for single-chip microcomputer and monitoring cell-phone, for avoiding monitoring cell-phone tail interface specification disunity to cause constant in the connection, be unfavorable for the generally popularization of native system, present embodiment adopts audio output interface---the connected mode that earphone jack 9 with monitoring cell-phone be connected of single-chip microcomputer by monitoring cell-phone, as shown in Figure 3.Therefore, the transmission of rotating control command just can be adopted two kinds of above-mentioned schemes.
Mode for direct transmission control impuls, also comprise two kinds of implementation methods, one is when using the dual-channel headphone transmission command, what can be defined as the L channel transmission is the forward rotation control command, and R channel is used for transmitting the backward rotation control command, the form of order also can have variety of way, for example: suppose that two sound channels all send control impuls with same frequency, the rotational angle of the quantity control step motor by the transmission control impuls.Single-chip microcomputer is connected with left and right sound channels respectively by the different position of interface, and reception is from the data of different channels, the foundation that the number of pulses that receives is rotated by different directions as the control step motor is respectively exported control word, thereby reaches the purpose of control step motor.
It two is the mode by the mono headset transmission command, in this case, receives because the data of positive and negative rotation all are same positions by interface microcontroller, so adopted different frequencies to be distinguished, for example receives f 1The pulse of frequency is defined as forward rotation data, f 2The pulse of frequency is defined as the backward rotation data.Receive f 1The pulse cracking of frequency is interpreted as forward rotation, f 2Frequency be backward rotation.
Though it is feasible directly to send the method for control impuls, but there is a weak point, be that different its technical indicator difference of stepping motor is very big, if any step pitch is various motors such as 0.72 °, 0.9 °, 1.8 °, 7.5 °, 15 °, this method can only be to just effective under the situation of known step motor control model, if do not know the Electric Machine Control model of a certain The Cloud Terrace then can produce very big error.For example, be that 100 step-by-step impulses of stepping motor of 1.8 ° can rotate 180 ° for four two mutually four step pitches of clapping work, but if be that 15 ° motor rotates 180 ° and only needs 12 step-by-step impulses to get final product for step pitch.Because The Cloud Terrace and monitoring cell-phone and on-fixed auxiliary products, so can accomplish generalization to the control of The Cloud Terrace in order to make, this enforcement adopts the second way to transmit the mode of rotating control command, promptly by creating the WAVE wave file, expression is rotated the ascii character of control command, form with the PCM data writes the WAVE wave file, and is transmitted to control unit from earphone jack output.And the broadcast of WAVE wave file can be carried out on the aspect of operating system, do not relate to the software development of equipment bottom, alleviated the R﹠D work amount greatly, a The Cloud Terrace can be subjected to the control of any mobile phone, its highly versatile and operation are very simple, convenient, only need during use the headset plug insertion mobile phone jack of The Cloud Terrace is got final product.
For the rotation of avoiding monitoring cell-phone makes the connecting line kink of single-chip microcomputer by earphone jack and monitoring cell-phone, cause stepping motor to be rotated further even to burn, present embodiment adopts rotational angle to be not more than ± 180 ° scheme, and the rotation by positive and negative both direction can realize that 360 degree non-blind areas make an inspection tour like this.For realizing this goal, single-chip microcomputer also must be controlled the location of The Cloud Terrace and spacing.Therefore, shown in Fig. 4 a-4b, The Cloud Terrace in the present embodiment also comprises the light-sensitive device GM that is arranged at pedestal 1 upper surface fixed position, is arranged at that 3 inner surfaces are covered in described holder, spacing lamp GD1 and positioning lamp GD2 with GM place circle on the coaxial and equal-sized circumference symmetric position.GM links to each other with single-chip microcomputer, cover 3 when holder and turns to the luminous tube emitted light beams can be received by light-sensitive device GM the time, and GM just can carry spacing, framing signal to single-chip microcomputer, makes corresponding processing according to the different operating state of spacing lamp GD1 and positioning lamp GD2 and moves.GD1 lights and GD2 closes when single-chip microcomputer is received the signal that GM sends, and illustrate to arrive to hold in the palm among Fig. 4 to cover 3 and turn to the position that GD1 overlaps with GM; If this moment, GD2 lighted and GD1 closes, show that holder covers 3 and turn on GD1 and the position that GM overlaps.Obviously GD2 and GD1 can not close or light simultaneously simultaneously, otherwise will cause making right judgement.
Obviously, only being rotated by mechanical device of a driven by motor is a very simple thing, allows its controlled angular turn according to appointment also not be very complicated.But if realize with dialing, SMS and carry out controlled in wireless by the Internet and rotate, then need take all factors into consideration cost, control numerous factors such as complexity.At first native system is based on the supervisory control system of mobile communications network, and the transmission of its order and monitor data all is to be stated from the mobile communications network, and the transmission of obviously rotating control command also is based on mobile communications network.
As shown in Figure 6, the method for supervising of above-mentioned monitoring mobile phone system comprises step:
S1. monitoring client sends rotation control command or monitor command by the form of short message, audio call or transmission order data to the monitoring cell-phone as the monitoring probe;
Wherein, as shown in Figure 7, when monitoring client is landline telephone or regular handset, and the mode by short message/audio call sends data to the monitoring probe, when monitoring cell-phone is not in the monitoring state, should handle according to common short message/ordinary call by short message/audio call, and send information to monitoring client; If monitoring client when not logining monitoring server as the monitoring cell-phone of monitoring probe, sends information to monitoring client for implement the monitoring cell-phone or the PC of monitoring by the Internet control mode, reselect monitoring objective and monitor mode by monitoring client.
S2. monitoring cell-phone receives and resolves the data that monitoring client sends, if these data are then execution in step S3 of monitor command, if rotate control command, and execution in step S4 then, otherwise handle by common short message, audio call, Data Receiving;
Before this step,, implement monitoring with the form of audio call if monitoring client is landline telephone or regular handset, in fact to verify the caller, shown in the frame of broken lines among Fig. 7, carry out the execution of step S2 after user rs authentication is legal again, otherwise handle with ordinary call; If monitoring client is implemented monitoring by the control that sends SMS message, then need not to verify user's legitimacy, i.e. step in the frame of broken lines, directly execution in step S2.
S3. monitoring cell-phone carry out take pictures, record, policer operation such as video recording, and send monitor data to landline telephone, Email or the mobile phone of monitoring client appointment.
S4. monitoring cell-phone is created the WAVE wave file, and the ascii string that expression is rotated control command writes the WAVE wave file with the form of PCM data, sends the rotation control command by the earphone jack that is connected with single-chip microcomputer to it;
Before this step, if monitoring client is landline telephone or regular handset with the audio call or the enforcement monitoring that sends SMS message, then as the monitoring cell-phone of monitoring probe receive rotate control command after, also must judge the rotational angle that rotates in the control command, if the angle of input〉180 °, then will carry out angle modification, method is that angle value deducts 180 and compares judgement again, until angle value≤180 °.For example rotating control command is just to change 190 °, and becoming after revising just changes 10 °.
S5. single-chip microcomputer receives and carries out the rotation control command.
Wherein, the execution of step S4 is as follows:
The composition mode of rotating control command is: deflection number of degrees end mark
Direction is character R (right-hand rotation), L (left-hand rotation) herein, and angle is 180 with interior numeral, end mark be branch "; ".180 ° of forward rotation and backward rotation will be represented with following character group is incompatible respectively for 65 ° like this.
R180;
L065;
Ascii character is to represent with the binary digit of a byte in digital device, represents numeral 0~9 respectively as data 30H~39H; Data 3AH~40H represent respectively symbol ': ', '; ', '<', '=', '〉', '? ' and ' @ '; The then corresponding expression capitalization of data 41H~5AH A~Z, or the like.Effectively solve the method for expressing of binary number word bit " 0 " and " 1 ", can solve the transmission problem of ascii character data at system's sound intermediate frequency output interface of present embodiment.
Having adopted the method for representing the binary digit of different value with the pulse of different frequency in the present embodiment, is f as selecting frequency 14 impulse waves represent a bit binary number " 0 ", and 8 frequencies are f 2Impulse wave represent a bit binary number " 1 ", as shown in Figure 8.And 2f 1=f 2, the purpose of doing like this is to make that binary digit " 0 " or " 1 " are identical in the expression of time.Is " 30H " as ascii character among Fig. 8 " 0 " with hexadecimal representation, is shown " 00110000 " with binary form, represents to be f for frequency from left to right then with impulse wave 1Continuous 8 impulse waves, frequency is continuous 16 impulse waves of f2, adding frequency is f 1Continuous 16 impulse waves.Fig. 8 has shown this data representation method visually, and light stick is that 4 frequencies are f 1Impulse wave (representing a bit binary number " 0 "), dark stick is that 8 frequencies are f 2Impulse wave (representing a bit binary number " 1 ").The right side of Fig. 8 is the stick method for expressing of ascii character 0~9.
After the method for expressing of character was determined, needing us that traditional audio signal is converted to the frequency that meets above-mentioned definition was f 1, f 2Pulse square wave, send out above-mentioned said data-signal from the handset earphone holding wire, receive and convert to corresponding character data accurately by single-chip microcomputer.
Fig. 9 forms the method schematic diagram that The Cloud Terrace rotates the WAVE wave file.According to the constituted mode of WAVE wave file, when creating file,, in file header, file specification is determined, as parameters such as sample rate, sample length, channel number and file sizes according to prior designing requirement.
According to WAVE wave file form, can generate the organizational form of a file header in order to the supporting paper data, as setting:
Sample rate is 22.05KHz
Sampled value is 8
Data format is PCM
Monophony output
In " data " PCM data block, write corresponding data then, will export corresponding data waveform at earphone when playing this document.Suppose to store as filename with " rotating control ", when the WAVE wave file that writes relevant PCM data in the played data block " data " respectively " rotated control ", earphone can be exported as corresponding oscillogram.
The data division of file except last end mark '; ' outside, all the other four PCM data blocks can be filled in as required, and the filling in documents of for example reverse 120 °, 90 ° of main storys and the order of making zero is respectively:
120 °-R120 of main story
90 °-L090 of counter-rotating
Make zero-CR000
Fill in " 0 " in numeral before 90 for 90 ° herein, the character that makes zero ' CR ' is filled up for the purpose of the uniform format that " 000 " make the WAVE file afterwards, and so the data length of All Files is identical bytes.Though the redundancy of some byte under some situation, control then seems more convenient.
We can design the wave file that can export random waveform in this way.But it should know the pulse wave frequency that is received in advance as the single-chip microcomputer that receives data, can accurately discern binary digit " 0 " or " 1 ", therefore must define the frequency of binary digit series of pulses " 0 " and " 1 ".
According in WAVE wave file head to the setting of file format, known that sample rate is 22.05KHz, sample is 8 (bit).Therefore calculate per 45.35 μ S easily and gather a data sample, this sample is made up of 8 bit positions, can calculate in view of the above wave period so form pulse.
If the PCM data are formed as follows:
0000002Ch:FFH?FFH?FFH?FFH?FFH?FFH?00H?00H?00H?00H?00H?00H FFH?FFH?FFH?FFH
0000003Ch:FFH?FFH?00H?00H?00H?00H?00H?00H?FFH?FFH?FFH?FFH FFH?FFH?00H?00H
0000004Ch:00H?00H?00H?00H?FFH?FFH?FFH?FFH?FFH?FFH?00H?00H 00H?00H?00H?00H
With
0000002Ch:FFH?FFH?FFH?00H?00H?00H?FFH?FFH?FFH?00H?00H?00H FFH?FFH?FFH?00H
0000003Ch:00H?00H?FFH?FFH?FFH?00H?00H?00H?FFH?FFH?FFH?00H 00H?00H?FFH?FFH
0000004Ch:FFH?00H?00H?00H?FFH?FFH?FFH?00H?00H?00H?FFH?FFH FFH?00H?00H?00H
Can obtain the two group pulse series that duty ratio shown in Figure 10 is 1:1 as playing wave file respectively.First group is 4 cycles impulse waves that are 544.22 μ S; Second group is 8 cycles impulse waves that are 272.1 μ S.It is the cycle
T 0Data=544.22 μ S
T 1Data=272.1 μ S
Frequency
f 0Data=1837.5Hz
f 1Data=3675Hz
Produce the data that an above-mentioned definition binary digit " 0 " or " 1 " train of impulses need take 48 bytes as can be seen from Figure 10.Certainly also can make the definition of other form fully, such as with 64 or more byte form the train of impulses, also the duty ratio of impulse wave can be done other selection, but this does not influence this scheme, and just the data pulse wave frequency PCM data that can change thereupon and write will be done other selection.
After the PCM data of expression binary digit " 0 ", " 1 " are known, known each binary pulse digit order number needs 48 pcm word joints, and the ASCCII character is made up of the binary digit of a byte, so ascii character of every composition needs 384 PCM data bytes, for operational convenience, can make the PCM data block of each ascii character of expression, when needing it is write among " data " of WAVE wave file and get final product, when playing this document, earphone will be exported corresponding impulse wave.And The Cloud Terrace interface microcontroller position is according to the impulse wave of receiving, according to known definition of T 0Data=544.22 μ S, T1 data=272.1 μ S can detect corresponding digital value very easily, are assembled into data " R180 at last; ".
In step S5, receive and to judge that also rezero operation still is common rotation control command after rotating control command.Why increasing a rezero operation order is to consider, monitoring work can not carried out continuously, when after after a while, may not knowing that rotary connecting device is together with having monitored the residing particular location of probe, so need to send the order of making zero to allow rotary connecting device get back to initial position together with monitoring to pop one's head in by force.The concrete operation of making zero is defined as ascii character ' CR ' in the present embodiment, be after monitoring cell-phone receives the order of making zero of control end with short message, audio call or order data transmission, send the PCM data of ascii character ' CR ' by the mode of playing the WAVE wave file to The Cloud Terrace.If what receive is to rotate order, then according to the direction and the angle of appointment in the command format, the control step motor rotates.
As shown in figure 11, its step is as follows:
S5.1 judge to rotate control command for rotating order or for making zero order, ordering if rotate, execution in step S5.2 then, if make zero order, and execution in step S5.11 then;
S5.11 control unit single-chip microcomputer carries out the initialization setting, the setting condition that makes zero, the interface microcontroller position that soon is connected with GM is set to input state, the interface microcontroller position that is connected with GD1, GD2 is set to output state, when the GD2 lamp and the GM that turn on are in aligned condition, or the GD1 lamp of turning on and GM be in its state, and there is the low level input interface microcontroller position that is connected with GM, then claims it to satisfy the location conditioned disjunction that makes zero and satisfy spacing condition.The present embodiment concrete operations are, the interface position that several mouthfuls of positions of single-chip microcomputer that will link to each other with GD1 be " 0 ", be connected with GD2 is " 1 ", closes spacing lamp GD1, opens positioning lamp GD2;
S5.12 controlling and driving rotating unit rotates forward or backwards, is promptly sent to stepping motor by single-chip microcomputer and rotates control impuls forward or backwards, and drive stepping motor is rotated forward or backwards, detects on the interface position that links to each other with GM simultaneously whether the low level input is arranged;
S5.13 is condition if make zero in the satisfied location of setting of control unit judgement, be that single-chip microcomputer receives the framing signal that light-sensitive device GM sends, the low level input is arranged on the interface position that links to each other with GM, this means that GD2 and GM shown in 5 figure are in aligned condition, The Cloud Terrace is in initial position, and later rotation just is 180 ° of rotations, then execution in step S5.14 as benchmark at its positive and negative both direction, otherwise continue execution in step S5.12, continue drive stepping motor and rotate;
S5.14 stops drive stepping motor and rotates, and closes positioning lamp GD2, turns on spacing lamp GD1, waits for receiving and rotates control command and return step S5.1;
S5.2 sends the rotation control impuls according to rotating order to stepping motor.
Before execution in step S5.2, after step S5.14 carries out positioning action and finishes, opened interruption, when stepping motor turns to spacing lamp GD1 with position that light-sensitive device GM overlaps, on the interface position that is connected with GM, can produce low level, the generation that to cause interrupt, this moment can then carry out Interrupt Process, promptly carry out rezero operation, The Cloud Terrace is returned to initial position, be positioning lamp GD2 with position that light-sensitive device GM overlaps on, after this return again, wait pending other orders.
Obviously, this mode that transmits as order by audio output interface, than the method by standard interface control is more easy usually, it need not the understanding of developer to the mobile phone hardware configuration, need not to be familiar with interface rules, the form of interface command, technical indicators such as the electric parameter of interface circuit.Do not need to be equipped with the mobile phone tail socket, connector of various different sizes yet.Mobile phone carries out with the form of displaying audio file the control that motor rotates, and it is useful not only mobile phone to be implemented control, also can derive to the control of various audio/video players to information equipment simultaneously.
After increasing rotary connecting device, the real practicability of supervisory control system, family oriented, the miniaturization that can use monitoring cell-phone or monitoring mobile phone device to form, it is cheap, operation is simple is convenient to popularize.It has remedied the deficiency of traditional supervisory control system, can play a significant role in some specific occasions.
Above execution mode only is used to illustrate the present invention; and be not limitation of the present invention; the those of ordinary skill in relevant technologies field; under the situation that does not break away from the spirit and scope of the present invention; can also make various variations and modification; therefore all technical schemes that are equal to also belong to category of the present invention, and scope of patent protection of the present invention should be defined by the claims.

Claims (10)

1, a kind of monitoring mobile phone system is characterized in that this system comprises:
The monitoring probe is used for transmitting the rotation control command that monitoring client sends to rotary connecting device, and takes pictures, records and the recording monitor operation according to the monitor command that described monitoring client sends, and sends monitor data;
Rotary connecting device links to each other with described monitoring probe, is used for rotating according to the rotation control command that described monitoring probe is transmitted, and rotates thereby drive described monitoring probe;
Monitoring client sends described rotation control command or monitor command with short message, audio call or the form that sends order data to described monitoring probe, and receives monitor data.
2, monitoring mobile phone as claimed in claim 1 system is characterized in that described rotary connecting device comprises:
Control unit links to each other with described monitoring probe, receives the rotation control command that described monitoring probe is transmitted, and drives rotating unit and rotates;
Rotating unit links to each other with described control unit, and the control command that receives described control unit is rotated, and drives connected described monitoring probe and rotates.
3, monitoring mobile phone as claimed in claim 1 system is characterized in that, described monitoring probe is monitoring cell-phone or monitoring mobile phone device; Described monitoring client is landline telephone, mobile phone or PC.
4, monitoring mobile phone as claimed in claim 2 system is characterized in that described control unit is single-chip microcomputer or CPU, and described rotating unit is a stepping motor.
5, as each described monitoring mobile phone system of claim 1-4, it is characterized in that described control unit is coupled by the tail interface or the audio output interface of described monitoring mobile phone device or monitoring cell-phone.
6, monitoring mobile phone as claimed in claim 5 system is characterized in that, if described control unit is coupled by the audio output interface of described monitoring mobile phone device or monitoring cell-phone, then
Described monitoring mobile phone device or monitoring cell-phone are transmitted described rotation control command by the form that sends control impuls; Perhaps
By creating the WAVE wave file, ascii character that will the described rotation control command of expression writes described WAVE wave file with the form of PCM data, and is transmitted to described control unit from described audio output interface.
7, the method for supervising of monitoring mobile phone system, the method comprising the steps of:
S1. monitoring client rotates control command or monitor command by the form of short message, audio call or transmission order data to the transmission of monitoring probe;
S2. described monitoring probe receives and resolves the data that described monitoring client sends, if the data that described monitoring client sends are then execution in step S3 of monitor command, if the data that described monitoring client sends are for rotating control command, execution in step S4 then, otherwise handle by common short message, audio call, Data Receiving;
S3. described monitoring probe is according to described monitor command, takes pictures, recording or recording monitor operation, and sends monitor data to described monitoring client;
S4. described monitoring probe is directly transmitted described rotation control command by the tail interface that is connected with the control unit of described rotary connecting device, or from audio output interface, transmit described rotation control command by the form that sends control impuls to described control unit, perhaps, to create the WAVE wave file, ascii character that will the described rotation control command of expression writes the form of WAVE wave file with the form of PCM data, transmits to described control unit by described audio output interface;
S5. described control unit receives and carries out described rotation control command.
8, the method for supervising of monitoring mobile phone as claimed in claim 7 system is characterized in that described control unit is carried out described rotation control command and comprised step:
S5.1 judges described rotation control command for rotating order or for making zero order, if rotate order, and execution in step S5.2 then, if make zero order, execution in step S5.11 then, otherwise by common short message, audio call, Data Receiving processing;
The described control unit of S5.11 carries out the initialization setting, sets the condition that makes zero;
S5.12 drives described rotating unit and rotates forward or backwards;
S5.13 satisfies the condition of setting that makes zero if described control unit is judged, execution in step S5.14 then, otherwise continue execution in step S5.12;
S5.14 controls described rotating unit stops operating it, waits for receiving and rotates control command and return step S5.1;
S5.2 drives described rotating unit and rotates according to described rotation order.
9, the method for supervising of supervisory control system as claimed in claim 7 is characterized in that, described monitoring probe is monitoring cell-phone or monitoring mobile phone device; Described monitoring client is landline telephone, mobile phone or PC.
As the method for supervising of claim 7 or 8 described supervisory control systems, it is characterized in that 10, described control unit is single-chip microcomputer or CPU, described rotating unit is a stepping motor.
CNA2008102394089A 2008-12-08 2008-12-08 Mobile phone monitoring system and monitoring method thereof Pending CN101420707A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2008102394089A CN101420707A (en) 2008-12-08 2008-12-08 Mobile phone monitoring system and monitoring method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2008102394089A CN101420707A (en) 2008-12-08 2008-12-08 Mobile phone monitoring system and monitoring method thereof

Publications (1)

Publication Number Publication Date
CN101420707A true CN101420707A (en) 2009-04-29

Family

ID=40631248

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2008102394089A Pending CN101420707A (en) 2008-12-08 2008-12-08 Mobile phone monitoring system and monitoring method thereof

Country Status (1)

Country Link
CN (1) CN101420707A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102611877A (en) * 2012-03-06 2012-07-25 成都华迈通信技术有限公司 3G network-based network camera networking method and monitoring system
WO2014117304A1 (en) * 2013-01-31 2014-08-07 Chen Yuqing Method of using mobile phone to implement remote automatic video monitoring
CN104066027A (en) * 2014-06-06 2014-09-24 武汉天喻信息产业股份有限公司 Audio device recognition method and system
CN104113724A (en) * 2013-04-16 2014-10-22 展讯通信(上海)有限公司 Monitoring method based on mobile device, and monitoring system
CN104244506A (en) * 2014-03-12 2014-12-24 厦门兴恒隆照明科技有限公司 Multifunctional illuminating lamp with intelligent network monitoring function and monitoring method thereof
CN106791661A (en) * 2016-12-27 2017-05-31 天津市大禹节水灌溉技术研究院 Cloud platform control system based on STM32
CN107889085A (en) * 2016-09-30 2018-04-06 亚旭电脑股份有限公司 Voice signal is input to method, electronic installation and the computer of intelligent apparatus
CN111811794A (en) * 2020-06-18 2020-10-23 浙江大华技术股份有限公司 Cloud deck self-checking method and device, computing equipment and storage medium
CN112929484A (en) * 2021-02-02 2021-06-08 维沃移动通信(杭州)有限公司 Notification message reminding method, notification message reminding device and electronic equipment

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102611877A (en) * 2012-03-06 2012-07-25 成都华迈通信技术有限公司 3G network-based network camera networking method and monitoring system
WO2014117304A1 (en) * 2013-01-31 2014-08-07 Chen Yuqing Method of using mobile phone to implement remote automatic video monitoring
CN104509098A (en) * 2013-01-31 2015-04-08 陈育庆 Method of using mobile phone to implement remote automatic video monitoring
CN104113724A (en) * 2013-04-16 2014-10-22 展讯通信(上海)有限公司 Monitoring method based on mobile device, and monitoring system
CN104244506A (en) * 2014-03-12 2014-12-24 厦门兴恒隆照明科技有限公司 Multifunctional illuminating lamp with intelligent network monitoring function and monitoring method thereof
CN104066027A (en) * 2014-06-06 2014-09-24 武汉天喻信息产业股份有限公司 Audio device recognition method and system
CN104066027B (en) * 2014-06-06 2017-12-08 武汉天喻信息产业股份有限公司 The recognition methods of audio frequency apparatus and system
CN107889085A (en) * 2016-09-30 2018-04-06 亚旭电脑股份有限公司 Voice signal is input to method, electronic installation and the computer of intelligent apparatus
CN106791661A (en) * 2016-12-27 2017-05-31 天津市大禹节水灌溉技术研究院 Cloud platform control system based on STM32
CN111811794A (en) * 2020-06-18 2020-10-23 浙江大华技术股份有限公司 Cloud deck self-checking method and device, computing equipment and storage medium
CN111811794B (en) * 2020-06-18 2022-05-20 浙江大华技术股份有限公司 Cloud deck self-checking method and device, computing equipment and storage medium
CN112929484A (en) * 2021-02-02 2021-06-08 维沃移动通信(杭州)有限公司 Notification message reminding method, notification message reminding device and electronic equipment
CN112929484B (en) * 2021-02-02 2022-07-12 维沃移动通信(杭州)有限公司 Notification message reminding method, notification message reminding device, electronic equipment and readable storage medium

Similar Documents

Publication Publication Date Title
CN101420707A (en) Mobile phone monitoring system and monitoring method thereof
EP1655925A1 (en) Systems, methods and devices for processing audio signals
CN105681444A (en) Method for remotely controlling target wifi loudspeaker box by intelligent terminal
CN106507261A (en) Method for determination or clarifying space relation in speaker system
US8019449B2 (en) Systems, methods, and devices for processing audio signals
US20130039157A1 (en) Multitrack recording using multiple digital electronic devices
CN201336693Y (en) Mobile phone monitoring system and platform therein
CN206865678U (en) Portable intelligent microphone and sound equipment equipment integrating
CN104135643B (en) A kind of method and apparatus of long range high definition transmission
CN109076273A (en) Bluetooth microphone
CN107786282A (en) Information interacting method, electronic equipment and server based on sound wave
EP1655938A1 (en) High-quality audio transmission by bandwidth negotiation and codec selection
WO2005062915A3 (en) Power line communications device in which physical communications protocol layer operation is dynamically selectable
CN206042326U (en) Take intelligent WIFI stereo set of APP function
CN202940816U (en) Audio data transmission system, transmission device and electronic signing tool
CN205812305U (en) A kind of intelligent radio microphone
CN103402180B (en) Acousto-optic-electric equipment state control system and method based on mobile terminal
CN103873711A (en) VOIP phone-based virtual USB (universal serial bus) sound card creation method
CN208572408U (en) Wireless microphone based on bluetooth BLE transmission
CN1201274C (en) Caption type language learning system using caption type learning terminal and communication network
CN212435771U (en) Wireless portable integrated studio system
CN101360151B (en) Network telephone system under general plug and use UPnP network protocol
CN103166831B (en) Data processing method, terminal and system
CN101616245A (en) A kind of optical display TV with Kara OK function
CN206061042U (en) Mike

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Open date: 20090429