CN105245256A - Near field control method and terminal - Google Patents

Near field control method and terminal Download PDF

Info

Publication number
CN105245256A
CN105245256A CN201510546580.9A CN201510546580A CN105245256A CN 105245256 A CN105245256 A CN 105245256A CN 201510546580 A CN201510546580 A CN 201510546580A CN 105245256 A CN105245256 A CN 105245256A
Authority
CN
China
Prior art keywords
terminal
attitude data
instruction
data
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510546580.9A
Other languages
Chinese (zh)
Inventor
黄盼
吴大鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Jinli Communication Equipment Co Ltd
Original Assignee
Shenzhen Jinli Communication Equipment Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Jinli Communication Equipment Co Ltd filed Critical Shenzhen Jinli Communication Equipment Co Ltd
Priority to CN201510546580.9A priority Critical patent/CN105245256A/en
Publication of CN105245256A publication Critical patent/CN105245256A/en
Pending legal-status Critical Current

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

An embodiment of the invention provides a near field control method. The method comprises the following steps of receiving near field instruction data sent by a target terminal; according to the near field instruction data, determining a preset instruction set aiming at the terminal; acquiring attitude data of the terminal, wherein the attitude data is used for representing space data of the terminal relative to a target reference substance; according o the attitude data, selecting an instruction corresponding to the attitude data from the preset instruction set; executing an operation corresponding to the selected instruction. Correspondingly, the invention also provides the terminal. By using the method and the terminal of the invention, through attitude information of a mobile phone which is close to the target terminal, an execution instruction of the mobile phone is selected so that diversification of a NFC control mode can be realized.

Description

