The content of the invention
In view of this, one aspect of the present invention provides intelligence system and its implementation, on the other hand provides one kind one
Peripheral hardware of the kind for smart machine, so as to realize the function of a unit double system.
What technical scheme was specifically realized in:
A kind of intelligence system, including:One smart machine and one can be connected with the smart machine by connecting interface
Peripheral hardware;
The smart machine operation has the first operating system and the second operating system control module;The peripheral hardware operation
There is the second operating system;
The second operating system control module is used to that according to the first switching command of the user received institute will to be operated in
The first operating system in smart machine is stated as the current system for showing user to be operated, according to the user's received
Second switching command is using the second operating system operated in the peripheral hardware as the current system for showing user to be operated;
When performing the operation of user by second operating system, the external information obtained by the smart machine is supplied to
Operate in the second operating system in the peripheral hardware;Receive the hardware operation control of the second operating system in the peripheral hardware
Information, the hardware for controlling the smart machine according to the hardware operation control information perform corresponding operating.
In one embodiment, first operating system and second operating system are respectively:IOS systems,
Android system, Windows Mobile systems, Windows Phone systems, Symbian system or BlackBerry OS systems
Any one operating system in system;
First operating system is different operating system or identical operating system from second operating system.
In one embodiment, the external information obtained by the smart machine is included in following information extremely
Few a kind of and any combination:
User passes through the user instruction information of the screen of the smart machine, button or input through keyboard, and/or content letter
Breath;
The image information obtained by the camera of the smart machine;
The audio-frequency information obtained by the microphone of the smart machine;
The sensing data obtained by the sensor of the smart machine;
The hardware operation control information that the second operating system in the peripheral hardware returns includes at least one in following information
Kind and any combination:
Ask the information of incoming event;
Ask the event information of camera;
Ask the event information of microphone;
Ask the event information of sensor;
The voice data for asking the event information of loudspeaker and needs to export;
The content information that request display screen is shown;
It is described to control the smart machine execution corresponding operating to include according to hardware operation control information:
When the hardware operation control information includes the information of request incoming event, the smart machine is controlled to call institute
State the input equipment in smart machine so that user uses the input equipment input content information in the smart machine and in intelligence
Can content information described in the display screen display of equipment;
When the hardware operation control information includes the event information of request camera, the smart machine is controlled to call
The camera of the smart machine carries out Image Acquisition;
When the hardware operation control information includes the event information of request microphone, the smart machine is controlled to call
The microphone of the smart machine carries out audio reception;
When the hardware operation control information includes the event information of request sensor, the smart machine is controlled to call
The sensor of the smart machine carries out information gathering;
When the hardware operation control information includes the voice data that the event information of request loudspeaker and needs export,
The smart machine is controlled to call the Yang Sheng device playing audio datas of the smart machine;
When the hardware operation control information includes the content information that request display screen is shown, the smart machine is controlled
The content information is shown by the display screen.
In one embodiment, it is provided with communication module in the peripheral hardware;
When current system is the second operating system, the smart machine is by operating in the second operation in smart machine
System control module uses the communication module in peripheral hardware to communicate with mobile communications network.
In one embodiment, the outer peripheral hardware being set to without input-output equipment;Or for keyboard
Peripheral hardware;Or it is the peripheral hardware with microphone;Or it is the peripheral hardware with loudspeaker;Or it is the peripheral hardware with camera.
A kind of implementation method of the intelligence system provided in the embodiment of the present invention, including:
The peripheral hardware that operation is had the smart machine of the first operating system has the second operating system with operation is connected, and described
The second operating system control module is loaded in smart machine;
The first switching command of user is received by the second operating system control module will operate in the movement eventually
The first operating system in end is as the current system for showing user to be operated, or receives the second switching command of user
Using the second operating system operated in the peripheral hardware as the current system for showing user to be operated;
, will by the second operating system control module when performing the operation of user by second operating system
The external information obtained by the smart machine is supplied to the second operating system operated in the peripheral hardware;Receive from institute
The hardware operation control information of the second operating system in peripheral hardware is stated, the intelligence is controlled according to the hardware operation control information
The hardware of equipment performs corresponding operating.
In one embodiment, first operating system and second operating system are respectively:IOS systems,
Android system, Windows Mobile systems, Windows Phone systems, Symbian system or BlackBerry OS systems
Any one operating system in system;
First operating system is different operating system or identical operating system from second operating system.
In one embodiment, the external information obtained by the smart machine is included in following information extremely
Few a kind of and any combination:
User passes through the user instruction information of the screen of the smart machine, button or input through keyboard, and/or content letter
Breath;
The image information obtained by the camera of the smart machine;
The audio-frequency information obtained by the microphone of the smart machine;
The sensing data obtained by the sensor of the smart machine;
The hardware operation control information that the second operating system in the peripheral hardware returns includes at least one in following information
Kind and any combination:
Ask the information of incoming event;
Ask the event information of camera;
Ask the event information of microphone;
Ask the event information of sensor;
The voice data for asking the event information of loudspeaker and needs to export;
The content information that request display screen is shown;
It is described to control the smart machine execution corresponding operating to include according to hardware operation control information:
When the hardware operation control information includes the information of request incoming event, the smart machine is controlled to call institute
State the input equipment in smart machine so that user uses the input equipment input content information in the smart machine and in intelligence
Can content information described in the display screen display of equipment;
When the hardware operation control information includes the event information of request camera, the smart machine is controlled to call
The camera of the smart machine carries out Image Acquisition;
When the hardware operation control information includes the event information of request microphone, the smart machine is controlled to call
The microphone of the smart machine carries out audio reception;
When the hardware operation control information includes the event information of request sensor, the smart machine is controlled to call
The sensor of the smart machine carries out information gathering;
When the hardware operation control information includes the voice data that the event information of request loudspeaker and needs export,
The smart machine is controlled to call the Yang Sheng device playing audio datas of the smart machine;
When the hardware operation control information includes the content information that request display screen is shown, the smart machine is controlled
The content information is shown by the display screen.
In one embodiment, it is provided with first communication module in the smart machine;Is provided with the peripheral hardware
Two communication modules;
When current system is the first operating system, the smart machine use smart machine in first communication module with
Mobile communications network communicates;
When current system is the second operating system, the smart machine is by operating in the second operation in smart machine
System control module uses the second communication module in peripheral hardware to communicate with mobile communications network.
In one embodiment, the outer peripheral hardware being set to without input-output equipment;Or for keyboard
Peripheral hardware;Or it is the peripheral hardware with microphone;Or it is the peripheral hardware with loudspeaker;Or it is the peripheral hardware with camera.
A kind of peripheral hardware for smart machine, including:Processor, first memory, second memory, input/output connect
Mouth and power supply;
The processor is connected respectively with the first memory, second memory, input/output interface;
The second memory is used for the second behaviour for storing the first operating system for being different from or being same as in smart machine
Make the data of system;
The first memory, for reading the second operation system from the second memory by the processor
The data of system simultaneously run second operating system;
The processor is by the interface module with setting controller to be in the terminal connected;
The processor controls mould by the input/output interface and the second operating system being arranged in smart machine
Block is connected, for by the input/output interface receive that the second operating system control module sends by smart machine
The external information of acquisition is simultaneously handled, and the external information after processing is sent respectively to corresponding with the external information after processing
First memory or second memory;The hardware operation control information that first memory and second memory are sent is received, it is right
After the hardware operation control information received is handled, by the hardware operation control information after processing by it is described input/it is defeated
Outgoing interface is sent to the second operating system control module;
The power supply, for powering for the processor, first memory, second memory and input/output interface.
In one embodiment, the peripheral hardware further comprises:Communication module;
The processor is additionally operable to the use for receiving the second operating system control module by input/output interface and sending
The communication instruction that family is inputted by the smart machine, and the communication instruction is sent to the communication module;
The communication module is used to be communicated with mobile communications network according to the communication instruction;
The power supply is additionally operable to power for the communication module.
In one embodiment, further included in the peripheral hardware:Wifi module and bluetooth module;
The wifi module, is connected with the processor, is used for and wireless network transmissions data;
The bluetooth module, is connected with the processor, for transmitting data with the external equipment with Bluetooth function.
In one embodiment, further included in the peripheral hardware:OTG modules;
The OTG modules, are connected with the processor, for making the peripheral hardware as USB peripheral.
In one embodiment, the first memory or second memory are additionally operable to be controlled according to the second operating system
The store instruction storage that module is sent to first memory or second memory by the input/output interface and processor refers to
Fixed data, and be sent to first by the input/output interface and processor according to the second operating system control module and deposit
Specified data is read in the reading instruction of reservoir or second memory.
In one embodiment, the power supply in the peripheral hardware is the battery of predeterminated voltage;
Still further comprised in the peripheral hardware:Transformer;
The transformer, for the predeterminated voltage of the power supply in peripheral hardware to be converted into the operating voltage of the smart machine.
In one embodiment, the peripheral hardware further comprises:Keyboard input module;
The keyboard input module is connected by the input/output interface with the processor of the smart machine, is used for
When the current system of the smart machine is the first operating system run in smart machine, the user of reception input is passed through
The input/output interface is transferred to the processor of the smart machine.
In one embodiment, the keyboard input module be further used for be in the current system of the smart machine
During the second operating system run in smart machine, the content information input by user of reception is connect by the input/output
The processor of the smart machine is defeated by oral instructions, so that the processor of the smart machine believes the content input by user
Breath is transferred to the second operating system control module, and the second operating system control module again will be described input by user interior
Hold the processor that information is sent in the peripheral hardware.
In one embodiment, the keyboard input module is also connected with the processor in the peripheral hardware, in institute
When the current system for stating smart machine is the second operating system run in the first memory of the peripheral hardware, by the user of reception
Input is transferred to the processor in the peripheral hardware.
In one embodiment, the peripheral hardware further comprises:It is provided at both ends with the transmission line of data-interface.
In one embodiment, the peripheral hardware further comprises:For the second operation system being arranged in smart machine
System control module, the first operation in the smart machine will be operated in for the first switching command according to the user received
System will operate in institute as the current system for showing user to be operated according to the second switching command of the user received
The second operating system in peripheral hardware is stated as the current system for showing user to be operated;Passing through second operating system
When performing the operation of user, the external information obtained by the smart machine is supplied to second operated in the peripheral hardware
Operating system;The hardware operation control information of the second operating system in the peripheral hardware is received, according to the hardware operation
Control information controls the hardware of the smart machine to perform corresponding operating.
In one embodiment, the external information obtained by the smart machine is included in following information extremely
Few a kind of and any combination:
User passes through the user instruction information of the screen of the smart machine, button or input through keyboard, and/or content letter
Breath;
The image information obtained by the camera of the smart machine;
The audio-frequency information obtained by the microphone of the smart machine;
The sensing data obtained by the sensor of the smart machine;
The hardware operation control information that the second operating system in the peripheral hardware returns includes at least one in following information
Kind and any combination:
Ask the information of incoming event;
Ask the event information of camera;
Ask the event information of microphone;
Ask the event information of sensor;
The voice data for asking the event information of loudspeaker and needs to export;
The content information that request display screen is shown;
It is described to control the smart machine execution corresponding operating to include according to hardware operation control information:
When the hardware operation control information includes the information of request incoming event, the smart machine is controlled to call institute
State the input equipment in smart machine so that user uses the input equipment input content information in the smart machine and in intelligence
Can content information described in the display screen display of equipment;
When the hardware operation control information includes the event information of request camera, the smart machine is controlled to call
The camera of the smart machine carries out Image Acquisition;
When the hardware operation control information includes the event information of request microphone, the smart machine is controlled to call
The microphone of the smart machine carries out audio reception;
When the hardware operation control information includes the event information of request sensor, the smart machine is controlled to call
The sensor of the smart machine carries out information gathering;
When the hardware operation control information includes the voice data that the event information of request loudspeaker and needs export,
The smart machine is controlled to call the Yang Sheng device playing audio datas of the smart machine;
When the hardware operation control information includes the content information that request display screen is shown, the smart machine is controlled
The content information is shown by the display screen.
As seen from the above technical solution, in embodiments of the present invention, since the first operation system can be run in smart machine
System, and the second operating system can be run in above-mentioned peripheral hardware, and controlled by loading the second operating system in smart machine
Module, so as to realize the switching of above-mentioned two operating system and processing on smart machine so that user is sensuously
Two kinds of different operating systems can be used on smart machine, if using smart machine and its peripheral hardware as an overall intelligence
System considers, then equivalent to realizing on same machine two operating system and deposit, that is, realizes a unit double system
Function.
Further, since being provided with first communication module in smart machine, and second communication module is additionally provided with peripheral hardware, and
And above-mentioned two communication module can independently communicate with mobile communications network, if using smart machine and peripheral hardware as one
Overall intelligence system, then have two independent SIM cards at the same time equivalent on a machine, and can use the two
SIM card independently communicates, it is achieved thereby that the function such as double-card dual-standby.
Further, the specific implementation form of the peripheral hardware can be set according to being actually needed, such as can be without defeated
Enter the peripheral hardware of output equipment, the peripheral hardware can be the form of mobile phone shell at this time, or the form of similar USB flash disk;Or it is band
There is the peripheral hardware of keyboard, the peripheral hardware can be the form of keyboard at this time;In addition, the peripheral hardware can also be the peripheral hardware with microphone,
Either for loudspeaker peripheral hardware or be peripheral hardware with camera etc..
Embodiment
In the embodiment of the present invention, in order to solve smart machine cannot use except itself set operating system in addition to it is other
The problem of application and game that operating system is supported, be thought of as the smart machine and provide a kind of external equipment (abbreviation peripheral hardware),
Another operating system can be provided in the peripheral hardware to use for the smart machine.
For technical scheme and advantage is more clearly understood, below in conjunction with drawings and the specific embodiments, to this
Invention is described in further detail.
Figure 1A and Figure 1B is respectively a kind of exemplary block diagram of intelligence system in the embodiment of the present invention.Such as Figure 1A and Figure 1B
Shown, the intelligence system in the embodiment of the present invention includes:Smart machine 10 and one can pass through connecting interface with smart machine 10
11st, the peripheral hardware 20 of 21 connections.Wherein, smart machine 10 and peripheral hardware 20 can be connected by wired connection, such as transmission line 23 in figure;
Alternatively, it can also pass through wireless connection (not shown).
Wherein, the operation of smart machine 10 has the first operating system and the second operating system control module 22;The peripheral hardware
Operation has the second operating system.
Second operating system control module 22 will be used for according to operating in the first switching command of the user received
The first operating system in smart machine 10 is as the current system for showing user to be operated, according to the user's received
Second switching command is using the second operating system operated in the peripheral hardware 20 as the current system for showing user to be operated
System.
When performing the operation of user by first operating system, that is, it is being presented to the current system that user operated
Unite for the first operating system when or the first operating system backstage perform user operation when, smart machine is according to conventional process
Flow is handled.For example, smart machine 10 obtains external information, and the external information is handled by the first operating system,
Such as need to be controlled the hardware device of itself, then the first operating system directly controls each hardware device of smart machine 10 i.e.
Can.For example, needing to export if any data, then directly pass through the number of output needed for the various output equipments output in smart machine 10
According to.
When performing the operation of user by second operating system, that is, it is being presented to the current system that user operated
Unite for the second operating system when or the second operating system backstage perform user operation when, the second operating system control module
The external information that mobile terminal 10 obtains is sent to peripheral hardware 20 by 22 by connecting interface, by the second operating system in peripheral hardware 20
Handle the external information;When the second operating system needs the hardware device using smart machine 10, the control of the second operating system
Module 22 then receives the hardware operation control information of the second operating system in the peripheral hardware, according to the hardware operation control
Information processed controls the hardware of the smart machine to perform corresponding operating.For example, when such as the second operating system has data to need output,
Then receive the output data that the needs that peripheral hardware 20 is sent export, it would be desirable to which the output data of output passes through each in smart machine 10
Kind output equipment output.
Wherein, the external information obtained by smart machine 10 includes at least one of following information and any group
Close:User passes through the user instruction information of the screen of smart machine 10, button or input through keyboard, and/or content information;Pass through intelligence
The image information that the camera of energy equipment 10 obtains;The audio-frequency information obtained by the microphone of smart machine 10;Pass through intelligence
Sensing data that the sensor of equipment 10 obtains etc..Wherein, sensor can include the biography such as gravity sensor, GPS, gyroscope
Any one in sensor or any combination.In one embodiment, these external informations can be transferred to the first operation first
System, is then supplied to the second operating system control module 22, the second operating system control module 22 is again by the first operating system
The second operating system run in peripheral hardware 20 is sent to by the connecting interface between smart machine 10 and peripheral hardware 20, by the second behaviour
Handled as system.
The hardware operation control information that the second operating system in the peripheral hardware 20 returns is included in following information at least
A kind of and any combination:Ask the information of incoming event;Ask the event information of camera;Ask the event information of microphone;
Ask the event information of sensor;The voice data for asking the event information of loudspeaker and needs to export;Request display screen is shown
Content information etc..
Correspondingly, it is described to control the execution of smart machine 10 corresponding operating may include according to the control information operation:
When the control information operation includes the information of request incoming event, the smart machine 10 can control to call institute
State the input equipment in smart machine 10 so that user uses the input equipment input content information in smart machine 10 and in intelligence
Can content information described in the display screen display of equipment 10;In one embodiment, the second operating system control module 22 can
The input equipment in the smart machine 10 is called by the first operating system of smart machine 10.
When the control information operation includes the event information of request camera, controllable smart machine 10 calls intelligence
The camera of equipment 10 carries out Image Acquisition;In one embodiment, the second operating system control module 22 can pass through intelligence
First operating system of equipment 10 calls the camera in the smart machine 10.
When the control information operation includes the event information of request microphone, controllable smart machine 10 calls intelligence
The microphone of equipment 10 carries out audio reception;In one embodiment, the second operating system control module 22 can pass through intelligence
First operating system of equipment 10 calls the microphone in the smart machine 10.
When the control information operation includes the event information of request sensor, controllable smart machine 10 calls intelligence
The sensor of equipment 10 carries out information gathering;In one embodiment, the second operating system control module 22 can pass through intelligence
First operating system of equipment 10 calls the sensor in the smart machine 10.
It is controllable when the control information operation includes the voice data that the event information of request loudspeaker and needs export
Smart machine 10 processed calls the Yang Sheng device playing audio datas of smart machine 10;In one embodiment, the second operation
System control module 22 can call the loudspeaker in the smart machine 10 by the first operating system of smart machine 10.
When the control information operation includes the content information that request display screen is shown, smart machine 10 is can control by institute
Content information is stated to be shown by the display screen.
In one embodiment, communication module (not shown) can be further provided with peripheral hardware 20.
When current system is the second operating system, the smart machine is by operating in the second operation in smart machine
System control module 22 is communicated using the communication module in peripheral hardware with mobile communications network.
If in addition, be also equipped with communication module in smart machine, when current system is the first operating system, the intelligence
Using the smart machine, the communication module of itself communicates energy equipment with mobile communications network.
Wherein, the specific implementation form of peripheral hardware 20 can according to be actually needed set, for example, peripheral hardware 20 can be without
The peripheral hardware of input-output equipment, can be the form of mobile phone shell as shown in Figure 1A, or can also be the form of similar USB flash disk;
Or can also as shown in fig. 1b, for the peripheral hardware with keyboard, which can be the external input keyboard of smart machine 10,
That is, the external input keyboard of smart machine 10 can be extended in the embodiment of the present invention;Or it is similar therewith, also
It can be the peripheral hardware with microphone;Or it is the peripheral hardware with loudspeaker;Or it is peripheral hardware with camera etc..
As it can be seen that run has the first operating system in the inventive solutions, in smart machine 10, and in peripheral hardware 20
Operation has the second operating system, can be in same intelligence by loading the second operating system control module 22 in smart machine 10
The switching and processing of two operating system are realized in energy system:When user needs to use the first operating system, can be passed through
The switching of two operating system control modules 22 is directly using the first operating system on smart machine 10, and realize the first operation system
The various functions of system;And when user needs to use the second operating system, then it can first pass through the second operating system control module
22 are switched to current system the second operating system operated in the peripheral hardware 20, and mobile terminal smart machine 10 is obtained
External information is (for example, input content information and user instruction information that user is inputted by mobile terminal smart machine 10, pass through
External information that the various equipment such as the camera of mobile terminal smart machine 10, receiver, sensor obtain etc.) it is sent to peripheral hardware
20, and the various output datas (for example, the data such as image, video, sound) that the needs that the peripheral hardware 20 is sent export pass through institute
Various output equipments (for example, the display screen, microphone etc.) output in smart machine 10 is stated, so as to fulfill the second operating system
Various functions so that user is being sensuously that the second operating system has been used on smart machine 10 and has realized the second operation system
The various functions of system.Therefore, if considered using smart machine 10 and peripheral hardware as an entirety, equivalent in same machine
Realized on device two operating system and deposit, that is, realize the function of a unit double system.
In the inventive solutions, first operating system and second operating system can be respectively:IOS
System, android system, Windows Mobile systems, Windows Phone systems, Symbian system or BlackBerry
Any one operating system in OS systems;And first operating system can be different behaviour from second operating system
Make system, or identical operating system.
For example, in the example of the present invention, first operating system can be IOS systems, second operation
System can be android system.At this time, the smart machine 10 can be the mobile terminal of Apple Inc.'s production, such as
The mobile phone of iPhone series;Or can also be the product such as the iPad of Apple Inc.'s production, iPad Pro.
In addition, in the inventive solutions, the second operating system control module 22 can also by various hardware or
The mode of software is realized.
For example, in one embodiment of the invention, the second operating system control module 22 can be set and pacified with one
The form of application in smart machine 10 shows user.For example, when the first operating system run in smart machine 10
For IOS systems when, the second operating system control module 22 can show as an IOSAPP, i.e., one operates in IOS systems
Native applications in system.
At this time, when user opens the IOS APP, it is possible to by current system be switched to the second operating system-
Android system, so as to (for example, being provided with the mobile phone of the iPhone series of IOS systems, may be simply referred to as in smart machine
Android system of the actual motion in peripheral hardware 20 is directly displayed on display screen iPhone mobile phones, similarly hereinafter).User at this time
Experience is completely just as using a smart machine for really having run android system, it can realize Android phone
Most of function, such as call, short message, online, installation application and game etc..
And when the IOS APP are closed or are put into backstage by user, it is possible to which current system is switched to the first operation system
System-IOS systems, so as to be returned to IOS systems.Therefore, for a user, realize that dual system switches on smart machine
It is so simple exactly to open and close an APP application.Being additionally, since the first above-mentioned operating system and the second operating system is
Operation at the same time, therefore be a real unit double system.
In addition, intelligence system is used for by using above-mentioned, it is also possible that operating in the android system in peripheral hardware 20
Directly access the various types of hardware resource on smart machine 10, such as GPU, display screen, touch-screen (Touch), physical button, shooting
Head, microphone, receiver, put, various sensors etc. outside.So the Android experience that can be provided of above-mentioned peripheral hardware 20 with it is real
It is identical that operation, which has the experience of the smart machine of android system,.
For example, when current system is the second operating system (for example, android system), the peripheral hardware 20 can need to
The data (i.e. a kind of output data for needing to export) of physical screen are sent to, above-mentioned IOS is sent to by connecting interface
APP (i.e. the second operating system control module 22), which needs the data for being sent to physical screen to decode to above-mentioned
It is shown in afterwards on the display screen of the smart machine 10 (for example, iPhone mobile phones), thereby using the aobvious of the smart machine 10
Display screen instead of the physical screen operated in the second operating system in the peripheral hardware 20 needed for display output data.
For another example when current system is the second operating system (for example, android system), peripheral hardware 20 can be by second
The event of request camera is needed in operating system, is sent to by the connecting interface between smart machine 10 and peripheral hardware 20 above-mentioned
IOS APP (i.e. the second operating system control module 22), which will be to smart machine 10 (for example, iPhone mobile phones)
In real camera be called, and by camera receive or produce data (for example, raw data) pass through smart machine
Connecting interface between 10 and peripheral hardware 20 is sent to above-mentioned peripheral hardware 20, so that the second operation run in the peripheral hardware 20
System can be with the camera in normal use smart machine 10.Therefore, camera can be not provided with the peripheral hardware 20, but made
With the camera in smart machine 10.
For another example when current system is the second operating system (for example, android system), peripheral hardware 20 can be by second
Need to ask the event and the voice data that exports of needs of loudspeaker in operating system, by smart machine 10 and peripheral hardware 20 it
Between connecting interface be sent to above-mentioned IOS APP (i.e. the second operating system control module 22), which will set intelligence
Real loudspeaker in standby 10 (for example, iPhone mobile phones) is called, and the voice data that peripheral hardware 20 is exported passes through intelligence
Loudspeaker output in energy equipment 10, so that second operating system can be with raising one's voice in normal use smart machine 10
Device playing audio-fequency data.Therefore, loudspeaker can be not provided with the peripheral hardware 20, but uses raising one's voice in smart machine 10
Device.
For another example when current system is the second operating system (for example, android system), the peripheral hardware 20 can incite somebody to action
The event of request microphone is needed in second operating system, is sent to by the connecting interface between smart machine 10 and peripheral hardware 20
Above-mentioned IOS APP (i.e. the second operating system control module 22), the IOS APP will be to smart machines 10 (for example, iPhone hands
Machine) in real microphone be called, and by microphone receive or produce data (for example, voice data) pass through intelligence
Connecting interface between equipment 10 and peripheral hardware 20 is sent to peripheral hardware 20, so that the second operating system run in peripheral hardware 20
Can be with the microphone in normal use smart machine 10.Therefore, microphone can be not provided with the peripheral hardware 20, but uses intelligence
Microphone in energy equipment 10.
For another example when current system is the second operating system (for example, android system), the IOS APP (i.e.
Two operating system control modules 22) various sensor (examples in the smart machine 10 (for example, iPhone mobile phones) can be read
Such as, gravity sensor, GPS, gyroscope etc.) acquired in sensing data, and read sensing data is passed through into intelligence
Connecting interface between equipment 10 and peripheral hardware 20 is sent to above-mentioned peripheral hardware 20, so that run in the peripheral hardware 20 second
Operating system can be write the sensing data received as virtual-sensor in second operating system.Therefore, institute
Sensor can be not provided with by stating in peripheral hardware 20, but use the various sensors in smart machine 10.
For another example when current system is the second operating system (for example, android system), inputted if necessary to user
Information, then peripheral hardware 20 event that request inputs can will be needed in second operating system, by smart machine 10 and peripheral hardware 20 it
Between connecting interface be sent to above-mentioned IOS APP (i.e. the second operating system control module 22), which will set intelligence
Input equipment in standby 10 (for example, iPhone mobile phones) is called so that user can use the input in smart machine 10
Equipment inputs information and the input information of the display screen display user in smart machine 10;Then, the IOS APP are by user's
Input information is sent to peripheral hardware 20 by the connecting interface between smart machine 10 and peripheral hardware 20, inputs in peripheral hardware 20 what is run
In second operating system.Therefore, can be without using the defeated of the second operating system (for example, android system) in the peripheral hardware 20
Enter method, but use the input method in mobile terminal.
For another example when current system is the second operating system (for example, android system), carried out if necessary to user
Touch-screen input, then the IOS APP (i.e. the second operating system control module 22) can read the smart machine 10 (for example,
IPhone mobile phones) in touch-screen event touchscreen data (for example, the data such as pressure, position), and by read touchscreen data
Above-mentioned peripheral hardware 20 is sent to by the connecting interface between smart machine 10 and peripheral hardware 20, so that being transported in the peripheral hardware 20
The second capable operating system can simulate the touch-screen event in smart machine 10 according to the touchscreen data received.
In addition, in the inventive solutions, it is not only able to realize the function of an above-mentioned unit double system, can also be real
The functions such as existing double-card dual-standby.
For example, in one particular embodiment of the present invention, first communication module is provided with the smart machine 10;Institute
State in peripheral hardware 20 and be provided with second communication module.
When current system is the first operating system, smart machine 10 receives communication instruction input by user, and according to
The communication instruction of family input uses the first communication module in smart machine 10 to communicate with mobile communications network;
When current system is the second operating system, the second operating system control module 22 controls smart machine 10 by its institute
The communication instruction input by user received is sent to peripheral hardware 20, and root by the connecting interface between smart machine 10 and peripheral hardware 20
The second communication module in peripheral hardware 20 is used to communicate with mobile communications network according to communication instruction input by user.
It follows that when communication module is communicated with mobile communications network during user needs using smart machine 10,
First operating system can be switched to by the second operating system control module 22, can directly use smart machine at this time
10 communicate with mobile communications network;And when the communication module that user is desirable in peripheral hardware is communicated, then it can pass through institute
State the second operating system control module 22 and be switched to the second operating system, peripheral hardware 20 can be used to lead to mobile communications network at this time
Letter.
Due to will all set independent SIM card in first communication module and second communication module, so if will intelligently set
For 10 and peripheral hardware as an entirety, then there are two independent SIM cards at the same time equivalent on a machine, and can make
Independently communicated with the two SIM cards, it is achieved thereby that the function such as double-card dual-standby.
In the further embodiment of the present invention, smart machine 10 can also be the equipment such as iPad or iPad Pro, phase
It can be the similar above-mentioned peripheral hardware without input-output equipment to answer ground peripheral hardware 20, or defeated with the keyboard of iPad Pro
Enter the peripheral hardware with keyboard that equipment is synthesized together.In addition, for other applications, peripheral hardware 20 can also use other knots
Configuration formula.
For smart machine 10 for the equipment such as iPad or iPad Pro in the case of, except above-mentioned dual system can be achieved with
Outside, when peripheral hardware 20 includes communication module, when current system is the second operating system, smart machine 10 can also be by outer
If the communication module in 20 communicates with mobile communications network.
Fig. 2 is the structure diagram of the peripheral hardware for smart machine in the embodiment of the present invention.As shown in Fig. 2, in this hair
In bright one embodiment, the peripheral hardware 20 may include:Processor 201, first memory 202, second memory 203, communication
(input/output interface 21 can be as the connection in Figure 1A and Figure 1B for module 204, power supply 205 and input/output interface 21
Interface 21).Alternatively, in certain embodiments, peripheral hardware 20 also may not include above-mentioned communication module 204.
Wherein, the processor 201 and the first memory 202, second memory 203, communication module 204 and defeated
Enter/output interface 21 connects respectively;The processor 201 passes through the input/output interface 21 and the interface 11 of smart machine
It is connected with the second operating system control module 22 being arranged in smart machine.
The second memory 203 can be ROM (Read-Only Memory), be available for second operation is stored
The data of system.
The first memory 202 can be RAM (Random-Access Memory), available for passing through the processor
201 read the data of second operating system from the second memory 203 and run second operating system.
The processor 201 receives what the second operating system control module 22 was sent by input/output interface 21
The external information that is obtained by smart machine 10 is simultaneously handled, by the external information after processing be sent respectively to handle after it is outer
The corresponding first memory 202 of portion's information, second memory 203 or communication module 204;Receive first memory 202, second
The hardware operation control information that memory 203 or communication module 204 are sent, is docked at received hardware operation control information
After reason, the hardware operation control information after processing is sent to the second operating system control by the input/output interface
Molding block.For example, the number that the needs that first memory 202, second memory 203 or communication module 204 are sent export can be received
According to after the received data for needing to export of docking are handled, the output data exported as needs passes through input/output interface
21 are sent to the second operating system control module 22;It is additionally operable to receive second operation by input/output interface 21
The communication instruction that the user that system control module 22 is sent is inputted by smart machine 10, and the communication instruction is sent to institute
State communication module 204.
The communication module 204, for communicated according to the communication instruction with mobile communications network (including voice communication,
The function that short message etc. is realized by mobile communications network).
The power supply 205, for for the processor 201, first memory 202, second memory 203, communication module
204 and input/output interface 21 power.
In other embodiments of the invention, first memory 202 and second memory 203 can also be other types of
Memory.In addition, in another embodiment of the present invention, first memory 202 and second memory 203 can also be same
A memory.
In addition, in another specific embodiment of the present invention, can also further comprise in peripheral hardware 20:Wifi module 206.
The wifi module 206, is connected with the processor 201, is used for and wireless network transmissions data.
In addition, in another specific embodiment of the present invention, can also further comprise in the peripheral hardware 20:Bluetooth module
207。
The bluetooth module 207, is connected with the processor 201, for being transmitted with the external equipment with Bluetooth function
Data.
In addition, in another specific embodiment of the present invention, can also further comprise in the peripheral hardware 20:OTG modules
208。
The OTG modules 208, are connected with the processor 201, for making the peripheral hardware 20 be used as USB peripheral.
In addition, in one embodiment of the invention, the peripheral hardware 20 can further include:It is described outer for connecting
If the transmission line 23 for being provided at both ends with data-interface 231 of 20 input/output interface 21 and the interface 11 of smart machine 10.Cause
This, the data-interface 231 of one end of transmission line 23 is connected with input/output interface 21 on host peripheral 20, transmission line 23 it is another
The data-interface 231 of one end is then connected with the interface 11 on smart machine 10.
In one particular embodiment of the present invention, there can be two communication links between peripheral hardware 20 and smart machine 10:
Data link and message link.
Wherein, the input/output interface 21 on peripheral hardware 20 (for example, MicroUsb interfaces) can pass through transmission line and intelligence
Connecting interface 11 (for example, Lighning interfaces on iPhone mobile phones) in equipment 10 is connected, as main data link,
At this point it is possible on the basis of above-mentioned physical connection, by Microsoft Loopback Adapter, TCP/IP connections are established, as communication protocol.Separately
Outside, which is also also used as power link at the same time.Therefore, which has data transfer and charges difunctional.
In addition, the bluetooth module in peripheral hardware 20 can be with the bluetooth module in smart machine 10 (for example, iPhone mobile phones)
Wireless connection is established, so that corresponding message link is established, the path as information such as message and signalings.
In addition, in one embodiment of the invention, the first memory or second memory, it may also be used for according to
The storage that two operating system control modules 22 are sent to first memory or second memory by connecting interface and processor refers to
Order storage specified data, and according to the second operating system control module 22 first can be sent to by connecting interface and processor
Specified data is read in the reading instruction of memory or second memory.
Therefore, by the control of the second operating system control module 22, two operating systems can be caused to access
In host or first memory or second memory, so that equivalent to the memory space directly extended on smart machine.
In addition, in one embodiment of the invention, the power supply 205 in the peripheral hardware 20 can be the electricity of predeterminated voltage
Pond;It can also further comprise in the peripheral hardware 20:Transformer 209.
The transformer 209, for the predeterminated voltage of the power supply 205 in peripheral hardware 20 to be converted into the smart machine 10
Operating voltage.
For example, in one embodiment of the invention, the power supply 205 in the peripheral hardware 20 can be the great Rong of a 3.7V
Battery is measured, and the transformer 209 can be by the voltage that the voltage conversion of the 3.7V of the power supply 205 in peripheral hardware 20 is 5V, i.e. intelligence
The operating voltage of energy equipment 10.
Therefore, the power supply 205 in above-mentioned peripheral hardware 20 can power to two operating systems, you can to power to peripheral hardware 20,
It can also power to smart machine 10, so that equivalent to the mobile electricity being directly expanded to the power supply 205 for smart machine 10
Source.
In addition, in yet another embodiment of the present invention, the external form of the peripheral hardware 20 can need in advance according to practical application
First set.For example, in various embodiments of the present invention, the external form of peripheral hardware 20 can be without the outer of input-output equipment
If being, for example, the form of mobile phone shell, consequently facilitating the connection consolidated with mobile terminal, and can also be provided for mobile terminal necessarily
Protection.Or can also be the form of similar USB flash disk etc..
Certainly, in the inventive solutions, the external form of the peripheral hardware can also be other forms independently of described
The external equipment of smart machine 10, for example, can be the peripheral hardware with keyboard, the peripheral hardware can be the form of keyboard at this time;This
Outside, which can also be the peripheral hardware with microphone, either for the peripheral hardware with loudspeaker or to be outer with camera
If wait.The present invention is not restricted this.
By taking the peripheral hardware with keyboard as an example, the peripheral hardware can also further comprise at this time:Keyboard input module (is not shown in figure
Go out).
The keyboard input module can be connected by the input/output interface with the processor of the smart machine, be used
When the first operating system run in being smart machine in the current system of the smart machine, the user of reception is inputted logical
Cross the processor that the input/output interface is transferred to the smart machine.
In one embodiment, the keyboard input module be further used for be in the current system of the smart machine
During the second operating system run in smart machine, the content information input by user of reception is connect by the input/output
The processor of the smart machine is defeated by oral instructions, so that the processor of the smart machine believes the content input by user
Breath is transferred to the second operating system control module, and the second operating system control module again will be described input by user interior
Hold the processor that information is sent in the peripheral hardware.
Alternatively, in another embodiment, the keyboard input module can also further with the processing in the peripheral hardware
Device is connected, for the current system of the smart machine be the peripheral hardware in run the second operating system when, by reception
User's input is transferred to the processor in the peripheral hardware.
Fig. 3 is a kind of exemplary process diagram of the implementation method of intelligence system in the embodiment of the present invention.This method can be used for
Realize the intelligence system shown in Figure 1A or Figure 1B.As shown in figure 3, this method may include following steps:
Step 301, the peripheral hardware that operation is had the smart machine of the first operating system has the second operating system with operation is connected,
And the second operating system control module is loaded in the smart machine.
Wherein, first operating system and second operating system can be respectively:IOS systems, Android systems
Appointing in system, Windows Mobile systems, Windows Phone systems, Symbian system or BlackBerry OS systems
Anticipate a kind of operating system.First operating system is different operating system or identical operation from second operating system
System.
Step 302, the first switching command for user being received by the second operating system control module will operate in institute
The first operating system in mobile terminal is stated as the current system for showing user to be operated, or receives the second of user
Switching command is using the second operating system operated in the peripheral hardware as the current system for showing user to be operated.
Step 303, when performing the operation of user by second operating system, the second operating system control is passed through
The external information obtained by the smart machine is supplied to the second operating system operated in the peripheral hardware by molding block;Connect
The hardware operation control information of the second operating system in the peripheral hardware is received, is controlled according to the hardware operation control information
The hardware of the smart machine performs corresponding operating.
Wherein, the external information obtained by smart machine includes at least one of following information and any group
Close:User passes through the user instruction information of the screen of smart machine, button or input through keyboard, and/or content information;Pass through intelligence
The image information that the camera of equipment obtains;The audio-frequency information obtained by the microphone of smart machine;Pass through smart machine
Sensing data that sensor obtains etc..Wherein, sensor can include in the sensors such as gravity sensor, GPS, gyroscope
Any one is combined.In one embodiment, these external informations can be transferred to the first operating system first, then
Second operating system control module is supplied to by the first operating system, the second operating system control module again by smart machine and
Connecting interface between peripheral hardware is sent to the second operating system run in peripheral hardware, is handled by the second operating system.
The hardware operation control information that the second operating system in the peripheral hardware returns includes at least one in following information
Kind and any combination:Ask the information of incoming event;Ask the event information of camera;Ask the event information of microphone;Please
Seek the event information of sensor;The voice data for asking the event information of loudspeaker and needs to export;Request display screen is shown
Content information etc..
Correspondingly, it is described to control the smart machine execution corresponding operating may include according to the control information operation:
When the control information operation includes the information of request incoming event, can control described in the smart machine calling
Input equipment in smart machine so that user uses the input equipment input content information in smart machine and in smart machine
Display screen display described in content information;In one embodiment, the second operating system control module can be set by intelligence
Standby the first operating system calls the input equipment in the smart machine.
When the control information operation includes the event information of request camera, controllable smart machine calls intelligence to set
Standby camera carries out Image Acquisition;In one embodiment, the second operating system control module can pass through smart machine
First operating system calls the camera in the smart machine.
When the control information operation includes the event information of request microphone, controllable smart machine calls intelligence to set
Standby microphone carries out audio reception;In one embodiment, the second operating system control module can pass through smart machine
First operating system calls the microphone in the smart machine.
When the control information operation includes the event information of request sensor, controllable smart machine calls intelligence to set
Standby sensor carries out information gathering;In one embodiment, the second operating system control module can pass through smart machine
First operating system calls the sensor in the smart machine.
It is controllable when the control information operation includes the voice data that the event information of request loudspeaker and needs export
Smart machine processed calls the Yang Sheng device playing audio datas of smart machine;In one embodiment, the second operating system
Control module can call the loudspeaker in the smart machine by the first operating system of smart machine.
When the control information operation includes the content information that request display screen is shown, smart machine is can control by described in
Content information is shown by the display screen.
In one embodiment, communication module can be further provided with peripheral hardware.
When current system is the second operating system, the smart machine is by operating in the second operation in smart machine
System control module uses the communication module in peripheral hardware to communicate with mobile communications network.
If in addition, be also equipped with communication module in smart machine, when current system is the first operating system, the intelligence
Using the smart machine, the communication module of itself communicates energy equipment with mobile communications network.
Wherein, the specific implementation form of peripheral hardware can be set according to being actually needed, for example, peripheral hardware can be without input
The peripheral hardware of output equipment, can be the form of mobile phone shell, or can also be the form of similar USB flash disk;Or can also be with
The peripheral hardware of keyboard, the keyboard can be the external input keyboard of smart machine, that is to say, that can be to intelligence in the embodiment of the present invention
The external input keyboard of equipment is extended;Or it is similar therewith, can also be the peripheral hardware with microphone;Or for
The peripheral hardware of loudspeaker;Or it is peripheral hardware with camera etc..
In conclusion in the inventive solutions, due to that can run the first operating system in smart machine, and on
The second operating system can be run by stating in peripheral hardware, and can control mould by the second operating system loaded in smart machine
Block realizes the switching of above-mentioned two operating system so that user sensuously can on smart machine using two kinds it is different
Operating system, if considered using smart machine and peripheral hardware as an entirety, realizes equivalent on same machine
Two operating system and deposit, that is, realize the function of a unit double system.Further, since smart machine is this mobile whole for mobile phone
During end, first communication module is provided with, and when being additionally provided with second communication module in peripheral hardware, above-mentioned two communication module
Can independently it communicate with mobile communications network, if using smart machine and peripheral hardware as an entirety, equivalent to one
There are two independent SIM cards at the same time on platform machine, and can independently be communicated using the two SIM cards, so that real
The functions such as double-card dual-standby are showed.It is additionally, since and the function such as a unit double system and double-card dual-standby can be achieved by above-mentioned peripheral hardware, because
This is and more more convenient than carrying two smart machines at the same time equivalent to carrying two smart machines.
Further, since two operating systems can access the ROM in host, therefore also correspond to directly extend intelligence
Memory space in equipment;The power supply being additionally, since in peripheral hardware can power to peripheral hardware, can also power to smart machine, from
And also correspond to for the power supply to be directly expanded to the mobile power for smart machine.
Further, since the second operating system in peripheral hardware can directly access the various types of hardware resource on smart machine, example
Such as GPU, display screen, touch-screen (Touch), physical button, camera, microphone, receiver, put, various sensors outside, therefore
Above-mentioned hardware resource can be not provided with peripheral hardware, so as to substantially reduce the production cost of peripheral hardware.
In addition, in some embodiments, above-mentioned second operating system control module can also be built in intelligence in advance to set
Application program in standby.In some embodiments, the second above-mentioned operating system control module can also be with the peripheral hardware one
Play the component of supporting sale.For example, the second operating system control module can be the program application being stored in peripheral hardware, when this
When peripheral hardware is connected with smart machine, the program application for stating the second operating system control module in the peripheral hardware is loaded into smart machine
In.Alternatively, the second operating system control module can also be to be stored in background server and loaded from background server
Program application.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention
God and any modification, equivalent substitution, improvement and etc. within principle, done, should be included within the scope of protection of the invention.