[embodiment]
Below in conjunction with drawings and Examples invention is elaborated.
In the following embodiments, to describe the present invention as an example of RFID-SIM card and RFID card reader example, but those skilled in the art can expect applying the present invention in other mobile-payment system that need to measure distance between portable terminal and the card reader fully.
As shown in Figure 1, Fig. 1 is the schematic block diagram of the first embodiment of a kind of mobile-payment system of the present invention.Mobile-payment system of the present invention comprises card reader 10 and Mobile payment terminal 20.
As shown in Figure 1, in the present embodiment, be provided with in the card reader 10 and survey light generation module 11.The detection light that detection light generation module 11 changes for generation of the intensity transmission range, the detection light that for example produces is the diverging light of intensity transmission range decay, the detection light that perhaps produces is the light that converges of intensity transmission range increase.In a preferred embodiment, survey light and can adopt laser, and realize dispersing or converging by suitable optical system.But, which kind of no matter adopts survey light, this detection light intensity will keep known variation relation with transmission range, and namely in a certain particular moment, for a certain specific transmission range, light intensity is known and different from other transmission range.General, have certain funtcional relationship between detection light intensity and the transmission range.
As shown in Figure 1, in the present embodiment, Mobile payment terminal 20 is preferably mobile phone.Be provided with light detection module 21, main control module 22, memory module 23 and RFID-SIM card 24 in the Mobile payment terminal 20.Light detection module 21 is used for the detection light of detection light generation module 11 generations of reception card reader 10, and detects the detection light intensity that receives.Store in the memory module 23 and survey light intensity with the variation relation of transmission range.For example, but the functional relation of memory module 23 storage detection light intensities and transmission range or represent light intensity and transmission range between the question blank of variation relation.
The variation relation of storing in the detection light intensity that main control module 22 detects according to light detection module 21 and the memory module 23 is determined the distance between card reader 10 and the Mobile payment terminal 20.For example, main control module 22 can solve the above-mentioned functional relation of detection light intensity substitution that detects corresponding transmission range value, perhaps inquire corresponding transmission range value according to the detection light intensity that detects in above-mentioned question blank, this transmission range value is the distance between card reader 10 and the Mobile payment terminal 20.
Further, the card reader 10 interior payment communication modules 12 that further arrange.At this moment, whether main control module 22 further judges distance between Mobile payment terminal 20 and the card reader 10 less than threshold value, if less than threshold value, and further control RFID-SIM cards 24 and pay communication module 12 and pay communication of main control module 22 then.
In other embodiments, main control module 22 and memory module 23 further are arranged in the RFID-SIM card 24, and namely main control module and the memory module by RFID-SIM card 24 inside realizes above-mentioned functions.
As shown in Figure 2, Fig. 2 is the schematic block diagram of the second embodiment of a kind of mobile-payment system of the present invention.Mobile-payment system of the present invention comprises card reader 30 and Mobile payment terminal 40.
As shown in Figure 2, in the present embodiment, Mobile payment terminal 40 is mobile phone.Be provided with in the Mobile payment terminal 40 and survey light generation module 41 and RFID-SIM card 42.The detection light that detection light generation module 41 changes for generation of the intensity transmission range, the detection light that for example produces is the diverging light of intensity transmission range decay, the detection light that perhaps produces is the light that converges of intensity transmission range increase.In a preferred embodiment, survey light and can adopt laser, and realize dispersing or converging by suitable optical system.But, which kind of no matter adopts survey light, this detection light intensity will keep known variation relation with transmission range, and namely in a certain particular moment, for a certain specific transmission range, light intensity is known and different from other transmission range.General, have certain funtcional relationship between detection light intensity and the transmission range.
As shown in Figure 2, in the present embodiment, be provided with light detection module 31, main control module 32 and memory module 33 in the card reader 30.Light detection module 31 is used for the detection light of detection light generation module 41 generations of reception Mobile payment terminal 40, and detects the detection light intensity that receives.Store in the memory module 33 and survey light intensity with the variation relation of transmission range.For example, but the functional relation of memory module 33 storage detection light intensities and transmission range or represent light intensity and transmission range between the question blank of variation relation.
The variation relation of storing in the detection light intensity that main control module 32 detects according to light detection module 31 and the memory module 33 is determined the distance between card reader 30 and the Mobile payment terminal 40.For example, main control module 32 can solve the above-mentioned functional relation of detection light intensity substitution that detects corresponding transmission range value, perhaps inquire corresponding transmission range value according to the detection light intensity that detects in above-mentioned question blank, this distance value is the distance between Mobile payment terminal 30 and the card reader 40.
Further, the card reader 30 interior payment communication modules 34 that further arrange.At this moment, whether main control module 32 further judges distance between Mobile payment terminal 40 and the card reader 30 less than threshold value, if less than threshold value, then main control module 32 further control pay communication modules 34 and RFID-SIM card 42 is paid communication.
As shown in Figure 3, Fig. 3 is the schematic flow sheet of the method for measuring distance of Fig. 1 or mobile-payment system shown in Figure 2.
In step 50, by one in Mobile payment terminal and card reader detection light that receives another emission.The detection light that the detection light intensity changes with transmission range, for example the detection light of emission is the diverging light of intensity transmission range decay, perhaps the detection light of emission is the light that converges of intensity transmission range increase.In a preferred embodiment, survey light and can adopt laser, and realize dispersing or converging by suitable optical system.But, which kind of no matter adopts survey light, this detection light intensity will keep known variation relation with transmission range, and namely for a certain specific transmission range, light intensity is known and different from other transmission range.General, have certain funtcional relationship between detection light intensity and the transmission range.
In step 51, detect the detection light intensity that receives.
In step 52, according to the intensity that detects and survey light intensity and the variation relation of transmission range is determined distance between Mobile payment terminal and the card reader.For example, the above-mentioned functional relation of detection light intensity substitution that detects is solved corresponding transmission range value, this transmission range value is the distance between card reader and the Mobile payment terminal.
Further, whether judge distance between card reader and the Mobile payment terminal less than threshold value, if less than threshold value, then card reader and Mobile payment terminal are paid communication.
In the present invention, be preferably: in step 50, received the detection light of card reader emission by Mobile payment terminal.In step 51 and step 52, detect the detection light intensity that receives by Mobile payment terminal, and determine distance between Mobile payment terminal and the card reader according to the intensity that detects and the variation relation of surveying light intensity and transmission range.The variation relation of surveying light intensity and transmission range is stored in the Mobile payment terminal.Concrete, but in the Mobile payment terminal functional relation of storage detection light intensity and transmission range or represent light intensity and transmission range between the question blank of variation relation.And in step 52, can in above-mentioned question blank, inquire corresponding transmission range value as the distance between Mobile payment terminal and the card reader according to the detection light intensity that detects.
By the way, the detection light that changes by the intensity transmission range carries out the distance test between Mobile payment terminal and the card reader, and more accurately Distance Judgment can be provided, and then the communication distance of control mobile payment, has promoted user experience quality.
As shown in Figure 4, Fig. 4 is the schematic block diagram of the 3rd embodiment of a kind of mobile-payment system of the present invention.Mobile-payment system of the present invention comprises card reader 60 and Mobile payment terminal 70.
As shown in Figure 4, in the present invention, be provided with excitation light generation module 61 in the card reader 60.The exciting light that excitation light generation module 61 changes for generation of the intensity transmission range.The exciting light that for example produces is the diverging light of intensity transmission range decay, and the exciting light that perhaps produces is the light that converges of intensity transmission range increase.In a preferred embodiment, exciting light generation module 61 can produce ultraviolet ray, X ray and gamma ray.
As shown in Figure 4, in the present invention, Mobile payment terminal 70 is preferably mobile phone.Be provided with fluorescent material 71,72 of fluoroscopic examination moulds, main control module 73, memory module 74 and RFID-SIM card 75 in the Mobile payment terminal 70.Fluorescent material 71 produces fluorescence under the effect of exciting light.Specifically, because the energy of the energy Ratios visible light of the photon of exciting light is large, when fluorescent material 71 is excited irradiation, the photon that its electronics will absorb exciting light is excited and more adjourns to excited state, subsequently from excited state to ground state transition, owing to also have other energy levels between this excited state and ground state, so the photon energy that discharge this moment just is lower than the energy of exciting light, and just within the scope of visible light, so fluorescent material 71 just sends visible light, i.e. so-called fluorescence.But, no matter adopting which kind of exciting light, this excites light intensity to keep known variation relation with the transmission range of exciting light, and namely for a certain specific transmission range, this excites light intensity is known and different from other transmission range.Therefore, when the distance between excitation light generation module 61 and the fluorescent material 71 changed, the light intensity that excites that shines on the fluorescent material 71 also can change, and then caused the fluorescence intensity of the fluorescence that produces also to change.Namely, has certain funtcional relationship between the transmission range of the fluorescence intensity of fluorescence and exciting light.
Fluorescent material 71 stimulated luminescences that fluoroscopic examination module 72 is used for reception Mobile payment terminal 70 affect the fluorescence that excites, and detecting the fluorescence intensity of the fluorescence receive, memory module 74 then stores fluorescence intensity with the variation relation of the transmission range of exciting light.For example, memory module 74 can store the fluorescence intensity of fluorescence and exciting light transmission range functional relation or represent the fluorescence intensity of fluorescence and the transmission range of exciting light between the question blank of variation relation.
The variation relation of storage is determined the distance between Mobile payment terminal 70 and the card reader 60 in the fluorescence intensity that main control module 73 detects according to fluoroscopic examination module 72 and the memory module 74.For example, main control module 73 can solve the above-mentioned functional relation of fluorescence intensity substitution of the fluorescence that detects corresponding transmission range value, perhaps the fluorescence intensity according to the fluorescence that detects inquires corresponding transmission range value in above-mentioned question blank, and this transmission range value is the distance between card reader 60 and the Mobile payment terminal 70.
Further, the card reader 60 interior payment communication modules 62 that further arrange.At this moment, whether main control module 73 further judges distance between Mobile payment terminal 70 and the card reader 60 less than threshold value, if less than threshold value, and further control RFID-SIM cards 75 and pay communication module 62 and pay communication of main control module 73 then.
In other embodiments, main control module 73 and memory module 74 further are arranged in the RFID-SIM card 75, and namely main control module and the memory module by RFID-SIM card 75 inside realizes above-mentioned functions.
As shown in Figure 5, Fig. 5 is the schematic block diagram of the 4th embodiment of a kind of mobile-payment system of the present invention.Mobile-payment system of the present invention comprises card reader 80 and Mobile payment terminal 90.
As shown in Figure 5, in the present invention, be provided with excitation light generation module 91 and RFID-SIM card 92 in the Mobile payment terminal 90.The exciting light that excitation light generation module 91 changes for generation of the intensity transmission range.The exciting light that for example produces is the diverging light of intensity transmission range decay, and the exciting light that perhaps produces is the light that converges of intensity transmission range increase.In a preferred embodiment, exciting light generation module 91 can produce ultraviolet ray, X ray and gamma ray.
As shown in Figure 5, in the present invention, be provided with fluorescent material 81,82 of fluoroscopic examination moulds, main control module 83 and memory module 84 in the card reader 80.Fluorescent material 81 produces fluorescence under the effect of exciting light.Specifically, because the energy of the energy Ratios visible light of the photon of exciting light is large, when fluorescent material 81 is excited irradiation, the photon that its electronics will absorb exciting light is excited and more adjourns to excited state, subsequently from excited state to ground state transition, owing to also have other energy levels between this excited state and ground state, so the photon energy that discharge this moment just is lower than the energy of exciting light, and just within the scope of visible light, so fluorescent material 81 just sends visible light, i.e. so-called fluorescence.But, no matter adopting which kind of exciting light, this excites light intensity to keep known variation relation with the transmission range of exciting light, and namely for a certain specific transmission range, this excites light intensity is known and different from other transmission range.Therefore, when the distance between excitation light generation module 91 and the fluorescent material 81 changed, the light intensity that excites that shines on the fluorescent material 81 also can change, and then caused the fluorescence intensity of the fluorescence that produces also to change.Namely, has certain funtcional relationship between the transmission range of the intensity of fluorescence and exciting light.
Fluorescent material 81 stimulated luminescences that fluoroscopic examination module 82 is used for reception card reader 80 affect the fluorescence that excites, and detect the fluorescence intensity of the fluorescence that receives, and memory module 84 then stores fluorescence intensity with the variation relation of the transmission range of exciting light.For example, memory module 84 can store fluorescence intensity and exciting light transmission range functional relation or represent fluorescence intensity and transmission range between the question blank of variation relation.
The variation relation of storage is determined the distance between card reader 80 and the Mobile payment terminal 90 in the fluorescence intensity that main control module 83 detects according to fluoroscopic examination module 82 and the memory module 84.For example, main control module 83 can solve the above-mentioned functional relation of fluorescence intensity substitution that detects corresponding transmission range value, perhaps inquire corresponding transmission range value according to the fluorescence intensity that detects in above-mentioned question blank, this transmission range value is the distance between card reader 80 and the Mobile payment terminal 90.
Further, the card reader 80 interior payment communication modules 85 that further arrange.At this moment, whether main control module 83 further judges distance between Mobile payment terminal 90 and the card reader 80 less than threshold value, if less than threshold value, then main control module 83 further control pay communication modules 85 and RFID-SIM card 92 is paid communication.
As shown in Figure 6, Fig. 6 is the schematic flow sheet of the method for measuring distance of Fig. 4 or mobile-payment system shown in Figure 5.
In step 100, by one in Mobile payment terminal and card reader exciting light that receives another emission.And the transmission range of this exciting light of intensity of this exciting light changes.The exciting light that for example produces is the diverging light of intensity transmission range decay, and the exciting light that perhaps produces is the light that converges of intensity transmission range increase.
In step 101, under the effect of exciting light, produce fluorescence.The fluorescence intensity of fluorescence is with exciting light intensity and transmission range to change.
In step 102, detect the fluorescence intensity of fluorescence.
In step 103, determine distance between Mobile payment terminal and the card reader according to the variation relation of the transmission range of fluorescence intensity and exciting light.
In the present invention, be preferably, in step 100, received the exciting light of card reader emission by Mobile payment terminal.In step 101,102 and 103, under the effect of exciting light, produce fluorescence by the fluorescent material in the card reader, and detected the fluorescence intensity of fluorescence by Mobile payment terminal.At last, determine distance between Mobile payment terminal and the card reader by Mobile payment terminal according to the variation relation of the transmission range of fluorescence intensity and exciting light.
By the way, carry out distance test by fluorescence, can effectively control the wireless communication distance of RFID-SIM card and RFID reader device, more accurately Distance Judgment can be provided, and then the communication distance of control mobile payment, promoted user experience quality.
As shown in Figure 7, Fig. 7 is the schematic block diagram of the 5th embodiment of a kind of mobile-payment system of the present invention.Mobile-payment system of the present invention comprises card reader 110 and Mobile payment terminal 120.
As shown in Figure 7, in the present embodiment, be provided with in the card reader 110 and survey light generation module 111, survey light detection module 112 and main control module 113.Survey light generation module 111 and be used for to Mobile payment terminal emission detection light, for example this detection light is pulse laser or continuous wave laser.But, which kind of no matter adopts survey light, the transmission time of this detections light will keep known variation relation with transmission range, namely can calculate the transmission range of correspondence for a certain specific transmission time.General, the transmission speed of light is 300000km/s, but owing to reasons such as media, so slightly difference may appear in speed, therefore will preset the funtcional relationship between the transmission time of surveying light and the transmission range of the surveying light.Survey light detection module 112 for detection of the detection light through Mobile payment terminal 120 reflections.113 of main control modules are determined distance between Mobile payment terminal 120 and the card reader 110 according to the transmission time of surveying light.For example, main control module 113 will be surveyed the transmission time of light and bring predefined functional relation into, obtain the transmission range of surveying light.Half of this transmission range is the distance between Mobile payment terminal 120 and the card reader 110.
As shown in Figure 7, in the present embodiment, Mobile payment terminal 120 is preferably mobile phone.Be provided with reflecting module 121 and RFID-SIM card 122 in the Mobile payment terminal 120.Reflecting module 121 is used for reflection and surveys the detection light that light generation module 111 sends.The detection light that reflecting module 121 reflects is detected by surveying light detection module 112, further draws the transmission time of surveying light.Reflecting module 121 can be realized by known various reflecting materials or coating.Certainly, if the housing of Mobile payment terminal 120 itself namely has reflection function to surveying light, then can omit reflecting module 121.
Further, the card reader 110 interior payment communication modules 114 that further arrange.Main control module 113 judges that further whether distance between Mobile payment terminal 120 and the card reader 110 is less than threshold value, if less than threshold value, then 113 of main control modules further start payment communication module 114, and then control RFID-SIM card 122 is paid communication with payment communication module 114.
As shown in Figure 8, Fig. 8 is the schematic block diagram of the 6th embodiment of a kind of mobile-payment system of the present invention.Mobile-payment system of the present invention comprises card reader 130 and Mobile payment terminal 140.
As shown in Figure 8, in the present embodiment, Mobile payment terminal 140 is preferably mobile phone.Be provided with in the Mobile payment terminal 140 and survey light generation module 141, survey light detection module 142, main control module 143 and RFID-SIM card 144.Survey light generation module 141 and be used for to Mobile payment terminal emission detection light, for example this detection light is pulse laser or continuous wave laser.But, which kind of no matter adopts survey light, the transmission time of this detections light will keep known variation relation with transmission range, namely can calculate the transmission range of correspondence for a certain specific transmission time.General, the transmission speed of light is 300000km/s, but owing to reasons such as media, so slightly difference may appear in speed, therefore will preset the funtcional relationship between the transmission time of surveying light and the transmission range of the surveying light.Survey light detection module 142 for detection of the detection light through the card reader reflection.143 of main control modules are determined distance between Mobile payment terminal and the card reader according to the transmission time of surveying light.For example, main control module 143 will be surveyed the transmission time of light and bring predefined functional relation into, obtain the transmission range of surveying light.Half of this transmission range is the distance between Mobile payment terminal and the card reader.
As shown in Figure 8, in the present embodiment, be provided with reflecting module 131 in the card reader 130.Reflecting module 131 is used for reflection and surveys the detection light that light generation module 141 sends.The detection light that reflecting module 131 reflects is detected by surveying light detection module 142, further draws the transmission time of surveying light.Reflecting module 131 can be realized by known various reflecting materials or coating.Certainly, if the housing of card reader 130 itself namely has reflection function to surveying light, then can omit reflecting module 131.
Further, the card reader 130 interior payment communication modules 132 that further arrange.Main control module 143 judges that further whether distance between Mobile payment terminal 140 and the card reader 130 is less than threshold distance, if less than threshold distance, then main control module 143 further starts RFID-SIM card 144, and then control RFID-SIM card 144 is paid communication with payment communication module 132.
As shown in Figure 9, Fig. 9 is the process flow diagram of the method for measuring distance of Fig. 7 or mobile-payment system shown in Figure 8.
In step 150, by one in Mobile payment terminal and the card reader to another emission detection light.This surveys light for example is pulse laser or continuous wave laser.But, which kind of no matter adopts survey light, the transmission time of this detections light will keep known variation relation with transmission range, namely can calculate the transmission range of correspondence for a certain specific transmission time.General, the transmission speed of light is 300000km/s, but owing to reasons such as media, so slightly difference may appear in speed, therefore will preset the funtcional relationship between the transmission time of surveying light and the transmission range of the surveying light.
In step 151, detect the detection light of another reflection in Mobile payment terminal and card reader.
In step 152, determine distance between Mobile payment terminal and the card reader according to the transmission time of surveying light.For example, bring the transmission time of surveying light into predefined functional relation, obtain the transmission range of surveying light.Half of this transmission range is the distance between Mobile payment terminal and the card reader.
In step 153, judge that whether distance between Mobile payment terminal and the card reader is less than threshold value.If less than threshold value, then enter step 154.If be not less than threshold value, then return step 150.
In step 154, Mobile payment terminal and card reader are paid communication.
By the way, the transmission time of detection light is carried out the distance test between Mobile payment terminal and the card reader, and more accurately Distance Judgment can be provided, and then the communication distance of control mobile payment, has promoted user experience quality.
In the above-described embodiments, only exemplary description has been carried out in invention, but those skilled in the art can carry out various modifications to invention after reading present patent application in the situation of the spirit and scope that do not break away from invention.