A kind of method of past near-field control and terminal
Technical field
The present invention relates to technical field of near field communication, particularly relate to a kind of method and terminal of past near-field control.
Background technology
Near-field communication technology (NearFieldCommunication, NFC) is developed by non-contact radio-frequency identification (RFID) and the Technology Integration that interconnects.At present, mainly there are three kinds of mode of operations in NFC:
Snap gauge simulation models (Cardemulationmode): this pattern is exactly be equivalent to an IC-card in fact.Can be applied to: swipe the card in market, EasyCard, gate inhibition's control, ticket, admission ticket etc.
Ad hoc mode (PeertoPeer, P2P): this pattern and infrared ray similar, can be used for exchanges data, such as, down-load music, exchange picture or synchronizer address book etc., transmission create speed, transmission speed also hurry up, (bluetooth is also similar) low in energy consumption.
Card reader pattern (Reader/Writermode): use as contactless card reader, such as read relevant information from placard or Exhibition Information electronic tag.
But in prior art, mobile phone NFC module usually can only read a fix information and perform corresponding pinned task from another NFC device, causes NFC control command single like this, the also serious waste storage resources of NFC device.
Summary of the invention
Embodiments provide a kind of method and terminal of past near-field control, chosen the execution instruction of mobile phone by mobile phone near the attitude information of target terminal, the variation of NFC control mode can be realized.
Embodiment of the present invention first aspect provides a kind of past near-field control method, and the method comprises:
The near field director data that receiving target terminal sends over;
According to described near field director data, determine the preset instruction set for terminal;
Obtain the attitude data of described terminal, described attitude data is for characterizing the spatial data of described terminal relative to object reference thing;
To concentrate from described preset instructions according to described attitude data and select instruction corresponding to described attitude data;
The operation that the instruction selected described in execution is corresponding.
Embodiment of the present invention second aspect provides a kind of terminal, and this terminal comprises:
Receiving element, for the near field director data that receiving target terminal sends over;
Determining unit, for according to described near field director data, determines the preset instruction set for terminal;
Acquiring unit, for obtaining the attitude data of described terminal, described attitude data is for characterizing the spatial data of described terminal relative to object reference thing;
Selected cell, selects instruction corresponding to described attitude data for concentrating from described preset instructions according to described attitude data;
Performance element, the operation that the instruction for selecting described in performing is corresponding.
Implement the embodiment of the present invention, the near field director data sended over according to target terminal determines the preset instruction set for terminal, concentrate near the attitude information of target terminal the execution instruction selecting mobile phone from described preset instructions by mobile phone, and perform associative operation according to the instruction selected, the variation of NFC control mode can be realized.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the flow chart of the first embodiment of the method for the past near-field control that the embodiment of the present invention provides;
Fig. 2 is the schematic diagram of the terminal attitude that the embodiment of the present invention provides;
Fig. 3 is the schematic diagram of the terminal attitudes vibration that the embodiment of the present invention provides;
Fig. 4 is the flow chart of the second embodiment of the method for the past near-field control that the embodiment of the present invention provides;
Fig. 5 is the flow chart of the 3rd embodiment of the method for the past near-field control that the embodiment of the present invention provides;
Fig. 6 is the structural representation of the first embodiment of the terminal that the embodiment of the present invention provides;
Fig. 7 is the structural representation of the second embodiment of the terminal that the embodiment of the present invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
See Fig. 1, be the flow chart of the first embodiment of the method for the past near-field control that the embodiment of the present invention provides, the method comprises:
Step S101: the near field director data that receiving target terminal sends over.
Concrete, described target terminal is the terminal that can send NFC information.Described target terminal can be carry complete circuit structure, can separate, stored and/or generate the device of NFC signal, also can be to receive by other electromagnetism and/or electric field that other-ends send, thus produces the device of corresponding NFC signal.
"and/or" in the embodiment of the present invention represent two or more at least one.Such as " A and/or B " comprises independent A, independent B, A and B tri-kinds of situations; " A, B and/or C ", then comprise the combination in any of independent A, separately B, separately C and A, B, C tri-kinds.
Described target terminal can be specifically NFC label (NFCTag), also can be the terminal such as mobile phone, panel computer, Wearable being integrated with NFC communication module, not be restricted here.Described near field director data can be stored in described target terminal, also can be to generate in real time according to the operation of user and/or the operation of other devices.
The data that the terminal receiving target terminal of the embodiment of the present invention is sended over by NFC radio-frequency module, wherein with the near field director data that the data performing specific function or task are described in the embodiment of the present invention.
Understandable, described near field director data embodies the control situation of described target terminal to termination function.Such as, the contextual model of terminal is set to by the instruction of described near field director data: the one in mode standard, conference model or outdoor pattern.
Needs illustrate, described near field director data also can indicate multiple functions of control terminal, and such as, described near field director data indicates: the Wi-Fi opened a terminal, or the GPS opened a terminal.
Step S103: according to described near field director data, determine the preset instruction set for terminal.
The instruction performing specific function can directly send to terminal (such as to send the information comprising object code directly to terminal by the target terminal in the embodiment of the present invention, terminal directly performs corresponding function after receiving), terminal performs corresponding instruction; Described target terminal also can be by sending director data, comes to store the instruction (such as: terminal prestores the instruction of n-back test, carrying out corresponding transferring by the director data of target terminal) performing specific function in indicating terminal.
The instruction set preset in the embodiment of the present invention comprises the instruction that at least two perform specific function.
Understandable, described near field director data can indicate: the possible operating state of controlled termination function and this function.
Such as, described near field director data has indicated: described controlled termination function is contextual model, and the possible operating state that described near field director data has also indicated contextual model is: mode standard, conference model or outdoor pattern.So, terminal according to described near field director data, can determine that described preset instruction set is: the contextual model of terminal is set to the instruction of mode standard, the contextual model of terminal is set to the instruction of conference model and the contextual model of terminal is set to the instruction of outdoor pattern.
Example is only a kind of implementation of the embodiment of the present invention, can also be different in actual use, should not form restriction.
Step S105: the attitude data obtaining described terminal, described attitude data is for characterizing the spatial data of described terminal relative to object reference thing.
Comprising one or more in terminal in the embodiment of the present invention can the two dimension of measuring terminals relative to object reference thing and/or the transducer of three-dimensional space data, and these two dimensions and/or three-dimensional space data constitute the attitude of terminal.In specific implementation process, attitude data can be determined relative to the two dimension of object reference thing and/or trivector or projection etc. in measuring terminals length, width and height direction.In specific implementation, terminal can be passed through gravity sensor, gyroscope and geomagnetic sensor etc. and obtain described attitude data.Such as gravity sensor can gravimetric data on measuring terminals length, width and height direction, determines that terminal is horizontal attitude or vertical attitude; Gyroscope can the angular velocity of rotation of measuring terminals; Geomagnetic sensor can measuring terminals length, width and height direction relative to the magnetic induction of ground magnet-wire, determine the direction of terminal relative to ground magnet-wire.
The embodiment of the present invention can measure attitude data by single transducer, also can be combined by multiple sensors and measure attitude data.
In the embodiment of the present invention, described object reference thing can be concrete object, such as described target terminal or a ground etc., and described object reference thing also can be specific plane, such as horizontal plane.In practical application, described target object of reference can also be other objects of reference, is not restricted here.
Step S107: to concentrate from described preset instructions according to described attitude data and select instruction corresponding to described attitude data.
Concrete, attitude data corresponding to described preset instructions each instruction of concentrating can pre-set, such as, can set the instruction in the direct corresponding instruction set of each attitude data; Also can be by certain operation rule, determine the instruction in the corresponding instruction set of an attitude data.Instruction in the embodiment of the present invention performs specific task for control terminal or realizes specific function.
In specific implementation, terminal can inquire about attitude data corresponding to each instruction described, if it is consistent with the described attitude data obtained in step S105 to have attitude data corresponding to instruction, then this instruction can be defined as instruction corresponding to described attitude data by terminal.
Step S109: the operation that the instruction selected described in execution is corresponding.
The operation that instruction is corresponding is performed, i.e. the function of control terminal execution indicated by instruction or completing indicated by instruction of task in the embodiment of the present invention.
In a kind of implementation of the embodiment of the present invention, as shown in Figure 2, described attitude data can be the direction of terminal relative to described object reference thing.Wherein, terminal specifically can be represented by the angle of inclination of terminal relative to described object reference thing relative to the direction of described object reference thing.Such as, " angle a " and " angle b " in Fig. 2 can characterize the relative different directions with described target object of reference of terminal respectively.
Concrete, described preset instruction set can at least corresponding two angular interval, and wherein each instruction can be previously provided with at least one corresponding angular interval.
For example, as shown in Figure 2, the angular interval of instruction 1 correspondence that described preset instructions is concentrated is " angular interval 1 ", " angular interval 2 " of instruction 2 correspondence that described preset instructions is concentrated.Example is only a kind of implementation of the embodiment of the present invention, can also be different in actual use, should not form restriction.
Concrete, after obtaining the angle of terminal relative to described object reference thing, terminal can analyze the angular interval residing for this angle, and concentrates from described preset instructions and select instruction corresponding to this angular interval, and then triggers and perform operation corresponding to this instruction.
In the another kind of implementation of the embodiment of the present invention, described attitude data can be the variable quantity of terminal attitude data.Each instruction that described preset instructions is concentrated can be previously provided with the variable quantity of each self-corresponding attitude data.
In specific implementation, terminal can obtain at least two group attitude datas, according to described at least two group attitude datas, determine the variable quantity of described attitude data, and according to the variable quantity of described attitude data, concentrate from described preset instructions and select instruction corresponding to described variable quantity, and then trigger operation corresponding to this instruction of execution.
As shown in Figure 3, the variable quantity of described attitude data can refer to the variable quantity of terminal relative to the angle of inclination of described object reference thing.Such as, instruction 1 correspondence " angle change a " that described preset instructions is concentrated, instruction 2 correspondence " angle change b " that described preset instructions is concentrated.Example is only a kind of implementation of the embodiment of the present invention, can also be different in actual use, should not form restriction.
In specific implementation, terminal can obtain the angle of inclination of at least two terminals, according to described at least two angles of inclination, determine the variable quantity at angle of inclination, and to concentrate from described preset instructions according to the variable quantity at the angle of inclination determined and select instruction corresponding to this variable quantity, and then trigger and perform operation corresponding to this instruction.
Need to illustrate, the variable quantity of described attitude data can also refer to the displacement variable of terminal relative to described object reference thing, such as, terminal away from or near described object reference thing time the displacement variable that produces, be not restricted here.
Needs illustrate, (X, Y, Z) three-dimensional coordinate that the described attitude data that the embodiment of the present invention relates to can be gathered by attitude transducer 1007 represents.Such as, as shown in Figure 2, when terminal is parallel with described target object of reference, the described attitude data of terminal is expressed as by three-dimensional coordinate: (0,01).That is: the X-axis (along direction, terminal base) of terminal is all parallel with described target object of reference with Y-axis (along end side edge direction), and the Z axis (normal direction along end plane) of terminal is vertical with described target object of reference.
Understandable, the variable quantity of described attitude data that foregoing is mentioned, the variable quantity at the angle of inclination of terminal and angle of inclination all can be represented by three-dimensional coordinate, repeat no more here.
Need to illustrate, the executive agent of each step above-mentioned in the embodiment of the present invention can be integrated with the terminals such as the mobile phone of NFC communication function, panel computer or Intelligent wearable equipment.
Implement the embodiment of the present invention, the near field director data sended over according to target terminal determines the preset instruction set for terminal, concentrate near the attitude information of target terminal the execution instruction selecting mobile phone from described preset instructions by mobile phone, and perform associative operation according to the instruction selected, can realize the variation of NFC control mode, and the memory space that can make full use of target terminal is to store NFC control information.
See Fig. 4, it is the flow chart of the second embodiment of the method for the past near-field control that the embodiment of the present invention provides.In Fig. 4 embodiment, to be concentrated from described presupposed information near the attitude information of target terminal by mobile phone and select the information that mobile phone sends to described target terminal, can realize in NFC communication process, the information that selectable transmission presupposed information is concentrated, to target terminal, achieves the variation that information sends.Fig. 4 embodiment is a kind of concrete execution mode of Fig. 1 embodiment, and the content that Fig. 4 does not mention, refers to Fig. 1 embodiment.As shown in Figure 4, the method comprises:
Step S201: the near field director data that receiving target terminal sends over.
Concrete, described target terminal can be NFC label (NFCTag), also can be the terminal such as mobile phone, panel computer, Wearable being integrated with NFC communication module, not be restricted here.Described near field director data can be stored in described target terminal.
Concrete, described near field director data can be used for indicating the condition that described target terminal receives information.
In specific implementation, described near field director data can indicate the classification of the accessible information of target terminal.Such as, described target terminal accessible information is: the business card in address list, the photo in photograph album etc.
In specific implementation, described near field director data also can indicate the condition such as rise time, place of the accessible information of target terminal.Such as, the accessible information of described target terminal is: the office documents that the first quarter in 2015 generates.Again such as, the accessible information of described target terminal is: take the photo in sight spot A.
Example is only a kind of implementation of the embodiment of the present invention, can be different in actual use, should not form restriction.
Step S203: according to described near field director data, determine the preset instruction set for terminal, the information that described preset instruction set is used to indicate presupposed information is concentrated sends to described target terminal.
For example, if described presupposed information collection comprises: the office documents of A company, and the accessible information of the described target terminal that described near field director data indicates is: the office documents that A company generated in 2015.So, described preset instruction set can comprise: the transmission instruction office documents of A company arbitrary time generation in 2015 being sent to described target terminal.
Example is only a kind of implementation of the embodiment of the present invention, can be different in actual use, should not form restriction.
Need to illustrate, described presupposed information collection can storage terminal local, in practical application, described presupposed information collection can also carry out the network that self terminal connects, and is not restricted here.
Step S205: the attitude data obtaining described terminal, described attitude data is for characterizing the spatial data of described terminal relative to object reference thing.
Concrete, can step S105 in reference diagram 1 embodiment and related content, repeat no more here.
Step S207: to concentrate from presupposed information according to described attitude data and select information corresponding to described attitude data.
The information that in the embodiment of the present invention, attitude data is corresponding comprises the information for can be sent to exterior terminal by terminal, such as: the information such as text (such as mail, instant chat information, note, address list etc.), picture, voice.Information in the embodiment of the present invention can be the one in the information such as above-mentioned text, picture, voice, also can be multiple.Information in the embodiment of the present invention can be a single information, also can be many information.
Concrete, attitude data corresponding to each information of concentrating of described presupposed information can pre-set, also can according to user or other-end manipulation input.
In specific implementation, terminal can inquire about attitude data corresponding to each information described, if attitude data corresponding to the information that has is consistent with the described attitude data obtained in step S205, then this information can be defined as information corresponding to described attitude data by terminal, sends this information to described target terminal in order to trigger.
Step S209: information corresponding for the described attitude data selected is sent to described target terminal.
Known with reference to figure 1 embodiment:
In a kind of implementation of the embodiment of the present invention, as shown in Figure 2, described attitude data can be the direction of terminal relative to described object reference thing.Wherein, terminal specifically can be represented by the angle of inclination of terminal relative to described object reference thing relative to the direction of described object reference thing.
In the embodiment of the present invention, described presupposed information collection can at least corresponding two angular interval, and wherein each information can be previously provided with at least one corresponding angular interval.
In specific implementation, after obtaining the angle of terminal relative to described object reference thing, terminal can analyze the angular interval residing for this angle, and concentrates from described presupposed information and select information corresponding to this angular interval, and then triggers and send this information to described target terminal.
In the another kind of implementation of the embodiment of the present invention, described attitude data can be the variable quantity of terminal attitude data.Each instruction that described preset instructions is concentrated can be previously provided with the variable quantity of each self-corresponding attitude data.As shown in Figure 3, the variable quantity of described attitude data can refer to the variable quantity of terminal relative to the angle of inclination of described object reference thing.
In specific implementation, terminal can obtain at least two group attitude datas, according to described at least two group attitude datas, determine the variable quantity of described attitude data, and according to the variable quantity of described attitude data, concentrate from described presupposed information and select information corresponding to described variable quantity, and then trigger this information of transmission to described target terminal.
Implement the embodiment of the present invention, to be concentrated from described presupposed information near the attitude information of target terminal by mobile phone and select the information that mobile phone sends to described target terminal, can realize in NFC communication process, the information that selectable transmission presupposed information is concentrated, to target terminal, achieves the variation that information sends.
See Fig. 5, it is the flow chart of the 3rd embodiment of the method for the past near-field control that the embodiment of the present invention provides.In Fig. 5 embodiment, by the attitude information determination terminal work mode of mobile phone near target terminal, the mode of operation of terminal selectively can be set by NFC communication process in fact, decrease the operation that user arranges terminal work mode, improve Consumer's Experience.Fig. 5 embodiment is a kind of concrete execution mode of Fig. 1 embodiment, and the content that Fig. 5 does not mention, refers to Fig. 1 embodiment.As shown in Figure 5, the method comprises:
Step S301: the near field director data that receiving target terminal sends over.
Concrete, described target terminal can be NFC label (NFCTag), also can be the terminal such as mobile phone, panel computer, Wearable being integrated with NFC communication module, not be restricted here.Described near field director data can be stored in described target terminal.
Understandable, described near field director data embodies multiple mode of operations that described target terminal provides for terminal.Such as, described near field director data indicates: the contextual model of terminal is set to the one in mode standard, conference model or outdoor pattern.Again such as, described near field director data indicates: the data service of terminal opened or close.
Step S303: according to described near field director data, determine the preset instruction set for terminal, described preset instruction set is for arranging the mode of operation of described terminal.
The terminal of the embodiment of the present invention can for different scenes or needs, and the terminal operating status configuring different hardware or software resource becomes the mode of operation of terminal.
For example, described near field director data indicates: the contextual model of terminal is set to the one in mode standard, conference model (can close quarter-bell and/or suspend communication network etc.) or outdoor pattern (can increase the tinkle of bells and/or be configured to vibrations and add the tinkle of bells).So, described preset instruction set can comprise: the contextual model of terminal is set to the instruction of mode standard, the contextual model of terminal is set to the instruction of conference model and the contextual model of terminal is set to the instruction of outdoor pattern.
Example is only a kind of implementation of the embodiment of the present invention, can also be different in actual use, should not form restriction.
Step S305: the attitude data obtaining described terminal, described attitude data is for characterizing the spatial data of described terminal relative to object reference thing.
Concrete, with reference to the step S105 in figure 1 embodiment and related content, can repeat no more here.
Step S307: select mode of operation corresponding to described attitude data according to described attitude data from default mode of operation.
Concrete, attitude data corresponding to each mode of operation in described default mode of operation can pre-set.
In specific implementation, terminal can inquire about attitude data corresponding to each mode of operation described, if it is consistent with the described attitude data obtained in step S205 to have attitude data corresponding to mode of operation, then this mode of operation can be defined as pattern corresponding to described attitude data by terminal, in order to trigger, the mode of operation of terminal is arranged to this mode of operation.
Step S309: the mode of operation selected described in the mode of operation of terminal is arranged to.
Known with reference to figure 1 embodiment:
In a kind of implementation of the embodiment of the present invention, as shown in Figure 2, described attitude data can be the direction of terminal relative to described object reference thing.Wherein, terminal specifically can be represented by the angle of inclination of terminal relative to described object reference thing relative to the direction of described object reference thing.
In the embodiment of the present invention, described presupposed information collection can at least corresponding two angular interval, and wherein each information can be previously provided with at least one corresponding angular interval.
In specific implementation, after obtaining the angle of terminal relative to described object reference thing, terminal can analyze the angular interval residing for this angle, and from described default mode of operation, select mode of operation corresponding to this angular interval, and then trigger the mode of operation of terminal is arranged to described in the mode of operation selected.
In the another kind of implementation of the embodiment of the present invention, described attitude data can be the variable quantity of terminal attitude data.Each instruction that described preset instructions is concentrated can be previously provided with the variable quantity of each self-corresponding attitude data.As shown in Figure 3, the variable quantity of described attitude data can refer to the variable quantity of terminal relative to the angle of inclination of described object reference thing.
In specific implementation, terminal can obtain at least two group attitude datas, according to described at least two group attitude datas, determine the variable quantity of described attitude data, and according to the variable quantity of described attitude data, from described default mode of operation, select mode of operation corresponding to described variable quantity, so trigger the mode of operation of terminal is arranged to described in the mode of operation selected.
See Fig. 6, be the structural representation of the first embodiment of terminal provided by the invention, terminal 60 as shown in Figure 6 can comprise: receiving element 601, determining unit 603, acquiring unit 605, selected cell 607 and performance element 609.Wherein:
Receiving element 601, for the near field director data that receiving target terminal sends over;
Determining unit 603, for according to described near field director data, determines the preset instruction set for terminal;
Acquiring unit 605, for obtaining the attitude data of described terminal, described attitude data is for characterizing the spatial data of described terminal relative to object reference thing;
Selected cell 607, selects instruction corresponding to described attitude data for concentrating from described preset instructions according to described attitude data;
Performance element 609, the operation that the instruction for selecting described in performing is corresponding.
Concrete, described target terminal is the terminal that can send NFC information.Described target terminal can be carry complete circuit structure, can separate, stored and/or generate the device of NFC signal, also can be to receive by other electromagnetism and/or electric field that other-ends send, thus produces the device of corresponding NFC signal.
Described target terminal can be specifically NFC label (NFCTag), also can be the terminal such as mobile phone, panel computer, Wearable being integrated with NFC communication module, not be restricted here.Described near field director data can be stored in described target terminal, also can be to generate in real time according to the operation of user and/or the operation of other devices.
In the embodiment of the present invention, the data that receiving element 601 receiving target terminal is sended over by NFC radio-frequency module, wherein with the near field director data that the data performing specific function or task are described in the embodiment of the present invention.
Understandable, described near field director data embodies the control situation of described target terminal to terminal 60 function.Such as, the contextual model of terminal is set to by the instruction of described near field director data: the one in mode standard, conference model or outdoor pattern.
In the embodiment of the present invention, the instruction performing specific function can directly send to terminal 60 (such as to send the information comprising object code directly to terminal 60 by described target terminal, the receiving element 601 of terminal 60 receives the corresponding function of rear direct execution), performance element 609 performs corresponding instruction; Described target terminal also can be by sending director data, carrys out indicating terminal 60 and stores the instruction (such as: terminal 60 prestores the instruction of n-back test, carrying out corresponding transferring by the director data of target terminal) performing specific function.
The instruction set preset in the embodiment of the present invention comprises the instruction that at least two perform specific function.
In the embodiment of the present invention, terminal 60 can comprise one or more can the two dimension of measuring terminals relative to object reference thing and/or the transducer of three-dimensional space data, and these two dimensions and/or three-dimensional space data constitute the attitude of terminal.In specific implementation process, attitude data can be determined relative to the two dimension of object reference thing and/or trivector or projection etc. in measuring terminals 60 length, width and height direction.In specific implementation, terminal 60 can be passed through gravity sensor, gyroscope and geomagnetic sensor etc. and obtain described attitude data.Such as gravity sensor can gravimetric data on measuring terminals length, width and height direction, determines that terminal 60 is horizontal attitude or vertical attitude; Gyroscope can the angular velocity of rotation of measuring terminals 60; Geomagnetic sensor can measuring terminals 60 length, width and height direction relative to the magnetic induction of ground magnet-wire, determine the direction of terminal 60 relative to ground magnet-wire.
The embodiment of the present invention can measure attitude data by single transducer, also can be combined by multiple sensors and measure attitude data.
In the embodiment of the present invention, described object reference thing can be concrete object, such as described target terminal or a ground etc., and described object reference thing also can be specific plane, such as horizontal plane.In practical application, described target object of reference can also be other objects of reference, is not restricted here.
In a kind of implementation of the embodiment of the present invention, described attitude data can be the direction of terminal relative to described object reference thing.Wherein, terminal specifically can be represented by the angle of inclination of terminal relative to described object reference thing relative to the direction of described object reference thing.
Concrete, described preset instruction set can at least corresponding two angular interval, and wherein each instruction can be previously provided with at least one corresponding angular interval.
In specific implementation, after acquiring unit 605 obtains the angle of terminal relative to described object reference thing, selected cell 607 can analyze the angular interval residing for this angle, and concentrate from described preset instructions and select instruction corresponding to this angular interval, and then trigger performance element 609 and perform operation corresponding to this instruction.
In the another kind of implementation of the embodiment of the present invention, described attitude data can be the variable quantity of terminal attitude data.Each instruction that described preset instructions is concentrated can be previously provided with the variable quantity of each self-corresponding attitude data.
In specific implementation, acquiring unit 605 can obtain at least two group attitude datas; Selected cell 607 can according to described at least two group attitude datas, determine the variable quantity of described attitude data, and according to the variable quantity of described attitude data, concentrate from described preset instructions and select instruction corresponding to described variable quantity, and then trigger performance element 609 and perform operation corresponding to this instruction.
Concrete, attitude data corresponding to described preset instructions each instruction of concentrating can pre-set, such as, can set the instruction in the direct corresponding instruction set of each attitude data; Also can be by certain operation rule, determine the instruction in the corresponding instruction set of an attitude data.Instruction in the embodiment of the present invention performs specific task for control terminal or realizes specific function.
The operation that instruction is corresponding is performed, i.e. the function of control terminal execution indicated by instruction or completing indicated by instruction of task in the embodiment of the present invention.
In a kind of implementation of the embodiment of the present invention, the information that described preset instruction set is used for presupposed information is concentrated sends to described destination apparatus.
In specific implementation, after acquiring unit 605 obtains the described attitude data of terminal, selected cell 607 can be concentrated from described presupposed information according to described attitude data and select information corresponding to described attitude data, and then the information triggering described attitude data that selected cell 607 selects by performance element 609 corresponding sends to described destination apparatus.
The information that in the embodiment of the present invention, attitude data is corresponding comprises the information for can be sent to exterior terminal by terminal, such as: the information such as text (such as mail, instant chat information, note, address list etc.), picture, voice.Information in the embodiment of the present invention can be the one in the information such as above-mentioned text, picture, voice, also can be multiple.Information in the embodiment of the present invention can be a single information, also can be many information.
In the another kind of implementation of the embodiment of the present invention, described preset instruction set is for arranging the mode of operation of described terminal.
The terminal of the embodiment of the present invention can for different scenes or needs, and the terminal operating status configuring different hardware or software resource becomes the mode of operation of terminal.
In specific implementation, after acquiring unit 605 obtains the described attitude data of terminal, selected cell 607 can select mode of operation corresponding to described attitude data according to described attitude data from default mode of operation, and then triggers performance element 609 and the mode of operation of terminal is arranged to the mode of operation that selected cell 607 selects.
Understandable, the function of the modules in terminal 60 also with reference to the description in figure 1, Fig. 4 or Fig. 5 respectively corresponding embodiment, can repeat no more here.
For the ease of implementing the embodiment of the present invention, the invention provides the structural representation of the second embodiment of terminal.Wherein, as shown in Figure 7, this terminal 100 can comprise: attitude transducer 1007, NFC module 1006, input unit 1003, output device 1004, memory 1005 and the processor 1001 (quantity of the processor 1001 in terminal 100 can be one or more, for a processor in Fig. 7) be coupled with memory 1005.In some embodiments of the invention, NFC module 1006, input unit 1003, output device 1004, memory 1005 are connected by bus or alternate manner with processor 1001, wherein, to be connected by bus in Fig. 7.
Wherein, attitude transducer 1007, for obtaining the 3 d pose data of terminal 100.The motion sensors such as in specific implementation, attitude transducer 1007 can comprise: three-axis gyroscope, three axis accelerometer, three axle electronic compasss.NFC module 1006, communicating for carrying out Near-field Data with other equipment being integrated with NFC module, comprising: send data or receive data.Input unit 1003, for receiving outside input data.In specific implementation, input unit 101 can comprise touch-type input device, acoustic input dephonoprojectoscope, keyboard, mouse, photoelectricity input unit, scanner etc.Output device 1004, for externally exporting data.In specific implementation, output device 1004 can comprise display, loud speaker, printer etc.Memory 1005 is for program code stored, and in specific implementation, memory 1005 can adopt read-only memory (ReadOnlyMemory, ROM).Processor 1001, such as CPU, perform following steps for calling the NFC control program code be stored in memory 1005:
By the near field director data that NFC module 1006 receiving target terminal sends over;
According to described near field director data, determine the preset instruction set for terminal;
Obtained the attitude data of described terminal by attitude transducer 1007, described attitude data is for characterizing the spatial data of described terminal relative to object reference thing;
To concentrate from described preset instructions according to described attitude data and select instruction corresponding to described attitude data;
The operation that the instruction selected described in execution is corresponding.
Concrete, described target terminal is the terminal that can send NFC information.Described target terminal can be carry complete circuit structure, can separate, stored and/or generate the device of NFC signal, also can be to receive by other electromagnetism and/or electric field that other-ends send, thus produces the device of corresponding NFC signal.
Described target terminal can be specifically NFC label (NFCTag), also can be the terminal such as mobile phone, panel computer, Wearable being integrated with NFC communication module, not be restricted here.Described near field director data can be stored in described target terminal, also can be to generate in real time according to the operation of user and/or the operation of other devices.
In the embodiment of the present invention, the data that the described target terminal that processor 1001 is received by NFC module 1006 is sended over by NFC radio-frequency module, wherein with the near field director data that the data performing specific function or task are described in the embodiment of the present invention.
In the embodiment of the present invention, the instruction performing specific function can directly send to terminal 100 (such as to send the information comprising object code directly to terminal 100 by described target terminal, terminal 100 receives the corresponding function of rear direct execution), processor 1001 performs corresponding instruction; Described target terminal also can be by sending director data, carrys out indicating terminal 100 and stores the instruction (such as: terminal 100 prestores the instruction of n-back test, carrying out corresponding transferring by the director data of target terminal) performing specific function.
The instruction set preset in the embodiment of the present invention comprises the instruction that at least two perform specific function.
In the embodiment of the present invention, attitude transducer 1007 can comprise one or more can the two dimension of measuring terminals relative to object reference thing and/or the transducer of three-dimensional space data, and these two dimensions and/or three-dimensional space data constitute the attitude of terminal.In specific implementation process, attitude data can be determined relative to the two dimension of object reference thing and/or trivector or projection etc. in measuring terminals length, width and height direction.In specific implementation, processor 1001 can pass through gravity sensor, gyroscope and geomagnetic sensor etc. and obtain described attitude data.Such as gravity sensor can gravimetric data on measuring terminals length, width and height direction, determines that terminal is horizontal attitude or vertical attitude; Gyroscope can the angular velocity of rotation of measuring terminals; Geomagnetic sensor can measuring terminals length, width and height direction relative to the magnetic induction of ground magnet-wire, determine the direction of terminal relative to ground magnet-wire.
In the embodiment of the present invention, processor 1001 can measure attitude data by single transducer, also can be combined by multiple sensors and measure attitude data.
In the embodiment of the present invention, described object reference thing can be concrete object, such as described target terminal or a ground etc., and described object reference thing also can be specific plane, such as horizontal plane.In practical application, described target object of reference can also be other objects of reference, is not restricted here.
In the embodiment of the present invention, attitude data corresponding to described preset instructions each instruction of concentrating can be that processor 1001 pre-sets, such as, can set the instruction in the direct corresponding instruction set of each attitude data; Also can be processor 1001 by certain operation rule, determine the instruction in the corresponding instruction set of attitude data.Instruction in the embodiment of the present invention performs specific task for control terminal 100 or realizes specific function.
In a kind of implementation of the embodiment of the present invention, described attitude data can be the direction of terminal 100 relative to described object reference thing.Wherein, terminal 100 specifically can be represented by the angle of inclination of terminal 100 relative to described object reference thing relative to the direction of described object reference thing.
Concrete, described preset instruction set can at least corresponding two angular interval, and wherein each instruction can be previously provided with at least one corresponding angular interval.
In specific implementation, after obtained the angle of terminal 100 relative to described object reference thing by attitude transducer 1007, processor 1001 can analyze the angular interval residing for this angle, and concentrate from described preset instructions and select instruction corresponding to this angular interval, and then trigger and perform operation corresponding to this instruction.
In the another kind of implementation of the embodiment of the present invention, described attitude data can be the variable quantity of the attitude data of terminal 100.Each instruction that described preset instructions is concentrated can be previously provided with the variable quantity of each self-corresponding attitude data.
In specific implementation, processor 1001 obtains at least two group attitude datas by attitude transducer 1007; After at least two group attitude datas described in acquisition, processor 1001 can according to described at least two group attitude datas, determine the variable quantity of described attitude data, and according to the variable quantity of described attitude data, concentrate from described preset instructions and select instruction corresponding to described variable quantity, and then trigger operation corresponding to this instruction of execution.
In a kind of implementation of the embodiment of the present invention, the information that described preset instruction set is used for presupposed information is concentrated sends to described destination apparatus.
In specific implementation, after the described attitude data being obtained terminal 100 by attitude transducer 1007, processor 1001 can be concentrated from described presupposed information according to described attitude data and select information corresponding to described attitude data, and then by NFC module 1006, information corresponding for described attitude data is sent to described destination apparatus.
The information that in the embodiment of the present invention, attitude data is corresponding comprises the information for can be sent to exterior terminal by processor 1001, such as: the information such as text (such as mail, instant chat information, note, address list etc.), picture, voice.Information in the embodiment of the present invention can be the one in the information such as above-mentioned text, picture, voice, also can be multiple.Information in the embodiment of the present invention can be a single information, also can be many information.
Concrete, attitude data corresponding to each information of concentrating of described presupposed information can be that processor 1001 pre-sets, and also can be that processor 1001 is according to user or other-end manipulation input.
In the another kind of implementation of the embodiment of the present invention, described preset instruction set is for arranging the mode of operation of described terminal.
The processor 1001 of the embodiment of the present invention can for different scenes or needs, and the terminal operating status configuring different hardware or software resource becomes the mode of operation of terminal 100.
In specific implementation, after the described attitude data being obtained terminal 100 by attitude transducer 1007, processor 1001 can select mode of operation corresponding to described attitude data according to described attitude data from default mode of operation, and then the mode of operation selected described in the mode of operation of terminal being arranged to.
Will be understood that, the step that processor 1001 performs with reference to the specific implementation in the embodiment of the method for above-mentioned Fig. 1, Fig. 4 or Fig. 5 difference correspondence, can also repeat no more here.
In sum, implement the embodiment of the present invention, the near field director data sended over according to target terminal determines the preset instruction set for terminal, concentrate near the attitude information of target terminal the execution instruction selecting mobile phone from described preset instructions by mobile phone, and perform associative operation according to the instruction selected, the variation of NFC control mode can be realized.
Module in all embodiments of the present invention or submodule, universal integrated circuit can be passed through, such as CPU (CentralProcessingUnit, central processing unit), or realized by ASIC (ApplicationSpecificIntegratedCircuit, application-specific integrated circuit (ASIC)).
The sequence of steps of the method for the embodiment of the present invention can carry out adjusting, merge or deleting according to actual needs.The module of the terminal of the embodiment of the present invention can carry out integrating according to actual needs, Further Division or delete.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-OnlyMemory, ROM) or random store-memory body (RandomAccessMemory, RAM) etc.
Above disclosedly be only present pre-ferred embodiments, certainly can not limit the interest field of the present invention with this, therefore according to the equivalent variations that the claims in the present invention are done, still belong to the scope that the present invention is contained.

Claims (10)

1. a method for past near-field control, is characterized in that, comprising:
The near field director data that receiving target terminal sends over;
According to described near field director data, determine the preset instruction set for terminal;
Obtain the attitude data of described terminal, described attitude data is for characterizing the spatial data of described terminal relative to object reference thing;
To concentrate from described preset instructions according to described attitude data and select instruction corresponding to described attitude data;
The operation that the instruction selected described in execution is corresponding.
2. the method for claim 1, is characterized in that, the information that described preset instruction set is used for presupposed information is concentrated sends to described destination apparatus;
Described concentrating from described preset instructions according to described attitude data selects instruction corresponding to described attitude data, comprising:
To concentrate from described presupposed information according to described attitude data and select information corresponding to described attitude data;
The instruction that described basis is selected performs operation corresponding to described instruction, comprising:
Information corresponding for the described attitude data selected is sent to described destination apparatus.
3. the method for claim 1, is characterized in that, described preset instruction set is for arranging the mode of operation of described terminal;
Described concentrating from described preset instructions according to described attitude data selects instruction corresponding to described attitude data, comprising:
From default mode of operation, mode of operation corresponding to described attitude data is selected according to described attitude data;
The instruction that described basis is selected performs operation corresponding to described instruction, comprising:
The mode of operation selected described in the mode of operation of terminal is arranged to.
4. the method according to any one of claim 1-3, is characterized in that, described attitude data comprises the direction of described terminal relative to described object reference thing;
Described concentrating from described preset instructions according to described attitude data selects instruction corresponding to described attitude data, comprising:
Analyze the angular interval residing for angle corresponding to described direction;
Concentrate from described preset instructions and select instruction corresponding to described angular interval;
At least corresponding two angular interval of described preset instruction set, wherein each instruction at least one angular interval corresponding separately.
5. the method according to any one of claim 1-3, is characterized in that, the attitude data of the described terminal of described acquisition comprises:
Obtain the attitude data of terminal described at least two groups;
According to described at least two groups, the attitude data of terminal, determines the variable quantity of the attitude data of described terminal;
Describedly from described preset instructions, select instruction corresponding to described attitude data according to described attitude data, comprising:
According to the variable quantity of described attitude data, concentrate from described preset instructions and select instruction corresponding to described variable quantity.
6. a terminal, is characterized in that, comprising:
Receiving element, for the near field director data that receiving target terminal sends over;
Determining unit, for according to described near field director data, determines the preset instruction set for terminal;
Acquiring unit, for obtaining the attitude data of described terminal, described attitude data is for characterizing the spatial data of described terminal relative to object reference thing;
Selected cell, selects instruction corresponding to described attitude data for concentrating from described preset instructions according to described attitude data;
Performance element, the operation that the instruction for selecting described in performing is corresponding.
7. terminal as claimed in claim 6, is characterized in that, the information that described preset instruction set is used for presupposed information is concentrated sends to described destination apparatus;
Described selected cell, specifically for: to concentrate from described presupposed information according to described attitude data and select information corresponding to described attitude data;
Described performance element, specifically for: the information that the described attitude data selected by described selected cell is corresponding sends to described destination apparatus.
8. terminal as claimed in claim 6, it is characterized in that, described preset instruction set is for arranging the mode of operation of described terminal;
Described selected cell, specifically for: from default mode of operation, select mode of operation corresponding to described attitude data according to described attitude data;
Described performance element, specifically for: the mode of operation selected described in the mode of operation of terminal is arranged to.
9. the terminal according to any one of claim 6-8, is characterized in that, described attitude data comprises the direction of described terminal relative to described object reference thing;
Described selected cell, specifically for:
Analyze the angular interval residing for angle corresponding to described direction; Concentrate from described preset instructions and select instruction corresponding to described angular interval; At least corresponding two angular interval of described preset instruction set, wherein each instruction at least one angular interval corresponding separately.
10. the terminal according to any one of claim 6-8, is characterized in that, described acquiring unit, specifically for:
Obtain the attitude data of terminal described at least two groups; According to described at least two groups, the attitude data of terminal, determines the variable quantity of the attitude data of described terminal;
Described selected cell, specifically for:
According to the variable quantity of described attitude data, concentrate from described preset instructions and select instruction corresponding to described variable quantity.
CN201510546580.9A 2015-08-31 2015-08-31 Near field control method and terminal Pending CN105245256A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510546580.9A CN105245256A (en) 2015-08-31 2015-08-31 Near field control method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510546580.9A CN105245256A (en) 2015-08-31 2015-08-31 Near field control method and terminal

