Summary of the invention
The technical issues that need to address of the present invention are, how a kind of automobile remote control system and method thereof are provided, and can safe and convenient ground use smart mobile phone to control and monitor electronic equipment in automobile, meet the various demands for control of user.
First technical problem of the present invention solves like this: build a kind of vehicle remote control method, it is characterized in that, the car-mounted device of by webserver backstage, same account being bound by smart mobile phone carries out Long-distance Control, comprises the following steps:
In webserver backstage, some accounts are bound multiple devices separately, at least comprise in multiple devices that a smart mobile phone and a chassis carry device;
After the car-mounted device and smart mobile phone while logging in online server background of same account binding being detected, webserver backstage is set up and is connected with the first virtual circuit of car-mounted device and is connected with the second virtual circuit of binding smart mobile phone, then regularly carries out heartbeat detection;
The user carries out vehicle remote and controls and input concrete monitoring control command on smart mobile phone, after the access control authority, by the second virtual circuit, connects and is connected with the first virtual circuit, through webserver backstage, described monitoring control command is pushed to car-mounted device;
Car-mounted device receives and carries out described monitoring control command, then connects and to be connected with the second virtual circuit by the first virtual circuit, will control result through webserver backstage or feedback information is pushed to smart mobile phone.
According to vehicle remote control method provided by the invention, it is the long connection of transmission control protocol (TCP) that described virtual circuit connects.
According to vehicle remote control method provided by the invention, use first account and password logging in online server background on an equipment, webserver backstage is increased the bound device operation for this account automatically.
According to vehicle remote control method provided by the invention, same account has bound device sum/binding mobile phone sum/binding car-mounted device sum restriction, and when quantity, completely the time, whether described increase bound device operation failure or prompting delete other bound device.
According to vehicle remote control method provided by the invention, described binding comprises according to account and with the phone number of its binding or device hardware coding and generates bound device number.
According to vehicle remote control method provided by the invention, this long-range control method also comprises by network and carries out long-range navigation: when the user uses vehicle mounted guidance, behind the destination that built-in guider None-identified is inputted in car-mounted device, automatically proceed to network client service center through mobile wireless network and process, after processing, destination coordinate or guidance path or failure result are sent to car-mounted device.Wherein: network client service center is by the unified management of webserver backstage.
According to vehicle remote control method provided by the invention, this long-range control method also is included between the smart mobile phone of same account binding or carries out remote monitoring between mobile unit; And the multiple devices that the binding of same account detected are set up individual device after the logging in online server background simultaneously and are connected with the virtual circuit between webserver backstage.
According to vehicle remote control method provided by the invention, this long-range control method also comprises webserver backstage active collection car-mounted device state and information, when webserver backstage receives the inquiry request of binding smart mobile phone, corresponding states and information are sent to smart mobile phone.
According to vehicle remote control method provided by the invention, the monitoring control command that smart mobile phone sends to car-mounted device by webserver backstage comprise open the door, one or more in (advise supplementary as far as possible) and file synchronization or transmission are controlled in igniting, broadcast receiver.
According to vehicle remote control method provided by the invention, the monitoring control command that smart mobile phone sends to car-mounted device by webserver backstage comprises inquiry automobile current location, and described car-mounted device comprises positioner, described smart mobile phone storing map data.Wherein: it is gps system that positioner includes, but are not limited to.
Second technical problem of the present invention can solve like this: build a kind of automobile remote control system, it is characterized in that, comprising:
Webserver backstage, for managing account, apparatus bound and user log in, after the car-mounted device that the same account of binding detected and smart mobile phone while logging in online server background, webserver backstage sets up that webserver backstage is connected with the first virtual circuit of car-mounted device and webserver backstage is connected with the second virtual circuit of binding smart mobile phone, then forwarding or pushed information the regular heartbeat detection of carrying out are for managing account, apparatus bound and user log in, after the car-mounted device that the same account of binding detected and smart mobile phone while logging in online server background, webserver backstage sets up that webserver backstage is connected with the first virtual circuit of car-mounted device and webserver backstage is connected with the second virtual circuit of binding smart mobile phone, then forwarding or pushed information the regular heartbeat detection of carrying out are for managing account, apparatus bound and user log in, after the car-mounted device that the same account of binding detected and smart mobile phone while logging in online server background, webserver backstage sets up that webserver backstage is connected with the first virtual circuit of car-mounted device and webserver backstage is connected with the second virtual circuit of binding smart mobile phone, then forward or pushed information the regular heartbeat detection of carrying out, wherein: it is the long connection of TCP that virtual circuit connects,
Smart mobile phone, utilize and the same binding account of car-mounted device, by mobile network or WLAN logging in online server background, for connect control result or the feedback information of output remote monitoring control command or reception car-mounted device by virtual circuit;
Car-mounted device, built-in positioner, utilize with the same binding account of smart mobile phone and pass through mobile network's logging in online server background, for receiving and carry out described remote monitoring control command, then result connected and sends to smart mobile phone by virtual circuit.
According to automobile remote control system provided by the invention, car-mounted device comprises vehicle electronics and, with the intelligent navigation of positioner, it is gps system that positioner includes, but are not limited to.
Automobile remote control system provided by the invention and method thereof have following advantage than prior art:
1, carry, easy to use;
2, real-time, safe and reliable, can replace electron key;
3, the control monitoring content is extensive, uses client, safe and reliable, meets various other controls of user or monitoring demand.
Embodiment
The automobile remote control system of the specific embodiment of the invention and method thereof are applied between the vehicle mounted guidance GALA system of Android system smart mobile phone, GALA webserver backstage and embedded Android system that company of handset application " GALA cat " is installed, and they are connected with Internet by mobile.
As shown in Figure 1, in the specific embodiment of the invention, between the mobile phone GALA cat of car-mounted device and binding, by network and multi-layer protocol, carry out communication, by mobile 3G, 2G, the WIFI network technology, realize telemonitoring and the control of mobile phone to car-mounted device, specifically comprises:
Collect vehicle condition
The location automobile position, realize automobile tracking etc.
The propelling movement of information between car-mounted device and mobile phone.For example, automatically send the rescue note, violation information directly sends to binding mobile phone etc.
This system is mainly divided following components:
Based on GALA account background management system,
GALA account mobile phone based on the synchronous protocol patent and car-mounted device binding
Realize automobile remote control system based on above 2.
(i) the background management system based on the GALA account
As shown in Figure 2, in the specific embodiment of the invention, webserver backstage mainly completes GALA registration maintenance, information pushing, collection vehicle condition, phone number binding and the security settings such as personal information and password.
(ii) the mobile phone based on the GALA account and car-mounted device binding
As shown in Figure 3, in the specific embodiment of the invention, mobile phone passes through identical GALA account relating with car-mounted device, when mobile phone or car-mounted device are used the GALA account to log in first, by webserver backstage, bound, such mobile phone can be controlled many chassis and carry device, or several mobile phones can be controlled a chassis and carry device, also can further limit the number of devices of maximum bindings, or limit vehicle-mounted/mobile phone quantity.
(iii) concrete function is realized
The synchronous assistant of GALA, synchronous music, video, software and configuration data etc. between mobile phone and car machine easily.
Function declaration:
1.GALA synchronous assistant, the cloud stores service of the functions such as synchronous, the backup of setting a file; Data file in automatic synchronization mobile phone and car machine, can also back up important data to high in the clouds, prevents loss of data; Stability and safety, be worth the user to trust.
2.GALA synchronous assistant is for you the file in a certain equipment, automatic synchronization is in other equipment; Information in individual device is pooled together; Only need, by usb data line transmission data, can not produce flow.
The file synchronization functional sequence:
As shown in Figure 4, carry out easily the cloud stores service of the functions such as synchronous or data backup between mobile phone and network terminal by the synchronous assistant of GALA, data file in automatic synchronization mobile phone and car machine, can also back up important data to high in the clouds like this, prevents loss of data; Stability and safety, be worth the user to trust.Concrete steps comprise: at first, and after the user need to enter after the gala system and log in the GALA account number; Click synchronous assistant.The point Backup Data is to high in the clouds, and click enters, and selects to need the content of backup.In the chosen content hurdle, be divided into and arrange and synchronously, arrange and be divided into wallpaper, application state, system information; Application is divided into whole application.After the user chooses the data that oneself will back up, after point starts synchronously, eject input GALA account number cipher, can send data by the POST mode and flow to server, after sending successfully, server returns successfully, synchronously completes.
As shown in Figure 5, by the synchronous assistant of GALA synchronous music, video, software and configuration data etc. between mobile phone and car-mounted device easily, make like this information in individual device pool together; Only need, by usb data line transmission data, can not produce flow.Concrete steps comprise: at first, gala cat and engine end, log in same GALA account.After entering the gala cat, click synchronous assistant.The point transmitting file is to the car machine, and click enters, and selects to send content; In the chosen content hurdle, music, video, software and four selections of configuration data are arranged, the file that selection will send, generate the synchronous documents list.After connecting with engine end, the synchronous assistant of engine end automatic spring, after listed files being detected, click synchronously, ejects input GALA password, after the input password is correct, can start to receive file.
As shown in Figure 6, bus location specifically comprises the following steps:
601) user logs in the GALA cat, opens bus location
602) pop-up device list
603) input GALA password
604) transmission source and target device are number to application server
605) application server sends the request of propelling movement
606) push server pushes information to the appointment car-mounted device
607) car-mounted device calls GPS and obtains positional information
608), after the car-mounted device obtaining information, by device number, the gps position coordinates sends to application server together
609) application server sends to push server by information
6010) push server returns information pushing to the GALA cat
6011) the GALA cat obtains and pushes GPS position coordinates (longitude and latitude) the invocation map display automobile position of coming;
6012) click and consult a map and can spread out the map.
Its propelling movement realizes that principle is specially: 1) the inner embedding of GALA cat and car-mounted device pushes JAVA language development instrument sdk, sets up tcp length with push server and is connected, and regularly carries out heartbeat detection.2) when there being a side to need to push, send pushed information and physical address MAC, GALA account (GALAID) is to application server API, and application server calls the api interface of push server, sends the request of propelling movement.3), after push server receives request msg, pushed information is to the car-mounted device of GALA user or the binding mac of appointment.
Automobile remote-control
As shown in Figure 7, automobile remote-control specifically comprises the following steps:
701) user logs in the GALA cat, opens automobile remote-control
702) pop-up device list
703) input GALA password
704) transmission source and target device are number to application server
705) application server sends the request of propelling movement
706) push server pushes information to the appointment car-mounted device
707) car-mounted device calls the automobile negative and completes command operation
708), after car-mounted device completes order, device number is sent to together with command execution results to application server
709) application server sends to push server by information
7010) push server returns information pushing to the GALA cat
7011) GALA cat display operation result.
Its propelling movement realizes that principle is specially: 1) the inner embedding of GALA cat and car-mounted device pushes JAVA language development instrument sdk, sets up tcp length with push server and is connected, and regularly carries out heartbeat detection.2) when there being a side to need to push, send pushed information and physical address MAC, GALA account (GALAID) is to application server API, and application server calls the api interface of push server, sends the request of propelling movement.3), after push server receives request msg, pushed information is to the car-mounted device of GALA user or the binding mac of appointment.
As shown in Figure 8, the first user auto navigation preferable procedure of application native system comprises the following steps:
801) user logs in the GALA cat, opens a key navigation
802) speech recognition destination
803) identify successfully transmitting apparatus number, GPS and coordinate information are to application server
804) after recognition failures just forwards customer service to and obtains coordinate, send information to application server
805) application server calculates guidance path according to coordinate information.Generate character string.
806) application server sends pushed information to push server
807) push server is carried device by the information pushing carriage return
808) car-mounted device calls high moral map show navigator
809) start navigation.
As shown in Figure 9, the first user auto navigation preferable procedure of application native system comprises the following steps:
901) user logs in the GALA cat, opens a key navigation
902) customer service is obtained after destination opens customer service platform and search coordinate by voice, send information to application server
903) application server calculates guidance path according to coordinate information.Generate character string.
904) application server sends pushed information to push server
905) push server is by information pushing carriage return machine
906) the car machine calls high moral map show navigator
907) start navigation
Their propelling movement realizes that principle is specially: 1) the inner embedding of GALA cat and car-mounted device pushes JAVA language development instrument sdk, sets up tcp length with push server and is connected, and regularly carries out heartbeat detection.2) when there being a side to need to push, send pushed information and physical address MAC, GALA account (GALAID) is to application server API, and application server calls the api interface of push server, sends the request of propelling movement.3), after push server receives request msg, pushed information is to the car-mounted device of GALA user or the binding mac of appointment.
Certainly, the above is only preferred embodiment of the present invention, and the equivalence done according to the described structure of patent claim of the present invention, feature and flow process therefore all changes or modifies, in being included in patent claim of the present invention and being.