Summary of the invention
The purpose of this invention is to provide a kind of simple to operately, real-time, ageing good can realize the monitoring cell-phone of multiple access, the monitoring mobile phone system that can realize end-to-end visit and the method for supervising of monitoring cell-phone.
For achieving the above object, the present invention adopts following technical scheme:
A kind of monitoring cell-phone comprises mobile module, is used to realize radio communication function, it is characterized in that, this mobile phone also comprises: identification module, and whether be used for before described mobile phone connects monitoring server identifying user identity information legal; Link block is used for after subscriber identity information is legal, sets up, keeps and disconnect being connected of described mobile phone and monitoring server, and described monitoring server is by different terminal accesses; Sending module is used for sending log-on message, monitoring request or monitor data to described monitoring server; Receiver module is used to receive the monitoring request by the other-end transmission of being transmitted by described monitoring server, perhaps receives the monitor data of being transmitted by described monitoring server from controlled object; Parsing module is used to resolve the data that described receiver module receives and is monitoring request or monitor data; Executive Module is used for the analysis result according to described parsing module, loads corresponding functional modules.
Wherein, this mobile phone also comprises: parameter is provided with module, is used to be provided with subscriber identity information, controlled object identity information, and monitoring server information; Memory module is used to store the identity information of described subscriber identity information and controlled object; Reminding module is used for sending to the user checking result of described identification module and described controlled object state information.
Wherein, described subscriber identity information comprises user's name, login name, login password and access code, described controlled object identity information comprises name, accession number and the access code of controlled object, the IP address that described monitoring server information is monitoring server.
Wherein, described log-on message comprises login name and access code, described monitoring request comprises the identity information and the monitor mode of controlled object, and described monitor data is identity information and video, voice or the picture control information of sending the terminal of monitoring request to it that comprises of controlled object transmission.
Wherein, corresponding functional module comprises: video module, carry out the action of video recording or video display; Voice module is carried out the action of recording or speech play; Image module is carried out and is taken pictures or the image shows action.
A kind of monitoring mobile phone system, comprise monitoring server and terminal monitoring mobile phone, it is characterized in that, described monitoring server, the terminal monitoring handset allocation IP address that is used to each to connect with it, and according to the identity information of the controlled object that comprises in the monitoring request from the terminal monitoring mobile phone, perhaps comprise in the monitor data to its identity information that sends the other-end of monitoring request, transmit described monitoring request or monitor data;
Described monitoring cell-phone comprises: mobile module is used to realize radio communication function; Identification module, whether be used for before described mobile phone connects monitoring server identifying user identity information legal; Link block is used for after subscriber identity information is legal, sets up, keeps and disconnect being connected of described mobile phone and monitoring server, and described monitoring server is by different terminal accesses; Sending module, be used for sending log-on message to described monitoring server, perhaps comprise the identity information of controlled object and the monitoring request of monitor mode, perhaps comprise to described monitoring cell-phone and send the identity information of other-end of monitoring request and the monitor data of video, voice or picture control information; Receiver module is used to receive the monitoring request by the other-end transmission of being transmitted by described monitoring server, perhaps receives the monitor data of being transmitted by described monitoring server from controlled object; Parsing module is used to resolve the data that described receiver module receives and is monitoring request or monitor data; Executive Module is used for the analysis result according to described parsing module, loads corresponding functional modules.
Wherein, described monitoring cell-phone also comprises: parameter is provided with module, is used to be provided with subscriber identity information, controlled object identity information, and monitoring server information; Memory module is used to store the identity information of described subscriber identity information and controlled object; Reminding module is used for sending to the user checking result of described identification module and described controlled object state information.
Wherein, corresponding functional module comprises: video module, carry out the action of video recording or video display; Voice module is carried out the action of recording or speech play; Image module is carried out and is taken pictures or the image shows action.
The present invention also provides a kind of method for supervising of monitoring cell-phone, and this method may further comprise the steps:
S1. verify the identity information that the user imports,, then send prompting, if unanimity, then execution in step S2 if the validated user identity information of described identity information and storage is inconsistent;
S2. send log-on message to described monitoring server, connect with monitoring server;
S3. send the monitoring request that comprises controlled object information and monitor mode to described monitoring server, perhaps, if be connected foundation with monitoring server after, receive the monitoring request from other-end of transmitting, then send monitor data to monitoring server by monitoring server;
S4. receive the monitor data that sends by monitoring server, perhaps the monitoring request by the other-end transmission of transmitting by described monitoring server from described controlled object;
S5. the described data that receive are resolved, and carry out video recording, the operation of recording and take pictures according to analysis result.
Wherein, the described corresponding operation of step S5 comprises:
S5.1. if the analysis result of described data is monitoring request, the then action that adapts according to monitor mode;
S5.2. if analysis result is a monitor data, then carry out different displayings according to described monitor data multi-form;
S5.3. if above-mentioned both neither be then to abandon data.
The method for supervising of monitoring cell-phone provided by the invention, supervisory control system and monitoring cell-phone has following beneficial effect:
1, manufacture simply, hardware does not need to carry out any increase and change, only need transform former Interface Control and function corresponding process software.
2, cheap, it is the software application product of implementing on existing mobile phone hardware basic platform, so need not manufacturing intervention, its price is very cheap compared with the prior art, can be accepted by common people, except that product price is low,, can make that post and telecommunication tariff reduces greatly owing to can also adopt the data in mobile phone transmission manner.
3, control flexibly, but control mode both mobile phone short message, dialing also can be the network data visit, but the receiving terminal fixed line phone of monitor message, multimedia message mobile phone, e-mail or computer screen, it does not have the notion of the sound end and the monitoring client of traditional supervisory control system, two ends can exchange function, can control mutually.
4, adopt the window type method of operation,, controlled plant is write down, orders the formal operations with button in the mode of name, learn that more than need modes such as telephone number and control command are simple and practical by heart in the computation mode of drop-down menu and button.
Realized separating of mobile number and communication data that 5, monitoring server is only discerned login name and access code, also can continue to use with same login name and access code even same like this terminal monitoring mobile phone is changed SIM card.
Embodiment
The method for supervising of monitoring cell-phone, monitoring mobile phone system and monitoring cell-phone that the present invention proposes is described as follows in conjunction with the accompanying drawings and embodiments.
Make up a supervisory control system as shown in Figure 1, this control system comprises formation terminal monitoring mobile phone as shown in Figure 2, and special-purpose monitoring server, and wherein, terminal also can be other equipment, for example PC.Insert and mobile access way by the Internet, realize the monitoring of the modes such as video, voice and image of terminal, operating in of user finished on the terminal, and the terminal that inserts this monitoring server can also can be controlled end for control end both.
Wherein, the task of special-purpose monitoring server has two functions: the one, for inserting the terminal distribution IP address of monitoring server, make that terminal can be accessed as internet device; The 2nd, according to the controlled end identity information that comprises in the monitoring request from control end and from the control end identity information that comprises in the controlled end monitor data, forwarding is from the monitoring request of control end or from the monitor data of controlled end, and this monitoring server is not only set for a certain particular terminal, it is set for monitor service, can use for a plurality of terminals, just as the multimedia message mobile phone will use the server that the multimedia message service function is provided as system, the CAI e mobile phone also wants the server of the CAI e service function that using system provides the same.
Be illustrated in figure 2 as the structural representation of monitoring cell-phone of the present invention, this monitoring cell-phone comprises:
Mobile module 001 is used to realize basic radio communication function;
Parameter is provided withmodule 002, is used to be provided with subscriber identity information, controlled object identity information, and provides the information of the monitoring server of monitor service for it;
Memory module 011 is used to store described subscriber identity information and controlled object identity information;
Identification module 003 was used for before connecting with monitoring server, and whether the information of checking user input is legal;
Reminding module 004 is used for sending to the user checking result of described identification module and described controlled object state information;
Link block 005 is used for after subscriber identity information checking is legal, sets up, keeps and being connected of disconnection and described monitoring server;
Sendingmodule 006 is used for sending log-on message, monitoring request or monitor data to described monitoring server;
Receiver module 007 is used to receive the monitoring request by the other-end transmission of being transmitted by described monitoring server, perhaps receives the monitor data of being transmitted by described monitoring server from controlled object;
Parsing module 008 is used to resolve the data that described receiver module receives and is monitoring request or monitor data;
Executive Module 009 is used for the analysis result according to described parsing module, loads correspondingfunctional modules 010;
Wherein, subscriber identity information comprises user's name, login name, login password and access code; Described controlled object identity information comprises name, accession number, phone number and the access code of controlled object, name, accession number and access code are necessary, phone number is not a necessary information, just for the ease of the supplementary of contact, can carry out corresponding setting as required; The IP address that described monitoring server information is monitoring server.
Wherein, described log-on message comprises login name and access code, described monitoring request comprises the identity information and the monitor mode of controlled object, and described monitor data is identity information and video, voice or the picture control information of sending the terminal of monitoring request to it that comprises of controlled object transmission.
Correspondingfunctional modules 010 comprises: video module 010 ' and, carry out the action of video recording or video display;Voice module 010 ", carry out the action of recording or speech play;Image module 010 " ', carry out and take pictures or the image shows action.
The present invention has realized the Internet control of monitoring cell-phone, and as shown in Figure 3, its method for supervising comprises the steps:
S1. verify the identity information that the user imports,, then send prompting, if unanimity, then execution in step S2 if the validated user identity information of described subscriber identity information and storage is inconsistent;
S2. send log-on message to described monitoring server, connect with monitoring server;
S3. send the monitoring request that comprises controlled object information and monitor mode to described monitoring server, perhaps, if receive the monitoring request from other-end of transmitting be connected foundation with monitoring server after, then send monitor data to monitoring server by monitoring server;
S4. receive the monitor data that sends by monitoring server, perhaps the monitoring request by the other-end transmission of transmitting by described monitoring server from described controlled object;
S5. the described data that receive are resolved, and carry out video recording, the operation of recording and take pictures according to analysis result.
Wherein, the described corresponding operation of step S5 comprises: if the analysis result of described data is the monitoring request, the then action that adapts according to monitor mode of execution in step S5.1, if analysis result is a monitor data, execution in step S5.2 then carries out different displayings according to the multi-form of described monitor data, if above-mentioned both neitherly be, then execution in step S5.3 abandons data.
Wherein, before step S1, carry out the initialization setting to monitoring cell-phone, as shown in Figure 4, the homepage of monitoring cell-phone (main menu) 100 has increased a monitoring icon than existing mobile phone homepage, clicks the monitoring icon, login interface 200 occurs, operation can be logined and withdraw from this interface.
If use this monitoring cell-phone first, do not import any data in the input frame of login interface 200, directly clicking login gets final product, enter control interface 300, click setting enters customer parameter interface 400 is set, carry out the setting of validated user identity information, the parameter that need be provided with comprises the IP address of user's name, accession number, login password, access code and monitoring server, and described each parameter is preserved.Wherein, access code is extremely important, is the necessary condition that other-end is controlled this terminal, if controlling party does not know that the access code of this terminal can't implement to control; The IP address of monitoring server must be filled in correctly, otherwise will can not get the monitor service support.Like this, directly input user's name and login password login get final product in the input frame of login interface in use after this.
After finishing being provided with of validated user identity information, return an interface 300, step S2 finishes by clicking to be connected with the monitoring server process that connects, this moment, monitoring cell-phone sent the log-on message that comprises login name and access code to monitoring server, request connects, connection is to notify this monitoring cell-phone of monitoring server to enter monitoring mode, monitoring server need be given the terminal monitoring handset allocation IP address of login and with the login information registration of this terminal monitoring mobile phone, if this terminal monitoring mobile phone monitoring server IP when the validated user identity information is set fills in the address correctly, monitoring server will return link information, show that this terminal monitoring mobile phone logined this monitoring server, after this just can implement to have monitored.
If step S3 is to asking for monitoring that monitoring server sends in addition, and then the monitoring request must comprise the identity information of controlled object, and monitoring server could be transmitted monitoring according to target identity information and ask.Therefore, the editor who just finishes controlled object and monitor mode before the monitoring request must sent to monitoring server, realize by following operation: click editor at control interface 300, enter editing interface 500, can import controlled object name, accession number, cell-phone number and access code at editing interface, and click and preserve, controlled object can be provided with a plurality of, and can increase or delete controlled object at any time newly.
After the controlled object information setting is finished, return user control interface 300, at this moment, can also be by selecting disconnection to connect or directly moving back or execution in step S3.
Select to disconnect and connect, monitoring server is removed the log-on message of this terminal monitoring mobile phone, if any other-end this monitoring cell-phone is conducted interviews, can receive the prompting of monitoring server " the other side is not online ", disconnect the display interface that connects back this terminal monitoring mobile phone and still be control interface 300, wait reconnects.
Withdraw from the work that operates on the monitoring server to be done and connect equally with disconnecting, just the terminal monitoring mobile phone has withdrawed from monitoring mode at this moment, has returned main menu 100, need re-enter the legal users identity information if want to enter monitor state.
Continue execution in step S3, implement monitoring, operate as shown in Figure 5:
S10. select controlled object and monitor mode;
S20. send the monitoring request that comprises controlled object identity information and monitor mode to monitoring server;
S30. if controlled object has been logined monitoring server, then execution in step S40 does not login monitoring server as if controlled object, and monitoring server can provide the prompting of " the other side is not online ", returns step S10;
S40. monitor the network port, wait for receiving the data that monitoring server is transmitted;
S50. receive and resolve the data that monitoring server is transmitted, if the data parsing that receives is monitoring request, then execution in step S56; Otherwise execution in step S62 judges whether it is monitor data, if monitor data, then execution in step S621 shows data according to monitor data form (video, photo, sound); If neither the also non-monitor data of monitoring request, then execution in step S562 abandons this data.
Wherein, step S61 judges whether monitor mode is picture control, if the operation of taking pictures of step S611 is then carried out in picture control, execution in step S70 sends data to monitoring server; If for picture control, execution in step S612 judges whether it is the video monitoring mode, if the video monitoring mode is then carried out the vision operation of step S613, execution in step S70 sends data to monitoring server; If be not the video monitoring mode, then carry out the recording operation of step S614, execution in step S70 sends data to monitoring server.
Wherein, among the step S621, if what select is sound or video monitoring mode, monitor data just is sound or video image, in the earphone of controlling party monitoring cell-phone, just can hear the sound around the controlled object, or on display screen the video pictures of show events, if the picture control mode, then monitor data becomes photo, shows photo on the display screen of monitoring cell-phone.
For sound, video this have start and the control of shut-down operation for, need not to send and cease and desist order, desire stops also only needing to select to disconnect to connect or withdraw to get final product, for the termination of monitoring, the function of the two is the same, different also be " disconnect and connecting " after, monitoring server is removed the log-on message of this terminal monitoring mobile phone, if any other-end this monitoring cell-phone is conducted interviews, can receive the prompting of monitoring server " the other side is not online ".Disconnect the display interface that connects back this terminal monitoring mobile phone and get back to control interface 300, wait reconnects; Withdraw from the work that operates on the monitoring server to be done and connect equally with disconnecting, just the terminal monitoring mobile phone has withdrawed from monitoring mode at this moment, has returned main menu 100, need re-enter the legal users information registration if want to reenter monitoring mode.Select the monitoring cell-phone of " disconnect and connecting " or " withdrawing from " operation, monitoring server is nullified its log-on message, but this moment, the policer operation of controlled object was still underway as recording, video recording, and continue to mail to monitoring server endlessly, so monitoring server can notify controlled object controlling party monitoring cell-phone can't receive data, at this moment, controlled object will stop recording, video recording operation.
From the aforesaid operations process as can be seen, the benefit of this method for supervising is not send the number of note control command and monitoring cell-phone at every turn, and after once setting was finished, the operator only need select the name of controlled object and control mode to get final product.
This method for supervising is that two equipment on the Internet communicate in essence.The effector sends one piece of data to controlled object, contains the content such as name, access code, monitor mode of controlled object in the data.These data at first are sent to monitoring server, monitoring server will check earlier whether login name, the access code in these data is registered, if not registration of this user (promptly login does not connect monitoring server) then monitoring server can return to effector's information, it is online to inform that controlled object does not have; If controlled object has been logined and has been connected monitoring server, monitoring server will be transmitted the data that the effector sends and give controlled object, controlled object is received after the data Equipment Control flow process that starts self according to monitor mode as taking pictures, record or video recording etc., and the monitor data that obtains is sent to monitoring server.Except that monitor message itself, also will comprise identity information, monitor mode of effector etc. in the data, otherwise monitoring server does not know where data are mail to; Monitoring server is received the monitor data of controlled object transmission and according to the effector's identity information that includes, can like clockwork monitor data be returned to the effector.The effector receives monitor data and will select corresponding form such as image, sound or video to be showed on the respective interface of terminal according to monitor mode.
The data communication of control end of the present invention and controlled end is to adopt existing network application programming interface Socket to realize.So-called Socket is also referred to as " socket " usually, is used to describe IP address and port, is the handle of a communication chain.Application program is sent to network by " socket " usually and is asked or reply network requests, uses Socket to realize that the communication of equipment between network and the conversation of two telephone boothes between telephone network are similar.The data of communication can be any contents, and different communication parties can make different explanations to the data content.No matter be that monitor mode, monitored picture or controlled object name are a string data flow on network, can realize so need relevant communication mode to make corresponding agreement earlier.If received by certain incoherent equipment, may be a skimble-skamble heap data for it such as effector's monitoring request.
Below by separately input in the monitor service between three users explanation being set is how to realize mutual policer operation.Wherein, have have video, user's first and third of the monitoring cell-phone of multimedia function such as image at home, another has the user's second that carries the pick-up lens notebook computer in the U.S., it is domestic that monitoring server is located at, its IP address is 169.254.2.2.
At first both sides will know the other side's name and access code mutually, otherwise can't implement control, and this also is to be avoided the abuse of monitoring and the requisite measure of taking.Both sides' setting is respectively:
| The user | First | Second | Third |
| Name | User's first | User's second | The user third |
| Accession number | abc | def | ghi |
| Login password | 123 | 456 | 789 |
| Access code | abc123 | def456 | ghi789 |
| Server ip | 169.254.2.2 | 169.254.2.2 | 169.254.2.2 |
Above-mentioned setting separately reflects user's identity information, thus user first, user third at home and user's second of the U.S. respectively on monitoring cell-phone and notebook computer input right user name and login password just can enter monitoring mode.
Will carry out attended operation after the login separately, with the login monitoring server, promptly this user of notification server has entered monitoring mode.The controlled object identity information that they have carried out respectively again will controlling separately is provided with as follows:
| Controlling party | User's first | Be used for second | The user third |
| (being subjected to prosecutor) name | User's second | User's first | User's first |
| (being subjected to prosecutor) accession number | def | abc | abc |
| (being subjected to prosecutor) cell-phone number | *********** | ************ | ************ |
| (being subjected to prosecutor) access code | def456 | abc123 | abc123 |
Find out that from the controlled object of editing separately user's first is elected user's second as controlled object, the access code of user's second is " def456 ", and its name is " user's second ", and accession number is " def "; And user's second with user's first as controlled object, the name of user's first, accession number and terminal access password are respectively " user's first ", " abc " and " abc123 "; User third also elects user's first as controlled object, so its editor's controlled object information and user's second are identical.
After editor finished, three users selected controlled object target and monitor mode, select as follows:
| User name | First | Second | Third |
| Controlled object | User's second | User's first | User's first |
| Monitor mode | Image | Video | Sound |
As can be seen, user's first is in the mode of image user's second to be implemented monitoring; User's second is implemented monitoring with video mode to user's first; User third then is that the mode of selecting a sound is implemented monitoring to user's first.That is to say, after as long as user's second unlatching notebook computer and login enter monitoring mode, no matter it does any operation at present just on computers, as long as user's first is sent monitoring request to it, far away from the computer of user's second of the U.S. all can be under its situation of knowing nothing automatic camera and send to user's first; For user's first also is the same, as long as it enters monitoring mode, no matter its mobile phone was in any state at that time, perhaps conversing or standby is placed on the desk, user's second and user third be as long as send the monitoring request to it, and the mobile phone of user's first all can automatic video recording, record and send to user's second and user third.
Therefrom as can be seen, each terminal both can be that the effector also can be controlled person, owing to be that notion with control/controlled plant expands all network equipments to, therefore it has broken away from the notion of simple mobile phone or computer, so long as program-controlled and have the multimedia facility, can be as a member of supervisory control system.
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.