Summary of the invention
In order to address the above problem, the present invention proposes a kind of mobile terminal corollary apparatus, mobile terminalAnd method for controlling mobile terminal.
In order to realize aforementioned goal of the invention, the embodiment of the present invention provides a kind of mobile terminal corollary apparatus,Described corollary apparatus comprises:
Connection request module, reaches for the laminating distance when described corollary apparatus and described mobile terminalWhen threshold value, according to the identifying information of described mobile terminal, generate point-to-point connectivity request message;
First communication module, for sending described connectivity request message or receiving to described mobile terminalFrom the connection confirmation in described mobile terminal;
Control module, in the time that described communication module receives described connection confirmation, it is right to generateThe control information of described mobile terminal, when described control information is received, described mobile terminal application journeyOrder is activated or closes.
In this scheme, the corollary apparatus of mobile terminal detect with mobile terminal reach certain distance orWhen person closes, just carry out connection request with mobile terminal, to obtain the control to mobile terminal; ForSecurity, must connect when confirmation to receiving, and has just obtained the control to mobile terminal.Corollary apparatus generates control information, to the predefined application program of closing is closed, orPerson opens the application program of pre-unlatching. So, can enter mobile terminal by corollary apparatusThe automatic control of row certain procedures, without manually carrying out, has reduced mobile terminal loss, has improved useFamily is experienced.
Further, described corollary apparatus also comprises:
Module is set, and for predetermined application program controlling interface is set, described application program controlling interface is usedIn generating described control information;
And/or the threshold value of the laminating distance of described corollary apparatus and described mobile terminal is set;
And/or the supporting mobile terminal identifying information of described corollary apparatus is set.
In this scheme, whether module is set and why can sets in advance the application program that will close or openNeed to preserve the data that application program when operation produces, and control interface is set, so as to send control information toRelevant application program; The mobile terminal identifying information that described corollary apparatus is corresponding can also be set, by thisArrange, corollary apparatus can arrange flexibly it and want the mobile terminal of supporting control; Supporting dress can also be setPut and the distance threshold of mobile terminal, the threshold value such as the threshold value of closed type and while leaving, so that can be correctControl mobile terminal.
Further, described mobile terminal identifying information comprises No. IMSI. Owing to being for No. IMSI that the whole world is uniqueNumber, therefore, in the time that corollary apparatus and mobile terminal carry out supporting identification and control, can carry out accurately,The accuracy of raising scheme.
Further, described first communication module comprises NFC communication unit or RFID communication unit.It is fast that NFC communication unit or RFID communication unit have data transmission bauds, the advantage that distance location is accurate,Can accelerate connection and the control of corollary apparatus and mobile terminal, avoid producing delay of control, simultaneously itsTake up room less, cost is lower, on the basis that does not increase in addition mobile terminal cost, can bringBetter user experiences.
Further, described corollary apparatus also comprises memory module, for storing described application program controlInterface processed and described mobile terminal identifying information. By storing described above data, corollary apparatus canJust can persistence after once arranging, and at any time the follow-up change that arranges is continued to preserve, convenient moreNew and use.
In order to realize goal of the invention of the present invention, the embodiment of the present invention also provides a kind of mobile terminal,Described mobile terminal is matched in corollary apparatus described above, and wherein, described mobile terminal comprises:
Second communication module, for carrying out data communication with described corollary apparatus, receives connection request letterBreath or control information or transmission connect confirmation;
Authentication module, for the described connectivity request message receiving is carried out to authentication confirmation, and when mirrorWhen power is passed through, generate connection confirmation and also return to described connection confirmation by described second communication moduleInformation is to described corollary apparatus;
Controlled module, is used in the time receiving control information, according to the application journey in described control informationOrder control interface, starts or closes application program corresponding to described application program controlling interface.
Further, described second communication module comprises NFC communication unit or RFID communication unit.
In order to realize aforementioned goal of the invention, the embodiment of the present invention also provides a kind of moving containing corollary apparatusMoving terminal control method, said method comprising the steps of:
In the time that the laminating distance of described corollary apparatus and described mobile terminal reaches threshold value, described supporting dressPut according to the identifying information of described mobile terminal and generate point-to-point connectivity request message;
And send described connectivity request message to described mobile terminal;
When described mobile terminal receives described connectivity request message, read in described connection confirmationDescribed identifying information, and carry out authentication confirmation, authentication by time return to connection to described corollary apparatusConfirmation;
When described corollary apparatus receives described connection confirmation, generate the control to described mobile terminalInformation processed, described control information is for starting or close the application program of described mobile terminal.
Further, described method also comprises: set in advance predetermined application program controlling interface, described inApplication program controlling interface is used for generating described control information.
Further, described mobile terminal identifying information comprises No. IMSI.
Compared with prior art, the embodiment of the present invention can be brought following at least one beneficial effect:
1, in the time that mobile terminal closes as cell-phone cover, can close unnecessary application program, reduceBackstage continue operation application software, make power consumption reduce, saved used for mobile terminal as far as possibleElectric weight, or in the time that mobile terminal corollary apparatus is opened as cell-phone cover, also can practise according to user's useBe used to, open normal working procedure.
2, expanded the application function of mobile terminal corollary apparatus such as cell-phone cover, convenient to operation,Improve user's experience.
3, can close according to actual needs unnecessary background application, reduce mobile terminal ratioAs mobile phone power consumption amount time, retain again some important application programs, enriched user's experience.
Detailed description of the invention
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, will contrast attached belowFigure explanation the specific embodiment of the present invention. Apparently, the accompanying drawing in the following describes is only the present inventionSome embodiment, for those of ordinary skill in the art, do not paying under the prerequisite of creative work,Can also obtain according to these accompanying drawings other accompanying drawing, and obtain other embodiment.
For making drawing succinct, in each figure, only schematically show part related to the present invention, they are alsoDo not represent its practical structures as product. In addition, so that drawing is succinctly convenient to understanding, tool in some figureThere are the parts of same structure or function, only schematically illustrated one of them, or only marked whereinOne. In this article, " one " not only represents " only this ", also can represent the situation of " more than one ".
Any process of otherwise describing in flow chart or at this or method are described and can be understood to, tableShow and comprise that one or more is for realizing the code of executable instruction of step of specific logical function or processModule, fragment or part, and the scope of the preferred embodiment of the present invention comprises other realization, itsIn can be not according to order shown or that discuss, comprise according to related function by the mode of basic while orBy contrary order, carry out function, this should be by embodiments of the invention person of ordinary skill in the fieldInstitute is understood.
Fig. 1 is the structure chart of a kind of mobile terminal corollary apparatus of one embodiment of the invention, as shown in Figure 1,A kind of mobile terminal corollary apparatus, comprising:
Connection request module, in the time that the laminating distance of corollary apparatus and mobile terminal reaches threshold value,According to the identifying information of mobile terminal, generate point-to-point connectivity request message;
First communication module, for sending to mobile terminal described in connectivity request message or reception come fromThe connection confirmation of mobile terminal;
Control module, when receiving described connection confirmation when first communication module, it is right to generateThe control information of described mobile terminal, when control information is received, described application program for mobile terminal quiltStart or close.
Concrete, in this scheme, the corollary apparatus of mobile terminal detects with mobile terminal and reaches certainDistance or while closing, just carries out connection request with mobile terminal, to obtain the control to mobile terminal;For security, must connect when confirmation, just obtained the control to mobile terminal to receivingSystem power. Corollary apparatus generates control information, to the predefined application program of closing is closedClose, or the application program of pre-unlatching is opened. So, can be by corollary apparatus to movementTerminal is carried out the automatic control of certain procedures, without manually carrying out, has reduced mobile terminal loss, carriesHigh user's experience.
In one embodiment, described corollary apparatus is implanted a NFC intelligent chip and setting in advanceInitial operation program, corollary apparatus NFC intelligent chip can with the NFC intelligent chip of mobile terminalConnect, carry out Point-to-Point Data Transmission.
By the perceived distance effect of NFC intelligent chip, when the laminating distance of corollary apparatus and mobile terminalFrom reaching predetermined distance, such as in the time that corollary apparatus is a cell-phone cover, when mobile terminal is a mobile phone,When cell-phone cover and mobile phone close, distance threshold can be set to 0.1cm, is judged to be cell-phone cover mobile phone is carried outThe connection request of controlling. In addition, in the time that cell-phone cover is opened, i.e. laminating distance is greater than 0.1cm, is judged to beCell-phone cover is opened, and user need to use mobile phone, and some application programming interfaces arranging of mobile phone are carriedSupply with cell-phone cover, cell-phone cover can re-start connection request, and request is opened some application program.
Now, distance threshold can be determined according to the application feature of actual product, be only example.
Further, as shown in Figure 2, described corollary apparatus also comprises:
Module is set for predetermined application program controlling interface is set, described application program controlling interface is used forGenerate described control information. This application program controlling interface can be used for the application journey that provides same with mobile terminalOrder control interface, is convenient to the application program of mobile terminal system to control.
The threshold value of the laminating distance of described corollary apparatus and described mobile terminal also can be set; And institute is setState the supporting mobile terminal identifying information of corollary apparatus.
Concrete, the present embodiment corollary apparatus can arrange an initial operation program, docking is set and readsThe condition of getting, such as distance threshold, the program that need to control such as which, such as close camera module,Picture module, such as which mobile terminal needs control, with special NFC read write line in NFC intelligenceCan in chip, write executable program.
In this scheme, whether module is set and why can sets in advance the application program that will close or openNeed to preserve the data that application program when operation produces, and control interface is set, so as to send control information toRelevant application program; The mobile terminal identifying information that described corollary apparatus is corresponding can also be set, by thisArrange, corollary apparatus can arrange flexibly it and want the mobile terminal of supporting control; Supporting dress can also be setPut and the distance threshold of mobile terminal, the threshold value such as the threshold value of closed type and while leaving, so that can be correctControl mobile terminal. Concrete, described mobile terminal identifying information comprises No. IMSI. Due to No. IMSIFor global one number, therefore in the time that corollary apparatus and mobile terminal carry out supporting identification and control, Ke YizhunTrue carrying out, the accuracy of raising scheme. In the time that this cell-phone cover closes, this SIM of No. IMSI is housedThe mobile phone of card can send a request to the NFC intelligent chip of cutting ferrule, and acquisition request the other side arrangesNo. IMSI, after having asked, pass back to oneself mobile phone, if unanimously, dock successfully, read on cutting ferruleThe starter operating system arranging in NFC intelligent chip.
First communication module comprises NFC communication unit or RFID communication unit. NFC communication unit orIt is fast that RFID communication unit has data transmission bauds, and the advantage that distance location is accurate, can accelerate supporting dressPut and connection and the control of mobile terminal, avoid producing delay of control, simultaneously its take up room less,Cost is lower, can bring better user to experience on the basis that does not increase in addition mobile terminal cost.
Corollary apparatus also comprises memory module, for store described application program controlling interface and described in moveMoving terminal identification information. By storing described above data, corollary apparatus just can after can once arrangingWith persistence, and at any time the follow-up change that arranges is continued to preserve, conveniently upgrade and use.
Concrete, the present embodiment uses software module corollary apparatus NFC function setting Cheng Changkai, withAnd in the time that corollary apparatus is opened, Hall triggers, NFC connects disconnection automatically.
Fig. 3 is a kind of structure chart of mobile terminal. In Fig. 4, this mobile terminal and corollary apparatus connectConnect supporting.
Wherein, described mobile terminal comprises:
Second communication module, for carrying out data communication with described corollary apparatus, receives connection request letterBreath or control information or transmission connect confirmation;
Authentication module, for the described connectivity request message receiving is carried out to authentication confirmation, and when mirrorWhen power is passed through, generate connection confirmation and also return to described connection confirmation by described second communication moduleInformation is to described corollary apparatus;
Controlled module, is used in the time receiving control information, according to the application journey in described control informationOrder control interface, starts or closes application program corresponding to described application program controlling interface.
Further, described second communication module comprises NFC communication unit or RFID communication unit.
In this scheme, the corollary apparatus of mobile terminal detect with mobile terminal reach certain distance orWhile closing, to carry out connection request with mobile terminal, to obtain the control to mobile terminal; ForSecurity, must connect when confirmation to receiving, and has just obtained the control to mobile terminal.Corollary apparatus generates control information, to the predefined application program of closing is closed, orPerson opens the application program of pre-unlatching. So, can enter mobile terminal by corollary apparatusThe automatic control of row certain procedures, without manually carrying out, has reduced mobile terminal loss, has improved useFamily is experienced. Wherein, corollary apparatus is implanted in advance a NFC intelligent chip and initial operation program is set,Corollary apparatus NFC intelligent chip can be connected with the NFC intelligent chip of mobile terminal, and it is right to putPoint data is defeated. The present embodiment compares corollary apparatus laminating distance and default threshold, and judgement is joinedWhether covering device is closed, thereby control NFC intelligent chip and mobile terminal NFC in corollary apparatus isNo being connected, carry out next step operation.
In corollary apparatus, between NFC intelligent chip and mobile terminal NFC equipment, be connected communication,The data when data that the corollary apparatus nfc receiving is sent and mobile terminal are just moving are reflectedPower is confirmed, condition Verification and comparison one by one, thus close background application operation.
The present embodiment compares corollary apparatus laminating distance and default threshold, corollary apparatus laminating distanceFrom being greater than default threshold, be judged as corollary apparatus in open mode, mobile terminal screen starts bright,NFC connects disconnection. Corollary apparatus laminating distance is less than default threshold, is judged as corollary apparatus closed,In corollary apparatus, NFC intelligent chip is connected with mobile terminal NFC, carries out next step operation.
In the present embodiment, the condition that first communication module sets converts the data that can transmit to, joinsCovering device NFC intelligent chip is realized and being connected with mobile terminal NFC, and please to mobile terminal NFCAsk the request of No. IMSI by obtaining mobile terminal sim card, then return to supporting mobile terminal NFCIntelligent chip is approved connection.
Second communication module reads the data that the corollary apparatus nfc that receives sends, controlled module pairThe data when data that the case for mobil terminal nfc receiving sends and mobile terminal are just moving carry out byBar condition Verification and comparison.
Concrete, when the data that the corollary apparatus nfc receiving sends and mobile terminal are just movingThe preset clause of data fit, background application continues operation.
Concrete, when the data that the corollary apparatus nfc receiving sends and mobile terminal are just movingData do not meet preset clause, close background application operation, carry out one by one, withThe object of the unnecessary program in backstage is closed in realization.
As shown in Figure 5, in order to realize aforementioned goal of the invention, the embodiment of the present invention also provides one to containThe method for controlling mobile terminal of corollary apparatus, said method comprising the steps of:
S1. in the time that the laminating distance of described corollary apparatus and described mobile terminal reaches threshold value, described supportingDevice generates point-to-point connectivity request message according to the identifying information of described mobile terminal;
S2. and to described mobile terminal send described connectivity request message;
S3., when described mobile terminal receives described connectivity request message, read described connection confirmationIn described identifying information, and carry out authentication confirmation, authentication by time return and connect to described corollary apparatusConnect confirmation;
S4., when described corollary apparatus receives described connection confirmation, generate described mobile terminalControl information, described control information is for starting or close the application program of described mobile terminal.
Further, described method also comprises: set in advance predetermined application program controlling interface, described inApplication program controlling interface is used for generating described control information.
Further, described mobile terminal identifying information comprises No. IMSI.
Compared with prior art, the embodiment of the present invention can be brought following at least one beneficial effect:
1, in the time that mobile terminal closes as cell-phone cover, can close unnecessary application program, reduceBackstage continue operation application software, make power consumption reduce, saved used for mobile terminal as far as possibleElectric weight, or in the time that mobile terminal corollary apparatus is opened as cell-phone cover, also can practise according to user's useBe used to, open normal working procedure.
2, expanded the application function of mobile terminal corollary apparatus such as cell-phone cover, convenient to operation,Improve user's experience.
3, can close according to actual needs unnecessary background application, reduce mobile terminal ratioAs mobile phone power consumption amount time, retain again some important application programs, enriched user's experience.
In sum, the present invention has expanded mobile terminal corollary apparatus as the application function of cell-phone cover, behaviourDo convenient and swiftly, can, in the time that corollary apparatus closes, can close unnecessary application software, reduceBackstage continue operation application software, make power consumption reduce, saved as far as possible mobile terminal asMobile phone power consumption, in reducing mobile terminal power consumption, can retain again some important backstages shouldBy program, enrich user's experience.
In the description of this description, reference term " embodiment ", " some embodiment ", " showExample ", descriptions such as " concrete example " or " some examples " mean in conjunction with this embodiment or example descriptionSpecific features, structure, material or feature are contained at least one embodiment of the present invention or example. ?In this description, the schematic statement of above-mentioned term is not necessarily referred to identical embodiment or example. AndAnd, specific features, structure, material or the feature of description can be at any one or more embodiment orIn example with suitable mode combination.
It should be noted that all independent assortments as required of above-described embodiment. The above is only the present inventionPreferred embodiment, it should be pointed out that for those skilled in the art, notDepart under the prerequisite of the principle of the invention, can also make some improvements and modifications, these improvements and modificationsAlso should be considered as protection scope of the present invention.
These are only the preferred embodiments of the present invention, not thereby limit the scope of the claims of the present invention, every profitThe equivalent structure of doing by description of the present invention and accompanying drawing content or the conversion of equivalent flow process, or directly or indirectly transportBe used in other relevant technical field, be all in like manner included in scope of patent protection of the present invention.