Summary of the invention
The method that the present invention provides a kind of mobile device to control many external units is mainly used in the existing technology that solves, and faces the problem that many locking systems and other external units can't effectively be carried out.
The present invention is used to solve mobile device and controls the method for many external units and be: provide one can be applied to the client that mobile device is downloaded and installed; Client is stored a plurality of external unit data matching automatically according to the quantity of external unit, when mobile device detects a known locking system; Automatically call corresponding data matching library information; And match with locking system, carry out and preserve password then, the processing of the locking of unblanking at last; When mobile device needs simultaneously a plurality of equipment to be controlled, can judge to external unit automatically that the information of reading database is controlled automatically and easily then.The control page of a plurality of external units switches through the virtual push button that client provides.
The present invention mainly comprises following components:
One, virtual interface: through mobile phone screen; Demonstrate corresponding interface; In the interface, the option or the virtual key of corresponding execution function arranged, as: switch the locking system database, open common lock, close common lock, lock, open and lock, open warning, pass warning.
In the instance of automotive field, the method virtual interface that mobile device is controlled many locking systems also comprises following function choosing-item: open boot, close boot, the driving window, close vehicle window, start the engine, close engine, switch power supply, pass power supply, the lid of starting the engine, close hood, turn on the aircondition, close air-conditioning, open sound equipment, close sound equipment, open and specify car door, close and specify car door, driving lamp, pass car light.
Two, matching module: be used for corresponding locking system is matched; Main function have the existing mobile device of search database, identification mobile device password, to qualified mobile device send password, dynamic that the identification mobile device sends, if dynamic that the identification mobile device sends is all correct, sends recognition result to execution module again.
Three, execution module: mainly be used for carrying out relevant action, comprise mobile device is sent instruction, reading of data library file, generates new database, the storehouse that Updates Information, replacement data storehouse, delete database.
Four, mobile device: the assembly for the user carries provides hardware foundation for the present invention in the present invention.
Five, database: can increase or reduce inner data automatically; Carry out each time after the corresponding locking system pairing; Can preserve the password of the functional module of corresponding locking system/can realize by external unit according to demand; If the password that locking system provides is dynamic password clocklike, the algorithm of the dynamic password that can also locking system be provided keeps.
In the part instance; The method that mobile device is controlled many external units comprises: a client-side program is provided; On client, show a virtual interface; Physical button or the virtual key of user through above the mobile device can trigger the code of software inhouse, the instruction that software can be encrypted according to the automatic generation of code accordingly; The function that data such as the bluetooth through mobile device, wifi connect, locking system or the mobile device that instruction is pushed to appointment carry/functional module that can realize by external unit.
In the part instance; The method that mobile device is controlled many external units comprises: a client-side program is provided; The virtual interface that on client, shows two or more; Can be simultaneously displayed on the display screen of mobile device, conveniently simultaneously two or more locking system controlled; Provide two or more paired datas storehouse, user through physical button or virtual key above the mobile device simultaneously; Can trigger the code of software inhouse; The instruction that software can be encrypted according to the automatic generation of code accordingly; The function that data such as the bluetooth through mobile device, wifi connect, locking system or the mobile device that instruction is pushed to appointment carry/functional module that can realize by external unit.
In the part instance; The method that mobile device is controlled many external units comprises: a client-side program is provided; On client, show a virtual interface; Between the different virtual interfaces, can switch, conveniently simultaneously two or more locking system controlled through corresponding physical button or virtual key; Provide two or more paired datas storehouse, user through physical button or virtual key above the mobile device simultaneously; Can trigger the code of software inhouse; The instruction that software can be encrypted according to the automatic generation of code accordingly; The function that data such as the bluetooth through mobile device, wifi connect, locking system or the mobile device that instruction is pushed to appointment carry/functional module that can realize by external unit.
In the part instance; The method that mobile device is controlled many external units comprises: a client-side program is provided; Carry out the mode of a secret key encryption above the client again; When using the function of client, need provide correct key that client is carried out release at every turn, just can carry out the function that client provides.
In the part instance, the method that mobile device is controlled many external units comprises: the data that the equipment that searches according to mobile device provides provide the control function choosing-item that external unit can be carried out automatically.
In the part instance; The method that mobile device is controlled many external units comprises: the signal intensity that the external unit that searches according to mobile device provides; Analyze distance apart between this external unit and the mobile device, the data of setting through client are then made judgement for the execution of function; If the distance between external unit and the mobile device does not reach the scope of appointment, client will be can transmitting section or whole instructions.
In the part instance, the method that mobile device is controlled many external units comprises: according to the mobile device domestic os, coupling can realize function choosing-item provided by the invention based on the matcher of this operating system accordingly.
In the part instance; The method that mobile device is controlled many external units comprises: a client-side program is provided; And a client carries out the virtual interface that data are connected with external program, can pass through this interface, carries out the interchange of data; And can analyze and mate the data that external program sends over, carry out corresponding instruction according to the wish of external program then.Mentioning external program in this invention can comprise on speech recognition (software of similar functions etc. is provided like the siri of IOS or other), image recognition (image of catching through camera or user the gesture of being carried out on the interface of mobile device etc.), gravity identification and other various mobile devices and can realize external program.
Through using this method, can realize a plurality of locking systems of mobile device management, and according to demand, in the functional module of all locking systems/can realize, switch easily by external unit.
Embodiment
Begin now in detail to carry out the explanation of embodiment with reference to the example of describing in the accompanying drawing, what need prompting is; For complete understanding the present invention; In following detailed description, mentioned numerous details, need not specifically to specify these details but those skilled in the art are appreciated that the present invention.Meanwhile, the present invention is not described in detail known prior art method, process, assembly and circuit.
Fig. 1 is the frame diagram of the mobile device in the part instance of the present invention, in Fig. 1:
100-equipment; The 102-storer; The 104-memory controller; 106-CPU; The 108-Peripheral Interface; The 110-exchanges data; The 111-chip; The 112-RF circuit; The 114-voicefrequency circuit; The 116-loudspeaker; The 118-microphone; The 120-I/O subsystem; The 122-touch screen controller; One or more other input controllers of 124-; The 126-touch-screen; Other input/opertaing devices of 128-; 132-operating system; The 134-communication module; 138-contact/motion module; The 140-figure module; 142-light intensity module; 144-user interface state module; The 150-locking module; 152-separates lock module; The one or more application of 146-; The 148-external interface.
Equipment 100 comprises storer 102, Memory Controller 104, central processing unit (CPU) 106, Peripheral Interface 108, RF circuit 112, voicefrequency circuit 114, loudspeaker 116, microphone 118, I/O (I/O) subsystem 120, touch-screen 126, other outputs or opertaing device 128 and outside port 148.These assemblies communicate through one or many communication buss or signal wire 110.Equipment 100 can be any portable electric appts; Only needing communication function gets final product; Include but not limited to HPC, panel computer, mobile phone, media player, PDA(Personal Digital Assistant) or the like, also comprise wherein two combinations of perhaps thinking function more.Should be appreciated that a just instance of portable electric appts 100 of equipment 100, the assembly that changes equipment 100 can have the assembly of more Duoing or following the tip than diagram, perhaps has different arrangement of components.Various assemblies shown in Figure 1 can be realized with hardware, software or both modes of combination, comprise one or more signal Processing and/or special IC.
Storer 102 can comprise the high speed easy assess memorizer, and can comprise nonvolatile memory, for example one or more disk storage devices, mountain village equipment or other non-volatile solid-state memory devices.In the part instance; Storer 102 can also comprise the storer away from or what processors 106; Profit is via the network attached storage device of RF circuit 112 or outside port 148 and the visit of communication network (not shown); Wherein said communication network can be the Internet, one or more in-house network, Local Area Network, wide area network (WLAN), storage area network (SAN) etc.; Or its appropriate combination, other assemblies of the injection CPU of Memory Controller 104 controllable devices 100 and Peripheral Interface 108 and so on are false proof to storer 102.
Peripheral Interface 108 is connected to CPU106 and storer 102 with the input and output peripheral hardware of equipment; Various software program and/or the instruction set that are stored in the storer 102 of said central processing unit (one or more processor) 106 operations; So that the various functions of actuating equipment 100, and data are handled.
In the part instance, Peripheral Interface 108, CPU106 and Memory Controller 104 can be at single chips, and like realization on the chip 111, and in some other embodiment, they possibly realized on a plurality of separate chip.
RF (radio frequency) circuit 112 receives and sends electromagnetic wave; This RF circuit 112 becomes electromagnetic wave with converting electrical signal; Goods is that electromagnetic wave is transformed into electric signal; And come to communicate with communication network and other communication facilitiess by electromagnetic wave, this RF circuit 112 can comprise the known circuits that is used to carry out these functions, includes but not limited to antenna system; RF transceiver, one or more amplifier, tuner, one or more oscillator, digital signal processor, CODEC chipset, subscriber identity module (SIM) card, storer or the like.This network for example have another name called world wide web (www) the Internet, in-house network and or inject cellular phone network and so on wireless network, WLAN (LAN) and/territory, territory net (MAN); Said radio communication can be used any in multiple communication standard, agreement and the technology; Include but not limited to the communication system (3G, 4G etc.) that the first generation (1G), the second generation (2G) etc. are gone forward one by one gradually; Bluetooth, Wireless Fidelity (wifi), based on the voice transfer (VoIP) of Internet Protocol, WIMAX or the like; Comprise when the present invention invents not occurring, still in a foreseeable future become the communication protocol of known technology.
Voicefrequency circuit 114, loudspeaker 116 and microphone 118 provide the volume COBBAIF between user and the equipment 100.Voicefrequency circuit 114 receives the voice data from Peripheral Interface 108, and voice data is for conversion into electric signal, simultaneously electric signal is sent to loudspeaker 116, and loudspeaker becomes the sound wave that the mankind can hear with converting electrical signal.Voicefrequency circuit 114 can also receive the electric signal of microphone 116 from the sound wave conversion.
Touch-screen 126 provides input/output interface simultaneously between equipment and user, touch-screen control 122 receive/send from/go to the electric signal of touch-screen 126.126 of this touch-screens are thought user's display of visually output, and this visual user of exporting to provides an operation interface, the user through with the contacting of touch-screen, can trigger the function that mobile device shows.In the part instance, equipment 100 can also comprise and be used to activate or the specific worker touch pad (not indicating) excessively of stopping using.Equipment 100 also comprises the power-supply system 130 that is used to various assembly power supplies.
Mobile device in the present invention; Also comprise operating system 132, communication module (or instruction set) 134; Contact/motion module (or instruction set) 138, figure module (or instruction set) 140, user interface state module (or instruction set) 144, and one or more application (or instruction set) 146.
Operating system 132 (the for example embedded OS of Darwin, RTXC, LINUX, UNIX, OSX, WINDOWS or injection Vxworks and so on) comprises the various hardware and softwares combinations and/or the driver that are used for control and management conventional system task (for example memory management, memory device control, power management etc.) and help to communicate by letter between the various software and hardwares.
Communication module 134 helps to communicate with other equipment through one or more outside ports 148; And it also comprises the various component softwares of the data that are used for processing RF circuit 112 and/or outside port 148 receptions, and outside port 148 [for example USB (USB), FIRWIRE or the like] is applicable to directly or is connected to other equipment through the network brief introduction.
Figure module 140 comprises the various known software assemblies that are used on touch-screen 126, appearing with display graphics.
Said one or more application 1 30 can comprise any application on the equipment of being installed in 100, client provided by the invention, have with equipment 100 on the identical equipment authority of application.
Fig. 2 is the main composition synoptic diagram of the function that realizes of the present invention, need to prove that this synoptic diagram is only represented the relation of ingredient; Not representing ingredient is concrete shape, and the definition component of visual effect aspects such as structure only is the signal to concrete framework of the present invention; In Fig. 2, the 100th, mobile device, this mobile device can comprise various ways; Include but not limited to HPC, panel computer, mobile phone, media player, PDA(Personal Digital Assistant) or the like; Also comprise wherein two perhaps combinations of multinomial function, the 201st, the external unit of mobile device control, this external unit can be outside enforcement such as locking system, automobile and the incoherent concrete machine of mobile device functionality; Also can be that mobile device self function is replenished or functionally similar product, like bluetooth earphone etc.The 202nd, virtual interface; 202 can show through the display device that mobile device carries; Provide virtual can be according to the virtual interface of demand conversion; Virtual interface shows virtual key, and virtual key includes but not limited to: switch the locking system database, open common lock, close common lock, lock, open lock, open warnings, close report to the police, open boot, close boot, the driving window, close vehicle window, start the engine, close engine, switch power supply, pass power supply, the lid of starting the engine, close hood, turn on the aircondition, close air-conditioning, open sound equipment, close sound equipment, open specify car door, close the appointment car door, driving lamp, pass car light etc.The 203rd, execution module mainly is used for carrying out relevant action, comprises mobile device is sent instruction, reading of data library file, generates new database, the storehouse that Updates Information, replacement data storehouse, delete database etc.The switching that execution module 203 can be directly carries out data with virtual interface with exchange.The 204th, the interface of execution module peripheral hardware through interface 204, can carry out exchanging of data with other programs, and can analyze and mate the data that external program sends over, and carries out corresponding instruction according to the wish of external program then.Mentioning external program in this invention can comprise on speech recognition (software of similar functions etc. is provided like the siri of IOS or other), image recognition (image of catching through camera or user the gesture of being carried out on the interface of mobile device etc.), gravity identification and other various mobile devices and can realize external program.The 205th, database, execution module 203 be through reading the data in the database, distinguishes different external equipment, obtains the required password of external unit authority etc., simultaneously also can be according to demand, store data that new external unit is complementary etc.The 206th, matching module through matching module, realizes that the data pairing of whole mobile device 100 and external unit 201 is connected.
Fig. 3 unblanks in the part instance of the present invention/process flow diagram of locking, and this flow process mainly comprises following components:
A) check unblank/whether the necessary condition of locking lock possess.Execution unblanks/and during the flow process of locking, at first must locking system reach and unblank/condition of locking.These conditions comprise: mobile device have unblank/the necessary proper password (comprising fixing pairing sign indicating number, dynamic password etc.) of locking lock, user and locking system reach appointment distance (main through the signal intensity of communicating by letter between mobile device that the user held and the locking system judge, in the part instance; The instrument that also can add the known technology of some subsidiary distance at mobile device or above the locking system is achieved), the user looks on the bright side of things, and (this intention is provided with through the preset function of client-side program inside for the intention of lock; Can be set to satisfy preceding two conditions and just open automatically, need also can be set to the user just initiatively to open) in the client executing corresponding action.
B) send and to unblank/instruction of locking.In this flow process, unblank/instruction of locking can be initiatively to pass through client by the user to send, and also can after reaching predetermined conditions, be sent automatically by program, this instruction is sent through the data linkage function.In the part instance, instruction can be to carry out the pairing sign indicating number, does not encrypt after the dynamic password pairing is handled and sends, also can be to instructing the mode of carrying out dynamic encryption equally to send.
C) receive and to unblank/instruction of locking.In this flow process, this process is accomplished by locking system, and locking system is being checked the pairing sign indicating number that mobile device provides; After web-privilege password Webs such as dynamic password are accurate; Acceptance comes from the various instructions of mobile device, and discriminatory analysis is carried out in these instructions, carries out function corresponding then.
D) mechanical hook-up is carried out and to be unblanked/action of locking.In this flow process, mechanical hook-up carries out and to unblank/and the action of locking is existing known technology, in the present invention,, no longer the principle of mechanical hook-up introduced accordingly and explained for the simplicity of explaining.
Fig. 4 is the process flow diagram that the present invention utilizes same mobile device control different external equipment.In Fig. 4, carry out different external equipment, need following step.
A) mobile device searches locking system.In this step, the data function of itself can opened or close to mobile device as required, after the function of data is opened, can search for the database name that data are arranged in database inside own automatically on every side, as: lock1234 or lock5678.
B) passwords.In this step; The program of mobile device the inside itself has database, can distinguish different locking systems or other equipment, is called the equipment of lock1234 to name when mobile search; And this equipment has corresponding code data in the client-side program the inside; Then find out the pairing password below the lock1234 in the database automatically,, then send pairing password 123456 and external unit lock1234 and match processing if the pairing password of lock1234 is 123456 in the database; And if the device password that searches is lock5678; Then find out in the database and password lock5678 coupling automatically,, then access to your password and 789012 match with equipment lock5678 if this moment, password was 789012.By that analogy, as long as the device name that searches has data in system, then the data in the reading database are matched with it.
C) dynamic password exchange (this step is nonessential step, in some connection instances for the not high external unit of security requirement, need not to carry out the dynamic password exchange, can directly skip this step).In this step; After mobile device and external unit have mated success; The client-side program dynamic password in the reading database once more (if dynamic password has function, then adopts function to give birth to password from movable property, if be irregular dynamic password at random; The dynamic password of then storing in the reading database), be sent to external unit.
D) generate virtual interface.After being correctly through display Name, pairing password, the triple checkings of dynamic password; A virtual interface appears on the display screen of mobile device; Attribute according to external unit generates corresponding virtual key, if bluetooth earphone, then generation comprises the volume adjusting; Phone such as hangs/connects at the virtual key of function; If the common lock closed system, then generate and unblank/lock, lock/open and function such as lock, if the automotive lock closed system; Then generate the respective virtual button of Control of Automobile, include but not limited to: open boot, close boot, the driving window, close vehicle window, start the engine, close engine, switch power supply, pass power supply, the lid of starting the engine, close hood, turn on the aircondition, close air-conditioning, open sound equipment, close sound equipment, open and specify car door, close and specify car door, driving lamp, pass car light etc.Need to prove,, can produce two or more virtual interface simultaneously, perhaps only generate a virtual interface, but a virtual key can be set, can switch the function choosing-item of different user according to the function of mobile device.
E) carry out various functions.The button that this step is provided through virtual interface by the user is carried out the user and is wanted the function carried out.
F) carry out next one pairing control flow.This method can be according to demand; Simultaneously different equipment is controlled, and in the process of control, can be generated the virtual interface of distinct device; Perhaps only show a pseudo operation interface, but on the pseudo operation interface, have corresponding button to switch the control of distinct device.This method can be carried out the control flow of next equipment automatically according to demand after the control of accomplishing an equipment.
Fig. 5 is that the present invention passes through external interface and realizes voice-operated process flow diagram.In Fig. 5; Need to prove that voice control only is one of outside function that can connect; Not being only to be voice control, except voice control, can also be the motion control that realizes through the control of the gesture motion above the display screen, through the gyroscope of embedded in mobile phone etc.If interface provided by the invention is necessary, can connect various external programs, the function that provides through external program is then controlled the present invention again.Voice need a plurality of flow processs.
Speech recognition.The user says the wish of oneself with mouth; Sound wave picks up through the microphone of mobile device, and is converted into digital signal, and digital signal sets system identification through the voice through the outside again; The wish that right user is understood in the final identification that realizes voice.
Send instruction.Outside speech recognition system has correctly been understood after user's the wish, sends wish among the present invention execution module again, and execution module is sent to external unit through matching module with instruction.
Carry out wish.External unit is carried out function corresponding according to instruction.