Summary of the invention
In view of above content, be necessary to provide a kind of electronic installation, can adjust the contextual model of this electronic installation automatically according to the conversion of present position.
In addition, also be necessary to provide a kind of profile switching method, can adjust its contextual model according to the conversion of this electronic installation present position automatically.
A kind of electronic installation comprises: the RFID reader, be used for connecting with the RFID label, and record spatial information in the described RFID label; Mode switch element, this mode switch element comprises: module is set, is used to be provided with a plurality of contextual models with the different space of correspondence, and the included content of each contextual model is set; Acquisition module is used for obtaining spatial information by described RFID reader from described RFID label when described RFID reader and RFID label are set up wireless connections, and confirms the space at this current place of electronic installation according to this spatial information; And handover module, be used for confirming corresponding contextual model according to space, the current place of this electronic installation, and whether the current contextual model of the contextual model of comparing this affirmation and mobile phone is identical, if it is identical, then keep the current contextual model of this electronic installation, if inequality, then current contextual model is switched to the contextual model of being confirmed.
A kind of profile switching method of electronic installation, this electronic installation comprises the RFID reader, this RFID reader can be set up wireless connections with the RFID label that records spatial information, this method comprises the steps: to be provided with a plurality of contextual models with the different space of correspondence, and the included content of each contextual model is set; Judge whether described electronic installation sets up wireless connections by this RFID reader and RFID label; When described RFID reader and RFID label are set up wireless connections, obtain spatial information by described RFID reader from described RFID label, and confirm the space at this current place of electronic installation according to this spatial information; Confirm corresponding contextual model according to space, the current place of this electronic installation, and whether the current contextual model of the contextual model of comparing this affirmation and mobile phone is identical; And, then keep the current contextual model of this electronic installation if the current contextual model of the contextual model of this affirmation and mobile phone is identical; Or, then current contextual model is switched to the contextual model of being confirmed if the current contextual model of the contextual model of this affirmation and mobile phone is inequality.
Compared to prior art, described electronic installation and profile switching method thereof can be after the residing space of this electronic installation change, and obtain the spatial information after this variation, thereby adjust the contextual model of this electronic installation automatically according to this spatial information.
Embodiment
For ease of understanding, below brief description done in term involved in the present invention:
RFID (Radio Frequency Identification, radio-frequency (RF) identification): a kind of contactless automatic identification technology, it is by the automatic recognition objective object of radiofrequency signal and obtain relevant information.Basic rfid system generally includes: label (Tag, i.e. radio-frequency card): form by coupling element and chip, contain built-in transmitting antenna, be used for and radio-frequency antenna between communicate, label has unique electronic code, attached to identifying destination object on the object; Reader (Reader): the equipment of reading tag information; And antenna: between label and reader, transmit radiofrequency signal.Reader goes out to have the electromagnetic wave of certain radiation scope by antenna transmission, produce induced current in the time of in label enters this irradiation of electromagnetic waves scope, this label obtains energy and is activated, send out canned data by built-in transmitting antenna then, carry out delivering to computer behind the demodulation sign indicating number after this information is read by reader or other electronic installations carry out relevant treatment.
As shown in Figure 1, be the functional block diagram of the better embodiment of electronic installation of the present invention.Electronic installation 1 of the present invention comprises RFID reader 3 and mode switch element 2.Described electronic installation 1 can be the portable/handheld electronic installation, for example: personal digital assistant (Personal Digital Assistant, PDA), mobile phone etc.
For ease of hereinafter describing, in this better embodiment, described electronic installation 1 is an example with the mobile phone.Described mode switch element 2 can install and run in the mobile phone, also can be embedded in the operating system of mobile phone, is used in time adjusting according to the variation of space/scene the contextual model of mobile phone, for example: jingle bell, ringing volume etc.
Described RFID reader 3 can be launched the electromagnetic wave that radiation scope is arranged, thereby carries out wireless telecommunications with RFID label 6.In the time of in described RFID label 6 enters this irradiation of electromagnetic waves scope, the electromagnetic wave energy storage that described RFID label 6 is launched described RFID reader 3 and then convert the required electric energy of circuit to, and send canned data to described RFID reader 3 in electromagnetic mode and confirm.
In this better embodiment, described RFID label 6 is distributed in different spaces, for example, office building is outer, near the office building inlet, meeting room inlet, classroom inlet, office's inlet etc.Described RFID label 6 is used for the information of record space or scene, and other desired datas.The information of described space or scene can show that this space is meeting room, classroom, office or other.When the mobile phone that comprises described RFID reader 3 during near this RFID label 6, can set up wireless connections and read the spatial informations that write down in this RFID label 6, described mode switch element 2 is switched its contextual model according to this spatial information that reads.Information in this RFID label 6 can directly write by described RFID reader 3.
Described electronic installation 1 also comprises processor 4, is used to carry out other softwares of installing in described mode switch element 2 and the electronic installation 1.
Described electronic installation 1 further comprises storage device 5, described storage device 5 can be the internal memory of described electronic installation 1, it can also be the storage card that can be external in this electronic installation 1, as SM card (Smart Media Card, smart media card), SD card (Secure Digital Card, safe digital card) etc.Described storage device 5 is used to store Various types of data, is included in the described mode switching system 2 data that are provided with, utilizes data that described RFID reader 3 obtains etc.
Described mode switch element 2 mainly comprises four functional modules, is respectively: module 20, judge module 22, acquisition module 24 and handover module 26 are set.
Described be provided with module 20 be used to be provided with one can be according to spatial alternation and the function of automatic switching situation pattern (hereinafter referred is " function of automatic switchover mode "), and the option or the shortcut that start/close the function of this automatic switchover mode.
The described module 20 that is provided with also is used to be provided with a plurality of contextual models with the different space of correspondence.For example, corresponding to the outdoor pattern of outdoor space, corresponding to the indoor pattern in the office, corresponding to silent mode in meeting room, the classroom etc.In the present embodiment, be illustrated with above-mentioned outdoor pattern, indoor pattern and silent mode, in addition, the user also can self-defined multiple personalized pattern to adapt to different occasions.
The described module 20 that is provided with is further used for being provided with the included content of each contextual model.Each contextual model can include, but are not limited to following thin: jingle bell mode, the tinkle of bells type, ringing volume, vibration prompt, information prompting sound, other prompting sounds (quarter-bell prompting sound, backlog prompting sound) etc.For example, described be provided with module 20 can be provided with under the outdoor pattern ringing volume for maximum, open vibration, information prompting sound and other prompting sounds and be " enhancings " etc., under silent mode,, only open and vibrate etc. all the tinkle of bells cancellations.Below, can be provided with according to the included function of different mobile phones in actual applications only for illustrating.
In addition, the described module 20 that is provided with also can further be provided with the acquiescence contextual model that the function when described automatic switchover mode can enter after startup, and this acquiescence contextual model can directly be selected, specify from a plurality of contextual models that have been provided with.
Described judge module 22 is used to judge whether described mobile phone sets up wireless connections by this RFID reader 3 with RFID label 6.In the present embodiment, when mobile phone from certain space (for example, when entering another space (for example, meeting room) office), the RFID reader 3 in the mobile phone can be set up wireless connections to obtain the spatial information in this space that enters with the RFID label 6 that install another porch, space.
Described acquisition module 24 is used for obtaining spatial information by the RFID reader 3 in the mobile phone from RFID label 6, and confirms the space at this current place of mobile phone according to this spatial information.
Described handover module 26 is used for confirming corresponding contextual model according to space, the current place of this mobile phone, and whether the current contextual model of the contextual model of comparing this affirmation and mobile phone is identical, if it is identical, then keep the current contextual model of mobile phone, if inequality, then current contextual model is switched to the contextual model of being confirmed.For example, when mobile phone is initially located in office, corresponding contextual model is " an indoor pattern ", after this mobile phone enters meeting room from office, described handover module 26 will confirm that the contextual model of this meeting room correspondence is " silent mode ", and automatically " indoor pattern " be switched to " silent mode ".
As shown in Figure 2, be the flow chart of better embodiment of the profile switching method of electronic installation of the present invention.At first, step S2 describedly is provided with the function that module 20 is provided with an automatic switchover mode, and the option or the shortcut that start/close the function of this automatic switchover mode.
Step S4, the described module 20 that is provided with is provided with a plurality of contextual models with the different space of correspondence, and the acquiescence contextual model that the function when described automatic switchover mode can enter after startup is set, this acquiescence contextual model can directly be selected, specify from a plurality of contextual models that have been provided with.For example, set contextual model can include, but are not limited to: corresponding to the outdoor pattern of outdoor space, corresponding to the indoor pattern in the office, corresponding to silent mode in meeting room, the classroom etc.
Step S6, the described module 20 that is provided with is provided with the included content of each contextual model.Each contextual model can include, but are not limited to following thin: jingle bell mode, the tinkle of bells type, ringing volume, vibration prompt, information prompting sound, other prompting sounds (quarter-bell prompting sound, backlog prompting sound) etc.
Step S8 starts the function of this automatic switchover mode by shortcut or the mode of carrying out option, and enters the contextual model of set acquiescence.
Step S10, described judge module 22 judge whether described mobile phone sets up wireless connections by this RFID reader 3 with RFID label 6.If do not set up wireless connections, then execution in step S12; If set up wireless connections, then execution in step S14.
Step S12 keeps the current contextual model of mobile phone.
Step S14, described acquisition module 24 obtains spatial information by the RFID reader 3 in the mobile phone from RFID label 6, and confirms the space at this current place of mobile phone according to this spatial information.
Step S16, described handover module 26 is confirmed corresponding contextual model according to space, the current place of this mobile phone, and whether the current contextual model of the contextual model of comparing this affirmation and mobile phone is identical.If identical, execution in step S12 then; If inequality, execution in step S18 then.
Step S18, described handover module 26 switches to the contextual model of being confirmed with current contextual model, then process ends.
Above execution mode is only unrestricted in order to technical scheme of the present invention to be described, although the present invention is had been described in detail with reference to above better embodiment, those of ordinary skill in the art should be appreciated that and can make amendment or be equal to the spirit and scope that replacement should not break away from technical solution of the present invention technical scheme of the present invention.