Summary of the invention
The main purpose of the present invention is to provide a kind of smartphone System and method fors that upper solution locks door automatically, are used for
Solve on existing Vehicular door in unlocking manner, still have driver must operate intervention, can only automatic unlocking can not it is automatic on
The problems such as lock or power consumption are larger.
The purpose of the embodiment of the present invention is that be achieved through the following technical solutions:
A kind of smartphone system that upper solution locks door automatically, the system include:
Mobile device, for mutually transmitting information with car-mounted device by wireless transmission;
The car-mounted device, is installed in vehicle, for mutual with the mobile device of driver by being wirelessly transferred
Transmit information, and issue the instruction of locking with unlock according to the information of transmitting and vehicle-state, also according to the information of transmitting, by
Machine mode enters suspend mode or enters standby mode by suspend mode;
Control device, with the car-mounted device with being set in vehicle, for detecting vehicle-state and passing back described vehicle-mounted
Device, and receive the instruction with the locking and unlock that execute the car-mounted device.
Preferably, the mobile device, comprising:
Mobile radio telecommunications unit is used for long-distance radio communication, as the mobile device and the car-mounted device
Remote management information transmission medium;
Positioning unit, for measuring the distance between the mobile device and the car-mounted device, and for authenticating, setting
Fixed, emergency contact and automatic locking and unlock;
Mobile bluetooth unit is connect as bluetooth communication interface with on-vehicle Bluetooth unit, so as to car-mounted device progress
Automatic locking and unlock Car's door controlling.
Preferably, the car-mounted device, comprising:
In-vehicle wireless communication unit is used for long-distance radio communication, as the car-mounted device and the mobile device
Remote management information transmission medium;
On-vehicle Bluetooth unit is connect as bluetooth communication interface with the mobile bluetooth unit, described mobile blue to receive
The solicited message of tooth unit, to carry out automatic locking and unlock Car's door controlling;
First transmission unit, as the interface contacted with the control device.
Preferably, the control device, comprising:
Second transmission unit, as the interface contacted with the first transmission unit;
Door lock driving unit for receiving solicited message provided by the car-mounted device, and executes locking and solution car locking
Door control;
Detection unit, for detecting door contact interrupter state, car door locking or unlocked state, switch ON/OFF state,
And the car-mounted device is passed back via second transmission unit again.
Preferably, the car-mounted device, is vehicular computer, circumscribed host, motor multimedia console, plate calculating
Machine or smartphone.
Preferably, positioning system used by the positioning unit, is global position system GPS, assisted global positioning system
System AGPS, wireless ethernet network Wifi or one of positioning system of cell ID Cell ID positioning.
Preferably, communication system used by the long-distance radio communication, is wireless data transfer services GPRS, third
Third-generation mobile communication 3G/HSDPA, global intercommunication microwave access WiMax, forth generation mobile communication 4G/LTE one of which mobile communication
System.
Preferably, first transmission unit, is general-purpose serial bus USB, universal asynchronous receiving-transmitting transmitter UART, RS-
232。
Preferably, second transmission unit, is USB, UART, RS-232.
A kind of smartphone method that upper solution locks door automatically, comprising:
It is confirmed whether to open electric switch;
If so, into suspend mode;
If it is not, then judging whether to receive suspend mode instruction;
If receiving suspend mode instruction, enter suspend mode;
If not receiving suspend mode instruction, enter standby mode;
Judge whether that line mobile device state changes;
If line mobile device state has not been changed, reaffirm whether open electric switch;
If line mobile device state changes, judge whether line mobile device;
If locking without line mobile device;
If line mobile device judges whether it is line mobile device for the first time;
If line mobile device for the first time, it is unlocked;
If not line mobile device for the first time, then be confirmed whether contract fully car door;
If confirming contract fully car door, it is unlocked;
If confirming non-contract fully car door, reaffirm whether open electric switch.
The embodiment of the present invention has the beneficial effect that:
A kind of smartphone provided in an embodiment of the present invention System and method for that upper solution locks door automatically, as long as through letter
Single setting, driver can only carry smartphone and just achieve the purpose that going up solution automatically locks door, and make vehicle using more
Simplicity also can reach the mesh of unmanned keyholed back plate if the scheme of the another aspect embodiment of the present invention is applied to rent business of returning the car automatically
With save operate manpower.The embodiment of the present invention provides a kind of smartphone System and method for that upper solution locks door automatically,
Compared with prior art, following advantages are also equipped with:
Car-mounted device can judge automatically self-locking opportunity, close to car door and pull open automatic before door handle in driver
Solution locks door, without driver's manual unlocking;
Car-mounted device flame-out, closed door and can leave automatic locking car door after vehicle in driver, and tool is convenient with safety
The advantages that;
Car-mounted device can also carry out suspend mode, save electric energy;It can also wake up in advance after suspend mode, avoid vehicle-mounted dress
Set the starting time too long, driver, which arrived, attempts opening car door but not yet automatic unlocking;
The embodiment of the present invention reaches the fully automated ideal with without manpower intervention in combination with automatic driving vehicle.
Specific embodiment
In order to solve the above technical problems, a kind of smartphone provided in an embodiment of the present invention automatically upper solution lock door be
Car-mounted device, smartphone are included at least in system;It needs to increase if being used in car rent business or vehicle management system remote
Journey servomechanism installation.Car-mounted device memory allows to control the smartphone of car door, can be by door number, international mobile subscriber identification code
(International Mobile Subscriber Identity, IMSI), International Mobile Station Equipment Identification code
Medium access control (the Medium of (International Mobile Equipment Identity, IMEI) and blue-tooth device
Access Control, MAC) address one of which is as identity recognition number, and with the use object of the keyholed back plate vehicle, the device is also
Has vehicle control interface, to execute the function that upper solution locks door.In addition, the main foundation that car-mounted device completes automatic upper unlock is
The signal strength of the bluetooth communication interface of the smartphone of driver.When car-mounted device is online with smartphone for the first time, stand
Lock is automatically terminated, and detects the intensity of the Bluetooth signal of online smartphone at any time, vehicle electric switch close and
Closing of the door and Bluetooth signal are lost or almost in the state of lost contacts, automatic locking full vehicle car door;Separately examined again in car-mounted device
Measure the Bluetooth signal of smartphone and after signal gradually increases, automatic unlocking driver car door or whole car doors.So reach
Driver's purpose that upper solution locks door automatically is assisted to automatic.
Compared with prior art, except Bluetooth signal is lost or it is online as lock or the foundation of unlock in addition to, it is of the invention
Smartphone in embodiment has positioning unit, and the judgement for waking up starting after suspend mode in advance can be carried out for car-mounted device,
And then avoiding the car-mounted device starting time too long, driver, which arrived, attempts opening car door but not yet automatic unlocking, and can be through
By smartphone passback location data or instruct foundation as car-mounted device suspend mode, the movement in the another embodiment of the present invention
Device has mobile comm unit, can contact progress dormancy instruction with smartphone for car-mounted device and assign and set, and
Logic judgment is carried out in conjunction with information such as the switch of detection interface and vehicle door status.
It is with reference to the accompanying drawing and real in order to which the objects, technical solutions and advantages of the embodiment of the present invention are more clearly understood
Example is applied, the embodiment of the present invention is further elaborated.It should be appreciated that specific embodiment described herein is only to solve
The present invention is released, but is not intended to limit the present invention.
Hereinafter, being further illustrated in conjunction with attached drawing to the embodiment of the present invention:
Refering to Figure 1, for a kind of smartphone system that upper solution locks door automatically provided in an embodiment of the present invention
System architecture schematic diagram, which includes: mobile device 110, for by wireless transmission with car-mounted device 120 mutually transmit
Information;Car-mounted device 120, is installed in vehicle, believes for mutually being transmitted by the mobile device 110 of wireless transmission and driver
Breath, and the instruction for issuing locking according to the information of transmitting and vehicle-state and unlocking, also according to the information of transmitting, by standby mode
Enter standby mode into suspend mode or by suspend mode;Control device 130 is set in vehicle together with car-mounted device 120,
For detecting vehicle-state and passing the car-mounted device back, and receive the instruction with the locking and unlock that execute car-mounted device 120.
Mobile device, that is, smartphone in the embodiment of the present invention.
A kind of smartphone provided in an embodiment of the present invention system that upper solution locks door automatically, as long as through simply setting
Fixed, driver can only carry smartphone and just achieve the purpose that going up solution automatically locks door, and keeps vehicle use easier, separately
If the scheme of the one side embodiment of the present invention is applied to rent business of returning the car automatically, the purpose of unmanned keyholed back plate can reach also to save
Operation manpower.Compared with prior art, following advantages are also equipped with:
Car-mounted device can judge automatically self-locking opportunity, close to car door and pull open automatic before door handle in driver
Solution locks door, without driver's manual unlocking;
Car-mounted device flame-out, closed door and can leave automatic locking car door after vehicle in driver, and tool is convenient with safety
The advantages that;
Car-mounted device can also carry out suspend mode, save electric energy;It can also wake up in advance after suspend mode, avoid vehicle-mounted dress
Set the starting time too long, driver, which arrived, attempts opening car door but not yet automatic unlocking;
The embodiment of the present invention reaches the fully automated ideal with without manpower intervention in combination with automatic driving vehicle.
Wherein, mobile device 110 includes: mobile radio telecommunications unit 111, long-distance radio communication is used for, as movement
The remote management information transmission medium of device 110 and car-mounted device 120;Positioning unit 112, for measure mobile device 110 with
The distance between car-mounted device 120, and for authenticate, set, emergency contact and it is automatic locking with unlock;Mobile bluetooth unit
113, it as bluetooth communication interface, is connect with on-vehicle Bluetooth unit 122, so that car-mounted device 120 carries out automatic locking and unlock
Car's door controlling.
Wherein, car-mounted device 120 includes: in-vehicle wireless communication unit 121, long-distance radio communication is used for, as vehicle-mounted
The remote management information transmission medium of device 120 and mobile device 110;On-vehicle Bluetooth unit 122, as bluetooth communication interface,
It is connect with mobile bluetooth unit 113, to receive the solicited message of mobile bluetooth unit 113, to carry out automatic locking and solution car locking
Door control;First transmission unit 123, as the interface contacted with control device 130.
Wherein, control device 130 includes: the second transmission unit 133, as the interface contacted with the first transmission unit 123;
Door lock driving unit 132 for receiving solicited message provided by car-mounted device 120, and executes locking and unlock Car's door controlling;
Detection unit 131, for detecting door contact interrupter state, car door locking or unlocked state, switch (ON/OFF) state, and again
Car-mounted device 120 is passed back via the second transmission unit 133.
As can be seen from the above embodiments, control device 130 therein can also be separately set in car-mounted device 120, control dress
130 to be set, can detect vehicle-state, such as door contact interrupter state, car door is locked or unlocked state, switch ON/OFF state, and
Have driving locking to lock door function, long-distance radio communication function with solution, mobile device is monitored or received for management configuration
The functions such as the instruction of 110 manual lockings or unlock use, and are also equipped with short-distance wireless function of Bluetooth communication, confession and mobile device
110 online uses, to judge and execute automatic locking and unlock opportunity.120 memory of car-mounted device allows to control the intelligence of car door
Can type mobile phone, as door number, IMSI code, IMEI code, blue-tooth device MAC Address be used as identification, for allow execution automatically on
The foundation of lock and unlocking function, it can also be used to manage the vehicle access right, car-mounted device 120 and the movement by certification license
When device 110 completes online for the first time, lock is automatically terminated immediately, into Hui Lian (Link Back) mode, only allows to move
Device 110 and car-mounted device 120 are online, and leave vehicle or driver of the control for surrendering car door locking and unlock operates.
Preferably, above-mentioned car-mounted device, is vehicular computer, circumscribed host, motor multimedia console, plate calculating
Machine or smartphone.
Preferably, positioning system used by above-mentioned positioning unit, is global positioning system (Global Positioning
System, GPS), assisted global positioning system (Assistant Global Positioning System, AGPS), wirelessly with
Too network (Wireless Fidelity, Wifi) or cell ID (Cell Identification, Cell ID) position wherein
A kind of positioning system.
Preferably, communication system used by above-mentioned long-distance radio communication, is wireless data transfer services (General
Packet Radio Service, GPRS), 3G (Third Generation) Moblie 3G/ (High Speed Download Packet
Access, HSDPA), global intercommunication microwave access (Worldwide Interoperability for Microwave
Access, WiMax), one of mobile communication system of forth generation mobile communication 4G/ (Long Term Evolution, LTE).
Preferably, above-mentioned first transmission unit, is universal serial bus (Universal Serial Bus, USB), general
Asynchronous receiving-transmitting transmitter (Universal Asynchronous Receiver/Transmitter, UART), RS-232.
Preferably, above-mentioned second transmission unit, is USB, UART, RS-232.
It please refers to shown in Fig. 2, for a kind of smartphone system that upper solution locks door automatically provided in an embodiment of the present invention
The flow chart of corresponding method, a kind of smartphone method that upper solution locks door automatically, process are as follows:
S210 is confirmed whether opening car door;
If so, S220 enters suspend mode;
If it is not, then S230 judges whether to receive suspend mode instruction;
If receiving suspend mode instruction, S220 enters suspend mode;
If not receiving suspend mode instruction, S240 enters standby mode;
S250 judges whether that line mobile device state changes;
If line mobile device state has not been changed, reaffirm whether S210 opens electric switch;
If line mobile device state changes, S260 judges whether line mobile device;
If without line mobile device, S261 locks;
If line mobile device, S270 judges whether it is line mobile device for the first time;
If line mobile device for the first time, S290 is unlocked;
If not line mobile device for the first time, then S280 is confirmed whether contract fully car door;
If confirming, contract fully car door, S290 are unlocked;
If confirming non-contract fully car door, reaffirm whether S210 opens electric switch.
Wherein, the change of line mobile device state refers to that becoming no line movement from line mobile device state fills in S250
It sets state or becomes line mobile device state from no line mobile device state.
A kind of smartphone provided in an embodiment of the present invention method that upper solution locks door automatically, as long as through simply setting
Fixed, driver can only carry smartphone and just achieve the purpose that going up solution automatically locks door, and keeps vehicle use easier, separately
If the scheme of the one side embodiment of the present invention is applied to rent business of returning the car automatically, the purpose of unmanned keyholed back plate can reach also to save
Operation manpower.Compared with prior art, following advantages are also equipped with:
Car-mounted device can judge automatically self-locking opportunity, close to car door and pull open automatic before door handle in driver
Solution locks door, without driver's manual unlocking;
Car-mounted device flame-out, closed door and can leave automatic locking car door after vehicle in driver, and tool is convenient with safety
The advantages that;
Car-mounted device can also carry out suspend mode, save electric energy;It can also wake up in advance after suspend mode, avoid vehicle-mounted dress
Set the starting time too long, driver, which arrived, attempts opening car door but not yet automatic unlocking;
The embodiment of the present invention reaches the fully automated ideal with without manpower intervention in combination with automatic driving vehicle.
By above-mentioned process and with reference to after Fig. 1 system architecture diagram it is known that being closed and closing of the door and indigo plant in vehicle electric switch
In the state of the intimate lost contact of tooth signal or loss (Link-loss), automatic locking full vehicle car door, and smartphone record is worked as
When positioning (such as GPS, AGPS, Wifi or Cell ID positioning) information be locked position, if using non-GPS/AGPS positioning method
Then locked position can be any position in the orientation range;Another selectable mode is voluntarily specified by driver;?
After car-mounted device detects smartphone Bluetooth signal again and signal gradually increases several number of seconds, automatic unlocking driver's vehicle
Door or full vehicle car door, achieve the purpose that driver can facilitate disengaging, to make car-mounted device enter battery saving mode, work as smartphone
Latest position and locked position at a distance of one can not immediately reach (this distance can be by driver according to habit sets itself) when,
The instruction that the smartphone via long-distance radio communication network, can assign automatically car-mounted device suspend mode is closed Bluetooth communication and is connect
Mouthful.This electricity-saving function can also manually perform instruction suspend mode by driver's Self-operating smartphone, intelligent as driver
When the newest position of mobile phone only needs to reach for several minutes at a distance from locked position, which can be via over long distances
Cordless communication network assigns car-mounted device wake up instruction starting bluetooth communication interface, this wake-up mechanism can also voluntarily be grasped by driver
Make smartphone execution.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more,
The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces
The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic
Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as
It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to include these modifications and variations.