Specific embodiment
It is described more fully the exemplary embodiment of the disclosure below with reference to accompanying drawings.Although showing this public affairs in attached drawingThe exemplary embodiment opened, it being understood, however, that may be realized in various forms the disclosure without the implementation that should be illustrated hereExample is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the model of the disclosureIt encloses and is fully disclosed to those skilled in the art.
When traditional equipment room carries out configurability setting, user needs to operate on different devices, thenDifferent equipment can be subjected to configurability connection, so that data information be enable to be transmitted in different equipment rooms.Due to thisThe configurability set-up mode step of sample is more, and under the environment such as crowded bus or train, user can not often facilitateCompletion as configurability operation.
Cumbersome when in order to solve the problems, such as that equipment room carries out configurability setting, the embodiment of the invention provides one kind to setThe method that configurability setting is carried out between standby, this method are mainly used for portable equipment side, as described in Figure 1, this method comprises:
101, the state of portable equipment monitoring own hardware interface.
As the development of Intelligent hardware, especially portable equipment are using more and more extensive, user listen to music in terminal orDuring seeing video, in order to terminal is not influenced when carrying out other activities (when such as reading a book during listening to music,When flipbook hanging and pulling can be carried out to the earphone cable for being connected to terminal), it will usually communication link is carried out using portable equipment and terminalIt connects, external equipment is linked on the interface of portable equipment, external equipment is received by portable equipment from terminal and output dataInformation.
Portable equipment and terminal are subjected to configuration connection in order to facilitate user, it is not necessary to use portable equipment Shi Douxu every timeAttended operation is carried out on portable equipment and terminal respectively, meets the configurability that user completes equipment room under crowded environmentSetting needs to be implemented the shape of step 101 portable equipment monitoring own hardware interface in method provided in an embodiment of the present inventionState.It usually has hardware interface in portable equipment to access for external equipment, since portable equipment can establish communication link with terminalIt connects, therefore external equipment obtains the data information of terminal by way of accessing hardware interface from portable equipment.
102, when having monitored that external equipment is linked into hardware interface, portable equipment and terminal are established and are communicated to connect.
When having monitored that external equipment is linked into hardware interface in a step 101, illustrate that user needs using portableEquipment obtains corresponding data information from terminal, and portable equipment needs that initiates to communicate to connect to terminal to establish process at this time, onlyCorresponding data information could be received after setting up communication connection with terminal from terminal by having.
103, portable equipment sends state activation information to terminal by communication connection.
After portable equipment and terminal establish communication connection in a step 102, portable equipment needs to send state to terminalActive information.Here state activation information is not only used to indicate that portable equipment has been started up, but also carries specific information,These specific informations and the related application of terminal have unified strategy, and terminal can be opened automatically by these specific informationsMove relevant application program, it is not necessary to which related application is artificially opened the transmission that just can be carried out data information by user.
104, portable equipment receives the data information for the application program that terminal is sent by communication connection.
Parsing can be carried out to state activation information due to terminal and corresponding application program is started according to the information after parsing,Therefore it after portable equipment sends state activation information to terminal in step 103, will be connect by the communication connection set upReceive the data information for the application program that terminal is sent.
105, portable equipment passes through external equipment output data information.
Data information can be exported by external equipment after the data information that portable equipment receives terminal transmissionTo user.
It is hard can be monitored itself by portable equipment for the method that equipment room provided in an embodiment of the present invention carries out configurability settingThe state of part interface is established with terminal and is communicated to connect when having monitored that external equipment is linked into hardware interface, and by logicalLetter connection sends state activation information to terminal, starts after the state activation information that terminal parsing receives accordingly using journeySequence, and by communication connection to the data information of portable equipment sending application program, final portable equipment is defeated by external equipmentData information out.Earphone is needed to be inserted into portable blue-tooth equipment with user in the prior art, but also is needed on mobile phoneCorresponding music application (Application, APP) is opened, and establishes the bluetooth between mobile phone and portable blue-tooth equipmentThe mode that can just listen to music after connection is compared, and the present invention need to be only inserted into after external equipment on portable equipment can automatically and terminalIt is attached and is opened the corresponding application program in terminal side, the number between portable equipment and terminal can be realized without other operationsAccording to transmission, the efficiency that equipment room carries out configurability setting is greatly improved.
Further, it corresponds to the above method, carries out configurability the embodiment of the invention also provides a kind of equipment room and setThe method set, this method are mainly used for terminal side, mutually echo with the method for above-mentioned portable equipment side.As described in Figure 2, the partyMethod includes:
201, when portable equipment has monitored that external equipment is linked into hardware interface, terminal and portable equipment are established and are led toLetter connection.
Since only data information could be sent to portable equipment after terminal and portable equipment establish communication connection,It is corresponding with the step 102 in the method for above-mentioned portable equipment side, in step 201 when portable equipment has monitored external equipmentWhen being linked into hardware interface, terminal, which needs to establish with portable equipment, to be communicated to connect, and terminal mentioned here is built with portable equipmentVertical communication connection is the communication connection process that terminal receives that portable equipment is established to terminal in above-mentioned steps 102, cooperates portable setIt is standby to set up communication connection.
202, terminal receives the state activation information that portable equipment is sent by communication connection.
After terminal and portable equipment, which are established, to be communicated to connect, it is necessary to which terminal prepares to receive the letter that portable equipment is sentBreath, information here correspond to the state activation information in the step 103 in the method for portable equipment side.State activation information oneAspect shows that portable equipment has been started up, and needs to obtain data information from terminal;On the other hand it also carries specific information, thisA little specific informations and the related application of terminal have unified strategy, terminal can be instructed to start automatically relevant using journeySequence.
203, terminal generates corresponding activation instruction according to state activation information, and activation instruction is for starting corresponding applicationProgram.
After terminal receives the state activation information of portable equipment transmission, state activation information can be parsed, andSpecific information is extracted in information after analytically, since specific information and terminal side related application have unified strategy,Therefore terminal can produce corresponding activation instruction according to these specific informations, for starting the corresponding application program in terminal side,Application program artificially is opened in terminal side without user.
204, terminal is by communicating to connect the data information to portable equipment sending application program.
After terminal generates corresponding activation instruction and starts corresponding application program according to state activation information, so that it mayThe data information of corresponding application program, portable equipment are sent to portable equipment by the communication connection set up with portable equipmentData information can be exported to user by external equipment after receiving these data informations.
It is hard can be monitored itself by portable equipment for the method that equipment room provided in an embodiment of the present invention carries out configurability settingThe state of part interface is established with terminal and is communicated to connect when having monitored that external equipment is linked into hardware interface, and by logicalLetter connection sends state activation information to terminal, starts after the state activation information that terminal parsing receives accordingly using journeySequence, and by communication connection to the data information of portable equipment sending application program, final portable equipment is defeated by external equipmentData information out.Earphone is needed to be inserted into portable blue-tooth equipment with user in the prior art, but also is needed on mobile phoneCorresponding music application (Application, APP) is opened, and establishes the bluetooth between mobile phone and portable blue-tooth equipmentThe mode that can just listen to music after connection is compared, and the present invention need to be only inserted into after external equipment on portable equipment can automatically and terminalIt is attached and is opened the corresponding application program in terminal side, the number between portable equipment and terminal can be realized without other operationsAccording to transmission, the efficiency that equipment room carries out configurability setting is greatly improved.
Further, as the refinement and extension to above-mentioned portable equipment side method and terminal side method, this implementationThe method for carrying out configurability setting to equipment room for a common application scenarios is described in detail example.In following examplesPortable equipment be bluetooth equipment, terminal is mobile phone, and hardware interface is audio jack, and external equipment is earphone.In the present embodimentScene under, equipment room carry out configurability setting method the step of it is as shown in Figure 3, comprising:
301, bluetooth equipment monitors the state of itself audio jack;
302, when having monitored that earphone is linked into audio jack, bluetooth equipment and mobile phone are established and are communicated to connect;
303, bluetooth equipment sends state activation information to mobile phone by communication connection;
304, mobile phone parses the state activation information received;
305, mobile phone generates corresponding activation instruction according to the state activation information after parsing, starts music application;
306, the data information of music application is sent to bluetooth equipment by mobile phone;
307, bluetooth equipment passes through earphone output data information.
Due to the development of Intelligent hardware, portable blue-tooth equipment can integrate multiple functions, in addition to commonly passing through bluetoothFunction receives outside audio data, also has the function of transmission of video and voice communication etc..Therefore, bluetooth equipment in step 301In the state for monitoring itself audio jack, audio jack is intended only as a kind of hardware interface and is illustrated, in practical applicationHardware interface can also include microphone jack and smart television jack etc..Audio jack is commonly used to play music, microphoneJack is commonly used to voice communication or is used as the output interface of microphone in certain singing softwares, and smart television jack is usually usedIt is attached with Intelligent television terminal, plays video in Intelligent television terminal.Certainly, above-mentioned several hardware interfaces are only enumeratedA part of hardware interface out, the hardware interface of other function also can be applied on the bluetooth equipment of the present embodiment, and blueTooth equipment monitoring.
In step 302 when bluetooth equipment has monitored that earphone is linked into audio jack, bluetooth equipment is built with mobile phoneVertical to communicate to connect, bluetooth equipment is to establish to communicate to connect by bluetooth and mobile phone in this step.Physical channel is Bluetooth systemBottom structure, it with a pseudo-random hop sequence, specific send time slot timing, access code and frame head coding and characterize.Bluetooth defines a series of physical channel for different applications, including the pico-network physics letter communicated for equipment in pico-networkRoad, the lookup for searching equipment scan physical channel and for the page scan physical channels of paging equipment.Two equipment mustCommunication just must can be carried out using identical physical channel.Bluetooth equipment (portable equipment) establishes the process of connection in the present embodimentThe process of identical pico-network channel is exactly established, such bluetooth equipment (portable equipment) could be with same with mobile phone (terminal)Timing and order carry out the jump of carrier frequency, carry out data transmission, while can be encoded according to pico-network access code and frame headData filtering and parsing are carried out, the collision once in a while with other equipment in the same frequency range is avoided.
In the present embodiment, bluetooth equipment paging mobile phone is the only stage which must be passed by for establishing connection, and bluetooth equipment first will initiatePaging request carries out page scan to mobile phone, and referred to as the first paging request, the paging of the first paging request are swept in the present embodimentEquipment access code-the DAC for retouching frequency hop sequences and paging request frame is generated by the physical address of cell phone apparatus, and bluetooth is setIt is standby to carry out the jump of carrier frequency with the frequency hop sequences and send the first paging request in sending time slot, in can be connectedThe mobile phone of mode is sought with the fixed period in a regular time window with the first of some Hopping frequencies monitoring bluetooth equipmentIt calls for asking, listens to after request and just send the first page response to bluetooth equipment immediately in next time slot, this first is soughtThe hopping sequence information and clock phase for exhaling the device address of response carrying mobile phone to calculate, bluetooth equipment are receiving mobile phone transmissionThe next time slot of the first page response send the second page response of bluetooth equipment to mobile phone, include in second page responseThe hopping sequence information and clock phase that are generated by bluetooth device address, mobile phone receive these information and just enter connectionFirst paging of state, the hopping sequence information and clock phase that bluetooth equipment is calculated according to the device address of carrying mobile phone is rungIt answers, while mobile phone is according to the second paging of the hopping sequence information and clock phase that calculate of device address for carrying bluetooth equipmentThe communication connection between bluetooth equipment and mobile phone is set up in response.
What needs to be explained here is that the communication connection between bluetooth equipment and mobile phone is built upon bluetooth in the present embodimentIt was established with mobile phone before equipment on the basis of connection, that is to say, that mobile phone and bluetooth equipment have mutually preserved other sideAddress information and equipment id information, therefore respective paging request can be initiated according to the information that locally saves and paging is rungIt answers.
It is sent in state activation information by communication connection to mobile phone in step 303 bluetooth equipment, state activation information oneAspect is used to indicate that bluetooth equipment has been started up, needs to obtain corresponding data information from mobile phone;On the other hand, since mobile phone canTo be connected on more bluetooth equipments (portable equipment), while there can be multiple hardware on a bluetooth equipment (portable equipment) and connectMouthful, therefore in this step when sending state activation information to mobile phone, it is (portable which also carries bluetooth equipmentEquipment) device identification and audio jack mark (hardware interface mark), the device identification of the bluetooth equipment and audio jack markKnow application program corresponding with mobile phone side and follow unified strategy, each hardware interface of each equipment identifies corresponding mobile phone sideAn application program, mobile phone can answer accordingly according to the identification information in the state activation information received in local bootWith program, audio jack identifies the music application of corresponding mobile phone side.
After mobile phone receives the state activation information of bluetooth equipment transmission, the shape that step 304 will receive is needed to be implementedState active information is parsed.The resolving extracts the device identification of bluetooth equipment and hard namely from state activation informationThe process of part interface identifier, the device identification of extraction are used to refer to mobile phone and which platform bluetooth equipment to send data information to, extractionHardware interface mark is used to refer to which application program mobile phone starts.For example, can indicate a bluetooth equipment with mark B1, useIdentifying A indicates audio jack, after mobile phone receives the state activation information for carrying mark B1 and mark A, by parsing justIt can determine that the audio jack on bluetooth equipment B1 is activated, need to start music application and transmit sound to bluetooth equipment B1The data information of happy application program.
After mobile phone is parsed state activation information, it is necessary to generate phase according to device identification and hardware interface markThe activation instruction answered, the activation instruction are used to start corresponding application program.In the present embodiment step 305, mobile phone is according to solutionThe device identification of the bluetooth equipment obtained after analysis state activation information and the mark of audio jack, generate corresponding activation instruction,Start music application.
Data information will be sent to bluetooth equipment by communicating to connect after mobile phone starting music application, bluetooth is setIt is standby to receive after data information through the earphone output data information on audio jack, music is listened to for user.
The embodiment of the present invention is connect by terminal (mobile phone) application program and portable equipment (bluetooth equipment) device identification, hardwareUnified Policy between mouth mark, it is established that corresponding relationship, to carry device identification to terminal transmission by portable equipmentWith the state activation information of hardware interface mark, corresponding application program is started according to Unified Policy and sends number to portable equipmentIt is believed that breath, which can be monitored the state of own hardware interface by portable equipment, at end by way of sending messageEnd side is realized and automatically opens application program and send data information, carries out manually on portable equipment and terminal respectively without userOperation greatly simplifies the step of equipment room carries out configurability setting.
Further, as an implementation of the above method, the embodiment of the invention also provides a kind of equipment rooms to be configuredProperty setting device, the device can be located at portable equipment in realize the above method.As shown in figure 4, the device includes: prisonSurvey unit 41, connection unit 42, transmission unit 43, receiving unit 44 and output unit 45, wherein
Monitoring unit 41, for monitoring the state of portable equipment own hardware interface;
Connection unit 42, for when monitoring unit 41 has monitored that external equipment is linked into hardware interface, with terminalEstablish communication connection;
Transmission unit 43, for sending state activation information to terminal by communication connection;
Receiving unit 44, for receiving the data information for the application program that terminal is sent by communication connection;
Output unit 45, for passing through external equipment output data information.
Further, monitoring unit 41 is used to monitor the state of following at least one hardware interfaces: audio jack, microphoneJack and smart television jack.
Further, transmission unit 43 carries portable equipment by communicating to connect the state activation information sent to terminalDevice identification and hardware interface mark.
Further, connection unit 42 and terminal, which are established, communicates to connect, comprising: establishes any one following communication connection:Bluetooth Bluetooth connection, Wireless Fidelity WiFi connection, acoustic communication connection, near-field communication NFC connection and less radio-frequency RF connectIt connects.
Further, it communicates to connect as bluetooth connection, as shown in figure 5, connection unit 42 includes:
Sending module 421, for sending the first paging request to terminal, the first paging request carries paging request frameEquipment access code;
Receiving module 422, for receiving the first page response of terminal transmission, the equipment of the first page response carried terminalThe hopping sequence information and clock phase that address arithmetic goes out;
Sending module 421 is also used to send the second page response to terminal, and the second page response carries setting for portable equipmentThe hopping sequence information and clock phase that standby address arithmetic goes out;
Link block 423 is communicated to connect for being established according to the first page response and terminal.
Equipment room provided in an embodiment of the present invention carries out the device of configurability setting, and it is hard that itself can be monitored by portable equipmentThe state of part interface is established with terminal and is communicated to connect when having monitored that external equipment is linked into hardware interface, and by logicalLetter connection sends state activation information to terminal, starts after the state activation information that terminal parsing receives accordingly using journeySequence, and by communication connection to the data information of portable equipment sending application program, final portable equipment is defeated by external equipmentData information out.Earphone is needed to be inserted into portable blue-tooth equipment with user in the prior art, but also is needed on mobile phoneCorresponding music application (Application, APP) is opened, and establishes the bluetooth between mobile phone and portable blue-tooth equipmentThe mode that can just listen to music after connection is compared, and the present invention need to be only inserted into after external equipment on portable equipment can automatically and terminalIt is attached and is opened the corresponding application program in terminal side, the number between portable equipment and terminal can be realized without other operationsAccording to transmission, the efficiency that equipment room carries out configurability setting is greatly improved.
In addition, the embodiment of the present invention by terminal (mobile phone) application program and portable equipment (bluetooth equipment) device identification,Unified Policy between hardware interface mark, it is established that corresponding relationship is set to be carried by portable equipment to terminal transmissionThe state activation information of standby mark and hardware interface mark starts corresponding application program according to Unified Policy and to portable equipmentData information is sent, which can be monitored the state of own hardware interface by portable equipment, by the side for sending messageFormula automatically opens application program in terminal side realization and sends data information, is not necessarily to user's hand on portable equipment and terminal respectivelyIt is dynamic to be operated, greatly simplify the step of equipment room carries out configurability setting.
Further, as an implementation of the above method, while it is corresponding with the device being located in portable equipment, the present inventionEmbodiment additionally provides a kind of device of equipment room progress configurability setting, which can be located in terminal, on realizingState method.As shown in fig. 6, the device includes: connection unit 61, receiving unit 62, generation unit 63 and transmission unit 64,In,
Connection unit 61, for being set with portable when portable equipment has monitored that external equipment is linked into hardware interfaceIt is standby to establish communication connection;
Receiving unit 62, the state activation information sent for receiving portable equipment by communication connection;
Generation unit 63, for generating corresponding activation instruction according to state activation information, activation instruction is for starting phaseThe application program answered;
Transmission unit 64, for the data information by communication connection to portable equipment sending application program.
Further, the received state activation information of receiving unit 62 carries the device identification of portable equipment and hardware connectsMouth mark;As shown in fig. 7, generation unit 63 includes:
Extraction module 631, for state activation information parse and therefrom extract portable equipment device identification andHardware interface mark;
Generation module 632, for generating corresponding activation instruction according to device identification and hardware interface mark.
Further, connection unit 61 and portable equipment, which are established, communicates to connect, comprising: establishes any one following communication linkIt connects: bluetooth Bluetooth connection, Wireless Fidelity WiFi connection, acoustic communication connection, near-field communication NFC connection and less radio-frequencyRF connection.
Further, it communicates to connect as bluetooth connection, as shown in figure 8, connection unit 61 includes:
Receiving module 611, for receiving the first paging request of portable equipment transmission, the first paging request carries pagingThe equipment access code of claim frame;
Sending module 612, for sending the first page response, the equipment of the first page response carried terminal to portable equipmentThe hopping sequence information and clock phase that address arithmetic goes out;
Receiving module 611 is also used to receive the second page response of portable equipment transmission, and the second page response carries portableThe hopping sequence information and clock phase that the device address of equipment calculates;
Link block 613 is communicated to connect for being established according to the second page response and portable equipment.
Equipment room provided in an embodiment of the present invention carries out the device of configurability setting, and it is hard that itself can be monitored by portable equipmentThe state of part interface is established with terminal and is communicated to connect when having monitored that external equipment is linked into hardware interface, and by logicalLetter connection sends state activation information to terminal, starts after the state activation information that terminal parsing receives accordingly using journeySequence, and by communication connection to the data information of portable equipment sending application program, final portable equipment is defeated by external equipmentData information out.Earphone is needed to be inserted into portable blue-tooth equipment with user in the prior art, but also is needed on mobile phoneCorresponding music application (Application, APP) is opened, and establishes the bluetooth between mobile phone and portable blue-tooth equipmentThe mode that can just listen to music after connection is compared, and the present invention need to be only inserted into after external equipment on portable equipment can automatically and terminalIt is attached and is opened the corresponding application program in terminal side, the number between portable equipment and terminal can be realized without other operationsAccording to transmission, the efficiency that equipment room carries out configurability setting is greatly improved.
In addition, the embodiment of the present invention by terminal (mobile phone) application program and portable equipment (bluetooth equipment) device identification,Unified Policy between hardware interface mark, it is established that corresponding relationship is set to be carried by portable equipment to terminal transmissionThe state activation information of standby mark and hardware interface mark starts corresponding application program according to Unified Policy and to portable equipmentData information is sent, which can be monitored the state of own hardware interface by portable equipment, by the side for sending messageFormula automatically opens application program in terminal side realization and sends data information, is not necessarily to user's hand on portable equipment and terminal respectivelyIt is dynamic to be operated, greatly simplify the step of equipment room carries out configurability setting.
Further, as an implementation of the above method and the application of above-mentioned apparatus, as shown in figure 9, the present invention is implementedExample additionally provides a kind of system that equipment room carries out configurability setting, which includes that portable equipment 91, terminal 92 and outside are setStandby 93.Wherein, portable equipment 91 includes Fig. 4 and/or device shown in fig. 5 in embodiment, and terminal 92 includes Fig. 6 in embodimentAnd/or Fig. 7 and/or device shown in Fig. 8.
It is hard can be monitored itself by portable equipment for the system that equipment room provided in an embodiment of the present invention carries out configurability settingThe state of part interface is established with terminal and is communicated to connect when having monitored that external equipment is linked into hardware interface, and by logicalLetter connection sends state activation information to terminal, starts after the state activation information that terminal parsing receives accordingly using journeySequence, and by communication connection to the data information of portable equipment sending application program, final portable equipment is defeated by external equipmentData information out.Earphone is needed to be inserted into portable blue-tooth equipment with user in the prior art, but also is needed on mobile phoneCorresponding music application (Application, APP) is opened, and establishes the bluetooth between mobile phone and portable blue-tooth equipmentThe mode that can just listen to music after connection is compared, and the present invention need to be only inserted into after external equipment on portable equipment can automatically and terminalIt is attached and is opened the corresponding application program in terminal side, the number between portable equipment and terminal can be realized without other operationsAccording to transmission, the efficiency that equipment room carries out configurability setting is greatly improved.
In addition, the embodiment of the present invention by terminal (mobile phone) application program and portable equipment (bluetooth equipment) device identification,Unified Policy between hardware interface mark, it is established that corresponding relationship is set to be carried by portable equipment to terminal transmissionThe state activation information of standby mark and hardware interface mark starts corresponding application program according to Unified Policy and to portable equipmentData information is sent, which can be monitored the state of own hardware interface by portable equipment, by the side for sending messageFormula automatically opens application program in terminal side realization and sends data information, is not necessarily to user's hand on portable equipment and terminal respectivelyIt is dynamic to be operated, greatly simplify the step of equipment room carries out configurability setting.
The embodiment of the invention discloses:
A kind of method that A1, equipment room carry out configurability setting, which comprises
The state of portable equipment monitoring own hardware interface;
When having monitored that external equipment is linked into hardware interface, the portable equipment and terminal are established and are communicated to connect;
The portable equipment sends state activation information by described communicate to connect to the terminal;
The portable equipment receives the data information for the application program that the terminal is sent by the communication connection;
The portable equipment exports the data information by the external equipment.
A2, method according to a1, the portable equipment monitor the state of following at least one hardware interfaces:
Audio jack, microphone jack and smart television jack.
A3, method according to a1 or a2, the state activation information carry the device identification of the portable equipmentIt is identified with hardware interface.
A4, method according to a3, the portable equipment and terminal, which are established, to be communicated to connect, comprising: is established following anyA kind of communication connection: bluetooth Bluetooth connection, Wireless Fidelity WiFi connection, acoustic communication connection, near-field communication NFC connectionAnd less radio-frequency RF connection.
A5, method according to a4, the communication connection are bluetooth connection, and the portable equipment is communicated with terminal foundationConnection, comprising:
The portable equipment sends the first paging request to the terminal, and first paging request carries paging requestThe equipment access code of frame;
The portable equipment receives the first page response that the terminal is sent, and first page response carries the endThe hopping sequence information and clock phase that the device address at end calculates;
The portable equipment sends the second page response to the terminal, and second page response carries described portable setThe hopping sequence information and clock phase that standby device address calculates;
The portable equipment is established according to first page response and the terminal and is communicated to connect.
A kind of method that B6, equipment room carry out configurability setting, which comprises
When portable equipment has monitored that external equipment is linked into hardware interface, terminal and the portable equipment are established and are led toLetter connection;
The terminal receives the state activation information that the portable equipment is sent by the communication connection;
The terminal generates corresponding activation instruction according to the state activation information, and the activation instruction is for starting phaseThe application program answered;
The terminal sends the data information of the application program to the portable equipment by described communicate to connect.
B7, the method according to B6, the state activation information carry the device identification of the portable equipment and hardPart interface identifier;
The terminal generates corresponding activation instruction according to the state activation information, comprising:
The terminal parses the state activation information, therefrom extracts device identification and the hardware interface of the portable equipmentMark;
The terminal generates corresponding activation instruction according to the device identification and hardware interface mark.
B8, the method according to B7, the terminal and the portable equipment, which are established, to be communicated to connect, comprising: is established followingAny one communication connection: bluetooth Bluetooth connection, Wireless Fidelity WiFi connection, acoustic communication connection, near-field communication NFCConnection and less radio-frequency RF connection.
B9, the method according to B8, the communication connection are bluetooth connection, and the terminal and the portable equipment are establishedCommunication connection, comprising:
The terminal receives the first paging request that the portable equipment is sent, and first paging request carries pagingThe equipment access code of claim frame;
The terminal sends the first page response to the portable equipment, and first page response carries the terminalThe hopping sequence information and clock phase that device address calculates;
The terminal receives the second page response that the portable equipment is sent, and the second page response carrying is described justTake hopping sequence information and clock phase that the device address of equipment calculates;
The terminal is established according to second page response and the portable equipment and is communicated to connect.
C10, a kind of equipment room carry out the device of configurability setting, and described device includes:
Monitoring unit, for monitoring the state of portable equipment own hardware interface;
Connection unit, for when the monitoring unit has monitored that external equipment is linked into hardware interface, with terminalEstablish communication connection;
Transmission unit, for sending state activation information by described communicate to connect to the terminal;
Receiving unit, for receiving the data information for the application program that the terminal is sent by the communication connection;
Output unit, for exporting the data information by the external equipment.
C11, the device according to C10, the monitoring unit are used to monitor the state of following at least one hardware interfaces:
Audio jack, microphone jack and smart television jack.
C12, the device according to C10 or C11, the transmission unit are sent by described communicate to connect to the terminalState activation information carry the portable equipment device identification and hardware interface mark.
C13, the device according to C12, the connection unit and terminal, which are established, to be communicated to connect, comprising: establishes followingAnticipate a kind of communication connection: bluetooth Bluetooth connection, Wireless Fidelity WiFi connection, acoustic communication connection, near-field communication NFC connectIt connects and less radio-frequency RF connection.
C14, the device according to C13, the communication connection is bluetooth connection, and the connection unit includes:
Sending module, for sending the first paging request to the terminal, first paging request, which carries paging, is askedSeek the equipment access code of frame;
Receiving module, the first page response sent for receiving the terminal, described in first page response carriesThe hopping sequence information and clock phase that the device address of terminal calculates;
The sending module is also used to send the second page response to the terminal, described in second page response carriesThe hopping sequence information and clock phase that the device address of portable equipment calculates;
Link block is communicated to connect for being established according to first page response and the terminal.
D15, a kind of equipment room carry out the device of configurability setting, and described device includes:
Connection unit, it is and described portable for when portable equipment has monitored that external equipment is linked into hardware interfaceEquipment establishes communication connection;
Receiving unit, the state activation information sent for receiving the portable equipment by the communication connection;
Generation unit, for generating corresponding activation instruction according to the state activation information, the activation instruction is used forStart corresponding application program;
Transmission unit, for being believed by described communicate to connect to the data that the portable equipment sends the application programBreath.
D16, the device according to D15, the received state activation information of receiving unit carry it is described justTake the device identification and hardware interface mark of equipment;
The generation unit includes:
Extraction module, for the equipment mark of the portable equipment to be parsed and therefrom extracted to the state activation informationKnow and hardware interface identifies;
Generation module, for generating corresponding activation instruction according to the device identification and hardware interface mark.
D17, the device according to D16, the connection unit and the portable equipment, which are established, to be communicated to connect, comprising: is builtMake and state any one communication connection: bluetooth Bluetooth connection, Wireless Fidelity WiFi connection, acoustic communication connection, near field are logicalBelieve NFC connection and less radio-frequency RF connection.
D18, the device according to D17, the communication connection is bluetooth connection, and the connection unit includes:
Receiving module, the first paging request sent for receiving the portable equipment, first paging request carryThere is the equipment access code of paging request frame;
Sending module, described in the portable equipment the first page response of transmission, first page response is carriedThe hopping sequence information and clock phase that the device address of terminal calculates;
The receiving module is also used to receive the second page response that the portable equipment is sent, second page responseCarry hopping sequence information and clock phase that the device address of the portable equipment calculates;
Link block is communicated to connect for being established according to second page response and the portable equipment.
The system that E19, a kind of equipment room carry out configurability setting, the system comprises:
Portable equipment, terminal and external equipment;Wherein, the portable equipment includes as described in any one of C10 to C14Device;The terminal includes the device as described in any one of D15 to D18.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodimentPoint, reference can be made to the related descriptions of other embodiments.
It is understood that the correlated characteristic in the above method and device can be referred to mutually.In addition, in above-described embodiment" first ", " second " etc. be and not represent the superiority and inferiority of each embodiment for distinguishing each embodiment.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
Algorithm and display are not inherently related to any particular computer, virtual system, or other device provided herein.Various general-purpose systems can also be used together with teachings based herein.As described above, it constructs required by this kind of systemStructure be obvious.In addition, the present invention is also not directed to any particular programming language.It should be understood that can use variousProgramming language realizes summary of the invention described herein, and the description done above to language-specific is to disclose this hairBright preferred forms.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that implementation of the inventionExample can be practiced without these specific details.In some instances, well known method, structure is not been shown in detailAnd technology, so as not to obscure the understanding of this specification.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of the various inventive aspects,Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimesIn example, figure or descriptions thereof.However, the disclosed method should not be interpreted as reflecting the following intention: i.e. required to protectShield the present invention claims features more more than feature expressly recited in each claim.More precisely, as followingClaims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore,Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim itselfAll as a separate embodiment of the present invention.
Those skilled in the art will understand that can be carried out adaptively to the module in the equipment in embodimentChange and they are arranged in one or more devices different from this embodiment.It can be the module or list in embodimentMember or component are combined into a module or unit or component, and furthermore they can be divided into multiple submodule or subelement orSub-component.Other than such feature and/or at least some of process or unit exclude each other, it can use anyCombination is to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so disclosedAll process or units of what method or apparatus are combined.Unless expressly stated otherwise, this specification is (including adjoint powerBenefit require, abstract and attached drawing) disclosed in each feature can carry out generation with an alternative feature that provides the same, equivalent, or similar purposeIt replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodimentsIn included certain features rather than other feature, but the combination of the feature of different embodiments mean it is of the inventionWithin the scope of and form different embodiments.For example, in the following claims, embodiment claimed is appointedMeaning one of can in any combination mode come using.
Various component embodiments of the invention can be implemented in hardware, or to run on one or more processorsSoftware module realize, or be implemented in a combination thereof.It will be understood by those of skill in the art that can be used in practiceMicroprocessor or digital signal processor (DSP) realize the denomination of invention according to an embodiment of the present invention (as determined in websiteThe device of Hyperlink rank) in some or all components some or all functions.The present invention is also implemented as being used forSome or all device or device programs of method as described herein are executed (for example, computer program and calculatingMachine program product).It is such to realize that program of the invention can store on a computer-readable medium, or can have oneOr the form of multiple signals.Such signal can be downloaded from an internet website to obtain, or be provided on the carrier signal,Or it is provided in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and abilityField technique personnel can be designed alternative embodiment without departing from the scope of the appended claims.In the claims,Any reference symbol between parentheses should not be configured to limitations on claims.Word "comprising" does not exclude the presence of notElement or step listed in the claims.Word "a" or "an" located in front of the element does not exclude the presence of multiple suchElement.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer realIt is existing.In the unit claims listing several devices, several in these devices can be through the same hardware branchTo embody.The use of word first, second, and third does not indicate any sequence.These words can be explained and be run after fameClaim.