Publications (1)

Publication Number Publication Date
CN105245256A true CN105245256A (en) 2016-01-13

Family

ID=55042778

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510546580.9A Pending CN105245256A (en) 2015-08-31 2015-08-31 Near field control method and terminal

Country Status (1)

Country Link
CN (1) CN105245256A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106231090A (en) * 2016-07-28 2016-12-14 宇龙计算机通信科技(深圳)有限公司 The analog card changing method of a kind of NFC mobile terminal and device
CN112230554A (en) * 2019-07-15 2021-01-15 广东美的制冷设备有限公司 Linkage control method and system, terminal, computer device and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102655556A (en) * 2012-05-16 2012-09-05 信源通科技(深圳)有限公司 Application method and system of gravity sensor for mobile phones
CN103384291A (en) * 2012-05-02 2013-11-06 东莞宇龙通信科技有限公司 Contextual model setting method and system based on NFC
CN104717344A (en) * 2013-12-12 2015-06-17 联想(北京)有限公司 Application mode switching method and device for mobile terminal and mobile terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103384291A (en) * 2012-05-02 2013-11-06 东莞宇龙通信科技有限公司 Contextual model setting method and system based on NFC
CN102655556A (en) * 2012-05-16 2012-09-05 信源通科技(深圳)有限公司 Application method and system of gravity sensor for mobile phones
CN104717344A (en) * 2013-12-12 2015-06-17 联想(北京)有限公司 Application mode switching method and device for mobile terminal and mobile terminal

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106231090A (en) * 2016-07-28 2016-12-14 宇龙计算机通信科技(深圳)有限公司 The analog card changing method of a kind of NFC mobile terminal and device
WO2018018703A1 (en) * 2016-07-28 2018-02-01 宇龙计算机通信科技(深圳)有限公司 Emulated card switching method and device of nfc mobile terminal
CN112230554A (en) * 2019-07-15 2021-01-15 广东美的制冷设备有限公司 Linkage control method and system, terminal, computer device and storage medium

