CN103680101A - Method and system for editing NFC (near field communication) data for NFC equipment or NFC label - Google Patents

Method and system for editing NFC (near field communication) data for NFC equipment or NFC label Download PDF

Info

Publication number
CN103680101A
CN103680101A CN201310690596.8A CN201310690596A CN103680101A CN 103680101 A CN103680101 A CN 103680101A CN 201310690596 A CN201310690596 A CN 201310690596A CN 103680101 A CN103680101 A CN 103680101A
Authority
CN
China
Prior art keywords
nfc
key assignments
nfc data
editor
televisor
Prior art date
Application number
CN201310690596.8A
Other languages
Chinese (zh)
Other versions
CN103680101B (en
Inventor
赵波
Original Assignee
深圳Tcl新技术有限公司
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 深圳Tcl新技术有限公司 filed Critical 深圳Tcl新技术有限公司
Priority to CN201310690596.8A priority Critical patent/CN103680101B/en
Publication of CN103680101A publication Critical patent/CN103680101A/en
Application granted granted Critical
Publication of CN103680101B publication Critical patent/CN103680101B/en

Links

Abstract

The invention discloses a method and a system for editing NFC (near field communication) data for NFC equipment or an NFC label. The method comprises the following steps: when a predetermined NFC data editing environment is triggered, detecting and receiving a key value signal input by a user by a remote control device; when the key value signal is received, setting an editing mark as a first preset value by the remote control device, enabling the editing mark and a key value corresponding to the key value signal to be generated into a first instruction value and sending the first instruction value to a television; when the first instruction value is received, performing resolving through the television to resolve the editing mark and the key value in the first instruction value; when the resolved editing mark is the first preset value, obtaining the NFC data corresponding to the key value by the television according to a mapping relationship between a preset key value and pre-stored NFC data, and sending the NFC data to the remote control device; when the NFC data is received, writing the NFC data into the NFC equipment or the NFC label by the remote control device. By adopting the method, the NFC data of the NFC equipment or the NFC label is edited through the remote control device, and the operation is convenient and quick.

Description

A kind of is the method and system of NFC equipment or NFC label editing NFC data

Technical field

The present invention relates to TV domain, specially refer to a kind of method and system for NFC equipment or NFC label editing NFC data.

Background technology

Near-field communication (Near Filed Communication, NFC), also referred to as wireless near field communication, it is a kind of short distance (in 10cm) high frequency wireless communication technology of maturation, for carry out non-contacting P2P(Peer-to-Peer between operational outfit, point-to-point) data transmission and exchange.At present, increasing mobile device has been installed NFC module, makes the application of NFC universal gradually, meanwhile, along with popularizing of intellectual technology, with the terminal (as telechiric device, TV etc.) of NFC function, also steps into gradually the popular visual field.

At present, there is on the market a kind of technical scheme of carrying out simply realizing alternately data transmission by telechiric device and NFC equipment or NFC label, to turn on fast application corresponding on TV, but there is such drawback in this existing technical scheme: if user wants to edit program name or other data on NFC equipment or NFC label, the method that prior art adopts is by the mobile phone with NFC function, then manually input the information such as application package name (wrapping the data such as name generally all very long), then by professional NFC label read-write software, realize application name in NFC equipment or NFC label is edited, whole process is very loaded down with trivial details, need to use mobile phone and corresponding NFC label read-write software will be installed on mobile phone.

Summary of the invention

Fundamental purpose of the present invention, for a kind of method and system for NFC equipment or NFC label editing NFC data are provided, is intended to easily NFC equipment or NFC label be carried out to NFC data edition.

The invention provides a kind of method for NFC equipment or NFC label editing NFC data, the method comprises:

When triggering predetermined NFC data edition environment, the key assignments signal of user's input is detected and received to telechiric device;

When receiving described key assignments signal, described telechiric device editor sign is set to the first preset value, and by editor's sign and key assignments corresponding to described key assignments signal after arranging, according to default the first direct algorithms, generate the first instruction numerical value, and the first instruction numerical value generating is sent to televisor;

Described televisor, when receiving described the first instruction numerical value, is resolved the first instruction numerical value receiving according to default the first inverse algorithms, to parse described editor's sign and described key assignments;

When the described editor who parses is designated described the first preset value, described televisor is the mapping relations with the NFC data that prestore according to default key assignments, obtain the NFC data that described key-value pair is answered, and the NFC data of obtaining are sent to telechiric device;

When described telechiric device receives described NFC data, the NFC data of reception are write to NFC equipment or NFC label.

Preferably, the method also comprises:

When not triggering predetermined NFC data edition environment, the key assignments signal of user's input is detected and received to telechiric device;

When receiving described key assignments signal, described telechiric device editor sign is set to the second preset value, and by editor's sign and key assignments corresponding to described key assignments signal after arranging, according to default the second direct algorithms, generate the second instruction numerical value, and the second instruction numerical value generating is sent to televisor;

Described televisor, when receiving described the second instruction numerical value, is resolved the second instruction numerical value receiving according to default the second inverse algorithms, to parse described editor's sign and described key assignments;

When the described editor who parses is designated described the second preset value, described televisor is according to default key assignments and the mapping relations of action type, and the action type of answering according to described key-value pair operates response.

Preferably, described by editor's sign and key assignments corresponding to described key assignments signal after arranging, according to default the first direct algorithms, generate the first instruction numerical value, and send to the step of televisor to comprise the first instruction numerical value generating:

Described telechiric device carries out logical and operation to generate intermediate value by the editor's sign after arranging and the 3rd preset value, the more described intermediate value key assignments corresponding with key assignments signal carried out to logical OR operation to generate the first instruction numerical value;

Described telechiric device sends televisor by described the first instruction numerical value.

Preferably, when described telechiric device receives described NFC data, the step that the NFC data of reception is write to NFC equipment or NFC label comprises:

When described telechiric device receives described NFC data, described NFC data are carried out to the encapsulation of NDEF form, and the NFC data after the encapsulation of NDEF form are write to NFC equipment; Or

Described telechiric device receives described NFC data, and described NFC data are carried out to the encapsulation of TAG Type form, and then the NFC data after the encapsulation of Tag Type form are carried out to the encapsulation of NDEF form, then the NFC data after the encapsulation of NDEF form are write to NFC label.

Preferably, the mapping relations of described key assignments and the NFC data that prestore are pre-stored in described televisor or by described televisor and obtain from cloud server.

The present invention also provides a kind of system for NFC equipment or NFC label editing NFC data, described system comprises telechiric device, televisor, is arranged at NFC equipment and the NFC label of preset position, described telechiric device comprises detecting module, generation module is set, remote control transceiver module and NFC module, described televisor comprises: parsing module, acquisition module and transceiver module, wherein:

Described detecting module, for when triggering predetermined NFC data edition environment, detects and receives the key assignments signal of user's input;

The described generation module that arranges, for when receiving described key assignments signal, editor's sign is set to the first preset value, and by editor's sign and key assignments corresponding to described key assignments signal after arranging, according to default the first direct algorithms, generates the first instruction numerical value;

Described remote control transceiver module, for the first instruction numerical value generating is sent to televisor, and the NFC data that send for receiving televisor;

Described NFC module, for when remote control transceiver module receives described NFC data, will receive NFC data and write NFC equipment or NFC label;

Described parsing module, for when receiving described the first instruction numerical value, resolves the first instruction numerical value receiving according to default the first inverse algorithms, to parse described editor's sign and described key assignments;

Described acquisition module, while being designated described the first preset value for the described editor parsing, the mapping relations according to default key assignments with the NFC data that prestore, obtain the NFC data that described key-value pair is answered;

Described transceiver module, for sending to telechiric device by the NFC data of obtaining.

Preferably, described televisor also comprises respond module;

Described detecting module, also for when not triggering predetermined NFC data edition environment, detects and receives the key assignments signal of user's input;

The described generation module that arranges, also for when receiving described key assignments signal, editor's sign is set to the second preset value, and by editor's sign and key assignments corresponding to described key assignments signal after arranging, according to default the second direct algorithms, generates the second instruction numerical value;

Described remote control transceiver module, also for sending to televisor by the second instruction numerical value generating;

Described parsing module, also for when receiving described the second instruction numerical value, resolves the second instruction numerical value receiving according to default the second inverse algorithms, to parse described editor's sign and described key assignments;

Described respond module, while being designated described the second preset value for the described editor parsing, according to default key assignments and the mapping relations of action type, the action type of answering according to described key-value pair operates response.

Preferably, the described generation module that arranges comprises:

Setting unit, for when receiving described key assignments signal, editor's sign is set to the first preset value;

The first generation unit, for carrying out logical and operation to generate intermediate value by the editor's sign after arranging and the 3rd preset value

The second generation unit, for carrying out logical OR operation to generate the first instruction numerical value by the described intermediate value key assignments corresponding with key assignments signal.

Preferably, described NFC module comprises:

The one NFC unit, for when remote control transceiver module receives described NFC data, carries out the encapsulation of NDEF form to described NFC data, and the NFC data after the encapsulation of NDEF form are write to NFC equipment;

The 2nd NFC unit, for when remote control transceiver module receives described NFC data, described NFC data are carried out to the encapsulation of TAG Type form, and then the NFC data after the encapsulation of Tag Type form are carried out to the encapsulation of NDEF form, then the NFC data after the encapsulation of NDEF form are write to NFC label.

Preferably, the mapping relations of described key assignments and the NFC data that prestore are pre-stored in described televisor or by described televisor and obtain from cloud server.

Adopting of the present invention is the method and system of NFC equipment or NFC label editing NFC data, by telechiric device, NFC equipment or NFC label is carried out to NFC data edition, more convenient.

Accompanying drawing explanation

Fig. 1 is the first embodiment schematic flow sheet figure of the method for NFC equipment or NFC label editing NFC data of the present invention;

Fig. 2 is the second embodiment schematic flow sheet of the method for NFC equipment or NFC label editing NFC data of the present invention;

Fig. 3 is the first example structure schematic diagram of the system for NFC equipment or NFC label editing NFC data of the present invention;

Fig. 4 is the second example structure schematic diagram of the system for NFC equipment or NFC label editing NFC data of the present invention.

The realization of the object of the invention, functional characteristics and advantage, in connection with embodiment, are described further with reference to accompanying drawing.

Embodiment

Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.

With reference to Fig. 1, Fig. 1 is the first embodiment schematic flow sheet of the method for NFC equipment or NFC label editing NFC data of the present invention, and the method comprises:

S10, when triggering predetermined NFC data edition environment, the key assignments signal that user inputs detect and received to telechiric device.

Predetermined NFC data edition environment comprises following several situation: when one, telechiric device receives preset key assignments signal input, as set in advance the shortcut A of trigger NFC data edition environment,, when this telechiric device receives the key assignments signal of shortcut A, think and triggered NFC data edition environment; Two, telechiric device touches NFC equipment or NFC label (being that telechiric device has sensed that NFC equipment or NFC label exist); Three, telechiric device and NFC equipment or NFC label in a predeterminable range (as in 10cm, telechiric device has sensed that NFC equipment or NFC label exist).

S11, when receiving this key assignments signal, this telechiric device editor sign is set to the first preset value, and by editor's sign and key assignments corresponding to this key assignments signal after arranging, according to default the first direct algorithms, generate the first instruction numerical value, and the first instruction numerical value generating is sent to televisor.

In this step, when telechiric device receives key assignments signal, explanation need to be edited the NFC data of NFC equipment or NFC label, now, telechiric device arranges editor's sign (bNfcFlag), as is set to the first preset value, this first preset value can be 1, then by postedit sign and key assignments corresponding to this key assignments signal are set, according to default the first direct algorithms, generate the first instruction numerical value, and the first instruction numerical value generating is sent to televisor.This telechiric device can send to televisor by the first numerical value by communication modes such as wifi, bluetooth, 2.4G.

Concrete, by editor's sign and key assignments corresponding to this key assignments signal after arranging, according to default the first direct algorithms, generate the first instruction numerical value, and send to the step of televisor to comprise the first instruction numerical value generating: this telechiric device carries out logical and operation to generate intermediate value by the editor's sign after arranging and the 3rd preset value, then this intermediate value key assignments corresponding with key assignments signal carried out to logical OR operation to generate the first instruction numerical value; This telechiric device sends televisor by this first instruction numerical value.If the 3rd preset value is sexadecimal number 0x80, editor is designated 1, and when this editor is designated 1, encoded radio corresponding to this editor's sign is 0xFF(sexadecimal), key assignments signal is numerical key 1, the encoded radio of this numerical key 1 correspondence is the 39(decimal system); Editor sign 0xFF and 0x80 are carried out to logical and operation, and to obtain result be 0x80, and then the encoded radio 39 of 0x80 and numerical key 1 correspondence is carried out to logical OR operation generate the first instruction numerical value 0xA7.

S12, this televisor, when receiving this first instruction numerical value, are resolved the first instruction numerical value receiving according to default the first inverse algorithms, to parse this editor's sign and this key assignments.

S13, when this editor who parses is designated this first preset value, this televisor is the mapping relations with the NFC data that prestore according to default key assignments, obtain the NFC data that this key-value pair is answered, and the NFC data of obtaining are sent to telechiric device.

The mapping relations of this default key assignments and the NFC data that prestore as shown in Table 1.

Table one:

NFC packet in this table one is containing two kinds of situations, a kind of is original data, as IP address (192.168.1.101), WiFi SSID and password etc., another kind of key word information, as weather/temperature (Weather/Temperature) etc., cloud server can be according to this keyword intelligence mapping, for example the NFC data in the NFC label of hypothesis after pre-editing are weather (Weather), when next time, user read the NFC data in this NFC label with telechiric device, and these NFC data are sent to televisor, televisor is understood basis " weather " keyword in conjunction with the current city of current IP information automatic discrimination and is presented Weather information, the mode presenting comprises voice or Word message etc.

The mapping relations of this key assignments and the NFC data that prestore are pre-stored in this televisor or by this televisor and obtain from cloud server.User can edit this key assignments and the mapping relations of the NFC prestoring data.

In this step, when this editor who parses is designated this first preset value, illustrate that televisor need to provide NFC data to be edited for NFC equipment or NFC label.This televisor is the mapping relations with the NFC data that prestore according to default key assignments, obtain the NFC data that this key-value pair is answered, and the NFC data of obtaining are sent to telechiric device.As when key assignments is 1, the NFC data of obtaining are that Weather/Temperature(represents weather/temperature).

When S14, this telechiric device receive these NFC data, the NFC data of reception are write to NFC equipment or NFC label.

In the time the NFC data that receive need to being written to NFC equipment, this telechiric device carries out the encapsulation of NDEF form to the NFC data that receive, and the NFC data after the encapsulation of NDEF form are write to NFC equipment;

In the time the NFC data of reception need to being written to NFC label, this telechiric device carries out the encapsulation of Tag Type form to these NFC data, and then the NFC data after the encapsulation of Tag Type form are carried out to the encapsulation of NDEF form, then the NFC data after the encapsulation of NDEF form are write to NFC label.

This telechiric device is when writing NFC equipment or NFC label by the NFC data after encapsulation, by non-contacting P2P(Peer-to-Peer, point-to-point) data transfer mode.

With reference to Fig. 2, Fig. 2 is the second embodiment schematic flow sheet figure of the method for NFC equipment or NFC label editing NFC data of the present invention, and the method also comprises:

S20, when not triggering predetermined NFC data edition environment, the key assignments signal of user input is detected and received to telechiric device.

S21, when receiving this key assignments signal, this telechiric device editor sign is set to the second preset value, and by editor's sign and key assignments corresponding to this key assignments signal after arranging, according to default the second direct algorithms, generate the second instruction numerical value, and the second instruction numerical value generating is sent to televisor.

In this step, when telechiric device receives key assignments signal, telechiric device arranges editor's sign (bNfcFlag), as to be set to this second preset value of the second preset value (this second preset value is different from the first preset value) can be 0, then will postedit sign and key assignments corresponding to this key assignments signal be set, according to default the second direct algorithms, generate the second instruction numerical value, and the second instruction numerical value generating is sent to televisor.This telechiric device can send to televisor by second value by communication modes such as wifi, bluetooth, 2.4G.

Concrete, by editor's sign and key assignments corresponding to this key assignments signal after arranging, according to default the second direct algorithms, generate the second instruction numerical value, and send to the step of televisor to comprise the second instruction numerical value generating: this telechiric device carries out logical OR operation to generate the second instruction numerical value by the editor's sign key assignments corresponding with key assignments signal after arranging; This telechiric device sends televisor by this second instruction numerical value.As editor is designated 0, when this editor is designated 0, encoded radio corresponding to this editor's sign is 0x00(sexadecimal), key assignments signal is numerical key 1, the encoded radio of this numerical key 1 correspondence is the 39(decimal system); The encoded radio 39 of editor sign 0x00 and numerical key 1 correspondence is carried out to logical OR operation and generate the second instruction numerical value 0x27.

S22, this televisor, when receiving this second instruction numerical value, are resolved the second instruction numerical value receiving according to default the first inverse algorithms, to parse this editor's sign and this key assignments.

S23, when this editor who parses is designated this second preset value, this televisor is according to default key assignments and the mapping relations of action type, the action type of answering according to this key-value pair operates response.

The key assignments that this prestores and the mapping relations of action type are as shown in Table 2.

Table two:

In this step, when the editor who parses is designated this second preset value, if this second preset value is 0, illustrate that televisor need to carry out traditional straighforward operation according to key assignments.As being 1 by key assignments, televisor is switched to channel 1.

With reference to Fig. 3, Fig. 3 is the first example structure schematic diagram of the system for NFC equipment or NFC label editing NFC data of the present invention, this system comprises: telechiric device 10, televisor 20, the NFC equipment 30 that is arranged at preset position and NFC label 40, this telechiric device 10 comprises detecting module 11, generation module 12 is set, remote control transceiver module 13 and NFC module 14, this televisor 20 comprises: parsing module 21, acquisition module 22 and transceiver module 23, wherein:

This detecting module 11, for when triggering predetermined NFC data edition environment, detects and receives the key assignments signal of user's input;

This arranges generation module 12, and for when receiving this key assignments signal, editor's sign is set to the first preset value, and by editor's sign and key assignments corresponding to this key assignments signal after arranging, according to default the first direct algorithms, generates the first instruction numerical value;

This remote control transceiver module 13, for the first instruction numerical value generating is sent to televisor, and the NFC data that send for receiving televisor;

This NFC module 14, when receiving these NFC data at remote control transceiver module, will receive NFC data and write NFC equipment or NFC label;

This parsing module 21, for when receiving this first instruction numerical value, resolves the first instruction numerical value receiving according to default the first inverse algorithms, to parse this editor's sign and this key assignments;

This acquisition module 22, while being designated this first preset value for this editor parsing, the mapping relations according to default key assignments with the NFC data that prestore, obtain the NFC data that this key-value pair is answered;

This transceiver module 23, for sending to telechiric device by the NFC data of obtaining.

Predetermined NFC data edition environment comprises following several situation: when one, telechiric device receives preset key assignments signal input, as set in advance the shortcut A of trigger NFC data edition environment,, when this telechiric device receives the key assignments signal of shortcut A, think and triggered NFC data edition environment; Two, telechiric device touches NFC equipment or NFC label (being that telechiric device has sensed that NFC equipment or NFC label exist); Three, telechiric device and NFC equipment or NFC label in a predeterminable range (as in 10cm, telechiric device has sensed that NFC equipment or NFC label exist).

This detecting module 11, when this telechiric device triggers predetermined NFC data edition environment, detects and receives the key assignments signal that user inputs in real time or regularly.

This arranges generation module 12, when telechiric device triggers predetermined NFC data edition environment, and when detecting module 11 receives key assignments signal, editor's sign (bNfcFlag) is arranged, as be set to the first preset value, this first preset value can be 1, then, by postedit sign and key assignments corresponding to this key assignments signal are set, according to default the first direct algorithms, generates the first instruction numerical value.

This remote control transceiver module 13, for sending to televisor by the first instruction numerical value generating.This remote control transceiver module 13 can send to televisor by the first numerical value by communication modes such as wifi, bluetooth, 2.4G.

In the specific implementation, this arranges generation module 12 and comprises: setting unit, the first generation unit and the second generation unit, wherein: setting unit, for when receiving this key assignments signal, editor's sign is set to the first preset value; The first generation unit, for carrying out logical and operation to generate intermediate value by the editor's sign after arranging and the 3rd preset value; The second generation unit, for carrying out logical OR operation to generate the first instruction numerical value by this intermediate value key assignments corresponding with key assignments signal.If the 3rd preset value is sexadecimal number 0x80, editor is designated 1, and when this editor is designated 1, encoded radio corresponding to this editor's sign is 0xFF(sexadecimal), key assignments signal is numerical key 1, the encoded radio of this numerical key 1 correspondence is the 39(decimal system); Editor sign 0xFF and 0x80 are carried out to logical and operation, and to obtain result be 0x80, and then the encoded radio 39 of 0x80 and numerical key 1 correspondence is carried out to logical OR operation generate the first instruction numerical value 0xA7.

This default key assignments with the mapping relations of the NFC data that prestore as shown in above-mentioned table one.

The mapping relations of this key assignments and the NFC data that prestore are pre-stored in this televisor or by this televisor and obtain from cloud server.User can edit this key assignments and the mapping relations of the NFC prestoring data.

The first director data of 21 pairs of receptions of parsing module is resolved, and to obtain key assignments and editor sign, when this editor who parses is designated this first preset value, illustrates that televisor need to provide NFC data to be edited for NFC equipment or NFC label.This acquisition module 22 is the mapping relations with the NFC data that prestore according to default key assignments, obtain the NFC data that this key-value pair is answered, and by transceiver module 23, the NFC data of obtaining are sent to telechiric device.As when key assignments is 1, the NFC data of obtaining are that Weather/Temperature(represents weather/temperature).

NFC module 14 is written to NFC equipment or NFC label for the NFC data that remote control transceiver module 13 is received from televisor.

In the specific implementation, this NFC module comprises: a NFC unit and the 2nd NFC unit, wherein: a NFC unit, when receiving these NFC data at remote control transceiver module, these NFC data are carried out to the encapsulation of NDEF form, and the NFC data after the encapsulation of NDEF form are write to NFC equipment; The 2nd NFC unit, for when remote control transceiver module receives these NFC data, these NFC data are carried out to the encapsulation of TAG Type form, and then the NFC data after the encapsulation of Tag Type form are carried out to the encapsulation of NDEF form, then the NFC data after the encapsulation of NDEF form are write to NFC label.

This NFC module is when writing NFC equipment or NFC label by the NFC data after encapsulation, by non-contacting P2P(Peer-to-Peer, point-to-point) data transfer mode.

Further, this televisor also comprises respond module 24, and this respond module 24 is connected with parsing module 21.

This detecting module 11, also for when not triggering predetermined NFC data edition environment, detects and receives the key assignments signal of user's input;

This arranges generation module 12, and also for when receiving this key assignments signal, editor's sign is set to the second preset value, and by editor's sign and key assignments corresponding to this key assignments signal after arranging, according to default the second direct algorithms, generates the second instruction numerical value;

This remote control transceiver module 13, also for sending to televisor by the second instruction numerical value generating;

This parsing module 21, also for when receiving this second instruction numerical value, resolves the second instruction numerical value receiving according to default the second inverse algorithms, to parse this editor's sign and this key assignments;

This respond module 24, while being designated this second preset value for this editor parsing, according to default key assignments and the mapping relations of action type, the action type of answering according to this key-value pair operates response.

This arranges generation module 12, when telechiric device does not trigger predetermined NFC data edition environment, and when detecting module receives key assignments signal, editor's sign (bNfcFlag) is arranged, as to be set to this second preset value of the second preset value (this second preset value is different from the first preset value) can be 0, then will postedit sign and key assignments corresponding to this key assignments signal be set, according to default the second direct algorithms, generate the second instruction numerical value, and the second instruction numerical value generating is sent to televisor.

This remote control transceiver module 13 can send to televisor by second value by communication modes such as wifi, bluetooth, 2.4G.

Concrete, this arranges generation module 12 the editor's sign key assignments corresponding with key assignments signal after arranging is carried out to logical OR operation to generate the second instruction numerical value.As editor is designated 0, when this editor is designated 0, encoded radio corresponding to this editor's sign is 0x00(sexadecimal), key assignments signal is numerical key 1, the encoded radio of this numerical key 1 correspondence is the 39(decimal system); The encoded radio 39 of editor sign 0x00 and numerical key 1 correspondence is carried out to logical OR operation and generate the second instruction numerical value 0x27.

The key assignments that this prestores and the mapping relations of action type are as shown in above-mentioned table two.

The second director data of 21 pairs of receptions of parsing module is resolved, and to obtain key assignments and editor sign, when the editor who parses is designated this second preset value, if this second preset value is 0, illustrates that televisor need to carry out traditional straighforward operation according to key assignments.As being 1 by key assignments, respond module 24 is switched to channel 1 by TV channel.

The foregoing is only the preferred embodiments of the present invention; not thereby limit the scope of the claims of the present invention; every equivalent structure or conversion of equivalent flow process that utilizes instructions of the present invention and accompanying drawing content to do; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.

Claims (10)

1. be a method for NFC equipment or NFC label editing NFC data, it is characterized in that, the method comprises:
When triggering predetermined NFC data edition environment, the key assignments signal of user's input is detected and received to telechiric device;
When receiving described key assignments signal, described telechiric device editor sign is set to the first preset value, and by editor's sign and key assignments corresponding to described key assignments signal after arranging, according to default the first direct algorithms, generate the first instruction numerical value, and the first instruction numerical value generating is sent to televisor;
Described televisor, when receiving described the first instruction numerical value, is resolved the first instruction numerical value receiving according to default the first inverse algorithms, to parse described editor's sign and described key assignments;
When the described editor who parses is designated described the first preset value, described televisor is the mapping relations with the NFC data that prestore according to default key assignments, obtain the NFC data that described key-value pair is answered, and the NFC data of obtaining are sent to telechiric device;
When described telechiric device receives described NFC data, the NFC data of reception are write to NFC equipment or NFC label.
2. method according to claim 1, is characterized in that, the method also comprises:
When not triggering predetermined NFC data edition environment, the key assignments signal of user's input is detected and received to telechiric device;
When receiving described key assignments signal, described telechiric device editor sign is set to the second preset value, and by editor's sign and key assignments corresponding to described key assignments signal after arranging, according to default the second direct algorithms, generate the second instruction numerical value, and the second instruction numerical value generating is sent to televisor;
Described televisor, when receiving described the second instruction numerical value, is resolved the second instruction numerical value receiving according to default the second inverse algorithms, to parse described editor's sign and described key assignments;
When the described editor who parses is designated described the second preset value, described televisor is according to default key assignments and the mapping relations of action type, and the action type of answering according to described key-value pair operates response.
3. method according to claim 1, it is characterized in that, described by editor's sign and key assignments corresponding to described key assignments signal after arranging, according to default the first direct algorithms, generate the first instruction numerical value, and send to the step of televisor to comprise the first instruction numerical value generating:
Described telechiric device carries out logical and operation to generate intermediate value by the editor's sign after arranging and the 3rd preset value, the more described intermediate value key assignments corresponding with key assignments signal carried out to logical OR operation to generate the first instruction numerical value;
Described telechiric device sends televisor by described the first instruction numerical value.
4. method according to claim 3, is characterized in that, when described telechiric device receives described NFC data, the step that the NFC data of reception is write to NFC equipment or NFC label comprises:
When described telechiric device receives described NFC data, described NFC data are carried out to the encapsulation of NDEF form, and the NFC data after the encapsulation of NDEF form are write to NFC equipment; Or
Described telechiric device receives described NFC data, and described NFC data are carried out to the encapsulation of TAG Type form, and then the NFC data after the encapsulation of Tag Type form are carried out to the encapsulation of NDEF form, then the NFC data after the encapsulation of NDEF form are write to NFC label.
5. method according to claim 4, is characterized in that, the mapping relations of described key assignments and the NFC data that prestore are pre-stored in described televisor or by described televisor and obtain from cloud server.
6. one kind is the system of NFC equipment or NFC label editing NFC data, it is characterized in that, described system comprises telechiric device, televisor, is arranged at NFC equipment and the NFC label of preset position, described telechiric device comprises detecting module, generation module is set, remote control transceiver module and NFC module, described televisor comprises: parsing module, acquisition module and transceiver module, wherein:
Described detecting module, for when triggering predetermined NFC data edition environment, detects and receives the key assignments signal of user's input;
The described generation module that arranges, for when receiving described key assignments signal, editor's sign is set to the first preset value, and by editor's sign and key assignments corresponding to described key assignments signal after arranging, according to default the first direct algorithms, generates the first instruction numerical value;
Described remote control transceiver module, for the first instruction numerical value generating is sent to televisor, and the NFC data that send for receiving televisor;
Described NFC module, for when remote control transceiver module receives described NFC data, will receive NFC data and write NFC equipment or NFC label;
Described parsing module, for when receiving described the first instruction numerical value, resolves the first instruction numerical value receiving according to default the first inverse algorithms, to parse described editor's sign and described key assignments;
Described acquisition module, while being designated described the first preset value for the described editor parsing, the mapping relations according to default key assignments with the NFC data that prestore, obtain the NFC data that described key-value pair is answered;
Described transceiver module, for sending to telechiric device by the NFC data of obtaining.
7. system according to claim 6, is characterized in that, described televisor also comprises respond module;
Described detecting module, also for when not triggering predetermined NFC data edition environment, detects and receives the key assignments signal of user's input;
The described generation module that arranges, also for when receiving described key assignments signal, editor's sign is set to the second preset value, and by editor's sign and key assignments corresponding to described key assignments signal after arranging, according to default the second direct algorithms, generates the second instruction numerical value;
Described remote control transceiver module, also for sending to televisor by the second instruction numerical value generating;
Described parsing module, also for when receiving described the second instruction numerical value, resolves the second instruction numerical value receiving according to default the second inverse algorithms, to parse described editor's sign and described key assignments;
Described respond module, while being designated described the second preset value for the described editor parsing, according to default key assignments and the mapping relations of action type, the action type of answering according to described key-value pair operates response.
8. system according to claim 6, is characterized in that, the described generation module that arranges comprises:
Setting unit, for when receiving described key assignments signal, editor's sign is set to the first preset value;
The first generation unit, for carrying out logical and operation to generate intermediate value by the editor's sign after arranging and the 3rd preset value
The second generation unit, for carrying out logical OR operation to generate the first instruction numerical value by the described intermediate value key assignments corresponding with key assignments signal.
9. system according to claim 8, is characterized in that, described NFC module comprises:
The one NFC unit, for when remote control transceiver module receives described NFC data, carries out the encapsulation of NDEF form to described NFC data, and the NFC data after the encapsulation of NDEF form are write to NFC equipment;
The 2nd NFC unit, for when remote control transceiver module receives described NFC data, described NFC data are carried out to the encapsulation of TAG Type form, and then the NFC data after the encapsulation of Tag Type form are carried out to the encapsulation of NDEF form, then the NFC data after the encapsulation of NDEF form are write to NFC label.
10. system according to claim 9, is characterized in that, the mapping relations of described key assignments and the NFC data that prestore are pre-stored in described televisor or by described televisor and obtain from cloud server.
CN201310690596.8A 2013-12-13 2013-12-13 Method and system for editing NFC (near field communication) data for NFC equipment or NFC label CN103680101B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310690596.8A CN103680101B (en) 2013-12-13 2013-12-13 Method and system for editing NFC (near field communication) data for NFC equipment or NFC label

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310690596.8A CN103680101B (en) 2013-12-13 2013-12-13 Method and system for editing NFC (near field communication) data for NFC equipment or NFC label

Publications (2)

Publication Number Publication Date
CN103680101A true CN103680101A (en) 2014-03-26
CN103680101B CN103680101B (en) 2017-05-03

Family

ID=50317514

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310690596.8A CN103680101B (en) 2013-12-13 2013-12-13 Method and system for editing NFC (near field communication) data for NFC equipment or NFC label

Country Status (1)

Country Link
CN (1) CN103680101B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104053030A (en) * 2014-06-16 2014-09-17 青岛海信宽带多媒体技术有限公司 Combined television starting method and combined television
CN104602110A (en) * 2015-01-22 2015-05-06 海信集团有限公司 Method and system for setting television parameters, terminal, remote control unit and television
CN105634884A (en) * 2015-07-28 2016-06-01 宇龙计算机通信科技(深圳)有限公司 Control instruction writing method, intelligent home control method and related device
CN106951809A (en) * 2016-04-01 2017-07-14 珠海艾派克微电子有限公司 NFC label

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005284944A (en) * 2004-03-30 2005-10-13 Mitsubishi Electric Information Systems Corp Rental article management system and rental article management program
CN102768514A (en) * 2012-07-06 2012-11-07 南京物联传感技术有限公司 Home control system and control method thereof
CN102932215A (en) * 2012-11-09 2013-02-13 江苏中江物联网科技有限公司 Smart home system based on control of near field communication (NFC) cellphone
CN202771602U (en) * 2012-09-04 2013-03-06 深圳Tcl新技术有限公司 Near field communication (NFC) remote-control unit, device and system
CN103200378A (en) * 2012-01-10 2013-07-10 宏碁股份有限公司 Wireless display system and remote control unit and communication method thereof
CN103327387A (en) * 2013-06-24 2013-09-25 深圳Tcl新技术有限公司 Television remote control method and system
CN203279086U (en) * 2013-04-19 2013-11-06 青岛海尔电子有限公司 Television control system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005284944A (en) * 2004-03-30 2005-10-13 Mitsubishi Electric Information Systems Corp Rental article management system and rental article management program
CN103200378A (en) * 2012-01-10 2013-07-10 宏碁股份有限公司 Wireless display system and remote control unit and communication method thereof
CN102768514A (en) * 2012-07-06 2012-11-07 南京物联传感技术有限公司 Home control system and control method thereof
CN202771602U (en) * 2012-09-04 2013-03-06 深圳Tcl新技术有限公司 Near field communication (NFC) remote-control unit, device and system
CN102932215A (en) * 2012-11-09 2013-02-13 江苏中江物联网科技有限公司 Smart home system based on control of near field communication (NFC) cellphone
CN203279086U (en) * 2013-04-19 2013-11-06 青岛海尔电子有限公司 Television control system
CN103327387A (en) * 2013-06-24 2013-09-25 深圳Tcl新技术有限公司 Television remote control method and system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104053030A (en) * 2014-06-16 2014-09-17 青岛海信宽带多媒体技术有限公司 Combined television starting method and combined television
CN104053030B (en) * 2014-06-16 2017-06-30 青岛海信宽带多媒体技术有限公司 A kind of combination tv starts method and combination tv
CN104602110A (en) * 2015-01-22 2015-05-06 海信集团有限公司 Method and system for setting television parameters, terminal, remote control unit and television
CN105634884A (en) * 2015-07-28 2016-06-01 宇龙计算机通信科技(深圳)有限公司 Control instruction writing method, intelligent home control method and related device
CN106951809A (en) * 2016-04-01 2017-07-14 珠海艾派克微电子有限公司 NFC label
CN106951809B (en) * 2016-04-01 2020-02-07 珠海艾派克微电子有限公司 NFC tag

Also Published As

Publication number Publication date
CN103680101B (en) 2017-05-03

Similar Documents

Publication Publication Date Title
US9510163B2 (en) Method and apparatus for managing a group profile in a Wi-Fi direct communication system
US9131327B2 (en) Methods and apparatus to control accessories
US9553972B2 (en) Method and system for reproducing contents, and computer-readable recording medium thereof
RU2612604C2 (en) Method and device for obtaining access to wireless network
KR101807286B1 (en) Method and apparatus for performing function in mobile terminal using short range communication
WO2016206293A1 (en) Method and device for accessing operator network
US9344838B2 (en) Data transmission method and apparatus, and terminal with touch screen
EP2804429A1 (en) Method of controlling communication unit via magnetic sensor and electronic device using the method
EP2615869B1 (en) Systems for facilitating wireless communication and related methods
AU2012270432B2 (en) Wireless local area communication method and terminal supporting the same
RU2612362C1 (en) Method of recording, method of playback, device, terminal and system
KR101750898B1 (en) Mobile terminal and control method therof
EP2720435B1 (en) Media share control system and method of providing user interface for media sharing thereof
US10028080B2 (en) Method and apparatus for establishing communication between an image photographing apparatus and a user device
KR101757870B1 (en) Mobile terminal and control method therof
US20130138728A1 (en) Mobile device, display device and method for controlling the same
CN102404444B (en) Mobile terminal, electronic system and method of transmitting and receiving data using the same
CN104363666B (en) The method and apparatus being wirelessly connected are established with external equipment in the electronic device
CN104318741B (en) Bluetooth equipment control method and device
JP4902730B2 (en) Remote user interface on Bluetooth devices
JP4944197B2 (en) Method and system for transferring data from a portable device
US10674219B2 (en) Method and system for reproducing contents, and computer-readable recording medium thereof
EP3032514B1 (en) Method and device for performing configuration
JP2014530524A (en) Low energy beacon coding
CN101641932B (en) Apparatus for providing location information of hand-held device and method thereof

Legal Events

Date Code Title Description
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant