Summary of the invention
The object of the invention is to provide the device with interface easily between short haul connection and other application.
There is provided a kind of device according to one aspect of the present invention, comprise:
Processor;
The adjacent domain communication module be coupled with described processor; And
Browser, wherein said browser is arranged to the information that acquisition at least comprises Script Programming information, and wherein said browser is further configured to and makes it possible to carry out data communication between described adjacent domain communication module and described browser on obtained Script Programming Information base.
According to another aspect of the present invention, a kind of wireless device is provided, comprises:
Processor;
The adjacent domain communication module be coupled with described processor; And
Browser, wherein said browser is arranged to the information that acquisition at least comprises Script Programming information, and wherein said browser is further configured to and makes it possible to carry out data communication between described adjacent domain communication module and described browser on obtained Script Programming Information base.
According to another aspect of the present invention, a kind of method is provided, comprises:
Operating browser,
The information at least comprising Script Programming information is obtained by described browser, and
On the basis of obtained Script Programming information, initiate the data communication between adjacent domain communication module and described browser.
According to another aspect of the present invention, provide a kind of computer program code, wherein said computer program code is arranged to
Operating browser,
The information at least comprising Script Programming information is obtained by described browser, and
On the basis of obtained Script Programming information, initiate the data communication between adjacent domain communication module and described browser.
Various embodiments of the invention provide the browser of the device with NFC Script Programming application protocol message interface (API).NFC Script Programming information API is provided to the necessary interface for NFC application of the browser of described device.Favourable, described NFC system software can communicate with the Script Programming Information Engine of browser and shake hands.
In various embodiments of the invention, the suitable Script Programming Information expansion with necessary NFC storehouse is comprised in the Script Programming information bank of browser.
Various embodiments of the invention provide dynamic adjacent domain communications applications environment, and wherein any adjacent domain label can be used in described device place, and correspondingly provide and obtain further order/content in said device based on described label.Thus, described label and described device no longer need to be that application/label by programming is specific, but can produce more general system by described embodiment.
Various embodiments of the invention provide easy-to-use application programming environment.Described environment is dynamically installable, is even installed by air interface (or from label).Described scheme makes the cooperation between manufacturer and common carrier be more prone to, and this is because equipment manufacturers can provide the short-range communication Consumer's Experience with themselves and without the need to the chance of any complicated standard for operator.Operator does not need to change lower communication layers.And, do not need in said device load software in advance.Logic can change automatically, even can change in the server.Even further, intermediate (midlet) art of programming is not needed.
Embodiment
Fig. 1 describes the block diagram of device as previously mentioned, wherein can apply the ultimate principle of various embodiments of the invention.Device 100 comprises processor CPU, may comprise the memory MEM being coupled to described processor.Interchangeable, described storer can be the storer of such as data.Device 100 also comprises near-field communication module such as near-field communication module NFC, and described near-field communication module is coupled to described processor.Various embodiments of the invention use the adjacent domain communication of any type such as, and such as, near-field communication, wherein NFC communication is an example.The adjacent domain communication defined within a context comprises the wireless communication technology be applicable to arbitrarily, it includes but not limited to based on the communication of radio frequency, optical communication and magnetic or inductively, described radio communication can arrive touch distance, the distance of same room until the distance of street-level, such as, uses the distance that the user of near-field communication available arbitrarily or short-range communication technology greets.According to non-limiting example, described adjacent domain communication module can be such as have the communication module of RFID ability, such as NFC reader, optical pickup or bluetooth radio module etc.And device 100 comprises browser, wherein said browser is arranged to the information that acquisition at least comprises Script Programming information (alternative can be called scripting programming language).On the basis of the Script Programming information obtained, described browser is further configured to and makes it possible to carry out data communication between described adjacent domain communication module and described browser.And, in an embodiment, described browser comprises interface, and described interface can carry out data communication according to being configured such that at least partially in the Script Programming information be stored in described memory MEM between described adjacent domain communication module NFC and described browser.Device 100 can comprise the hardware of the operation for performing various embodiment and/or software and/or middleware.Thus, according to embodiment, device 100 has computer code for performing the operation realizing various aspect of the present invention and/or hardware.Described Script Programming information can be positioned at the storer place of such as described device, long-range web page server place or can be attached to the smart card of device, there is various physics and the logical place that can deposit described Script Programming information thus, and can by described Script Programming acquisition of information to described browser from described position.
As mentioned above, Fig. 2 describes the block diagram expanded for the near-field communication of scripting programming language according to the embodiment of the present invention.Device 100 is described in figure.
In various further embodiment, device 100 can be the radio-frequency device with near field and/or short-distance wireless communication ability.According to further embodiment, device 100 can be the mobile phone comprising near field communications capability.
Get back to Fig. 2, the example of device 100 comprises browser 102.An example of described browser can be mobile browser.Browser 102 comprises scripting programming language engine 104.An example of scripting programming language engine 104 can be JavaScript or EcmaScript engine.Preferably, browser comprises browser application.
In other embodiments, ECMAScript is scripting programming language, and by EcmaInternational at ECMA-262 specification Plays, described specification can pass through ECMAInternational website visiting.
Get back to Fig. 2 engine 104 and comprise a part of scripting programming language downloaded.Such as, this can be the webpage based on JavaScript or EcmaScript etc.According to embodiment, engine 104 also comprises the near-field communication storehouse expansion 108 for scripting programming language.The example of short-range communication storehouse expansion 108 is applicable to JavaScript.Near-field communication storehouse expansion 108 is coupled with the scripting programming language 106 downloaded.Favourable, near-field communication storehouse expansion 108 allows the script 106 downloaded to access near field communication (NFC) function.Device 100 also comprises near field communication system software 110.Near-field communication storehouse expansion 108 is coupled with near field communication system software 110.Near field communication system software 110 is usually by intermediate (midlets) and other Application share.Device 100 also comprises near field communication reader hardware 112.Near field communication reader hardware 112 is coupled with near field communication system software 110.Such as, near field communication tag 114 is coupled with browser 102 by near field communication reader hardware.The example of label 114 can be RFID label tag.Engine combines and describes with NFC.But, it should be noted that it is described as just the example of in adjacent domain communication module, and can realize in any one in these type block or similar module accordingly.
Still with reference to figure 2, server 116 comprises scripting programming language content 118.Server 116 can be arranged in long-range WWW (web) server of such as internet, or is even positioned at the smart card be attached on wireless device.Content 118 can comprise, such as, and webpage, application or script etc.Content 118 can be downloaded in browser 102.Browser can carry out asking, confirming etc. to Web server 116 by processed data 122.
Various embodiment of the present invention uses the adjacent domain communication of any type, and such as near-field communication, wherein NFC communication is exactly the example of near-field communication.Adjacent domain communication can arrive touch distance, and the distance of same room until the distance of street-level, such as, uses the distance that the user of near-field communication available arbitrarily or short-range communication technology greets.NFC is such short-range wireless technology, and it makes it possible to carry out communicating between devices by comprising RF and the various media of optical communication over short.On the other hand, NFC communication is with such as compatible for the existing contactless infrastructure in public transportation and payment.NFC is worked by magnetic field induction.It can be available and work in unauthorized 13.56MHzRF frequency range in the whole world.Operating distance can reach 0-20 centimetre, and speed is: 106Kbit/s, 212Kbit/s or 424Kbit/s.Usual existence 2 kinds of patterns: passive communication mode: initiator device provides carrier field and target device to be responded by the existing field of modulation.In this mode, the elect magnetic field that target device can provide from initiator obtains its working power, thus makes target device become transponder.Aggressive mode: initiator and target device are all communicated by the field producing them.In this mode, usual two equipment all need to have power supply.NFC can be used to configuration and other wireless networks of initialization connect such as bluetooth, Wi-Fi or ultra broadband.The use situation of NFC can be, such as: card emulation: NFC device works as existing contactless card.Reader mode: NFC device is initiatively and reads passive RFID label tag, such as, for Interactive Advertising.P2P pattern: two NFC device communicate together and exchange information.Multiple application can become possibility, such as: the mobile ticket-selling in public transportation---and the expansion of existing contactless infrastructure.Mobile payment---mobile phone is as debit/credit payment card.Smart poster---mobile phone be used to read RFID label tag on outdoor notice board in case in movement obtaining information.
Have in the device pairing that NFC supports, can by they near and accept pairing and match simply.The activation of both sides, search, wait, pairing and authorizing can be moved simple " touch " of phone substitute.Other possible application can comprise: electronic bill---plane ticket, concert/tickets, and other, electronic money, travelling card, identity document, Mobile business, electron key---automobile key, house/office's key, hotel room key etc.
NFC is open platform technology, at ECMA-340 and ISO/IEC18092 Plays.These standards define the modulation scheme of the RF interface of NFC device, coding, transmission rate and frame structure, and initialization scheme needed for controlling for data collision during initialization that is passive and initiatively NFC pattern and condition.And they also define transportation protocol, comprise protocol activating and method for interchanging data.NFC incorporates multiple existing standard and comprises ISO14443A (common) and B (banking industry/short distance), ISO15693, and FeliCa.
Section Example of the present invention uses Script Programming information.An example of described Script Programming information is scripting programming language.Script, also referred to as descriptive language (scriptlanguage), the programming language explained when being each run or compile.Script is directly performed by the source code from them, and described source code normally comprises the text of the specific sign of language.Therefore, " script " is considered to obviously different from " program " usually, " program " is only usually binary executable (also namely, machine code) from compilation of source code after they are changed, and next runs according to these binary files and does not need source code.
Script is created to shorten traditional writes-compiles-link-operational process.The drama that " script " this title comes from art of acting is write, and wherein talks with and is write down to be made an explanation by language-specific interpreter program.If develop compiler for described language, script also can be compiled, but explains more general, and this is specially for script due to it.
Some script is the part compared with Iarge-scale system, and described script to be embedded in system and to depend on this system.
Section Example of the present invention uses JavaScript.JavaScript is the example of scripting programming language.It is always applied to customer side WWW (web) exploitation.JavaScript is the realization of ECMAScript standard.JavaScript is dynamically, weak type, has the language based on prototype of first kind function.JavaScript is subject to the impact of a lot of language and is designed to have the appearance similar to Java, but more easily by non-programmed librarian use.This language is widely known by the people in the application of website (as customer side JavaScript) due to it, but is also advantageously used in the script access of the enable object to being embedded in other application.Although title is JavaScript, it is uncorrelated with Java programming language; Although both have used for reference the grammer of C language jointly.JavaScript is the registered trademark of SunMicrosystems, Inc. company.
Certain embodiments of the invention use ECMAScript.ECMAScript is the example of scripting programming language, by EcmaInternational at ECMA-262 specification Plays.This language is widely used in WWW, and after two kinds of basic realizations of described specification, so-called JavaScript or Jscript.In numerous applications, especially in WWW (web) browser, all ECMAScript is supported.In Web-browser, ECMAScript can be collectively referred to as JavaScript.Typically, term (dialect) comprises they self different java standard library, and some java standard library can by standardization---the DOM that such as W3C specifies respectively.Some implementation, such as the ActionScript of Flash, has complete different sink set.This means that the application of writing according to a term of ECMAScript may according to another terminology work, unless these two terms are designed to compatible certainly.
With reference to figure 3, which describe the general using forestland according to the embodiment of the present invention.Label 114 is touched in step 201 user.Be activated in step 202 browser 102.Described startup may be triggered by this touch.The URL of regulation in browser contact label 114 described in step 203.In step 204, the content 118 (such as, webpage) with the scripting programming language of embedding is loaded into browser 102.In step 205, the content 106 be downloaded guides user to touch label 114 or 114 '.In step 206, user touches label 114 or 114 '.Scripting programming language in the information of processing locality from label 114 ', 114 ', and in step 207 and user interactions.In step 208, treated data 122 are sent to server 116.
In various further use scenes, near field communication reader 112 can be RFID reader.RFID reader can reading tag 114.Advantageously, label 114 comprises the URL of the browser 102 of such as flip flop equipment 100 or corresponding path.Therefore, on reading tag 114 basis, browser 102 can advantageously be triggered.Accordingly, browser 102 is connected to the destination in described path.Described destination such as can comprise the content based on html.And described destination can comprise the script with required function, described script is enable to the interface of described near-field communication module or the interface between near-field communication module.Accordingly, of the present inventionly variously fly embodiment further, the user of device 100 does not need to preserve described script (and address of described destination) by hand.Advantageously, connection establishment can occur automatically.In addition, by various further embodiment, service provider can provide required " watch and experience " to user.Such as, under applying the situations such as relevant payment behavior to VISA, VISA can be provided to indicate and/or theme song to user.Under the scene of sim card that the submitted Web server 116 entered of described label is device 100, local payment behavior can be performed.Alternative, described sim card can be more generally smart card, such as safe unit.Like this, payment can pay application by described visa and complete, thus makes it possible to do not contacting local in paying server or payment network situation payment.And, renewal can be completed easily, because such as can be updated in a browser for explaining near field communication tag or the necessary information of information that reads other adjacent domain communication entities arbitrarily, or the information at least being comprised Script Programming information by simple acquisition is updated, browser can be reconfigured on this basis.JavaScript and browser do not rely on platform usually, thus the part of described device and described device and described system can be operated by same instruction usually and do not need more special adjustment separately, and do not having independent adjustment described in the craft of label and interface renewal to be necessary.Therefore, according to the embodiment of the present invention, the information read from such as near field communication tag can by different explanations on the basis of browser configuration, thus make in initial configuration read described information time described browser can perform the first operation, and after browser upgrades, when reading described information, described browser can perform and operate different second from first and operate.Utilize this generic operation, the function of described device can be updated by air interface, and has not needed any manual operations for upgrading, and is provided for the method for the enhancing of customizing device based on the individual demand of service provider or operator.
In various further use scenes, user can obtain such as product information by touching label 114.Accordingly, browser 102 is connected with server 116 under the help of near field communication interface easily, and browser 102 can perform the content relevant to label 114.Such as, for the user of device 100 provides shopping easily.
In various further use scenes, the user of device 100 can be triggered to the connection of server 116 by touching label 114.Accordingly, the interface between near-field communication and server can be triggered by touching label 114.
With reference now to Fig. 4, wherein describe the example of scripting programming language function according to the special embodiment of the present invention relevant to NFC communication.But, it should be noted that the various steps of figure also can be applied to other adjacent communication technology.In step 301, there is the register being used for NFC event.In step 302, NFC event is received.Be opened to the connection (step 303) of label 114.Sense data (step 304) from label.Label 114 is written in step 305 data.NDEF format function is there is in step 306.NDEF is the example of definition for the data layout of NFC communication.In step 307, NFC event is canceled.
The further embodiment of the present invention utilizes intelligent card subscriber interface, such as, and subscriber identification module (SIM) card user interface (UI).Usual smart card or SIM can be SD card or any other auxiliary security unit actual.In a further embodiment, smart card or SIM card comprise Web server 116.This can be based on, such as, and smart card web page server standard (SCWS).Small-sized Web server can be advantageously installed in smart card or SIM thus.Common carrier can configure small-sized SCWS servlet (servlet) now.SCWS servlet comprises JavaScript, and it can be advantageously used in control NFC function, such as, as described in various embodiments of the invention.Advantageously, operator can have control to NFC function by conventional smart card or SIM interface, does not even need to use low level HCI standard.And operator can have the configuration of relatively simple NFC service.And the present invention's various further embodiment does not connect actual needs internet.This means that cost is not had for user.Further embodiment can relatively easily be configured in device, therefore obvious cost does not occur.
Another further embodiment of the present invention uses embedded web server.Label 114 ' itself can be favourable comprise Web server 116 ' (or equivalent, such as, by using NFC forum WEBRTD).When using described further embodiment, according to the triggering such as touched, browser is activated.The content of label 114 ' can be demonstrated.By suitable JavaScript program, the content of label 114 ' can directly guide user such as again to touch label 114 '.In alternative further embodiment, script can guide user to touch another label 114 ".The function of label can be changed.Such as at bus stop: first touches: " searching path ", second touches: " selection city " etc.Favourable, allly can to complete in this locality, and if do not want to be connected to internet and just need not connect.
Another further embodiment of the present invention can operate relevant to black phone.Such as, obtain enable between adjacent domain communication module and browser, carry out the help of the script of data communication under, short message and destination can be obtained from described label.User touches described label and lookes at device accordingly and can receive short message.Such as another example, can activate calling by reading described label.Such as, user touches label and device and correspondingly dials the destination that label substance specifies.
Still another further embodiment of the present invention uses micro-(widget).Micro-is the widget of JavaScript or HTML.Micro-is downloaded in device 100.Micro-in the device 100 resident until accessed.Browser 102 is execution environments of micro-.Micro-can by etc. be all AppleDashboard.Favourable, built-in software can be used equivalent micro-and be substituted.User has to register into NFC event.User simply can use that his browser is mixed to be taken him and want which NFC function.Such as, browser can be used to complete all new RTD support.Described further embodiment also relatively easily configures.Part labels requires to install (such as touch this and sentence installation this micro-) even before runtime.
In various embodiments of the invention, described computer program can be computer program.Described computer program is the example of tangible material object.Such as, it can be medium such as disk, hard disk, light medium, CD-ROM, floppy disk or similar storer etc.In another example, described product can be signal form such as electromagnetic signal.Such as, described signal can be sent out in a network.Described product comprises computer program code or the code device of the operation arranged for completing various embodiments of the invention.
Derive and scope
Although foregoing description comprises a lot of details, these are only provided for and illustrate the present invention and should not form restriction of the present invention.It shall yet further be noted that a lot of details can be revised in many ways in single or multiple embodiment.Like this, it will be apparent to one skilled in the art that and can carry out various modifications and variations when not deviating from the spirit and scope of the present invention in device of the present invention and process.