Similar Documents

Publication Publication Date Title
US20200258481A1 (en) Electronic device for providing augmented reality user interface and operating method thereof
CN113630551B (en) Electronic device providing various functions by application using camera and operating method thereof
CN102238282B (en) Mobile terminal capable of providing multiplayer game and operating method thereof
JP7441311B2 (en) Block processing method, data retrieval method and device based on blockchain
KR102092332B1 (en) Portable apparatus and method for displaying a screen
US20160171777A1 (en) Augmented reality asset locator
JP2022537614A (en) Multi-virtual character control method, device, and computer program
JP7437305B2 (en) Electronic trading methods and terminals
US10298587B2 (en) Peer-to-peer augmented reality handlers
CN107741783B (en) Electronic transfer method and system
US12039791B2 (en) Image processing method, and electronic device supporting same
CN102695032A (en) Information processing apparatus, information sharing method, program, and terminal device
CN110163319A (en) Bar code display method, device and equipment
KR102310654B1 (en) Resizing technique for display content
KR102079395B1 (en) Method for providing augmented reality contents based on location
CN112162843A (en) Workflow execution method, device, equipment and storage medium
CN110657804A (en) Indoor location services
CN112230914A (en) Method and device for producing small program, terminal and storage medium
CN113469620A (en) Dispatching method, device and equipment for distribution resources and computer readable storage medium
KR20230104989A (en) Location based augmented-reality system
US20150067615A1 (en) Method, apparatus, and recording medium for scrapping content
CN105245256A (en) Near field control method and terminal
CN110995842A (en) Method, device and equipment for downloading service data and storage medium
US20210034872A1 (en) Electronic device and method for generating augmented reality object
US11093041B2 (en) Computer system gesture-based graphical user interface control

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160113

WD01 Invention patent application deemed withdrawn after publication